{"version":3,"sources":["vendor/ember-cli/vendor-prefix.js","vendor/loader/loader.js","vendor/moment/moment.js","vendor/browser-polyfill.js","vendor/ember/jquery/jquery.js","vendor/ember/ember.debug.js","bower_components/ag-grid-enterprise/dist/ag-grid-enterprise.min.js","../../node_modules/browser-pack/_prelude.js","browserify_stubs.js","bower_components/AdminLTE/bootstrap/js/bootstrap.js","bower_components/AdminLTE/dist/js/app.js","vendor/document-title/document-title.js","bower_components/iCheck/icheck.min.js","vendor/ember-cli-shims/deprecations.js","vendor/ember-cli-shims/app-shims.js","bower_components/spin.js/spin.js","vendor/ember-factory-for-polyfill/index.js","vendor/ember-factory-for-polyfill/index.js","vendor/highcharts\\highstock.src.js","vendor/highcharts\\modules\\drilldown.src.js","vendor/highcharts\\modules\\data.src.js","vendor/ember-factory-for-polyfill/index.js","vendor/ember-resolver/legacy-shims.js","vendor/ember-factory-for-polyfill/index.js","vendor/ember-factory-for-polyfill/index.js","vendor/ember-factory-for-polyfill/index.js","vendor/fetch.js","vendor/ember-simple-auth/register-version.js","vendor/tether/js/tether.js","bower_components/AdminLTE/plugins/knob/jquery.knob.js","bower_components/AdminLTE/plugins/slimScroll/jquery.slimscroll.min.js","bower_components/ag-grid-enterprise/dist/ag-grid-enterprise.js","ember-ag-grid/components/ag-grid.js","ember-ajax/ajax-request.js","ember-ajax/errors.js","ember-ajax/index.js","ember-ajax/mixins/ajax-request.js","ember-ajax/mixins/ajax-support.js","ember-ajax/raw.js","ember-ajax/request.js","ember-ajax/services/ajax.js","ember-ajax/utils/ajax.js","ember-ajax/utils/get-header.js","ember-ajax/utils/is-fastboot.js","ember-ajax/utils/parse-response-headers.js","ember-ajax/utils/url-helpers.js","ember-auto-focus/components/auto-focus.js","ember-cli-active-link-wrapper/components/active-link.js","ember-cli-active-link-wrapper/mixins/active-link.js","ember-cli-app-version/initializer-factory.js","ember-cli-app-version/utils/regexp.js","ember-cli-icheck/components/i-check.js","ember-cli-knob/components/ember-knob.js","ember-cli-select-picker/mixins/item-cursor.js","ember-cli-select-picker/mixins/select-picker.js","ember-cli-spinjs/components/ember-spinner.js","ember-cookies/services/cookies.js","ember-cp-validations/-private/ember-validator.js","ember-cp-validations/-private/internal-result-object.js","ember-cp-validations/-private/options.js","ember-cp-validations/-private/result.js","ember-cp-validations/index.js","ember-cp-validations/utils/array.js","ember-cp-validations/utils/assign.js","ember-cp-validations/utils/cycle-breaker.js","ember-cp-validations/utils/meta-data.js","ember-cp-validations/utils/should-call-super.js","ember-cp-validations/utils/utils.js","ember-cp-validations/validations/error.js","ember-cp-validations/validations/factory.js","ember-cp-validations/validations/result-collection.js","ember-cp-validations/validations/validator.js","ember-cp-validations/validations/warning-result-collection.js","ember-cp-validations/validators/alias.js","ember-cp-validations/validators/base.js","ember-cp-validations/validators/belongs-to.js","ember-cp-validations/validators/collection.js","ember-cp-validations/validators/confirmation.js","ember-cp-validations/validators/date.js","ember-cp-validations/validators/dependent.js","ember-cp-validations/validators/ds-error.js","ember-cp-validations/validators/exclusion.js","ember-cp-validations/validators/format.js","ember-cp-validations/validators/has-many.js","ember-cp-validations/validators/inclusion.js","ember-cp-validations/validators/length.js","ember-cp-validations/validators/messages.js","ember-cp-validations/validators/number.js","ember-cp-validations/validators/presence.js","ember-data/-debug/index.js","ember-data/-private.js","ember-data/adapter.js","ember-data/adapters/errors.js","ember-data/adapters/json-api.js","ember-data/adapters/rest.js","ember-data/attr.js","ember-data/index.js","ember-data/initialize-store-service.js","ember-data/model.js","ember-data/relationships.js","ember-data/serializer.js","ember-data/serializers/embedded-records-mixin.js","ember-data/serializers/json-api.js","ember-data/serializers/json.js","ember-data/serializers/rest.js","ember-data/setup-container.js","ember-data/store.js","ember-data/transform.js","ember-data/transforms/boolean.js","ember-data/transforms/date.js","ember-data/transforms/number.js","ember-data/transforms/string.js","ember-data/transforms/transform.js","ember-data/version.js","ember-get-config/find.js","ember-get-config/index.js","ember-getowner-polyfill/index.js","ember-highcharts/components/high-charts.js","ember-highcharts/templates/components/high-charts.js","ember-highcharts/utils/chart-data.js","ember-highcharts/utils/option-loader.js","ember-i18n/config/ar.js","ember-i18n/config/bn.js","ember-i18n/config/constants.js","ember-i18n/config/de.js","ember-i18n/config/en.js","ember-i18n/config/es.js","ember-i18n/config/fa.js","ember-i18n/config/fr.js","ember-i18n/config/fy.js","ember-i18n/config/he.js","ember-i18n/config/hi.js","ember-i18n/config/it.js","ember-i18n/config/iw.js","ember-i18n/config/ja.js","ember-i18n/config/jv.js","ember-i18n/config/ko.js","ember-i18n/config/mr.js","ember-i18n/config/ms.js","ember-i18n/config/nl.js","ember-i18n/config/no.js","ember-i18n/config/pa.js","ember-i18n/config/pl.js","ember-i18n/config/pt.js","ember-i18n/config/ru.js","ember-i18n/config/sv.js","ember-i18n/config/ta.js","ember-i18n/config/te.js","ember-i18n/config/tr.js","ember-i18n/config/ur.js","ember-i18n/config/vi.js","ember-i18n/config/zh.js","ember-i18n/helper.js","ember-i18n/index.js","ember-i18n/initializers/ember-i18n.js","ember-i18n/instance-initializers/ember-i18n.js","ember-i18n/services/i18n.js","ember-i18n/utils/add-translations.js","ember-i18n/utils/get-locales.js","ember-i18n/utils/i18n/compile-template.js","ember-i18n/utils/i18n/missing-message.js","ember-i18n/utils/locale.js","ember-i18n/utils/macro.js","ember-inflector/index.js","ember-inflector/lib/ext/string.js","ember-inflector/lib/helpers/pluralize.js","ember-inflector/lib/helpers/singularize.js","ember-inflector/lib/system.js","ember-inflector/lib/system/inflections.js","ember-inflector/lib/system/inflector.js","ember-inflector/lib/system/string.js","ember-inflector/lib/utils/make-helper.js","ember-load-initializers/index.js","ember-macro-helpers/-build-computed.js","ember-macro-helpers/collapse-keys.js","ember-macro-helpers/computed-unsafe.js","ember-macro-helpers/computed.js","ember-macro-helpers/expand-property-list.js","ember-macro-helpers/expand-property.js","ember-macro-helpers/flatten-keys-unsafe.js","ember-macro-helpers/flatten-keys.js","ember-macro-helpers/get-value-unsafe.js","ember-macro-helpers/get-value.js","ember-macro-helpers/is-computed.js","ember-moment/computeds/-base.js","ember-moment/computeds/calendar.js","ember-moment/computeds/duration.js","ember-moment/computeds/format.js","ember-moment/computeds/from-now.js","ember-moment/computeds/humanize.js","ember-moment/computeds/locale.js","ember-moment/computeds/moment.js","ember-moment/computeds/to-now.js","ember-moment/computeds/tz.js","ember-moment/helpers/-base.js","ember-moment/helpers/is-after.js","ember-moment/helpers/is-before.js","ember-moment/helpers/is-between.js","ember-moment/helpers/is-same-or-after.js","ember-moment/helpers/is-same-or-before.js","ember-moment/helpers/is-same.js","ember-moment/helpers/moment-add.js","ember-moment/helpers/moment-calendar.js","ember-moment/helpers/moment-duration.js","ember-moment/helpers/moment-format.js","ember-moment/helpers/moment-from-now.js","ember-moment/helpers/moment-from.js","ember-moment/helpers/moment-subtract.js","ember-moment/helpers/moment-to-date.js","ember-moment/helpers/moment-to-now.js","ember-moment/helpers/moment-to.js","ember-moment/helpers/moment.js","ember-moment/helpers/now.js","ember-moment/helpers/unix.js","ember-moment/services/moment.js","ember-moment/utils/get-owner.js","ember-moment/utils/helper-compute.js","ember-pollboy/classes/poller.js","ember-pollboy/services/pollboy.js","ember-promise-helpers/helpers/await.js","ember-promise-helpers/helpers/is-fulfilled.js","ember-promise-helpers/helpers/is-pending.js","ember-promise-helpers/helpers/is-rejected.js","ember-promise-helpers/helpers/promise-rejected-reason.js","ember-promise-helpers/promise-state.js","ember-require-module/index.js","ember-resolver/container-debug-adapter.js","ember-resolver/index.js","ember-resolver/resolver.js","ember-resolver/utils/class-factory.js","ember-resolver/utils/create.js","ember-resolver/utils/make-dictionary.js","ember-resolver/utils/module-registry.js","ember-route-action-helper/-private/internals.js","ember-route-action-helper/helpers/route-action.js","ember-scroll-to-top/components/scroll-top.js","ember-simple-auth-token/authenticators/jwt.js","ember-simple-auth-token/authenticators/token.js","ember-simple-auth-token/authorizers/token.js","ember-simple-auth-token/configuration.js","ember-simple-auth-token/utils/load-config.js","ember-simple-auth/authenticators/base.js","ember-simple-auth/authenticators/devise.js","ember-simple-auth/authenticators/oauth2-password-grant.js","ember-simple-auth/authenticators/test.js","ember-simple-auth/authenticators/torii.js","ember-simple-auth/authorizers/base.js","ember-simple-auth/authorizers/devise.js","ember-simple-auth/authorizers/oauth2-bearer.js","ember-simple-auth/configuration.js","ember-simple-auth/initializers/setup-session-service.js","ember-simple-auth/initializers/setup-session.js","ember-simple-auth/instance-initializers/setup-session-restoration.js","ember-simple-auth/internal-session.js","ember-simple-auth/mixins/application-route-mixin.js","ember-simple-auth/mixins/authenticated-route-mixin.js","ember-simple-auth/mixins/data-adapter-mixin.js","ember-simple-auth/mixins/unauthenticated-route-mixin.js","ember-simple-auth/services/session.js","ember-simple-auth/session-stores/adaptive.js","ember-simple-auth/session-stores/base.js","ember-simple-auth/session-stores/cookie.js","ember-simple-auth/session-stores/ephemeral.js","ember-simple-auth/session-stores/local-storage.js","ember-simple-auth/utils/inject.js","ember-simple-auth/utils/lookup.js","ember-simple-auth/utils/objects-are-equal.js","ember-tether/components/ember-tether.js","ember-truth-helpers/helpers/and.js","ember-truth-helpers/helpers/equal.js","ember-truth-helpers/helpers/gt.js","ember-truth-helpers/helpers/gte.js","ember-truth-helpers/helpers/is-array.js","ember-truth-helpers/helpers/lt.js","ember-truth-helpers/helpers/lte.js","ember-truth-helpers/helpers/not-equal.js","ember-truth-helpers/helpers/not.js","ember-truth-helpers/helpers/or.js","ember-truth-helpers/helpers/xor.js","ember-truth-helpers/utils/register-helper.js","ember-truth-helpers/utils/truth-convert.js","ember-validators/collection.js","ember-validators/confirmation.js","ember-validators/date.js","ember-validators/ds-error.js","ember-validators/exclusion.js","ember-validators/format.js","ember-validators/inclusion.js","ember-validators/index.js","ember-validators/length.js","ember-validators/messages.js","ember-validators/number.js","ember-validators/presence.js","ember-validators/utils/is-promise.js","ember-validators/utils/unwrap-proxy.js","ember-validators/utils/validation-error.js","ember-wormhole/components/ember-wormhole.js","ember-wormhole/templates/components/ember-wormhole.js","ember-wormhole/utils/dom.js","moment/index.js","vendor/ember-cli/vendor-suffix.js","vendor/highcharts/highstock.src.js","vendor/highcharts/modules/data.src.js","vendor/highcharts/modules/drilldown.src.js"],"sourcesContent":["/* jshint ignore:start */\n\nwindow.EmberENV = {\"FEATURES\":{}};\nvar runningTests = false;\n\n\n\n/* jshint ignore:end */\n","var loader, define, requireModule, require, requirejs;\n\n(function (global) {\n  'use strict';\n\n  function dict() {\n    var obj = Object.create(null);\n    obj['__'] = undefined;\n    delete obj['__'];\n    return obj;\n  }\n\n  // Save off the original values of these globals, so we can restore them if someone asks us to\n  var oldGlobals = {\n    loader: loader,\n    define: define,\n    requireModule: requireModule,\n    require: require,\n    requirejs: requirejs\n  };\n\n  requirejs = require = requireModule = function (id) {\n    var pending = [];\n    var mod = findModule(id, '(require)', pending);\n\n    for (var i = pending.length - 1; i >= 0; i--) {\n      pending[i].exports();\n    }\n\n    return mod.module.exports;\n  };\n\n  loader = {\n    noConflict: function (aliases) {\n      var oldName, newName;\n\n      for (oldName in aliases) {\n        if (aliases.hasOwnProperty(oldName)) {\n          if (oldGlobals.hasOwnProperty(oldName)) {\n            newName = aliases[oldName];\n\n            global[newName] = global[oldName];\n            global[oldName] = oldGlobals[oldName];\n          }\n        }\n      }\n    },\n    // Option to enable or disable the generation of default exports\n    makeDefaultExport: true\n  };\n\n  var registry = dict();\n  var seen = dict();\n\n  var uuid = 0;\n\n  function unsupportedModule(length) {\n    throw new Error('an unsupported module was defined, expected `define(id, deps, module)` instead got: `' + length + '` arguments to define`');\n  }\n\n  var defaultDeps = ['require', 'exports', 'module'];\n\n  function Module(id, deps, callback, alias) {\n    this.uuid = uuid++;\n    this.id = id;\n    this.deps = !deps.length && callback.length ? defaultDeps : deps;\n    this.module = { exports: {} };\n    this.callback = callback;\n    this.hasExportsAsDep = false;\n    this.isAlias = alias;\n    this.reified = new Array(deps.length);\n\n    /*\n       Each module normally passes through these states, in order:\n         new       : initial state\n         pending   : this module is scheduled to be executed\n         reifying  : this module's dependencies are being executed\n         reified   : this module's dependencies finished executing successfully\n         errored   : this module's dependencies failed to execute\n         finalized : this module executed successfully\n     */\n    this.state = 'new';\n  }\n\n  Module.prototype.makeDefaultExport = function () {\n    var exports = this.module.exports;\n    if (exports !== null && (typeof exports === 'object' || typeof exports === 'function') && exports['default'] === undefined && Object.isExtensible(exports)) {\n      exports['default'] = exports;\n    }\n  };\n\n  Module.prototype.exports = function () {\n    // if finalized, there is no work to do. If reifying, there is a\n    // circular dependency so we must return our (partial) exports.\n    if (this.state === 'finalized' || this.state === 'reifying') {\n      return this.module.exports;\n    }\n\n\n    if (loader.wrapModules) {\n      this.callback = loader.wrapModules(this.id, this.callback);\n    }\n\n    this.reify();\n\n    var result = this.callback.apply(this, this.reified);\n    this.reified.length = 0;\n    this.state = 'finalized';\n\n    if (!(this.hasExportsAsDep && result === undefined)) {\n      this.module.exports = result;\n    }\n    if (loader.makeDefaultExport) {\n      this.makeDefaultExport();\n    }\n    return this.module.exports;\n  };\n\n  Module.prototype.unsee = function () {\n    this.state = 'new';\n    this.module = { exports: {} };\n  };\n\n  Module.prototype.reify = function () {\n    if (this.state === 'reified') {\n      return;\n    }\n    this.state = 'reifying';\n    try {\n      this.reified = this._reify();\n      this.state = 'reified';\n    } finally {\n      if (this.state === 'reifying') {\n        this.state = 'errored';\n      }\n    }\n  };\n\n  Module.prototype._reify = function () {\n    var reified = this.reified.slice();\n    for (var i = 0; i < reified.length; i++) {\n      var mod = reified[i];\n      reified[i] = mod.exports ? mod.exports : mod.module.exports();\n    }\n    return reified;\n  };\n\n  Module.prototype.findDeps = function (pending) {\n    if (this.state !== 'new') {\n      return;\n    }\n\n    this.state = 'pending';\n\n    var deps = this.deps;\n\n    for (var i = 0; i < deps.length; i++) {\n      var dep = deps[i];\n      var entry = this.reified[i] = { exports: undefined, module: undefined };\n      if (dep === 'exports') {\n        this.hasExportsAsDep = true;\n        entry.exports = this.module.exports;\n      } else if (dep === 'require') {\n        entry.exports = this.makeRequire();\n      } else if (dep === 'module') {\n        entry.exports = this.module;\n      } else {\n        entry.module = findModule(resolve(dep, this.id), this.id, pending);\n      }\n    }\n  };\n\n  Module.prototype.makeRequire = function () {\n    var id = this.id;\n    var r = function (dep) {\n      return require(resolve(dep, id));\n    };\n    r['default'] = r;\n    r.moduleId = id;\n    r.has = function (dep) {\n      return has(resolve(dep, id));\n    };\n    return r;\n  };\n\n  define = function (id, deps, callback) {\n    var module = registry[id];\n\n    // If a module for this id has already been defined and is in any state\n    // other than `new` (meaning it has been or is currently being required),\n    // then we return early to avoid redefinition.\n    if (module && module.state !== 'new') {\n      return;\n    }\n\n    if (arguments.length < 2) {\n      unsupportedModule(arguments.length);\n    }\n\n    if (!Array.isArray(deps)) {\n      callback = deps;\n      deps = [];\n    }\n\n    if (callback instanceof Alias) {\n      registry[id] = new Module(callback.id, deps, callback, true);\n    } else {\n      registry[id] = new Module(id, deps, callback, false);\n    }\n  };\n\n  define.exports = function (name, defaultExport) {\n    var module = registry[name];\n\n    // If a module for this name has already been defined and is in any state\n    // other than `new` (meaning it has been or is currently being required),\n    // then we return early to avoid redefinition.\n    if (module && module.state !== 'new') {\n      return;\n    }\n\n    module = new Module(name, [], noop, null);\n    module.module.exports = defaultExport;\n    module.state = 'finalized';\n    registry[name] = module;\n\n    return module;\n  };\n\n  function noop() {}\n  // we don't support all of AMD\n  // define.amd = {};\n\n  function Alias(id) {\n    this.id = id;\n  }\n\n  define.alias = function (id, target) {\n    if (arguments.length === 2) {\n      return define(target, new Alias(id));\n    }\n\n    return new Alias(id);\n  };\n\n  function missingModule(id, referrer) {\n    throw new Error('Could not find module `' + id + '` imported from `' + referrer + '`');\n  }\n\n  function findModule(id, referrer, pending) {\n    var mod = registry[id] || registry[id + '/index'];\n\n    while (mod && mod.isAlias) {\n      mod = registry[mod.id] || registry[mod.id + '/index'];\n    }\n\n    if (!mod) {\n      missingModule(id, referrer);\n    }\n\n    if (pending && mod.state !== 'pending' && mod.state !== 'finalized') {\n      mod.findDeps(pending);\n      pending.push(mod);\n    }\n    return mod;\n  }\n\n  function resolve(child, id) {\n    if (child.charAt(0) !== '.') {\n      return child;\n    }\n\n\n    var parts = child.split('/');\n    var nameParts = id.split('/');\n    var parentBase = nameParts.slice(0, -1);\n\n    for (var i = 0, l = parts.length; i < l; i++) {\n      var part = parts[i];\n\n      if (part === '..') {\n        if (parentBase.length === 0) {\n          throw new Error('Cannot access parent module of root');\n        }\n        parentBase.pop();\n      } else if (part === '.') {\n        continue;\n      } else {\n        parentBase.push(part);\n      }\n    }\n\n    return parentBase.join('/');\n  }\n\n  function has(id) {\n    return !!(registry[id] || registry[id + '/index']);\n  }\n\n  requirejs.entries = requirejs._eak_seen = registry;\n  requirejs.has = has;\n  requirejs.unsee = function (id) {\n    findModule(id, '(unsee)', false).unsee();\n  };\n\n  requirejs.clear = function () {\n    requirejs.entries = requirejs._eak_seen = registry = dict();\n    seen = dict();\n  };\n\n  // This code primes the JS engine for good performance by warming the\n  // JIT compiler for these functions.\n  define('foo', function () {});\n  define('foo/bar', [], function () {});\n  define('foo/asdf', ['module', 'exports', 'require'], function (module, exports, require) {\n    if (require.has('foo/bar')) {\n      require('foo/bar');\n    }\n  });\n  define('foo/baz', [], define.alias('foo'));\n  define('foo/quz', define.alias('foo'));\n  define.alias('foo', 'foo/qux');\n  define('foo/bar', ['foo', './quz', './baz', './asdf', './bar', '../foo'], function () {});\n  define('foo/main', ['foo/bar'], function () {});\n  define.exports('foo/exports', {});\n\n  require('foo/exports');\n  require('foo/main');\n  require.unsee('foo/bar');\n\n  requirejs.clear();\n\n  if (typeof exports === 'object' && typeof module === 'object' && module.exports) {\n    module.exports = { require: require, define: define };\n  }\n})(this);","//! moment.js\n//! version : 2.29.3\n//! authors : Tim Wood, Iskren Chernev, Moment.js contributors\n//! license : MIT\n//! momentjs.com\n\n;(function (global, factory) {\n    typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n    typeof define === 'function' && define.amd ? define(factory) :\n    global.moment = factory()\n}(this, (function () { 'use strict';\n\n    var hookCallback;\n\n    function hooks() {\n        return hookCallback.apply(null, arguments);\n    }\n\n    // This is done to register the method called with moment()\n    // without creating circular dependencies.\n    function setHookCallback(callback) {\n        hookCallback = callback;\n    }\n\n    function isArray(input) {\n        return (\n            input instanceof Array ||\n            Object.prototype.toString.call(input) === '[object Array]'\n        );\n    }\n\n    function isObject(input) {\n        // IE8 will treat undefined and null as object if it wasn't for\n        // input != null\n        return (\n            input != null &&\n            Object.prototype.toString.call(input) === '[object Object]'\n        );\n    }\n\n    function hasOwnProp(a, b) {\n        return Object.prototype.hasOwnProperty.call(a, b);\n    }\n\n    function isObjectEmpty(obj) {\n        if (Object.getOwnPropertyNames) {\n            return Object.getOwnPropertyNames(obj).length === 0;\n        } else {\n            var k;\n            for (k in obj) {\n                if (hasOwnProp(obj, k)) {\n                    return false;\n                }\n            }\n            return true;\n        }\n    }\n\n    function isUndefined(input) {\n        return input === void 0;\n    }\n\n    function isNumber(input) {\n        return (\n            typeof input === 'number' ||\n            Object.prototype.toString.call(input) === '[object Number]'\n        );\n    }\n\n    function isDate(input) {\n        return (\n            input instanceof Date ||\n            Object.prototype.toString.call(input) === '[object Date]'\n        );\n    }\n\n    function map(arr, fn) {\n        var res = [],\n            i,\n            arrLen = arr.length;\n        for (i = 0; i < arrLen; ++i) {\n            res.push(fn(arr[i], i));\n        }\n        return res;\n    }\n\n    function extend(a, b) {\n        for (var i in b) {\n            if (hasOwnProp(b, i)) {\n                a[i] = b[i];\n            }\n        }\n\n        if (hasOwnProp(b, 'toString')) {\n            a.toString = b.toString;\n        }\n\n        if (hasOwnProp(b, 'valueOf')) {\n            a.valueOf = b.valueOf;\n        }\n\n        return a;\n    }\n\n    function createUTC(input, format, locale, strict) {\n        return createLocalOrUTC(input, format, locale, strict, true).utc();\n    }\n\n    function defaultParsingFlags() {\n        // We need to deep clone this object.\n        return {\n            empty: false,\n            unusedTokens: [],\n            unusedInput: [],\n            overflow: -2,\n            charsLeftOver: 0,\n            nullInput: false,\n            invalidEra: null,\n            invalidMonth: null,\n            invalidFormat: false,\n            userInvalidated: false,\n            iso: false,\n            parsedDateParts: [],\n            era: null,\n            meridiem: null,\n            rfc2822: false,\n            weekdayMismatch: false,\n        };\n    }\n\n    function getParsingFlags(m) {\n        if (m._pf == null) {\n            m._pf = defaultParsingFlags();\n        }\n        return m._pf;\n    }\n\n    var some;\n    if (Array.prototype.some) {\n        some = Array.prototype.some;\n    } else {\n        some = function (fun) {\n            var t = Object(this),\n                len = t.length >>> 0,\n                i;\n\n            for (i = 0; i < len; i++) {\n                if (i in t && fun.call(this, t[i], i, t)) {\n                    return true;\n                }\n            }\n\n            return false;\n        };\n    }\n\n    function isValid(m) {\n        if (m._isValid == null) {\n            var flags = getParsingFlags(m),\n                parsedParts = some.call(flags.parsedDateParts, function (i) {\n                    return i != null;\n                }),\n                isNowValid =\n                    !isNaN(m._d.getTime()) &&\n                    flags.overflow < 0 &&\n                    !flags.empty &&\n                    !flags.invalidEra &&\n                    !flags.invalidMonth &&\n                    !flags.invalidWeekday &&\n                    !flags.weekdayMismatch &&\n                    !flags.nullInput &&\n                    !flags.invalidFormat &&\n                    !flags.userInvalidated &&\n                    (!flags.meridiem || (flags.meridiem && parsedParts));\n\n            if (m._strict) {\n                isNowValid =\n                    isNowValid &&\n                    flags.charsLeftOver === 0 &&\n                    flags.unusedTokens.length === 0 &&\n                    flags.bigHour === undefined;\n            }\n\n            if (Object.isFrozen == null || !Object.isFrozen(m)) {\n                m._isValid = isNowValid;\n            } else {\n                return isNowValid;\n            }\n        }\n        return m._isValid;\n    }\n\n    function createInvalid(flags) {\n        var m = createUTC(NaN);\n        if (flags != null) {\n            extend(getParsingFlags(m), flags);\n        } else {\n            getParsingFlags(m).userInvalidated = true;\n        }\n\n        return m;\n    }\n\n    // Plugins that add properties should also add the key here (null value),\n    // so we can properly clone ourselves.\n    var momentProperties = (hooks.momentProperties = []),\n        updateInProgress = false;\n\n    function copyConfig(to, from) {\n        var i,\n            prop,\n            val,\n            momentPropertiesLen = momentProperties.length;\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 (momentPropertiesLen > 0) {\n            for (i = 0; i < momentPropertiesLen; i++) {\n                prop = momentProperties[i];\n                val = from[prop];\n                if (!isUndefined(val)) {\n                    to[prop] = val;\n                }\n            }\n        }\n\n        return to;\n    }\n\n    // Moment prototype object\n    function Moment(config) {\n        copyConfig(this, config);\n        this._d = new Date(config._d != null ? config._d.getTime() : NaN);\n        if (!this.isValid()) {\n            this._d = new Date(NaN);\n        }\n        // Prevent infinite loop in case updateOffset creates new moment\n        // objects.\n        if (updateInProgress === false) {\n            updateInProgress = true;\n            hooks.updateOffset(this);\n            updateInProgress = false;\n        }\n    }\n\n    function isMoment(obj) {\n        return (\n            obj instanceof Moment || (obj != null && obj._isAMomentObject != null)\n        );\n    }\n\n    function warn(msg) {\n        if (\n            hooks.suppressDeprecationWarnings === false &&\n            typeof console !== 'undefined' &&\n            console.warn\n        ) {\n            console.warn('Deprecation warning: ' + msg);\n        }\n    }\n\n    function deprecate(msg, fn) {\n        var firstTime = true;\n\n        return extend(function () {\n            if (hooks.deprecationHandler != null) {\n                hooks.deprecationHandler(null, msg);\n            }\n            if (firstTime) {\n                var args = [],\n                    arg,\n                    i,\n                    key,\n                    argLen = arguments.length;\n                for (i = 0; i < argLen; i++) {\n                    arg = '';\n                    if (typeof arguments[i] === 'object') {\n                        arg += '\\n[' + i + '] ';\n                        for (key in arguments[0]) {\n                            if (hasOwnProp(arguments[0], key)) {\n                                arg += key + ': ' + arguments[0][key] + ', ';\n                            }\n                        }\n                        arg = arg.slice(0, -2); // Remove trailing comma and space\n                    } else {\n                        arg = arguments[i];\n                    }\n                    args.push(arg);\n                }\n                warn(\n                    msg +\n                        '\\nArguments: ' +\n                        Array.prototype.slice.call(args).join('') +\n                        '\\n' +\n                        new Error().stack\n                );\n                firstTime = false;\n            }\n            return fn.apply(this, arguments);\n        }, fn);\n    }\n\n    var deprecations = {};\n\n    function deprecateSimple(name, msg) {\n        if (hooks.deprecationHandler != null) {\n            hooks.deprecationHandler(name, msg);\n        }\n        if (!deprecations[name]) {\n            warn(msg);\n            deprecations[name] = true;\n        }\n    }\n\n    hooks.suppressDeprecationWarnings = false;\n    hooks.deprecationHandler = null;\n\n    function isFunction(input) {\n        return (\n            (typeof Function !== 'undefined' && input instanceof Function) ||\n            Object.prototype.toString.call(input) === '[object Function]'\n        );\n    }\n\n    function set(config) {\n        var prop, i;\n        for (i in config) {\n            if (hasOwnProp(config, i)) {\n                prop = config[i];\n                if (isFunction(prop)) {\n                    this[i] = prop;\n                } else {\n                    this['_' + i] = prop;\n                }\n            }\n        }\n        this._config = config;\n        // Lenient ordinal parsing accepts just a number in addition to\n        // number + (possibly) stuff coming from _dayOfMonthOrdinalParse.\n        // TODO: Remove \"ordinalParse\" fallback in next major release.\n        this._dayOfMonthOrdinalParseLenient = new RegExp(\n            (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) +\n                '|' +\n                /\\d{1,2}/.source\n        );\n    }\n\n    function mergeConfigs(parentConfig, childConfig) {\n        var res = extend({}, parentConfig),\n            prop;\n        for (prop in childConfig) {\n            if (hasOwnProp(childConfig, prop)) {\n                if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) {\n                    res[prop] = {};\n                    extend(res[prop], parentConfig[prop]);\n                    extend(res[prop], childConfig[prop]);\n                } else if (childConfig[prop] != null) {\n                    res[prop] = childConfig[prop];\n                } else {\n                    delete res[prop];\n                }\n            }\n        }\n        for (prop in parentConfig) {\n            if (\n                hasOwnProp(parentConfig, prop) &&\n                !hasOwnProp(childConfig, prop) &&\n                isObject(parentConfig[prop])\n            ) {\n                // make sure changes to properties don't modify parent config\n                res[prop] = extend({}, res[prop]);\n            }\n        }\n        return res;\n    }\n\n    function Locale(config) {\n        if (config != null) {\n            this.set(config);\n        }\n    }\n\n    var keys;\n\n    if (Object.keys) {\n        keys = Object.keys;\n    } else {\n        keys = function (obj) {\n            var i,\n                res = [];\n            for (i in obj) {\n                if (hasOwnProp(obj, i)) {\n                    res.push(i);\n                }\n            }\n            return res;\n        };\n    }\n\n    var defaultCalendar = {\n        sameDay: '[Today at] LT',\n        nextDay: '[Tomorrow at] LT',\n        nextWeek: 'dddd [at] LT',\n        lastDay: '[Yesterday at] LT',\n        lastWeek: '[Last] dddd [at] LT',\n        sameElse: 'L',\n    };\n\n    function calendar(key, mom, now) {\n        var output = this._calendar[key] || this._calendar['sameElse'];\n        return isFunction(output) ? output.call(mom, now) : output;\n    }\n\n    function zeroFill(number, targetLength, forceSign) {\n        var absNumber = '' + Math.abs(number),\n            zerosToFill = targetLength - absNumber.length,\n            sign = number >= 0;\n        return (\n            (sign ? (forceSign ? '+' : '') : '-') +\n            Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) +\n            absNumber\n        );\n    }\n\n    var formattingTokens =\n            /(\\[[^\\[]*\\])|(\\\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,\n        localFormattingTokens = /(\\[[^\\[]*\\])|(\\\\)?(LTS|LT|LL?L?L?|l{1,4})/g,\n        formatFunctions = {},\n        formatTokenFunctions = {};\n\n    // token:    'M'\n    // padded:   ['MM', 2]\n    // ordinal:  'Mo'\n    // callback: function () { this.month() + 1 }\n    function addFormatToken(token, padded, ordinal, callback) {\n        var func = callback;\n        if (typeof callback === 'string') {\n            func = function () {\n                return this[callback]();\n            };\n        }\n        if (token) {\n            formatTokenFunctions[token] = func;\n        }\n        if (padded) {\n            formatTokenFunctions[padded[0]] = function () {\n                return zeroFill(func.apply(this, arguments), padded[1], padded[2]);\n            };\n        }\n        if (ordinal) {\n            formatTokenFunctions[ordinal] = function () {\n                return this.localeData().ordinal(\n                    func.apply(this, arguments),\n                    token\n                );\n            };\n        }\n    }\n\n    function removeFormattingTokens(input) {\n        if (input.match(/\\[[\\s\\S]/)) {\n            return input.replace(/^\\[|\\]$/g, '');\n        }\n        return input.replace(/\\\\/g, '');\n    }\n\n    function makeFormatFunction(format) {\n        var array = format.match(formattingTokens),\n            i,\n            length;\n\n        for (i = 0, length = array.length; i < length; i++) {\n            if (formatTokenFunctions[array[i]]) {\n                array[i] = formatTokenFunctions[array[i]];\n            } else {\n                array[i] = removeFormattingTokens(array[i]);\n            }\n        }\n\n        return function (mom) {\n            var output = '',\n                i;\n            for (i = 0; i < length; i++) {\n                output += isFunction(array[i])\n                    ? array[i].call(mom, format)\n                    : array[i];\n            }\n            return output;\n        };\n    }\n\n    // format date using native date object\n    function formatMoment(m, format) {\n        if (!m.isValid()) {\n            return m.localeData().invalidDate();\n        }\n\n        format = expandFormat(format, m.localeData());\n        formatFunctions[format] =\n            formatFunctions[format] || makeFormatFunction(format);\n\n        return formatFunctions[format](m);\n    }\n\n    function expandFormat(format, locale) {\n        var i = 5;\n\n        function replaceLongDateFormatTokens(input) {\n            return locale.longDateFormat(input) || input;\n        }\n\n        localFormattingTokens.lastIndex = 0;\n        while (i >= 0 && localFormattingTokens.test(format)) {\n            format = format.replace(\n                localFormattingTokens,\n                replaceLongDateFormatTokens\n            );\n            localFormattingTokens.lastIndex = 0;\n            i -= 1;\n        }\n\n        return format;\n    }\n\n    var defaultLongDateFormat = {\n        LTS: 'h:mm:ss A',\n        LT: 'h:mm A',\n        L: 'MM/DD/YYYY',\n        LL: 'MMMM D, YYYY',\n        LLL: 'MMMM D, YYYY h:mm A',\n        LLLL: 'dddd, MMMM D, YYYY h:mm A',\n    };\n\n    function longDateFormat(key) {\n        var format = this._longDateFormat[key],\n            formatUpper = this._longDateFormat[key.toUpperCase()];\n\n        if (format || !formatUpper) {\n            return format;\n        }\n\n        this._longDateFormat[key] = formatUpper\n            .match(formattingTokens)\n            .map(function (tok) {\n                if (\n                    tok === 'MMMM' ||\n                    tok === 'MM' ||\n                    tok === 'DD' ||\n                    tok === 'dddd'\n                ) {\n                    return tok.slice(1);\n                }\n                return tok;\n            })\n            .join('');\n\n        return this._longDateFormat[key];\n    }\n\n    var defaultInvalidDate = 'Invalid date';\n\n    function invalidDate() {\n        return this._invalidDate;\n    }\n\n    var defaultOrdinal = '%d',\n        defaultDayOfMonthOrdinalParse = /\\d{1,2}/;\n\n    function ordinal(number) {\n        return this._ordinal.replace('%d', number);\n    }\n\n    var defaultRelativeTime = {\n        future: 'in %s',\n        past: '%s ago',\n        s: 'a few seconds',\n        ss: '%d seconds',\n        m: 'a minute',\n        mm: '%d minutes',\n        h: 'an hour',\n        hh: '%d hours',\n        d: 'a day',\n        dd: '%d days',\n        w: 'a week',\n        ww: '%d weeks',\n        M: 'a month',\n        MM: '%d months',\n        y: 'a year',\n        yy: '%d years',\n    };\n\n    function relativeTime(number, withoutSuffix, string, isFuture) {\n        var output = this._relativeTime[string];\n        return isFunction(output)\n            ? output(number, withoutSuffix, string, isFuture)\n            : output.replace(/%d/i, number);\n    }\n\n    function pastFuture(diff, output) {\n        var format = this._relativeTime[diff > 0 ? 'future' : 'past'];\n        return isFunction(format) ? format(output) : format.replace(/%s/i, output);\n    }\n\n    var aliases = {};\n\n    function addUnitAlias(unit, shorthand) {\n        var lowerCase = unit.toLowerCase();\n        aliases[lowerCase] = aliases[lowerCase + 's'] = aliases[shorthand] = unit;\n    }\n\n    function normalizeUnits(units) {\n        return typeof units === 'string'\n            ? aliases[units] || aliases[units.toLowerCase()]\n            : undefined;\n    }\n\n    function normalizeObjectUnits(inputObject) {\n        var normalizedInput = {},\n            normalizedProp,\n            prop;\n\n        for (prop in inputObject) {\n            if (hasOwnProp(inputObject, prop)) {\n                normalizedProp = normalizeUnits(prop);\n                if (normalizedProp) {\n                    normalizedInput[normalizedProp] = inputObject[prop];\n                }\n            }\n        }\n\n        return normalizedInput;\n    }\n\n    var priorities = {};\n\n    function addUnitPriority(unit, priority) {\n        priorities[unit] = priority;\n    }\n\n    function getPrioritizedUnits(unitsObj) {\n        var units = [],\n            u;\n        for (u in unitsObj) {\n            if (hasOwnProp(unitsObj, u)) {\n                units.push({ unit: u, priority: priorities[u] });\n            }\n        }\n        units.sort(function (a, b) {\n            return a.priority - b.priority;\n        });\n        return units;\n    }\n\n    function isLeapYear(year) {\n        return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0;\n    }\n\n    function absFloor(number) {\n        if (number < 0) {\n            // -0 -> 0\n            return Math.ceil(number) || 0;\n        } else {\n            return Math.floor(number);\n        }\n    }\n\n    function toInt(argumentForCoercion) {\n        var coercedNumber = +argumentForCoercion,\n            value = 0;\n\n        if (coercedNumber !== 0 && isFinite(coercedNumber)) {\n            value = absFloor(coercedNumber);\n        }\n\n        return value;\n    }\n\n    function makeGetSet(unit, keepTime) {\n        return function (value) {\n            if (value != null) {\n                set$1(this, unit, value);\n                hooks.updateOffset(this, keepTime);\n                return this;\n            } else {\n                return get(this, unit);\n            }\n        };\n    }\n\n    function get(mom, unit) {\n        return mom.isValid()\n            ? mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit]()\n            : NaN;\n    }\n\n    function set$1(mom, unit, value) {\n        if (mom.isValid() && !isNaN(value)) {\n            if (\n                unit === 'FullYear' &&\n                isLeapYear(mom.year()) &&\n                mom.month() === 1 &&\n                mom.date() === 29\n            ) {\n                value = toInt(value);\n                mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](\n                    value,\n                    mom.month(),\n                    daysInMonth(value, mom.month())\n                );\n            } else {\n                mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value);\n            }\n        }\n    }\n\n    // MOMENTS\n\n    function stringGet(units) {\n        units = normalizeUnits(units);\n        if (isFunction(this[units])) {\n            return this[units]();\n        }\n        return this;\n    }\n\n    function stringSet(units, value) {\n        if (typeof units === 'object') {\n            units = normalizeObjectUnits(units);\n            var prioritized = getPrioritizedUnits(units),\n                i,\n                prioritizedLen = prioritized.length;\n            for (i = 0; i < prioritizedLen; i++) {\n                this[prioritized[i].unit](units[prioritized[i].unit]);\n            }\n        } else {\n            units = normalizeUnits(units);\n            if (isFunction(this[units])) {\n                return this[units](value);\n            }\n        }\n        return this;\n    }\n\n    var match1 = /\\d/, //       0 - 9\n        match2 = /\\d\\d/, //      00 - 99\n        match3 = /\\d{3}/, //     000 - 999\n        match4 = /\\d{4}/, //    0000 - 9999\n        match6 = /[+-]?\\d{6}/, // -999999 - 999999\n        match1to2 = /\\d\\d?/, //       0 - 99\n        match3to4 = /\\d\\d\\d\\d?/, //     999 - 9999\n        match5to6 = /\\d\\d\\d\\d\\d\\d?/, //   99999 - 999999\n        match1to3 = /\\d{1,3}/, //       0 - 999\n        match1to4 = /\\d{1,4}/, //       0 - 9999\n        match1to6 = /[+-]?\\d{1,6}/, // -999999 - 999999\n        matchUnsigned = /\\d+/, //       0 - inf\n        matchSigned = /[+-]?\\d+/, //    -inf - inf\n        matchOffset = /Z|[+-]\\d\\d:?\\d\\d/gi, // +00:00 -00:00 +0000 -0000 or Z\n        matchShortOffset = /Z|[+-]\\d\\d(?::?\\d\\d)?/gi, // +00 -00 +00:00 -00:00 +0000 -0000 or Z\n        matchTimestamp = /[+-]?\\d+(\\.\\d{1,3})?/, // 123456789 123456789.123\n        // any word (or two) characters or numbers including two/three word month in arabic.\n        // includes scottish gaelic two word and hyphenated months\n        matchWord =\n            /[0-9]{0,256}['a-z\\u00A0-\\u05FF\\u0700-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFF07\\uFF10-\\uFFEF]{1,256}|[\\u0600-\\u06FF\\/]{1,256}(\\s*?[\\u0600-\\u06FF]{1,256}){1,2}/i,\n        regexes;\n\n    regexes = {};\n\n    function addRegexToken(token, regex, strictRegex) {\n        regexes[token] = isFunction(regex)\n            ? regex\n            : function (isStrict, localeData) {\n                  return isStrict && strictRegex ? strictRegex : regex;\n              };\n    }\n\n    function getParseRegexForToken(token, config) {\n        if (!hasOwnProp(regexes, token)) {\n            return new RegExp(unescapeFormat(token));\n        }\n\n        return regexes[token](config._strict, config._locale);\n    }\n\n    // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript\n    function unescapeFormat(s) {\n        return regexEscape(\n            s\n                .replace('\\\\', '')\n                .replace(\n                    /\\\\(\\[)|\\\\(\\])|\\[([^\\]\\[]*)\\]|\\\\(.)/g,\n                    function (matched, p1, p2, p3, p4) {\n                        return p1 || p2 || p3 || p4;\n                    }\n                )\n        );\n    }\n\n    function regexEscape(s) {\n        return s.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&');\n    }\n\n    var tokens = {};\n\n    function addParseToken(token, callback) {\n        var i,\n            func = callback,\n            tokenLen;\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        tokenLen = token.length;\n        for (i = 0; i < tokenLen; i++) {\n            tokens[token[i]] = func;\n        }\n    }\n\n    function addWeekParseToken(token, callback) {\n        addParseToken(token, function (input, array, config, token) {\n            config._w = config._w || {};\n            callback(input, config._w, config, token);\n        });\n    }\n\n    function addTimeToArrayFromToken(token, input, config) {\n        if (input != null && hasOwnProp(tokens, token)) {\n            tokens[token](input, config._a, config, token);\n        }\n    }\n\n    var YEAR = 0,\n        MONTH = 1,\n        DATE = 2,\n        HOUR = 3,\n        MINUTE = 4,\n        SECOND = 5,\n        MILLISECOND = 6,\n        WEEK = 7,\n        WEEKDAY = 8;\n\n    function mod(n, x) {\n        return ((n % x) + x) % x;\n    }\n\n    var indexOf;\n\n    if (Array.prototype.indexOf) {\n        indexOf = Array.prototype.indexOf;\n    } else {\n        indexOf = function (o) {\n            // I know\n            var i;\n            for (i = 0; i < this.length; ++i) {\n                if (this[i] === o) {\n                    return i;\n                }\n            }\n            return -1;\n        };\n    }\n\n    function daysInMonth(year, month) {\n        if (isNaN(year) || isNaN(month)) {\n            return NaN;\n        }\n        var modMonth = mod(month, 12);\n        year += (month - modMonth) / 12;\n        return modMonth === 1\n            ? isLeapYear(year)\n                ? 29\n                : 28\n            : 31 - ((modMonth % 7) % 2);\n    }\n\n    // FORMATTING\n\n    addFormatToken('M', ['MM', 2], 'Mo', function () {\n        return this.month() + 1;\n    });\n\n    addFormatToken('MMM', 0, 0, function (format) {\n        return this.localeData().monthsShort(this, format);\n    });\n\n    addFormatToken('MMMM', 0, 0, function (format) {\n        return this.localeData().months(this, format);\n    });\n\n    // ALIASES\n\n    addUnitAlias('month', 'M');\n\n    // PRIORITY\n\n    addUnitPriority('month', 8);\n\n    // PARSING\n\n    addRegexToken('M', match1to2);\n    addRegexToken('MM', match1to2, match2);\n    addRegexToken('MMM', function (isStrict, locale) {\n        return locale.monthsShortRegex(isStrict);\n    });\n    addRegexToken('MMMM', function (isStrict, locale) {\n        return locale.monthsRegex(isStrict);\n    });\n\n    addParseToken(['M', 'MM'], function (input, array) {\n        array[MONTH] = toInt(input) - 1;\n    });\n\n    addParseToken(['MMM', 'MMMM'], function (input, array, config, token) {\n        var month = config._locale.monthsParse(input, token, config._strict);\n        // if we didn't find a month name, mark the date as invalid.\n        if (month != null) {\n            array[MONTH] = month;\n        } else {\n            getParsingFlags(config).invalidMonth = input;\n        }\n    });\n\n    // LOCALES\n\n    var defaultLocaleMonths =\n            'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n                '_'\n            ),\n        defaultLocaleMonthsShort =\n            'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n        MONTHS_IN_FORMAT = /D[oD]?(\\[[^\\[\\]]*\\]|\\s)+MMMM?/,\n        defaultMonthsShortRegex = matchWord,\n        defaultMonthsRegex = matchWord;\n\n    function localeMonths(m, format) {\n        if (!m) {\n            return isArray(this._months)\n                ? this._months\n                : this._months['standalone'];\n        }\n        return isArray(this._months)\n            ? this._months[m.month()]\n            : this._months[\n                  (this._months.isFormat || MONTHS_IN_FORMAT).test(format)\n                      ? 'format'\n                      : 'standalone'\n              ][m.month()];\n    }\n\n    function localeMonthsShort(m, format) {\n        if (!m) {\n            return isArray(this._monthsShort)\n                ? this._monthsShort\n                : this._monthsShort['standalone'];\n        }\n        return isArray(this._monthsShort)\n            ? this._monthsShort[m.month()]\n            : this._monthsShort[\n                  MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'\n              ][m.month()];\n    }\n\n    function handleStrictParse(monthName, format, strict) {\n        var i,\n            ii,\n            mom,\n            llc = monthName.toLocaleLowerCase();\n        if (!this._monthsParse) {\n            // this is not used\n            this._monthsParse = [];\n            this._longMonthsParse = [];\n            this._shortMonthsParse = [];\n            for (i = 0; i < 12; ++i) {\n                mom = createUTC([2000, i]);\n                this._shortMonthsParse[i] = this.monthsShort(\n                    mom,\n                    ''\n                ).toLocaleLowerCase();\n                this._longMonthsParse[i] = this.months(mom, '').toLocaleLowerCase();\n            }\n        }\n\n        if (strict) {\n            if (format === 'MMM') {\n                ii = indexOf.call(this._shortMonthsParse, llc);\n                return ii !== -1 ? ii : null;\n            } else {\n                ii = indexOf.call(this._longMonthsParse, llc);\n                return ii !== -1 ? ii : null;\n            }\n        } else {\n            if (format === 'MMM') {\n                ii = indexOf.call(this._shortMonthsParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._longMonthsParse, llc);\n                return ii !== -1 ? ii : null;\n            } else {\n                ii = indexOf.call(this._longMonthsParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._shortMonthsParse, llc);\n                return ii !== -1 ? ii : null;\n            }\n        }\n    }\n\n    function localeMonthsParse(monthName, format, strict) {\n        var i, mom, regex;\n\n        if (this._monthsParseExact) {\n            return handleStrictParse.call(this, monthName, format, strict);\n        }\n\n        if (!this._monthsParse) {\n            this._monthsParse = [];\n            this._longMonthsParse = [];\n            this._shortMonthsParse = [];\n        }\n\n        // TODO: add sorting\n        // Sorting makes sure if one month (or abbr) is a prefix of another\n        // see sorting in computeMonthsParse\n        for (i = 0; i < 12; i++) {\n            // make the regex if we don't have it already\n            mom = createUTC([2000, i]);\n            if (strict && !this._longMonthsParse[i]) {\n                this._longMonthsParse[i] = new RegExp(\n                    '^' + this.months(mom, '').replace('.', '') + '$',\n                    'i'\n                );\n                this._shortMonthsParse[i] = new RegExp(\n                    '^' + this.monthsShort(mom, '').replace('.', '') + '$',\n                    'i'\n                );\n            }\n            if (!strict && !this._monthsParse[i]) {\n                regex =\n                    '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, '');\n                this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i');\n            }\n            // test the regex\n            if (\n                strict &&\n                format === 'MMMM' &&\n                this._longMonthsParse[i].test(monthName)\n            ) {\n                return i;\n            } else if (\n                strict &&\n                format === 'MMM' &&\n                this._shortMonthsParse[i].test(monthName)\n            ) {\n                return i;\n            } else if (!strict && this._monthsParse[i].test(monthName)) {\n                return i;\n            }\n        }\n    }\n\n    // MOMENTS\n\n    function setMonth(mom, value) {\n        var dayOfMonth;\n\n        if (!mom.isValid()) {\n            // No op\n            return mom;\n        }\n\n        if (typeof value === 'string') {\n            if (/^\\d+$/.test(value)) {\n                value = toInt(value);\n            } else {\n                value = mom.localeData().monthsParse(value);\n                // TODO: Another silent failure?\n                if (!isNumber(value)) {\n                    return mom;\n                }\n            }\n        }\n\n        dayOfMonth = Math.min(mom.date(), daysInMonth(mom.year(), value));\n        mom._d['set' + (mom._isUTC ? 'UTC' : '') + 'Month'](value, dayOfMonth);\n        return mom;\n    }\n\n    function getSetMonth(value) {\n        if (value != null) {\n            setMonth(this, value);\n            hooks.updateOffset(this, true);\n            return this;\n        } else {\n            return get(this, 'Month');\n        }\n    }\n\n    function getDaysInMonth() {\n        return daysInMonth(this.year(), this.month());\n    }\n\n    function monthsShortRegex(isStrict) {\n        if (this._monthsParseExact) {\n            if (!hasOwnProp(this, '_monthsRegex')) {\n                computeMonthsParse.call(this);\n            }\n            if (isStrict) {\n                return this._monthsShortStrictRegex;\n            } else {\n                return this._monthsShortRegex;\n            }\n        } else {\n            if (!hasOwnProp(this, '_monthsShortRegex')) {\n                this._monthsShortRegex = defaultMonthsShortRegex;\n            }\n            return this._monthsShortStrictRegex && isStrict\n                ? this._monthsShortStrictRegex\n                : this._monthsShortRegex;\n        }\n    }\n\n    function monthsRegex(isStrict) {\n        if (this._monthsParseExact) {\n            if (!hasOwnProp(this, '_monthsRegex')) {\n                computeMonthsParse.call(this);\n            }\n            if (isStrict) {\n                return this._monthsStrictRegex;\n            } else {\n                return this._monthsRegex;\n            }\n        } else {\n            if (!hasOwnProp(this, '_monthsRegex')) {\n                this._monthsRegex = defaultMonthsRegex;\n            }\n            return this._monthsStrictRegex && isStrict\n                ? this._monthsStrictRegex\n                : this._monthsRegex;\n        }\n    }\n\n    function computeMonthsParse() {\n        function cmpLenRev(a, b) {\n            return b.length - a.length;\n        }\n\n        var shortPieces = [],\n            longPieces = [],\n            mixedPieces = [],\n            i,\n            mom;\n        for (i = 0; i < 12; i++) {\n            // make the regex if we don't have it already\n            mom = createUTC([2000, i]);\n            shortPieces.push(this.monthsShort(mom, ''));\n            longPieces.push(this.months(mom, ''));\n            mixedPieces.push(this.months(mom, ''));\n            mixedPieces.push(this.monthsShort(mom, ''));\n        }\n        // Sorting makes sure if one month (or abbr) is a prefix of another it\n        // will match the longer piece.\n        shortPieces.sort(cmpLenRev);\n        longPieces.sort(cmpLenRev);\n        mixedPieces.sort(cmpLenRev);\n        for (i = 0; i < 12; i++) {\n            shortPieces[i] = regexEscape(shortPieces[i]);\n            longPieces[i] = regexEscape(longPieces[i]);\n        }\n        for (i = 0; i < 24; i++) {\n            mixedPieces[i] = regexEscape(mixedPieces[i]);\n        }\n\n        this._monthsRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n        this._monthsShortRegex = this._monthsRegex;\n        this._monthsStrictRegex = new RegExp(\n            '^(' + longPieces.join('|') + ')',\n            'i'\n        );\n        this._monthsShortStrictRegex = new RegExp(\n            '^(' + shortPieces.join('|') + ')',\n            'i'\n        );\n    }\n\n    // FORMATTING\n\n    addFormatToken('Y', 0, 0, function () {\n        var y = this.year();\n        return y <= 9999 ? zeroFill(y, 4) : '+' + y;\n    });\n\n    addFormatToken(0, ['YY', 2], 0, function () {\n        return this.year() % 100;\n    });\n\n    addFormatToken(0, ['YYYY', 4], 0, 'year');\n    addFormatToken(0, ['YYYYY', 5], 0, 'year');\n    addFormatToken(0, ['YYYYYY', 6, true], 0, 'year');\n\n    // ALIASES\n\n    addUnitAlias('year', 'y');\n\n    // PRIORITIES\n\n    addUnitPriority('year', 1);\n\n    // PARSING\n\n    addRegexToken('Y', matchSigned);\n    addRegexToken('YY', match1to2, match2);\n    addRegexToken('YYYY', match1to4, match4);\n    addRegexToken('YYYYY', match1to6, match6);\n    addRegexToken('YYYYYY', match1to6, match6);\n\n    addParseToken(['YYYYY', 'YYYYYY'], YEAR);\n    addParseToken('YYYY', function (input, array) {\n        array[YEAR] =\n            input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input);\n    });\n    addParseToken('YY', function (input, array) {\n        array[YEAR] = hooks.parseTwoDigitYear(input);\n    });\n    addParseToken('Y', function (input, array) {\n        array[YEAR] = parseInt(input, 10);\n    });\n\n    // HELPERS\n\n    function daysInYear(year) {\n        return isLeapYear(year) ? 366 : 365;\n    }\n\n    // HOOKS\n\n    hooks.parseTwoDigitYear = function (input) {\n        return toInt(input) + (toInt(input) > 68 ? 1900 : 2000);\n    };\n\n    // MOMENTS\n\n    var getSetYear = makeGetSet('FullYear', true);\n\n    function getIsLeapYear() {\n        return isLeapYear(this.year());\n    }\n\n    function createDate(y, m, d, h, M, s, ms) {\n        // can't just apply() to create a date:\n        // https://stackoverflow.com/q/181348\n        var date;\n        // the date constructor remaps years 0-99 to 1900-1999\n        if (y < 100 && y >= 0) {\n            // preserve leap years using a full 400 year cycle, then reset\n            date = new Date(y + 400, m, d, h, M, s, ms);\n            if (isFinite(date.getFullYear())) {\n                date.setFullYear(y);\n            }\n        } else {\n            date = new Date(y, m, d, h, M, s, ms);\n        }\n\n        return date;\n    }\n\n    function createUTCDate(y) {\n        var date, args;\n        // the Date.UTC function remaps years 0-99 to 1900-1999\n        if (y < 100 && y >= 0) {\n            args = Array.prototype.slice.call(arguments);\n            // preserve leap years using a full 400 year cycle, then reset\n            args[0] = y + 400;\n            date = new Date(Date.UTC.apply(null, args));\n            if (isFinite(date.getUTCFullYear())) {\n                date.setUTCFullYear(y);\n            }\n        } else {\n            date = new Date(Date.UTC.apply(null, arguments));\n        }\n\n        return date;\n    }\n\n    // start-of-first-week - start-of-year\n    function firstWeekOffset(year, dow, doy) {\n        var // first-week day -- which january is always in the first week (4 for iso, 1 for other)\n            fwd = 7 + dow - doy,\n            // first-week day local weekday -- which local weekday is fwd\n            fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7;\n\n        return -fwdlw + fwd - 1;\n    }\n\n    // https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday\n    function dayOfYearFromWeeks(year, week, weekday, dow, doy) {\n        var localWeekday = (7 + weekday - dow) % 7,\n            weekOffset = firstWeekOffset(year, dow, doy),\n            dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset,\n            resYear,\n            resDayOfYear;\n\n        if (dayOfYear <= 0) {\n            resYear = year - 1;\n            resDayOfYear = daysInYear(resYear) + dayOfYear;\n        } else if (dayOfYear > daysInYear(year)) {\n            resYear = year + 1;\n            resDayOfYear = dayOfYear - daysInYear(year);\n        } else {\n            resYear = year;\n            resDayOfYear = dayOfYear;\n        }\n\n        return {\n            year: resYear,\n            dayOfYear: resDayOfYear,\n        };\n    }\n\n    function weekOfYear(mom, dow, doy) {\n        var weekOffset = firstWeekOffset(mom.year(), dow, doy),\n            week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1,\n            resWeek,\n            resYear;\n\n        if (week < 1) {\n            resYear = mom.year() - 1;\n            resWeek = week + weeksInYear(resYear, dow, doy);\n        } else if (week > weeksInYear(mom.year(), dow, doy)) {\n            resWeek = week - weeksInYear(mom.year(), dow, doy);\n            resYear = mom.year() + 1;\n        } else {\n            resYear = mom.year();\n            resWeek = week;\n        }\n\n        return {\n            week: resWeek,\n            year: resYear,\n        };\n    }\n\n    function weeksInYear(year, dow, doy) {\n        var weekOffset = firstWeekOffset(year, dow, doy),\n            weekOffsetNext = firstWeekOffset(year + 1, dow, doy);\n        return (daysInYear(year) - weekOffset + weekOffsetNext) / 7;\n    }\n\n    // FORMATTING\n\n    addFormatToken('w', ['ww', 2], 'wo', 'week');\n    addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek');\n\n    // ALIASES\n\n    addUnitAlias('week', 'w');\n    addUnitAlias('isoWeek', 'W');\n\n    // PRIORITIES\n\n    addUnitPriority('week', 5);\n    addUnitPriority('isoWeek', 5);\n\n    // PARSING\n\n    addRegexToken('w', match1to2);\n    addRegexToken('ww', match1to2, match2);\n    addRegexToken('W', match1to2);\n    addRegexToken('WW', match1to2, match2);\n\n    addWeekParseToken(\n        ['w', 'ww', 'W', 'WW'],\n        function (input, week, config, token) {\n            week[token.substr(0, 1)] = toInt(input);\n        }\n    );\n\n    // HELPERS\n\n    // LOCALES\n\n    function localeWeek(mom) {\n        return weekOfYear(mom, this._week.dow, this._week.doy).week;\n    }\n\n    var defaultLocaleWeek = {\n        dow: 0, // Sunday is the first day of the week.\n        doy: 6, // The week that contains Jan 6th is the first week of the year.\n    };\n\n    function localeFirstDayOfWeek() {\n        return this._week.dow;\n    }\n\n    function localeFirstDayOfYear() {\n        return this._week.doy;\n    }\n\n    // MOMENTS\n\n    function getSetWeek(input) {\n        var week = this.localeData().week(this);\n        return input == null ? week : this.add((input - week) * 7, 'd');\n    }\n\n    function getSetISOWeek(input) {\n        var week = weekOfYear(this, 1, 4).week;\n        return input == null ? week : this.add((input - week) * 7, 'd');\n    }\n\n    // FORMATTING\n\n    addFormatToken('d', 0, 'do', 'day');\n\n    addFormatToken('dd', 0, 0, function (format) {\n        return this.localeData().weekdaysMin(this, format);\n    });\n\n    addFormatToken('ddd', 0, 0, function (format) {\n        return this.localeData().weekdaysShort(this, format);\n    });\n\n    addFormatToken('dddd', 0, 0, function (format) {\n        return this.localeData().weekdays(this, format);\n    });\n\n    addFormatToken('e', 0, 0, 'weekday');\n    addFormatToken('E', 0, 0, 'isoWeekday');\n\n    // ALIASES\n\n    addUnitAlias('day', 'd');\n    addUnitAlias('weekday', 'e');\n    addUnitAlias('isoWeekday', 'E');\n\n    // PRIORITY\n    addUnitPriority('day', 11);\n    addUnitPriority('weekday', 11);\n    addUnitPriority('isoWeekday', 11);\n\n    // PARSING\n\n    addRegexToken('d', match1to2);\n    addRegexToken('e', match1to2);\n    addRegexToken('E', match1to2);\n    addRegexToken('dd', function (isStrict, locale) {\n        return locale.weekdaysMinRegex(isStrict);\n    });\n    addRegexToken('ddd', function (isStrict, locale) {\n        return locale.weekdaysShortRegex(isStrict);\n    });\n    addRegexToken('dddd', function (isStrict, locale) {\n        return locale.weekdaysRegex(isStrict);\n    });\n\n    addWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) {\n        var weekday = config._locale.weekdaysParse(input, token, config._strict);\n        // if we didn't get a weekday name, mark the date as invalid\n        if (weekday != null) {\n            week.d = weekday;\n        } else {\n            getParsingFlags(config).invalidWeekday = input;\n        }\n    });\n\n    addWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) {\n        week[token] = toInt(input);\n    });\n\n    // HELPERS\n\n    function parseWeekday(input, locale) {\n        if (typeof input !== 'string') {\n            return input;\n        }\n\n        if (!isNaN(input)) {\n            return parseInt(input, 10);\n        }\n\n        input = locale.weekdaysParse(input);\n        if (typeof input === 'number') {\n            return input;\n        }\n\n        return null;\n    }\n\n    function parseIsoWeekday(input, locale) {\n        if (typeof input === 'string') {\n            return locale.weekdaysParse(input) % 7 || 7;\n        }\n        return isNaN(input) ? null : input;\n    }\n\n    // LOCALES\n    function shiftWeekdays(ws, n) {\n        return ws.slice(n, 7).concat(ws.slice(0, n));\n    }\n\n    var defaultLocaleWeekdays =\n            'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),\n        defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n        defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n        defaultWeekdaysRegex = matchWord,\n        defaultWeekdaysShortRegex = matchWord,\n        defaultWeekdaysMinRegex = matchWord;\n\n    function localeWeekdays(m, format) {\n        var weekdays = isArray(this._weekdays)\n            ? this._weekdays\n            : this._weekdays[\n                  m && m !== true && this._weekdays.isFormat.test(format)\n                      ? 'format'\n                      : 'standalone'\n              ];\n        return m === true\n            ? shiftWeekdays(weekdays, this._week.dow)\n            : m\n            ? weekdays[m.day()]\n            : weekdays;\n    }\n\n    function localeWeekdaysShort(m) {\n        return m === true\n            ? shiftWeekdays(this._weekdaysShort, this._week.dow)\n            : m\n            ? this._weekdaysShort[m.day()]\n            : this._weekdaysShort;\n    }\n\n    function localeWeekdaysMin(m) {\n        return m === true\n            ? shiftWeekdays(this._weekdaysMin, this._week.dow)\n            : m\n            ? this._weekdaysMin[m.day()]\n            : this._weekdaysMin;\n    }\n\n    function handleStrictParse$1(weekdayName, format, strict) {\n        var i,\n            ii,\n            mom,\n            llc = weekdayName.toLocaleLowerCase();\n        if (!this._weekdaysParse) {\n            this._weekdaysParse = [];\n            this._shortWeekdaysParse = [];\n            this._minWeekdaysParse = [];\n\n            for (i = 0; i < 7; ++i) {\n                mom = createUTC([2000, 1]).day(i);\n                this._minWeekdaysParse[i] = this.weekdaysMin(\n                    mom,\n                    ''\n                ).toLocaleLowerCase();\n                this._shortWeekdaysParse[i] = this.weekdaysShort(\n                    mom,\n                    ''\n                ).toLocaleLowerCase();\n                this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase();\n            }\n        }\n\n        if (strict) {\n            if (format === 'dddd') {\n                ii = indexOf.call(this._weekdaysParse, llc);\n                return ii !== -1 ? ii : null;\n            } else if (format === 'ddd') {\n                ii = indexOf.call(this._shortWeekdaysParse, llc);\n                return ii !== -1 ? ii : null;\n            } else {\n                ii = indexOf.call(this._minWeekdaysParse, llc);\n                return ii !== -1 ? ii : null;\n            }\n        } else {\n            if (format === 'dddd') {\n                ii = indexOf.call(this._weekdaysParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._shortWeekdaysParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._minWeekdaysParse, llc);\n                return ii !== -1 ? ii : null;\n            } else if (format === 'ddd') {\n                ii = indexOf.call(this._shortWeekdaysParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._weekdaysParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._minWeekdaysParse, llc);\n                return ii !== -1 ? ii : null;\n            } else {\n                ii = indexOf.call(this._minWeekdaysParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._weekdaysParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._shortWeekdaysParse, llc);\n                return ii !== -1 ? ii : null;\n            }\n        }\n    }\n\n    function localeWeekdaysParse(weekdayName, format, strict) {\n        var i, mom, regex;\n\n        if (this._weekdaysParseExact) {\n            return handleStrictParse$1.call(this, weekdayName, format, strict);\n        }\n\n        if (!this._weekdaysParse) {\n            this._weekdaysParse = [];\n            this._minWeekdaysParse = [];\n            this._shortWeekdaysParse = [];\n            this._fullWeekdaysParse = [];\n        }\n\n        for (i = 0; i < 7; i++) {\n            // make the regex if we don't have it already\n\n            mom = createUTC([2000, 1]).day(i);\n            if (strict && !this._fullWeekdaysParse[i]) {\n                this._fullWeekdaysParse[i] = new RegExp(\n                    '^' + this.weekdays(mom, '').replace('.', '\\\\.?') + '$',\n                    'i'\n                );\n                this._shortWeekdaysParse[i] = new RegExp(\n                    '^' + this.weekdaysShort(mom, '').replace('.', '\\\\.?') + '$',\n                    'i'\n                );\n                this._minWeekdaysParse[i] = new RegExp(\n                    '^' + this.weekdaysMin(mom, '').replace('.', '\\\\.?') + '$',\n                    'i'\n                );\n            }\n            if (!this._weekdaysParse[i]) {\n                regex =\n                    '^' +\n                    this.weekdays(mom, '') +\n                    '|^' +\n                    this.weekdaysShort(mom, '') +\n                    '|^' +\n                    this.weekdaysMin(mom, '');\n                this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i');\n            }\n            // test the regex\n            if (\n                strict &&\n                format === 'dddd' &&\n                this._fullWeekdaysParse[i].test(weekdayName)\n            ) {\n                return i;\n            } else if (\n                strict &&\n                format === 'ddd' &&\n                this._shortWeekdaysParse[i].test(weekdayName)\n            ) {\n                return i;\n            } else if (\n                strict &&\n                format === 'dd' &&\n                this._minWeekdaysParse[i].test(weekdayName)\n            ) {\n                return i;\n            } else if (!strict && this._weekdaysParse[i].test(weekdayName)) {\n                return i;\n            }\n        }\n    }\n\n    // MOMENTS\n\n    function getSetDayOfWeek(input) {\n        if (!this.isValid()) {\n            return input != null ? this : NaN;\n        }\n        var day = this._isUTC ? this._d.getUTCDay() : this._d.getDay();\n        if (input != null) {\n            input = parseWeekday(input, this.localeData());\n            return this.add(input - day, 'd');\n        } else {\n            return day;\n        }\n    }\n\n    function getSetLocaleDayOfWeek(input) {\n        if (!this.isValid()) {\n            return input != null ? this : NaN;\n        }\n        var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7;\n        return input == null ? weekday : this.add(input - weekday, 'd');\n    }\n\n    function getSetISODayOfWeek(input) {\n        if (!this.isValid()) {\n            return input != null ? this : NaN;\n        }\n\n        // behaves the same as moment#day except\n        // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)\n        // as a setter, sunday should belong to the previous week.\n\n        if (input != null) {\n            var weekday = parseIsoWeekday(input, this.localeData());\n            return this.day(this.day() % 7 ? weekday : weekday - 7);\n        } else {\n            return this.day() || 7;\n        }\n    }\n\n    function weekdaysRegex(isStrict) {\n        if (this._weekdaysParseExact) {\n            if (!hasOwnProp(this, '_weekdaysRegex')) {\n                computeWeekdaysParse.call(this);\n            }\n            if (isStrict) {\n                return this._weekdaysStrictRegex;\n            } else {\n                return this._weekdaysRegex;\n            }\n        } else {\n            if (!hasOwnProp(this, '_weekdaysRegex')) {\n                this._weekdaysRegex = defaultWeekdaysRegex;\n            }\n            return this._weekdaysStrictRegex && isStrict\n                ? this._weekdaysStrictRegex\n                : this._weekdaysRegex;\n        }\n    }\n\n    function weekdaysShortRegex(isStrict) {\n        if (this._weekdaysParseExact) {\n            if (!hasOwnProp(this, '_weekdaysRegex')) {\n                computeWeekdaysParse.call(this);\n            }\n            if (isStrict) {\n                return this._weekdaysShortStrictRegex;\n            } else {\n                return this._weekdaysShortRegex;\n            }\n        } else {\n            if (!hasOwnProp(this, '_weekdaysShortRegex')) {\n                this._weekdaysShortRegex = defaultWeekdaysShortRegex;\n            }\n            return this._weekdaysShortStrictRegex && isStrict\n                ? this._weekdaysShortStrictRegex\n                : this._weekdaysShortRegex;\n        }\n    }\n\n    function weekdaysMinRegex(isStrict) {\n        if (this._weekdaysParseExact) {\n            if (!hasOwnProp(this, '_weekdaysRegex')) {\n                computeWeekdaysParse.call(this);\n            }\n            if (isStrict) {\n                return this._weekdaysMinStrictRegex;\n            } else {\n                return this._weekdaysMinRegex;\n            }\n        } else {\n            if (!hasOwnProp(this, '_weekdaysMinRegex')) {\n                this._weekdaysMinRegex = defaultWeekdaysMinRegex;\n            }\n            return this._weekdaysMinStrictRegex && isStrict\n                ? this._weekdaysMinStrictRegex\n                : this._weekdaysMinRegex;\n        }\n    }\n\n    function computeWeekdaysParse() {\n        function cmpLenRev(a, b) {\n            return b.length - a.length;\n        }\n\n        var minPieces = [],\n            shortPieces = [],\n            longPieces = [],\n            mixedPieces = [],\n            i,\n            mom,\n            minp,\n            shortp,\n            longp;\n        for (i = 0; i < 7; i++) {\n            // make the regex if we don't have it already\n            mom = createUTC([2000, 1]).day(i);\n            minp = regexEscape(this.weekdaysMin(mom, ''));\n            shortp = regexEscape(this.weekdaysShort(mom, ''));\n            longp = regexEscape(this.weekdays(mom, ''));\n            minPieces.push(minp);\n            shortPieces.push(shortp);\n            longPieces.push(longp);\n            mixedPieces.push(minp);\n            mixedPieces.push(shortp);\n            mixedPieces.push(longp);\n        }\n        // Sorting makes sure if one weekday (or abbr) is a prefix of another it\n        // will match the longer piece.\n        minPieces.sort(cmpLenRev);\n        shortPieces.sort(cmpLenRev);\n        longPieces.sort(cmpLenRev);\n        mixedPieces.sort(cmpLenRev);\n\n        this._weekdaysRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n        this._weekdaysShortRegex = this._weekdaysRegex;\n        this._weekdaysMinRegex = this._weekdaysRegex;\n\n        this._weekdaysStrictRegex = new RegExp(\n            '^(' + longPieces.join('|') + ')',\n            'i'\n        );\n        this._weekdaysShortStrictRegex = new RegExp(\n            '^(' + shortPieces.join('|') + ')',\n            'i'\n        );\n        this._weekdaysMinStrictRegex = new RegExp(\n            '^(' + minPieces.join('|') + ')',\n            'i'\n        );\n    }\n\n    // FORMATTING\n\n    function hFormat() {\n        return this.hours() % 12 || 12;\n    }\n\n    function kFormat() {\n        return this.hours() || 24;\n    }\n\n    addFormatToken('H', ['HH', 2], 0, 'hour');\n    addFormatToken('h', ['hh', 2], 0, hFormat);\n    addFormatToken('k', ['kk', 2], 0, kFormat);\n\n    addFormatToken('hmm', 0, 0, function () {\n        return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2);\n    });\n\n    addFormatToken('hmmss', 0, 0, function () {\n        return (\n            '' +\n            hFormat.apply(this) +\n            zeroFill(this.minutes(), 2) +\n            zeroFill(this.seconds(), 2)\n        );\n    });\n\n    addFormatToken('Hmm', 0, 0, function () {\n        return '' + this.hours() + zeroFill(this.minutes(), 2);\n    });\n\n    addFormatToken('Hmmss', 0, 0, function () {\n        return (\n            '' +\n            this.hours() +\n            zeroFill(this.minutes(), 2) +\n            zeroFill(this.seconds(), 2)\n        );\n    });\n\n    function meridiem(token, lowercase) {\n        addFormatToken(token, 0, 0, function () {\n            return this.localeData().meridiem(\n                this.hours(),\n                this.minutes(),\n                lowercase\n            );\n        });\n    }\n\n    meridiem('a', true);\n    meridiem('A', false);\n\n    // ALIASES\n\n    addUnitAlias('hour', 'h');\n\n    // PRIORITY\n    addUnitPriority('hour', 13);\n\n    // PARSING\n\n    function matchMeridiem(isStrict, locale) {\n        return locale._meridiemParse;\n    }\n\n    addRegexToken('a', matchMeridiem);\n    addRegexToken('A', matchMeridiem);\n    addRegexToken('H', match1to2);\n    addRegexToken('h', match1to2);\n    addRegexToken('k', match1to2);\n    addRegexToken('HH', match1to2, match2);\n    addRegexToken('hh', match1to2, match2);\n    addRegexToken('kk', match1to2, match2);\n\n    addRegexToken('hmm', match3to4);\n    addRegexToken('hmmss', match5to6);\n    addRegexToken('Hmm', match3to4);\n    addRegexToken('Hmmss', match5to6);\n\n    addParseToken(['H', 'HH'], HOUR);\n    addParseToken(['k', 'kk'], function (input, array, config) {\n        var kInput = toInt(input);\n        array[HOUR] = kInput === 24 ? 0 : kInput;\n    });\n    addParseToken(['a', 'A'], function (input, array, config) {\n        config._isPm = config._locale.isPM(input);\n        config._meridiem = input;\n    });\n    addParseToken(['h', 'hh'], function (input, array, config) {\n        array[HOUR] = toInt(input);\n        getParsingFlags(config).bigHour = true;\n    });\n    addParseToken('hmm', function (input, array, config) {\n        var pos = input.length - 2;\n        array[HOUR] = toInt(input.substr(0, pos));\n        array[MINUTE] = toInt(input.substr(pos));\n        getParsingFlags(config).bigHour = true;\n    });\n    addParseToken('hmmss', function (input, array, config) {\n        var pos1 = input.length - 4,\n            pos2 = input.length - 2;\n        array[HOUR] = toInt(input.substr(0, pos1));\n        array[MINUTE] = toInt(input.substr(pos1, 2));\n        array[SECOND] = toInt(input.substr(pos2));\n        getParsingFlags(config).bigHour = true;\n    });\n    addParseToken('Hmm', function (input, array, config) {\n        var pos = input.length - 2;\n        array[HOUR] = toInt(input.substr(0, pos));\n        array[MINUTE] = toInt(input.substr(pos));\n    });\n    addParseToken('Hmmss', function (input, array, config) {\n        var pos1 = input.length - 4,\n            pos2 = input.length - 2;\n        array[HOUR] = toInt(input.substr(0, pos1));\n        array[MINUTE] = toInt(input.substr(pos1, 2));\n        array[SECOND] = toInt(input.substr(pos2));\n    });\n\n    // LOCALES\n\n    function localeIsPM(input) {\n        // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays\n        // Using charAt should be more compatible.\n        return (input + '').toLowerCase().charAt(0) === 'p';\n    }\n\n    var defaultLocaleMeridiemParse = /[ap]\\.?m?\\.?/i,\n        // Setting the hour should keep the time, because the user explicitly\n        // specified which hour they want. So trying to maintain the same hour (in\n        // a new timezone) makes sense. Adding/subtracting hours does not follow\n        // this rule.\n        getSetHour = makeGetSet('Hours', true);\n\n    function localeMeridiem(hours, minutes, isLower) {\n        if (hours > 11) {\n            return isLower ? 'pm' : 'PM';\n        } else {\n            return isLower ? 'am' : 'AM';\n        }\n    }\n\n    var baseConfig = {\n        calendar: defaultCalendar,\n        longDateFormat: defaultLongDateFormat,\n        invalidDate: defaultInvalidDate,\n        ordinal: defaultOrdinal,\n        dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse,\n        relativeTime: defaultRelativeTime,\n\n        months: defaultLocaleMonths,\n        monthsShort: defaultLocaleMonthsShort,\n\n        week: defaultLocaleWeek,\n\n        weekdays: defaultLocaleWeekdays,\n        weekdaysMin: defaultLocaleWeekdaysMin,\n        weekdaysShort: defaultLocaleWeekdaysShort,\n\n        meridiemParse: defaultLocaleMeridiemParse,\n    };\n\n    // internal storage for locale config files\n    var locales = {},\n        localeFamilies = {},\n        globalLocale;\n\n    function commonPrefix(arr1, arr2) {\n        var i,\n            minl = Math.min(arr1.length, arr2.length);\n        for (i = 0; i < minl; i += 1) {\n            if (arr1[i] !== arr2[i]) {\n                return i;\n            }\n        }\n        return minl;\n    }\n\n    function normalizeLocale(key) {\n        return key ? key.toLowerCase().replace('_', '-') : key;\n    }\n\n    // pick the locale from the array\n    // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each\n    // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root\n    function chooseLocale(names) {\n        var i = 0,\n            j,\n            next,\n            locale,\n            split;\n\n        while (i < names.length) {\n            split = normalizeLocale(names[i]).split('-');\n            j = split.length;\n            next = normalizeLocale(names[i + 1]);\n            next = next ? next.split('-') : null;\n            while (j > 0) {\n                locale = loadLocale(split.slice(0, j).join('-'));\n                if (locale) {\n                    return locale;\n                }\n                if (\n                    next &&\n                    next.length >= j &&\n                    commonPrefix(split, next) >= j - 1\n                ) {\n                    //the next array item is better than a shallower substring of this one\n                    break;\n                }\n                j--;\n            }\n            i++;\n        }\n        return globalLocale;\n    }\n\n    function isLocaleNameSane(name) {\n        // Prevent names that look like filesystem paths, i.e contain '/' or '\\'\n        return name.match('^[^/\\\\\\\\]*$') != null;\n    }\n\n    function loadLocale(name) {\n        var oldLocale = null,\n            aliasedRequire;\n        // TODO: Find a better way to register and load all the locales in Node\n        if (\n            locales[name] === undefined &&\n            typeof module !== 'undefined' &&\n            module &&\n            module.exports &&\n            isLocaleNameSane(name)\n        ) {\n            try {\n                oldLocale = globalLocale._abbr;\n                aliasedRequire = require;\n                aliasedRequire('./locale/' + name);\n                getSetGlobalLocale(oldLocale);\n            } catch (e) {\n                // mark as not found to avoid repeating expensive file require call causing high CPU\n                // when trying to find en-US, en_US, en-us for every format call\n                locales[name] = null; // null means not found\n            }\n        }\n        return locales[name];\n    }\n\n    // This function will load locale and then set the global locale.  If\n    // no arguments are passed in, it will simply return the current global\n    // locale key.\n    function getSetGlobalLocale(key, values) {\n        var data;\n        if (key) {\n            if (isUndefined(values)) {\n                data = getLocale(key);\n            } else {\n                data = defineLocale(key, values);\n            }\n\n            if (data) {\n                // moment.duration._locale = moment._locale = data;\n                globalLocale = data;\n            } else {\n                if (typeof console !== 'undefined' && console.warn) {\n                    //warn user if arguments are passed but the locale could not be set\n                    console.warn(\n                        'Locale ' + key + ' not found. Did you forget to load it?'\n                    );\n                }\n            }\n        }\n\n        return globalLocale._abbr;\n    }\n\n    function defineLocale(name, config) {\n        if (config !== null) {\n            var locale,\n                parentConfig = baseConfig;\n            config.abbr = name;\n            if (locales[name] != null) {\n                deprecateSimple(\n                    'defineLocaleOverride',\n                    'use moment.updateLocale(localeName, config) to change ' +\n                        'an existing locale. moment.defineLocale(localeName, ' +\n                        'config) should only be used for creating a new locale ' +\n                        'See http://momentjs.com/guides/#/warnings/define-locale/ for more info.'\n                );\n                parentConfig = locales[name]._config;\n            } else if (config.parentLocale != null) {\n                if (locales[config.parentLocale] != null) {\n                    parentConfig = locales[config.parentLocale]._config;\n                } else {\n                    locale = loadLocale(config.parentLocale);\n                    if (locale != null) {\n                        parentConfig = locale._config;\n                    } else {\n                        if (!localeFamilies[config.parentLocale]) {\n                            localeFamilies[config.parentLocale] = [];\n                        }\n                        localeFamilies[config.parentLocale].push({\n                            name: name,\n                            config: config,\n                        });\n                        return null;\n                    }\n                }\n            }\n            locales[name] = new Locale(mergeConfigs(parentConfig, config));\n\n            if (localeFamilies[name]) {\n                localeFamilies[name].forEach(function (x) {\n                    defineLocale(x.name, x.config);\n                });\n            }\n\n            // backwards compat for now: also set the locale\n            // make sure we set the locale AFTER all child locales have been\n            // created, so we won't end up with the child locale set.\n            getSetGlobalLocale(name);\n\n            return locales[name];\n        } else {\n            // useful for testing\n            delete locales[name];\n            return null;\n        }\n    }\n\n    function updateLocale(name, config) {\n        if (config != null) {\n            var locale,\n                tmpLocale,\n                parentConfig = baseConfig;\n\n            if (locales[name] != null && locales[name].parentLocale != null) {\n                // Update existing child locale in-place to avoid memory-leaks\n                locales[name].set(mergeConfigs(locales[name]._config, config));\n            } else {\n                // MERGE\n                tmpLocale = loadLocale(name);\n                if (tmpLocale != null) {\n                    parentConfig = tmpLocale._config;\n                }\n                config = mergeConfigs(parentConfig, config);\n                if (tmpLocale == null) {\n                    // updateLocale is called for creating a new locale\n                    // Set abbr so it will have a name (getters return\n                    // undefined otherwise).\n                    config.abbr = name;\n                }\n                locale = new Locale(config);\n                locale.parentLocale = locales[name];\n                locales[name] = locale;\n            }\n\n            // backwards compat for now: also set the locale\n            getSetGlobalLocale(name);\n        } else {\n            // pass null for config to unupdate, useful for tests\n            if (locales[name] != null) {\n                if (locales[name].parentLocale != null) {\n                    locales[name] = locales[name].parentLocale;\n                    if (name === getSetGlobalLocale()) {\n                        getSetGlobalLocale(name);\n                    }\n                } else if (locales[name] != null) {\n                    delete locales[name];\n                }\n            }\n        }\n        return locales[name];\n    }\n\n    // returns locale data\n    function getLocale(key) {\n        var locale;\n\n        if (key && key._locale && key._locale._abbr) {\n            key = key._locale._abbr;\n        }\n\n        if (!key) {\n            return globalLocale;\n        }\n\n        if (!isArray(key)) {\n            //short-circuit everything else\n            locale = loadLocale(key);\n            if (locale) {\n                return locale;\n            }\n            key = [key];\n        }\n\n        return chooseLocale(key);\n    }\n\n    function listLocales() {\n        return keys(locales);\n    }\n\n    function checkOverflow(m) {\n        var overflow,\n            a = m._a;\n\n        if (a && getParsingFlags(m).overflow === -2) {\n            overflow =\n                a[MONTH] < 0 || a[MONTH] > 11\n                    ? MONTH\n                    : a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH])\n                    ? DATE\n                    : a[HOUR] < 0 ||\n                      a[HOUR] > 24 ||\n                      (a[HOUR] === 24 &&\n                          (a[MINUTE] !== 0 ||\n                              a[SECOND] !== 0 ||\n                              a[MILLISECOND] !== 0))\n                    ? HOUR\n                    : a[MINUTE] < 0 || a[MINUTE] > 59\n                    ? MINUTE\n                    : a[SECOND] < 0 || a[SECOND] > 59\n                    ? SECOND\n                    : a[MILLISECOND] < 0 || a[MILLISECOND] > 999\n                    ? MILLISECOND\n                    : -1;\n\n            if (\n                getParsingFlags(m)._overflowDayOfYear &&\n                (overflow < YEAR || overflow > DATE)\n            ) {\n                overflow = DATE;\n            }\n            if (getParsingFlags(m)._overflowWeeks && overflow === -1) {\n                overflow = WEEK;\n            }\n            if (getParsingFlags(m)._overflowWeekday && overflow === -1) {\n                overflow = WEEKDAY;\n            }\n\n            getParsingFlags(m).overflow = overflow;\n        }\n\n        return m;\n    }\n\n    // iso 8601 regex\n    // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)\n    var extendedIsoRegex =\n            /^\\s*((?:[+-]\\d{6}|\\d{4})-(?:\\d\\d-\\d\\d|W\\d\\d-\\d|W\\d\\d|\\d\\d\\d|\\d\\d))(?:(T| )(\\d\\d(?::\\d\\d(?::\\d\\d(?:[.,]\\d+)?)?)?)([+-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,\n        basicIsoRegex =\n            /^\\s*((?:[+-]\\d{6}|\\d{4})(?:\\d\\d\\d\\d|W\\d\\d\\d|W\\d\\d|\\d\\d\\d|\\d\\d|))(?:(T| )(\\d\\d(?:\\d\\d(?:\\d\\d(?:[.,]\\d+)?)?)?)([+-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,\n        tzRegex = /Z|[+-]\\d\\d(?::?\\d\\d)?/,\n        isoDates = [\n            ['YYYYYY-MM-DD', /[+-]\\d{6}-\\d\\d-\\d\\d/],\n            ['YYYY-MM-DD', /\\d{4}-\\d\\d-\\d\\d/],\n            ['GGGG-[W]WW-E', /\\d{4}-W\\d\\d-\\d/],\n            ['GGGG-[W]WW', /\\d{4}-W\\d\\d/, false],\n            ['YYYY-DDD', /\\d{4}-\\d{3}/],\n            ['YYYY-MM', /\\d{4}-\\d\\d/, false],\n            ['YYYYYYMMDD', /[+-]\\d{10}/],\n            ['YYYYMMDD', /\\d{8}/],\n            ['GGGG[W]WWE', /\\d{4}W\\d{3}/],\n            ['GGGG[W]WW', /\\d{4}W\\d{2}/, false],\n            ['YYYYDDD', /\\d{7}/],\n            ['YYYYMM', /\\d{6}/, false],\n            ['YYYY', /\\d{4}/, false],\n        ],\n        // iso time formats and regexes\n        isoTimes = [\n            ['HH:mm:ss.SSSS', /\\d\\d:\\d\\d:\\d\\d\\.\\d+/],\n            ['HH:mm:ss,SSSS', /\\d\\d:\\d\\d:\\d\\d,\\d+/],\n            ['HH:mm:ss', /\\d\\d:\\d\\d:\\d\\d/],\n            ['HH:mm', /\\d\\d:\\d\\d/],\n            ['HHmmss.SSSS', /\\d\\d\\d\\d\\d\\d\\.\\d+/],\n            ['HHmmss,SSSS', /\\d\\d\\d\\d\\d\\d,\\d+/],\n            ['HHmmss', /\\d\\d\\d\\d\\d\\d/],\n            ['HHmm', /\\d\\d\\d\\d/],\n            ['HH', /\\d\\d/],\n        ],\n        aspNetJsonRegex = /^\\/?Date\\((-?\\d+)/i,\n        // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3\n        rfc2822 =\n            /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\\s)?(\\d{1,2})\\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\\s(\\d{2,4})\\s(\\d\\d):(\\d\\d)(?::(\\d\\d))?\\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\\d{4}))$/,\n        obsOffsets = {\n            UT: 0,\n            GMT: 0,\n            EDT: -4 * 60,\n            EST: -5 * 60,\n            CDT: -5 * 60,\n            CST: -6 * 60,\n            MDT: -6 * 60,\n            MST: -7 * 60,\n            PDT: -7 * 60,\n            PST: -8 * 60,\n        };\n\n    // date from iso format\n    function configFromISO(config) {\n        var i,\n            l,\n            string = config._i,\n            match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string),\n            allowTime,\n            dateFormat,\n            timeFormat,\n            tzFormat,\n            isoDatesLen = isoDates.length,\n            isoTimesLen = isoTimes.length;\n\n        if (match) {\n            getParsingFlags(config).iso = true;\n            for (i = 0, l = isoDatesLen; 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 = isoTimesLen; i < l; i++) {\n                    if (isoTimes[i][1].exec(match[3])) {\n                        // match[2] should be 'T' or space\n                        timeFormat = (match[2] || ' ') + isoTimes[i][0];\n                        break;\n                    }\n                }\n                if (timeFormat == null) {\n                    config._isValid = false;\n                    return;\n                }\n            }\n            if (!allowTime && timeFormat != null) {\n                config._isValid = false;\n                return;\n            }\n            if (match[4]) {\n                if (tzRegex.exec(match[4])) {\n                    tzFormat = 'Z';\n                } else {\n                    config._isValid = false;\n                    return;\n                }\n            }\n            config._f = dateFormat + (timeFormat || '') + (tzFormat || '');\n            configFromStringAndFormat(config);\n        } else {\n            config._isValid = false;\n        }\n    }\n\n    function extractFromRFC2822Strings(\n        yearStr,\n        monthStr,\n        dayStr,\n        hourStr,\n        minuteStr,\n        secondStr\n    ) {\n        var result = [\n            untruncateYear(yearStr),\n            defaultLocaleMonthsShort.indexOf(monthStr),\n            parseInt(dayStr, 10),\n            parseInt(hourStr, 10),\n            parseInt(minuteStr, 10),\n        ];\n\n        if (secondStr) {\n            result.push(parseInt(secondStr, 10));\n        }\n\n        return result;\n    }\n\n    function untruncateYear(yearStr) {\n        var year = parseInt(yearStr, 10);\n        if (year <= 49) {\n            return 2000 + year;\n        } else if (year <= 999) {\n            return 1900 + year;\n        }\n        return year;\n    }\n\n    function preprocessRFC2822(s) {\n        // Remove comments and folding whitespace and replace multiple-spaces with a single space\n        return s\n            .replace(/\\([^)]*\\)|[\\n\\t]/g, ' ')\n            .replace(/(\\s\\s+)/g, ' ')\n            .replace(/^\\s\\s*/, '')\n            .replace(/\\s\\s*$/, '');\n    }\n\n    function checkWeekday(weekdayStr, parsedInput, config) {\n        if (weekdayStr) {\n            // TODO: Replace the vanilla JS Date object with an independent day-of-week check.\n            var weekdayProvided = defaultLocaleWeekdaysShort.indexOf(weekdayStr),\n                weekdayActual = new Date(\n                    parsedInput[0],\n                    parsedInput[1],\n                    parsedInput[2]\n                ).getDay();\n            if (weekdayProvided !== weekdayActual) {\n                getParsingFlags(config).weekdayMismatch = true;\n                config._isValid = false;\n                return false;\n            }\n        }\n        return true;\n    }\n\n    function calculateOffset(obsOffset, militaryOffset, numOffset) {\n        if (obsOffset) {\n            return obsOffsets[obsOffset];\n        } else if (militaryOffset) {\n            // the only allowed military tz is Z\n            return 0;\n        } else {\n            var hm = parseInt(numOffset, 10),\n                m = hm % 100,\n                h = (hm - m) / 100;\n            return h * 60 + m;\n        }\n    }\n\n    // date and time from ref 2822 format\n    function configFromRFC2822(config) {\n        var match = rfc2822.exec(preprocessRFC2822(config._i)),\n            parsedArray;\n        if (match) {\n            parsedArray = extractFromRFC2822Strings(\n                match[4],\n                match[3],\n                match[2],\n                match[5],\n                match[6],\n                match[7]\n            );\n            if (!checkWeekday(match[1], parsedArray, config)) {\n                return;\n            }\n\n            config._a = parsedArray;\n            config._tzm = calculateOffset(match[8], match[9], match[10]);\n\n            config._d = createUTCDate.apply(null, config._a);\n            config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);\n\n            getParsingFlags(config).rfc2822 = true;\n        } else {\n            config._isValid = false;\n        }\n    }\n\n    // date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict\n    function configFromString(config) {\n        var matched = aspNetJsonRegex.exec(config._i);\n        if (matched !== null) {\n            config._d = new Date(+matched[1]);\n            return;\n        }\n\n        configFromISO(config);\n        if (config._isValid === false) {\n            delete config._isValid;\n        } else {\n            return;\n        }\n\n        configFromRFC2822(config);\n        if (config._isValid === false) {\n            delete config._isValid;\n        } else {\n            return;\n        }\n\n        if (config._strict) {\n            config._isValid = false;\n        } else {\n            // Final attempt, use Input Fallback\n            hooks.createFromInputFallback(config);\n        }\n    }\n\n    hooks.createFromInputFallback = deprecate(\n        'value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' +\n            'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' +\n            'discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.',\n        function (config) {\n            config._d = new Date(config._i + (config._useUTC ? ' UTC' : ''));\n        }\n    );\n\n    // Pick the first defined of two or three arguments.\n    function defaults(a, b, c) {\n        if (a != null) {\n            return a;\n        }\n        if (b != null) {\n            return b;\n        }\n        return c;\n    }\n\n    function currentDateArray(config) {\n        // hooks is actually the exported moment object\n        var nowValue = new Date(hooks.now());\n        if (config._useUTC) {\n            return [\n                nowValue.getUTCFullYear(),\n                nowValue.getUTCMonth(),\n                nowValue.getUTCDate(),\n            ];\n        }\n        return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()];\n    }\n\n    // convert an array to a date.\n    // the array should mirror the parameters below\n    // note: all values past the year are optional and will default to the lowest possible value.\n    // [year, month, day , hour, minute, second, millisecond]\n    function configFromArray(config) {\n        var i,\n            date,\n            input = [],\n            currentDate,\n            expectedWeekday,\n            yearToUse;\n\n        if (config._d) {\n            return;\n        }\n\n        currentDate = currentDateArray(config);\n\n        //compute day of the year from weeks and weekdays\n        if (config._w && config._a[DATE] == null && config._a[MONTH] == null) {\n            dayOfYearFromWeekInfo(config);\n        }\n\n        //if the day of the year is set, figure out what it is\n        if (config._dayOfYear != null) {\n            yearToUse = defaults(config._a[YEAR], currentDate[YEAR]);\n\n            if (\n                config._dayOfYear > daysInYear(yearToUse) ||\n                config._dayOfYear === 0\n            ) {\n                getParsingFlags(config)._overflowDayOfYear = true;\n            }\n\n            date = createUTCDate(yearToUse, 0, config._dayOfYear);\n            config._a[MONTH] = date.getUTCMonth();\n            config._a[DATE] = date.getUTCDate();\n        }\n\n        // Default to current date.\n        // * if no year, month, day of month are given, default to today\n        // * if day of month is given, default month and year\n        // * if month is given, default only year\n        // * if year is given, don't default anything\n        for (i = 0; i < 3 && config._a[i] == null; ++i) {\n            config._a[i] = input[i] = currentDate[i];\n        }\n\n        // Zero out whatever was not defaulted, including time\n        for (; i < 7; i++) {\n            config._a[i] = input[i] =\n                config._a[i] == null ? (i === 2 ? 1 : 0) : config._a[i];\n        }\n\n        // Check for 24:00:00.000\n        if (\n            config._a[HOUR] === 24 &&\n            config._a[MINUTE] === 0 &&\n            config._a[SECOND] === 0 &&\n            config._a[MILLISECOND] === 0\n        ) {\n            config._nextDay = true;\n            config._a[HOUR] = 0;\n        }\n\n        config._d = (config._useUTC ? createUTCDate : createDate).apply(\n            null,\n            input\n        );\n        expectedWeekday = config._useUTC\n            ? config._d.getUTCDay()\n            : config._d.getDay();\n\n        // Apply timezone offset from input. The actual utcOffset can be changed\n        // with parseZone.\n        if (config._tzm != null) {\n            config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);\n        }\n\n        if (config._nextDay) {\n            config._a[HOUR] = 24;\n        }\n\n        // check for mismatching day of week\n        if (\n            config._w &&\n            typeof config._w.d !== 'undefined' &&\n            config._w.d !== expectedWeekday\n        ) {\n            getParsingFlags(config).weekdayMismatch = true;\n        }\n    }\n\n    function dayOfYearFromWeekInfo(config) {\n        var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow, curWeek;\n\n        w = config._w;\n        if (w.GG != null || w.W != null || w.E != null) {\n            dow = 1;\n            doy = 4;\n\n            // TODO: We need to take the current isoWeekYear, but that depends on\n            // how we interpret now (local, utc, fixed offset). So create\n            // a now version of current config (take local/utc/offset flags, and\n            // create now).\n            weekYear = defaults(\n                w.GG,\n                config._a[YEAR],\n                weekOfYear(createLocal(), 1, 4).year\n            );\n            week = defaults(w.W, 1);\n            weekday = defaults(w.E, 1);\n            if (weekday < 1 || weekday > 7) {\n                weekdayOverflow = true;\n            }\n        } else {\n            dow = config._locale._week.dow;\n            doy = config._locale._week.doy;\n\n            curWeek = weekOfYear(createLocal(), dow, doy);\n\n            weekYear = defaults(w.gg, config._a[YEAR], curWeek.year);\n\n            // Default to current week.\n            week = defaults(w.w, curWeek.week);\n\n            if (w.d != null) {\n                // weekday -- low day numbers are considered next week\n                weekday = w.d;\n                if (weekday < 0 || weekday > 6) {\n                    weekdayOverflow = true;\n                }\n            } else if (w.e != null) {\n                // local weekday -- counting starts from beginning of week\n                weekday = w.e + dow;\n                if (w.e < 0 || w.e > 6) {\n                    weekdayOverflow = true;\n                }\n            } else {\n                // default to beginning of week\n                weekday = dow;\n            }\n        }\n        if (week < 1 || week > weeksInYear(weekYear, dow, doy)) {\n            getParsingFlags(config)._overflowWeeks = true;\n        } else if (weekdayOverflow != null) {\n            getParsingFlags(config)._overflowWeekday = true;\n        } else {\n            temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy);\n            config._a[YEAR] = temp.year;\n            config._dayOfYear = temp.dayOfYear;\n        }\n    }\n\n    // constant that refers to the ISO standard\n    hooks.ISO_8601 = function () {};\n\n    // constant that refers to the RFC 2822 form\n    hooks.RFC_2822 = function () {};\n\n    // date from string and format string\n    function configFromStringAndFormat(config) {\n        // TODO: Move this to another part of the creation flow to prevent circular deps\n        if (config._f === hooks.ISO_8601) {\n            configFromISO(config);\n            return;\n        }\n        if (config._f === hooks.RFC_2822) {\n            configFromRFC2822(config);\n            return;\n        }\n        config._a = [];\n        getParsingFlags(config).empty = true;\n\n        // This array is used to make a Date, either with `new Date` or `Date.UTC`\n        var string = '' + config._i,\n            i,\n            parsedInput,\n            tokens,\n            token,\n            skipped,\n            stringLength = string.length,\n            totalParsedInputLength = 0,\n            era,\n            tokenLen;\n\n        tokens =\n            expandFormat(config._f, config._locale).match(formattingTokens) || [];\n        tokenLen = tokens.length;\n        for (i = 0; i < tokenLen; i++) {\n            token = tokens[i];\n            parsedInput = (string.match(getParseRegexForToken(token, config)) ||\n                [])[0];\n            if (parsedInput) {\n                skipped = string.substr(0, string.indexOf(parsedInput));\n                if (skipped.length > 0) {\n                    getParsingFlags(config).unusedInput.push(skipped);\n                }\n                string = string.slice(\n                    string.indexOf(parsedInput) + parsedInput.length\n                );\n                totalParsedInputLength += parsedInput.length;\n            }\n            // don't parse if it's not a known token\n            if (formatTokenFunctions[token]) {\n                if (parsedInput) {\n                    getParsingFlags(config).empty = false;\n                } else {\n                    getParsingFlags(config).unusedTokens.push(token);\n                }\n                addTimeToArrayFromToken(token, parsedInput, config);\n            } else if (config._strict && !parsedInput) {\n                getParsingFlags(config).unusedTokens.push(token);\n            }\n        }\n\n        // add remaining unparsed input length to the string\n        getParsingFlags(config).charsLeftOver =\n            stringLength - totalParsedInputLength;\n        if (string.length > 0) {\n            getParsingFlags(config).unusedInput.push(string);\n        }\n\n        // clear _12h flag if hour is <= 12\n        if (\n            config._a[HOUR] <= 12 &&\n            getParsingFlags(config).bigHour === true &&\n            config._a[HOUR] > 0\n        ) {\n            getParsingFlags(config).bigHour = undefined;\n        }\n\n        getParsingFlags(config).parsedDateParts = config._a.slice(0);\n        getParsingFlags(config).meridiem = config._meridiem;\n        // handle meridiem\n        config._a[HOUR] = meridiemFixWrap(\n            config._locale,\n            config._a[HOUR],\n            config._meridiem\n        );\n\n        // handle era\n        era = getParsingFlags(config).era;\n        if (era !== null) {\n            config._a[YEAR] = config._locale.erasConvertYear(era, config._a[YEAR]);\n        }\n\n        configFromArray(config);\n        checkOverflow(config);\n    }\n\n    function meridiemFixWrap(locale, hour, meridiem) {\n        var isPm;\n\n        if (meridiem == null) {\n            // nothing to do\n            return hour;\n        }\n        if (locale.meridiemHour != null) {\n            return locale.meridiemHour(hour, meridiem);\n        } else if (locale.isPM != null) {\n            // Fallback\n            isPm = locale.isPM(meridiem);\n            if (isPm && hour < 12) {\n                hour += 12;\n            }\n            if (!isPm && hour === 12) {\n                hour = 0;\n            }\n            return hour;\n        } else {\n            // this is not supposed to happen\n            return hour;\n        }\n    }\n\n    // date from string and array of format strings\n    function configFromStringAndArray(config) {\n        var tempConfig,\n            bestMoment,\n            scoreToBeat,\n            i,\n            currentScore,\n            validFormatFound,\n            bestFormatIsValid = false,\n            configfLen = config._f.length;\n\n        if (configfLen === 0) {\n            getParsingFlags(config).invalidFormat = true;\n            config._d = new Date(NaN);\n            return;\n        }\n\n        for (i = 0; i < configfLen; i++) {\n            currentScore = 0;\n            validFormatFound = false;\n            tempConfig = copyConfig({}, config);\n            if (config._useUTC != null) {\n                tempConfig._useUTC = config._useUTC;\n            }\n            tempConfig._f = config._f[i];\n            configFromStringAndFormat(tempConfig);\n\n            if (isValid(tempConfig)) {\n                validFormatFound = true;\n            }\n\n            // if there is any input that was not parsed add a penalty for that format\n            currentScore += getParsingFlags(tempConfig).charsLeftOver;\n\n            //or tokens\n            currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10;\n\n            getParsingFlags(tempConfig).score = currentScore;\n\n            if (!bestFormatIsValid) {\n                if (\n                    scoreToBeat == null ||\n                    currentScore < scoreToBeat ||\n                    validFormatFound\n                ) {\n                    scoreToBeat = currentScore;\n                    bestMoment = tempConfig;\n                    if (validFormatFound) {\n                        bestFormatIsValid = true;\n                    }\n                }\n            } else {\n                if (currentScore < scoreToBeat) {\n                    scoreToBeat = currentScore;\n                    bestMoment = tempConfig;\n                }\n            }\n        }\n\n        extend(config, bestMoment || tempConfig);\n    }\n\n    function configFromObject(config) {\n        if (config._d) {\n            return;\n        }\n\n        var i = normalizeObjectUnits(config._i),\n            dayOrDate = i.day === undefined ? i.date : i.day;\n        config._a = map(\n            [i.year, i.month, dayOrDate, i.hour, i.minute, i.second, i.millisecond],\n            function (obj) {\n                return obj && parseInt(obj, 10);\n            }\n        );\n\n        configFromArray(config);\n    }\n\n    function createFromConfig(config) {\n        var res = new Moment(checkOverflow(prepareConfig(config)));\n        if (res._nextDay) {\n            // Adding is smart enough around DST\n            res.add(1, 'd');\n            res._nextDay = undefined;\n        }\n\n        return res;\n    }\n\n    function prepareConfig(config) {\n        var input = config._i,\n            format = config._f;\n\n        config._locale = config._locale || getLocale(config._l);\n\n        if (input === null || (format === undefined && input === '')) {\n            return createInvalid({ nullInput: true });\n        }\n\n        if (typeof input === 'string') {\n            config._i = input = config._locale.preparse(input);\n        }\n\n        if (isMoment(input)) {\n            return new Moment(checkOverflow(input));\n        } else if (isDate(input)) {\n            config._d = input;\n        } else if (isArray(format)) {\n            configFromStringAndArray(config);\n        } else if (format) {\n            configFromStringAndFormat(config);\n        } else {\n            configFromInput(config);\n        }\n\n        if (!isValid(config)) {\n            config._d = null;\n        }\n\n        return config;\n    }\n\n    function configFromInput(config) {\n        var input = config._i;\n        if (isUndefined(input)) {\n            config._d = new Date(hooks.now());\n        } else if (isDate(input)) {\n            config._d = new Date(input.valueOf());\n        } else if (typeof input === 'string') {\n            configFromString(config);\n        } else if (isArray(input)) {\n            config._a = map(input.slice(0), function (obj) {\n                return parseInt(obj, 10);\n            });\n            configFromArray(config);\n        } else if (isObject(input)) {\n            configFromObject(config);\n        } else if (isNumber(input)) {\n            // from milliseconds\n            config._d = new Date(input);\n        } else {\n            hooks.createFromInputFallback(config);\n        }\n    }\n\n    function createLocalOrUTC(input, format, locale, strict, isUTC) {\n        var c = {};\n\n        if (format === true || format === false) {\n            strict = format;\n            format = undefined;\n        }\n\n        if (locale === true || locale === false) {\n            strict = locale;\n            locale = undefined;\n        }\n\n        if (\n            (isObject(input) && isObjectEmpty(input)) ||\n            (isArray(input) && input.length === 0)\n        ) {\n            input = undefined;\n        }\n        // object construction must be done this way.\n        // https://github.com/moment/moment/issues/1423\n        c._isAMomentObject = true;\n        c._useUTC = c._isUTC = isUTC;\n        c._l = locale;\n        c._i = input;\n        c._f = format;\n        c._strict = strict;\n\n        return createFromConfig(c);\n    }\n\n    function createLocal(input, format, locale, strict) {\n        return createLocalOrUTC(input, format, locale, strict, false);\n    }\n\n    var prototypeMin = deprecate(\n            'moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/',\n            function () {\n                var other = createLocal.apply(null, arguments);\n                if (this.isValid() && other.isValid()) {\n                    return other < this ? this : other;\n                } else {\n                    return createInvalid();\n                }\n            }\n        ),\n        prototypeMax = deprecate(\n            'moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/',\n            function () {\n                var other = createLocal.apply(null, arguments);\n                if (this.isValid() && other.isValid()) {\n                    return other > this ? this : other;\n                } else {\n                    return createInvalid();\n                }\n            }\n        );\n\n    // Pick a moment m from moments so that m[fn](other) is true for all\n    // other. This relies on the function fn to be transitive.\n    //\n    // moments should either be an array of moment objects or an array, whose\n    // first element is an array of moment objects.\n    function pickBy(fn, moments) {\n        var res, i;\n        if (moments.length === 1 && isArray(moments[0])) {\n            moments = moments[0];\n        }\n        if (!moments.length) {\n            return createLocal();\n        }\n        res = moments[0];\n        for (i = 1; i < moments.length; ++i) {\n            if (!moments[i].isValid() || moments[i][fn](res)) {\n                res = moments[i];\n            }\n        }\n        return res;\n    }\n\n    // TODO: Use [].sort instead?\n    function min() {\n        var args = [].slice.call(arguments, 0);\n\n        return pickBy('isBefore', args);\n    }\n\n    function max() {\n        var args = [].slice.call(arguments, 0);\n\n        return pickBy('isAfter', args);\n    }\n\n    var now = function () {\n        return Date.now ? Date.now() : +new Date();\n    };\n\n    var ordering = [\n        'year',\n        'quarter',\n        'month',\n        'week',\n        'day',\n        'hour',\n        'minute',\n        'second',\n        'millisecond',\n    ];\n\n    function isDurationValid(m) {\n        var key,\n            unitHasDecimal = false,\n            i,\n            orderLen = ordering.length;\n        for (key in m) {\n            if (\n                hasOwnProp(m, key) &&\n                !(\n                    indexOf.call(ordering, key) !== -1 &&\n                    (m[key] == null || !isNaN(m[key]))\n                )\n            ) {\n                return false;\n            }\n        }\n\n        for (i = 0; i < orderLen; ++i) {\n            if (m[ordering[i]]) {\n                if (unitHasDecimal) {\n                    return false; // only allow non-integers for smallest unit\n                }\n                if (parseFloat(m[ordering[i]]) !== toInt(m[ordering[i]])) {\n                    unitHasDecimal = true;\n                }\n            }\n        }\n\n        return true;\n    }\n\n    function isValid$1() {\n        return this._isValid;\n    }\n\n    function createInvalid$1() {\n        return createDuration(NaN);\n    }\n\n    function Duration(duration) {\n        var normalizedInput = normalizeObjectUnits(duration),\n            years = normalizedInput.year || 0,\n            quarters = normalizedInput.quarter || 0,\n            months = normalizedInput.month || 0,\n            weeks = normalizedInput.week || normalizedInput.isoWeek || 0,\n            days = normalizedInput.day || 0,\n            hours = normalizedInput.hour || 0,\n            minutes = normalizedInput.minute || 0,\n            seconds = normalizedInput.second || 0,\n            milliseconds = normalizedInput.millisecond || 0;\n\n        this._isValid = isDurationValid(normalizedInput);\n\n        // representation for dateAddRemove\n        this._milliseconds =\n            +milliseconds +\n            seconds * 1e3 + // 1000\n            minutes * 6e4 + // 1000 * 60\n            hours * 1000 * 60 * 60; //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978\n        // Because of dateAddRemove treats 24 hours as different from a\n        // day when working around DST, we need to store them separately\n        this._days = +days + weeks * 7;\n        // It is impossible to translate months into days without knowing\n        // which months you are are talking about, so we have to store\n        // it separately.\n        this._months = +months + quarters * 3 + years * 12;\n\n        this._data = {};\n\n        this._locale = getLocale();\n\n        this._bubble();\n    }\n\n    function isDuration(obj) {\n        return obj instanceof Duration;\n    }\n\n    function absRound(number) {\n        if (number < 0) {\n            return Math.round(-1 * number) * -1;\n        } else {\n            return Math.round(number);\n        }\n    }\n\n    // compare two arrays, return the number of differences\n    function compareArrays(array1, array2, dontConvert) {\n        var len = Math.min(array1.length, array2.length),\n            lengthDiff = Math.abs(array1.length - array2.length),\n            diffs = 0,\n            i;\n        for (i = 0; i < len; i++) {\n            if (\n                (dontConvert && array1[i] !== array2[i]) ||\n                (!dontConvert && toInt(array1[i]) !== toInt(array2[i]))\n            ) {\n                diffs++;\n            }\n        }\n        return diffs + lengthDiff;\n    }\n\n    // FORMATTING\n\n    function offset(token, separator) {\n        addFormatToken(token, 0, 0, function () {\n            var offset = this.utcOffset(),\n                sign = '+';\n            if (offset < 0) {\n                offset = -offset;\n                sign = '-';\n            }\n            return (\n                sign +\n                zeroFill(~~(offset / 60), 2) +\n                separator +\n                zeroFill(~~offset % 60, 2)\n            );\n        });\n    }\n\n    offset('Z', ':');\n    offset('ZZ', '');\n\n    // PARSING\n\n    addRegexToken('Z', matchShortOffset);\n    addRegexToken('ZZ', matchShortOffset);\n    addParseToken(['Z', 'ZZ'], function (input, array, config) {\n        config._useUTC = true;\n        config._tzm = offsetFromString(matchShortOffset, input);\n    });\n\n    // HELPERS\n\n    // timezone chunker\n    // '+10:00' > ['10',  '00']\n    // '-1530'  > ['-15', '30']\n    var chunkOffset = /([\\+\\-]|\\d\\d)/gi;\n\n    function offsetFromString(matcher, string) {\n        var matches = (string || '').match(matcher),\n            chunk,\n            parts,\n            minutes;\n\n        if (matches === null) {\n            return null;\n        }\n\n        chunk = matches[matches.length - 1] || [];\n        parts = (chunk + '').match(chunkOffset) || ['-', 0, 0];\n        minutes = +(parts[1] * 60) + toInt(parts[2]);\n\n        return minutes === 0 ? 0 : parts[0] === '+' ? minutes : -minutes;\n    }\n\n    // Return a moment from input, that is local/utc/zone equivalent to model.\n    function cloneWithOffset(input, model) {\n        var res, diff;\n        if (model._isUTC) {\n            res = model.clone();\n            diff =\n                (isMoment(input) || isDate(input)\n                    ? input.valueOf()\n                    : createLocal(input).valueOf()) - res.valueOf();\n            // Use low-level api, because this fn is low-level api.\n            res._d.setTime(res._d.valueOf() + diff);\n            hooks.updateOffset(res, false);\n            return res;\n        } else {\n            return createLocal(input).local();\n        }\n    }\n\n    function getDateOffset(m) {\n        // On Firefox.24 Date#getTimezoneOffset returns a floating point.\n        // https://github.com/moment/moment/pull/1871\n        return -Math.round(m._d.getTimezoneOffset());\n    }\n\n    // HOOKS\n\n    // This function will be called whenever a moment is mutated.\n    // It is intended to keep the offset in sync with the timezone.\n    hooks.updateOffset = function () {};\n\n    // MOMENTS\n\n    // keepLocalTime = true means only change the timezone, without\n    // affecting the local hour. So 5:31:26 +0300 --[utcOffset(2, true)]-->\n    // 5:31:26 +0200 It is possible that 5:31:26 doesn't exist with offset\n    // +0200, so we adjust the time as needed, to be valid.\n    //\n    // Keeping the time actually adds/subtracts (one hour)\n    // from the actual represented time. That is why we call updateOffset\n    // a second time. In case it wants us to change the offset again\n    // _changeInProgress == true case, then we have to adjust, because\n    // there is no such time in the given timezone.\n    function getSetOffset(input, keepLocalTime, keepMinutes) {\n        var offset = this._offset || 0,\n            localAdjust;\n        if (!this.isValid()) {\n            return input != null ? this : NaN;\n        }\n        if (input != null) {\n            if (typeof input === 'string') {\n                input = offsetFromString(matchShortOffset, input);\n                if (input === null) {\n                    return this;\n                }\n            } else if (Math.abs(input) < 16 && !keepMinutes) {\n                input = input * 60;\n            }\n            if (!this._isUTC && keepLocalTime) {\n                localAdjust = getDateOffset(this);\n            }\n            this._offset = input;\n            this._isUTC = true;\n            if (localAdjust != null) {\n                this.add(localAdjust, 'm');\n            }\n            if (offset !== input) {\n                if (!keepLocalTime || this._changeInProgress) {\n                    addSubtract(\n                        this,\n                        createDuration(input - offset, 'm'),\n                        1,\n                        false\n                    );\n                } else if (!this._changeInProgress) {\n                    this._changeInProgress = true;\n                    hooks.updateOffset(this, true);\n                    this._changeInProgress = null;\n                }\n            }\n            return this;\n        } else {\n            return this._isUTC ? offset : getDateOffset(this);\n        }\n    }\n\n    function getSetZone(input, keepLocalTime) {\n        if (input != null) {\n            if (typeof input !== 'string') {\n                input = -input;\n            }\n\n            this.utcOffset(input, keepLocalTime);\n\n            return this;\n        } else {\n            return -this.utcOffset();\n        }\n    }\n\n    function setOffsetToUTC(keepLocalTime) {\n        return this.utcOffset(0, keepLocalTime);\n    }\n\n    function setOffsetToLocal(keepLocalTime) {\n        if (this._isUTC) {\n            this.utcOffset(0, keepLocalTime);\n            this._isUTC = false;\n\n            if (keepLocalTime) {\n                this.subtract(getDateOffset(this), 'm');\n            }\n        }\n        return this;\n    }\n\n    function setOffsetToParsedOffset() {\n        if (this._tzm != null) {\n            this.utcOffset(this._tzm, false, true);\n        } else if (typeof this._i === 'string') {\n            var tZone = offsetFromString(matchOffset, this._i);\n            if (tZone != null) {\n                this.utcOffset(tZone);\n            } else {\n                this.utcOffset(0, true);\n            }\n        }\n        return this;\n    }\n\n    function hasAlignedHourOffset(input) {\n        if (!this.isValid()) {\n            return false;\n        }\n        input = input ? createLocal(input).utcOffset() : 0;\n\n        return (this.utcOffset() - input) % 60 === 0;\n    }\n\n    function isDaylightSavingTime() {\n        return (\n            this.utcOffset() > this.clone().month(0).utcOffset() ||\n            this.utcOffset() > this.clone().month(5).utcOffset()\n        );\n    }\n\n    function isDaylightSavingTimeShifted() {\n        if (!isUndefined(this._isDSTShifted)) {\n            return this._isDSTShifted;\n        }\n\n        var c = {},\n            other;\n\n        copyConfig(c, this);\n        c = prepareConfig(c);\n\n        if (c._a) {\n            other = c._isUTC ? createUTC(c._a) : createLocal(c._a);\n            this._isDSTShifted =\n                this.isValid() && compareArrays(c._a, other.toArray()) > 0;\n        } else {\n            this._isDSTShifted = false;\n        }\n\n        return this._isDSTShifted;\n    }\n\n    function isLocal() {\n        return this.isValid() ? !this._isUTC : false;\n    }\n\n    function isUtcOffset() {\n        return this.isValid() ? this._isUTC : false;\n    }\n\n    function isUtc() {\n        return this.isValid() ? this._isUTC && this._offset === 0 : false;\n    }\n\n    // ASP.NET json date format regex\n    var aspNetRegex = /^(-|\\+)?(?:(\\d*)[. ])?(\\d+):(\\d+)(?::(\\d+)(\\.\\d*)?)?$/,\n        // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html\n        // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere\n        // and further modified to allow for strings containing both week and day\n        isoRegex =\n            /^(-|\\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;\n\n    function createDuration(input, key) {\n        var duration = input,\n            // matching against regexp is expensive, do it on demand\n            match = null,\n            sign,\n            ret,\n            diffRes;\n\n        if (isDuration(input)) {\n            duration = {\n                ms: input._milliseconds,\n                d: input._days,\n                M: input._months,\n            };\n        } else if (isNumber(input) || !isNaN(+input)) {\n            duration = {};\n            if (key) {\n                duration[key] = +input;\n            } else {\n                duration.milliseconds = +input;\n            }\n        } else if ((match = aspNetRegex.exec(input))) {\n            sign = match[1] === '-' ? -1 : 1;\n            duration = {\n                y: 0,\n                d: toInt(match[DATE]) * sign,\n                h: toInt(match[HOUR]) * sign,\n                m: toInt(match[MINUTE]) * sign,\n                s: toInt(match[SECOND]) * sign,\n                ms: toInt(absRound(match[MILLISECOND] * 1000)) * sign, // the millisecond decimal point is included in the match\n            };\n        } else if ((match = isoRegex.exec(input))) {\n            sign = match[1] === '-' ? -1 : 1;\n            duration = {\n                y: parseIso(match[2], sign),\n                M: parseIso(match[3], sign),\n                w: parseIso(match[4], sign),\n                d: parseIso(match[5], sign),\n                h: parseIso(match[6], sign),\n                m: parseIso(match[7], sign),\n                s: parseIso(match[8], sign),\n            };\n        } else if (duration == null) {\n            // checks for null or undefined\n            duration = {};\n        } else if (\n            typeof duration === 'object' &&\n            ('from' in duration || 'to' in duration)\n        ) {\n            diffRes = momentsDifference(\n                createLocal(duration.from),\n                createLocal(duration.to)\n            );\n\n            duration = {};\n            duration.ms = diffRes.milliseconds;\n            duration.M = diffRes.months;\n        }\n\n        ret = new Duration(duration);\n\n        if (isDuration(input) && hasOwnProp(input, '_locale')) {\n            ret._locale = input._locale;\n        }\n\n        if (isDuration(input) && hasOwnProp(input, '_isValid')) {\n            ret._isValid = input._isValid;\n        }\n\n        return ret;\n    }\n\n    createDuration.fn = Duration.prototype;\n    createDuration.invalid = createInvalid$1;\n\n    function parseIso(inp, sign) {\n        // We'd normally use ~~inp for this, but unfortunately it also\n        // converts floats to ints.\n        // inp may be undefined, so careful calling replace on it.\n        var res = inp && parseFloat(inp.replace(',', '.'));\n        // apply sign while we're at it\n        return (isNaN(res) ? 0 : res) * sign;\n    }\n\n    function positiveMomentsDifference(base, other) {\n        var res = {};\n\n        res.months =\n            other.month() - base.month() + (other.year() - base.year()) * 12;\n        if (base.clone().add(res.months, 'M').isAfter(other)) {\n            --res.months;\n        }\n\n        res.milliseconds = +other - +base.clone().add(res.months, 'M');\n\n        return res;\n    }\n\n    function momentsDifference(base, other) {\n        var res;\n        if (!(base.isValid() && other.isValid())) {\n            return { milliseconds: 0, months: 0 };\n        }\n\n        other = cloneWithOffset(other, base);\n        if (base.isBefore(other)) {\n            res = positiveMomentsDifference(base, other);\n        } else {\n            res = positiveMomentsDifference(other, base);\n            res.milliseconds = -res.milliseconds;\n            res.months = -res.months;\n        }\n\n        return res;\n    }\n\n    // TODO: remove 'name' arg after deprecation is removed\n    function createAdder(direction, name) {\n        return function (val, period) {\n            var dur, tmp;\n            //invert the arguments, but complain about it\n            if (period !== null && !isNaN(+period)) {\n                deprecateSimple(\n                    name,\n                    'moment().' +\n                        name +\n                        '(period, number) is deprecated. Please use moment().' +\n                        name +\n                        '(number, period). ' +\n                        'See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.'\n                );\n                tmp = val;\n                val = period;\n                period = tmp;\n            }\n\n            dur = createDuration(val, period);\n            addSubtract(this, dur, direction);\n            return this;\n        };\n    }\n\n    function addSubtract(mom, duration, isAdding, updateOffset) {\n        var milliseconds = duration._milliseconds,\n            days = absRound(duration._days),\n            months = absRound(duration._months);\n\n        if (!mom.isValid()) {\n            // No op\n            return;\n        }\n\n        updateOffset = updateOffset == null ? true : updateOffset;\n\n        if (months) {\n            setMonth(mom, get(mom, 'Month') + months * isAdding);\n        }\n        if (days) {\n            set$1(mom, 'Date', get(mom, 'Date') + days * isAdding);\n        }\n        if (milliseconds) {\n            mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding);\n        }\n        if (updateOffset) {\n            hooks.updateOffset(mom, days || months);\n        }\n    }\n\n    var add = createAdder(1, 'add'),\n        subtract = createAdder(-1, 'subtract');\n\n    function isString(input) {\n        return typeof input === 'string' || input instanceof String;\n    }\n\n    // type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined\n    function isMomentInput(input) {\n        return (\n            isMoment(input) ||\n            isDate(input) ||\n            isString(input) ||\n            isNumber(input) ||\n            isNumberOrStringArray(input) ||\n            isMomentInputObject(input) ||\n            input === null ||\n            input === undefined\n        );\n    }\n\n    function isMomentInputObject(input) {\n        var objectTest = isObject(input) && !isObjectEmpty(input),\n            propertyTest = false,\n            properties = [\n                'years',\n                'year',\n                'y',\n                'months',\n                'month',\n                'M',\n                'days',\n                'day',\n                'd',\n                'dates',\n                'date',\n                'D',\n                'hours',\n                'hour',\n                'h',\n                'minutes',\n                'minute',\n                'm',\n                'seconds',\n                'second',\n                's',\n                'milliseconds',\n                'millisecond',\n                'ms',\n            ],\n            i,\n            property,\n            propertyLen = properties.length;\n\n        for (i = 0; i < propertyLen; i += 1) {\n            property = properties[i];\n            propertyTest = propertyTest || hasOwnProp(input, property);\n        }\n\n        return objectTest && propertyTest;\n    }\n\n    function isNumberOrStringArray(input) {\n        var arrayTest = isArray(input),\n            dataTypeTest = false;\n        if (arrayTest) {\n            dataTypeTest =\n                input.filter(function (item) {\n                    return !isNumber(item) && isString(input);\n                }).length === 0;\n        }\n        return arrayTest && dataTypeTest;\n    }\n\n    function isCalendarSpec(input) {\n        var objectTest = isObject(input) && !isObjectEmpty(input),\n            propertyTest = false,\n            properties = [\n                'sameDay',\n                'nextDay',\n                'lastDay',\n                'nextWeek',\n                'lastWeek',\n                'sameElse',\n            ],\n            i,\n            property;\n\n        for (i = 0; i < properties.length; i += 1) {\n            property = properties[i];\n            propertyTest = propertyTest || hasOwnProp(input, property);\n        }\n\n        return objectTest && propertyTest;\n    }\n\n    function getCalendarFormat(myMoment, now) {\n        var diff = myMoment.diff(now, 'days', true);\n        return diff < -6\n            ? 'sameElse'\n            : diff < -1\n            ? 'lastWeek'\n            : diff < 0\n            ? 'lastDay'\n            : diff < 1\n            ? 'sameDay'\n            : diff < 2\n            ? 'nextDay'\n            : diff < 7\n            ? 'nextWeek'\n            : 'sameElse';\n    }\n\n    function calendar$1(time, formats) {\n        // Support for single parameter, formats only overload to the calendar function\n        if (arguments.length === 1) {\n            if (!arguments[0]) {\n                time = undefined;\n                formats = undefined;\n            } else if (isMomentInput(arguments[0])) {\n                time = arguments[0];\n                formats = undefined;\n            } else if (isCalendarSpec(arguments[0])) {\n                formats = arguments[0];\n                time = undefined;\n            }\n        }\n        // We want to compare the start of today, vs this.\n        // Getting start-of-today depends on whether we're local/utc/offset or not.\n        var now = time || createLocal(),\n            sod = cloneWithOffset(now, this).startOf('day'),\n            format = hooks.calendarFormat(this, sod) || 'sameElse',\n            output =\n                formats &&\n                (isFunction(formats[format])\n                    ? formats[format].call(this, now)\n                    : formats[format]);\n\n        return this.format(\n            output || this.localeData().calendar(format, this, createLocal(now))\n        );\n    }\n\n    function clone() {\n        return new Moment(this);\n    }\n\n    function isAfter(input, units) {\n        var localInput = isMoment(input) ? input : createLocal(input);\n        if (!(this.isValid() && localInput.isValid())) {\n            return false;\n        }\n        units = normalizeUnits(units) || 'millisecond';\n        if (units === 'millisecond') {\n            return this.valueOf() > localInput.valueOf();\n        } else {\n            return localInput.valueOf() < this.clone().startOf(units).valueOf();\n        }\n    }\n\n    function isBefore(input, units) {\n        var localInput = isMoment(input) ? input : createLocal(input);\n        if (!(this.isValid() && localInput.isValid())) {\n            return false;\n        }\n        units = normalizeUnits(units) || 'millisecond';\n        if (units === 'millisecond') {\n            return this.valueOf() < localInput.valueOf();\n        } else {\n            return this.clone().endOf(units).valueOf() < localInput.valueOf();\n        }\n    }\n\n    function isBetween(from, to, units, inclusivity) {\n        var localFrom = isMoment(from) ? from : createLocal(from),\n            localTo = isMoment(to) ? to : createLocal(to);\n        if (!(this.isValid() && localFrom.isValid() && localTo.isValid())) {\n            return false;\n        }\n        inclusivity = inclusivity || '()';\n        return (\n            (inclusivity[0] === '('\n                ? this.isAfter(localFrom, units)\n                : !this.isBefore(localFrom, units)) &&\n            (inclusivity[1] === ')'\n                ? this.isBefore(localTo, units)\n                : !this.isAfter(localTo, units))\n        );\n    }\n\n    function isSame(input, units) {\n        var localInput = isMoment(input) ? input : createLocal(input),\n            inputMs;\n        if (!(this.isValid() && localInput.isValid())) {\n            return false;\n        }\n        units = normalizeUnits(units) || 'millisecond';\n        if (units === 'millisecond') {\n            return this.valueOf() === localInput.valueOf();\n        } else {\n            inputMs = localInput.valueOf();\n            return (\n                this.clone().startOf(units).valueOf() <= inputMs &&\n                inputMs <= this.clone().endOf(units).valueOf()\n            );\n        }\n    }\n\n    function isSameOrAfter(input, units) {\n        return this.isSame(input, units) || this.isAfter(input, units);\n    }\n\n    function isSameOrBefore(input, units) {\n        return this.isSame(input, units) || this.isBefore(input, units);\n    }\n\n    function diff(input, units, asFloat) {\n        var that, zoneDelta, output;\n\n        if (!this.isValid()) {\n            return NaN;\n        }\n\n        that = cloneWithOffset(input, this);\n\n        if (!that.isValid()) {\n            return NaN;\n        }\n\n        zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4;\n\n        units = normalizeUnits(units);\n\n        switch (units) {\n            case 'year':\n                output = monthDiff(this, that) / 12;\n                break;\n            case 'month':\n                output = monthDiff(this, that);\n                break;\n            case 'quarter':\n                output = monthDiff(this, that) / 3;\n                break;\n            case 'second':\n                output = (this - that) / 1e3;\n                break; // 1000\n            case 'minute':\n                output = (this - that) / 6e4;\n                break; // 1000 * 60\n            case 'hour':\n                output = (this - that) / 36e5;\n                break; // 1000 * 60 * 60\n            case 'day':\n                output = (this - that - zoneDelta) / 864e5;\n                break; // 1000 * 60 * 60 * 24, negate dst\n            case 'week':\n                output = (this - that - zoneDelta) / 6048e5;\n                break; // 1000 * 60 * 60 * 24 * 7, negate dst\n            default:\n                output = this - that;\n        }\n\n        return asFloat ? output : absFloor(output);\n    }\n\n    function monthDiff(a, b) {\n        if (a.date() < b.date()) {\n            // end-of-month calculations work correct when the start month has more\n            // days than the end month.\n            return -monthDiff(b, a);\n        }\n        // difference in months\n        var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month()),\n            // b is in (anchor - 1 month, anchor + 1 month)\n            anchor = a.clone().add(wholeMonthDiff, 'months'),\n            anchor2,\n            adjust;\n\n        if (b - anchor < 0) {\n            anchor2 = a.clone().add(wholeMonthDiff - 1, 'months');\n            // linear across the month\n            adjust = (b - anchor) / (anchor - anchor2);\n        } else {\n            anchor2 = a.clone().add(wholeMonthDiff + 1, 'months');\n            // linear across the month\n            adjust = (b - anchor) / (anchor2 - anchor);\n        }\n\n        //check for negative zero, return zero if negative zero\n        return -(wholeMonthDiff + adjust) || 0;\n    }\n\n    hooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ';\n    hooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]';\n\n    function toString() {\n        return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ');\n    }\n\n    function toISOString(keepOffset) {\n        if (!this.isValid()) {\n            return null;\n        }\n        var utc = keepOffset !== true,\n            m = utc ? this.clone().utc() : this;\n        if (m.year() < 0 || m.year() > 9999) {\n            return formatMoment(\n                m,\n                utc\n                    ? 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]'\n                    : 'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ'\n            );\n        }\n        if (isFunction(Date.prototype.toISOString)) {\n            // native implementation is ~50x faster, use it when we can\n            if (utc) {\n                return this.toDate().toISOString();\n            } else {\n                return new Date(this.valueOf() + this.utcOffset() * 60 * 1000)\n                    .toISOString()\n                    .replace('Z', formatMoment(m, 'Z'));\n            }\n        }\n        return formatMoment(\n            m,\n            utc ? 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYY-MM-DD[T]HH:mm:ss.SSSZ'\n        );\n    }\n\n    /**\n     * Return a human readable representation of a moment that can\n     * also be evaluated to get a new moment which is the same\n     *\n     * @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects\n     */\n    function inspect() {\n        if (!this.isValid()) {\n            return 'moment.invalid(/* ' + this._i + ' */)';\n        }\n        var func = 'moment',\n            zone = '',\n            prefix,\n            year,\n            datetime,\n            suffix;\n        if (!this.isLocal()) {\n            func = this.utcOffset() === 0 ? 'moment.utc' : 'moment.parseZone';\n            zone = 'Z';\n        }\n        prefix = '[' + func + '(\"]';\n        year = 0 <= this.year() && this.year() <= 9999 ? 'YYYY' : 'YYYYYY';\n        datetime = '-MM-DD[T]HH:mm:ss.SSS';\n        suffix = zone + '[\")]';\n\n        return this.format(prefix + year + datetime + suffix);\n    }\n\n    function format(inputString) {\n        if (!inputString) {\n            inputString = this.isUtc()\n                ? hooks.defaultFormatUtc\n                : hooks.defaultFormat;\n        }\n        var output = formatMoment(this, inputString);\n        return this.localeData().postformat(output);\n    }\n\n    function from(time, withoutSuffix) {\n        if (\n            this.isValid() &&\n            ((isMoment(time) && time.isValid()) || createLocal(time).isValid())\n        ) {\n            return createDuration({ to: this, from: time })\n                .locale(this.locale())\n                .humanize(!withoutSuffix);\n        } else {\n            return this.localeData().invalidDate();\n        }\n    }\n\n    function fromNow(withoutSuffix) {\n        return this.from(createLocal(), withoutSuffix);\n    }\n\n    function to(time, withoutSuffix) {\n        if (\n            this.isValid() &&\n            ((isMoment(time) && time.isValid()) || createLocal(time).isValid())\n        ) {\n            return createDuration({ from: this, to: time })\n                .locale(this.locale())\n                .humanize(!withoutSuffix);\n        } else {\n            return this.localeData().invalidDate();\n        }\n    }\n\n    function toNow(withoutSuffix) {\n        return this.to(createLocal(), withoutSuffix);\n    }\n\n    // If passed a locale key, it will set the locale for this\n    // instance.  Otherwise, it will return the locale configuration\n    // variables for this instance.\n    function locale(key) {\n        var newLocaleData;\n\n        if (key === undefined) {\n            return this._locale._abbr;\n        } else {\n            newLocaleData = getLocale(key);\n            if (newLocaleData != null) {\n                this._locale = newLocaleData;\n            }\n            return this;\n        }\n    }\n\n    var lang = deprecate(\n        'moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.',\n        function (key) {\n            if (key === undefined) {\n                return this.localeData();\n            } else {\n                return this.locale(key);\n            }\n        }\n    );\n\n    function localeData() {\n        return this._locale;\n    }\n\n    var MS_PER_SECOND = 1000,\n        MS_PER_MINUTE = 60 * MS_PER_SECOND,\n        MS_PER_HOUR = 60 * MS_PER_MINUTE,\n        MS_PER_400_YEARS = (365 * 400 + 97) * 24 * MS_PER_HOUR;\n\n    // actual modulo - handles negative numbers (for dates before 1970):\n    function mod$1(dividend, divisor) {\n        return ((dividend % divisor) + divisor) % divisor;\n    }\n\n    function localStartOfDate(y, m, d) {\n        // the date constructor remaps years 0-99 to 1900-1999\n        if (y < 100 && y >= 0) {\n            // preserve leap years using a full 400 year cycle, then reset\n            return new Date(y + 400, m, d) - MS_PER_400_YEARS;\n        } else {\n            return new Date(y, m, d).valueOf();\n        }\n    }\n\n    function utcStartOfDate(y, m, d) {\n        // Date.UTC remaps years 0-99 to 1900-1999\n        if (y < 100 && y >= 0) {\n            // preserve leap years using a full 400 year cycle, then reset\n            return Date.UTC(y + 400, m, d) - MS_PER_400_YEARS;\n        } else {\n            return Date.UTC(y, m, d);\n        }\n    }\n\n    function startOf(units) {\n        var time, startOfDate;\n        units = normalizeUnits(units);\n        if (units === undefined || units === 'millisecond' || !this.isValid()) {\n            return this;\n        }\n\n        startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;\n\n        switch (units) {\n            case 'year':\n                time = startOfDate(this.year(), 0, 1);\n                break;\n            case 'quarter':\n                time = startOfDate(\n                    this.year(),\n                    this.month() - (this.month() % 3),\n                    1\n                );\n                break;\n            case 'month':\n                time = startOfDate(this.year(), this.month(), 1);\n                break;\n            case 'week':\n                time = startOfDate(\n                    this.year(),\n                    this.month(),\n                    this.date() - this.weekday()\n                );\n                break;\n            case 'isoWeek':\n                time = startOfDate(\n                    this.year(),\n                    this.month(),\n                    this.date() - (this.isoWeekday() - 1)\n                );\n                break;\n            case 'day':\n            case 'date':\n                time = startOfDate(this.year(), this.month(), this.date());\n                break;\n            case 'hour':\n                time = this._d.valueOf();\n                time -= mod$1(\n                    time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),\n                    MS_PER_HOUR\n                );\n                break;\n            case 'minute':\n                time = this._d.valueOf();\n                time -= mod$1(time, MS_PER_MINUTE);\n                break;\n            case 'second':\n                time = this._d.valueOf();\n                time -= mod$1(time, MS_PER_SECOND);\n                break;\n        }\n\n        this._d.setTime(time);\n        hooks.updateOffset(this, true);\n        return this;\n    }\n\n    function endOf(units) {\n        var time, startOfDate;\n        units = normalizeUnits(units);\n        if (units === undefined || units === 'millisecond' || !this.isValid()) {\n            return this;\n        }\n\n        startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;\n\n        switch (units) {\n            case 'year':\n                time = startOfDate(this.year() + 1, 0, 1) - 1;\n                break;\n            case 'quarter':\n                time =\n                    startOfDate(\n                        this.year(),\n                        this.month() - (this.month() % 3) + 3,\n                        1\n                    ) - 1;\n                break;\n            case 'month':\n                time = startOfDate(this.year(), this.month() + 1, 1) - 1;\n                break;\n            case 'week':\n                time =\n                    startOfDate(\n                        this.year(),\n                        this.month(),\n                        this.date() - this.weekday() + 7\n                    ) - 1;\n                break;\n            case 'isoWeek':\n                time =\n                    startOfDate(\n                        this.year(),\n                        this.month(),\n                        this.date() - (this.isoWeekday() - 1) + 7\n                    ) - 1;\n                break;\n            case 'day':\n            case 'date':\n                time = startOfDate(this.year(), this.month(), this.date() + 1) - 1;\n                break;\n            case 'hour':\n                time = this._d.valueOf();\n                time +=\n                    MS_PER_HOUR -\n                    mod$1(\n                        time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),\n                        MS_PER_HOUR\n                    ) -\n                    1;\n                break;\n            case 'minute':\n                time = this._d.valueOf();\n                time += MS_PER_MINUTE - mod$1(time, MS_PER_MINUTE) - 1;\n                break;\n            case 'second':\n                time = this._d.valueOf();\n                time += MS_PER_SECOND - mod$1(time, MS_PER_SECOND) - 1;\n                break;\n        }\n\n        this._d.setTime(time);\n        hooks.updateOffset(this, true);\n        return this;\n    }\n\n    function valueOf() {\n        return this._d.valueOf() - (this._offset || 0) * 60000;\n    }\n\n    function unix() {\n        return Math.floor(this.valueOf() / 1000);\n    }\n\n    function toDate() {\n        return new Date(this.valueOf());\n    }\n\n    function toArray() {\n        var m = this;\n        return [\n            m.year(),\n            m.month(),\n            m.date(),\n            m.hour(),\n            m.minute(),\n            m.second(),\n            m.millisecond(),\n        ];\n    }\n\n    function toObject() {\n        var m = this;\n        return {\n            years: m.year(),\n            months: m.month(),\n            date: m.date(),\n            hours: m.hours(),\n            minutes: m.minutes(),\n            seconds: m.seconds(),\n            milliseconds: m.milliseconds(),\n        };\n    }\n\n    function toJSON() {\n        // new Date(NaN).toJSON() === null\n        return this.isValid() ? this.toISOString() : null;\n    }\n\n    function isValid$2() {\n        return isValid(this);\n    }\n\n    function parsingFlags() {\n        return extend({}, getParsingFlags(this));\n    }\n\n    function invalidAt() {\n        return getParsingFlags(this).overflow;\n    }\n\n    function creationData() {\n        return {\n            input: this._i,\n            format: this._f,\n            locale: this._locale,\n            isUTC: this._isUTC,\n            strict: this._strict,\n        };\n    }\n\n    addFormatToken('N', 0, 0, 'eraAbbr');\n    addFormatToken('NN', 0, 0, 'eraAbbr');\n    addFormatToken('NNN', 0, 0, 'eraAbbr');\n    addFormatToken('NNNN', 0, 0, 'eraName');\n    addFormatToken('NNNNN', 0, 0, 'eraNarrow');\n\n    addFormatToken('y', ['y', 1], 'yo', 'eraYear');\n    addFormatToken('y', ['yy', 2], 0, 'eraYear');\n    addFormatToken('y', ['yyy', 3], 0, 'eraYear');\n    addFormatToken('y', ['yyyy', 4], 0, 'eraYear');\n\n    addRegexToken('N', matchEraAbbr);\n    addRegexToken('NN', matchEraAbbr);\n    addRegexToken('NNN', matchEraAbbr);\n    addRegexToken('NNNN', matchEraName);\n    addRegexToken('NNNNN', matchEraNarrow);\n\n    addParseToken(\n        ['N', 'NN', 'NNN', 'NNNN', 'NNNNN'],\n        function (input, array, config, token) {\n            var era = config._locale.erasParse(input, token, config._strict);\n            if (era) {\n                getParsingFlags(config).era = era;\n            } else {\n                getParsingFlags(config).invalidEra = input;\n            }\n        }\n    );\n\n    addRegexToken('y', matchUnsigned);\n    addRegexToken('yy', matchUnsigned);\n    addRegexToken('yyy', matchUnsigned);\n    addRegexToken('yyyy', matchUnsigned);\n    addRegexToken('yo', matchEraYearOrdinal);\n\n    addParseToken(['y', 'yy', 'yyy', 'yyyy'], YEAR);\n    addParseToken(['yo'], function (input, array, config, token) {\n        var match;\n        if (config._locale._eraYearOrdinalRegex) {\n            match = input.match(config._locale._eraYearOrdinalRegex);\n        }\n\n        if (config._locale.eraYearOrdinalParse) {\n            array[YEAR] = config._locale.eraYearOrdinalParse(input, match);\n        } else {\n            array[YEAR] = parseInt(input, 10);\n        }\n    });\n\n    function localeEras(m, format) {\n        var i,\n            l,\n            date,\n            eras = this._eras || getLocale('en')._eras;\n        for (i = 0, l = eras.length; i < l; ++i) {\n            switch (typeof eras[i].since) {\n                case 'string':\n                    // truncate time\n                    date = hooks(eras[i].since).startOf('day');\n                    eras[i].since = date.valueOf();\n                    break;\n            }\n\n            switch (typeof eras[i].until) {\n                case 'undefined':\n                    eras[i].until = +Infinity;\n                    break;\n                case 'string':\n                    // truncate time\n                    date = hooks(eras[i].until).startOf('day').valueOf();\n                    eras[i].until = date.valueOf();\n                    break;\n            }\n        }\n        return eras;\n    }\n\n    function localeErasParse(eraName, format, strict) {\n        var i,\n            l,\n            eras = this.eras(),\n            name,\n            abbr,\n            narrow;\n        eraName = eraName.toUpperCase();\n\n        for (i = 0, l = eras.length; i < l; ++i) {\n            name = eras[i].name.toUpperCase();\n            abbr = eras[i].abbr.toUpperCase();\n            narrow = eras[i].narrow.toUpperCase();\n\n            if (strict) {\n                switch (format) {\n                    case 'N':\n                    case 'NN':\n                    case 'NNN':\n                        if (abbr === eraName) {\n                            return eras[i];\n                        }\n                        break;\n\n                    case 'NNNN':\n                        if (name === eraName) {\n                            return eras[i];\n                        }\n                        break;\n\n                    case 'NNNNN':\n                        if (narrow === eraName) {\n                            return eras[i];\n                        }\n                        break;\n                }\n            } else if ([name, abbr, narrow].indexOf(eraName) >= 0) {\n                return eras[i];\n            }\n        }\n    }\n\n    function localeErasConvertYear(era, year) {\n        var dir = era.since <= era.until ? +1 : -1;\n        if (year === undefined) {\n            return hooks(era.since).year();\n        } else {\n            return hooks(era.since).year() + (year - era.offset) * dir;\n        }\n    }\n\n    function getEraName() {\n        var i,\n            l,\n            val,\n            eras = this.localeData().eras();\n        for (i = 0, l = eras.length; i < l; ++i) {\n            // truncate time\n            val = this.clone().startOf('day').valueOf();\n\n            if (eras[i].since <= val && val <= eras[i].until) {\n                return eras[i].name;\n            }\n            if (eras[i].until <= val && val <= eras[i].since) {\n                return eras[i].name;\n            }\n        }\n\n        return '';\n    }\n\n    function getEraNarrow() {\n        var i,\n            l,\n            val,\n            eras = this.localeData().eras();\n        for (i = 0, l = eras.length; i < l; ++i) {\n            // truncate time\n            val = this.clone().startOf('day').valueOf();\n\n            if (eras[i].since <= val && val <= eras[i].until) {\n                return eras[i].narrow;\n            }\n            if (eras[i].until <= val && val <= eras[i].since) {\n                return eras[i].narrow;\n            }\n        }\n\n        return '';\n    }\n\n    function getEraAbbr() {\n        var i,\n            l,\n            val,\n            eras = this.localeData().eras();\n        for (i = 0, l = eras.length; i < l; ++i) {\n            // truncate time\n            val = this.clone().startOf('day').valueOf();\n\n            if (eras[i].since <= val && val <= eras[i].until) {\n                return eras[i].abbr;\n            }\n            if (eras[i].until <= val && val <= eras[i].since) {\n                return eras[i].abbr;\n            }\n        }\n\n        return '';\n    }\n\n    function getEraYear() {\n        var i,\n            l,\n            dir,\n            val,\n            eras = this.localeData().eras();\n        for (i = 0, l = eras.length; i < l; ++i) {\n            dir = eras[i].since <= eras[i].until ? +1 : -1;\n\n            // truncate time\n            val = this.clone().startOf('day').valueOf();\n\n            if (\n                (eras[i].since <= val && val <= eras[i].until) ||\n                (eras[i].until <= val && val <= eras[i].since)\n            ) {\n                return (\n                    (this.year() - hooks(eras[i].since).year()) * dir +\n                    eras[i].offset\n                );\n            }\n        }\n\n        return this.year();\n    }\n\n    function erasNameRegex(isStrict) {\n        if (!hasOwnProp(this, '_erasNameRegex')) {\n            computeErasParse.call(this);\n        }\n        return isStrict ? this._erasNameRegex : this._erasRegex;\n    }\n\n    function erasAbbrRegex(isStrict) {\n        if (!hasOwnProp(this, '_erasAbbrRegex')) {\n            computeErasParse.call(this);\n        }\n        return isStrict ? this._erasAbbrRegex : this._erasRegex;\n    }\n\n    function erasNarrowRegex(isStrict) {\n        if (!hasOwnProp(this, '_erasNarrowRegex')) {\n            computeErasParse.call(this);\n        }\n        return isStrict ? this._erasNarrowRegex : this._erasRegex;\n    }\n\n    function matchEraAbbr(isStrict, locale) {\n        return locale.erasAbbrRegex(isStrict);\n    }\n\n    function matchEraName(isStrict, locale) {\n        return locale.erasNameRegex(isStrict);\n    }\n\n    function matchEraNarrow(isStrict, locale) {\n        return locale.erasNarrowRegex(isStrict);\n    }\n\n    function matchEraYearOrdinal(isStrict, locale) {\n        return locale._eraYearOrdinalRegex || matchUnsigned;\n    }\n\n    function computeErasParse() {\n        var abbrPieces = [],\n            namePieces = [],\n            narrowPieces = [],\n            mixedPieces = [],\n            i,\n            l,\n            eras = this.eras();\n\n        for (i = 0, l = eras.length; i < l; ++i) {\n            namePieces.push(regexEscape(eras[i].name));\n            abbrPieces.push(regexEscape(eras[i].abbr));\n            narrowPieces.push(regexEscape(eras[i].narrow));\n\n            mixedPieces.push(regexEscape(eras[i].name));\n            mixedPieces.push(regexEscape(eras[i].abbr));\n            mixedPieces.push(regexEscape(eras[i].narrow));\n        }\n\n        this._erasRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n        this._erasNameRegex = new RegExp('^(' + namePieces.join('|') + ')', 'i');\n        this._erasAbbrRegex = new RegExp('^(' + abbrPieces.join('|') + ')', 'i');\n        this._erasNarrowRegex = new RegExp(\n            '^(' + narrowPieces.join('|') + ')',\n            'i'\n        );\n    }\n\n    // FORMATTING\n\n    addFormatToken(0, ['gg', 2], 0, function () {\n        return this.weekYear() % 100;\n    });\n\n    addFormatToken(0, ['GG', 2], 0, function () {\n        return this.isoWeekYear() % 100;\n    });\n\n    function addWeekYearFormatToken(token, getter) {\n        addFormatToken(0, [token, token.length], 0, getter);\n    }\n\n    addWeekYearFormatToken('gggg', 'weekYear');\n    addWeekYearFormatToken('ggggg', 'weekYear');\n    addWeekYearFormatToken('GGGG', 'isoWeekYear');\n    addWeekYearFormatToken('GGGGG', 'isoWeekYear');\n\n    // ALIASES\n\n    addUnitAlias('weekYear', 'gg');\n    addUnitAlias('isoWeekYear', 'GG');\n\n    // PRIORITY\n\n    addUnitPriority('weekYear', 1);\n    addUnitPriority('isoWeekYear', 1);\n\n    // PARSING\n\n    addRegexToken('G', matchSigned);\n    addRegexToken('g', matchSigned);\n    addRegexToken('GG', match1to2, match2);\n    addRegexToken('gg', match1to2, match2);\n    addRegexToken('GGGG', match1to4, match4);\n    addRegexToken('gggg', match1to4, match4);\n    addRegexToken('GGGGG', match1to6, match6);\n    addRegexToken('ggggg', match1to6, match6);\n\n    addWeekParseToken(\n        ['gggg', 'ggggg', 'GGGG', 'GGGGG'],\n        function (input, week, config, token) {\n            week[token.substr(0, 2)] = toInt(input);\n        }\n    );\n\n    addWeekParseToken(['gg', 'GG'], function (input, week, config, token) {\n        week[token] = hooks.parseTwoDigitYear(input);\n    });\n\n    // MOMENTS\n\n    function getSetWeekYear(input) {\n        return getSetWeekYearHelper.call(\n            this,\n            input,\n            this.week(),\n            this.weekday(),\n            this.localeData()._week.dow,\n            this.localeData()._week.doy\n        );\n    }\n\n    function getSetISOWeekYear(input) {\n        return getSetWeekYearHelper.call(\n            this,\n            input,\n            this.isoWeek(),\n            this.isoWeekday(),\n            1,\n            4\n        );\n    }\n\n    function getISOWeeksInYear() {\n        return weeksInYear(this.year(), 1, 4);\n    }\n\n    function getISOWeeksInISOWeekYear() {\n        return weeksInYear(this.isoWeekYear(), 1, 4);\n    }\n\n    function getWeeksInYear() {\n        var weekInfo = this.localeData()._week;\n        return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy);\n    }\n\n    function getWeeksInWeekYear() {\n        var weekInfo = this.localeData()._week;\n        return weeksInYear(this.weekYear(), weekInfo.dow, weekInfo.doy);\n    }\n\n    function getSetWeekYearHelper(input, week, weekday, dow, doy) {\n        var weeksTarget;\n        if (input == null) {\n            return weekOfYear(this, dow, doy).year;\n        } else {\n            weeksTarget = weeksInYear(input, dow, doy);\n            if (week > weeksTarget) {\n                week = weeksTarget;\n            }\n            return setWeekAll.call(this, input, week, weekday, dow, doy);\n        }\n    }\n\n    function setWeekAll(weekYear, week, weekday, dow, doy) {\n        var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy),\n            date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear);\n\n        this.year(date.getUTCFullYear());\n        this.month(date.getUTCMonth());\n        this.date(date.getUTCDate());\n        return this;\n    }\n\n    // FORMATTING\n\n    addFormatToken('Q', 0, 'Qo', 'quarter');\n\n    // ALIASES\n\n    addUnitAlias('quarter', 'Q');\n\n    // PRIORITY\n\n    addUnitPriority('quarter', 7);\n\n    // PARSING\n\n    addRegexToken('Q', match1);\n    addParseToken('Q', function (input, array) {\n        array[MONTH] = (toInt(input) - 1) * 3;\n    });\n\n    // MOMENTS\n\n    function getSetQuarter(input) {\n        return input == null\n            ? Math.ceil((this.month() + 1) / 3)\n            : this.month((input - 1) * 3 + (this.month() % 3));\n    }\n\n    // FORMATTING\n\n    addFormatToken('D', ['DD', 2], 'Do', 'date');\n\n    // ALIASES\n\n    addUnitAlias('date', 'D');\n\n    // PRIORITY\n    addUnitPriority('date', 9);\n\n    // PARSING\n\n    addRegexToken('D', match1to2);\n    addRegexToken('DD', match1to2, match2);\n    addRegexToken('Do', function (isStrict, locale) {\n        // TODO: Remove \"ordinalParse\" fallback in next major release.\n        return isStrict\n            ? locale._dayOfMonthOrdinalParse || locale._ordinalParse\n            : locale._dayOfMonthOrdinalParseLenient;\n    });\n\n    addParseToken(['D', 'DD'], DATE);\n    addParseToken('Do', function (input, array) {\n        array[DATE] = toInt(input.match(match1to2)[0]);\n    });\n\n    // MOMENTS\n\n    var getSetDayOfMonth = makeGetSet('Date', true);\n\n    // FORMATTING\n\n    addFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear');\n\n    // ALIASES\n\n    addUnitAlias('dayOfYear', 'DDD');\n\n    // PRIORITY\n    addUnitPriority('dayOfYear', 4);\n\n    // PARSING\n\n    addRegexToken('DDD', match1to3);\n    addRegexToken('DDDD', match3);\n    addParseToken(['DDD', 'DDDD'], function (input, array, config) {\n        config._dayOfYear = toInt(input);\n    });\n\n    // HELPERS\n\n    // MOMENTS\n\n    function getSetDayOfYear(input) {\n        var dayOfYear =\n            Math.round(\n                (this.clone().startOf('day') - this.clone().startOf('year')) / 864e5\n            ) + 1;\n        return input == null ? dayOfYear : this.add(input - dayOfYear, 'd');\n    }\n\n    // FORMATTING\n\n    addFormatToken('m', ['mm', 2], 0, 'minute');\n\n    // ALIASES\n\n    addUnitAlias('minute', 'm');\n\n    // PRIORITY\n\n    addUnitPriority('minute', 14);\n\n    // PARSING\n\n    addRegexToken('m', match1to2);\n    addRegexToken('mm', match1to2, match2);\n    addParseToken(['m', 'mm'], MINUTE);\n\n    // MOMENTS\n\n    var getSetMinute = makeGetSet('Minutes', false);\n\n    // FORMATTING\n\n    addFormatToken('s', ['ss', 2], 0, 'second');\n\n    // ALIASES\n\n    addUnitAlias('second', 's');\n\n    // PRIORITY\n\n    addUnitPriority('second', 15);\n\n    // PARSING\n\n    addRegexToken('s', match1to2);\n    addRegexToken('ss', match1to2, match2);\n    addParseToken(['s', 'ss'], SECOND);\n\n    // MOMENTS\n\n    var getSetSecond = makeGetSet('Seconds', false);\n\n    // FORMATTING\n\n    addFormatToken('S', 0, 0, function () {\n        return ~~(this.millisecond() / 100);\n    });\n\n    addFormatToken(0, ['SS', 2], 0, function () {\n        return ~~(this.millisecond() / 10);\n    });\n\n    addFormatToken(0, ['SSS', 3], 0, 'millisecond');\n    addFormatToken(0, ['SSSS', 4], 0, function () {\n        return this.millisecond() * 10;\n    });\n    addFormatToken(0, ['SSSSS', 5], 0, function () {\n        return this.millisecond() * 100;\n    });\n    addFormatToken(0, ['SSSSSS', 6], 0, function () {\n        return this.millisecond() * 1000;\n    });\n    addFormatToken(0, ['SSSSSSS', 7], 0, function () {\n        return this.millisecond() * 10000;\n    });\n    addFormatToken(0, ['SSSSSSSS', 8], 0, function () {\n        return this.millisecond() * 100000;\n    });\n    addFormatToken(0, ['SSSSSSSSS', 9], 0, function () {\n        return this.millisecond() * 1000000;\n    });\n\n    // ALIASES\n\n    addUnitAlias('millisecond', 'ms');\n\n    // PRIORITY\n\n    addUnitPriority('millisecond', 16);\n\n    // PARSING\n\n    addRegexToken('S', match1to3, match1);\n    addRegexToken('SS', match1to3, match2);\n    addRegexToken('SSS', match1to3, match3);\n\n    var token, getSetMillisecond;\n    for (token = 'SSSS'; token.length <= 9; token += 'S') {\n        addRegexToken(token, matchUnsigned);\n    }\n\n    function parseMs(input, array) {\n        array[MILLISECOND] = toInt(('0.' + input) * 1000);\n    }\n\n    for (token = 'S'; token.length <= 9; token += 'S') {\n        addParseToken(token, parseMs);\n    }\n\n    getSetMillisecond = makeGetSet('Milliseconds', false);\n\n    // FORMATTING\n\n    addFormatToken('z', 0, 0, 'zoneAbbr');\n    addFormatToken('zz', 0, 0, 'zoneName');\n\n    // MOMENTS\n\n    function getZoneAbbr() {\n        return this._isUTC ? 'UTC' : '';\n    }\n\n    function getZoneName() {\n        return this._isUTC ? 'Coordinated Universal Time' : '';\n    }\n\n    var proto = Moment.prototype;\n\n    proto.add = add;\n    proto.calendar = calendar$1;\n    proto.clone = clone;\n    proto.diff = diff;\n    proto.endOf = endOf;\n    proto.format = format;\n    proto.from = from;\n    proto.fromNow = fromNow;\n    proto.to = to;\n    proto.toNow = toNow;\n    proto.get = stringGet;\n    proto.invalidAt = invalidAt;\n    proto.isAfter = isAfter;\n    proto.isBefore = isBefore;\n    proto.isBetween = isBetween;\n    proto.isSame = isSame;\n    proto.isSameOrAfter = isSameOrAfter;\n    proto.isSameOrBefore = isSameOrBefore;\n    proto.isValid = isValid$2;\n    proto.lang = lang;\n    proto.locale = locale;\n    proto.localeData = localeData;\n    proto.max = prototypeMax;\n    proto.min = prototypeMin;\n    proto.parsingFlags = parsingFlags;\n    proto.set = stringSet;\n    proto.startOf = startOf;\n    proto.subtract = subtract;\n    proto.toArray = toArray;\n    proto.toObject = toObject;\n    proto.toDate = toDate;\n    proto.toISOString = toISOString;\n    proto.inspect = inspect;\n    if (typeof Symbol !== 'undefined' && Symbol.for != null) {\n        proto[Symbol.for('nodejs.util.inspect.custom')] = function () {\n            return 'Moment<' + this.format() + '>';\n        };\n    }\n    proto.toJSON = toJSON;\n    proto.toString = toString;\n    proto.unix = unix;\n    proto.valueOf = valueOf;\n    proto.creationData = creationData;\n    proto.eraName = getEraName;\n    proto.eraNarrow = getEraNarrow;\n    proto.eraAbbr = getEraAbbr;\n    proto.eraYear = getEraYear;\n    proto.year = getSetYear;\n    proto.isLeapYear = getIsLeapYear;\n    proto.weekYear = getSetWeekYear;\n    proto.isoWeekYear = getSetISOWeekYear;\n    proto.quarter = proto.quarters = getSetQuarter;\n    proto.month = getSetMonth;\n    proto.daysInMonth = getDaysInMonth;\n    proto.week = proto.weeks = getSetWeek;\n    proto.isoWeek = proto.isoWeeks = getSetISOWeek;\n    proto.weeksInYear = getWeeksInYear;\n    proto.weeksInWeekYear = getWeeksInWeekYear;\n    proto.isoWeeksInYear = getISOWeeksInYear;\n    proto.isoWeeksInISOWeekYear = getISOWeeksInISOWeekYear;\n    proto.date = getSetDayOfMonth;\n    proto.day = proto.days = getSetDayOfWeek;\n    proto.weekday = getSetLocaleDayOfWeek;\n    proto.isoWeekday = getSetISODayOfWeek;\n    proto.dayOfYear = getSetDayOfYear;\n    proto.hour = proto.hours = getSetHour;\n    proto.minute = proto.minutes = getSetMinute;\n    proto.second = proto.seconds = getSetSecond;\n    proto.millisecond = proto.milliseconds = getSetMillisecond;\n    proto.utcOffset = getSetOffset;\n    proto.utc = setOffsetToUTC;\n    proto.local = setOffsetToLocal;\n    proto.parseZone = setOffsetToParsedOffset;\n    proto.hasAlignedHourOffset = hasAlignedHourOffset;\n    proto.isDST = isDaylightSavingTime;\n    proto.isLocal = isLocal;\n    proto.isUtcOffset = isUtcOffset;\n    proto.isUtc = isUtc;\n    proto.isUTC = isUtc;\n    proto.zoneAbbr = getZoneAbbr;\n    proto.zoneName = getZoneName;\n    proto.dates = deprecate(\n        'dates accessor is deprecated. Use date instead.',\n        getSetDayOfMonth\n    );\n    proto.months = deprecate(\n        'months accessor is deprecated. Use month instead',\n        getSetMonth\n    );\n    proto.years = deprecate(\n        'years accessor is deprecated. Use year instead',\n        getSetYear\n    );\n    proto.zone = deprecate(\n        'moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/',\n        getSetZone\n    );\n    proto.isDSTShifted = deprecate(\n        'isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information',\n        isDaylightSavingTimeShifted\n    );\n\n    function createUnix(input) {\n        return createLocal(input * 1000);\n    }\n\n    function createInZone() {\n        return createLocal.apply(null, arguments).parseZone();\n    }\n\n    function preParsePostFormat(string) {\n        return string;\n    }\n\n    var proto$1 = Locale.prototype;\n\n    proto$1.calendar = calendar;\n    proto$1.longDateFormat = longDateFormat;\n    proto$1.invalidDate = invalidDate;\n    proto$1.ordinal = ordinal;\n    proto$1.preparse = preParsePostFormat;\n    proto$1.postformat = preParsePostFormat;\n    proto$1.relativeTime = relativeTime;\n    proto$1.pastFuture = pastFuture;\n    proto$1.set = set;\n    proto$1.eras = localeEras;\n    proto$1.erasParse = localeErasParse;\n    proto$1.erasConvertYear = localeErasConvertYear;\n    proto$1.erasAbbrRegex = erasAbbrRegex;\n    proto$1.erasNameRegex = erasNameRegex;\n    proto$1.erasNarrowRegex = erasNarrowRegex;\n\n    proto$1.months = localeMonths;\n    proto$1.monthsShort = localeMonthsShort;\n    proto$1.monthsParse = localeMonthsParse;\n    proto$1.monthsRegex = monthsRegex;\n    proto$1.monthsShortRegex = monthsShortRegex;\n    proto$1.week = localeWeek;\n    proto$1.firstDayOfYear = localeFirstDayOfYear;\n    proto$1.firstDayOfWeek = localeFirstDayOfWeek;\n\n    proto$1.weekdays = localeWeekdays;\n    proto$1.weekdaysMin = localeWeekdaysMin;\n    proto$1.weekdaysShort = localeWeekdaysShort;\n    proto$1.weekdaysParse = localeWeekdaysParse;\n\n    proto$1.weekdaysRegex = weekdaysRegex;\n    proto$1.weekdaysShortRegex = weekdaysShortRegex;\n    proto$1.weekdaysMinRegex = weekdaysMinRegex;\n\n    proto$1.isPM = localeIsPM;\n    proto$1.meridiem = localeMeridiem;\n\n    function get$1(format, index, field, setter) {\n        var locale = getLocale(),\n            utc = createUTC().set(setter, index);\n        return locale[field](utc, format);\n    }\n\n    function listMonthsImpl(format, index, field) {\n        if (isNumber(format)) {\n            index = format;\n            format = undefined;\n        }\n\n        format = format || '';\n\n        if (index != null) {\n            return get$1(format, index, field, 'month');\n        }\n\n        var i,\n            out = [];\n        for (i = 0; i < 12; i++) {\n            out[i] = get$1(format, i, field, 'month');\n        }\n        return out;\n    }\n\n    // ()\n    // (5)\n    // (fmt, 5)\n    // (fmt)\n    // (true)\n    // (true, 5)\n    // (true, fmt, 5)\n    // (true, fmt)\n    function listWeekdaysImpl(localeSorted, format, index, field) {\n        if (typeof localeSorted === 'boolean') {\n            if (isNumber(format)) {\n                index = format;\n                format = undefined;\n            }\n\n            format = format || '';\n        } else {\n            format = localeSorted;\n            index = format;\n            localeSorted = false;\n\n            if (isNumber(format)) {\n                index = format;\n                format = undefined;\n            }\n\n            format = format || '';\n        }\n\n        var locale = getLocale(),\n            shift = localeSorted ? locale._week.dow : 0,\n            i,\n            out = [];\n\n        if (index != null) {\n            return get$1(format, (index + shift) % 7, field, 'day');\n        }\n\n        for (i = 0; i < 7; i++) {\n            out[i] = get$1(format, (i + shift) % 7, field, 'day');\n        }\n        return out;\n    }\n\n    function listMonths(format, index) {\n        return listMonthsImpl(format, index, 'months');\n    }\n\n    function listMonthsShort(format, index) {\n        return listMonthsImpl(format, index, 'monthsShort');\n    }\n\n    function listWeekdays(localeSorted, format, index) {\n        return listWeekdaysImpl(localeSorted, format, index, 'weekdays');\n    }\n\n    function listWeekdaysShort(localeSorted, format, index) {\n        return listWeekdaysImpl(localeSorted, format, index, 'weekdaysShort');\n    }\n\n    function listWeekdaysMin(localeSorted, format, index) {\n        return listWeekdaysImpl(localeSorted, format, index, 'weekdaysMin');\n    }\n\n    getSetGlobalLocale('en', {\n        eras: [\n            {\n                since: '0001-01-01',\n                until: +Infinity,\n                offset: 1,\n                name: 'Anno Domini',\n                narrow: 'AD',\n                abbr: 'AD',\n            },\n            {\n                since: '0000-12-31',\n                until: -Infinity,\n                offset: 1,\n                name: 'Before Christ',\n                narrow: 'BC',\n                abbr: 'BC',\n            },\n        ],\n        dayOfMonthOrdinalParse: /\\d{1,2}(th|st|nd|rd)/,\n        ordinal: function (number) {\n            var b = number % 10,\n                output =\n                    toInt((number % 100) / 10) === 1\n                        ? 'th'\n                        : b === 1\n                        ? 'st'\n                        : b === 2\n                        ? 'nd'\n                        : b === 3\n                        ? 'rd'\n                        : 'th';\n            return number + output;\n        },\n    });\n\n    // Side effect imports\n\n    hooks.lang = deprecate(\n        'moment.lang is deprecated. Use moment.locale instead.',\n        getSetGlobalLocale\n    );\n    hooks.langData = deprecate(\n        'moment.langData is deprecated. Use moment.localeData instead.',\n        getLocale\n    );\n\n    var mathAbs = Math.abs;\n\n    function abs() {\n        var data = this._data;\n\n        this._milliseconds = mathAbs(this._milliseconds);\n        this._days = mathAbs(this._days);\n        this._months = mathAbs(this._months);\n\n        data.milliseconds = mathAbs(data.milliseconds);\n        data.seconds = mathAbs(data.seconds);\n        data.minutes = mathAbs(data.minutes);\n        data.hours = mathAbs(data.hours);\n        data.months = mathAbs(data.months);\n        data.years = mathAbs(data.years);\n\n        return this;\n    }\n\n    function addSubtract$1(duration, input, value, direction) {\n        var other = createDuration(input, value);\n\n        duration._milliseconds += direction * other._milliseconds;\n        duration._days += direction * other._days;\n        duration._months += direction * other._months;\n\n        return duration._bubble();\n    }\n\n    // supports only 2.0-style add(1, 's') or add(duration)\n    function add$1(input, value) {\n        return addSubtract$1(this, input, value, 1);\n    }\n\n    // supports only 2.0-style subtract(1, 's') or subtract(duration)\n    function subtract$1(input, value) {\n        return addSubtract$1(this, input, value, -1);\n    }\n\n    function absCeil(number) {\n        if (number < 0) {\n            return Math.floor(number);\n        } else {\n            return Math.ceil(number);\n        }\n    }\n\n    function bubble() {\n        var milliseconds = this._milliseconds,\n            days = this._days,\n            months = this._months,\n            data = this._data,\n            seconds,\n            minutes,\n            hours,\n            years,\n            monthsFromDays;\n\n        // if we have a mix of positive and negative values, bubble down first\n        // check: https://github.com/moment/moment/issues/2166\n        if (\n            !(\n                (milliseconds >= 0 && days >= 0 && months >= 0) ||\n                (milliseconds <= 0 && days <= 0 && months <= 0)\n            )\n        ) {\n            milliseconds += absCeil(monthsToDays(months) + days) * 864e5;\n            days = 0;\n            months = 0;\n        }\n\n        // The following code bubbles up values, see the tests for\n        // examples of what that means.\n        data.milliseconds = milliseconds % 1000;\n\n        seconds = absFloor(milliseconds / 1000);\n        data.seconds = seconds % 60;\n\n        minutes = absFloor(seconds / 60);\n        data.minutes = minutes % 60;\n\n        hours = absFloor(minutes / 60);\n        data.hours = hours % 24;\n\n        days += absFloor(hours / 24);\n\n        // convert days to months\n        monthsFromDays = absFloor(daysToMonths(days));\n        months += monthsFromDays;\n        days -= absCeil(monthsToDays(monthsFromDays));\n\n        // 12 months -> 1 year\n        years = absFloor(months / 12);\n        months %= 12;\n\n        data.days = days;\n        data.months = months;\n        data.years = years;\n\n        return this;\n    }\n\n    function daysToMonths(days) {\n        // 400 years have 146097 days (taking into account leap year rules)\n        // 400 years have 12 months === 4800\n        return (days * 4800) / 146097;\n    }\n\n    function monthsToDays(months) {\n        // the reverse of daysToMonths\n        return (months * 146097) / 4800;\n    }\n\n    function as(units) {\n        if (!this.isValid()) {\n            return NaN;\n        }\n        var days,\n            months,\n            milliseconds = this._milliseconds;\n\n        units = normalizeUnits(units);\n\n        if (units === 'month' || units === 'quarter' || units === 'year') {\n            days = this._days + milliseconds / 864e5;\n            months = this._months + daysToMonths(days);\n            switch (units) {\n                case 'month':\n                    return months;\n                case 'quarter':\n                    return months / 3;\n                case 'year':\n                    return months / 12;\n            }\n        } else {\n            // handle milliseconds separately because of floating point math errors (issue #1867)\n            days = this._days + Math.round(monthsToDays(this._months));\n            switch (units) {\n                case 'week':\n                    return days / 7 + milliseconds / 6048e5;\n                case 'day':\n                    return days + milliseconds / 864e5;\n                case 'hour':\n                    return days * 24 + milliseconds / 36e5;\n                case 'minute':\n                    return days * 1440 + milliseconds / 6e4;\n                case 'second':\n                    return days * 86400 + milliseconds / 1000;\n                // Math.floor prevents floating point math errors here\n                case 'millisecond':\n                    return Math.floor(days * 864e5) + milliseconds;\n                default:\n                    throw new Error('Unknown unit ' + units);\n            }\n        }\n    }\n\n    // TODO: Use this.as('ms')?\n    function valueOf$1() {\n        if (!this.isValid()) {\n            return NaN;\n        }\n        return (\n            this._milliseconds +\n            this._days * 864e5 +\n            (this._months % 12) * 2592e6 +\n            toInt(this._months / 12) * 31536e6\n        );\n    }\n\n    function makeAs(alias) {\n        return function () {\n            return this.as(alias);\n        };\n    }\n\n    var asMilliseconds = makeAs('ms'),\n        asSeconds = makeAs('s'),\n        asMinutes = makeAs('m'),\n        asHours = makeAs('h'),\n        asDays = makeAs('d'),\n        asWeeks = makeAs('w'),\n        asMonths = makeAs('M'),\n        asQuarters = makeAs('Q'),\n        asYears = makeAs('y');\n\n    function clone$1() {\n        return createDuration(this);\n    }\n\n    function get$2(units) {\n        units = normalizeUnits(units);\n        return this.isValid() ? this[units + 's']() : NaN;\n    }\n\n    function makeGetter(name) {\n        return function () {\n            return this.isValid() ? this._data[name] : NaN;\n        };\n    }\n\n    var milliseconds = makeGetter('milliseconds'),\n        seconds = makeGetter('seconds'),\n        minutes = makeGetter('minutes'),\n        hours = makeGetter('hours'),\n        days = makeGetter('days'),\n        months = makeGetter('months'),\n        years = makeGetter('years');\n\n    function weeks() {\n        return absFloor(this.days() / 7);\n    }\n\n    var round = Math.round,\n        thresholds = {\n            ss: 44, // a few seconds to seconds\n            s: 45, // seconds to minute\n            m: 45, // minutes to hour\n            h: 22, // hours to day\n            d: 26, // days to month/week\n            w: null, // weeks to month\n            M: 11, // months to year\n        };\n\n    // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize\n    function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) {\n        return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture);\n    }\n\n    function relativeTime$1(posNegDuration, withoutSuffix, thresholds, locale) {\n        var duration = createDuration(posNegDuration).abs(),\n            seconds = round(duration.as('s')),\n            minutes = round(duration.as('m')),\n            hours = round(duration.as('h')),\n            days = round(duration.as('d')),\n            months = round(duration.as('M')),\n            weeks = round(duration.as('w')),\n            years = round(duration.as('y')),\n            a =\n                (seconds <= thresholds.ss && ['s', seconds]) ||\n                (seconds < thresholds.s && ['ss', seconds]) ||\n                (minutes <= 1 && ['m']) ||\n                (minutes < thresholds.m && ['mm', minutes]) ||\n                (hours <= 1 && ['h']) ||\n                (hours < thresholds.h && ['hh', hours]) ||\n                (days <= 1 && ['d']) ||\n                (days < thresholds.d && ['dd', days]);\n\n        if (thresholds.w != null) {\n            a =\n                a ||\n                (weeks <= 1 && ['w']) ||\n                (weeks < thresholds.w && ['ww', weeks]);\n        }\n        a = a ||\n            (months <= 1 && ['M']) ||\n            (months < thresholds.M && ['MM', months]) ||\n            (years <= 1 && ['y']) || ['yy', years];\n\n        a[2] = withoutSuffix;\n        a[3] = +posNegDuration > 0;\n        a[4] = locale;\n        return substituteTimeAgo.apply(null, a);\n    }\n\n    // This function allows you to set the rounding function for relative time strings\n    function getSetRelativeTimeRounding(roundingFunction) {\n        if (roundingFunction === undefined) {\n            return round;\n        }\n        if (typeof roundingFunction === 'function') {\n            round = roundingFunction;\n            return true;\n        }\n        return false;\n    }\n\n    // This function allows you to set a threshold for relative time strings\n    function getSetRelativeTimeThreshold(threshold, limit) {\n        if (thresholds[threshold] === undefined) {\n            return false;\n        }\n        if (limit === undefined) {\n            return thresholds[threshold];\n        }\n        thresholds[threshold] = limit;\n        if (threshold === 's') {\n            thresholds.ss = limit - 1;\n        }\n        return true;\n    }\n\n    function humanize(argWithSuffix, argThresholds) {\n        if (!this.isValid()) {\n            return this.localeData().invalidDate();\n        }\n\n        var withSuffix = false,\n            th = thresholds,\n            locale,\n            output;\n\n        if (typeof argWithSuffix === 'object') {\n            argThresholds = argWithSuffix;\n            argWithSuffix = false;\n        }\n        if (typeof argWithSuffix === 'boolean') {\n            withSuffix = argWithSuffix;\n        }\n        if (typeof argThresholds === 'object') {\n            th = Object.assign({}, thresholds, argThresholds);\n            if (argThresholds.s != null && argThresholds.ss == null) {\n                th.ss = argThresholds.s - 1;\n            }\n        }\n\n        locale = this.localeData();\n        output = relativeTime$1(this, !withSuffix, th, locale);\n\n        if (withSuffix) {\n            output = locale.pastFuture(+this, output);\n        }\n\n        return locale.postformat(output);\n    }\n\n    var abs$1 = Math.abs;\n\n    function sign(x) {\n        return (x > 0) - (x < 0) || +x;\n    }\n\n    function toISOString$1() {\n        // for ISO strings we do not use the normal bubbling rules:\n        //  * milliseconds bubble up until they become hours\n        //  * days do not bubble at all\n        //  * months bubble up until they become years\n        // This is because there is no context-free conversion between hours and days\n        // (think of clock changes)\n        // and also not between days and months (28-31 days per month)\n        if (!this.isValid()) {\n            return this.localeData().invalidDate();\n        }\n\n        var seconds = abs$1(this._milliseconds) / 1000,\n            days = abs$1(this._days),\n            months = abs$1(this._months),\n            minutes,\n            hours,\n            years,\n            s,\n            total = this.asSeconds(),\n            totalSign,\n            ymSign,\n            daysSign,\n            hmsSign;\n\n        if (!total) {\n            // this is the same as C#'s (Noda) and python (isodate)...\n            // but not other JS (goog.date)\n            return 'P0D';\n        }\n\n        // 3600 seconds -> 60 minutes -> 1 hour\n        minutes = absFloor(seconds / 60);\n        hours = absFloor(minutes / 60);\n        seconds %= 60;\n        minutes %= 60;\n\n        // 12 months -> 1 year\n        years = absFloor(months / 12);\n        months %= 12;\n\n        // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js\n        s = seconds ? seconds.toFixed(3).replace(/\\.?0+$/, '') : '';\n\n        totalSign = total < 0 ? '-' : '';\n        ymSign = sign(this._months) !== sign(total) ? '-' : '';\n        daysSign = sign(this._days) !== sign(total) ? '-' : '';\n        hmsSign = sign(this._milliseconds) !== sign(total) ? '-' : '';\n\n        return (\n            totalSign +\n            'P' +\n            (years ? ymSign + years + 'Y' : '') +\n            (months ? ymSign + months + 'M' : '') +\n            (days ? daysSign + days + 'D' : '') +\n            (hours || minutes || seconds ? 'T' : '') +\n            (hours ? hmsSign + hours + 'H' : '') +\n            (minutes ? hmsSign + minutes + 'M' : '') +\n            (seconds ? hmsSign + s + 'S' : '')\n        );\n    }\n\n    var proto$2 = Duration.prototype;\n\n    proto$2.isValid = isValid$1;\n    proto$2.abs = abs;\n    proto$2.add = add$1;\n    proto$2.subtract = subtract$1;\n    proto$2.as = as;\n    proto$2.asMilliseconds = asMilliseconds;\n    proto$2.asSeconds = asSeconds;\n    proto$2.asMinutes = asMinutes;\n    proto$2.asHours = asHours;\n    proto$2.asDays = asDays;\n    proto$2.asWeeks = asWeeks;\n    proto$2.asMonths = asMonths;\n    proto$2.asQuarters = asQuarters;\n    proto$2.asYears = asYears;\n    proto$2.valueOf = valueOf$1;\n    proto$2._bubble = bubble;\n    proto$2.clone = clone$1;\n    proto$2.get = get$2;\n    proto$2.milliseconds = milliseconds;\n    proto$2.seconds = seconds;\n    proto$2.minutes = minutes;\n    proto$2.hours = hours;\n    proto$2.days = days;\n    proto$2.weeks = weeks;\n    proto$2.months = months;\n    proto$2.years = years;\n    proto$2.humanize = humanize;\n    proto$2.toISOString = toISOString$1;\n    proto$2.toString = toISOString$1;\n    proto$2.toJSON = toISOString$1;\n    proto$2.locale = locale;\n    proto$2.localeData = localeData;\n\n    proto$2.toIsoString = deprecate(\n        'toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)',\n        toISOString$1\n    );\n    proto$2.lang = lang;\n\n    // FORMATTING\n\n    addFormatToken('X', 0, 0, 'unix');\n    addFormatToken('x', 0, 0, 'valueOf');\n\n    // PARSING\n\n    addRegexToken('x', matchSigned);\n    addRegexToken('X', matchTimestamp);\n    addParseToken('X', function (input, array, config) {\n        config._d = new Date(parseFloat(input) * 1000);\n    });\n    addParseToken('x', function (input, array, config) {\n        config._d = new Date(toInt(input));\n    });\n\n    //! moment.js\n\n    hooks.version = '2.29.3';\n\n    setHookCallback(createLocal);\n\n    hooks.fn = proto;\n    hooks.min = min;\n    hooks.max = max;\n    hooks.now = now;\n    hooks.utc = createUTC;\n    hooks.unix = createUnix;\n    hooks.months = listMonths;\n    hooks.isDate = isDate;\n    hooks.locale = getSetGlobalLocale;\n    hooks.invalid = createInvalid;\n    hooks.duration = createDuration;\n    hooks.isMoment = isMoment;\n    hooks.weekdays = listWeekdays;\n    hooks.parseZone = createInZone;\n    hooks.localeData = getLocale;\n    hooks.isDuration = isDuration;\n    hooks.monthsShort = listMonthsShort;\n    hooks.weekdaysMin = listWeekdaysMin;\n    hooks.defineLocale = defineLocale;\n    hooks.updateLocale = updateLocale;\n    hooks.locales = listLocales;\n    hooks.weekdaysShort = listWeekdaysShort;\n    hooks.normalizeUnits = normalizeUnits;\n    hooks.relativeTimeRounding = getSetRelativeTimeRounding;\n    hooks.relativeTimeThreshold = getSetRelativeTimeThreshold;\n    hooks.calendarFormat = getCalendarFormat;\n    hooks.prototype = proto;\n\n    // currently HTML5 input type only supports 24-hour formats\n    hooks.HTML5_FMT = {\n        DATETIME_LOCAL: 'YYYY-MM-DDTHH:mm', // <input type=\"datetime-local\" />\n        DATETIME_LOCAL_SECONDS: 'YYYY-MM-DDTHH:mm:ss', // <input type=\"datetime-local\" step=\"1\" />\n        DATETIME_LOCAL_MS: 'YYYY-MM-DDTHH:mm:ss.SSS', // <input type=\"datetime-local\" step=\"0.001\" />\n        DATE: 'YYYY-MM-DD', // <input type=\"date\" />\n        TIME: 'HH:mm', // <input type=\"time\" />\n        TIME_SECONDS: 'HH:mm:ss', // <input type=\"time\" step=\"1\" />\n        TIME_MS: 'HH:mm:ss.SSS', // <input type=\"time\" step=\"0.001\" />\n        WEEK: 'GGGG-[W]WW', // <input type=\"week\" />\n        MONTH: 'YYYY-MM', // <input type=\"month\" />\n    };\n\n    return hooks;\n\n})));\n","(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){\n(function (global){\n\"use strict\";\n\n_dereq_(188);\n\n_dereq_(189);\n\nif (global._babelPolyfill) {\n  throw new Error(\"only one instance of babel/polyfill is allowed\");\n}\nglobal._babelPolyfill = true;\n}).call(this,typeof global !== \"undefined\" ? global : typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : {})\n},{\"188\":188,\"189\":189}],2:[function(_dereq_,module,exports){\nmodule.exports = function(it){\n  if(typeof it != 'function')throw TypeError(it + ' is not a function!');\n  return it;\n};\n},{}],3:[function(_dereq_,module,exports){\n// 22.1.3.31 Array.prototype[@@unscopables]\nvar UNSCOPABLES = _dereq_(83)('unscopables')\n  , ArrayProto  = Array.prototype;\nif(ArrayProto[UNSCOPABLES] == undefined)_dereq_(31)(ArrayProto, UNSCOPABLES, {});\nmodule.exports = function(key){\n  ArrayProto[UNSCOPABLES][key] = true;\n};\n},{\"31\":31,\"83\":83}],4:[function(_dereq_,module,exports){\nvar isObject = _dereq_(38);\nmodule.exports = function(it){\n  if(!isObject(it))throw TypeError(it + ' is not an object!');\n  return it;\n};\n},{\"38\":38}],5:[function(_dereq_,module,exports){\n// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)\n'use strict';\nvar toObject = _dereq_(80)\n  , toIndex  = _dereq_(76)\n  , toLength = _dereq_(79);\n\nmodule.exports = [].copyWithin || function copyWithin(target/*= 0*/, start/*= 0, end = @length*/){\n  var O     = toObject(this)\n    , len   = toLength(O.length)\n    , to    = toIndex(target, len)\n    , from  = toIndex(start, len)\n    , $$    = arguments\n    , end   = $$.length > 2 ? $$[2] : undefined\n    , count = Math.min((end === undefined ? len : toIndex(end, len)) - from, len - to)\n    , inc   = 1;\n  if(from < to && to < from + count){\n    inc  = -1;\n    from += count - 1;\n    to   += count - 1;\n  }\n  while(count-- > 0){\n    if(from in O)O[to] = O[from];\n    else delete O[to];\n    to   += inc;\n    from += inc;\n  } return O;\n};\n},{\"76\":76,\"79\":79,\"80\":80}],6:[function(_dereq_,module,exports){\n// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\n'use strict';\nvar toObject = _dereq_(80)\n  , toIndex  = _dereq_(76)\n  , toLength = _dereq_(79);\nmodule.exports = [].fill || function fill(value /*, start = 0, end = @length */){\n  var O      = toObject(this)\n    , length = toLength(O.length)\n    , $$     = arguments\n    , $$len  = $$.length\n    , index  = toIndex($$len > 1 ? $$[1] : undefined, length)\n    , end    = $$len > 2 ? $$[2] : undefined\n    , endPos = end === undefined ? length : toIndex(end, length);\n  while(endPos > index)O[index++] = value;\n  return O;\n};\n},{\"76\":76,\"79\":79,\"80\":80}],7:[function(_dereq_,module,exports){\n// false -> Array#indexOf\n// true  -> Array#includes\nvar toIObject = _dereq_(78)\n  , toLength  = _dereq_(79)\n  , toIndex   = _dereq_(76);\nmodule.exports = function(IS_INCLUDES){\n  return function($this, el, fromIndex){\n    var O      = toIObject($this)\n      , length = toLength(O.length)\n      , index  = toIndex(fromIndex, length)\n      , value;\n    // Array#includes uses SameValueZero equality algorithm\n    if(IS_INCLUDES && el != el)while(length > index){\n      value = O[index++];\n      if(value != value)return true;\n    // Array#toIndex ignores holes, Array#includes - not\n    } else for(;length > index; index++)if(IS_INCLUDES || index in O){\n      if(O[index] === el)return IS_INCLUDES || index;\n    } return !IS_INCLUDES && -1;\n  };\n};\n},{\"76\":76,\"78\":78,\"79\":79}],8:[function(_dereq_,module,exports){\n// 0 -> Array#forEach\n// 1 -> Array#map\n// 2 -> Array#filter\n// 3 -> Array#some\n// 4 -> Array#every\n// 5 -> Array#find\n// 6 -> Array#findIndex\nvar ctx      = _dereq_(17)\n  , IObject  = _dereq_(34)\n  , toObject = _dereq_(80)\n  , toLength = _dereq_(79)\n  , asc      = _dereq_(9);\nmodule.exports = function(TYPE){\n  var IS_MAP        = TYPE == 1\n    , IS_FILTER     = TYPE == 2\n    , IS_SOME       = TYPE == 3\n    , IS_EVERY      = TYPE == 4\n    , IS_FIND_INDEX = TYPE == 6\n    , NO_HOLES      = TYPE == 5 || IS_FIND_INDEX;\n  return function($this, callbackfn, that){\n    var O      = toObject($this)\n      , self   = IObject(O)\n      , f      = ctx(callbackfn, that, 3)\n      , length = toLength(self.length)\n      , index  = 0\n      , result = IS_MAP ? asc($this, length) : IS_FILTER ? asc($this, 0) : undefined\n      , val, res;\n    for(;length > index; index++)if(NO_HOLES || index in self){\n      val = self[index];\n      res = f(val, index, O);\n      if(TYPE){\n        if(IS_MAP)result[index] = res;            // map\n        else if(res)switch(TYPE){\n          case 3: return true;                    // some\n          case 5: return val;                     // find\n          case 6: return index;                   // findIndex\n          case 2: result.push(val);               // filter\n        } else if(IS_EVERY)return false;          // every\n      }\n    }\n    return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;\n  };\n};\n},{\"17\":17,\"34\":34,\"79\":79,\"80\":80,\"9\":9}],9:[function(_dereq_,module,exports){\n// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar isObject = _dereq_(38)\n  , isArray  = _dereq_(36)\n  , SPECIES  = _dereq_(83)('species');\nmodule.exports = function(original, length){\n  var C;\n  if(isArray(original)){\n    C = original.constructor;\n    // cross-realm fallback\n    if(typeof C == 'function' && (C === Array || isArray(C.prototype)))C = undefined;\n    if(isObject(C)){\n      C = C[SPECIES];\n      if(C === null)C = undefined;\n    }\n  } return new (C === undefined ? Array : C)(length);\n};\n},{\"36\":36,\"38\":38,\"83\":83}],10:[function(_dereq_,module,exports){\n// getting tag from 19.1.3.6 Object.prototype.toString()\nvar cof = _dereq_(11)\n  , TAG = _dereq_(83)('toStringTag')\n  // ES3 wrong here\n  , ARG = cof(function(){ return arguments; }()) == 'Arguments';\n\nmodule.exports = function(it){\n  var O, T, B;\n  return it === undefined ? 'Undefined' : it === null ? 'Null'\n    // @@toStringTag case\n    : typeof (T = (O = Object(it))[TAG]) == 'string' ? T\n    // builtinTag case\n    : ARG ? cof(O)\n    // ES3 arguments fallback\n    : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n};\n},{\"11\":11,\"83\":83}],11:[function(_dereq_,module,exports){\nvar toString = {}.toString;\n\nmodule.exports = function(it){\n  return toString.call(it).slice(8, -1);\n};\n},{}],12:[function(_dereq_,module,exports){\n'use strict';\nvar $            = _dereq_(46)\n  , hide         = _dereq_(31)\n  , redefineAll  = _dereq_(60)\n  , ctx          = _dereq_(17)\n  , strictNew    = _dereq_(69)\n  , defined      = _dereq_(18)\n  , forOf        = _dereq_(27)\n  , $iterDefine  = _dereq_(42)\n  , step         = _dereq_(44)\n  , ID           = _dereq_(82)('id')\n  , $has         = _dereq_(30)\n  , isObject     = _dereq_(38)\n  , setSpecies   = _dereq_(65)\n  , DESCRIPTORS  = _dereq_(19)\n  , isExtensible = Object.isExtensible || isObject\n  , SIZE         = DESCRIPTORS ? '_s' : 'size'\n  , id           = 0;\n\nvar fastKey = function(it, create){\n  // return primitive with prefix\n  if(!isObject(it))return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n  if(!$has(it, ID)){\n    // can't set id to frozen object\n    if(!isExtensible(it))return 'F';\n    // not necessary to add id\n    if(!create)return 'E';\n    // add missing object id\n    hide(it, ID, ++id);\n  // return object id with prefix\n  } return 'O' + it[ID];\n};\n\nvar getEntry = function(that, key){\n  // fast case\n  var index = fastKey(key), entry;\n  if(index !== 'F')return that._i[index];\n  // frozen object case\n  for(entry = that._f; entry; entry = entry.n){\n    if(entry.k == key)return entry;\n  }\n};\n\nmodule.exports = {\n  getConstructor: function(wrapper, NAME, IS_MAP, ADDER){\n    var C = wrapper(function(that, iterable){\n      strictNew(that, C, NAME);\n      that._i = $.create(null); // index\n      that._f = undefined;      // first entry\n      that._l = undefined;      // last entry\n      that[SIZE] = 0;           // size\n      if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);\n    });\n    redefineAll(C.prototype, {\n      // 23.1.3.1 Map.prototype.clear()\n      // 23.2.3.2 Set.prototype.clear()\n      clear: function clear(){\n        for(var that = this, data = that._i, entry = that._f; entry; entry = entry.n){\n          entry.r = true;\n          if(entry.p)entry.p = entry.p.n = undefined;\n          delete data[entry.i];\n        }\n        that._f = that._l = undefined;\n        that[SIZE] = 0;\n      },\n      // 23.1.3.3 Map.prototype.delete(key)\n      // 23.2.3.4 Set.prototype.delete(value)\n      'delete': function(key){\n        var that  = this\n          , entry = getEntry(that, key);\n        if(entry){\n          var next = entry.n\n            , prev = entry.p;\n          delete that._i[entry.i];\n          entry.r = true;\n          if(prev)prev.n = next;\n          if(next)next.p = prev;\n          if(that._f == entry)that._f = next;\n          if(that._l == entry)that._l = prev;\n          that[SIZE]--;\n        } return !!entry;\n      },\n      // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)\n      // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)\n      forEach: function forEach(callbackfn /*, that = undefined */){\n        var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3)\n          , entry;\n        while(entry = entry ? entry.n : this._f){\n          f(entry.v, entry.k, this);\n          // revert to the last existing entry\n          while(entry && entry.r)entry = entry.p;\n        }\n      },\n      // 23.1.3.7 Map.prototype.has(key)\n      // 23.2.3.7 Set.prototype.has(value)\n      has: function has(key){\n        return !!getEntry(this, key);\n      }\n    });\n    if(DESCRIPTORS)$.setDesc(C.prototype, 'size', {\n      get: function(){\n        return defined(this[SIZE]);\n      }\n    });\n    return C;\n  },\n  def: function(that, key, value){\n    var entry = getEntry(that, key)\n      , prev, index;\n    // change existing entry\n    if(entry){\n      entry.v = value;\n    // create new entry\n    } else {\n      that._l = entry = {\n        i: index = fastKey(key, true), // <- index\n        k: key,                        // <- key\n        v: value,                      // <- value\n        p: prev = that._l,             // <- previous entry\n        n: undefined,                  // <- next entry\n        r: false                       // <- removed\n      };\n      if(!that._f)that._f = entry;\n      if(prev)prev.n = entry;\n      that[SIZE]++;\n      // add to index\n      if(index !== 'F')that._i[index] = entry;\n    } return that;\n  },\n  getEntry: getEntry,\n  setStrong: function(C, NAME, IS_MAP){\n    // add .keys, .values, .entries, [@@iterator]\n    // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11\n    $iterDefine(C, NAME, function(iterated, kind){\n      this._t = iterated;  // target\n      this._k = kind;      // kind\n      this._l = undefined; // previous\n    }, function(){\n      var that  = this\n        , kind  = that._k\n        , entry = that._l;\n      // revert to the last existing entry\n      while(entry && entry.r)entry = entry.p;\n      // get next entry\n      if(!that._t || !(that._l = entry = entry ? entry.n : that._t._f)){\n        // or finish the iteration\n        that._t = undefined;\n        return step(1);\n      }\n      // return step by kind\n      if(kind == 'keys'  )return step(0, entry.k);\n      if(kind == 'values')return step(0, entry.v);\n      return step(0, [entry.k, entry.v]);\n    }, IS_MAP ? 'entries' : 'values' , !IS_MAP, true);\n\n    // add [@@species], 23.1.2.2, 23.2.2.2\n    setSpecies(NAME);\n  }\n};\n},{\"17\":17,\"18\":18,\"19\":19,\"27\":27,\"30\":30,\"31\":31,\"38\":38,\"42\":42,\"44\":44,\"46\":46,\"60\":60,\"65\":65,\"69\":69,\"82\":82}],13:[function(_dereq_,module,exports){\n// https://github.com/DavidBruant/Map-Set.prototype.toJSON\nvar forOf   = _dereq_(27)\n  , classof = _dereq_(10);\nmodule.exports = function(NAME){\n  return function toJSON(){\n    if(classof(this) != NAME)throw TypeError(NAME + \"#toJSON isn't generic\");\n    var arr = [];\n    forOf(this, false, arr.push, arr);\n    return arr;\n  };\n};\n},{\"10\":10,\"27\":27}],14:[function(_dereq_,module,exports){\n'use strict';\nvar hide              = _dereq_(31)\n  , redefineAll       = _dereq_(60)\n  , anObject          = _dereq_(4)\n  , isObject          = _dereq_(38)\n  , strictNew         = _dereq_(69)\n  , forOf             = _dereq_(27)\n  , createArrayMethod = _dereq_(8)\n  , $has              = _dereq_(30)\n  , WEAK              = _dereq_(82)('weak')\n  , isExtensible      = Object.isExtensible || isObject\n  , arrayFind         = createArrayMethod(5)\n  , arrayFindIndex    = createArrayMethod(6)\n  , id                = 0;\n\n// fallback for frozen keys\nvar frozenStore = function(that){\n  return that._l || (that._l = new FrozenStore);\n};\nvar FrozenStore = function(){\n  this.a = [];\n};\nvar findFrozen = function(store, key){\n  return arrayFind(store.a, function(it){\n    return it[0] === key;\n  });\n};\nFrozenStore.prototype = {\n  get: function(key){\n    var entry = findFrozen(this, key);\n    if(entry)return entry[1];\n  },\n  has: function(key){\n    return !!findFrozen(this, key);\n  },\n  set: function(key, value){\n    var entry = findFrozen(this, key);\n    if(entry)entry[1] = value;\n    else this.a.push([key, value]);\n  },\n  'delete': function(key){\n    var index = arrayFindIndex(this.a, function(it){\n      return it[0] === key;\n    });\n    if(~index)this.a.splice(index, 1);\n    return !!~index;\n  }\n};\n\nmodule.exports = {\n  getConstructor: function(wrapper, NAME, IS_MAP, ADDER){\n    var C = wrapper(function(that, iterable){\n      strictNew(that, C, NAME);\n      that._i = id++;      // collection id\n      that._l = undefined; // leak store for frozen objects\n      if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);\n    });\n    redefineAll(C.prototype, {\n      // 23.3.3.2 WeakMap.prototype.delete(key)\n      // 23.4.3.3 WeakSet.prototype.delete(value)\n      'delete': function(key){\n        if(!isObject(key))return false;\n        if(!isExtensible(key))return frozenStore(this)['delete'](key);\n        return $has(key, WEAK) && $has(key[WEAK], this._i) && delete key[WEAK][this._i];\n      },\n      // 23.3.3.4 WeakMap.prototype.has(key)\n      // 23.4.3.4 WeakSet.prototype.has(value)\n      has: function has(key){\n        if(!isObject(key))return false;\n        if(!isExtensible(key))return frozenStore(this).has(key);\n        return $has(key, WEAK) && $has(key[WEAK], this._i);\n      }\n    });\n    return C;\n  },\n  def: function(that, key, value){\n    if(!isExtensible(anObject(key))){\n      frozenStore(that).set(key, value);\n    } else {\n      $has(key, WEAK) || hide(key, WEAK, {});\n      key[WEAK][that._i] = value;\n    } return that;\n  },\n  frozenStore: frozenStore,\n  WEAK: WEAK\n};\n},{\"27\":27,\"30\":30,\"31\":31,\"38\":38,\"4\":4,\"60\":60,\"69\":69,\"8\":8,\"82\":82}],15:[function(_dereq_,module,exports){\n'use strict';\nvar global         = _dereq_(29)\n  , $export        = _dereq_(22)\n  , redefine       = _dereq_(61)\n  , redefineAll    = _dereq_(60)\n  , forOf          = _dereq_(27)\n  , strictNew      = _dereq_(69)\n  , isObject       = _dereq_(38)\n  , fails          = _dereq_(24)\n  , $iterDetect    = _dereq_(43)\n  , setToStringTag = _dereq_(66);\n\nmodule.exports = function(NAME, wrapper, methods, common, IS_MAP, IS_WEAK){\n  var Base  = global[NAME]\n    , C     = Base\n    , ADDER = IS_MAP ? 'set' : 'add'\n    , proto = C && C.prototype\n    , O     = {};\n  var fixMethod = function(KEY){\n    var fn = proto[KEY];\n    redefine(proto, KEY,\n      KEY == 'delete' ? function(a){\n        return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n      } : KEY == 'has' ? function has(a){\n        return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n      } : KEY == 'get' ? function get(a){\n        return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a);\n      } : KEY == 'add' ? function add(a){ fn.call(this, a === 0 ? 0 : a); return this; }\n        : function set(a, b){ fn.call(this, a === 0 ? 0 : a, b); return this; }\n    );\n  };\n  if(typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function(){\n    new C().entries().next();\n  }))){\n    // create collection constructor\n    C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);\n    redefineAll(C.prototype, methods);\n  } else {\n    var instance             = new C\n      // early implementations not supports chaining\n      , HASNT_CHAINING       = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance\n      // V8 ~  Chromium 40- weak-collections throws on primitives, but should return false\n      , THROWS_ON_PRIMITIVES = fails(function(){ instance.has(1); })\n      // most early implementations doesn't supports iterables, most modern - not close it correctly\n      , ACCEPT_ITERABLES     = $iterDetect(function(iter){ new C(iter); }) // eslint-disable-line no-new\n      // for early implementations -0 and +0 not the same\n      , BUGGY_ZERO;\n    if(!ACCEPT_ITERABLES){ \n      C = wrapper(function(target, iterable){\n        strictNew(target, C, NAME);\n        var that = new Base;\n        if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);\n        return that;\n      });\n      C.prototype = proto;\n      proto.constructor = C;\n    }\n    IS_WEAK || instance.forEach(function(val, key){\n      BUGGY_ZERO = 1 / key === -Infinity;\n    });\n    if(THROWS_ON_PRIMITIVES || BUGGY_ZERO){\n      fixMethod('delete');\n      fixMethod('has');\n      IS_MAP && fixMethod('get');\n    }\n    if(BUGGY_ZERO || HASNT_CHAINING)fixMethod(ADDER);\n    // weak collections should not contains .clear method\n    if(IS_WEAK && proto.clear)delete proto.clear;\n  }\n\n  setToStringTag(C, NAME);\n\n  O[NAME] = C;\n  $export($export.G + $export.W + $export.F * (C != Base), O);\n\n  if(!IS_WEAK)common.setStrong(C, NAME, IS_MAP);\n\n  return C;\n};\n},{\"22\":22,\"24\":24,\"27\":27,\"29\":29,\"38\":38,\"43\":43,\"60\":60,\"61\":61,\"66\":66,\"69\":69}],16:[function(_dereq_,module,exports){\nvar core = module.exports = {version: '1.2.6'};\nif(typeof __e == 'number')__e = core; // eslint-disable-line no-undef\n},{}],17:[function(_dereq_,module,exports){\n// optional / simple context binding\nvar aFunction = _dereq_(2);\nmodule.exports = function(fn, that, length){\n  aFunction(fn);\n  if(that === undefined)return fn;\n  switch(length){\n    case 1: return function(a){\n      return fn.call(that, a);\n    };\n    case 2: return function(a, b){\n      return fn.call(that, a, b);\n    };\n    case 3: return function(a, b, c){\n      return fn.call(that, a, b, c);\n    };\n  }\n  return function(/* ...args */){\n    return fn.apply(that, arguments);\n  };\n};\n},{\"2\":2}],18:[function(_dereq_,module,exports){\n// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function(it){\n  if(it == undefined)throw TypeError(\"Can't call method on  \" + it);\n  return it;\n};\n},{}],19:[function(_dereq_,module,exports){\n// Thank's IE8 for his funny defineProperty\nmodule.exports = !_dereq_(24)(function(){\n  return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;\n});\n},{\"24\":24}],20:[function(_dereq_,module,exports){\nvar isObject = _dereq_(38)\n  , document = _dereq_(29).document\n  // in old IE typeof document.createElement is 'object'\n  , is = isObject(document) && isObject(document.createElement);\nmodule.exports = function(it){\n  return is ? document.createElement(it) : {};\n};\n},{\"29\":29,\"38\":38}],21:[function(_dereq_,module,exports){\n// all enumerable object keys, includes symbols\nvar $ = _dereq_(46);\nmodule.exports = function(it){\n  var keys       = $.getKeys(it)\n    , getSymbols = $.getSymbols;\n  if(getSymbols){\n    var symbols = getSymbols(it)\n      , isEnum  = $.isEnum\n      , i       = 0\n      , key;\n    while(symbols.length > i)if(isEnum.call(it, key = symbols[i++]))keys.push(key);\n  }\n  return keys;\n};\n},{\"46\":46}],22:[function(_dereq_,module,exports){\nvar global    = _dereq_(29)\n  , core      = _dereq_(16)\n  , hide      = _dereq_(31)\n  , redefine  = _dereq_(61)\n  , ctx       = _dereq_(17)\n  , PROTOTYPE = 'prototype';\n\nvar $export = function(type, name, source){\n  var IS_FORCED = type & $export.F\n    , IS_GLOBAL = type & $export.G\n    , IS_STATIC = type & $export.S\n    , IS_PROTO  = type & $export.P\n    , IS_BIND   = type & $export.B\n    , target    = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]\n    , exports   = IS_GLOBAL ? core : core[name] || (core[name] = {})\n    , expProto  = exports[PROTOTYPE] || (exports[PROTOTYPE] = {})\n    , key, own, out, exp;\n  if(IS_GLOBAL)source = name;\n  for(key in source){\n    // contains in native\n    own = !IS_FORCED && target && key in target;\n    // export native or passed\n    out = (own ? target : source)[key];\n    // bind timers to global for call from export context\n    exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n    // extend global\n    if(target && !own)redefine(target, key, out);\n    // export\n    if(exports[key] != out)hide(exports, key, exp);\n    if(IS_PROTO && expProto[key] != out)expProto[key] = out;\n  }\n};\nglobal.core = core;\n// type bitmap\n$export.F = 1;  // forced\n$export.G = 2;  // global\n$export.S = 4;  // static\n$export.P = 8;  // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\nmodule.exports = $export;\n},{\"16\":16,\"17\":17,\"29\":29,\"31\":31,\"61\":61}],23:[function(_dereq_,module,exports){\nvar MATCH = _dereq_(83)('match');\nmodule.exports = function(KEY){\n  var re = /./;\n  try {\n    '/./'[KEY](re);\n  } catch(e){\n    try {\n      re[MATCH] = false;\n      return !'/./'[KEY](re);\n    } catch(f){ /* empty */ }\n  } return true;\n};\n},{\"83\":83}],24:[function(_dereq_,module,exports){\nmodule.exports = function(exec){\n  try {\n    return !!exec();\n  } catch(e){\n    return true;\n  }\n};\n},{}],25:[function(_dereq_,module,exports){\n'use strict';\nvar hide     = _dereq_(31)\n  , redefine = _dereq_(61)\n  , fails    = _dereq_(24)\n  , defined  = _dereq_(18)\n  , wks      = _dereq_(83);\n\nmodule.exports = function(KEY, length, exec){\n  var SYMBOL   = wks(KEY)\n    , original = ''[KEY];\n  if(fails(function(){\n    var O = {};\n    O[SYMBOL] = function(){ return 7; };\n    return ''[KEY](O) != 7;\n  })){\n    redefine(String.prototype, KEY, exec(defined, SYMBOL, original));\n    hide(RegExp.prototype, SYMBOL, length == 2\n      // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)\n      // 21.2.5.11 RegExp.prototype[@@split](string, limit)\n      ? function(string, arg){ return original.call(string, this, arg); }\n      // 21.2.5.6 RegExp.prototype[@@match](string)\n      // 21.2.5.9 RegExp.prototype[@@search](string)\n      : function(string){ return original.call(string, this); }\n    );\n  }\n};\n},{\"18\":18,\"24\":24,\"31\":31,\"61\":61,\"83\":83}],26:[function(_dereq_,module,exports){\n'use strict';\n// 21.2.5.3 get RegExp.prototype.flags\nvar anObject = _dereq_(4);\nmodule.exports = function(){\n  var that   = anObject(this)\n    , result = '';\n  if(that.global)     result += 'g';\n  if(that.ignoreCase) result += 'i';\n  if(that.multiline)  result += 'm';\n  if(that.unicode)    result += 'u';\n  if(that.sticky)     result += 'y';\n  return result;\n};\n},{\"4\":4}],27:[function(_dereq_,module,exports){\nvar ctx         = _dereq_(17)\n  , call        = _dereq_(40)\n  , isArrayIter = _dereq_(35)\n  , anObject    = _dereq_(4)\n  , toLength    = _dereq_(79)\n  , getIterFn   = _dereq_(84);\nmodule.exports = function(iterable, entries, fn, that){\n  var iterFn = getIterFn(iterable)\n    , f      = ctx(fn, that, entries ? 2 : 1)\n    , index  = 0\n    , length, step, iterator;\n  if(typeof iterFn != 'function')throw TypeError(iterable + ' is not iterable!');\n  // fast case for arrays with default iterator\n  if(isArrayIter(iterFn))for(length = toLength(iterable.length); length > index; index++){\n    entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);\n  } else for(iterator = iterFn.call(iterable); !(step = iterator.next()).done; ){\n    call(iterator, f, step.value, entries);\n  }\n};\n},{\"17\":17,\"35\":35,\"4\":4,\"40\":40,\"79\":79,\"84\":84}],28:[function(_dereq_,module,exports){\n// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nvar toIObject = _dereq_(78)\n  , getNames  = _dereq_(46).getNames\n  , toString  = {}.toString;\n\nvar windowNames = typeof window == 'object' && Object.getOwnPropertyNames\n  ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function(it){\n  try {\n    return getNames(it);\n  } catch(e){\n    return windowNames.slice();\n  }\n};\n\nmodule.exports.get = function getOwnPropertyNames(it){\n  if(windowNames && toString.call(it) == '[object Window]')return getWindowNames(it);\n  return getNames(toIObject(it));\n};\n},{\"46\":46,\"78\":78}],29:[function(_dereq_,module,exports){\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n  ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();\nif(typeof __g == 'number')__g = global; // eslint-disable-line no-undef\n},{}],30:[function(_dereq_,module,exports){\nvar hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function(it, key){\n  return hasOwnProperty.call(it, key);\n};\n},{}],31:[function(_dereq_,module,exports){\nvar $          = _dereq_(46)\n  , createDesc = _dereq_(59);\nmodule.exports = _dereq_(19) ? function(object, key, value){\n  return $.setDesc(object, key, createDesc(1, value));\n} : function(object, key, value){\n  object[key] = value;\n  return object;\n};\n},{\"19\":19,\"46\":46,\"59\":59}],32:[function(_dereq_,module,exports){\nmodule.exports = _dereq_(29).document && document.documentElement;\n},{\"29\":29}],33:[function(_dereq_,module,exports){\n// fast apply, http://jsperf.lnkit.com/fast-apply/5\nmodule.exports = function(fn, args, that){\n  var un = that === undefined;\n  switch(args.length){\n    case 0: return un ? fn()\n                      : fn.call(that);\n    case 1: return un ? fn(args[0])\n                      : fn.call(that, args[0]);\n    case 2: return un ? fn(args[0], args[1])\n                      : fn.call(that, args[0], args[1]);\n    case 3: return un ? fn(args[0], args[1], args[2])\n                      : fn.call(that, args[0], args[1], args[2]);\n    case 4: return un ? fn(args[0], args[1], args[2], args[3])\n                      : fn.call(that, args[0], args[1], args[2], args[3]);\n  } return              fn.apply(that, args);\n};\n},{}],34:[function(_dereq_,module,exports){\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = _dereq_(11);\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it){\n  return cof(it) == 'String' ? it.split('') : Object(it);\n};\n},{\"11\":11}],35:[function(_dereq_,module,exports){\n// check on default Array iterator\nvar Iterators  = _dereq_(45)\n  , ITERATOR   = _dereq_(83)('iterator')\n  , ArrayProto = Array.prototype;\n\nmodule.exports = function(it){\n  return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);\n};\n},{\"45\":45,\"83\":83}],36:[function(_dereq_,module,exports){\n// 7.2.2 IsArray(argument)\nvar cof = _dereq_(11);\nmodule.exports = Array.isArray || function(arg){\n  return cof(arg) == 'Array';\n};\n},{\"11\":11}],37:[function(_dereq_,module,exports){\n// 20.1.2.3 Number.isInteger(number)\nvar isObject = _dereq_(38)\n  , floor    = Math.floor;\nmodule.exports = function isInteger(it){\n  return !isObject(it) && isFinite(it) && floor(it) === it;\n};\n},{\"38\":38}],38:[function(_dereq_,module,exports){\nmodule.exports = function(it){\n  return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n},{}],39:[function(_dereq_,module,exports){\n// 7.2.8 IsRegExp(argument)\nvar isObject = _dereq_(38)\n  , cof      = _dereq_(11)\n  , MATCH    = _dereq_(83)('match');\nmodule.exports = function(it){\n  var isRegExp;\n  return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');\n};\n},{\"11\":11,\"38\":38,\"83\":83}],40:[function(_dereq_,module,exports){\n// call something on iterator step with safe closing on error\nvar anObject = _dereq_(4);\nmodule.exports = function(iterator, fn, value, entries){\n  try {\n    return entries ? fn(anObject(value)[0], value[1]) : fn(value);\n  // 7.4.6 IteratorClose(iterator, completion)\n  } catch(e){\n    var ret = iterator['return'];\n    if(ret !== undefined)anObject(ret.call(iterator));\n    throw e;\n  }\n};\n},{\"4\":4}],41:[function(_dereq_,module,exports){\n'use strict';\nvar $              = _dereq_(46)\n  , descriptor     = _dereq_(59)\n  , setToStringTag = _dereq_(66)\n  , IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\n_dereq_(31)(IteratorPrototype, _dereq_(83)('iterator'), function(){ return this; });\n\nmodule.exports = function(Constructor, NAME, next){\n  Constructor.prototype = $.create(IteratorPrototype, {next: descriptor(1, next)});\n  setToStringTag(Constructor, NAME + ' Iterator');\n};\n},{\"31\":31,\"46\":46,\"59\":59,\"66\":66,\"83\":83}],42:[function(_dereq_,module,exports){\n'use strict';\nvar LIBRARY        = _dereq_(48)\n  , $export        = _dereq_(22)\n  , redefine       = _dereq_(61)\n  , hide           = _dereq_(31)\n  , has            = _dereq_(30)\n  , Iterators      = _dereq_(45)\n  , $iterCreate    = _dereq_(41)\n  , setToStringTag = _dereq_(66)\n  , getProto       = _dereq_(46).getProto\n  , ITERATOR       = _dereq_(83)('iterator')\n  , BUGGY          = !([].keys && 'next' in [].keys()) // Safari has buggy iterators w/o `next`\n  , FF_ITERATOR    = '@@iterator'\n  , KEYS           = 'keys'\n  , VALUES         = 'values';\n\nvar returnThis = function(){ return this; };\n\nmodule.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED){\n  $iterCreate(Constructor, NAME, next);\n  var getMethod = function(kind){\n    if(!BUGGY && kind in proto)return proto[kind];\n    switch(kind){\n      case KEYS: return function keys(){ return new Constructor(this, kind); };\n      case VALUES: return function values(){ return new Constructor(this, kind); };\n    } return function entries(){ return new Constructor(this, kind); };\n  };\n  var TAG        = NAME + ' Iterator'\n    , DEF_VALUES = DEFAULT == VALUES\n    , VALUES_BUG = false\n    , proto      = Base.prototype\n    , $native    = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]\n    , $default   = $native || getMethod(DEFAULT)\n    , methods, key;\n  // Fix native\n  if($native){\n    var IteratorPrototype = getProto($default.call(new Base));\n    // Set @@toStringTag to native iterators\n    setToStringTag(IteratorPrototype, TAG, true);\n    // FF fix\n    if(!LIBRARY && has(proto, FF_ITERATOR))hide(IteratorPrototype, ITERATOR, returnThis);\n    // fix Array#{values, @@iterator}.name in V8 / FF\n    if(DEF_VALUES && $native.name !== VALUES){\n      VALUES_BUG = true;\n      $default = function values(){ return $native.call(this); };\n    }\n  }\n  // Define iterator\n  if((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])){\n    hide(proto, ITERATOR, $default);\n  }\n  // Plug for library\n  Iterators[NAME] = $default;\n  Iterators[TAG]  = returnThis;\n  if(DEFAULT){\n    methods = {\n      values:  DEF_VALUES  ? $default : getMethod(VALUES),\n      keys:    IS_SET      ? $default : getMethod(KEYS),\n      entries: !DEF_VALUES ? $default : getMethod('entries')\n    };\n    if(FORCED)for(key in methods){\n      if(!(key in proto))redefine(proto, key, methods[key]);\n    } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n  }\n  return methods;\n};\n},{\"22\":22,\"30\":30,\"31\":31,\"41\":41,\"45\":45,\"46\":46,\"48\":48,\"61\":61,\"66\":66,\"83\":83}],43:[function(_dereq_,module,exports){\nvar ITERATOR     = _dereq_(83)('iterator')\n  , SAFE_CLOSING = false;\n\ntry {\n  var riter = [7][ITERATOR]();\n  riter['return'] = function(){ SAFE_CLOSING = true; };\n  Array.from(riter, function(){ throw 2; });\n} catch(e){ /* empty */ }\n\nmodule.exports = function(exec, skipClosing){\n  if(!skipClosing && !SAFE_CLOSING)return false;\n  var safe = false;\n  try {\n    var arr  = [7]\n      , iter = arr[ITERATOR]();\n    iter.next = function(){ safe = true; };\n    arr[ITERATOR] = function(){ return iter; };\n    exec(arr);\n  } catch(e){ /* empty */ }\n  return safe;\n};\n},{\"83\":83}],44:[function(_dereq_,module,exports){\nmodule.exports = function(done, value){\n  return {value: value, done: !!done};\n};\n},{}],45:[function(_dereq_,module,exports){\nmodule.exports = {};\n},{}],46:[function(_dereq_,module,exports){\nvar $Object = Object;\nmodule.exports = {\n  create:     $Object.create,\n  getProto:   $Object.getPrototypeOf,\n  isEnum:     {}.propertyIsEnumerable,\n  getDesc:    $Object.getOwnPropertyDescriptor,\n  setDesc:    $Object.defineProperty,\n  setDescs:   $Object.defineProperties,\n  getKeys:    $Object.keys,\n  getNames:   $Object.getOwnPropertyNames,\n  getSymbols: $Object.getOwnPropertySymbols,\n  each:       [].forEach\n};\n},{}],47:[function(_dereq_,module,exports){\nvar $         = _dereq_(46)\n  , toIObject = _dereq_(78);\nmodule.exports = function(object, el){\n  var O      = toIObject(object)\n    , keys   = $.getKeys(O)\n    , length = keys.length\n    , index  = 0\n    , key;\n  while(length > index)if(O[key = keys[index++]] === el)return key;\n};\n},{\"46\":46,\"78\":78}],48:[function(_dereq_,module,exports){\nmodule.exports = false;\n},{}],49:[function(_dereq_,module,exports){\n// 20.2.2.14 Math.expm1(x)\nmodule.exports = Math.expm1 || function expm1(x){\n  return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1;\n};\n},{}],50:[function(_dereq_,module,exports){\n// 20.2.2.20 Math.log1p(x)\nmodule.exports = Math.log1p || function log1p(x){\n  return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x);\n};\n},{}],51:[function(_dereq_,module,exports){\n// 20.2.2.28 Math.sign(x)\nmodule.exports = Math.sign || function sign(x){\n  return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;\n};\n},{}],52:[function(_dereq_,module,exports){\nvar global    = _dereq_(29)\n  , macrotask = _dereq_(75).set\n  , Observer  = global.MutationObserver || global.WebKitMutationObserver\n  , process   = global.process\n  , Promise   = global.Promise\n  , isNode    = _dereq_(11)(process) == 'process'\n  , head, last, notify;\n\nvar flush = function(){\n  var parent, domain, fn;\n  if(isNode && (parent = process.domain)){\n    process.domain = null;\n    parent.exit();\n  }\n  while(head){\n    domain = head.domain;\n    fn     = head.fn;\n    if(domain)domain.enter();\n    fn(); // <- currently we use it only for Promise - try / catch not required\n    if(domain)domain.exit();\n    head = head.next;\n  } last = undefined;\n  if(parent)parent.enter();\n};\n\n// Node.js\nif(isNode){\n  notify = function(){\n    process.nextTick(flush);\n  };\n// browsers with MutationObserver\n} else if(Observer){\n  var toggle = 1\n    , node   = document.createTextNode('');\n  new Observer(flush).observe(node, {characterData: true}); // eslint-disable-line no-new\n  notify = function(){\n    node.data = toggle = -toggle;\n  };\n// environments with maybe non-completely correct, but existent Promise\n} else if(Promise && Promise.resolve){\n  notify = function(){\n    Promise.resolve().then(flush);\n  };\n// for other environments - macrotask based on:\n// - setImmediate\n// - MessageChannel\n// - window.postMessag\n// - onreadystatechange\n// - setTimeout\n} else {\n  notify = function(){\n    // strange IE + webpack dev server bug - use .call(global)\n    macrotask.call(global, flush);\n  };\n}\n\nmodule.exports = function asap(fn){\n  var task = {fn: fn, next: undefined, domain: isNode && process.domain};\n  if(last)last.next = task;\n  if(!head){\n    head = task;\n    notify();\n  } last = task;\n};\n},{\"11\":11,\"29\":29,\"75\":75}],53:[function(_dereq_,module,exports){\n// 19.1.2.1 Object.assign(target, source, ...)\nvar $        = _dereq_(46)\n  , toObject = _dereq_(80)\n  , IObject  = _dereq_(34);\n\n// should work with symbols and should have deterministic property order (V8 bug)\nmodule.exports = _dereq_(24)(function(){\n  var a = Object.assign\n    , A = {}\n    , B = {}\n    , S = Symbol()\n    , K = 'abcdefghijklmnopqrst';\n  A[S] = 7;\n  K.split('').forEach(function(k){ B[k] = k; });\n  return a({}, A)[S] != 7 || Object.keys(a({}, B)).join('') != K;\n}) ? function assign(target, source){ // eslint-disable-line no-unused-vars\n  var T     = toObject(target)\n    , $$    = arguments\n    , $$len = $$.length\n    , index = 1\n    , getKeys    = $.getKeys\n    , getSymbols = $.getSymbols\n    , isEnum     = $.isEnum;\n  while($$len > index){\n    var S      = IObject($$[index++])\n      , keys   = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S)\n      , length = keys.length\n      , j      = 0\n      , key;\n    while(length > j)if(isEnum.call(S, key = keys[j++]))T[key] = S[key];\n  }\n  return T;\n} : Object.assign;\n},{\"24\":24,\"34\":34,\"46\":46,\"80\":80}],54:[function(_dereq_,module,exports){\n// most Object methods by ES6 should accept primitives\nvar $export = _dereq_(22)\n  , core    = _dereq_(16)\n  , fails   = _dereq_(24);\nmodule.exports = function(KEY, exec){\n  var fn  = (core.Object || {})[KEY] || Object[KEY]\n    , exp = {};\n  exp[KEY] = exec(fn);\n  $export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp);\n};\n},{\"16\":16,\"22\":22,\"24\":24}],55:[function(_dereq_,module,exports){\nvar $         = _dereq_(46)\n  , toIObject = _dereq_(78)\n  , isEnum    = $.isEnum;\nmodule.exports = function(isEntries){\n  return function(it){\n    var O      = toIObject(it)\n      , keys   = $.getKeys(O)\n      , length = keys.length\n      , i      = 0\n      , result = []\n      , key;\n    while(length > i)if(isEnum.call(O, key = keys[i++])){\n      result.push(isEntries ? [key, O[key]] : O[key]);\n    } return result;\n  };\n};\n},{\"46\":46,\"78\":78}],56:[function(_dereq_,module,exports){\n// all object keys, includes non-enumerable and symbols\nvar $        = _dereq_(46)\n  , anObject = _dereq_(4)\n  , Reflect  = _dereq_(29).Reflect;\nmodule.exports = Reflect && Reflect.ownKeys || function ownKeys(it){\n  var keys       = $.getNames(anObject(it))\n    , getSymbols = $.getSymbols;\n  return getSymbols ? keys.concat(getSymbols(it)) : keys;\n};\n},{\"29\":29,\"4\":4,\"46\":46}],57:[function(_dereq_,module,exports){\n'use strict';\nvar path      = _dereq_(58)\n  , invoke    = _dereq_(33)\n  , aFunction = _dereq_(2);\nmodule.exports = function(/* ...pargs */){\n  var fn     = aFunction(this)\n    , length = arguments.length\n    , pargs  = Array(length)\n    , i      = 0\n    , _      = path._\n    , holder = false;\n  while(length > i)if((pargs[i] = arguments[i++]) === _)holder = true;\n  return function(/* ...args */){\n    var that  = this\n      , $$    = arguments\n      , $$len = $$.length\n      , j = 0, k = 0, args;\n    if(!holder && !$$len)return invoke(fn, pargs, that);\n    args = pargs.slice();\n    if(holder)for(;length > j; j++)if(args[j] === _)args[j] = $$[k++];\n    while($$len > k)args.push($$[k++]);\n    return invoke(fn, args, that);\n  };\n};\n},{\"2\":2,\"33\":33,\"58\":58}],58:[function(_dereq_,module,exports){\nmodule.exports = _dereq_(29);\n},{\"29\":29}],59:[function(_dereq_,module,exports){\nmodule.exports = function(bitmap, value){\n  return {\n    enumerable  : !(bitmap & 1),\n    configurable: !(bitmap & 2),\n    writable    : !(bitmap & 4),\n    value       : value\n  };\n};\n},{}],60:[function(_dereq_,module,exports){\nvar redefine = _dereq_(61);\nmodule.exports = function(target, src){\n  for(var key in src)redefine(target, key, src[key]);\n  return target;\n};\n},{\"61\":61}],61:[function(_dereq_,module,exports){\n// add fake Function#toString\n// for correct work wrapped methods / constructors with methods like LoDash isNative\nvar global    = _dereq_(29)\n  , hide      = _dereq_(31)\n  , SRC       = _dereq_(82)('src')\n  , TO_STRING = 'toString'\n  , $toString = Function[TO_STRING]\n  , TPL       = ('' + $toString).split(TO_STRING);\n\n_dereq_(16).inspectSource = function(it){\n  return $toString.call(it);\n};\n\n(module.exports = function(O, key, val, safe){\n  if(typeof val == 'function'){\n    val.hasOwnProperty(SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n    val.hasOwnProperty('name') || hide(val, 'name', key);\n  }\n  if(O === global){\n    O[key] = val;\n  } else {\n    if(!safe)delete O[key];\n    hide(O, key, val);\n  }\n})(Function.prototype, TO_STRING, function toString(){\n  return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n},{\"16\":16,\"29\":29,\"31\":31,\"82\":82}],62:[function(_dereq_,module,exports){\nmodule.exports = function(regExp, replace){\n  var replacer = replace === Object(replace) ? function(part){\n    return replace[part];\n  } : replace;\n  return function(it){\n    return String(it).replace(regExp, replacer);\n  };\n};\n},{}],63:[function(_dereq_,module,exports){\n// 7.2.9 SameValue(x, y)\nmodule.exports = Object.is || function is(x, y){\n  return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;\n};\n},{}],64:[function(_dereq_,module,exports){\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar getDesc  = _dereq_(46).getDesc\n  , isObject = _dereq_(38)\n  , anObject = _dereq_(4);\nvar check = function(O, proto){\n  anObject(O);\n  if(!isObject(proto) && proto !== null)throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n  set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n    function(test, buggy, set){\n      try {\n        set = _dereq_(17)(Function.call, getDesc(Object.prototype, '__proto__').set, 2);\n        set(test, []);\n        buggy = !(test instanceof Array);\n      } catch(e){ buggy = true; }\n      return function setPrototypeOf(O, proto){\n        check(O, proto);\n        if(buggy)O.__proto__ = proto;\n        else set(O, proto);\n        return O;\n      };\n    }({}, false) : undefined),\n  check: check\n};\n},{\"17\":17,\"38\":38,\"4\":4,\"46\":46}],65:[function(_dereq_,module,exports){\n'use strict';\nvar global      = _dereq_(29)\n  , $           = _dereq_(46)\n  , DESCRIPTORS = _dereq_(19)\n  , SPECIES     = _dereq_(83)('species');\n\nmodule.exports = function(KEY){\n  var C = global[KEY];\n  if(DESCRIPTORS && C && !C[SPECIES])$.setDesc(C, SPECIES, {\n    configurable: true,\n    get: function(){ return this; }\n  });\n};\n},{\"19\":19,\"29\":29,\"46\":46,\"83\":83}],66:[function(_dereq_,module,exports){\nvar def = _dereq_(46).setDesc\n  , has = _dereq_(30)\n  , TAG = _dereq_(83)('toStringTag');\n\nmodule.exports = function(it, tag, stat){\n  if(it && !has(it = stat ? it : it.prototype, TAG))def(it, TAG, {configurable: true, value: tag});\n};\n},{\"30\":30,\"46\":46,\"83\":83}],67:[function(_dereq_,module,exports){\nvar global = _dereq_(29)\n  , SHARED = '__core-js_shared__'\n  , store  = global[SHARED] || (global[SHARED] = {});\nmodule.exports = function(key){\n  return store[key] || (store[key] = {});\n};\n},{\"29\":29}],68:[function(_dereq_,module,exports){\n// 7.3.20 SpeciesConstructor(O, defaultConstructor)\nvar anObject  = _dereq_(4)\n  , aFunction = _dereq_(2)\n  , SPECIES   = _dereq_(83)('species');\nmodule.exports = function(O, D){\n  var C = anObject(O).constructor, S;\n  return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);\n};\n},{\"2\":2,\"4\":4,\"83\":83}],69:[function(_dereq_,module,exports){\nmodule.exports = function(it, Constructor, name){\n  if(!(it instanceof Constructor))throw TypeError(name + \": use the 'new' operator!\");\n  return it;\n};\n},{}],70:[function(_dereq_,module,exports){\nvar toInteger = _dereq_(77)\n  , defined   = _dereq_(18);\n// true  -> String#at\n// false -> String#codePointAt\nmodule.exports = function(TO_STRING){\n  return function(that, pos){\n    var s = String(defined(that))\n      , i = toInteger(pos)\n      , l = s.length\n      , a, b;\n    if(i < 0 || i >= l)return TO_STRING ? '' : undefined;\n    a = s.charCodeAt(i);\n    return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n      ? TO_STRING ? s.charAt(i) : a\n      : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n  };\n};\n},{\"18\":18,\"77\":77}],71:[function(_dereq_,module,exports){\n// helper for String#{startsWith, endsWith, includes}\nvar isRegExp = _dereq_(39)\n  , defined  = _dereq_(18);\n\nmodule.exports = function(that, searchString, NAME){\n  if(isRegExp(searchString))throw TypeError('String#' + NAME + \" doesn't accept regex!\");\n  return String(defined(that));\n};\n},{\"18\":18,\"39\":39}],72:[function(_dereq_,module,exports){\n// https://github.com/ljharb/proposal-string-pad-left-right\nvar toLength = _dereq_(79)\n  , repeat   = _dereq_(73)\n  , defined  = _dereq_(18);\n\nmodule.exports = function(that, maxLength, fillString, left){\n  var S            = String(defined(that))\n    , stringLength = S.length\n    , fillStr      = fillString === undefined ? ' ' : String(fillString)\n    , intMaxLength = toLength(maxLength);\n  if(intMaxLength <= stringLength)return S;\n  if(fillStr == '')fillStr = ' ';\n  var fillLen = intMaxLength - stringLength\n    , stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length));\n  if(stringFiller.length > fillLen)stringFiller = stringFiller.slice(0, fillLen);\n  return left ? stringFiller + S : S + stringFiller;\n};\n},{\"18\":18,\"73\":73,\"79\":79}],73:[function(_dereq_,module,exports){\n'use strict';\nvar toInteger = _dereq_(77)\n  , defined   = _dereq_(18);\n\nmodule.exports = function repeat(count){\n  var str = String(defined(this))\n    , res = ''\n    , n   = toInteger(count);\n  if(n < 0 || n == Infinity)throw RangeError(\"Count can't be negative\");\n  for(;n > 0; (n >>>= 1) && (str += str))if(n & 1)res += str;\n  return res;\n};\n},{\"18\":18,\"77\":77}],74:[function(_dereq_,module,exports){\nvar $export = _dereq_(22)\n  , defined = _dereq_(18)\n  , fails   = _dereq_(24)\n  , spaces  = '\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003' +\n      '\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF'\n  , space   = '[' + spaces + ']'\n  , non     = '\\u200b\\u0085'\n  , ltrim   = RegExp('^' + space + space + '*')\n  , rtrim   = RegExp(space + space + '*$');\n\nvar exporter = function(KEY, exec){\n  var exp  = {};\n  exp[KEY] = exec(trim);\n  $export($export.P + $export.F * fails(function(){\n    return !!spaces[KEY]() || non[KEY]() != non;\n  }), 'String', exp);\n};\n\n// 1 -> String#trimLeft\n// 2 -> String#trimRight\n// 3 -> String#trim\nvar trim = exporter.trim = function(string, TYPE){\n  string = String(defined(string));\n  if(TYPE & 1)string = string.replace(ltrim, '');\n  if(TYPE & 2)string = string.replace(rtrim, '');\n  return string;\n};\n\nmodule.exports = exporter;\n},{\"18\":18,\"22\":22,\"24\":24}],75:[function(_dereq_,module,exports){\nvar ctx                = _dereq_(17)\n  , invoke             = _dereq_(33)\n  , html               = _dereq_(32)\n  , cel                = _dereq_(20)\n  , global             = _dereq_(29)\n  , process            = global.process\n  , setTask            = global.setImmediate\n  , clearTask          = global.clearImmediate\n  , MessageChannel     = global.MessageChannel\n  , counter            = 0\n  , queue              = {}\n  , ONREADYSTATECHANGE = 'onreadystatechange'\n  , defer, channel, port;\nvar run = function(){\n  var id = +this;\n  if(queue.hasOwnProperty(id)){\n    var fn = queue[id];\n    delete queue[id];\n    fn();\n  }\n};\nvar listner = function(event){\n  run.call(event.data);\n};\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif(!setTask || !clearTask){\n  setTask = function setImmediate(fn){\n    var args = [], i = 1;\n    while(arguments.length > i)args.push(arguments[i++]);\n    queue[++counter] = function(){\n      invoke(typeof fn == 'function' ? fn : Function(fn), args);\n    };\n    defer(counter);\n    return counter;\n  };\n  clearTask = function clearImmediate(id){\n    delete queue[id];\n  };\n  // Node.js 0.8-\n  if(_dereq_(11)(process) == 'process'){\n    defer = function(id){\n      process.nextTick(ctx(run, id, 1));\n    };\n  // Browsers with MessageChannel, includes WebWorkers\n  } else if(MessageChannel){\n    channel = new MessageChannel;\n    port    = channel.port2;\n    channel.port1.onmessage = listner;\n    defer = ctx(port.postMessage, port, 1);\n  // Browsers with postMessage, skip WebWorkers\n  // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n  } else if(global.addEventListener && typeof postMessage == 'function' && !global.importScripts){\n    defer = function(id){\n      global.postMessage(id + '', '*');\n    };\n    global.addEventListener('message', listner, false);\n  // IE8-\n  } else if(ONREADYSTATECHANGE in cel('script')){\n    defer = function(id){\n      html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function(){\n        html.removeChild(this);\n        run.call(id);\n      };\n    };\n  // Rest old browsers\n  } else {\n    defer = function(id){\n      setTimeout(ctx(run, id, 1), 0);\n    };\n  }\n}\nmodule.exports = {\n  set:   setTask,\n  clear: clearTask\n};\n},{\"11\":11,\"17\":17,\"20\":20,\"29\":29,\"32\":32,\"33\":33}],76:[function(_dereq_,module,exports){\nvar toInteger = _dereq_(77)\n  , max       = Math.max\n  , min       = Math.min;\nmodule.exports = function(index, length){\n  index = toInteger(index);\n  return index < 0 ? max(index + length, 0) : min(index, length);\n};\n},{\"77\":77}],77:[function(_dereq_,module,exports){\n// 7.1.4 ToInteger\nvar ceil  = Math.ceil\n  , floor = Math.floor;\nmodule.exports = function(it){\n  return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n},{}],78:[function(_dereq_,module,exports){\n// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = _dereq_(34)\n  , defined = _dereq_(18);\nmodule.exports = function(it){\n  return IObject(defined(it));\n};\n},{\"18\":18,\"34\":34}],79:[function(_dereq_,module,exports){\n// 7.1.15 ToLength\nvar toInteger = _dereq_(77)\n  , min       = Math.min;\nmodule.exports = function(it){\n  return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n},{\"77\":77}],80:[function(_dereq_,module,exports){\n// 7.1.13 ToObject(argument)\nvar defined = _dereq_(18);\nmodule.exports = function(it){\n  return Object(defined(it));\n};\n},{\"18\":18}],81:[function(_dereq_,module,exports){\n// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = _dereq_(38);\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function(it, S){\n  if(!isObject(it))return it;\n  var fn, val;\n  if(S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;\n  if(typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it)))return val;\n  if(!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;\n  throw TypeError(\"Can't convert object to primitive value\");\n};\n},{\"38\":38}],82:[function(_dereq_,module,exports){\nvar id = 0\n  , px = Math.random();\nmodule.exports = function(key){\n  return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n},{}],83:[function(_dereq_,module,exports){\nvar store  = _dereq_(67)('wks')\n  , uid    = _dereq_(82)\n  , Symbol = _dereq_(29).Symbol;\nmodule.exports = function(name){\n  return store[name] || (store[name] =\n    Symbol && Symbol[name] || (Symbol || uid)('Symbol.' + name));\n};\n},{\"29\":29,\"67\":67,\"82\":82}],84:[function(_dereq_,module,exports){\nvar classof   = _dereq_(10)\n  , ITERATOR  = _dereq_(83)('iterator')\n  , Iterators = _dereq_(45);\nmodule.exports = _dereq_(16).getIteratorMethod = function(it){\n  if(it != undefined)return it[ITERATOR]\n    || it['@@iterator']\n    || Iterators[classof(it)];\n};\n},{\"10\":10,\"16\":16,\"45\":45,\"83\":83}],85:[function(_dereq_,module,exports){\n'use strict';\nvar $                 = _dereq_(46)\n  , $export           = _dereq_(22)\n  , DESCRIPTORS       = _dereq_(19)\n  , createDesc        = _dereq_(59)\n  , html              = _dereq_(32)\n  , cel               = _dereq_(20)\n  , has               = _dereq_(30)\n  , cof               = _dereq_(11)\n  , invoke            = _dereq_(33)\n  , fails             = _dereq_(24)\n  , anObject          = _dereq_(4)\n  , aFunction         = _dereq_(2)\n  , isObject          = _dereq_(38)\n  , toObject          = _dereq_(80)\n  , toIObject         = _dereq_(78)\n  , toInteger         = _dereq_(77)\n  , toIndex           = _dereq_(76)\n  , toLength          = _dereq_(79)\n  , IObject           = _dereq_(34)\n  , IE_PROTO          = _dereq_(82)('__proto__')\n  , createArrayMethod = _dereq_(8)\n  , arrayIndexOf      = _dereq_(7)(false)\n  , ObjectProto       = Object.prototype\n  , ArrayProto        = Array.prototype\n  , arraySlice        = ArrayProto.slice\n  , arrayJoin         = ArrayProto.join\n  , defineProperty    = $.setDesc\n  , getOwnDescriptor  = $.getDesc\n  , defineProperties  = $.setDescs\n  , factories         = {}\n  , IE8_DOM_DEFINE;\n\nif(!DESCRIPTORS){\n  IE8_DOM_DEFINE = !fails(function(){\n    return defineProperty(cel('div'), 'a', {get: function(){ return 7; }}).a != 7;\n  });\n  $.setDesc = function(O, P, Attributes){\n    if(IE8_DOM_DEFINE)try {\n      return defineProperty(O, P, Attributes);\n    } catch(e){ /* empty */ }\n    if('get' in Attributes || 'set' in Attributes)throw TypeError('Accessors not supported!');\n    if('value' in Attributes)anObject(O)[P] = Attributes.value;\n    return O;\n  };\n  $.getDesc = function(O, P){\n    if(IE8_DOM_DEFINE)try {\n      return getOwnDescriptor(O, P);\n    } catch(e){ /* empty */ }\n    if(has(O, P))return createDesc(!ObjectProto.propertyIsEnumerable.call(O, P), O[P]);\n  };\n  $.setDescs = defineProperties = function(O, Properties){\n    anObject(O);\n    var keys   = $.getKeys(Properties)\n      , length = keys.length\n      , i = 0\n      , P;\n    while(length > i)$.setDesc(O, P = keys[i++], Properties[P]);\n    return O;\n  };\n}\n$export($export.S + $export.F * !DESCRIPTORS, 'Object', {\n  // 19.1.2.6 / 15.2.3.3 Object.getOwnPropertyDescriptor(O, P)\n  getOwnPropertyDescriptor: $.getDesc,\n  // 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)\n  defineProperty: $.setDesc,\n  // 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties)\n  defineProperties: defineProperties\n});\n\n  // IE 8- don't enum bug keys\nvar keys1 = ('constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,' +\n            'toLocaleString,toString,valueOf').split(',')\n  // Additional keys for getOwnPropertyNames\n  , keys2 = keys1.concat('length', 'prototype')\n  , keysLen1 = keys1.length;\n\n// Create object with `null` prototype: use iframe Object with cleared prototype\nvar createDict = function(){\n  // Thrash, waste and sodomy: IE GC bug\n  var iframe = cel('iframe')\n    , i      = keysLen1\n    , gt     = '>'\n    , iframeDocument;\n  iframe.style.display = 'none';\n  html.appendChild(iframe);\n  iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n  // createDict = iframe.contentWindow.Object;\n  // html.removeChild(iframe);\n  iframeDocument = iframe.contentWindow.document;\n  iframeDocument.open();\n  iframeDocument.write('<script>document.F=Object</script' + gt);\n  iframeDocument.close();\n  createDict = iframeDocument.F;\n  while(i--)delete createDict.prototype[keys1[i]];\n  return createDict();\n};\nvar createGetKeys = function(names, length){\n  return function(object){\n    var O      = toIObject(object)\n      , i      = 0\n      , result = []\n      , key;\n    for(key in O)if(key != IE_PROTO)has(O, key) && result.push(key);\n    // Don't enum bug & hidden keys\n    while(length > i)if(has(O, key = names[i++])){\n      ~arrayIndexOf(result, key) || result.push(key);\n    }\n    return result;\n  };\n};\nvar Empty = function(){};\n$export($export.S, 'Object', {\n  // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\n  getPrototypeOf: $.getProto = $.getProto || function(O){\n    O = toObject(O);\n    if(has(O, IE_PROTO))return O[IE_PROTO];\n    if(typeof O.constructor == 'function' && O instanceof O.constructor){\n      return O.constructor.prototype;\n    } return O instanceof Object ? ObjectProto : null;\n  },\n  // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\n  getOwnPropertyNames: $.getNames = $.getNames || createGetKeys(keys2, keys2.length, true),\n  // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\n  create: $.create = $.create || function(O, /*?*/Properties){\n    var result;\n    if(O !== null){\n      Empty.prototype = anObject(O);\n      result = new Empty();\n      Empty.prototype = null;\n      // add \"__proto__\" for Object.getPrototypeOf shim\n      result[IE_PROTO] = O;\n    } else result = createDict();\n    return Properties === undefined ? result : defineProperties(result, Properties);\n  },\n  // 19.1.2.14 / 15.2.3.14 Object.keys(O)\n  keys: $.getKeys = $.getKeys || createGetKeys(keys1, keysLen1, false)\n});\n\nvar construct = function(F, len, args){\n  if(!(len in factories)){\n    for(var n = [], i = 0; i < len; i++)n[i] = 'a[' + i + ']';\n    factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')');\n  }\n  return factories[len](F, args);\n};\n\n// 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...)\n$export($export.P, 'Function', {\n  bind: function bind(that /*, args... */){\n    var fn       = aFunction(this)\n      , partArgs = arraySlice.call(arguments, 1);\n    var bound = function(/* args... */){\n      var args = partArgs.concat(arraySlice.call(arguments));\n      return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);\n    };\n    if(isObject(fn.prototype))bound.prototype = fn.prototype;\n    return bound;\n  }\n});\n\n// fallback for not array-like ES3 strings and DOM objects\n$export($export.P + $export.F * fails(function(){\n  if(html)arraySlice.call(html);\n}), 'Array', {\n  slice: function(begin, end){\n    var len   = toLength(this.length)\n      , klass = cof(this);\n    end = end === undefined ? len : end;\n    if(klass == 'Array')return arraySlice.call(this, begin, end);\n    var start  = toIndex(begin, len)\n      , upTo   = toIndex(end, len)\n      , size   = toLength(upTo - start)\n      , cloned = Array(size)\n      , i      = 0;\n    for(; i < size; i++)cloned[i] = klass == 'String'\n      ? this.charAt(start + i)\n      : this[start + i];\n    return cloned;\n  }\n});\n$export($export.P + $export.F * (IObject != Object), 'Array', {\n  join: function join(separator){\n    return arrayJoin.call(IObject(this), separator === undefined ? ',' : separator);\n  }\n});\n\n// 22.1.2.2 / 15.4.3.2 Array.isArray(arg)\n$export($export.S, 'Array', {isArray: _dereq_(36)});\n\nvar createArrayReduce = function(isRight){\n  return function(callbackfn, memo){\n    aFunction(callbackfn);\n    var O      = IObject(this)\n      , length = toLength(O.length)\n      , index  = isRight ? length - 1 : 0\n      , i      = isRight ? -1 : 1;\n    if(arguments.length < 2)for(;;){\n      if(index in O){\n        memo = O[index];\n        index += i;\n        break;\n      }\n      index += i;\n      if(isRight ? index < 0 : length <= index){\n        throw TypeError('Reduce of empty array with no initial value');\n      }\n    }\n    for(;isRight ? index >= 0 : length > index; index += i)if(index in O){\n      memo = callbackfn(memo, O[index], index, this);\n    }\n    return memo;\n  };\n};\n\nvar methodize = function($fn){\n  return function(arg1/*, arg2 = undefined */){\n    return $fn(this, arg1, arguments[1]);\n  };\n};\n\n$export($export.P, 'Array', {\n  // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg])\n  forEach: $.each = $.each || methodize(createArrayMethod(0)),\n  // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])\n  map: methodize(createArrayMethod(1)),\n  // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg])\n  filter: methodize(createArrayMethod(2)),\n  // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg])\n  some: methodize(createArrayMethod(3)),\n  // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg])\n  every: methodize(createArrayMethod(4)),\n  // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue])\n  reduce: createArrayReduce(false),\n  // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue])\n  reduceRight: createArrayReduce(true),\n  // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex])\n  indexOf: methodize(arrayIndexOf),\n  // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex])\n  lastIndexOf: function(el, fromIndex /* = @[*-1] */){\n    var O      = toIObject(this)\n      , length = toLength(O.length)\n      , index  = length - 1;\n    if(arguments.length > 1)index = Math.min(index, toInteger(fromIndex));\n    if(index < 0)index = toLength(length + index);\n    for(;index >= 0; index--)if(index in O)if(O[index] === el)return index;\n    return -1;\n  }\n});\n\n// 20.3.3.1 / 15.9.4.4 Date.now()\n$export($export.S, 'Date', {now: function(){ return +new Date; }});\n\nvar lz = function(num){\n  return num > 9 ? num : '0' + num;\n};\n\n// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()\n// PhantomJS / old WebKit has a broken implementations\n$export($export.P + $export.F * (fails(function(){\n  return new Date(-5e13 - 1).toISOString() != '0385-07-25T07:06:39.999Z';\n}) || !fails(function(){\n  new Date(NaN).toISOString();\n})), 'Date', {\n  toISOString: function toISOString(){\n    if(!isFinite(this))throw RangeError('Invalid time value');\n    var d = this\n      , y = d.getUTCFullYear()\n      , m = d.getUTCMilliseconds()\n      , s = y < 0 ? '-' : y > 9999 ? '+' : '';\n    return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) +\n      '-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) +\n      'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) +\n      ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z';\n  }\n});\n},{\"11\":11,\"19\":19,\"2\":2,\"20\":20,\"22\":22,\"24\":24,\"30\":30,\"32\":32,\"33\":33,\"34\":34,\"36\":36,\"38\":38,\"4\":4,\"46\":46,\"59\":59,\"7\":7,\"76\":76,\"77\":77,\"78\":78,\"79\":79,\"8\":8,\"80\":80,\"82\":82}],86:[function(_dereq_,module,exports){\n// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)\nvar $export = _dereq_(22);\n\n$export($export.P, 'Array', {copyWithin: _dereq_(5)});\n\n_dereq_(3)('copyWithin');\n},{\"22\":22,\"3\":3,\"5\":5}],87:[function(_dereq_,module,exports){\n// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\nvar $export = _dereq_(22);\n\n$export($export.P, 'Array', {fill: _dereq_(6)});\n\n_dereq_(3)('fill');\n},{\"22\":22,\"3\":3,\"6\":6}],88:[function(_dereq_,module,exports){\n'use strict';\n// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)\nvar $export = _dereq_(22)\n  , $find   = _dereq_(8)(6)\n  , KEY     = 'findIndex'\n  , forced  = true;\n// Shouldn't skip holes\nif(KEY in [])Array(1)[KEY](function(){ forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n  findIndex: function findIndex(callbackfn/*, that = undefined */){\n    return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n  }\n});\n_dereq_(3)(KEY);\n},{\"22\":22,\"3\":3,\"8\":8}],89:[function(_dereq_,module,exports){\n'use strict';\n// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)\nvar $export = _dereq_(22)\n  , $find   = _dereq_(8)(5)\n  , KEY     = 'find'\n  , forced  = true;\n// Shouldn't skip holes\nif(KEY in [])Array(1)[KEY](function(){ forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n  find: function find(callbackfn/*, that = undefined */){\n    return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n  }\n});\n_dereq_(3)(KEY);\n},{\"22\":22,\"3\":3,\"8\":8}],90:[function(_dereq_,module,exports){\n'use strict';\nvar ctx         = _dereq_(17)\n  , $export     = _dereq_(22)\n  , toObject    = _dereq_(80)\n  , call        = _dereq_(40)\n  , isArrayIter = _dereq_(35)\n  , toLength    = _dereq_(79)\n  , getIterFn   = _dereq_(84);\n$export($export.S + $export.F * !_dereq_(43)(function(iter){ Array.from(iter); }), 'Array', {\n  // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)\n  from: function from(arrayLike/*, mapfn = undefined, thisArg = undefined*/){\n    var O       = toObject(arrayLike)\n      , C       = typeof this == 'function' ? this : Array\n      , $$      = arguments\n      , $$len   = $$.length\n      , mapfn   = $$len > 1 ? $$[1] : undefined\n      , mapping = mapfn !== undefined\n      , index   = 0\n      , iterFn  = getIterFn(O)\n      , length, result, step, iterator;\n    if(mapping)mapfn = ctx(mapfn, $$len > 2 ? $$[2] : undefined, 2);\n    // if object isn't iterable or it's array with default iterator - use simple case\n    if(iterFn != undefined && !(C == Array && isArrayIter(iterFn))){\n      for(iterator = iterFn.call(O), result = new C; !(step = iterator.next()).done; index++){\n        result[index] = mapping ? call(iterator, mapfn, [step.value, index], true) : step.value;\n      }\n    } else {\n      length = toLength(O.length);\n      for(result = new C(length); length > index; index++){\n        result[index] = mapping ? mapfn(O[index], index) : O[index];\n      }\n    }\n    result.length = index;\n    return result;\n  }\n});\n\n},{\"17\":17,\"22\":22,\"35\":35,\"40\":40,\"43\":43,\"79\":79,\"80\":80,\"84\":84}],91:[function(_dereq_,module,exports){\n'use strict';\nvar addToUnscopables = _dereq_(3)\n  , step             = _dereq_(44)\n  , Iterators        = _dereq_(45)\n  , toIObject        = _dereq_(78);\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = _dereq_(42)(Array, 'Array', function(iterated, kind){\n  this._t = toIObject(iterated); // target\n  this._i = 0;                   // next index\n  this._k = kind;                // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function(){\n  var O     = this._t\n    , kind  = this._k\n    , index = this._i++;\n  if(!O || index >= O.length){\n    this._t = undefined;\n    return step(1);\n  }\n  if(kind == 'keys'  )return step(0, index);\n  if(kind == 'values')return step(0, O[index]);\n  return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n},{\"3\":3,\"42\":42,\"44\":44,\"45\":45,\"78\":78}],92:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(22);\n\n// WebKit Array.of isn't generic\n$export($export.S + $export.F * _dereq_(24)(function(){\n  function F(){}\n  return !(Array.of.call(F) instanceof F);\n}), 'Array', {\n  // 22.1.2.3 Array.of( ...items)\n  of: function of(/* ...args */){\n    var index  = 0\n      , $$     = arguments\n      , $$len  = $$.length\n      , result = new (typeof this == 'function' ? this : Array)($$len);\n    while($$len > index)result[index] = $$[index++];\n    result.length = $$len;\n    return result;\n  }\n});\n},{\"22\":22,\"24\":24}],93:[function(_dereq_,module,exports){\n_dereq_(65)('Array');\n},{\"65\":65}],94:[function(_dereq_,module,exports){\n'use strict';\nvar $             = _dereq_(46)\n  , isObject      = _dereq_(38)\n  , HAS_INSTANCE  = _dereq_(83)('hasInstance')\n  , FunctionProto = Function.prototype;\n// 19.2.3.6 Function.prototype[@@hasInstance](V)\nif(!(HAS_INSTANCE in FunctionProto))$.setDesc(FunctionProto, HAS_INSTANCE, {value: function(O){\n  if(typeof this != 'function' || !isObject(O))return false;\n  if(!isObject(this.prototype))return O instanceof this;\n  // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:\n  while(O = $.getProto(O))if(this.prototype === O)return true;\n  return false;\n}});\n},{\"38\":38,\"46\":46,\"83\":83}],95:[function(_dereq_,module,exports){\nvar setDesc    = _dereq_(46).setDesc\n  , createDesc = _dereq_(59)\n  , has        = _dereq_(30)\n  , FProto     = Function.prototype\n  , nameRE     = /^\\s*function ([^ (]*)/\n  , NAME       = 'name';\n// 19.2.4.2 name\nNAME in FProto || _dereq_(19) && setDesc(FProto, NAME, {\n  configurable: true,\n  get: function(){\n    var match = ('' + this).match(nameRE)\n      , name  = match ? match[1] : '';\n    has(this, NAME) || setDesc(this, NAME, createDesc(5, name));\n    return name;\n  }\n});\n},{\"19\":19,\"30\":30,\"46\":46,\"59\":59}],96:[function(_dereq_,module,exports){\n'use strict';\nvar strong = _dereq_(12);\n\n// 23.1 Map Objects\n_dereq_(15)('Map', function(get){\n  return function Map(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n  // 23.1.3.6 Map.prototype.get(key)\n  get: function get(key){\n    var entry = strong.getEntry(this, key);\n    return entry && entry.v;\n  },\n  // 23.1.3.9 Map.prototype.set(key, value)\n  set: function set(key, value){\n    return strong.def(this, key === 0 ? 0 : key, value);\n  }\n}, strong, true);\n},{\"12\":12,\"15\":15}],97:[function(_dereq_,module,exports){\n// 20.2.2.3 Math.acosh(x)\nvar $export = _dereq_(22)\n  , log1p   = _dereq_(50)\n  , sqrt    = Math.sqrt\n  , $acosh  = Math.acosh;\n\n// V8 bug https://code.google.com/p/v8/issues/detail?id=3509\n$export($export.S + $export.F * !($acosh && Math.floor($acosh(Number.MAX_VALUE)) == 710), 'Math', {\n  acosh: function acosh(x){\n    return (x = +x) < 1 ? NaN : x > 94906265.62425156\n      ? Math.log(x) + Math.LN2\n      : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1));\n  }\n});\n},{\"22\":22,\"50\":50}],98:[function(_dereq_,module,exports){\n// 20.2.2.5 Math.asinh(x)\nvar $export = _dereq_(22);\n\nfunction asinh(x){\n  return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1));\n}\n\n$export($export.S, 'Math', {asinh: asinh});\n},{\"22\":22}],99:[function(_dereq_,module,exports){\n// 20.2.2.7 Math.atanh(x)\nvar $export = _dereq_(22);\n\n$export($export.S, 'Math', {\n  atanh: function atanh(x){\n    return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2;\n  }\n});\n},{\"22\":22}],100:[function(_dereq_,module,exports){\n// 20.2.2.9 Math.cbrt(x)\nvar $export = _dereq_(22)\n  , sign    = _dereq_(51);\n\n$export($export.S, 'Math', {\n  cbrt: function cbrt(x){\n    return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3);\n  }\n});\n},{\"22\":22,\"51\":51}],101:[function(_dereq_,module,exports){\n// 20.2.2.11 Math.clz32(x)\nvar $export = _dereq_(22);\n\n$export($export.S, 'Math', {\n  clz32: function clz32(x){\n    return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32;\n  }\n});\n},{\"22\":22}],102:[function(_dereq_,module,exports){\n// 20.2.2.12 Math.cosh(x)\nvar $export = _dereq_(22)\n  , exp     = Math.exp;\n\n$export($export.S, 'Math', {\n  cosh: function cosh(x){\n    return (exp(x = +x) + exp(-x)) / 2;\n  }\n});\n},{\"22\":22}],103:[function(_dereq_,module,exports){\n// 20.2.2.14 Math.expm1(x)\nvar $export = _dereq_(22);\n\n$export($export.S, 'Math', {expm1: _dereq_(49)});\n},{\"22\":22,\"49\":49}],104:[function(_dereq_,module,exports){\n// 20.2.2.16 Math.fround(x)\nvar $export   = _dereq_(22)\n  , sign      = _dereq_(51)\n  , pow       = Math.pow\n  , EPSILON   = pow(2, -52)\n  , EPSILON32 = pow(2, -23)\n  , MAX32     = pow(2, 127) * (2 - EPSILON32)\n  , MIN32     = pow(2, -126);\n\nvar roundTiesToEven = function(n){\n  return n + 1 / EPSILON - 1 / EPSILON;\n};\n\n\n$export($export.S, 'Math', {\n  fround: function fround(x){\n    var $abs  = Math.abs(x)\n      , $sign = sign(x)\n      , a, result;\n    if($abs < MIN32)return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32;\n    a = (1 + EPSILON32 / EPSILON) * $abs;\n    result = a - (a - $abs);\n    if(result > MAX32 || result != result)return $sign * Infinity;\n    return $sign * result;\n  }\n});\n},{\"22\":22,\"51\":51}],105:[function(_dereq_,module,exports){\n// 20.2.2.17 Math.hypot([value1[, value2[, … ]]])\nvar $export = _dereq_(22)\n  , abs     = Math.abs;\n\n$export($export.S, 'Math', {\n  hypot: function hypot(value1, value2){ // eslint-disable-line no-unused-vars\n    var sum   = 0\n      , i     = 0\n      , $$    = arguments\n      , $$len = $$.length\n      , larg  = 0\n      , arg, div;\n    while(i < $$len){\n      arg = abs($$[i++]);\n      if(larg < arg){\n        div  = larg / arg;\n        sum  = sum * div * div + 1;\n        larg = arg;\n      } else if(arg > 0){\n        div  = arg / larg;\n        sum += div * div;\n      } else sum += arg;\n    }\n    return larg === Infinity ? Infinity : larg * Math.sqrt(sum);\n  }\n});\n},{\"22\":22}],106:[function(_dereq_,module,exports){\n// 20.2.2.18 Math.imul(x, y)\nvar $export = _dereq_(22)\n  , $imul   = Math.imul;\n\n// some WebKit versions fails with big numbers, some has wrong arity\n$export($export.S + $export.F * _dereq_(24)(function(){\n  return $imul(0xffffffff, 5) != -5 || $imul.length != 2;\n}), 'Math', {\n  imul: function imul(x, y){\n    var UINT16 = 0xffff\n      , xn = +x\n      , yn = +y\n      , xl = UINT16 & xn\n      , yl = UINT16 & yn;\n    return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);\n  }\n});\n},{\"22\":22,\"24\":24}],107:[function(_dereq_,module,exports){\n// 20.2.2.21 Math.log10(x)\nvar $export = _dereq_(22);\n\n$export($export.S, 'Math', {\n  log10: function log10(x){\n    return Math.log(x) / Math.LN10;\n  }\n});\n},{\"22\":22}],108:[function(_dereq_,module,exports){\n// 20.2.2.20 Math.log1p(x)\nvar $export = _dereq_(22);\n\n$export($export.S, 'Math', {log1p: _dereq_(50)});\n},{\"22\":22,\"50\":50}],109:[function(_dereq_,module,exports){\n// 20.2.2.22 Math.log2(x)\nvar $export = _dereq_(22);\n\n$export($export.S, 'Math', {\n  log2: function log2(x){\n    return Math.log(x) / Math.LN2;\n  }\n});\n},{\"22\":22}],110:[function(_dereq_,module,exports){\n// 20.2.2.28 Math.sign(x)\nvar $export = _dereq_(22);\n\n$export($export.S, 'Math', {sign: _dereq_(51)});\n},{\"22\":22,\"51\":51}],111:[function(_dereq_,module,exports){\n// 20.2.2.30 Math.sinh(x)\nvar $export = _dereq_(22)\n  , expm1   = _dereq_(49)\n  , exp     = Math.exp;\n\n// V8 near Chromium 38 has a problem with very small numbers\n$export($export.S + $export.F * _dereq_(24)(function(){\n  return !Math.sinh(-2e-17) != -2e-17;\n}), 'Math', {\n  sinh: function sinh(x){\n    return Math.abs(x = +x) < 1\n      ? (expm1(x) - expm1(-x)) / 2\n      : (exp(x - 1) - exp(-x - 1)) * (Math.E / 2);\n  }\n});\n},{\"22\":22,\"24\":24,\"49\":49}],112:[function(_dereq_,module,exports){\n// 20.2.2.33 Math.tanh(x)\nvar $export = _dereq_(22)\n  , expm1   = _dereq_(49)\n  , exp     = Math.exp;\n\n$export($export.S, 'Math', {\n  tanh: function tanh(x){\n    var a = expm1(x = +x)\n      , b = expm1(-x);\n    return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x));\n  }\n});\n},{\"22\":22,\"49\":49}],113:[function(_dereq_,module,exports){\n// 20.2.2.34 Math.trunc(x)\nvar $export = _dereq_(22);\n\n$export($export.S, 'Math', {\n  trunc: function trunc(it){\n    return (it > 0 ? Math.floor : Math.ceil)(it);\n  }\n});\n},{\"22\":22}],114:[function(_dereq_,module,exports){\n'use strict';\nvar $           = _dereq_(46)\n  , global      = _dereq_(29)\n  , has         = _dereq_(30)\n  , cof         = _dereq_(11)\n  , toPrimitive = _dereq_(81)\n  , fails       = _dereq_(24)\n  , $trim       = _dereq_(74).trim\n  , NUMBER      = 'Number'\n  , $Number     = global[NUMBER]\n  , Base        = $Number\n  , proto       = $Number.prototype\n  // Opera ~12 has broken Object#toString\n  , BROKEN_COF  = cof($.create(proto)) == NUMBER\n  , TRIM        = 'trim' in String.prototype;\n\n// 7.1.3 ToNumber(argument)\nvar toNumber = function(argument){\n  var it = toPrimitive(argument, false);\n  if(typeof it == 'string' && it.length > 2){\n    it = TRIM ? it.trim() : $trim(it, 3);\n    var first = it.charCodeAt(0)\n      , third, radix, maxCode;\n    if(first === 43 || first === 45){\n      third = it.charCodeAt(2);\n      if(third === 88 || third === 120)return NaN; // Number('+0x1') should be NaN, old V8 fix\n    } else if(first === 48){\n      switch(it.charCodeAt(1)){\n        case 66 : case 98  : radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i\n        case 79 : case 111 : radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i\n        default : return +it;\n      }\n      for(var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++){\n        code = digits.charCodeAt(i);\n        // parseInt parses a string to a first unavailable symbol\n        // but ToNumber should return NaN if a string contains unavailable symbols\n        if(code < 48 || code > maxCode)return NaN;\n      } return parseInt(digits, radix);\n    }\n  } return +it;\n};\n\nif(!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')){\n  $Number = function Number(value){\n    var it = arguments.length < 1 ? 0 : value\n      , that = this;\n    return that instanceof $Number\n      // check on 1..constructor(foo) case\n      && (BROKEN_COF ? fails(function(){ proto.valueOf.call(that); }) : cof(that) != NUMBER)\n        ? new Base(toNumber(it)) : toNumber(it);\n  };\n  $.each.call(_dereq_(19) ? $.getNames(Base) : (\n    // ES3:\n    'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n    // ES6 (in case, if modules with ES6 Number statics required before):\n    'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +\n    'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'\n  ).split(','), function(key){\n    if(has(Base, key) && !has($Number, key)){\n      $.setDesc($Number, key, $.getDesc(Base, key));\n    }\n  });\n  $Number.prototype = proto;\n  proto.constructor = $Number;\n  _dereq_(61)(global, NUMBER, $Number);\n}\n},{\"11\":11,\"19\":19,\"24\":24,\"29\":29,\"30\":30,\"46\":46,\"61\":61,\"74\":74,\"81\":81}],115:[function(_dereq_,module,exports){\n// 20.1.2.1 Number.EPSILON\nvar $export = _dereq_(22);\n\n$export($export.S, 'Number', {EPSILON: Math.pow(2, -52)});\n},{\"22\":22}],116:[function(_dereq_,module,exports){\n// 20.1.2.2 Number.isFinite(number)\nvar $export   = _dereq_(22)\n  , _isFinite = _dereq_(29).isFinite;\n\n$export($export.S, 'Number', {\n  isFinite: function isFinite(it){\n    return typeof it == 'number' && _isFinite(it);\n  }\n});\n},{\"22\":22,\"29\":29}],117:[function(_dereq_,module,exports){\n// 20.1.2.3 Number.isInteger(number)\nvar $export = _dereq_(22);\n\n$export($export.S, 'Number', {isInteger: _dereq_(37)});\n},{\"22\":22,\"37\":37}],118:[function(_dereq_,module,exports){\n// 20.1.2.4 Number.isNaN(number)\nvar $export = _dereq_(22);\n\n$export($export.S, 'Number', {\n  isNaN: function isNaN(number){\n    return number != number;\n  }\n});\n},{\"22\":22}],119:[function(_dereq_,module,exports){\n// 20.1.2.5 Number.isSafeInteger(number)\nvar $export   = _dereq_(22)\n  , isInteger = _dereq_(37)\n  , abs       = Math.abs;\n\n$export($export.S, 'Number', {\n  isSafeInteger: function isSafeInteger(number){\n    return isInteger(number) && abs(number) <= 0x1fffffffffffff;\n  }\n});\n},{\"22\":22,\"37\":37}],120:[function(_dereq_,module,exports){\n// 20.1.2.6 Number.MAX_SAFE_INTEGER\nvar $export = _dereq_(22);\n\n$export($export.S, 'Number', {MAX_SAFE_INTEGER: 0x1fffffffffffff});\n},{\"22\":22}],121:[function(_dereq_,module,exports){\n// 20.1.2.10 Number.MIN_SAFE_INTEGER\nvar $export = _dereq_(22);\n\n$export($export.S, 'Number', {MIN_SAFE_INTEGER: -0x1fffffffffffff});\n},{\"22\":22}],122:[function(_dereq_,module,exports){\n// 20.1.2.12 Number.parseFloat(string)\nvar $export = _dereq_(22);\n\n$export($export.S, 'Number', {parseFloat: parseFloat});\n},{\"22\":22}],123:[function(_dereq_,module,exports){\n// 20.1.2.13 Number.parseInt(string, radix)\nvar $export = _dereq_(22);\n\n$export($export.S, 'Number', {parseInt: parseInt});\n},{\"22\":22}],124:[function(_dereq_,module,exports){\n// 19.1.3.1 Object.assign(target, source)\nvar $export = _dereq_(22);\n\n$export($export.S + $export.F, 'Object', {assign: _dereq_(53)});\n},{\"22\":22,\"53\":53}],125:[function(_dereq_,module,exports){\n// 19.1.2.5 Object.freeze(O)\nvar isObject = _dereq_(38);\n\n_dereq_(54)('freeze', function($freeze){\n  return function freeze(it){\n    return $freeze && isObject(it) ? $freeze(it) : it;\n  };\n});\n},{\"38\":38,\"54\":54}],126:[function(_dereq_,module,exports){\n// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\nvar toIObject = _dereq_(78);\n\n_dereq_(54)('getOwnPropertyDescriptor', function($getOwnPropertyDescriptor){\n  return function getOwnPropertyDescriptor(it, key){\n    return $getOwnPropertyDescriptor(toIObject(it), key);\n  };\n});\n},{\"54\":54,\"78\":78}],127:[function(_dereq_,module,exports){\n// 19.1.2.7 Object.getOwnPropertyNames(O)\n_dereq_(54)('getOwnPropertyNames', function(){\n  return _dereq_(28).get;\n});\n},{\"28\":28,\"54\":54}],128:[function(_dereq_,module,exports){\n// 19.1.2.9 Object.getPrototypeOf(O)\nvar toObject = _dereq_(80);\n\n_dereq_(54)('getPrototypeOf', function($getPrototypeOf){\n  return function getPrototypeOf(it){\n    return $getPrototypeOf(toObject(it));\n  };\n});\n},{\"54\":54,\"80\":80}],129:[function(_dereq_,module,exports){\n// 19.1.2.11 Object.isExtensible(O)\nvar isObject = _dereq_(38);\n\n_dereq_(54)('isExtensible', function($isExtensible){\n  return function isExtensible(it){\n    return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false;\n  };\n});\n},{\"38\":38,\"54\":54}],130:[function(_dereq_,module,exports){\n// 19.1.2.12 Object.isFrozen(O)\nvar isObject = _dereq_(38);\n\n_dereq_(54)('isFrozen', function($isFrozen){\n  return function isFrozen(it){\n    return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true;\n  };\n});\n},{\"38\":38,\"54\":54}],131:[function(_dereq_,module,exports){\n// 19.1.2.13 Object.isSealed(O)\nvar isObject = _dereq_(38);\n\n_dereq_(54)('isSealed', function($isSealed){\n  return function isSealed(it){\n    return isObject(it) ? $isSealed ? $isSealed(it) : false : true;\n  };\n});\n},{\"38\":38,\"54\":54}],132:[function(_dereq_,module,exports){\n// 19.1.3.10 Object.is(value1, value2)\nvar $export = _dereq_(22);\n$export($export.S, 'Object', {is: _dereq_(63)});\n},{\"22\":22,\"63\":63}],133:[function(_dereq_,module,exports){\n// 19.1.2.14 Object.keys(O)\nvar toObject = _dereq_(80);\n\n_dereq_(54)('keys', function($keys){\n  return function keys(it){\n    return $keys(toObject(it));\n  };\n});\n},{\"54\":54,\"80\":80}],134:[function(_dereq_,module,exports){\n// 19.1.2.15 Object.preventExtensions(O)\nvar isObject = _dereq_(38);\n\n_dereq_(54)('preventExtensions', function($preventExtensions){\n  return function preventExtensions(it){\n    return $preventExtensions && isObject(it) ? $preventExtensions(it) : it;\n  };\n});\n},{\"38\":38,\"54\":54}],135:[function(_dereq_,module,exports){\n// 19.1.2.17 Object.seal(O)\nvar isObject = _dereq_(38);\n\n_dereq_(54)('seal', function($seal){\n  return function seal(it){\n    return $seal && isObject(it) ? $seal(it) : it;\n  };\n});\n},{\"38\":38,\"54\":54}],136:[function(_dereq_,module,exports){\n// 19.1.3.19 Object.setPrototypeOf(O, proto)\nvar $export = _dereq_(22);\n$export($export.S, 'Object', {setPrototypeOf: _dereq_(64).set});\n},{\"22\":22,\"64\":64}],137:[function(_dereq_,module,exports){\n'use strict';\n// 19.1.3.6 Object.prototype.toString()\nvar classof = _dereq_(10)\n  , test    = {};\ntest[_dereq_(83)('toStringTag')] = 'z';\nif(test + '' != '[object z]'){\n  _dereq_(61)(Object.prototype, 'toString', function toString(){\n    return '[object ' + classof(this) + ']';\n  }, true);\n}\n},{\"10\":10,\"61\":61,\"83\":83}],138:[function(_dereq_,module,exports){\n'use strict';\nvar $          = _dereq_(46)\n  , LIBRARY    = _dereq_(48)\n  , global     = _dereq_(29)\n  , ctx        = _dereq_(17)\n  , classof    = _dereq_(10)\n  , $export    = _dereq_(22)\n  , isObject   = _dereq_(38)\n  , anObject   = _dereq_(4)\n  , aFunction  = _dereq_(2)\n  , strictNew  = _dereq_(69)\n  , forOf      = _dereq_(27)\n  , setProto   = _dereq_(64).set\n  , same       = _dereq_(63)\n  , SPECIES    = _dereq_(83)('species')\n  , speciesConstructor = _dereq_(68)\n  , asap       = _dereq_(52)\n  , PROMISE    = 'Promise'\n  , process    = global.process\n  , isNode     = classof(process) == 'process'\n  , P          = global[PROMISE]\n  , Wrapper;\n\nvar testResolve = function(sub){\n  var test = new P(function(){});\n  if(sub)test.constructor = Object;\n  return P.resolve(test) === test;\n};\n\nvar USE_NATIVE = function(){\n  var works = false;\n  function P2(x){\n    var self = new P(x);\n    setProto(self, P2.prototype);\n    return self;\n  }\n  try {\n    works = P && P.resolve && testResolve();\n    setProto(P2, P);\n    P2.prototype = $.create(P.prototype, {constructor: {value: P2}});\n    // actual Firefox has broken subclass support, test that\n    if(!(P2.resolve(5).then(function(){}) instanceof P2)){\n      works = false;\n    }\n    // actual V8 bug, https://code.google.com/p/v8/issues/detail?id=4162\n    if(works && _dereq_(19)){\n      var thenableThenGotten = false;\n      P.resolve($.setDesc({}, 'then', {\n        get: function(){ thenableThenGotten = true; }\n      }));\n      works = thenableThenGotten;\n    }\n  } catch(e){ works = false; }\n  return works;\n}();\n\n// helpers\nvar sameConstructor = function(a, b){\n  // library wrapper special case\n  if(LIBRARY && a === P && b === Wrapper)return true;\n  return same(a, b);\n};\nvar getConstructor = function(C){\n  var S = anObject(C)[SPECIES];\n  return S != undefined ? S : C;\n};\nvar isThenable = function(it){\n  var then;\n  return isObject(it) && typeof (then = it.then) == 'function' ? then : false;\n};\nvar PromiseCapability = function(C){\n  var resolve, reject;\n  this.promise = new C(function($$resolve, $$reject){\n    if(resolve !== undefined || reject !== undefined)throw TypeError('Bad Promise constructor');\n    resolve = $$resolve;\n    reject  = $$reject;\n  });\n  this.resolve = aFunction(resolve),\n  this.reject  = aFunction(reject)\n};\nvar perform = function(exec){\n  try {\n    exec();\n  } catch(e){\n    return {error: e};\n  }\n};\nvar notify = function(record, isReject){\n  if(record.n)return;\n  record.n = true;\n  var chain = record.c;\n  asap(function(){\n    var value = record.v\n      , ok    = record.s == 1\n      , i     = 0;\n    var run = function(reaction){\n      var handler = ok ? reaction.ok : reaction.fail\n        , resolve = reaction.resolve\n        , reject  = reaction.reject\n        , result, then;\n      try {\n        if(handler){\n          if(!ok)record.h = true;\n          result = handler === true ? value : handler(value);\n          if(result === reaction.promise){\n            reject(TypeError('Promise-chain cycle'));\n          } else if(then = isThenable(result)){\n            then.call(result, resolve, reject);\n          } else resolve(result);\n        } else reject(value);\n      } catch(e){\n        reject(e);\n      }\n    };\n    while(chain.length > i)run(chain[i++]); // variable length - can't use forEach\n    chain.length = 0;\n    record.n = false;\n    if(isReject)setTimeout(function(){\n      var promise = record.p\n        , handler, console;\n      if(isUnhandled(promise)){\n        if(isNode){\n          process.emit('unhandledRejection', value, promise);\n        } else if(handler = global.onunhandledrejection){\n          handler({promise: promise, reason: value});\n        } else if((console = global.console) && console.error){\n          console.error('Unhandled promise rejection', value);\n        }\n      } record.a = undefined;\n    }, 1);\n  });\n};\nvar isUnhandled = function(promise){\n  var record = promise._d\n    , chain  = record.a || record.c\n    , i      = 0\n    , reaction;\n  if(record.h)return false;\n  while(chain.length > i){\n    reaction = chain[i++];\n    if(reaction.fail || !isUnhandled(reaction.promise))return false;\n  } return true;\n};\nvar $reject = function(value){\n  var record = this;\n  if(record.d)return;\n  record.d = true;\n  record = record.r || record; // unwrap\n  record.v = value;\n  record.s = 2;\n  record.a = record.c.slice();\n  notify(record, true);\n};\nvar $resolve = function(value){\n  var record = this\n    , then;\n  if(record.d)return;\n  record.d = true;\n  record = record.r || record; // unwrap\n  try {\n    if(record.p === value)throw TypeError(\"Promise can't be resolved itself\");\n    if(then = isThenable(value)){\n      asap(function(){\n        var wrapper = {r: record, d: false}; // wrap\n        try {\n          then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));\n        } catch(e){\n          $reject.call(wrapper, e);\n        }\n      });\n    } else {\n      record.v = value;\n      record.s = 1;\n      notify(record, false);\n    }\n  } catch(e){\n    $reject.call({r: record, d: false}, e); // wrap\n  }\n};\n\n// constructor polyfill\nif(!USE_NATIVE){\n  // 25.4.3.1 Promise(executor)\n  P = function Promise(executor){\n    aFunction(executor);\n    var record = this._d = {\n      p: strictNew(this, P, PROMISE),         // <- promise\n      c: [],                                  // <- awaiting reactions\n      a: undefined,                           // <- checked in isUnhandled reactions\n      s: 0,                                   // <- state\n      d: false,                               // <- done\n      v: undefined,                           // <- value\n      h: false,                               // <- handled rejection\n      n: false                                // <- notify\n    };\n    try {\n      executor(ctx($resolve, record, 1), ctx($reject, record, 1));\n    } catch(err){\n      $reject.call(record, err);\n    }\n  };\n  _dereq_(60)(P.prototype, {\n    // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)\n    then: function then(onFulfilled, onRejected){\n      var reaction = new PromiseCapability(speciesConstructor(this, P))\n        , promise  = reaction.promise\n        , record   = this._d;\n      reaction.ok   = typeof onFulfilled == 'function' ? onFulfilled : true;\n      reaction.fail = typeof onRejected == 'function' && onRejected;\n      record.c.push(reaction);\n      if(record.a)record.a.push(reaction);\n      if(record.s)notify(record, false);\n      return promise;\n    },\n    // 25.4.5.1 Promise.prototype.catch(onRejected)\n    'catch': function(onRejected){\n      return this.then(undefined, onRejected);\n    }\n  });\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, {Promise: P});\n_dereq_(66)(P, PROMISE);\n_dereq_(65)(PROMISE);\nWrapper = _dereq_(16)[PROMISE];\n\n// statics\n$export($export.S + $export.F * !USE_NATIVE, PROMISE, {\n  // 25.4.4.5 Promise.reject(r)\n  reject: function reject(r){\n    var capability = new PromiseCapability(this)\n      , $$reject   = capability.reject;\n    $$reject(r);\n    return capability.promise;\n  }\n});\n$export($export.S + $export.F * (!USE_NATIVE || testResolve(true)), PROMISE, {\n  // 25.4.4.6 Promise.resolve(x)\n  resolve: function resolve(x){\n    // instanceof instead of internal slot check because we should fix it without replacement native Promise core\n    if(x instanceof P && sameConstructor(x.constructor, this))return x;\n    var capability = new PromiseCapability(this)\n      , $$resolve  = capability.resolve;\n    $$resolve(x);\n    return capability.promise;\n  }\n});\n$export($export.S + $export.F * !(USE_NATIVE && _dereq_(43)(function(iter){\n  P.all(iter)['catch'](function(){});\n})), PROMISE, {\n  // 25.4.4.1 Promise.all(iterable)\n  all: function all(iterable){\n    var C          = getConstructor(this)\n      , capability = new PromiseCapability(C)\n      , resolve    = capability.resolve\n      , reject     = capability.reject\n      , values     = [];\n    var abrupt = perform(function(){\n      forOf(iterable, false, values.push, values);\n      var remaining = values.length\n        , results   = Array(remaining);\n      if(remaining)$.each.call(values, function(promise, index){\n        var alreadyCalled = false;\n        C.resolve(promise).then(function(value){\n          if(alreadyCalled)return;\n          alreadyCalled = true;\n          results[index] = value;\n          --remaining || resolve(results);\n        }, reject);\n      });\n      else resolve(results);\n    });\n    if(abrupt)reject(abrupt.error);\n    return capability.promise;\n  },\n  // 25.4.4.4 Promise.race(iterable)\n  race: function race(iterable){\n    var C          = getConstructor(this)\n      , capability = new PromiseCapability(C)\n      , reject     = capability.reject;\n    var abrupt = perform(function(){\n      forOf(iterable, false, function(promise){\n        C.resolve(promise).then(capability.resolve, reject);\n      });\n    });\n    if(abrupt)reject(abrupt.error);\n    return capability.promise;\n  }\n});\n},{\"10\":10,\"16\":16,\"17\":17,\"19\":19,\"2\":2,\"22\":22,\"27\":27,\"29\":29,\"38\":38,\"4\":4,\"43\":43,\"46\":46,\"48\":48,\"52\":52,\"60\":60,\"63\":63,\"64\":64,\"65\":65,\"66\":66,\"68\":68,\"69\":69,\"83\":83}],139:[function(_dereq_,module,exports){\n// 26.1.1 Reflect.apply(target, thisArgument, argumentsList)\nvar $export = _dereq_(22)\n  , _apply  = Function.apply;\n\n$export($export.S, 'Reflect', {\n  apply: function apply(target, thisArgument, argumentsList){\n    return _apply.call(target, thisArgument, argumentsList);\n  }\n});\n},{\"22\":22}],140:[function(_dereq_,module,exports){\n// 26.1.2 Reflect.construct(target, argumentsList [, newTarget])\nvar $         = _dereq_(46)\n  , $export   = _dereq_(22)\n  , aFunction = _dereq_(2)\n  , anObject  = _dereq_(4)\n  , isObject  = _dereq_(38)\n  , bind      = Function.bind || _dereq_(16).Function.prototype.bind;\n\n// MS Edge supports only 2 arguments\n// FF Nightly sets third argument as `new.target`, but does not create `this` from it\n$export($export.S + $export.F * _dereq_(24)(function(){\n  function F(){}\n  return !(Reflect.construct(function(){}, [], F) instanceof F);\n}), 'Reflect', {\n  construct: function construct(Target, args /*, newTarget*/){\n    aFunction(Target);\n    var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);\n    if(Target == newTarget){\n      // w/o altered newTarget, optimization for 0-4 arguments\n      if(args != undefined)switch(anObject(args).length){\n        case 0: return new Target;\n        case 1: return new Target(args[0]);\n        case 2: return new Target(args[0], args[1]);\n        case 3: return new Target(args[0], args[1], args[2]);\n        case 4: return new Target(args[0], args[1], args[2], args[3]);\n      }\n      // w/o altered newTarget, lot of arguments case\n      var $args = [null];\n      $args.push.apply($args, args);\n      return new (bind.apply(Target, $args));\n    }\n    // with altered newTarget, not support built-in constructors\n    var proto    = newTarget.prototype\n      , instance = $.create(isObject(proto) ? proto : Object.prototype)\n      , result   = Function.apply.call(Target, instance, args);\n    return isObject(result) ? result : instance;\n  }\n});\n},{\"16\":16,\"2\":2,\"22\":22,\"24\":24,\"38\":38,\"4\":4,\"46\":46}],141:[function(_dereq_,module,exports){\n// 26.1.3 Reflect.defineProperty(target, propertyKey, attributes)\nvar $        = _dereq_(46)\n  , $export  = _dereq_(22)\n  , anObject = _dereq_(4);\n\n// MS Edge has broken Reflect.defineProperty - throwing instead of returning false\n$export($export.S + $export.F * _dereq_(24)(function(){\n  Reflect.defineProperty($.setDesc({}, 1, {value: 1}), 1, {value: 2});\n}), 'Reflect', {\n  defineProperty: function defineProperty(target, propertyKey, attributes){\n    anObject(target);\n    try {\n      $.setDesc(target, propertyKey, attributes);\n      return true;\n    } catch(e){\n      return false;\n    }\n  }\n});\n},{\"22\":22,\"24\":24,\"4\":4,\"46\":46}],142:[function(_dereq_,module,exports){\n// 26.1.4 Reflect.deleteProperty(target, propertyKey)\nvar $export  = _dereq_(22)\n  , getDesc  = _dereq_(46).getDesc\n  , anObject = _dereq_(4);\n\n$export($export.S, 'Reflect', {\n  deleteProperty: function deleteProperty(target, propertyKey){\n    var desc = getDesc(anObject(target), propertyKey);\n    return desc && !desc.configurable ? false : delete target[propertyKey];\n  }\n});\n},{\"22\":22,\"4\":4,\"46\":46}],143:[function(_dereq_,module,exports){\n'use strict';\n// 26.1.5 Reflect.enumerate(target)\nvar $export  = _dereq_(22)\n  , anObject = _dereq_(4);\nvar Enumerate = function(iterated){\n  this._t = anObject(iterated); // target\n  this._i = 0;                  // next index\n  var keys = this._k = []       // keys\n    , key;\n  for(key in iterated)keys.push(key);\n};\n_dereq_(41)(Enumerate, 'Object', function(){\n  var that = this\n    , keys = that._k\n    , key;\n  do {\n    if(that._i >= keys.length)return {value: undefined, done: true};\n  } while(!((key = keys[that._i++]) in that._t));\n  return {value: key, done: false};\n});\n\n$export($export.S, 'Reflect', {\n  enumerate: function enumerate(target){\n    return new Enumerate(target);\n  }\n});\n},{\"22\":22,\"4\":4,\"41\":41}],144:[function(_dereq_,module,exports){\n// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey)\nvar $        = _dereq_(46)\n  , $export  = _dereq_(22)\n  , anObject = _dereq_(4);\n\n$export($export.S, 'Reflect', {\n  getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey){\n    return $.getDesc(anObject(target), propertyKey);\n  }\n});\n},{\"22\":22,\"4\":4,\"46\":46}],145:[function(_dereq_,module,exports){\n// 26.1.8 Reflect.getPrototypeOf(target)\nvar $export  = _dereq_(22)\n  , getProto = _dereq_(46).getProto\n  , anObject = _dereq_(4);\n\n$export($export.S, 'Reflect', {\n  getPrototypeOf: function getPrototypeOf(target){\n    return getProto(anObject(target));\n  }\n});\n},{\"22\":22,\"4\":4,\"46\":46}],146:[function(_dereq_,module,exports){\n// 26.1.6 Reflect.get(target, propertyKey [, receiver])\nvar $        = _dereq_(46)\n  , has      = _dereq_(30)\n  , $export  = _dereq_(22)\n  , isObject = _dereq_(38)\n  , anObject = _dereq_(4);\n\nfunction get(target, propertyKey/*, receiver*/){\n  var receiver = arguments.length < 3 ? target : arguments[2]\n    , desc, proto;\n  if(anObject(target) === receiver)return target[propertyKey];\n  if(desc = $.getDesc(target, propertyKey))return has(desc, 'value')\n    ? desc.value\n    : desc.get !== undefined\n      ? desc.get.call(receiver)\n      : undefined;\n  if(isObject(proto = $.getProto(target)))return get(proto, propertyKey, receiver);\n}\n\n$export($export.S, 'Reflect', {get: get});\n},{\"22\":22,\"30\":30,\"38\":38,\"4\":4,\"46\":46}],147:[function(_dereq_,module,exports){\n// 26.1.9 Reflect.has(target, propertyKey)\nvar $export = _dereq_(22);\n\n$export($export.S, 'Reflect', {\n  has: function has(target, propertyKey){\n    return propertyKey in target;\n  }\n});\n},{\"22\":22}],148:[function(_dereq_,module,exports){\n// 26.1.10 Reflect.isExtensible(target)\nvar $export       = _dereq_(22)\n  , anObject      = _dereq_(4)\n  , $isExtensible = Object.isExtensible;\n\n$export($export.S, 'Reflect', {\n  isExtensible: function isExtensible(target){\n    anObject(target);\n    return $isExtensible ? $isExtensible(target) : true;\n  }\n});\n},{\"22\":22,\"4\":4}],149:[function(_dereq_,module,exports){\n// 26.1.11 Reflect.ownKeys(target)\nvar $export = _dereq_(22);\n\n$export($export.S, 'Reflect', {ownKeys: _dereq_(56)});\n},{\"22\":22,\"56\":56}],150:[function(_dereq_,module,exports){\n// 26.1.12 Reflect.preventExtensions(target)\nvar $export            = _dereq_(22)\n  , anObject           = _dereq_(4)\n  , $preventExtensions = Object.preventExtensions;\n\n$export($export.S, 'Reflect', {\n  preventExtensions: function preventExtensions(target){\n    anObject(target);\n    try {\n      if($preventExtensions)$preventExtensions(target);\n      return true;\n    } catch(e){\n      return false;\n    }\n  }\n});\n},{\"22\":22,\"4\":4}],151:[function(_dereq_,module,exports){\n// 26.1.14 Reflect.setPrototypeOf(target, proto)\nvar $export  = _dereq_(22)\n  , setProto = _dereq_(64);\n\nif(setProto)$export($export.S, 'Reflect', {\n  setPrototypeOf: function setPrototypeOf(target, proto){\n    setProto.check(target, proto);\n    try {\n      setProto.set(target, proto);\n      return true;\n    } catch(e){\n      return false;\n    }\n  }\n});\n},{\"22\":22,\"64\":64}],152:[function(_dereq_,module,exports){\n// 26.1.13 Reflect.set(target, propertyKey, V [, receiver])\nvar $          = _dereq_(46)\n  , has        = _dereq_(30)\n  , $export    = _dereq_(22)\n  , createDesc = _dereq_(59)\n  , anObject   = _dereq_(4)\n  , isObject   = _dereq_(38);\n\nfunction set(target, propertyKey, V/*, receiver*/){\n  var receiver = arguments.length < 4 ? target : arguments[3]\n    , ownDesc  = $.getDesc(anObject(target), propertyKey)\n    , existingDescriptor, proto;\n  if(!ownDesc){\n    if(isObject(proto = $.getProto(target))){\n      return set(proto, propertyKey, V, receiver);\n    }\n    ownDesc = createDesc(0);\n  }\n  if(has(ownDesc, 'value')){\n    if(ownDesc.writable === false || !isObject(receiver))return false;\n    existingDescriptor = $.getDesc(receiver, propertyKey) || createDesc(0);\n    existingDescriptor.value = V;\n    $.setDesc(receiver, propertyKey, existingDescriptor);\n    return true;\n  }\n  return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true);\n}\n\n$export($export.S, 'Reflect', {set: set});\n},{\"22\":22,\"30\":30,\"38\":38,\"4\":4,\"46\":46,\"59\":59}],153:[function(_dereq_,module,exports){\nvar $        = _dereq_(46)\n  , global   = _dereq_(29)\n  , isRegExp = _dereq_(39)\n  , $flags   = _dereq_(26)\n  , $RegExp  = global.RegExp\n  , Base     = $RegExp\n  , proto    = $RegExp.prototype\n  , re1      = /a/g\n  , re2      = /a/g\n  // \"new\" creates a new object, old webkit buggy here\n  , CORRECT_NEW = new $RegExp(re1) !== re1;\n\nif(_dereq_(19) && (!CORRECT_NEW || _dereq_(24)(function(){\n  re2[_dereq_(83)('match')] = false;\n  // RegExp constructor can alter flags and IsRegExp works correct with @@match\n  return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';\n}))){\n  $RegExp = function RegExp(p, f){\n    var piRE = isRegExp(p)\n      , fiU  = f === undefined;\n    return !(this instanceof $RegExp) && piRE && p.constructor === $RegExp && fiU ? p\n      : CORRECT_NEW\n        ? new Base(piRE && !fiU ? p.source : p, f)\n        : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f);\n  };\n  $.each.call($.getNames(Base), function(key){\n    key in $RegExp || $.setDesc($RegExp, key, {\n      configurable: true,\n      get: function(){ return Base[key]; },\n      set: function(it){ Base[key] = it; }\n    });\n  });\n  proto.constructor = $RegExp;\n  $RegExp.prototype = proto;\n  _dereq_(61)(global, 'RegExp', $RegExp);\n}\n\n_dereq_(65)('RegExp');\n},{\"19\":19,\"24\":24,\"26\":26,\"29\":29,\"39\":39,\"46\":46,\"61\":61,\"65\":65,\"83\":83}],154:[function(_dereq_,module,exports){\n// 21.2.5.3 get RegExp.prototype.flags()\nvar $ = _dereq_(46);\nif(_dereq_(19) && /./g.flags != 'g')$.setDesc(RegExp.prototype, 'flags', {\n  configurable: true,\n  get: _dereq_(26)\n});\n},{\"19\":19,\"26\":26,\"46\":46}],155:[function(_dereq_,module,exports){\n// @@match logic\n_dereq_(25)('match', 1, function(defined, MATCH){\n  // 21.1.3.11 String.prototype.match(regexp)\n  return function match(regexp){\n    'use strict';\n    var O  = defined(this)\n      , fn = regexp == undefined ? undefined : regexp[MATCH];\n    return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));\n  };\n});\n},{\"25\":25}],156:[function(_dereq_,module,exports){\n// @@replace logic\n_dereq_(25)('replace', 2, function(defined, REPLACE, $replace){\n  // 21.1.3.14 String.prototype.replace(searchValue, replaceValue)\n  return function replace(searchValue, replaceValue){\n    'use strict';\n    var O  = defined(this)\n      , fn = searchValue == undefined ? undefined : searchValue[REPLACE];\n    return fn !== undefined\n      ? fn.call(searchValue, O, replaceValue)\n      : $replace.call(String(O), searchValue, replaceValue);\n  };\n});\n},{\"25\":25}],157:[function(_dereq_,module,exports){\n// @@search logic\n_dereq_(25)('search', 1, function(defined, SEARCH){\n  // 21.1.3.15 String.prototype.search(regexp)\n  return function search(regexp){\n    'use strict';\n    var O  = defined(this)\n      , fn = regexp == undefined ? undefined : regexp[SEARCH];\n    return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));\n  };\n});\n},{\"25\":25}],158:[function(_dereq_,module,exports){\n// @@split logic\n_dereq_(25)('split', 2, function(defined, SPLIT, $split){\n  // 21.1.3.17 String.prototype.split(separator, limit)\n  return function split(separator, limit){\n    'use strict';\n    var O  = defined(this)\n      , fn = separator == undefined ? undefined : separator[SPLIT];\n    return fn !== undefined\n      ? fn.call(separator, O, limit)\n      : $split.call(String(O), separator, limit);\n  };\n});\n},{\"25\":25}],159:[function(_dereq_,module,exports){\n'use strict';\nvar strong = _dereq_(12);\n\n// 23.2 Set Objects\n_dereq_(15)('Set', function(get){\n  return function Set(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n  // 23.2.3.1 Set.prototype.add(value)\n  add: function add(value){\n    return strong.def(this, value = value === 0 ? 0 : value, value);\n  }\n}, strong);\n},{\"12\":12,\"15\":15}],160:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(22)\n  , $at     = _dereq_(70)(false);\n$export($export.P, 'String', {\n  // 21.1.3.3 String.prototype.codePointAt(pos)\n  codePointAt: function codePointAt(pos){\n    return $at(this, pos);\n  }\n});\n},{\"22\":22,\"70\":70}],161:[function(_dereq_,module,exports){\n// 21.1.3.6 String.prototype.endsWith(searchString [, endPosition])\n'use strict';\nvar $export   = _dereq_(22)\n  , toLength  = _dereq_(79)\n  , context   = _dereq_(71)\n  , ENDS_WITH = 'endsWith'\n  , $endsWith = ''[ENDS_WITH];\n\n$export($export.P + $export.F * _dereq_(23)(ENDS_WITH), 'String', {\n  endsWith: function endsWith(searchString /*, endPosition = @length */){\n    var that = context(this, searchString, ENDS_WITH)\n      , $$   = arguments\n      , endPosition = $$.length > 1 ? $$[1] : undefined\n      , len    = toLength(that.length)\n      , end    = endPosition === undefined ? len : Math.min(toLength(endPosition), len)\n      , search = String(searchString);\n    return $endsWith\n      ? $endsWith.call(that, search, end)\n      : that.slice(end - search.length, end) === search;\n  }\n});\n},{\"22\":22,\"23\":23,\"71\":71,\"79\":79}],162:[function(_dereq_,module,exports){\nvar $export        = _dereq_(22)\n  , toIndex        = _dereq_(76)\n  , fromCharCode   = String.fromCharCode\n  , $fromCodePoint = String.fromCodePoint;\n\n// length should be 1, old FF problem\n$export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', {\n  // 21.1.2.2 String.fromCodePoint(...codePoints)\n  fromCodePoint: function fromCodePoint(x){ // eslint-disable-line no-unused-vars\n    var res   = []\n      , $$    = arguments\n      , $$len = $$.length\n      , i     = 0\n      , code;\n    while($$len > i){\n      code = +$$[i++];\n      if(toIndex(code, 0x10ffff) !== code)throw RangeError(code + ' is not a valid code point');\n      res.push(code < 0x10000\n        ? fromCharCode(code)\n        : fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00)\n      );\n    } return res.join('');\n  }\n});\n},{\"22\":22,\"76\":76}],163:[function(_dereq_,module,exports){\n// 21.1.3.7 String.prototype.includes(searchString, position = 0)\n'use strict';\nvar $export  = _dereq_(22)\n  , context  = _dereq_(71)\n  , INCLUDES = 'includes';\n\n$export($export.P + $export.F * _dereq_(23)(INCLUDES), 'String', {\n  includes: function includes(searchString /*, position = 0 */){\n    return !!~context(this, searchString, INCLUDES)\n      .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);\n  }\n});\n},{\"22\":22,\"23\":23,\"71\":71}],164:[function(_dereq_,module,exports){\n'use strict';\nvar $at  = _dereq_(70)(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\n_dereq_(42)(String, 'String', function(iterated){\n  this._t = String(iterated); // target\n  this._i = 0;                // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function(){\n  var O     = this._t\n    , index = this._i\n    , point;\n  if(index >= O.length)return {value: undefined, done: true};\n  point = $at(O, index);\n  this._i += point.length;\n  return {value: point, done: false};\n});\n},{\"42\":42,\"70\":70}],165:[function(_dereq_,module,exports){\nvar $export   = _dereq_(22)\n  , toIObject = _dereq_(78)\n  , toLength  = _dereq_(79);\n\n$export($export.S, 'String', {\n  // 21.1.2.4 String.raw(callSite, ...substitutions)\n  raw: function raw(callSite){\n    var tpl   = toIObject(callSite.raw)\n      , len   = toLength(tpl.length)\n      , $$    = arguments\n      , $$len = $$.length\n      , res   = []\n      , i     = 0;\n    while(len > i){\n      res.push(String(tpl[i++]));\n      if(i < $$len)res.push(String($$[i]));\n    } return res.join('');\n  }\n});\n},{\"22\":22,\"78\":78,\"79\":79}],166:[function(_dereq_,module,exports){\nvar $export = _dereq_(22);\n\n$export($export.P, 'String', {\n  // 21.1.3.13 String.prototype.repeat(count)\n  repeat: _dereq_(73)\n});\n},{\"22\":22,\"73\":73}],167:[function(_dereq_,module,exports){\n// 21.1.3.18 String.prototype.startsWith(searchString [, position ])\n'use strict';\nvar $export     = _dereq_(22)\n  , toLength    = _dereq_(79)\n  , context     = _dereq_(71)\n  , STARTS_WITH = 'startsWith'\n  , $startsWith = ''[STARTS_WITH];\n\n$export($export.P + $export.F * _dereq_(23)(STARTS_WITH), 'String', {\n  startsWith: function startsWith(searchString /*, position = 0 */){\n    var that   = context(this, searchString, STARTS_WITH)\n      , $$     = arguments\n      , index  = toLength(Math.min($$.length > 1 ? $$[1] : undefined, that.length))\n      , search = String(searchString);\n    return $startsWith\n      ? $startsWith.call(that, search, index)\n      : that.slice(index, index + search.length) === search;\n  }\n});\n},{\"22\":22,\"23\":23,\"71\":71,\"79\":79}],168:[function(_dereq_,module,exports){\n'use strict';\n// 21.1.3.25 String.prototype.trim()\n_dereq_(74)('trim', function($trim){\n  return function trim(){\n    return $trim(this, 3);\n  };\n});\n},{\"74\":74}],169:[function(_dereq_,module,exports){\n'use strict';\n// ECMAScript 6 symbols shim\nvar $              = _dereq_(46)\n  , global         = _dereq_(29)\n  , has            = _dereq_(30)\n  , DESCRIPTORS    = _dereq_(19)\n  , $export        = _dereq_(22)\n  , redefine       = _dereq_(61)\n  , $fails         = _dereq_(24)\n  , shared         = _dereq_(67)\n  , setToStringTag = _dereq_(66)\n  , uid            = _dereq_(82)\n  , wks            = _dereq_(83)\n  , keyOf          = _dereq_(47)\n  , $names         = _dereq_(28)\n  , enumKeys       = _dereq_(21)\n  , isArray        = _dereq_(36)\n  , anObject       = _dereq_(4)\n  , toIObject      = _dereq_(78)\n  , createDesc     = _dereq_(59)\n  , getDesc        = $.getDesc\n  , setDesc        = $.setDesc\n  , _create        = $.create\n  , getNames       = $names.get\n  , $Symbol        = global.Symbol\n  , $JSON          = global.JSON\n  , _stringify     = $JSON && $JSON.stringify\n  , setter         = false\n  , HIDDEN         = wks('_hidden')\n  , isEnum         = $.isEnum\n  , SymbolRegistry = shared('symbol-registry')\n  , AllSymbols     = shared('symbols')\n  , useNative      = typeof $Symbol == 'function'\n  , ObjectProto    = Object.prototype;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDesc = DESCRIPTORS && $fails(function(){\n  return _create(setDesc({}, 'a', {\n    get: function(){ return setDesc(this, 'a', {value: 7}).a; }\n  })).a != 7;\n}) ? function(it, key, D){\n  var protoDesc = getDesc(ObjectProto, key);\n  if(protoDesc)delete ObjectProto[key];\n  setDesc(it, key, D);\n  if(protoDesc && it !== ObjectProto)setDesc(ObjectProto, key, protoDesc);\n} : setDesc;\n\nvar wrap = function(tag){\n  var sym = AllSymbols[tag] = _create($Symbol.prototype);\n  sym._k = tag;\n  DESCRIPTORS && setter && setSymbolDesc(ObjectProto, tag, {\n    configurable: true,\n    set: function(value){\n      if(has(this, HIDDEN) && has(this[HIDDEN], tag))this[HIDDEN][tag] = false;\n      setSymbolDesc(this, tag, createDesc(1, value));\n    }\n  });\n  return sym;\n};\n\nvar isSymbol = function(it){\n  return typeof it == 'symbol';\n};\n\nvar $defineProperty = function defineProperty(it, key, D){\n  if(D && has(AllSymbols, key)){\n    if(!D.enumerable){\n      if(!has(it, HIDDEN))setDesc(it, HIDDEN, createDesc(1, {}));\n      it[HIDDEN][key] = true;\n    } else {\n      if(has(it, HIDDEN) && it[HIDDEN][key])it[HIDDEN][key] = false;\n      D = _create(D, {enumerable: createDesc(0, false)});\n    } return setSymbolDesc(it, key, D);\n  } return setDesc(it, key, D);\n};\nvar $defineProperties = function defineProperties(it, P){\n  anObject(it);\n  var keys = enumKeys(P = toIObject(P))\n    , i    = 0\n    , l = keys.length\n    , key;\n  while(l > i)$defineProperty(it, key = keys[i++], P[key]);\n  return it;\n};\nvar $create = function create(it, P){\n  return P === undefined ? _create(it) : $defineProperties(_create(it), P);\n};\nvar $propertyIsEnumerable = function propertyIsEnumerable(key){\n  var E = isEnum.call(this, key);\n  return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key]\n    ? E : true;\n};\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key){\n  var D = getDesc(it = toIObject(it), key);\n  if(D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key]))D.enumerable = true;\n  return D;\n};\nvar $getOwnPropertyNames = function getOwnPropertyNames(it){\n  var names  = getNames(toIObject(it))\n    , result = []\n    , i      = 0\n    , key;\n  while(names.length > i)if(!has(AllSymbols, key = names[i++]) && key != HIDDEN)result.push(key);\n  return result;\n};\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(it){\n  var names  = getNames(toIObject(it))\n    , result = []\n    , i      = 0\n    , key;\n  while(names.length > i)if(has(AllSymbols, key = names[i++]))result.push(AllSymbols[key]);\n  return result;\n};\nvar $stringify = function stringify(it){\n  if(it === undefined || isSymbol(it))return; // IE8 returns string on undefined\n  var args = [it]\n    , i    = 1\n    , $$   = arguments\n    , replacer, $replacer;\n  while($$.length > i)args.push($$[i++]);\n  replacer = args[1];\n  if(typeof replacer == 'function')$replacer = replacer;\n  if($replacer || !isArray(replacer))replacer = function(key, value){\n    if($replacer)value = $replacer.call(this, key, value);\n    if(!isSymbol(value))return value;\n  };\n  args[1] = replacer;\n  return _stringify.apply($JSON, args);\n};\nvar buggyJSON = $fails(function(){\n  var S = $Symbol();\n  // MS Edge converts symbol values to JSON as {}\n  // WebKit converts symbol values to JSON as null\n  // V8 throws on boxed symbols\n  return _stringify([S]) != '[null]' || _stringify({a: S}) != '{}' || _stringify(Object(S)) != '{}';\n});\n\n// 19.4.1.1 Symbol([description])\nif(!useNative){\n  $Symbol = function Symbol(){\n    if(isSymbol(this))throw TypeError('Symbol is not a constructor');\n    return wrap(uid(arguments.length > 0 ? arguments[0] : undefined));\n  };\n  redefine($Symbol.prototype, 'toString', function toString(){\n    return this._k;\n  });\n\n  isSymbol = function(it){\n    return it instanceof $Symbol;\n  };\n\n  $.create     = $create;\n  $.isEnum     = $propertyIsEnumerable;\n  $.getDesc    = $getOwnPropertyDescriptor;\n  $.setDesc    = $defineProperty;\n  $.setDescs   = $defineProperties;\n  $.getNames   = $names.get = $getOwnPropertyNames;\n  $.getSymbols = $getOwnPropertySymbols;\n\n  if(DESCRIPTORS && !_dereq_(48)){\n    redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);\n  }\n}\n\nvar symbolStatics = {\n  // 19.4.2.1 Symbol.for(key)\n  'for': function(key){\n    return has(SymbolRegistry, key += '')\n      ? SymbolRegistry[key]\n      : SymbolRegistry[key] = $Symbol(key);\n  },\n  // 19.4.2.5 Symbol.keyFor(sym)\n  keyFor: function keyFor(key){\n    return keyOf(SymbolRegistry, key);\n  },\n  useSetter: function(){ setter = true; },\n  useSimple: function(){ setter = false; }\n};\n// 19.4.2.2 Symbol.hasInstance\n// 19.4.2.3 Symbol.isConcatSpreadable\n// 19.4.2.4 Symbol.iterator\n// 19.4.2.6 Symbol.match\n// 19.4.2.8 Symbol.replace\n// 19.4.2.9 Symbol.search\n// 19.4.2.10 Symbol.species\n// 19.4.2.11 Symbol.split\n// 19.4.2.12 Symbol.toPrimitive\n// 19.4.2.13 Symbol.toStringTag\n// 19.4.2.14 Symbol.unscopables\n$.each.call((\n  'hasInstance,isConcatSpreadable,iterator,match,replace,search,' +\n  'species,split,toPrimitive,toStringTag,unscopables'\n).split(','), function(it){\n  var sym = wks(it);\n  symbolStatics[it] = useNative ? sym : wrap(sym);\n});\n\nsetter = true;\n\n$export($export.G + $export.W, {Symbol: $Symbol});\n\n$export($export.S, 'Symbol', symbolStatics);\n\n$export($export.S + $export.F * !useNative, 'Object', {\n  // 19.1.2.2 Object.create(O [, Properties])\n  create: $create,\n  // 19.1.2.4 Object.defineProperty(O, P, Attributes)\n  defineProperty: $defineProperty,\n  // 19.1.2.3 Object.defineProperties(O, Properties)\n  defineProperties: $defineProperties,\n  // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\n  getOwnPropertyDescriptor: $getOwnPropertyDescriptor,\n  // 19.1.2.7 Object.getOwnPropertyNames(O)\n  getOwnPropertyNames: $getOwnPropertyNames,\n  // 19.1.2.8 Object.getOwnPropertySymbols(O)\n  getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// 24.3.2 JSON.stringify(value [, replacer [, space]])\n$JSON && $export($export.S + $export.F * (!useNative || buggyJSON), 'JSON', {stringify: $stringify});\n\n// 19.4.3.5 Symbol.prototype[@@toStringTag]\nsetToStringTag($Symbol, 'Symbol');\n// 20.2.1.9 Math[@@toStringTag]\nsetToStringTag(Math, 'Math', true);\n// 24.3.3 JSON[@@toStringTag]\nsetToStringTag(global.JSON, 'JSON', true);\n},{\"19\":19,\"21\":21,\"22\":22,\"24\":24,\"28\":28,\"29\":29,\"30\":30,\"36\":36,\"4\":4,\"46\":46,\"47\":47,\"48\":48,\"59\":59,\"61\":61,\"66\":66,\"67\":67,\"78\":78,\"82\":82,\"83\":83}],170:[function(_dereq_,module,exports){\n'use strict';\nvar $            = _dereq_(46)\n  , redefine     = _dereq_(61)\n  , weak         = _dereq_(14)\n  , isObject     = _dereq_(38)\n  , has          = _dereq_(30)\n  , frozenStore  = weak.frozenStore\n  , WEAK         = weak.WEAK\n  , isExtensible = Object.isExtensible || isObject\n  , tmp          = {};\n\n// 23.3 WeakMap Objects\nvar $WeakMap = _dereq_(15)('WeakMap', function(get){\n  return function WeakMap(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n  // 23.3.3.3 WeakMap.prototype.get(key)\n  get: function get(key){\n    if(isObject(key)){\n      if(!isExtensible(key))return frozenStore(this).get(key);\n      if(has(key, WEAK))return key[WEAK][this._i];\n    }\n  },\n  // 23.3.3.5 WeakMap.prototype.set(key, value)\n  set: function set(key, value){\n    return weak.def(this, key, value);\n  }\n}, weak, true, true);\n\n// IE11 WeakMap frozen keys fix\nif(new $WeakMap().set((Object.freeze || Object)(tmp), 7).get(tmp) != 7){\n  $.each.call(['delete', 'has', 'get', 'set'], function(key){\n    var proto  = $WeakMap.prototype\n      , method = proto[key];\n    redefine(proto, key, function(a, b){\n      // store frozen objects on leaky map\n      if(isObject(a) && !isExtensible(a)){\n        var result = frozenStore(this)[key](a, b);\n        return key == 'set' ? this : result;\n      // store all the rest on native weakmap\n      } return method.call(this, a, b);\n    });\n  });\n}\n},{\"14\":14,\"15\":15,\"30\":30,\"38\":38,\"46\":46,\"61\":61}],171:[function(_dereq_,module,exports){\n'use strict';\nvar weak = _dereq_(14);\n\n// 23.4 WeakSet Objects\n_dereq_(15)('WeakSet', function(get){\n  return function WeakSet(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n  // 23.4.3.1 WeakSet.prototype.add(value)\n  add: function add(value){\n    return weak.def(this, value, true);\n  }\n}, weak, false, true);\n},{\"14\":14,\"15\":15}],172:[function(_dereq_,module,exports){\n'use strict';\nvar $export   = _dereq_(22)\n  , $includes = _dereq_(7)(true);\n\n$export($export.P, 'Array', {\n  // https://github.com/domenic/Array.prototype.includes\n  includes: function includes(el /*, fromIndex = 0 */){\n    return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n  }\n});\n\n_dereq_(3)('includes');\n},{\"22\":22,\"3\":3,\"7\":7}],173:[function(_dereq_,module,exports){\n// https://github.com/DavidBruant/Map-Set.prototype.toJSON\nvar $export  = _dereq_(22);\n\n$export($export.P, 'Map', {toJSON: _dereq_(13)('Map')});\n},{\"13\":13,\"22\":22}],174:[function(_dereq_,module,exports){\n// http://goo.gl/XkBrjD\nvar $export  = _dereq_(22)\n  , $entries = _dereq_(55)(true);\n\n$export($export.S, 'Object', {\n  entries: function entries(it){\n    return $entries(it);\n  }\n});\n},{\"22\":22,\"55\":55}],175:[function(_dereq_,module,exports){\n// https://gist.github.com/WebReflection/9353781\nvar $          = _dereq_(46)\n  , $export    = _dereq_(22)\n  , ownKeys    = _dereq_(56)\n  , toIObject  = _dereq_(78)\n  , createDesc = _dereq_(59);\n\n$export($export.S, 'Object', {\n  getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object){\n    var O       = toIObject(object)\n      , setDesc = $.setDesc\n      , getDesc = $.getDesc\n      , keys    = ownKeys(O)\n      , result  = {}\n      , i       = 0\n      , key, D;\n    while(keys.length > i){\n      D = getDesc(O, key = keys[i++]);\n      if(key in result)setDesc(result, key, createDesc(0, D));\n      else result[key] = D;\n    } return result;\n  }\n});\n},{\"22\":22,\"46\":46,\"56\":56,\"59\":59,\"78\":78}],176:[function(_dereq_,module,exports){\n// http://goo.gl/XkBrjD\nvar $export = _dereq_(22)\n  , $values = _dereq_(55)(false);\n\n$export($export.S, 'Object', {\n  values: function values(it){\n    return $values(it);\n  }\n});\n},{\"22\":22,\"55\":55}],177:[function(_dereq_,module,exports){\n// https://github.com/benjamingr/RexExp.escape\nvar $export = _dereq_(22)\n  , $re     = _dereq_(62)(/[\\\\^$*+?.()|[\\]{}]/g, '\\\\$&');\n\n$export($export.S, 'RegExp', {escape: function escape(it){ return $re(it); }});\n\n},{\"22\":22,\"62\":62}],178:[function(_dereq_,module,exports){\n// https://github.com/DavidBruant/Map-Set.prototype.toJSON\nvar $export  = _dereq_(22);\n\n$export($export.P, 'Set', {toJSON: _dereq_(13)('Set')});\n},{\"13\":13,\"22\":22}],179:[function(_dereq_,module,exports){\n'use strict';\n// https://github.com/mathiasbynens/String.prototype.at\nvar $export = _dereq_(22)\n  , $at     = _dereq_(70)(true);\n\n$export($export.P, 'String', {\n  at: function at(pos){\n    return $at(this, pos);\n  }\n});\n},{\"22\":22,\"70\":70}],180:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(22)\n  , $pad    = _dereq_(72);\n\n$export($export.P, 'String', {\n  padLeft: function padLeft(maxLength /*, fillString = ' ' */){\n    return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true);\n  }\n});\n},{\"22\":22,\"72\":72}],181:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(22)\n  , $pad    = _dereq_(72);\n\n$export($export.P, 'String', {\n  padRight: function padRight(maxLength /*, fillString = ' ' */){\n    return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false);\n  }\n});\n},{\"22\":22,\"72\":72}],182:[function(_dereq_,module,exports){\n'use strict';\n// https://github.com/sebmarkbage/ecmascript-string-left-right-trim\n_dereq_(74)('trimLeft', function($trim){\n  return function trimLeft(){\n    return $trim(this, 1);\n  };\n});\n},{\"74\":74}],183:[function(_dereq_,module,exports){\n'use strict';\n// https://github.com/sebmarkbage/ecmascript-string-left-right-trim\n_dereq_(74)('trimRight', function($trim){\n  return function trimRight(){\n    return $trim(this, 2);\n  };\n});\n},{\"74\":74}],184:[function(_dereq_,module,exports){\n// JavaScript 1.6 / Strawman array statics shim\nvar $       = _dereq_(46)\n  , $export = _dereq_(22)\n  , $ctx    = _dereq_(17)\n  , $Array  = _dereq_(16).Array || Array\n  , statics = {};\nvar setStatics = function(keys, length){\n  $.each.call(keys.split(','), function(key){\n    if(length == undefined && key in $Array)statics[key] = $Array[key];\n    else if(key in [])statics[key] = $ctx(Function.call, [][key], length);\n  });\n};\nsetStatics('pop,reverse,shift,keys,values,entries', 1);\nsetStatics('indexOf,every,some,forEach,map,filter,find,findIndex,includes', 3);\nsetStatics('join,slice,concat,push,splice,unshift,sort,lastIndexOf,' +\n           'reduce,reduceRight,copyWithin,fill');\n$export($export.S, 'Array', statics);\n},{\"16\":16,\"17\":17,\"22\":22,\"46\":46}],185:[function(_dereq_,module,exports){\n_dereq_(91);\nvar global      = _dereq_(29)\n  , hide        = _dereq_(31)\n  , Iterators   = _dereq_(45)\n  , ITERATOR    = _dereq_(83)('iterator')\n  , NL          = global.NodeList\n  , HTC         = global.HTMLCollection\n  , NLProto     = NL && NL.prototype\n  , HTCProto    = HTC && HTC.prototype\n  , ArrayValues = Iterators.NodeList = Iterators.HTMLCollection = Iterators.Array;\nif(NLProto && !NLProto[ITERATOR])hide(NLProto, ITERATOR, ArrayValues);\nif(HTCProto && !HTCProto[ITERATOR])hide(HTCProto, ITERATOR, ArrayValues);\n},{\"29\":29,\"31\":31,\"45\":45,\"83\":83,\"91\":91}],186:[function(_dereq_,module,exports){\nvar $export = _dereq_(22)\n  , $task   = _dereq_(75);\n$export($export.G + $export.B, {\n  setImmediate:   $task.set,\n  clearImmediate: $task.clear\n});\n},{\"22\":22,\"75\":75}],187:[function(_dereq_,module,exports){\n// ie9- setTimeout & setInterval additional parameters fix\nvar global     = _dereq_(29)\n  , $export    = _dereq_(22)\n  , invoke     = _dereq_(33)\n  , partial    = _dereq_(57)\n  , navigator  = global.navigator\n  , MSIE       = !!navigator && /MSIE .\\./.test(navigator.userAgent); // <- dirty ie9- check\nvar wrap = function(set){\n  return MSIE ? function(fn, time /*, ...args */){\n    return set(invoke(\n      partial,\n      [].slice.call(arguments, 2),\n      typeof fn == 'function' ? fn : Function(fn)\n    ), time);\n  } : set;\n};\n$export($export.G + $export.B + $export.F * MSIE, {\n  setTimeout:  wrap(global.setTimeout),\n  setInterval: wrap(global.setInterval)\n});\n},{\"22\":22,\"29\":29,\"33\":33,\"57\":57}],188:[function(_dereq_,module,exports){\n_dereq_(85);\n_dereq_(169);\n_dereq_(124);\n_dereq_(132);\n_dereq_(136);\n_dereq_(137);\n_dereq_(125);\n_dereq_(135);\n_dereq_(134);\n_dereq_(130);\n_dereq_(131);\n_dereq_(129);\n_dereq_(126);\n_dereq_(128);\n_dereq_(133);\n_dereq_(127);\n_dereq_(95);\n_dereq_(94);\n_dereq_(114);\n_dereq_(115);\n_dereq_(116);\n_dereq_(117);\n_dereq_(118);\n_dereq_(119);\n_dereq_(120);\n_dereq_(121);\n_dereq_(122);\n_dereq_(123);\n_dereq_(97);\n_dereq_(98);\n_dereq_(99);\n_dereq_(100);\n_dereq_(101);\n_dereq_(102);\n_dereq_(103);\n_dereq_(104);\n_dereq_(105);\n_dereq_(106);\n_dereq_(107);\n_dereq_(108);\n_dereq_(109);\n_dereq_(110);\n_dereq_(111);\n_dereq_(112);\n_dereq_(113);\n_dereq_(162);\n_dereq_(165);\n_dereq_(168);\n_dereq_(164);\n_dereq_(160);\n_dereq_(161);\n_dereq_(163);\n_dereq_(166);\n_dereq_(167);\n_dereq_(90);\n_dereq_(92);\n_dereq_(91);\n_dereq_(93);\n_dereq_(86);\n_dereq_(87);\n_dereq_(89);\n_dereq_(88);\n_dereq_(153);\n_dereq_(154);\n_dereq_(155);\n_dereq_(156);\n_dereq_(157);\n_dereq_(158);\n_dereq_(138);\n_dereq_(96);\n_dereq_(159);\n_dereq_(170);\n_dereq_(171);\n_dereq_(139);\n_dereq_(140);\n_dereq_(141);\n_dereq_(142);\n_dereq_(143);\n_dereq_(146);\n_dereq_(144);\n_dereq_(145);\n_dereq_(147);\n_dereq_(148);\n_dereq_(149);\n_dereq_(150);\n_dereq_(152);\n_dereq_(151);\n_dereq_(172);\n_dereq_(179);\n_dereq_(180);\n_dereq_(181);\n_dereq_(182);\n_dereq_(183);\n_dereq_(177);\n_dereq_(175);\n_dereq_(176);\n_dereq_(174);\n_dereq_(173);\n_dereq_(178);\n_dereq_(184);\n_dereq_(187);\n_dereq_(186);\n_dereq_(185);\nmodule.exports = _dereq_(16);\n},{\"100\":100,\"101\":101,\"102\":102,\"103\":103,\"104\":104,\"105\":105,\"106\":106,\"107\":107,\"108\":108,\"109\":109,\"110\":110,\"111\":111,\"112\":112,\"113\":113,\"114\":114,\"115\":115,\"116\":116,\"117\":117,\"118\":118,\"119\":119,\"120\":120,\"121\":121,\"122\":122,\"123\":123,\"124\":124,\"125\":125,\"126\":126,\"127\":127,\"128\":128,\"129\":129,\"130\":130,\"131\":131,\"132\":132,\"133\":133,\"134\":134,\"135\":135,\"136\":136,\"137\":137,\"138\":138,\"139\":139,\"140\":140,\"141\":141,\"142\":142,\"143\":143,\"144\":144,\"145\":145,\"146\":146,\"147\":147,\"148\":148,\"149\":149,\"150\":150,\"151\":151,\"152\":152,\"153\":153,\"154\":154,\"155\":155,\"156\":156,\"157\":157,\"158\":158,\"159\":159,\"16\":16,\"160\":160,\"161\":161,\"162\":162,\"163\":163,\"164\":164,\"165\":165,\"166\":166,\"167\":167,\"168\":168,\"169\":169,\"170\":170,\"171\":171,\"172\":172,\"173\":173,\"174\":174,\"175\":175,\"176\":176,\"177\":177,\"178\":178,\"179\":179,\"180\":180,\"181\":181,\"182\":182,\"183\":183,\"184\":184,\"185\":185,\"186\":186,\"187\":187,\"85\":85,\"86\":86,\"87\":87,\"88\":88,\"89\":89,\"90\":90,\"91\":91,\"92\":92,\"93\":93,\"94\":94,\"95\":95,\"96\":96,\"97\":97,\"98\":98,\"99\":99}],189:[function(_dereq_,module,exports){\n(function (global){\n/**\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 iteratorSymbol =\n    typeof Symbol === \"function\" && Symbol.iterator || \"@@iterator\";\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, then outerFn.prototype instanceof Generator.\n    var generator = Object.create((outerFn || Generator).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  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    }\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    // This invoke function is written in a style that assumes some\n    // calling function (or Promise) will handle exceptions.\n    function invoke(method, arg) {\n      var result = generator[method](arg);\n      var value = result.value;\n      return value instanceof AwaitArgument\n        ? Promise.resolve(value.arg).then(invokeNext, invokeThrow)\n        : 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            return result;\n          });\n    }\n\n    if (typeof process === \"object\" && process.domain) {\n      invoke = process.domain.bind(invoke);\n    }\n\n    var invokeNext = invoke.bind(generator, \"next\");\n    var invokeThrow = invoke.bind(generator, \"throw\");\n    var invokeReturn = invoke.bind(generator, \"return\");\n    var previousPromise;\n\n    function enqueue(method, arg) {\n      function callInvokeWithMethodAndArg() {\n        return invoke(method, arg);\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        ) : new Promise(function (resolve) {\n          resolve(callInvokeWithMethodAndArg());\n        });\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          if (state === GenStateSuspendedYield) {\n            context.sent = arg;\n          } else {\n            context.sent = undefined;\n          }\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.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      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\n}).call(this,typeof global !== \"undefined\" ? global : typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : {})\n},{}]},{},[1]);\n","/*!\n * jQuery JavaScript Library v3.6.0\n * https://jquery.com/\n *\n * Includes Sizzle.js\n * https://sizzlejs.com/\n *\n * Copyright OpenJS Foundation and other contributors\n * Released under the MIT license\n * https://jquery.org/license\n *\n * Date: 2021-03-02T17:08Z\n */\n( function( global, factory ) {\n\n\t\"use strict\";\n\n\tif ( typeof module === \"object\" && typeof module.exports === \"object\" ) {\n\n\t\t// For CommonJS and CommonJS-like environments where a proper `window`\n\t\t// is present, execute the factory and get jQuery.\n\t\t// For environments that do not have a `window` with a `document`\n\t\t// (such as Node.js), expose a factory as module.exports.\n\t\t// This accentuates the need for the creation of a real `window`.\n\t\t// e.g. var jQuery = require(\"jquery\")(window);\n\t\t// See ticket #14549 for more info.\n\t\tmodule.exports = global.document ?\n\t\t\tfactory( global, true ) :\n\t\t\tfunction( w ) {\n\t\t\t\tif ( !w.document ) {\n\t\t\t\t\tthrow new Error( \"jQuery requires a window with a document\" );\n\t\t\t\t}\n\t\t\t\treturn factory( w );\n\t\t\t};\n\t} else {\n\t\tfactory( global );\n\t}\n\n// Pass this if window is not defined yet\n} )( typeof window !== \"undefined\" ? window : this, function( window, noGlobal ) {\n\n// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1\n// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode\n// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common\n// enough that all such attempts are guarded in a try block.\n\"use strict\";\n\nvar arr = [];\n\nvar getProto = Object.getPrototypeOf;\n\nvar slice = arr.slice;\n\nvar flat = arr.flat ? function( array ) {\n\treturn arr.flat.call( array );\n} : function( array ) {\n\treturn arr.concat.apply( [], array );\n};\n\n\nvar push = arr.push;\n\nvar indexOf = arr.indexOf;\n\nvar class2type = {};\n\nvar toString = class2type.toString;\n\nvar hasOwn = class2type.hasOwnProperty;\n\nvar fnToString = hasOwn.toString;\n\nvar ObjectFunctionString = fnToString.call( Object );\n\nvar support = {};\n\nvar isFunction = function isFunction( obj ) {\n\n\t\t// Support: Chrome <=57, Firefox <=52\n\t\t// In some browsers, typeof returns \"function\" for HTML <object> elements\n\t\t// (i.e., `typeof document.createElement( \"object\" ) === \"function\"`).\n\t\t// We don't want to classify *any* DOM node as a function.\n\t\t// Support: QtWeb <=3.8.5, WebKit <=534.34, wkhtmltopdf tool <=0.12.5\n\t\t// Plus for old WebKit, typeof returns \"function\" for HTML collections\n\t\t// (e.g., `typeof document.getElementsByTagName(\"div\") === \"function\"`). (gh-4756)\n\t\treturn typeof obj === \"function\" && typeof obj.nodeType !== \"number\" &&\n\t\t\ttypeof obj.item !== \"function\";\n\t};\n\n\nvar isWindow = function isWindow( obj ) {\n\t\treturn obj != null && obj === obj.window;\n\t};\n\n\nvar document = window.document;\n\n\n\n\tvar preservedScriptAttributes = {\n\t\ttype: true,\n\t\tsrc: true,\n\t\tnonce: true,\n\t\tnoModule: true\n\t};\n\n\tfunction DOMEval( code, node, doc ) {\n\t\tdoc = doc || document;\n\n\t\tvar i, val,\n\t\t\tscript = doc.createElement( \"script\" );\n\n\t\tscript.text = code;\n\t\tif ( node ) {\n\t\t\tfor ( i in preservedScriptAttributes ) {\n\n\t\t\t\t// Support: Firefox 64+, Edge 18+\n\t\t\t\t// Some browsers don't support the \"nonce\" property on scripts.\n\t\t\t\t// On the other hand, just using `getAttribute` is not enough as\n\t\t\t\t// the `nonce` attribute is reset to an empty string whenever it\n\t\t\t\t// becomes browsing-context connected.\n\t\t\t\t// See https://github.com/whatwg/html/issues/2369\n\t\t\t\t// See https://html.spec.whatwg.org/#nonce-attributes\n\t\t\t\t// The `node.getAttribute` check was added for the sake of\n\t\t\t\t// `jQuery.globalEval` so that it can fake a nonce-containing node\n\t\t\t\t// via an object.\n\t\t\t\tval = node[ i ] || node.getAttribute && node.getAttribute( i );\n\t\t\t\tif ( val ) {\n\t\t\t\t\tscript.setAttribute( i, val );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tdoc.head.appendChild( script ).parentNode.removeChild( script );\n\t}\n\n\nfunction toType( obj ) {\n\tif ( obj == null ) {\n\t\treturn obj + \"\";\n\t}\n\n\t// Support: Android <=2.3 only (functionish RegExp)\n\treturn typeof obj === \"object\" || typeof obj === \"function\" ?\n\t\tclass2type[ toString.call( obj ) ] || \"object\" :\n\t\ttypeof obj;\n}\n/* global Symbol */\n// Defining this global in .eslintrc.json would create a danger of using the global\n// unguarded in another place, it seems safer to define global only for this module\n\n\n\nvar\n\tversion = \"3.6.0\",\n\n\t// Define a local copy of jQuery\n\tjQuery = function( selector, context ) {\n\n\t\t// The jQuery object is actually just the init constructor 'enhanced'\n\t\t// Need init if jQuery is called (just allow error to be thrown if not included)\n\t\treturn new jQuery.fn.init( selector, context );\n\t};\n\njQuery.fn = jQuery.prototype = {\n\n\t// The current version of jQuery being used\n\tjquery: version,\n\n\tconstructor: jQuery,\n\n\t// The default length of a jQuery object is 0\n\tlength: 0,\n\n\ttoArray: function() {\n\t\treturn slice.call( this );\n\t},\n\n\t// Get the Nth element in the matched element set OR\n\t// Get the whole matched element set as a clean array\n\tget: function( num ) {\n\n\t\t// Return all the elements in a clean array\n\t\tif ( num == null ) {\n\t\t\treturn slice.call( this );\n\t\t}\n\n\t\t// Return just the one element from the set\n\t\treturn num < 0 ? this[ num + this.length ] : this[ num ];\n\t},\n\n\t// Take an array of elements and push it onto the stack\n\t// (returning the new matched element set)\n\tpushStack: function( elems ) {\n\n\t\t// Build a new jQuery matched element set\n\t\tvar ret = jQuery.merge( this.constructor(), elems );\n\n\t\t// Add the old object onto the stack (as a reference)\n\t\tret.prevObject = this;\n\n\t\t// Return the newly-formed element set\n\t\treturn ret;\n\t},\n\n\t// Execute a callback for every element in the matched set.\n\teach: function( callback ) {\n\t\treturn jQuery.each( this, callback );\n\t},\n\n\tmap: function( callback ) {\n\t\treturn this.pushStack( jQuery.map( this, function( elem, i ) {\n\t\t\treturn callback.call( elem, i, elem );\n\t\t} ) );\n\t},\n\n\tslice: function() {\n\t\treturn this.pushStack( slice.apply( this, arguments ) );\n\t},\n\n\tfirst: function() {\n\t\treturn this.eq( 0 );\n\t},\n\n\tlast: function() {\n\t\treturn this.eq( -1 );\n\t},\n\n\teven: function() {\n\t\treturn this.pushStack( jQuery.grep( this, function( _elem, i ) {\n\t\t\treturn ( i + 1 ) % 2;\n\t\t} ) );\n\t},\n\n\todd: function() {\n\t\treturn this.pushStack( jQuery.grep( this, function( _elem, i ) {\n\t\t\treturn i % 2;\n\t\t} ) );\n\t},\n\n\teq: function( i ) {\n\t\tvar len = this.length,\n\t\t\tj = +i + ( i < 0 ? len : 0 );\n\t\treturn this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] );\n\t},\n\n\tend: function() {\n\t\treturn this.prevObject || this.constructor();\n\t},\n\n\t// For internal use only.\n\t// Behaves like an Array's method, not like a jQuery method.\n\tpush: push,\n\tsort: arr.sort,\n\tsplice: arr.splice\n};\n\njQuery.extend = jQuery.fn.extend = function() {\n\tvar options, name, src, copy, copyIsArray, clone,\n\t\ttarget = arguments[ 0 ] || {},\n\t\ti = 1,\n\t\tlength = arguments.length,\n\t\tdeep = false;\n\n\t// Handle a deep copy situation\n\tif ( typeof target === \"boolean\" ) {\n\t\tdeep = target;\n\n\t\t// Skip the boolean and the target\n\t\ttarget = arguments[ i ] || {};\n\t\ti++;\n\t}\n\n\t// Handle case when target is a string or something (possible in deep copy)\n\tif ( typeof target !== \"object\" && !isFunction( target ) ) {\n\t\ttarget = {};\n\t}\n\n\t// Extend jQuery itself if only one argument is passed\n\tif ( i === length ) {\n\t\ttarget = this;\n\t\ti--;\n\t}\n\n\tfor ( ; i < length; i++ ) {\n\n\t\t// Only deal with non-null/undefined values\n\t\tif ( ( options = arguments[ i ] ) != null ) {\n\n\t\t\t// Extend the base object\n\t\t\tfor ( name in options ) {\n\t\t\t\tcopy = options[ name ];\n\n\t\t\t\t// Prevent Object.prototype pollution\n\t\t\t\t// Prevent never-ending loop\n\t\t\t\tif ( name === \"__proto__\" || target === copy ) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t// Recurse if we're merging plain objects or arrays\n\t\t\t\tif ( deep && copy && ( jQuery.isPlainObject( copy ) ||\n\t\t\t\t\t( copyIsArray = Array.isArray( copy ) ) ) ) {\n\t\t\t\t\tsrc = target[ name ];\n\n\t\t\t\t\t// Ensure proper type for the source value\n\t\t\t\t\tif ( copyIsArray && !Array.isArray( src ) ) {\n\t\t\t\t\t\tclone = [];\n\t\t\t\t\t} else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) {\n\t\t\t\t\t\tclone = {};\n\t\t\t\t\t} else {\n\t\t\t\t\t\tclone = src;\n\t\t\t\t\t}\n\t\t\t\t\tcopyIsArray = false;\n\n\t\t\t\t\t// Never move original objects, clone them\n\t\t\t\t\ttarget[ name ] = jQuery.extend( deep, clone, copy );\n\n\t\t\t\t// Don't bring in undefined values\n\t\t\t\t} else if ( copy !== undefined ) {\n\t\t\t\t\ttarget[ name ] = copy;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Return the modified object\n\treturn target;\n};\n\njQuery.extend( {\n\n\t// Unique for each copy of jQuery on the page\n\texpando: \"jQuery\" + ( version + Math.random() ).replace( /\\D/g, \"\" ),\n\n\t// Assume jQuery is ready without the ready module\n\tisReady: true,\n\n\terror: function( msg ) {\n\t\tthrow new Error( msg );\n\t},\n\n\tnoop: function() {},\n\n\tisPlainObject: function( obj ) {\n\t\tvar proto, Ctor;\n\n\t\t// Detect obvious negatives\n\t\t// Use toString instead of jQuery.type to catch host objects\n\t\tif ( !obj || toString.call( obj ) !== \"[object Object]\" ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tproto = getProto( obj );\n\n\t\t// Objects with no prototype (e.g., `Object.create( null )`) are plain\n\t\tif ( !proto ) {\n\t\t\treturn true;\n\t\t}\n\n\t\t// Objects with prototype are plain iff they were constructed by a global Object function\n\t\tCtor = hasOwn.call( proto, \"constructor\" ) && proto.constructor;\n\t\treturn typeof Ctor === \"function\" && fnToString.call( Ctor ) === ObjectFunctionString;\n\t},\n\n\tisEmptyObject: function( obj ) {\n\t\tvar name;\n\n\t\tfor ( name in obj ) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t},\n\n\t// Evaluates a script in a provided context; falls back to the global one\n\t// if not specified.\n\tglobalEval: function( code, options, doc ) {\n\t\tDOMEval( code, { nonce: options && options.nonce }, doc );\n\t},\n\n\teach: function( obj, callback ) {\n\t\tvar length, i = 0;\n\n\t\tif ( isArrayLike( obj ) ) {\n\t\t\tlength = obj.length;\n\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\tif ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tfor ( i in obj ) {\n\t\t\t\tif ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn obj;\n\t},\n\n\t// results is for internal usage only\n\tmakeArray: function( arr, results ) {\n\t\tvar ret = results || [];\n\n\t\tif ( arr != null ) {\n\t\t\tif ( isArrayLike( Object( arr ) ) ) {\n\t\t\t\tjQuery.merge( ret,\n\t\t\t\t\ttypeof arr === \"string\" ?\n\t\t\t\t\t\t[ arr ] : arr\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tpush.call( ret, arr );\n\t\t\t}\n\t\t}\n\n\t\treturn ret;\n\t},\n\n\tinArray: function( elem, arr, i ) {\n\t\treturn arr == null ? -1 : indexOf.call( arr, elem, i );\n\t},\n\n\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t// push.apply(_, arraylike) throws on ancient WebKit\n\tmerge: function( first, second ) {\n\t\tvar len = +second.length,\n\t\t\tj = 0,\n\t\t\ti = first.length;\n\n\t\tfor ( ; j < len; j++ ) {\n\t\t\tfirst[ i++ ] = second[ j ];\n\t\t}\n\n\t\tfirst.length = i;\n\n\t\treturn first;\n\t},\n\n\tgrep: function( elems, callback, invert ) {\n\t\tvar callbackInverse,\n\t\t\tmatches = [],\n\t\t\ti = 0,\n\t\t\tlength = elems.length,\n\t\t\tcallbackExpect = !invert;\n\n\t\t// Go through the array, only saving the items\n\t\t// that pass the validator function\n\t\tfor ( ; i < length; i++ ) {\n\t\t\tcallbackInverse = !callback( elems[ i ], i );\n\t\t\tif ( callbackInverse !== callbackExpect ) {\n\t\t\t\tmatches.push( elems[ i ] );\n\t\t\t}\n\t\t}\n\n\t\treturn matches;\n\t},\n\n\t// arg is for internal usage only\n\tmap: function( elems, callback, arg ) {\n\t\tvar length, value,\n\t\t\ti = 0,\n\t\t\tret = [];\n\n\t\t// Go through the array, translating each of the items to their new values\n\t\tif ( isArrayLike( elems ) ) {\n\t\t\tlength = elems.length;\n\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\tvalue = callback( elems[ i ], i, arg );\n\n\t\t\t\tif ( value != null ) {\n\t\t\t\t\tret.push( value );\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Go through every key on the object,\n\t\t} else {\n\t\t\tfor ( i in elems ) {\n\t\t\t\tvalue = callback( elems[ i ], i, arg );\n\n\t\t\t\tif ( value != null ) {\n\t\t\t\t\tret.push( value );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Flatten any nested arrays\n\t\treturn flat( ret );\n\t},\n\n\t// A global GUID counter for objects\n\tguid: 1,\n\n\t// jQuery.support is not used in Core but other projects attach their\n\t// properties to it so it needs to exist.\n\tsupport: support\n} );\n\nif ( typeof Symbol === \"function\" ) {\n\tjQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ];\n}\n\n// Populate the class2type map\njQuery.each( \"Boolean Number String Function Array Date RegExp Object Error Symbol\".split( \" \" ),\n\tfunction( _i, name ) {\n\t\tclass2type[ \"[object \" + name + \"]\" ] = name.toLowerCase();\n\t} );\n\nfunction isArrayLike( obj ) {\n\n\t// Support: real iOS 8.2 only (not reproducible in simulator)\n\t// `in` check used to prevent JIT error (gh-2145)\n\t// hasOwn isn't used here due to false negatives\n\t// regarding Nodelist length in IE\n\tvar length = !!obj && \"length\" in obj && obj.length,\n\t\ttype = toType( obj );\n\n\tif ( isFunction( obj ) || isWindow( obj ) ) {\n\t\treturn false;\n\t}\n\n\treturn type === \"array\" || length === 0 ||\n\t\ttypeof length === \"number\" && length > 0 && ( length - 1 ) in obj;\n}\nvar Sizzle =\n/*!\n * Sizzle CSS Selector Engine v2.3.6\n * https://sizzlejs.com/\n *\n * Copyright JS Foundation and other contributors\n * Released under the MIT license\n * https://js.foundation/\n *\n * Date: 2021-02-16\n */\n( function( window ) {\nvar i,\n\tsupport,\n\tExpr,\n\tgetText,\n\tisXML,\n\ttokenize,\n\tcompile,\n\tselect,\n\toutermostContext,\n\tsortInput,\n\thasDuplicate,\n\n\t// Local document vars\n\tsetDocument,\n\tdocument,\n\tdocElem,\n\tdocumentIsHTML,\n\trbuggyQSA,\n\trbuggyMatches,\n\tmatches,\n\tcontains,\n\n\t// Instance-specific data\n\texpando = \"sizzle\" + 1 * new Date(),\n\tpreferredDoc = window.document,\n\tdirruns = 0,\n\tdone = 0,\n\tclassCache = createCache(),\n\ttokenCache = createCache(),\n\tcompilerCache = createCache(),\n\tnonnativeSelectorCache = createCache(),\n\tsortOrder = function( a, b ) {\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t}\n\t\treturn 0;\n\t},\n\n\t// Instance methods\n\thasOwn = ( {} ).hasOwnProperty,\n\tarr = [],\n\tpop = arr.pop,\n\tpushNative = arr.push,\n\tpush = arr.push,\n\tslice = arr.slice,\n\n\t// Use a stripped-down indexOf as it's faster than native\n\t// https://jsperf.com/thor-indexof-vs-for/5\n\tindexOf = function( list, elem ) {\n\t\tvar i = 0,\n\t\t\tlen = list.length;\n\t\tfor ( ; i < len; i++ ) {\n\t\t\tif ( list[ i ] === elem ) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t},\n\n\tbooleans = \"checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|\" +\n\t\t\"ismap|loop|multiple|open|readonly|required|scoped\",\n\n\t// Regular expressions\n\n\t// http://www.w3.org/TR/css3-selectors/#whitespace\n\twhitespace = \"[\\\\x20\\\\t\\\\r\\\\n\\\\f]\",\n\n\t// https://www.w3.org/TR/css-syntax-3/#ident-token-diagram\n\tidentifier = \"(?:\\\\\\\\[\\\\da-fA-F]{1,6}\" + whitespace +\n\t\t\"?|\\\\\\\\[^\\\\r\\\\n\\\\f]|[\\\\w-]|[^\\0-\\\\x7f])+\",\n\n\t// Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors\n\tattributes = \"\\\\[\" + whitespace + \"*(\" + identifier + \")(?:\" + whitespace +\n\n\t\t// Operator (capture 2)\n\t\t\"*([*^$|!~]?=)\" + whitespace +\n\n\t\t// \"Attribute values must be CSS identifiers [capture 5]\n\t\t// or strings [capture 3 or capture 4]\"\n\t\t\"*(?:'((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\"|(\" + identifier + \"))|)\" +\n\t\twhitespace + \"*\\\\]\",\n\n\tpseudos = \":(\" + identifier + \")(?:\\\\((\" +\n\n\t\t// To reduce the number of selectors needing tokenize in the preFilter, prefer arguments:\n\t\t// 1. quoted (capture 3; capture 4 or capture 5)\n\t\t\"('((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\")|\" +\n\n\t\t// 2. simple (capture 6)\n\t\t\"((?:\\\\\\\\.|[^\\\\\\\\()[\\\\]]|\" + attributes + \")*)|\" +\n\n\t\t// 3. anything else (capture 2)\n\t\t\".*\" +\n\t\t\")\\\\)|)\",\n\n\t// Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter\n\trwhitespace = new RegExp( whitespace + \"+\", \"g\" ),\n\trtrim = new RegExp( \"^\" + whitespace + \"+|((?:^|[^\\\\\\\\])(?:\\\\\\\\.)*)\" +\n\t\twhitespace + \"+$\", \"g\" ),\n\n\trcomma = new RegExp( \"^\" + whitespace + \"*,\" + whitespace + \"*\" ),\n\trcombinators = new RegExp( \"^\" + whitespace + \"*([>+~]|\" + whitespace + \")\" + whitespace +\n\t\t\"*\" ),\n\trdescend = new RegExp( whitespace + \"|>\" ),\n\n\trpseudo = new RegExp( pseudos ),\n\tridentifier = new RegExp( \"^\" + identifier + \"$\" ),\n\n\tmatchExpr = {\n\t\t\"ID\": new RegExp( \"^#(\" + identifier + \")\" ),\n\t\t\"CLASS\": new RegExp( \"^\\\\.(\" + identifier + \")\" ),\n\t\t\"TAG\": new RegExp( \"^(\" + identifier + \"|[*])\" ),\n\t\t\"ATTR\": new RegExp( \"^\" + attributes ),\n\t\t\"PSEUDO\": new RegExp( \"^\" + pseudos ),\n\t\t\"CHILD\": new RegExp( \"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\(\" +\n\t\t\twhitespace + \"*(even|odd|(([+-]|)(\\\\d*)n|)\" + whitespace + \"*(?:([+-]|)\" +\n\t\t\twhitespace + \"*(\\\\d+)|))\" + whitespace + \"*\\\\)|)\", \"i\" ),\n\t\t\"bool\": new RegExp( \"^(?:\" + booleans + \")$\", \"i\" ),\n\n\t\t// For use in libraries implementing .is()\n\t\t// We use this for POS matching in `select`\n\t\t\"needsContext\": new RegExp( \"^\" + whitespace +\n\t\t\t\"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\(\" + whitespace +\n\t\t\t\"*((?:-\\\\d)?\\\\d*)\" + whitespace + \"*\\\\)|)(?=[^-]|$)\", \"i\" )\n\t},\n\n\trhtml = /HTML$/i,\n\trinputs = /^(?:input|select|textarea|button)$/i,\n\trheader = /^h\\d$/i,\n\n\trnative = /^[^{]+\\{\\s*\\[native \\w/,\n\n\t// Easily-parseable/retrievable ID or TAG or CLASS selectors\n\trquickExpr = /^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,\n\n\trsibling = /[+~]/,\n\n\t// CSS escapes\n\t// http://www.w3.org/TR/CSS21/syndata.html#escaped-characters\n\trunescape = new RegExp( \"\\\\\\\\[\\\\da-fA-F]{1,6}\" + whitespace + \"?|\\\\\\\\([^\\\\r\\\\n\\\\f])\", \"g\" ),\n\tfunescape = function( escape, nonHex ) {\n\t\tvar high = \"0x\" + escape.slice( 1 ) - 0x10000;\n\n\t\treturn nonHex ?\n\n\t\t\t// Strip the backslash prefix from a non-hex escape sequence\n\t\t\tnonHex :\n\n\t\t\t// Replace a hexadecimal escape sequence with the encoded Unicode code point\n\t\t\t// Support: IE <=11+\n\t\t\t// For values outside the Basic Multilingual Plane (BMP), manually construct a\n\t\t\t// surrogate pair\n\t\t\thigh < 0 ?\n\t\t\t\tString.fromCharCode( high + 0x10000 ) :\n\t\t\t\tString.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 );\n\t},\n\n\t// CSS string/identifier serialization\n\t// https://drafts.csswg.org/cssom/#common-serializing-idioms\n\trcssescape = /([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\0-\\x1f\\x7f-\\uFFFF\\w-]/g,\n\tfcssescape = function( ch, asCodePoint ) {\n\t\tif ( asCodePoint ) {\n\n\t\t\t// U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER\n\t\t\tif ( ch === \"\\0\" ) {\n\t\t\t\treturn \"\\uFFFD\";\n\t\t\t}\n\n\t\t\t// Control characters and (dependent upon position) numbers get escaped as code points\n\t\t\treturn ch.slice( 0, -1 ) + \"\\\\\" +\n\t\t\t\tch.charCodeAt( ch.length - 1 ).toString( 16 ) + \" \";\n\t\t}\n\n\t\t// Other potentially-special ASCII characters get backslash-escaped\n\t\treturn \"\\\\\" + ch;\n\t},\n\n\t// Used for iframes\n\t// See setDocument()\n\t// Removing the function wrapper causes a \"Permission Denied\"\n\t// error in IE\n\tunloadHandler = function() {\n\t\tsetDocument();\n\t},\n\n\tinDisabledFieldset = addCombinator(\n\t\tfunction( elem ) {\n\t\t\treturn elem.disabled === true && elem.nodeName.toLowerCase() === \"fieldset\";\n\t\t},\n\t\t{ dir: \"parentNode\", next: \"legend\" }\n\t);\n\n// Optimize for push.apply( _, NodeList )\ntry {\n\tpush.apply(\n\t\t( arr = slice.call( preferredDoc.childNodes ) ),\n\t\tpreferredDoc.childNodes\n\t);\n\n\t// Support: Android<4.0\n\t// Detect silently failing push.apply\n\t// eslint-disable-next-line no-unused-expressions\n\tarr[ preferredDoc.childNodes.length ].nodeType;\n} catch ( e ) {\n\tpush = { apply: arr.length ?\n\n\t\t// Leverage slice if possible\n\t\tfunction( target, els ) {\n\t\t\tpushNative.apply( target, slice.call( els ) );\n\t\t} :\n\n\t\t// Support: IE<9\n\t\t// Otherwise append directly\n\t\tfunction( target, els ) {\n\t\t\tvar j = target.length,\n\t\t\t\ti = 0;\n\n\t\t\t// Can't trust NodeList.length\n\t\t\twhile ( ( target[ j++ ] = els[ i++ ] ) ) {}\n\t\t\ttarget.length = j - 1;\n\t\t}\n\t};\n}\n\nfunction Sizzle( selector, context, results, seed ) {\n\tvar m, i, elem, nid, match, groups, newSelector,\n\t\tnewContext = context && context.ownerDocument,\n\n\t\t// nodeType defaults to 9, since context defaults to document\n\t\tnodeType = context ? context.nodeType : 9;\n\n\tresults = results || [];\n\n\t// Return early from calls with invalid selector or context\n\tif ( typeof selector !== \"string\" || !selector ||\n\t\tnodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) {\n\n\t\treturn results;\n\t}\n\n\t// Try to shortcut find operations (as opposed to filters) in HTML documents\n\tif ( !seed ) {\n\t\tsetDocument( context );\n\t\tcontext = context || document;\n\n\t\tif ( documentIsHTML ) {\n\n\t\t\t// If the selector is sufficiently simple, try using a \"get*By*\" DOM method\n\t\t\t// (excepting DocumentFragment context, where the methods don't exist)\n\t\t\tif ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) {\n\n\t\t\t\t// ID selector\n\t\t\t\tif ( ( m = match[ 1 ] ) ) {\n\n\t\t\t\t\t// Document context\n\t\t\t\t\tif ( nodeType === 9 ) {\n\t\t\t\t\t\tif ( ( elem = context.getElementById( m ) ) ) {\n\n\t\t\t\t\t\t\t// Support: IE, Opera, Webkit\n\t\t\t\t\t\t\t// TODO: identify versions\n\t\t\t\t\t\t\t// getElementById can match elements by name instead of ID\n\t\t\t\t\t\t\tif ( elem.id === m ) {\n\t\t\t\t\t\t\t\tresults.push( elem );\n\t\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t// Element context\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\t// Support: IE, Opera, Webkit\n\t\t\t\t\t\t// TODO: identify versions\n\t\t\t\t\t\t// getElementById can match elements by name instead of ID\n\t\t\t\t\t\tif ( newContext && ( elem = newContext.getElementById( m ) ) &&\n\t\t\t\t\t\t\tcontains( context, elem ) &&\n\t\t\t\t\t\t\telem.id === m ) {\n\n\t\t\t\t\t\t\tresults.push( elem );\n\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t// Type selector\n\t\t\t\t} else if ( match[ 2 ] ) {\n\t\t\t\t\tpush.apply( results, context.getElementsByTagName( selector ) );\n\t\t\t\t\treturn results;\n\n\t\t\t\t// Class selector\n\t\t\t\t} else if ( ( m = match[ 3 ] ) && support.getElementsByClassName &&\n\t\t\t\t\tcontext.getElementsByClassName ) {\n\n\t\t\t\t\tpush.apply( results, context.getElementsByClassName( m ) );\n\t\t\t\t\treturn results;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Take advantage of querySelectorAll\n\t\t\tif ( support.qsa &&\n\t\t\t\t!nonnativeSelectorCache[ selector + \" \" ] &&\n\t\t\t\t( !rbuggyQSA || !rbuggyQSA.test( selector ) ) &&\n\n\t\t\t\t// Support: IE 8 only\n\t\t\t\t// Exclude object elements\n\t\t\t\t( nodeType !== 1 || context.nodeName.toLowerCase() !== \"object\" ) ) {\n\n\t\t\t\tnewSelector = selector;\n\t\t\t\tnewContext = context;\n\n\t\t\t\t// qSA considers elements outside a scoping root when evaluating child or\n\t\t\t\t// descendant combinators, which is not what we want.\n\t\t\t\t// In such cases, we work around the behavior by prefixing every selector in the\n\t\t\t\t// list with an ID selector referencing the scope context.\n\t\t\t\t// The technique has to be used as well when a leading combinator is used\n\t\t\t\t// as such selectors are not recognized by querySelectorAll.\n\t\t\t\t// Thanks to Andrew Dupont for this technique.\n\t\t\t\tif ( nodeType === 1 &&\n\t\t\t\t\t( rdescend.test( selector ) || rcombinators.test( selector ) ) ) {\n\n\t\t\t\t\t// Expand context for sibling selectors\n\t\t\t\t\tnewContext = rsibling.test( selector ) && testContext( context.parentNode ) ||\n\t\t\t\t\t\tcontext;\n\n\t\t\t\t\t// We can use :scope instead of the ID hack if the browser\n\t\t\t\t\t// supports it & if we're not changing the context.\n\t\t\t\t\tif ( newContext !== context || !support.scope ) {\n\n\t\t\t\t\t\t// Capture the context ID, setting it first if necessary\n\t\t\t\t\t\tif ( ( nid = context.getAttribute( \"id\" ) ) ) {\n\t\t\t\t\t\t\tnid = nid.replace( rcssescape, fcssescape );\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tcontext.setAttribute( \"id\", ( nid = expando ) );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Prefix every selector in the list\n\t\t\t\t\tgroups = tokenize( selector );\n\t\t\t\t\ti = groups.length;\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tgroups[ i ] = ( nid ? \"#\" + nid : \":scope\" ) + \" \" +\n\t\t\t\t\t\t\ttoSelector( groups[ i ] );\n\t\t\t\t\t}\n\t\t\t\t\tnewSelector = groups.join( \",\" );\n\t\t\t\t}\n\n\t\t\t\ttry {\n\t\t\t\t\tpush.apply( results,\n\t\t\t\t\t\tnewContext.querySelectorAll( newSelector )\n\t\t\t\t\t);\n\t\t\t\t\treturn results;\n\t\t\t\t} catch ( qsaError ) {\n\t\t\t\t\tnonnativeSelectorCache( selector, true );\n\t\t\t\t} finally {\n\t\t\t\t\tif ( nid === expando ) {\n\t\t\t\t\t\tcontext.removeAttribute( \"id\" );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// All others\n\treturn select( selector.replace( rtrim, \"$1\" ), context, results, seed );\n}\n\n/**\n * Create key-value caches of limited size\n * @returns {function(string, object)} Returns the Object data after storing it on itself with\n *\tproperty name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength)\n *\tdeleting the oldest entry\n */\nfunction createCache() {\n\tvar keys = [];\n\n\tfunction cache( key, value ) {\n\n\t\t// Use (key + \" \") to avoid collision with native prototype properties (see Issue #157)\n\t\tif ( keys.push( key + \" \" ) > Expr.cacheLength ) {\n\n\t\t\t// Only keep the most recent entries\n\t\t\tdelete cache[ keys.shift() ];\n\t\t}\n\t\treturn ( cache[ key + \" \" ] = value );\n\t}\n\treturn cache;\n}\n\n/**\n * Mark a function for special use by Sizzle\n * @param {Function} fn The function to mark\n */\nfunction markFunction( fn ) {\n\tfn[ expando ] = true;\n\treturn fn;\n}\n\n/**\n * Support testing using an element\n * @param {Function} fn Passed the created element and returns a boolean result\n */\nfunction assert( fn ) {\n\tvar el = document.createElement( \"fieldset\" );\n\n\ttry {\n\t\treturn !!fn( el );\n\t} catch ( e ) {\n\t\treturn false;\n\t} finally {\n\n\t\t// Remove from its parent by default\n\t\tif ( el.parentNode ) {\n\t\t\tel.parentNode.removeChild( el );\n\t\t}\n\n\t\t// release memory in IE\n\t\tel = null;\n\t}\n}\n\n/**\n * Adds the same handler for all of the specified attrs\n * @param {String} attrs Pipe-separated list of attributes\n * @param {Function} handler The method that will be applied\n */\nfunction addHandle( attrs, handler ) {\n\tvar arr = attrs.split( \"|\" ),\n\t\ti = arr.length;\n\n\twhile ( i-- ) {\n\t\tExpr.attrHandle[ arr[ i ] ] = handler;\n\t}\n}\n\n/**\n * Checks document order of two siblings\n * @param {Element} a\n * @param {Element} b\n * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b\n */\nfunction siblingCheck( a, b ) {\n\tvar cur = b && a,\n\t\tdiff = cur && a.nodeType === 1 && b.nodeType === 1 &&\n\t\t\ta.sourceIndex - b.sourceIndex;\n\n\t// Use IE sourceIndex if available on both nodes\n\tif ( diff ) {\n\t\treturn diff;\n\t}\n\n\t// Check if b follows a\n\tif ( cur ) {\n\t\twhile ( ( cur = cur.nextSibling ) ) {\n\t\t\tif ( cur === b ) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t}\n\t}\n\n\treturn a ? 1 : -1;\n}\n\n/**\n * Returns a function to use in pseudos for input types\n * @param {String} type\n */\nfunction createInputPseudo( type ) {\n\treturn function( elem ) {\n\t\tvar name = elem.nodeName.toLowerCase();\n\t\treturn name === \"input\" && elem.type === type;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for buttons\n * @param {String} type\n */\nfunction createButtonPseudo( type ) {\n\treturn function( elem ) {\n\t\tvar name = elem.nodeName.toLowerCase();\n\t\treturn ( name === \"input\" || name === \"button\" ) && elem.type === type;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for :enabled/:disabled\n * @param {Boolean} disabled true for :disabled; false for :enabled\n */\nfunction createDisabledPseudo( disabled ) {\n\n\t// Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable\n\treturn function( elem ) {\n\n\t\t// Only certain elements can match :enabled or :disabled\n\t\t// https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled\n\t\t// https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled\n\t\tif ( \"form\" in elem ) {\n\n\t\t\t// Check for inherited disabledness on relevant non-disabled elements:\n\t\t\t// * listed form-associated elements in a disabled fieldset\n\t\t\t//   https://html.spec.whatwg.org/multipage/forms.html#category-listed\n\t\t\t//   https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled\n\t\t\t// * option elements in a disabled optgroup\n\t\t\t//   https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled\n\t\t\t// All such elements have a \"form\" property.\n\t\t\tif ( elem.parentNode && elem.disabled === false ) {\n\n\t\t\t\t// Option elements defer to a parent optgroup if present\n\t\t\t\tif ( \"label\" in elem ) {\n\t\t\t\t\tif ( \"label\" in elem.parentNode ) {\n\t\t\t\t\t\treturn elem.parentNode.disabled === disabled;\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn elem.disabled === disabled;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Support: IE 6 - 11\n\t\t\t\t// Use the isDisabled shortcut property to check for disabled fieldset ancestors\n\t\t\t\treturn elem.isDisabled === disabled ||\n\n\t\t\t\t\t// Where there is no isDisabled, check manually\n\t\t\t\t\t/* jshint -W018 */\n\t\t\t\t\telem.isDisabled !== !disabled &&\n\t\t\t\t\tinDisabledFieldset( elem ) === disabled;\n\t\t\t}\n\n\t\t\treturn elem.disabled === disabled;\n\n\t\t// Try to winnow out elements that can't be disabled before trusting the disabled property.\n\t\t// Some victims get caught in our net (label, legend, menu, track), but it shouldn't\n\t\t// even exist on them, let alone have a boolean value.\n\t\t} else if ( \"label\" in elem ) {\n\t\t\treturn elem.disabled === disabled;\n\t\t}\n\n\t\t// Remaining elements are neither :enabled nor :disabled\n\t\treturn false;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for positionals\n * @param {Function} fn\n */\nfunction createPositionalPseudo( fn ) {\n\treturn markFunction( function( argument ) {\n\t\targument = +argument;\n\t\treturn markFunction( function( seed, matches ) {\n\t\t\tvar j,\n\t\t\t\tmatchIndexes = fn( [], seed.length, argument ),\n\t\t\t\ti = matchIndexes.length;\n\n\t\t\t// Match elements found at the specified indexes\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( seed[ ( j = matchIndexes[ i ] ) ] ) {\n\t\t\t\t\tseed[ j ] = !( matches[ j ] = seed[ j ] );\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t} );\n}\n\n/**\n * Checks a node for validity as a Sizzle context\n * @param {Element|Object=} context\n * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value\n */\nfunction testContext( context ) {\n\treturn context && typeof context.getElementsByTagName !== \"undefined\" && context;\n}\n\n// Expose support vars for convenience\nsupport = Sizzle.support = {};\n\n/**\n * Detects XML nodes\n * @param {Element|Object} elem An element or a document\n * @returns {Boolean} True iff elem is a non-HTML XML node\n */\nisXML = Sizzle.isXML = function( elem ) {\n\tvar namespace = elem && elem.namespaceURI,\n\t\tdocElem = elem && ( elem.ownerDocument || elem ).documentElement;\n\n\t// Support: IE <=8\n\t// Assume HTML when documentElement doesn't yet exist, such as inside loading iframes\n\t// https://bugs.jquery.com/ticket/4833\n\treturn !rhtml.test( namespace || docElem && docElem.nodeName || \"HTML\" );\n};\n\n/**\n * Sets document-related variables once based on the current document\n * @param {Element|Object} [doc] An element or document object to use to set the document\n * @returns {Object} Returns the current document\n */\nsetDocument = Sizzle.setDocument = function( node ) {\n\tvar hasCompare, subWindow,\n\t\tdoc = node ? node.ownerDocument || node : preferredDoc;\n\n\t// Return early if doc is invalid or already selected\n\t// Support: IE 11+, Edge 17 - 18+\n\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t// two documents; shallow comparisons work.\n\t// eslint-disable-next-line eqeqeq\n\tif ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) {\n\t\treturn document;\n\t}\n\n\t// Update global variables\n\tdocument = doc;\n\tdocElem = document.documentElement;\n\tdocumentIsHTML = !isXML( document );\n\n\t// Support: IE 9 - 11+, Edge 12 - 18+\n\t// Accessing iframe documents after unload throws \"permission denied\" errors (jQuery #13936)\n\t// Support: IE 11+, Edge 17 - 18+\n\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t// two documents; shallow comparisons work.\n\t// eslint-disable-next-line eqeqeq\n\tif ( preferredDoc != document &&\n\t\t( subWindow = document.defaultView ) && subWindow.top !== subWindow ) {\n\n\t\t// Support: IE 11, Edge\n\t\tif ( subWindow.addEventListener ) {\n\t\t\tsubWindow.addEventListener( \"unload\", unloadHandler, false );\n\n\t\t// Support: IE 9 - 10 only\n\t\t} else if ( subWindow.attachEvent ) {\n\t\t\tsubWindow.attachEvent( \"onunload\", unloadHandler );\n\t\t}\n\t}\n\n\t// Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only,\n\t// Safari 4 - 5 only, Opera <=11.6 - 12.x only\n\t// IE/Edge & older browsers don't support the :scope pseudo-class.\n\t// Support: Safari 6.0 only\n\t// Safari 6.0 supports :scope but it's an alias of :root there.\n\tsupport.scope = assert( function( el ) {\n\t\tdocElem.appendChild( el ).appendChild( document.createElement( \"div\" ) );\n\t\treturn typeof el.querySelectorAll !== \"undefined\" &&\n\t\t\t!el.querySelectorAll( \":scope fieldset div\" ).length;\n\t} );\n\n\t/* Attributes\n\t---------------------------------------------------------------------- */\n\n\t// Support: IE<8\n\t// Verify that getAttribute really returns attributes and not properties\n\t// (excepting IE8 booleans)\n\tsupport.attributes = assert( function( el ) {\n\t\tel.className = \"i\";\n\t\treturn !el.getAttribute( \"className\" );\n\t} );\n\n\t/* getElement(s)By*\n\t---------------------------------------------------------------------- */\n\n\t// Check if getElementsByTagName(\"*\") returns only elements\n\tsupport.getElementsByTagName = assert( function( el ) {\n\t\tel.appendChild( document.createComment( \"\" ) );\n\t\treturn !el.getElementsByTagName( \"*\" ).length;\n\t} );\n\n\t// Support: IE<9\n\tsupport.getElementsByClassName = rnative.test( document.getElementsByClassName );\n\n\t// Support: IE<10\n\t// Check if getElementById returns elements by name\n\t// The broken getElementById methods don't pick up programmatically-set names,\n\t// so use a roundabout getElementsByName test\n\tsupport.getById = assert( function( el ) {\n\t\tdocElem.appendChild( el ).id = expando;\n\t\treturn !document.getElementsByName || !document.getElementsByName( expando ).length;\n\t} );\n\n\t// ID filter and find\n\tif ( support.getById ) {\n\t\tExpr.filter[ \"ID\" ] = function( id ) {\n\t\t\tvar attrId = id.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\treturn elem.getAttribute( \"id\" ) === attrId;\n\t\t\t};\n\t\t};\n\t\tExpr.find[ \"ID\" ] = function( id, context ) {\n\t\t\tif ( typeof context.getElementById !== \"undefined\" && documentIsHTML ) {\n\t\t\t\tvar elem = context.getElementById( id );\n\t\t\t\treturn elem ? [ elem ] : [];\n\t\t\t}\n\t\t};\n\t} else {\n\t\tExpr.filter[ \"ID\" ] =  function( id ) {\n\t\t\tvar attrId = id.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\tvar node = typeof elem.getAttributeNode !== \"undefined\" &&\n\t\t\t\t\telem.getAttributeNode( \"id\" );\n\t\t\t\treturn node && node.value === attrId;\n\t\t\t};\n\t\t};\n\n\t\t// Support: IE 6 - 7 only\n\t\t// getElementById is not reliable as a find shortcut\n\t\tExpr.find[ \"ID\" ] = function( id, context ) {\n\t\t\tif ( typeof context.getElementById !== \"undefined\" && documentIsHTML ) {\n\t\t\t\tvar node, i, elems,\n\t\t\t\t\telem = context.getElementById( id );\n\n\t\t\t\tif ( elem ) {\n\n\t\t\t\t\t// Verify the id attribute\n\t\t\t\t\tnode = elem.getAttributeNode( \"id\" );\n\t\t\t\t\tif ( node && node.value === id ) {\n\t\t\t\t\t\treturn [ elem ];\n\t\t\t\t\t}\n\n\t\t\t\t\t// Fall back on getElementsByName\n\t\t\t\t\telems = context.getElementsByName( id );\n\t\t\t\t\ti = 0;\n\t\t\t\t\twhile ( ( elem = elems[ i++ ] ) ) {\n\t\t\t\t\t\tnode = elem.getAttributeNode( \"id\" );\n\t\t\t\t\t\tif ( node && node.value === id ) {\n\t\t\t\t\t\t\treturn [ elem ];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn [];\n\t\t\t}\n\t\t};\n\t}\n\n\t// Tag\n\tExpr.find[ \"TAG\" ] = support.getElementsByTagName ?\n\t\tfunction( tag, context ) {\n\t\t\tif ( typeof context.getElementsByTagName !== \"undefined\" ) {\n\t\t\t\treturn context.getElementsByTagName( tag );\n\n\t\t\t// DocumentFragment nodes don't have gEBTN\n\t\t\t} else if ( support.qsa ) {\n\t\t\t\treturn context.querySelectorAll( tag );\n\t\t\t}\n\t\t} :\n\n\t\tfunction( tag, context ) {\n\t\t\tvar elem,\n\t\t\t\ttmp = [],\n\t\t\t\ti = 0,\n\n\t\t\t\t// By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too\n\t\t\t\tresults = context.getElementsByTagName( tag );\n\n\t\t\t// Filter out possible comments\n\t\t\tif ( tag === \"*\" ) {\n\t\t\t\twhile ( ( elem = results[ i++ ] ) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 ) {\n\t\t\t\t\t\ttmp.push( elem );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn tmp;\n\t\t\t}\n\t\t\treturn results;\n\t\t};\n\n\t// Class\n\tExpr.find[ \"CLASS\" ] = support.getElementsByClassName && function( className, context ) {\n\t\tif ( typeof context.getElementsByClassName !== \"undefined\" && documentIsHTML ) {\n\t\t\treturn context.getElementsByClassName( className );\n\t\t}\n\t};\n\n\t/* QSA/matchesSelector\n\t---------------------------------------------------------------------- */\n\n\t// QSA and matchesSelector support\n\n\t// matchesSelector(:active) reports false when true (IE9/Opera 11.5)\n\trbuggyMatches = [];\n\n\t// qSa(:focus) reports false when true (Chrome 21)\n\t// We allow this because of a bug in IE8/9 that throws an error\n\t// whenever `document.activeElement` is accessed on an iframe\n\t// So, we allow :focus to pass through QSA all the time to avoid the IE error\n\t// See https://bugs.jquery.com/ticket/13378\n\trbuggyQSA = [];\n\n\tif ( ( support.qsa = rnative.test( document.querySelectorAll ) ) ) {\n\n\t\t// Build QSA regex\n\t\t// Regex strategy adopted from Diego Perini\n\t\tassert( function( el ) {\n\n\t\t\tvar input;\n\n\t\t\t// Select is set to empty string on purpose\n\t\t\t// This is to test IE's treatment of not explicitly\n\t\t\t// setting a boolean content attribute,\n\t\t\t// since its presence should be enough\n\t\t\t// https://bugs.jquery.com/ticket/12359\n\t\t\tdocElem.appendChild( el ).innerHTML = \"<a id='\" + expando + \"'></a>\" +\n\t\t\t\t\"<select id='\" + expando + \"-\\r\\\\' msallowcapture=''>\" +\n\t\t\t\t\"<option selected=''></option></select>\";\n\n\t\t\t// Support: IE8, Opera 11-12.16\n\t\t\t// Nothing should be selected when empty strings follow ^= or $= or *=\n\t\t\t// The test attribute must be unknown in Opera but \"safe\" for WinRT\n\t\t\t// https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section\n\t\t\tif ( el.querySelectorAll( \"[msallowcapture^='']\" ).length ) {\n\t\t\t\trbuggyQSA.push( \"[*^$]=\" + whitespace + \"*(?:''|\\\"\\\")\" );\n\t\t\t}\n\n\t\t\t// Support: IE8\n\t\t\t// Boolean attributes and \"value\" are not treated correctly\n\t\t\tif ( !el.querySelectorAll( \"[selected]\" ).length ) {\n\t\t\t\trbuggyQSA.push( \"\\\\[\" + whitespace + \"*(?:value|\" + booleans + \")\" );\n\t\t\t}\n\n\t\t\t// Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+\n\t\t\tif ( !el.querySelectorAll( \"[id~=\" + expando + \"-]\" ).length ) {\n\t\t\t\trbuggyQSA.push( \"~=\" );\n\t\t\t}\n\n\t\t\t// Support: IE 11+, Edge 15 - 18+\n\t\t\t// IE 11/Edge don't find elements on a `[name='']` query in some cases.\n\t\t\t// Adding a temporary attribute to the document before the selection works\n\t\t\t// around the issue.\n\t\t\t// Interestingly, IE 10 & older don't seem to have the issue.\n\t\t\tinput = document.createElement( \"input\" );\n\t\t\tinput.setAttribute( \"name\", \"\" );\n\t\t\tel.appendChild( input );\n\t\t\tif ( !el.querySelectorAll( \"[name='']\" ).length ) {\n\t\t\t\trbuggyQSA.push( \"\\\\[\" + whitespace + \"*name\" + whitespace + \"*=\" +\n\t\t\t\t\twhitespace + \"*(?:''|\\\"\\\")\" );\n\t\t\t}\n\n\t\t\t// Webkit/Opera - :checked should return selected option elements\n\t\t\t// http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked\n\t\t\t// IE8 throws error here and will not see later tests\n\t\t\tif ( !el.querySelectorAll( \":checked\" ).length ) {\n\t\t\t\trbuggyQSA.push( \":checked\" );\n\t\t\t}\n\n\t\t\t// Support: Safari 8+, iOS 8+\n\t\t\t// https://bugs.webkit.org/show_bug.cgi?id=136851\n\t\t\t// In-page `selector#id sibling-combinator selector` fails\n\t\t\tif ( !el.querySelectorAll( \"a#\" + expando + \"+*\" ).length ) {\n\t\t\t\trbuggyQSA.push( \".#.+[+~]\" );\n\t\t\t}\n\n\t\t\t// Support: Firefox <=3.6 - 5 only\n\t\t\t// Old Firefox doesn't throw on a badly-escaped identifier.\n\t\t\tel.querySelectorAll( \"\\\\\\f\" );\n\t\t\trbuggyQSA.push( \"[\\\\r\\\\n\\\\f]\" );\n\t\t} );\n\n\t\tassert( function( el ) {\n\t\t\tel.innerHTML = \"<a href='' disabled='disabled'></a>\" +\n\t\t\t\t\"<select disabled='disabled'><option/></select>\";\n\n\t\t\t// Support: Windows 8 Native Apps\n\t\t\t// The type and name attributes are restricted during .innerHTML assignment\n\t\t\tvar input = document.createElement( \"input\" );\n\t\t\tinput.setAttribute( \"type\", \"hidden\" );\n\t\t\tel.appendChild( input ).setAttribute( \"name\", \"D\" );\n\n\t\t\t// Support: IE8\n\t\t\t// Enforce case-sensitivity of name attribute\n\t\t\tif ( el.querySelectorAll( \"[name=d]\" ).length ) {\n\t\t\t\trbuggyQSA.push( \"name\" + whitespace + \"*[*^$|!~]?=\" );\n\t\t\t}\n\n\t\t\t// FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled)\n\t\t\t// IE8 throws error here and will not see later tests\n\t\t\tif ( el.querySelectorAll( \":enabled\" ).length !== 2 ) {\n\t\t\t\trbuggyQSA.push( \":enabled\", \":disabled\" );\n\t\t\t}\n\n\t\t\t// Support: IE9-11+\n\t\t\t// IE's :disabled selector does not pick up the children of disabled fieldsets\n\t\t\tdocElem.appendChild( el ).disabled = true;\n\t\t\tif ( el.querySelectorAll( \":disabled\" ).length !== 2 ) {\n\t\t\t\trbuggyQSA.push( \":enabled\", \":disabled\" );\n\t\t\t}\n\n\t\t\t// Support: Opera 10 - 11 only\n\t\t\t// Opera 10-11 does not throw on post-comma invalid pseudos\n\t\t\tel.querySelectorAll( \"*,:x\" );\n\t\t\trbuggyQSA.push( \",.*:\" );\n\t\t} );\n\t}\n\n\tif ( ( support.matchesSelector = rnative.test( ( matches = docElem.matches ||\n\t\tdocElem.webkitMatchesSelector ||\n\t\tdocElem.mozMatchesSelector ||\n\t\tdocElem.oMatchesSelector ||\n\t\tdocElem.msMatchesSelector ) ) ) ) {\n\n\t\tassert( function( el ) {\n\n\t\t\t// Check to see if it's possible to do matchesSelector\n\t\t\t// on a disconnected node (IE 9)\n\t\t\tsupport.disconnectedMatch = matches.call( el, \"*\" );\n\n\t\t\t// This should fail with an exception\n\t\t\t// Gecko does not error, returns false instead\n\t\t\tmatches.call( el, \"[s!='']:x\" );\n\t\t\trbuggyMatches.push( \"!=\", pseudos );\n\t\t} );\n\t}\n\n\trbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( \"|\" ) );\n\trbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join( \"|\" ) );\n\n\t/* Contains\n\t---------------------------------------------------------------------- */\n\thasCompare = rnative.test( docElem.compareDocumentPosition );\n\n\t// Element contains another\n\t// Purposefully self-exclusive\n\t// As in, an element does not contain itself\n\tcontains = hasCompare || rnative.test( docElem.contains ) ?\n\t\tfunction( a, b ) {\n\t\t\tvar adown = a.nodeType === 9 ? a.documentElement : a,\n\t\t\t\tbup = b && b.parentNode;\n\t\t\treturn a === bup || !!( bup && bup.nodeType === 1 && (\n\t\t\t\tadown.contains ?\n\t\t\t\t\tadown.contains( bup ) :\n\t\t\t\t\ta.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16\n\t\t\t) );\n\t\t} :\n\t\tfunction( a, b ) {\n\t\t\tif ( b ) {\n\t\t\t\twhile ( ( b = b.parentNode ) ) {\n\t\t\t\t\tif ( b === a ) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n\n\t/* Sorting\n\t---------------------------------------------------------------------- */\n\n\t// Document order sorting\n\tsortOrder = hasCompare ?\n\tfunction( a, b ) {\n\n\t\t// Flag for duplicate removal\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t\treturn 0;\n\t\t}\n\n\t\t// Sort on method existence if only one input has compareDocumentPosition\n\t\tvar compare = !a.compareDocumentPosition - !b.compareDocumentPosition;\n\t\tif ( compare ) {\n\t\t\treturn compare;\n\t\t}\n\n\t\t// Calculate position if both inputs belong to the same document\n\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t// two documents; shallow comparisons work.\n\t\t// eslint-disable-next-line eqeqeq\n\t\tcompare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ?\n\t\t\ta.compareDocumentPosition( b ) :\n\n\t\t\t// Otherwise we know they are disconnected\n\t\t\t1;\n\n\t\t// Disconnected nodes\n\t\tif ( compare & 1 ||\n\t\t\t( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) {\n\n\t\t\t// Choose the first element that is related to our preferred document\n\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t// two documents; shallow comparisons work.\n\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\tif ( a == document || a.ownerDocument == preferredDoc &&\n\t\t\t\tcontains( preferredDoc, a ) ) {\n\t\t\t\treturn -1;\n\t\t\t}\n\n\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t// two documents; shallow comparisons work.\n\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\tif ( b == document || b.ownerDocument == preferredDoc &&\n\t\t\t\tcontains( preferredDoc, b ) ) {\n\t\t\t\treturn 1;\n\t\t\t}\n\n\t\t\t// Maintain original order\n\t\t\treturn sortInput ?\n\t\t\t\t( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) :\n\t\t\t\t0;\n\t\t}\n\n\t\treturn compare & 4 ? -1 : 1;\n\t} :\n\tfunction( a, b ) {\n\n\t\t// Exit early if the nodes are identical\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t\treturn 0;\n\t\t}\n\n\t\tvar cur,\n\t\t\ti = 0,\n\t\t\taup = a.parentNode,\n\t\t\tbup = b.parentNode,\n\t\t\tap = [ a ],\n\t\t\tbp = [ b ];\n\n\t\t// Parentless nodes are either documents or disconnected\n\t\tif ( !aup || !bup ) {\n\n\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t// two documents; shallow comparisons work.\n\t\t\t/* eslint-disable eqeqeq */\n\t\t\treturn a == document ? -1 :\n\t\t\t\tb == document ? 1 :\n\t\t\t\t/* eslint-enable eqeqeq */\n\t\t\t\taup ? -1 :\n\t\t\t\tbup ? 1 :\n\t\t\t\tsortInput ?\n\t\t\t\t( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) :\n\t\t\t\t0;\n\n\t\t// If the nodes are siblings, we can do a quick check\n\t\t} else if ( aup === bup ) {\n\t\t\treturn siblingCheck( a, b );\n\t\t}\n\n\t\t// Otherwise we need full lists of their ancestors for comparison\n\t\tcur = a;\n\t\twhile ( ( cur = cur.parentNode ) ) {\n\t\t\tap.unshift( cur );\n\t\t}\n\t\tcur = b;\n\t\twhile ( ( cur = cur.parentNode ) ) {\n\t\t\tbp.unshift( cur );\n\t\t}\n\n\t\t// Walk down the tree looking for a discrepancy\n\t\twhile ( ap[ i ] === bp[ i ] ) {\n\t\t\ti++;\n\t\t}\n\n\t\treturn i ?\n\n\t\t\t// Do a sibling check if the nodes have a common ancestor\n\t\t\tsiblingCheck( ap[ i ], bp[ i ] ) :\n\n\t\t\t// Otherwise nodes in our document sort first\n\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t// two documents; shallow comparisons work.\n\t\t\t/* eslint-disable eqeqeq */\n\t\t\tap[ i ] == preferredDoc ? -1 :\n\t\t\tbp[ i ] == preferredDoc ? 1 :\n\t\t\t/* eslint-enable eqeqeq */\n\t\t\t0;\n\t};\n\n\treturn document;\n};\n\nSizzle.matches = function( expr, elements ) {\n\treturn Sizzle( expr, null, null, elements );\n};\n\nSizzle.matchesSelector = function( elem, expr ) {\n\tsetDocument( elem );\n\n\tif ( support.matchesSelector && documentIsHTML &&\n\t\t!nonnativeSelectorCache[ expr + \" \" ] &&\n\t\t( !rbuggyMatches || !rbuggyMatches.test( expr ) ) &&\n\t\t( !rbuggyQSA     || !rbuggyQSA.test( expr ) ) ) {\n\n\t\ttry {\n\t\t\tvar ret = matches.call( elem, expr );\n\n\t\t\t// IE 9's matchesSelector returns false on disconnected nodes\n\t\t\tif ( ret || support.disconnectedMatch ||\n\n\t\t\t\t// As well, disconnected nodes are said to be in a document\n\t\t\t\t// fragment in IE 9\n\t\t\t\telem.document && elem.document.nodeType !== 11 ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\t\t} catch ( e ) {\n\t\t\tnonnativeSelectorCache( expr, true );\n\t\t}\n\t}\n\n\treturn Sizzle( expr, document, null, [ elem ] ).length > 0;\n};\n\nSizzle.contains = function( context, elem ) {\n\n\t// Set document vars if needed\n\t// Support: IE 11+, Edge 17 - 18+\n\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t// two documents; shallow comparisons work.\n\t// eslint-disable-next-line eqeqeq\n\tif ( ( context.ownerDocument || context ) != document ) {\n\t\tsetDocument( context );\n\t}\n\treturn contains( context, elem );\n};\n\nSizzle.attr = function( elem, name ) {\n\n\t// Set document vars if needed\n\t// Support: IE 11+, Edge 17 - 18+\n\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t// two documents; shallow comparisons work.\n\t// eslint-disable-next-line eqeqeq\n\tif ( ( elem.ownerDocument || elem ) != document ) {\n\t\tsetDocument( elem );\n\t}\n\n\tvar fn = Expr.attrHandle[ name.toLowerCase() ],\n\n\t\t// Don't get fooled by Object.prototype properties (jQuery #13807)\n\t\tval = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ?\n\t\t\tfn( elem, name, !documentIsHTML ) :\n\t\t\tundefined;\n\n\treturn val !== undefined ?\n\t\tval :\n\t\tsupport.attributes || !documentIsHTML ?\n\t\t\telem.getAttribute( name ) :\n\t\t\t( val = elem.getAttributeNode( name ) ) && val.specified ?\n\t\t\t\tval.value :\n\t\t\t\tnull;\n};\n\nSizzle.escape = function( sel ) {\n\treturn ( sel + \"\" ).replace( rcssescape, fcssescape );\n};\n\nSizzle.error = function( msg ) {\n\tthrow new Error( \"Syntax error, unrecognized expression: \" + msg );\n};\n\n/**\n * Document sorting and removing duplicates\n * @param {ArrayLike} results\n */\nSizzle.uniqueSort = function( results ) {\n\tvar elem,\n\t\tduplicates = [],\n\t\tj = 0,\n\t\ti = 0;\n\n\t// Unless we *know* we can detect duplicates, assume their presence\n\thasDuplicate = !support.detectDuplicates;\n\tsortInput = !support.sortStable && results.slice( 0 );\n\tresults.sort( sortOrder );\n\n\tif ( hasDuplicate ) {\n\t\twhile ( ( elem = results[ i++ ] ) ) {\n\t\t\tif ( elem === results[ i ] ) {\n\t\t\t\tj = duplicates.push( i );\n\t\t\t}\n\t\t}\n\t\twhile ( j-- ) {\n\t\t\tresults.splice( duplicates[ j ], 1 );\n\t\t}\n\t}\n\n\t// Clear input after sorting to release objects\n\t// See https://github.com/jquery/sizzle/pull/225\n\tsortInput = null;\n\n\treturn results;\n};\n\n/**\n * Utility function for retrieving the text value of an array of DOM nodes\n * @param {Array|Element} elem\n */\ngetText = Sizzle.getText = function( elem ) {\n\tvar node,\n\t\tret = \"\",\n\t\ti = 0,\n\t\tnodeType = elem.nodeType;\n\n\tif ( !nodeType ) {\n\n\t\t// If no nodeType, this is expected to be an array\n\t\twhile ( ( node = elem[ i++ ] ) ) {\n\n\t\t\t// Do not traverse comment nodes\n\t\t\tret += getText( node );\n\t\t}\n\t} else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) {\n\n\t\t// Use textContent for elements\n\t\t// innerText usage removed for consistency of new lines (jQuery #11153)\n\t\tif ( typeof elem.textContent === \"string\" ) {\n\t\t\treturn elem.textContent;\n\t\t} else {\n\n\t\t\t// Traverse its children\n\t\t\tfor ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {\n\t\t\t\tret += getText( elem );\n\t\t\t}\n\t\t}\n\t} else if ( nodeType === 3 || nodeType === 4 ) {\n\t\treturn elem.nodeValue;\n\t}\n\n\t// Do not include comment or processing instruction nodes\n\n\treturn ret;\n};\n\nExpr = Sizzle.selectors = {\n\n\t// Can be adjusted by the user\n\tcacheLength: 50,\n\n\tcreatePseudo: markFunction,\n\n\tmatch: matchExpr,\n\n\tattrHandle: {},\n\n\tfind: {},\n\n\trelative: {\n\t\t\">\": { dir: \"parentNode\", first: true },\n\t\t\" \": { dir: \"parentNode\" },\n\t\t\"+\": { dir: \"previousSibling\", first: true },\n\t\t\"~\": { dir: \"previousSibling\" }\n\t},\n\n\tpreFilter: {\n\t\t\"ATTR\": function( match ) {\n\t\t\tmatch[ 1 ] = match[ 1 ].replace( runescape, funescape );\n\n\t\t\t// Move the given value to match[3] whether quoted or unquoted\n\t\t\tmatch[ 3 ] = ( match[ 3 ] || match[ 4 ] ||\n\t\t\t\tmatch[ 5 ] || \"\" ).replace( runescape, funescape );\n\n\t\t\tif ( match[ 2 ] === \"~=\" ) {\n\t\t\t\tmatch[ 3 ] = \" \" + match[ 3 ] + \" \";\n\t\t\t}\n\n\t\t\treturn match.slice( 0, 4 );\n\t\t},\n\n\t\t\"CHILD\": function( match ) {\n\n\t\t\t/* matches from matchExpr[\"CHILD\"]\n\t\t\t\t1 type (only|nth|...)\n\t\t\t\t2 what (child|of-type)\n\t\t\t\t3 argument (even|odd|\\d*|\\d*n([+-]\\d+)?|...)\n\t\t\t\t4 xn-component of xn+y argument ([+-]?\\d*n|)\n\t\t\t\t5 sign of xn-component\n\t\t\t\t6 x of xn-component\n\t\t\t\t7 sign of y-component\n\t\t\t\t8 y of y-component\n\t\t\t*/\n\t\t\tmatch[ 1 ] = match[ 1 ].toLowerCase();\n\n\t\t\tif ( match[ 1 ].slice( 0, 3 ) === \"nth\" ) {\n\n\t\t\t\t// nth-* requires argument\n\t\t\t\tif ( !match[ 3 ] ) {\n\t\t\t\t\tSizzle.error( match[ 0 ] );\n\t\t\t\t}\n\n\t\t\t\t// numeric x and y parameters for Expr.filter.CHILD\n\t\t\t\t// remember that false/true cast respectively to 0/1\n\t\t\t\tmatch[ 4 ] = +( match[ 4 ] ?\n\t\t\t\t\tmatch[ 5 ] + ( match[ 6 ] || 1 ) :\n\t\t\t\t\t2 * ( match[ 3 ] === \"even\" || match[ 3 ] === \"odd\" ) );\n\t\t\t\tmatch[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === \"odd\" );\n\n\t\t\t\t// other types prohibit arguments\n\t\t\t} else if ( match[ 3 ] ) {\n\t\t\t\tSizzle.error( match[ 0 ] );\n\t\t\t}\n\n\t\t\treturn match;\n\t\t},\n\n\t\t\"PSEUDO\": function( match ) {\n\t\t\tvar excess,\n\t\t\t\tunquoted = !match[ 6 ] && match[ 2 ];\n\n\t\t\tif ( matchExpr[ \"CHILD\" ].test( match[ 0 ] ) ) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\t// Accept quoted arguments as-is\n\t\t\tif ( match[ 3 ] ) {\n\t\t\t\tmatch[ 2 ] = match[ 4 ] || match[ 5 ] || \"\";\n\n\t\t\t// Strip excess characters from unquoted arguments\n\t\t\t} else if ( unquoted && rpseudo.test( unquoted ) &&\n\n\t\t\t\t// Get excess from tokenize (recursively)\n\t\t\t\t( excess = tokenize( unquoted, true ) ) &&\n\n\t\t\t\t// advance to the next closing parenthesis\n\t\t\t\t( excess = unquoted.indexOf( \")\", unquoted.length - excess ) - unquoted.length ) ) {\n\n\t\t\t\t// excess is a negative index\n\t\t\t\tmatch[ 0 ] = match[ 0 ].slice( 0, excess );\n\t\t\t\tmatch[ 2 ] = unquoted.slice( 0, excess );\n\t\t\t}\n\n\t\t\t// Return only captures needed by the pseudo filter method (type and argument)\n\t\t\treturn match.slice( 0, 3 );\n\t\t}\n\t},\n\n\tfilter: {\n\n\t\t\"TAG\": function( nodeNameSelector ) {\n\t\t\tvar nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase();\n\t\t\treturn nodeNameSelector === \"*\" ?\n\t\t\t\tfunction() {\n\t\t\t\t\treturn true;\n\t\t\t\t} :\n\t\t\t\tfunction( elem ) {\n\t\t\t\t\treturn elem.nodeName && elem.nodeName.toLowerCase() === nodeName;\n\t\t\t\t};\n\t\t},\n\n\t\t\"CLASS\": function( className ) {\n\t\t\tvar pattern = classCache[ className + \" \" ];\n\n\t\t\treturn pattern ||\n\t\t\t\t( pattern = new RegExp( \"(^|\" + whitespace +\n\t\t\t\t\t\")\" + className + \"(\" + whitespace + \"|$)\" ) ) && classCache(\n\t\t\t\t\t\tclassName, function( elem ) {\n\t\t\t\t\t\t\treturn pattern.test(\n\t\t\t\t\t\t\t\ttypeof elem.className === \"string\" && elem.className ||\n\t\t\t\t\t\t\t\ttypeof elem.getAttribute !== \"undefined\" &&\n\t\t\t\t\t\t\t\t\telem.getAttribute( \"class\" ) ||\n\t\t\t\t\t\t\t\t\"\"\n\t\t\t\t\t\t\t);\n\t\t\t\t} );\n\t\t},\n\n\t\t\"ATTR\": function( name, operator, check ) {\n\t\t\treturn function( elem ) {\n\t\t\t\tvar result = Sizzle.attr( elem, name );\n\n\t\t\t\tif ( result == null ) {\n\t\t\t\t\treturn operator === \"!=\";\n\t\t\t\t}\n\t\t\t\tif ( !operator ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\n\t\t\t\tresult += \"\";\n\n\t\t\t\t/* eslint-disable max-len */\n\n\t\t\t\treturn operator === \"=\" ? result === check :\n\t\t\t\t\toperator === \"!=\" ? result !== check :\n\t\t\t\t\toperator === \"^=\" ? check && result.indexOf( check ) === 0 :\n\t\t\t\t\toperator === \"*=\" ? check && result.indexOf( check ) > -1 :\n\t\t\t\t\toperator === \"$=\" ? check && result.slice( -check.length ) === check :\n\t\t\t\t\toperator === \"~=\" ? ( \" \" + result.replace( rwhitespace, \" \" ) + \" \" ).indexOf( check ) > -1 :\n\t\t\t\t\toperator === \"|=\" ? result === check || result.slice( 0, check.length + 1 ) === check + \"-\" :\n\t\t\t\t\tfalse;\n\t\t\t\t/* eslint-enable max-len */\n\n\t\t\t};\n\t\t},\n\n\t\t\"CHILD\": function( type, what, _argument, first, last ) {\n\t\t\tvar simple = type.slice( 0, 3 ) !== \"nth\",\n\t\t\t\tforward = type.slice( -4 ) !== \"last\",\n\t\t\t\tofType = what === \"of-type\";\n\n\t\t\treturn first === 1 && last === 0 ?\n\n\t\t\t\t// Shortcut for :nth-*(n)\n\t\t\t\tfunction( elem ) {\n\t\t\t\t\treturn !!elem.parentNode;\n\t\t\t\t} :\n\n\t\t\t\tfunction( elem, _context, xml ) {\n\t\t\t\t\tvar cache, uniqueCache, outerCache, node, nodeIndex, start,\n\t\t\t\t\t\tdir = simple !== forward ? \"nextSibling\" : \"previousSibling\",\n\t\t\t\t\t\tparent = elem.parentNode,\n\t\t\t\t\t\tname = ofType && elem.nodeName.toLowerCase(),\n\t\t\t\t\t\tuseCache = !xml && !ofType,\n\t\t\t\t\t\tdiff = false;\n\n\t\t\t\t\tif ( parent ) {\n\n\t\t\t\t\t\t// :(first|last|only)-(child|of-type)\n\t\t\t\t\t\tif ( simple ) {\n\t\t\t\t\t\t\twhile ( dir ) {\n\t\t\t\t\t\t\t\tnode = elem;\n\t\t\t\t\t\t\t\twhile ( ( node = node[ dir ] ) ) {\n\t\t\t\t\t\t\t\t\tif ( ofType ?\n\t\t\t\t\t\t\t\t\t\tnode.nodeName.toLowerCase() === name :\n\t\t\t\t\t\t\t\t\t\tnode.nodeType === 1 ) {\n\n\t\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t// Reverse direction for :only-* (if we haven't yet done so)\n\t\t\t\t\t\t\t\tstart = dir = type === \"only\" && !start && \"nextSibling\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tstart = [ forward ? parent.firstChild : parent.lastChild ];\n\n\t\t\t\t\t\t// non-xml :nth-child(...) stores cache data on `parent`\n\t\t\t\t\t\tif ( forward && useCache ) {\n\n\t\t\t\t\t\t\t// Seek `elem` from a previously-cached index\n\n\t\t\t\t\t\t\t// ...in a gzip-friendly way\n\t\t\t\t\t\t\tnode = parent;\n\t\t\t\t\t\t\touterCache = node[ expando ] || ( node[ expando ] = {} );\n\n\t\t\t\t\t\t\t// Support: IE <9 only\n\t\t\t\t\t\t\t// Defend against cloned attroperties (jQuery gh-1709)\n\t\t\t\t\t\t\tuniqueCache = outerCache[ node.uniqueID ] ||\n\t\t\t\t\t\t\t\t( outerCache[ node.uniqueID ] = {} );\n\n\t\t\t\t\t\t\tcache = uniqueCache[ type ] || [];\n\t\t\t\t\t\t\tnodeIndex = cache[ 0 ] === dirruns && cache[ 1 ];\n\t\t\t\t\t\t\tdiff = nodeIndex && cache[ 2 ];\n\t\t\t\t\t\t\tnode = nodeIndex && parent.childNodes[ nodeIndex ];\n\n\t\t\t\t\t\t\twhile ( ( node = ++nodeIndex && node && node[ dir ] ||\n\n\t\t\t\t\t\t\t\t// Fallback to seeking `elem` from the start\n\t\t\t\t\t\t\t\t( diff = nodeIndex = 0 ) || start.pop() ) ) {\n\n\t\t\t\t\t\t\t\t// When found, cache indexes on `parent` and break\n\t\t\t\t\t\t\t\tif ( node.nodeType === 1 && ++diff && node === elem ) {\n\t\t\t\t\t\t\t\t\tuniqueCache[ type ] = [ dirruns, nodeIndex, diff ];\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t// Use previously-cached element index if available\n\t\t\t\t\t\t\tif ( useCache ) {\n\n\t\t\t\t\t\t\t\t// ...in a gzip-friendly way\n\t\t\t\t\t\t\t\tnode = elem;\n\t\t\t\t\t\t\t\touterCache = node[ expando ] || ( node[ expando ] = {} );\n\n\t\t\t\t\t\t\t\t// Support: IE <9 only\n\t\t\t\t\t\t\t\t// Defend against cloned attroperties (jQuery gh-1709)\n\t\t\t\t\t\t\t\tuniqueCache = outerCache[ node.uniqueID ] ||\n\t\t\t\t\t\t\t\t\t( outerCache[ node.uniqueID ] = {} );\n\n\t\t\t\t\t\t\t\tcache = uniqueCache[ type ] || [];\n\t\t\t\t\t\t\t\tnodeIndex = cache[ 0 ] === dirruns && cache[ 1 ];\n\t\t\t\t\t\t\t\tdiff = nodeIndex;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// xml :nth-child(...)\n\t\t\t\t\t\t\t// or :nth-last-child(...) or :nth(-last)?-of-type(...)\n\t\t\t\t\t\t\tif ( diff === false ) {\n\n\t\t\t\t\t\t\t\t// Use the same loop as above to seek `elem` from the start\n\t\t\t\t\t\t\t\twhile ( ( node = ++nodeIndex && node && node[ dir ] ||\n\t\t\t\t\t\t\t\t\t( diff = nodeIndex = 0 ) || start.pop() ) ) {\n\n\t\t\t\t\t\t\t\t\tif ( ( ofType ?\n\t\t\t\t\t\t\t\t\t\tnode.nodeName.toLowerCase() === name :\n\t\t\t\t\t\t\t\t\t\tnode.nodeType === 1 ) &&\n\t\t\t\t\t\t\t\t\t\t++diff ) {\n\n\t\t\t\t\t\t\t\t\t\t// Cache the index of each encountered element\n\t\t\t\t\t\t\t\t\t\tif ( useCache ) {\n\t\t\t\t\t\t\t\t\t\t\touterCache = node[ expando ] ||\n\t\t\t\t\t\t\t\t\t\t\t\t( node[ expando ] = {} );\n\n\t\t\t\t\t\t\t\t\t\t\t// Support: IE <9 only\n\t\t\t\t\t\t\t\t\t\t\t// Defend against cloned attroperties (jQuery gh-1709)\n\t\t\t\t\t\t\t\t\t\t\tuniqueCache = outerCache[ node.uniqueID ] ||\n\t\t\t\t\t\t\t\t\t\t\t\t( outerCache[ node.uniqueID ] = {} );\n\n\t\t\t\t\t\t\t\t\t\t\tuniqueCache[ type ] = [ dirruns, diff ];\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\tif ( node === elem ) {\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Incorporate the offset, then check against cycle size\n\t\t\t\t\t\tdiff -= last;\n\t\t\t\t\t\treturn diff === first || ( diff % first === 0 && diff / first >= 0 );\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t},\n\n\t\t\"PSEUDO\": function( pseudo, argument ) {\n\n\t\t\t// pseudo-class names are case-insensitive\n\t\t\t// http://www.w3.org/TR/selectors/#pseudo-classes\n\t\t\t// Prioritize by case sensitivity in case custom pseudos are added with uppercase letters\n\t\t\t// Remember that setFilters inherits from pseudos\n\t\t\tvar args,\n\t\t\t\tfn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] ||\n\t\t\t\t\tSizzle.error( \"unsupported pseudo: \" + pseudo );\n\n\t\t\t// The user may use createPseudo to indicate that\n\t\t\t// arguments are needed to create the filter function\n\t\t\t// just as Sizzle does\n\t\t\tif ( fn[ expando ] ) {\n\t\t\t\treturn fn( argument );\n\t\t\t}\n\n\t\t\t// But maintain support for old signatures\n\t\t\tif ( fn.length > 1 ) {\n\t\t\t\targs = [ pseudo, pseudo, \"\", argument ];\n\t\t\t\treturn Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ?\n\t\t\t\t\tmarkFunction( function( seed, matches ) {\n\t\t\t\t\t\tvar idx,\n\t\t\t\t\t\t\tmatched = fn( seed, argument ),\n\t\t\t\t\t\t\ti = matched.length;\n\t\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\t\tidx = indexOf( seed, matched[ i ] );\n\t\t\t\t\t\t\tseed[ idx ] = !( matches[ idx ] = matched[ i ] );\n\t\t\t\t\t\t}\n\t\t\t\t\t} ) :\n\t\t\t\t\tfunction( elem ) {\n\t\t\t\t\t\treturn fn( elem, 0, args );\n\t\t\t\t\t};\n\t\t\t}\n\n\t\t\treturn fn;\n\t\t}\n\t},\n\n\tpseudos: {\n\n\t\t// Potentially complex pseudos\n\t\t\"not\": markFunction( function( selector ) {\n\n\t\t\t// Trim the selector passed to compile\n\t\t\t// to avoid treating leading and trailing\n\t\t\t// spaces as combinators\n\t\t\tvar input = [],\n\t\t\t\tresults = [],\n\t\t\t\tmatcher = compile( selector.replace( rtrim, \"$1\" ) );\n\n\t\t\treturn matcher[ expando ] ?\n\t\t\t\tmarkFunction( function( seed, matches, _context, xml ) {\n\t\t\t\t\tvar elem,\n\t\t\t\t\t\tunmatched = matcher( seed, null, xml, [] ),\n\t\t\t\t\t\ti = seed.length;\n\n\t\t\t\t\t// Match elements unmatched by `matcher`\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tif ( ( elem = unmatched[ i ] ) ) {\n\t\t\t\t\t\t\tseed[ i ] = !( matches[ i ] = elem );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} ) :\n\t\t\t\tfunction( elem, _context, xml ) {\n\t\t\t\t\tinput[ 0 ] = elem;\n\t\t\t\t\tmatcher( input, null, xml, results );\n\n\t\t\t\t\t// Don't keep the element (issue #299)\n\t\t\t\t\tinput[ 0 ] = null;\n\t\t\t\t\treturn !results.pop();\n\t\t\t\t};\n\t\t} ),\n\n\t\t\"has\": markFunction( function( selector ) {\n\t\t\treturn function( elem ) {\n\t\t\t\treturn Sizzle( selector, elem ).length > 0;\n\t\t\t};\n\t\t} ),\n\n\t\t\"contains\": markFunction( function( text ) {\n\t\t\ttext = text.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\treturn ( elem.textContent || getText( elem ) ).indexOf( text ) > -1;\n\t\t\t};\n\t\t} ),\n\n\t\t// \"Whether an element is represented by a :lang() selector\n\t\t// is based solely on the element's language value\n\t\t// being equal to the identifier C,\n\t\t// or beginning with the identifier C immediately followed by \"-\".\n\t\t// The matching of C against the element's language value is performed case-insensitively.\n\t\t// The identifier C does not have to be a valid language name.\"\n\t\t// http://www.w3.org/TR/selectors/#lang-pseudo\n\t\t\"lang\": markFunction( function( lang ) {\n\n\t\t\t// lang value must be a valid identifier\n\t\t\tif ( !ridentifier.test( lang || \"\" ) ) {\n\t\t\t\tSizzle.error( \"unsupported lang: \" + lang );\n\t\t\t}\n\t\t\tlang = lang.replace( runescape, funescape ).toLowerCase();\n\t\t\treturn function( elem ) {\n\t\t\t\tvar elemLang;\n\t\t\t\tdo {\n\t\t\t\t\tif ( ( elemLang = documentIsHTML ?\n\t\t\t\t\t\telem.lang :\n\t\t\t\t\t\telem.getAttribute( \"xml:lang\" ) || elem.getAttribute( \"lang\" ) ) ) {\n\n\t\t\t\t\t\telemLang = elemLang.toLowerCase();\n\t\t\t\t\t\treturn elemLang === lang || elemLang.indexOf( lang + \"-\" ) === 0;\n\t\t\t\t\t}\n\t\t\t\t} while ( ( elem = elem.parentNode ) && elem.nodeType === 1 );\n\t\t\t\treturn false;\n\t\t\t};\n\t\t} ),\n\n\t\t// Miscellaneous\n\t\t\"target\": function( elem ) {\n\t\t\tvar hash = window.location && window.location.hash;\n\t\t\treturn hash && hash.slice( 1 ) === elem.id;\n\t\t},\n\n\t\t\"root\": function( elem ) {\n\t\t\treturn elem === docElem;\n\t\t},\n\n\t\t\"focus\": function( elem ) {\n\t\t\treturn elem === document.activeElement &&\n\t\t\t\t( !document.hasFocus || document.hasFocus() ) &&\n\t\t\t\t!!( elem.type || elem.href || ~elem.tabIndex );\n\t\t},\n\n\t\t// Boolean properties\n\t\t\"enabled\": createDisabledPseudo( false ),\n\t\t\"disabled\": createDisabledPseudo( true ),\n\n\t\t\"checked\": function( elem ) {\n\n\t\t\t// In CSS3, :checked should return both checked and selected elements\n\t\t\t// http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked\n\t\t\tvar nodeName = elem.nodeName.toLowerCase();\n\t\t\treturn ( nodeName === \"input\" && !!elem.checked ) ||\n\t\t\t\t( nodeName === \"option\" && !!elem.selected );\n\t\t},\n\n\t\t\"selected\": function( elem ) {\n\n\t\t\t// Accessing this property makes selected-by-default\n\t\t\t// options in Safari work properly\n\t\t\tif ( elem.parentNode ) {\n\t\t\t\t// eslint-disable-next-line no-unused-expressions\n\t\t\t\telem.parentNode.selectedIndex;\n\t\t\t}\n\n\t\t\treturn elem.selected === true;\n\t\t},\n\n\t\t// Contents\n\t\t\"empty\": function( elem ) {\n\n\t\t\t// http://www.w3.org/TR/selectors/#empty-pseudo\n\t\t\t// :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5),\n\t\t\t//   but not by others (comment: 8; processing instruction: 7; etc.)\n\t\t\t// nodeType < 6 works because attributes (2) do not appear as children\n\t\t\tfor ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {\n\t\t\t\tif ( elem.nodeType < 6 ) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t},\n\n\t\t\"parent\": function( elem ) {\n\t\t\treturn !Expr.pseudos[ \"empty\" ]( elem );\n\t\t},\n\n\t\t// Element/input types\n\t\t\"header\": function( elem ) {\n\t\t\treturn rheader.test( elem.nodeName );\n\t\t},\n\n\t\t\"input\": function( elem ) {\n\t\t\treturn rinputs.test( elem.nodeName );\n\t\t},\n\n\t\t\"button\": function( elem ) {\n\t\t\tvar name = elem.nodeName.toLowerCase();\n\t\t\treturn name === \"input\" && elem.type === \"button\" || name === \"button\";\n\t\t},\n\n\t\t\"text\": function( elem ) {\n\t\t\tvar attr;\n\t\t\treturn elem.nodeName.toLowerCase() === \"input\" &&\n\t\t\t\telem.type === \"text\" &&\n\n\t\t\t\t// Support: IE<8\n\t\t\t\t// New HTML5 attribute values (e.g., \"search\") appear with elem.type === \"text\"\n\t\t\t\t( ( attr = elem.getAttribute( \"type\" ) ) == null ||\n\t\t\t\t\tattr.toLowerCase() === \"text\" );\n\t\t},\n\n\t\t// Position-in-collection\n\t\t\"first\": createPositionalPseudo( function() {\n\t\t\treturn [ 0 ];\n\t\t} ),\n\n\t\t\"last\": createPositionalPseudo( function( _matchIndexes, length ) {\n\t\t\treturn [ length - 1 ];\n\t\t} ),\n\n\t\t\"eq\": createPositionalPseudo( function( _matchIndexes, length, argument ) {\n\t\t\treturn [ argument < 0 ? argument + length : argument ];\n\t\t} ),\n\n\t\t\"even\": createPositionalPseudo( function( matchIndexes, length ) {\n\t\t\tvar i = 0;\n\t\t\tfor ( ; i < length; i += 2 ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t} ),\n\n\t\t\"odd\": createPositionalPseudo( function( matchIndexes, length ) {\n\t\t\tvar i = 1;\n\t\t\tfor ( ; i < length; i += 2 ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t} ),\n\n\t\t\"lt\": createPositionalPseudo( function( matchIndexes, length, argument ) {\n\t\t\tvar i = argument < 0 ?\n\t\t\t\targument + length :\n\t\t\t\targument > length ?\n\t\t\t\t\tlength :\n\t\t\t\t\targument;\n\t\t\tfor ( ; --i >= 0; ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t} ),\n\n\t\t\"gt\": createPositionalPseudo( function( matchIndexes, length, argument ) {\n\t\t\tvar i = argument < 0 ? argument + length : argument;\n\t\t\tfor ( ; ++i < length; ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t} )\n\t}\n};\n\nExpr.pseudos[ \"nth\" ] = Expr.pseudos[ \"eq\" ];\n\n// Add button/input type pseudos\nfor ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) {\n\tExpr.pseudos[ i ] = createInputPseudo( i );\n}\nfor ( i in { submit: true, reset: true } ) {\n\tExpr.pseudos[ i ] = createButtonPseudo( i );\n}\n\n// Easy API for creating new setFilters\nfunction setFilters() {}\nsetFilters.prototype = Expr.filters = Expr.pseudos;\nExpr.setFilters = new setFilters();\n\ntokenize = Sizzle.tokenize = function( selector, parseOnly ) {\n\tvar matched, match, tokens, type,\n\t\tsoFar, groups, preFilters,\n\t\tcached = tokenCache[ selector + \" \" ];\n\n\tif ( cached ) {\n\t\treturn parseOnly ? 0 : cached.slice( 0 );\n\t}\n\n\tsoFar = selector;\n\tgroups = [];\n\tpreFilters = Expr.preFilter;\n\n\twhile ( soFar ) {\n\n\t\t// Comma and first run\n\t\tif ( !matched || ( match = rcomma.exec( soFar ) ) ) {\n\t\t\tif ( match ) {\n\n\t\t\t\t// Don't consume trailing commas as valid\n\t\t\t\tsoFar = soFar.slice( match[ 0 ].length ) || soFar;\n\t\t\t}\n\t\t\tgroups.push( ( tokens = [] ) );\n\t\t}\n\n\t\tmatched = false;\n\n\t\t// Combinators\n\t\tif ( ( match = rcombinators.exec( soFar ) ) ) {\n\t\t\tmatched = match.shift();\n\t\t\ttokens.push( {\n\t\t\t\tvalue: matched,\n\n\t\t\t\t// Cast descendant combinators to space\n\t\t\t\ttype: match[ 0 ].replace( rtrim, \" \" )\n\t\t\t} );\n\t\t\tsoFar = soFar.slice( matched.length );\n\t\t}\n\n\t\t// Filters\n\t\tfor ( type in Expr.filter ) {\n\t\t\tif ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] ||\n\t\t\t\t( match = preFilters[ type ]( match ) ) ) ) {\n\t\t\t\tmatched = match.shift();\n\t\t\t\ttokens.push( {\n\t\t\t\t\tvalue: matched,\n\t\t\t\t\ttype: type,\n\t\t\t\t\tmatches: match\n\t\t\t\t} );\n\t\t\t\tsoFar = soFar.slice( matched.length );\n\t\t\t}\n\t\t}\n\n\t\tif ( !matched ) {\n\t\t\tbreak;\n\t\t}\n\t}\n\n\t// Return the length of the invalid excess\n\t// if we're just parsing\n\t// Otherwise, throw an error or return tokens\n\treturn parseOnly ?\n\t\tsoFar.length :\n\t\tsoFar ?\n\t\t\tSizzle.error( selector ) :\n\n\t\t\t// Cache the tokens\n\t\t\ttokenCache( selector, groups ).slice( 0 );\n};\n\nfunction toSelector( tokens ) {\n\tvar i = 0,\n\t\tlen = tokens.length,\n\t\tselector = \"\";\n\tfor ( ; i < len; i++ ) {\n\t\tselector += tokens[ i ].value;\n\t}\n\treturn selector;\n}\n\nfunction addCombinator( matcher, combinator, base ) {\n\tvar dir = combinator.dir,\n\t\tskip = combinator.next,\n\t\tkey = skip || dir,\n\t\tcheckNonElements = base && key === \"parentNode\",\n\t\tdoneName = done++;\n\n\treturn combinator.first ?\n\n\t\t// Check against closest ancestor/preceding element\n\t\tfunction( elem, context, xml ) {\n\t\t\twhile ( ( elem = elem[ dir ] ) ) {\n\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\treturn matcher( elem, context, xml );\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t} :\n\n\t\t// Check against all ancestor/preceding elements\n\t\tfunction( elem, context, xml ) {\n\t\t\tvar oldCache, uniqueCache, outerCache,\n\t\t\t\tnewCache = [ dirruns, doneName ];\n\n\t\t\t// We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching\n\t\t\tif ( xml ) {\n\t\t\t\twhile ( ( elem = elem[ dir ] ) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\t\tif ( matcher( elem, context, xml ) ) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\twhile ( ( elem = elem[ dir ] ) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\t\touterCache = elem[ expando ] || ( elem[ expando ] = {} );\n\n\t\t\t\t\t\t// Support: IE <9 only\n\t\t\t\t\t\t// Defend against cloned attroperties (jQuery gh-1709)\n\t\t\t\t\t\tuniqueCache = outerCache[ elem.uniqueID ] ||\n\t\t\t\t\t\t\t( outerCache[ elem.uniqueID ] = {} );\n\n\t\t\t\t\t\tif ( skip && skip === elem.nodeName.toLowerCase() ) {\n\t\t\t\t\t\t\telem = elem[ dir ] || elem;\n\t\t\t\t\t\t} else if ( ( oldCache = uniqueCache[ key ] ) &&\n\t\t\t\t\t\t\toldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) {\n\n\t\t\t\t\t\t\t// Assign to newCache so results back-propagate to previous elements\n\t\t\t\t\t\t\treturn ( newCache[ 2 ] = oldCache[ 2 ] );\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t// Reuse newcache so results back-propagate to previous elements\n\t\t\t\t\t\t\tuniqueCache[ key ] = newCache;\n\n\t\t\t\t\t\t\t// A match means we're done; a fail means we have to keep checking\n\t\t\t\t\t\t\tif ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) {\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n}\n\nfunction elementMatcher( matchers ) {\n\treturn matchers.length > 1 ?\n\t\tfunction( elem, context, xml ) {\n\t\t\tvar i = matchers.length;\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( !matchers[ i ]( elem, context, xml ) ) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t} :\n\t\tmatchers[ 0 ];\n}\n\nfunction multipleContexts( selector, contexts, results ) {\n\tvar i = 0,\n\t\tlen = contexts.length;\n\tfor ( ; i < len; i++ ) {\n\t\tSizzle( selector, contexts[ i ], results );\n\t}\n\treturn results;\n}\n\nfunction condense( unmatched, map, filter, context, xml ) {\n\tvar elem,\n\t\tnewUnmatched = [],\n\t\ti = 0,\n\t\tlen = unmatched.length,\n\t\tmapped = map != null;\n\n\tfor ( ; i < len; i++ ) {\n\t\tif ( ( elem = unmatched[ i ] ) ) {\n\t\t\tif ( !filter || filter( elem, context, xml ) ) {\n\t\t\t\tnewUnmatched.push( elem );\n\t\t\t\tif ( mapped ) {\n\t\t\t\t\tmap.push( i );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn newUnmatched;\n}\n\nfunction setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {\n\tif ( postFilter && !postFilter[ expando ] ) {\n\t\tpostFilter = setMatcher( postFilter );\n\t}\n\tif ( postFinder && !postFinder[ expando ] ) {\n\t\tpostFinder = setMatcher( postFinder, postSelector );\n\t}\n\treturn markFunction( function( seed, results, context, xml ) {\n\t\tvar temp, i, elem,\n\t\t\tpreMap = [],\n\t\t\tpostMap = [],\n\t\t\tpreexisting = results.length,\n\n\t\t\t// Get initial elements from seed or context\n\t\t\telems = seed || multipleContexts(\n\t\t\t\tselector || \"*\",\n\t\t\t\tcontext.nodeType ? [ context ] : context,\n\t\t\t\t[]\n\t\t\t),\n\n\t\t\t// Prefilter to get matcher input, preserving a map for seed-results synchronization\n\t\t\tmatcherIn = preFilter && ( seed || !selector ) ?\n\t\t\t\tcondense( elems, preMap, preFilter, context, xml ) :\n\t\t\t\telems,\n\n\t\t\tmatcherOut = matcher ?\n\n\t\t\t\t// If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results,\n\t\t\t\tpostFinder || ( seed ? preFilter : preexisting || postFilter ) ?\n\n\t\t\t\t\t// ...intermediate processing is necessary\n\t\t\t\t\t[] :\n\n\t\t\t\t\t// ...otherwise use results directly\n\t\t\t\t\tresults :\n\t\t\t\tmatcherIn;\n\n\t\t// Find primary matches\n\t\tif ( matcher ) {\n\t\t\tmatcher( matcherIn, matcherOut, context, xml );\n\t\t}\n\n\t\t// Apply postFilter\n\t\tif ( postFilter ) {\n\t\t\ttemp = condense( matcherOut, postMap );\n\t\t\tpostFilter( temp, [], context, xml );\n\n\t\t\t// Un-match failing elements by moving them back to matcherIn\n\t\t\ti = temp.length;\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( ( elem = temp[ i ] ) ) {\n\t\t\t\t\tmatcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ( seed ) {\n\t\t\tif ( postFinder || preFilter ) {\n\t\t\t\tif ( postFinder ) {\n\n\t\t\t\t\t// Get the final matcherOut by condensing this intermediate into postFinder contexts\n\t\t\t\t\ttemp = [];\n\t\t\t\t\ti = matcherOut.length;\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tif ( ( elem = matcherOut[ i ] ) ) {\n\n\t\t\t\t\t\t\t// Restore matcherIn since elem is not yet a final match\n\t\t\t\t\t\t\ttemp.push( ( matcherIn[ i ] = elem ) );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tpostFinder( null, ( matcherOut = [] ), temp, xml );\n\t\t\t\t}\n\n\t\t\t\t// Move matched elements from seed to results to keep them synchronized\n\t\t\t\ti = matcherOut.length;\n\t\t\t\twhile ( i-- ) {\n\t\t\t\t\tif ( ( elem = matcherOut[ i ] ) &&\n\t\t\t\t\t\t( temp = postFinder ? indexOf( seed, elem ) : preMap[ i ] ) > -1 ) {\n\n\t\t\t\t\t\tseed[ temp ] = !( results[ temp ] = elem );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Add elements to results, through postFinder if defined\n\t\t} else {\n\t\t\tmatcherOut = condense(\n\t\t\t\tmatcherOut === results ?\n\t\t\t\t\tmatcherOut.splice( preexisting, matcherOut.length ) :\n\t\t\t\t\tmatcherOut\n\t\t\t);\n\t\t\tif ( postFinder ) {\n\t\t\t\tpostFinder( null, results, matcherOut, xml );\n\t\t\t} else {\n\t\t\t\tpush.apply( results, matcherOut );\n\t\t\t}\n\t\t}\n\t} );\n}\n\nfunction matcherFromTokens( tokens ) {\n\tvar checkContext, matcher, j,\n\t\tlen = tokens.length,\n\t\tleadingRelative = Expr.relative[ tokens[ 0 ].type ],\n\t\timplicitRelative = leadingRelative || Expr.relative[ \" \" ],\n\t\ti = leadingRelative ? 1 : 0,\n\n\t\t// The foundational matcher ensures that elements are reachable from top-level context(s)\n\t\tmatchContext = addCombinator( function( elem ) {\n\t\t\treturn elem === checkContext;\n\t\t}, implicitRelative, true ),\n\t\tmatchAnyContext = addCombinator( function( elem ) {\n\t\t\treturn indexOf( checkContext, elem ) > -1;\n\t\t}, implicitRelative, true ),\n\t\tmatchers = [ function( elem, context, xml ) {\n\t\t\tvar ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || (\n\t\t\t\t( checkContext = context ).nodeType ?\n\t\t\t\t\tmatchContext( elem, context, xml ) :\n\t\t\t\t\tmatchAnyContext( elem, context, xml ) );\n\n\t\t\t// Avoid hanging onto element (issue #299)\n\t\t\tcheckContext = null;\n\t\t\treturn ret;\n\t\t} ];\n\n\tfor ( ; i < len; i++ ) {\n\t\tif ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) {\n\t\t\tmatchers = [ addCombinator( elementMatcher( matchers ), matcher ) ];\n\t\t} else {\n\t\t\tmatcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches );\n\n\t\t\t// Return special upon seeing a positional matcher\n\t\t\tif ( matcher[ expando ] ) {\n\n\t\t\t\t// Find the next relative operator (if any) for proper handling\n\t\t\t\tj = ++i;\n\t\t\t\tfor ( ; j < len; j++ ) {\n\t\t\t\t\tif ( Expr.relative[ tokens[ j ].type ] ) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn setMatcher(\n\t\t\t\t\ti > 1 && elementMatcher( matchers ),\n\t\t\t\t\ti > 1 && toSelector(\n\n\t\t\t\t\t// If the preceding token was a descendant combinator, insert an implicit any-element `*`\n\t\t\t\t\ttokens\n\t\t\t\t\t\t.slice( 0, i - 1 )\n\t\t\t\t\t\t.concat( { value: tokens[ i - 2 ].type === \" \" ? \"*\" : \"\" } )\n\t\t\t\t\t).replace( rtrim, \"$1\" ),\n\t\t\t\t\tmatcher,\n\t\t\t\t\ti < j && matcherFromTokens( tokens.slice( i, j ) ),\n\t\t\t\t\tj < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ),\n\t\t\t\t\tj < len && toSelector( tokens )\n\t\t\t\t);\n\t\t\t}\n\t\t\tmatchers.push( matcher );\n\t\t}\n\t}\n\n\treturn elementMatcher( matchers );\n}\n\nfunction matcherFromGroupMatchers( elementMatchers, setMatchers ) {\n\tvar bySet = setMatchers.length > 0,\n\t\tbyElement = elementMatchers.length > 0,\n\t\tsuperMatcher = function( seed, context, xml, results, outermost ) {\n\t\t\tvar elem, j, matcher,\n\t\t\t\tmatchedCount = 0,\n\t\t\t\ti = \"0\",\n\t\t\t\tunmatched = seed && [],\n\t\t\t\tsetMatched = [],\n\t\t\t\tcontextBackup = outermostContext,\n\n\t\t\t\t// We must always have either seed elements or outermost context\n\t\t\t\telems = seed || byElement && Expr.find[ \"TAG\" ]( \"*\", outermost ),\n\n\t\t\t\t// Use integer dirruns iff this is the outermost matcher\n\t\t\t\tdirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ),\n\t\t\t\tlen = elems.length;\n\n\t\t\tif ( outermost ) {\n\n\t\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t\t// two documents; shallow comparisons work.\n\t\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\t\toutermostContext = context == document || context || outermost;\n\t\t\t}\n\n\t\t\t// Add elements passing elementMatchers directly to results\n\t\t\t// Support: IE<9, Safari\n\t\t\t// Tolerate NodeList properties (IE: \"length\"; Safari: <number>) matching elements by id\n\t\t\tfor ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) {\n\t\t\t\tif ( byElement && elem ) {\n\t\t\t\t\tj = 0;\n\n\t\t\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t\t\t// two documents; shallow comparisons work.\n\t\t\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\t\t\tif ( !context && elem.ownerDocument != document ) {\n\t\t\t\t\t\tsetDocument( elem );\n\t\t\t\t\t\txml = !documentIsHTML;\n\t\t\t\t\t}\n\t\t\t\t\twhile ( ( matcher = elementMatchers[ j++ ] ) ) {\n\t\t\t\t\t\tif ( matcher( elem, context || document, xml ) ) {\n\t\t\t\t\t\t\tresults.push( elem );\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif ( outermost ) {\n\t\t\t\t\t\tdirruns = dirrunsUnique;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Track unmatched elements for set filters\n\t\t\t\tif ( bySet ) {\n\n\t\t\t\t\t// They will have gone through all possible matchers\n\t\t\t\t\tif ( ( elem = !matcher && elem ) ) {\n\t\t\t\t\t\tmatchedCount--;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Lengthen the array for every element, matched or not\n\t\t\t\t\tif ( seed ) {\n\t\t\t\t\t\tunmatched.push( elem );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// `i` is now the count of elements visited above, and adding it to `matchedCount`\n\t\t\t// makes the latter nonnegative.\n\t\t\tmatchedCount += i;\n\n\t\t\t// Apply set filters to unmatched elements\n\t\t\t// NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount`\n\t\t\t// equals `i`), unless we didn't visit _any_ elements in the above loop because we have\n\t\t\t// no element matchers and no seed.\n\t\t\t// Incrementing an initially-string \"0\" `i` allows `i` to remain a string only in that\n\t\t\t// case, which will result in a \"00\" `matchedCount` that differs from `i` but is also\n\t\t\t// numerically zero.\n\t\t\tif ( bySet && i !== matchedCount ) {\n\t\t\t\tj = 0;\n\t\t\t\twhile ( ( matcher = setMatchers[ j++ ] ) ) {\n\t\t\t\t\tmatcher( unmatched, setMatched, context, xml );\n\t\t\t\t}\n\n\t\t\t\tif ( seed ) {\n\n\t\t\t\t\t// Reintegrate element matches to eliminate the need for sorting\n\t\t\t\t\tif ( matchedCount > 0 ) {\n\t\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\t\tif ( !( unmatched[ i ] || setMatched[ i ] ) ) {\n\t\t\t\t\t\t\t\tsetMatched[ i ] = pop.call( results );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Discard index placeholder values to get only actual matches\n\t\t\t\t\tsetMatched = condense( setMatched );\n\t\t\t\t}\n\n\t\t\t\t// Add matches to results\n\t\t\t\tpush.apply( results, setMatched );\n\n\t\t\t\t// Seedless set matches succeeding multiple successful matchers stipulate sorting\n\t\t\t\tif ( outermost && !seed && setMatched.length > 0 &&\n\t\t\t\t\t( matchedCount + setMatchers.length ) > 1 ) {\n\n\t\t\t\t\tSizzle.uniqueSort( results );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Override manipulation of globals by nested matchers\n\t\t\tif ( outermost ) {\n\t\t\t\tdirruns = dirrunsUnique;\n\t\t\t\toutermostContext = contextBackup;\n\t\t\t}\n\n\t\t\treturn unmatched;\n\t\t};\n\n\treturn bySet ?\n\t\tmarkFunction( superMatcher ) :\n\t\tsuperMatcher;\n}\n\ncompile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) {\n\tvar i,\n\t\tsetMatchers = [],\n\t\telementMatchers = [],\n\t\tcached = compilerCache[ selector + \" \" ];\n\n\tif ( !cached ) {\n\n\t\t// Generate a function of recursive functions that can be used to check each element\n\t\tif ( !match ) {\n\t\t\tmatch = tokenize( selector );\n\t\t}\n\t\ti = match.length;\n\t\twhile ( i-- ) {\n\t\t\tcached = matcherFromTokens( match[ i ] );\n\t\t\tif ( cached[ expando ] ) {\n\t\t\t\tsetMatchers.push( cached );\n\t\t\t} else {\n\t\t\t\telementMatchers.push( cached );\n\t\t\t}\n\t\t}\n\n\t\t// Cache the compiled function\n\t\tcached = compilerCache(\n\t\t\tselector,\n\t\t\tmatcherFromGroupMatchers( elementMatchers, setMatchers )\n\t\t);\n\n\t\t// Save selector and tokenization\n\t\tcached.selector = selector;\n\t}\n\treturn cached;\n};\n\n/**\n * A low-level selection function that works with Sizzle's compiled\n *  selector functions\n * @param {String|Function} selector A selector or a pre-compiled\n *  selector function built with Sizzle.compile\n * @param {Element} context\n * @param {Array} [results]\n * @param {Array} [seed] A set of elements to match against\n */\nselect = Sizzle.select = function( selector, context, results, seed ) {\n\tvar i, tokens, token, type, find,\n\t\tcompiled = typeof selector === \"function\" && selector,\n\t\tmatch = !seed && tokenize( ( selector = compiled.selector || selector ) );\n\n\tresults = results || [];\n\n\t// Try to minimize operations if there is only one selector in the list and no seed\n\t// (the latter of which guarantees us context)\n\tif ( match.length === 1 ) {\n\n\t\t// Reduce context if the leading compound selector is an ID\n\t\ttokens = match[ 0 ] = match[ 0 ].slice( 0 );\n\t\tif ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === \"ID\" &&\n\t\t\tcontext.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) {\n\n\t\t\tcontext = ( Expr.find[ \"ID\" ]( token.matches[ 0 ]\n\t\t\t\t.replace( runescape, funescape ), context ) || [] )[ 0 ];\n\t\t\tif ( !context ) {\n\t\t\t\treturn results;\n\n\t\t\t// Precompiled matchers will still verify ancestry, so step up a level\n\t\t\t} else if ( compiled ) {\n\t\t\t\tcontext = context.parentNode;\n\t\t\t}\n\n\t\t\tselector = selector.slice( tokens.shift().value.length );\n\t\t}\n\n\t\t// Fetch a seed set for right-to-left matching\n\t\ti = matchExpr[ \"needsContext\" ].test( selector ) ? 0 : tokens.length;\n\t\twhile ( i-- ) {\n\t\t\ttoken = tokens[ i ];\n\n\t\t\t// Abort if we hit a combinator\n\t\t\tif ( Expr.relative[ ( type = token.type ) ] ) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif ( ( find = Expr.find[ type ] ) ) {\n\n\t\t\t\t// Search, expanding context for leading sibling combinators\n\t\t\t\tif ( ( seed = find(\n\t\t\t\t\ttoken.matches[ 0 ].replace( runescape, funescape ),\n\t\t\t\t\trsibling.test( tokens[ 0 ].type ) && testContext( context.parentNode ) ||\n\t\t\t\t\t\tcontext\n\t\t\t\t) ) ) {\n\n\t\t\t\t\t// If seed is empty or no tokens remain, we can return early\n\t\t\t\t\ttokens.splice( i, 1 );\n\t\t\t\t\tselector = seed.length && toSelector( tokens );\n\t\t\t\t\tif ( !selector ) {\n\t\t\t\t\t\tpush.apply( results, seed );\n\t\t\t\t\t\treturn results;\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Compile and execute a filtering function if one is not provided\n\t// Provide `match` to avoid retokenization if we modified the selector above\n\t( compiled || compile( selector, match ) )(\n\t\tseed,\n\t\tcontext,\n\t\t!documentIsHTML,\n\t\tresults,\n\t\t!context || rsibling.test( selector ) && testContext( context.parentNode ) || context\n\t);\n\treturn results;\n};\n\n// One-time assignments\n\n// Sort stability\nsupport.sortStable = expando.split( \"\" ).sort( sortOrder ).join( \"\" ) === expando;\n\n// Support: Chrome 14-35+\n// Always assume duplicates if they aren't passed to the comparison function\nsupport.detectDuplicates = !!hasDuplicate;\n\n// Initialize against the default document\nsetDocument();\n\n// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27)\n// Detached nodes confoundingly follow *each other*\nsupport.sortDetached = assert( function( el ) {\n\n\t// Should return 1, but returns 4 (following)\n\treturn el.compareDocumentPosition( document.createElement( \"fieldset\" ) ) & 1;\n} );\n\n// Support: IE<8\n// Prevent attribute/property \"interpolation\"\n// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx\nif ( !assert( function( el ) {\n\tel.innerHTML = \"<a href='#'></a>\";\n\treturn el.firstChild.getAttribute( \"href\" ) === \"#\";\n} ) ) {\n\taddHandle( \"type|href|height|width\", function( elem, name, isXML ) {\n\t\tif ( !isXML ) {\n\t\t\treturn elem.getAttribute( name, name.toLowerCase() === \"type\" ? 1 : 2 );\n\t\t}\n\t} );\n}\n\n// Support: IE<9\n// Use defaultValue in place of getAttribute(\"value\")\nif ( !support.attributes || !assert( function( el ) {\n\tel.innerHTML = \"<input/>\";\n\tel.firstChild.setAttribute( \"value\", \"\" );\n\treturn el.firstChild.getAttribute( \"value\" ) === \"\";\n} ) ) {\n\taddHandle( \"value\", function( elem, _name, isXML ) {\n\t\tif ( !isXML && elem.nodeName.toLowerCase() === \"input\" ) {\n\t\t\treturn elem.defaultValue;\n\t\t}\n\t} );\n}\n\n// Support: IE<9\n// Use getAttributeNode to fetch booleans when getAttribute lies\nif ( !assert( function( el ) {\n\treturn el.getAttribute( \"disabled\" ) == null;\n} ) ) {\n\taddHandle( booleans, function( elem, name, isXML ) {\n\t\tvar val;\n\t\tif ( !isXML ) {\n\t\t\treturn elem[ name ] === true ? name.toLowerCase() :\n\t\t\t\t( val = elem.getAttributeNode( name ) ) && val.specified ?\n\t\t\t\t\tval.value :\n\t\t\t\t\tnull;\n\t\t}\n\t} );\n}\n\nreturn Sizzle;\n\n} )( window );\n\n\n\njQuery.find = Sizzle;\njQuery.expr = Sizzle.selectors;\n\n// Deprecated\njQuery.expr[ \":\" ] = jQuery.expr.pseudos;\njQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort;\njQuery.text = Sizzle.getText;\njQuery.isXMLDoc = Sizzle.isXML;\njQuery.contains = Sizzle.contains;\njQuery.escapeSelector = Sizzle.escape;\n\n\n\n\nvar dir = function( elem, dir, until ) {\n\tvar matched = [],\n\t\ttruncate = until !== undefined;\n\n\twhile ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) {\n\t\tif ( elem.nodeType === 1 ) {\n\t\t\tif ( truncate && jQuery( elem ).is( until ) ) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tmatched.push( elem );\n\t\t}\n\t}\n\treturn matched;\n};\n\n\nvar siblings = function( n, elem ) {\n\tvar matched = [];\n\n\tfor ( ; n; n = n.nextSibling ) {\n\t\tif ( n.nodeType === 1 && n !== elem ) {\n\t\t\tmatched.push( n );\n\t\t}\n\t}\n\n\treturn matched;\n};\n\n\nvar rneedsContext = jQuery.expr.match.needsContext;\n\n\n\nfunction nodeName( elem, name ) {\n\n\treturn elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();\n\n}\nvar rsingleTag = ( /^<([a-z][^\\/\\0>:\\x20\\t\\r\\n\\f]*)[\\x20\\t\\r\\n\\f]*\\/?>(?:<\\/\\1>|)$/i );\n\n\n\n// Implement the identical functionality for filter and not\nfunction winnow( elements, qualifier, not ) {\n\tif ( isFunction( qualifier ) ) {\n\t\treturn jQuery.grep( elements, function( elem, i ) {\n\t\t\treturn !!qualifier.call( elem, i, elem ) !== not;\n\t\t} );\n\t}\n\n\t// Single element\n\tif ( qualifier.nodeType ) {\n\t\treturn jQuery.grep( elements, function( elem ) {\n\t\t\treturn ( elem === qualifier ) !== not;\n\t\t} );\n\t}\n\n\t// Arraylike of elements (jQuery, arguments, Array)\n\tif ( typeof qualifier !== \"string\" ) {\n\t\treturn jQuery.grep( elements, function( elem ) {\n\t\t\treturn ( indexOf.call( qualifier, elem ) > -1 ) !== not;\n\t\t} );\n\t}\n\n\t// Filtered directly for both simple and complex selectors\n\treturn jQuery.filter( qualifier, elements, not );\n}\n\njQuery.filter = function( expr, elems, not ) {\n\tvar elem = elems[ 0 ];\n\n\tif ( not ) {\n\t\texpr = \":not(\" + expr + \")\";\n\t}\n\n\tif ( elems.length === 1 && elem.nodeType === 1 ) {\n\t\treturn jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [];\n\t}\n\n\treturn jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) {\n\t\treturn elem.nodeType === 1;\n\t} ) );\n};\n\njQuery.fn.extend( {\n\tfind: function( selector ) {\n\t\tvar i, ret,\n\t\t\tlen = this.length,\n\t\t\tself = this;\n\n\t\tif ( typeof selector !== \"string\" ) {\n\t\t\treturn this.pushStack( jQuery( selector ).filter( function() {\n\t\t\t\tfor ( i = 0; i < len; i++ ) {\n\t\t\t\t\tif ( jQuery.contains( self[ i ], this ) ) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} ) );\n\t\t}\n\n\t\tret = this.pushStack( [] );\n\n\t\tfor ( i = 0; i < len; i++ ) {\n\t\t\tjQuery.find( selector, self[ i ], ret );\n\t\t}\n\n\t\treturn len > 1 ? jQuery.uniqueSort( ret ) : ret;\n\t},\n\tfilter: function( selector ) {\n\t\treturn this.pushStack( winnow( this, selector || [], false ) );\n\t},\n\tnot: function( selector ) {\n\t\treturn this.pushStack( winnow( this, selector || [], true ) );\n\t},\n\tis: function( selector ) {\n\t\treturn !!winnow(\n\t\t\tthis,\n\n\t\t\t// If this is a positional/relative selector, check membership in the returned set\n\t\t\t// so $(\"p:first\").is(\"p:last\") won't return true for a doc with two \"p\".\n\t\t\ttypeof selector === \"string\" && rneedsContext.test( selector ) ?\n\t\t\t\tjQuery( selector ) :\n\t\t\t\tselector || [],\n\t\t\tfalse\n\t\t).length;\n\t}\n} );\n\n\n// Initialize a jQuery object\n\n\n// A central reference to the root jQuery(document)\nvar rootjQuery,\n\n\t// A simple way to check for HTML strings\n\t// Prioritize #id over <tag> to avoid XSS via location.hash (#9521)\n\t// Strict HTML recognition (#11290: must start with <)\n\t// Shortcut simple #id case for speed\n\trquickExpr = /^(?:\\s*(<[\\w\\W]+>)[^>]*|#([\\w-]+))$/,\n\n\tinit = jQuery.fn.init = function( selector, context, root ) {\n\t\tvar match, elem;\n\n\t\t// HANDLE: $(\"\"), $(null), $(undefined), $(false)\n\t\tif ( !selector ) {\n\t\t\treturn this;\n\t\t}\n\n\t\t// Method init() accepts an alternate rootjQuery\n\t\t// so migrate can support jQuery.sub (gh-2101)\n\t\troot = root || rootjQuery;\n\n\t\t// Handle HTML strings\n\t\tif ( typeof selector === \"string\" ) {\n\t\t\tif ( selector[ 0 ] === \"<\" &&\n\t\t\t\tselector[ selector.length - 1 ] === \">\" &&\n\t\t\t\tselector.length >= 3 ) {\n\n\t\t\t\t// Assume that strings that start and end with <> are HTML and skip the regex check\n\t\t\t\tmatch = [ null, selector, null ];\n\n\t\t\t} else {\n\t\t\t\tmatch = rquickExpr.exec( selector );\n\t\t\t}\n\n\t\t\t// Match html or make sure no context is specified for #id\n\t\t\tif ( match && ( match[ 1 ] || !context ) ) {\n\n\t\t\t\t// HANDLE: $(html) -> $(array)\n\t\t\t\tif ( match[ 1 ] ) {\n\t\t\t\t\tcontext = context instanceof jQuery ? context[ 0 ] : context;\n\n\t\t\t\t\t// Option to run scripts is true for back-compat\n\t\t\t\t\t// Intentionally let the error be thrown if parseHTML is not present\n\t\t\t\t\tjQuery.merge( this, jQuery.parseHTML(\n\t\t\t\t\t\tmatch[ 1 ],\n\t\t\t\t\t\tcontext && context.nodeType ? context.ownerDocument || context : document,\n\t\t\t\t\t\ttrue\n\t\t\t\t\t) );\n\n\t\t\t\t\t// HANDLE: $(html, props)\n\t\t\t\t\tif ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) {\n\t\t\t\t\t\tfor ( match in context ) {\n\n\t\t\t\t\t\t\t// Properties of context are called as methods if possible\n\t\t\t\t\t\t\tif ( isFunction( this[ match ] ) ) {\n\t\t\t\t\t\t\t\tthis[ match ]( context[ match ] );\n\n\t\t\t\t\t\t\t// ...and otherwise set as attributes\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tthis.attr( match, context[ match ] );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treturn this;\n\n\t\t\t\t// HANDLE: $(#id)\n\t\t\t\t} else {\n\t\t\t\t\telem = document.getElementById( match[ 2 ] );\n\n\t\t\t\t\tif ( elem ) {\n\n\t\t\t\t\t\t// Inject the element directly into the jQuery object\n\t\t\t\t\t\tthis[ 0 ] = elem;\n\t\t\t\t\t\tthis.length = 1;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\n\t\t\t// HANDLE: $(expr, $(...))\n\t\t\t} else if ( !context || context.jquery ) {\n\t\t\t\treturn ( context || root ).find( selector );\n\n\t\t\t// HANDLE: $(expr, context)\n\t\t\t// (which is just equivalent to: $(context).find(expr)\n\t\t\t} else {\n\t\t\t\treturn this.constructor( context ).find( selector );\n\t\t\t}\n\n\t\t// HANDLE: $(DOMElement)\n\t\t} else if ( selector.nodeType ) {\n\t\t\tthis[ 0 ] = selector;\n\t\t\tthis.length = 1;\n\t\t\treturn this;\n\n\t\t// HANDLE: $(function)\n\t\t// Shortcut for document ready\n\t\t} else if ( isFunction( selector ) ) {\n\t\t\treturn root.ready !== undefined ?\n\t\t\t\troot.ready( selector ) :\n\n\t\t\t\t// Execute immediately if ready is not present\n\t\t\t\tselector( jQuery );\n\t\t}\n\n\t\treturn jQuery.makeArray( selector, this );\n\t};\n\n// Give the init function the jQuery prototype for later instantiation\ninit.prototype = jQuery.fn;\n\n// Initialize central reference\nrootjQuery = jQuery( document );\n\n\nvar rparentsprev = /^(?:parents|prev(?:Until|All))/,\n\n\t// Methods guaranteed to produce a unique set when starting from a unique set\n\tguaranteedUnique = {\n\t\tchildren: true,\n\t\tcontents: true,\n\t\tnext: true,\n\t\tprev: true\n\t};\n\njQuery.fn.extend( {\n\thas: function( target ) {\n\t\tvar targets = jQuery( target, this ),\n\t\t\tl = targets.length;\n\n\t\treturn this.filter( function() {\n\t\t\tvar i = 0;\n\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\tif ( jQuery.contains( this, targets[ i ] ) ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t},\n\n\tclosest: function( selectors, context ) {\n\t\tvar cur,\n\t\t\ti = 0,\n\t\t\tl = this.length,\n\t\t\tmatched = [],\n\t\t\ttargets = typeof selectors !== \"string\" && jQuery( selectors );\n\n\t\t// Positional selectors never match, since there's no _selection_ context\n\t\tif ( !rneedsContext.test( selectors ) ) {\n\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\tfor ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) {\n\n\t\t\t\t\t// Always skip document fragments\n\t\t\t\t\tif ( cur.nodeType < 11 && ( targets ?\n\t\t\t\t\t\ttargets.index( cur ) > -1 :\n\n\t\t\t\t\t\t// Don't pass non-elements to Sizzle\n\t\t\t\t\t\tcur.nodeType === 1 &&\n\t\t\t\t\t\t\tjQuery.find.matchesSelector( cur, selectors ) ) ) {\n\n\t\t\t\t\t\tmatched.push( cur );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched );\n\t},\n\n\t// Determine the position of an element within the set\n\tindex: function( elem ) {\n\n\t\t// No argument, return index in parent\n\t\tif ( !elem ) {\n\t\t\treturn ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1;\n\t\t}\n\n\t\t// Index in selector\n\t\tif ( typeof elem === \"string\" ) {\n\t\t\treturn indexOf.call( jQuery( elem ), this[ 0 ] );\n\t\t}\n\n\t\t// Locate the position of the desired element\n\t\treturn indexOf.call( this,\n\n\t\t\t// If it receives a jQuery object, the first element is used\n\t\t\telem.jquery ? elem[ 0 ] : elem\n\t\t);\n\t},\n\n\tadd: function( selector, context ) {\n\t\treturn this.pushStack(\n\t\t\tjQuery.uniqueSort(\n\t\t\t\tjQuery.merge( this.get(), jQuery( selector, context ) )\n\t\t\t)\n\t\t);\n\t},\n\n\taddBack: function( selector ) {\n\t\treturn this.add( selector == null ?\n\t\t\tthis.prevObject : this.prevObject.filter( selector )\n\t\t);\n\t}\n} );\n\nfunction sibling( cur, dir ) {\n\twhile ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {}\n\treturn cur;\n}\n\njQuery.each( {\n\tparent: function( elem ) {\n\t\tvar parent = elem.parentNode;\n\t\treturn parent && parent.nodeType !== 11 ? parent : null;\n\t},\n\tparents: function( elem ) {\n\t\treturn dir( elem, \"parentNode\" );\n\t},\n\tparentsUntil: function( elem, _i, until ) {\n\t\treturn dir( elem, \"parentNode\", until );\n\t},\n\tnext: function( elem ) {\n\t\treturn sibling( elem, \"nextSibling\" );\n\t},\n\tprev: function( elem ) {\n\t\treturn sibling( elem, \"previousSibling\" );\n\t},\n\tnextAll: function( elem ) {\n\t\treturn dir( elem, \"nextSibling\" );\n\t},\n\tprevAll: function( elem ) {\n\t\treturn dir( elem, \"previousSibling\" );\n\t},\n\tnextUntil: function( elem, _i, until ) {\n\t\treturn dir( elem, \"nextSibling\", until );\n\t},\n\tprevUntil: function( elem, _i, until ) {\n\t\treturn dir( elem, \"previousSibling\", until );\n\t},\n\tsiblings: function( elem ) {\n\t\treturn siblings( ( elem.parentNode || {} ).firstChild, elem );\n\t},\n\tchildren: function( elem ) {\n\t\treturn siblings( elem.firstChild );\n\t},\n\tcontents: function( elem ) {\n\t\tif ( elem.contentDocument != null &&\n\n\t\t\t// Support: IE 11+\n\t\t\t// <object> elements with no `data` attribute has an object\n\t\t\t// `contentDocument` with a `null` prototype.\n\t\t\tgetProto( elem.contentDocument ) ) {\n\n\t\t\treturn elem.contentDocument;\n\t\t}\n\n\t\t// Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only\n\t\t// Treat the template element as a regular one in browsers that\n\t\t// don't support it.\n\t\tif ( nodeName( elem, \"template\" ) ) {\n\t\t\telem = elem.content || elem;\n\t\t}\n\n\t\treturn jQuery.merge( [], elem.childNodes );\n\t}\n}, function( name, fn ) {\n\tjQuery.fn[ name ] = function( until, selector ) {\n\t\tvar matched = jQuery.map( this, fn, until );\n\n\t\tif ( name.slice( -5 ) !== \"Until\" ) {\n\t\t\tselector = until;\n\t\t}\n\n\t\tif ( selector && typeof selector === \"string\" ) {\n\t\t\tmatched = jQuery.filter( selector, matched );\n\t\t}\n\n\t\tif ( this.length > 1 ) {\n\n\t\t\t// Remove duplicates\n\t\t\tif ( !guaranteedUnique[ name ] ) {\n\t\t\t\tjQuery.uniqueSort( matched );\n\t\t\t}\n\n\t\t\t// Reverse order for parents* and prev-derivatives\n\t\t\tif ( rparentsprev.test( name ) ) {\n\t\t\t\tmatched.reverse();\n\t\t\t}\n\t\t}\n\n\t\treturn this.pushStack( matched );\n\t};\n} );\nvar rnothtmlwhite = ( /[^\\x20\\t\\r\\n\\f]+/g );\n\n\n\n// Convert String-formatted options into Object-formatted ones\nfunction createOptions( options ) {\n\tvar object = {};\n\tjQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) {\n\t\tobject[ flag ] = true;\n\t} );\n\treturn object;\n}\n\n/*\n * Create a callback list using the following parameters:\n *\n *\toptions: an optional list of space-separated options that will change how\n *\t\t\tthe callback list behaves or a more traditional option object\n *\n * By default a callback list will act like an event callback list and can be\n * \"fired\" multiple times.\n *\n * Possible options:\n *\n *\tonce:\t\t\twill ensure the callback list can only be fired once (like a Deferred)\n *\n *\tmemory:\t\t\twill keep track of previous values and will call any callback added\n *\t\t\t\t\tafter the list has been fired right away with the latest \"memorized\"\n *\t\t\t\t\tvalues (like a Deferred)\n *\n *\tunique:\t\t\twill ensure a callback can only be added once (no duplicate in the list)\n *\n *\tstopOnFalse:\tinterrupt callings when a callback returns false\n *\n */\njQuery.Callbacks = function( options ) {\n\n\t// Convert options from String-formatted to Object-formatted if needed\n\t// (we check in cache first)\n\toptions = typeof options === \"string\" ?\n\t\tcreateOptions( options ) :\n\t\tjQuery.extend( {}, options );\n\n\tvar // Flag to know if list is currently firing\n\t\tfiring,\n\n\t\t// Last fire value for non-forgettable lists\n\t\tmemory,\n\n\t\t// Flag to know if list was already fired\n\t\tfired,\n\n\t\t// Flag to prevent firing\n\t\tlocked,\n\n\t\t// Actual callback list\n\t\tlist = [],\n\n\t\t// Queue of execution data for repeatable lists\n\t\tqueue = [],\n\n\t\t// Index of currently firing callback (modified by add/remove as needed)\n\t\tfiringIndex = -1,\n\n\t\t// Fire callbacks\n\t\tfire = function() {\n\n\t\t\t// Enforce single-firing\n\t\t\tlocked = locked || options.once;\n\n\t\t\t// Execute callbacks for all pending executions,\n\t\t\t// respecting firingIndex overrides and runtime changes\n\t\t\tfired = firing = true;\n\t\t\tfor ( ; queue.length; firingIndex = -1 ) {\n\t\t\t\tmemory = queue.shift();\n\t\t\t\twhile ( ++firingIndex < list.length ) {\n\n\t\t\t\t\t// Run callback and check for early termination\n\t\t\t\t\tif ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false &&\n\t\t\t\t\t\toptions.stopOnFalse ) {\n\n\t\t\t\t\t\t// Jump to end and forget the data so .add doesn't re-fire\n\t\t\t\t\t\tfiringIndex = list.length;\n\t\t\t\t\t\tmemory = false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Forget the data if we're done with it\n\t\t\tif ( !options.memory ) {\n\t\t\t\tmemory = false;\n\t\t\t}\n\n\t\t\tfiring = false;\n\n\t\t\t// Clean up if we're done firing for good\n\t\t\tif ( locked ) {\n\n\t\t\t\t// Keep an empty list if we have data for future add calls\n\t\t\t\tif ( memory ) {\n\t\t\t\t\tlist = [];\n\n\t\t\t\t// Otherwise, this object is spent\n\t\t\t\t} else {\n\t\t\t\t\tlist = \"\";\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\t// Actual Callbacks object\n\t\tself = {\n\n\t\t\t// Add a callback or a collection of callbacks to the list\n\t\t\tadd: function() {\n\t\t\t\tif ( list ) {\n\n\t\t\t\t\t// If we have memory from a past run, we should fire after adding\n\t\t\t\t\tif ( memory && !firing ) {\n\t\t\t\t\t\tfiringIndex = list.length - 1;\n\t\t\t\t\t\tqueue.push( memory );\n\t\t\t\t\t}\n\n\t\t\t\t\t( function add( args ) {\n\t\t\t\t\t\tjQuery.each( args, function( _, arg ) {\n\t\t\t\t\t\t\tif ( isFunction( arg ) ) {\n\t\t\t\t\t\t\t\tif ( !options.unique || !self.has( arg ) ) {\n\t\t\t\t\t\t\t\t\tlist.push( arg );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if ( arg && arg.length && toType( arg ) !== \"string\" ) {\n\n\t\t\t\t\t\t\t\t// Inspect recursively\n\t\t\t\t\t\t\t\tadd( arg );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} );\n\t\t\t\t\t} )( arguments );\n\n\t\t\t\t\tif ( memory && !firing ) {\n\t\t\t\t\t\tfire();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Remove a callback from the list\n\t\t\tremove: function() {\n\t\t\t\tjQuery.each( arguments, function( _, arg ) {\n\t\t\t\t\tvar index;\n\t\t\t\t\twhile ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) {\n\t\t\t\t\t\tlist.splice( index, 1 );\n\n\t\t\t\t\t\t// Handle firing indexes\n\t\t\t\t\t\tif ( index <= firingIndex ) {\n\t\t\t\t\t\t\tfiringIndex--;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Check if a given callback is in the list.\n\t\t\t// If no argument is given, return whether or not list has callbacks attached.\n\t\t\thas: function( fn ) {\n\t\t\t\treturn fn ?\n\t\t\t\t\tjQuery.inArray( fn, list ) > -1 :\n\t\t\t\t\tlist.length > 0;\n\t\t\t},\n\n\t\t\t// Remove all callbacks from the list\n\t\t\tempty: function() {\n\t\t\t\tif ( list ) {\n\t\t\t\t\tlist = [];\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Disable .fire and .add\n\t\t\t// Abort any current/pending executions\n\t\t\t// Clear all callbacks and values\n\t\t\tdisable: function() {\n\t\t\t\tlocked = queue = [];\n\t\t\t\tlist = memory = \"\";\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\tdisabled: function() {\n\t\t\t\treturn !list;\n\t\t\t},\n\n\t\t\t// Disable .fire\n\t\t\t// Also disable .add unless we have memory (since it would have no effect)\n\t\t\t// Abort any pending executions\n\t\t\tlock: function() {\n\t\t\t\tlocked = queue = [];\n\t\t\t\tif ( !memory && !firing ) {\n\t\t\t\t\tlist = memory = \"\";\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\tlocked: function() {\n\t\t\t\treturn !!locked;\n\t\t\t},\n\n\t\t\t// Call all callbacks with the given context and arguments\n\t\t\tfireWith: function( context, args ) {\n\t\t\t\tif ( !locked ) {\n\t\t\t\t\targs = args || [];\n\t\t\t\t\targs = [ context, args.slice ? args.slice() : args ];\n\t\t\t\t\tqueue.push( args );\n\t\t\t\t\tif ( !firing ) {\n\t\t\t\t\t\tfire();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Call all the callbacks with the given arguments\n\t\t\tfire: function() {\n\t\t\t\tself.fireWith( this, arguments );\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// To know if the callbacks have already been called at least once\n\t\t\tfired: function() {\n\t\t\t\treturn !!fired;\n\t\t\t}\n\t\t};\n\n\treturn self;\n};\n\n\nfunction Identity( v ) {\n\treturn v;\n}\nfunction Thrower( ex ) {\n\tthrow ex;\n}\n\nfunction adoptValue( value, resolve, reject, noValue ) {\n\tvar method;\n\n\ttry {\n\n\t\t// Check for promise aspect first to privilege synchronous behavior\n\t\tif ( value && isFunction( ( method = value.promise ) ) ) {\n\t\t\tmethod.call( value ).done( resolve ).fail( reject );\n\n\t\t// Other thenables\n\t\t} else if ( value && isFunction( ( method = value.then ) ) ) {\n\t\t\tmethod.call( value, resolve, reject );\n\n\t\t// Other non-thenables\n\t\t} else {\n\n\t\t\t// Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer:\n\t\t\t// * false: [ value ].slice( 0 ) => resolve( value )\n\t\t\t// * true: [ value ].slice( 1 ) => resolve()\n\t\t\tresolve.apply( undefined, [ value ].slice( noValue ) );\n\t\t}\n\n\t// For Promises/A+, convert exceptions into rejections\n\t// Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in\n\t// Deferred#then to conditionally suppress rejection.\n\t} catch ( value ) {\n\n\t\t// Support: Android 4.0 only\n\t\t// Strict mode functions invoked without .call/.apply get global-object context\n\t\treject.apply( undefined, [ value ] );\n\t}\n}\n\njQuery.extend( {\n\n\tDeferred: function( func ) {\n\t\tvar tuples = [\n\n\t\t\t\t// action, add listener, callbacks,\n\t\t\t\t// ... .then handlers, argument index, [final state]\n\t\t\t\t[ \"notify\", \"progress\", jQuery.Callbacks( \"memory\" ),\n\t\t\t\t\tjQuery.Callbacks( \"memory\" ), 2 ],\n\t\t\t\t[ \"resolve\", \"done\", jQuery.Callbacks( \"once memory\" ),\n\t\t\t\t\tjQuery.Callbacks( \"once memory\" ), 0, \"resolved\" ],\n\t\t\t\t[ \"reject\", \"fail\", jQuery.Callbacks( \"once memory\" ),\n\t\t\t\t\tjQuery.Callbacks( \"once memory\" ), 1, \"rejected\" ]\n\t\t\t],\n\t\t\tstate = \"pending\",\n\t\t\tpromise = {\n\t\t\t\tstate: function() {\n\t\t\t\t\treturn state;\n\t\t\t\t},\n\t\t\t\talways: function() {\n\t\t\t\t\tdeferred.done( arguments ).fail( arguments );\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\t\t\t\t\"catch\": function( fn ) {\n\t\t\t\t\treturn promise.then( null, fn );\n\t\t\t\t},\n\n\t\t\t\t// Keep pipe for back-compat\n\t\t\t\tpipe: function( /* fnDone, fnFail, fnProgress */ ) {\n\t\t\t\t\tvar fns = arguments;\n\n\t\t\t\t\treturn jQuery.Deferred( function( newDefer ) {\n\t\t\t\t\t\tjQuery.each( tuples, function( _i, tuple ) {\n\n\t\t\t\t\t\t\t// Map tuples (progress, done, fail) to arguments (done, fail, progress)\n\t\t\t\t\t\t\tvar fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ];\n\n\t\t\t\t\t\t\t// deferred.progress(function() { bind to newDefer or newDefer.notify })\n\t\t\t\t\t\t\t// deferred.done(function() { bind to newDefer or newDefer.resolve })\n\t\t\t\t\t\t\t// deferred.fail(function() { bind to newDefer or newDefer.reject })\n\t\t\t\t\t\t\tdeferred[ tuple[ 1 ] ]( function() {\n\t\t\t\t\t\t\t\tvar returned = fn && fn.apply( this, arguments );\n\t\t\t\t\t\t\t\tif ( returned && isFunction( returned.promise ) ) {\n\t\t\t\t\t\t\t\t\treturned.promise()\n\t\t\t\t\t\t\t\t\t\t.progress( newDefer.notify )\n\t\t\t\t\t\t\t\t\t\t.done( newDefer.resolve )\n\t\t\t\t\t\t\t\t\t\t.fail( newDefer.reject );\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tnewDefer[ tuple[ 0 ] + \"With\" ](\n\t\t\t\t\t\t\t\t\t\tthis,\n\t\t\t\t\t\t\t\t\t\tfn ? [ returned ] : arguments\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t} );\n\t\t\t\t\t\tfns = null;\n\t\t\t\t\t} ).promise();\n\t\t\t\t},\n\t\t\t\tthen: function( onFulfilled, onRejected, onProgress ) {\n\t\t\t\t\tvar maxDepth = 0;\n\t\t\t\t\tfunction resolve( depth, deferred, handler, special ) {\n\t\t\t\t\t\treturn function() {\n\t\t\t\t\t\t\tvar that = this,\n\t\t\t\t\t\t\t\targs = arguments,\n\t\t\t\t\t\t\t\tmightThrow = function() {\n\t\t\t\t\t\t\t\t\tvar returned, then;\n\n\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.3.3.3\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-59\n\t\t\t\t\t\t\t\t\t// Ignore double-resolution attempts\n\t\t\t\t\t\t\t\t\tif ( depth < maxDepth ) {\n\t\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\treturned = handler.apply( that, args );\n\n\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.1\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-48\n\t\t\t\t\t\t\t\t\tif ( returned === deferred.promise() ) {\n\t\t\t\t\t\t\t\t\t\tthrow new TypeError( \"Thenable self-resolution\" );\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t// Support: Promises/A+ sections 2.3.3.1, 3.5\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-54\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-75\n\t\t\t\t\t\t\t\t\t// Retrieve `then` only once\n\t\t\t\t\t\t\t\t\tthen = returned &&\n\n\t\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.4\n\t\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-64\n\t\t\t\t\t\t\t\t\t\t// Only check objects and functions for thenability\n\t\t\t\t\t\t\t\t\t\t( typeof returned === \"object\" ||\n\t\t\t\t\t\t\t\t\t\t\ttypeof returned === \"function\" ) &&\n\t\t\t\t\t\t\t\t\t\treturned.then;\n\n\t\t\t\t\t\t\t\t\t// Handle a returned thenable\n\t\t\t\t\t\t\t\t\tif ( isFunction( then ) ) {\n\n\t\t\t\t\t\t\t\t\t\t// Special processors (notify) just wait for resolution\n\t\t\t\t\t\t\t\t\t\tif ( special ) {\n\t\t\t\t\t\t\t\t\t\t\tthen.call(\n\t\t\t\t\t\t\t\t\t\t\t\treturned,\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Identity, special ),\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Thrower, special )\n\t\t\t\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\t\t\t// Normal processors (resolve) also hook into progress\n\t\t\t\t\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t\t\t\t\t// ...and disregard older resolution values\n\t\t\t\t\t\t\t\t\t\t\tmaxDepth++;\n\n\t\t\t\t\t\t\t\t\t\t\tthen.call(\n\t\t\t\t\t\t\t\t\t\t\t\treturned,\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Identity, special ),\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Thrower, special ),\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Identity,\n\t\t\t\t\t\t\t\t\t\t\t\t\tdeferred.notifyWith )\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t// Handle all other returned values\n\t\t\t\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t\t\t\t// Only substitute handlers pass on context\n\t\t\t\t\t\t\t\t\t\t// and multiple values (non-spec behavior)\n\t\t\t\t\t\t\t\t\t\tif ( handler !== Identity ) {\n\t\t\t\t\t\t\t\t\t\t\tthat = undefined;\n\t\t\t\t\t\t\t\t\t\t\targs = [ returned ];\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t// Process the value(s)\n\t\t\t\t\t\t\t\t\t\t// Default process is resolve\n\t\t\t\t\t\t\t\t\t\t( special || deferred.resolveWith )( that, args );\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\n\t\t\t\t\t\t\t\t// Only normal processors (resolve) catch and reject exceptions\n\t\t\t\t\t\t\t\tprocess = special ?\n\t\t\t\t\t\t\t\t\tmightThrow :\n\t\t\t\t\t\t\t\t\tfunction() {\n\t\t\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t\t\tmightThrow();\n\t\t\t\t\t\t\t\t\t\t} catch ( e ) {\n\n\t\t\t\t\t\t\t\t\t\t\tif ( jQuery.Deferred.exceptionHook ) {\n\t\t\t\t\t\t\t\t\t\t\t\tjQuery.Deferred.exceptionHook( e,\n\t\t\t\t\t\t\t\t\t\t\t\t\tprocess.stackTrace );\n\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.3.3.4.1\n\t\t\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-61\n\t\t\t\t\t\t\t\t\t\t\t// Ignore post-resolution exceptions\n\t\t\t\t\t\t\t\t\t\t\tif ( depth + 1 >= maxDepth ) {\n\n\t\t\t\t\t\t\t\t\t\t\t\t// Only substitute handlers pass on context\n\t\t\t\t\t\t\t\t\t\t\t\t// and multiple values (non-spec behavior)\n\t\t\t\t\t\t\t\t\t\t\t\tif ( handler !== Thrower ) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tthat = undefined;\n\t\t\t\t\t\t\t\t\t\t\t\t\targs = [ e ];\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t\tdeferred.rejectWith( that, args );\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.3.3.1\n\t\t\t\t\t\t\t// https://promisesaplus.com/#point-57\n\t\t\t\t\t\t\t// Re-resolve promises immediately to dodge false rejection from\n\t\t\t\t\t\t\t// subsequent errors\n\t\t\t\t\t\t\tif ( depth ) {\n\t\t\t\t\t\t\t\tprocess();\n\t\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t\t// Call an optional hook to record the stack, in case of exception\n\t\t\t\t\t\t\t\t// since it's otherwise lost when execution goes async\n\t\t\t\t\t\t\t\tif ( jQuery.Deferred.getStackHook ) {\n\t\t\t\t\t\t\t\t\tprocess.stackTrace = jQuery.Deferred.getStackHook();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\twindow.setTimeout( process );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\n\t\t\t\t\treturn jQuery.Deferred( function( newDefer ) {\n\n\t\t\t\t\t\t// progress_handlers.add( ... )\n\t\t\t\t\t\ttuples[ 0 ][ 3 ].add(\n\t\t\t\t\t\t\tresolve(\n\t\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\tnewDefer,\n\t\t\t\t\t\t\t\tisFunction( onProgress ) ?\n\t\t\t\t\t\t\t\t\tonProgress :\n\t\t\t\t\t\t\t\t\tIdentity,\n\t\t\t\t\t\t\t\tnewDefer.notifyWith\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\t// fulfilled_handlers.add( ... )\n\t\t\t\t\t\ttuples[ 1 ][ 3 ].add(\n\t\t\t\t\t\t\tresolve(\n\t\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\tnewDefer,\n\t\t\t\t\t\t\t\tisFunction( onFulfilled ) ?\n\t\t\t\t\t\t\t\t\tonFulfilled :\n\t\t\t\t\t\t\t\t\tIdentity\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\t// rejected_handlers.add( ... )\n\t\t\t\t\t\ttuples[ 2 ][ 3 ].add(\n\t\t\t\t\t\t\tresolve(\n\t\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\tnewDefer,\n\t\t\t\t\t\t\t\tisFunction( onRejected ) ?\n\t\t\t\t\t\t\t\t\tonRejected :\n\t\t\t\t\t\t\t\t\tThrower\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\t\t\t\t\t} ).promise();\n\t\t\t\t},\n\n\t\t\t\t// Get a promise for this deferred\n\t\t\t\t// If obj is provided, the promise aspect is added to the object\n\t\t\t\tpromise: function( obj ) {\n\t\t\t\t\treturn obj != null ? jQuery.extend( obj, promise ) : promise;\n\t\t\t\t}\n\t\t\t},\n\t\t\tdeferred = {};\n\n\t\t// Add list-specific methods\n\t\tjQuery.each( tuples, function( i, tuple ) {\n\t\t\tvar list = tuple[ 2 ],\n\t\t\t\tstateString = tuple[ 5 ];\n\n\t\t\t// promise.progress = list.add\n\t\t\t// promise.done = list.add\n\t\t\t// promise.fail = list.add\n\t\t\tpromise[ tuple[ 1 ] ] = list.add;\n\n\t\t\t// Handle state\n\t\t\tif ( stateString ) {\n\t\t\t\tlist.add(\n\t\t\t\t\tfunction() {\n\n\t\t\t\t\t\t// state = \"resolved\" (i.e., fulfilled)\n\t\t\t\t\t\t// state = \"rejected\"\n\t\t\t\t\t\tstate = stateString;\n\t\t\t\t\t},\n\n\t\t\t\t\t// rejected_callbacks.disable\n\t\t\t\t\t// fulfilled_callbacks.disable\n\t\t\t\t\ttuples[ 3 - i ][ 2 ].disable,\n\n\t\t\t\t\t// rejected_handlers.disable\n\t\t\t\t\t// fulfilled_handlers.disable\n\t\t\t\t\ttuples[ 3 - i ][ 3 ].disable,\n\n\t\t\t\t\t// progress_callbacks.lock\n\t\t\t\t\ttuples[ 0 ][ 2 ].lock,\n\n\t\t\t\t\t// progress_handlers.lock\n\t\t\t\t\ttuples[ 0 ][ 3 ].lock\n\t\t\t\t);\n\t\t\t}\n\n\t\t\t// progress_handlers.fire\n\t\t\t// fulfilled_handlers.fire\n\t\t\t// rejected_handlers.fire\n\t\t\tlist.add( tuple[ 3 ].fire );\n\n\t\t\t// deferred.notify = function() { deferred.notifyWith(...) }\n\t\t\t// deferred.resolve = function() { deferred.resolveWith(...) }\n\t\t\t// deferred.reject = function() { deferred.rejectWith(...) }\n\t\t\tdeferred[ tuple[ 0 ] ] = function() {\n\t\t\t\tdeferred[ tuple[ 0 ] + \"With\" ]( this === deferred ? undefined : this, arguments );\n\t\t\t\treturn this;\n\t\t\t};\n\n\t\t\t// deferred.notifyWith = list.fireWith\n\t\t\t// deferred.resolveWith = list.fireWith\n\t\t\t// deferred.rejectWith = list.fireWith\n\t\t\tdeferred[ tuple[ 0 ] + \"With\" ] = list.fireWith;\n\t\t} );\n\n\t\t// Make the deferred a promise\n\t\tpromise.promise( deferred );\n\n\t\t// Call given func if any\n\t\tif ( func ) {\n\t\t\tfunc.call( deferred, deferred );\n\t\t}\n\n\t\t// All done!\n\t\treturn deferred;\n\t},\n\n\t// Deferred helper\n\twhen: function( singleValue ) {\n\t\tvar\n\n\t\t\t// count of uncompleted subordinates\n\t\t\tremaining = arguments.length,\n\n\t\t\t// count of unprocessed arguments\n\t\t\ti = remaining,\n\n\t\t\t// subordinate fulfillment data\n\t\t\tresolveContexts = Array( i ),\n\t\t\tresolveValues = slice.call( arguments ),\n\n\t\t\t// the primary Deferred\n\t\t\tprimary = jQuery.Deferred(),\n\n\t\t\t// subordinate callback factory\n\t\t\tupdateFunc = function( i ) {\n\t\t\t\treturn function( value ) {\n\t\t\t\t\tresolveContexts[ i ] = this;\n\t\t\t\t\tresolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value;\n\t\t\t\t\tif ( !( --remaining ) ) {\n\t\t\t\t\t\tprimary.resolveWith( resolveContexts, resolveValues );\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t};\n\n\t\t// Single- and empty arguments are adopted like Promise.resolve\n\t\tif ( remaining <= 1 ) {\n\t\t\tadoptValue( singleValue, primary.done( updateFunc( i ) ).resolve, primary.reject,\n\t\t\t\t!remaining );\n\n\t\t\t// Use .then() to unwrap secondary thenables (cf. gh-3000)\n\t\t\tif ( primary.state() === \"pending\" ||\n\t\t\t\tisFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) {\n\n\t\t\t\treturn primary.then();\n\t\t\t}\n\t\t}\n\n\t\t// Multiple arguments are aggregated like Promise.all array elements\n\t\twhile ( i-- ) {\n\t\t\tadoptValue( resolveValues[ i ], updateFunc( i ), primary.reject );\n\t\t}\n\n\t\treturn primary.promise();\n\t}\n} );\n\n\n// These usually indicate a programmer mistake during development,\n// warn about them ASAP rather than swallowing them by default.\nvar rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;\n\njQuery.Deferred.exceptionHook = function( error, stack ) {\n\n\t// Support: IE 8 - 9 only\n\t// Console exists when dev tools are open, which can happen at any time\n\tif ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) {\n\t\twindow.console.warn( \"jQuery.Deferred exception: \" + error.message, error.stack, stack );\n\t}\n};\n\n\n\n\njQuery.readyException = function( error ) {\n\twindow.setTimeout( function() {\n\t\tthrow error;\n\t} );\n};\n\n\n\n\n// The deferred used on DOM ready\nvar readyList = jQuery.Deferred();\n\njQuery.fn.ready = function( fn ) {\n\n\treadyList\n\t\t.then( fn )\n\n\t\t// Wrap jQuery.readyException in a function so that the lookup\n\t\t// happens at the time of error handling instead of callback\n\t\t// registration.\n\t\t.catch( function( error ) {\n\t\t\tjQuery.readyException( error );\n\t\t} );\n\n\treturn this;\n};\n\njQuery.extend( {\n\n\t// Is the DOM ready to be used? Set to true once it occurs.\n\tisReady: false,\n\n\t// A counter to track how many items to wait for before\n\t// the ready event fires. See #6781\n\treadyWait: 1,\n\n\t// Handle when the DOM is ready\n\tready: function( wait ) {\n\n\t\t// Abort if there are pending holds or we're already ready\n\t\tif ( wait === true ? --jQuery.readyWait : jQuery.isReady ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Remember that the DOM is ready\n\t\tjQuery.isReady = true;\n\n\t\t// If a normal DOM Ready event fired, decrement, and wait if need be\n\t\tif ( wait !== true && --jQuery.readyWait > 0 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// If there are functions bound, to execute\n\t\treadyList.resolveWith( document, [ jQuery ] );\n\t}\n} );\n\njQuery.ready.then = readyList.then;\n\n// The ready event handler and self cleanup method\nfunction completed() {\n\tdocument.removeEventListener( \"DOMContentLoaded\", completed );\n\twindow.removeEventListener( \"load\", completed );\n\tjQuery.ready();\n}\n\n// Catch cases where $(document).ready() is called\n// after the browser event has already occurred.\n// Support: IE <=9 - 10 only\n// Older IE sometimes signals \"interactive\" too soon\nif ( document.readyState === \"complete\" ||\n\t( document.readyState !== \"loading\" && !document.documentElement.doScroll ) ) {\n\n\t// Handle it asynchronously to allow scripts the opportunity to delay ready\n\twindow.setTimeout( jQuery.ready );\n\n} else {\n\n\t// Use the handy event callback\n\tdocument.addEventListener( \"DOMContentLoaded\", completed );\n\n\t// A fallback to window.onload, that will always work\n\twindow.addEventListener( \"load\", completed );\n}\n\n\n\n\n// Multifunctional method to get and set values of a collection\n// The value/s can optionally be executed if it's a function\nvar access = function( elems, fn, key, value, chainable, emptyGet, raw ) {\n\tvar i = 0,\n\t\tlen = elems.length,\n\t\tbulk = key == null;\n\n\t// Sets many values\n\tif ( toType( key ) === \"object\" ) {\n\t\tchainable = true;\n\t\tfor ( i in key ) {\n\t\t\taccess( elems, fn, i, key[ i ], true, emptyGet, raw );\n\t\t}\n\n\t// Sets one value\n\t} else if ( value !== undefined ) {\n\t\tchainable = true;\n\n\t\tif ( !isFunction( value ) ) {\n\t\t\traw = true;\n\t\t}\n\n\t\tif ( bulk ) {\n\n\t\t\t// Bulk operations run against the entire set\n\t\t\tif ( raw ) {\n\t\t\t\tfn.call( elems, value );\n\t\t\t\tfn = null;\n\n\t\t\t// ...except when executing function values\n\t\t\t} else {\n\t\t\t\tbulk = fn;\n\t\t\t\tfn = function( elem, _key, value ) {\n\t\t\t\t\treturn bulk.call( jQuery( elem ), value );\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\n\t\tif ( fn ) {\n\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\tfn(\n\t\t\t\t\telems[ i ], key, raw ?\n\t\t\t\t\t\tvalue :\n\t\t\t\t\t\tvalue.call( elems[ i ], i, fn( elems[ i ], key ) )\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t}\n\n\tif ( chainable ) {\n\t\treturn elems;\n\t}\n\n\t// Gets\n\tif ( bulk ) {\n\t\treturn fn.call( elems );\n\t}\n\n\treturn len ? fn( elems[ 0 ], key ) : emptyGet;\n};\n\n\n// Matches dashed string for camelizing\nvar rmsPrefix = /^-ms-/,\n\trdashAlpha = /-([a-z])/g;\n\n// Used by camelCase as callback to replace()\nfunction fcamelCase( _all, letter ) {\n\treturn letter.toUpperCase();\n}\n\n// Convert dashed to camelCase; used by the css and data modules\n// Support: IE <=9 - 11, Edge 12 - 15\n// Microsoft forgot to hump their vendor prefix (#9572)\nfunction camelCase( string ) {\n\treturn string.replace( rmsPrefix, \"ms-\" ).replace( rdashAlpha, fcamelCase );\n}\nvar acceptData = function( owner ) {\n\n\t// Accepts only:\n\t//  - Node\n\t//    - Node.ELEMENT_NODE\n\t//    - Node.DOCUMENT_NODE\n\t//  - Object\n\t//    - Any\n\treturn owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType );\n};\n\n\n\n\nfunction Data() {\n\tthis.expando = jQuery.expando + Data.uid++;\n}\n\nData.uid = 1;\n\nData.prototype = {\n\n\tcache: function( owner ) {\n\n\t\t// Check if the owner object already has a cache\n\t\tvar value = owner[ this.expando ];\n\n\t\t// If not, create one\n\t\tif ( !value ) {\n\t\t\tvalue = {};\n\n\t\t\t// We can accept data for non-element nodes in modern browsers,\n\t\t\t// but we should not, see #8335.\n\t\t\t// Always return an empty object.\n\t\t\tif ( acceptData( owner ) ) {\n\n\t\t\t\t// If it is a node unlikely to be stringify-ed or looped over\n\t\t\t\t// use plain assignment\n\t\t\t\tif ( owner.nodeType ) {\n\t\t\t\t\towner[ this.expando ] = value;\n\n\t\t\t\t// Otherwise secure it in a non-enumerable property\n\t\t\t\t// configurable must be true to allow the property to be\n\t\t\t\t// deleted when data is removed\n\t\t\t\t} else {\n\t\t\t\t\tObject.defineProperty( owner, this.expando, {\n\t\t\t\t\t\tvalue: value,\n\t\t\t\t\t\tconfigurable: true\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn value;\n\t},\n\tset: function( owner, data, value ) {\n\t\tvar prop,\n\t\t\tcache = this.cache( owner );\n\n\t\t// Handle: [ owner, key, value ] args\n\t\t// Always use camelCase key (gh-2257)\n\t\tif ( typeof data === \"string\" ) {\n\t\t\tcache[ camelCase( data ) ] = value;\n\n\t\t// Handle: [ owner, { properties } ] args\n\t\t} else {\n\n\t\t\t// Copy the properties one-by-one to the cache object\n\t\t\tfor ( prop in data ) {\n\t\t\t\tcache[ camelCase( prop ) ] = data[ prop ];\n\t\t\t}\n\t\t}\n\t\treturn cache;\n\t},\n\tget: function( owner, key ) {\n\t\treturn key === undefined ?\n\t\t\tthis.cache( owner ) :\n\n\t\t\t// Always use camelCase key (gh-2257)\n\t\t\towner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ];\n\t},\n\taccess: function( owner, key, value ) {\n\n\t\t// In cases where either:\n\t\t//\n\t\t//   1. No key was specified\n\t\t//   2. A string key was specified, but no value provided\n\t\t//\n\t\t// Take the \"read\" path and allow the get method to determine\n\t\t// which value to return, respectively either:\n\t\t//\n\t\t//   1. The entire cache object\n\t\t//   2. The data stored at the key\n\t\t//\n\t\tif ( key === undefined ||\n\t\t\t\t( ( key && typeof key === \"string\" ) && value === undefined ) ) {\n\n\t\t\treturn this.get( owner, key );\n\t\t}\n\n\t\t// When the key is not a string, or both a key and value\n\t\t// are specified, set or extend (existing objects) with either:\n\t\t//\n\t\t//   1. An object of properties\n\t\t//   2. A key and value\n\t\t//\n\t\tthis.set( owner, key, value );\n\n\t\t// Since the \"set\" path can have two possible entry points\n\t\t// return the expected data based on which path was taken[*]\n\t\treturn value !== undefined ? value : key;\n\t},\n\tremove: function( owner, key ) {\n\t\tvar i,\n\t\t\tcache = owner[ this.expando ];\n\n\t\tif ( cache === undefined ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( key !== undefined ) {\n\n\t\t\t// Support array or space separated string of keys\n\t\t\tif ( Array.isArray( key ) ) {\n\n\t\t\t\t// If key is an array of keys...\n\t\t\t\t// We always set camelCase keys, so remove that.\n\t\t\t\tkey = key.map( camelCase );\n\t\t\t} else {\n\t\t\t\tkey = camelCase( key );\n\n\t\t\t\t// If a key with the spaces exists, use it.\n\t\t\t\t// Otherwise, create an array by matching non-whitespace\n\t\t\t\tkey = key in cache ?\n\t\t\t\t\t[ key ] :\n\t\t\t\t\t( key.match( rnothtmlwhite ) || [] );\n\t\t\t}\n\n\t\t\ti = key.length;\n\n\t\t\twhile ( i-- ) {\n\t\t\t\tdelete cache[ key[ i ] ];\n\t\t\t}\n\t\t}\n\n\t\t// Remove the expando if there's no more data\n\t\tif ( key === undefined || jQuery.isEmptyObject( cache ) ) {\n\n\t\t\t// Support: Chrome <=35 - 45\n\t\t\t// Webkit & Blink performance suffers when deleting properties\n\t\t\t// from DOM nodes, so set to undefined instead\n\t\t\t// https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted)\n\t\t\tif ( owner.nodeType ) {\n\t\t\t\towner[ this.expando ] = undefined;\n\t\t\t} else {\n\t\t\t\tdelete owner[ this.expando ];\n\t\t\t}\n\t\t}\n\t},\n\thasData: function( owner ) {\n\t\tvar cache = owner[ this.expando ];\n\t\treturn cache !== undefined && !jQuery.isEmptyObject( cache );\n\t}\n};\nvar dataPriv = new Data();\n\nvar dataUser = new Data();\n\n\n\n//\tImplementation Summary\n//\n//\t1. Enforce API surface and semantic compatibility with 1.9.x branch\n//\t2. Improve the module's maintainability by reducing the storage\n//\t\tpaths to a single mechanism.\n//\t3. Use the same single mechanism to support \"private\" and \"user\" data.\n//\t4. _Never_ expose \"private\" data to user code (TODO: Drop _data, _removeData)\n//\t5. Avoid exposing implementation details on user objects (eg. expando properties)\n//\t6. Provide a clear path for implementation upgrade to WeakMap in 2014\n\nvar rbrace = /^(?:\\{[\\w\\W]*\\}|\\[[\\w\\W]*\\])$/,\n\trmultiDash = /[A-Z]/g;\n\nfunction getData( data ) {\n\tif ( data === \"true\" ) {\n\t\treturn true;\n\t}\n\n\tif ( data === \"false\" ) {\n\t\treturn false;\n\t}\n\n\tif ( data === \"null\" ) {\n\t\treturn null;\n\t}\n\n\t// Only convert to a number if it doesn't change the string\n\tif ( data === +data + \"\" ) {\n\t\treturn +data;\n\t}\n\n\tif ( rbrace.test( data ) ) {\n\t\treturn JSON.parse( data );\n\t}\n\n\treturn data;\n}\n\nfunction dataAttr( elem, key, data ) {\n\tvar name;\n\n\t// If nothing was found internally, try to fetch any\n\t// data from the HTML5 data-* attribute\n\tif ( data === undefined && elem.nodeType === 1 ) {\n\t\tname = \"data-\" + key.replace( rmultiDash, \"-$&\" ).toLowerCase();\n\t\tdata = elem.getAttribute( name );\n\n\t\tif ( typeof data === \"string\" ) {\n\t\t\ttry {\n\t\t\t\tdata = getData( data );\n\t\t\t} catch ( e ) {}\n\n\t\t\t// Make sure we set the data so it isn't changed later\n\t\t\tdataUser.set( elem, key, data );\n\t\t} else {\n\t\t\tdata = undefined;\n\t\t}\n\t}\n\treturn data;\n}\n\njQuery.extend( {\n\thasData: function( elem ) {\n\t\treturn dataUser.hasData( elem ) || dataPriv.hasData( elem );\n\t},\n\n\tdata: function( elem, name, data ) {\n\t\treturn dataUser.access( elem, name, data );\n\t},\n\n\tremoveData: function( elem, name ) {\n\t\tdataUser.remove( elem, name );\n\t},\n\n\t// TODO: Now that all calls to _data and _removeData have been replaced\n\t// with direct calls to dataPriv methods, these can be deprecated.\n\t_data: function( elem, name, data ) {\n\t\treturn dataPriv.access( elem, name, data );\n\t},\n\n\t_removeData: function( elem, name ) {\n\t\tdataPriv.remove( elem, name );\n\t}\n} );\n\njQuery.fn.extend( {\n\tdata: function( key, value ) {\n\t\tvar i, name, data,\n\t\t\telem = this[ 0 ],\n\t\t\tattrs = elem && elem.attributes;\n\n\t\t// Gets all values\n\t\tif ( key === undefined ) {\n\t\t\tif ( this.length ) {\n\t\t\t\tdata = dataUser.get( elem );\n\n\t\t\t\tif ( elem.nodeType === 1 && !dataPriv.get( elem, \"hasDataAttrs\" ) ) {\n\t\t\t\t\ti = attrs.length;\n\t\t\t\t\twhile ( i-- ) {\n\n\t\t\t\t\t\t// Support: IE 11 only\n\t\t\t\t\t\t// The attrs elements can be null (#14894)\n\t\t\t\t\t\tif ( attrs[ i ] ) {\n\t\t\t\t\t\t\tname = attrs[ i ].name;\n\t\t\t\t\t\t\tif ( name.indexOf( \"data-\" ) === 0 ) {\n\t\t\t\t\t\t\t\tname = camelCase( name.slice( 5 ) );\n\t\t\t\t\t\t\t\tdataAttr( elem, name, data[ name ] );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tdataPriv.set( elem, \"hasDataAttrs\", true );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn data;\n\t\t}\n\n\t\t// Sets multiple values\n\t\tif ( typeof key === \"object\" ) {\n\t\t\treturn this.each( function() {\n\t\t\t\tdataUser.set( this, key );\n\t\t\t} );\n\t\t}\n\n\t\treturn access( this, function( value ) {\n\t\t\tvar data;\n\n\t\t\t// The calling jQuery object (element matches) is not empty\n\t\t\t// (and therefore has an element appears at this[ 0 ]) and the\n\t\t\t// `value` parameter was not undefined. An empty jQuery object\n\t\t\t// will result in `undefined` for elem = this[ 0 ] which will\n\t\t\t// throw an exception if an attempt to read a data cache is made.\n\t\t\tif ( elem && value === undefined ) {\n\n\t\t\t\t// Attempt to get data from the cache\n\t\t\t\t// The key will always be camelCased in Data\n\t\t\t\tdata = dataUser.get( elem, key );\n\t\t\t\tif ( data !== undefined ) {\n\t\t\t\t\treturn data;\n\t\t\t\t}\n\n\t\t\t\t// Attempt to \"discover\" the data in\n\t\t\t\t// HTML5 custom data-* attrs\n\t\t\t\tdata = dataAttr( elem, key );\n\t\t\t\tif ( data !== undefined ) {\n\t\t\t\t\treturn data;\n\t\t\t\t}\n\n\t\t\t\t// We tried really hard, but the data doesn't exist.\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Set the data...\n\t\t\tthis.each( function() {\n\n\t\t\t\t// We always store the camelCased key\n\t\t\t\tdataUser.set( this, key, value );\n\t\t\t} );\n\t\t}, null, value, arguments.length > 1, null, true );\n\t},\n\n\tremoveData: function( key ) {\n\t\treturn this.each( function() {\n\t\t\tdataUser.remove( this, key );\n\t\t} );\n\t}\n} );\n\n\njQuery.extend( {\n\tqueue: function( elem, type, data ) {\n\t\tvar queue;\n\n\t\tif ( elem ) {\n\t\t\ttype = ( type || \"fx\" ) + \"queue\";\n\t\t\tqueue = dataPriv.get( elem, type );\n\n\t\t\t// Speed up dequeue by getting out quickly if this is just a lookup\n\t\t\tif ( data ) {\n\t\t\t\tif ( !queue || Array.isArray( data ) ) {\n\t\t\t\t\tqueue = dataPriv.access( elem, type, jQuery.makeArray( data ) );\n\t\t\t\t} else {\n\t\t\t\t\tqueue.push( data );\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn queue || [];\n\t\t}\n\t},\n\n\tdequeue: function( elem, type ) {\n\t\ttype = type || \"fx\";\n\n\t\tvar queue = jQuery.queue( elem, type ),\n\t\t\tstartLength = queue.length,\n\t\t\tfn = queue.shift(),\n\t\t\thooks = jQuery._queueHooks( elem, type ),\n\t\t\tnext = function() {\n\t\t\t\tjQuery.dequeue( elem, type );\n\t\t\t};\n\n\t\t// If the fx queue is dequeued, always remove the progress sentinel\n\t\tif ( fn === \"inprogress\" ) {\n\t\t\tfn = queue.shift();\n\t\t\tstartLength--;\n\t\t}\n\n\t\tif ( fn ) {\n\n\t\t\t// Add a progress sentinel to prevent the fx queue from being\n\t\t\t// automatically dequeued\n\t\t\tif ( type === \"fx\" ) {\n\t\t\t\tqueue.unshift( \"inprogress\" );\n\t\t\t}\n\n\t\t\t// Clear up the last queue stop function\n\t\t\tdelete hooks.stop;\n\t\t\tfn.call( elem, next, hooks );\n\t\t}\n\n\t\tif ( !startLength && hooks ) {\n\t\t\thooks.empty.fire();\n\t\t}\n\t},\n\n\t// Not public - generate a queueHooks object, or return the current one\n\t_queueHooks: function( elem, type ) {\n\t\tvar key = type + \"queueHooks\";\n\t\treturn dataPriv.get( elem, key ) || dataPriv.access( elem, key, {\n\t\t\tempty: jQuery.Callbacks( \"once memory\" ).add( function() {\n\t\t\t\tdataPriv.remove( elem, [ type + \"queue\", key ] );\n\t\t\t} )\n\t\t} );\n\t}\n} );\n\njQuery.fn.extend( {\n\tqueue: function( type, data ) {\n\t\tvar setter = 2;\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tdata = type;\n\t\t\ttype = \"fx\";\n\t\t\tsetter--;\n\t\t}\n\n\t\tif ( arguments.length < setter ) {\n\t\t\treturn jQuery.queue( this[ 0 ], type );\n\t\t}\n\n\t\treturn data === undefined ?\n\t\t\tthis :\n\t\t\tthis.each( function() {\n\t\t\t\tvar queue = jQuery.queue( this, type, data );\n\n\t\t\t\t// Ensure a hooks for this queue\n\t\t\t\tjQuery._queueHooks( this, type );\n\n\t\t\t\tif ( type === \"fx\" && queue[ 0 ] !== \"inprogress\" ) {\n\t\t\t\t\tjQuery.dequeue( this, type );\n\t\t\t\t}\n\t\t\t} );\n\t},\n\tdequeue: function( type ) {\n\t\treturn this.each( function() {\n\t\t\tjQuery.dequeue( this, type );\n\t\t} );\n\t},\n\tclearQueue: function( type ) {\n\t\treturn this.queue( type || \"fx\", [] );\n\t},\n\n\t// Get a promise resolved when queues of a certain type\n\t// are emptied (fx is the type by default)\n\tpromise: function( type, obj ) {\n\t\tvar tmp,\n\t\t\tcount = 1,\n\t\t\tdefer = jQuery.Deferred(),\n\t\t\telements = this,\n\t\t\ti = this.length,\n\t\t\tresolve = function() {\n\t\t\t\tif ( !( --count ) ) {\n\t\t\t\t\tdefer.resolveWith( elements, [ elements ] );\n\t\t\t\t}\n\t\t\t};\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tobj = type;\n\t\t\ttype = undefined;\n\t\t}\n\t\ttype = type || \"fx\";\n\n\t\twhile ( i-- ) {\n\t\t\ttmp = dataPriv.get( elements[ i ], type + \"queueHooks\" );\n\t\t\tif ( tmp && tmp.empty ) {\n\t\t\t\tcount++;\n\t\t\t\ttmp.empty.add( resolve );\n\t\t\t}\n\t\t}\n\t\tresolve();\n\t\treturn defer.promise( obj );\n\t}\n} );\nvar pnum = ( /[+-]?(?:\\d*\\.|)\\d+(?:[eE][+-]?\\d+|)/ ).source;\n\nvar rcssNum = new RegExp( \"^(?:([+-])=|)(\" + pnum + \")([a-z%]*)$\", \"i\" );\n\n\nvar cssExpand = [ \"Top\", \"Right\", \"Bottom\", \"Left\" ];\n\nvar documentElement = document.documentElement;\n\n\n\n\tvar isAttached = function( elem ) {\n\t\t\treturn jQuery.contains( elem.ownerDocument, elem );\n\t\t},\n\t\tcomposed = { composed: true };\n\n\t// Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only\n\t// Check attachment across shadow DOM boundaries when possible (gh-3504)\n\t// Support: iOS 10.0-10.2 only\n\t// Early iOS 10 versions support `attachShadow` but not `getRootNode`,\n\t// leading to errors. We need to check for `getRootNode`.\n\tif ( documentElement.getRootNode ) {\n\t\tisAttached = function( elem ) {\n\t\t\treturn jQuery.contains( elem.ownerDocument, elem ) ||\n\t\t\t\telem.getRootNode( composed ) === elem.ownerDocument;\n\t\t};\n\t}\nvar isHiddenWithinTree = function( elem, el ) {\n\n\t\t// isHiddenWithinTree might be called from jQuery#filter function;\n\t\t// in that case, element will be second argument\n\t\telem = el || elem;\n\n\t\t// Inline style trumps all\n\t\treturn elem.style.display === \"none\" ||\n\t\t\telem.style.display === \"\" &&\n\n\t\t\t// Otherwise, check computed style\n\t\t\t// Support: Firefox <=43 - 45\n\t\t\t// Disconnected elements can have computed display: none, so first confirm that elem is\n\t\t\t// in the document.\n\t\t\tisAttached( elem ) &&\n\n\t\t\tjQuery.css( elem, \"display\" ) === \"none\";\n\t};\n\n\n\nfunction adjustCSS( elem, prop, valueParts, tween ) {\n\tvar adjusted, scale,\n\t\tmaxIterations = 20,\n\t\tcurrentValue = tween ?\n\t\t\tfunction() {\n\t\t\t\treturn tween.cur();\n\t\t\t} :\n\t\t\tfunction() {\n\t\t\t\treturn jQuery.css( elem, prop, \"\" );\n\t\t\t},\n\t\tinitial = currentValue(),\n\t\tunit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? \"\" : \"px\" ),\n\n\t\t// Starting value computation is required for potential unit mismatches\n\t\tinitialInUnit = elem.nodeType &&\n\t\t\t( jQuery.cssNumber[ prop ] || unit !== \"px\" && +initial ) &&\n\t\t\trcssNum.exec( jQuery.css( elem, prop ) );\n\n\tif ( initialInUnit && initialInUnit[ 3 ] !== unit ) {\n\n\t\t// Support: Firefox <=54\n\t\t// Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144)\n\t\tinitial = initial / 2;\n\n\t\t// Trust units reported by jQuery.css\n\t\tunit = unit || initialInUnit[ 3 ];\n\n\t\t// Iteratively approximate from a nonzero starting point\n\t\tinitialInUnit = +initial || 1;\n\n\t\twhile ( maxIterations-- ) {\n\n\t\t\t// Evaluate and update our best guess (doubling guesses that zero out).\n\t\t\t// Finish if the scale equals or crosses 1 (making the old*new product non-positive).\n\t\t\tjQuery.style( elem, prop, initialInUnit + unit );\n\t\t\tif ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) {\n\t\t\t\tmaxIterations = 0;\n\t\t\t}\n\t\t\tinitialInUnit = initialInUnit / scale;\n\n\t\t}\n\n\t\tinitialInUnit = initialInUnit * 2;\n\t\tjQuery.style( elem, prop, initialInUnit + unit );\n\n\t\t// Make sure we update the tween properties later on\n\t\tvalueParts = valueParts || [];\n\t}\n\n\tif ( valueParts ) {\n\t\tinitialInUnit = +initialInUnit || +initial || 0;\n\n\t\t// Apply relative offset (+=/-=) if specified\n\t\tadjusted = valueParts[ 1 ] ?\n\t\t\tinitialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] :\n\t\t\t+valueParts[ 2 ];\n\t\tif ( tween ) {\n\t\t\ttween.unit = unit;\n\t\t\ttween.start = initialInUnit;\n\t\t\ttween.end = adjusted;\n\t\t}\n\t}\n\treturn adjusted;\n}\n\n\nvar defaultDisplayMap = {};\n\nfunction getDefaultDisplay( elem ) {\n\tvar temp,\n\t\tdoc = elem.ownerDocument,\n\t\tnodeName = elem.nodeName,\n\t\tdisplay = defaultDisplayMap[ nodeName ];\n\n\tif ( display ) {\n\t\treturn display;\n\t}\n\n\ttemp = doc.body.appendChild( doc.createElement( nodeName ) );\n\tdisplay = jQuery.css( temp, \"display\" );\n\n\ttemp.parentNode.removeChild( temp );\n\n\tif ( display === \"none\" ) {\n\t\tdisplay = \"block\";\n\t}\n\tdefaultDisplayMap[ nodeName ] = display;\n\n\treturn display;\n}\n\nfunction showHide( elements, show ) {\n\tvar display, elem,\n\t\tvalues = [],\n\t\tindex = 0,\n\t\tlength = elements.length;\n\n\t// Determine new display value for elements that need to change\n\tfor ( ; index < length; index++ ) {\n\t\telem = elements[ index ];\n\t\tif ( !elem.style ) {\n\t\t\tcontinue;\n\t\t}\n\n\t\tdisplay = elem.style.display;\n\t\tif ( show ) {\n\n\t\t\t// Since we force visibility upon cascade-hidden elements, an immediate (and slow)\n\t\t\t// check is required in this first loop unless we have a nonempty display value (either\n\t\t\t// inline or about-to-be-restored)\n\t\t\tif ( display === \"none\" ) {\n\t\t\t\tvalues[ index ] = dataPriv.get( elem, \"display\" ) || null;\n\t\t\t\tif ( !values[ index ] ) {\n\t\t\t\t\telem.style.display = \"\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ( elem.style.display === \"\" && isHiddenWithinTree( elem ) ) {\n\t\t\t\tvalues[ index ] = getDefaultDisplay( elem );\n\t\t\t}\n\t\t} else {\n\t\t\tif ( display !== \"none\" ) {\n\t\t\t\tvalues[ index ] = \"none\";\n\n\t\t\t\t// Remember what we're overwriting\n\t\t\t\tdataPriv.set( elem, \"display\", display );\n\t\t\t}\n\t\t}\n\t}\n\n\t// Set the display of the elements in a second loop to avoid constant reflow\n\tfor ( index = 0; index < length; index++ ) {\n\t\tif ( values[ index ] != null ) {\n\t\t\telements[ index ].style.display = values[ index ];\n\t\t}\n\t}\n\n\treturn elements;\n}\n\njQuery.fn.extend( {\n\tshow: function() {\n\t\treturn showHide( this, true );\n\t},\n\thide: function() {\n\t\treturn showHide( this );\n\t},\n\ttoggle: function( state ) {\n\t\tif ( typeof state === \"boolean\" ) {\n\t\t\treturn state ? this.show() : this.hide();\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tif ( isHiddenWithinTree( this ) ) {\n\t\t\t\tjQuery( this ).show();\n\t\t\t} else {\n\t\t\t\tjQuery( this ).hide();\n\t\t\t}\n\t\t} );\n\t}\n} );\nvar rcheckableType = ( /^(?:checkbox|radio)$/i );\n\nvar rtagName = ( /<([a-z][^\\/\\0>\\x20\\t\\r\\n\\f]*)/i );\n\nvar rscriptType = ( /^$|^module$|\\/(?:java|ecma)script/i );\n\n\n\n( function() {\n\tvar fragment = document.createDocumentFragment(),\n\t\tdiv = fragment.appendChild( document.createElement( \"div\" ) ),\n\t\tinput = document.createElement( \"input\" );\n\n\t// Support: Android 4.0 - 4.3 only\n\t// Check state lost if the name is set (#11217)\n\t// Support: Windows Web Apps (WWA)\n\t// `name` and `type` must use .setAttribute for WWA (#14901)\n\tinput.setAttribute( \"type\", \"radio\" );\n\tinput.setAttribute( \"checked\", \"checked\" );\n\tinput.setAttribute( \"name\", \"t\" );\n\n\tdiv.appendChild( input );\n\n\t// Support: Android <=4.1 only\n\t// Older WebKit doesn't clone checked state correctly in fragments\n\tsupport.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked;\n\n\t// Support: IE <=11 only\n\t// Make sure textarea (and checkbox) defaultValue is properly cloned\n\tdiv.innerHTML = \"<textarea>x</textarea>\";\n\tsupport.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue;\n\n\t// Support: IE <=9 only\n\t// IE <=9 replaces <option> tags with their contents when inserted outside of\n\t// the select element.\n\tdiv.innerHTML = \"<option></option>\";\n\tsupport.option = !!div.lastChild;\n} )();\n\n\n// We have to close these tags to support XHTML (#13200)\nvar wrapMap = {\n\n\t// XHTML parsers do not magically insert elements in the\n\t// same way that tag soup parsers do. So we cannot shorten\n\t// this by omitting <tbody> or other required elements.\n\tthead: [ 1, \"<table>\", \"</table>\" ],\n\tcol: [ 2, \"<table><colgroup>\", \"</colgroup></table>\" ],\n\ttr: [ 2, \"<table><tbody>\", \"</tbody></table>\" ],\n\ttd: [ 3, \"<table><tbody><tr>\", \"</tr></tbody></table>\" ],\n\n\t_default: [ 0, \"\", \"\" ]\n};\n\nwrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;\nwrapMap.th = wrapMap.td;\n\n// Support: IE <=9 only\nif ( !support.option ) {\n\twrapMap.optgroup = wrapMap.option = [ 1, \"<select multiple='multiple'>\", \"</select>\" ];\n}\n\n\nfunction getAll( context, tag ) {\n\n\t// Support: IE <=9 - 11 only\n\t// Use typeof to avoid zero-argument method invocation on host objects (#15151)\n\tvar ret;\n\n\tif ( typeof context.getElementsByTagName !== \"undefined\" ) {\n\t\tret = context.getElementsByTagName( tag || \"*\" );\n\n\t} else if ( typeof context.querySelectorAll !== \"undefined\" ) {\n\t\tret = context.querySelectorAll( tag || \"*\" );\n\n\t} else {\n\t\tret = [];\n\t}\n\n\tif ( tag === undefined || tag && nodeName( context, tag ) ) {\n\t\treturn jQuery.merge( [ context ], ret );\n\t}\n\n\treturn ret;\n}\n\n\n// Mark scripts as having already been evaluated\nfunction setGlobalEval( elems, refElements ) {\n\tvar i = 0,\n\t\tl = elems.length;\n\n\tfor ( ; i < l; i++ ) {\n\t\tdataPriv.set(\n\t\t\telems[ i ],\n\t\t\t\"globalEval\",\n\t\t\t!refElements || dataPriv.get( refElements[ i ], \"globalEval\" )\n\t\t);\n\t}\n}\n\n\nvar rhtml = /<|&#?\\w+;/;\n\nfunction buildFragment( elems, context, scripts, selection, ignored ) {\n\tvar elem, tmp, tag, wrap, attached, j,\n\t\tfragment = context.createDocumentFragment(),\n\t\tnodes = [],\n\t\ti = 0,\n\t\tl = elems.length;\n\n\tfor ( ; i < l; i++ ) {\n\t\telem = elems[ i ];\n\n\t\tif ( elem || elem === 0 ) {\n\n\t\t\t// Add nodes directly\n\t\t\tif ( toType( elem ) === \"object\" ) {\n\n\t\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t\t// push.apply(_, arraylike) throws on ancient WebKit\n\t\t\t\tjQuery.merge( nodes, elem.nodeType ? [ elem ] : elem );\n\n\t\t\t// Convert non-html into a text node\n\t\t\t} else if ( !rhtml.test( elem ) ) {\n\t\t\t\tnodes.push( context.createTextNode( elem ) );\n\n\t\t\t// Convert html into DOM nodes\n\t\t\t} else {\n\t\t\t\ttmp = tmp || fragment.appendChild( context.createElement( \"div\" ) );\n\n\t\t\t\t// Deserialize a standard representation\n\t\t\t\ttag = ( rtagName.exec( elem ) || [ \"\", \"\" ] )[ 1 ].toLowerCase();\n\t\t\t\twrap = wrapMap[ tag ] || wrapMap._default;\n\t\t\t\ttmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ];\n\n\t\t\t\t// Descend through wrappers to the right content\n\t\t\t\tj = wrap[ 0 ];\n\t\t\t\twhile ( j-- ) {\n\t\t\t\t\ttmp = tmp.lastChild;\n\t\t\t\t}\n\n\t\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t\t// push.apply(_, arraylike) throws on ancient WebKit\n\t\t\t\tjQuery.merge( nodes, tmp.childNodes );\n\n\t\t\t\t// Remember the top-level container\n\t\t\t\ttmp = fragment.firstChild;\n\n\t\t\t\t// Ensure the created nodes are orphaned (#12392)\n\t\t\t\ttmp.textContent = \"\";\n\t\t\t}\n\t\t}\n\t}\n\n\t// Remove wrapper from fragment\n\tfragment.textContent = \"\";\n\n\ti = 0;\n\twhile ( ( elem = nodes[ i++ ] ) ) {\n\n\t\t// Skip elements already in the context collection (trac-4087)\n\t\tif ( selection && jQuery.inArray( elem, selection ) > -1 ) {\n\t\t\tif ( ignored ) {\n\t\t\t\tignored.push( elem );\n\t\t\t}\n\t\t\tcontinue;\n\t\t}\n\n\t\tattached = isAttached( elem );\n\n\t\t// Append to fragment\n\t\ttmp = getAll( fragment.appendChild( elem ), \"script\" );\n\n\t\t// Preserve script evaluation history\n\t\tif ( attached ) {\n\t\t\tsetGlobalEval( tmp );\n\t\t}\n\n\t\t// Capture executables\n\t\tif ( scripts ) {\n\t\t\tj = 0;\n\t\t\twhile ( ( elem = tmp[ j++ ] ) ) {\n\t\t\t\tif ( rscriptType.test( elem.type || \"\" ) ) {\n\t\t\t\t\tscripts.push( elem );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn fragment;\n}\n\n\nvar rtypenamespace = /^([^.]*)(?:\\.(.+)|)/;\n\nfunction returnTrue() {\n\treturn true;\n}\n\nfunction returnFalse() {\n\treturn false;\n}\n\n// Support: IE <=9 - 11+\n// focus() and blur() are asynchronous, except when they are no-op.\n// So expect focus to be synchronous when the element is already active,\n// and blur to be synchronous when the element is not already active.\n// (focus and blur are always synchronous in other supported browsers,\n// this just defines when we can count on it).\nfunction expectSync( elem, type ) {\n\treturn ( elem === safeActiveElement() ) === ( type === \"focus\" );\n}\n\n// Support: IE <=9 only\n// Accessing document.activeElement can throw unexpectedly\n// https://bugs.jquery.com/ticket/13393\nfunction safeActiveElement() {\n\ttry {\n\t\treturn document.activeElement;\n\t} catch ( err ) { }\n}\n\nfunction on( elem, types, selector, data, fn, one ) {\n\tvar origFn, type;\n\n\t// Types can be a map of types/handlers\n\tif ( typeof types === \"object\" ) {\n\n\t\t// ( types-Object, selector, data )\n\t\tif ( typeof selector !== \"string\" ) {\n\n\t\t\t// ( types-Object, data )\n\t\t\tdata = data || selector;\n\t\t\tselector = undefined;\n\t\t}\n\t\tfor ( type in types ) {\n\t\t\ton( elem, type, selector, data, types[ type ], one );\n\t\t}\n\t\treturn elem;\n\t}\n\n\tif ( data == null && fn == null ) {\n\n\t\t// ( types, fn )\n\t\tfn = selector;\n\t\tdata = selector = undefined;\n\t} else if ( fn == null ) {\n\t\tif ( typeof selector === \"string\" ) {\n\n\t\t\t// ( types, selector, fn )\n\t\t\tfn = data;\n\t\t\tdata = undefined;\n\t\t} else {\n\n\t\t\t// ( types, data, fn )\n\t\t\tfn = data;\n\t\t\tdata = selector;\n\t\t\tselector = undefined;\n\t\t}\n\t}\n\tif ( fn === false ) {\n\t\tfn = returnFalse;\n\t} else if ( !fn ) {\n\t\treturn elem;\n\t}\n\n\tif ( one === 1 ) {\n\t\torigFn = fn;\n\t\tfn = function( event ) {\n\n\t\t\t// Can use an empty set, since event contains the info\n\t\t\tjQuery().off( event );\n\t\t\treturn origFn.apply( this, arguments );\n\t\t};\n\n\t\t// Use same guid so caller can remove using origFn\n\t\tfn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ );\n\t}\n\treturn elem.each( function() {\n\t\tjQuery.event.add( this, types, fn, data, selector );\n\t} );\n}\n\n/*\n * Helper functions for managing events -- not part of the public interface.\n * Props to Dean Edwards' addEvent library for many of the ideas.\n */\njQuery.event = {\n\n\tglobal: {},\n\n\tadd: function( elem, types, handler, data, selector ) {\n\n\t\tvar handleObjIn, eventHandle, tmp,\n\t\t\tevents, t, handleObj,\n\t\t\tspecial, handlers, type, namespaces, origType,\n\t\t\telemData = dataPriv.get( elem );\n\n\t\t// Only attach events to objects that accept data\n\t\tif ( !acceptData( elem ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Caller can pass in an object of custom data in lieu of the handler\n\t\tif ( handler.handler ) {\n\t\t\thandleObjIn = handler;\n\t\t\thandler = handleObjIn.handler;\n\t\t\tselector = handleObjIn.selector;\n\t\t}\n\n\t\t// Ensure that invalid selectors throw exceptions at attach time\n\t\t// Evaluate against documentElement in case elem is a non-element node (e.g., document)\n\t\tif ( selector ) {\n\t\t\tjQuery.find.matchesSelector( documentElement, selector );\n\t\t}\n\n\t\t// Make sure that the handler has a unique ID, used to find/remove it later\n\t\tif ( !handler.guid ) {\n\t\t\thandler.guid = jQuery.guid++;\n\t\t}\n\n\t\t// Init the element's event structure and main handler, if this is the first\n\t\tif ( !( events = elemData.events ) ) {\n\t\t\tevents = elemData.events = Object.create( null );\n\t\t}\n\t\tif ( !( eventHandle = elemData.handle ) ) {\n\t\t\teventHandle = elemData.handle = function( e ) {\n\n\t\t\t\t// Discard the second event of a jQuery.event.trigger() and\n\t\t\t\t// when an event is called after a page has unloaded\n\t\t\t\treturn typeof jQuery !== \"undefined\" && jQuery.event.triggered !== e.type ?\n\t\t\t\t\tjQuery.event.dispatch.apply( elem, arguments ) : undefined;\n\t\t\t};\n\t\t}\n\n\t\t// Handle multiple events separated by a space\n\t\ttypes = ( types || \"\" ).match( rnothtmlwhite ) || [ \"\" ];\n\t\tt = types.length;\n\t\twhile ( t-- ) {\n\t\t\ttmp = rtypenamespace.exec( types[ t ] ) || [];\n\t\t\ttype = origType = tmp[ 1 ];\n\t\t\tnamespaces = ( tmp[ 2 ] || \"\" ).split( \".\" ).sort();\n\n\t\t\t// There *must* be a type, no attaching namespace-only handlers\n\t\t\tif ( !type ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// If event changes its type, use the special event handlers for the changed type\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\n\t\t\t// If selector defined, determine special event api type, otherwise given type\n\t\t\ttype = ( selector ? special.delegateType : special.bindType ) || type;\n\n\t\t\t// Update special based on newly reset type\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\n\t\t\t// handleObj is passed to all event handlers\n\t\t\thandleObj = jQuery.extend( {\n\t\t\t\ttype: type,\n\t\t\t\torigType: origType,\n\t\t\t\tdata: data,\n\t\t\t\thandler: handler,\n\t\t\t\tguid: handler.guid,\n\t\t\t\tselector: selector,\n\t\t\t\tneedsContext: selector && jQuery.expr.match.needsContext.test( selector ),\n\t\t\t\tnamespace: namespaces.join( \".\" )\n\t\t\t}, handleObjIn );\n\n\t\t\t// Init the event handler queue if we're the first\n\t\t\tif ( !( handlers = events[ type ] ) ) {\n\t\t\t\thandlers = events[ type ] = [];\n\t\t\t\thandlers.delegateCount = 0;\n\n\t\t\t\t// Only use addEventListener if the special events handler returns false\n\t\t\t\tif ( !special.setup ||\n\t\t\t\t\tspecial.setup.call( elem, data, namespaces, eventHandle ) === false ) {\n\n\t\t\t\t\tif ( elem.addEventListener ) {\n\t\t\t\t\t\telem.addEventListener( type, eventHandle );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ( special.add ) {\n\t\t\t\tspecial.add.call( elem, handleObj );\n\n\t\t\t\tif ( !handleObj.handler.guid ) {\n\t\t\t\t\thandleObj.handler.guid = handler.guid;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Add to the element's handler list, delegates in front\n\t\t\tif ( selector ) {\n\t\t\t\thandlers.splice( handlers.delegateCount++, 0, handleObj );\n\t\t\t} else {\n\t\t\t\thandlers.push( handleObj );\n\t\t\t}\n\n\t\t\t// Keep track of which events have ever been used, for event optimization\n\t\t\tjQuery.event.global[ type ] = true;\n\t\t}\n\n\t},\n\n\t// Detach an event or set of events from an element\n\tremove: function( elem, types, handler, selector, mappedTypes ) {\n\n\t\tvar j, origCount, tmp,\n\t\t\tevents, t, handleObj,\n\t\t\tspecial, handlers, type, namespaces, origType,\n\t\t\telemData = dataPriv.hasData( elem ) && dataPriv.get( elem );\n\n\t\tif ( !elemData || !( events = elemData.events ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Once for each type.namespace in types; type may be omitted\n\t\ttypes = ( types || \"\" ).match( rnothtmlwhite ) || [ \"\" ];\n\t\tt = types.length;\n\t\twhile ( t-- ) {\n\t\t\ttmp = rtypenamespace.exec( types[ t ] ) || [];\n\t\t\ttype = origType = tmp[ 1 ];\n\t\t\tnamespaces = ( tmp[ 2 ] || \"\" ).split( \".\" ).sort();\n\n\t\t\t// Unbind all events (on this namespace, if provided) for the element\n\t\t\tif ( !type ) {\n\t\t\t\tfor ( type in events ) {\n\t\t\t\t\tjQuery.event.remove( elem, type + types[ t ], handler, selector, true );\n\t\t\t\t}\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\t\t\ttype = ( selector ? special.delegateType : special.bindType ) || type;\n\t\t\thandlers = events[ type ] || [];\n\t\t\ttmp = tmp[ 2 ] &&\n\t\t\t\tnew RegExp( \"(^|\\\\.)\" + namespaces.join( \"\\\\.(?:.*\\\\.|)\" ) + \"(\\\\.|$)\" );\n\n\t\t\t// Remove matching events\n\t\t\torigCount = j = handlers.length;\n\t\t\twhile ( j-- ) {\n\t\t\t\thandleObj = handlers[ j ];\n\n\t\t\t\tif ( ( mappedTypes || origType === handleObj.origType ) &&\n\t\t\t\t\t( !handler || handler.guid === handleObj.guid ) &&\n\t\t\t\t\t( !tmp || tmp.test( handleObj.namespace ) ) &&\n\t\t\t\t\t( !selector || selector === handleObj.selector ||\n\t\t\t\t\t\tselector === \"**\" && handleObj.selector ) ) {\n\t\t\t\t\thandlers.splice( j, 1 );\n\n\t\t\t\t\tif ( handleObj.selector ) {\n\t\t\t\t\t\thandlers.delegateCount--;\n\t\t\t\t\t}\n\t\t\t\t\tif ( special.remove ) {\n\t\t\t\t\t\tspecial.remove.call( elem, handleObj );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Remove generic event handler if we removed something and no more handlers exist\n\t\t\t// (avoids potential for endless recursion during removal of special event handlers)\n\t\t\tif ( origCount && !handlers.length ) {\n\t\t\t\tif ( !special.teardown ||\n\t\t\t\t\tspecial.teardown.call( elem, namespaces, elemData.handle ) === false ) {\n\n\t\t\t\t\tjQuery.removeEvent( elem, type, elemData.handle );\n\t\t\t\t}\n\n\t\t\t\tdelete events[ type ];\n\t\t\t}\n\t\t}\n\n\t\t// Remove data and the expando if it's no longer used\n\t\tif ( jQuery.isEmptyObject( events ) ) {\n\t\t\tdataPriv.remove( elem, \"handle events\" );\n\t\t}\n\t},\n\n\tdispatch: function( nativeEvent ) {\n\n\t\tvar i, j, ret, matched, handleObj, handlerQueue,\n\t\t\targs = new Array( arguments.length ),\n\n\t\t\t// Make a writable jQuery.Event from the native event object\n\t\t\tevent = jQuery.event.fix( nativeEvent ),\n\n\t\t\thandlers = (\n\t\t\t\tdataPriv.get( this, \"events\" ) || Object.create( null )\n\t\t\t)[ event.type ] || [],\n\t\t\tspecial = jQuery.event.special[ event.type ] || {};\n\n\t\t// Use the fix-ed jQuery.Event rather than the (read-only) native event\n\t\targs[ 0 ] = event;\n\n\t\tfor ( i = 1; i < arguments.length; i++ ) {\n\t\t\targs[ i ] = arguments[ i ];\n\t\t}\n\n\t\tevent.delegateTarget = this;\n\n\t\t// Call the preDispatch hook for the mapped type, and let it bail if desired\n\t\tif ( special.preDispatch && special.preDispatch.call( this, event ) === false ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Determine handlers\n\t\thandlerQueue = jQuery.event.handlers.call( this, event, handlers );\n\n\t\t// Run delegates first; they may want to stop propagation beneath us\n\t\ti = 0;\n\t\twhile ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) {\n\t\t\tevent.currentTarget = matched.elem;\n\n\t\t\tj = 0;\n\t\t\twhile ( ( handleObj = matched.handlers[ j++ ] ) &&\n\t\t\t\t!event.isImmediatePropagationStopped() ) {\n\n\t\t\t\t// If the event is namespaced, then each handler is only invoked if it is\n\t\t\t\t// specially universal or its namespaces are a superset of the event's.\n\t\t\t\tif ( !event.rnamespace || handleObj.namespace === false ||\n\t\t\t\t\tevent.rnamespace.test( handleObj.namespace ) ) {\n\n\t\t\t\t\tevent.handleObj = handleObj;\n\t\t\t\t\tevent.data = handleObj.data;\n\n\t\t\t\t\tret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle ||\n\t\t\t\t\t\thandleObj.handler ).apply( matched.elem, args );\n\n\t\t\t\t\tif ( ret !== undefined ) {\n\t\t\t\t\t\tif ( ( event.result = ret ) === false ) {\n\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\tevent.stopPropagation();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Call the postDispatch hook for the mapped type\n\t\tif ( special.postDispatch ) {\n\t\t\tspecial.postDispatch.call( this, event );\n\t\t}\n\n\t\treturn event.result;\n\t},\n\n\thandlers: function( event, handlers ) {\n\t\tvar i, handleObj, sel, matchedHandlers, matchedSelectors,\n\t\t\thandlerQueue = [],\n\t\t\tdelegateCount = handlers.delegateCount,\n\t\t\tcur = event.target;\n\n\t\t// Find delegate handlers\n\t\tif ( delegateCount &&\n\n\t\t\t// Support: IE <=9\n\t\t\t// Black-hole SVG <use> instance trees (trac-13180)\n\t\t\tcur.nodeType &&\n\n\t\t\t// Support: Firefox <=42\n\t\t\t// Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861)\n\t\t\t// https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click\n\t\t\t// Support: IE 11 only\n\t\t\t// ...but not arrow key \"clicks\" of radio inputs, which can have `button` -1 (gh-2343)\n\t\t\t!( event.type === \"click\" && event.button >= 1 ) ) {\n\n\t\t\tfor ( ; cur !== this; cur = cur.parentNode || this ) {\n\n\t\t\t\t// Don't check non-elements (#13208)\n\t\t\t\t// Don't process clicks on disabled elements (#6911, #8165, #11382, #11764)\n\t\t\t\tif ( cur.nodeType === 1 && !( event.type === \"click\" && cur.disabled === true ) ) {\n\t\t\t\t\tmatchedHandlers = [];\n\t\t\t\t\tmatchedSelectors = {};\n\t\t\t\t\tfor ( i = 0; i < delegateCount; i++ ) {\n\t\t\t\t\t\thandleObj = handlers[ i ];\n\n\t\t\t\t\t\t// Don't conflict with Object.prototype properties (#13203)\n\t\t\t\t\t\tsel = handleObj.selector + \" \";\n\n\t\t\t\t\t\tif ( matchedSelectors[ sel ] === undefined ) {\n\t\t\t\t\t\t\tmatchedSelectors[ sel ] = handleObj.needsContext ?\n\t\t\t\t\t\t\t\tjQuery( sel, this ).index( cur ) > -1 :\n\t\t\t\t\t\t\t\tjQuery.find( sel, this, null, [ cur ] ).length;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif ( matchedSelectors[ sel ] ) {\n\t\t\t\t\t\t\tmatchedHandlers.push( handleObj );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif ( matchedHandlers.length ) {\n\t\t\t\t\t\thandlerQueue.push( { elem: cur, handlers: matchedHandlers } );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Add the remaining (directly-bound) handlers\n\t\tcur = this;\n\t\tif ( delegateCount < handlers.length ) {\n\t\t\thandlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } );\n\t\t}\n\n\t\treturn handlerQueue;\n\t},\n\n\taddProp: function( name, hook ) {\n\t\tObject.defineProperty( jQuery.Event.prototype, name, {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: true,\n\n\t\t\tget: isFunction( hook ) ?\n\t\t\t\tfunction() {\n\t\t\t\t\tif ( this.originalEvent ) {\n\t\t\t\t\t\treturn hook( this.originalEvent );\n\t\t\t\t\t}\n\t\t\t\t} :\n\t\t\t\tfunction() {\n\t\t\t\t\tif ( this.originalEvent ) {\n\t\t\t\t\t\treturn this.originalEvent[ name ];\n\t\t\t\t\t}\n\t\t\t\t},\n\n\t\t\tset: function( value ) {\n\t\t\t\tObject.defineProperty( this, name, {\n\t\t\t\t\tenumerable: true,\n\t\t\t\t\tconfigurable: true,\n\t\t\t\t\twritable: true,\n\t\t\t\t\tvalue: value\n\t\t\t\t} );\n\t\t\t}\n\t\t} );\n\t},\n\n\tfix: function( originalEvent ) {\n\t\treturn originalEvent[ jQuery.expando ] ?\n\t\t\toriginalEvent :\n\t\t\tnew jQuery.Event( originalEvent );\n\t},\n\n\tspecial: {\n\t\tload: {\n\n\t\t\t// Prevent triggered image.load events from bubbling to window.load\n\t\t\tnoBubble: true\n\t\t},\n\t\tclick: {\n\n\t\t\t// Utilize native event to ensure correct state for checkable inputs\n\t\t\tsetup: function( data ) {\n\n\t\t\t\t// For mutual compressibility with _default, replace `this` access with a local var.\n\t\t\t\t// `|| data` is dead code meant only to preserve the variable through minification.\n\t\t\t\tvar el = this || data;\n\n\t\t\t\t// Claim the first handler\n\t\t\t\tif ( rcheckableType.test( el.type ) &&\n\t\t\t\t\tel.click && nodeName( el, \"input\" ) ) {\n\n\t\t\t\t\t// dataPriv.set( el, \"click\", ... )\n\t\t\t\t\tleverageNative( el, \"click\", returnTrue );\n\t\t\t\t}\n\n\t\t\t\t// Return false to allow normal processing in the caller\n\t\t\t\treturn false;\n\t\t\t},\n\t\t\ttrigger: function( data ) {\n\n\t\t\t\t// For mutual compressibility with _default, replace `this` access with a local var.\n\t\t\t\t// `|| data` is dead code meant only to preserve the variable through minification.\n\t\t\t\tvar el = this || data;\n\n\t\t\t\t// Force setup before triggering a click\n\t\t\t\tif ( rcheckableType.test( el.type ) &&\n\t\t\t\t\tel.click && nodeName( el, \"input\" ) ) {\n\n\t\t\t\t\tleverageNative( el, \"click\" );\n\t\t\t\t}\n\n\t\t\t\t// Return non-false to allow normal event-path propagation\n\t\t\t\treturn true;\n\t\t\t},\n\n\t\t\t// For cross-browser consistency, suppress native .click() on links\n\t\t\t// Also prevent it if we're currently inside a leveraged native-event stack\n\t\t\t_default: function( event ) {\n\t\t\t\tvar target = event.target;\n\t\t\t\treturn rcheckableType.test( target.type ) &&\n\t\t\t\t\ttarget.click && nodeName( target, \"input\" ) &&\n\t\t\t\t\tdataPriv.get( target, \"click\" ) ||\n\t\t\t\t\tnodeName( target, \"a\" );\n\t\t\t}\n\t\t},\n\n\t\tbeforeunload: {\n\t\t\tpostDispatch: function( event ) {\n\n\t\t\t\t// Support: Firefox 20+\n\t\t\t\t// Firefox doesn't alert if the returnValue field is not set.\n\t\t\t\tif ( event.result !== undefined && event.originalEvent ) {\n\t\t\t\t\tevent.originalEvent.returnValue = event.result;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n};\n\n// Ensure the presence of an event listener that handles manually-triggered\n// synthetic events by interrupting progress until reinvoked in response to\n// *native* events that it fires directly, ensuring that state changes have\n// already occurred before other listeners are invoked.\nfunction leverageNative( el, type, expectSync ) {\n\n\t// Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add\n\tif ( !expectSync ) {\n\t\tif ( dataPriv.get( el, type ) === undefined ) {\n\t\t\tjQuery.event.add( el, type, returnTrue );\n\t\t}\n\t\treturn;\n\t}\n\n\t// Register the controller as a special universal handler for all event namespaces\n\tdataPriv.set( el, type, false );\n\tjQuery.event.add( el, type, {\n\t\tnamespace: false,\n\t\thandler: function( event ) {\n\t\t\tvar notAsync, result,\n\t\t\t\tsaved = dataPriv.get( this, type );\n\n\t\t\tif ( ( event.isTrigger & 1 ) && this[ type ] ) {\n\n\t\t\t\t// Interrupt processing of the outer synthetic .trigger()ed event\n\t\t\t\t// Saved data should be false in such cases, but might be a leftover capture object\n\t\t\t\t// from an async native handler (gh-4350)\n\t\t\t\tif ( !saved.length ) {\n\n\t\t\t\t\t// Store arguments for use when handling the inner native event\n\t\t\t\t\t// There will always be at least one argument (an event object), so this array\n\t\t\t\t\t// will not be confused with a leftover capture object.\n\t\t\t\t\tsaved = slice.call( arguments );\n\t\t\t\t\tdataPriv.set( this, type, saved );\n\n\t\t\t\t\t// Trigger the native event and capture its result\n\t\t\t\t\t// Support: IE <=9 - 11+\n\t\t\t\t\t// focus() and blur() are asynchronous\n\t\t\t\t\tnotAsync = expectSync( this, type );\n\t\t\t\t\tthis[ type ]();\n\t\t\t\t\tresult = dataPriv.get( this, type );\n\t\t\t\t\tif ( saved !== result || notAsync ) {\n\t\t\t\t\t\tdataPriv.set( this, type, false );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tresult = {};\n\t\t\t\t\t}\n\t\t\t\t\tif ( saved !== result ) {\n\n\t\t\t\t\t\t// Cancel the outer synthetic event\n\t\t\t\t\t\tevent.stopImmediatePropagation();\n\t\t\t\t\t\tevent.preventDefault();\n\n\t\t\t\t\t\t// Support: Chrome 86+\n\t\t\t\t\t\t// In Chrome, if an element having a focusout handler is blurred by\n\t\t\t\t\t\t// clicking outside of it, it invokes the handler synchronously. If\n\t\t\t\t\t\t// that handler calls `.remove()` on the element, the data is cleared,\n\t\t\t\t\t\t// leaving `result` undefined. We need to guard against this.\n\t\t\t\t\t\treturn result && result.value;\n\t\t\t\t\t}\n\n\t\t\t\t// If this is an inner synthetic event for an event with a bubbling surrogate\n\t\t\t\t// (focus or blur), assume that the surrogate already propagated from triggering the\n\t\t\t\t// native event and prevent that from happening again here.\n\t\t\t\t// This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the\n\t\t\t\t// bubbling surrogate propagates *after* the non-bubbling base), but that seems\n\t\t\t\t// less bad than duplication.\n\t\t\t\t} else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) {\n\t\t\t\t\tevent.stopPropagation();\n\t\t\t\t}\n\n\t\t\t// If this is a native event triggered above, everything is now in order\n\t\t\t// Fire an inner synthetic event with the original arguments\n\t\t\t} else if ( saved.length ) {\n\n\t\t\t\t// ...and capture the result\n\t\t\t\tdataPriv.set( this, type, {\n\t\t\t\t\tvalue: jQuery.event.trigger(\n\n\t\t\t\t\t\t// Support: IE <=9 - 11+\n\t\t\t\t\t\t// Extend with the prototype to reset the above stopImmediatePropagation()\n\t\t\t\t\t\tjQuery.extend( saved[ 0 ], jQuery.Event.prototype ),\n\t\t\t\t\t\tsaved.slice( 1 ),\n\t\t\t\t\t\tthis\n\t\t\t\t\t)\n\t\t\t\t} );\n\n\t\t\t\t// Abort handling of the native event\n\t\t\t\tevent.stopImmediatePropagation();\n\t\t\t}\n\t\t}\n\t} );\n}\n\njQuery.removeEvent = function( elem, type, handle ) {\n\n\t// This \"if\" is needed for plain objects\n\tif ( elem.removeEventListener ) {\n\t\telem.removeEventListener( type, handle );\n\t}\n};\n\njQuery.Event = function( src, props ) {\n\n\t// Allow instantiation without the 'new' keyword\n\tif ( !( this instanceof jQuery.Event ) ) {\n\t\treturn new jQuery.Event( src, props );\n\t}\n\n\t// Event object\n\tif ( src && src.type ) {\n\t\tthis.originalEvent = src;\n\t\tthis.type = src.type;\n\n\t\t// Events bubbling up the document may have been marked as prevented\n\t\t// by a handler lower down the tree; reflect the correct value.\n\t\tthis.isDefaultPrevented = src.defaultPrevented ||\n\t\t\t\tsrc.defaultPrevented === undefined &&\n\n\t\t\t\t// Support: Android <=2.3 only\n\t\t\t\tsrc.returnValue === false ?\n\t\t\treturnTrue :\n\t\t\treturnFalse;\n\n\t\t// Create target properties\n\t\t// Support: Safari <=6 - 7 only\n\t\t// Target should not be a text node (#504, #13143)\n\t\tthis.target = ( src.target && src.target.nodeType === 3 ) ?\n\t\t\tsrc.target.parentNode :\n\t\t\tsrc.target;\n\n\t\tthis.currentTarget = src.currentTarget;\n\t\tthis.relatedTarget = src.relatedTarget;\n\n\t// Event type\n\t} else {\n\t\tthis.type = src;\n\t}\n\n\t// Put explicitly provided properties onto the event object\n\tif ( props ) {\n\t\tjQuery.extend( this, props );\n\t}\n\n\t// Create a timestamp if incoming event doesn't have one\n\tthis.timeStamp = src && src.timeStamp || Date.now();\n\n\t// Mark it as fixed\n\tthis[ jQuery.expando ] = true;\n};\n\n// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding\n// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html\njQuery.Event.prototype = {\n\tconstructor: jQuery.Event,\n\tisDefaultPrevented: returnFalse,\n\tisPropagationStopped: returnFalse,\n\tisImmediatePropagationStopped: returnFalse,\n\tisSimulated: false,\n\n\tpreventDefault: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isDefaultPrevented = returnTrue;\n\n\t\tif ( e && !this.isSimulated ) {\n\t\t\te.preventDefault();\n\t\t}\n\t},\n\tstopPropagation: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isPropagationStopped = returnTrue;\n\n\t\tif ( e && !this.isSimulated ) {\n\t\t\te.stopPropagation();\n\t\t}\n\t},\n\tstopImmediatePropagation: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isImmediatePropagationStopped = returnTrue;\n\n\t\tif ( e && !this.isSimulated ) {\n\t\t\te.stopImmediatePropagation();\n\t\t}\n\n\t\tthis.stopPropagation();\n\t}\n};\n\n// Includes all common event props including KeyEvent and MouseEvent specific props\njQuery.each( {\n\taltKey: true,\n\tbubbles: true,\n\tcancelable: true,\n\tchangedTouches: true,\n\tctrlKey: true,\n\tdetail: true,\n\teventPhase: true,\n\tmetaKey: true,\n\tpageX: true,\n\tpageY: true,\n\tshiftKey: true,\n\tview: true,\n\t\"char\": true,\n\tcode: true,\n\tcharCode: true,\n\tkey: true,\n\tkeyCode: true,\n\tbutton: true,\n\tbuttons: true,\n\tclientX: true,\n\tclientY: true,\n\toffsetX: true,\n\toffsetY: true,\n\tpointerId: true,\n\tpointerType: true,\n\tscreenX: true,\n\tscreenY: true,\n\ttargetTouches: true,\n\ttoElement: true,\n\ttouches: true,\n\twhich: true\n}, jQuery.event.addProp );\n\njQuery.each( { focus: \"focusin\", blur: \"focusout\" }, function( type, delegateType ) {\n\tjQuery.event.special[ type ] = {\n\n\t\t// Utilize native event if possible so blur/focus sequence is correct\n\t\tsetup: function() {\n\n\t\t\t// Claim the first handler\n\t\t\t// dataPriv.set( this, \"focus\", ... )\n\t\t\t// dataPriv.set( this, \"blur\", ... )\n\t\t\tleverageNative( this, type, expectSync );\n\n\t\t\t// Return false to allow normal processing in the caller\n\t\t\treturn false;\n\t\t},\n\t\ttrigger: function() {\n\n\t\t\t// Force setup before trigger\n\t\t\tleverageNative( this, type );\n\n\t\t\t// Return non-false to allow normal event-path propagation\n\t\t\treturn true;\n\t\t},\n\n\t\t// Suppress native focus or blur as it's already being fired\n\t\t// in leverageNative.\n\t\t_default: function() {\n\t\t\treturn true;\n\t\t},\n\n\t\tdelegateType: delegateType\n\t};\n} );\n\n// Create mouseenter/leave events using mouseover/out and event-time checks\n// so that event delegation works in jQuery.\n// Do the same for pointerenter/pointerleave and pointerover/pointerout\n//\n// Support: Safari 7 only\n// Safari sends mouseenter too often; see:\n// https://bugs.chromium.org/p/chromium/issues/detail?id=470258\n// for the description of the bug (it existed in older Chrome versions as well).\njQuery.each( {\n\tmouseenter: \"mouseover\",\n\tmouseleave: \"mouseout\",\n\tpointerenter: \"pointerover\",\n\tpointerleave: \"pointerout\"\n}, function( orig, fix ) {\n\tjQuery.event.special[ orig ] = {\n\t\tdelegateType: fix,\n\t\tbindType: fix,\n\n\t\thandle: function( event ) {\n\t\t\tvar ret,\n\t\t\t\ttarget = this,\n\t\t\t\trelated = event.relatedTarget,\n\t\t\t\thandleObj = event.handleObj;\n\n\t\t\t// For mouseenter/leave call the handler if related is outside the target.\n\t\t\t// NB: No relatedTarget if the mouse left/entered the browser window\n\t\t\tif ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) {\n\t\t\t\tevent.type = handleObj.origType;\n\t\t\t\tret = handleObj.handler.apply( this, arguments );\n\t\t\t\tevent.type = fix;\n\t\t\t}\n\t\t\treturn ret;\n\t\t}\n\t};\n} );\n\njQuery.fn.extend( {\n\n\ton: function( types, selector, data, fn ) {\n\t\treturn on( this, types, selector, data, fn );\n\t},\n\tone: function( types, selector, data, fn ) {\n\t\treturn on( this, types, selector, data, fn, 1 );\n\t},\n\toff: function( types, selector, fn ) {\n\t\tvar handleObj, type;\n\t\tif ( types && types.preventDefault && types.handleObj ) {\n\n\t\t\t// ( event )  dispatched jQuery.Event\n\t\t\thandleObj = types.handleObj;\n\t\t\tjQuery( types.delegateTarget ).off(\n\t\t\t\thandleObj.namespace ?\n\t\t\t\t\thandleObj.origType + \".\" + handleObj.namespace :\n\t\t\t\t\thandleObj.origType,\n\t\t\t\thandleObj.selector,\n\t\t\t\thandleObj.handler\n\t\t\t);\n\t\t\treturn this;\n\t\t}\n\t\tif ( typeof types === \"object\" ) {\n\n\t\t\t// ( types-object [, selector] )\n\t\t\tfor ( type in types ) {\n\t\t\t\tthis.off( type, selector, types[ type ] );\n\t\t\t}\n\t\t\treturn this;\n\t\t}\n\t\tif ( selector === false || typeof selector === \"function\" ) {\n\n\t\t\t// ( types [, fn] )\n\t\t\tfn = selector;\n\t\t\tselector = undefined;\n\t\t}\n\t\tif ( fn === false ) {\n\t\t\tfn = returnFalse;\n\t\t}\n\t\treturn this.each( function() {\n\t\t\tjQuery.event.remove( this, types, fn, selector );\n\t\t} );\n\t}\n} );\n\n\nvar\n\n\t// Support: IE <=10 - 11, Edge 12 - 13 only\n\t// In IE/Edge using regex groups here causes severe slowdowns.\n\t// See https://connect.microsoft.com/IE/feedback/details/1736512/\n\trnoInnerhtml = /<script|<style|<link/i,\n\n\t// checked=\"checked\" or checked\n\trchecked = /checked\\s*(?:[^=]|=\\s*.checked.)/i,\n\trcleanScript = /^\\s*<!(?:\\[CDATA\\[|--)|(?:\\]\\]|--)>\\s*$/g;\n\n// Prefer a tbody over its parent table for containing new rows\nfunction manipulationTarget( elem, content ) {\n\tif ( nodeName( elem, \"table\" ) &&\n\t\tnodeName( content.nodeType !== 11 ? content : content.firstChild, \"tr\" ) ) {\n\n\t\treturn jQuery( elem ).children( \"tbody\" )[ 0 ] || elem;\n\t}\n\n\treturn elem;\n}\n\n// Replace/restore the type attribute of script elements for safe DOM manipulation\nfunction disableScript( elem ) {\n\telem.type = ( elem.getAttribute( \"type\" ) !== null ) + \"/\" + elem.type;\n\treturn elem;\n}\nfunction restoreScript( elem ) {\n\tif ( ( elem.type || \"\" ).slice( 0, 5 ) === \"true/\" ) {\n\t\telem.type = elem.type.slice( 5 );\n\t} else {\n\t\telem.removeAttribute( \"type\" );\n\t}\n\n\treturn elem;\n}\n\nfunction cloneCopyEvent( src, dest ) {\n\tvar i, l, type, pdataOld, udataOld, udataCur, events;\n\n\tif ( dest.nodeType !== 1 ) {\n\t\treturn;\n\t}\n\n\t// 1. Copy private data: events, handlers, etc.\n\tif ( dataPriv.hasData( src ) ) {\n\t\tpdataOld = dataPriv.get( src );\n\t\tevents = pdataOld.events;\n\n\t\tif ( events ) {\n\t\t\tdataPriv.remove( dest, \"handle events\" );\n\n\t\t\tfor ( type in events ) {\n\t\t\t\tfor ( i = 0, l = events[ type ].length; i < l; i++ ) {\n\t\t\t\t\tjQuery.event.add( dest, type, events[ type ][ i ] );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// 2. Copy user data\n\tif ( dataUser.hasData( src ) ) {\n\t\tudataOld = dataUser.access( src );\n\t\tudataCur = jQuery.extend( {}, udataOld );\n\n\t\tdataUser.set( dest, udataCur );\n\t}\n}\n\n// Fix IE bugs, see support tests\nfunction fixInput( src, dest ) {\n\tvar nodeName = dest.nodeName.toLowerCase();\n\n\t// Fails to persist the checked state of a cloned checkbox or radio button.\n\tif ( nodeName === \"input\" && rcheckableType.test( src.type ) ) {\n\t\tdest.checked = src.checked;\n\n\t// Fails to return the selected option to the default selected state when cloning options\n\t} else if ( nodeName === \"input\" || nodeName === \"textarea\" ) {\n\t\tdest.defaultValue = src.defaultValue;\n\t}\n}\n\nfunction domManip( collection, args, callback, ignored ) {\n\n\t// Flatten any nested arrays\n\targs = flat( args );\n\n\tvar fragment, first, scripts, hasScripts, node, doc,\n\t\ti = 0,\n\t\tl = collection.length,\n\t\tiNoClone = l - 1,\n\t\tvalue = args[ 0 ],\n\t\tvalueIsFunction = isFunction( value );\n\n\t// We can't cloneNode fragments that contain checked, in WebKit\n\tif ( valueIsFunction ||\n\t\t\t( l > 1 && typeof value === \"string\" &&\n\t\t\t\t!support.checkClone && rchecked.test( value ) ) ) {\n\t\treturn collection.each( function( index ) {\n\t\t\tvar self = collection.eq( index );\n\t\t\tif ( valueIsFunction ) {\n\t\t\t\targs[ 0 ] = value.call( this, index, self.html() );\n\t\t\t}\n\t\t\tdomManip( self, args, callback, ignored );\n\t\t} );\n\t}\n\n\tif ( l ) {\n\t\tfragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored );\n\t\tfirst = fragment.firstChild;\n\n\t\tif ( fragment.childNodes.length === 1 ) {\n\t\t\tfragment = first;\n\t\t}\n\n\t\t// Require either new content or an interest in ignored elements to invoke the callback\n\t\tif ( first || ignored ) {\n\t\t\tscripts = jQuery.map( getAll( fragment, \"script\" ), disableScript );\n\t\t\thasScripts = scripts.length;\n\n\t\t\t// Use the original fragment for the last item\n\t\t\t// instead of the first because it can end up\n\t\t\t// being emptied incorrectly in certain situations (#8070).\n\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\tnode = fragment;\n\n\t\t\t\tif ( i !== iNoClone ) {\n\t\t\t\t\tnode = jQuery.clone( node, true, true );\n\n\t\t\t\t\t// Keep references to cloned scripts for later restoration\n\t\t\t\t\tif ( hasScripts ) {\n\n\t\t\t\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t\t\t\t// push.apply(_, arraylike) throws on ancient WebKit\n\t\t\t\t\t\tjQuery.merge( scripts, getAll( node, \"script\" ) );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tcallback.call( collection[ i ], node, i );\n\t\t\t}\n\n\t\t\tif ( hasScripts ) {\n\t\t\t\tdoc = scripts[ scripts.length - 1 ].ownerDocument;\n\n\t\t\t\t// Reenable scripts\n\t\t\t\tjQuery.map( scripts, restoreScript );\n\n\t\t\t\t// Evaluate executable scripts on first document insertion\n\t\t\t\tfor ( i = 0; i < hasScripts; i++ ) {\n\t\t\t\t\tnode = scripts[ i ];\n\t\t\t\t\tif ( rscriptType.test( node.type || \"\" ) &&\n\t\t\t\t\t\t!dataPriv.access( node, \"globalEval\" ) &&\n\t\t\t\t\t\tjQuery.contains( doc, node ) ) {\n\n\t\t\t\t\t\tif ( node.src && ( node.type || \"\" ).toLowerCase()  !== \"module\" ) {\n\n\t\t\t\t\t\t\t// Optional AJAX dependency, but won't run scripts if not present\n\t\t\t\t\t\t\tif ( jQuery._evalUrl && !node.noModule ) {\n\t\t\t\t\t\t\t\tjQuery._evalUrl( node.src, {\n\t\t\t\t\t\t\t\t\tnonce: node.nonce || node.getAttribute( \"nonce\" )\n\t\t\t\t\t\t\t\t}, doc );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tDOMEval( node.textContent.replace( rcleanScript, \"\" ), node, doc );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn collection;\n}\n\nfunction remove( elem, selector, keepData ) {\n\tvar node,\n\t\tnodes = selector ? jQuery.filter( selector, elem ) : elem,\n\t\ti = 0;\n\n\tfor ( ; ( node = nodes[ i ] ) != null; i++ ) {\n\t\tif ( !keepData && node.nodeType === 1 ) {\n\t\t\tjQuery.cleanData( getAll( node ) );\n\t\t}\n\n\t\tif ( node.parentNode ) {\n\t\t\tif ( keepData && isAttached( node ) ) {\n\t\t\t\tsetGlobalEval( getAll( node, \"script\" ) );\n\t\t\t}\n\t\t\tnode.parentNode.removeChild( node );\n\t\t}\n\t}\n\n\treturn elem;\n}\n\njQuery.extend( {\n\thtmlPrefilter: function( html ) {\n\t\treturn html;\n\t},\n\n\tclone: function( elem, dataAndEvents, deepDataAndEvents ) {\n\t\tvar i, l, srcElements, destElements,\n\t\t\tclone = elem.cloneNode( true ),\n\t\t\tinPage = isAttached( elem );\n\n\t\t// Fix IE cloning issues\n\t\tif ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) &&\n\t\t\t\t!jQuery.isXMLDoc( elem ) ) {\n\n\t\t\t// We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2\n\t\t\tdestElements = getAll( clone );\n\t\t\tsrcElements = getAll( elem );\n\n\t\t\tfor ( i = 0, l = srcElements.length; i < l; i++ ) {\n\t\t\t\tfixInput( srcElements[ i ], destElements[ i ] );\n\t\t\t}\n\t\t}\n\n\t\t// Copy the events from the original to the clone\n\t\tif ( dataAndEvents ) {\n\t\t\tif ( deepDataAndEvents ) {\n\t\t\t\tsrcElements = srcElements || getAll( elem );\n\t\t\t\tdestElements = destElements || getAll( clone );\n\n\t\t\t\tfor ( i = 0, l = srcElements.length; i < l; i++ ) {\n\t\t\t\t\tcloneCopyEvent( srcElements[ i ], destElements[ i ] );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tcloneCopyEvent( elem, clone );\n\t\t\t}\n\t\t}\n\n\t\t// Preserve script evaluation history\n\t\tdestElements = getAll( clone, \"script\" );\n\t\tif ( destElements.length > 0 ) {\n\t\t\tsetGlobalEval( destElements, !inPage && getAll( elem, \"script\" ) );\n\t\t}\n\n\t\t// Return the cloned set\n\t\treturn clone;\n\t},\n\n\tcleanData: function( elems ) {\n\t\tvar data, elem, type,\n\t\t\tspecial = jQuery.event.special,\n\t\t\ti = 0;\n\n\t\tfor ( ; ( elem = elems[ i ] ) !== undefined; i++ ) {\n\t\t\tif ( acceptData( elem ) ) {\n\t\t\t\tif ( ( data = elem[ dataPriv.expando ] ) ) {\n\t\t\t\t\tif ( data.events ) {\n\t\t\t\t\t\tfor ( type in data.events ) {\n\t\t\t\t\t\t\tif ( special[ type ] ) {\n\t\t\t\t\t\t\t\tjQuery.event.remove( elem, type );\n\n\t\t\t\t\t\t\t// This is a shortcut to avoid jQuery.event.remove's overhead\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tjQuery.removeEvent( elem, type, data.handle );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Support: Chrome <=35 - 45+\n\t\t\t\t\t// Assign undefined instead of using delete, see Data#remove\n\t\t\t\t\telem[ dataPriv.expando ] = undefined;\n\t\t\t\t}\n\t\t\t\tif ( elem[ dataUser.expando ] ) {\n\n\t\t\t\t\t// Support: Chrome <=35 - 45+\n\t\t\t\t\t// Assign undefined instead of using delete, see Data#remove\n\t\t\t\t\telem[ dataUser.expando ] = undefined;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n} );\n\njQuery.fn.extend( {\n\tdetach: function( selector ) {\n\t\treturn remove( this, selector, true );\n\t},\n\n\tremove: function( selector ) {\n\t\treturn remove( this, selector );\n\t},\n\n\ttext: function( value ) {\n\t\treturn access( this, function( value ) {\n\t\t\treturn value === undefined ?\n\t\t\t\tjQuery.text( this ) :\n\t\t\t\tthis.empty().each( function() {\n\t\t\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\t\t\tthis.textContent = value;\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t}, null, value, arguments.length );\n\t},\n\n\tappend: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\tvar target = manipulationTarget( this, elem );\n\t\t\t\ttarget.appendChild( elem );\n\t\t\t}\n\t\t} );\n\t},\n\n\tprepend: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\tvar target = manipulationTarget( this, elem );\n\t\t\t\ttarget.insertBefore( elem, target.firstChild );\n\t\t\t}\n\t\t} );\n\t},\n\n\tbefore: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.parentNode ) {\n\t\t\t\tthis.parentNode.insertBefore( elem, this );\n\t\t\t}\n\t\t} );\n\t},\n\n\tafter: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.parentNode ) {\n\t\t\t\tthis.parentNode.insertBefore( elem, this.nextSibling );\n\t\t\t}\n\t\t} );\n\t},\n\n\tempty: function() {\n\t\tvar elem,\n\t\t\ti = 0;\n\n\t\tfor ( ; ( elem = this[ i ] ) != null; i++ ) {\n\t\t\tif ( elem.nodeType === 1 ) {\n\n\t\t\t\t// Prevent memory leaks\n\t\t\t\tjQuery.cleanData( getAll( elem, false ) );\n\n\t\t\t\t// Remove any remaining nodes\n\t\t\t\telem.textContent = \"\";\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\tclone: function( dataAndEvents, deepDataAndEvents ) {\n\t\tdataAndEvents = dataAndEvents == null ? false : dataAndEvents;\n\t\tdeepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents;\n\n\t\treturn this.map( function() {\n\t\t\treturn jQuery.clone( this, dataAndEvents, deepDataAndEvents );\n\t\t} );\n\t},\n\n\thtml: function( value ) {\n\t\treturn access( this, function( value ) {\n\t\t\tvar elem = this[ 0 ] || {},\n\t\t\t\ti = 0,\n\t\t\t\tl = this.length;\n\n\t\t\tif ( value === undefined && elem.nodeType === 1 ) {\n\t\t\t\treturn elem.innerHTML;\n\t\t\t}\n\n\t\t\t// See if we can take a shortcut and just use innerHTML\n\t\t\tif ( typeof value === \"string\" && !rnoInnerhtml.test( value ) &&\n\t\t\t\t!wrapMap[ ( rtagName.exec( value ) || [ \"\", \"\" ] )[ 1 ].toLowerCase() ] ) {\n\n\t\t\t\tvalue = jQuery.htmlPrefilter( value );\n\n\t\t\t\ttry {\n\t\t\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\t\t\telem = this[ i ] || {};\n\n\t\t\t\t\t\t// Remove element nodes and prevent memory leaks\n\t\t\t\t\t\tif ( elem.nodeType === 1 ) {\n\t\t\t\t\t\t\tjQuery.cleanData( getAll( elem, false ) );\n\t\t\t\t\t\t\telem.innerHTML = value;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\telem = 0;\n\n\t\t\t\t// If using innerHTML throws an exception, use the fallback method\n\t\t\t\t} catch ( e ) {}\n\t\t\t}\n\n\t\t\tif ( elem ) {\n\t\t\t\tthis.empty().append( value );\n\t\t\t}\n\t\t}, null, value, arguments.length );\n\t},\n\n\treplaceWith: function() {\n\t\tvar ignored = [];\n\n\t\t// Make the changes, replacing each non-ignored context element with the new content\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tvar parent = this.parentNode;\n\n\t\t\tif ( jQuery.inArray( this, ignored ) < 0 ) {\n\t\t\t\tjQuery.cleanData( getAll( this ) );\n\t\t\t\tif ( parent ) {\n\t\t\t\t\tparent.replaceChild( elem, this );\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Force callback invocation\n\t\t}, ignored );\n\t}\n} );\n\njQuery.each( {\n\tappendTo: \"append\",\n\tprependTo: \"prepend\",\n\tinsertBefore: \"before\",\n\tinsertAfter: \"after\",\n\treplaceAll: \"replaceWith\"\n}, function( name, original ) {\n\tjQuery.fn[ name ] = function( selector ) {\n\t\tvar elems,\n\t\t\tret = [],\n\t\t\tinsert = jQuery( selector ),\n\t\t\tlast = insert.length - 1,\n\t\t\ti = 0;\n\n\t\tfor ( ; i <= last; i++ ) {\n\t\t\telems = i === last ? this : this.clone( true );\n\t\t\tjQuery( insert[ i ] )[ original ]( elems );\n\n\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t// .get() because push.apply(_, arraylike) throws on ancient WebKit\n\t\t\tpush.apply( ret, elems.get() );\n\t\t}\n\n\t\treturn this.pushStack( ret );\n\t};\n} );\nvar rnumnonpx = new RegExp( \"^(\" + pnum + \")(?!px)[a-z%]+$\", \"i\" );\n\nvar getStyles = function( elem ) {\n\n\t\t// Support: IE <=11 only, Firefox <=30 (#15098, #14150)\n\t\t// IE throws on elements created in popups\n\t\t// FF meanwhile throws on frame elements through \"defaultView.getComputedStyle\"\n\t\tvar view = elem.ownerDocument.defaultView;\n\n\t\tif ( !view || !view.opener ) {\n\t\t\tview = window;\n\t\t}\n\n\t\treturn view.getComputedStyle( elem );\n\t};\n\nvar swap = function( elem, options, callback ) {\n\tvar ret, name,\n\t\told = {};\n\n\t// Remember the old values, and insert the new ones\n\tfor ( name in options ) {\n\t\told[ name ] = elem.style[ name ];\n\t\telem.style[ name ] = options[ name ];\n\t}\n\n\tret = callback.call( elem );\n\n\t// Revert the old values\n\tfor ( name in options ) {\n\t\telem.style[ name ] = old[ name ];\n\t}\n\n\treturn ret;\n};\n\n\nvar rboxStyle = new RegExp( cssExpand.join( \"|\" ), \"i\" );\n\n\n\n( function() {\n\n\t// Executing both pixelPosition & boxSizingReliable tests require only one layout\n\t// so they're executed at the same time to save the second computation.\n\tfunction computeStyleTests() {\n\n\t\t// This is a singleton, we need to execute it only once\n\t\tif ( !div ) {\n\t\t\treturn;\n\t\t}\n\n\t\tcontainer.style.cssText = \"position:absolute;left:-11111px;width:60px;\" +\n\t\t\t\"margin-top:1px;padding:0;border:0\";\n\t\tdiv.style.cssText =\n\t\t\t\"position:relative;display:block;box-sizing:border-box;overflow:scroll;\" +\n\t\t\t\"margin:auto;border:1px;padding:1px;\" +\n\t\t\t\"width:60%;top:1%\";\n\t\tdocumentElement.appendChild( container ).appendChild( div );\n\n\t\tvar divStyle = window.getComputedStyle( div );\n\t\tpixelPositionVal = divStyle.top !== \"1%\";\n\n\t\t// Support: Android 4.0 - 4.3 only, Firefox <=3 - 44\n\t\treliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12;\n\n\t\t// Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3\n\t\t// Some styles come back with percentage values, even though they shouldn't\n\t\tdiv.style.right = \"60%\";\n\t\tpixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36;\n\n\t\t// Support: IE 9 - 11 only\n\t\t// Detect misreporting of content dimensions for box-sizing:border-box elements\n\t\tboxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36;\n\n\t\t// Support: IE 9 only\n\t\t// Detect overflow:scroll screwiness (gh-3699)\n\t\t// Support: Chrome <=64\n\t\t// Don't get tricked when zoom affects offsetWidth (gh-4029)\n\t\tdiv.style.position = \"absolute\";\n\t\tscrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12;\n\n\t\tdocumentElement.removeChild( container );\n\n\t\t// Nullify the div so it wouldn't be stored in the memory and\n\t\t// it will also be a sign that checks already performed\n\t\tdiv = null;\n\t}\n\n\tfunction roundPixelMeasures( measure ) {\n\t\treturn Math.round( parseFloat( measure ) );\n\t}\n\n\tvar pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal,\n\t\treliableTrDimensionsVal, reliableMarginLeftVal,\n\t\tcontainer = document.createElement( \"div\" ),\n\t\tdiv = document.createElement( \"div\" );\n\n\t// Finish early in limited (non-browser) environments\n\tif ( !div.style ) {\n\t\treturn;\n\t}\n\n\t// Support: IE <=9 - 11 only\n\t// Style of cloned element affects source element cloned (#8908)\n\tdiv.style.backgroundClip = \"content-box\";\n\tdiv.cloneNode( true ).style.backgroundClip = \"\";\n\tsupport.clearCloneStyle = div.style.backgroundClip === \"content-box\";\n\n\tjQuery.extend( support, {\n\t\tboxSizingReliable: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn boxSizingReliableVal;\n\t\t},\n\t\tpixelBoxStyles: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn pixelBoxStylesVal;\n\t\t},\n\t\tpixelPosition: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn pixelPositionVal;\n\t\t},\n\t\treliableMarginLeft: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn reliableMarginLeftVal;\n\t\t},\n\t\tscrollboxSize: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn scrollboxSizeVal;\n\t\t},\n\n\t\t// Support: IE 9 - 11+, Edge 15 - 18+\n\t\t// IE/Edge misreport `getComputedStyle` of table rows with width/height\n\t\t// set in CSS while `offset*` properties report correct values.\n\t\t// Behavior in IE 9 is more subtle than in newer versions & it passes\n\t\t// some versions of this test; make sure not to make it pass there!\n\t\t//\n\t\t// Support: Firefox 70+\n\t\t// Only Firefox includes border widths\n\t\t// in computed dimensions. (gh-4529)\n\t\treliableTrDimensions: function() {\n\t\t\tvar table, tr, trChild, trStyle;\n\t\t\tif ( reliableTrDimensionsVal == null ) {\n\t\t\t\ttable = document.createElement( \"table\" );\n\t\t\t\ttr = document.createElement( \"tr\" );\n\t\t\t\ttrChild = document.createElement( \"div\" );\n\n\t\t\t\ttable.style.cssText = \"position:absolute;left:-11111px;border-collapse:separate\";\n\t\t\t\ttr.style.cssText = \"border:1px solid\";\n\n\t\t\t\t// Support: Chrome 86+\n\t\t\t\t// Height set through cssText does not get applied.\n\t\t\t\t// Computed height then comes back as 0.\n\t\t\t\ttr.style.height = \"1px\";\n\t\t\t\ttrChild.style.height = \"9px\";\n\n\t\t\t\t// Support: Android 8 Chrome 86+\n\t\t\t\t// In our bodyBackground.html iframe,\n\t\t\t\t// display for all div elements is set to \"inline\",\n\t\t\t\t// which causes a problem only in Android 8 Chrome 86.\n\t\t\t\t// Ensuring the div is display: block\n\t\t\t\t// gets around this issue.\n\t\t\t\ttrChild.style.display = \"block\";\n\n\t\t\t\tdocumentElement\n\t\t\t\t\t.appendChild( table )\n\t\t\t\t\t.appendChild( tr )\n\t\t\t\t\t.appendChild( trChild );\n\n\t\t\t\ttrStyle = window.getComputedStyle( tr );\n\t\t\t\treliableTrDimensionsVal = ( parseInt( trStyle.height, 10 ) +\n\t\t\t\t\tparseInt( trStyle.borderTopWidth, 10 ) +\n\t\t\t\t\tparseInt( trStyle.borderBottomWidth, 10 ) ) === tr.offsetHeight;\n\n\t\t\t\tdocumentElement.removeChild( table );\n\t\t\t}\n\t\t\treturn reliableTrDimensionsVal;\n\t\t}\n\t} );\n} )();\n\n\nfunction curCSS( elem, name, computed ) {\n\tvar width, minWidth, maxWidth, ret,\n\n\t\t// Support: Firefox 51+\n\t\t// Retrieving style before computed somehow\n\t\t// fixes an issue with getting wrong values\n\t\t// on detached elements\n\t\tstyle = elem.style;\n\n\tcomputed = computed || getStyles( elem );\n\n\t// getPropertyValue is needed for:\n\t//   .css('filter') (IE 9 only, #12537)\n\t//   .css('--customProperty) (#3144)\n\tif ( computed ) {\n\t\tret = computed.getPropertyValue( name ) || computed[ name ];\n\n\t\tif ( ret === \"\" && !isAttached( elem ) ) {\n\t\t\tret = jQuery.style( elem, name );\n\t\t}\n\n\t\t// A tribute to the \"awesome hack by Dean Edwards\"\n\t\t// Android Browser returns percentage for some values,\n\t\t// but width seems to be reliably pixels.\n\t\t// This is against the CSSOM draft spec:\n\t\t// https://drafts.csswg.org/cssom/#resolved-values\n\t\tif ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) {\n\n\t\t\t// Remember the original values\n\t\t\twidth = style.width;\n\t\t\tminWidth = style.minWidth;\n\t\t\tmaxWidth = style.maxWidth;\n\n\t\t\t// Put in the new values to get a computed value out\n\t\t\tstyle.minWidth = style.maxWidth = style.width = ret;\n\t\t\tret = computed.width;\n\n\t\t\t// Revert the changed values\n\t\t\tstyle.width = width;\n\t\t\tstyle.minWidth = minWidth;\n\t\t\tstyle.maxWidth = maxWidth;\n\t\t}\n\t}\n\n\treturn ret !== undefined ?\n\n\t\t// Support: IE <=9 - 11 only\n\t\t// IE returns zIndex value as an integer.\n\t\tret + \"\" :\n\t\tret;\n}\n\n\nfunction addGetHookIf( conditionFn, hookFn ) {\n\n\t// Define the hook, we'll check on the first run if it's really needed.\n\treturn {\n\t\tget: function() {\n\t\t\tif ( conditionFn() ) {\n\n\t\t\t\t// Hook not needed (or it's not possible to use it due\n\t\t\t\t// to missing dependency), remove it.\n\t\t\t\tdelete this.get;\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Hook needed; redefine it so that the support test is not executed again.\n\t\t\treturn ( this.get = hookFn ).apply( this, arguments );\n\t\t}\n\t};\n}\n\n\nvar cssPrefixes = [ \"Webkit\", \"Moz\", \"ms\" ],\n\temptyStyle = document.createElement( \"div\" ).style,\n\tvendorProps = {};\n\n// Return a vendor-prefixed property or undefined\nfunction vendorPropName( name ) {\n\n\t// Check for vendor prefixed names\n\tvar capName = name[ 0 ].toUpperCase() + name.slice( 1 ),\n\t\ti = cssPrefixes.length;\n\n\twhile ( i-- ) {\n\t\tname = cssPrefixes[ i ] + capName;\n\t\tif ( name in emptyStyle ) {\n\t\t\treturn name;\n\t\t}\n\t}\n}\n\n// Return a potentially-mapped jQuery.cssProps or vendor prefixed property\nfunction finalPropName( name ) {\n\tvar final = jQuery.cssProps[ name ] || vendorProps[ name ];\n\n\tif ( final ) {\n\t\treturn final;\n\t}\n\tif ( name in emptyStyle ) {\n\t\treturn name;\n\t}\n\treturn vendorProps[ name ] = vendorPropName( name ) || name;\n}\n\n\nvar\n\n\t// Swappable if display is none or starts with table\n\t// except \"table\", \"table-cell\", or \"table-caption\"\n\t// See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display\n\trdisplayswap = /^(none|table(?!-c[ea]).+)/,\n\trcustomProp = /^--/,\n\tcssShow = { position: \"absolute\", visibility: \"hidden\", display: \"block\" },\n\tcssNormalTransform = {\n\t\tletterSpacing: \"0\",\n\t\tfontWeight: \"400\"\n\t};\n\nfunction setPositiveNumber( _elem, value, subtract ) {\n\n\t// Any relative (+/-) values have already been\n\t// normalized at this point\n\tvar matches = rcssNum.exec( value );\n\treturn matches ?\n\n\t\t// Guard against undefined \"subtract\", e.g., when used as in cssHooks\n\t\tMath.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || \"px\" ) :\n\t\tvalue;\n}\n\nfunction boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) {\n\tvar i = dimension === \"width\" ? 1 : 0,\n\t\textra = 0,\n\t\tdelta = 0;\n\n\t// Adjustment may not be necessary\n\tif ( box === ( isBorderBox ? \"border\" : \"content\" ) ) {\n\t\treturn 0;\n\t}\n\n\tfor ( ; i < 4; i += 2 ) {\n\n\t\t// Both box models exclude margin\n\t\tif ( box === \"margin\" ) {\n\t\t\tdelta += jQuery.css( elem, box + cssExpand[ i ], true, styles );\n\t\t}\n\n\t\t// If we get here with a content-box, we're seeking \"padding\" or \"border\" or \"margin\"\n\t\tif ( !isBorderBox ) {\n\n\t\t\t// Add padding\n\t\t\tdelta += jQuery.css( elem, \"padding\" + cssExpand[ i ], true, styles );\n\n\t\t\t// For \"border\" or \"margin\", add border\n\t\t\tif ( box !== \"padding\" ) {\n\t\t\t\tdelta += jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\n\t\t\t// But still keep track of it otherwise\n\t\t\t} else {\n\t\t\t\textra += jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\t\t\t}\n\n\t\t// If we get here with a border-box (content + padding + border), we're seeking \"content\" or\n\t\t// \"padding\" or \"margin\"\n\t\t} else {\n\n\t\t\t// For \"content\", subtract padding\n\t\t\tif ( box === \"content\" ) {\n\t\t\t\tdelta -= jQuery.css( elem, \"padding\" + cssExpand[ i ], true, styles );\n\t\t\t}\n\n\t\t\t// For \"content\" or \"padding\", subtract border\n\t\t\tif ( box !== \"margin\" ) {\n\t\t\t\tdelta -= jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\t\t\t}\n\t\t}\n\t}\n\n\t// Account for positive content-box scroll gutter when requested by providing computedVal\n\tif ( !isBorderBox && computedVal >= 0 ) {\n\n\t\t// offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border\n\t\t// Assuming integer scroll gutter, subtract the rest and round down\n\t\tdelta += Math.max( 0, Math.ceil(\n\t\t\telem[ \"offset\" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] -\n\t\t\tcomputedVal -\n\t\t\tdelta -\n\t\t\textra -\n\t\t\t0.5\n\n\t\t// If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter\n\t\t// Use an explicit zero to avoid NaN (gh-3964)\n\t\t) ) || 0;\n\t}\n\n\treturn delta;\n}\n\nfunction getWidthOrHeight( elem, dimension, extra ) {\n\n\t// Start with computed style\n\tvar styles = getStyles( elem ),\n\n\t\t// To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322).\n\t\t// Fake content-box until we know it's needed to know the true value.\n\t\tboxSizingNeeded = !support.boxSizingReliable() || extra,\n\t\tisBorderBox = boxSizingNeeded &&\n\t\t\tjQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\",\n\t\tvalueIsBorderBox = isBorderBox,\n\n\t\tval = curCSS( elem, dimension, styles ),\n\t\toffsetProp = \"offset\" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 );\n\n\t// Support: Firefox <=54\n\t// Return a confounding non-pixel value or feign ignorance, as appropriate.\n\tif ( rnumnonpx.test( val ) ) {\n\t\tif ( !extra ) {\n\t\t\treturn val;\n\t\t}\n\t\tval = \"auto\";\n\t}\n\n\n\t// Support: IE 9 - 11 only\n\t// Use offsetWidth/offsetHeight for when box sizing is unreliable.\n\t// In those cases, the computed value can be trusted to be border-box.\n\tif ( ( !support.boxSizingReliable() && isBorderBox ||\n\n\t\t// Support: IE 10 - 11+, Edge 15 - 18+\n\t\t// IE/Edge misreport `getComputedStyle` of table rows with width/height\n\t\t// set in CSS while `offset*` properties report correct values.\n\t\t// Interestingly, in some cases IE 9 doesn't suffer from this issue.\n\t\t!support.reliableTrDimensions() && nodeName( elem, \"tr\" ) ||\n\n\t\t// Fall back to offsetWidth/offsetHeight when value is \"auto\"\n\t\t// This happens for inline elements with no explicit setting (gh-3571)\n\t\tval === \"auto\" ||\n\n\t\t// Support: Android <=4.1 - 4.3 only\n\t\t// Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602)\n\t\t!parseFloat( val ) && jQuery.css( elem, \"display\", false, styles ) === \"inline\" ) &&\n\n\t\t// Make sure the element is visible & connected\n\t\telem.getClientRects().length ) {\n\n\t\tisBorderBox = jQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\";\n\n\t\t// Where available, offsetWidth/offsetHeight approximate border box dimensions.\n\t\t// Where not available (e.g., SVG), assume unreliable box-sizing and interpret the\n\t\t// retrieved value as a content box dimension.\n\t\tvalueIsBorderBox = offsetProp in elem;\n\t\tif ( valueIsBorderBox ) {\n\t\t\tval = elem[ offsetProp ];\n\t\t}\n\t}\n\n\t// Normalize \"\" and auto\n\tval = parseFloat( val ) || 0;\n\n\t// Adjust for the element's box model\n\treturn ( val +\n\t\tboxModelAdjustment(\n\t\t\telem,\n\t\t\tdimension,\n\t\t\textra || ( isBorderBox ? \"border\" : \"content\" ),\n\t\t\tvalueIsBorderBox,\n\t\t\tstyles,\n\n\t\t\t// Provide the current computed size to request scroll gutter calculation (gh-3589)\n\t\t\tval\n\t\t)\n\t) + \"px\";\n}\n\njQuery.extend( {\n\n\t// Add in style property hooks for overriding the default\n\t// behavior of getting and setting a style property\n\tcssHooks: {\n\t\topacity: {\n\t\t\tget: function( elem, computed ) {\n\t\t\t\tif ( computed ) {\n\n\t\t\t\t\t// We should always get a number back from opacity\n\t\t\t\t\tvar ret = curCSS( elem, \"opacity\" );\n\t\t\t\t\treturn ret === \"\" ? \"1\" : ret;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\n\t// Don't automatically add \"px\" to these possibly-unitless properties\n\tcssNumber: {\n\t\t\"animationIterationCount\": true,\n\t\t\"columnCount\": true,\n\t\t\"fillOpacity\": true,\n\t\t\"flexGrow\": true,\n\t\t\"flexShrink\": true,\n\t\t\"fontWeight\": true,\n\t\t\"gridArea\": true,\n\t\t\"gridColumn\": true,\n\t\t\"gridColumnEnd\": true,\n\t\t\"gridColumnStart\": true,\n\t\t\"gridRow\": true,\n\t\t\"gridRowEnd\": true,\n\t\t\"gridRowStart\": true,\n\t\t\"lineHeight\": true,\n\t\t\"opacity\": true,\n\t\t\"order\": true,\n\t\t\"orphans\": true,\n\t\t\"widows\": true,\n\t\t\"zIndex\": true,\n\t\t\"zoom\": true\n\t},\n\n\t// Add in properties whose names you wish to fix before\n\t// setting or getting the value\n\tcssProps: {},\n\n\t// Get and set the style property on a DOM Node\n\tstyle: function( elem, name, value, extra ) {\n\n\t\t// Don't set styles on text and comment nodes\n\t\tif ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Make sure that we're working with the right name\n\t\tvar ret, type, hooks,\n\t\t\torigName = camelCase( name ),\n\t\t\tisCustomProp = rcustomProp.test( name ),\n\t\t\tstyle = elem.style;\n\n\t\t// Make sure that we're working with the right name. We don't\n\t\t// want to query the value if it is a CSS custom property\n\t\t// since they are user-defined.\n\t\tif ( !isCustomProp ) {\n\t\t\tname = finalPropName( origName );\n\t\t}\n\n\t\t// Gets hook for the prefixed version, then unprefixed version\n\t\thooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];\n\n\t\t// Check if we're setting a value\n\t\tif ( value !== undefined ) {\n\t\t\ttype = typeof value;\n\n\t\t\t// Convert \"+=\" or \"-=\" to relative numbers (#7345)\n\t\t\tif ( type === \"string\" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) {\n\t\t\t\tvalue = adjustCSS( elem, name, ret );\n\n\t\t\t\t// Fixes bug #9237\n\t\t\t\ttype = \"number\";\n\t\t\t}\n\n\t\t\t// Make sure that null and NaN values aren't set (#7116)\n\t\t\tif ( value == null || value !== value ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// If a number was passed in, add the unit (except for certain CSS properties)\n\t\t\t// The isCustomProp check can be removed in jQuery 4.0 when we only auto-append\n\t\t\t// \"px\" to a few hardcoded values.\n\t\t\tif ( type === \"number\" && !isCustomProp ) {\n\t\t\t\tvalue += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? \"\" : \"px\" );\n\t\t\t}\n\n\t\t\t// background-* props affect original clone's values\n\t\t\tif ( !support.clearCloneStyle && value === \"\" && name.indexOf( \"background\" ) === 0 ) {\n\t\t\t\tstyle[ name ] = \"inherit\";\n\t\t\t}\n\n\t\t\t// If a hook was provided, use that value, otherwise just set the specified value\n\t\t\tif ( !hooks || !( \"set\" in hooks ) ||\n\t\t\t\t( value = hooks.set( elem, value, extra ) ) !== undefined ) {\n\n\t\t\t\tif ( isCustomProp ) {\n\t\t\t\t\tstyle.setProperty( name, value );\n\t\t\t\t} else {\n\t\t\t\t\tstyle[ name ] = value;\n\t\t\t\t}\n\t\t\t}\n\n\t\t} else {\n\n\t\t\t// If a hook was provided get the non-computed value from there\n\t\t\tif ( hooks && \"get\" in hooks &&\n\t\t\t\t( ret = hooks.get( elem, false, extra ) ) !== undefined ) {\n\n\t\t\t\treturn ret;\n\t\t\t}\n\n\t\t\t// Otherwise just get the value from the style object\n\t\t\treturn style[ name ];\n\t\t}\n\t},\n\n\tcss: function( elem, name, extra, styles ) {\n\t\tvar val, num, hooks,\n\t\t\torigName = camelCase( name ),\n\t\t\tisCustomProp = rcustomProp.test( name );\n\n\t\t// Make sure that we're working with the right name. We don't\n\t\t// want to modify the value if it is a CSS custom property\n\t\t// since they are user-defined.\n\t\tif ( !isCustomProp ) {\n\t\t\tname = finalPropName( origName );\n\t\t}\n\n\t\t// Try prefixed name followed by the unprefixed name\n\t\thooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];\n\n\t\t// If a hook was provided get the computed value from there\n\t\tif ( hooks && \"get\" in hooks ) {\n\t\t\tval = hooks.get( elem, true, extra );\n\t\t}\n\n\t\t// Otherwise, if a way to get the computed value exists, use that\n\t\tif ( val === undefined ) {\n\t\t\tval = curCSS( elem, name, styles );\n\t\t}\n\n\t\t// Convert \"normal\" to computed value\n\t\tif ( val === \"normal\" && name in cssNormalTransform ) {\n\t\t\tval = cssNormalTransform[ name ];\n\t\t}\n\n\t\t// Make numeric if forced or a qualifier was provided and val looks numeric\n\t\tif ( extra === \"\" || extra ) {\n\t\t\tnum = parseFloat( val );\n\t\t\treturn extra === true || isFinite( num ) ? num || 0 : val;\n\t\t}\n\n\t\treturn val;\n\t}\n} );\n\njQuery.each( [ \"height\", \"width\" ], function( _i, dimension ) {\n\tjQuery.cssHooks[ dimension ] = {\n\t\tget: function( elem, computed, extra ) {\n\t\t\tif ( computed ) {\n\n\t\t\t\t// Certain elements can have dimension info if we invisibly show them\n\t\t\t\t// but it must have a current display style that would benefit\n\t\t\t\treturn rdisplayswap.test( jQuery.css( elem, \"display\" ) ) &&\n\n\t\t\t\t\t// Support: Safari 8+\n\t\t\t\t\t// Table columns in Safari have non-zero offsetWidth & zero\n\t\t\t\t\t// getBoundingClientRect().width unless display is changed.\n\t\t\t\t\t// Support: IE <=11 only\n\t\t\t\t\t// Running getBoundingClientRect on a disconnected node\n\t\t\t\t\t// in IE throws an error.\n\t\t\t\t\t( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ?\n\t\t\t\t\tswap( elem, cssShow, function() {\n\t\t\t\t\t\treturn getWidthOrHeight( elem, dimension, extra );\n\t\t\t\t\t} ) :\n\t\t\t\t\tgetWidthOrHeight( elem, dimension, extra );\n\t\t\t}\n\t\t},\n\n\t\tset: function( elem, value, extra ) {\n\t\t\tvar matches,\n\t\t\t\tstyles = getStyles( elem ),\n\n\t\t\t\t// Only read styles.position if the test has a chance to fail\n\t\t\t\t// to avoid forcing a reflow.\n\t\t\t\tscrollboxSizeBuggy = !support.scrollboxSize() &&\n\t\t\t\t\tstyles.position === \"absolute\",\n\n\t\t\t\t// To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991)\n\t\t\t\tboxSizingNeeded = scrollboxSizeBuggy || extra,\n\t\t\t\tisBorderBox = boxSizingNeeded &&\n\t\t\t\t\tjQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\",\n\t\t\t\tsubtract = extra ?\n\t\t\t\t\tboxModelAdjustment(\n\t\t\t\t\t\telem,\n\t\t\t\t\t\tdimension,\n\t\t\t\t\t\textra,\n\t\t\t\t\t\tisBorderBox,\n\t\t\t\t\t\tstyles\n\t\t\t\t\t) :\n\t\t\t\t\t0;\n\n\t\t\t// Account for unreliable border-box dimensions by comparing offset* to computed and\n\t\t\t// faking a content-box to get border and padding (gh-3699)\n\t\t\tif ( isBorderBox && scrollboxSizeBuggy ) {\n\t\t\t\tsubtract -= Math.ceil(\n\t\t\t\t\telem[ \"offset\" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] -\n\t\t\t\t\tparseFloat( styles[ dimension ] ) -\n\t\t\t\t\tboxModelAdjustment( elem, dimension, \"border\", false, styles ) -\n\t\t\t\t\t0.5\n\t\t\t\t);\n\t\t\t}\n\n\t\t\t// Convert to pixels if value adjustment is needed\n\t\t\tif ( subtract && ( matches = rcssNum.exec( value ) ) &&\n\t\t\t\t( matches[ 3 ] || \"px\" ) !== \"px\" ) {\n\n\t\t\t\telem.style[ dimension ] = value;\n\t\t\t\tvalue = jQuery.css( elem, dimension );\n\t\t\t}\n\n\t\t\treturn setPositiveNumber( elem, value, subtract );\n\t\t}\n\t};\n} );\n\njQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft,\n\tfunction( elem, computed ) {\n\t\tif ( computed ) {\n\t\t\treturn ( parseFloat( curCSS( elem, \"marginLeft\" ) ) ||\n\t\t\t\telem.getBoundingClientRect().left -\n\t\t\t\t\tswap( elem, { marginLeft: 0 }, function() {\n\t\t\t\t\t\treturn elem.getBoundingClientRect().left;\n\t\t\t\t\t} )\n\t\t\t) + \"px\";\n\t\t}\n\t}\n);\n\n// These hooks are used by animate to expand properties\njQuery.each( {\n\tmargin: \"\",\n\tpadding: \"\",\n\tborder: \"Width\"\n}, function( prefix, suffix ) {\n\tjQuery.cssHooks[ prefix + suffix ] = {\n\t\texpand: function( value ) {\n\t\t\tvar i = 0,\n\t\t\t\texpanded = {},\n\n\t\t\t\t// Assumes a single number if not a string\n\t\t\t\tparts = typeof value === \"string\" ? value.split( \" \" ) : [ value ];\n\n\t\t\tfor ( ; i < 4; i++ ) {\n\t\t\t\texpanded[ prefix + cssExpand[ i ] + suffix ] =\n\t\t\t\t\tparts[ i ] || parts[ i - 2 ] || parts[ 0 ];\n\t\t\t}\n\n\t\t\treturn expanded;\n\t\t}\n\t};\n\n\tif ( prefix !== \"margin\" ) {\n\t\tjQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber;\n\t}\n} );\n\njQuery.fn.extend( {\n\tcss: function( name, value ) {\n\t\treturn access( this, function( elem, name, value ) {\n\t\t\tvar styles, len,\n\t\t\t\tmap = {},\n\t\t\t\ti = 0;\n\n\t\t\tif ( Array.isArray( name ) ) {\n\t\t\t\tstyles = getStyles( elem );\n\t\t\t\tlen = name.length;\n\n\t\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\t\tmap[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles );\n\t\t\t\t}\n\n\t\t\t\treturn map;\n\t\t\t}\n\n\t\t\treturn value !== undefined ?\n\t\t\t\tjQuery.style( elem, name, value ) :\n\t\t\t\tjQuery.css( elem, name );\n\t\t}, name, value, arguments.length > 1 );\n\t}\n} );\n\n\nfunction Tween( elem, options, prop, end, easing ) {\n\treturn new Tween.prototype.init( elem, options, prop, end, easing );\n}\njQuery.Tween = Tween;\n\nTween.prototype = {\n\tconstructor: Tween,\n\tinit: function( elem, options, prop, end, easing, unit ) {\n\t\tthis.elem = elem;\n\t\tthis.prop = prop;\n\t\tthis.easing = easing || jQuery.easing._default;\n\t\tthis.options = options;\n\t\tthis.start = this.now = this.cur();\n\t\tthis.end = end;\n\t\tthis.unit = unit || ( jQuery.cssNumber[ prop ] ? \"\" : \"px\" );\n\t},\n\tcur: function() {\n\t\tvar hooks = Tween.propHooks[ this.prop ];\n\n\t\treturn hooks && hooks.get ?\n\t\t\thooks.get( this ) :\n\t\t\tTween.propHooks._default.get( this );\n\t},\n\trun: function( percent ) {\n\t\tvar eased,\n\t\t\thooks = Tween.propHooks[ this.prop ];\n\n\t\tif ( this.options.duration ) {\n\t\t\tthis.pos = eased = jQuery.easing[ this.easing ](\n\t\t\t\tpercent, this.options.duration * percent, 0, 1, this.options.duration\n\t\t\t);\n\t\t} else {\n\t\t\tthis.pos = eased = percent;\n\t\t}\n\t\tthis.now = ( this.end - this.start ) * eased + this.start;\n\n\t\tif ( this.options.step ) {\n\t\t\tthis.options.step.call( this.elem, this.now, this );\n\t\t}\n\n\t\tif ( hooks && hooks.set ) {\n\t\t\thooks.set( this );\n\t\t} else {\n\t\t\tTween.propHooks._default.set( this );\n\t\t}\n\t\treturn this;\n\t}\n};\n\nTween.prototype.init.prototype = Tween.prototype;\n\nTween.propHooks = {\n\t_default: {\n\t\tget: function( tween ) {\n\t\t\tvar result;\n\n\t\t\t// Use a property on the element directly when it is not a DOM element,\n\t\t\t// or when there is no matching style property that exists.\n\t\t\tif ( tween.elem.nodeType !== 1 ||\n\t\t\t\ttween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) {\n\t\t\t\treturn tween.elem[ tween.prop ];\n\t\t\t}\n\n\t\t\t// Passing an empty string as a 3rd parameter to .css will automatically\n\t\t\t// attempt a parseFloat and fallback to a string if the parse fails.\n\t\t\t// Simple values such as \"10px\" are parsed to Float;\n\t\t\t// complex values such as \"rotate(1rad)\" are returned as-is.\n\t\t\tresult = jQuery.css( tween.elem, tween.prop, \"\" );\n\n\t\t\t// Empty strings, null, undefined and \"auto\" are converted to 0.\n\t\t\treturn !result || result === \"auto\" ? 0 : result;\n\t\t},\n\t\tset: function( tween ) {\n\n\t\t\t// Use step hook for back compat.\n\t\t\t// Use cssHook if its there.\n\t\t\t// Use .style if available and use plain properties where available.\n\t\t\tif ( jQuery.fx.step[ tween.prop ] ) {\n\t\t\t\tjQuery.fx.step[ tween.prop ]( tween );\n\t\t\t} else if ( tween.elem.nodeType === 1 && (\n\t\t\t\tjQuery.cssHooks[ tween.prop ] ||\n\t\t\t\t\ttween.elem.style[ finalPropName( tween.prop ) ] != null ) ) {\n\t\t\t\tjQuery.style( tween.elem, tween.prop, tween.now + tween.unit );\n\t\t\t} else {\n\t\t\t\ttween.elem[ tween.prop ] = tween.now;\n\t\t\t}\n\t\t}\n\t}\n};\n\n// Support: IE <=9 only\n// Panic based approach to setting things on disconnected nodes\nTween.propHooks.scrollTop = Tween.propHooks.scrollLeft = {\n\tset: function( tween ) {\n\t\tif ( tween.elem.nodeType && tween.elem.parentNode ) {\n\t\t\ttween.elem[ tween.prop ] = tween.now;\n\t\t}\n\t}\n};\n\njQuery.easing = {\n\tlinear: function( p ) {\n\t\treturn p;\n\t},\n\tswing: function( p ) {\n\t\treturn 0.5 - Math.cos( p * Math.PI ) / 2;\n\t},\n\t_default: \"swing\"\n};\n\njQuery.fx = Tween.prototype.init;\n\n// Back compat <1.8 extension point\njQuery.fx.step = {};\n\n\n\n\nvar\n\tfxNow, inProgress,\n\trfxtypes = /^(?:toggle|show|hide)$/,\n\trrun = /queueHooks$/;\n\nfunction schedule() {\n\tif ( inProgress ) {\n\t\tif ( document.hidden === false && window.requestAnimationFrame ) {\n\t\t\twindow.requestAnimationFrame( schedule );\n\t\t} else {\n\t\t\twindow.setTimeout( schedule, jQuery.fx.interval );\n\t\t}\n\n\t\tjQuery.fx.tick();\n\t}\n}\n\n// Animations created synchronously will run synchronously\nfunction createFxNow() {\n\twindow.setTimeout( function() {\n\t\tfxNow = undefined;\n\t} );\n\treturn ( fxNow = Date.now() );\n}\n\n// Generate parameters to create a standard animation\nfunction genFx( type, includeWidth ) {\n\tvar which,\n\t\ti = 0,\n\t\tattrs = { height: type };\n\n\t// If we include width, step value is 1 to do all cssExpand values,\n\t// otherwise step value is 2 to skip over Left and Right\n\tincludeWidth = includeWidth ? 1 : 0;\n\tfor ( ; i < 4; i += 2 - includeWidth ) {\n\t\twhich = cssExpand[ i ];\n\t\tattrs[ \"margin\" + which ] = attrs[ \"padding\" + which ] = type;\n\t}\n\n\tif ( includeWidth ) {\n\t\tattrs.opacity = attrs.width = type;\n\t}\n\n\treturn attrs;\n}\n\nfunction createTween( value, prop, animation ) {\n\tvar tween,\n\t\tcollection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ \"*\" ] ),\n\t\tindex = 0,\n\t\tlength = collection.length;\n\tfor ( ; index < length; index++ ) {\n\t\tif ( ( tween = collection[ index ].call( animation, prop, value ) ) ) {\n\n\t\t\t// We're done with this property\n\t\t\treturn tween;\n\t\t}\n\t}\n}\n\nfunction defaultPrefilter( elem, props, opts ) {\n\tvar prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display,\n\t\tisBox = \"width\" in props || \"height\" in props,\n\t\tanim = this,\n\t\torig = {},\n\t\tstyle = elem.style,\n\t\thidden = elem.nodeType && isHiddenWithinTree( elem ),\n\t\tdataShow = dataPriv.get( elem, \"fxshow\" );\n\n\t// Queue-skipping animations hijack the fx hooks\n\tif ( !opts.queue ) {\n\t\thooks = jQuery._queueHooks( elem, \"fx\" );\n\t\tif ( hooks.unqueued == null ) {\n\t\t\thooks.unqueued = 0;\n\t\t\toldfire = hooks.empty.fire;\n\t\t\thooks.empty.fire = function() {\n\t\t\t\tif ( !hooks.unqueued ) {\n\t\t\t\t\toldfire();\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t\thooks.unqueued++;\n\n\t\tanim.always( function() {\n\n\t\t\t// Ensure the complete handler is called before this completes\n\t\t\tanim.always( function() {\n\t\t\t\thooks.unqueued--;\n\t\t\t\tif ( !jQuery.queue( elem, \"fx\" ).length ) {\n\t\t\t\t\thooks.empty.fire();\n\t\t\t\t}\n\t\t\t} );\n\t\t} );\n\t}\n\n\t// Detect show/hide animations\n\tfor ( prop in props ) {\n\t\tvalue = props[ prop ];\n\t\tif ( rfxtypes.test( value ) ) {\n\t\t\tdelete props[ prop ];\n\t\t\ttoggle = toggle || value === \"toggle\";\n\t\t\tif ( value === ( hidden ? \"hide\" : \"show\" ) ) {\n\n\t\t\t\t// Pretend to be hidden if this is a \"show\" and\n\t\t\t\t// there is still data from a stopped show/hide\n\t\t\t\tif ( value === \"show\" && dataShow && dataShow[ prop ] !== undefined ) {\n\t\t\t\t\thidden = true;\n\n\t\t\t\t// Ignore all other no-op show/hide data\n\t\t\t\t} else {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t\torig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop );\n\t\t}\n\t}\n\n\t// Bail out if this is a no-op like .hide().hide()\n\tpropTween = !jQuery.isEmptyObject( props );\n\tif ( !propTween && jQuery.isEmptyObject( orig ) ) {\n\t\treturn;\n\t}\n\n\t// Restrict \"overflow\" and \"display\" styles during box animations\n\tif ( isBox && elem.nodeType === 1 ) {\n\n\t\t// Support: IE <=9 - 11, Edge 12 - 15\n\t\t// Record all 3 overflow attributes because IE does not infer the shorthand\n\t\t// from identically-valued overflowX and overflowY and Edge just mirrors\n\t\t// the overflowX value there.\n\t\topts.overflow = [ style.overflow, style.overflowX, style.overflowY ];\n\n\t\t// Identify a display type, preferring old show/hide data over the CSS cascade\n\t\trestoreDisplay = dataShow && dataShow.display;\n\t\tif ( restoreDisplay == null ) {\n\t\t\trestoreDisplay = dataPriv.get( elem, \"display\" );\n\t\t}\n\t\tdisplay = jQuery.css( elem, \"display\" );\n\t\tif ( display === \"none\" ) {\n\t\t\tif ( restoreDisplay ) {\n\t\t\t\tdisplay = restoreDisplay;\n\t\t\t} else {\n\n\t\t\t\t// Get nonempty value(s) by temporarily forcing visibility\n\t\t\t\tshowHide( [ elem ], true );\n\t\t\t\trestoreDisplay = elem.style.display || restoreDisplay;\n\t\t\t\tdisplay = jQuery.css( elem, \"display\" );\n\t\t\t\tshowHide( [ elem ] );\n\t\t\t}\n\t\t}\n\n\t\t// Animate inline elements as inline-block\n\t\tif ( display === \"inline\" || display === \"inline-block\" && restoreDisplay != null ) {\n\t\t\tif ( jQuery.css( elem, \"float\" ) === \"none\" ) {\n\n\t\t\t\t// Restore the original display value at the end of pure show/hide animations\n\t\t\t\tif ( !propTween ) {\n\t\t\t\t\tanim.done( function() {\n\t\t\t\t\t\tstyle.display = restoreDisplay;\n\t\t\t\t\t} );\n\t\t\t\t\tif ( restoreDisplay == null ) {\n\t\t\t\t\t\tdisplay = style.display;\n\t\t\t\t\t\trestoreDisplay = display === \"none\" ? \"\" : display;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tstyle.display = \"inline-block\";\n\t\t\t}\n\t\t}\n\t}\n\n\tif ( opts.overflow ) {\n\t\tstyle.overflow = \"hidden\";\n\t\tanim.always( function() {\n\t\t\tstyle.overflow = opts.overflow[ 0 ];\n\t\t\tstyle.overflowX = opts.overflow[ 1 ];\n\t\t\tstyle.overflowY = opts.overflow[ 2 ];\n\t\t} );\n\t}\n\n\t// Implement show/hide animations\n\tpropTween = false;\n\tfor ( prop in orig ) {\n\n\t\t// General show/hide setup for this element animation\n\t\tif ( !propTween ) {\n\t\t\tif ( dataShow ) {\n\t\t\t\tif ( \"hidden\" in dataShow ) {\n\t\t\t\t\thidden = dataShow.hidden;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tdataShow = dataPriv.access( elem, \"fxshow\", { display: restoreDisplay } );\n\t\t\t}\n\n\t\t\t// Store hidden/visible for toggle so `.stop().toggle()` \"reverses\"\n\t\t\tif ( toggle ) {\n\t\t\t\tdataShow.hidden = !hidden;\n\t\t\t}\n\n\t\t\t// Show elements before animating them\n\t\t\tif ( hidden ) {\n\t\t\t\tshowHide( [ elem ], true );\n\t\t\t}\n\n\t\t\t/* eslint-disable no-loop-func */\n\n\t\t\tanim.done( function() {\n\n\t\t\t\t/* eslint-enable no-loop-func */\n\n\t\t\t\t// The final step of a \"hide\" animation is actually hiding the element\n\t\t\t\tif ( !hidden ) {\n\t\t\t\t\tshowHide( [ elem ] );\n\t\t\t\t}\n\t\t\t\tdataPriv.remove( elem, \"fxshow\" );\n\t\t\t\tfor ( prop in orig ) {\n\t\t\t\t\tjQuery.style( elem, prop, orig[ prop ] );\n\t\t\t\t}\n\t\t\t} );\n\t\t}\n\n\t\t// Per-property setup\n\t\tpropTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim );\n\t\tif ( !( prop in dataShow ) ) {\n\t\t\tdataShow[ prop ] = propTween.start;\n\t\t\tif ( hidden ) {\n\t\t\t\tpropTween.end = propTween.start;\n\t\t\t\tpropTween.start = 0;\n\t\t\t}\n\t\t}\n\t}\n}\n\nfunction propFilter( props, specialEasing ) {\n\tvar index, name, easing, value, hooks;\n\n\t// camelCase, specialEasing and expand cssHook pass\n\tfor ( index in props ) {\n\t\tname = camelCase( index );\n\t\teasing = specialEasing[ name ];\n\t\tvalue = props[ index ];\n\t\tif ( Array.isArray( value ) ) {\n\t\t\teasing = value[ 1 ];\n\t\t\tvalue = props[ index ] = value[ 0 ];\n\t\t}\n\n\t\tif ( index !== name ) {\n\t\t\tprops[ name ] = value;\n\t\t\tdelete props[ index ];\n\t\t}\n\n\t\thooks = jQuery.cssHooks[ name ];\n\t\tif ( hooks && \"expand\" in hooks ) {\n\t\t\tvalue = hooks.expand( value );\n\t\t\tdelete props[ name ];\n\n\t\t\t// Not quite $.extend, this won't overwrite existing keys.\n\t\t\t// Reusing 'index' because we have the correct \"name\"\n\t\t\tfor ( index in value ) {\n\t\t\t\tif ( !( index in props ) ) {\n\t\t\t\t\tprops[ index ] = value[ index ];\n\t\t\t\t\tspecialEasing[ index ] = easing;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tspecialEasing[ name ] = easing;\n\t\t}\n\t}\n}\n\nfunction Animation( elem, properties, options ) {\n\tvar result,\n\t\tstopped,\n\t\tindex = 0,\n\t\tlength = Animation.prefilters.length,\n\t\tdeferred = jQuery.Deferred().always( function() {\n\n\t\t\t// Don't match elem in the :animated selector\n\t\t\tdelete tick.elem;\n\t\t} ),\n\t\ttick = function() {\n\t\t\tif ( stopped ) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tvar currentTime = fxNow || createFxNow(),\n\t\t\t\tremaining = Math.max( 0, animation.startTime + animation.duration - currentTime ),\n\n\t\t\t\t// Support: Android 2.3 only\n\t\t\t\t// Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497)\n\t\t\t\ttemp = remaining / animation.duration || 0,\n\t\t\t\tpercent = 1 - temp,\n\t\t\t\tindex = 0,\n\t\t\t\tlength = animation.tweens.length;\n\n\t\t\tfor ( ; index < length; index++ ) {\n\t\t\t\tanimation.tweens[ index ].run( percent );\n\t\t\t}\n\n\t\t\tdeferred.notifyWith( elem, [ animation, percent, remaining ] );\n\n\t\t\t// If there's more to do, yield\n\t\t\tif ( percent < 1 && length ) {\n\t\t\t\treturn remaining;\n\t\t\t}\n\n\t\t\t// If this was an empty animation, synthesize a final progress notification\n\t\t\tif ( !length ) {\n\t\t\t\tdeferred.notifyWith( elem, [ animation, 1, 0 ] );\n\t\t\t}\n\n\t\t\t// Resolve the animation and report its conclusion\n\t\t\tdeferred.resolveWith( elem, [ animation ] );\n\t\t\treturn false;\n\t\t},\n\t\tanimation = deferred.promise( {\n\t\t\telem: elem,\n\t\t\tprops: jQuery.extend( {}, properties ),\n\t\t\topts: jQuery.extend( true, {\n\t\t\t\tspecialEasing: {},\n\t\t\t\teasing: jQuery.easing._default\n\t\t\t}, options ),\n\t\t\toriginalProperties: properties,\n\t\t\toriginalOptions: options,\n\t\t\tstartTime: fxNow || createFxNow(),\n\t\t\tduration: options.duration,\n\t\t\ttweens: [],\n\t\t\tcreateTween: function( prop, end ) {\n\t\t\t\tvar tween = jQuery.Tween( elem, animation.opts, prop, end,\n\t\t\t\t\tanimation.opts.specialEasing[ prop ] || animation.opts.easing );\n\t\t\t\tanimation.tweens.push( tween );\n\t\t\t\treturn tween;\n\t\t\t},\n\t\t\tstop: function( gotoEnd ) {\n\t\t\t\tvar index = 0,\n\n\t\t\t\t\t// If we are going to the end, we want to run all the tweens\n\t\t\t\t\t// otherwise we skip this part\n\t\t\t\t\tlength = gotoEnd ? animation.tweens.length : 0;\n\t\t\t\tif ( stopped ) {\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\t\t\t\tstopped = true;\n\t\t\t\tfor ( ; index < length; index++ ) {\n\t\t\t\t\tanimation.tweens[ index ].run( 1 );\n\t\t\t\t}\n\n\t\t\t\t// Resolve when we played the last frame; otherwise, reject\n\t\t\t\tif ( gotoEnd ) {\n\t\t\t\t\tdeferred.notifyWith( elem, [ animation, 1, 0 ] );\n\t\t\t\t\tdeferred.resolveWith( elem, [ animation, gotoEnd ] );\n\t\t\t\t} else {\n\t\t\t\t\tdeferred.rejectWith( elem, [ animation, gotoEnd ] );\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t}\n\t\t} ),\n\t\tprops = animation.props;\n\n\tpropFilter( props, animation.opts.specialEasing );\n\n\tfor ( ; index < length; index++ ) {\n\t\tresult = Animation.prefilters[ index ].call( animation, elem, props, animation.opts );\n\t\tif ( result ) {\n\t\t\tif ( isFunction( result.stop ) ) {\n\t\t\t\tjQuery._queueHooks( animation.elem, animation.opts.queue ).stop =\n\t\t\t\t\tresult.stop.bind( result );\n\t\t\t}\n\t\t\treturn result;\n\t\t}\n\t}\n\n\tjQuery.map( props, createTween, animation );\n\n\tif ( isFunction( animation.opts.start ) ) {\n\t\tanimation.opts.start.call( elem, animation );\n\t}\n\n\t// Attach callbacks from options\n\tanimation\n\t\t.progress( animation.opts.progress )\n\t\t.done( animation.opts.done, animation.opts.complete )\n\t\t.fail( animation.opts.fail )\n\t\t.always( animation.opts.always );\n\n\tjQuery.fx.timer(\n\t\tjQuery.extend( tick, {\n\t\t\telem: elem,\n\t\t\tanim: animation,\n\t\t\tqueue: animation.opts.queue\n\t\t} )\n\t);\n\n\treturn animation;\n}\n\njQuery.Animation = jQuery.extend( Animation, {\n\n\ttweeners: {\n\t\t\"*\": [ function( prop, value ) {\n\t\t\tvar tween = this.createTween( prop, value );\n\t\t\tadjustCSS( tween.elem, prop, rcssNum.exec( value ), tween );\n\t\t\treturn tween;\n\t\t} ]\n\t},\n\n\ttweener: function( props, callback ) {\n\t\tif ( isFunction( props ) ) {\n\t\t\tcallback = props;\n\t\t\tprops = [ \"*\" ];\n\t\t} else {\n\t\t\tprops = props.match( rnothtmlwhite );\n\t\t}\n\n\t\tvar prop,\n\t\t\tindex = 0,\n\t\t\tlength = props.length;\n\n\t\tfor ( ; index < length; index++ ) {\n\t\t\tprop = props[ index ];\n\t\t\tAnimation.tweeners[ prop ] = Animation.tweeners[ prop ] || [];\n\t\t\tAnimation.tweeners[ prop ].unshift( callback );\n\t\t}\n\t},\n\n\tprefilters: [ defaultPrefilter ],\n\n\tprefilter: function( callback, prepend ) {\n\t\tif ( prepend ) {\n\t\t\tAnimation.prefilters.unshift( callback );\n\t\t} else {\n\t\t\tAnimation.prefilters.push( callback );\n\t\t}\n\t}\n} );\n\njQuery.speed = function( speed, easing, fn ) {\n\tvar opt = speed && typeof speed === \"object\" ? jQuery.extend( {}, speed ) : {\n\t\tcomplete: fn || !fn && easing ||\n\t\t\tisFunction( speed ) && speed,\n\t\tduration: speed,\n\t\teasing: fn && easing || easing && !isFunction( easing ) && easing\n\t};\n\n\t// Go to the end state if fx are off\n\tif ( jQuery.fx.off ) {\n\t\topt.duration = 0;\n\n\t} else {\n\t\tif ( typeof opt.duration !== \"number\" ) {\n\t\t\tif ( opt.duration in jQuery.fx.speeds ) {\n\t\t\t\topt.duration = jQuery.fx.speeds[ opt.duration ];\n\n\t\t\t} else {\n\t\t\t\topt.duration = jQuery.fx.speeds._default;\n\t\t\t}\n\t\t}\n\t}\n\n\t// Normalize opt.queue - true/undefined/null -> \"fx\"\n\tif ( opt.queue == null || opt.queue === true ) {\n\t\topt.queue = \"fx\";\n\t}\n\n\t// Queueing\n\topt.old = opt.complete;\n\n\topt.complete = function() {\n\t\tif ( isFunction( opt.old ) ) {\n\t\t\topt.old.call( this );\n\t\t}\n\n\t\tif ( opt.queue ) {\n\t\t\tjQuery.dequeue( this, opt.queue );\n\t\t}\n\t};\n\n\treturn opt;\n};\n\njQuery.fn.extend( {\n\tfadeTo: function( speed, to, easing, callback ) {\n\n\t\t// Show any hidden elements after setting opacity to 0\n\t\treturn this.filter( isHiddenWithinTree ).css( \"opacity\", 0 ).show()\n\n\t\t\t// Animate to the value specified\n\t\t\t.end().animate( { opacity: to }, speed, easing, callback );\n\t},\n\tanimate: function( prop, speed, easing, callback ) {\n\t\tvar empty = jQuery.isEmptyObject( prop ),\n\t\t\toptall = jQuery.speed( speed, easing, callback ),\n\t\t\tdoAnimation = function() {\n\n\t\t\t\t// Operate on a copy of prop so per-property easing won't be lost\n\t\t\t\tvar anim = Animation( this, jQuery.extend( {}, prop ), optall );\n\n\t\t\t\t// Empty animations, or finishing resolves immediately\n\t\t\t\tif ( empty || dataPriv.get( this, \"finish\" ) ) {\n\t\t\t\t\tanim.stop( true );\n\t\t\t\t}\n\t\t\t};\n\n\t\tdoAnimation.finish = doAnimation;\n\n\t\treturn empty || optall.queue === false ?\n\t\t\tthis.each( doAnimation ) :\n\t\t\tthis.queue( optall.queue, doAnimation );\n\t},\n\tstop: function( type, clearQueue, gotoEnd ) {\n\t\tvar stopQueue = function( hooks ) {\n\t\t\tvar stop = hooks.stop;\n\t\t\tdelete hooks.stop;\n\t\t\tstop( gotoEnd );\n\t\t};\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tgotoEnd = clearQueue;\n\t\t\tclearQueue = type;\n\t\t\ttype = undefined;\n\t\t}\n\t\tif ( clearQueue ) {\n\t\t\tthis.queue( type || \"fx\", [] );\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tvar dequeue = true,\n\t\t\t\tindex = type != null && type + \"queueHooks\",\n\t\t\t\ttimers = jQuery.timers,\n\t\t\t\tdata = dataPriv.get( this );\n\n\t\t\tif ( index ) {\n\t\t\t\tif ( data[ index ] && data[ index ].stop ) {\n\t\t\t\t\tstopQueue( data[ index ] );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor ( index in data ) {\n\t\t\t\t\tif ( data[ index ] && data[ index ].stop && rrun.test( index ) ) {\n\t\t\t\t\t\tstopQueue( data[ index ] );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor ( index = timers.length; index--; ) {\n\t\t\t\tif ( timers[ index ].elem === this &&\n\t\t\t\t\t( type == null || timers[ index ].queue === type ) ) {\n\n\t\t\t\t\ttimers[ index ].anim.stop( gotoEnd );\n\t\t\t\t\tdequeue = false;\n\t\t\t\t\ttimers.splice( index, 1 );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Start the next in the queue if the last step wasn't forced.\n\t\t\t// Timers currently will call their complete callbacks, which\n\t\t\t// will dequeue but only if they were gotoEnd.\n\t\t\tif ( dequeue || !gotoEnd ) {\n\t\t\t\tjQuery.dequeue( this, type );\n\t\t\t}\n\t\t} );\n\t},\n\tfinish: function( type ) {\n\t\tif ( type !== false ) {\n\t\t\ttype = type || \"fx\";\n\t\t}\n\t\treturn this.each( function() {\n\t\t\tvar index,\n\t\t\t\tdata = dataPriv.get( this ),\n\t\t\t\tqueue = data[ type + \"queue\" ],\n\t\t\t\thooks = data[ type + \"queueHooks\" ],\n\t\t\t\ttimers = jQuery.timers,\n\t\t\t\tlength = queue ? queue.length : 0;\n\n\t\t\t// Enable finishing flag on private data\n\t\t\tdata.finish = true;\n\n\t\t\t// Empty the queue first\n\t\t\tjQuery.queue( this, type, [] );\n\n\t\t\tif ( hooks && hooks.stop ) {\n\t\t\t\thooks.stop.call( this, true );\n\t\t\t}\n\n\t\t\t// Look for any active animations, and finish them\n\t\t\tfor ( index = timers.length; index--; ) {\n\t\t\t\tif ( timers[ index ].elem === this && timers[ index ].queue === type ) {\n\t\t\t\t\ttimers[ index ].anim.stop( true );\n\t\t\t\t\ttimers.splice( index, 1 );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Look for any animations in the old queue and finish them\n\t\t\tfor ( index = 0; index < length; index++ ) {\n\t\t\t\tif ( queue[ index ] && queue[ index ].finish ) {\n\t\t\t\t\tqueue[ index ].finish.call( this );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Turn off finishing flag\n\t\t\tdelete data.finish;\n\t\t} );\n\t}\n} );\n\njQuery.each( [ \"toggle\", \"show\", \"hide\" ], function( _i, name ) {\n\tvar cssFn = jQuery.fn[ name ];\n\tjQuery.fn[ name ] = function( speed, easing, callback ) {\n\t\treturn speed == null || typeof speed === \"boolean\" ?\n\t\t\tcssFn.apply( this, arguments ) :\n\t\t\tthis.animate( genFx( name, true ), speed, easing, callback );\n\t};\n} );\n\n// Generate shortcuts for custom animations\njQuery.each( {\n\tslideDown: genFx( \"show\" ),\n\tslideUp: genFx( \"hide\" ),\n\tslideToggle: genFx( \"toggle\" ),\n\tfadeIn: { opacity: \"show\" },\n\tfadeOut: { opacity: \"hide\" },\n\tfadeToggle: { opacity: \"toggle\" }\n}, function( name, props ) {\n\tjQuery.fn[ name ] = function( speed, easing, callback ) {\n\t\treturn this.animate( props, speed, easing, callback );\n\t};\n} );\n\njQuery.timers = [];\njQuery.fx.tick = function() {\n\tvar timer,\n\t\ti = 0,\n\t\ttimers = jQuery.timers;\n\n\tfxNow = Date.now();\n\n\tfor ( ; i < timers.length; i++ ) {\n\t\ttimer = timers[ i ];\n\n\t\t// Run the timer and safely remove it when done (allowing for external removal)\n\t\tif ( !timer() && timers[ i ] === timer ) {\n\t\t\ttimers.splice( i--, 1 );\n\t\t}\n\t}\n\n\tif ( !timers.length ) {\n\t\tjQuery.fx.stop();\n\t}\n\tfxNow = undefined;\n};\n\njQuery.fx.timer = function( timer ) {\n\tjQuery.timers.push( timer );\n\tjQuery.fx.start();\n};\n\njQuery.fx.interval = 13;\njQuery.fx.start = function() {\n\tif ( inProgress ) {\n\t\treturn;\n\t}\n\n\tinProgress = true;\n\tschedule();\n};\n\njQuery.fx.stop = function() {\n\tinProgress = null;\n};\n\njQuery.fx.speeds = {\n\tslow: 600,\n\tfast: 200,\n\n\t// Default speed\n\t_default: 400\n};\n\n\n// Based off of the plugin by Clint Helfers, with permission.\n// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/\njQuery.fn.delay = function( time, type ) {\n\ttime = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time;\n\ttype = type || \"fx\";\n\n\treturn this.queue( type, function( next, hooks ) {\n\t\tvar timeout = window.setTimeout( next, time );\n\t\thooks.stop = function() {\n\t\t\twindow.clearTimeout( timeout );\n\t\t};\n\t} );\n};\n\n\n( function() {\n\tvar input = document.createElement( \"input\" ),\n\t\tselect = document.createElement( \"select\" ),\n\t\topt = select.appendChild( document.createElement( \"option\" ) );\n\n\tinput.type = \"checkbox\";\n\n\t// Support: Android <=4.3 only\n\t// Default value for a checkbox should be \"on\"\n\tsupport.checkOn = input.value !== \"\";\n\n\t// Support: IE <=11 only\n\t// Must access selectedIndex to make default options select\n\tsupport.optSelected = opt.selected;\n\n\t// Support: IE <=11 only\n\t// An input loses its value after becoming a radio\n\tinput = document.createElement( \"input\" );\n\tinput.value = \"t\";\n\tinput.type = \"radio\";\n\tsupport.radioValue = input.value === \"t\";\n} )();\n\n\nvar boolHook,\n\tattrHandle = jQuery.expr.attrHandle;\n\njQuery.fn.extend( {\n\tattr: function( name, value ) {\n\t\treturn access( this, jQuery.attr, name, value, arguments.length > 1 );\n\t},\n\n\tremoveAttr: function( name ) {\n\t\treturn this.each( function() {\n\t\t\tjQuery.removeAttr( this, name );\n\t\t} );\n\t}\n} );\n\njQuery.extend( {\n\tattr: function( elem, name, value ) {\n\t\tvar ret, hooks,\n\t\t\tnType = elem.nodeType;\n\n\t\t// Don't get/set attributes on text, comment and attribute nodes\n\t\tif ( nType === 3 || nType === 8 || nType === 2 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Fallback to prop when attributes are not supported\n\t\tif ( typeof elem.getAttribute === \"undefined\" ) {\n\t\t\treturn jQuery.prop( elem, name, value );\n\t\t}\n\n\t\t// Attribute hooks are determined by the lowercase version\n\t\t// Grab necessary hook if one is defined\n\t\tif ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {\n\t\t\thooks = jQuery.attrHooks[ name.toLowerCase() ] ||\n\t\t\t\t( jQuery.expr.match.bool.test( name ) ? boolHook : undefined );\n\t\t}\n\n\t\tif ( value !== undefined ) {\n\t\t\tif ( value === null ) {\n\t\t\t\tjQuery.removeAttr( elem, name );\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( hooks && \"set\" in hooks &&\n\t\t\t\t( ret = hooks.set( elem, value, name ) ) !== undefined ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\n\t\t\telem.setAttribute( name, value + \"\" );\n\t\t\treturn value;\n\t\t}\n\n\t\tif ( hooks && \"get\" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) {\n\t\t\treturn ret;\n\t\t}\n\n\t\tret = jQuery.find.attr( elem, name );\n\n\t\t// Non-existent attributes return null, we normalize to undefined\n\t\treturn ret == null ? undefined : ret;\n\t},\n\n\tattrHooks: {\n\t\ttype: {\n\t\t\tset: function( elem, value ) {\n\t\t\t\tif ( !support.radioValue && value === \"radio\" &&\n\t\t\t\t\tnodeName( elem, \"input\" ) ) {\n\t\t\t\t\tvar val = elem.value;\n\t\t\t\t\telem.setAttribute( \"type\", value );\n\t\t\t\t\tif ( val ) {\n\t\t\t\t\t\telem.value = val;\n\t\t\t\t\t}\n\t\t\t\t\treturn value;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\n\tremoveAttr: function( elem, value ) {\n\t\tvar name,\n\t\t\ti = 0,\n\n\t\t\t// Attribute names can contain non-HTML whitespace characters\n\t\t\t// https://html.spec.whatwg.org/multipage/syntax.html#attributes-2\n\t\t\tattrNames = value && value.match( rnothtmlwhite );\n\n\t\tif ( attrNames && elem.nodeType === 1 ) {\n\t\t\twhile ( ( name = attrNames[ i++ ] ) ) {\n\t\t\t\telem.removeAttribute( name );\n\t\t\t}\n\t\t}\n\t}\n} );\n\n// Hooks for boolean attributes\nboolHook = {\n\tset: function( elem, value, name ) {\n\t\tif ( value === false ) {\n\n\t\t\t// Remove boolean attributes when set to false\n\t\t\tjQuery.removeAttr( elem, name );\n\t\t} else {\n\t\t\telem.setAttribute( name, name );\n\t\t}\n\t\treturn name;\n\t}\n};\n\njQuery.each( jQuery.expr.match.bool.source.match( /\\w+/g ), function( _i, name ) {\n\tvar getter = attrHandle[ name ] || jQuery.find.attr;\n\n\tattrHandle[ name ] = function( elem, name, isXML ) {\n\t\tvar ret, handle,\n\t\t\tlowercaseName = name.toLowerCase();\n\n\t\tif ( !isXML ) {\n\n\t\t\t// Avoid an infinite loop by temporarily removing this function from the getter\n\t\t\thandle = attrHandle[ lowercaseName ];\n\t\t\tattrHandle[ lowercaseName ] = ret;\n\t\t\tret = getter( elem, name, isXML ) != null ?\n\t\t\t\tlowercaseName :\n\t\t\t\tnull;\n\t\t\tattrHandle[ lowercaseName ] = handle;\n\t\t}\n\t\treturn ret;\n\t};\n} );\n\n\n\n\nvar rfocusable = /^(?:input|select|textarea|button)$/i,\n\trclickable = /^(?:a|area)$/i;\n\njQuery.fn.extend( {\n\tprop: function( name, value ) {\n\t\treturn access( this, jQuery.prop, name, value, arguments.length > 1 );\n\t},\n\n\tremoveProp: function( name ) {\n\t\treturn this.each( function() {\n\t\t\tdelete this[ jQuery.propFix[ name ] || name ];\n\t\t} );\n\t}\n} );\n\njQuery.extend( {\n\tprop: function( elem, name, value ) {\n\t\tvar ret, hooks,\n\t\t\tnType = elem.nodeType;\n\n\t\t// Don't get/set properties on text, comment and attribute nodes\n\t\tif ( nType === 3 || nType === 8 || nType === 2 ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {\n\n\t\t\t// Fix name and attach hooks\n\t\t\tname = jQuery.propFix[ name ] || name;\n\t\t\thooks = jQuery.propHooks[ name ];\n\t\t}\n\n\t\tif ( value !== undefined ) {\n\t\t\tif ( hooks && \"set\" in hooks &&\n\t\t\t\t( ret = hooks.set( elem, value, name ) ) !== undefined ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\n\t\t\treturn ( elem[ name ] = value );\n\t\t}\n\n\t\tif ( hooks && \"get\" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) {\n\t\t\treturn ret;\n\t\t}\n\n\t\treturn elem[ name ];\n\t},\n\n\tpropHooks: {\n\t\ttabIndex: {\n\t\t\tget: function( elem ) {\n\n\t\t\t\t// Support: IE <=9 - 11 only\n\t\t\t\t// elem.tabIndex doesn't always return the\n\t\t\t\t// correct value when it hasn't been explicitly set\n\t\t\t\t// https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/\n\t\t\t\t// Use proper attribute retrieval(#12072)\n\t\t\t\tvar tabindex = jQuery.find.attr( elem, \"tabindex\" );\n\n\t\t\t\tif ( tabindex ) {\n\t\t\t\t\treturn parseInt( tabindex, 10 );\n\t\t\t\t}\n\n\t\t\t\tif (\n\t\t\t\t\trfocusable.test( elem.nodeName ) ||\n\t\t\t\t\trclickable.test( elem.nodeName ) &&\n\t\t\t\t\telem.href\n\t\t\t\t) {\n\t\t\t\t\treturn 0;\n\t\t\t\t}\n\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t}\n\t},\n\n\tpropFix: {\n\t\t\"for\": \"htmlFor\",\n\t\t\"class\": \"className\"\n\t}\n} );\n\n// Support: IE <=11 only\n// Accessing the selectedIndex property\n// forces the browser to respect setting selected\n// on the option\n// The getter ensures a default option is selected\n// when in an optgroup\n// eslint rule \"no-unused-expressions\" is disabled for this code\n// since it considers such accessions noop\nif ( !support.optSelected ) {\n\tjQuery.propHooks.selected = {\n\t\tget: function( elem ) {\n\n\t\t\t/* eslint no-unused-expressions: \"off\" */\n\n\t\t\tvar parent = elem.parentNode;\n\t\t\tif ( parent && parent.parentNode ) {\n\t\t\t\tparent.parentNode.selectedIndex;\n\t\t\t}\n\t\t\treturn null;\n\t\t},\n\t\tset: function( elem ) {\n\n\t\t\t/* eslint no-unused-expressions: \"off\" */\n\n\t\t\tvar parent = elem.parentNode;\n\t\t\tif ( parent ) {\n\t\t\t\tparent.selectedIndex;\n\n\t\t\t\tif ( parent.parentNode ) {\n\t\t\t\t\tparent.parentNode.selectedIndex;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n}\n\njQuery.each( [\n\t\"tabIndex\",\n\t\"readOnly\",\n\t\"maxLength\",\n\t\"cellSpacing\",\n\t\"cellPadding\",\n\t\"rowSpan\",\n\t\"colSpan\",\n\t\"useMap\",\n\t\"frameBorder\",\n\t\"contentEditable\"\n], function() {\n\tjQuery.propFix[ this.toLowerCase() ] = this;\n} );\n\n\n\n\n\t// Strip and collapse whitespace according to HTML spec\n\t// https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace\n\tfunction stripAndCollapse( value ) {\n\t\tvar tokens = value.match( rnothtmlwhite ) || [];\n\t\treturn tokens.join( \" \" );\n\t}\n\n\nfunction getClass( elem ) {\n\treturn elem.getAttribute && elem.getAttribute( \"class\" ) || \"\";\n}\n\nfunction classesToArray( value ) {\n\tif ( Array.isArray( value ) ) {\n\t\treturn value;\n\t}\n\tif ( typeof value === \"string\" ) {\n\t\treturn value.match( rnothtmlwhite ) || [];\n\t}\n\treturn [];\n}\n\njQuery.fn.extend( {\n\taddClass: function( value ) {\n\t\tvar classes, elem, cur, curValue, clazz, j, finalValue,\n\t\t\ti = 0;\n\n\t\tif ( isFunction( value ) ) {\n\t\t\treturn this.each( function( j ) {\n\t\t\t\tjQuery( this ).addClass( value.call( this, j, getClass( this ) ) );\n\t\t\t} );\n\t\t}\n\n\t\tclasses = classesToArray( value );\n\n\t\tif ( classes.length ) {\n\t\t\twhile ( ( elem = this[ i++ ] ) ) {\n\t\t\t\tcurValue = getClass( elem );\n\t\t\t\tcur = elem.nodeType === 1 && ( \" \" + stripAndCollapse( curValue ) + \" \" );\n\n\t\t\t\tif ( cur ) {\n\t\t\t\t\tj = 0;\n\t\t\t\t\twhile ( ( clazz = classes[ j++ ] ) ) {\n\t\t\t\t\t\tif ( cur.indexOf( \" \" + clazz + \" \" ) < 0 ) {\n\t\t\t\t\t\t\tcur += clazz + \" \";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Only assign if different to avoid unneeded rendering.\n\t\t\t\t\tfinalValue = stripAndCollapse( cur );\n\t\t\t\t\tif ( curValue !== finalValue ) {\n\t\t\t\t\t\telem.setAttribute( \"class\", finalValue );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\tremoveClass: function( value ) {\n\t\tvar classes, elem, cur, curValue, clazz, j, finalValue,\n\t\t\ti = 0;\n\n\t\tif ( isFunction( value ) ) {\n\t\t\treturn this.each( function( j ) {\n\t\t\t\tjQuery( this ).removeClass( value.call( this, j, getClass( this ) ) );\n\t\t\t} );\n\t\t}\n\n\t\tif ( !arguments.length ) {\n\t\t\treturn this.attr( \"class\", \"\" );\n\t\t}\n\n\t\tclasses = classesToArray( value );\n\n\t\tif ( classes.length ) {\n\t\t\twhile ( ( elem = this[ i++ ] ) ) {\n\t\t\t\tcurValue = getClass( elem );\n\n\t\t\t\t// This expression is here for better compressibility (see addClass)\n\t\t\t\tcur = elem.nodeType === 1 && ( \" \" + stripAndCollapse( curValue ) + \" \" );\n\n\t\t\t\tif ( cur ) {\n\t\t\t\t\tj = 0;\n\t\t\t\t\twhile ( ( clazz = classes[ j++ ] ) ) {\n\n\t\t\t\t\t\t// Remove *all* instances\n\t\t\t\t\t\twhile ( cur.indexOf( \" \" + clazz + \" \" ) > -1 ) {\n\t\t\t\t\t\t\tcur = cur.replace( \" \" + clazz + \" \", \" \" );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Only assign if different to avoid unneeded rendering.\n\t\t\t\t\tfinalValue = stripAndCollapse( cur );\n\t\t\t\t\tif ( curValue !== finalValue ) {\n\t\t\t\t\t\telem.setAttribute( \"class\", finalValue );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\ttoggleClass: function( value, stateVal ) {\n\t\tvar type = typeof value,\n\t\t\tisValidValue = type === \"string\" || Array.isArray( value );\n\n\t\tif ( typeof stateVal === \"boolean\" && isValidValue ) {\n\t\t\treturn stateVal ? this.addClass( value ) : this.removeClass( value );\n\t\t}\n\n\t\tif ( isFunction( value ) ) {\n\t\t\treturn this.each( function( i ) {\n\t\t\t\tjQuery( this ).toggleClass(\n\t\t\t\t\tvalue.call( this, i, getClass( this ), stateVal ),\n\t\t\t\t\tstateVal\n\t\t\t\t);\n\t\t\t} );\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tvar className, i, self, classNames;\n\n\t\t\tif ( isValidValue ) {\n\n\t\t\t\t// Toggle individual class names\n\t\t\t\ti = 0;\n\t\t\t\tself = jQuery( this );\n\t\t\t\tclassNames = classesToArray( value );\n\n\t\t\t\twhile ( ( className = classNames[ i++ ] ) ) {\n\n\t\t\t\t\t// Check each className given, space separated list\n\t\t\t\t\tif ( self.hasClass( className ) ) {\n\t\t\t\t\t\tself.removeClass( className );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tself.addClass( className );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t// Toggle whole class name\n\t\t\t} else if ( value === undefined || type === \"boolean\" ) {\n\t\t\t\tclassName = getClass( this );\n\t\t\t\tif ( className ) {\n\n\t\t\t\t\t// Store className if set\n\t\t\t\t\tdataPriv.set( this, \"__className__\", className );\n\t\t\t\t}\n\n\t\t\t\t// If the element has a class name or if we're passed `false`,\n\t\t\t\t// then remove the whole classname (if there was one, the above saved it).\n\t\t\t\t// Otherwise bring back whatever was previously saved (if anything),\n\t\t\t\t// falling back to the empty string if nothing was stored.\n\t\t\t\tif ( this.setAttribute ) {\n\t\t\t\t\tthis.setAttribute( \"class\",\n\t\t\t\t\t\tclassName || value === false ?\n\t\t\t\t\t\t\t\"\" :\n\t\t\t\t\t\t\tdataPriv.get( this, \"__className__\" ) || \"\"\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t},\n\n\thasClass: function( selector ) {\n\t\tvar className, elem,\n\t\t\ti = 0;\n\n\t\tclassName = \" \" + selector + \" \";\n\t\twhile ( ( elem = this[ i++ ] ) ) {\n\t\t\tif ( elem.nodeType === 1 &&\n\t\t\t\t( \" \" + stripAndCollapse( getClass( elem ) ) + \" \" ).indexOf( className ) > -1 ) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n} );\n\n\n\n\nvar rreturn = /\\r/g;\n\njQuery.fn.extend( {\n\tval: function( value ) {\n\t\tvar hooks, ret, valueIsFunction,\n\t\t\telem = this[ 0 ];\n\n\t\tif ( !arguments.length ) {\n\t\t\tif ( elem ) {\n\t\t\t\thooks = jQuery.valHooks[ elem.type ] ||\n\t\t\t\t\tjQuery.valHooks[ elem.nodeName.toLowerCase() ];\n\n\t\t\t\tif ( hooks &&\n\t\t\t\t\t\"get\" in hooks &&\n\t\t\t\t\t( ret = hooks.get( elem, \"value\" ) ) !== undefined\n\t\t\t\t) {\n\t\t\t\t\treturn ret;\n\t\t\t\t}\n\n\t\t\t\tret = elem.value;\n\n\t\t\t\t// Handle most common string cases\n\t\t\t\tif ( typeof ret === \"string\" ) {\n\t\t\t\t\treturn ret.replace( rreturn, \"\" );\n\t\t\t\t}\n\n\t\t\t\t// Handle cases where value is null/undef or number\n\t\t\t\treturn ret == null ? \"\" : ret;\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tvalueIsFunction = isFunction( value );\n\n\t\treturn this.each( function( i ) {\n\t\t\tvar val;\n\n\t\t\tif ( this.nodeType !== 1 ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( valueIsFunction ) {\n\t\t\t\tval = value.call( this, i, jQuery( this ).val() );\n\t\t\t} else {\n\t\t\t\tval = value;\n\t\t\t}\n\n\t\t\t// Treat null/undefined as \"\"; convert numbers to string\n\t\t\tif ( val == null ) {\n\t\t\t\tval = \"\";\n\n\t\t\t} else if ( typeof val === \"number\" ) {\n\t\t\t\tval += \"\";\n\n\t\t\t} else if ( Array.isArray( val ) ) {\n\t\t\t\tval = jQuery.map( val, function( value ) {\n\t\t\t\t\treturn value == null ? \"\" : value + \"\";\n\t\t\t\t} );\n\t\t\t}\n\n\t\t\thooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ];\n\n\t\t\t// If set returns undefined, fall back to normal setting\n\t\t\tif ( !hooks || !( \"set\" in hooks ) || hooks.set( this, val, \"value\" ) === undefined ) {\n\t\t\t\tthis.value = val;\n\t\t\t}\n\t\t} );\n\t}\n} );\n\njQuery.extend( {\n\tvalHooks: {\n\t\toption: {\n\t\t\tget: function( elem ) {\n\n\t\t\t\tvar val = jQuery.find.attr( elem, \"value\" );\n\t\t\t\treturn val != null ?\n\t\t\t\t\tval :\n\n\t\t\t\t\t// Support: IE <=10 - 11 only\n\t\t\t\t\t// option.text throws exceptions (#14686, #14858)\n\t\t\t\t\t// Strip and collapse whitespace\n\t\t\t\t\t// https://html.spec.whatwg.org/#strip-and-collapse-whitespace\n\t\t\t\t\tstripAndCollapse( jQuery.text( elem ) );\n\t\t\t}\n\t\t},\n\t\tselect: {\n\t\t\tget: function( elem ) {\n\t\t\t\tvar value, option, i,\n\t\t\t\t\toptions = elem.options,\n\t\t\t\t\tindex = elem.selectedIndex,\n\t\t\t\t\tone = elem.type === \"select-one\",\n\t\t\t\t\tvalues = one ? null : [],\n\t\t\t\t\tmax = one ? index + 1 : options.length;\n\n\t\t\t\tif ( index < 0 ) {\n\t\t\t\t\ti = max;\n\n\t\t\t\t} else {\n\t\t\t\t\ti = one ? index : 0;\n\t\t\t\t}\n\n\t\t\t\t// Loop through all the selected options\n\t\t\t\tfor ( ; i < max; i++ ) {\n\t\t\t\t\toption = options[ i ];\n\n\t\t\t\t\t// Support: IE <=9 only\n\t\t\t\t\t// IE8-9 doesn't update selected after form reset (#2551)\n\t\t\t\t\tif ( ( option.selected || i === index ) &&\n\n\t\t\t\t\t\t\t// Don't return options that are disabled or in a disabled optgroup\n\t\t\t\t\t\t\t!option.disabled &&\n\t\t\t\t\t\t\t( !option.parentNode.disabled ||\n\t\t\t\t\t\t\t\t!nodeName( option.parentNode, \"optgroup\" ) ) ) {\n\n\t\t\t\t\t\t// Get the specific value for the option\n\t\t\t\t\t\tvalue = jQuery( option ).val();\n\n\t\t\t\t\t\t// We don't need an array for one selects\n\t\t\t\t\t\tif ( one ) {\n\t\t\t\t\t\t\treturn value;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Multi-Selects return an array\n\t\t\t\t\t\tvalues.push( value );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn values;\n\t\t\t},\n\n\t\t\tset: function( elem, value ) {\n\t\t\t\tvar optionSet, option,\n\t\t\t\t\toptions = elem.options,\n\t\t\t\t\tvalues = jQuery.makeArray( value ),\n\t\t\t\t\ti = options.length;\n\n\t\t\t\twhile ( i-- ) {\n\t\t\t\t\toption = options[ i ];\n\n\t\t\t\t\t/* eslint-disable no-cond-assign */\n\n\t\t\t\t\tif ( option.selected =\n\t\t\t\t\t\tjQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1\n\t\t\t\t\t) {\n\t\t\t\t\t\toptionSet = true;\n\t\t\t\t\t}\n\n\t\t\t\t\t/* eslint-enable no-cond-assign */\n\t\t\t\t}\n\n\t\t\t\t// Force browsers to behave consistently when non-matching value is set\n\t\t\t\tif ( !optionSet ) {\n\t\t\t\t\telem.selectedIndex = -1;\n\t\t\t\t}\n\t\t\t\treturn values;\n\t\t\t}\n\t\t}\n\t}\n} );\n\n// Radios and checkboxes getter/setter\njQuery.each( [ \"radio\", \"checkbox\" ], function() {\n\tjQuery.valHooks[ this ] = {\n\t\tset: function( elem, value ) {\n\t\t\tif ( Array.isArray( value ) ) {\n\t\t\t\treturn ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 );\n\t\t\t}\n\t\t}\n\t};\n\tif ( !support.checkOn ) {\n\t\tjQuery.valHooks[ this ].get = function( elem ) {\n\t\t\treturn elem.getAttribute( \"value\" ) === null ? \"on\" : elem.value;\n\t\t};\n\t}\n} );\n\n\n\n\n// Return jQuery for attributes-only inclusion\n\n\nsupport.focusin = \"onfocusin\" in window;\n\n\nvar rfocusMorph = /^(?:focusinfocus|focusoutblur)$/,\n\tstopPropagationCallback = function( e ) {\n\t\te.stopPropagation();\n\t};\n\njQuery.extend( jQuery.event, {\n\n\ttrigger: function( event, data, elem, onlyHandlers ) {\n\n\t\tvar i, cur, tmp, bubbleType, ontype, handle, special, lastElement,\n\t\t\teventPath = [ elem || document ],\n\t\t\ttype = hasOwn.call( event, \"type\" ) ? event.type : event,\n\t\t\tnamespaces = hasOwn.call( event, \"namespace\" ) ? event.namespace.split( \".\" ) : [];\n\n\t\tcur = lastElement = tmp = elem = elem || document;\n\n\t\t// Don't do events on text and comment nodes\n\t\tif ( elem.nodeType === 3 || elem.nodeType === 8 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// focus/blur morphs to focusin/out; ensure we're not firing them right now\n\t\tif ( rfocusMorph.test( type + jQuery.event.triggered ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( type.indexOf( \".\" ) > -1 ) {\n\n\t\t\t// Namespaced trigger; create a regexp to match event type in handle()\n\t\t\tnamespaces = type.split( \".\" );\n\t\t\ttype = namespaces.shift();\n\t\t\tnamespaces.sort();\n\t\t}\n\t\tontype = type.indexOf( \":\" ) < 0 && \"on\" + type;\n\n\t\t// Caller can pass in a jQuery.Event object, Object, or just an event type string\n\t\tevent = event[ jQuery.expando ] ?\n\t\t\tevent :\n\t\t\tnew jQuery.Event( type, typeof event === \"object\" && event );\n\n\t\t// Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true)\n\t\tevent.isTrigger = onlyHandlers ? 2 : 3;\n\t\tevent.namespace = namespaces.join( \".\" );\n\t\tevent.rnamespace = event.namespace ?\n\t\t\tnew RegExp( \"(^|\\\\.)\" + namespaces.join( \"\\\\.(?:.*\\\\.|)\" ) + \"(\\\\.|$)\" ) :\n\t\t\tnull;\n\n\t\t// Clean up the event in case it is being reused\n\t\tevent.result = undefined;\n\t\tif ( !event.target ) {\n\t\t\tevent.target = elem;\n\t\t}\n\n\t\t// Clone any incoming data and prepend the event, creating the handler arg list\n\t\tdata = data == null ?\n\t\t\t[ event ] :\n\t\t\tjQuery.makeArray( data, [ event ] );\n\n\t\t// Allow special events to draw outside the lines\n\t\tspecial = jQuery.event.special[ type ] || {};\n\t\tif ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Determine event propagation path in advance, per W3C events spec (#9951)\n\t\t// Bubble up to document, then to window; watch for a global ownerDocument var (#9724)\n\t\tif ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) {\n\n\t\t\tbubbleType = special.delegateType || type;\n\t\t\tif ( !rfocusMorph.test( bubbleType + type ) ) {\n\t\t\t\tcur = cur.parentNode;\n\t\t\t}\n\t\t\tfor ( ; cur; cur = cur.parentNode ) {\n\t\t\t\teventPath.push( cur );\n\t\t\t\ttmp = cur;\n\t\t\t}\n\n\t\t\t// Only add window if we got to document (e.g., not plain obj or detached DOM)\n\t\t\tif ( tmp === ( elem.ownerDocument || document ) ) {\n\t\t\t\teventPath.push( tmp.defaultView || tmp.parentWindow || window );\n\t\t\t}\n\t\t}\n\n\t\t// Fire handlers on the event path\n\t\ti = 0;\n\t\twhile ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) {\n\t\t\tlastElement = cur;\n\t\t\tevent.type = i > 1 ?\n\t\t\t\tbubbleType :\n\t\t\t\tspecial.bindType || type;\n\n\t\t\t// jQuery handler\n\t\t\thandle = ( dataPriv.get( cur, \"events\" ) || Object.create( null ) )[ event.type ] &&\n\t\t\t\tdataPriv.get( cur, \"handle\" );\n\t\t\tif ( handle ) {\n\t\t\t\thandle.apply( cur, data );\n\t\t\t}\n\n\t\t\t// Native handler\n\t\t\thandle = ontype && cur[ ontype ];\n\t\t\tif ( handle && handle.apply && acceptData( cur ) ) {\n\t\t\t\tevent.result = handle.apply( cur, data );\n\t\t\t\tif ( event.result === false ) {\n\t\t\t\t\tevent.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tevent.type = type;\n\n\t\t// If nobody prevented the default action, do it now\n\t\tif ( !onlyHandlers && !event.isDefaultPrevented() ) {\n\n\t\t\tif ( ( !special._default ||\n\t\t\t\tspecial._default.apply( eventPath.pop(), data ) === false ) &&\n\t\t\t\tacceptData( elem ) ) {\n\n\t\t\t\t// Call a native DOM method on the target with the same name as the event.\n\t\t\t\t// Don't do default actions on window, that's where global variables be (#6170)\n\t\t\t\tif ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) {\n\n\t\t\t\t\t// Don't re-trigger an onFOO event when we call its FOO() method\n\t\t\t\t\ttmp = elem[ ontype ];\n\n\t\t\t\t\tif ( tmp ) {\n\t\t\t\t\t\telem[ ontype ] = null;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Prevent re-triggering of the same event, since we already bubbled it above\n\t\t\t\t\tjQuery.event.triggered = type;\n\n\t\t\t\t\tif ( event.isPropagationStopped() ) {\n\t\t\t\t\t\tlastElement.addEventListener( type, stopPropagationCallback );\n\t\t\t\t\t}\n\n\t\t\t\t\telem[ type ]();\n\n\t\t\t\t\tif ( event.isPropagationStopped() ) {\n\t\t\t\t\t\tlastElement.removeEventListener( type, stopPropagationCallback );\n\t\t\t\t\t}\n\n\t\t\t\t\tjQuery.event.triggered = undefined;\n\n\t\t\t\t\tif ( tmp ) {\n\t\t\t\t\t\telem[ ontype ] = tmp;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn event.result;\n\t},\n\n\t// Piggyback on a donor event to simulate a different one\n\t// Used only for `focus(in | out)` events\n\tsimulate: function( type, elem, event ) {\n\t\tvar e = jQuery.extend(\n\t\t\tnew jQuery.Event(),\n\t\t\tevent,\n\t\t\t{\n\t\t\t\ttype: type,\n\t\t\t\tisSimulated: true\n\t\t\t}\n\t\t);\n\n\t\tjQuery.event.trigger( e, null, elem );\n\t}\n\n} );\n\njQuery.fn.extend( {\n\n\ttrigger: function( type, data ) {\n\t\treturn this.each( function() {\n\t\t\tjQuery.event.trigger( type, data, this );\n\t\t} );\n\t},\n\ttriggerHandler: function( type, data ) {\n\t\tvar elem = this[ 0 ];\n\t\tif ( elem ) {\n\t\t\treturn jQuery.event.trigger( type, data, elem, true );\n\t\t}\n\t}\n} );\n\n\n// Support: Firefox <=44\n// Firefox doesn't have focus(in | out) events\n// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787\n//\n// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1\n// focus(in | out) events fire after focus & blur events,\n// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order\n// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857\nif ( !support.focusin ) {\n\tjQuery.each( { focus: \"focusin\", blur: \"focusout\" }, function( orig, fix ) {\n\n\t\t// Attach a single capturing handler on the document while someone wants focusin/focusout\n\t\tvar handler = function( event ) {\n\t\t\tjQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) );\n\t\t};\n\n\t\tjQuery.event.special[ fix ] = {\n\t\t\tsetup: function() {\n\n\t\t\t\t// Handle: regular nodes (via `this.ownerDocument`), window\n\t\t\t\t// (via `this.document`) & document (via `this`).\n\t\t\t\tvar doc = this.ownerDocument || this.document || this,\n\t\t\t\t\tattaches = dataPriv.access( doc, fix );\n\n\t\t\t\tif ( !attaches ) {\n\t\t\t\t\tdoc.addEventListener( orig, handler, true );\n\t\t\t\t}\n\t\t\t\tdataPriv.access( doc, fix, ( attaches || 0 ) + 1 );\n\t\t\t},\n\t\t\tteardown: function() {\n\t\t\t\tvar doc = this.ownerDocument || this.document || this,\n\t\t\t\t\tattaches = dataPriv.access( doc, fix ) - 1;\n\n\t\t\t\tif ( !attaches ) {\n\t\t\t\t\tdoc.removeEventListener( orig, handler, true );\n\t\t\t\t\tdataPriv.remove( doc, fix );\n\n\t\t\t\t} else {\n\t\t\t\t\tdataPriv.access( doc, fix, attaches );\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t} );\n}\nvar location = window.location;\n\nvar nonce = { guid: Date.now() };\n\nvar rquery = ( /\\?/ );\n\n\n\n// Cross-browser xml parsing\njQuery.parseXML = function( data ) {\n\tvar xml, parserErrorElem;\n\tif ( !data || typeof data !== \"string\" ) {\n\t\treturn null;\n\t}\n\n\t// Support: IE 9 - 11 only\n\t// IE throws on parseFromString with invalid input.\n\ttry {\n\t\txml = ( new window.DOMParser() ).parseFromString( data, \"text/xml\" );\n\t} catch ( e ) {}\n\n\tparserErrorElem = xml && xml.getElementsByTagName( \"parsererror\" )[ 0 ];\n\tif ( !xml || parserErrorElem ) {\n\t\tjQuery.error( \"Invalid XML: \" + (\n\t\t\tparserErrorElem ?\n\t\t\t\tjQuery.map( parserErrorElem.childNodes, function( el ) {\n\t\t\t\t\treturn el.textContent;\n\t\t\t\t} ).join( \"\\n\" ) :\n\t\t\t\tdata\n\t\t) );\n\t}\n\treturn xml;\n};\n\n\nvar\n\trbracket = /\\[\\]$/,\n\trCRLF = /\\r?\\n/g,\n\trsubmitterTypes = /^(?:submit|button|image|reset|file)$/i,\n\trsubmittable = /^(?:input|select|textarea|keygen)/i;\n\nfunction buildParams( prefix, obj, traditional, add ) {\n\tvar name;\n\n\tif ( Array.isArray( obj ) ) {\n\n\t\t// Serialize array item.\n\t\tjQuery.each( obj, function( i, v ) {\n\t\t\tif ( traditional || rbracket.test( prefix ) ) {\n\n\t\t\t\t// Treat each array item as a scalar.\n\t\t\t\tadd( prefix, v );\n\n\t\t\t} else {\n\n\t\t\t\t// Item is non-scalar (array or object), encode its numeric index.\n\t\t\t\tbuildParams(\n\t\t\t\t\tprefix + \"[\" + ( typeof v === \"object\" && v != null ? i : \"\" ) + \"]\",\n\t\t\t\t\tv,\n\t\t\t\t\ttraditional,\n\t\t\t\t\tadd\n\t\t\t\t);\n\t\t\t}\n\t\t} );\n\n\t} else if ( !traditional && toType( obj ) === \"object\" ) {\n\n\t\t// Serialize object item.\n\t\tfor ( name in obj ) {\n\t\t\tbuildParams( prefix + \"[\" + name + \"]\", obj[ name ], traditional, add );\n\t\t}\n\n\t} else {\n\n\t\t// Serialize scalar item.\n\t\tadd( prefix, obj );\n\t}\n}\n\n// Serialize an array of form elements or a set of\n// key/values into a query string\njQuery.param = function( a, traditional ) {\n\tvar prefix,\n\t\ts = [],\n\t\tadd = function( key, valueOrFunction ) {\n\n\t\t\t// If value is a function, invoke it and use its return value\n\t\t\tvar value = isFunction( valueOrFunction ) ?\n\t\t\t\tvalueOrFunction() :\n\t\t\t\tvalueOrFunction;\n\n\t\t\ts[ s.length ] = encodeURIComponent( key ) + \"=\" +\n\t\t\t\tencodeURIComponent( value == null ? \"\" : value );\n\t\t};\n\n\tif ( a == null ) {\n\t\treturn \"\";\n\t}\n\n\t// If an array was passed in, assume that it is an array of form elements.\n\tif ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) {\n\n\t\t// Serialize the form elements\n\t\tjQuery.each( a, function() {\n\t\t\tadd( this.name, this.value );\n\t\t} );\n\n\t} else {\n\n\t\t// If traditional, encode the \"old\" way (the way 1.3.2 or older\n\t\t// did it), otherwise encode params recursively.\n\t\tfor ( prefix in a ) {\n\t\t\tbuildParams( prefix, a[ prefix ], traditional, add );\n\t\t}\n\t}\n\n\t// Return the resulting serialization\n\treturn s.join( \"&\" );\n};\n\njQuery.fn.extend( {\n\tserialize: function() {\n\t\treturn jQuery.param( this.serializeArray() );\n\t},\n\tserializeArray: function() {\n\t\treturn this.map( function() {\n\n\t\t\t// Can add propHook for \"elements\" to filter or add form elements\n\t\t\tvar elements = jQuery.prop( this, \"elements\" );\n\t\t\treturn elements ? jQuery.makeArray( elements ) : this;\n\t\t} ).filter( function() {\n\t\t\tvar type = this.type;\n\n\t\t\t// Use .is( \":disabled\" ) so that fieldset[disabled] works\n\t\t\treturn this.name && !jQuery( this ).is( \":disabled\" ) &&\n\t\t\t\trsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) &&\n\t\t\t\t( this.checked || !rcheckableType.test( type ) );\n\t\t} ).map( function( _i, elem ) {\n\t\t\tvar val = jQuery( this ).val();\n\n\t\t\tif ( val == null ) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\tif ( Array.isArray( val ) ) {\n\t\t\t\treturn jQuery.map( val, function( val ) {\n\t\t\t\t\treturn { name: elem.name, value: val.replace( rCRLF, \"\\r\\n\" ) };\n\t\t\t\t} );\n\t\t\t}\n\n\t\t\treturn { name: elem.name, value: val.replace( rCRLF, \"\\r\\n\" ) };\n\t\t} ).get();\n\t}\n} );\n\n\nvar\n\tr20 = /%20/g,\n\trhash = /#.*$/,\n\trantiCache = /([?&])_=[^&]*/,\n\trheaders = /^(.*?):[ \\t]*([^\\r\\n]*)$/mg,\n\n\t// #7653, #8125, #8152: local protocol detection\n\trlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,\n\trnoContent = /^(?:GET|HEAD)$/,\n\trprotocol = /^\\/\\//,\n\n\t/* Prefilters\n\t * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)\n\t * 2) These are called:\n\t *    - BEFORE asking for a transport\n\t *    - AFTER param serialization (s.data is a string if s.processData is true)\n\t * 3) key is the dataType\n\t * 4) the catchall symbol \"*\" can be used\n\t * 5) execution will start with transport dataType and THEN continue down to \"*\" if needed\n\t */\n\tprefilters = {},\n\n\t/* Transports bindings\n\t * 1) key is the dataType\n\t * 2) the catchall symbol \"*\" can be used\n\t * 3) selection will start with transport dataType and THEN go to \"*\" if needed\n\t */\n\ttransports = {},\n\n\t// Avoid comment-prolog char sequence (#10098); must appease lint and evade compression\n\tallTypes = \"*/\".concat( \"*\" ),\n\n\t// Anchor tag for parsing the document origin\n\toriginAnchor = document.createElement( \"a\" );\n\noriginAnchor.href = location.href;\n\n// Base \"constructor\" for jQuery.ajaxPrefilter and jQuery.ajaxTransport\nfunction addToPrefiltersOrTransports( structure ) {\n\n\t// dataTypeExpression is optional and defaults to \"*\"\n\treturn function( dataTypeExpression, func ) {\n\n\t\tif ( typeof dataTypeExpression !== \"string\" ) {\n\t\t\tfunc = dataTypeExpression;\n\t\t\tdataTypeExpression = \"*\";\n\t\t}\n\n\t\tvar dataType,\n\t\t\ti = 0,\n\t\t\tdataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || [];\n\n\t\tif ( isFunction( func ) ) {\n\n\t\t\t// For each dataType in the dataTypeExpression\n\t\t\twhile ( ( dataType = dataTypes[ i++ ] ) ) {\n\n\t\t\t\t// Prepend if requested\n\t\t\t\tif ( dataType[ 0 ] === \"+\" ) {\n\t\t\t\t\tdataType = dataType.slice( 1 ) || \"*\";\n\t\t\t\t\t( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func );\n\n\t\t\t\t// Otherwise append\n\t\t\t\t} else {\n\t\t\t\t\t( structure[ dataType ] = structure[ dataType ] || [] ).push( func );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n}\n\n// Base inspection function for prefilters and transports\nfunction inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) {\n\n\tvar inspected = {},\n\t\tseekingTransport = ( structure === transports );\n\n\tfunction inspect( dataType ) {\n\t\tvar selected;\n\t\tinspected[ dataType ] = true;\n\t\tjQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) {\n\t\t\tvar dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR );\n\t\t\tif ( typeof dataTypeOrTransport === \"string\" &&\n\t\t\t\t!seekingTransport && !inspected[ dataTypeOrTransport ] ) {\n\n\t\t\t\toptions.dataTypes.unshift( dataTypeOrTransport );\n\t\t\t\tinspect( dataTypeOrTransport );\n\t\t\t\treturn false;\n\t\t\t} else if ( seekingTransport ) {\n\t\t\t\treturn !( selected = dataTypeOrTransport );\n\t\t\t}\n\t\t} );\n\t\treturn selected;\n\t}\n\n\treturn inspect( options.dataTypes[ 0 ] ) || !inspected[ \"*\" ] && inspect( \"*\" );\n}\n\n// A special extend for ajax options\n// that takes \"flat\" options (not to be deep extended)\n// Fixes #9887\nfunction ajaxExtend( target, src ) {\n\tvar key, deep,\n\t\tflatOptions = jQuery.ajaxSettings.flatOptions || {};\n\n\tfor ( key in src ) {\n\t\tif ( src[ key ] !== undefined ) {\n\t\t\t( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ];\n\t\t}\n\t}\n\tif ( deep ) {\n\t\tjQuery.extend( true, target, deep );\n\t}\n\n\treturn target;\n}\n\n/* Handles responses to an ajax request:\n * - finds the right dataType (mediates between content-type and expected dataType)\n * - returns the corresponding response\n */\nfunction ajaxHandleResponses( s, jqXHR, responses ) {\n\n\tvar ct, type, finalDataType, firstDataType,\n\t\tcontents = s.contents,\n\t\tdataTypes = s.dataTypes;\n\n\t// Remove auto dataType and get content-type in the process\n\twhile ( dataTypes[ 0 ] === \"*\" ) {\n\t\tdataTypes.shift();\n\t\tif ( ct === undefined ) {\n\t\t\tct = s.mimeType || jqXHR.getResponseHeader( \"Content-Type\" );\n\t\t}\n\t}\n\n\t// Check if we're dealing with a known content-type\n\tif ( ct ) {\n\t\tfor ( type in contents ) {\n\t\t\tif ( contents[ type ] && contents[ type ].test( ct ) ) {\n\t\t\t\tdataTypes.unshift( type );\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n\t// Check to see if we have a response for the expected dataType\n\tif ( dataTypes[ 0 ] in responses ) {\n\t\tfinalDataType = dataTypes[ 0 ];\n\t} else {\n\n\t\t// Try convertible dataTypes\n\t\tfor ( type in responses ) {\n\t\t\tif ( !dataTypes[ 0 ] || s.converters[ type + \" \" + dataTypes[ 0 ] ] ) {\n\t\t\t\tfinalDataType = type;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif ( !firstDataType ) {\n\t\t\t\tfirstDataType = type;\n\t\t\t}\n\t\t}\n\n\t\t// Or just use first one\n\t\tfinalDataType = finalDataType || firstDataType;\n\t}\n\n\t// If we found a dataType\n\t// We add the dataType to the list if needed\n\t// and return the corresponding response\n\tif ( finalDataType ) {\n\t\tif ( finalDataType !== dataTypes[ 0 ] ) {\n\t\t\tdataTypes.unshift( finalDataType );\n\t\t}\n\t\treturn responses[ finalDataType ];\n\t}\n}\n\n/* Chain conversions given the request and the original response\n * Also sets the responseXXX fields on the jqXHR instance\n */\nfunction ajaxConvert( s, response, jqXHR, isSuccess ) {\n\tvar conv2, current, conv, tmp, prev,\n\t\tconverters = {},\n\n\t\t// Work with a copy of dataTypes in case we need to modify it for conversion\n\t\tdataTypes = s.dataTypes.slice();\n\n\t// Create converters map with lowercased keys\n\tif ( dataTypes[ 1 ] ) {\n\t\tfor ( conv in s.converters ) {\n\t\t\tconverters[ conv.toLowerCase() ] = s.converters[ conv ];\n\t\t}\n\t}\n\n\tcurrent = dataTypes.shift();\n\n\t// Convert to each sequential dataType\n\twhile ( current ) {\n\n\t\tif ( s.responseFields[ current ] ) {\n\t\t\tjqXHR[ s.responseFields[ current ] ] = response;\n\t\t}\n\n\t\t// Apply the dataFilter if provided\n\t\tif ( !prev && isSuccess && s.dataFilter ) {\n\t\t\tresponse = s.dataFilter( response, s.dataType );\n\t\t}\n\n\t\tprev = current;\n\t\tcurrent = dataTypes.shift();\n\n\t\tif ( current ) {\n\n\t\t\t// There's only work to do if current dataType is non-auto\n\t\t\tif ( current === \"*\" ) {\n\n\t\t\t\tcurrent = prev;\n\n\t\t\t// Convert response if prev dataType is non-auto and differs from current\n\t\t\t} else if ( prev !== \"*\" && prev !== current ) {\n\n\t\t\t\t// Seek a direct converter\n\t\t\t\tconv = converters[ prev + \" \" + current ] || converters[ \"* \" + current ];\n\n\t\t\t\t// If none found, seek a pair\n\t\t\t\tif ( !conv ) {\n\t\t\t\t\tfor ( conv2 in converters ) {\n\n\t\t\t\t\t\t// If conv2 outputs current\n\t\t\t\t\t\ttmp = conv2.split( \" \" );\n\t\t\t\t\t\tif ( tmp[ 1 ] === current ) {\n\n\t\t\t\t\t\t\t// If prev can be converted to accepted input\n\t\t\t\t\t\t\tconv = converters[ prev + \" \" + tmp[ 0 ] ] ||\n\t\t\t\t\t\t\t\tconverters[ \"* \" + tmp[ 0 ] ];\n\t\t\t\t\t\t\tif ( conv ) {\n\n\t\t\t\t\t\t\t\t// Condense equivalence converters\n\t\t\t\t\t\t\t\tif ( conv === true ) {\n\t\t\t\t\t\t\t\t\tconv = converters[ conv2 ];\n\n\t\t\t\t\t\t\t\t// Otherwise, insert the intermediate dataType\n\t\t\t\t\t\t\t\t} else if ( converters[ conv2 ] !== true ) {\n\t\t\t\t\t\t\t\t\tcurrent = tmp[ 0 ];\n\t\t\t\t\t\t\t\t\tdataTypes.unshift( tmp[ 1 ] );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Apply converter (if not an equivalence)\n\t\t\t\tif ( conv !== true ) {\n\n\t\t\t\t\t// Unless errors are allowed to bubble, catch and return them\n\t\t\t\t\tif ( conv && s.throws ) {\n\t\t\t\t\t\tresponse = conv( response );\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tresponse = conv( response );\n\t\t\t\t\t\t} catch ( e ) {\n\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\tstate: \"parsererror\",\n\t\t\t\t\t\t\t\terror: conv ? e : \"No conversion from \" + prev + \" to \" + current\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn { state: \"success\", data: response };\n}\n\njQuery.extend( {\n\n\t// Counter for holding the number of active queries\n\tactive: 0,\n\n\t// Last-Modified header cache for next request\n\tlastModified: {},\n\tetag: {},\n\n\tajaxSettings: {\n\t\turl: location.href,\n\t\ttype: \"GET\",\n\t\tisLocal: rlocalProtocol.test( location.protocol ),\n\t\tglobal: true,\n\t\tprocessData: true,\n\t\tasync: true,\n\t\tcontentType: \"application/x-www-form-urlencoded; charset=UTF-8\",\n\n\t\t/*\n\t\ttimeout: 0,\n\t\tdata: null,\n\t\tdataType: null,\n\t\tusername: null,\n\t\tpassword: null,\n\t\tcache: null,\n\t\tthrows: false,\n\t\ttraditional: false,\n\t\theaders: {},\n\t\t*/\n\n\t\taccepts: {\n\t\t\t\"*\": allTypes,\n\t\t\ttext: \"text/plain\",\n\t\t\thtml: \"text/html\",\n\t\t\txml: \"application/xml, text/xml\",\n\t\t\tjson: \"application/json, text/javascript\"\n\t\t},\n\n\t\tcontents: {\n\t\t\txml: /\\bxml\\b/,\n\t\t\thtml: /\\bhtml/,\n\t\t\tjson: /\\bjson\\b/\n\t\t},\n\n\t\tresponseFields: {\n\t\t\txml: \"responseXML\",\n\t\t\ttext: \"responseText\",\n\t\t\tjson: \"responseJSON\"\n\t\t},\n\n\t\t// Data converters\n\t\t// Keys separate source (or catchall \"*\") and destination types with a single space\n\t\tconverters: {\n\n\t\t\t// Convert anything to text\n\t\t\t\"* text\": String,\n\n\t\t\t// Text to html (true = no transformation)\n\t\t\t\"text html\": true,\n\n\t\t\t// Evaluate text as a json expression\n\t\t\t\"text json\": JSON.parse,\n\n\t\t\t// Parse text as xml\n\t\t\t\"text xml\": jQuery.parseXML\n\t\t},\n\n\t\t// For options that shouldn't be deep extended:\n\t\t// you can add your own custom options here if\n\t\t// and when you create one that shouldn't be\n\t\t// deep extended (see ajaxExtend)\n\t\tflatOptions: {\n\t\t\turl: true,\n\t\t\tcontext: true\n\t\t}\n\t},\n\n\t// Creates a full fledged settings object into target\n\t// with both ajaxSettings and settings fields.\n\t// If target is omitted, writes into ajaxSettings.\n\tajaxSetup: function( target, settings ) {\n\t\treturn settings ?\n\n\t\t\t// Building a settings object\n\t\t\tajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) :\n\n\t\t\t// Extending ajaxSettings\n\t\t\tajaxExtend( jQuery.ajaxSettings, target );\n\t},\n\n\tajaxPrefilter: addToPrefiltersOrTransports( prefilters ),\n\tajaxTransport: addToPrefiltersOrTransports( transports ),\n\n\t// Main method\n\tajax: function( url, options ) {\n\n\t\t// If url is an object, simulate pre-1.5 signature\n\t\tif ( typeof url === \"object\" ) {\n\t\t\toptions = url;\n\t\t\turl = undefined;\n\t\t}\n\n\t\t// Force options to be an object\n\t\toptions = options || {};\n\n\t\tvar transport,\n\n\t\t\t// URL without anti-cache param\n\t\t\tcacheURL,\n\n\t\t\t// Response headers\n\t\t\tresponseHeadersString,\n\t\t\tresponseHeaders,\n\n\t\t\t// timeout handle\n\t\t\ttimeoutTimer,\n\n\t\t\t// Url cleanup var\n\t\t\turlAnchor,\n\n\t\t\t// Request state (becomes false upon send and true upon completion)\n\t\t\tcompleted,\n\n\t\t\t// To know if global events are to be dispatched\n\t\t\tfireGlobals,\n\n\t\t\t// Loop variable\n\t\t\ti,\n\n\t\t\t// uncached part of the url\n\t\t\tuncached,\n\n\t\t\t// Create the final options object\n\t\t\ts = jQuery.ajaxSetup( {}, options ),\n\n\t\t\t// Callbacks context\n\t\t\tcallbackContext = s.context || s,\n\n\t\t\t// Context for global events is callbackContext if it is a DOM node or jQuery collection\n\t\t\tglobalEventContext = s.context &&\n\t\t\t\t( callbackContext.nodeType || callbackContext.jquery ) ?\n\t\t\t\tjQuery( callbackContext ) :\n\t\t\t\tjQuery.event,\n\n\t\t\t// Deferreds\n\t\t\tdeferred = jQuery.Deferred(),\n\t\t\tcompleteDeferred = jQuery.Callbacks( \"once memory\" ),\n\n\t\t\t// Status-dependent callbacks\n\t\t\tstatusCode = s.statusCode || {},\n\n\t\t\t// Headers (they are sent all at once)\n\t\t\trequestHeaders = {},\n\t\t\trequestHeadersNames = {},\n\n\t\t\t// Default abort message\n\t\t\tstrAbort = \"canceled\",\n\n\t\t\t// Fake xhr\n\t\t\tjqXHR = {\n\t\t\t\treadyState: 0,\n\n\t\t\t\t// Builds headers hashtable if needed\n\t\t\t\tgetResponseHeader: function( key ) {\n\t\t\t\t\tvar match;\n\t\t\t\t\tif ( completed ) {\n\t\t\t\t\t\tif ( !responseHeaders ) {\n\t\t\t\t\t\t\tresponseHeaders = {};\n\t\t\t\t\t\t\twhile ( ( match = rheaders.exec( responseHeadersString ) ) ) {\n\t\t\t\t\t\t\t\tresponseHeaders[ match[ 1 ].toLowerCase() + \" \" ] =\n\t\t\t\t\t\t\t\t\t( responseHeaders[ match[ 1 ].toLowerCase() + \" \" ] || [] )\n\t\t\t\t\t\t\t\t\t\t.concat( match[ 2 ] );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tmatch = responseHeaders[ key.toLowerCase() + \" \" ];\n\t\t\t\t\t}\n\t\t\t\t\treturn match == null ? null : match.join( \", \" );\n\t\t\t\t},\n\n\t\t\t\t// Raw string\n\t\t\t\tgetAllResponseHeaders: function() {\n\t\t\t\t\treturn completed ? responseHeadersString : null;\n\t\t\t\t},\n\n\t\t\t\t// Caches the header\n\t\t\t\tsetRequestHeader: function( name, value ) {\n\t\t\t\t\tif ( completed == null ) {\n\t\t\t\t\t\tname = requestHeadersNames[ name.toLowerCase() ] =\n\t\t\t\t\t\t\trequestHeadersNames[ name.toLowerCase() ] || name;\n\t\t\t\t\t\trequestHeaders[ name ] = value;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Overrides response content-type header\n\t\t\t\toverrideMimeType: function( type ) {\n\t\t\t\t\tif ( completed == null ) {\n\t\t\t\t\t\ts.mimeType = type;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Status-dependent callbacks\n\t\t\t\tstatusCode: function( map ) {\n\t\t\t\t\tvar code;\n\t\t\t\t\tif ( map ) {\n\t\t\t\t\t\tif ( completed ) {\n\n\t\t\t\t\t\t\t// Execute the appropriate callbacks\n\t\t\t\t\t\t\tjqXHR.always( map[ jqXHR.status ] );\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t// Lazy-add the new callbacks in a way that preserves old ones\n\t\t\t\t\t\t\tfor ( code in map ) {\n\t\t\t\t\t\t\t\tstatusCode[ code ] = [ statusCode[ code ], map[ code ] ];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Cancel the request\n\t\t\t\tabort: function( statusText ) {\n\t\t\t\t\tvar finalText = statusText || strAbort;\n\t\t\t\t\tif ( transport ) {\n\t\t\t\t\t\ttransport.abort( finalText );\n\t\t\t\t\t}\n\t\t\t\t\tdone( 0, finalText );\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\t\t\t};\n\n\t\t// Attach deferreds\n\t\tdeferred.promise( jqXHR );\n\n\t\t// Add protocol if not provided (prefilters might expect it)\n\t\t// Handle falsy url in the settings object (#10093: consistency with old signature)\n\t\t// We also use the url parameter if available\n\t\ts.url = ( ( url || s.url || location.href ) + \"\" )\n\t\t\t.replace( rprotocol, location.protocol + \"//\" );\n\n\t\t// Alias method option to type as per ticket #12004\n\t\ts.type = options.method || options.type || s.method || s.type;\n\n\t\t// Extract dataTypes list\n\t\ts.dataTypes = ( s.dataType || \"*\" ).toLowerCase().match( rnothtmlwhite ) || [ \"\" ];\n\n\t\t// A cross-domain request is in order when the origin doesn't match the current origin.\n\t\tif ( s.crossDomain == null ) {\n\t\t\turlAnchor = document.createElement( \"a\" );\n\n\t\t\t// Support: IE <=8 - 11, Edge 12 - 15\n\t\t\t// IE throws exception on accessing the href property if url is malformed,\n\t\t\t// e.g. http://example.com:80x/\n\t\t\ttry {\n\t\t\t\turlAnchor.href = s.url;\n\n\t\t\t\t// Support: IE <=8 - 11 only\n\t\t\t\t// Anchor's host property isn't correctly set when s.url is relative\n\t\t\t\turlAnchor.href = urlAnchor.href;\n\t\t\t\ts.crossDomain = originAnchor.protocol + \"//\" + originAnchor.host !==\n\t\t\t\t\turlAnchor.protocol + \"//\" + urlAnchor.host;\n\t\t\t} catch ( e ) {\n\n\t\t\t\t// If there is an error parsing the URL, assume it is crossDomain,\n\t\t\t\t// it can be rejected by the transport if it is invalid\n\t\t\t\ts.crossDomain = true;\n\t\t\t}\n\t\t}\n\n\t\t// Convert data if not already a string\n\t\tif ( s.data && s.processData && typeof s.data !== \"string\" ) {\n\t\t\ts.data = jQuery.param( s.data, s.traditional );\n\t\t}\n\n\t\t// Apply prefilters\n\t\tinspectPrefiltersOrTransports( prefilters, s, options, jqXHR );\n\n\t\t// If request was aborted inside a prefilter, stop there\n\t\tif ( completed ) {\n\t\t\treturn jqXHR;\n\t\t}\n\n\t\t// We can fire global events as of now if asked to\n\t\t// Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118)\n\t\tfireGlobals = jQuery.event && s.global;\n\n\t\t// Watch for a new set of requests\n\t\tif ( fireGlobals && jQuery.active++ === 0 ) {\n\t\t\tjQuery.event.trigger( \"ajaxStart\" );\n\t\t}\n\n\t\t// Uppercase the type\n\t\ts.type = s.type.toUpperCase();\n\n\t\t// Determine if request has content\n\t\ts.hasContent = !rnoContent.test( s.type );\n\n\t\t// Save the URL in case we're toying with the If-Modified-Since\n\t\t// and/or If-None-Match header later on\n\t\t// Remove hash to simplify url manipulation\n\t\tcacheURL = s.url.replace( rhash, \"\" );\n\n\t\t// More options handling for requests with no content\n\t\tif ( !s.hasContent ) {\n\n\t\t\t// Remember the hash so we can put it back\n\t\t\tuncached = s.url.slice( cacheURL.length );\n\n\t\t\t// If data is available and should be processed, append data to url\n\t\t\tif ( s.data && ( s.processData || typeof s.data === \"string\" ) ) {\n\t\t\t\tcacheURL += ( rquery.test( cacheURL ) ? \"&\" : \"?\" ) + s.data;\n\n\t\t\t\t// #9682: remove data so that it's not used in an eventual retry\n\t\t\t\tdelete s.data;\n\t\t\t}\n\n\t\t\t// Add or update anti-cache param if needed\n\t\t\tif ( s.cache === false ) {\n\t\t\t\tcacheURL = cacheURL.replace( rantiCache, \"$1\" );\n\t\t\t\tuncached = ( rquery.test( cacheURL ) ? \"&\" : \"?\" ) + \"_=\" + ( nonce.guid++ ) +\n\t\t\t\t\tuncached;\n\t\t\t}\n\n\t\t\t// Put hash and anti-cache on the URL that will be requested (gh-1732)\n\t\t\ts.url = cacheURL + uncached;\n\n\t\t// Change '%20' to '+' if this is encoded form body content (gh-2658)\n\t\t} else if ( s.data && s.processData &&\n\t\t\t( s.contentType || \"\" ).indexOf( \"application/x-www-form-urlencoded\" ) === 0 ) {\n\t\t\ts.data = s.data.replace( r20, \"+\" );\n\t\t}\n\n\t\t// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.\n\t\tif ( s.ifModified ) {\n\t\t\tif ( jQuery.lastModified[ cacheURL ] ) {\n\t\t\t\tjqXHR.setRequestHeader( \"If-Modified-Since\", jQuery.lastModified[ cacheURL ] );\n\t\t\t}\n\t\t\tif ( jQuery.etag[ cacheURL ] ) {\n\t\t\t\tjqXHR.setRequestHeader( \"If-None-Match\", jQuery.etag[ cacheURL ] );\n\t\t\t}\n\t\t}\n\n\t\t// Set the correct header, if data is being sent\n\t\tif ( s.data && s.hasContent && s.contentType !== false || options.contentType ) {\n\t\t\tjqXHR.setRequestHeader( \"Content-Type\", s.contentType );\n\t\t}\n\n\t\t// Set the Accepts header for the server, depending on the dataType\n\t\tjqXHR.setRequestHeader(\n\t\t\t\"Accept\",\n\t\t\ts.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ?\n\t\t\t\ts.accepts[ s.dataTypes[ 0 ] ] +\n\t\t\t\t\t( s.dataTypes[ 0 ] !== \"*\" ? \", \" + allTypes + \"; q=0.01\" : \"\" ) :\n\t\t\t\ts.accepts[ \"*\" ]\n\t\t);\n\n\t\t// Check for headers option\n\t\tfor ( i in s.headers ) {\n\t\t\tjqXHR.setRequestHeader( i, s.headers[ i ] );\n\t\t}\n\n\t\t// Allow custom headers/mimetypes and early abort\n\t\tif ( s.beforeSend &&\n\t\t\t( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) {\n\n\t\t\t// Abort if not done already and return\n\t\t\treturn jqXHR.abort();\n\t\t}\n\n\t\t// Aborting is no longer a cancellation\n\t\tstrAbort = \"abort\";\n\n\t\t// Install callbacks on deferreds\n\t\tcompleteDeferred.add( s.complete );\n\t\tjqXHR.done( s.success );\n\t\tjqXHR.fail( s.error );\n\n\t\t// Get transport\n\t\ttransport = inspectPrefiltersOrTransports( transports, s, options, jqXHR );\n\n\t\t// If no transport, we auto-abort\n\t\tif ( !transport ) {\n\t\t\tdone( -1, \"No Transport\" );\n\t\t} else {\n\t\t\tjqXHR.readyState = 1;\n\n\t\t\t// Send global event\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( \"ajaxSend\", [ jqXHR, s ] );\n\t\t\t}\n\n\t\t\t// If request was aborted inside ajaxSend, stop there\n\t\t\tif ( completed ) {\n\t\t\t\treturn jqXHR;\n\t\t\t}\n\n\t\t\t// Timeout\n\t\t\tif ( s.async && s.timeout > 0 ) {\n\t\t\t\ttimeoutTimer = window.setTimeout( function() {\n\t\t\t\t\tjqXHR.abort( \"timeout\" );\n\t\t\t\t}, s.timeout );\n\t\t\t}\n\n\t\t\ttry {\n\t\t\t\tcompleted = false;\n\t\t\t\ttransport.send( requestHeaders, done );\n\t\t\t} catch ( e ) {\n\n\t\t\t\t// Rethrow post-completion exceptions\n\t\t\t\tif ( completed ) {\n\t\t\t\t\tthrow e;\n\t\t\t\t}\n\n\t\t\t\t// Propagate others as results\n\t\t\t\tdone( -1, e );\n\t\t\t}\n\t\t}\n\n\t\t// Callback for when everything is done\n\t\tfunction done( status, nativeStatusText, responses, headers ) {\n\t\t\tvar isSuccess, success, error, response, modified,\n\t\t\t\tstatusText = nativeStatusText;\n\n\t\t\t// Ignore repeat invocations\n\t\t\tif ( completed ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tcompleted = true;\n\n\t\t\t// Clear timeout if it exists\n\t\t\tif ( timeoutTimer ) {\n\t\t\t\twindow.clearTimeout( timeoutTimer );\n\t\t\t}\n\n\t\t\t// Dereference transport for early garbage collection\n\t\t\t// (no matter how long the jqXHR object will be used)\n\t\t\ttransport = undefined;\n\n\t\t\t// Cache response headers\n\t\t\tresponseHeadersString = headers || \"\";\n\n\t\t\t// Set readyState\n\t\t\tjqXHR.readyState = status > 0 ? 4 : 0;\n\n\t\t\t// Determine if successful\n\t\t\tisSuccess = status >= 200 && status < 300 || status === 304;\n\n\t\t\t// Get response data\n\t\t\tif ( responses ) {\n\t\t\t\tresponse = ajaxHandleResponses( s, jqXHR, responses );\n\t\t\t}\n\n\t\t\t// Use a noop converter for missing script but not if jsonp\n\t\t\tif ( !isSuccess &&\n\t\t\t\tjQuery.inArray( \"script\", s.dataTypes ) > -1 &&\n\t\t\t\tjQuery.inArray( \"json\", s.dataTypes ) < 0 ) {\n\t\t\t\ts.converters[ \"text script\" ] = function() {};\n\t\t\t}\n\n\t\t\t// Convert no matter what (that way responseXXX fields are always set)\n\t\t\tresponse = ajaxConvert( s, response, jqXHR, isSuccess );\n\n\t\t\t// If successful, handle type chaining\n\t\t\tif ( isSuccess ) {\n\n\t\t\t\t// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.\n\t\t\t\tif ( s.ifModified ) {\n\t\t\t\t\tmodified = jqXHR.getResponseHeader( \"Last-Modified\" );\n\t\t\t\t\tif ( modified ) {\n\t\t\t\t\t\tjQuery.lastModified[ cacheURL ] = modified;\n\t\t\t\t\t}\n\t\t\t\t\tmodified = jqXHR.getResponseHeader( \"etag\" );\n\t\t\t\t\tif ( modified ) {\n\t\t\t\t\t\tjQuery.etag[ cacheURL ] = modified;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// if no content\n\t\t\t\tif ( status === 204 || s.type === \"HEAD\" ) {\n\t\t\t\t\tstatusText = \"nocontent\";\n\n\t\t\t\t// if not modified\n\t\t\t\t} else if ( status === 304 ) {\n\t\t\t\t\tstatusText = \"notmodified\";\n\n\t\t\t\t// If we have data, let's convert it\n\t\t\t\t} else {\n\t\t\t\t\tstatusText = response.state;\n\t\t\t\t\tsuccess = response.data;\n\t\t\t\t\terror = response.error;\n\t\t\t\t\tisSuccess = !error;\n\t\t\t\t}\n\t\t\t} else {\n\n\t\t\t\t// Extract error from statusText and normalize for non-aborts\n\t\t\t\terror = statusText;\n\t\t\t\tif ( status || !statusText ) {\n\t\t\t\t\tstatusText = \"error\";\n\t\t\t\t\tif ( status < 0 ) {\n\t\t\t\t\t\tstatus = 0;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Set data for the fake xhr object\n\t\t\tjqXHR.status = status;\n\t\t\tjqXHR.statusText = ( nativeStatusText || statusText ) + \"\";\n\n\t\t\t// Success/Error\n\t\t\tif ( isSuccess ) {\n\t\t\t\tdeferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] );\n\t\t\t} else {\n\t\t\t\tdeferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] );\n\t\t\t}\n\n\t\t\t// Status-dependent callbacks\n\t\t\tjqXHR.statusCode( statusCode );\n\t\t\tstatusCode = undefined;\n\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( isSuccess ? \"ajaxSuccess\" : \"ajaxError\",\n\t\t\t\t\t[ jqXHR, s, isSuccess ? success : error ] );\n\t\t\t}\n\n\t\t\t// Complete\n\t\t\tcompleteDeferred.fireWith( callbackContext, [ jqXHR, statusText ] );\n\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( \"ajaxComplete\", [ jqXHR, s ] );\n\n\t\t\t\t// Handle the global AJAX counter\n\t\t\t\tif ( !( --jQuery.active ) ) {\n\t\t\t\t\tjQuery.event.trigger( \"ajaxStop\" );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn jqXHR;\n\t},\n\n\tgetJSON: function( url, data, callback ) {\n\t\treturn jQuery.get( url, data, callback, \"json\" );\n\t},\n\n\tgetScript: function( url, callback ) {\n\t\treturn jQuery.get( url, undefined, callback, \"script\" );\n\t}\n} );\n\njQuery.each( [ \"get\", \"post\" ], function( _i, method ) {\n\tjQuery[ method ] = function( url, data, callback, type ) {\n\n\t\t// Shift arguments if data argument was omitted\n\t\tif ( isFunction( data ) ) {\n\t\t\ttype = type || callback;\n\t\t\tcallback = data;\n\t\t\tdata = undefined;\n\t\t}\n\n\t\t// The url can be an options object (which then must have .url)\n\t\treturn jQuery.ajax( jQuery.extend( {\n\t\t\turl: url,\n\t\t\ttype: method,\n\t\t\tdataType: type,\n\t\t\tdata: data,\n\t\t\tsuccess: callback\n\t\t}, jQuery.isPlainObject( url ) && url ) );\n\t};\n} );\n\njQuery.ajaxPrefilter( function( s ) {\n\tvar i;\n\tfor ( i in s.headers ) {\n\t\tif ( i.toLowerCase() === \"content-type\" ) {\n\t\t\ts.contentType = s.headers[ i ] || \"\";\n\t\t}\n\t}\n} );\n\n\njQuery._evalUrl = function( url, options, doc ) {\n\treturn jQuery.ajax( {\n\t\turl: url,\n\n\t\t// Make this explicit, since user can override this through ajaxSetup (#11264)\n\t\ttype: \"GET\",\n\t\tdataType: \"script\",\n\t\tcache: true,\n\t\tasync: false,\n\t\tglobal: false,\n\n\t\t// Only evaluate the response if it is successful (gh-4126)\n\t\t// dataFilter is not invoked for failure responses, so using it instead\n\t\t// of the default converter is kludgy but it works.\n\t\tconverters: {\n\t\t\t\"text script\": function() {}\n\t\t},\n\t\tdataFilter: function( response ) {\n\t\t\tjQuery.globalEval( response, options, doc );\n\t\t}\n\t} );\n};\n\n\njQuery.fn.extend( {\n\twrapAll: function( html ) {\n\t\tvar wrap;\n\n\t\tif ( this[ 0 ] ) {\n\t\t\tif ( isFunction( html ) ) {\n\t\t\t\thtml = html.call( this[ 0 ] );\n\t\t\t}\n\n\t\t\t// The elements to wrap the target around\n\t\t\twrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true );\n\n\t\t\tif ( this[ 0 ].parentNode ) {\n\t\t\t\twrap.insertBefore( this[ 0 ] );\n\t\t\t}\n\n\t\t\twrap.map( function() {\n\t\t\t\tvar elem = this;\n\n\t\t\t\twhile ( elem.firstElementChild ) {\n\t\t\t\t\telem = elem.firstElementChild;\n\t\t\t\t}\n\n\t\t\t\treturn elem;\n\t\t\t} ).append( this );\n\t\t}\n\n\t\treturn this;\n\t},\n\n\twrapInner: function( html ) {\n\t\tif ( isFunction( html ) ) {\n\t\t\treturn this.each( function( i ) {\n\t\t\t\tjQuery( this ).wrapInner( html.call( this, i ) );\n\t\t\t} );\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tvar self = jQuery( this ),\n\t\t\t\tcontents = self.contents();\n\n\t\t\tif ( contents.length ) {\n\t\t\t\tcontents.wrapAll( html );\n\n\t\t\t} else {\n\t\t\t\tself.append( html );\n\t\t\t}\n\t\t} );\n\t},\n\n\twrap: function( html ) {\n\t\tvar htmlIsFunction = isFunction( html );\n\n\t\treturn this.each( function( i ) {\n\t\t\tjQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html );\n\t\t} );\n\t},\n\n\tunwrap: function( selector ) {\n\t\tthis.parent( selector ).not( \"body\" ).each( function() {\n\t\t\tjQuery( this ).replaceWith( this.childNodes );\n\t\t} );\n\t\treturn this;\n\t}\n} );\n\n\njQuery.expr.pseudos.hidden = function( elem ) {\n\treturn !jQuery.expr.pseudos.visible( elem );\n};\njQuery.expr.pseudos.visible = function( elem ) {\n\treturn !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length );\n};\n\n\n\n\njQuery.ajaxSettings.xhr = function() {\n\ttry {\n\t\treturn new window.XMLHttpRequest();\n\t} catch ( e ) {}\n};\n\nvar xhrSuccessStatus = {\n\n\t\t// File protocol always yields status code 0, assume 200\n\t\t0: 200,\n\n\t\t// Support: IE <=9 only\n\t\t// #1450: sometimes IE returns 1223 when it should be 204\n\t\t1223: 204\n\t},\n\txhrSupported = jQuery.ajaxSettings.xhr();\n\nsupport.cors = !!xhrSupported && ( \"withCredentials\" in xhrSupported );\nsupport.ajax = xhrSupported = !!xhrSupported;\n\njQuery.ajaxTransport( function( options ) {\n\tvar callback, errorCallback;\n\n\t// Cross domain only allowed if supported through XMLHttpRequest\n\tif ( support.cors || xhrSupported && !options.crossDomain ) {\n\t\treturn {\n\t\t\tsend: function( headers, complete ) {\n\t\t\t\tvar i,\n\t\t\t\t\txhr = options.xhr();\n\n\t\t\t\txhr.open(\n\t\t\t\t\toptions.type,\n\t\t\t\t\toptions.url,\n\t\t\t\t\toptions.async,\n\t\t\t\t\toptions.username,\n\t\t\t\t\toptions.password\n\t\t\t\t);\n\n\t\t\t\t// Apply custom fields if provided\n\t\t\t\tif ( options.xhrFields ) {\n\t\t\t\t\tfor ( i in options.xhrFields ) {\n\t\t\t\t\t\txhr[ i ] = options.xhrFields[ i ];\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Override mime type if needed\n\t\t\t\tif ( options.mimeType && xhr.overrideMimeType ) {\n\t\t\t\t\txhr.overrideMimeType( options.mimeType );\n\t\t\t\t}\n\n\t\t\t\t// X-Requested-With header\n\t\t\t\t// For cross-domain requests, seeing as conditions for a preflight are\n\t\t\t\t// akin to a jigsaw puzzle, we simply never set it to be sure.\n\t\t\t\t// (it can always be set on a per-request basis or even using ajaxSetup)\n\t\t\t\t// For same-domain requests, won't change header if already provided.\n\t\t\t\tif ( !options.crossDomain && !headers[ \"X-Requested-With\" ] ) {\n\t\t\t\t\theaders[ \"X-Requested-With\" ] = \"XMLHttpRequest\";\n\t\t\t\t}\n\n\t\t\t\t// Set headers\n\t\t\t\tfor ( i in headers ) {\n\t\t\t\t\txhr.setRequestHeader( i, headers[ i ] );\n\t\t\t\t}\n\n\t\t\t\t// Callback\n\t\t\t\tcallback = function( type ) {\n\t\t\t\t\treturn function() {\n\t\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\t\tcallback = errorCallback = xhr.onload =\n\t\t\t\t\t\t\t\txhr.onerror = xhr.onabort = xhr.ontimeout =\n\t\t\t\t\t\t\t\t\txhr.onreadystatechange = null;\n\n\t\t\t\t\t\t\tif ( type === \"abort\" ) {\n\t\t\t\t\t\t\t\txhr.abort();\n\t\t\t\t\t\t\t} else if ( type === \"error\" ) {\n\n\t\t\t\t\t\t\t\t// Support: IE <=9 only\n\t\t\t\t\t\t\t\t// On a manual native abort, IE9 throws\n\t\t\t\t\t\t\t\t// errors on any property access that is not readyState\n\t\t\t\t\t\t\t\tif ( typeof xhr.status !== \"number\" ) {\n\t\t\t\t\t\t\t\t\tcomplete( 0, \"error\" );\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tcomplete(\n\n\t\t\t\t\t\t\t\t\t\t// File: protocol always yields status 0; see #8605, #14207\n\t\t\t\t\t\t\t\t\t\txhr.status,\n\t\t\t\t\t\t\t\t\t\txhr.statusText\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tcomplete(\n\t\t\t\t\t\t\t\t\txhrSuccessStatus[ xhr.status ] || xhr.status,\n\t\t\t\t\t\t\t\t\txhr.statusText,\n\n\t\t\t\t\t\t\t\t\t// Support: IE <=9 only\n\t\t\t\t\t\t\t\t\t// IE9 has no XHR2 but throws on binary (trac-11426)\n\t\t\t\t\t\t\t\t\t// For XHR2 non-text, let the caller handle it (gh-2498)\n\t\t\t\t\t\t\t\t\t( xhr.responseType || \"text\" ) !== \"text\"  ||\n\t\t\t\t\t\t\t\t\ttypeof xhr.responseText !== \"string\" ?\n\t\t\t\t\t\t\t\t\t\t{ binary: xhr.response } :\n\t\t\t\t\t\t\t\t\t\t{ text: xhr.responseText },\n\t\t\t\t\t\t\t\t\txhr.getAllResponseHeaders()\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t};\n\n\t\t\t\t// Listen to events\n\t\t\t\txhr.onload = callback();\n\t\t\t\terrorCallback = xhr.onerror = xhr.ontimeout = callback( \"error\" );\n\n\t\t\t\t// Support: IE 9 only\n\t\t\t\t// Use onreadystatechange to replace onabort\n\t\t\t\t// to handle uncaught aborts\n\t\t\t\tif ( xhr.onabort !== undefined ) {\n\t\t\t\t\txhr.onabort = errorCallback;\n\t\t\t\t} else {\n\t\t\t\t\txhr.onreadystatechange = function() {\n\n\t\t\t\t\t\t// Check readyState before timeout as it changes\n\t\t\t\t\t\tif ( xhr.readyState === 4 ) {\n\n\t\t\t\t\t\t\t// Allow onerror to be called first,\n\t\t\t\t\t\t\t// but that will not handle a native abort\n\t\t\t\t\t\t\t// Also, save errorCallback to a variable\n\t\t\t\t\t\t\t// as xhr.onerror cannot be accessed\n\t\t\t\t\t\t\twindow.setTimeout( function() {\n\t\t\t\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\t\t\t\terrorCallback();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t}\n\n\t\t\t\t// Create the abort callback\n\t\t\t\tcallback = callback( \"abort\" );\n\n\t\t\t\ttry {\n\n\t\t\t\t\t// Do send the request (this may raise an exception)\n\t\t\t\t\txhr.send( options.hasContent && options.data || null );\n\t\t\t\t} catch ( e ) {\n\n\t\t\t\t\t// #14683: Only rethrow if this hasn't been notified as an error yet\n\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\tthrow e;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tabort: function() {\n\t\t\t\tif ( callback ) {\n\t\t\t\t\tcallback();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}\n} );\n\n\n\n\n// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432)\njQuery.ajaxPrefilter( function( s ) {\n\tif ( s.crossDomain ) {\n\t\ts.contents.script = false;\n\t}\n} );\n\n// Install script dataType\njQuery.ajaxSetup( {\n\taccepts: {\n\t\tscript: \"text/javascript, application/javascript, \" +\n\t\t\t\"application/ecmascript, application/x-ecmascript\"\n\t},\n\tcontents: {\n\t\tscript: /\\b(?:java|ecma)script\\b/\n\t},\n\tconverters: {\n\t\t\"text script\": function( text ) {\n\t\t\tjQuery.globalEval( text );\n\t\t\treturn text;\n\t\t}\n\t}\n} );\n\n// Handle cache's special case and crossDomain\njQuery.ajaxPrefilter( \"script\", function( s ) {\n\tif ( s.cache === undefined ) {\n\t\ts.cache = false;\n\t}\n\tif ( s.crossDomain ) {\n\t\ts.type = \"GET\";\n\t}\n} );\n\n// Bind script tag hack transport\njQuery.ajaxTransport( \"script\", function( s ) {\n\n\t// This transport only deals with cross domain or forced-by-attrs requests\n\tif ( s.crossDomain || s.scriptAttrs ) {\n\t\tvar script, callback;\n\t\treturn {\n\t\t\tsend: function( _, complete ) {\n\t\t\t\tscript = jQuery( \"<script>\" )\n\t\t\t\t\t.attr( s.scriptAttrs || {} )\n\t\t\t\t\t.prop( { charset: s.scriptCharset, src: s.url } )\n\t\t\t\t\t.on( \"load error\", callback = function( evt ) {\n\t\t\t\t\t\tscript.remove();\n\t\t\t\t\t\tcallback = null;\n\t\t\t\t\t\tif ( evt ) {\n\t\t\t\t\t\t\tcomplete( evt.type === \"error\" ? 404 : 200, evt.type );\n\t\t\t\t\t\t}\n\t\t\t\t\t} );\n\n\t\t\t\t// Use native DOM manipulation to avoid our domManip AJAX trickery\n\t\t\t\tdocument.head.appendChild( script[ 0 ] );\n\t\t\t},\n\t\t\tabort: function() {\n\t\t\t\tif ( callback ) {\n\t\t\t\t\tcallback();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}\n} );\n\n\n\n\nvar oldCallbacks = [],\n\trjsonp = /(=)\\?(?=&|$)|\\?\\?/;\n\n// Default jsonp settings\njQuery.ajaxSetup( {\n\tjsonp: \"callback\",\n\tjsonpCallback: function() {\n\t\tvar callback = oldCallbacks.pop() || ( jQuery.expando + \"_\" + ( nonce.guid++ ) );\n\t\tthis[ callback ] = true;\n\t\treturn callback;\n\t}\n} );\n\n// Detect, normalize options and install callbacks for jsonp requests\njQuery.ajaxPrefilter( \"json jsonp\", function( s, originalSettings, jqXHR ) {\n\n\tvar callbackName, overwritten, responseContainer,\n\t\tjsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ?\n\t\t\t\"url\" :\n\t\t\ttypeof s.data === \"string\" &&\n\t\t\t\t( s.contentType || \"\" )\n\t\t\t\t\t.indexOf( \"application/x-www-form-urlencoded\" ) === 0 &&\n\t\t\t\trjsonp.test( s.data ) && \"data\"\n\t\t);\n\n\t// Handle iff the expected data type is \"jsonp\" or we have a parameter to set\n\tif ( jsonProp || s.dataTypes[ 0 ] === \"jsonp\" ) {\n\n\t\t// Get callback name, remembering preexisting value associated with it\n\t\tcallbackName = s.jsonpCallback = isFunction( s.jsonpCallback ) ?\n\t\t\ts.jsonpCallback() :\n\t\t\ts.jsonpCallback;\n\n\t\t// Insert callback into url or form data\n\t\tif ( jsonProp ) {\n\t\t\ts[ jsonProp ] = s[ jsonProp ].replace( rjsonp, \"$1\" + callbackName );\n\t\t} else if ( s.jsonp !== false ) {\n\t\t\ts.url += ( rquery.test( s.url ) ? \"&\" : \"?\" ) + s.jsonp + \"=\" + callbackName;\n\t\t}\n\n\t\t// Use data converter to retrieve json after script execution\n\t\ts.converters[ \"script json\" ] = function() {\n\t\t\tif ( !responseContainer ) {\n\t\t\t\tjQuery.error( callbackName + \" was not called\" );\n\t\t\t}\n\t\t\treturn responseContainer[ 0 ];\n\t\t};\n\n\t\t// Force json dataType\n\t\ts.dataTypes[ 0 ] = \"json\";\n\n\t\t// Install callback\n\t\toverwritten = window[ callbackName ];\n\t\twindow[ callbackName ] = function() {\n\t\t\tresponseContainer = arguments;\n\t\t};\n\n\t\t// Clean-up function (fires after converters)\n\t\tjqXHR.always( function() {\n\n\t\t\t// If previous value didn't exist - remove it\n\t\t\tif ( overwritten === undefined ) {\n\t\t\t\tjQuery( window ).removeProp( callbackName );\n\n\t\t\t// Otherwise restore preexisting value\n\t\t\t} else {\n\t\t\t\twindow[ callbackName ] = overwritten;\n\t\t\t}\n\n\t\t\t// Save back as free\n\t\t\tif ( s[ callbackName ] ) {\n\n\t\t\t\t// Make sure that re-using the options doesn't screw things around\n\t\t\t\ts.jsonpCallback = originalSettings.jsonpCallback;\n\n\t\t\t\t// Save the callback name for future use\n\t\t\t\toldCallbacks.push( callbackName );\n\t\t\t}\n\n\t\t\t// Call if it was a function and we have a response\n\t\t\tif ( responseContainer && isFunction( overwritten ) ) {\n\t\t\t\toverwritten( responseContainer[ 0 ] );\n\t\t\t}\n\n\t\t\tresponseContainer = overwritten = undefined;\n\t\t} );\n\n\t\t// Delegate to script\n\t\treturn \"script\";\n\t}\n} );\n\n\n\n\n// Support: Safari 8 only\n// In Safari 8 documents created via document.implementation.createHTMLDocument\n// collapse sibling forms: the second one becomes a child of the first one.\n// Because of that, this security measure has to be disabled in Safari 8.\n// https://bugs.webkit.org/show_bug.cgi?id=137337\nsupport.createHTMLDocument = ( function() {\n\tvar body = document.implementation.createHTMLDocument( \"\" ).body;\n\tbody.innerHTML = \"<form></form><form></form>\";\n\treturn body.childNodes.length === 2;\n} )();\n\n\n// Argument \"data\" should be string of html\n// context (optional): If specified, the fragment will be created in this context,\n// defaults to document\n// keepScripts (optional): If true, will include scripts passed in the html string\njQuery.parseHTML = function( data, context, keepScripts ) {\n\tif ( typeof data !== \"string\" ) {\n\t\treturn [];\n\t}\n\tif ( typeof context === \"boolean\" ) {\n\t\tkeepScripts = context;\n\t\tcontext = false;\n\t}\n\n\tvar base, parsed, scripts;\n\n\tif ( !context ) {\n\n\t\t// Stop scripts or inline event handlers from being executed immediately\n\t\t// by using document.implementation\n\t\tif ( support.createHTMLDocument ) {\n\t\t\tcontext = document.implementation.createHTMLDocument( \"\" );\n\n\t\t\t// Set the base href for the created document\n\t\t\t// so any parsed elements with URLs\n\t\t\t// are based on the document's URL (gh-2965)\n\t\t\tbase = context.createElement( \"base\" );\n\t\t\tbase.href = document.location.href;\n\t\t\tcontext.head.appendChild( base );\n\t\t} else {\n\t\t\tcontext = document;\n\t\t}\n\t}\n\n\tparsed = rsingleTag.exec( data );\n\tscripts = !keepScripts && [];\n\n\t// Single tag\n\tif ( parsed ) {\n\t\treturn [ context.createElement( parsed[ 1 ] ) ];\n\t}\n\n\tparsed = buildFragment( [ data ], context, scripts );\n\n\tif ( scripts && scripts.length ) {\n\t\tjQuery( scripts ).remove();\n\t}\n\n\treturn jQuery.merge( [], parsed.childNodes );\n};\n\n\n/**\n * Load a url into a page\n */\njQuery.fn.load = function( url, params, callback ) {\n\tvar selector, type, response,\n\t\tself = this,\n\t\toff = url.indexOf( \" \" );\n\n\tif ( off > -1 ) {\n\t\tselector = stripAndCollapse( url.slice( off ) );\n\t\turl = url.slice( 0, off );\n\t}\n\n\t// If it's a function\n\tif ( isFunction( params ) ) {\n\n\t\t// We assume that it's the callback\n\t\tcallback = params;\n\t\tparams = undefined;\n\n\t// Otherwise, build a param string\n\t} else if ( params && typeof params === \"object\" ) {\n\t\ttype = \"POST\";\n\t}\n\n\t// If we have elements to modify, make the request\n\tif ( self.length > 0 ) {\n\t\tjQuery.ajax( {\n\t\t\turl: url,\n\n\t\t\t// If \"type\" variable is undefined, then \"GET\" method will be used.\n\t\t\t// Make value of this field explicit since\n\t\t\t// user can override it through ajaxSetup method\n\t\t\ttype: type || \"GET\",\n\t\t\tdataType: \"html\",\n\t\t\tdata: params\n\t\t} ).done( function( responseText ) {\n\n\t\t\t// Save response for use in complete callback\n\t\t\tresponse = arguments;\n\n\t\t\tself.html( selector ?\n\n\t\t\t\t// If a selector was specified, locate the right elements in a dummy div\n\t\t\t\t// Exclude scripts to avoid IE 'Permission Denied' errors\n\t\t\t\tjQuery( \"<div>\" ).append( jQuery.parseHTML( responseText ) ).find( selector ) :\n\n\t\t\t\t// Otherwise use the full result\n\t\t\t\tresponseText );\n\n\t\t// If the request succeeds, this function gets \"data\", \"status\", \"jqXHR\"\n\t\t// but they are ignored because response was set above.\n\t\t// If it fails, this function gets \"jqXHR\", \"status\", \"error\"\n\t\t} ).always( callback && function( jqXHR, status ) {\n\t\t\tself.each( function() {\n\t\t\t\tcallback.apply( this, response || [ jqXHR.responseText, status, jqXHR ] );\n\t\t\t} );\n\t\t} );\n\t}\n\n\treturn this;\n};\n\n\n\n\njQuery.expr.pseudos.animated = function( elem ) {\n\treturn jQuery.grep( jQuery.timers, function( fn ) {\n\t\treturn elem === fn.elem;\n\t} ).length;\n};\n\n\n\n\njQuery.offset = {\n\tsetOffset: function( elem, options, i ) {\n\t\tvar curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition,\n\t\t\tposition = jQuery.css( elem, \"position\" ),\n\t\t\tcurElem = jQuery( elem ),\n\t\t\tprops = {};\n\n\t\t// Set position first, in-case top/left are set even on static elem\n\t\tif ( position === \"static\" ) {\n\t\t\telem.style.position = \"relative\";\n\t\t}\n\n\t\tcurOffset = curElem.offset();\n\t\tcurCSSTop = jQuery.css( elem, \"top\" );\n\t\tcurCSSLeft = jQuery.css( elem, \"left\" );\n\t\tcalculatePosition = ( position === \"absolute\" || position === \"fixed\" ) &&\n\t\t\t( curCSSTop + curCSSLeft ).indexOf( \"auto\" ) > -1;\n\n\t\t// Need to be able to calculate position if either\n\t\t// top or left is auto and position is either absolute or fixed\n\t\tif ( calculatePosition ) {\n\t\t\tcurPosition = curElem.position();\n\t\t\tcurTop = curPosition.top;\n\t\t\tcurLeft = curPosition.left;\n\n\t\t} else {\n\t\t\tcurTop = parseFloat( curCSSTop ) || 0;\n\t\t\tcurLeft = parseFloat( curCSSLeft ) || 0;\n\t\t}\n\n\t\tif ( isFunction( options ) ) {\n\n\t\t\t// Use jQuery.extend here to allow modification of coordinates argument (gh-1848)\n\t\t\toptions = options.call( elem, i, jQuery.extend( {}, curOffset ) );\n\t\t}\n\n\t\tif ( options.top != null ) {\n\t\t\tprops.top = ( options.top - curOffset.top ) + curTop;\n\t\t}\n\t\tif ( options.left != null ) {\n\t\t\tprops.left = ( options.left - curOffset.left ) + curLeft;\n\t\t}\n\n\t\tif ( \"using\" in options ) {\n\t\t\toptions.using.call( elem, props );\n\n\t\t} else {\n\t\t\tcurElem.css( props );\n\t\t}\n\t}\n};\n\njQuery.fn.extend( {\n\n\t// offset() relates an element's border box to the document origin\n\toffset: function( options ) {\n\n\t\t// Preserve chaining for setter\n\t\tif ( arguments.length ) {\n\t\t\treturn options === undefined ?\n\t\t\t\tthis :\n\t\t\t\tthis.each( function( i ) {\n\t\t\t\t\tjQuery.offset.setOffset( this, options, i );\n\t\t\t\t} );\n\t\t}\n\n\t\tvar rect, win,\n\t\t\telem = this[ 0 ];\n\n\t\tif ( !elem ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Return zeros for disconnected and hidden (display: none) elements (gh-2310)\n\t\t// Support: IE <=11 only\n\t\t// Running getBoundingClientRect on a\n\t\t// disconnected node in IE throws an error\n\t\tif ( !elem.getClientRects().length ) {\n\t\t\treturn { top: 0, left: 0 };\n\t\t}\n\n\t\t// Get document-relative position by adding viewport scroll to viewport-relative gBCR\n\t\trect = elem.getBoundingClientRect();\n\t\twin = elem.ownerDocument.defaultView;\n\t\treturn {\n\t\t\ttop: rect.top + win.pageYOffset,\n\t\t\tleft: rect.left + win.pageXOffset\n\t\t};\n\t},\n\n\t// position() relates an element's margin box to its offset parent's padding box\n\t// This corresponds to the behavior of CSS absolute positioning\n\tposition: function() {\n\t\tif ( !this[ 0 ] ) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar offsetParent, offset, doc,\n\t\t\telem = this[ 0 ],\n\t\t\tparentOffset = { top: 0, left: 0 };\n\n\t\t// position:fixed elements are offset from the viewport, which itself always has zero offset\n\t\tif ( jQuery.css( elem, \"position\" ) === \"fixed\" ) {\n\n\t\t\t// Assume position:fixed implies availability of getBoundingClientRect\n\t\t\toffset = elem.getBoundingClientRect();\n\n\t\t} else {\n\t\t\toffset = this.offset();\n\n\t\t\t// Account for the *real* offset parent, which can be the document or its root element\n\t\t\t// when a statically positioned element is identified\n\t\t\tdoc = elem.ownerDocument;\n\t\t\toffsetParent = elem.offsetParent || doc.documentElement;\n\t\t\twhile ( offsetParent &&\n\t\t\t\t( offsetParent === doc.body || offsetParent === doc.documentElement ) &&\n\t\t\t\tjQuery.css( offsetParent, \"position\" ) === \"static\" ) {\n\n\t\t\t\toffsetParent = offsetParent.parentNode;\n\t\t\t}\n\t\t\tif ( offsetParent && offsetParent !== elem && offsetParent.nodeType === 1 ) {\n\n\t\t\t\t// Incorporate borders into its offset, since they are outside its content origin\n\t\t\t\tparentOffset = jQuery( offsetParent ).offset();\n\t\t\t\tparentOffset.top += jQuery.css( offsetParent, \"borderTopWidth\", true );\n\t\t\t\tparentOffset.left += jQuery.css( offsetParent, \"borderLeftWidth\", true );\n\t\t\t}\n\t\t}\n\n\t\t// Subtract parent offsets and element margins\n\t\treturn {\n\t\t\ttop: offset.top - parentOffset.top - jQuery.css( elem, \"marginTop\", true ),\n\t\t\tleft: offset.left - parentOffset.left - jQuery.css( elem, \"marginLeft\", true )\n\t\t};\n\t},\n\n\t// This method will return documentElement in the following cases:\n\t// 1) For the element inside the iframe without offsetParent, this method will return\n\t//    documentElement of the parent window\n\t// 2) For the hidden or detached element\n\t// 3) For body or html element, i.e. in case of the html node - it will return itself\n\t//\n\t// but those exceptions were never presented as a real life use-cases\n\t// and might be considered as more preferable results.\n\t//\n\t// This logic, however, is not guaranteed and can change at any point in the future\n\toffsetParent: function() {\n\t\treturn this.map( function() {\n\t\t\tvar offsetParent = this.offsetParent;\n\n\t\t\twhile ( offsetParent && jQuery.css( offsetParent, \"position\" ) === \"static\" ) {\n\t\t\t\toffsetParent = offsetParent.offsetParent;\n\t\t\t}\n\n\t\t\treturn offsetParent || documentElement;\n\t\t} );\n\t}\n} );\n\n// Create scrollLeft and scrollTop methods\njQuery.each( { scrollLeft: \"pageXOffset\", scrollTop: \"pageYOffset\" }, function( method, prop ) {\n\tvar top = \"pageYOffset\" === prop;\n\n\tjQuery.fn[ method ] = function( val ) {\n\t\treturn access( this, function( elem, method, val ) {\n\n\t\t\t// Coalesce documents and windows\n\t\t\tvar win;\n\t\t\tif ( isWindow( elem ) ) {\n\t\t\t\twin = elem;\n\t\t\t} else if ( elem.nodeType === 9 ) {\n\t\t\t\twin = elem.defaultView;\n\t\t\t}\n\n\t\t\tif ( val === undefined ) {\n\t\t\t\treturn win ? win[ prop ] : elem[ method ];\n\t\t\t}\n\n\t\t\tif ( win ) {\n\t\t\t\twin.scrollTo(\n\t\t\t\t\t!top ? val : win.pageXOffset,\n\t\t\t\t\ttop ? val : win.pageYOffset\n\t\t\t\t);\n\n\t\t\t} else {\n\t\t\t\telem[ method ] = val;\n\t\t\t}\n\t\t}, method, val, arguments.length );\n\t};\n} );\n\n// Support: Safari <=7 - 9.1, Chrome <=37 - 49\n// Add the top/left cssHooks using jQuery.fn.position\n// Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084\n// Blink bug: https://bugs.chromium.org/p/chromium/issues/detail?id=589347\n// getComputedStyle returns percent when specified for top/left/bottom/right;\n// rather than make the css module depend on the offset module, just check for it here\njQuery.each( [ \"top\", \"left\" ], function( _i, prop ) {\n\tjQuery.cssHooks[ prop ] = addGetHookIf( support.pixelPosition,\n\t\tfunction( elem, computed ) {\n\t\t\tif ( computed ) {\n\t\t\t\tcomputed = curCSS( elem, prop );\n\n\t\t\t\t// If curCSS returns percentage, fallback to offset\n\t\t\t\treturn rnumnonpx.test( computed ) ?\n\t\t\t\t\tjQuery( elem ).position()[ prop ] + \"px\" :\n\t\t\t\t\tcomputed;\n\t\t\t}\n\t\t}\n\t);\n} );\n\n\n// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods\njQuery.each( { Height: \"height\", Width: \"width\" }, function( name, type ) {\n\tjQuery.each( {\n\t\tpadding: \"inner\" + name,\n\t\tcontent: type,\n\t\t\"\": \"outer\" + name\n\t}, function( defaultExtra, funcName ) {\n\n\t\t// Margin is only for outerHeight, outerWidth\n\t\tjQuery.fn[ funcName ] = function( margin, value ) {\n\t\t\tvar chainable = arguments.length && ( defaultExtra || typeof margin !== \"boolean\" ),\n\t\t\t\textra = defaultExtra || ( margin === true || value === true ? \"margin\" : \"border\" );\n\n\t\t\treturn access( this, function( elem, type, value ) {\n\t\t\t\tvar doc;\n\n\t\t\t\tif ( isWindow( elem ) ) {\n\n\t\t\t\t\t// $( window ).outerWidth/Height return w/h including scrollbars (gh-1729)\n\t\t\t\t\treturn funcName.indexOf( \"outer\" ) === 0 ?\n\t\t\t\t\t\telem[ \"inner\" + name ] :\n\t\t\t\t\t\telem.document.documentElement[ \"client\" + name ];\n\t\t\t\t}\n\n\t\t\t\t// Get document width or height\n\t\t\t\tif ( elem.nodeType === 9 ) {\n\t\t\t\t\tdoc = elem.documentElement;\n\n\t\t\t\t\t// Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height],\n\t\t\t\t\t// whichever is greatest\n\t\t\t\t\treturn Math.max(\n\t\t\t\t\t\telem.body[ \"scroll\" + name ], doc[ \"scroll\" + name ],\n\t\t\t\t\t\telem.body[ \"offset\" + name ], doc[ \"offset\" + name ],\n\t\t\t\t\t\tdoc[ \"client\" + name ]\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\treturn value === undefined ?\n\n\t\t\t\t\t// Get width or height on the element, requesting but not forcing parseFloat\n\t\t\t\t\tjQuery.css( elem, type, extra ) :\n\n\t\t\t\t\t// Set width or height on the element\n\t\t\t\t\tjQuery.style( elem, type, value, extra );\n\t\t\t}, type, chainable ? margin : undefined, chainable );\n\t\t};\n\t} );\n} );\n\n\njQuery.each( [\n\t\"ajaxStart\",\n\t\"ajaxStop\",\n\t\"ajaxComplete\",\n\t\"ajaxError\",\n\t\"ajaxSuccess\",\n\t\"ajaxSend\"\n], function( _i, type ) {\n\tjQuery.fn[ type ] = function( fn ) {\n\t\treturn this.on( type, fn );\n\t};\n} );\n\n\n\n\njQuery.fn.extend( {\n\n\tbind: function( types, data, fn ) {\n\t\treturn this.on( types, null, data, fn );\n\t},\n\tunbind: function( types, fn ) {\n\t\treturn this.off( types, null, fn );\n\t},\n\n\tdelegate: function( selector, types, data, fn ) {\n\t\treturn this.on( types, selector, data, fn );\n\t},\n\tundelegate: function( selector, types, fn ) {\n\n\t\t// ( namespace ) or ( selector, types [, fn] )\n\t\treturn arguments.length === 1 ?\n\t\t\tthis.off( selector, \"**\" ) :\n\t\t\tthis.off( types, selector || \"**\", fn );\n\t},\n\n\thover: function( fnOver, fnOut ) {\n\t\treturn this.mouseenter( fnOver ).mouseleave( fnOut || fnOver );\n\t}\n} );\n\njQuery.each(\n\t( \"blur focus focusin focusout resize scroll click dblclick \" +\n\t\"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave \" +\n\t\"change select submit keydown keypress keyup contextmenu\" ).split( \" \" ),\n\tfunction( _i, name ) {\n\n\t\t// Handle event binding\n\t\tjQuery.fn[ name ] = function( data, fn ) {\n\t\t\treturn arguments.length > 0 ?\n\t\t\t\tthis.on( name, null, data, fn ) :\n\t\t\t\tthis.trigger( name );\n\t\t};\n\t}\n);\n\n\n\n\n// Support: Android <=4.0 only\n// Make sure we trim BOM and NBSP\nvar rtrim = /^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g;\n\n// Bind a function to a context, optionally partially applying any\n// arguments.\n// jQuery.proxy is deprecated to promote standards (specifically Function#bind)\n// However, it is not slated for removal any time soon\njQuery.proxy = function( fn, context ) {\n\tvar tmp, args, proxy;\n\n\tif ( typeof context === \"string\" ) {\n\t\ttmp = fn[ context ];\n\t\tcontext = fn;\n\t\tfn = tmp;\n\t}\n\n\t// Quick check to determine if target is callable, in the spec\n\t// this throws a TypeError, but we will just return undefined.\n\tif ( !isFunction( fn ) ) {\n\t\treturn undefined;\n\t}\n\n\t// Simulated bind\n\targs = slice.call( arguments, 2 );\n\tproxy = function() {\n\t\treturn fn.apply( context || this, args.concat( slice.call( arguments ) ) );\n\t};\n\n\t// Set the guid of unique handler to the same of original handler, so it can be removed\n\tproxy.guid = fn.guid = fn.guid || jQuery.guid++;\n\n\treturn proxy;\n};\n\njQuery.holdReady = function( hold ) {\n\tif ( hold ) {\n\t\tjQuery.readyWait++;\n\t} else {\n\t\tjQuery.ready( true );\n\t}\n};\njQuery.isArray = Array.isArray;\njQuery.parseJSON = JSON.parse;\njQuery.nodeName = nodeName;\njQuery.isFunction = isFunction;\njQuery.isWindow = isWindow;\njQuery.camelCase = camelCase;\njQuery.type = toType;\n\njQuery.now = Date.now;\n\njQuery.isNumeric = function( obj ) {\n\n\t// As of jQuery 3.0, isNumeric is limited to\n\t// strings and numbers (primitives or objects)\n\t// that can be coerced to finite numbers (gh-2662)\n\tvar type = jQuery.type( obj );\n\treturn ( type === \"number\" || type === \"string\" ) &&\n\n\t\t// parseFloat NaNs numeric-cast false positives (\"\")\n\t\t// ...but misinterprets leading-number strings, particularly hex literals (\"0x...\")\n\t\t// subtraction forces infinities to NaN\n\t\t!isNaN( obj - parseFloat( obj ) );\n};\n\njQuery.trim = function( text ) {\n\treturn text == null ?\n\t\t\"\" :\n\t\t( text + \"\" ).replace( rtrim, \"\" );\n};\n\n\n\n// Register as a named AMD module, since jQuery can be concatenated with other\n// files that may use define, but not via a proper concatenation script that\n// understands anonymous AMD modules. A named AMD is safest and most robust\n// way to register. Lowercase jquery is used because AMD module names are\n// derived from file names, and jQuery is normally delivered in a lowercase\n// file name. Do this after creating the global so that if an AMD module wants\n// to call noConflict to hide this version of jQuery, it will work.\n\n// Note that for maximum portability, libraries that are not jQuery should\n// declare themselves as anonymous modules, and avoid setting a global if an\n// AMD loader is present. jQuery is a special case. For more information, see\n// https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon\n\nif ( typeof define === \"function\" && define.amd ) {\n\tdefine( \"jquery\", [], function() {\n\t\treturn jQuery;\n\t} );\n}\n\n\n\n\nvar\n\n\t// Map over jQuery in case of overwrite\n\t_jQuery = window.jQuery,\n\n\t// Map over the $ in case of overwrite\n\t_$ = window.$;\n\njQuery.noConflict = function( deep ) {\n\tif ( window.$ === jQuery ) {\n\t\twindow.$ = _$;\n\t}\n\n\tif ( deep && window.jQuery === jQuery ) {\n\t\twindow.jQuery = _jQuery;\n\t}\n\n\treturn jQuery;\n};\n\n// Expose jQuery and $ identifiers, even in AMD\n// (#7102#comment:10, https://github.com/jquery/jquery/pull/557)\n// and CommonJS for browser emulators (#13566)\nif ( typeof noGlobal === \"undefined\" ) {\n\twindow.jQuery = window.$ = jQuery;\n}\n\n\n\n\nreturn jQuery;\n} );\n",";(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.11.3\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('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-utils', 'ember-environment', 'ember-metal'], function (exports, _emberUtils, _emberEnvironment, _emberMetal) {\n  'use strict';\n\n  exports.default = Container;\n  exports.buildFakeContainerWithDeprecations = buildFakeContainerWithDeprecations;\n\n  var CONTAINER_OVERRIDE = _emberUtils.symbol('CONTAINER_OVERRIDE');\n\n  /**\n   A container used to instantiate and cache objects.\n  \n   Every `Container` must be associated with a `Registry`, which is referenced\n   to determine the factory and options that should be used to instantiate\n   objects.\n  \n   The public API for `Container` is still in flux and should not be considered\n   stable.\n  \n   @private\n   @class Container\n   */\n\n  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.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 = {\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      _emberMetal.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      _emberMetal.assert('fullName must be a proper full name', this.registry.validateFullName(fullName));\n      return factoryFor(this, this.registry.normalize(fullName), options);\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    destroy: function () {\n      eachDestroyable(this, function (item) {\n        if (item.destroy) {\n          item.destroy();\n        }\n      });\n\n      this.isDestroyed = true;\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    reset: function (fullName) {\n      if (arguments.length > 0) {\n        resetMember(this, this.registry.normalize(fullName));\n      } else {\n        resetCache(this);\n      }\n    },\n\n    /**\n     Returns an object that can be used to provide an owner to a\n     manually created instance.\n      @private\n     @method ownerInjection\n     @returns { Object }\n    */\n    ownerInjection: function () {\n      var _ref;\n\n      return _ref = {}, _ref[_emberUtils.OWNER] = this.owner, _ref;\n    }\n  };\n\n  function isSingleton(container, fullName) {\n    return container.registry.getOption(fullName, 'singleton') !== 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    var value = instantiate(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  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 hash = {};\n\n    if (arguments.length > 1) {\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      container.registry.validateInjections(injections);\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    return hash;\n  }\n\n  function factoryFor(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\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\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    injections._debugContainerKey = fullName;\n\n    _emberUtils.setOwner(injections, container.owner);\n\n    return injections;\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  function instantiate(container, fullName) {\n    var factory = factoryFor(container, fullName);\n    var lazyInjections = undefined,\n        validationCache = undefined;\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      _emberMetal.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();\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\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(injections);\n\n        // TODO - remove when Ember reaches v3.0.0\n        if (!Object.isFrozen(obj) && 'container' in obj) {\n          injectDeprecatedContainer(obj, container);\n        }\n      }\n\n      return obj;\n    }\n  }\n\n  // TODO - remove when Ember reaches v3.0.0\n  function injectDeprecatedContainer(object, container) {\n    Object.defineProperty(object, 'container', {\n      configurable: true,\n      enumerable: false,\n      get: function () {\n        _emberMetal.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', url: 'http://emberjs.com/deprecations/v2.x#toc_injected-container-access' });\n        return this[CONTAINER_OVERRIDE] || container;\n      },\n\n      set: function (value) {\n        _emberMetal.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: '3.0.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\n  function eachDestroyable(container, callback) {\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 (container.registry.getOption(key, 'instantiate') !== false) {\n        callback(value);\n      }\n    }\n  }\n\n  function resetCache(container) {\n    eachDestroyable(container, function (value) {\n      if (value.destroy) {\n        value.destroy();\n      }\n    });\n\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      _emberMetal.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: '3.0.0',\n        url: 'http://emberjs.com/deprecations/v2.x#toc_injected-container-access'\n      });\n      return container[containerProperty].apply(container, arguments);\n    };\n  }\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});\nenifed('container/registry', ['exports', 'ember-utils', 'ember-metal', 'container/container'], function (exports, _emberUtils, _emberMetal, _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 = new _emberUtils.EmptyObject();\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      _emberMetal.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      _emberMetal.assert('fullName must be a proper full name', this.validateFullName(fullName));\n\n      var normalizedName = this.normalize(fullName);\n\n      this._localLookupCache = new _emberUtils.EmptyObject();\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      _emberMetal.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      _emberMetal.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      _emberMetal.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        if (!this.has(fullName)) {\n          throw new Error('Attempting to inject an unknown injection: \\'' + fullName + '\\'');\n        }\n      }\n    },\n\n    normalizeInjectionsHash: function (hash) {\n      var injections = [];\n\n      for (var key in hash) {\n        if (hash.hasOwnProperty(key)) {\n          _emberMetal.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    _emberMetal.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      _emberMetal.assert('fullName must be a proper full name', this.validateFullName(fullName));\n      _emberMetal.assert('options.source must be provided to expandLocalLookup', options && options.source);\n      _emberMetal.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] = new _emberUtils.EmptyObject();\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();\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-metal', 'ember-runtime', 'ember-environment', 'ember-views', 'ember-application/system/engine-instance'], function (exports, _emberUtils, _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.router.activeTransition) {\n          return router.router.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          _emberMetal.deprecate('Using `ApplicationInstance.container.lookup` is deprecated. Please use `ApplicationInstance.lookup` instead.', false, {\n            id: 'ember-application.app-instance-container',\n            until: '3.0.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-metal', 'ember-runtime', 'ember-views', 'ember-routing', 'ember-application/system/application-instance', 'container', 'ember-application/system/engine', 'ember-glimmer'], function (exports, _emberUtils, _emberEnvironment, _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    _suppressDeferredDeprecation: true,\n\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      logLibraryVersions();\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      _emberMetal.assert('You must call deferReadiness on an instance of Ember.Application', this instanceof Application);\n      _emberMetal.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      _emberMetal.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      _emberMetal.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 (!_emberMetal.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\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    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(this, nameLengths);\n\n      _emberMetal.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        _emberMetal.debug([lib.name, spaces, ' : ', lib.version].join(''));\n      }\n      _emberMetal.debug('-------------------------------');\n    }\n  }\n\n  exports.default = Application;\n});\nenifed('ember-application/system/engine-instance', ['exports', 'ember-utils', 'ember-runtime', 'ember-metal', 'container', 'ember-application/system/engine-parent'], function (exports, _emberUtils, _emberRuntime, _emberMetal, _container, _emberApplicationSystemEngineParent) {\n  /**\n  @module ember\n  @submodule ember-application\n  */\n\n  'use strict';\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, {\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      _emberMetal.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      @private\n    */\n    willDestroy: function () {\n      this._super.apply(this, arguments);\n      _emberMetal.run(this.__container__, 'destroy');\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 _emberMetal.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')];\n\n      singletons.forEach(function (key) {\n        return _this2.register(key, parent.lookup(key), { instantiate: false });\n      });\n\n      this.inject('view', '_environment', '-environment:main');\n      this.inject('route', '_environment', '-environment:main');\n    }\n  });\n\n  EngineInstance.reopenClass({\n    /**\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-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, _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        _emberMetal.assert('No application initializer named \\'' + name + '\\'', !!initializer);\n        if (initializer.initialize.length === 2) {\n          _emberMetal.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        _emberMetal.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: new _emberUtils.EmptyObject(),\n    instanceInitializers: new _emberUtils.EmptyObject(),\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      _emberMetal.assert('The ' + humanName + ' \\'' + initializer.name + '\\' has already been registered', !this[bucketName][initializer.name]);\n      _emberMetal.assert('An ' + humanName + ' cannot be registered without an initialize function', _emberUtils.canInvoke(initializer, 'initialize'));\n      _emberMetal.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-runtime', 'ember-application/utils/validate-type', 'ember-glimmer'], function (exports, _emberUtils, _emberMetal, _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      _emberMetal.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 parsedName = this.parseName(fullName);\n      var resolveMethodName = parsedName.resolveMethodName;\n      var resolved;\n\n      if (this[resolveMethodName]) {\n        resolved = this[resolveMethodName](parsedName);\n      }\n\n      resolved = resolved || this.resolveOther(parsedName);\n\n      if (parsedName.root && parsedName.root.LOG_RESOLVER) {\n        this._logLookup(resolved, parsedName);\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        _emberMetal.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      _emberMetal.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-metal'], function (exports, _emberMetal) {\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      _emberMetal.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      _emberMetal.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-metal', 'ember-console', 'ember-environment', 'ember-debug/handlers'], function (exports, _emberMetal, _emberConsole, _emberEnvironment, _emberDebugHandlers) {\n  /*global __fail__*/\n\n  'use strict';\n\n  exports.registerHandler = registerHandler;\n  exports.default = deprecate;\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 _emberMetal.Error(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/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-metal', 'ember-environment', 'ember-console', 'ember-debug/deprecate', 'ember-debug/warn'], function (exports, _emberMetal, _emberEnvironment, _emberConsole, _emberDebugDeprecate, _emberDebugWarn) {\n  'use strict';\n\n  exports._warnIfUsingStrippedFeatureFlags = _warnIfUsingStrippedFeatureFlags;\n\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  _emberMetal.setDebugFunction('assert', function assert(desc, test) {\n    if (!test) {\n      throw new _emberMetal.Error('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  _emberMetal.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  _emberMetal.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  _emberMetal.setDebugFunction('deprecateFunc', function deprecateFunc() {\n    for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\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            _emberMetal.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            _emberMetal.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  _emberMetal.setDebugFunction('runInDebug', function runInDebug(func) {\n    func();\n  });\n\n  _emberMetal.setDebugFunction('debugSeal', function debugSeal(obj) {\n    Object.seal(obj);\n  });\n\n  _emberMetal.setDebugFunction('debugFreeze', function debugFreeze(obj) {\n    Object.freeze(obj);\n  });\n\n  _emberMetal.setDebugFunction('deprecate', _emberDebugDeprecate.default);\n\n  _emberMetal.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      _emberMetal.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        _emberMetal.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 (!_emberMetal.isTesting()) {\n    (function () {\n      // Complain if they're using FEATURE flags in builds other than canary\n      _emberMetal.FEATURES['features-stripped-test'] = true;\n      var featuresWereStripped = true;\n\n      if (false) {\n        featuresWereStripped = false;\n      }\n\n      delete _emberMetal.FEATURES['features-stripped-test'];\n      _warnIfUsingStrippedFeatureFlags(_emberEnvironment.ENV.FEATURES, _emberMetal.DEFAULT_FEATURES, 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;\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            _emberMetal.debug('For more advanced debugging, install the Ember Inspector from ' + downloadURL);\n          }\n        }, false);\n      }\n    })();\n  }\n  /**\n    @public\n    @class Ember.Debug\n  */\n  _emberMetal.default.Debug = {};\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  _emberMetal.default.Debug.registerDeprecationHandler = _emberDebugDeprecate.registerHandler;\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  _emberMetal.default.Debug.registerWarnHandler = _emberDebugWarn.registerHandler;\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    _emberMetal.warn('Please use `ember.debug.js` instead of `ember.js` for development and debugging.');\n  }\n});\n// reexports\nenifed('ember-debug/warn', ['exports', 'ember-console', 'ember-metal', 'ember-debug/handlers'], function (exports, _emberConsole, _emberMetal, _emberDebugHandlers) {\n  'use strict';\n\n  exports.registerHandler = registerHandler;\n  exports.default = warn;\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 (!options) {\n      _emberMetal.deprecate(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      _emberMetal.deprecate(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.apply(undefined, ['warn'].concat(babelHelpers.slice.call(arguments)));\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  // default false\n  ENV.MODEL_FACTORY_INJECTIONS = _emberEnvironmentUtils.defaultFalse(ENV.MODEL_FACTORY_INJECTIONS);\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 Extension](https://github.com/tildeio/ember-extension)\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', 'ember-application'], function (exports, _emberUtils, _emberMetal, _emberRuntime, _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        type = _emberUtils.getOwner(this)._lookupFactory('model:' + type);\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          // (especially when `EmberENV.MODEL_FACTORY_INJECTIONS` is `true`)\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-metal', 'ember-glimmer/utils/references', 'glimmer-reference', 'glimmer-runtime'], function (exports, _emberUtils, _emberViews, _emberRuntime, _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        _emberMetal.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      _emberMetal.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      _emberMetal.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-metal', 'ember-runtime', 'ember-views', 'ember-glimmer/templates/link-to', 'ember-glimmer/component'], function (exports, _emberConsole, _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      _emberMetal.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          _emberMetal.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          _emberMetal.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      _emberMetal.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-in=\"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-utils', 'ember-metal', 'ember-environment', 'ember-glimmer/component', 'ember-glimmer/templates/empty', 'ember-views'], function (exports, _emberUtils, _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 = new _emberUtils.EmptyObject();\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\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-views', 'glimmer-runtime', 'ember-glimmer/syntax/curly-component', 'ember-glimmer/syntax', 'ember-glimmer/syntax/dynamic-component', 'ember-glimmer/utils/iterable', 'ember-glimmer/utils/references', 'ember-glimmer/utils/debug-stack', 'ember-glimmer/helpers/if-unless', 'ember-glimmer/utils/bindings', 'ember-glimmer/helpers/action', 'ember-glimmer/helpers/component', 'ember-glimmer/helpers/concat', 'ember-glimmer/helpers/debugger', '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', 'ember-glimmer/modifiers/action'], function (exports, _emberUtils, _emberMetal, _emberViews, _glimmerRuntime, _emberGlimmerSyntaxCurlyComponent, _emberGlimmerSyntax, _emberGlimmerSyntaxDynamicComponent, _emberGlimmerUtilsIterable, _emberGlimmerUtilsReferences, _emberGlimmerUtilsDebugStack, _emberGlimmerHelpersIfUnless, _emberGlimmerUtilsBindings, _emberGlimmerHelpersAction, _emberGlimmerHelpersComponent, _emberGlimmerHelpersConcat, _emberGlimmerHelpersDebugger, _emberGlimmerHelpersGet, _emberGlimmerHelpersHash, _emberGlimmerHelpersLoc, _emberGlimmerHelpersLog, _emberGlimmerHelpersMut, _emberGlimmerHelpersReadonly, _emberGlimmerHelpersUnbound, _emberGlimmerHelpersClass, _emberGlimmerHelpersInputType, _emberGlimmerHelpersQueryParam, _emberGlimmerHelpersEachIn, _emberGlimmerHelpersNormalizeClass, _emberGlimmerHelpersHtmlSafe, _emberGlimmerProtocolForUrl, _emberGlimmerModifiersAction) {\n  'use strict';\n\n  var builtInComponents = {\n    textarea: '-text-area'\n  };\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 ComponentClass = _lookupComponent.component;\n        var layout = _lookupComponent.layout;\n\n        if (ComponentClass || layout) {\n          return new _emberGlimmerSyntaxCurlyComponent.CurlyComponentDefinition(name, ComponentClass, 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        debugger: _emberGlimmerHelpersDebugger.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      _emberMetal.runInDebug(function () {\n        return _this.debugStack = new _emberGlimmerUtilsDebugStack.default();\n      });\n    }\n\n    // Hello future traveler, welcome to the world of syntax refinement.\n    // The method below is called by Glimmer's runtime compiler to allow\n    // us to take generic statement syntax and refine it to more meaniful\n    // syntax for Ember's use case. This on the fly switch-a-roo sounds fine\n    // and dandy, however Ember has precedence on statement refinement that you\n    // need to be aware of. The presendence for language constructs is as follows:\n    //\n    // ------------------------\n    // Native & Built-in Syntax\n    // ------------------------\n    //   User-land components\n    // ------------------------\n    //     User-land helpers\n    // ------------------------\n    //\n    // The one caveat here is that Ember also allows for dashed references that are\n    // not a component or helper:\n    //\n    // export default Component.extend({\n    //   'foo-bar': 'LAME'\n    // });\n    //\n    // {{foo-bar}}\n    //\n    // The heuristic for the above situation is a dashed \"key\" in inline form\n    // that does not resolve to a defintion. In this case refine statement simply\n    // isn't going to return any syntax and the Glimmer engine knows how to handle\n    // this case.\n\n    Environment.prototype.refineStatement = function refineStatement(statement, symbolTable) {\n      var _this2 = this;\n\n      // 1. resolve any native syntax – if, unless, with, each, and partial\n      var nativeSyntax = _GlimmerEnvironment.prototype.refineStatement.call(this, statement, symbolTable);\n\n      if (nativeSyntax) {\n        return nativeSyntax;\n      }\n\n      var appendType = statement.appendType;\n      var isSimple = statement.isSimple;\n      var isInline = statement.isInline;\n      var isBlock = statement.isBlock;\n      var isModifier = statement.isModifier;\n      var key = statement.key;\n      var path = statement.path;\n      var args = statement.args;\n\n      _emberMetal.assert('You attempted to overwrite the built-in helper \"' + key + '\" which is not allowed. Please rename the helper.', !(this.builtInHelpers[key] && this.owner.hasRegistration('helper:' + key)));\n\n      if (isSimple && (isInline || isBlock) && appendType !== 'get') {\n        // 2. built-in syntax\n\n        var RefinedSyntax = _emberGlimmerSyntax.findSyntaxBuilder(key);\n        if (RefinedSyntax) {\n          return RefinedSyntax.create(this, args, symbolTable);\n        }\n\n        var internalKey = builtInComponents[key];\n        var definition = null;\n\n        if (internalKey) {\n          definition = this.getComponentDefinition([internalKey], symbolTable);\n        } else if (key.indexOf('-') >= 0) {\n          definition = this.getComponentDefinition(path, symbolTable);\n        }\n\n        if (definition) {\n          _emberGlimmerUtilsBindings.wrapComponentClassAttribute(args);\n\n          return new _emberGlimmerSyntaxCurlyComponent.CurlyComponentSyntax(args, definition, symbolTable);\n        }\n\n        _emberMetal.assert('A component or helper named \"' + key + '\" could not be found', !isBlock || this.hasHelper(path, symbolTable));\n      }\n\n      if (isInline && !isSimple && appendType !== 'helper') {\n        return statement.original.deopt();\n      }\n\n      if (!isSimple && path) {\n        return _emberGlimmerSyntaxDynamicComponent.DynamicComponentSyntax.fromPath(this, path, args, symbolTable);\n      }\n\n      _emberMetal.assert('Helpers may not be used in the block form, for example {{#' + key + '}}{{/' + key + '}}. Please use a component, or alternatively use the helper in combination with a built-in Ember helper, for example {{#if (' + key + ')}}{{/if}}.', !isBlock || !this.hasHelper(path, symbolTable));\n\n      _emberMetal.assert('Helpers may not be used in the element form.', (function () {\n        if (nativeSyntax) {\n          return true;\n        }\n        if (!key) {\n          return true;\n        }\n\n        if (isModifier && !_this2.hasModifier(path, symbolTable) && _this2.hasHelper(path, symbolTable)) {\n          return false;\n        }\n\n        return true;\n      })());\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(nameParts, symbolTable) {\n      _emberMetal.assert('The first argument passed into `hasHelper` should be an array', Array.isArray(nameParts));\n\n      // helpers are not allowed to include a dot in their invocation\n      if (nameParts.length > 1) {\n        return false;\n      }\n\n      var name = nameParts[0];\n\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(nameParts, symbolTable) {\n      _emberMetal.assert('The first argument passed into `lookupHelper` should be an array', Array.isArray(nameParts));\n\n      var name = nameParts[0];\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      helper = 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 (helper.isHelperInstance) {\n        return function (vm, args) {\n          return _emberGlimmerUtilsReferences.SimpleHelperReference.create(helper.compute, args);\n        };\n      } else if (helper.isHelperFactory) {\n        return function (vm, args) {\n          return _emberGlimmerUtilsReferences.ClassBasedHelperReference.create(helper, vm, args);\n        };\n      } else {\n        throw new Error(nameParts + ' is not a helper');\n      }\n    };\n\n    Environment.prototype.hasModifier = function hasModifier(nameParts) {\n      _emberMetal.assert('The first argument passed into `hasModifier` should be an array', Array.isArray(nameParts));\n\n      // modifiers are not allowed to include a dot in their invocation\n      if (nameParts.length > 1) {\n        return false;\n      }\n\n      return !!this.builtInModifiers[nameParts[0]];\n    };\n\n    Environment.prototype.lookupModifier = function lookupModifier(nameParts) {\n      _emberMetal.assert('The first argument passed into `lookupModifier` should be an array', Array.isArray(nameParts));\n\n      var modifier = this.builtInModifiers[nameParts[0]];\n\n      if (modifier) {\n        return modifier;\n      } else {\n        throw new Error(nameParts + ' 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  _emberMetal.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        _emberMetal.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        _emberMetal.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'], function (exports, _emberUtils, _emberMetal, _emberGlimmerUtilsReferences, _glimmerRuntime, _glimmerReference) {\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    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    ```js\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    ```js\n    // app/components/my-component.js\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    ```js\n    // app/helpers/disable-bubbling.js\n    import Ember from 'ember';\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    ```handlebars\n    {{! app/templates/application.hbs }}\n    <div {{action \"anActionName\" target=someService}}>\n      click me\n    </div>\n    ```\n  \n    ```javascript\n    // app/controllers/application.js\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    _emberMetal.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    _emberMetal.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        _emberMetal.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        _emberMetal.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-metal'], function (exports, _emberUtils, _emberGlimmerUtilsReferences, _emberGlimmerSyntaxCurlyComponent, _glimmerRuntime, _emberMetal) {\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      this.defRef = args.positional.at(0);\n      this.env = env;\n      this.tag = args.positional.at(0).tag;\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        definition = env.getComponentDefinition([nameOrDef], symbolTable);\n        _emberMetal.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        _emberMetal.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  function curryArgs(definition, newArgs) {\n    var args = definition.args;\n    var ComponentClass = definition.ComponentClass;\n    var positionalParams = ComponentClass.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), _glimmerRuntime.Blocks.empty());\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/debugger', ['exports', 'ember-metal/debug', 'glimmer-runtime'], function (exports, _emberMetalDebug, _glimmerRuntime) {\n  /*jshint debug:true*/\n\n  /**\n  @module ember\n  @submodule ember-htmlbars\n  */\n\n  'use strict';\n\n  exports.default = debuggerHelper;\n  exports.setDebuggerCallback = setDebuggerCallback;\n  exports.resetDebuggerCallback = resetDebuggerCallback;\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 block variables. 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  function defaultCallback(context, get) {\n    /* jshint debug: true */\n\n    _emberMetalDebug.info('Use `context`, and `get(<path>)` to debug this template.');\n\n    debugger;\n  }\n\n  var callback = defaultCallback;\n\n  function debuggerHelper(vm, args, symbolTable) {\n    var context = vm.getSelf().value();\n\n    // Note: this is totally an overkill since we are only compiling\n    // expressions, but this is the only kind of SymbolLookup we can\n    // construct. The symbol table itself should really be sufficient\n    // here – we should refactor the Glimmer code to make that possible.\n    var symbolLookup = new _glimmerRuntime.CompileIntoList(vm.env, symbolTable);\n\n    function get(path) {\n      // Problem: technically, we are getting a `PublicVM` here, but to\n      // evaluate an expression it requires the full VM. We happen to know\n      // that they are the same thing, so this would work for now. However\n      // this might break in the future.\n      return _glimmerRuntime.GetSyntax.build(path).compile(symbolLookup).evaluate(vm).value();\n    }\n\n    callback(context, get);\n\n    return _glimmerRuntime.UNDEFINED_REFERENCE;\n  }\n\n  // These are exported for testing\n\n  function setDebuggerCallback(newCallback) {\n    callback = newCallback;\n  }\n\n  function resetDebuggerCallback() {\n    callback = defaultCallback;\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      @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-metal', 'ember-glimmer/utils/references', 'glimmer-reference'], function (exports, _emberMetal, _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  /**\n    Use the `if` block helper to conditionally render a block depending on a\n    property. If the property is \"falsey\", for example: `false`, `undefined`,\n    `null`, `\"\"`, `0`, `NaN` or an empty array, the block will not be rendered.\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    You can use `if` inline to conditionally render a single property or string.\n    This helper acts like a ternary operator. If the first property is truthy,\n    the second argument will be displayed, if not, the third argument will be\n    displayed\n  \n    ```handlebars\n    {{if useLongGreeting \"Hello\" \"Hi\"}} Dave\n    ```\n  \n    Finally, you can use the `if` helper inside another helper as a subexpression.\n  \n    ```handlebars\n    {{some-component height=(if isBig \"100\" \"10\")}}\n    ```\n  \n    @method if\n    @for Ember.Templates.helpers\n    @public\n  */\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 inline `if` helper conditionally renders a single property or string.\n      This helper acts like a ternary operator. If the first property is truthy,\n      the second argument will be displayed, otherwise, the third argument will be\n      displayed\n    \n      ```handlebars\n      {{if useLongGreeting \"Hello\" \"Hi\"}} Alex\n      ```\n    \n      You can use the `if` helper inside another helper as a subexpression.\n    \n      ```handlebars\n      {{some-component height=(if isBig \"100\" \"10\")}}\n      ```\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        _emberMetal.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        _emberMetal.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-metal', 'ember-glimmer/utils/references', 'ember-glimmer/helpers/action'], function (exports, _emberUtils, _emberMetal, _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    _emberMetal.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-metal', 'ember-routing'], function (exports, _emberUtils, _emberGlimmerUtilsReferences, _emberMetal, _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    _emberMetal.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-metal', 'ember-glimmer/utils/references'], function (exports, _emberMetal, _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    _emberMetal.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/syntax', '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'], function (exports, _emberGlimmerHelpersAction, _emberGlimmerTemplatesRoot, _emberGlimmerSyntax, _emberGlimmerTemplate, _emberGlimmerComponentsCheckbox, _emberGlimmerComponentsText_field, _emberGlimmerComponentsText_area, _emberGlimmerComponentsLinkTo, _emberGlimmerComponent, _emberGlimmerHelper, _emberGlimmerEnvironment, _emberGlimmerMakeBoundHelper, _emberGlimmerUtilsString, _emberGlimmerRenderer, _emberGlimmerTemplate_registry, _emberGlimmerSetupRegistry, _emberGlimmerDom) {\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.registerSyntax = _emberGlimmerSyntax.registerSyntax;\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});\nenifed('ember-glimmer/make-bound-helper', ['exports', 'ember-metal', 'ember-glimmer/helper'], function (exports, _emberMetal, _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    _emberMetal.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-views', 'ember-glimmer/helpers/action'], function (exports, _emberUtils, _emberMetal, _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      var actions = _emberViews.ActionManager.registeredActions[actionId];\n\n      if (!actions) {\n        actions = _emberViews.ActionManager.registeredActions[actionId] = [];\n      }\n\n      actions.push(actionState);\n\n      return actionId;\n    },\n\n    unregisterAction: function (actionState) {\n      var actionId = actionState.actionId;\n\n      var actions = _emberViews.ActionManager.registeredActions[actionId];\n\n      if (!actions) {\n        return;\n      }\n\n      var index = actions.indexOf(actionState);\n\n      if (index !== -1) {\n        actions.splice(index, 1);\n      }\n\n      if (actions.length === 0) {\n        delete _emberViews.ActionManager.registeredActions[actionId];\n      }\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          _emberMetal.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          _emberMetal.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      actionState.eventName = actionState.getEventName();\n\n      // Not sure if this is needed? If we mutate the actionState is that good enough?\n      ActionHelper.unregisterAction(actionState);\n      ActionHelper.registerAction(actionState);\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'], function (exports, _emberGlimmerUtilsReferences, _emberMetal, _glimmerReference, _emberViews, _emberGlimmerComponent, _emberGlimmerSyntaxCurlyComponent, _emberGlimmerSyntaxOutlet) {\n  'use strict';\n\n  var runInTransaction = undefined;\n\n  if (true || false) {\n    runInTransaction = _emberMetal.runInTransaction;\n  } else {\n    runInTransaction = function (context, methodName) {\n      context[methodName]();\n      return false;\n    };\n  }\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      _emberMetal.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      _emberMetal.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      _emberMetal.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 result = _this.result = template.render(self, parentElement, dynamicScope);\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    _emberMetal.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    _emberMetal.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      _emberMetal.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 = 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        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/syntax/input', 'glimmer-runtime'], function (exports, _emberGlimmerSyntaxRender, _emberGlimmerSyntaxOutlet, _emberGlimmerSyntaxMount, _emberGlimmerSyntaxDynamicComponent, _emberGlimmerSyntaxInput, _glimmerRuntime) {\n  'use strict';\n\n  exports.registerSyntax = registerSyntax;\n  exports.findSyntaxBuilder = findSyntaxBuilder;\n\n  var syntaxKeys = [];\n  var syntaxes = [];\n\n  function registerSyntax(key, syntax) {\n    syntaxKeys.push(key);\n    syntaxes.push(syntax);\n  }\n\n  function findSyntaxBuilder(key) {\n    var index = syntaxKeys.indexOf(key);\n\n    if (index > -1) {\n      return syntaxes[index];\n    }\n  }\n\n  registerSyntax('render', _emberGlimmerSyntaxRender.RenderSyntax);\n  registerSyntax('outlet', _emberGlimmerSyntaxOutlet.OutletSyntax);\n  registerSyntax('mount', _emberGlimmerSyntaxMount.MountSyntax);\n  registerSyntax('component', _emberGlimmerSyntaxDynamicComponent.DynamicComponentSyntax);\n  registerSyntax('input', _emberGlimmerSyntaxInput.InputSyntax);\n\n  registerSyntax('-with-dynamic-vars', (function () {\n    function _class() {\n      babelHelpers.classCallCheck(this, _class);\n    }\n\n    _class.create = function create(environment, args, symbolTable) {\n      return new _glimmerRuntime.WithDynamicVarsSyntax(args);\n    };\n\n    return _class;\n  })());\n\n  registerSyntax('-in-element', (function () {\n    function _class2() {\n      babelHelpers.classCallCheck(this, _class2);\n    }\n\n    _class2.create = function create(environment, args, symbolTable) {\n      return new _glimmerRuntime.InElementSyntax(args);\n    };\n\n    return _class2;\n  })());\n});\nenifed('ember-glimmer/syntax/abstract-manager', ['exports', 'ember-metal'], function (exports, _emberMetal) {\n  'use strict';\n\n  var AbstractManager = function AbstractManager() {\n    babelHelpers.classCallCheck(this, AbstractManager);\n  };\n\n  _emberMetal.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-views', 'ember-glimmer/utils/process-args', 'container', 'ember-glimmer/syntax/abstract-manager'], function (exports, _emberUtils, _glimmerRuntime, _emberGlimmerUtilsBindings, _emberGlimmerComponent, _emberMetal, _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    _emberMetal.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    _emberMetal.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    _emberMetal.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    _emberMetal.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    _emberMetal.runInDebug(function () {\n      if (!named || !positional || !positional.length) {\n        return;\n      }\n\n      var paramType = typeof positionalParamsDefinition;\n\n      if (paramType === 'string') {\n        _emberMetal.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          _emberMetal.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      _emberMetal.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  var CurlyComponentSyntax = (function (_StatementSyntax) {\nbabelHelpers.inherits(CurlyComponentSyntax, _StatementSyntax);\n\n    function CurlyComponentSyntax(args, definition, symbolTable) {\nbabelHelpers.classCallCheck(this, CurlyComponentSyntax);\n\n      _StatementSyntax.call(this);\n      this.args = args;\n      this.definition = definition;\n      this.symbolTable = symbolTable;\n      this.shadow = null;\n    }\n\n    CurlyComponentSyntax.prototype.compile = function compile(builder) {\n      builder.component.static(this.definition, this.args, this.symbolTable, this.shadow);\n    };\n\n    return CurlyComponentSyntax;\n  })(_glimmerRuntime.StatementSyntax);\n\n  exports.CurlyComponentSyntax = CurlyComponentSyntax;\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      validatePositionalParameters(args.named, args.positional.values, definition.ComponentClass.positionalParams);\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      _emberMetal.runInDebug(function () {\n        return _this._pushToDebugStack('component:' + definition.name, environment);\n      });\n\n      var parentView = dynamicScope.view;\n\n      var klass = definition.ComponentClass;\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 = klass.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      processComponentInitializationAssertions(component, props);\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      _emberMetal.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      _emberMetal.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        component.trigger('didUpdateAttrs', { oldAttrs: oldAttrs, newAttrs: newAttrs });\n        component.trigger('didReceiveAttrs', { oldAttrs: oldAttrs, newAttrs: 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      _emberMetal.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;\n\n      _emberMetal.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      processComponentInitializationAssertions(component, {});\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, instance);\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-metal'], function (exports, _glimmerRuntime, _glimmerReference, _emberMetal) {\n  'use strict';\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  var DynamicComponentSyntax = (function (_StatementSyntax) {\n    babelHelpers.inherits(DynamicComponentSyntax, _StatementSyntax);\n\n    // for {{component componentName}}\n\n    DynamicComponentSyntax.create = function create(environment, args, symbolTable) {\n      var definitionArgs = _glimmerRuntime.ArgsSyntax.fromPositionalArgs(args.positional.slice(0, 1));\n      var invocationArgs = _glimmerRuntime.ArgsSyntax.build(args.positional.slice(1), args.named, args.blocks);\n\n      return new this(definitionArgs, invocationArgs, symbolTable);\n    };\n\n    // Transforms {{foo.bar with=args}} or {{#foo.bar with=args}}{{/foo.bar}}\n    // into {{component foo.bar with=args}} or\n    // {{#component foo.bar with=args}}{{/component}}\n    // with all of it's arguments\n\n    DynamicComponentSyntax.fromPath = function fromPath(environment, path, args, symbolTable) {\n      var positional = _glimmerRuntime.ArgsSyntax.fromPositionalArgs(_glimmerRuntime.PositionalArgsSyntax.build([_glimmerRuntime.GetSyntax.build(path.join('.'))]));\n\n      return new this(positional, args, symbolTable);\n    };\n\n    function DynamicComponentSyntax(definitionArgs, args, symbolTable) {\n      babelHelpers.classCallCheck(this, DynamicComponentSyntax);\n\n      _StatementSyntax.call(this);\n      this.definition = dynamicComponentFor;\n      this.definitionArgs = definitionArgs;\n      this.args = args;\n      this.symbolTable = symbolTable;\n      this.shadow = null;\n    }\n\n    DynamicComponentSyntax.prototype.compile = function compile(builder) {\n      builder.component.dynamic(this.definitionArgs, this.definition, this.args, this.symbolTable, this.shadow);\n    };\n\n    return DynamicComponentSyntax;\n  })(_glimmerRuntime.StatementSyntax);\n\n  exports.DynamicComponentSyntax = DynamicComponentSyntax;\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        _emberMetal.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-metal', 'ember-glimmer/syntax/curly-component', 'ember-glimmer/syntax/dynamic-component', 'ember-glimmer/utils/bindings'], function (exports, _emberMetal, _emberGlimmerSyntaxCurlyComponent, _emberGlimmerSyntaxDynamicComponent, _emberGlimmerUtilsBindings) {\n  /**\n  @module ember\n  @submodule ember-glimmer\n  */\n  'use strict';\n\n  function buildTextFieldSyntax(args, getDefinition, symbolTable) {\n    var definition = getDefinition('-text-field');\n    _emberGlimmerUtilsBindings.wrapComponentClassAttribute(args);\n    return new _emberGlimmerSyntaxCurlyComponent.CurlyComponentSyntax(args, definition, symbolTable);\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  var InputSyntax = {\n    create: function (environment, args, symbolTable) {\n      var getDefinition = function (path) {\n        return environment.getComponentDefinition([path], symbolTable);\n      };\n\n      if (args.named.has('type')) {\n        var typeArg = args.named.at('type');\n        if (typeArg.type === 'value') {\n          if (typeArg.value === 'checkbox') {\n            _emberMetal.assert('{{input type=\\'checkbox\\'}} does not support setting `value=someBooleanValue`; ' + 'you must use `checked=someBooleanValue` instead.', !args.named.has('value'));\n\n            _emberGlimmerUtilsBindings.wrapComponentClassAttribute(args);\n            var definition = getDefinition('-checkbox');\n            return new _emberGlimmerSyntaxCurlyComponent.CurlyComponentSyntax(args, definition, symbolTable);\n          } else {\n            return buildTextFieldSyntax(args, getDefinition, symbolTable);\n          }\n        }\n      } else {\n        return buildTextFieldSyntax(args, getDefinition, symbolTable);\n      }\n\n      return _emberGlimmerSyntaxDynamicComponent.DynamicComponentSyntax.create(environment, args, symbolTable);\n    }\n  };\n  exports.InputSyntax = InputSyntax;\n});\nenifed('ember-glimmer/syntax/mount', ['exports', 'glimmer-runtime', 'glimmer-reference', 'ember-metal', 'ember-glimmer/utils/references', 'ember-routing', 'ember-glimmer/syntax/outlet', 'ember-glimmer/syntax/abstract-manager'], function (exports, _glimmerRuntime, _glimmerReference, _emberMetal, _emberGlimmerUtilsReferences, _emberRouting, _emberGlimmerSyntaxOutlet, _emberGlimmerSyntaxAbstractManager) {\n  /**\n  @module ember\n  @submodule ember-glimmer\n  */\n  'use strict';\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  var MountSyntax = (function (_StatementSyntax) {\n    babelHelpers.inherits(MountSyntax, _StatementSyntax);\n\n    MountSyntax.create = function create(env, args, symbolTable) {\n      _emberMetal.assert('You can only pass a single argument to the {{mount}} helper, e.g. {{mount \"chat-engine\"}}.', args.positional.length === 1 && args.named.length === 0);\n\n      _emberMetal.assert('The first argument of {{mount}} must be quoted, e.g. {{mount \"chat-engine\"}}.', args.positional.at(0).type === 'value' && typeof args.positional.at(0).inner() === 'string');\n\n      var name = args.positional.at(0).inner();\n\n      _emberMetal.assert('You used `{{mount \\'' + name + '\\'}}`, but the engine \\'' + name + '\\' can not be found.', env.owner.hasRegistration('engine:' + name));\n\n      var definition = new MountDefinition(name, env);\n\n      return new MountSyntax(definition, symbolTable);\n    };\n\n    function MountSyntax(definition, symbolTable) {\n      babelHelpers.classCallCheck(this, MountSyntax);\n\n      _StatementSyntax.call(this);\n      this.definition = definition;\n      this.symbolTable = symbolTable;\n    }\n\n    MountSyntax.prototype.compile = function compile(builder) {\n      builder.component.static(this.definition, _glimmerRuntime.ArgsSyntax.empty(), null, this.symbolTable, null);\n    };\n\n    return MountSyntax;\n  })(_glimmerRuntime.StatementSyntax);\n\n  exports.MountSyntax = MountSyntax;\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, _ref, args, dynamicScope) {\n      var name = _ref.name;\n      var env = _ref.env;\n\n      var _this = this;\n\n      _emberMetal.runInDebug(function () {\n        return _this._pushEngineToDebugStack('engine:' + name, env);\n      });\n\n      dynamicScope.outletState = _glimmerReference.UNDEFINED_REFERENCE;\n\n      var engine = env.owner.buildChildEngineInstance(name);\n\n      engine.boot();\n\n      return { engine: engine };\n    };\n\n    MountManager.prototype.layoutFor = function layoutFor(definition, _ref2, env) {\n      var engine = _ref2.engine;\n\n      var template = engine.lookup('template:application');\n      return env.getCompiledBlock(_emberGlimmerSyntaxOutlet.OutletLayoutCompiler, template);\n    };\n\n    MountManager.prototype.getSelf = function getSelf(_ref3) {\n      var engine = _ref3.engine;\n\n      var factory = engine._lookupFactory('controller:application') || _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(_ref4) {\n      var engine = _ref4.engine;\n\n      return engine;\n    };\n\n    MountManager.prototype.didCreateElement = function didCreateElement() {};\n\n    MountManager.prototype.didRenderLayout = function didRenderLayout() {\n      var _this2 = this;\n\n      _emberMetal.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, env) {\n      babelHelpers.classCallCheck(this, MountDefinition);\n\n      _ComponentDefinition.call(this, name, MOUNT_MANAGER, null);\n      this.env = env;\n    }\n\n    return MountDefinition;\n  })(_glimmerRuntime.ComponentDefinition);\n});\nenifed('ember-glimmer/syntax/outlet', ['exports', 'ember-utils', 'glimmer-runtime', 'ember-metal', 'ember-glimmer/utils/references', 'glimmer-reference', 'ember-glimmer/syntax/abstract-manager'], function (exports, _emberUtils, _glimmerRuntime, _emberMetal, _emberGlimmerUtilsReferences, _glimmerReference, _emberGlimmerSyntaxAbstractManager) {\n  /**\n  @module ember\n  @submodule ember-glimmer\n  */\n  'use strict';\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  var OutletSyntax = (function (_StatementSyntax) {\n    babelHelpers.inherits(OutletSyntax, _StatementSyntax);\n\n    OutletSyntax.create = function create(environment, args, symbolTable) {\n      var definitionArgs = _glimmerRuntime.ArgsSyntax.fromPositionalArgs(args.positional.slice(0, 1));\n      return new this(environment, definitionArgs, symbolTable);\n    };\n\n    function OutletSyntax(environment, args, symbolTable) {\n      babelHelpers.classCallCheck(this, OutletSyntax);\n\n      _StatementSyntax.call(this);\n      this.definitionArgs = args;\n      this.definition = outletComponentFor;\n      this.args = _glimmerRuntime.ArgsSyntax.empty();\n      this.symbolTable = symbolTable;\n      this.shadow = null;\n    }\n\n    OutletSyntax.prototype.compile = function compile(builder) {\n      builder.component.dynamic(this.definitionArgs, this.definition, this.args, this.symbolTable, this.shadow);\n    };\n\n    return OutletSyntax;\n  })(_glimmerRuntime.StatementSyntax);\n\n  exports.OutletSyntax = OutletSyntax;\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      _emberMetal.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      _emberMetal.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      _emberMetal.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-metal', 'ember-glimmer/utils/references', 'ember-routing', 'ember-glimmer/syntax/outlet', 'ember-glimmer/syntax/abstract-manager'], function (exports, _glimmerRuntime, _glimmerReference, _emberMetal, _emberGlimmerUtilsReferences, _emberRouting, _emberGlimmerSyntaxOutlet, _emberGlimmerSyntaxAbstractManager) {\n  /**\n  @module ember\n  @submodule ember-glimmer\n  */\n  'use strict';\n\n  function makeComponentDefinition(vm) {\n    var env = vm.env;\n    var args = vm.getArgs();\n    var nameRef = args.positional.at(0);\n\n    _emberMetal.assert('The first argument of {{render}} must be quoted, e.g. {{render \"sidebar\"}}.', _glimmerReference.isConst(nameRef));\n    _emberMetal.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    _emberMetal.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      _emberMetal.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      _emberMetal.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  var RenderSyntax = (function (_StatementSyntax) {\n    babelHelpers.inherits(RenderSyntax, _StatementSyntax);\n\n    RenderSyntax.create = function create(environment, args, symbolTable) {\n      return new this(environment, args, symbolTable);\n    };\n\n    function RenderSyntax(environment, args, symbolTable) {\n      babelHelpers.classCallCheck(this, RenderSyntax);\n\n      _StatementSyntax.call(this);\n      this.definitionArgs = args;\n      this.definition = makeComponentDefinition;\n      this.args = _glimmerRuntime.ArgsSyntax.fromPositionalArgs(args.positional.slice(1, 2));\n      this.symbolTable = symbolTable;\n      this.shadow = null;\n    }\n\n    RenderSyntax.prototype.compile = function compile(builder) {\n      builder.component.dynamic(this.definitionArgs, this.definition, this.args, this.symbolTable, this.shadow);\n    };\n\n    return RenderSyntax;\n  })(_glimmerRuntime.StatementSyntax);\n\n  exports.RenderSyntax = RenderSyntax;\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  _emberMetal.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      _emberMetal.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\n      var factory = env.owner._lookupFactory('controller:' + name) || _emberRouting.generateControllerFactory(env.owner, name);\n      var controller = factory.create({ model: modelRef.value() });\n\n      _emberMetal.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\": \"ZoGfVsSJ\", \"block\": \"{\\\"statements\\\":[[\\\"yield\\\",\\\"default\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"blocks\\\":[],\\\"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\": \"qEHL4OLi\", \"block\": \"{\\\"statements\\\":[],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"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\": \"Ca7iQMR7\", \"block\": \"{\\\"statements\\\":[[\\\"block\\\",[\\\"if\\\"],[[\\\"get\\\",[\\\"linkTitle\\\"]]],null,1,0]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"blocks\\\":[{\\\"statements\\\":[[\\\"yield\\\",\\\"default\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[\\\"append\\\",[\\\"unknown\\\",[\\\"linkTitle\\\"]],false]],\\\"locals\\\":[]}],\\\"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\": \"sYQo9vi/\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"unknown\\\",[\\\"outlet\\\"]],false]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"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\": \"Eaf3RPY3\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"component\\\"],[[\\\"get\\\",[null]]],null],false]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"ember-glimmer/templates/root.hbs\" } });\n});\nenifed('ember-glimmer/utils/bindings', ['exports', 'glimmer-reference', 'glimmer-runtime', 'ember-metal', 'ember-runtime', 'ember-glimmer/component', 'ember-glimmer/utils/string'], function (exports, _glimmerReference, _glimmerRuntime, _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(args) {\n    var named = args.named;\n\n    var index = named.keys.indexOf('class');\n\n    if (index !== -1) {\n      var _named$values$index = named.values[index];\n      var ref = _named$values$index.ref;\n      var type = _named$values$index.type;\n\n      if (type === 'get') {\n        var propName = ref.parts[ref.parts.length - 1];\n        named.values[index] = _glimmerRuntime.HelperSyntax.fromSpec(['helper', ['-class'], [['get', ref.parts], propName], null]);\n      }\n    }\n\n    return args;\n  }\n\n  var AttributeBinding = {\n    parse: function (microsyntax) {\n      var colonIndex = microsyntax.indexOf(':');\n\n      if (colonIndex === -1) {\n        _emberMetal.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        _emberMetal.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      _emberMetal.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-metal'], function (exports, _emberMetal) {\n  'use strict';\n\n  var DebugStack = undefined;\n\n  _emberMetal.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 = new _emberUtils.EmptyObject();\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 = new _emberUtils.EmptyObject();\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 = new _emberUtils.EmptyObject();\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);\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 = new _emberUtils.EmptyObject();\n      var args = new _emberUtils.EmptyObject();\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'], function (exports, _emberUtils, _emberMetal, _glimmerReference, _glimmerRuntime, _emberGlimmerUtilsToBool, _emberGlimmerHelper) {\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  // @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 = new _emberUtils.EmptyObject();\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          _emberMetal.runInDebug(function () {\n            if (_emberUtils.HAS_NATIVE_WEAKMAP) {\n              Object.freeze(positionalValue);\n              Object.freeze(namedValue);\n            }\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      _emberMetal.runInDebug(function () {\n        if (_emberUtils.HAS_NATIVE_WEAKMAP) {\n          Object.freeze(positionalValue);\n          Object.freeze(namedValue);\n        }\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      _emberMetal.runInDebug(function () {\n        if (_emberUtils.HAS_NATIVE_WEAKMAP) {\n          Object.freeze(positionalValue);\n          Object.freeze(namedValue);\n        }\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-metal'], function (exports, _emberMetal) {\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    _emberMetal.deprecate('Ember.Handlebars.SafeString is deprecated in favor of Ember.String.htmlSafe', !true, {\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 = new _emberUtils.EmptyObject();\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-metal/debug', 'ember-metal/property_get', 'ember-metal/property_set', 'ember-metal/error', 'ember-metal/properties', 'ember-metal/computed', 'ember-metal/meta', 'ember-metal/dependent_keys'], function (exports, _emberUtils, _emberMetalDebug, _emberMetalProperty_get, _emberMetalProperty_set, _emberMetalError, _emberMetalProperties, _emberMetalComputed, _emberMetalMeta, _emberMetalDependent_keys) {\n  'use strict';\n\n  exports.default = alias;\n  exports.AliasedProperty = AliasedProperty;\n\n  var CONSUMED = {};\n\n  function alias(altKey) {\n    return new AliasedProperty(altKey);\n  }\n\n  function AliasedProperty(altKey) {\n    this.isDescriptor = true;\n    this.altKey = altKey;\n    this._dependentKeys = [altKey];\n  }\n\n  AliasedProperty.prototype = Object.create(_emberMetalProperties.Descriptor.prototype);\n\n  AliasedProperty.prototype.setup = function (obj, keyName) {\n    _emberMetalDebug.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 (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 (obj, keyName) {\n    _emberMetalDependent_keys.addDependentKeys(this, obj, keyName, _emberMetalMeta.meta(obj));\n  };\n\n  AliasedProperty.prototype.didUnwatch = function (obj, keyName) {\n    _emberMetalDependent_keys.removeDependentKeys(this, obj, keyName, _emberMetalMeta.meta(obj));\n  };\n\n  AliasedProperty.prototype.get = function AliasedProperty_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 AliasedProperty_set(obj, keyName, value) {\n    return _emberMetalProperty_set.set(obj, this.altKey, value);\n  };\n\n  AliasedProperty.prototype.readOnly = function () {\n    this.set = AliasedProperty_readOnlySet;\n    return this;\n  };\n\n  function AliasedProperty_readOnlySet(obj, keyName, value) {\n    throw new _emberMetalError.default('Cannot set read-only property \\'' + keyName + '\\' on object: ' + _emberUtils.inspect(obj));\n  }\n\n  AliasedProperty.prototype.oneWay = function () {\n    this.set = AliasedProperty_oneWaySet;\n    return this;\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-metal/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, _emberMetalDebug, _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  function Binding(toPath, fromPath) {\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  Binding.prototype = {\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    copy: function () {\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    from: function (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    to: function (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    oneWay: function () {\n      this._oneWay = true;\n      return this;\n    },\n\n    /**\n      @method toString\n      @return {String} string representation of binding\n      @public\n    */\n    toString: function () {\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    connect: function (obj) {\n      _emberMetalDebug.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    disconnect: function () {\n      _emberMetalDebug.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    fromDidChange: function (target) {\n      this._scheduleSync('fwd');\n    },\n\n    /* Called when the to side changes. */\n    toDidChange: function (target) {\n      this._scheduleSync('back');\n    },\n\n    _scheduleSync: function (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    _sync: function () {\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        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      } else if (direction === 'back') {\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\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    _emberMetalDebug.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    _emberMetalDebug.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    _emberMetalDebug.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-utils', 'ember-metal/meta'], function (exports, _emberUtils, _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 = new _emberUtils.EmptyObject();\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 = new _emberUtils.EmptyObject();\n    };\n\n    return DefaultStore;\n  })();\n});\nenifed('ember-metal/chains', ['exports', 'ember-utils', 'ember-metal/property_get', 'ember-metal/meta', 'ember-metal/watch_key', 'ember-metal/computed', 'ember-metal/watch_path'], function (exports, _emberUtils, _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  function ChainWatchers() {\n    // chain nodes that reference a key in this obj by key\n    // we only create ChainWatchers when we are going to add them\n    // so create this upfront\n    this.chains = new _emberUtils.EmptyObject();\n  }\n\n  ChainWatchers.prototype = {\n    add: function (key, node) {\n      var nodes = this.chains[key];\n      if (nodes === undefined) {\n        this.chains[key] = [node];\n      } else {\n        nodes.push(node);\n      }\n    },\n\n    remove: function (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    has: function (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    revalidateAll: function () {\n      for (var key in this.chains) {\n        this.notify(key, true, undefined);\n      }\n    },\n\n    revalidate: function (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    notify: function (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\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  function ChainNode(parent, key, value) {\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    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 = {};\n    if (this._watching) {\n      var obj = parent.value();\n\n      if (!isObject(obj)) {\n        return;\n      }\n\n      this._object = obj;\n\n      addChainWatcher(this._object, this._key, this);\n    }\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 && 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])) {\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  ChainNode.prototype = {\n    value: function () {\n      if (this._value === undefined && this._watching) {\n        var obj = this._parent.value();\n        this._value = lazyGet(obj, this._key);\n      }\n      return this._value;\n    },\n\n    destroy: function () {\n      if (this._watching) {\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    copy: function (obj) {\n      var ret = new ChainNode(null, null, obj);\n      var paths = this._paths;\n      var path = undefined;\n\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      return ret;\n    },\n\n    // called on the root node of a chain to setup watchers on the specified\n    // path.\n    add: function (path) {\n      var 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    remove: function (path) {\n      var paths = this._paths;\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    chain: function (key, path) {\n      var chains = this._chains;\n      var node = undefined;\n      if (chains === undefined) {\n        chains = this._chains = new _emberUtils.EmptyObject();\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    unchain: function (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    notify: function (revalidate, affected) {\n      if (revalidate && this._watching) {\n        var parentValue = this._parent.value();\n\n        if (parentValue !== this._object) {\n          if (this._object) {\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) {\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    populateAffected: function (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\n  function finishChains(obj) {\n    // We only create meta if we really have to\n    var m = _emberMetalMeta.peekMeta(obj);\n    if (m) {\n      m = _emberMetalMeta.meta(obj);\n\n      // finish any current chains node watchers that reference obj\n      var chainWatchers = m.readableChainWatchers();\n      if (chainWatchers) {\n        chainWatchers.revalidateAll();\n      }\n      // ensure that if we have inherited any chains they have been\n      // copied onto our own meta.\n      if (m.readableChains()) {\n        m.writableChains(_emberMetalWatch_path.makeChainNode);\n      }\n    }\n  }\n\n  exports.removeChainWatcher = removeChainWatcher;\n  exports.ChainNode = ChainNode;\n});\nenifed('ember-metal/computed', ['exports', 'ember-utils', 'ember-metal/debug', 'ember-metal/property_set', 'ember-metal/meta', 'ember-metal/expand_properties', 'ember-metal/error', 'ember-metal/properties', 'ember-metal/property_events', 'ember-metal/dependent_keys'], function (exports, _emberUtils, _emberMetalDebug, _emberMetalProperty_set, _emberMetalMeta, _emberMetalExpand_properties, _emberMetalError, _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      _emberMetalDebug.assert('Ember.computed expects a function or an object as last argument.', typeof config === 'object' && !Array.isArray(config));\n      _emberMetalDebug.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    _emberMetalDebug.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    _emberMetalDebug.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      _emberMetalDebug.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 _emberMetalError.default('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/debug\", [\"exports\"], function (exports) {\n  \"use strict\";\n\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  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  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-metal/dependent_keys', ['exports', 'ember-metal/watching'], function (exports, _emberMetalWatching) {\n  'no use strict';\n  // Remove \"use strict\"; from transpiled module until\n  // https://bugs.webkit.org/show_bug.cgi?id=138038 is fixed\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-metal/debug', 'ember-metal/property_get', 'ember-metal/property_set'], function (exports, _emberMetalDebug, _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      _emberMetalDebug.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\", [\"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  exports.default = EmberError;\n\n  function EmberError(message) {\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  EmberError.prototype = Object.create(Error.prototype);\n});\nenifed('ember-metal/error_handler', ['exports', 'ember-console', 'ember-metal/testing'], function (exports, _emberConsole, _emberMetalTesting) {\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 (_emberMetalTesting.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/debug', 'ember-metal/meta', 'ember-metal/meta_listeners'], function (exports, _emberUtils, _emberMetalDebug, _emberMetalMeta, _emberMetalMeta_listeners) {\n  'no use strict';\n  // Remove \"use strict\"; from transpiled module until\n  // https://bugs.webkit.org/show_bug.cgi?id=138038 is fixed\n\n  /**\n  @module ember\n  @submodule ember-metal\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    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    _emberMetalDebug.assert('You must pass at least an object and event name to Ember.addListener', !!obj && !!eventName);\n\n    _emberMetalDebug.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    _emberMetalDebug.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    return meta.matchingListeners(eventName).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-metal/debug'], function (exports, _emberMetalDebug) {\n  'use strict';\n\n  exports.default = expandProperties;\n\n  /**\n  @module ember\n  @submodule ember-metal\n  */\n\n  var SPLIT_REGEX = /\\{|\\}/;\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    _emberMetalDebug.assert('A computed property key must be a string', typeof pattern === 'string');\n    _emberMetalDebug.assert('Brace expanded properties cannot contain spaces, e.g. \"user.{firstName, lastName}\" should be \"user.{firstName,lastName}\"', pattern.indexOf(' ') === -1);\n    _emberMetalDebug.assert('Brace expanded properties have to be balanced and cannot be nested, pattern: ' + pattern, (function (str) {\n      var inBrace = 0;\n      var char = undefined;\n      for (var i = 0; i < str.length; i++) {\n        char = str.charAt(i);\n\n        if (char === '{') {\n          inBrace++;\n        } else if (char === '}') {\n          inBrace--;\n        }\n\n        if (inBrace > 1 || inBrace < 0) {\n          return false;\n        }\n      }\n\n      return true;\n    })(pattern));\n\n    var parts = pattern.split(SPLIT_REGEX);\n    var properties = [parts];\n\n    for (var i = 0; i < parts.length; i++) {\n      var part = parts[i];\n      if (part.indexOf(',') >= 0) {\n        properties = duplicateAndReplace(properties, part.split(','), i);\n      }\n    }\n\n    for (var i = 0; i < properties.length; i++) {\n      callback(properties[i].join('').replace(END_WITH_EACH_REGEX, '.[]'));\n    }\n  }\n\n  function duplicateAndReplace(properties, currentParts, index) {\n    var all = [];\n\n    properties.forEach(function (property) {\n      currentParts.forEach(function (part) {\n        var current = property.slice(0);\n        current[index] = part;\n        all.push(current);\n      });\n    });\n\n    return all;\n  }\n});\nenifed('ember-metal/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-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', 'require', 'ember-metal/core', 'ember-metal/computed', 'ember-metal/alias', 'ember-metal/merge', 'ember-metal/debug', 'ember-metal/instrumentation', 'ember-metal/testing', 'ember-metal/error_handler', 'ember-metal/meta', 'ember-metal/error', 'ember-metal/cache', 'ember-metal/features', '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, _require, _emberMetalCore, _emberMetalComputed, _emberMetalAlias, _emberMetalMerge, _emberMetalDebug, _emberMetalInstrumentation, _emberMetalTesting, _emberMetalError_handler, _emberMetalMeta, _emberMetalError, _emberMetalCache, _emberMetalFeatures, _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.assert = _emberMetalDebug.assert;\n  exports.info = _emberMetalDebug.info;\n  exports.warn = _emberMetalDebug.warn;\n  exports.debug = _emberMetalDebug.debug;\n  exports.deprecate = _emberMetalDebug.deprecate;\n  exports.deprecateFunc = _emberMetalDebug.deprecateFunc;\n  exports.runInDebug = _emberMetalDebug.runInDebug;\n  exports.setDebugFunction = _emberMetalDebug.setDebugFunction;\n  exports.getDebugFunction = _emberMetalDebug.getDebugFunction;\n  exports.debugSeal = _emberMetalDebug.debugSeal;\n  exports.debugFreeze = _emberMetalDebug.debugFreeze;\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.isTesting = _emberMetalTesting.isTesting;\n  exports.setTesting = _emberMetalTesting.setTesting;\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.Error = _emberMetalError.default;\n  exports.Cache = _emberMetalCache.default;\n  exports.isFeatureEnabled = _emberMetalFeatures.default;\n  exports.FEATURES = _emberMetalFeatures.FEATURES;\n  exports.DEFAULT_FEATURES = _emberMetalFeatures.DEFAULT_FEATURES;\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.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\n  // TODO: this needs to be deleted once we refactor the build tooling\n  // do this for side-effects of updating Ember.assert, warn, etc when\n  // ember-debug is present\n  // This needs to be called before any deprecateFunc\n\n  if (_require.has('ember-debug')) {\n    _require.default('ember-debug');\n  }\n});\nenifed('ember-metal/injected_property', ['exports', 'ember-utils', 'ember-metal/debug', 'ember-metal/computed', 'ember-metal/alias', 'ember-metal/properties'], function (exports, _emberUtils, _emberMetalDebug, _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    _emberMetalDebug.assert('InjectedProperties should be defined with the Ember.inject computed property macros.', desc && desc.isDescriptor && desc.type);\n    _emberMetalDebug.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-metal/features'], function (exports, _emberEnvironment, _emberMetalFeatures) {\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      return result;\n    }\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-metal/debug', 'ember-metal/features'], function (exports, _emberMetalDebug, _emberMetalFeatures) {\n  'use strict';\n\n  exports.Libraries = Libraries;\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  function Libraries() {\n    this._registry = [];\n    this._coreLibIndex = 0;\n  }\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        _emberMetalDebug.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 = new _emberUtils.EmptyObject();\n\n    for (var prop in obj) {\n      // hasOwnPropery is not needed because obj is new EmptyObject();\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 = new _emberUtils.EmptyObject();\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 = new _emberUtils.EmptyObject();\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 = new _emberUtils.EmptyObject();\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/features', 'ember-metal/meta_listeners', 'ember-metal/debug', 'ember-metal/chains', 'require'], function (exports, _emberUtils, _emberMetalFeatures, _emberMetalMeta_listeners, _emberMetalDebug, _emberMetalChains, _require) {\n  'no use strict';\n  // Remove \"use strict\"; from transpiled module until\n  // https://bugs.webkit.org/show_bug.cgi?id=138038 is fixed\n\n  exports.Meta = Meta;\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  function Meta(obj, parentMeta) {\n    var _this = this;\n\n    _emberMetalDebug.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\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      _emberMetalDebug.runInDebug(function () {\n        _this._lastRenderedReferenceMap = undefined;\n        _this._lastRenderedTemplateMap = undefined;\n      });\n    }\n\n    this._initializeListeners();\n  }\n\n  Meta.prototype.isInitialized = function (obj) {\n    return this.proto !== obj;\n  };\n\n  var NODE_STACK = [];\n\n  Meta.prototype.destroy = function () {\n    if (this.isMetaDestroyed()) {\n      return;\n    }\n\n    // remove chainWatchers to remove circular references that would prevent GC\n    var node = undefined,\n        nodes = undefined,\n        key = undefined,\n        nodeObject = undefined;\n    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  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  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  // 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  Meta.prototype._getOrCreateOwnMap = function (key) {\n    var ret = this[key];\n    if (!ret) {\n      ret = this[key] = new _emberUtils.EmptyObject();\n    }\n    return ret;\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      _emberMetalDebug.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 = new _emberUtils.EmptyObject();\n      while (pointer !== undefined) {\n        var map = pointer[key];\n        if (map) {\n          for (var _key in map) {\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      _emberMetalDebug.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  Meta.prototype._getInherited = function (key) {\n    var pointer = this;\n    while (pointer !== undefined) {\n      if (pointer[key]) {\n        return pointer[key];\n      }\n      pointer = pointer.parent;\n    }\n  };\n\n  Meta.prototype._findInherited = function (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  var UNDEFINED = _emberUtils.symbol('undefined');\n\n  exports.UNDEFINED = UNDEFINED;\n  // Implements a member that provides a lazily created map of maps,\n  // with inheritance at both levels.\n  Meta.prototype.writeDeps = function writeDeps(subkey, itemkey, value) {\n    _emberMetalDebug.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] = new _emberUtils.EmptyObject();\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          if (value[itemkey] !== undefined) {\n            return value[itemkey];\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 (key, subkey, fn) {\n    var pointer = this;\n    var seen = new _emberUtils.EmptyObject();\n    var calls = [];\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            if (!seen[innerKey]) {\n              seen[innerKey] = true;\n              calls.push([innerKey, innerMap[innerKey]]);\n            }\n          }\n        }\n      }\n      pointer = pointer.parent;\n    }\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  // 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      _emberMetalDebug.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      _emberMetalDebug.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 map[subkey];\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        _emberMetalDebug.runInDebug(function () {\n          return counters.setCalls++;\n        });\n        metaStore.set(obj, meta);\n      };\n\n      exports.peekMeta = peekMeta = function WeakMap_peekMeta(obj) {\n        _emberMetalDebug.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          _emberMetalDebug.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          _emberMetalDebug.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    _emberMetalDebug.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    _emberMetalDebug.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 = [];\n      while (pointer) {\n        var listeners = pointer._listeners;\n        if (listeners) {\n          for (var index = 0; index < listeners.length - 3; index += 4) {\n            if (listeners[index] === eventName) {\n              pushUniqueListener(result, listeners, index);\n            }\n          }\n        }\n        if (pointer._listenersFinalized) {\n          break;\n        }\n        pointer = pointer.parent;\n      }\n      var sus = this._suspendedListeners;\n      if (sus) {\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-metal/error', 'ember-metal/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, _emberMetalError, _emberMetalDebug, _emberMetalMeta, _emberMetalExpand_properties, _emberMetalProperties, _emberMetalComputed, _emberMetalBinding, _emberMetalObserver, _emberMetalEvents) {\n  'no use strict';\n  // Remove \"use strict\"; from transpiled module until\n  // https://bugs.webkit.org/show_bug.cgi?id=138038 is fixed\n\n  /**\n  @module ember\n  @submodule ember-metal\n  */\n  exports.detectBinding = detectBinding;\n  exports.mixin = mixin;\n  exports.default = 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  function ROOT() {}\n  ROOT.__hasSuper = false;\n\n  var a_slice = [].slice;\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    var concats = undefined;\n\n    // reset before adding each new mixin to pickup concats from previous\n    concats = values[concatProp] || base[concatProp];\n    if (props[concatProp]) {\n      concats = concats ? concats.concat(props[concatProp]) : props[concatProp];\n    }\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) {\n      if ('function' === typeof baseValue.concat) {\n        if (value === null || value === undefined) {\n          ret = baseValue;\n        } else {\n          ret = baseValue.concat(value);\n        }\n      } else {\n        ret = _emberUtils.makeArray(baseValue).concat(value);\n      }\n    } else {\n      ret = _emberUtils.makeArray(value);\n    }\n\n    _emberMetalDebug.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    _emberMetalDebug.runInDebug(function () {\n      if (Array.isArray(value)) {\n        // use conditional to avoid stringifying every time\n        _emberMetalDebug.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 = 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, m, 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      _emberMetalDebug.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(m, 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], m, 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, m, 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, m) {\n    // TODO Mixin.apply(instance) should disconnect binding if exists\n    m.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    m.clearBindings();\n  }\n\n  function finishPartial(obj, m) {\n    connectBindings(obj, m || _emberMetalMeta.meta(obj));\n    return obj;\n  }\n\n  function followAlias(obj, desc, m, 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 m = _emberMetalMeta.meta(obj);\n    var keys = [];\n    var key = undefined,\n        value = undefined,\n        desc = undefined;\n\n    obj._super = 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, m, 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, m, 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        m.writeBindings(key, value);\n      }\n\n      _emberMetalProperties.defineProperty(obj, key, desc, value, m);\n    }\n\n    if (!partial) {\n      // don't apply to prototype\n      finishPartial(obj, m);\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(post: somePost);\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  function Mixin(args, properties) {\n    this.properties = properties;\n\n    var length = args && args.length;\n\n    if (length > 0) {\n      var m = new Array(length);\n\n      for (var i = 0; i < length; i++) {\n        var x = args[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    _emberMetalDebug.debugSeal(this);\n  }\n\n  Mixin._apply = applyMixin;\n\n  Mixin.applyPartial = function (obj) {\n    var args = a_slice.call(arguments, 1);\n    return applyMixin(obj, args, true);\n  };\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  /**\n    @method create\n    @static\n    @param arguments*\n    @public\n  */\n  Mixin.create = function () {\n    // ES6TODO: this relies on a global state?\n    unprocessedFlag = true;\n    var M = this;\n\n    for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n      args[_key2] = arguments[_key2];\n    }\n\n    return new M(args, undefined);\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      _emberMetalDebug.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 m = _emberMetalMeta.peekMeta(obj);\n    if (!m) {\n      return false;\n    }\n    return !!m.peekMixins(_emberUtils.guidFor(this));\n  };\n\n  MixinPrototype.without = function () {\n    var ret = new Mixin([this]);\n\n    for (var _len3 = arguments.length, args = Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n      args[_key3] = arguments[_key3];\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  _emberMetalDebug.debugSeal(MixinPrototype);\n\n  // returns the mixins currently applied to the specified object\n  // TODO: Make Ember.mixin\n  Mixin.mixins = function (obj) {\n    var m = _emberMetalMeta.peekMeta(obj);\n    var ret = [];\n    if (!m) {\n      return ret;\n    }\n\n    m.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  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    _emberMetalDebug.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 _len4 = arguments.length, args = Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n      args[_key4] = arguments[_key4];\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      _emberMetalDebug.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 _emberMetalError.default('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    _emberMetalDebug.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      _emberMetalDebug.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 _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\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 _emberMetalError.default('_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  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  exports.default = ObserverSet;\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  function ObserverSet() {\n    this.clear();\n  }\n\n  ObserverSet.prototype.add = function (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 () {\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 () {\n    this.observerSet = {};\n    this.observers = [];\n  };\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-metal/debug', 'ember-metal/features', 'ember-metal/meta', 'ember-metal/property_events'], function (exports, _emberMetalDebug, _emberMetalFeatures, _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\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        _emberMetalDebug.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    var possibleDesc = undefined,\n        existingDesc = undefined,\n        watching = undefined,\n        value = undefined;\n\n    if (!meta) {\n      meta = _emberMetalMeta.meta(obj);\n    }\n    var watchEntry = meta.peekWatching(keyName);\n    possibleDesc = obj[keyName];\n    existingDesc = possibleDesc !== null && typeof possibleDesc === 'object' && possibleDesc.isDescriptor ? possibleDesc : undefined;\n\n    watching = watchEntry !== undefined && watchEntry > 0;\n\n    if (existingDesc) {\n      existingDesc.teardown(obj, keyName);\n    }\n\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      if (desc.setup) {\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 (obj.didDefineProperty) {\n      obj.didDefineProperty(obj, keyName, value);\n    }\n\n    return this;\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-metal/features', 'ember-metal/transaction'], function (exports, _emberUtils, _emberMetalMeta, _emberMetalEvents, _emberMetalTags, _emberMetalObserver_set, _emberMetalFeatures, _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-metal/debug', 'ember-metal/path_cache'], function (exports, _emberMetalDebug, _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    _emberMetalDebug.assert('Get must be called with two arguments; an object and a property key', arguments.length === 2);\n    _emberMetalDebug.assert('Cannot call get with \\'' + keyName + '\\' on an undefined object.', obj !== undefined && obj !== null);\n    _emberMetalDebug.assert('The key provided to get must be a string, you passed ' + keyName, typeof keyName === 'string');\n    _emberMetalDebug.assert('\\'this\\' in paths is not supported', !_emberMetalPath_cache.hasThis(keyName));\n    _emberMetalDebug.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-metal/debug', 'ember-metal/features', 'ember-metal/property_get', 'ember-metal/property_events', 'ember-metal/error', 'ember-metal/path_cache', 'ember-metal/meta'], function (exports, _emberUtils, _emberMetalDebug, _emberMetalFeatures, _emberMetalProperty_get, _emberMetalProperty_events, _emberMetalError, _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    _emberMetalDebug.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    _emberMetalDebug.assert('Cannot call set with \\'' + keyName + '\\' on an undefined object.', obj && typeof obj === 'object' || typeof obj === 'function');\n    _emberMetalDebug.assert('The key provided to set must be a string, you passed ' + keyName, typeof keyName === 'string');\n    _emberMetalDebug.assert('\\'this\\' in paths is not supported', !_emberMetalPath_cache.hasThis(keyName));\n    _emberMetalDebug.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      _emberMetalDebug.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 _emberMetalError.default('Property set failed: You passed an empty path');\n    }\n\n    if (!root) {\n      if (tolerant) {\n        return;\n      } else {\n        throw new _emberMetalError.default('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-metal/debug', 'ember-metal/testing', 'ember-metal/error_handler', 'ember-metal/property_events', 'backburner'], function (exports, _emberUtils, _emberMetalDebug, _emberMetalTesting, _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    _emberMetalDebug.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 || !_emberMetalTesting.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    _emberMetalDebug.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 || !_emberMetalTesting.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    _emberMetalDebug.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 || !_emberMetalTesting.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/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-metal/transaction', ['exports', 'ember-metal/meta', 'ember-metal/debug', 'ember-metal/features'], function (exports, _emberMetalMeta, _emberMetalDebug, _emberMetalFeatures) {\n  'use strict';\n\n  var runInTransaction = undefined,\n      didRender = undefined,\n      assertNotRendered = undefined;\n\n  var raise = _emberMetalDebug.assert;\n  if (false) {\n    raise = function (message, test) {\n      _emberMetalDebug.deprecate(message, test, { id: 'ember-views.render-double-modify', until: '3.0.0' });\n    };\n  }\n\n  var implication = undefined;\n  if (false) {\n    implication = 'will be removed in Ember 3.0.';\n  } else if (true) {\n    implication = 'is no longer supported. See https://github.com/emberjs/ember.js/issues/13948 for more details.';\n  }\n\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        _emberMetalDebug.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        _emberMetalDebug.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          raise((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            return '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 ' + implication;\n          })(), false);\n\n          shouldReflush = true;\n        }\n      };\n    })();\n  } else {\n    exports.default = runInTransaction = function () {\n      throw new Error('Cannot call runInTransaction without Glimmer');\n    };\n\n    exports.didRender = didRender = function () {\n      throw new Error('Cannot call didRender without Glimmer');\n    };\n\n    exports.assertNotRendered = assertNotRendered = function () {\n      throw new Error('Cannot call assertNotRendered without Glimmer');\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-metal/features', 'ember-metal/meta', 'ember-metal/properties'], function (exports, _emberUtils, _emberMetalFeatures, _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       @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/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, _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.BucketCache = _emberRoutingSystemCache.default;\n});\nenifed('ember-routing/location/api', ['exports', 'ember-metal', 'ember-environment', 'ember-routing/location/util'], function (exports, _emberMetal, _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      _emberMetal.assert('Ember.Location.create: you must specify a \\'implementation\\' option', !!implementation);\n\n      var implementationClass = this.implementations[implementation];\n      _emberMetal.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-runtime', 'ember-environment', 'ember-routing/location/util'], function (exports, _emberUtils, _emberMetal, _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      _emberMetal.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      _emberMetal.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      _emberMetal.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    _emberMetal.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.slice(-1) === '/') {\n        routeHash = routeHash.substr(1);\n      }\n\n      // This is the \"expected\" final order\n      path = path + routeHash + query;\n\n      if (hashParts.length) {\n        path += '#' + hashParts.join('#');\n      }\n    } else {\n      path = 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.charAt(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.charAt(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-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  var popstateFired = false;\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 = base ? base.getAttribute('href') : '';\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 + '(?=/|$)'), '');\n\n      var search = location.search || '';\n      url += search;\n      url += 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       @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\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      _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.match(/^\\//) && rootURL.match(/^\\//)) {\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-runtime'], function (exports, _emberMetal, _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      _emberMetal.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.charAt(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/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.router) {\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.router.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 = 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-utils', 'ember-runtime'], function (exports, _emberUtils, _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 = new _emberUtils.EmptyObject();\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] = new _emberUtils.EmptyObject();\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-metal'], function (exports, _emberUtils, _emberMetal) {\n  'use strict';\n\n  /**\n  @module ember\n  @submodule ember-routing\n  */\n\n  function DSL(name, options) {\n    this.parent = name;\n    this.enableLoadingSubstates = options && options.enableLoadingSubstates;\n    this.matches = [];\n    this.explicitIndex = undefined;\n    this.options = options;\n  }\n\n  exports.default = DSL;\n\n  DSL.prototype = {\n    route: function (name, options, callback) {\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      if (arguments.length === 1) {\n        options = {};\n      }\n\n      _emberMetal.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    push: function (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    resource: function (name, options, callback) {\n      if (arguments.length === 2 && typeof options === 'function') {\n        callback = options;\n        options = {};\n      }\n\n      if (arguments.length === 1) {\n        options = {};\n      }\n\n      options.resetNamespace = true;\n      _emberMetal.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    generate: function () {\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\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    options = 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\n  var uuid = 0;\n\n  DSL.prototype.mount = function (_name, _options) {\n    var options = _options || {};\n    var engineRouteMap = this.options.resolveRouteMap(_name);\n    var name = _name;\n\n    if (options.as) {\n      name = options.as;\n    }\n\n    var fullName = getFullName(this, name, options.resetNamespace);\n\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.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});\nenifed('ember-routing/system/generate_controller', ['exports', 'ember-metal'], function (exports, _emberMetal) {\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) {\n    var Factory = owner._lookupFactory('controller:basic').extend({\n      isGenerated: true,\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    if (_emberMetal.get(instance, 'namespace.LOG_ACTIVE_GENERATION')) {\n      _emberMetal.info('generated -> ' + fullName, { fullName: fullName });\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-runtime', 'ember-routing/system/generate_controller', 'ember-routing/utils'], function (exports, _emberUtils, _emberMetal, _emberRuntime, _emberRoutingSystemGenerate_controller, _emberRoutingUtils) {\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) {\n      return;\n    }\n    if (!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      Populates the QP meta information in the BucketCache.\n       @private\n      @method _populateQPMeta\n    */\n    _populateQPMeta: function () {\n      this._bucketCache.stash('route-meta', this.fullRouteName, this.get('_qp'));\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 definedControllerClass = _emberUtils.getOwner(this)._lookupFactory('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      var handlerInfo = _handlerInfo;\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.router.activeTransition;\n      var state = transition ? transition.state : this.router.router.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        _emberMetal.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          }\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.router.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.router || !_emberMetal.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.controllerName, 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.controllerName, 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        var parentModel = transition.state.handlerInfos[transition.resolveIndex - 1].context;\n\n        return parentModel;\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._lookupFactory('model:' + name);\n\n          _emberMetal.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          _emberMetal.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 'ebmer';\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      _emberMetal.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: '/post/:post_id' }, function() {\n            this.route('comments', { resetNamespace: true });\n          });\n      });\n       export default Router;\n      ```\n       ```app/routes/comments.js\n      import Ember from 'ember';\n       export default Ember.Route.extend({\n          afterModel() {\n            this.set('post', this.modelFor('post'));\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.router.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.router.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      _emberMetal.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 _emberMetal.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.router.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.router.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.router.state.handlerInfos, -1);\n    return handlerInfo && handlerInfo.handler;\n  }\n\n  function handlerInfoFor(route, handlerInfos, _offset) {\n    if (!handlerInfos) {\n      return;\n    }\n\n    var offset = _offset || 0;\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 _emberMetal.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 _emberMetal.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    _emberMetal.assert('Could not find \"' + name + '\" template, view, or component.', isDefaultRender || template);\n\n    var LOG_VIEW_LOOKUPS = _emberMetal.get(route.router, 'namespace.LOG_VIEW_LOOKUPS');\n    if (LOG_VIEW_LOOKUPS && !template) {\n      _emberMetal.info('Could not find \"' + name + '\" template. Nothing will be rendered', { fullName: 'template:' + name });\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-runtime', 'ember-routing/system/route', 'ember-routing/system/dsl', 'ember-routing/location/api', 'ember-routing/utils', 'ember-routing/system/router_state', 'router'], function (exports, _emberUtils, _emberConsole, _emberMetal, _emberRuntime, _emberRoutingSystemRoute, _emberRoutingSystemDsl, _emberRoutingLocationApi, _emberRoutingUtils, _emberRoutingSystemRouter_state, _router4) {\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 router = this.router = new _router4.default();\n      router.triggerEvent = triggerEvent;\n\n      router._triggerWillChangeContext = K;\n      router._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      if (_emberMetal.get(this, 'namespace.LOG_TRANSITIONS_INTERNAL')) {\n        router.log = _emberConsole.default.debug;\n      }\n\n      router.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._lookupFactory('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._qpCache = new _emberUtils.EmptyObject();\n      this._resetQueuedQueryParameterChanges();\n      this._handledErrors = _emberUtils.dictionary(null);\n      this._engineInstances = new _emberUtils.EmptyObject();\n      this._engineInfoByRoute = new _emberUtils.EmptyObject();\n    },\n\n    /*\n      Resets all pending query paramter 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 _this = this;\n\n      this._initRouterJs();\n      this._setupLocation();\n\n      var router = this.router;\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(router, location);\n\n      location.onUpdateURL(function (url) {\n        _this.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      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      if (_emberMetal.get(this, 'namespace').LOG_TRANSITIONS) {\n        _emberConsole.default.log('Transitioned into \\'' + EmberRouter._routePath(infos) + '\\'');\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.router.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._lookupFactory('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      _emberMetal.run.once(this, this.trigger, 'willTransition', transition);\n\n      if (_emberMetal.get(this, 'namespace').LOG_TRANSITIONS) {\n        _emberConsole.default.log('Preparing to transition from \\'' + EmberRouter._routePath(oldInfos) + '\\' to \\'' + EmberRouter._routePath(newInfos) + '\\'');\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.router[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 _router;\n\n      (_router = this.router).intermediateTransitionTo.apply(_router, arguments);\n\n      updatePaths(this);\n\n      var infos = this.router.currentHandlerInfos;\n      if (_emberMetal.get(this, 'namespace').LOG_TRANSITIONS) {\n        _emberConsole.default.log('Intermediate-transitioned into \\'' + EmberRouter._routePath(infos) + '\\'');\n      }\n    },\n\n    replaceWith: function () {\n      return this.transitionTo.apply(this, arguments).method('replace');\n    },\n\n    generate: function () {\n      var _router2;\n\n      var url = (_router2 = this.router).generate.apply(_router2, 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 router = this.router;\n      return router.isActive.apply(router, 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 _router3;\n\n      (_router3 = this.router).trigger.apply(_router3, 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.router.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.router) {\n        this.router.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 _this2 = this;\n\n      var seen = new _emberUtils.EmptyObject();\n      var owner = _emberUtils.getOwner(this);\n\n      return function (name) {\n        var routeName = name;\n        var routeOwner = owner;\n        var engineInfo = _this2._engineInfoByRoute[routeName];\n\n        if (engineInfo) {\n          var engineInstance = _this2._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._lookupFactory('route:basic');\n\n          routeOwner.register(fullRouteName, DefaultRoute.extend());\n          handler = routeOwner.lookup(fullRouteName);\n\n          if (_emberMetal.get(_this2, 'namespace.LOG_ACTIVE_GENERATION')) {\n            _emberMetal.info('generated -> ' + fullRouteName, { fullName: fullRouteName });\n          }\n        }\n\n        handler._setRouteName(routeName);\n        handler._populateQPMeta();\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 _this3 = this;\n\n      return function (name) {\n        var engineInfo = _this3._engineInfoByRoute[name];\n\n        // If this is not an Engine route, we fall back to the handler for serialization\n        if (!engineInfo) {\n          return;\n        }\n\n        return engineInfo.serializeMethod || _emberRoutingSystemRoute.defaultSerialize;\n      };\n    },\n\n    _setupRouter: function (router, location) {\n      var lastURL = undefined;\n      var emberRouter = this;\n\n      router.getHandler = this._getHandlerFunction();\n      router.getSerializer = this._getSerializerFunction();\n\n      var doUpdateURL = function () {\n        location.setURL(lastURL);\n      };\n\n      router.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          };\n\n          router.replaceURL = function (path) {\n            lastURL = path;\n            _emberMetal.run.once(doReplaceURL);\n          };\n        })();\n      }\n\n      router.didTransition = function (infos) {\n        emberRouter.didTransition(infos);\n      };\n\n      router.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 _this4 = 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] = _this4._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 targetRouteName = _targetRouteName || _emberRoutingUtils.getActiveTargetName(this.router);\n      _emberMetal.assert('The route ' + targetRouteName + ' was not found', targetRouteName && this.router.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 = this.router.transitionTo.apply(this.router, 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.router.activeTransition) {\n        return;\n      }\n\n      var unchangedQPs = {};\n      var qpUpdates = this._qpUpdates || {};\n      for (var key in this.router.activeTransition.queryParams) {\n        if (!qpUpdates[key]) {\n          unchangedQPs[key] = this.router.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            _emberMetal.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.controllerName, 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.router.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.router,\n        routerJsState: this.router.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] = new _emberUtils.EmptyObject();\n      }\n\n      var engineInstance = engineInstances[name][instanceId];\n\n      if (!engineInstance) {\n        var owner = _emberUtils.getOwner(this);\n\n        _emberMetal.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 _emberMetal.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 _emberMetal.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 routerjs = emberRouter.router;\n    var state = routerjs.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.router.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\n    _emberMetal.set(router, 'currentPath', path);\n    _emberMetal.set(router, 'currentRouteName', currentRouteName);\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.router,\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.charAt(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: new _emberUtils.EmptyObject(),\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        _emberMetal.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: new _emberUtils.EmptyObject()\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      _emberMetal.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  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'], function (exports, _emberUtils, _emberMetal) {\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.router.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    var parts = _parts || [];\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 _emberMetal.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        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'], function (exports, _emberMetal) {\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      _emberMetal.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      napTime: Ember.computed.equal('state', 'sleepy')\n    });\n  \n    let hamster = Hamster.create();\n  \n    hamster.get('napTime'); // false\n    hamster.set('state', 'sleepy');\n    hamster.get('napTime'); // true\n    hamster.set('state', 'hungry');\n    hamster.get('napTime'); // 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        _emberMetal.deprecate('Usage of `' + key + '` is deprecated, use `' + dependentKey + '` instead.', false, options);\n        return _emberMetal.get(this, dependentKey);\n      },\n      set: function (key, value) {\n        _emberMetal.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-metal', 'ember-runtime/compare', 'ember-runtime/utils', 'ember-runtime/system/native_array'], function (exports, _emberUtils, _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    _emberMetal.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    @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 = new _emberUtils.EmptyObject();\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    Alias for [Ember.computed.uniq](/api/#method_computed_uniq).\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 duplicated\n    elements from two or more dependent arrays.\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 _emberMetal.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    _emberMetal.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      _emberMetal.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(null, 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(null, 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-metal', 'ember-runtime/system/object', 'ember-runtime/mixins/controller', 'ember-runtime/inject', 'ember-runtime/mixins/action_handler'], function (exports, _emberMetal, _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    _emberMetal.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-metal', 'ember-runtime/system/object', 'ember-runtime/mixins/copyable'], function (exports, _emberMetal, _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    _emberMetal.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'], function (exports, _emberEnvironment, _emberMetal) {\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      _emberMetal.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 = _emberMetal.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'], function (exports, _rsvp, _emberMetal) {\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      _emberMetal.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'], function (exports, _emberMetal) {\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    _emberMetal.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-runtime/computed/computed_macros'], function (exports, _glimmerReference, _emberMetal, _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      _emberMetal.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        _emberMetal.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      _emberMetal.assert('Cannot delegate set(\\'' + key + '\\', ' + value + ') to the \\'content\\' property of object proxy ' + this + ': its \\'content\\' is undefined.', content);\n\n      _emberMetal.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'], function (exports, _emberMetal) {\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        _emberMetal.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      _emberMetal.assert('Specifying `_actions` and `actions` in the same mixin is not supported.', !props.actions || !props._actions);\n\n      if (props._actions) {\n        _emberMetal.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        _emberMetal.assert('You cannot set `_actions` on ' + this + ', please use `actions` instead.');\n      },\n      get: function () {\n        _emberMetal.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-runtime/mixins/enumerable', 'ember-runtime/system/each_proxy'], function (exports, _emberUtils, _emberMetal, _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    if (true) {\n      _emberMetal.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\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['@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  if (true) {\n    ArrayMixin.reopen({\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      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      }\n    });\n  }\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 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'], function (exports, _emberMetal) {\n  /**\n  @module ember\n  @submodule ember-runtime\n  */\n  'use strict';\n\n  /**\n    ContainerProxyMixin is used to provide public access to specific\n    container functionality.\n  \n    @class ContainerProxyMixin\n    @private\n  */\n  exports.default = _emberMetal.Mixin.create({\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     @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    /**\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    _resolveLocalLookupName: function (name, source) {\n      return this.__container__.registry.expandLocalLookup('component:' + name, {\n        source: source\n      });\n    },\n\n    /**\n     @private\n     */\n    willDestroy: function () {\n      this._super.apply(this, arguments);\n\n      if (this.__container__) {\n        _emberMetal.run(this.__container__, 'destroy');\n      }\n    }\n  });\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'], function (exports, _emberMetal) {\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        _emberMetal.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-runtime/mixins/freezable'], function (exports, _emberMetal, _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      _emberMetal.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 _emberMetal.Error(this + ' does not support freezing');\n      }\n    }\n  });\n});\nenifed('ember-runtime/mixins/enumerable', ['exports', 'ember-utils', 'ember-metal', 'ember-runtime/compare', 'require'], function (exports, _emberUtils, _emberMetal, _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      if (true) {\n        _emberMetal.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\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. This corresponds with the `some()` 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` 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.contains(value)) {\n        return this; // nothing to do\n      }\n\n      var ret = emberA();\n\n      this.forEach(function (k) {\n        if (k !== 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  if (true) {\n    Enumerable.reopen({\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 = new _emberUtils.EmptyObject();\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\n  if (true) {\n    Enumerable.reopen({\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        _emberMetal.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      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\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'], function (exports, _emberMetal) {\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      _emberMetal.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'], function (exports, _emberMetal, _emberRuntimeMixinsArray, _emberRuntimeMixinsMutable_enumerable, _emberRuntimeMixinsEnumerable) {\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 _emberMetal.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 _emberMetal.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 = undefined;\n\n      if (true) {\n        included = this.includes(obj);\n      } else {\n        included = this.contains(obj);\n      }\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'], function (exports, _emberMetal) {\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(null, [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       You can also pass an optional context parameter to this method. The\n      context will be passed to your observer method whenever it is triggered.\n      Note that if you add the same target/method pair on a key multiple times\n      with different context parameters, your observer will only be called once\n      with the last context you passed.\n       ### Observer Methods\n       Observer methods you pass should generally have the following signature if\n      you do not pass a `context` parameter:\n       ```javascript\n      fooDidChange: function(sender, key, value, rev) { };\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       If you pass a `context` parameter, the context will be passed before the\n      revision like so:\n       ```javascript\n      fooDidChange: function(sender, key, value, context, rev) { };\n      ```\n       Usually you will not need the value, context 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      _emberMetal.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      _emberMetal.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-runtime/computed/computed_macros'], function (exports, _emberMetal, _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 _emberMetal.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'], function (exports, _emberMetal) {\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       **Note:** Ember-Data instantiates its models in a unique manner, and consequently\n      injections onto models (or all models) will not work as expected. Injections\n      on models can be enabled by setting `EmberENV.MODEL_FACTORY_INJECTIONS`\n      to `true`.\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      _emberMetal.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'], function (exports, _emberEnvironment, _emberMetal) {\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          ret = target.send.apply(target, args(actionContext, action));\n        } else {\n          _emberMetal.assert('The action \\'' + action + '\\' did not exist on ' + target, typeof target[action] === 'function');\n          ret = target[action].apply(target, 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'], function (exports, _emberMetal, _emberRuntimeUtils, _emberRuntimeSystemObject, _emberRuntimeMixinsMutable_array, _emberRuntimeMixinsEnumerable, _emberRuntimeMixinsArray) {\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      _emberMetal.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        _emberMetal.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      _emberMetal.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        _emberMetal.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      _emberMetal.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 _emberMetal.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 _emberMetal.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 _emberMetal.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 _emberMetal.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'], function (exports, _emberUtils, _emberMetal, _emberRuntimeMixinsAction_handler, _emberRuntimeInject) {\n  'no use strict';\n  // Remove \"use strict\"; from transpiled module until\n  // https://bugs.webkit.org/show_bug.cgi?id=138038 is fixed\n\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\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  var hasCachedComputedProperties = false;\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;\n\n    var Class = function () {\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      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\n          _emberMetal.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 _emberMetal.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            _emberMetal.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            _emberMetal.assert('Ember.Object.create no longer supports defining methods that call _super.', !(typeof value === 'function' && value.toString().indexOf('._super') !== -1));\n            _emberMetal.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(this);\n      _emberMetal.sendEvent(this, 'init');\n    };\n\n    Class.toString = _emberMetal.Mixin.prototype.toString;\n    Class.willReopen = function () {\n      if (wasApplied) {\n        Class.PrototypeMixin = _emberMetal.Mixin.create(Class.PrototypeMixin);\n      }\n\n      wasApplied = false;\n    };\n\n    Class._initProperties = function (args) {\n      initProperties = args;\n    };\n\n    Class.proto = function () {\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  /**\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      _emberMetal.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      _emberMetal.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    var ret = '<' + 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;\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    _emberMetal.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    hasCachedComputedProperties = true;\n    var proto = this.proto();\n    var property;\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;\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    _emberMetal.assert('Injected properties are invalid', _emberRuntimeInject.validatePropertyInjections(this));\n  }\n\n  _emberMetal.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, desc;\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\n  CoreObject.reopen({\n    didDefineProperty: function (proto, key, value) {\n      if (hasCachedComputedProperties === false) {\n        return;\n      }\n      if (value instanceof _emberMetal.ComputedProperty) {\n        var cache = _emberMetal.meta(this.constructor).readableCache();\n\n        if (cache && cache._computedProperties !== undefined) {\n          cache._computedProperties = undefined;\n        }\n      }\n    }\n  });\n\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      var 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(newPersonsName){\n      return Person.create({\n        name:newPersonsName\n      });\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    var 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-utils', 'ember-metal', 'ember-runtime/mixins/array'], function (exports, _emberUtils, _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 = new _emberUtils.EmptyObject();\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        _emberMetal.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  // 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.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'], function (exports, _emberUtils, _emberMetal, _emberRuntimeSystemCore_object, _emberRuntimeMixinsObservable) {\n  /**\n  @module ember\n  @submodule ember-runtime\n  */\n\n  'use strict';\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);\n  EmberObject.toString = function () {\n    return 'Ember.Object';\n  };\n\n  var FrameworkObject = EmberObject;\n\n  exports.FrameworkObject = FrameworkObject;\n  _emberMetal.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      _emberMetal.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    @extends 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-utils', 'ember-runtime/utils', 'ember-runtime/string_registry'], function (exports, _emberMetal, _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    _emberMetal.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-testing/test/adapter'], function (exports, _emberRuntime, _emberMetal, _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 (_emberMetal.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-metal', '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, _emberMetal, _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 (false) {\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-metal'], function (exports, _emberRuntime, _emberConsole, _emberMetal) {\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    _emberMetal.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 (false) {\n      _emberConsole.default.info('Testing paused. Use `resumeTest()` to continue.');\n    }\n\n    return new _emberRuntime.RSVP.Promise(function (resolve) {\n      if (false) {\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.router && !!router.router.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-metal', 'ember-views', 'ember-testing/test/adapter', 'ember-testing/test/pending_requests', 'ember-testing/adapters/adapter', 'ember-testing/adapters/qunit'], function (exports, _emberMetal, _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    _emberMetal.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    _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});\nenifed('ember-testing/support', ['exports', 'ember-metal', 'ember-views', 'ember-environment'], function (exports, _emberMetal, _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        _emberMetal.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', 'ember-metal'], function (exports, _emberTestingTestHelpers, _emberTestingTestOn_inject_helpers, _emberTestingTestPromise, _emberTestingTestWaiters, _emberTestingTestAdapter, _emberMetal) {\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  };\n\n  if (true) {\n    Test.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-metal'], function (exports, _emberMetal) {\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    _emberMetal.deprecate('Usage of `Ember.Test.waiters` is deprecated. Please refactor to `Ember.Test.checkWaiters`.', !true, { 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', 'ember-utils/empty-object'], function (exports, _emberUtilsEmptyObject) {\n  'use strict';\n\n  exports.default = makeDictionary;\n\n  // the delete is meant to hint at runtimes that this object should remain in\n  // dictionary mode. This is clearly a runtime specific hack, but currently it\n  // appears worthwhile in some usecases. Please note, these deletes do increase\n  // the cost of creation dramatically over a plain Object.create. And as this\n  // only makes sense for long-lived dictionaries that aren't instantiated often.\n\n  function makeDictionary(parent) {\n    var dict = undefined;\n    if (parent === null) {\n      dict = new _emberUtilsEmptyObject.default();\n    } else {\n      dict = Object.create(parent);\n    }\n    dict['_dict'] = null;\n    delete dict['_dict'];\n    return dict;\n  }\n});\nenifed(\"ember-utils/empty-object\", [\"exports\"], function (exports) {\n  // This exists because `Object.create(null)` is absurdly slow compared\n  // to `new EmptyObject()`. In either case, you want a null prototype\n  // when you're treating the object instances as arbitrary dictionaries\n  // and don't want your keys colliding with build-in methods on the\n  // default object prototype.\n\n  \"use strict\";\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\n  function EmptyObject() {}\n  EmptyObject.prototype = proto;\n  exports.default = EmptyObject;\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/empty-object', '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'], function (exports, _emberUtilsSymbol, _emberUtilsOwner, _emberUtilsAssign, _emberUtilsEmptyObject, _emberUtilsDictionary, _emberUtilsGuid, _emberUtilsIntern, _emberUtilsSuper, _emberUtilsInspect, _emberUtilsLookupDescriptor, _emberUtilsInvoke, _emberUtilsMakeArray, _emberUtilsApplyStr, _emberUtilsName, _emberUtilsToString, _emberUtilsWeakMapUtils) {\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.EmptyObject = _emberUtilsEmptyObject.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});\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  /**\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  \"use strict\";\n\n  exports.default = makeArray;\n\n  function makeArray(obj) {\n    if (obj === null || obj === undefined) {\n      return [];\n    }\n    return Array.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/super', ['exports'], function (exports) {\n  'use strict';\n\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  function ROOT() {}\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  /*\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    if (obj && 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-metal', 'ember-runtime'], function (exports, _emberMetal, _emberRuntime) {\n  'use strict';\n\n  exports.default = _emberRuntime.Object.extend({\n    componentFor: function (name, owner, options) {\n      _emberMetal.assert('You cannot use \\'' + name + '\\' as a component name. Component names must contain a hyphen.', ~name.indexOf('-'));\n\n      var fullName = 'component:' + name;\n      return owner._lookupFactory(fullName, options);\n    },\n\n    layoutFor: function (name, owner, options) {\n      _emberMetal.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.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-views/compat/attrs'], function (exports, _emberUtils, _emberMetal, _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    _emberMetal.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        _emberMetal.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        _emberMetal.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'], function (exports, _emberMetal) {\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      _emberMetal.assert('Only arrays are allowed for \\'classNameBindings\\'', Array.isArray(this.classNameBindings));\n      _emberMetal.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-environment', 'ember-views/system/utils', 'ember-runtime/system/core_object', 'ember-views/system/jquery'], function (exports, _emberUtils, _emberMetal, _emberEnvironment, _emberViewsSystemUtils, _emberRuntimeSystemCore_object, _emberViewsSystemJquery) {\n  'use strict';\n\n  var _Mixin$create;\n\n  function K() {\n    return this;\n  }\n\n  /**\n   @class ViewMixin\n   @namespace Ember\n   @private\n  */\n  exports.default = _emberMetal.Mixin.create((_Mixin$create = {\n    concatenatedProperties: ['attributeBindings']\n  }, _Mixin$create[_emberRuntimeSystemCore_object.POST_INIT] = function () {\n    this.trigger('didInitAttrs', { attrs: this.attrs });\n    this.trigger('didReceiveAttrs', { newAttrs: 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    _emberMetal.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      _emberMetal.assert('You tried to append to (' + selector + ') but that isn\\'t in the DOM', target);\n      _emberMetal.assert('You cannot append to an existing Ember.View.', !_emberViewsSystemUtils.matches(target, '.ember-view'));\n      _emberMetal.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      _emberMetal.assert('You tried to append to a selector string (' + selector + ') in an environment without jQuery', typeof target !== 'string');\n      _emberMetal.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 (tagName) {\n    tagName = tagName || 'body';\n\n    _emberMetal.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    _emberMetal.assert('You tried to replace in (' + selector + ') but that isn\\'t in the DOM', target.length > 0);\n    _emberMetal.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    _emberMetal.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    _emberMetal.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-metal', 'ember-runtime', 'ember-views/system/jquery', 'ember-views/system/action_manager', 'ember-environment', 'ember-views/compat/fallback-view-registry'], function (exports, _emberUtils, _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 'true'\n      @since 1.7.0\n      @private\n    */\n    canDispatchToEventManager: true,\n\n    init: function () {\n      this._super();\n      _emberMetal.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        _emberMetal.set(this, 'rootElement', rootElement);\n      }\n\n      rootElement = _emberViewsSystemJquery.default(_emberMetal.get(this, 'rootElement'));\n\n      _emberMetal.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      _emberMetal.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      _emberMetal.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      for (event in events) {\n        if (events.hasOwnProperty(event)) {\n          this.setupHandler(rootElement, event, events[event]);\n        }\n      }\n    },\n\n    /**\n      Registers an event listener on the rootElement. If the given event is\n      triggered, the provided event handler will be triggered on the target view.\n       If the target view does not implement the event handler, or if the handler\n      returns `false`, the parent view will be called. The event will continue to\n      bubble to each successive parent view until it reaches the top.\n       @private\n      @method setupHandler\n      @param {Element} rootElement\n      @param {String} event the browser-originated event to listen to\n      @param {String} eventName the name of the method to call on the view\n    */\n    setupHandler: function (rootElement, event, eventName) {\n      var self = this;\n\n      var owner = _emberUtils.getOwner(this);\n      var viewRegistry = owner && owner.lookup('-view-registry:main') || _emberViewsCompatFallbackViewRegistry.default;\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 actionId = _emberViewsSystemJquery.default(evt.currentTarget).attr('data-ember-action');\n        var actions = _emberViewsSystemAction_manager.default.registeredActions[actionId];\n\n        // In Glimmer2 this attribute is set to an empty string and an additional\n        // attribute it set for each action on a given element. In this case, the\n        // attributes need to be read so that a proper set of action handlers can\n        // be coalesced.\n        if (actionId === '') {\n          var attributes = evt.currentTarget.attributes;\n          var attributeCount = attributes.length;\n\n          actions = [];\n\n          for (var i = 0; i < attributeCount; i++) {\n            var attr = attributes.item(i);\n            var attrName = attr.name;\n\n            if (attrName.indexOf('data-ember-action-') === 0) {\n              actions = actions.concat(_emberViewsSystemAction_manager.default.registeredActions[attr.value]);\n            }\n          }\n        }\n\n        // We have to check for actions here since in some cases, jQuery will trigger\n        // an event on `removeChild` (i.e. focusout) after we've already torn down the\n        // action handlers for the view.\n        if (!actions) {\n          return;\n        }\n\n        for (var index = 0; index < actions.length; index++) {\n          var action = actions[index];\n\n          if (action && action.eventName === eventName) {\n            return action.handler(evt);\n          }\n        }\n      });\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-metal'], function (exports, _emberMetal) {\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    _emberMetal.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 _emberMetal.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    _emberMetal.assert('templateNames are not allowed to contain periods: ' + name, name.indexOf('.') === -1);\n\n    if (!owner) {\n      throw new _emberMetal.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._lookupFactory(_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-metal'], function (exports, _emberMetal) {\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 _emberMetal.Error('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-metal', 'ember-views/views/states/default'], function (exports, _emberUtils, _emberMetal, _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 _emberMetal.Error('You can\\'t call appendChild on a view being destroyed');\n    },\n    rerender: function () {\n      throw new _emberMetal.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-views/views/states/has_element'], function (exports, _emberUtils, _emberMetal, _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      _emberMetal.runInDebug(function () {\n        _emberMetal._addBeforeObserver(view, 'elementId', function () {\n          throw new _emberMetal.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.ViewSupport\n  @uses Ember.ChildViewsSupport\n  @uses Ember.ClassNamesSupport\n  @uses Ember.AttributeBindingsSupport\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-runtime-computed-uniq-by\": true, \"ember-improved-instrumentation\": false, \"ember-runtime-enumerable-includes\": true, \"ember-string-ishtmlsafe\": true, \"ember-testing-check-waiters\": true, \"ember-metal-weakmap\": false, \"ember-glimmer-allow-backtracking-rerender\": false, \"ember-testing-resume-test\": false, \"mandatory-setter\": true, \"ember-glimmer-detect-backtracking-rerender\": true };\n});\nenifed('ember/index', ['exports', 'require', 'ember-environment', 'ember-utils', 'container', 'ember-metal', '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, _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 = _emberMetal.assert;\n  _emberMetal.default.warn = _emberMetal.warn;\n  _emberMetal.default.debug = _emberMetal.debug;\n  _emberMetal.default.deprecate = _emberMetal.deprecate;\n  _emberMetal.default.deprecateFunc = _emberMetal.deprecateFunc;\n  _emberMetal.default.runInDebug = _emberMetal.runInDebug;\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 = _emberMetal.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 = _emberMetal.FEATURES;\n  _emberMetal.default.FEATURES.isEnabled = _emberMetal.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 (false) {\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  Object.defineProperty(_emberMetal.default, 'MODEL_FACTORY_INJECTIONS', {\n    get: function () {\n      return _emberEnvironment.ENV.MODEL_FACTORY_INJECTIONS;\n    },\n    set: function (value) {\n      _emberEnvironment.ENV.MODEL_FACTORY_INJECTIONS = !!value;\n    },\n    enumerable: false\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  _emberMetal.default.K = function K() {\n    return this;\n  };\n\n  Object.defineProperty(_emberMetal.default, 'testing', {\n    get: _emberMetal.isTesting,\n    set: _emberMetal.setTesting,\n    enumerable: false\n  });\n\n  if (!_require.has('ember-debug')) {\n    _emberMetal.default.Debug = {\n      registerDeprecationHandler: function () {},\n      registerWarnHandler: function () {}\n    };\n  }\n\n  /**\n   @class Backburner\n   @for Ember\n   @private\n   */\n  _emberMetal.default.Backburner = function () {\n    _emberMetal.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  if (true) {\n    computed.uniqBy = _emberRuntime.uniqBy;\n  }\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  if (true) {\n    _emberRuntime.String.isHTMLSafe = _emberGlimmer.isHTMLSafe;\n  }\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 = _emberMetal.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 = _emberMetal.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.11.3\";\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-runtime'], function (exports, _container, _emberRouting, _emberApplication, _emberRuntime) {\n  'use strict';\n\n  exports.default = buildOwner;\n\n  function buildOwner() {\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);\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'], function (exports, _internalTestHelpersFactory, _internalTestHelpersBuildOwner, _internalTestHelpersConfirmExport, _internalTestHelpersEqualInnerHtml, _internalTestHelpersEqualTokens, _internalTestHelpersModuleFor, _internalTestHelpersStrip, _internalTestHelpersApplyMixins, _internalTestHelpersMatchers, _internalTestHelpersRun, _internalTestHelpersTestGroups, _internalTestHelpersTestCasesAbstract, _internalTestHelpersTestCasesAbstractApplication, _internalTestHelpersTestCasesApplication, _internalTestHelpersTestCasesQueryParam, _internalTestHelpersTestCasesAbstractRendering, _internalTestHelpersTestCasesRendering) {\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});\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-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('glimmer-node/index', ['exports', 'glimmer-node/lib/node-dom-helper'], function (exports, _glimmerNodeLibNodeDomHelper) {\n  'use strict';\n\n  exports.NodeDOMTreeConstruction = _glimmerNodeLibNodeDomHelper.default;\n});\n\nenifed('glimmer-node/lib/node-dom-helper', ['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.default = NodeDOMTreeConstruction;\n});\n\nenifed('glimmer-reference/index', ['exports', 'glimmer-reference/lib/reference', 'glimmer-reference/lib/const', 'glimmer-reference/lib/validators', 'glimmer-reference/lib/utils', 'glimmer-reference/lib/iterable'], function (exports, _glimmerReferenceLibReference, _glimmerReferenceLibConst, _glimmerReferenceLibValidators, _glimmerReferenceLibUtils, _glimmerReferenceLibIterable) {\n  'use strict';\n\n  exports.BasicReference = _glimmerReferenceLibReference.Reference;\n  exports.BasicPathReference = _glimmerReferenceLibReference.PathReference;\n  exports.ConstReference = _glimmerReferenceLibConst.ConstReference;\n  exports.isConst = _glimmerReferenceLibConst.isConst;\n  babelHelpers.defaults(exports, babelHelpers.interopExportWildcard(_glimmerReferenceLibValidators, babelHelpers.defaults));\n  exports.Reference = _glimmerReferenceLibValidators.VersionedReference;\n  exports.PathReference = _glimmerReferenceLibValidators.VersionedPathReference;\n  exports.referenceFromParts = _glimmerReferenceLibUtils.referenceFromParts;\n  exports.IterationItem = _glimmerReferenceLibIterable.IterationItem;\n  exports.Iterator = _glimmerReferenceLibIterable.Iterator;\n  exports.Iterable = _glimmerReferenceLibIterable.Iterable;\n  exports.OpaqueIterator = _glimmerReferenceLibIterable.OpaqueIterator;\n  exports.OpaqueIterable = _glimmerReferenceLibIterable.OpaqueIterable;\n  exports.AbstractIterator = _glimmerReferenceLibIterable.AbstractIterator;\n  exports.AbstractIterable = _glimmerReferenceLibIterable.AbstractIterable;\n  exports.IterationArtifacts = _glimmerReferenceLibIterable.IterationArtifacts;\n  exports.ReferenceIterator = _glimmerReferenceLibIterable.ReferenceIterator;\n  exports.IteratorSynchronizer = _glimmerReferenceLibIterable.IteratorSynchronizer;\n  exports.IteratorSynchronizerDelegate = _glimmerReferenceLibIterable.IteratorSynchronizerDelegate;\n});\n\nenifed('glimmer-reference/lib/const', ['exports', 'glimmer-reference/lib/validators'], function (exports, _glimmerReferenceLibValidators) {\n    'use strict';\n\n    exports.isConst = isConst;\n\n    var ConstReference = (function () {\n        function ConstReference(inner) {\n            this.inner = inner;\n            this.tag = _glimmerReferenceLibValidators.CONSTANT_TAG;\n        }\n\n        ConstReference.prototype.value = function value() {\n            return this.inner;\n        };\n\n        return ConstReference;\n    })();\n\n    exports.ConstReference = ConstReference;\n\n    function isConst(reference) {\n        return reference.tag === _glimmerReferenceLibValidators.CONSTANT_TAG;\n    }\n});\n\nenifed(\"glimmer-reference/lib/iterable\", [\"exports\", \"glimmer-util\"], function (exports, _glimmerUtil) {\n    \"use strict\";\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    exports.ListItem = ListItem;\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    exports.IterationArtifacts = IterationArtifacts;\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    exports.ReferenceIterator = ReferenceIterator;\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.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    exports.IteratorSynchronizer = IteratorSynchronizer;\n});\n\nenifed(\"glimmer-reference/lib/reference\", [\"exports\"], function (exports) {\n  \"use strict\";\n});\n\nenifed(\"glimmer-reference/lib/utils\", [\"exports\"], function (exports) {\n    \"use strict\";\n\n    exports.referenceFromParts = referenceFromParts;\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\nenifed(\"glimmer-reference/lib/validators\", [\"exports\"], function (exports) {\n    \"use strict\";\n\n    exports.combineTagged = combineTagged;\n    exports.combineSlice = combineSlice;\n    exports.combine = combine;\n    exports.map = map;\n    exports.isModified = isModified;\n    var CONSTANT = 0;\n    exports.CONSTANT = CONSTANT;\n    var INITIAL = 1;\n    exports.INITIAL = INITIAL;\n    var VOLATILE = NaN;\n    exports.VOLATILE = VOLATILE;\n\n    var RevisionTag = (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    exports.RevisionTag = RevisionTag;\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    exports.DirtyableTag = DirtyableTag;\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\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\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\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    exports.CachedTag = CachedTag;\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    exports.UpdatableTag = UpdatableTag;\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    exports.CONSTANT_TAG = CONSTANT_TAG;\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    exports.VOLATILE_TAG = VOLATILE_TAG;\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    exports.CURRENT_TAG = CURRENT_TAG;\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    exports.CachedReference = CachedReference;\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\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    exports.ReferenceCache = ReferenceCache;\n\n    var NOT_MODIFIED = \"adb3b78e-3d22-4e4b-877a-6317c2c5c145\";\n\n    function isModified(value) {\n        return value !== NOT_MODIFIED;\n    }\n});\n\nenifed('glimmer-runtime/index', ['exports', 'glimmer-runtime/lib/dom/interfaces', 'glimmer-runtime/lib/syntax', 'glimmer-runtime/lib/template', 'glimmer-runtime/lib/symbol-table', 'glimmer-runtime/lib/references', 'glimmer-runtime/lib/syntax/core', 'glimmer-runtime/lib/compiled/opcodes/builder', 'glimmer-runtime/lib/compiler', 'glimmer-runtime/lib/opcode-builder', 'glimmer-runtime/lib/compiled/blocks', 'glimmer-runtime/lib/dom/attribute-managers', 'glimmer-runtime/lib/compiled/opcodes/content', 'glimmer-runtime/lib/compiled/expressions', 'glimmer-runtime/lib/compiled/expressions/args', 'glimmer-runtime/lib/compiled/expressions/function', 'glimmer-runtime/lib/helpers/get-dynamic-var', 'glimmer-runtime/lib/syntax/builtins/with-dynamic-vars', 'glimmer-runtime/lib/syntax/builtins/in-element', 'glimmer-runtime/lib/vm', 'glimmer-runtime/lib/upsert', 'glimmer-runtime/lib/environment', 'glimmer-runtime/lib/partial', 'glimmer-runtime/lib/component/interfaces', 'glimmer-runtime/lib/modifier/interfaces', 'glimmer-runtime/lib/dom/helper', 'glimmer-runtime/lib/builder', 'glimmer-runtime/lib/bounds'], function (exports, _glimmerRuntimeLibDomInterfaces, _glimmerRuntimeLibSyntax, _glimmerRuntimeLibTemplate, _glimmerRuntimeLibSymbolTable, _glimmerRuntimeLibReferences, _glimmerRuntimeLibSyntaxCore, _glimmerRuntimeLibCompiledOpcodesBuilder, _glimmerRuntimeLibCompiler, _glimmerRuntimeLibOpcodeBuilder, _glimmerRuntimeLibCompiledBlocks, _glimmerRuntimeLibDomAttributeManagers, _glimmerRuntimeLibCompiledOpcodesContent, _glimmerRuntimeLibCompiledExpressions, _glimmerRuntimeLibCompiledExpressionsArgs, _glimmerRuntimeLibCompiledExpressionsFunction, _glimmerRuntimeLibHelpersGetDynamicVar, _glimmerRuntimeLibSyntaxBuiltinsWithDynamicVars, _glimmerRuntimeLibSyntaxBuiltinsInElement, _glimmerRuntimeLibVm, _glimmerRuntimeLibUpsert, _glimmerRuntimeLibEnvironment, _glimmerRuntimeLibPartial, _glimmerRuntimeLibComponentInterfaces, _glimmerRuntimeLibModifierInterfaces, _glimmerRuntimeLibDomHelper, _glimmerRuntimeLibBuilder, _glimmerRuntimeLibBounds) {\n  'use strict';\n\n  exports.ATTRIBUTE_SYNTAX = _glimmerRuntimeLibSyntax.ATTRIBUTE;\n  exports.StatementSyntax = _glimmerRuntimeLibSyntax.Statement;\n  exports.ExpressionSyntax = _glimmerRuntimeLibSyntax.Expression;\n  exports.AttributeSyntax = _glimmerRuntimeLibSyntax.Attribute;\n  exports.StatementCompilationBuffer = _glimmerRuntimeLibSyntax.StatementCompilationBuffer;\n  exports.SymbolLookup = _glimmerRuntimeLibSyntax.SymbolLookup;\n  exports.CompileInto = _glimmerRuntimeLibSyntax.CompileInto;\n  exports.isAttribute = _glimmerRuntimeLibSyntax.isAttribute;\n  exports.templateFactory = _glimmerRuntimeLibTemplate.default;\n  exports.TemplateFactory = _glimmerRuntimeLibTemplate.TemplateFactory;\n  exports.Template = _glimmerRuntimeLibTemplate.Template;\n  exports.SymbolTable = _glimmerRuntimeLibSymbolTable.default;\n  exports.NULL_REFERENCE = _glimmerRuntimeLibReferences.NULL_REFERENCE;\n  exports.UNDEFINED_REFERENCE = _glimmerRuntimeLibReferences.UNDEFINED_REFERENCE;\n  exports.PrimitiveReference = _glimmerRuntimeLibReferences.PrimitiveReference;\n  exports.ConditionalReference = _glimmerRuntimeLibReferences.ConditionalReference;\n  exports.Blocks = _glimmerRuntimeLibSyntaxCore.Blocks;\n  exports.OptimizedAppend = _glimmerRuntimeLibSyntaxCore.OptimizedAppend;\n  exports.UnoptimizedAppend = _glimmerRuntimeLibSyntaxCore.UnoptimizedAppend;\n  exports.Unknown = _glimmerRuntimeLibSyntaxCore.Unknown;\n  exports.StaticAttr = _glimmerRuntimeLibSyntaxCore.StaticAttr;\n  exports.DynamicAttr = _glimmerRuntimeLibSyntaxCore.DynamicAttr;\n  exports.ArgsSyntax = _glimmerRuntimeLibSyntaxCore.Args;\n  exports.NamedArgsSyntax = _glimmerRuntimeLibSyntaxCore.NamedArgs;\n  exports.PositionalArgsSyntax = _glimmerRuntimeLibSyntaxCore.PositionalArgs;\n  exports.RefSyntax = _glimmerRuntimeLibSyntaxCore.Ref;\n  exports.GetNamedParameterSyntax = _glimmerRuntimeLibSyntaxCore.GetArgument;\n  exports.GetSyntax = _glimmerRuntimeLibSyntaxCore.Get;\n  exports.ValueSyntax = _glimmerRuntimeLibSyntaxCore.Value;\n  exports.OpenElement = _glimmerRuntimeLibSyntaxCore.OpenElement;\n  exports.HelperSyntax = _glimmerRuntimeLibSyntaxCore.Helper;\n  exports.BlockSyntax = _glimmerRuntimeLibSyntaxCore.Block;\n  exports.OpenPrimitiveElementSyntax = _glimmerRuntimeLibSyntaxCore.OpenPrimitiveElement;\n  exports.CloseElementSyntax = _glimmerRuntimeLibSyntaxCore.CloseElement;\n  exports.OpcodeBuilderDSL = _glimmerRuntimeLibCompiledOpcodesBuilder.default;\n  exports.Compiler = _glimmerRuntimeLibCompiler.default;\n  exports.Compilable = _glimmerRuntimeLibCompiler.Compilable;\n  exports.CompileIntoList = _glimmerRuntimeLibCompiler.CompileIntoList;\n  exports.compileLayout = _glimmerRuntimeLibCompiler.compileLayout;\n  exports.ComponentBuilder = _glimmerRuntimeLibOpcodeBuilder.ComponentBuilder;\n  exports.StaticDefinition = _glimmerRuntimeLibOpcodeBuilder.StaticDefinition;\n  exports.DynamicDefinition = _glimmerRuntimeLibOpcodeBuilder.DynamicDefinition;\n  exports.Block = _glimmerRuntimeLibCompiledBlocks.Block;\n  exports.CompiledBlock = _glimmerRuntimeLibCompiledBlocks.CompiledBlock;\n  exports.Layout = _glimmerRuntimeLibCompiledBlocks.Layout;\n  exports.InlineBlock = _glimmerRuntimeLibCompiledBlocks.InlineBlock;\n  exports.EntryPoint = _glimmerRuntimeLibCompiledBlocks.EntryPoint;\n  exports.IAttributeManager = _glimmerRuntimeLibDomAttributeManagers.AttributeManager;\n  exports.AttributeManager = _glimmerRuntimeLibDomAttributeManagers.AttributeManager;\n  exports.PropertyManager = _glimmerRuntimeLibDomAttributeManagers.PropertyManager;\n  exports.INPUT_VALUE_PROPERTY_MANAGER = _glimmerRuntimeLibDomAttributeManagers.INPUT_VALUE_PROPERTY_MANAGER;\n  exports.defaultManagers = _glimmerRuntimeLibDomAttributeManagers.defaultManagers;\n  exports.defaultAttributeManagers = _glimmerRuntimeLibDomAttributeManagers.defaultAttributeManagers;\n  exports.defaultPropertyManagers = _glimmerRuntimeLibDomAttributeManagers.defaultPropertyManagers;\n  exports.readDOMAttr = _glimmerRuntimeLibDomAttributeManagers.readDOMAttr;\n  exports.normalizeTextValue = _glimmerRuntimeLibCompiledOpcodesContent.normalizeTextValue;\n  exports.CompiledExpression = _glimmerRuntimeLibCompiledExpressions.CompiledExpression;\n  exports.CompiledArgs = _glimmerRuntimeLibCompiledExpressionsArgs.CompiledArgs;\n  exports.CompiledNamedArgs = _glimmerRuntimeLibCompiledExpressionsArgs.CompiledNamedArgs;\n  exports.CompiledPositionalArgs = _glimmerRuntimeLibCompiledExpressionsArgs.CompiledPositionalArgs;\n  exports.EvaluatedArgs = _glimmerRuntimeLibCompiledExpressionsArgs.EvaluatedArgs;\n  exports.EvaluatedNamedArgs = _glimmerRuntimeLibCompiledExpressionsArgs.EvaluatedNamedArgs;\n  exports.EvaluatedPositionalArgs = _glimmerRuntimeLibCompiledExpressionsArgs.EvaluatedPositionalArgs;\n  exports.FunctionExpression = _glimmerRuntimeLibCompiledExpressionsFunction.FunctionExpression;\n  exports.getDynamicVar = _glimmerRuntimeLibHelpersGetDynamicVar.default;\n  exports.WithDynamicVarsSyntax = _glimmerRuntimeLibSyntaxBuiltinsWithDynamicVars.default;\n  exports.InElementSyntax = _glimmerRuntimeLibSyntaxBuiltinsInElement.default;\n  exports.VM = _glimmerRuntimeLibVm.PublicVM;\n  exports.UpdatingVM = _glimmerRuntimeLibVm.UpdatingVM;\n  exports.RenderResult = _glimmerRuntimeLibVm.RenderResult;\n  exports.SafeString = _glimmerRuntimeLibUpsert.SafeString;\n  exports.isSafeString = _glimmerRuntimeLibUpsert.isSafeString;\n  exports.Scope = _glimmerRuntimeLibEnvironment.Scope;\n  exports.Environment = _glimmerRuntimeLibEnvironment.default;\n  exports.Helper = _glimmerRuntimeLibEnvironment.Helper;\n  exports.ParsedStatement = _glimmerRuntimeLibEnvironment.ParsedStatement;\n  exports.DynamicScope = _glimmerRuntimeLibEnvironment.DynamicScope;\n  exports.PartialDefinition = _glimmerRuntimeLibPartial.PartialDefinition;\n  exports.Component = _glimmerRuntimeLibComponentInterfaces.Component;\n  exports.ComponentClass = _glimmerRuntimeLibComponentInterfaces.ComponentClass;\n  exports.ComponentManager = _glimmerRuntimeLibComponentInterfaces.ComponentManager;\n  exports.ComponentDefinition = _glimmerRuntimeLibComponentInterfaces.ComponentDefinition;\n  exports.ComponentLayoutBuilder = _glimmerRuntimeLibComponentInterfaces.ComponentLayoutBuilder;\n  exports.ComponentAttrsBuilder = _glimmerRuntimeLibComponentInterfaces.ComponentAttrsBuilder;\n  exports.isComponentDefinition = _glimmerRuntimeLibComponentInterfaces.isComponentDefinition;\n  exports.ModifierManager = _glimmerRuntimeLibModifierInterfaces.ModifierManager;\n  exports.DOMChanges = _glimmerRuntimeLibDomHelper.default;\n  exports.IDOMChanges = _glimmerRuntimeLibDomHelper.DOMChanges;\n  exports.DOMTreeConstruction = _glimmerRuntimeLibDomHelper.DOMTreeConstruction;\n  exports.isWhitespace = _glimmerRuntimeLibDomHelper.isWhitespace;\n  exports.insertHTMLBefore = _glimmerRuntimeLibDomHelper.insertHTMLBefore;\n  exports.Simple = _glimmerRuntimeLibDomInterfaces;\n  exports.ElementStack = _glimmerRuntimeLibBuilder.ElementStack;\n  exports.ElementOperations = _glimmerRuntimeLibBuilder.ElementOperations;\n  exports.Bounds = _glimmerRuntimeLibBounds.default;\n  exports.ConcreteBounds = _glimmerRuntimeLibBounds.ConcreteBounds;\n});\n\nenifed(\"glimmer-runtime/lib/bounds\", [\"exports\"], function (exports) {\n    \"use strict\";\n\n    exports.bounds = bounds;\n    exports.single = single;\n    exports.move = move;\n    exports.clear = clear;\n\n    var Cursor = function Cursor(element, nextSibling) {\n        this.element = element;\n        this.nextSibling = nextSibling;\n    };\n\n    exports.Cursor = Cursor;\n\n    var RealDOMBounds = (function () {\n        function RealDOMBounds(bounds) {\n            this.bounds = bounds;\n        }\n\n        RealDOMBounds.prototype.parentElement = function parentElement() {\n            return this.bounds.parentElement();\n        };\n\n        RealDOMBounds.prototype.firstNode = function firstNode() {\n            return this.bounds.firstNode();\n        };\n\n        RealDOMBounds.prototype.lastNode = function lastNode() {\n            return this.bounds.lastNode();\n        };\n\n        return RealDOMBounds;\n    })();\n\n    exports.RealDOMBounds = RealDOMBounds;\n\n    var ConcreteBounds = (function () {\n        function ConcreteBounds(parentNode, first, last) {\n            this.parentNode = parentNode;\n            this.first = first;\n            this.last = last;\n        }\n\n        ConcreteBounds.prototype.parentElement = function parentElement() {\n            return this.parentNode;\n        };\n\n        ConcreteBounds.prototype.firstNode = function firstNode() {\n            return this.first;\n        };\n\n        ConcreteBounds.prototype.lastNode = function lastNode() {\n            return this.last;\n        };\n\n        return ConcreteBounds;\n    })();\n\n    exports.ConcreteBounds = ConcreteBounds;\n\n    var SingleNodeBounds = (function () {\n        function SingleNodeBounds(parentNode, node) {\n            this.parentNode = parentNode;\n            this.node = node;\n        }\n\n        SingleNodeBounds.prototype.parentElement = function parentElement() {\n            return this.parentNode;\n        };\n\n        SingleNodeBounds.prototype.firstNode = function firstNode() {\n            return this.node;\n        };\n\n        SingleNodeBounds.prototype.lastNode = function lastNode() {\n            return this.node;\n        };\n\n        return SingleNodeBounds;\n    })();\n\n    exports.SingleNodeBounds = SingleNodeBounds;\n\n    function bounds(parent, first, last) {\n        return new ConcreteBounds(parent, first, last);\n    }\n\n    function single(parent, node) {\n        return new SingleNodeBounds(parent, node);\n    }\n\n    function move(bounds, reference) {\n        var parent = bounds.parentElement();\n        var first = bounds.firstNode();\n        var last = bounds.lastNode();\n        var node = first;\n        while (node) {\n            var next = node.nextSibling;\n            parent.insertBefore(node, reference);\n            if (node === last) return next;\n            node = next;\n        }\n        return null;\n    }\n\n    function clear(bounds) {\n        var parent = bounds.parentElement();\n        var first = bounds.firstNode();\n        var last = bounds.lastNode();\n        var node = first;\n        while (node) {\n            var next = node.nextSibling;\n            parent.removeChild(node);\n            if (node === last) return next;\n            node = next;\n        }\n        return null;\n    }\n});\n\nenifed('glimmer-runtime/lib/builder', ['exports', 'glimmer-runtime/lib/bounds', 'glimmer-util', 'glimmer-runtime/lib/compiled/opcodes/dom'], function (exports, _glimmerRuntimeLibBounds, _glimmerUtil, _glimmerRuntimeLibCompiledOpcodesDom) {\n    'use strict';\n\n    var First = (function () {\n        function First(node) {\n            this.node = node;\n        }\n\n        First.prototype.firstNode = function firstNode() {\n            return this.node;\n        };\n\n        return First;\n    })();\n\n    var Last = (function () {\n        function Last(node) {\n            this.node = node;\n        }\n\n        Last.prototype.lastNode = function lastNode() {\n            return this.node;\n        };\n\n        return Last;\n    })();\n\n    var Fragment = (function () {\n        function Fragment(bounds) {\n            this.bounds = bounds;\n        }\n\n        Fragment.prototype.parentElement = function parentElement() {\n            return this.bounds.parentElement();\n        };\n\n        Fragment.prototype.firstNode = function firstNode() {\n            return this.bounds.firstNode();\n        };\n\n        Fragment.prototype.lastNode = function lastNode() {\n            return this.bounds.lastNode();\n        };\n\n        Fragment.prototype.update = function update(bounds) {\n            this.bounds = bounds;\n        };\n\n        return Fragment;\n    })();\n\n    exports.Fragment = Fragment;\n\n    var ElementStack = (function () {\n        function ElementStack(env, parentNode, nextSibling) {\n            this.constructing = null;\n            this.operations = null;\n            this.elementStack = new _glimmerUtil.Stack();\n            this.nextSiblingStack = new _glimmerUtil.Stack();\n            this.blockStack = new _glimmerUtil.Stack();\n            this.env = env;\n            this.dom = env.getAppendOperations();\n            this.updateOperations = env.getDOM();\n            this.element = parentNode;\n            this.nextSibling = nextSibling;\n            this.defaultOperations = new _glimmerRuntimeLibCompiledOpcodesDom.SimpleElementOperations(env);\n            this.elementStack.push(this.element);\n            this.nextSiblingStack.push(this.nextSibling);\n        }\n\n        ElementStack.forInitialRender = function forInitialRender(env, parentNode, nextSibling) {\n            return new ElementStack(env, parentNode, nextSibling);\n        };\n\n        ElementStack.resume = function resume(env, tracker, nextSibling) {\n            var parentNode = tracker.parentElement();\n            var stack = new ElementStack(env, parentNode, nextSibling);\n            stack.pushBlockTracker(tracker);\n            return stack;\n        };\n\n        ElementStack.prototype.block = function block() {\n            return this.blockStack.current;\n        };\n\n        ElementStack.prototype.popElement = function popElement() {\n            var elementStack = this.elementStack;\n            var nextSiblingStack = this.nextSiblingStack;\n\n            var topElement = elementStack.pop();\n            nextSiblingStack.pop();\n            this.element = elementStack.current;\n            this.nextSibling = nextSiblingStack.current;\n            return topElement;\n        };\n\n        ElementStack.prototype.pushSimpleBlock = function pushSimpleBlock() {\n            var tracker = new SimpleBlockTracker(this.element);\n            this.pushBlockTracker(tracker);\n            return tracker;\n        };\n\n        ElementStack.prototype.pushUpdatableBlock = function pushUpdatableBlock() {\n            var tracker = new UpdatableBlockTracker(this.element);\n            this.pushBlockTracker(tracker);\n            return tracker;\n        };\n\n        ElementStack.prototype.pushBlockTracker = function pushBlockTracker(tracker) {\n            var isRemote = arguments.length <= 1 || arguments[1] === undefined ? false : arguments[1];\n\n            var current = this.blockStack.current;\n            if (current !== null) {\n                current.newDestroyable(tracker);\n                if (!isRemote) {\n                    current.newBounds(tracker);\n                }\n            }\n            this.blockStack.push(tracker);\n            return tracker;\n        };\n\n        ElementStack.prototype.pushBlockList = function pushBlockList(list) {\n            var tracker = new BlockListTracker(this.element, list);\n            var current = this.blockStack.current;\n            if (current !== null) {\n                current.newDestroyable(tracker);\n                current.newBounds(tracker);\n            }\n            this.blockStack.push(tracker);\n            return tracker;\n        };\n\n        ElementStack.prototype.popBlock = function popBlock() {\n            this.blockStack.current.finalize(this);\n            return this.blockStack.pop();\n        };\n\n        ElementStack.prototype.openElement = function openElement(tag) {\n            var operations = arguments.length <= 1 || arguments[1] === undefined ? this.defaultOperations : arguments[1];\n\n            var element = this.dom.createElement(tag, this.element);\n            this.constructing = element;\n            this.operations = operations;\n            return element;\n        };\n\n        ElementStack.prototype.flushElement = function flushElement() {\n            var parent = this.element;\n            var element = this.constructing;\n            this.dom.insertBefore(parent, element, this.nextSibling);\n            this.constructing = null;\n            this.operations = null;\n            this.pushElement(element);\n            this.blockStack.current.openElement(element);\n        };\n\n        ElementStack.prototype.pushRemoteElement = function pushRemoteElement(element) {\n            this.pushElement(element);\n            var tracker = new RemoteBlockTracker(element);\n            this.pushBlockTracker(tracker, true);\n        };\n\n        ElementStack.prototype.popRemoteElement = function popRemoteElement() {\n            this.popBlock();\n            this.popElement();\n        };\n\n        ElementStack.prototype.pushElement = function pushElement(element) {\n            this.element = element;\n            this.elementStack.push(element);\n            this.nextSibling = null;\n            this.nextSiblingStack.push(null);\n        };\n\n        ElementStack.prototype.newDestroyable = function newDestroyable(d) {\n            this.blockStack.current.newDestroyable(d);\n        };\n\n        ElementStack.prototype.newBounds = function newBounds(bounds) {\n            this.blockStack.current.newBounds(bounds);\n        };\n\n        ElementStack.prototype.appendText = function appendText(string) {\n            var dom = this.dom;\n\n            var text = dom.createTextNode(string);\n            dom.insertBefore(this.element, text, this.nextSibling);\n            this.blockStack.current.newNode(text);\n            return text;\n        };\n\n        ElementStack.prototype.appendComment = function appendComment(string) {\n            var dom = this.dom;\n\n            var comment = dom.createComment(string);\n            dom.insertBefore(this.element, comment, this.nextSibling);\n            this.blockStack.current.newNode(comment);\n            return comment;\n        };\n\n        ElementStack.prototype.setStaticAttribute = function setStaticAttribute(name, value) {\n            this.operations.addStaticAttribute(this.constructing, name, value);\n        };\n\n        ElementStack.prototype.setStaticAttributeNS = function setStaticAttributeNS(namespace, name, value) {\n            this.operations.addStaticAttributeNS(this.constructing, namespace, name, value);\n        };\n\n        ElementStack.prototype.setDynamicAttribute = function setDynamicAttribute(name, reference, isTrusting) {\n            this.operations.addDynamicAttribute(this.constructing, name, reference, isTrusting);\n        };\n\n        ElementStack.prototype.setDynamicAttributeNS = function setDynamicAttributeNS(namespace, name, reference, isTrusting) {\n            this.operations.addDynamicAttributeNS(this.constructing, namespace, name, reference, isTrusting);\n        };\n\n        ElementStack.prototype.closeElement = function closeElement() {\n            this.blockStack.current.closeElement();\n            this.popElement();\n        };\n\n        return ElementStack;\n    })();\n\n    exports.ElementStack = ElementStack;\n\n    var SimpleBlockTracker = (function () {\n        function SimpleBlockTracker(parent) {\n            this.parent = parent;\n            this.first = null;\n            this.last = null;\n            this.destroyables = null;\n            this.nesting = 0;\n        }\n\n        SimpleBlockTracker.prototype.destroy = function destroy() {\n            var destroyables = this.destroyables;\n\n            if (destroyables && destroyables.length) {\n                for (var i = 0; i < destroyables.length; i++) {\n                    destroyables[i].destroy();\n                }\n            }\n        };\n\n        SimpleBlockTracker.prototype.parentElement = function parentElement() {\n            return this.parent;\n        };\n\n        SimpleBlockTracker.prototype.firstNode = function firstNode() {\n            return this.first && this.first.firstNode();\n        };\n\n        SimpleBlockTracker.prototype.lastNode = function lastNode() {\n            return this.last && this.last.lastNode();\n        };\n\n        SimpleBlockTracker.prototype.openElement = function openElement(element) {\n            this.newNode(element);\n            this.nesting++;\n        };\n\n        SimpleBlockTracker.prototype.closeElement = function closeElement() {\n            this.nesting--;\n        };\n\n        SimpleBlockTracker.prototype.newNode = function newNode(node) {\n            if (this.nesting !== 0) return;\n            if (!this.first) {\n                this.first = new First(node);\n            }\n            this.last = new Last(node);\n        };\n\n        SimpleBlockTracker.prototype.newBounds = function newBounds(bounds) {\n            if (this.nesting !== 0) return;\n            if (!this.first) {\n                this.first = bounds;\n            }\n            this.last = bounds;\n        };\n\n        SimpleBlockTracker.prototype.newDestroyable = function newDestroyable(d) {\n            this.destroyables = this.destroyables || [];\n            this.destroyables.push(d);\n        };\n\n        SimpleBlockTracker.prototype.finalize = function finalize(stack) {\n            if (!this.first) {\n                stack.appendComment('');\n            }\n        };\n\n        return SimpleBlockTracker;\n    })();\n\n    exports.SimpleBlockTracker = SimpleBlockTracker;\n\n    var RemoteBlockTracker = (function (_SimpleBlockTracker) {\n        babelHelpers.inherits(RemoteBlockTracker, _SimpleBlockTracker);\n\n        function RemoteBlockTracker() {\n            _SimpleBlockTracker.apply(this, arguments);\n        }\n\n        RemoteBlockTracker.prototype.destroy = function destroy() {\n            _SimpleBlockTracker.prototype.destroy.call(this);\n            _glimmerRuntimeLibBounds.clear(this);\n        };\n\n        return RemoteBlockTracker;\n    })(SimpleBlockTracker);\n\n    var UpdatableBlockTracker = (function (_SimpleBlockTracker2) {\n        babelHelpers.inherits(UpdatableBlockTracker, _SimpleBlockTracker2);\n\n        function UpdatableBlockTracker() {\n            _SimpleBlockTracker2.apply(this, arguments);\n        }\n\n        UpdatableBlockTracker.prototype.reset = function reset(env) {\n            var destroyables = this.destroyables;\n\n            if (destroyables && destroyables.length) {\n                for (var i = 0; i < destroyables.length; i++) {\n                    env.didDestroy(destroyables[i]);\n                }\n            }\n            var nextSibling = _glimmerRuntimeLibBounds.clear(this);\n            this.destroyables = null;\n            this.first = null;\n            this.last = null;\n            return nextSibling;\n        };\n\n        return UpdatableBlockTracker;\n    })(SimpleBlockTracker);\n\n    exports.UpdatableBlockTracker = UpdatableBlockTracker;\n\n    var BlockListTracker = (function () {\n        function BlockListTracker(parent, boundList) {\n            this.parent = parent;\n            this.boundList = boundList;\n            this.parent = parent;\n            this.boundList = boundList;\n        }\n\n        BlockListTracker.prototype.destroy = function destroy() {\n            this.boundList.forEachNode(function (node) {\n                return node.destroy();\n            });\n        };\n\n        BlockListTracker.prototype.parentElement = function parentElement() {\n            return this.parent;\n        };\n\n        BlockListTracker.prototype.firstNode = function firstNode() {\n            return this.boundList.head().firstNode();\n        };\n\n        BlockListTracker.prototype.lastNode = function lastNode() {\n            return this.boundList.tail().lastNode();\n        };\n\n        BlockListTracker.prototype.openElement = function openElement(element) {\n            _glimmerUtil.assert(false, 'Cannot openElement directly inside a block list');\n        };\n\n        BlockListTracker.prototype.closeElement = function closeElement() {\n            _glimmerUtil.assert(false, 'Cannot closeElement directly inside a block list');\n        };\n\n        BlockListTracker.prototype.newNode = function newNode(node) {\n            _glimmerUtil.assert(false, 'Cannot create a new node directly inside a block list');\n        };\n\n        BlockListTracker.prototype.newBounds = function newBounds(bounds) {};\n\n        BlockListTracker.prototype.newDestroyable = function newDestroyable(d) {};\n\n        BlockListTracker.prototype.finalize = function finalize(stack) {};\n\n        return BlockListTracker;\n    })();\n});\n\nenifed('glimmer-runtime/lib/compat/inner-html-fix', ['exports', 'glimmer-runtime/lib/bounds', 'glimmer-runtime/lib/dom/helper'], function (exports, _glimmerRuntimeLibBounds, _glimmerRuntimeLibDomHelper) {\n    'use strict';\n\n    exports.domChanges = domChanges;\n    exports.treeConstruction = treeConstruction;\n\n    var innerHTMLWrapper = {\n        colgroup: { depth: 2, before: '<table><colgroup>', after: '</colgroup></table>' },\n        table: { depth: 1, before: '<table>', after: '</table>' },\n        tbody: { depth: 2, before: '<table><tbody>', after: '</tbody></table>' },\n        tfoot: { depth: 2, before: '<table><tfoot>', after: '</tfoot></table>' },\n        thead: { depth: 2, before: '<table><thead>', after: '</thead></table>' },\n        tr: { depth: 3, before: '<table><tbody><tr>', after: '</tr></tbody></table>' }\n    };\n    // 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.\n\n    function domChanges(document, DOMChangesClass) {\n        if (!document) return DOMChangesClass;\n        if (!shouldApplyFix(document)) {\n            return DOMChangesClass;\n        }\n        var div = document.createElement('div');\n        return (function (_DOMChangesClass) {\n            babelHelpers.inherits(DOMChangesWithInnerHTMLFix, _DOMChangesClass);\n\n            function DOMChangesWithInnerHTMLFix() {\n                _DOMChangesClass.apply(this, arguments);\n            }\n\n            DOMChangesWithInnerHTMLFix.prototype.insertHTMLBefore = function insertHTMLBefore(parent, nextSibling, html) {\n                if (html === null || html === '') {\n                    return _DOMChangesClass.prototype.insertHTMLBefore.call(this, parent, nextSibling, html);\n                }\n                var parentTag = parent.tagName.toLowerCase();\n                var wrapper = innerHTMLWrapper[parentTag];\n                if (wrapper === undefined) {\n                    return _DOMChangesClass.prototype.insertHTMLBefore.call(this, parent, nextSibling, html);\n                }\n                return fixInnerHTML(parent, wrapper, div, html, nextSibling);\n            };\n\n            return DOMChangesWithInnerHTMLFix;\n        })(DOMChangesClass);\n    }\n\n    function treeConstruction(document, DOMTreeConstructionClass) {\n        if (!document) return DOMTreeConstructionClass;\n        if (!shouldApplyFix(document)) {\n            return DOMTreeConstructionClass;\n        }\n        var div = document.createElement('div');\n        return (function (_DOMTreeConstructionClass) {\n            babelHelpers.inherits(DOMTreeConstructionWithInnerHTMLFix, _DOMTreeConstructionClass);\n\n            function DOMTreeConstructionWithInnerHTMLFix() {\n                _DOMTreeConstructionClass.apply(this, arguments);\n            }\n\n            DOMTreeConstructionWithInnerHTMLFix.prototype.insertHTMLBefore = function insertHTMLBefore(parent, html, reference) {\n                if (html === null || html === '') {\n                    return _DOMTreeConstructionClass.prototype.insertHTMLBefore.call(this, parent, html, reference);\n                }\n                var parentTag = parent.tagName.toLowerCase();\n                var wrapper = innerHTMLWrapper[parentTag];\n                if (wrapper === undefined) {\n                    return _DOMTreeConstructionClass.prototype.insertHTMLBefore.call(this, parent, html, reference);\n                }\n                return fixInnerHTML(parent, wrapper, div, html, reference);\n            };\n\n            return DOMTreeConstructionWithInnerHTMLFix;\n        })(DOMTreeConstructionClass);\n    }\n\n    function fixInnerHTML(parent, wrapper, div, html, reference) {\n        var wrappedHtml = wrapper.before + html + wrapper.after;\n        div.innerHTML = wrappedHtml;\n        var parentNode = div;\n        for (var i = 0; i < wrapper.depth; i++) {\n            parentNode = parentNode.childNodes[0];\n        }\n\n        var _moveNodesBefore = _glimmerRuntimeLibDomHelper.moveNodesBefore(parentNode, parent, reference);\n\n        var first = _moveNodesBefore[0];\n        var last = _moveNodesBefore[1];\n\n        return new _glimmerRuntimeLibBounds.ConcreteBounds(parent, first, last);\n    }\n    function shouldApplyFix(document) {\n        var table = document.createElement('table');\n        try {\n            table.innerHTML = '<tbody></tbody>';\n        } catch (e) {} finally {\n            if (table.childNodes.length !== 0) {\n                // It worked as expected, no fix required\n                return false;\n            }\n        }\n        return true;\n    }\n});\n\nenifed('glimmer-runtime/lib/compat/svg-inner-html-fix', ['exports', 'glimmer-runtime/lib/bounds', 'glimmer-runtime/lib/dom/helper'], function (exports, _glimmerRuntimeLibBounds, _glimmerRuntimeLibDomHelper) {\n    'use strict';\n\n    exports.domChanges = domChanges;\n    exports.treeConstruction = treeConstruction;\n\n    var SVG_NAMESPACE = 'http://www.w3.org/2000/svg';\n    // Patch:    insertAdjacentHTML on SVG Fix\n    // Browsers: Safari, IE, Edge, Firefox ~33-34\n    // Reason:   insertAdjacentHTML does not exist on SVG elements in Safari. It is\n    //           present but throws an exception on IE and Edge. Old versions of\n    //           Firefox create nodes in the incorrect namespace.\n    // Fix:      Since IE and Edge silently fail to create SVG nodes using\n    //           innerHTML, and because Firefox may create nodes in the incorrect\n    //           namespace using innerHTML on SVG elements, an HTML-string wrapping\n    //           approach is used. A pre/post SVG tag is added to the string, then\n    //           that whole string is added to a div. The created nodes are plucked\n    //           out and applied to the target location on DOM.\n\n    function domChanges(document, DOMChangesClass, svgNamespace) {\n        if (!document) return DOMChangesClass;\n        if (!shouldApplyFix(document, svgNamespace)) {\n            return DOMChangesClass;\n        }\n        var div = document.createElement('div');\n        return (function (_DOMChangesClass) {\n            babelHelpers.inherits(DOMChangesWithSVGInnerHTMLFix, _DOMChangesClass);\n\n            function DOMChangesWithSVGInnerHTMLFix() {\n                _DOMChangesClass.apply(this, arguments);\n            }\n\n            DOMChangesWithSVGInnerHTMLFix.prototype.insertHTMLBefore = function insertHTMLBefore(parent, nextSibling, html) {\n                if (html === null || html === '') {\n                    return _DOMChangesClass.prototype.insertHTMLBefore.call(this, parent, nextSibling, html);\n                }\n                if (parent.namespaceURI !== svgNamespace) {\n                    return _DOMChangesClass.prototype.insertHTMLBefore.call(this, parent, nextSibling, html);\n                }\n                return fixSVG(parent, div, html, nextSibling);\n            };\n\n            return DOMChangesWithSVGInnerHTMLFix;\n        })(DOMChangesClass);\n    }\n\n    function treeConstruction(document, TreeConstructionClass, svgNamespace) {\n        if (!document) return TreeConstructionClass;\n        if (!shouldApplyFix(document, svgNamespace)) {\n            return TreeConstructionClass;\n        }\n        var div = document.createElement('div');\n        return (function (_TreeConstructionClass) {\n            babelHelpers.inherits(TreeConstructionWithSVGInnerHTMLFix, _TreeConstructionClass);\n\n            function TreeConstructionWithSVGInnerHTMLFix() {\n                _TreeConstructionClass.apply(this, arguments);\n            }\n\n            TreeConstructionWithSVGInnerHTMLFix.prototype.insertHTMLBefore = function insertHTMLBefore(parent, html, reference) {\n                if (html === null || html === '') {\n                    return _TreeConstructionClass.prototype.insertHTMLBefore.call(this, parent, html, reference);\n                }\n                if (parent.namespaceURI !== svgNamespace) {\n                    return _TreeConstructionClass.prototype.insertHTMLBefore.call(this, parent, html, reference);\n                }\n                return fixSVG(parent, div, html, reference);\n            };\n\n            return TreeConstructionWithSVGInnerHTMLFix;\n        })(TreeConstructionClass);\n    }\n\n    function fixSVG(parent, div, html, reference) {\n        // IE, Edge: also do not correctly support using `innerHTML` on SVG\n        // namespaced elements. So here a wrapper is used.\n        var wrappedHtml = '<svg>' + html + '</svg>';\n        div.innerHTML = wrappedHtml;\n\n        var _moveNodesBefore = _glimmerRuntimeLibDomHelper.moveNodesBefore(div.firstChild, parent, reference);\n\n        var first = _moveNodesBefore[0];\n        var last = _moveNodesBefore[1];\n\n        return new _glimmerRuntimeLibBounds.ConcreteBounds(parent, first, last);\n    }\n    function shouldApplyFix(document, svgNamespace) {\n        var svg = document.createElementNS(svgNamespace, 'svg');\n        try {\n            svg['insertAdjacentHTML']('beforeEnd', '<circle></circle>');\n        } catch (e) {} finally {\n            // FF: Old versions will create a node in the wrong namespace\n            if (svg.childNodes.length === 1 && svg.firstChild.namespaceURI === SVG_NAMESPACE) {\n                // The test worked as expected, no fix required\n                return false;\n            }\n            svg = null;\n            return true;\n        }\n    }\n});\n\nenifed('glimmer-runtime/lib/compat/text-node-merging-fix', ['exports'], function (exports) {\n    // Patch:    Adjacent text node merging fix\n    // Browsers: IE, Edge, Firefox w/o inspector open\n    // Reason:   These browsers will merge adjacent text nodes. For exmaple given\n    //           <div>Hello</div> with div.insertAdjacentHTML(' world') browsers\n    //           with proper behavior will populate div.childNodes with two items.\n    //           These browsers will populate it with one merged node instead.\n    // Fix:      Add these nodes to a wrapper element, then iterate the childNodes\n    //           of that wrapper and move the nodes to their target location. Note\n    //           that potential SVG bugs will have been handled before this fix.\n    //           Note that this fix must only apply to the previous text node, as\n    //           the base implementation of `insertHTMLBefore` already handles\n    //           following text nodes correctly.\n    'use strict';\n\n    exports.domChanges = domChanges;\n    exports.treeConstruction = treeConstruction;\n\n    function domChanges(document, DOMChangesClass) {\n        if (!document) return DOMChangesClass;\n        if (!shouldApplyFix(document)) {\n            return DOMChangesClass;\n        }\n        return (function (_DOMChangesClass) {\n            babelHelpers.inherits(DOMChangesWithTextNodeMergingFix, _DOMChangesClass);\n\n            function DOMChangesWithTextNodeMergingFix(document) {\n                _DOMChangesClass.call(this, document);\n                this.uselessComment = document.createComment('');\n            }\n\n            DOMChangesWithTextNodeMergingFix.prototype.insertHTMLBefore = function insertHTMLBefore(parent, nextSibling, html) {\n                if (html === null) {\n                    return _DOMChangesClass.prototype.insertHTMLBefore.call(this, parent, nextSibling, html);\n                }\n                var didSetUselessComment = false;\n                var nextPrevious = nextSibling ? nextSibling.previousSibling : parent.lastChild;\n                if (nextPrevious && nextPrevious instanceof Text) {\n                    didSetUselessComment = true;\n                    parent.insertBefore(this.uselessComment, nextSibling);\n                }\n                var bounds = _DOMChangesClass.prototype.insertHTMLBefore.call(this, parent, nextSibling, html);\n                if (didSetUselessComment) {\n                    parent.removeChild(this.uselessComment);\n                }\n                return bounds;\n            };\n\n            return DOMChangesWithTextNodeMergingFix;\n        })(DOMChangesClass);\n    }\n\n    function treeConstruction(document, TreeConstructionClass) {\n        if (!document) return TreeConstructionClass;\n        if (!shouldApplyFix(document)) {\n            return TreeConstructionClass;\n        }\n        return (function (_TreeConstructionClass) {\n            babelHelpers.inherits(TreeConstructionWithTextNodeMergingFix, _TreeConstructionClass);\n\n            function TreeConstructionWithTextNodeMergingFix(document) {\n                _TreeConstructionClass.call(this, document);\n                this.uselessComment = this.createComment('');\n            }\n\n            TreeConstructionWithTextNodeMergingFix.prototype.insertHTMLBefore = function insertHTMLBefore(parent, html, reference) {\n                if (html === null) {\n                    return _TreeConstructionClass.prototype.insertHTMLBefore.call(this, parent, html, reference);\n                }\n                var didSetUselessComment = false;\n                var nextPrevious = reference ? reference.previousSibling : parent.lastChild;\n                if (nextPrevious && nextPrevious instanceof Text) {\n                    didSetUselessComment = true;\n                    parent.insertBefore(this.uselessComment, reference);\n                }\n                var bounds = _TreeConstructionClass.prototype.insertHTMLBefore.call(this, parent, html, reference);\n                if (didSetUselessComment) {\n                    parent.removeChild(this.uselessComment);\n                }\n                return bounds;\n            };\n\n            return TreeConstructionWithTextNodeMergingFix;\n        })(TreeConstructionClass);\n    }\n\n    function shouldApplyFix(document) {\n        var mergingTextDiv = document.createElement('div');\n        mergingTextDiv.innerHTML = 'first';\n        mergingTextDiv.insertAdjacentHTML('beforeEnd', 'second');\n        if (mergingTextDiv.childNodes.length === 2) {\n            mergingTextDiv = null;\n            // It worked as expected, no fix required\n            return false;\n        }\n        mergingTextDiv = null;\n        return true;\n    }\n});\n\nenifed('glimmer-runtime/lib/compiled/blocks', ['exports', 'glimmer-runtime/lib/utils', 'glimmer-runtime/lib/compiler'], function (exports, _glimmerRuntimeLibUtils, _glimmerRuntimeLibCompiler) {\n    'use strict';\n\n    var CompiledBlock = function CompiledBlock(ops, symbols) {\n        this.ops = ops;\n        this.symbols = symbols;\n    };\n\n    exports.CompiledBlock = CompiledBlock;\n\n    var Block = function Block(program, symbolTable) {\n        this.program = program;\n        this.symbolTable = symbolTable;\n        this.compiled = null;\n    };\n\n    exports.Block = Block;\n\n    var InlineBlock = (function (_Block) {\n        babelHelpers.inherits(InlineBlock, _Block);\n\n        function InlineBlock(program, symbolTable) {\n            var locals = arguments.length <= 2 || arguments[2] === undefined ? _glimmerRuntimeLibUtils.EMPTY_ARRAY : arguments[2];\n\n            _Block.call(this, program, symbolTable);\n            this.locals = locals;\n        }\n\n        InlineBlock.prototype.hasPositionalParameters = function hasPositionalParameters() {\n            return !!this.locals.length;\n        };\n\n        InlineBlock.prototype.compile = function compile(env) {\n            var compiled = this.compiled;\n            if (compiled) return compiled;\n            var ops = new _glimmerRuntimeLibCompiler.InlineBlockCompiler(this, env).compile();\n            return this.compiled = new CompiledBlock(ops, this.symbolTable.size);\n        };\n\n        return InlineBlock;\n    })(Block);\n\n    exports.InlineBlock = InlineBlock;\n\n    var PartialBlock = (function (_InlineBlock) {\n        babelHelpers.inherits(PartialBlock, _InlineBlock);\n\n        function PartialBlock() {\n            _InlineBlock.apply(this, arguments);\n        }\n\n        return PartialBlock;\n    })(InlineBlock);\n\n    exports.PartialBlock = PartialBlock;\n\n    var TopLevelTemplate = (function (_Block2) {\n        babelHelpers.inherits(TopLevelTemplate, _Block2);\n\n        function TopLevelTemplate() {\n            _Block2.apply(this, arguments);\n        }\n\n        return TopLevelTemplate;\n    })(Block);\n\n    exports.TopLevelTemplate = TopLevelTemplate;\n\n    var EntryPoint = (function (_TopLevelTemplate) {\n        babelHelpers.inherits(EntryPoint, _TopLevelTemplate);\n\n        function EntryPoint() {\n            _TopLevelTemplate.apply(this, arguments);\n        }\n\n        EntryPoint.prototype.compile = function compile(env) {\n            var compiled = this.compiled;\n            if (compiled) return compiled;\n            var ops = new _glimmerRuntimeLibCompiler.EntryPointCompiler(this, env).compile();\n            return this.compiled = new CompiledBlock(ops, this.symbolTable.size);\n        };\n\n        return EntryPoint;\n    })(TopLevelTemplate);\n\n    exports.EntryPoint = EntryPoint;\n\n    var Layout = (function (_TopLevelTemplate2) {\n        babelHelpers.inherits(Layout, _TopLevelTemplate2);\n\n        function Layout(program, symbolTable, named, yields, hasPartials) {\n            _TopLevelTemplate2.call(this, program, symbolTable);\n            this.named = named;\n            this.yields = yields;\n            this.hasPartials = hasPartials;\n            this.hasNamedParameters = !!this.named.length;\n            this.hasYields = !!this.yields.length;\n            ;\n        }\n\n        return Layout;\n    })(TopLevelTemplate);\n\n    exports.Layout = Layout;\n});\n\nenifed(\"glimmer-runtime/lib/compiled/expressions\", [\"exports\"], function (exports) {\n    \"use strict\";\n\n    var CompiledExpression = (function () {\n        function CompiledExpression() {}\n\n        CompiledExpression.prototype.toJSON = function toJSON() {\n            return \"UNIMPL: \" + this.type.toUpperCase();\n        };\n\n        return CompiledExpression;\n    })();\n\n    exports.CompiledExpression = CompiledExpression;\n});\n\nenifed('glimmer-runtime/lib/compiled/expressions/args', ['exports', 'glimmer-runtime/lib/compiled/expressions/positional-args', 'glimmer-runtime/lib/compiled/expressions/named-args', 'glimmer-runtime/lib/syntax/core', 'glimmer-reference'], function (exports, _glimmerRuntimeLibCompiledExpressionsPositionalArgs, _glimmerRuntimeLibCompiledExpressionsNamedArgs, _glimmerRuntimeLibSyntaxCore, _glimmerReference) {\n    'use strict';\n\n    var CompiledArgs = (function () {\n        function CompiledArgs(positional, named, blocks) {\n            this.positional = positional;\n            this.named = named;\n            this.blocks = blocks;\n        }\n\n        CompiledArgs.create = function create(positional, named, blocks) {\n            if (positional === _glimmerRuntimeLibCompiledExpressionsPositionalArgs.COMPILED_EMPTY_POSITIONAL_ARGS && named === _glimmerRuntimeLibCompiledExpressionsNamedArgs.COMPILED_EMPTY_NAMED_ARGS && blocks === _glimmerRuntimeLibSyntaxCore.EMPTY_BLOCKS) {\n                return this.empty();\n            } else {\n                return new this(positional, named, blocks);\n            }\n        };\n\n        CompiledArgs.empty = function empty() {\n            return COMPILED_EMPTY_ARGS;\n        };\n\n        CompiledArgs.prototype.evaluate = function evaluate(vm) {\n            var positional = this.positional;\n            var named = this.named;\n            var blocks = this.blocks;\n\n            return EvaluatedArgs.create(positional.evaluate(vm), named.evaluate(vm), blocks);\n        };\n\n        return CompiledArgs;\n    })();\n\n    exports.CompiledArgs = CompiledArgs;\n\n    var COMPILED_EMPTY_ARGS = new ((function (_CompiledArgs) {\n        babelHelpers.inherits(_class, _CompiledArgs);\n\n        function _class() {\n            _CompiledArgs.call(this, _glimmerRuntimeLibCompiledExpressionsPositionalArgs.COMPILED_EMPTY_POSITIONAL_ARGS, _glimmerRuntimeLibCompiledExpressionsNamedArgs.COMPILED_EMPTY_NAMED_ARGS, _glimmerRuntimeLibSyntaxCore.EMPTY_BLOCKS);\n        }\n\n        _class.prototype.evaluate = function evaluate(vm) {\n            return EMPTY_EVALUATED_ARGS;\n        };\n\n        return _class;\n    })(CompiledArgs))();\n\n    var EvaluatedArgs = (function () {\n        function EvaluatedArgs(positional, named, blocks) {\n            this.positional = positional;\n            this.named = named;\n            this.blocks = blocks;\n            this.tag = _glimmerReference.combineTagged([positional, named]);\n        }\n\n        EvaluatedArgs.empty = function empty() {\n            return EMPTY_EVALUATED_ARGS;\n        };\n\n        EvaluatedArgs.create = function create(positional, named, blocks) {\n            return new this(positional, named, blocks);\n        };\n\n        EvaluatedArgs.positional = function positional(values) {\n            var blocks = arguments.length <= 1 || arguments[1] === undefined ? _glimmerRuntimeLibSyntaxCore.EMPTY_BLOCKS : arguments[1];\n\n            return new this(_glimmerRuntimeLibCompiledExpressionsPositionalArgs.EvaluatedPositionalArgs.create(values), _glimmerRuntimeLibCompiledExpressionsNamedArgs.EVALUATED_EMPTY_NAMED_ARGS, blocks);\n        };\n\n        EvaluatedArgs.named = function named(map) {\n            var blocks = arguments.length <= 1 || arguments[1] === undefined ? _glimmerRuntimeLibSyntaxCore.EMPTY_BLOCKS : arguments[1];\n\n            return new this(_glimmerRuntimeLibCompiledExpressionsPositionalArgs.EVALUATED_EMPTY_POSITIONAL_ARGS, _glimmerRuntimeLibCompiledExpressionsNamedArgs.EvaluatedNamedArgs.create(map), blocks);\n        };\n\n        return EvaluatedArgs;\n    })();\n\n    exports.EvaluatedArgs = EvaluatedArgs;\n\n    var EMPTY_EVALUATED_ARGS = new EvaluatedArgs(_glimmerRuntimeLibCompiledExpressionsPositionalArgs.EVALUATED_EMPTY_POSITIONAL_ARGS, _glimmerRuntimeLibCompiledExpressionsNamedArgs.EVALUATED_EMPTY_NAMED_ARGS, _glimmerRuntimeLibSyntaxCore.EMPTY_BLOCKS);\n    exports.CompiledPositionalArgs = _glimmerRuntimeLibCompiledExpressionsPositionalArgs.CompiledPositionalArgs;\n    exports.EvaluatedPositionalArgs = _glimmerRuntimeLibCompiledExpressionsPositionalArgs.EvaluatedPositionalArgs;\n    exports.CompiledNamedArgs = _glimmerRuntimeLibCompiledExpressionsNamedArgs.CompiledNamedArgs;\n    exports.EvaluatedNamedArgs = _glimmerRuntimeLibCompiledExpressionsNamedArgs.EvaluatedNamedArgs;\n});\n\nenifed(\"glimmer-runtime/lib/compiled/expressions/concat\", [\"exports\", \"glimmer-reference\"], function (exports, _glimmerReference) {\n    \"use strict\";\n\n    var CompiledConcat = (function () {\n        function CompiledConcat(parts) {\n            this.parts = parts;\n            this.type = \"concat\";\n        }\n\n        CompiledConcat.prototype.evaluate = function evaluate(vm) {\n            var parts = new Array(this.parts.length);\n            for (var i = 0; i < this.parts.length; i++) {\n                parts[i] = this.parts[i].evaluate(vm);\n            }\n            return new ConcatReference(parts);\n        };\n\n        CompiledConcat.prototype.toJSON = function toJSON() {\n            return \"concat(\" + this.parts.map(function (expr) {\n                return expr.toJSON();\n            }).join(\", \") + \")\";\n        };\n\n        return CompiledConcat;\n    })();\n\n    exports.default = CompiledConcat;\n\n    var ConcatReference = (function (_CachedReference) {\n        babelHelpers.inherits(ConcatReference, _CachedReference);\n\n        function ConcatReference(parts) {\n            _CachedReference.call(this);\n            this.parts = parts;\n            this.tag = _glimmerReference.combineTagged(parts);\n        }\n\n        ConcatReference.prototype.compute = function compute() {\n            var parts = new Array();\n            for (var i = 0; i < this.parts.length; i++) {\n                var value = this.parts[i].value();\n                if (value !== null && value !== undefined) {\n                    parts[i] = castToString(this.parts[i].value());\n                }\n            }\n            if (parts.length > 0) {\n                return parts.join('');\n            }\n            return null;\n        };\n\n        return ConcatReference;\n    })(_glimmerReference.CachedReference);\n\n    function castToString(value) {\n        if (typeof value['toString'] !== 'function') {\n            return '';\n        }\n        return String(value);\n    }\n});\n\nenifed('glimmer-runtime/lib/compiled/expressions/function', ['exports', 'glimmer-runtime/lib/syntax', 'glimmer-runtime/lib/compiled/expressions'], function (exports, _glimmerRuntimeLibSyntax, _glimmerRuntimeLibCompiledExpressions) {\n    'use strict';\n\n    exports.default = make;\n\n    function make(func) {\n        return new FunctionExpressionSyntax(func);\n    }\n\n    var FunctionExpressionSyntax = (function (_ExpressionSyntax) {\n        babelHelpers.inherits(FunctionExpressionSyntax, _ExpressionSyntax);\n\n        function FunctionExpressionSyntax(func) {\n            _ExpressionSyntax.call(this);\n            this.type = \"function-expression\";\n            this.func = func;\n        }\n\n        FunctionExpressionSyntax.prototype.compile = function compile(lookup, env, symbolTable) {\n            return new CompiledFunctionExpression(this.func, symbolTable);\n        };\n\n        return FunctionExpressionSyntax;\n    })(_glimmerRuntimeLibSyntax.Expression);\n\n    var CompiledFunctionExpression = (function (_CompiledExpression) {\n        babelHelpers.inherits(CompiledFunctionExpression, _CompiledExpression);\n\n        function CompiledFunctionExpression(func, symbolTable) {\n            _CompiledExpression.call(this);\n            this.func = func;\n            this.symbolTable = symbolTable;\n            this.type = \"function\";\n            this.func = func;\n        }\n\n        CompiledFunctionExpression.prototype.evaluate = function evaluate(vm) {\n            var func = this.func;\n            var symbolTable = this.symbolTable;\n\n            return func(vm, symbolTable);\n        };\n\n        CompiledFunctionExpression.prototype.toJSON = function toJSON() {\n            var func = this.func;\n\n            if (func.name) {\n                return '`' + func.name + '(...)`';\n            } else {\n                return \"`func(...)`\";\n            }\n        };\n\n        return CompiledFunctionExpression;\n    })(_glimmerRuntimeLibCompiledExpressions.CompiledExpression);\n});\n\nenifed('glimmer-runtime/lib/compiled/expressions/has-block', ['exports', 'glimmer-runtime/lib/compiled/expressions', 'glimmer-runtime/lib/references'], function (exports, _glimmerRuntimeLibCompiledExpressions, _glimmerRuntimeLibReferences) {\n    'use strict';\n\n    var CompiledHasBlock = (function (_CompiledExpression) {\n        babelHelpers.inherits(CompiledHasBlock, _CompiledExpression);\n\n        function CompiledHasBlock(inner) {\n            _CompiledExpression.call(this);\n            this.inner = inner;\n            this.type = \"has-block\";\n        }\n\n        CompiledHasBlock.prototype.evaluate = function evaluate(vm) {\n            var block = this.inner.evaluate(vm);\n            return _glimmerRuntimeLibReferences.PrimitiveReference.create(!!block);\n        };\n\n        CompiledHasBlock.prototype.toJSON = function toJSON() {\n            return 'has-block(' + this.inner.toJSON() + ')';\n        };\n\n        return CompiledHasBlock;\n    })(_glimmerRuntimeLibCompiledExpressions.CompiledExpression);\n\n    exports.default = CompiledHasBlock;\n\n    var CompiledHasBlockParams = (function (_CompiledExpression2) {\n        babelHelpers.inherits(CompiledHasBlockParams, _CompiledExpression2);\n\n        function CompiledHasBlockParams(inner) {\n            _CompiledExpression2.call(this);\n            this.inner = inner;\n            this.type = \"has-block-params\";\n        }\n\n        CompiledHasBlockParams.prototype.evaluate = function evaluate(vm) {\n            var block = this.inner.evaluate(vm);\n            return _glimmerRuntimeLibReferences.PrimitiveReference.create(!!(block && block.locals.length > 0));\n        };\n\n        CompiledHasBlockParams.prototype.toJSON = function toJSON() {\n            return 'has-block-params(' + this.inner.toJSON() + ')';\n        };\n\n        return CompiledHasBlockParams;\n    })(_glimmerRuntimeLibCompiledExpressions.CompiledExpression);\n\n    exports.CompiledHasBlockParams = CompiledHasBlockParams;\n\n    var CompiledGetBlockBySymbol = (function () {\n        function CompiledGetBlockBySymbol(symbol, debug) {\n            this.symbol = symbol;\n            this.debug = debug;\n        }\n\n        CompiledGetBlockBySymbol.prototype.evaluate = function evaluate(vm) {\n            return vm.scope().getBlock(this.symbol);\n        };\n\n        CompiledGetBlockBySymbol.prototype.toJSON = function toJSON() {\n            return 'get-block($' + this.symbol + '(' + this.debug + '))';\n        };\n\n        return CompiledGetBlockBySymbol;\n    })();\n\n    exports.CompiledGetBlockBySymbol = CompiledGetBlockBySymbol;\n\n    var CompiledInPartialGetBlock = (function () {\n        function CompiledInPartialGetBlock(symbol, name) {\n            this.symbol = symbol;\n            this.name = name;\n        }\n\n        CompiledInPartialGetBlock.prototype.evaluate = function evaluate(vm) {\n            var symbol = this.symbol;\n            var name = this.name;\n\n            var args = vm.scope().getPartialArgs(symbol);\n            return args.blocks[name];\n        };\n\n        CompiledInPartialGetBlock.prototype.toJSON = function toJSON() {\n            return 'get-block($' + this.symbol + '($ARGS).' + this.name + '))';\n        };\n\n        return CompiledInPartialGetBlock;\n    })();\n\n    exports.CompiledInPartialGetBlock = CompiledInPartialGetBlock;\n});\n\nenifed('glimmer-runtime/lib/compiled/expressions/helper', ['exports', 'glimmer-runtime/lib/compiled/expressions'], function (exports, _glimmerRuntimeLibCompiledExpressions) {\n    'use strict';\n\n    var CompiledHelper = (function (_CompiledExpression) {\n        babelHelpers.inherits(CompiledHelper, _CompiledExpression);\n\n        function CompiledHelper(name, helper, args, symbolTable) {\n            _CompiledExpression.call(this);\n            this.name = name;\n            this.helper = helper;\n            this.args = args;\n            this.symbolTable = symbolTable;\n            this.type = \"helper\";\n        }\n\n        CompiledHelper.prototype.evaluate = function evaluate(vm) {\n            var helper = this.helper;\n\n            return helper(vm, this.args.evaluate(vm), this.symbolTable);\n        };\n\n        CompiledHelper.prototype.toJSON = function toJSON() {\n            return '`' + this.name.join('.') + '($ARGS)`';\n        };\n\n        return CompiledHelper;\n    })(_glimmerRuntimeLibCompiledExpressions.CompiledExpression);\n\n    exports.default = CompiledHelper;\n});\n\nenifed('glimmer-runtime/lib/compiled/expressions/lookups', ['exports', 'glimmer-runtime/lib/compiled/expressions', 'glimmer-reference'], function (exports, _glimmerRuntimeLibCompiledExpressions, _glimmerReference) {\n    'use strict';\n\n    var CompiledLookup = (function (_CompiledExpression) {\n        babelHelpers.inherits(CompiledLookup, _CompiledExpression);\n\n        function CompiledLookup(base, path) {\n            _CompiledExpression.call(this);\n            this.base = base;\n            this.path = path;\n            this.type = \"lookup\";\n        }\n\n        CompiledLookup.create = function create(base, path) {\n            if (path.length === 0) {\n                return base;\n            } else {\n                return new this(base, path);\n            }\n        };\n\n        CompiledLookup.prototype.evaluate = function evaluate(vm) {\n            var base = this.base;\n            var path = this.path;\n\n            return _glimmerReference.referenceFromParts(base.evaluate(vm), path);\n        };\n\n        CompiledLookup.prototype.toJSON = function toJSON() {\n            return this.base.toJSON() + '.' + this.path.join('.');\n        };\n\n        return CompiledLookup;\n    })(_glimmerRuntimeLibCompiledExpressions.CompiledExpression);\n\n    exports.default = CompiledLookup;\n\n    var CompiledSelf = (function (_CompiledExpression2) {\n        babelHelpers.inherits(CompiledSelf, _CompiledExpression2);\n\n        function CompiledSelf() {\n            _CompiledExpression2.apply(this, arguments);\n        }\n\n        CompiledSelf.prototype.evaluate = function evaluate(vm) {\n            return vm.getSelf();\n        };\n\n        CompiledSelf.prototype.toJSON = function toJSON() {\n            return 'self';\n        };\n\n        return CompiledSelf;\n    })(_glimmerRuntimeLibCompiledExpressions.CompiledExpression);\n\n    exports.CompiledSelf = CompiledSelf;\n\n    var CompiledSymbol = (function (_CompiledExpression3) {\n        babelHelpers.inherits(CompiledSymbol, _CompiledExpression3);\n\n        function CompiledSymbol(symbol, debug) {\n            _CompiledExpression3.call(this);\n            this.symbol = symbol;\n            this.debug = debug;\n        }\n\n        CompiledSymbol.prototype.evaluate = function evaluate(vm) {\n            return vm.referenceForSymbol(this.symbol);\n        };\n\n        CompiledSymbol.prototype.toJSON = function toJSON() {\n            return '$' + this.symbol + '(' + this.debug + ')';\n        };\n\n        return CompiledSymbol;\n    })(_glimmerRuntimeLibCompiledExpressions.CompiledExpression);\n\n    exports.CompiledSymbol = CompiledSymbol;\n\n    var CompiledInPartialName = (function (_CompiledExpression4) {\n        babelHelpers.inherits(CompiledInPartialName, _CompiledExpression4);\n\n        function CompiledInPartialName(symbol, name) {\n            _CompiledExpression4.call(this);\n            this.symbol = symbol;\n            this.name = name;\n        }\n\n        CompiledInPartialName.prototype.evaluate = function evaluate(vm) {\n            var symbol = this.symbol;\n            var name = this.name;\n\n            var args = vm.scope().getPartialArgs(symbol);\n            return args.named.get(name);\n        };\n\n        CompiledInPartialName.prototype.toJSON = function toJSON() {\n            return '$' + this.symbol + '($ARGS).' + this.name;\n        };\n\n        return CompiledInPartialName;\n    })(_glimmerRuntimeLibCompiledExpressions.CompiledExpression);\n\n    exports.CompiledInPartialName = CompiledInPartialName;\n});\n\nenifed('glimmer-runtime/lib/compiled/expressions/named-args', ['exports', 'glimmer-runtime/lib/references', 'glimmer-runtime/lib/utils', 'glimmer-reference', 'glimmer-util'], function (exports, _glimmerRuntimeLibReferences, _glimmerRuntimeLibUtils, _glimmerReference, _glimmerUtil) {\n    'use strict';\n\n    var CompiledNamedArgs = (function () {\n        function CompiledNamedArgs(keys, values) {\n            this.keys = keys;\n            this.values = values;\n            this.length = keys.length;\n            _glimmerUtil.assert(keys.length === values.length, 'Keys and values do not have the same length');\n        }\n\n        CompiledNamedArgs.empty = function empty() {\n            return COMPILED_EMPTY_NAMED_ARGS;\n        };\n\n        CompiledNamedArgs.create = function create(map) {\n            var keys = Object.keys(map);\n            var length = keys.length;\n            if (length > 0) {\n                var values = [];\n                for (var i = 0; i < length; i++) {\n                    values[i] = map[keys[i]];\n                }\n                return new this(keys, values);\n            } else {\n                return COMPILED_EMPTY_NAMED_ARGS;\n            }\n        };\n\n        CompiledNamedArgs.prototype.evaluate = function evaluate(vm) {\n            var keys = this.keys;\n            var values = this.values;\n            var length = this.length;\n\n            var evaluated = new Array(length);\n            for (var i = 0; i < length; i++) {\n                evaluated[i] = values[i].evaluate(vm);\n            }\n            return new EvaluatedNamedArgs(keys, evaluated);\n        };\n\n        CompiledNamedArgs.prototype.toJSON = function toJSON() {\n            var keys = this.keys;\n            var values = this.values;\n\n            var inner = keys.map(function (key, i) {\n                return key + ': ' + values[i].toJSON();\n            }).join(\", \");\n            return '{' + inner + '}';\n        };\n\n        return CompiledNamedArgs;\n    })();\n\n    exports.CompiledNamedArgs = CompiledNamedArgs;\n    var COMPILED_EMPTY_NAMED_ARGS = new ((function (_CompiledNamedArgs) {\n        babelHelpers.inherits(_class, _CompiledNamedArgs);\n\n        function _class() {\n            _CompiledNamedArgs.call(this, _glimmerRuntimeLibUtils.EMPTY_ARRAY, _glimmerRuntimeLibUtils.EMPTY_ARRAY);\n        }\n\n        _class.prototype.evaluate = function evaluate(vm) {\n            return EVALUATED_EMPTY_NAMED_ARGS;\n        };\n\n        _class.prototype.toJSON = function toJSON() {\n            return '<EMPTY>';\n        };\n\n        return _class;\n    })(CompiledNamedArgs))();\n    exports.COMPILED_EMPTY_NAMED_ARGS = COMPILED_EMPTY_NAMED_ARGS;\n\n    var EvaluatedNamedArgs = (function () {\n        function EvaluatedNamedArgs(keys, values) {\n            var _map = arguments.length <= 2 || arguments[2] === undefined ? undefined : arguments[2];\n\n            this.keys = keys;\n            this.values = values;\n            this._map = _map;\n            this.tag = _glimmerReference.combineTagged(values);\n            this.length = keys.length;\n            _glimmerUtil.assert(keys.length === values.length, 'Keys and values do not have the same length');\n        }\n\n        EvaluatedNamedArgs.create = function create(map) {\n            var keys = Object.keys(map);\n            var length = keys.length;\n            if (length > 0) {\n                var values = new Array(length);\n                for (var i = 0; i < length; i++) {\n                    values[i] = map[keys[i]];\n                }\n                return new this(keys, values, map);\n            } else {\n                return EVALUATED_EMPTY_NAMED_ARGS;\n            }\n        };\n\n        EvaluatedNamedArgs.empty = function empty() {\n            return EVALUATED_EMPTY_NAMED_ARGS;\n        };\n\n        EvaluatedNamedArgs.prototype.get = function get(key) {\n            var keys = this.keys;\n            var values = this.values;\n\n            var index = keys.indexOf(key);\n            return index === -1 ? _glimmerRuntimeLibReferences.UNDEFINED_REFERENCE : values[index];\n        };\n\n        EvaluatedNamedArgs.prototype.has = function has(key) {\n            return this.keys.indexOf(key) !== -1;\n        };\n\n        EvaluatedNamedArgs.prototype.value = function value() {\n            var keys = this.keys;\n            var values = this.values;\n\n            var out = _glimmerUtil.dict();\n            for (var i = 0; i < keys.length; i++) {\n                var key = keys[i];\n                var ref = values[i];\n                out[key] = ref.value();\n            }\n            return out;\n        };\n\n        babelHelpers.createClass(EvaluatedNamedArgs, [{\n            key: 'map',\n            get: function () {\n                var map = this._map;\n\n                if (map) {\n                    return map;\n                }\n                map = this._map = _glimmerUtil.dict();\n                var keys = this.keys;\n                var values = this.values;\n                var length = this.length;\n\n                for (var i = 0; i < length; i++) {\n                    map[keys[i]] = values[i];\n                }\n                return map;\n            }\n        }]);\n        return EvaluatedNamedArgs;\n    })();\n\n    exports.EvaluatedNamedArgs = EvaluatedNamedArgs;\n    var EVALUATED_EMPTY_NAMED_ARGS = new ((function (_EvaluatedNamedArgs) {\n        babelHelpers.inherits(_class2, _EvaluatedNamedArgs);\n\n        function _class2() {\n            _EvaluatedNamedArgs.call(this, _glimmerRuntimeLibUtils.EMPTY_ARRAY, _glimmerRuntimeLibUtils.EMPTY_ARRAY, _glimmerRuntimeLibUtils.EMPTY_DICT);\n        }\n\n        _class2.prototype.get = function get() {\n            return _glimmerRuntimeLibReferences.UNDEFINED_REFERENCE;\n        };\n\n        _class2.prototype.has = function has(key) {\n            return false;\n        };\n\n        _class2.prototype.value = function value() {\n            return _glimmerRuntimeLibUtils.EMPTY_DICT;\n        };\n\n        return _class2;\n    })(EvaluatedNamedArgs))();\n    exports.EVALUATED_EMPTY_NAMED_ARGS = EVALUATED_EMPTY_NAMED_ARGS;\n});\n\nenifed('glimmer-runtime/lib/compiled/expressions/positional-args', ['exports', 'glimmer-runtime/lib/references', 'glimmer-runtime/lib/utils', 'glimmer-reference'], function (exports, _glimmerRuntimeLibReferences, _glimmerRuntimeLibUtils, _glimmerReference) {\n    'use strict';\n\n    var CompiledPositionalArgs = (function () {\n        function CompiledPositionalArgs(values) {\n            this.values = values;\n            this.length = values.length;\n        }\n\n        CompiledPositionalArgs.create = function create(values) {\n            if (values.length) {\n                return new this(values);\n            } else {\n                return COMPILED_EMPTY_POSITIONAL_ARGS;\n            }\n        };\n\n        CompiledPositionalArgs.empty = function empty() {\n            return COMPILED_EMPTY_POSITIONAL_ARGS;\n        };\n\n        CompiledPositionalArgs.prototype.evaluate = function evaluate(vm) {\n            var values = this.values;\n            var length = this.length;\n\n            var references = new Array(length);\n            for (var i = 0; i < length; i++) {\n                references[i] = values[i].evaluate(vm);\n            }\n            return EvaluatedPositionalArgs.create(references);\n        };\n\n        CompiledPositionalArgs.prototype.toJSON = function toJSON() {\n            return '[' + this.values.map(function (value) {\n                return value.toJSON();\n            }).join(\", \") + ']';\n        };\n\n        return CompiledPositionalArgs;\n    })();\n\n    exports.CompiledPositionalArgs = CompiledPositionalArgs;\n    var COMPILED_EMPTY_POSITIONAL_ARGS = new ((function (_CompiledPositionalArgs) {\n        babelHelpers.inherits(_class, _CompiledPositionalArgs);\n\n        function _class() {\n            _CompiledPositionalArgs.call(this, _glimmerRuntimeLibUtils.EMPTY_ARRAY);\n        }\n\n        _class.prototype.evaluate = function evaluate(vm) {\n            return EVALUATED_EMPTY_POSITIONAL_ARGS;\n        };\n\n        _class.prototype.toJSON = function toJSON() {\n            return '<EMPTY>';\n        };\n\n        return _class;\n    })(CompiledPositionalArgs))();\n    exports.COMPILED_EMPTY_POSITIONAL_ARGS = COMPILED_EMPTY_POSITIONAL_ARGS;\n\n    var EvaluatedPositionalArgs = (function () {\n        function EvaluatedPositionalArgs(values) {\n            this.values = values;\n            this.tag = _glimmerReference.combineTagged(values);\n            this.length = values.length;\n        }\n\n        EvaluatedPositionalArgs.create = function create(values) {\n            return new this(values);\n        };\n\n        EvaluatedPositionalArgs.empty = function empty() {\n            return EVALUATED_EMPTY_POSITIONAL_ARGS;\n        };\n\n        EvaluatedPositionalArgs.prototype.at = function at(index) {\n            var values = this.values;\n            var length = this.length;\n\n            return index < length ? values[index] : _glimmerRuntimeLibReferences.UNDEFINED_REFERENCE;\n        };\n\n        EvaluatedPositionalArgs.prototype.value = function value() {\n            var values = this.values;\n            var length = this.length;\n\n            var ret = new Array(length);\n            for (var i = 0; i < length; i++) {\n                ret[i] = values[i].value();\n            }\n            return ret;\n        };\n\n        return EvaluatedPositionalArgs;\n    })();\n\n    exports.EvaluatedPositionalArgs = EvaluatedPositionalArgs;\n    var EVALUATED_EMPTY_POSITIONAL_ARGS = new ((function (_EvaluatedPositionalArgs) {\n        babelHelpers.inherits(_class2, _EvaluatedPositionalArgs);\n\n        function _class2() {\n            _EvaluatedPositionalArgs.call(this, _glimmerRuntimeLibUtils.EMPTY_ARRAY);\n        }\n\n        _class2.prototype.at = function at() {\n            return _glimmerRuntimeLibReferences.UNDEFINED_REFERENCE;\n        };\n\n        _class2.prototype.value = function value() {\n            return this.values;\n        };\n\n        return _class2;\n    })(EvaluatedPositionalArgs))();\n    exports.EVALUATED_EMPTY_POSITIONAL_ARGS = EVALUATED_EMPTY_POSITIONAL_ARGS;\n});\n\nenifed('glimmer-runtime/lib/compiled/expressions/value', ['exports', 'glimmer-runtime/lib/compiled/expressions', 'glimmer-runtime/lib/references'], function (exports, _glimmerRuntimeLibCompiledExpressions, _glimmerRuntimeLibReferences) {\n    'use strict';\n\n    var CompiledValue = (function (_CompiledExpression) {\n        babelHelpers.inherits(CompiledValue, _CompiledExpression);\n\n        function CompiledValue(value) {\n            _CompiledExpression.call(this);\n            this.type = \"value\";\n            this.reference = _glimmerRuntimeLibReferences.PrimitiveReference.create(value);\n        }\n\n        CompiledValue.prototype.evaluate = function evaluate(vm) {\n            return this.reference;\n        };\n\n        CompiledValue.prototype.toJSON = function toJSON() {\n            return JSON.stringify(this.reference.value());\n        };\n\n        return CompiledValue;\n    })(_glimmerRuntimeLibCompiledExpressions.CompiledExpression);\n\n    exports.default = CompiledValue;\n});\n\nenifed('glimmer-runtime/lib/compiled/opcodes/builder', ['exports', 'glimmer-runtime/lib/compiled/opcodes/component', 'glimmer-runtime/lib/compiled/opcodes/partial', 'glimmer-runtime/lib/compiled/opcodes/content', 'glimmer-runtime/lib/compiled/opcodes/dom', 'glimmer-runtime/lib/compiled/opcodes/lists', 'glimmer-runtime/lib/compiled/opcodes/vm', 'glimmer-util', 'glimmer-runtime/lib/utils'], function (exports, _glimmerRuntimeLibCompiledOpcodesComponent, _glimmerRuntimeLibCompiledOpcodesPartial, _glimmerRuntimeLibCompiledOpcodesContent, _glimmerRuntimeLibCompiledOpcodesDom, _glimmerRuntimeLibCompiledOpcodesLists, _glimmerRuntimeLibCompiledOpcodesVm, _glimmerUtil, _glimmerRuntimeLibUtils) {\n    'use strict';\n\n    var StatementCompilationBufferProxy = (function () {\n        function StatementCompilationBufferProxy(inner) {\n            this.inner = inner;\n        }\n\n        StatementCompilationBufferProxy.prototype.toOpSeq = function toOpSeq() {\n            return this.inner.toOpSeq();\n        };\n\n        StatementCompilationBufferProxy.prototype.append = function append(opcode) {\n            this.inner.append(opcode);\n        };\n\n        StatementCompilationBufferProxy.prototype.getLocalSymbol = function getLocalSymbol(name) {\n            return this.inner.getLocalSymbol(name);\n        };\n\n        StatementCompilationBufferProxy.prototype.hasLocalSymbol = function hasLocalSymbol(name) {\n            return this.inner.hasLocalSymbol(name);\n        };\n\n        StatementCompilationBufferProxy.prototype.getNamedSymbol = function getNamedSymbol(name) {\n            return this.inner.getNamedSymbol(name);\n        };\n\n        StatementCompilationBufferProxy.prototype.hasNamedSymbol = function hasNamedSymbol(name) {\n            return this.inner.hasNamedSymbol(name);\n        };\n\n        StatementCompilationBufferProxy.prototype.getBlockSymbol = function getBlockSymbol(name) {\n            return this.inner.getBlockSymbol(name);\n        };\n\n        StatementCompilationBufferProxy.prototype.hasBlockSymbol = function hasBlockSymbol(name) {\n            return this.inner.hasBlockSymbol(name);\n        };\n\n        StatementCompilationBufferProxy.prototype.getPartialArgsSymbol = function getPartialArgsSymbol() {\n            return this.inner.getPartialArgsSymbol();\n        };\n\n        StatementCompilationBufferProxy.prototype.hasPartialArgsSymbol = function hasPartialArgsSymbol() {\n            return this.inner.hasPartialArgsSymbol();\n        };\n\n        babelHelpers.createClass(StatementCompilationBufferProxy, [{\n            key: 'component',\n            get: function () {\n                return this.inner.component;\n            }\n        }]);\n        return StatementCompilationBufferProxy;\n    })();\n\n    exports.StatementCompilationBufferProxy = StatementCompilationBufferProxy;\n\n    var BasicOpcodeBuilder = (function (_StatementCompilationBufferProxy) {\n        babelHelpers.inherits(BasicOpcodeBuilder, _StatementCompilationBufferProxy);\n\n        function BasicOpcodeBuilder(inner, symbolTable, env) {\n            _StatementCompilationBufferProxy.call(this, inner);\n            this.symbolTable = symbolTable;\n            this.env = env;\n            this.labelsStack = new _glimmerUtil.Stack();\n        }\n\n        // helpers\n\n        BasicOpcodeBuilder.prototype.startLabels = function startLabels() {\n            this.labelsStack.push(_glimmerUtil.dict());\n        };\n\n        BasicOpcodeBuilder.prototype.stopLabels = function stopLabels() {\n            this.labelsStack.pop();\n        };\n\n        BasicOpcodeBuilder.prototype.labelFor = function labelFor(name) {\n            var labels = this.labels;\n            var label = labels[name];\n            if (!label) {\n                label = labels[name] = new _glimmerRuntimeLibCompiledOpcodesVm.LabelOpcode(name);\n            }\n            return label;\n        };\n\n        // partials\n\n        BasicOpcodeBuilder.prototype.putPartialDefinition = function putPartialDefinition(definition) {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesPartial.PutPartialDefinitionOpcode(definition));\n        };\n\n        BasicOpcodeBuilder.prototype.putDynamicPartialDefinition = function putDynamicPartialDefinition() {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesPartial.PutDynamicPartialDefinitionOpcode(this.symbolTable));\n        };\n\n        BasicOpcodeBuilder.prototype.evaluatePartial = function evaluatePartial() {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesPartial.EvaluatePartialOpcode(this.symbolTable));\n        };\n\n        // components\n\n        BasicOpcodeBuilder.prototype.putComponentDefinition = function putComponentDefinition(definition) {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesComponent.PutComponentDefinitionOpcode(definition));\n        };\n\n        BasicOpcodeBuilder.prototype.putDynamicComponentDefinition = function putDynamicComponentDefinition() {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesComponent.PutDynamicComponentDefinitionOpcode());\n        };\n\n        BasicOpcodeBuilder.prototype.openComponent = function openComponent(args) {\n            var shadow = arguments.length <= 1 || arguments[1] === undefined ? _glimmerRuntimeLibUtils.EMPTY_ARRAY : arguments[1];\n\n            this.append(new _glimmerRuntimeLibCompiledOpcodesComponent.OpenComponentOpcode(this.compile(args), shadow));\n        };\n\n        BasicOpcodeBuilder.prototype.didCreateElement = function didCreateElement() {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesComponent.DidCreateElementOpcode());\n        };\n\n        BasicOpcodeBuilder.prototype.shadowAttributes = function shadowAttributes() {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesComponent.ShadowAttributesOpcode());\n        };\n\n        BasicOpcodeBuilder.prototype.didRenderLayout = function didRenderLayout() {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesComponent.DidRenderLayoutOpcode());\n        };\n\n        BasicOpcodeBuilder.prototype.closeComponent = function closeComponent() {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesComponent.CloseComponentOpcode());\n        };\n\n        // content\n\n        BasicOpcodeBuilder.prototype.cautiousAppend = function cautiousAppend() {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesContent.OptimizedCautiousAppendOpcode());\n        };\n\n        BasicOpcodeBuilder.prototype.trustingAppend = function trustingAppend() {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesContent.OptimizedTrustingAppendOpcode());\n        };\n\n        // dom\n\n        BasicOpcodeBuilder.prototype.text = function text(_text) {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesDom.TextOpcode(_text));\n        };\n\n        BasicOpcodeBuilder.prototype.openPrimitiveElement = function openPrimitiveElement(tag) {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesDom.OpenPrimitiveElementOpcode(tag));\n        };\n\n        BasicOpcodeBuilder.prototype.openComponentElement = function openComponentElement(tag) {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesDom.OpenComponentElementOpcode(tag));\n        };\n\n        BasicOpcodeBuilder.prototype.openDynamicPrimitiveElement = function openDynamicPrimitiveElement() {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesDom.OpenDynamicPrimitiveElementOpcode());\n        };\n\n        BasicOpcodeBuilder.prototype.flushElement = function flushElement() {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesDom.FlushElementOpcode());\n        };\n\n        BasicOpcodeBuilder.prototype.closeElement = function closeElement() {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesDom.CloseElementOpcode());\n        };\n\n        BasicOpcodeBuilder.prototype.staticAttr = function staticAttr(name, namespace, value) {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesDom.StaticAttrOpcode(name, namespace, value));\n        };\n\n        BasicOpcodeBuilder.prototype.dynamicAttrNS = function dynamicAttrNS(name, namespace, isTrusting) {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesDom.DynamicAttrNSOpcode(name, namespace, isTrusting));\n        };\n\n        BasicOpcodeBuilder.prototype.dynamicAttr = function dynamicAttr(name, isTrusting) {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesDom.DynamicAttrOpcode(name, isTrusting));\n        };\n\n        BasicOpcodeBuilder.prototype.comment = function comment(_comment) {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesDom.CommentOpcode(_comment));\n        };\n\n        // lists\n\n        BasicOpcodeBuilder.prototype.putIterator = function putIterator() {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesLists.PutIteratorOpcode());\n        };\n\n        BasicOpcodeBuilder.prototype.enterList = function enterList(start, end) {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesLists.EnterListOpcode(this.labelFor(start), this.labelFor(end)));\n        };\n\n        BasicOpcodeBuilder.prototype.exitList = function exitList() {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesLists.ExitListOpcode());\n        };\n\n        BasicOpcodeBuilder.prototype.enterWithKey = function enterWithKey(start, end) {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesLists.EnterWithKeyOpcode(this.labelFor(start), this.labelFor(end)));\n        };\n\n        BasicOpcodeBuilder.prototype.nextIter = function nextIter(end) {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesLists.NextIterOpcode(this.labelFor(end)));\n        };\n\n        // vm\n\n        BasicOpcodeBuilder.prototype.pushRemoteElement = function pushRemoteElement() {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesDom.PushRemoteElementOpcode());\n        };\n\n        BasicOpcodeBuilder.prototype.popRemoteElement = function popRemoteElement() {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesDom.PopRemoteElementOpcode());\n        };\n\n        BasicOpcodeBuilder.prototype.popElement = function popElement() {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesDom.PopElementOpcode());\n        };\n\n        BasicOpcodeBuilder.prototype.label = function label(name) {\n            this.append(this.labelFor(name));\n        };\n\n        BasicOpcodeBuilder.prototype.pushChildScope = function pushChildScope() {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesVm.PushChildScopeOpcode());\n        };\n\n        BasicOpcodeBuilder.prototype.popScope = function popScope() {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesVm.PopScopeOpcode());\n        };\n\n        BasicOpcodeBuilder.prototype.pushDynamicScope = function pushDynamicScope() {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesVm.PushDynamicScopeOpcode());\n        };\n\n        BasicOpcodeBuilder.prototype.popDynamicScope = function popDynamicScope() {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesVm.PopDynamicScopeOpcode());\n        };\n\n        BasicOpcodeBuilder.prototype.putNull = function putNull() {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesVm.PutNullOpcode());\n        };\n\n        BasicOpcodeBuilder.prototype.putValue = function putValue(expression) {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesVm.PutValueOpcode(this.compile(expression)));\n        };\n\n        BasicOpcodeBuilder.prototype.putArgs = function putArgs(args) {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesVm.PutArgsOpcode(this.compile(args)));\n        };\n\n        BasicOpcodeBuilder.prototype.bindDynamicScope = function bindDynamicScope(names) {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesVm.BindDynamicScopeOpcode(names));\n        };\n\n        BasicOpcodeBuilder.prototype.bindPositionalArgs = function bindPositionalArgs(names, symbols) {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesVm.BindPositionalArgsOpcode(names, symbols));\n        };\n\n        BasicOpcodeBuilder.prototype.bindNamedArgs = function bindNamedArgs(names, symbols) {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesVm.BindNamedArgsOpcode(names, symbols));\n        };\n\n        BasicOpcodeBuilder.prototype.bindBlocks = function bindBlocks(names, symbols) {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesVm.BindBlocksOpcode(names, symbols));\n        };\n\n        BasicOpcodeBuilder.prototype.enter = function enter(_enter, exit) {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesVm.EnterOpcode(this.labelFor(_enter), this.labelFor(exit)));\n        };\n\n        BasicOpcodeBuilder.prototype.exit = function exit() {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesVm.ExitOpcode());\n        };\n\n        BasicOpcodeBuilder.prototype.evaluate = function evaluate(name, block) {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesVm.EvaluateOpcode(name, block));\n        };\n\n        BasicOpcodeBuilder.prototype.test = function test(testFunc) {\n            if (testFunc === 'const') {\n                this.append(new _glimmerRuntimeLibCompiledOpcodesVm.TestOpcode(_glimmerRuntimeLibCompiledOpcodesVm.ConstTest));\n            } else if (testFunc === 'simple') {\n                this.append(new _glimmerRuntimeLibCompiledOpcodesVm.TestOpcode(_glimmerRuntimeLibCompiledOpcodesVm.SimpleTest));\n            } else if (testFunc === 'environment') {\n                this.append(new _glimmerRuntimeLibCompiledOpcodesVm.TestOpcode(_glimmerRuntimeLibCompiledOpcodesVm.EnvironmentTest));\n            } else if (typeof testFunc === 'function') {\n                this.append(new _glimmerRuntimeLibCompiledOpcodesVm.TestOpcode(testFunc));\n            } else {\n                throw new Error('unreachable');\n            }\n        };\n\n        BasicOpcodeBuilder.prototype.jump = function jump(target) {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesVm.JumpOpcode(this.labelFor(target)));\n        };\n\n        BasicOpcodeBuilder.prototype.jumpIf = function jumpIf(target) {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesVm.JumpIfOpcode(this.labelFor(target)));\n        };\n\n        BasicOpcodeBuilder.prototype.jumpUnless = function jumpUnless(target) {\n            this.append(new _glimmerRuntimeLibCompiledOpcodesVm.JumpUnlessOpcode(this.labelFor(target)));\n        };\n\n        babelHelpers.createClass(BasicOpcodeBuilder, [{\n            key: 'labels',\n            get: function () {\n                return this.labelsStack.current;\n            }\n        }]);\n        return BasicOpcodeBuilder;\n    })(StatementCompilationBufferProxy);\n\n    exports.BasicOpcodeBuilder = BasicOpcodeBuilder;\n\n    function isCompilableExpression(expr) {\n        return expr && typeof expr['compile'] === 'function';\n    }\n\n    var OpcodeBuilder = (function (_BasicOpcodeBuilder) {\n        babelHelpers.inherits(OpcodeBuilder, _BasicOpcodeBuilder);\n\n        function OpcodeBuilder() {\n            _BasicOpcodeBuilder.apply(this, arguments);\n        }\n\n        OpcodeBuilder.prototype.compile = function compile(expr) {\n            if (isCompilableExpression(expr)) {\n                return expr.compile(this, this.env, this.symbolTable);\n            } else {\n                return expr;\n            }\n        };\n\n        OpcodeBuilder.prototype.bindPositionalArgsForBlock = function bindPositionalArgsForBlock(block) {\n            this.append(_glimmerRuntimeLibCompiledOpcodesVm.BindPositionalArgsOpcode.create(block));\n        };\n\n        OpcodeBuilder.prototype.preludeForLayout = function preludeForLayout(layout) {\n            if (layout.hasNamedParameters) {\n                this.append(_glimmerRuntimeLibCompiledOpcodesVm.BindNamedArgsOpcode.create(layout));\n            }\n            if (layout.hasYields || layout.hasPartials) {\n                this.append(new _glimmerRuntimeLibCompiledOpcodesVm.BindCallerScopeOpcode());\n            }\n            if (layout.hasYields) {\n                this.append(_glimmerRuntimeLibCompiledOpcodesVm.BindBlocksOpcode.create(layout));\n            }\n            if (layout.hasPartials) {\n                this.append(_glimmerRuntimeLibCompiledOpcodesVm.BindPartialArgsOpcode.create(layout));\n            }\n        };\n\n        // TODO\n        // come back to this\n\n        OpcodeBuilder.prototype.block = function block(args, callback) {\n            if (args) this.putArgs(args);\n            this.startLabels();\n            this.enter('BEGIN', 'END');\n            this.label('BEGIN');\n            callback(this, 'BEGIN', 'END');\n            this.label('END');\n            this.exit();\n            this.stopLabels();\n        };\n\n        // TODO\n        // come back to this\n\n        OpcodeBuilder.prototype.iter = function iter(callback) {\n            this.startLabels();\n            this.enterList('BEGIN', 'END');\n            this.label('ITER');\n            this.nextIter('BREAK');\n            this.enterWithKey('BEGIN', 'END');\n            this.label('BEGIN');\n            callback(this, 'BEGIN', 'END');\n            this.label('END');\n            this.exit();\n            this.jump('ITER');\n            this.label('BREAK');\n            this.exitList();\n            this.stopLabels();\n        };\n\n        // TODO\n        // come back to this\n\n        OpcodeBuilder.prototype.unit = function unit(callback) {\n            this.startLabels();\n            callback(this);\n            this.stopLabels();\n        };\n\n        return OpcodeBuilder;\n    })(BasicOpcodeBuilder);\n\n    exports.default = OpcodeBuilder;\n});\n\nenifed('glimmer-runtime/lib/compiled/opcodes/component', ['exports', 'glimmer-runtime/lib/opcodes', 'glimmer-runtime/lib/compiled/opcodes/vm', 'glimmer-reference'], function (exports, _glimmerRuntimeLibOpcodes, _glimmerRuntimeLibCompiledOpcodesVm, _glimmerReference) {\n    'use strict';\n\n    var PutDynamicComponentDefinitionOpcode = (function (_Opcode) {\n        babelHelpers.inherits(PutDynamicComponentDefinitionOpcode, _Opcode);\n\n        function PutDynamicComponentDefinitionOpcode() {\n            _Opcode.apply(this, arguments);\n            this.type = \"put-dynamic-component-definition\";\n        }\n\n        PutDynamicComponentDefinitionOpcode.prototype.evaluate = function evaluate(vm) {\n            var reference = vm.frame.getOperand();\n            var cache = _glimmerReference.isConst(reference) ? undefined : new _glimmerReference.ReferenceCache(reference);\n            var definition = cache ? cache.peek() : reference.value();\n            vm.frame.setImmediate(definition);\n            if (cache) {\n                vm.updateWith(new _glimmerRuntimeLibCompiledOpcodesVm.Assert(cache));\n            }\n        };\n\n        PutDynamicComponentDefinitionOpcode.prototype.toJSON = function toJSON() {\n            return {\n                guid: this._guid,\n                type: this.type,\n                args: [\"$OPERAND\"]\n            };\n        };\n\n        return PutDynamicComponentDefinitionOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.PutDynamicComponentDefinitionOpcode = PutDynamicComponentDefinitionOpcode;\n\n    var PutComponentDefinitionOpcode = (function (_Opcode2) {\n        babelHelpers.inherits(PutComponentDefinitionOpcode, _Opcode2);\n\n        function PutComponentDefinitionOpcode(definition) {\n            _Opcode2.call(this);\n            this.definition = definition;\n            this.type = \"put-component-definition\";\n        }\n\n        PutComponentDefinitionOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.frame.setImmediate(this.definition);\n        };\n\n        PutComponentDefinitionOpcode.prototype.toJSON = function toJSON() {\n            return {\n                guid: this._guid,\n                type: this.type,\n                args: [JSON.stringify(this.definition.name)]\n            };\n        };\n\n        return PutComponentDefinitionOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.PutComponentDefinitionOpcode = PutComponentDefinitionOpcode;\n\n    var OpenComponentOpcode = (function (_Opcode3) {\n        babelHelpers.inherits(OpenComponentOpcode, _Opcode3);\n\n        function OpenComponentOpcode(args, shadow) {\n            _Opcode3.call(this);\n            this.args = args;\n            this.shadow = shadow;\n            this.type = \"open-component\";\n        }\n\n        OpenComponentOpcode.prototype.evaluate = function evaluate(vm) {\n            var rawArgs = this.args;\n            var shadow = this.shadow;\n\n            var definition = vm.frame.getImmediate();\n            var dynamicScope = vm.pushDynamicScope();\n            var callerScope = vm.scope();\n            var manager = definition.manager;\n            var args = manager.prepareArgs(definition, rawArgs.evaluate(vm), dynamicScope);\n            var hasDefaultBlock = !!args.blocks.default; // TODO Cleanup?\n            var component = manager.create(vm.env, definition, args, dynamicScope, vm.getSelf(), hasDefaultBlock);\n            var destructor = manager.getDestructor(component);\n            if (destructor) vm.newDestroyable(destructor);\n            var layout = manager.layoutFor(definition, component, vm.env);\n            var selfRef = manager.getSelf(component);\n            vm.beginCacheGroup();\n            vm.stack().pushSimpleBlock();\n            vm.pushRootScope(selfRef, layout.symbols);\n            vm.invokeLayout(args, layout, callerScope, component, manager, shadow);\n            vm.updateWith(new UpdateComponentOpcode(definition.name, component, manager, args, dynamicScope));\n        };\n\n        OpenComponentOpcode.prototype.toJSON = function toJSON() {\n            return {\n                guid: this._guid,\n                type: this.type,\n                args: [\"$OPERAND\"]\n            };\n        };\n\n        return OpenComponentOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.OpenComponentOpcode = OpenComponentOpcode;\n\n    var UpdateComponentOpcode = (function (_UpdatingOpcode) {\n        babelHelpers.inherits(UpdateComponentOpcode, _UpdatingOpcode);\n\n        function UpdateComponentOpcode(name, component, manager, args, dynamicScope) {\n            _UpdatingOpcode.call(this);\n            this.name = name;\n            this.component = component;\n            this.manager = manager;\n            this.args = args;\n            this.dynamicScope = dynamicScope;\n            this.type = \"update-component\";\n            var componentTag = manager.getTag(component);\n            if (componentTag) {\n                this.tag = _glimmerReference.combine([args.tag, componentTag]);\n            } else {\n                this.tag = args.tag;\n            }\n        }\n\n        UpdateComponentOpcode.prototype.evaluate = function evaluate(vm) {\n            var component = this.component;\n            var manager = this.manager;\n            var args = this.args;\n            var dynamicScope = this.dynamicScope;\n\n            manager.update(component, args, dynamicScope);\n        };\n\n        UpdateComponentOpcode.prototype.toJSON = function toJSON() {\n            return {\n                guid: this._guid,\n                type: this.type,\n                args: [JSON.stringify(this.name)]\n            };\n        };\n\n        return UpdateComponentOpcode;\n    })(_glimmerRuntimeLibOpcodes.UpdatingOpcode);\n\n    exports.UpdateComponentOpcode = UpdateComponentOpcode;\n\n    var DidCreateElementOpcode = (function (_Opcode4) {\n        babelHelpers.inherits(DidCreateElementOpcode, _Opcode4);\n\n        function DidCreateElementOpcode() {\n            _Opcode4.apply(this, arguments);\n            this.type = \"did-create-element\";\n        }\n\n        // Slow path for non-specialized component invocations. Uses an internal\n        // named lookup on the args.\n\n        DidCreateElementOpcode.prototype.evaluate = function evaluate(vm) {\n            var manager = vm.frame.getManager();\n            var component = vm.frame.getComponent();\n            manager.didCreateElement(component, vm.stack().constructing, vm.stack().operations);\n        };\n\n        DidCreateElementOpcode.prototype.toJSON = function toJSON() {\n            return {\n                guid: this._guid,\n                type: this.type,\n                args: [\"$ARGS\"]\n            };\n        };\n\n        return DidCreateElementOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.DidCreateElementOpcode = DidCreateElementOpcode;\n\n    var ShadowAttributesOpcode = (function (_Opcode5) {\n        babelHelpers.inherits(ShadowAttributesOpcode, _Opcode5);\n\n        function ShadowAttributesOpcode() {\n            _Opcode5.apply(this, arguments);\n            this.type = \"shadow-attributes\";\n        }\n\n        ShadowAttributesOpcode.prototype.evaluate = function evaluate(vm) {\n            var shadow = vm.frame.getShadow();\n            if (!shadow) return;\n\n            var _vm$frame$getArgs = vm.frame.getArgs();\n\n            var named = _vm$frame$getArgs.named;\n\n            shadow.forEach(function (name) {\n                vm.stack().setDynamicAttribute(name, named.get(name), false);\n            });\n        };\n\n        ShadowAttributesOpcode.prototype.toJSON = function toJSON() {\n            return {\n                guid: this._guid,\n                type: this.type,\n                args: [\"$ARGS\"]\n            };\n        };\n\n        return ShadowAttributesOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.ShadowAttributesOpcode = ShadowAttributesOpcode;\n\n    var DidRenderLayoutOpcode = (function (_Opcode6) {\n        babelHelpers.inherits(DidRenderLayoutOpcode, _Opcode6);\n\n        function DidRenderLayoutOpcode() {\n            _Opcode6.apply(this, arguments);\n            this.type = \"did-render-layout\";\n        }\n\n        DidRenderLayoutOpcode.prototype.evaluate = function evaluate(vm) {\n            var manager = vm.frame.getManager();\n            var component = vm.frame.getComponent();\n            var 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\n        return DidRenderLayoutOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.DidRenderLayoutOpcode = DidRenderLayoutOpcode;\n\n    var DidUpdateLayoutOpcode = (function (_UpdatingOpcode2) {\n        babelHelpers.inherits(DidUpdateLayoutOpcode, _UpdatingOpcode2);\n\n        function DidUpdateLayoutOpcode(manager, component, bounds) {\n            _UpdatingOpcode2.call(this);\n            this.manager = manager;\n            this.component = component;\n            this.bounds = bounds;\n            this.type = \"did-update-layout\";\n            this.tag = _glimmerReference.CONSTANT_TAG;\n        }\n\n        DidUpdateLayoutOpcode.prototype.evaluate = function evaluate(vm) {\n            var manager = this.manager;\n            var component = this.component;\n            var bounds = this.bounds;\n\n            manager.didUpdateLayout(component, bounds);\n            vm.env.didUpdate(component, manager);\n        };\n\n        return DidUpdateLayoutOpcode;\n    })(_glimmerRuntimeLibOpcodes.UpdatingOpcode);\n\n    exports.DidUpdateLayoutOpcode = DidUpdateLayoutOpcode;\n\n    var CloseComponentOpcode = (function (_Opcode7) {\n        babelHelpers.inherits(CloseComponentOpcode, _Opcode7);\n\n        function CloseComponentOpcode() {\n            _Opcode7.apply(this, arguments);\n            this.type = \"close-component\";\n        }\n\n        CloseComponentOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.popScope();\n            vm.popDynamicScope();\n            vm.commitCacheGroup();\n        };\n\n        return CloseComponentOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.CloseComponentOpcode = CloseComponentOpcode;\n});\n\nenifed('glimmer-runtime/lib/compiled/opcodes/content', ['exports', 'glimmer-runtime/lib/upsert', 'glimmer-runtime/lib/component/interfaces', 'glimmer-runtime/lib/opcodes', 'glimmer-runtime/lib/vm/update', 'glimmer-reference', 'glimmer-util', 'glimmer-runtime/lib/bounds', 'glimmer-runtime/lib/builder', 'glimmer-runtime/lib/compiler', 'glimmer-runtime/lib/compiled/opcodes/builder', 'glimmer-runtime/lib/references', 'glimmer-runtime/lib/syntax/core'], function (exports, _glimmerRuntimeLibUpsert, _glimmerRuntimeLibComponentInterfaces, _glimmerRuntimeLibOpcodes, _glimmerRuntimeLibVmUpdate, _glimmerReference, _glimmerUtil, _glimmerRuntimeLibBounds, _glimmerRuntimeLibBuilder, _glimmerRuntimeLibCompiler, _glimmerRuntimeLibCompiledOpcodesBuilder, _glimmerRuntimeLibReferences, _glimmerRuntimeLibSyntaxCore) {\n    'use strict';\n\n    exports.normalizeTextValue = normalizeTextValue;\n\n    function isEmpty(value) {\n        return value === null || value === undefined || typeof value['toString'] !== 'function';\n    }\n\n    function normalizeTextValue(value) {\n        if (isEmpty(value)) {\n            return '';\n        }\n        return String(value);\n    }\n\n    function normalizeTrustedValue(value) {\n        if (isEmpty(value)) {\n            return '';\n        }\n        if (_glimmerRuntimeLibUpsert.isString(value)) {\n            return value;\n        }\n        if (_glimmerRuntimeLibUpsert.isSafeString(value)) {\n            return value.toHTML();\n        }\n        if (_glimmerRuntimeLibUpsert.isNode(value)) {\n            return value;\n        }\n        return String(value);\n    }\n    function normalizeValue(value) {\n        if (isEmpty(value)) {\n            return '';\n        }\n        if (_glimmerRuntimeLibUpsert.isString(value)) {\n            return value;\n        }\n        if (_glimmerRuntimeLibUpsert.isSafeString(value) || _glimmerRuntimeLibUpsert.isNode(value)) {\n            return value;\n        }\n        return String(value);\n    }\n\n    var AppendOpcode = (function (_Opcode) {\n        babelHelpers.inherits(AppendOpcode, _Opcode);\n\n        function AppendOpcode() {\n            _Opcode.apply(this, arguments);\n        }\n\n        AppendOpcode.prototype.evaluate = function evaluate(vm) {\n            var reference = vm.frame.getOperand();\n            var normalized = this.normalize(reference);\n            var value = undefined,\n                cache = undefined;\n            if (_glimmerReference.isConst(reference)) {\n                value = normalized.value();\n            } else {\n                cache = new _glimmerReference.ReferenceCache(normalized);\n                value = cache.peek();\n            }\n            var stack = vm.stack();\n            var upsert = this.insert(vm.env.getAppendOperations(), stack, value);\n            var bounds = new _glimmerRuntimeLibBuilder.Fragment(upsert.bounds);\n            stack.newBounds(bounds);\n            if (cache /* i.e. !isConst(reference) */) {\n                    vm.updateWith(this.updateWith(vm, reference, cache, bounds, upsert));\n                }\n        };\n\n        AppendOpcode.prototype.toJSON = function toJSON() {\n            return {\n                guid: this._guid,\n                type: this.type,\n                args: [\"$OPERAND\"]\n            };\n        };\n\n        return AppendOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.AppendOpcode = AppendOpcode;\n\n    var GuardedAppendOpcode = (function (_AppendOpcode) {\n        babelHelpers.inherits(GuardedAppendOpcode, _AppendOpcode);\n\n        function GuardedAppendOpcode(expression, symbolTable) {\n            _AppendOpcode.call(this);\n            this.expression = expression;\n            this.symbolTable = symbolTable;\n            this.deopted = null;\n        }\n\n        GuardedAppendOpcode.prototype.evaluate = function evaluate(vm) {\n            if (this.deopted) {\n                vm.pushEvalFrame(this.deopted);\n            } else {\n                vm.evaluateOperand(this.expression);\n                var value = vm.frame.getOperand().value();\n                if (_glimmerRuntimeLibComponentInterfaces.isComponentDefinition(value)) {\n                    vm.pushEvalFrame(this.deopt(vm.env));\n                } else {\n                    _AppendOpcode.prototype.evaluate.call(this, vm);\n                }\n            }\n        };\n\n        GuardedAppendOpcode.prototype.deopt = function deopt(env) {\n            var _this = this;\n\n            // 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).\n            var buffer = new _glimmerRuntimeLibCompiler.CompileIntoList(env, null);\n            var dsl = new _glimmerRuntimeLibCompiledOpcodesBuilder.default(buffer, this.symbolTable, env);\n            dsl.putValue(this.expression);\n            dsl.test(IsComponentDefinitionReference.create);\n            dsl.block(null, function (dsl, BEGIN, END) {\n                dsl.jumpUnless('VALUE');\n                dsl.putDynamicComponentDefinition();\n                dsl.openComponent(_glimmerRuntimeLibSyntaxCore.Args.empty());\n                dsl.closeComponent();\n                dsl.jump(END);\n                dsl.label('VALUE');\n                dsl.append(new _this.AppendOpcode());\n            });\n            var deopted = this.deopted = dsl.toOpSeq();\n            // From this point on, we have essentially replaced ourselve 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            this.expression = null;\n            return deopted;\n        };\n\n        GuardedAppendOpcode.prototype.toJSON = function toJSON() {\n            var guid = this._guid;\n            var type = this.type;\n            var deopted = this.deopted;\n\n            if (deopted) {\n                return {\n                    guid: guid,\n                    type: type,\n                    deopted: true,\n                    children: deopted.toArray().map(function (op) {\n                        return op.toJSON();\n                    })\n                };\n            } else {\n                return {\n                    guid: guid,\n                    type: type,\n                    args: [this.expression.toJSON()]\n                };\n            }\n        };\n\n        return GuardedAppendOpcode;\n    })(AppendOpcode);\n\n    exports.GuardedAppendOpcode = GuardedAppendOpcode;\n\n    var IsComponentDefinitionReference = (function (_ConditionalReference) {\n        babelHelpers.inherits(IsComponentDefinitionReference, _ConditionalReference);\n\n        function IsComponentDefinitionReference() {\n            _ConditionalReference.apply(this, arguments);\n        }\n\n        IsComponentDefinitionReference.create = function create(inner) {\n            return new IsComponentDefinitionReference(inner);\n        };\n\n        IsComponentDefinitionReference.prototype.toBool = function toBool(value) {\n            return _glimmerRuntimeLibComponentInterfaces.isComponentDefinition(value);\n        };\n\n        return IsComponentDefinitionReference;\n    })(_glimmerRuntimeLibReferences.ConditionalReference);\n\n    var UpdateOpcode = (function (_UpdatingOpcode) {\n        babelHelpers.inherits(UpdateOpcode, _UpdatingOpcode);\n\n        function UpdateOpcode(cache, bounds, upsert) {\n            _UpdatingOpcode.call(this);\n            this.cache = cache;\n            this.bounds = bounds;\n            this.upsert = upsert;\n            this.tag = cache.tag;\n        }\n\n        UpdateOpcode.prototype.evaluate = function evaluate(vm) {\n            var value = this.cache.revalidate();\n            if (_glimmerReference.isModified(value)) {\n                var bounds = this.bounds;\n                var upsert = this.upsert;\n                var dom = vm.dom;\n\n                if (!this.upsert.update(dom, value)) {\n                    var cursor = new _glimmerRuntimeLibBounds.Cursor(bounds.parentElement(), _glimmerRuntimeLibBounds.clear(bounds));\n                    upsert = this.upsert = this.insert(vm.env.getAppendOperations(), cursor, value);\n                }\n                bounds.update(upsert.bounds);\n            }\n        };\n\n        UpdateOpcode.prototype.toJSON = function toJSON() {\n            var guid = this._guid;\n            var type = this.type;\n            var cache = this.cache;\n\n            return {\n                guid: guid,\n                type: type,\n                details: { lastValue: JSON.stringify(cache.peek()) }\n            };\n        };\n\n        return UpdateOpcode;\n    })(_glimmerRuntimeLibOpcodes.UpdatingOpcode);\n\n    var GuardedUpdateOpcode = (function (_UpdateOpcode) {\n        babelHelpers.inherits(GuardedUpdateOpcode, _UpdateOpcode);\n\n        function GuardedUpdateOpcode(reference, cache, bounds, upsert, appendOpcode, state) {\n            _UpdateOpcode.call(this, cache, bounds, upsert);\n            this.reference = reference;\n            this.appendOpcode = appendOpcode;\n            this.state = state;\n            this.deopted = null;\n            this.tag = this._tag = new _glimmerReference.UpdatableTag(this.tag);\n        }\n\n        GuardedUpdateOpcode.prototype.evaluate = function evaluate(vm) {\n            if (this.deopted) {\n                vm.evaluateOpcode(this.deopted);\n            } else {\n                if (_glimmerRuntimeLibComponentInterfaces.isComponentDefinition(this.reference.value())) {\n                    this.lazyDeopt(vm);\n                } else {\n                    _UpdateOpcode.prototype.evaluate.call(this, vm);\n                }\n            }\n        };\n\n        GuardedUpdateOpcode.prototype.lazyDeopt = function lazyDeopt(vm) {\n            // 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.\n            var bounds = this.bounds;\n            var appendOpcode = this.appendOpcode;\n            var state = this.state;\n\n            var appendOps = appendOpcode.deopt(vm.env);\n            var enter = appendOps.head().next.next;\n            var ops = enter.slice;\n            var tracker = new _glimmerRuntimeLibBuilder.UpdatableBlockTracker(bounds.parentElement());\n            tracker.newBounds(this.bounds);\n            var children = new _glimmerUtil.LinkedList();\n            state.frame['condition'] = IsComponentDefinitionReference.create(state.frame['operand']);\n            var deopted = this.deopted = new _glimmerRuntimeLibVmUpdate.TryOpcode(ops, state, tracker, children);\n            this._tag.update(deopted.tag);\n            vm.evaluateOpcode(deopted);\n            vm.throw();\n            // 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            this._tag = null;\n            this.reference = null;\n            this.cache = null;\n            this.bounds = null;\n            this.upsert = null;\n            this.appendOpcode = null;\n            this.state = null;\n        };\n\n        GuardedUpdateOpcode.prototype.toJSON = function toJSON() {\n            var guid = this._guid;\n            var type = this.type;\n            var deopted = this.deopted;\n\n            if (deopted) {\n                return {\n                    guid: guid,\n                    type: type,\n                    deopted: true,\n                    children: [deopted.toJSON()]\n                };\n            } else {\n                return _UpdateOpcode.prototype.toJSON.call(this);\n            }\n        };\n\n        return GuardedUpdateOpcode;\n    })(UpdateOpcode);\n\n    var OptimizedCautiousAppendOpcode = (function (_AppendOpcode2) {\n        babelHelpers.inherits(OptimizedCautiousAppendOpcode, _AppendOpcode2);\n\n        function OptimizedCautiousAppendOpcode() {\n            _AppendOpcode2.apply(this, arguments);\n            this.type = 'optimized-cautious-append';\n        }\n\n        OptimizedCautiousAppendOpcode.prototype.normalize = function normalize(reference) {\n            return _glimmerReference.map(reference, normalizeValue);\n        };\n\n        OptimizedCautiousAppendOpcode.prototype.insert = function insert(dom, cursor, value) {\n            return _glimmerRuntimeLibUpsert.cautiousInsert(dom, cursor, value);\n        };\n\n        OptimizedCautiousAppendOpcode.prototype.updateWith = function updateWith(vm, reference, cache, bounds, upsert) {\n            return new OptimizedCautiousUpdateOpcode(cache, bounds, upsert);\n        };\n\n        return OptimizedCautiousAppendOpcode;\n    })(AppendOpcode);\n\n    exports.OptimizedCautiousAppendOpcode = OptimizedCautiousAppendOpcode;\n\n    var OptimizedCautiousUpdateOpcode = (function (_UpdateOpcode2) {\n        babelHelpers.inherits(OptimizedCautiousUpdateOpcode, _UpdateOpcode2);\n\n        function OptimizedCautiousUpdateOpcode() {\n            _UpdateOpcode2.apply(this, arguments);\n            this.type = 'optimized-cautious-update';\n        }\n\n        OptimizedCautiousUpdateOpcode.prototype.insert = function insert(dom, cursor, value) {\n            return _glimmerRuntimeLibUpsert.cautiousInsert(dom, cursor, value);\n        };\n\n        return OptimizedCautiousUpdateOpcode;\n    })(UpdateOpcode);\n\n    var GuardedCautiousAppendOpcode = (function (_GuardedAppendOpcode) {\n        babelHelpers.inherits(GuardedCautiousAppendOpcode, _GuardedAppendOpcode);\n\n        function GuardedCautiousAppendOpcode() {\n            _GuardedAppendOpcode.apply(this, arguments);\n            this.type = 'guarded-cautious-append';\n            this.AppendOpcode = OptimizedCautiousAppendOpcode;\n        }\n\n        GuardedCautiousAppendOpcode.prototype.normalize = function normalize(reference) {\n            return _glimmerReference.map(reference, normalizeValue);\n        };\n\n        GuardedCautiousAppendOpcode.prototype.insert = function insert(dom, cursor, value) {\n            return _glimmerRuntimeLibUpsert.cautiousInsert(dom, cursor, value);\n        };\n\n        GuardedCautiousAppendOpcode.prototype.updateWith = function updateWith(vm, reference, cache, bounds, upsert) {\n            return new GuardedCautiousUpdateOpcode(reference, cache, bounds, upsert, this, vm.capture());\n        };\n\n        return GuardedCautiousAppendOpcode;\n    })(GuardedAppendOpcode);\n\n    exports.GuardedCautiousAppendOpcode = GuardedCautiousAppendOpcode;\n\n    var GuardedCautiousUpdateOpcode = (function (_GuardedUpdateOpcode) {\n        babelHelpers.inherits(GuardedCautiousUpdateOpcode, _GuardedUpdateOpcode);\n\n        function GuardedCautiousUpdateOpcode() {\n            _GuardedUpdateOpcode.apply(this, arguments);\n            this.type = 'guarded-cautious-update';\n        }\n\n        GuardedCautiousUpdateOpcode.prototype.insert = function insert(dom, cursor, value) {\n            return _glimmerRuntimeLibUpsert.cautiousInsert(dom, cursor, value);\n        };\n\n        return GuardedCautiousUpdateOpcode;\n    })(GuardedUpdateOpcode);\n\n    var OptimizedTrustingAppendOpcode = (function (_AppendOpcode3) {\n        babelHelpers.inherits(OptimizedTrustingAppendOpcode, _AppendOpcode3);\n\n        function OptimizedTrustingAppendOpcode() {\n            _AppendOpcode3.apply(this, arguments);\n            this.type = 'optimized-trusting-append';\n        }\n\n        OptimizedTrustingAppendOpcode.prototype.normalize = function normalize(reference) {\n            return _glimmerReference.map(reference, normalizeTrustedValue);\n        };\n\n        OptimizedTrustingAppendOpcode.prototype.insert = function insert(dom, cursor, value) {\n            return _glimmerRuntimeLibUpsert.trustingInsert(dom, cursor, value);\n        };\n\n        OptimizedTrustingAppendOpcode.prototype.updateWith = function updateWith(vm, reference, cache, bounds, upsert) {\n            return new OptimizedTrustingUpdateOpcode(cache, bounds, upsert);\n        };\n\n        return OptimizedTrustingAppendOpcode;\n    })(AppendOpcode);\n\n    exports.OptimizedTrustingAppendOpcode = OptimizedTrustingAppendOpcode;\n\n    var OptimizedTrustingUpdateOpcode = (function (_UpdateOpcode3) {\n        babelHelpers.inherits(OptimizedTrustingUpdateOpcode, _UpdateOpcode3);\n\n        function OptimizedTrustingUpdateOpcode() {\n            _UpdateOpcode3.apply(this, arguments);\n            this.type = 'optimized-trusting-update';\n        }\n\n        OptimizedTrustingUpdateOpcode.prototype.insert = function insert(dom, cursor, value) {\n            return _glimmerRuntimeLibUpsert.trustingInsert(dom, cursor, value);\n        };\n\n        return OptimizedTrustingUpdateOpcode;\n    })(UpdateOpcode);\n\n    var GuardedTrustingAppendOpcode = (function (_GuardedAppendOpcode2) {\n        babelHelpers.inherits(GuardedTrustingAppendOpcode, _GuardedAppendOpcode2);\n\n        function GuardedTrustingAppendOpcode() {\n            _GuardedAppendOpcode2.apply(this, arguments);\n            this.type = 'guarded-trusting-append';\n            this.AppendOpcode = OptimizedTrustingAppendOpcode;\n        }\n\n        GuardedTrustingAppendOpcode.prototype.normalize = function normalize(reference) {\n            return _glimmerReference.map(reference, normalizeTrustedValue);\n        };\n\n        GuardedTrustingAppendOpcode.prototype.insert = function insert(dom, cursor, value) {\n            return _glimmerRuntimeLibUpsert.trustingInsert(dom, cursor, value);\n        };\n\n        GuardedTrustingAppendOpcode.prototype.updateWith = function updateWith(vm, reference, cache, bounds, upsert) {\n            return new GuardedTrustingUpdateOpcode(reference, cache, bounds, upsert, this, vm.capture());\n        };\n\n        return GuardedTrustingAppendOpcode;\n    })(GuardedAppendOpcode);\n\n    exports.GuardedTrustingAppendOpcode = GuardedTrustingAppendOpcode;\n\n    var GuardedTrustingUpdateOpcode = (function (_GuardedUpdateOpcode2) {\n        babelHelpers.inherits(GuardedTrustingUpdateOpcode, _GuardedUpdateOpcode2);\n\n        function GuardedTrustingUpdateOpcode() {\n            _GuardedUpdateOpcode2.apply(this, arguments);\n            this.type = 'trusting-update';\n        }\n\n        GuardedTrustingUpdateOpcode.prototype.insert = function insert(dom, cursor, value) {\n            return _glimmerRuntimeLibUpsert.trustingInsert(dom, cursor, value);\n        };\n\n        return GuardedTrustingUpdateOpcode;\n    })(GuardedUpdateOpcode);\n});\n\nenifed('glimmer-runtime/lib/compiled/opcodes/dom', ['exports', 'glimmer-runtime/lib/opcodes', 'glimmer-util', 'glimmer-reference', 'glimmer-runtime/lib/references', 'glimmer-runtime/lib/compiled/opcodes/vm'], function (exports, _glimmerRuntimeLibOpcodes, _glimmerUtil, _glimmerReference, _glimmerRuntimeLibReferences, _glimmerRuntimeLibCompiledOpcodesVm) {\n    'use strict';\n\n    var TextOpcode = (function (_Opcode) {\n        babelHelpers.inherits(TextOpcode, _Opcode);\n\n        function TextOpcode(text) {\n            _Opcode.call(this);\n            this.text = text;\n            this.type = \"text\";\n        }\n\n        TextOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.stack().appendText(this.text);\n        };\n\n        TextOpcode.prototype.toJSON = function toJSON() {\n            return {\n                guid: this._guid,\n                type: this.type,\n                args: [JSON.stringify(this.text)]\n            };\n        };\n\n        return TextOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.TextOpcode = TextOpcode;\n\n    var OpenPrimitiveElementOpcode = (function (_Opcode2) {\n        babelHelpers.inherits(OpenPrimitiveElementOpcode, _Opcode2);\n\n        function OpenPrimitiveElementOpcode(tag) {\n            _Opcode2.call(this);\n            this.tag = tag;\n            this.type = \"open-primitive-element\";\n        }\n\n        OpenPrimitiveElementOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.stack().openElement(this.tag);\n        };\n\n        OpenPrimitiveElementOpcode.prototype.toJSON = function toJSON() {\n            return {\n                guid: this._guid,\n                type: this.type,\n                args: [JSON.stringify(this.tag)]\n            };\n        };\n\n        return OpenPrimitiveElementOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.OpenPrimitiveElementOpcode = OpenPrimitiveElementOpcode;\n\n    var PushRemoteElementOpcode = (function (_Opcode3) {\n        babelHelpers.inherits(PushRemoteElementOpcode, _Opcode3);\n\n        function PushRemoteElementOpcode() {\n            _Opcode3.apply(this, arguments);\n            this.type = \"push-remote-element\";\n        }\n\n        PushRemoteElementOpcode.prototype.evaluate = function evaluate(vm) {\n            var reference = vm.frame.getOperand();\n            var cache = _glimmerReference.isConst(reference) ? undefined : new _glimmerReference.ReferenceCache(reference);\n            var element = cache ? cache.peek() : reference.value();\n            vm.stack().pushRemoteElement(element);\n            if (cache) {\n                vm.updateWith(new _glimmerRuntimeLibCompiledOpcodesVm.Assert(cache));\n            }\n        };\n\n        PushRemoteElementOpcode.prototype.toJSON = function toJSON() {\n            return {\n                guid: this._guid,\n                type: this.type,\n                args: ['$OPERAND']\n            };\n        };\n\n        return PushRemoteElementOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.PushRemoteElementOpcode = PushRemoteElementOpcode;\n\n    var PopRemoteElementOpcode = (function (_Opcode4) {\n        babelHelpers.inherits(PopRemoteElementOpcode, _Opcode4);\n\n        function PopRemoteElementOpcode() {\n            _Opcode4.apply(this, arguments);\n            this.type = \"pop-remote-element\";\n        }\n\n        PopRemoteElementOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.stack().popRemoteElement();\n        };\n\n        return PopRemoteElementOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.PopRemoteElementOpcode = PopRemoteElementOpcode;\n\n    var OpenComponentElementOpcode = (function (_Opcode5) {\n        babelHelpers.inherits(OpenComponentElementOpcode, _Opcode5);\n\n        function OpenComponentElementOpcode(tag) {\n            _Opcode5.call(this);\n            this.tag = tag;\n            this.type = \"open-component-element\";\n        }\n\n        OpenComponentElementOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.stack().openElement(this.tag, new ComponentElementOperations(vm.env));\n        };\n\n        OpenComponentElementOpcode.prototype.toJSON = function toJSON() {\n            return {\n                guid: this._guid,\n                type: this.type,\n                args: [JSON.stringify(this.tag)]\n            };\n        };\n\n        return OpenComponentElementOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.OpenComponentElementOpcode = OpenComponentElementOpcode;\n\n    var OpenDynamicPrimitiveElementOpcode = (function (_Opcode6) {\n        babelHelpers.inherits(OpenDynamicPrimitiveElementOpcode, _Opcode6);\n\n        function OpenDynamicPrimitiveElementOpcode() {\n            _Opcode6.apply(this, arguments);\n            this.type = \"open-dynamic-primitive-element\";\n        }\n\n        OpenDynamicPrimitiveElementOpcode.prototype.evaluate = function evaluate(vm) {\n            var tagName = vm.frame.getOperand().value();\n            vm.stack().openElement(tagName);\n        };\n\n        OpenDynamicPrimitiveElementOpcode.prototype.toJSON = function toJSON() {\n            return {\n                guid: this._guid,\n                type: this.type,\n                args: [\"$OPERAND\"]\n            };\n        };\n\n        return OpenDynamicPrimitiveElementOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.OpenDynamicPrimitiveElementOpcode = OpenDynamicPrimitiveElementOpcode;\n\n    var ClassList = (function () {\n        function ClassList() {\n            this.list = null;\n            this.isConst = true;\n        }\n\n        ClassList.prototype.append = function append(reference) {\n            var list = this.list;\n            var isConst = this.isConst;\n\n            if (list === null) list = this.list = [];\n            list.push(reference);\n            this.isConst = isConst && _glimmerReference.isConst(reference);\n        };\n\n        ClassList.prototype.toReference = function toReference() {\n            var list = this.list;\n            var isConst = this.isConst;\n\n            if (!list) return _glimmerRuntimeLibReferences.NULL_REFERENCE;\n            if (isConst) return _glimmerRuntimeLibReferences.PrimitiveReference.create(toClassName(list));\n            return new ClassListReference(list);\n        };\n\n        return ClassList;\n    })();\n\n    var ClassListReference = (function (_CachedReference) {\n        babelHelpers.inherits(ClassListReference, _CachedReference);\n\n        function ClassListReference(list) {\n            _CachedReference.call(this);\n            this.list = [];\n            this.tag = _glimmerReference.combineTagged(list);\n            this.list = list;\n        }\n\n        ClassListReference.prototype.compute = function compute() {\n            return toClassName(this.list);\n        };\n\n        return ClassListReference;\n    })(_glimmerReference.CachedReference);\n\n    function toClassName(list) {\n        var ret = [];\n        for (var i = 0; i < list.length; i++) {\n            var value = list[i].value();\n            if (value !== false && value !== null && value !== undefined) ret.push(value);\n        }\n        return ret.length === 0 ? null : ret.join(' ');\n    }\n\n    var SimpleElementOperations = (function () {\n        function SimpleElementOperations(env) {\n            this.env = env;\n            this.opcodes = null;\n            this.classList = null;\n        }\n\n        SimpleElementOperations.prototype.addStaticAttribute = function addStaticAttribute(element, name, value) {\n            if (name === 'class') {\n                this.addClass(_glimmerRuntimeLibReferences.PrimitiveReference.create(value));\n            } else {\n                this.env.getAppendOperations().setAttribute(element, name, value);\n            }\n        };\n\n        SimpleElementOperations.prototype.addStaticAttributeNS = function addStaticAttributeNS(element, namespace, name, value) {\n            this.env.getAppendOperations().setAttribute(element, name, value, namespace);\n        };\n\n        SimpleElementOperations.prototype.addDynamicAttribute = function addDynamicAttribute(element, name, reference, isTrusting) {\n            if (name === 'class') {\n                this.addClass(reference);\n            } else {\n                var attributeManager = this.env.attributeFor(element, name, isTrusting);\n                var attribute = new DynamicAttribute(element, attributeManager, name, reference);\n                this.addAttribute(attribute);\n            }\n        };\n\n        SimpleElementOperations.prototype.addDynamicAttributeNS = function addDynamicAttributeNS(element, namespace, name, reference, isTrusting) {\n            var attributeManager = this.env.attributeFor(element, name, isTrusting, namespace);\n            var nsAttribute = new DynamicAttribute(element, attributeManager, name, reference, namespace);\n            this.addAttribute(nsAttribute);\n        };\n\n        SimpleElementOperations.prototype.flush = function flush(element, vm) {\n            var env = vm.env;\n            var opcodes = this.opcodes;\n            var classList = this.classList;\n\n            for (var i = 0; opcodes && i < opcodes.length; i++) {\n                vm.updateWith(opcodes[i]);\n            }\n            if (classList) {\n                var attributeManager = env.attributeFor(element, 'class', false);\n                var attribute = new DynamicAttribute(element, attributeManager, 'class', classList.toReference());\n                var opcode = attribute.flush(env);\n                if (opcode) {\n                    vm.updateWith(opcode);\n                }\n            }\n            this.opcodes = null;\n            this.classList = null;\n        };\n\n        SimpleElementOperations.prototype.addClass = function addClass(reference) {\n            var classList = this.classList;\n\n            if (!classList) {\n                classList = this.classList = new ClassList();\n            }\n            classList.append(reference);\n        };\n\n        SimpleElementOperations.prototype.addAttribute = function addAttribute(attribute) {\n            var opcode = attribute.flush(this.env);\n            if (opcode) {\n                var opcodes = this.opcodes;\n\n                if (!opcodes) {\n                    opcodes = this.opcodes = [];\n                }\n                opcodes.push(opcode);\n            }\n        };\n\n        return SimpleElementOperations;\n    })();\n\n    exports.SimpleElementOperations = SimpleElementOperations;\n\n    var ComponentElementOperations = (function () {\n        function ComponentElementOperations(env) {\n            this.env = env;\n            this.attributeNames = null;\n            this.attributes = null;\n            this.classList = null;\n        }\n\n        ComponentElementOperations.prototype.addStaticAttribute = function addStaticAttribute(element, name, value) {\n            if (name === 'class') {\n                this.addClass(_glimmerRuntimeLibReferences.PrimitiveReference.create(value));\n            } else if (this.shouldAddAttribute(name)) {\n                this.addAttribute(name, new StaticAttribute(element, name, value));\n            }\n        };\n\n        ComponentElementOperations.prototype.addStaticAttributeNS = function addStaticAttributeNS(element, namespace, name, value) {\n            if (this.shouldAddAttribute(name)) {\n                this.addAttribute(name, new StaticAttribute(element, name, value, namespace));\n            }\n        };\n\n        ComponentElementOperations.prototype.addDynamicAttribute = function addDynamicAttribute(element, name, reference, isTrusting) {\n            if (name === 'class') {\n                this.addClass(reference);\n            } else if (this.shouldAddAttribute(name)) {\n                var attributeManager = this.env.attributeFor(element, name, isTrusting);\n                var attribute = new DynamicAttribute(element, attributeManager, name, reference);\n                this.addAttribute(name, attribute);\n            }\n        };\n\n        ComponentElementOperations.prototype.addDynamicAttributeNS = function addDynamicAttributeNS(element, namespace, name, reference, isTrusting) {\n            if (this.shouldAddAttribute(name)) {\n                var attributeManager = this.env.attributeFor(element, name, isTrusting, namespace);\n                var nsAttribute = new DynamicAttribute(element, attributeManager, name, reference, namespace);\n                this.addAttribute(name, nsAttribute);\n            }\n        };\n\n        ComponentElementOperations.prototype.flush = function flush(element, vm) {\n            var env = this.env;\n            var attributes = this.attributes;\n            var classList = this.classList;\n\n            for (var i = 0; attributes && i < attributes.length; i++) {\n                var opcode = attributes[i].flush(env);\n                if (opcode) {\n                    vm.updateWith(opcode);\n                }\n            }\n            if (classList) {\n                var attributeManager = env.attributeFor(element, 'class', false);\n                var attribute = new DynamicAttribute(element, attributeManager, 'class', classList.toReference());\n                var opcode = attribute.flush(env);\n                if (opcode) {\n                    vm.updateWith(opcode);\n                }\n            }\n        };\n\n        ComponentElementOperations.prototype.shouldAddAttribute = function shouldAddAttribute(name) {\n            return !this.attributeNames || this.attributeNames.indexOf(name) === -1;\n        };\n\n        ComponentElementOperations.prototype.addClass = function addClass(reference) {\n            var classList = this.classList;\n\n            if (!classList) {\n                classList = this.classList = new ClassList();\n            }\n            classList.append(reference);\n        };\n\n        ComponentElementOperations.prototype.addAttribute = function addAttribute(name, attribute) {\n            var attributeNames = this.attributeNames;\n            var attributes = this.attributes;\n\n            if (!attributeNames) {\n                attributeNames = this.attributeNames = [];\n                attributes = this.attributes = [];\n            }\n            attributeNames.push(name);\n            attributes.push(attribute);\n        };\n\n        return ComponentElementOperations;\n    })();\n\n    exports.ComponentElementOperations = ComponentElementOperations;\n\n    var FlushElementOpcode = (function (_Opcode7) {\n        babelHelpers.inherits(FlushElementOpcode, _Opcode7);\n\n        function FlushElementOpcode() {\n            _Opcode7.apply(this, arguments);\n            this.type = \"flush-element\";\n        }\n\n        FlushElementOpcode.prototype.evaluate = function evaluate(vm) {\n            var stack = vm.stack();\n            stack.operations.flush(stack.constructing, vm);\n            stack.flushElement();\n        };\n\n        return FlushElementOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.FlushElementOpcode = FlushElementOpcode;\n\n    var CloseElementOpcode = (function (_Opcode8) {\n        babelHelpers.inherits(CloseElementOpcode, _Opcode8);\n\n        function CloseElementOpcode() {\n            _Opcode8.apply(this, arguments);\n            this.type = \"close-element\";\n        }\n\n        CloseElementOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.stack().closeElement();\n        };\n\n        return CloseElementOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.CloseElementOpcode = CloseElementOpcode;\n\n    var PopElementOpcode = (function (_Opcode9) {\n        babelHelpers.inherits(PopElementOpcode, _Opcode9);\n\n        function PopElementOpcode() {\n            _Opcode9.apply(this, arguments);\n            this.type = \"pop-element\";\n        }\n\n        PopElementOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.stack().popElement();\n        };\n\n        return PopElementOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.PopElementOpcode = PopElementOpcode;\n\n    var StaticAttrOpcode = (function (_Opcode10) {\n        babelHelpers.inherits(StaticAttrOpcode, _Opcode10);\n\n        function StaticAttrOpcode(namespace, name, value) {\n            _Opcode10.call(this);\n            this.namespace = namespace;\n            this.name = name;\n            this.value = value;\n            this.type = \"static-attr\";\n        }\n\n        StaticAttrOpcode.prototype.evaluate = function evaluate(vm) {\n            var name = this.name;\n            var value = this.value;\n            var namespace = this.namespace;\n\n            if (namespace) {\n                vm.stack().setStaticAttributeNS(namespace, name, value);\n            } else {\n                vm.stack().setStaticAttribute(name, value);\n            }\n        };\n\n        StaticAttrOpcode.prototype.toJSON = function toJSON() {\n            var guid = this._guid;\n            var type = this.type;\n            var namespace = this.namespace;\n            var name = this.name;\n            var value = this.value;\n\n            var details = _glimmerUtil.dict();\n            if (namespace) {\n                details[\"namespace\"] = JSON.stringify(namespace);\n            }\n            details[\"name\"] = JSON.stringify(name);\n            details[\"value\"] = JSON.stringify(value);\n            return { guid: guid, type: type, details: details };\n        };\n\n        return StaticAttrOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.StaticAttrOpcode = StaticAttrOpcode;\n\n    var ModifierOpcode = (function (_Opcode11) {\n        babelHelpers.inherits(ModifierOpcode, _Opcode11);\n\n        function ModifierOpcode(name, manager, args) {\n            _Opcode11.call(this);\n            this.name = name;\n            this.manager = manager;\n            this.args = args;\n            this.type = \"modifier\";\n        }\n\n        ModifierOpcode.prototype.evaluate = function evaluate(vm) {\n            var manager = this.manager;\n\n            var stack = vm.stack();\n            var element = stack.constructing;\n            var updateOperations = stack.updateOperations;\n\n            var args = this.args.evaluate(vm);\n            var dynamicScope = vm.dynamicScope();\n            var modifier = manager.create(element, args, dynamicScope, updateOperations);\n            vm.env.scheduleInstallModifier(modifier, manager);\n            var destructor = manager.getDestructor(modifier);\n            if (destructor) {\n                vm.newDestroyable(destructor);\n            }\n            vm.updateWith(new UpdateModifierOpcode(manager, modifier, args));\n        };\n\n        ModifierOpcode.prototype.toJSON = function toJSON() {\n            var guid = this._guid;\n            var type = this.type;\n            var name = this.name;\n            var args = this.args;\n\n            var details = _glimmerUtil.dict();\n            details[\"type\"] = JSON.stringify(type);\n            details[\"name\"] = JSON.stringify(name);\n            details[\"args\"] = JSON.stringify(args);\n            return { guid: guid, type: type, details: details };\n        };\n\n        return ModifierOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.ModifierOpcode = ModifierOpcode;\n\n    var UpdateModifierOpcode = (function (_UpdatingOpcode) {\n        babelHelpers.inherits(UpdateModifierOpcode, _UpdatingOpcode);\n\n        function UpdateModifierOpcode(manager, modifier, args) {\n            _UpdatingOpcode.call(this);\n            this.manager = manager;\n            this.modifier = modifier;\n            this.args = args;\n            this.type = \"update-modifier\";\n            this.tag = args.tag;\n            this.lastUpdated = args.tag.value();\n        }\n\n        UpdateModifierOpcode.prototype.evaluate = function evaluate(vm) {\n            var manager = this.manager;\n            var modifier = this.modifier;\n            var tag = this.tag;\n            var lastUpdated = this.lastUpdated;\n\n            if (!tag.validate(lastUpdated)) {\n                vm.env.scheduleUpdateModifier(modifier, manager);\n                this.lastUpdated = tag.value();\n            }\n        };\n\n        UpdateModifierOpcode.prototype.toJSON = function toJSON() {\n            return {\n                guid: this._guid,\n                type: this.type,\n                args: [JSON.stringify(this.args)]\n            };\n        };\n\n        return UpdateModifierOpcode;\n    })(_glimmerRuntimeLibOpcodes.UpdatingOpcode);\n\n    exports.UpdateModifierOpcode = UpdateModifierOpcode;\n\n    var StaticAttribute = (function () {\n        function StaticAttribute(element, name, value, namespace) {\n            this.element = element;\n            this.name = name;\n            this.value = value;\n            this.namespace = namespace;\n        }\n\n        StaticAttribute.prototype.flush = function flush(env) {\n            env.getAppendOperations().setAttribute(this.element, this.name, this.value, this.namespace);\n            return null;\n        };\n\n        return StaticAttribute;\n    })();\n\n    exports.StaticAttribute = StaticAttribute;\n\n    var DynamicAttribute = (function () {\n        function DynamicAttribute(element, attributeManager, name, reference, namespace) {\n            this.element = element;\n            this.attributeManager = attributeManager;\n            this.name = name;\n            this.reference = reference;\n            this.namespace = namespace;\n            this.tag = reference.tag;\n            this.cache = null;\n        }\n\n        DynamicAttribute.prototype.patch = function patch(env) {\n            var element = this.element;\n            var cache = this.cache;\n\n            var value = cache.revalidate();\n            if (_glimmerReference.isModified(value)) {\n                this.attributeManager.updateAttribute(env, element, value, this.namespace);\n            }\n        };\n\n        DynamicAttribute.prototype.flush = function flush(env) {\n            var reference = this.reference;\n            var element = this.element;\n\n            if (_glimmerReference.isConst(reference)) {\n                var value = reference.value();\n                this.attributeManager.setAttribute(env, element, value, this.namespace);\n                return null;\n            } else {\n                var cache = this.cache = new _glimmerReference.ReferenceCache(reference);\n                var value = cache.peek();\n                this.attributeManager.setAttribute(env, element, value, this.namespace);\n                return new PatchElementOpcode(this);\n            }\n        };\n\n        DynamicAttribute.prototype.toJSON = function toJSON() {\n            var element = this.element;\n            var namespace = this.namespace;\n            var name = this.name;\n            var cache = this.cache;\n\n            var formattedElement = formatElement(element);\n            var lastValue = cache.peek();\n            if (namespace) {\n                return {\n                    element: formattedElement,\n                    type: 'attribute',\n                    namespace: namespace,\n                    name: name,\n                    lastValue: lastValue\n                };\n            }\n            return {\n                element: formattedElement,\n                type: 'attribute',\n                namespace: namespace,\n                name: name,\n                lastValue: lastValue\n            };\n        };\n\n        return DynamicAttribute;\n    })();\n\n    exports.DynamicAttribute = DynamicAttribute;\n\n    function formatElement(element) {\n        return JSON.stringify('<' + element.tagName.toLowerCase() + ' />');\n    }\n\n    var DynamicAttrNSOpcode = (function (_Opcode12) {\n        babelHelpers.inherits(DynamicAttrNSOpcode, _Opcode12);\n\n        function DynamicAttrNSOpcode(name, namespace, isTrusting) {\n            _Opcode12.call(this);\n            this.name = name;\n            this.namespace = namespace;\n            this.isTrusting = isTrusting;\n            this.type = \"dynamic-attr\";\n        }\n\n        DynamicAttrNSOpcode.prototype.evaluate = function evaluate(vm) {\n            var name = this.name;\n            var namespace = this.namespace;\n            var isTrusting = this.isTrusting;\n\n            var reference = vm.frame.getOperand();\n            vm.stack().setDynamicAttributeNS(namespace, name, reference, isTrusting);\n        };\n\n        DynamicAttrNSOpcode.prototype.toJSON = function toJSON() {\n            var guid = this._guid;\n            var type = this.type;\n            var name = this.name;\n            var namespace = this.namespace;\n\n            var details = _glimmerUtil.dict();\n            details[\"name\"] = JSON.stringify(name);\n            details[\"value\"] = \"$OPERAND\";\n            if (namespace) {\n                details[\"namespace\"] = JSON.stringify(namespace);\n            }\n            return { guid: guid, type: type, details: details };\n        };\n\n        return DynamicAttrNSOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.DynamicAttrNSOpcode = DynamicAttrNSOpcode;\n\n    var DynamicAttrOpcode = (function (_Opcode13) {\n        babelHelpers.inherits(DynamicAttrOpcode, _Opcode13);\n\n        function DynamicAttrOpcode(name, isTrusting) {\n            _Opcode13.call(this);\n            this.name = name;\n            this.isTrusting = isTrusting;\n            this.type = \"dynamic-attr\";\n        }\n\n        DynamicAttrOpcode.prototype.evaluate = function evaluate(vm) {\n            var name = this.name;\n            var isTrusting = this.isTrusting;\n\n            var reference = vm.frame.getOperand();\n            vm.stack().setDynamicAttribute(name, reference, isTrusting);\n        };\n\n        DynamicAttrOpcode.prototype.toJSON = function toJSON() {\n            var guid = this._guid;\n            var type = this.type;\n            var name = this.name;\n\n            var details = _glimmerUtil.dict();\n            details[\"name\"] = JSON.stringify(name);\n            details[\"value\"] = \"$OPERAND\";\n            return { guid: guid, type: type, details: details };\n        };\n\n        return DynamicAttrOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.DynamicAttrOpcode = DynamicAttrOpcode;\n\n    var PatchElementOpcode = (function (_UpdatingOpcode2) {\n        babelHelpers.inherits(PatchElementOpcode, _UpdatingOpcode2);\n\n        function PatchElementOpcode(operation) {\n            _UpdatingOpcode2.call(this);\n            this.type = \"patch-element\";\n            this.tag = operation.tag;\n            this.operation = operation;\n        }\n\n        PatchElementOpcode.prototype.evaluate = function evaluate(vm) {\n            this.operation.patch(vm.env);\n        };\n\n        PatchElementOpcode.prototype.toJSON = function toJSON() {\n            var _guid = this._guid;\n            var type = this.type;\n            var operation = this.operation;\n\n            return {\n                guid: _guid,\n                type: type,\n                details: operation.toJSON()\n            };\n        };\n\n        return PatchElementOpcode;\n    })(_glimmerRuntimeLibOpcodes.UpdatingOpcode);\n\n    exports.PatchElementOpcode = PatchElementOpcode;\n\n    var CommentOpcode = (function (_Opcode14) {\n        babelHelpers.inherits(CommentOpcode, _Opcode14);\n\n        function CommentOpcode(comment) {\n            _Opcode14.call(this);\n            this.comment = comment;\n            this.type = \"comment\";\n        }\n\n        CommentOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.stack().appendComment(this.comment);\n        };\n\n        CommentOpcode.prototype.toJSON = function toJSON() {\n            return {\n                guid: this._guid,\n                type: this.type,\n                args: [JSON.stringify(this.comment)]\n            };\n        };\n\n        return CommentOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.CommentOpcode = CommentOpcode;\n});\n\nenifed('glimmer-runtime/lib/compiled/opcodes/lists', ['exports', 'glimmer-runtime/lib/opcodes', 'glimmer-runtime/lib/compiled/expressions/args', 'glimmer-util', 'glimmer-reference'], function (exports, _glimmerRuntimeLibOpcodes, _glimmerRuntimeLibCompiledExpressionsArgs, _glimmerUtil, _glimmerReference) {\n    'use strict';\n\n    var IterablePresenceReference = (function () {\n        function IterablePresenceReference(artifacts) {\n            this.tag = artifacts.tag;\n            this.artifacts = artifacts;\n        }\n\n        IterablePresenceReference.prototype.value = function value() {\n            return !this.artifacts.isEmpty();\n        };\n\n        return IterablePresenceReference;\n    })();\n\n    var PutIteratorOpcode = (function (_Opcode) {\n        babelHelpers.inherits(PutIteratorOpcode, _Opcode);\n\n        function PutIteratorOpcode() {\n            _Opcode.apply(this, arguments);\n            this.type = \"put-iterator\";\n        }\n\n        PutIteratorOpcode.prototype.evaluate = function evaluate(vm) {\n            var listRef = vm.frame.getOperand();\n            var args = vm.frame.getArgs();\n            var iterable = vm.env.iterableFor(listRef, args);\n            var iterator = new _glimmerReference.ReferenceIterator(iterable);\n            vm.frame.setIterator(iterator);\n            vm.frame.setCondition(new IterablePresenceReference(iterator.artifacts));\n        };\n\n        return PutIteratorOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.PutIteratorOpcode = PutIteratorOpcode;\n\n    var EnterListOpcode = (function (_Opcode2) {\n        babelHelpers.inherits(EnterListOpcode, _Opcode2);\n\n        function EnterListOpcode(start, end) {\n            _Opcode2.call(this);\n            this.type = \"enter-list\";\n            this.slice = new _glimmerUtil.ListSlice(start, end);\n        }\n\n        EnterListOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.enterList(this.slice);\n        };\n\n        EnterListOpcode.prototype.toJSON = function toJSON() {\n            var slice = this.slice;\n            var type = this.type;\n            var _guid = this._guid;\n\n            var begin = slice.head();\n            var end = slice.tail();\n            return {\n                guid: _guid,\n                type: type,\n                args: [JSON.stringify(begin.inspect()), JSON.stringify(end.inspect())]\n            };\n        };\n\n        return EnterListOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.EnterListOpcode = EnterListOpcode;\n\n    var ExitListOpcode = (function (_Opcode3) {\n        babelHelpers.inherits(ExitListOpcode, _Opcode3);\n\n        function ExitListOpcode() {\n            _Opcode3.apply(this, arguments);\n            this.type = \"exit-list\";\n        }\n\n        ExitListOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.exitList();\n        };\n\n        return ExitListOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.ExitListOpcode = ExitListOpcode;\n\n    var EnterWithKeyOpcode = (function (_Opcode4) {\n        babelHelpers.inherits(EnterWithKeyOpcode, _Opcode4);\n\n        function EnterWithKeyOpcode(start, end) {\n            _Opcode4.call(this);\n            this.type = \"enter-with-key\";\n            this.slice = new _glimmerUtil.ListSlice(start, end);\n        }\n\n        EnterWithKeyOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.enterWithKey(vm.frame.getKey(), this.slice);\n        };\n\n        EnterWithKeyOpcode.prototype.toJSON = function toJSON() {\n            var slice = this.slice;\n            var _guid = this._guid;\n            var type = this.type;\n\n            var begin = slice.head();\n            var end = slice.tail();\n            return {\n                guid: _guid,\n                type: type,\n                args: [JSON.stringify(begin.inspect()), JSON.stringify(end.inspect())]\n            };\n        };\n\n        return EnterWithKeyOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.EnterWithKeyOpcode = EnterWithKeyOpcode;\n\n    var TRUE_REF = new _glimmerReference.ConstReference(true);\n    var FALSE_REF = new _glimmerReference.ConstReference(false);\n\n    var NextIterOpcode = (function (_Opcode5) {\n        babelHelpers.inherits(NextIterOpcode, _Opcode5);\n\n        function NextIterOpcode(end) {\n            _Opcode5.call(this);\n            this.type = \"next-iter\";\n            this.end = end;\n        }\n\n        NextIterOpcode.prototype.evaluate = function evaluate(vm) {\n            var item = vm.frame.getIterator().next();\n            if (item) {\n                vm.frame.setCondition(TRUE_REF);\n                vm.frame.setKey(item.key);\n                vm.frame.setOperand(item.value);\n                vm.frame.setArgs(_glimmerRuntimeLibCompiledExpressionsArgs.EvaluatedArgs.positional([item.value, item.memo]));\n            } else {\n                vm.frame.setCondition(FALSE_REF);\n                vm.goto(this.end);\n            }\n        };\n\n        return NextIterOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.NextIterOpcode = NextIterOpcode;\n});\n\nenifed('glimmer-runtime/lib/compiled/opcodes/partial', ['exports', 'glimmer-util', 'glimmer-reference', 'glimmer-runtime/lib/opcodes', 'glimmer-runtime/lib/compiled/opcodes/vm'], function (exports, _glimmerUtil, _glimmerReference, _glimmerRuntimeLibOpcodes, _glimmerRuntimeLibCompiledOpcodesVm) {\n    'use strict';\n\n    var PutDynamicPartialDefinitionOpcode = (function (_Opcode) {\n        babelHelpers.inherits(PutDynamicPartialDefinitionOpcode, _Opcode);\n\n        function PutDynamicPartialDefinitionOpcode(symbolTable) {\n            _Opcode.call(this);\n            this.symbolTable = symbolTable;\n            this.type = \"put-dynamic-partial-definition\";\n        }\n\n        PutDynamicPartialDefinitionOpcode.prototype.evaluate = function evaluate(vm) {\n            var env = vm.env;\n            var symbolTable = this.symbolTable;\n\n            function lookupPartial(name) {\n                var normalized = String(name);\n                if (!env.hasPartial(normalized, symbolTable)) {\n                    throw new Error('Could not find a partial named \"' + normalized + '\"');\n                }\n                return env.lookupPartial(normalized, symbolTable);\n            }\n            var reference = _glimmerReference.map(vm.frame.getOperand(), lookupPartial);\n            var cache = _glimmerReference.isConst(reference) ? undefined : new _glimmerReference.ReferenceCache(reference);\n            var definition = cache ? cache.peek() : reference.value();\n            vm.frame.setImmediate(definition);\n            if (cache) {\n                vm.updateWith(new _glimmerRuntimeLibCompiledOpcodesVm.Assert(cache));\n            }\n        };\n\n        PutDynamicPartialDefinitionOpcode.prototype.toJSON = function toJSON() {\n            return {\n                guid: this._guid,\n                type: this.type,\n                args: [\"$OPERAND\"]\n            };\n        };\n\n        return PutDynamicPartialDefinitionOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.PutDynamicPartialDefinitionOpcode = PutDynamicPartialDefinitionOpcode;\n\n    var PutPartialDefinitionOpcode = (function (_Opcode2) {\n        babelHelpers.inherits(PutPartialDefinitionOpcode, _Opcode2);\n\n        function PutPartialDefinitionOpcode(definition) {\n            _Opcode2.call(this);\n            this.definition = definition;\n            this.type = \"put-partial-definition\";\n        }\n\n        PutPartialDefinitionOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.frame.setImmediate(this.definition);\n        };\n\n        PutPartialDefinitionOpcode.prototype.toJSON = function toJSON() {\n            return {\n                guid: this._guid,\n                type: this.type,\n                args: [JSON.stringify(this.definition.name)]\n            };\n        };\n\n        return PutPartialDefinitionOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.PutPartialDefinitionOpcode = PutPartialDefinitionOpcode;\n\n    var EvaluatePartialOpcode = (function (_Opcode3) {\n        babelHelpers.inherits(EvaluatePartialOpcode, _Opcode3);\n\n        function EvaluatePartialOpcode(symbolTable) {\n            _Opcode3.call(this);\n            this.symbolTable = symbolTable;\n            this.type = \"evaluate-partial\";\n            this.cache = _glimmerUtil.dict();\n        }\n\n        EvaluatePartialOpcode.prototype.evaluate = function evaluate(vm) {\n            var _vm$frame$getImmediate = vm.frame.getImmediate();\n\n            var template = _vm$frame$getImmediate.template;\n\n            var block = this.cache[template.id];\n            if (!block) {\n                block = template.asPartial(this.symbolTable);\n            }\n            vm.invokePartial(block);\n        };\n\n        EvaluatePartialOpcode.prototype.toJSON = function toJSON() {\n            return {\n                guid: this._guid,\n                type: this.type,\n                args: [\"$OPERAND\"]\n            };\n        };\n\n        return EvaluatePartialOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.EvaluatePartialOpcode = EvaluatePartialOpcode;\n});\n\nenifed('glimmer-runtime/lib/compiled/opcodes/vm', ['exports', 'glimmer-runtime/lib/opcodes', 'glimmer-runtime/lib/references', 'glimmer-reference', 'glimmer-util'], function (exports, _glimmerRuntimeLibOpcodes, _glimmerRuntimeLibReferences, _glimmerReference, _glimmerUtil) {\n    'use strict';\n\n    var PushChildScopeOpcode = (function (_Opcode) {\n        babelHelpers.inherits(PushChildScopeOpcode, _Opcode);\n\n        function PushChildScopeOpcode() {\n            _Opcode.apply(this, arguments);\n            this.type = \"push-child-scope\";\n        }\n\n        PushChildScopeOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.pushChildScope();\n        };\n\n        return PushChildScopeOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.PushChildScopeOpcode = PushChildScopeOpcode;\n\n    var PopScopeOpcode = (function (_Opcode2) {\n        babelHelpers.inherits(PopScopeOpcode, _Opcode2);\n\n        function PopScopeOpcode() {\n            _Opcode2.apply(this, arguments);\n            this.type = \"pop-scope\";\n        }\n\n        PopScopeOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.popScope();\n        };\n\n        return PopScopeOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.PopScopeOpcode = PopScopeOpcode;\n\n    var PushDynamicScopeOpcode = (function (_Opcode3) {\n        babelHelpers.inherits(PushDynamicScopeOpcode, _Opcode3);\n\n        function PushDynamicScopeOpcode() {\n            _Opcode3.apply(this, arguments);\n            this.type = \"push-dynamic-scope\";\n        }\n\n        PushDynamicScopeOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.pushDynamicScope();\n        };\n\n        return PushDynamicScopeOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.PushDynamicScopeOpcode = PushDynamicScopeOpcode;\n\n    var PopDynamicScopeOpcode = (function (_Opcode4) {\n        babelHelpers.inherits(PopDynamicScopeOpcode, _Opcode4);\n\n        function PopDynamicScopeOpcode() {\n            _Opcode4.apply(this, arguments);\n            this.type = \"pop-dynamic-scope\";\n        }\n\n        PopDynamicScopeOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.popDynamicScope();\n        };\n\n        return PopDynamicScopeOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.PopDynamicScopeOpcode = PopDynamicScopeOpcode;\n\n    var PutNullOpcode = (function (_Opcode5) {\n        babelHelpers.inherits(PutNullOpcode, _Opcode5);\n\n        function PutNullOpcode() {\n            _Opcode5.apply(this, arguments);\n            this.type = \"put-null\";\n        }\n\n        PutNullOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.frame.setOperand(_glimmerRuntimeLibReferences.NULL_REFERENCE);\n        };\n\n        return PutNullOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.PutNullOpcode = PutNullOpcode;\n\n    var PutValueOpcode = (function (_Opcode6) {\n        babelHelpers.inherits(PutValueOpcode, _Opcode6);\n\n        function PutValueOpcode(expression) {\n            _Opcode6.call(this);\n            this.expression = expression;\n            this.type = \"put-value\";\n        }\n\n        PutValueOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.evaluateOperand(this.expression);\n        };\n\n        PutValueOpcode.prototype.toJSON = function toJSON() {\n            return {\n                guid: this._guid,\n                type: this.type,\n                args: [this.expression.toJSON()]\n            };\n        };\n\n        return PutValueOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.PutValueOpcode = PutValueOpcode;\n\n    var PutArgsOpcode = (function (_Opcode7) {\n        babelHelpers.inherits(PutArgsOpcode, _Opcode7);\n\n        function PutArgsOpcode(args) {\n            _Opcode7.call(this);\n            this.args = args;\n            this.type = \"put-args\";\n        }\n\n        PutArgsOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.evaluateArgs(this.args);\n        };\n\n        PutArgsOpcode.prototype.toJSON = function toJSON() {\n            return {\n                guid: this._guid,\n                type: this.type,\n                details: {\n                    \"positional\": this.args.positional.toJSON(),\n                    \"named\": this.args.named.toJSON()\n                }\n            };\n        };\n\n        return PutArgsOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.PutArgsOpcode = PutArgsOpcode;\n\n    var BindPositionalArgsOpcode = (function (_Opcode8) {\n        babelHelpers.inherits(BindPositionalArgsOpcode, _Opcode8);\n\n        function BindPositionalArgsOpcode(names, symbols) {\n            _Opcode8.call(this);\n            this.names = names;\n            this.symbols = symbols;\n            this.type = \"bind-positional-args\";\n        }\n\n        BindPositionalArgsOpcode.create = function create(block) {\n            var names = block.locals;\n            var symbols = names.map(function (name) {\n                return block.symbolTable.getLocal(name);\n            });\n            return new this(names, symbols);\n        };\n\n        BindPositionalArgsOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.bindPositionalArgs(this.symbols);\n        };\n\n        BindPositionalArgsOpcode.prototype.toJSON = function toJSON() {\n            return {\n                guid: this._guid,\n                type: this.type,\n                args: ['[' + this.names.map(function (name) {\n                    return JSON.stringify(name);\n                }).join(\", \") + ']']\n            };\n        };\n\n        return BindPositionalArgsOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.BindPositionalArgsOpcode = BindPositionalArgsOpcode;\n\n    var BindNamedArgsOpcode = (function (_Opcode9) {\n        babelHelpers.inherits(BindNamedArgsOpcode, _Opcode9);\n\n        function BindNamedArgsOpcode(names, symbols) {\n            _Opcode9.call(this);\n            this.names = names;\n            this.symbols = symbols;\n            this.type = \"bind-named-args\";\n        }\n\n        BindNamedArgsOpcode.create = function create(layout) {\n            var names = layout.named;\n            var symbols = names.map(function (name) {\n                return layout.symbolTable.getNamed(name);\n            });\n            return new this(names, symbols);\n        };\n\n        BindNamedArgsOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.bindNamedArgs(this.names, this.symbols);\n        };\n\n        BindNamedArgsOpcode.prototype.toJSON = function toJSON() {\n            var names = this.names;\n            var symbols = this.symbols;\n\n            var args = names.map(function (name, i) {\n                return '$' + symbols[i] + ': $ARGS[' + name + ']';\n            });\n            return {\n                guid: this._guid,\n                type: this.type,\n                args: args\n            };\n        };\n\n        return BindNamedArgsOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.BindNamedArgsOpcode = BindNamedArgsOpcode;\n\n    var BindBlocksOpcode = (function (_Opcode10) {\n        babelHelpers.inherits(BindBlocksOpcode, _Opcode10);\n\n        function BindBlocksOpcode(names, symbols) {\n            _Opcode10.call(this);\n            this.names = names;\n            this.symbols = symbols;\n            this.type = \"bind-blocks\";\n        }\n\n        BindBlocksOpcode.create = function create(layout) {\n            var names = layout.yields;\n            var symbols = names.map(function (name) {\n                return layout.symbolTable.getYield(name);\n            });\n            return new this(names, symbols);\n        };\n\n        BindBlocksOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.bindBlocks(this.names, this.symbols);\n        };\n\n        BindBlocksOpcode.prototype.toJSON = function toJSON() {\n            var names = this.names;\n            var symbols = this.symbols;\n\n            var args = names.map(function (name, i) {\n                return '$' + symbols[i] + ': $BLOCKS[' + name + ']';\n            });\n            return {\n                guid: this._guid,\n                type: this.type,\n                args: args\n            };\n        };\n\n        return BindBlocksOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.BindBlocksOpcode = BindBlocksOpcode;\n\n    var BindPartialArgsOpcode = (function (_Opcode11) {\n        babelHelpers.inherits(BindPartialArgsOpcode, _Opcode11);\n\n        function BindPartialArgsOpcode(symbol) {\n            _Opcode11.call(this);\n            this.symbol = symbol;\n            this.type = \"bind-partial-args\";\n        }\n\n        BindPartialArgsOpcode.create = function create(layout) {\n            return new this(layout.symbolTable.getPartialArgs());\n        };\n\n        BindPartialArgsOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.bindPartialArgs(this.symbol);\n        };\n\n        return BindPartialArgsOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.BindPartialArgsOpcode = BindPartialArgsOpcode;\n\n    var BindCallerScopeOpcode = (function (_Opcode12) {\n        babelHelpers.inherits(BindCallerScopeOpcode, _Opcode12);\n\n        function BindCallerScopeOpcode() {\n            _Opcode12.apply(this, arguments);\n            this.type = \"bind-caller-scope\";\n        }\n\n        BindCallerScopeOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.bindCallerScope();\n        };\n\n        return BindCallerScopeOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.BindCallerScopeOpcode = BindCallerScopeOpcode;\n\n    var BindDynamicScopeOpcode = (function (_Opcode13) {\n        babelHelpers.inherits(BindDynamicScopeOpcode, _Opcode13);\n\n        function BindDynamicScopeOpcode(names) {\n            _Opcode13.call(this);\n            this.names = names;\n            this.type = \"bind-dynamic-scope\";\n        }\n\n        BindDynamicScopeOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.bindDynamicScope(this.names);\n        };\n\n        return BindDynamicScopeOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.BindDynamicScopeOpcode = BindDynamicScopeOpcode;\n\n    var EnterOpcode = (function (_Opcode14) {\n        babelHelpers.inherits(EnterOpcode, _Opcode14);\n\n        function EnterOpcode(begin, end) {\n            _Opcode14.call(this);\n            this.type = \"enter\";\n            this.slice = new _glimmerUtil.ListSlice(begin, end);\n        }\n\n        EnterOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.enter(this.slice);\n        };\n\n        EnterOpcode.prototype.toJSON = function toJSON() {\n            var slice = this.slice;\n            var type = this.type;\n            var _guid = this._guid;\n\n            var begin = slice.head();\n            var end = slice.tail();\n            return {\n                guid: _guid,\n                type: type,\n                args: [JSON.stringify(begin.inspect()), JSON.stringify(end.inspect())]\n            };\n        };\n\n        return EnterOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.EnterOpcode = EnterOpcode;\n\n    var ExitOpcode = (function (_Opcode15) {\n        babelHelpers.inherits(ExitOpcode, _Opcode15);\n\n        function ExitOpcode() {\n            _Opcode15.apply(this, arguments);\n            this.type = \"exit\";\n        }\n\n        ExitOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.exit();\n        };\n\n        return ExitOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.ExitOpcode = ExitOpcode;\n\n    var LabelOpcode = (function (_Opcode16) {\n        babelHelpers.inherits(LabelOpcode, _Opcode16);\n\n        function LabelOpcode(label) {\n            _Opcode16.call(this);\n            this.tag = _glimmerReference.CONSTANT_TAG;\n            this.type = \"label\";\n            this.label = null;\n            this.prev = null;\n            this.next = null;\n            if (label) this.label = label;\n        }\n\n        LabelOpcode.prototype.evaluate = function evaluate() {};\n\n        LabelOpcode.prototype.inspect = function inspect() {\n            return this.label + ' [' + this._guid + ']';\n        };\n\n        LabelOpcode.prototype.toJSON = function toJSON() {\n            return {\n                guid: this._guid,\n                type: this.type,\n                args: [JSON.stringify(this.inspect())]\n            };\n        };\n\n        return LabelOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.LabelOpcode = LabelOpcode;\n\n    var EvaluateOpcode = (function (_Opcode17) {\n        babelHelpers.inherits(EvaluateOpcode, _Opcode17);\n\n        function EvaluateOpcode(debug, block) {\n            _Opcode17.call(this);\n            this.debug = debug;\n            this.block = block;\n            this.type = \"evaluate\";\n        }\n\n        EvaluateOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.invokeBlock(this.block, vm.frame.getArgs());\n        };\n\n        EvaluateOpcode.prototype.toJSON = function toJSON() {\n            var guid = this._guid;\n            var type = this.type;\n            var debug = this.debug;\n            var block = this.block;\n\n            var compiled = block['compiled'];\n            var children = undefined;\n            if (compiled) {\n                children = compiled.ops.toArray().map(function (op) {\n                    return op.toJSON();\n                });\n            } else {\n                children = [{ guid: null, type: '[ UNCOMPILED BLOCK ]' }];\n            }\n            return {\n                guid: guid,\n                type: type,\n                args: [debug],\n                children: children\n            };\n        };\n\n        return EvaluateOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.EvaluateOpcode = EvaluateOpcode;\n    var ConstTest = function (ref, env) {\n        return new _glimmerReference.ConstReference(!!ref.value());\n    };\n    exports.ConstTest = ConstTest;\n    var SimpleTest = function (ref, env) {\n        return ref;\n    };\n    exports.SimpleTest = SimpleTest;\n    var EnvironmentTest = function (ref, env) {\n        return env.toConditionalReference(ref);\n    };\n    exports.EnvironmentTest = EnvironmentTest;\n\n    var TestOpcode = (function (_Opcode18) {\n        babelHelpers.inherits(TestOpcode, _Opcode18);\n\n        function TestOpcode(testFunc) {\n            _Opcode18.call(this);\n            this.testFunc = testFunc;\n            this.type = \"test\";\n        }\n\n        TestOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.frame.setCondition(this.testFunc(vm.frame.getOperand(), vm.env));\n        };\n\n        TestOpcode.prototype.toJSON = function toJSON() {\n            return {\n                guid: this._guid,\n                type: this.type,\n                args: [\"$OPERAND\", this.testFunc.name]\n            };\n        };\n\n        return TestOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.TestOpcode = TestOpcode;\n\n    var JumpOpcode = (function (_Opcode19) {\n        babelHelpers.inherits(JumpOpcode, _Opcode19);\n\n        function JumpOpcode(target) {\n            _Opcode19.call(this);\n            this.target = target;\n            this.type = \"jump\";\n        }\n\n        JumpOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.goto(this.target);\n        };\n\n        JumpOpcode.prototype.toJSON = function toJSON() {\n            return {\n                guid: this._guid,\n                type: this.type,\n                args: [JSON.stringify(this.target.inspect())]\n            };\n        };\n\n        return JumpOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.JumpOpcode = JumpOpcode;\n\n    var JumpIfOpcode = (function (_JumpOpcode) {\n        babelHelpers.inherits(JumpIfOpcode, _JumpOpcode);\n\n        function JumpIfOpcode() {\n            _JumpOpcode.apply(this, arguments);\n            this.type = \"jump-if\";\n        }\n\n        JumpIfOpcode.prototype.evaluate = function evaluate(vm) {\n            var reference = vm.frame.getCondition();\n            if (_glimmerReference.isConst(reference)) {\n                if (reference.value()) {\n                    _JumpOpcode.prototype.evaluate.call(this, vm);\n                }\n            } else {\n                var cache = new _glimmerReference.ReferenceCache(reference);\n                if (cache.peek()) {\n                    _JumpOpcode.prototype.evaluate.call(this, vm);\n                }\n                vm.updateWith(new Assert(cache));\n            }\n        };\n\n        return JumpIfOpcode;\n    })(JumpOpcode);\n\n    exports.JumpIfOpcode = JumpIfOpcode;\n\n    var JumpUnlessOpcode = (function (_JumpOpcode2) {\n        babelHelpers.inherits(JumpUnlessOpcode, _JumpOpcode2);\n\n        function JumpUnlessOpcode() {\n            _JumpOpcode2.apply(this, arguments);\n            this.type = \"jump-unless\";\n        }\n\n        JumpUnlessOpcode.prototype.evaluate = function evaluate(vm) {\n            var reference = vm.frame.getCondition();\n            if (_glimmerReference.isConst(reference)) {\n                if (!reference.value()) {\n                    _JumpOpcode2.prototype.evaluate.call(this, vm);\n                }\n            } else {\n                var cache = new _glimmerReference.ReferenceCache(reference);\n                if (!cache.peek()) {\n                    _JumpOpcode2.prototype.evaluate.call(this, vm);\n                }\n                vm.updateWith(new Assert(cache));\n            }\n        };\n\n        return JumpUnlessOpcode;\n    })(JumpOpcode);\n\n    exports.JumpUnlessOpcode = JumpUnlessOpcode;\n\n    var Assert = (function (_UpdatingOpcode) {\n        babelHelpers.inherits(Assert, _UpdatingOpcode);\n\n        function Assert(cache) {\n            _UpdatingOpcode.call(this);\n            this.type = \"assert\";\n            this.tag = cache.tag;\n            this.cache = cache;\n        }\n\n        Assert.prototype.evaluate = function evaluate(vm) {\n            var cache = this.cache;\n\n            if (_glimmerReference.isModified(cache.revalidate())) {\n                vm.throw();\n            }\n        };\n\n        Assert.prototype.toJSON = function toJSON() {\n            var type = this.type;\n            var _guid = this._guid;\n            var cache = this.cache;\n\n            var expected = undefined;\n            try {\n                expected = JSON.stringify(cache.peek());\n            } catch (e) {\n                expected = String(cache.peek());\n            }\n            return {\n                guid: _guid,\n                type: type,\n                args: [],\n                details: { expected: expected }\n            };\n        };\n\n        return Assert;\n    })(_glimmerRuntimeLibOpcodes.UpdatingOpcode);\n\n    exports.Assert = Assert;\n\n    var JumpIfNotModifiedOpcode = (function (_UpdatingOpcode2) {\n        babelHelpers.inherits(JumpIfNotModifiedOpcode, _UpdatingOpcode2);\n\n        function JumpIfNotModifiedOpcode(tag, target) {\n            _UpdatingOpcode2.call(this);\n            this.target = target;\n            this.type = \"jump-if-not-modified\";\n            this.tag = tag;\n            this.lastRevision = tag.value();\n        }\n\n        JumpIfNotModifiedOpcode.prototype.evaluate = function evaluate(vm) {\n            var tag = this.tag;\n            var target = this.target;\n            var lastRevision = this.lastRevision;\n\n            if (!vm.alwaysRevalidate && tag.validate(lastRevision)) {\n                vm.goto(target);\n            }\n        };\n\n        JumpIfNotModifiedOpcode.prototype.didModify = function didModify() {\n            this.lastRevision = this.tag.value();\n        };\n\n        JumpIfNotModifiedOpcode.prototype.toJSON = function toJSON() {\n            return {\n                guid: this._guid,\n                type: this.type,\n                args: [JSON.stringify(this.target.inspect())]\n            };\n        };\n\n        return JumpIfNotModifiedOpcode;\n    })(_glimmerRuntimeLibOpcodes.UpdatingOpcode);\n\n    exports.JumpIfNotModifiedOpcode = JumpIfNotModifiedOpcode;\n\n    var DidModifyOpcode = (function (_UpdatingOpcode3) {\n        babelHelpers.inherits(DidModifyOpcode, _UpdatingOpcode3);\n\n        function DidModifyOpcode(target) {\n            _UpdatingOpcode3.call(this);\n            this.target = target;\n            this.type = \"did-modify\";\n            this.tag = _glimmerReference.CONSTANT_TAG;\n        }\n\n        DidModifyOpcode.prototype.evaluate = function evaluate() {\n            this.target.didModify();\n        };\n\n        return DidModifyOpcode;\n    })(_glimmerRuntimeLibOpcodes.UpdatingOpcode);\n\n    exports.DidModifyOpcode = DidModifyOpcode;\n});\n\nenifed('glimmer-runtime/lib/compiler', ['exports', 'glimmer-util', 'glimmer-runtime/lib/utils', 'glimmer-runtime/lib/syntax/core', 'glimmer-runtime/lib/compiled/blocks', 'glimmer-runtime/lib/compiled/expressions/function', 'glimmer-runtime/lib/compiled/opcodes/builder'], function (exports, _glimmerUtil, _glimmerRuntimeLibUtils, _glimmerRuntimeLibSyntaxCore, _glimmerRuntimeLibCompiledBlocks, _glimmerRuntimeLibCompiledExpressionsFunction, _glimmerRuntimeLibCompiledOpcodesBuilder) {\n    'use strict';\n\n    exports.compileLayout = compileLayout;\n\n    var Compiler = (function () {\n        function Compiler(block, env) {\n            this.block = block;\n            this.env = env;\n            this.current = block.program.head();\n            this.symbolTable = block.symbolTable;\n        }\n\n        Compiler.prototype.compileStatement = function compileStatement(statement, ops) {\n            this.env.statement(statement, this.symbolTable).compile(ops, this.env, this.symbolTable);\n        };\n\n        return Compiler;\n    })();\n\n    function compileStatement(env, statement, ops, layout) {\n        env.statement(statement, layout.symbolTable).compile(ops, env, layout.symbolTable);\n    }\n    exports.default = Compiler;\n\n    var EntryPointCompiler = (function (_Compiler) {\n        babelHelpers.inherits(EntryPointCompiler, _Compiler);\n\n        function EntryPointCompiler(template, env) {\n            _Compiler.call(this, template, env);\n            var list = new CompileIntoList(env, template.symbolTable);\n            this.ops = new _glimmerRuntimeLibCompiledOpcodesBuilder.default(list, template.symbolTable, env);\n        }\n\n        EntryPointCompiler.prototype.compile = function compile() {\n            var block = this.block;\n            var ops = this.ops;\n            var program = block.program;\n\n            var current = program.head();\n            while (current) {\n                var next = program.nextNode(current);\n                this.compileStatement(current, ops);\n                current = next;\n            }\n            return ops.toOpSeq();\n        };\n\n        EntryPointCompiler.prototype.append = function append(op) {\n            this.ops.append(op);\n        };\n\n        EntryPointCompiler.prototype.getLocalSymbol = function getLocalSymbol(name) {\n            return this.symbolTable.getLocal(name);\n        };\n\n        EntryPointCompiler.prototype.getNamedSymbol = function getNamedSymbol(name) {\n            return this.symbolTable.getNamed(name);\n        };\n\n        EntryPointCompiler.prototype.getYieldSymbol = function getYieldSymbol(name) {\n            return this.symbolTable.getYield(name);\n        };\n\n        return EntryPointCompiler;\n    })(Compiler);\n\n    exports.EntryPointCompiler = EntryPointCompiler;\n\n    var InlineBlockCompiler = (function (_Compiler2) {\n        babelHelpers.inherits(InlineBlockCompiler, _Compiler2);\n\n        function InlineBlockCompiler(block, env) {\n            _Compiler2.call(this, block, env);\n            this.block = block;\n            var list = new CompileIntoList(env, block.symbolTable);\n            this.ops = new _glimmerRuntimeLibCompiledOpcodesBuilder.default(list, block.symbolTable, env);\n        }\n\n        InlineBlockCompiler.prototype.compile = function compile() {\n            var block = this.block;\n            var ops = this.ops;\n            var program = block.program;\n\n            var hasPositionalParameters = block.hasPositionalParameters();\n            if (hasPositionalParameters) {\n                ops.pushChildScope();\n                ops.bindPositionalArgsForBlock(block);\n            }\n            var current = program.head();\n            while (current) {\n                var next = program.nextNode(current);\n                this.compileStatement(current, ops);\n                current = next;\n            }\n            if (hasPositionalParameters) {\n                ops.popScope();\n            }\n            return ops.toOpSeq();\n        };\n\n        return InlineBlockCompiler;\n    })(Compiler);\n\n    exports.InlineBlockCompiler = InlineBlockCompiler;\n\n    function compileLayout(compilable, env) {\n        var builder = new ComponentLayoutBuilder(env);\n        compilable.compile(builder);\n        return builder.compile();\n    }\n\n    var ComponentLayoutBuilder = (function () {\n        function ComponentLayoutBuilder(env) {\n            this.env = env;\n        }\n\n        ComponentLayoutBuilder.prototype.empty = function empty() {\n            this.inner = new EmptyBuilder(this.env);\n        };\n\n        ComponentLayoutBuilder.prototype.wrapLayout = function wrapLayout(layout) {\n            this.inner = new WrappedBuilder(this.env, layout);\n        };\n\n        ComponentLayoutBuilder.prototype.fromLayout = function fromLayout(layout) {\n            this.inner = new UnwrappedBuilder(this.env, layout);\n        };\n\n        ComponentLayoutBuilder.prototype.compile = function compile() {\n            return this.inner.compile();\n        };\n\n        babelHelpers.createClass(ComponentLayoutBuilder, [{\n            key: 'tag',\n            get: function () {\n                return this.inner.tag;\n            }\n        }, {\n            key: 'attrs',\n            get: function () {\n                return this.inner.attrs;\n            }\n        }]);\n        return ComponentLayoutBuilder;\n    })();\n\n    var EmptyBuilder = (function () {\n        function EmptyBuilder(env) {\n            this.env = env;\n        }\n\n        EmptyBuilder.prototype.compile = function compile() {\n            var env = this.env;\n\n            var list = new CompileIntoList(env, null);\n            return new _glimmerRuntimeLibCompiledBlocks.CompiledBlock(list, 0);\n        };\n\n        babelHelpers.createClass(EmptyBuilder, [{\n            key: 'tag',\n            get: function () {\n                throw new Error('Nope');\n            }\n        }, {\n            key: 'attrs',\n            get: function () {\n                throw new Error('Nope');\n            }\n        }]);\n        return EmptyBuilder;\n    })();\n\n    var WrappedBuilder = (function () {\n        function WrappedBuilder(env, layout) {\n            this.env = env;\n            this.layout = layout;\n            this.tag = new ComponentTagBuilder();\n            this.attrs = new ComponentAttrsBuilder();\n        }\n\n        WrappedBuilder.prototype.compile = function compile() {\n            //========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\n            var env = this.env;\n            var layout = this.layout;\n\n            var symbolTable = layout.symbolTable;\n            var buffer = new CompileIntoList(env, layout.symbolTable);\n            var dsl = new _glimmerRuntimeLibCompiledOpcodesBuilder.default(buffer, layout.symbolTable, env);\n            dsl.startLabels();\n            if (this.tag.isDynamic) {\n                dsl.putValue(this.tag.dynamicTagName);\n                dsl.test('simple');\n                dsl.jumpUnless('BODY');\n                dsl.openDynamicPrimitiveElement();\n                dsl.didCreateElement();\n                this.attrs['buffer'].forEach(function (statement) {\n                    return compileStatement(env, statement, dsl, layout);\n                });\n                dsl.flushElement();\n                dsl.label('BODY');\n            } else if (this.tag.isStatic) {\n                var tag = this.tag.staticTagName;\n                dsl.openPrimitiveElement(tag);\n                dsl.didCreateElement();\n                this.attrs['buffer'].forEach(function (statement) {\n                    return compileStatement(env, statement, dsl, layout);\n                });\n                dsl.flushElement();\n            }\n            dsl.preludeForLayout(layout);\n            layout.program.forEachNode(function (statement) {\n                return compileStatement(env, statement, dsl, layout);\n            });\n            if (this.tag.isDynamic) {\n                dsl.putValue(this.tag.dynamicTagName);\n                dsl.test('simple');\n                dsl.jumpUnless('END');\n                dsl.closeElement();\n                dsl.label('END');\n            } else if (this.tag.isStatic) {\n                dsl.closeElement();\n            }\n            dsl.didRenderLayout();\n            dsl.stopLabels();\n            return new _glimmerRuntimeLibCompiledBlocks.CompiledBlock(dsl.toOpSeq(), symbolTable.size);\n        };\n\n        return WrappedBuilder;\n    })();\n\n    var UnwrappedBuilder = (function () {\n        function UnwrappedBuilder(env, layout) {\n            this.env = env;\n            this.layout = layout;\n            this.attrs = new ComponentAttrsBuilder();\n        }\n\n        UnwrappedBuilder.prototype.compile = function compile() {\n            var env = this.env;\n            var layout = this.layout;\n\n            var buffer = new CompileIntoList(env, layout.symbolTable);\n            var dsl = new _glimmerRuntimeLibCompiledOpcodesBuilder.default(buffer, layout.symbolTable, env);\n            dsl.startLabels();\n            dsl.preludeForLayout(layout);\n            var attrs = this.attrs['buffer'];\n            var attrsInserted = false;\n            this.layout.program.forEachNode(function (statement) {\n                if (!attrsInserted && isOpenElement(statement)) {\n                    dsl.openComponentElement(statement.tag);\n                    dsl.didCreateElement();\n                    dsl.shadowAttributes();\n                    attrs.forEach(function (statement) {\n                        return compileStatement(env, statement, dsl, layout);\n                    });\n                    attrsInserted = true;\n                } else {\n                    compileStatement(env, statement, dsl, layout);\n                }\n            });\n            dsl.didRenderLayout();\n            dsl.stopLabels();\n            return new _glimmerRuntimeLibCompiledBlocks.CompiledBlock(dsl.toOpSeq(), layout.symbolTable.size);\n        };\n\n        babelHelpers.createClass(UnwrappedBuilder, [{\n            key: 'tag',\n            get: function () {\n                throw new Error('BUG: Cannot call `tag` on an UnwrappedBuilder');\n            }\n        }]);\n        return UnwrappedBuilder;\n    })();\n\n    function isOpenElement(syntax) {\n        return syntax instanceof _glimmerRuntimeLibSyntaxCore.OpenElement || syntax instanceof _glimmerRuntimeLibSyntaxCore.OpenPrimitiveElement;\n    }\n\n    var ComponentTagBuilder = (function () {\n        function ComponentTagBuilder() {\n            this.isDynamic = null;\n            this.isStatic = null;\n            this.staticTagName = null;\n            this.dynamicTagName = null;\n        }\n\n        ComponentTagBuilder.prototype.static = function _static(tagName) {\n            this.isStatic = true;\n            this.staticTagName = tagName;\n        };\n\n        ComponentTagBuilder.prototype.dynamic = function dynamic(tagName) {\n            this.isDynamic = true;\n            this.dynamicTagName = _glimmerRuntimeLibCompiledExpressionsFunction.default(tagName);\n        };\n\n        return ComponentTagBuilder;\n    })();\n\n    var ComponentAttrsBuilder = (function () {\n        function ComponentAttrsBuilder() {\n            this.buffer = [];\n        }\n\n        ComponentAttrsBuilder.prototype.static = function _static(name, value) {\n            this.buffer.push(new _glimmerRuntimeLibSyntaxCore.StaticAttr(name, value, null));\n        };\n\n        ComponentAttrsBuilder.prototype.dynamic = function dynamic(name, value) {\n            this.buffer.push(new _glimmerRuntimeLibSyntaxCore.DynamicAttr(name, _glimmerRuntimeLibCompiledExpressionsFunction.default(value), null, false));\n        };\n\n        return ComponentAttrsBuilder;\n    })();\n\n    var ComponentBuilder = (function () {\n        function ComponentBuilder(dsl) {\n            this.dsl = dsl;\n            this.env = dsl.env;\n        }\n\n        ComponentBuilder.prototype.static = function _static(definition, args, symbolTable) {\n            var shadow = arguments.length <= 3 || arguments[3] === undefined ? _glimmerRuntimeLibUtils.EMPTY_ARRAY : arguments[3];\n\n            this.dsl.unit(function (dsl) {\n                dsl.putComponentDefinition(definition);\n                dsl.openComponent(args, shadow);\n                dsl.closeComponent();\n            });\n        };\n\n        ComponentBuilder.prototype.dynamic = function dynamic(definitionArgs, definition, args, symbolTable) {\n            var shadow = arguments.length <= 4 || arguments[4] === undefined ? _glimmerRuntimeLibUtils.EMPTY_ARRAY : arguments[4];\n\n            this.dsl.unit(function (dsl) {\n                dsl.putArgs(definitionArgs);\n                dsl.putValue(_glimmerRuntimeLibCompiledExpressionsFunction.default(definition));\n                dsl.test('simple');\n                dsl.enter('BEGIN', 'END');\n                dsl.label('BEGIN');\n                dsl.jumpUnless('END');\n                dsl.putDynamicComponentDefinition();\n                dsl.openComponent(args, shadow);\n                dsl.closeComponent();\n                dsl.label('END');\n                dsl.exit();\n            });\n        };\n\n        return ComponentBuilder;\n    })();\n\n    var CompileIntoList = (function (_LinkedList) {\n        babelHelpers.inherits(CompileIntoList, _LinkedList);\n\n        function CompileIntoList(env, symbolTable) {\n            _LinkedList.call(this);\n            this.env = env;\n            this.symbolTable = symbolTable;\n            var dsl = new _glimmerRuntimeLibCompiledOpcodesBuilder.default(this, symbolTable, env);\n            this.component = new ComponentBuilder(dsl);\n        }\n\n        CompileIntoList.prototype.getLocalSymbol = function getLocalSymbol(name) {\n            return this.symbolTable.getLocal(name);\n        };\n\n        CompileIntoList.prototype.hasLocalSymbol = function hasLocalSymbol(name) {\n            return typeof this.symbolTable.getLocal(name) === 'number';\n        };\n\n        CompileIntoList.prototype.getNamedSymbol = function getNamedSymbol(name) {\n            return this.symbolTable.getNamed(name);\n        };\n\n        CompileIntoList.prototype.hasNamedSymbol = function hasNamedSymbol(name) {\n            return typeof this.symbolTable.getNamed(name) === 'number';\n        };\n\n        CompileIntoList.prototype.getBlockSymbol = function getBlockSymbol(name) {\n            return this.symbolTable.getYield(name);\n        };\n\n        CompileIntoList.prototype.hasBlockSymbol = function hasBlockSymbol(name) {\n            return typeof this.symbolTable.getYield(name) === 'number';\n        };\n\n        CompileIntoList.prototype.getPartialArgsSymbol = function getPartialArgsSymbol() {\n            return this.symbolTable.getPartialArgs();\n        };\n\n        CompileIntoList.prototype.hasPartialArgsSymbol = function hasPartialArgsSymbol() {\n            return typeof this.symbolTable.getPartialArgs() === 'number';\n        };\n\n        CompileIntoList.prototype.toOpSeq = function toOpSeq() {\n            return this;\n        };\n\n        return CompileIntoList;\n    })(_glimmerUtil.LinkedList);\n\n    exports.CompileIntoList = CompileIntoList;\n});\n\nenifed('glimmer-runtime/lib/component/interfaces', ['exports'], function (exports) {\n    'use strict';\n\n    exports.isComponentDefinition = isComponentDefinition;\n    var COMPONENT_DEFINITION_BRAND = 'COMPONENT DEFINITION [id=e59c754e-61eb-4392-8c4a-2c0ac72bfcd4]';\n\n    function isComponentDefinition(obj) {\n        return typeof obj === 'object' && obj && obj[COMPONENT_DEFINITION_BRAND];\n    }\n\n    var ComponentDefinition = function ComponentDefinition(name, manager, ComponentClass) {\n        this['COMPONENT DEFINITION [id=e59c754e-61eb-4392-8c4a-2c0ac72bfcd4]'] = true;\n        this.name = name;\n        this.manager = manager;\n        this.ComponentClass = ComponentClass;\n    };\n\n    exports.ComponentDefinition = ComponentDefinition;\n});\n\nenifed('glimmer-runtime/lib/dom/attribute-managers', ['exports', 'glimmer-runtime/lib/dom/sanitized-values', 'glimmer-runtime/lib/dom/props', 'glimmer-runtime/lib/dom/helper', 'glimmer-runtime/lib/compiled/opcodes/content'], function (exports, _glimmerRuntimeLibDomSanitizedValues, _glimmerRuntimeLibDomProps, _glimmerRuntimeLibDomHelper, _glimmerRuntimeLibCompiledOpcodesContent) {\n    'use strict';\n\n    exports.defaultManagers = defaultManagers;\n    exports.defaultPropertyManagers = defaultPropertyManagers;\n    exports.defaultAttributeManagers = defaultAttributeManagers;\n    exports.readDOMAttr = readDOMAttr;\n\n    function defaultManagers(element, attr, isTrusting, namespace) {\n        var tagName = element.tagName;\n        var isSVG = element.namespaceURI === _glimmerRuntimeLibDomHelper.SVG_NAMESPACE;\n        if (isSVG) {\n            return defaultAttributeManagers(tagName, attr);\n        }\n\n        var _normalizeProperty = _glimmerRuntimeLibDomProps.normalizeProperty(element, attr);\n\n        var type = _normalizeProperty.type;\n        var normalized = _normalizeProperty.normalized;\n\n        if (type === 'attr') {\n            return defaultAttributeManagers(tagName, normalized);\n        } else {\n            return defaultPropertyManagers(tagName, normalized);\n        }\n    }\n\n    function defaultPropertyManagers(tagName, attr) {\n        if (_glimmerRuntimeLibDomSanitizedValues.requiresSanitization(tagName, attr)) {\n            return new SafePropertyManager(attr);\n        }\n        if (isUserInputValue(tagName, attr)) {\n            return INPUT_VALUE_PROPERTY_MANAGER;\n        }\n        if (isOptionSelected(tagName, attr)) {\n            return OPTION_SELECTED_MANAGER;\n        }\n        return new PropertyManager(attr);\n    }\n\n    function defaultAttributeManagers(tagName, attr) {\n        if (_glimmerRuntimeLibDomSanitizedValues.requiresSanitization(tagName, attr)) {\n            return new SafeAttributeManager(attr);\n        }\n        return new AttributeManager(attr);\n    }\n\n    function readDOMAttr(element, attr) {\n        var isSVG = element.namespaceURI === _glimmerRuntimeLibDomHelper.SVG_NAMESPACE;\n\n        var _normalizeProperty2 = _glimmerRuntimeLibDomProps.normalizeProperty(element, attr);\n\n        var type = _normalizeProperty2.type;\n        var normalized = _normalizeProperty2.normalized;\n\n        if (isSVG) {\n            return element.getAttribute(normalized);\n        }\n        if (type === 'attr') {\n            return element.getAttribute(normalized);\n        }\n        {\n            return element[normalized];\n        }\n    }\n\n    ;\n\n    var AttributeManager = (function () {\n        function AttributeManager(attr) {\n            this.attr = attr;\n        }\n\n        AttributeManager.prototype.setAttribute = function setAttribute(env, element, value, namespace) {\n            var dom = env.getAppendOperations();\n            var normalizedValue = normalizeAttributeValue(value);\n            if (!isAttrRemovalValue(normalizedValue)) {\n                dom.setAttribute(element, this.attr, normalizedValue, namespace);\n            }\n        };\n\n        AttributeManager.prototype.updateAttribute = function updateAttribute(env, element, value, namespace) {\n            if (value === null || value === undefined || value === false) {\n                if (namespace) {\n                    env.getDOM().removeAttributeNS(element, namespace, this.attr);\n                } else {\n                    env.getDOM().removeAttribute(element, this.attr);\n                }\n            } else {\n                this.setAttribute(env, element, value);\n            }\n        };\n\n        return AttributeManager;\n    })();\n\n    exports.AttributeManager = AttributeManager;\n\n    ;\n\n    var PropertyManager = (function (_AttributeManager) {\n        babelHelpers.inherits(PropertyManager, _AttributeManager);\n\n        function PropertyManager() {\n            _AttributeManager.apply(this, arguments);\n        }\n\n        PropertyManager.prototype.setAttribute = function setAttribute(env, element, value, namespace) {\n            if (!isAttrRemovalValue(value)) {\n                element[this.attr] = value;\n            }\n        };\n\n        PropertyManager.prototype.removeAttribute = function removeAttribute(env, element, namespace) {\n            // TODO this sucks but to preserve properties first and to meet current\n            // semantics we must do this.\n            var attr = this.attr;\n\n            if (namespace) {\n                env.getDOM().removeAttributeNS(element, namespace, attr);\n            } else {\n                env.getDOM().removeAttribute(element, attr);\n            }\n        };\n\n        PropertyManager.prototype.updateAttribute = function updateAttribute(env, element, value, namespace) {\n            // ensure the property is always updated\n            element[this.attr] = value;\n            if (isAttrRemovalValue(value)) {\n                this.removeAttribute(env, element, namespace);\n            }\n        };\n\n        return PropertyManager;\n    })(AttributeManager);\n\n    exports.PropertyManager = PropertyManager;\n\n    ;\n    function normalizeAttributeValue(value) {\n        if (value === false || value === undefined || value === null) {\n            return null;\n        }\n        if (value === true) {\n            return '';\n        }\n        // onclick function etc in SSR\n        if (typeof value === 'function') {\n            return null;\n        }\n        return String(value);\n    }\n    function isAttrRemovalValue(value) {\n        return value === null || value === undefined;\n    }\n\n    var SafePropertyManager = (function (_PropertyManager) {\n        babelHelpers.inherits(SafePropertyManager, _PropertyManager);\n\n        function SafePropertyManager() {\n            _PropertyManager.apply(this, arguments);\n        }\n\n        SafePropertyManager.prototype.setAttribute = function setAttribute(env, element, value) {\n            _PropertyManager.prototype.setAttribute.call(this, env, element, _glimmerRuntimeLibDomSanitizedValues.sanitizeAttributeValue(env, element, this.attr, value));\n        };\n\n        SafePropertyManager.prototype.updateAttribute = function updateAttribute(env, element, value) {\n            _PropertyManager.prototype.updateAttribute.call(this, env, element, _glimmerRuntimeLibDomSanitizedValues.sanitizeAttributeValue(env, element, this.attr, value));\n        };\n\n        return SafePropertyManager;\n    })(PropertyManager);\n\n    function isUserInputValue(tagName, attribute) {\n        return (tagName === 'INPUT' || tagName === 'TEXTAREA') && attribute === 'value';\n    }\n\n    var InputValuePropertyManager = (function (_AttributeManager2) {\n        babelHelpers.inherits(InputValuePropertyManager, _AttributeManager2);\n\n        function InputValuePropertyManager() {\n            _AttributeManager2.apply(this, arguments);\n        }\n\n        InputValuePropertyManager.prototype.setAttribute = function setAttribute(env, element, value) {\n            var input = element;\n            input.value = _glimmerRuntimeLibCompiledOpcodesContent.normalizeTextValue(value);\n        };\n\n        InputValuePropertyManager.prototype.updateAttribute = function updateAttribute(env, element, value) {\n            var input = element;\n            var currentValue = input.value;\n            var normalizedValue = _glimmerRuntimeLibCompiledOpcodesContent.normalizeTextValue(value);\n            if (currentValue !== normalizedValue) {\n                input.value = normalizedValue;\n            }\n        };\n\n        return InputValuePropertyManager;\n    })(AttributeManager);\n\n    var INPUT_VALUE_PROPERTY_MANAGER = new InputValuePropertyManager('value');\n    exports.INPUT_VALUE_PROPERTY_MANAGER = INPUT_VALUE_PROPERTY_MANAGER;\n    function isOptionSelected(tagName, attribute) {\n        return tagName === 'OPTION' && attribute === 'selected';\n    }\n\n    var OptionSelectedManager = (function (_PropertyManager2) {\n        babelHelpers.inherits(OptionSelectedManager, _PropertyManager2);\n\n        function OptionSelectedManager() {\n            _PropertyManager2.apply(this, arguments);\n        }\n\n        OptionSelectedManager.prototype.setAttribute = function setAttribute(env, element, value) {\n            if (value !== null && value !== undefined && value !== false) {\n                var option = element;\n                option.selected = true;\n            }\n        };\n\n        OptionSelectedManager.prototype.updateAttribute = function updateAttribute(env, element, value) {\n            var option = element;\n            if (value) {\n                option.selected = true;\n            } else {\n                option.selected = false;\n            }\n        };\n\n        return OptionSelectedManager;\n    })(PropertyManager);\n\n    var OPTION_SELECTED_MANAGER = new OptionSelectedManager('selected');\n    exports.OPTION_SELECTED_MANAGER = OPTION_SELECTED_MANAGER;\n\n    var SafeAttributeManager = (function (_AttributeManager3) {\n        babelHelpers.inherits(SafeAttributeManager, _AttributeManager3);\n\n        function SafeAttributeManager() {\n            _AttributeManager3.apply(this, arguments);\n        }\n\n        SafeAttributeManager.prototype.setAttribute = function setAttribute(env, element, value) {\n            _AttributeManager3.prototype.setAttribute.call(this, env, element, _glimmerRuntimeLibDomSanitizedValues.sanitizeAttributeValue(env, element, this.attr, value));\n        };\n\n        SafeAttributeManager.prototype.updateAttribute = function updateAttribute(env, element, value, namespace) {\n            _AttributeManager3.prototype.updateAttribute.call(this, env, element, _glimmerRuntimeLibDomSanitizedValues.sanitizeAttributeValue(env, element, this.attr, value));\n        };\n\n        return SafeAttributeManager;\n    })(AttributeManager);\n});\n\nenifed('glimmer-runtime/lib/dom/helper', ['exports', 'glimmer-runtime/lib/bounds', 'glimmer-runtime/lib/compat/inner-html-fix', 'glimmer-runtime/lib/compat/svg-inner-html-fix', 'glimmer-runtime/lib/compat/text-node-merging-fix', 'glimmer-runtime/lib/dom/interfaces'], function (exports, _glimmerRuntimeLibBounds, _glimmerRuntimeLibCompatInnerHtmlFix, _glimmerRuntimeLibCompatSvgInnerHtmlFix, _glimmerRuntimeLibCompatTextNodeMergingFix, _glimmerRuntimeLibDomInterfaces) {\n    'use strict';\n\n    exports.isWhitespace = isWhitespace;\n    exports.moveNodesBefore = moveNodesBefore;\n    exports.insertHTMLBefore = _insertHTMLBefore;\n    var SVG_NAMESPACE = 'http://www.w3.org/2000/svg';\n    exports.SVG_NAMESPACE = SVG_NAMESPACE;\n    // http://www.w3.org/TR/html/syntax.html#html-integration-point\n    var SVG_INTEGRATION_POINTS = { foreignObject: 1, desc: 1, title: 1 };\n    // http://www.w3.org/TR/html/syntax.html#adjust-svg-attributes\n    // TODO: Adjust SVG attributes\n    // http://www.w3.org/TR/html/syntax.html#parsing-main-inforeign\n    // TODO: Adjust SVG elements\n    // http://www.w3.org/TR/html/syntax.html#parsing-main-inforeign\n    var BLACKLIST_TABLE = Object.create(null);\n    exports.BLACKLIST_TABLE = BLACKLIST_TABLE;\n    [\"b\", \"big\", \"blockquote\", \"body\", \"br\", \"center\", \"code\", \"dd\", \"div\", \"dl\", \"dt\", \"em\", \"embed\", \"h1\", \"h2\", \"h3\", \"h4\", \"h5\", \"h6\", \"head\", \"hr\", \"i\", \"img\", \"li\", \"listing\", \"main\", \"meta\", \"nobr\", \"ol\", \"p\", \"pre\", \"ruby\", \"s\", \"small\", \"span\", \"strong\", \"strike\", \"sub\", \"sup\", \"table\", \"tt\", \"u\", \"ul\", \"var\"].forEach(function (tag) {\n        return BLACKLIST_TABLE[tag] = 1;\n    });\n    var WHITESPACE = /[\\t-\\r \\xA0\\u1680\\u180E\\u2000-\\u200A\\u2028\\u2029\\u202F\\u205F\\u3000\\uFEFF]/;\n    var doc = typeof document === 'undefined' ? undefined : document;\n\n    function isWhitespace(string) {\n        return WHITESPACE.test(string);\n    }\n\n    function moveNodesBefore(source, target, nextSibling) {\n        var first = source.firstChild;\n        var last = null;\n        var current = first;\n        while (current) {\n            last = current;\n            current = current.nextSibling;\n            target.insertBefore(last, nextSibling);\n        }\n        return [first, last];\n    }\n\n    var DOM;\n    exports.DOM = DOM;\n    (function (DOM) {\n        var TreeConstruction = (function () {\n            function TreeConstruction(document) {\n                this.document = document;\n                this.uselessElement = null;\n                this.setupUselessElement();\n            }\n\n            TreeConstruction.prototype.setupUselessElement = function setupUselessElement() {\n                this.uselessElement = this.document.createElement('div');\n            };\n\n            TreeConstruction.prototype.createElement = function createElement(tag, context) {\n                var isElementInSVGNamespace = undefined,\n                    isHTMLIntegrationPoint = undefined;\n                if (context) {\n                    isElementInSVGNamespace = context.namespaceURI === SVG_NAMESPACE || tag === 'svg';\n                    isHTMLIntegrationPoint = SVG_INTEGRATION_POINTS[context.tagName];\n                } else {\n                    isElementInSVGNamespace = tag === 'svg';\n                    isHTMLIntegrationPoint = false;\n                }\n                if (isElementInSVGNamespace && !isHTMLIntegrationPoint) {\n                    // FIXME: This does not properly handle <font> with color, face, or\n                    // size attributes, which is also disallowed by the spec. We should fix\n                    // this.\n                    if (BLACKLIST_TABLE[tag]) {\n                        throw new Error('Cannot create a ' + tag + ' inside an SVG context');\n                    }\n                    return this.document.createElementNS(SVG_NAMESPACE, tag);\n                } else {\n                    return this.document.createElement(tag);\n                }\n            };\n\n            TreeConstruction.prototype.createElementNS = function createElementNS(namespace, tag) {\n                return this.document.createElementNS(namespace, tag);\n            };\n\n            TreeConstruction.prototype.setAttribute = function setAttribute(element, name, value, namespace) {\n                if (namespace) {\n                    element.setAttributeNS(namespace, name, value);\n                } else {\n                    element.setAttribute(name, value);\n                }\n            };\n\n            TreeConstruction.prototype.createTextNode = function createTextNode(text) {\n                return this.document.createTextNode(text);\n            };\n\n            TreeConstruction.prototype.createComment = function createComment(data) {\n                return this.document.createComment(data);\n            };\n\n            TreeConstruction.prototype.insertBefore = function insertBefore(parent, node, reference) {\n                parent.insertBefore(node, reference);\n            };\n\n            TreeConstruction.prototype.insertHTMLBefore = function insertHTMLBefore(parent, html, reference) {\n                return _insertHTMLBefore(this.uselessElement, parent, reference, html);\n            };\n\n            return TreeConstruction;\n        })();\n\n        DOM.TreeConstruction = TreeConstruction;\n        var appliedTreeContruction = TreeConstruction;\n        appliedTreeContruction = _glimmerRuntimeLibCompatTextNodeMergingFix.treeConstruction(doc, appliedTreeContruction);\n        appliedTreeContruction = _glimmerRuntimeLibCompatInnerHtmlFix.treeConstruction(doc, appliedTreeContruction);\n        appliedTreeContruction = _glimmerRuntimeLibCompatSvgInnerHtmlFix.treeConstruction(doc, appliedTreeContruction, SVG_NAMESPACE);\n        DOM.DOMTreeConstruction = appliedTreeContruction;\n    })(DOM || (exports.DOM = DOM = {}));\n\n    var DOMChanges = (function () {\n        function DOMChanges(document) {\n            this.document = document;\n            this.uselessElement = null;\n            this.namespace = null;\n            this.uselessElement = this.document.createElement('div');\n        }\n\n        DOMChanges.prototype.setAttribute = function setAttribute(element, name, value) {\n            element.setAttribute(name, value);\n        };\n\n        DOMChanges.prototype.setAttributeNS = function setAttributeNS(element, namespace, name, value) {\n            element.setAttributeNS(namespace, name, value);\n        };\n\n        DOMChanges.prototype.removeAttribute = function removeAttribute(element, name) {\n            element.removeAttribute(name);\n        };\n\n        DOMChanges.prototype.removeAttributeNS = function removeAttributeNS(element, namespace, name) {\n            element.removeAttributeNS(namespace, name);\n        };\n\n        DOMChanges.prototype.createTextNode = function createTextNode(text) {\n            return this.document.createTextNode(text);\n        };\n\n        DOMChanges.prototype.createComment = function createComment(data) {\n            return this.document.createComment(data);\n        };\n\n        DOMChanges.prototype.createElement = function createElement(tag, context) {\n            var isElementInSVGNamespace = undefined,\n                isHTMLIntegrationPoint = undefined;\n            if (context) {\n                isElementInSVGNamespace = context.namespaceURI === SVG_NAMESPACE || tag === 'svg';\n                isHTMLIntegrationPoint = SVG_INTEGRATION_POINTS[context.tagName];\n            } else {\n                isElementInSVGNamespace = tag === 'svg';\n                isHTMLIntegrationPoint = false;\n            }\n            if (isElementInSVGNamespace && !isHTMLIntegrationPoint) {\n                // FIXME: This does not properly handle <font> with color, face, or\n                // size attributes, which is also disallowed by the spec. We should fix\n                // this.\n                if (BLACKLIST_TABLE[tag]) {\n                    throw new Error('Cannot create a ' + tag + ' inside an SVG context');\n                }\n                return this.document.createElementNS(SVG_NAMESPACE, tag);\n            } else {\n                return this.document.createElement(tag);\n            }\n        };\n\n        DOMChanges.prototype.insertHTMLBefore = function insertHTMLBefore(_parent, nextSibling, html) {\n            return _insertHTMLBefore(this.uselessElement, _parent, nextSibling, html);\n        };\n\n        DOMChanges.prototype.insertNodeBefore = function insertNodeBefore(parent, node, reference) {\n            if (isDocumentFragment(node)) {\n                var firstChild = node.firstChild;\n                var lastChild = node.lastChild;\n\n                this.insertBefore(parent, node, reference);\n                return new _glimmerRuntimeLibBounds.ConcreteBounds(parent, firstChild, lastChild);\n            } else {\n                this.insertBefore(parent, node, reference);\n                return new _glimmerRuntimeLibBounds.SingleNodeBounds(parent, node);\n            }\n        };\n\n        DOMChanges.prototype.insertTextBefore = function insertTextBefore(parent, nextSibling, text) {\n            var textNode = this.createTextNode(text);\n            this.insertBefore(parent, textNode, nextSibling);\n            return textNode;\n        };\n\n        DOMChanges.prototype.insertBefore = function insertBefore(element, node, reference) {\n            element.insertBefore(node, reference);\n        };\n\n        DOMChanges.prototype.insertAfter = function insertAfter(element, node, reference) {\n            this.insertBefore(element, node, reference.nextSibling);\n        };\n\n        return DOMChanges;\n    })();\n\n    exports.DOMChanges = DOMChanges;\n\n    function _insertHTMLBefore(_useless, _parent, _nextSibling, html) {\n        // 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.\n        var parent = _parent;\n        var useless = _useless;\n        var nextSibling = _nextSibling;\n        var prev = nextSibling ? nextSibling.previousSibling : parent.lastChild;\n        var last = undefined;\n        if (html === null || html === '') {\n            return new _glimmerRuntimeLibBounds.ConcreteBounds(parent, null, null);\n        }\n        if (nextSibling === null) {\n            parent.insertAdjacentHTML('beforeEnd', html);\n            last = parent.lastChild;\n        } else if (nextSibling instanceof HTMLElement) {\n            nextSibling.insertAdjacentHTML('beforeBegin', html);\n            last = nextSibling.previousSibling;\n        } else {\n            // Non-element nodes do not support insertAdjacentHTML, so add an\n            // element and call it on that element. Then remove the element.\n            //\n            // This also protects Edge, IE and Firefox w/o the inspector open\n            // from merging adjacent text nodes. See ./compat/text-node-merging-fix.ts\n            parent.insertBefore(useless, nextSibling);\n            useless.insertAdjacentHTML('beforeBegin', html);\n            last = useless.previousSibling;\n            parent.removeChild(useless);\n        }\n        var first = prev ? prev.nextSibling : parent.firstChild;\n        return new _glimmerRuntimeLibBounds.ConcreteBounds(parent, first, last);\n    }\n\n    function isDocumentFragment(node) {\n        return node.nodeType === Node.DOCUMENT_FRAGMENT_NODE;\n    }\n    var helper = DOMChanges;\n    helper = _glimmerRuntimeLibCompatTextNodeMergingFix.domChanges(doc, helper);\n    helper = _glimmerRuntimeLibCompatInnerHtmlFix.domChanges(doc, helper);\n    helper = _glimmerRuntimeLibCompatSvgInnerHtmlFix.domChanges(doc, helper, SVG_NAMESPACE);\n    exports.default = helper;\n    var DOMTreeConstruction = DOM.DOMTreeConstruction;\n    exports.DOMTreeConstruction = DOMTreeConstruction;\n    exports.DOMNamespace = _glimmerRuntimeLibDomInterfaces.Namespace;\n});\n\nenifed(\"glimmer-runtime/lib/dom/interfaces\", [\"exports\"], function (exports) {\n    \"use strict\";\n\n    var NodeType;\n    exports.NodeType = NodeType;\n    (function (NodeType) {\n        NodeType[NodeType[\"Element\"] = 0] = \"Element\";\n        NodeType[NodeType[\"Attribute\"] = 1] = \"Attribute\";\n        NodeType[NodeType[\"Text\"] = 2] = \"Text\";\n        NodeType[NodeType[\"CdataSection\"] = 3] = \"CdataSection\";\n        NodeType[NodeType[\"EntityReference\"] = 4] = \"EntityReference\";\n        NodeType[NodeType[\"Entity\"] = 5] = \"Entity\";\n        NodeType[NodeType[\"ProcessingInstruction\"] = 6] = \"ProcessingInstruction\";\n        NodeType[NodeType[\"Comment\"] = 7] = \"Comment\";\n        NodeType[NodeType[\"Document\"] = 8] = \"Document\";\n        NodeType[NodeType[\"DocumentType\"] = 9] = \"DocumentType\";\n        NodeType[NodeType[\"DocumentFragment\"] = 10] = \"DocumentFragment\";\n        NodeType[NodeType[\"Notation\"] = 11] = \"Notation\";\n    })(NodeType || (exports.NodeType = NodeType = {}));\n});\n\nenifed('glimmer-runtime/lib/dom/props', ['exports'], function (exports) {\n    /*\n     * @method normalizeProperty\n     * @param element {HTMLElement}\n     * @param slotName {String}\n     * @returns {Object} { name, type }\n     */\n    'use strict';\n\n    exports.normalizeProperty = normalizeProperty;\n    exports.normalizePropertyValue = normalizePropertyValue;\n\n    function normalizeProperty(element, slotName) {\n        var type = undefined,\n            normalized = undefined;\n        if (slotName in element) {\n            normalized = slotName;\n            type = 'prop';\n        } else {\n            var lower = slotName.toLowerCase();\n            if (lower in element) {\n                type = 'prop';\n                normalized = lower;\n            } else {\n                type = 'attr';\n                normalized = slotName;\n            }\n        }\n        if (type === 'prop' && (normalized.toLowerCase() === 'style' || preferAttr(element.tagName, normalized))) {\n            type = 'attr';\n        }\n        return { normalized: normalized, type: type };\n    }\n\n    function normalizePropertyValue(value) {\n        if (value === '') {\n            return true;\n        }\n        return value;\n    }\n\n    // properties that MUST be set as attributes, due to:\n    // * browser bug\n    // * strange spec outlier\n    var ATTR_OVERRIDES = {\n        // phantomjs < 2.0 lets you set it as a prop but won't reflect it\n        // back to the attribute. button.getAttribute('type') === null\n        BUTTON: { type: true, form: true },\n        INPUT: {\n            // Some version of IE (like IE9) actually throw an exception\n            // if you set input.type = 'something-unknown'\n            type: true,\n            form: true,\n            // Chrome 46.0.2464.0: 'autocorrect' in document.createElement('input') === false\n            // Safari 8.0.7: 'autocorrect' in document.createElement('input') === false\n            // Mobile Safari (iOS 8.4 simulator): 'autocorrect' in document.createElement('input') === true\n            autocorrect: true,\n            // Chrome 54.0.2840.98: 'list' in document.createElement('input') === true\n            // Safari 9.1.3: 'list' in document.createElement('input') === false\n            list: true\n        },\n        // element.form is actually a legitimate readOnly property, that is to be\n        // mutated, but must be mutated by setAttribute...\n        SELECT: { form: true },\n        OPTION: { form: true },\n        TEXTAREA: { form: true },\n        LABEL: { form: true },\n        FIELDSET: { form: true },\n        LEGEND: { form: true },\n        OBJECT: { form: true }\n    };\n    function preferAttr(tagName, propName) {\n        var tag = ATTR_OVERRIDES[tagName.toUpperCase()];\n        return tag && tag[propName.toLowerCase()] || false;\n    }\n});\n\nenifed('glimmer-runtime/lib/dom/sanitized-values', ['exports', 'glimmer-runtime/lib/compiled/opcodes/content', 'glimmer-runtime/lib/upsert'], function (exports, _glimmerRuntimeLibCompiledOpcodesContent, _glimmerRuntimeLibUpsert) {\n    'use strict';\n\n    exports.requiresSanitization = requiresSanitization;\n    exports.sanitizeAttributeValue = sanitizeAttributeValue;\n\n    var badProtocols = ['javascript:', 'vbscript:'];\n    var badTags = ['A', 'BODY', 'LINK', 'IMG', 'IFRAME', 'BASE', 'FORM'];\n    var badTagsForDataURI = ['EMBED'];\n    var badAttributes = ['href', 'src', 'background', 'action'];\n    var badAttributesForDataURI = ['src'];\n    function has(array, item) {\n        return array.indexOf(item) !== -1;\n    }\n    function checkURI(tagName, attribute) {\n        return (tagName === null || has(badTags, tagName)) && has(badAttributes, attribute);\n    }\n    function checkDataURI(tagName, attribute) {\n        return has(badTagsForDataURI, tagName) && has(badAttributesForDataURI, attribute);\n    }\n\n    function requiresSanitization(tagName, attribute) {\n        return checkURI(tagName, attribute) || checkDataURI(tagName, attribute);\n    }\n\n    function sanitizeAttributeValue(env, element, attribute, value) {\n        var tagName = undefined;\n        if (value === null || value === undefined) {\n            return value;\n        }\n        if (_glimmerRuntimeLibUpsert.isSafeString(value)) {\n            return value.toHTML();\n        }\n        if (!element) {\n            tagName = null;\n        } else {\n            tagName = element.tagName.toUpperCase();\n        }\n        var str = _glimmerRuntimeLibCompiledOpcodesContent.normalizeTextValue(value);\n        if (checkURI(tagName, attribute)) {\n            var protocol = env.protocolForURL(str);\n            if (has(badProtocols, protocol)) {\n                return 'unsafe:' + str;\n            }\n        }\n        if (checkDataURI(tagName, attribute)) {\n            return 'unsafe:' + str;\n        }\n        return str;\n    }\n});\n\nenifed('glimmer-runtime/lib/environment', ['exports', 'glimmer-runtime/lib/references', 'glimmer-runtime/lib/dom/attribute-managers', 'glimmer-util', 'glimmer-runtime/lib/syntax/core', 'glimmer-runtime/lib/syntax/builtins/if', 'glimmer-runtime/lib/syntax/builtins/unless', 'glimmer-runtime/lib/syntax/builtins/with', 'glimmer-runtime/lib/syntax/builtins/each'], function (exports, _glimmerRuntimeLibReferences, _glimmerRuntimeLibDomAttributeManagers, _glimmerUtil, _glimmerRuntimeLibSyntaxCore, _glimmerRuntimeLibSyntaxBuiltinsIf, _glimmerRuntimeLibSyntaxBuiltinsUnless, _glimmerRuntimeLibSyntaxBuiltinsWith, _glimmerRuntimeLibSyntaxBuiltinsEach) {\n    'use strict';\n\n    var Scope = (function () {\n        function Scope(references) {\n            var callerScope = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1];\n\n            this.callerScope = null;\n            this.slots = references;\n            this.callerScope = callerScope;\n        }\n\n        Scope.root = function root(self) {\n            var size = arguments.length <= 1 || arguments[1] === undefined ? 0 : arguments[1];\n\n            var refs = new Array(size + 1);\n            for (var i = 0; i <= size; i++) {\n                refs[i] = _glimmerRuntimeLibReferences.UNDEFINED_REFERENCE;\n            }\n            return new Scope(refs).init({ self: self });\n        };\n\n        Scope.prototype.init = function init(_ref) {\n            var self = _ref.self;\n\n            this.slots[0] = self;\n            return this;\n        };\n\n        Scope.prototype.getSelf = function getSelf() {\n            return this.slots[0];\n        };\n\n        Scope.prototype.getSymbol = function getSymbol(symbol) {\n            return this.slots[symbol];\n        };\n\n        Scope.prototype.getBlock = function getBlock(symbol) {\n            return this.slots[symbol];\n        };\n\n        Scope.prototype.getPartialArgs = function getPartialArgs(symbol) {\n            return this.slots[symbol];\n        };\n\n        Scope.prototype.bindSymbol = function bindSymbol(symbol, value) {\n            this.slots[symbol] = value;\n        };\n\n        Scope.prototype.bindBlock = function bindBlock(symbol, value) {\n            this.slots[symbol] = value;\n        };\n\n        Scope.prototype.bindPartialArgs = function bindPartialArgs(symbol, value) {\n            this.slots[symbol] = value;\n        };\n\n        Scope.prototype.bindCallerScope = function bindCallerScope(scope) {\n            this.callerScope = scope;\n        };\n\n        Scope.prototype.getCallerScope = function getCallerScope() {\n            return this.callerScope;\n        };\n\n        Scope.prototype.child = function child() {\n            return new Scope(this.slots.slice(), this.callerScope);\n        };\n\n        return Scope;\n    })();\n\n    exports.Scope = Scope;\n\n    var Environment = (function () {\n        function Environment(_ref2) {\n            var appendOperations = _ref2.appendOperations;\n            var updateOperations = _ref2.updateOperations;\n\n            this.scheduledInstallManagers = null;\n            this.scheduledInstallModifiers = null;\n            this.scheduledUpdateModifierManagers = null;\n            this.scheduledUpdateModifiers = null;\n            this.createdComponents = null;\n            this.createdManagers = null;\n            this.updatedComponents = null;\n            this.updatedManagers = null;\n            this.destructors = null;\n            this.appendOperations = appendOperations;\n            this.updateOperations = updateOperations;\n        }\n\n        Environment.prototype.toConditionalReference = function toConditionalReference(reference) {\n            return new _glimmerRuntimeLibReferences.ConditionalReference(reference);\n        };\n\n        Environment.prototype.getAppendOperations = function getAppendOperations() {\n            return this.appendOperations;\n        };\n\n        Environment.prototype.getDOM = function getDOM() {\n            return this.updateOperations;\n        };\n\n        Environment.prototype.getIdentity = function getIdentity(object) {\n            return _glimmerUtil.ensureGuid(object) + '';\n        };\n\n        Environment.prototype.statement = function statement(_statement, symbolTable) {\n            return this.refineStatement(parseStatement(_statement), symbolTable) || _statement;\n        };\n\n        Environment.prototype.refineStatement = function refineStatement(statement, symbolTable) {\n            var isSimple = statement.isSimple;\n            var isBlock = statement.isBlock;\n            var key = statement.key;\n            var args = statement.args;\n\n            if (isSimple && isBlock) {\n                switch (key) {\n                    case 'each':\n                        return new _glimmerRuntimeLibSyntaxBuiltinsEach.default(args);\n                    case 'if':\n                        return new _glimmerRuntimeLibSyntaxBuiltinsIf.default(args);\n                    case 'with':\n                        return new _glimmerRuntimeLibSyntaxBuiltinsWith.default(args);\n                    case 'unless':\n                        return new _glimmerRuntimeLibSyntaxBuiltinsUnless.default(args);\n                }\n            }\n        };\n\n        Environment.prototype.begin = function begin() {\n            this.createdComponents = [];\n            this.createdManagers = [];\n            this.updatedComponents = [];\n            this.updatedManagers = [];\n            this.destructors = [];\n            this.scheduledInstallManagers = [];\n            this.scheduledInstallModifiers = [];\n            this.scheduledUpdateModifierManagers = [];\n            this.scheduledUpdateModifiers = [];\n        };\n\n        Environment.prototype.didCreate = function didCreate(component, manager) {\n            this.createdComponents.push(component);\n            this.createdManagers.push(manager);\n        };\n\n        Environment.prototype.didUpdate = function didUpdate(component, manager) {\n            this.updatedComponents.push(component);\n            this.updatedManagers.push(manager);\n        };\n\n        Environment.prototype.scheduleInstallModifier = function scheduleInstallModifier(modifier, manager) {\n            this.scheduledInstallManagers.push(manager);\n            this.scheduledInstallModifiers.push(modifier);\n        };\n\n        Environment.prototype.scheduleUpdateModifier = function scheduleUpdateModifier(modifier, manager) {\n            this.scheduledUpdateModifierManagers.push(manager);\n            this.scheduledUpdateModifiers.push(modifier);\n        };\n\n        Environment.prototype.didDestroy = function didDestroy(d) {\n            this.destructors.push(d);\n        };\n\n        Environment.prototype.commit = function commit() {\n            for (var i = 0; i < this.createdComponents.length; i++) {\n                var component = this.createdComponents[i];\n                var manager = this.createdManagers[i];\n                manager.didCreate(component);\n            }\n            for (var i = 0; i < this.updatedComponents.length; i++) {\n                var component = this.updatedComponents[i];\n                var manager = this.updatedManagers[i];\n                manager.didUpdate(component);\n            }\n            for (var i = 0; i < this.destructors.length; i++) {\n                this.destructors[i].destroy();\n            }\n            for (var i = 0; i < this.scheduledInstallManagers.length; i++) {\n                var manager = this.scheduledInstallManagers[i];\n                var modifier = this.scheduledInstallModifiers[i];\n                manager.install(modifier);\n            }\n            for (var i = 0; i < this.scheduledUpdateModifierManagers.length; i++) {\n                var manager = this.scheduledUpdateModifierManagers[i];\n                var modifier = this.scheduledUpdateModifiers[i];\n                manager.update(modifier);\n            }\n            this.createdComponents = null;\n            this.createdManagers = null;\n            this.updatedComponents = null;\n            this.updatedManagers = null;\n            this.destructors = null;\n            this.scheduledInstallManagers = null;\n            this.scheduledInstallModifiers = null;\n            this.scheduledUpdateModifierManagers = null;\n            this.scheduledUpdateModifiers = null;\n        };\n\n        Environment.prototype.attributeFor = function attributeFor(element, attr, isTrusting, namespace) {\n            return _glimmerRuntimeLibDomAttributeManagers.defaultManagers(element, attr, isTrusting, namespace);\n        };\n\n        return Environment;\n    })();\n\n    exports.Environment = Environment;\n    exports.default = Environment;\n\n    function parseStatement(statement) {\n        var type = statement.type;\n        var block = type === 'block' ? statement : null;\n        var append = type === 'optimized-append' ? statement : null;\n        var modifier = type === 'modifier' ? statement : null;\n        var appendType = append && append.value.type;\n        var args = undefined;\n        var path = undefined;\n        if (block) {\n            args = block.args;\n            path = block.path;\n        } else if (append && (appendType === 'unknown' || appendType === 'get')) {\n            var appendValue = append.value;\n            args = _glimmerRuntimeLibSyntaxCore.Args.empty();\n            path = appendValue.ref.parts;\n        } else if (append && append.value.type === 'helper') {\n            var helper = append.value;\n            args = helper.args;\n            path = helper.ref.parts;\n        } else if (modifier) {\n            path = modifier.path;\n            args = modifier.args;\n        }\n        var key = undefined,\n            isSimple = undefined;\n        if (path) {\n            isSimple = path.length === 1;\n            key = path[0];\n        }\n        return {\n            isSimple: isSimple,\n            path: path,\n            key: key,\n            args: args,\n            appendType: appendType,\n            original: statement,\n            isInline: !!append,\n            isBlock: !!block,\n            isModifier: !!modifier\n        };\n    }\n});\n\nenifed('glimmer-runtime/lib/helpers/get-dynamic-var', ['exports', 'glimmer-reference'], function (exports, _glimmerReference) {\n    'use strict';\n\n    var DynamicVarReference = (function () {\n        function DynamicVarReference(scope, nameRef) {\n            this.scope = scope;\n            this.nameRef = nameRef;\n            var varTag = this.varTag = new _glimmerReference.UpdatableTag(_glimmerReference.CONSTANT_TAG);\n            this.tag = _glimmerReference.combine([nameRef.tag, varTag]);\n        }\n\n        DynamicVarReference.prototype.value = function value() {\n            return this.getVar().value();\n        };\n\n        DynamicVarReference.prototype.get = function get(key) {\n            return this.getVar().get(key);\n        };\n\n        DynamicVarReference.prototype.getVar = function getVar() {\n            var name = String(this.nameRef.value());\n            var ref = this.scope.get(name);\n            this.varTag.update(ref.tag);\n            return ref;\n        };\n\n        return DynamicVarReference;\n    })();\n\n    function getDynamicVar(vm, args, symbolTable) {\n        var scope = vm.dynamicScope();\n        var nameRef = args.positional.at(0);\n        return new DynamicVarReference(scope, nameRef);\n    }\n    exports.default = getDynamicVar;\n});\n\nenifed(\"glimmer-runtime/lib/modifier/interfaces\", [\"exports\"], function (exports) {\n  \"use strict\";\n});\n\nenifed(\"glimmer-runtime/lib/opcode-builder\", [\"exports\"], function (exports) {\n  \"use strict\";\n});\n\nenifed('glimmer-runtime/lib/opcodes', ['exports', 'glimmer-util'], function (exports, _glimmerUtil) {\n    'use strict';\n\n    exports.inspect = inspect;\n\n    var AbstractOpcode = (function () {\n        function AbstractOpcode() {\n            _glimmerUtil.initializeGuid(this);\n        }\n\n        AbstractOpcode.prototype.toJSON = function toJSON() {\n            return { guid: this._guid, type: this.type };\n        };\n\n        return AbstractOpcode;\n    })();\n\n    exports.AbstractOpcode = AbstractOpcode;\n\n    var Opcode = (function (_AbstractOpcode) {\n        babelHelpers.inherits(Opcode, _AbstractOpcode);\n\n        function Opcode() {\n            _AbstractOpcode.apply(this, arguments);\n            this.next = null;\n            this.prev = null;\n        }\n\n        return Opcode;\n    })(AbstractOpcode);\n\n    exports.Opcode = Opcode;\n\n    var UpdatingOpcode = (function (_AbstractOpcode2) {\n        babelHelpers.inherits(UpdatingOpcode, _AbstractOpcode2);\n\n        function UpdatingOpcode() {\n            _AbstractOpcode2.apply(this, arguments);\n            this.next = null;\n            this.prev = null;\n        }\n\n        return UpdatingOpcode;\n    })(AbstractOpcode);\n\n    exports.UpdatingOpcode = UpdatingOpcode;\n\n    function inspect(opcodes) {\n        var buffer = [];\n        opcodes.toArray().forEach(function (opcode, i) {\n            _inspect(opcode.toJSON(), buffer, 0, i);\n        });\n        return buffer.join('');\n    }\n\n    function _inspect(opcode, buffer, level, index) {\n        var indentation = [];\n        for (var i = 0; i < level; i++) {\n            indentation.push('  ');\n        }\n        buffer.push.apply(buffer, indentation);\n        buffer.push(index + 1 + '. ' + opcode.type.toUpperCase());\n        if (opcode.args || opcode.details) {\n            buffer.push('(');\n            if (opcode.args) {\n                buffer.push(opcode.args.join(', '));\n            }\n            if (opcode.details) {\n                var keys = Object.keys(opcode.details);\n                if (keys.length) {\n                    if (opcode.args && opcode.args.length) {\n                        buffer.push(', ');\n                    }\n                    buffer.push(keys.map(function (key) {\n                        return key + '=' + opcode.details[key];\n                    }).join(', '));\n                }\n            }\n            buffer.push(')');\n        }\n        buffer.push('\\n');\n        if (opcode.children && opcode.children.length) {\n            for (var i = 0; i < opcode.children.length; i++) {\n                _inspect(opcode.children[i], buffer, level + 1, i);\n            }\n        }\n    }\n});\n\nenifed(\"glimmer-runtime/lib/partial\", [\"exports\"], function (exports) {\n    \"use strict\";\n\n    var PartialDefinition = function PartialDefinition(name, template) {\n        this.name = name;\n        this.template = template;\n    };\n\n    exports.PartialDefinition = PartialDefinition;\n});\n\nenifed('glimmer-runtime/lib/references', ['exports', 'glimmer-reference'], function (exports, _glimmerReference) {\n    'use strict';\n\n    var PrimitiveReference = (function (_ConstReference) {\n        babelHelpers.inherits(PrimitiveReference, _ConstReference);\n\n        function PrimitiveReference(value) {\n            _ConstReference.call(this, value);\n        }\n\n        PrimitiveReference.create = function create(value) {\n            if (value === undefined) {\n                return UNDEFINED_REFERENCE;\n            } else if (value === null) {\n                return NULL_REFERENCE;\n            } else if (value === true) {\n                return TRUE_REFERENCE;\n            } else if (value === false) {\n                return FALSE_REFERENCE;\n            } else if (typeof value === 'number') {\n                return new ValueReference(value);\n            } else {\n                return new StringReference(value);\n            }\n        };\n\n        PrimitiveReference.prototype.get = function get(key) {\n            return UNDEFINED_REFERENCE;\n        };\n\n        return PrimitiveReference;\n    })(_glimmerReference.ConstReference);\n\n    exports.PrimitiveReference = PrimitiveReference;\n\n    var StringReference = (function (_PrimitiveReference) {\n        babelHelpers.inherits(StringReference, _PrimitiveReference);\n\n        function StringReference() {\n            _PrimitiveReference.apply(this, arguments);\n            this.lengthReference = null;\n        }\n\n        StringReference.prototype.get = function get(key) {\n            if (key === 'length') {\n                var lengthReference = this.lengthReference;\n\n                if (lengthReference === null) {\n                    lengthReference = this.lengthReference = new ValueReference(this.inner.length);\n                }\n                return lengthReference;\n            } else {\n                return _PrimitiveReference.prototype.get.call(this, key);\n            }\n        };\n\n        return StringReference;\n    })(PrimitiveReference);\n\n    var ValueReference = (function (_PrimitiveReference2) {\n        babelHelpers.inherits(ValueReference, _PrimitiveReference2);\n\n        function ValueReference(value) {\n            _PrimitiveReference2.call(this, value);\n        }\n\n        return ValueReference;\n    })(PrimitiveReference);\n\n    var UNDEFINED_REFERENCE = new ValueReference(undefined);\n    exports.UNDEFINED_REFERENCE = UNDEFINED_REFERENCE;\n    var NULL_REFERENCE = new ValueReference(null);\n    exports.NULL_REFERENCE = NULL_REFERENCE;\n    var TRUE_REFERENCE = new ValueReference(true);\n    var FALSE_REFERENCE = new ValueReference(false);\n\n    var ConditionalReference = (function () {\n        function ConditionalReference(inner) {\n            this.inner = inner;\n            this.tag = inner.tag;\n        }\n\n        ConditionalReference.prototype.value = function value() {\n            return this.toBool(this.inner.value());\n        };\n\n        ConditionalReference.prototype.toBool = function toBool(value) {\n            return !!value;\n        };\n\n        return ConditionalReference;\n    })();\n\n    exports.ConditionalReference = ConditionalReference;\n});\n\nenifed('glimmer-runtime/lib/scanner', ['exports', 'glimmer-runtime/lib/syntax/statements', 'glimmer-runtime/lib/compiled/blocks', 'glimmer-util', 'glimmer-runtime/lib/symbol-table'], function (exports, _glimmerRuntimeLibSyntaxStatements, _glimmerRuntimeLibCompiledBlocks, _glimmerUtil, _glimmerRuntimeLibSymbolTable) {\n    'use strict';\n\n    var Scanner = (function () {\n        function Scanner(block, meta, env) {\n            this.block = block;\n            this.meta = meta;\n            this.env = env;\n        }\n\n        Scanner.prototype.scanEntryPoint = function scanEntryPoint() {\n            var block = this.block;\n            var meta = this.meta;\n\n            var symbolTable = _glimmerRuntimeLibSymbolTable.default.forEntryPoint(meta);\n            var program = buildStatements(block, block.blocks, symbolTable, this.env);\n            return new _glimmerRuntimeLibCompiledBlocks.EntryPoint(program, symbolTable);\n        };\n\n        Scanner.prototype.scanLayout = function scanLayout() {\n            var block = this.block;\n            var meta = this.meta;\n            var blocks = block.blocks;\n            var named = block.named;\n            var yields = block.yields;\n            var hasPartials = block.hasPartials;\n\n            var symbolTable = _glimmerRuntimeLibSymbolTable.default.forLayout(named, yields, hasPartials, meta);\n            var program = buildStatements(block, blocks, symbolTable, this.env);\n            return new _glimmerRuntimeLibCompiledBlocks.Layout(program, symbolTable, named, yields, hasPartials);\n        };\n\n        Scanner.prototype.scanPartial = function scanPartial(symbolTable) {\n            var block = this.block;\n            var blocks = block.blocks;\n            var locals = block.locals;\n\n            var program = buildStatements(block, blocks, symbolTable, this.env);\n            return new _glimmerRuntimeLibCompiledBlocks.PartialBlock(program, symbolTable, locals);\n        };\n\n        return Scanner;\n    })();\n\n    exports.default = Scanner;\n\n    function buildStatements(_ref, blocks, symbolTable, env) {\n        var statements = _ref.statements;\n\n        if (statements.length === 0) return EMPTY_PROGRAM;\n        return new BlockScanner(statements, blocks, symbolTable, env).scan();\n    }\n    var EMPTY_PROGRAM = _glimmerUtil.EMPTY_SLICE;\n\n    var BlockScanner = (function () {\n        function BlockScanner(statements, blocks, symbolTable, env) {\n            this.blocks = blocks;\n            this.symbolTable = symbolTable;\n            this.stack = new _glimmerUtil.Stack();\n            this.stack.push(new ChildBlockScanner(symbolTable));\n            this.reader = new SyntaxReader(statements, symbolTable, this);\n            this.env = env;\n        }\n\n        BlockScanner.prototype.scan = function scan() {\n            var statement = undefined;\n            while (statement = this.reader.next()) {\n                this.addStatement(statement);\n            }\n            return this.stack.current.program;\n        };\n\n        BlockScanner.prototype.blockFor = function blockFor(symbolTable, id) {\n            var block = this.blocks[id];\n            var childTable = _glimmerRuntimeLibSymbolTable.default.forBlock(this.symbolTable, block.locals);\n            var program = buildStatements(block, this.blocks, childTable, this.env);\n            return new _glimmerRuntimeLibCompiledBlocks.InlineBlock(program, childTable, block.locals);\n        };\n\n        BlockScanner.prototype.startBlock = function startBlock(locals) {\n            var childTable = _glimmerRuntimeLibSymbolTable.default.forBlock(this.symbolTable, locals);\n            this.stack.push(new ChildBlockScanner(childTable));\n        };\n\n        BlockScanner.prototype.endBlock = function endBlock(locals) {\n            var _stack$pop = this.stack.pop();\n\n            var program = _stack$pop.program;\n            var symbolTable = _stack$pop.symbolTable;\n\n            var block = new _glimmerRuntimeLibCompiledBlocks.InlineBlock(program, symbolTable, locals);\n            this.addChild(block);\n            return block;\n        };\n\n        BlockScanner.prototype.addChild = function addChild(block) {\n            this.stack.current.addChild(block);\n        };\n\n        BlockScanner.prototype.addStatement = function addStatement(statement) {\n            this.stack.current.addStatement(statement.scan(this));\n        };\n\n        BlockScanner.prototype.next = function next() {\n            return this.reader.next();\n        };\n\n        return BlockScanner;\n    })();\n\n    exports.BlockScanner = BlockScanner;\n\n    var ChildBlockScanner = (function () {\n        function ChildBlockScanner(symbolTable) {\n            this.symbolTable = symbolTable;\n            this.children = [];\n            this.program = new _glimmerUtil.LinkedList();\n        }\n\n        ChildBlockScanner.prototype.addChild = function addChild(block) {\n            this.children.push(block);\n        };\n\n        ChildBlockScanner.prototype.addStatement = function addStatement(statement) {\n            this.program.append(statement);\n        };\n\n        return ChildBlockScanner;\n    })();\n\n    var SyntaxReader = (function () {\n        function SyntaxReader(statements, symbolTable, scanner) {\n            this.statements = statements;\n            this.symbolTable = symbolTable;\n            this.scanner = scanner;\n            this.current = 0;\n            this.last = null;\n        }\n\n        SyntaxReader.prototype.next = function next() {\n            var last = this.last;\n            if (last) {\n                this.last = null;\n                return last;\n            } else if (this.current === this.statements.length) {\n                return null;\n            }\n            var sexp = this.statements[this.current++];\n            return _glimmerRuntimeLibSyntaxStatements.default(sexp, this.symbolTable, this.scanner);\n        };\n\n        return SyntaxReader;\n    })();\n});\n\nenifed('glimmer-runtime/lib/symbol-table', ['exports', 'glimmer-util'], function (exports, _glimmerUtil) {\n    'use strict';\n\n    var SymbolTable = (function () {\n        function SymbolTable(parent) {\n            var meta = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1];\n\n            this.parent = parent;\n            this.meta = meta;\n            this.locals = _glimmerUtil.dict();\n            this.named = _glimmerUtil.dict();\n            this.yields = _glimmerUtil.dict();\n            this.partialArgs = null;\n            this.size = 1;\n            this.top = parent ? parent.top : this;\n        }\n\n        SymbolTable.forEntryPoint = function forEntryPoint(meta) {\n            return new SymbolTable(null, meta).initEntryPoint();\n        };\n\n        SymbolTable.forLayout = function forLayout(named, yields, hasPartials, meta) {\n            return new SymbolTable(null, meta).initLayout(named, yields, hasPartials);\n        };\n\n        SymbolTable.forBlock = function forBlock(parent, locals) {\n            return new SymbolTable(parent, null).initBlock(locals);\n        };\n\n        SymbolTable.prototype.initEntryPoint = function initEntryPoint() {\n            return this;\n        };\n\n        SymbolTable.prototype.initBlock = function initBlock(locals) {\n            this.initPositionals(locals);\n            return this;\n        };\n\n        SymbolTable.prototype.initLayout = function initLayout(named, yields, hasPartials) {\n            this.initNamed(named);\n            this.initYields(yields);\n            this.initPartials(hasPartials);\n            return this;\n        };\n\n        SymbolTable.prototype.initPositionals = function initPositionals(positionals) {\n            var _this = this;\n\n            if (positionals) positionals.forEach(function (s) {\n                return _this.locals[s] = _this.top.size++;\n            });\n            return this;\n        };\n\n        SymbolTable.prototype.initNamed = function initNamed(named) {\n            var _this2 = this;\n\n            if (named) named.forEach(function (s) {\n                return _this2.named[s] = _this2.top.size++;\n            });\n            return this;\n        };\n\n        SymbolTable.prototype.initYields = function initYields(yields) {\n            var _this3 = this;\n\n            if (yields) yields.forEach(function (b) {\n                return _this3.yields[b] = _this3.top.size++;\n            });\n            return this;\n        };\n\n        SymbolTable.prototype.initPartials = function initPartials(hasPartials) {\n            if (hasPartials) this.top.partialArgs = this.top.size++;\n            return this;\n        };\n\n        SymbolTable.prototype.getMeta = function getMeta() {\n            var meta = this.meta;\n            var parent = this.parent;\n\n            if (!meta && parent) {\n                meta = parent.getMeta();\n            }\n            return meta;\n        };\n\n        SymbolTable.prototype.getYield = function getYield(name) {\n            var yields = this.yields;\n            var parent = this.parent;\n\n            var symbol = yields[name];\n            if (!symbol && parent) {\n                symbol = parent.getYield(name);\n            }\n            return symbol;\n        };\n\n        SymbolTable.prototype.getNamed = function getNamed(name) {\n            var named = this.named;\n            var parent = this.parent;\n\n            var symbol = named[name];\n            if (!symbol && parent) {\n                symbol = parent.getNamed(name);\n            }\n            return symbol;\n        };\n\n        SymbolTable.prototype.getLocal = function getLocal(name) {\n            var locals = this.locals;\n            var parent = this.parent;\n\n            var symbol = locals[name];\n            if (!symbol && parent) {\n                symbol = parent.getLocal(name);\n            }\n            return symbol;\n        };\n\n        SymbolTable.prototype.getPartialArgs = function getPartialArgs() {\n            return this.top.partialArgs;\n        };\n\n        SymbolTable.prototype.isTop = function isTop() {\n            return this.top === this;\n        };\n\n        return SymbolTable;\n    })();\n\n    exports.default = SymbolTable;\n});\n\nenifed(\"glimmer-runtime/lib/syntax\", [\"exports\"], function (exports) {\n    \"use strict\";\n\n    exports.isAttribute = isAttribute;\n\n    var Statement = (function () {\n        function Statement() {\n            this.next = null;\n            this.prev = null;\n        }\n\n        Statement.fromSpec = function fromSpec(spec, symbolTable, scanner) {\n            throw new Error(\"You need to implement fromSpec on \" + this);\n        };\n\n        Statement.prototype.clone = function clone() {\n            // not type safe but the alternative is extreme boilerplate per\n            // syntax subclass.\n            return new this.constructor(this);\n        };\n\n        Statement.prototype.scan = function scan(scanner) {\n            return this;\n        };\n\n        return Statement;\n    })();\n\n    exports.Statement = Statement;\n\n    var Expression = (function () {\n        function Expression() {}\n\n        Expression.fromSpec = function fromSpec(spec, blocks) {\n            throw new Error(\"You need to implement fromSpec on \" + this);\n        };\n\n        return Expression;\n    })();\n\n    exports.Expression = Expression;\n    var ATTRIBUTE = \"e1185d30-7cac-4b12-b26a-35327d905d92\";\n    exports.ATTRIBUTE = ATTRIBUTE;\n    var ARGUMENT = \"0f3802314-d747-bbc5-0168-97875185c3rt\";\n    exports.ARGUMENT = ARGUMENT;\n\n    var Attribute = (function (_Statement) {\n        babelHelpers.inherits(Attribute, _Statement);\n\n        function Attribute() {\n            _Statement.apply(this, arguments);\n            this[\"e1185d30-7cac-4b12-b26a-35327d905d92\"] = true;\n        }\n\n        return Attribute;\n    })(Statement);\n\n    exports.Attribute = Attribute;\n\n    var Argument = (function (_Statement2) {\n        babelHelpers.inherits(Argument, _Statement2);\n\n        function Argument() {\n            _Statement2.apply(this, arguments);\n            this[\"0f3802314-d747-bbc5-0168-97875185c3rt\"] = true;\n        }\n\n        return Argument;\n    })(Statement);\n\n    exports.Argument = Argument;\n\n    function isAttribute(value) {\n        return value && value[ATTRIBUTE] === true;\n    }\n});\n\nenifed('glimmer-runtime/lib/syntax/builtins/each', ['exports', 'glimmer-runtime/lib/syntax'], function (exports, _glimmerRuntimeLibSyntax) {\n    'use strict';\n\n    var EachSyntax = (function (_StatementSyntax) {\n        babelHelpers.inherits(EachSyntax, _StatementSyntax);\n\n        function EachSyntax(args) {\n            _StatementSyntax.call(this);\n            this.args = args;\n            this.type = \"each-statement\";\n        }\n\n        EachSyntax.prototype.compile = function compile(dsl, env) {\n            //         Enter(BEGIN, END)\n            // BEGIN:  Noop\n            //         PutArgs\n            //         PutIterable\n            //         JumpUnless(ELSE)\n            //         EnterList(BEGIN2, END2)\n            // ITER:   Noop\n            //         NextIter(BREAK)\n            //         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\n            var args = this.args;\n            var blocks = this.args.blocks;\n\n            dsl.block(args, function (dsl, BEGIN, END) {\n                dsl.putIterator();\n                if (blocks.inverse) {\n                    dsl.jumpUnless('ELSE');\n                } else {\n                    dsl.jumpUnless(END);\n                }\n                dsl.iter(function (dsl, BEGIN, END) {\n                    dsl.evaluate('default', blocks.default);\n                });\n                if (blocks.inverse) {\n                    dsl.jump(END);\n                    dsl.label('ELSE');\n                    dsl.evaluate('inverse', blocks.inverse);\n                }\n            });\n        };\n\n        return EachSyntax;\n    })(_glimmerRuntimeLibSyntax.Statement);\n\n    exports.default = EachSyntax;\n});\n\nenifed('glimmer-runtime/lib/syntax/builtins/if', ['exports', 'glimmer-runtime/lib/syntax'], function (exports, _glimmerRuntimeLibSyntax) {\n    'use strict';\n\n    var IfSyntax = (function (_StatementSyntax) {\n        babelHelpers.inherits(IfSyntax, _StatementSyntax);\n\n        function IfSyntax(args) {\n            _StatementSyntax.call(this);\n            this.args = args;\n            this.type = \"if-statement\";\n        }\n\n        IfSyntax.prototype.compile = function compile(dsl) {\n            //        PutArgs\n            //        Test(Environment)\n            //        Enter(BEGIN, END)\n            // BEGIN: Noop\n            //        JumpUnless(ELSE)\n            //        Evaluate(default)\n            //        Jump(END)\n            // ELSE:  Noop\n            //        Evalulate(inverse)\n            // END:   Noop\n            //        Exit\n            var args = this.args;\n            var blocks = this.args.blocks;\n\n            dsl.putArgs(args);\n            dsl.test('environment');\n            dsl.block(null, function (dsl, BEGIN, END) {\n                if (blocks.inverse) {\n                    dsl.jumpUnless('ELSE');\n                    dsl.evaluate('default', blocks.default);\n                    dsl.jump(END);\n                    dsl.label('ELSE');\n                    dsl.evaluate('inverse', blocks.inverse);\n                } else {\n                    dsl.jumpUnless(END);\n                    dsl.evaluate('default', blocks.default);\n                }\n            });\n        };\n\n        return IfSyntax;\n    })(_glimmerRuntimeLibSyntax.Statement);\n\n    exports.default = IfSyntax;\n});\n\nenifed('glimmer-runtime/lib/syntax/builtins/in-element', ['exports', 'glimmer-runtime/lib/syntax'], function (exports, _glimmerRuntimeLibSyntax) {\n    'use strict';\n\n    var InElementSyntax = (function (_StatementSyntax) {\n        babelHelpers.inherits(InElementSyntax, _StatementSyntax);\n\n        function InElementSyntax(args) {\n            _StatementSyntax.call(this);\n            this.args = args;\n            this.type = \"in-element-statement\";\n        }\n\n        InElementSyntax.prototype.compile = function compile(dsl, env) {\n            var args = this.args;\n            var blocks = this.args.blocks;\n\n            dsl.putArgs(args);\n            dsl.test('simple');\n            dsl.block(null, function (dsl, BEGIN, END) {\n                dsl.jumpUnless(END);\n                dsl.pushRemoteElement();\n                dsl.evaluate('default', blocks.default);\n                dsl.popRemoteElement();\n            });\n        };\n\n        return InElementSyntax;\n    })(_glimmerRuntimeLibSyntax.Statement);\n\n    exports.default = InElementSyntax;\n});\n\nenifed(\"glimmer-runtime/lib/syntax/builtins/partial\", [\"exports\", \"glimmer-runtime/lib/syntax\"], function (exports, _glimmerRuntimeLibSyntax) {\n    \"use strict\";\n\n    var StaticPartialSyntax = (function (_StatementSyntax) {\n        babelHelpers.inherits(StaticPartialSyntax, _StatementSyntax);\n\n        function StaticPartialSyntax(name) {\n            _StatementSyntax.call(this);\n            this.name = name;\n            this.type = \"static-partial\";\n        }\n\n        StaticPartialSyntax.prototype.compile = function compile(dsl, env, symbolTable) {\n            var name = String(this.name.inner());\n            if (!env.hasPartial(name, symbolTable)) {\n                throw new Error(\"Compile Error: \" + name + \" is not a partial\");\n            }\n            var definition = env.lookupPartial(name, symbolTable);\n            dsl.putPartialDefinition(definition);\n            dsl.evaluatePartial();\n        };\n\n        return StaticPartialSyntax;\n    })(_glimmerRuntimeLibSyntax.Statement);\n\n    exports.StaticPartialSyntax = StaticPartialSyntax;\n\n    var DynamicPartialSyntax = (function (_StatementSyntax2) {\n        babelHelpers.inherits(DynamicPartialSyntax, _StatementSyntax2);\n\n        function DynamicPartialSyntax(name) {\n            _StatementSyntax2.call(this);\n            this.name = name;\n            this.type = \"dynamic-partial\";\n        }\n\n        DynamicPartialSyntax.prototype.compile = function compile(dsl) {\n            var name = this.name;\n\n            dsl.startLabels();\n            dsl.putValue(name);\n            dsl.test('simple');\n            dsl.enter('BEGIN', 'END');\n            dsl.label('BEGIN');\n            dsl.jumpUnless('END');\n            dsl.putDynamicPartialDefinition();\n            dsl.evaluatePartial();\n            dsl.label('END');\n            dsl.exit();\n            dsl.stopLabels();\n        };\n\n        return DynamicPartialSyntax;\n    })(_glimmerRuntimeLibSyntax.Statement);\n\n    exports.DynamicPartialSyntax = DynamicPartialSyntax;\n});\n\nenifed('glimmer-runtime/lib/syntax/builtins/unless', ['exports', 'glimmer-runtime/lib/syntax'], function (exports, _glimmerRuntimeLibSyntax) {\n    'use strict';\n\n    var UnlessSyntax = (function (_StatementSyntax) {\n        babelHelpers.inherits(UnlessSyntax, _StatementSyntax);\n\n        function UnlessSyntax(args) {\n            _StatementSyntax.call(this);\n            this.args = args;\n            this.type = \"unless-statement\";\n        }\n\n        UnlessSyntax.prototype.compile = function compile(dsl, env) {\n            //        PutArgs\n            //        Enter(BEGIN, END)\n            // BEGIN: Noop\n            //        Test(Environment)\n            //        JumpIf(ELSE)\n            //        Evaluate(default)\n            //        Jump(END)\n            // ELSE:  Noop\n            //        Evalulate(inverse)\n            // END:   Noop\n            //        Exit\n            var args = this.args;\n            var blocks = this.args.blocks;\n\n            dsl.putArgs(args);\n            dsl.test('environment');\n            dsl.block(null, function (dsl) {\n                if (blocks.inverse) {\n                    dsl.jumpIf('ELSE');\n                    dsl.evaluate('default', blocks.default);\n                    dsl.jump('END');\n                    dsl.label('ELSE');\n                    dsl.evaluate('inverse', blocks.inverse);\n                } else {\n                    dsl.jumpIf('END');\n                    dsl.evaluate('default', blocks.default);\n                }\n            });\n        };\n\n        return UnlessSyntax;\n    })(_glimmerRuntimeLibSyntax.Statement);\n\n    exports.default = UnlessSyntax;\n});\n\nenifed('glimmer-runtime/lib/syntax/builtins/with-dynamic-vars', ['exports', 'glimmer-runtime/lib/syntax'], function (exports, _glimmerRuntimeLibSyntax) {\n    'use strict';\n\n    var WithDynamicVarsSyntax = (function (_StatementSyntax) {\n        babelHelpers.inherits(WithDynamicVarsSyntax, _StatementSyntax);\n\n        function WithDynamicVarsSyntax(args) {\n            _StatementSyntax.call(this);\n            this.args = args;\n            this.type = \"with-dynamic-vars-statement\";\n        }\n\n        WithDynamicVarsSyntax.prototype.compile = function compile(dsl, env) {\n            var args = this.args;\n            var blocks = this.args.blocks;\n\n            dsl.unit(function (dsl) {\n                dsl.putArgs(args);\n                dsl.pushDynamicScope();\n                dsl.bindDynamicScope(args.named.keys);\n                dsl.evaluate('default', blocks.default);\n                dsl.popDynamicScope();\n            });\n        };\n\n        return WithDynamicVarsSyntax;\n    })(_glimmerRuntimeLibSyntax.Statement);\n\n    exports.default = WithDynamicVarsSyntax;\n});\n\nenifed('glimmer-runtime/lib/syntax/builtins/with', ['exports', 'glimmer-runtime/lib/syntax'], function (exports, _glimmerRuntimeLibSyntax) {\n    'use strict';\n\n    var WithSyntax = (function (_StatementSyntax) {\n        babelHelpers.inherits(WithSyntax, _StatementSyntax);\n\n        function WithSyntax(args) {\n            _StatementSyntax.call(this);\n            this.args = args;\n            this.type = \"with-statement\";\n        }\n\n        WithSyntax.prototype.compile = function compile(dsl, env) {\n            //        PutArgs\n            //        Test(Environment)\n            //        Enter(BEGIN, END)\n            // BEGIN: Noop\n            //        JumpUnless(ELSE)\n            //        Evaluate(default)\n            //        Jump(END)\n            // ELSE:  Noop\n            //        Evaluate(inverse)\n            // END:   Noop\n            //        Exit\n            var args = this.args;\n            var blocks = this.args.blocks;\n\n            dsl.putArgs(args);\n            dsl.test('environment');\n            dsl.block(null, function (dsl, BEGIN, END) {\n                if (blocks.inverse) {\n                    dsl.jumpUnless('ELSE');\n                    dsl.evaluate('default', blocks.default);\n                    dsl.jump(END);\n                    dsl.label('ELSE');\n                    dsl.evaluate('inverse', blocks.inverse);\n                } else {\n                    dsl.jumpUnless(END);\n                    dsl.evaluate('default', blocks.default);\n                }\n            });\n        };\n\n        return WithSyntax;\n    })(_glimmerRuntimeLibSyntax.Statement);\n\n    exports.default = WithSyntax;\n});\n\nenifed('glimmer-runtime/lib/syntax/core', ['exports', 'glimmer-runtime/lib/syntax', 'glimmer-runtime/lib/syntax/builtins/partial', 'glimmer-runtime/lib/opcodes', 'glimmer-runtime/lib/compiled/opcodes/vm', 'glimmer-runtime/lib/compiled/opcodes/component', 'glimmer-runtime/lib/compiled/opcodes/dom', 'glimmer-runtime/lib/syntax/expressions', 'glimmer-runtime/lib/compiled/expressions/args', 'glimmer-runtime/lib/compiled/expressions/value', 'glimmer-runtime/lib/compiled/expressions/lookups', 'glimmer-runtime/lib/compiled/expressions/has-block', 'glimmer-runtime/lib/compiled/expressions/helper', 'glimmer-runtime/lib/compiled/expressions/concat', 'glimmer-runtime/lib/utils', 'glimmer-runtime/lib/compiled/opcodes/content'], function (exports, _glimmerRuntimeLibSyntax, _glimmerRuntimeLibSyntaxBuiltinsPartial, _glimmerRuntimeLibOpcodes, _glimmerRuntimeLibCompiledOpcodesVm, _glimmerRuntimeLibCompiledOpcodesComponent, _glimmerRuntimeLibCompiledOpcodesDom, _glimmerRuntimeLibSyntaxExpressions, _glimmerRuntimeLibCompiledExpressionsArgs, _glimmerRuntimeLibCompiledExpressionsValue, _glimmerRuntimeLibCompiledExpressionsLookups, _glimmerRuntimeLibCompiledExpressionsHasBlock, _glimmerRuntimeLibCompiledExpressionsHelper, _glimmerRuntimeLibCompiledExpressionsConcat, _glimmerRuntimeLibUtils, _glimmerRuntimeLibCompiledOpcodesContent) {\n    'use strict';\n\n    var Block = (function (_StatementSyntax) {\n        babelHelpers.inherits(Block, _StatementSyntax);\n\n        function Block(path, args) {\n            _StatementSyntax.call(this);\n            this.path = path;\n            this.args = args;\n            this.type = \"block\";\n        }\n\n        Block.fromSpec = function fromSpec(sexp, symbolTable, scanner) {\n            var path = sexp[1];\n            var params = sexp[2];\n            var hash = sexp[3];\n            var templateId = sexp[4];\n            var inverseId = sexp[5];\n\n            var template = scanner.blockFor(symbolTable, templateId);\n            var inverse = typeof inverseId === 'number' ? scanner.blockFor(symbolTable, inverseId) : null;\n            var blocks = Blocks.fromSpec(template, inverse);\n            return new Block(path, Args.fromSpec(params, hash, blocks));\n        };\n\n        Block.build = function build(path, args) {\n            return new this(path, args);\n        };\n\n        Block.prototype.scan = function scan(scanner) {\n            var _args$blocks = this.args.blocks;\n            var _default = _args$blocks.default;\n            var inverse = _args$blocks.inverse;\n\n            if (_default) scanner.addChild(_default);\n            if (inverse) scanner.addChild(inverse);\n            return this;\n        };\n\n        Block.prototype.compile = function compile(ops) {\n            throw new Error(\"SyntaxError\");\n        };\n\n        return Block;\n    })(_glimmerRuntimeLibSyntax.Statement);\n\n    exports.Block = Block;\n\n    var Append = (function (_StatementSyntax2) {\n        babelHelpers.inherits(Append, _StatementSyntax2);\n\n        function Append(_ref) {\n            var value = _ref.value;\n            var trustingMorph = _ref.trustingMorph;\n\n            _StatementSyntax2.call(this);\n            this.value = value;\n            this.trustingMorph = trustingMorph;\n        }\n\n        Append.fromSpec = function fromSpec(sexp) {\n            var value = sexp[1];\n            var trustingMorph = sexp[2];\n\n            return new OptimizedAppend({ value: _glimmerRuntimeLibSyntaxExpressions.default(value), trustingMorph: trustingMorph });\n        };\n\n        return Append;\n    })(_glimmerRuntimeLibSyntax.Statement);\n\n    exports.Append = Append;\n\n    var OptimizedAppend = (function (_Append) {\n        babelHelpers.inherits(OptimizedAppend, _Append);\n\n        function OptimizedAppend() {\n            _Append.apply(this, arguments);\n            this.type = \"optimized-append\";\n        }\n\n        OptimizedAppend.prototype.deopt = function deopt() {\n            return new UnoptimizedAppend(this);\n        };\n\n        OptimizedAppend.prototype.compile = function compile(compiler, env, symbolTable) {\n            compiler.append(new _glimmerRuntimeLibCompiledOpcodesVm.PutValueOpcode(this.value.compile(compiler, env, symbolTable)));\n            if (this.trustingMorph) {\n                compiler.append(new _glimmerRuntimeLibCompiledOpcodesContent.OptimizedTrustingAppendOpcode());\n            } else {\n                compiler.append(new _glimmerRuntimeLibCompiledOpcodesContent.OptimizedCautiousAppendOpcode());\n            }\n        };\n\n        return OptimizedAppend;\n    })(Append);\n\n    exports.OptimizedAppend = OptimizedAppend;\n\n    var UnoptimizedAppend = (function (_Append2) {\n        babelHelpers.inherits(UnoptimizedAppend, _Append2);\n\n        function UnoptimizedAppend() {\n            _Append2.apply(this, arguments);\n            this.type = \"unoptimized-append\";\n        }\n\n        UnoptimizedAppend.prototype.compile = function compile(compiler, env, symbolTable) {\n            var expression = this.value.compile(compiler, env, symbolTable);\n            if (this.trustingMorph) {\n                compiler.append(new _glimmerRuntimeLibCompiledOpcodesContent.GuardedTrustingAppendOpcode(expression, symbolTable));\n            } else {\n                compiler.append(new _glimmerRuntimeLibCompiledOpcodesContent.GuardedCautiousAppendOpcode(expression, symbolTable));\n            }\n        };\n\n        return UnoptimizedAppend;\n    })(Append);\n\n    exports.UnoptimizedAppend = UnoptimizedAppend;\n\n    var MODIFIER_SYNTAX = \"c0420397-8ff1-4241-882b-4b7a107c9632\";\n\n    var Modifier = (function (_StatementSyntax3) {\n        babelHelpers.inherits(Modifier, _StatementSyntax3);\n\n        function Modifier(options) {\n            _StatementSyntax3.call(this);\n            this[\"c0420397-8ff1-4241-882b-4b7a107c9632\"] = true;\n            this.type = \"modifier\";\n            this.path = options.path;\n            this.args = options.args;\n        }\n\n        Modifier.fromSpec = function fromSpec(node) {\n            var path = node[1];\n            var params = node[2];\n            var hash = node[3];\n\n            return new Modifier({\n                path: path,\n                args: Args.fromSpec(params, hash, EMPTY_BLOCKS)\n            });\n        };\n\n        Modifier.build = function build(path, options) {\n            return new Modifier({\n                path: path,\n                params: options.params,\n                hash: options.hash\n            });\n        };\n\n        Modifier.prototype.compile = function compile(compiler, env, symbolTable) {\n            var args = this.args.compile(compiler, env, symbolTable);\n            if (env.hasModifier(this.path, symbolTable)) {\n                compiler.append(new _glimmerRuntimeLibCompiledOpcodesDom.ModifierOpcode(this.path[0], env.lookupModifier(this.path, symbolTable), args));\n            } else {\n                throw new Error('Compile Error: ' + this.path.join('.') + ' is not a modifier');\n            }\n        };\n\n        return Modifier;\n    })(_glimmerRuntimeLibSyntax.Statement);\n\n    exports.Modifier = Modifier;\n\n    var StaticArg = (function (_ArgumentSyntax) {\n        babelHelpers.inherits(StaticArg, _ArgumentSyntax);\n\n        function StaticArg(name, value) {\n            _ArgumentSyntax.call(this);\n            this.name = name;\n            this.value = value;\n            this.type = \"static-arg\";\n        }\n\n        StaticArg.fromSpec = function fromSpec(node) {\n            var name = node[1];\n            var value = node[2];\n\n            return new StaticArg(name, value);\n        };\n\n        StaticArg.build = function build(name, value) {\n            var namespace = arguments.length <= 2 || arguments[2] === undefined ? null : arguments[2];\n\n            return new this(name, value);\n        };\n\n        StaticArg.prototype.compile = function compile() {\n            throw new Error('Cannot compiler StaticArg \"' + this.name + '\" as it is a delegate for ValueSyntax<string>.');\n        };\n\n        StaticArg.prototype.valueSyntax = function valueSyntax() {\n            return Value.build(this.value);\n        };\n\n        return StaticArg;\n    })(_glimmerRuntimeLibSyntax.Argument);\n\n    exports.StaticArg = StaticArg;\n\n    var DynamicArg = (function (_ArgumentSyntax2) {\n        babelHelpers.inherits(DynamicArg, _ArgumentSyntax2);\n\n        function DynamicArg(name, value) {\n            var namespace = arguments.length <= 2 || arguments[2] === undefined ? null : arguments[2];\n\n            _ArgumentSyntax2.call(this);\n            this.name = name;\n            this.value = value;\n            this.namespace = namespace;\n            this.type = 'dynamic-arg';\n        }\n\n        DynamicArg.fromSpec = function fromSpec(sexp) {\n            var name = sexp[1];\n            var value = sexp[2];\n\n            return new DynamicArg(name, _glimmerRuntimeLibSyntaxExpressions.default(value));\n        };\n\n        DynamicArg.build = function build(name, value) {\n            return new this(name, value);\n        };\n\n        DynamicArg.prototype.compile = function compile() {\n            throw new Error('Cannot compile DynamicArg for \"' + this.name + '\" as it is delegate for ExpressionSyntax<Opaque>.');\n        };\n\n        DynamicArg.prototype.valueSyntax = function valueSyntax() {\n            return this.value;\n        };\n\n        return DynamicArg;\n    })(_glimmerRuntimeLibSyntax.Argument);\n\n    exports.DynamicArg = DynamicArg;\n\n    var TrustingAttr = (function () {\n        function TrustingAttr() {}\n\n        TrustingAttr.fromSpec = function fromSpec(sexp) {\n            var name = sexp[1];\n            var value = sexp[2];\n            var namespace = sexp[3];\n\n            return new DynamicAttr(name, _glimmerRuntimeLibSyntaxExpressions.default(value), namespace, true);\n        };\n\n        TrustingAttr.build = function build(name, value, isTrusting) {\n            var namespace = arguments.length <= 3 || arguments[3] === undefined ? null : arguments[3];\n\n            return new DynamicAttr(name, value, namespace, isTrusting);\n        };\n\n        TrustingAttr.prototype.compile = function compile() {\n            throw new Error('Attempting to compile a TrustingAttr which is just a delegate for DynamicAttr.');\n        };\n\n        return TrustingAttr;\n    })();\n\n    exports.TrustingAttr = TrustingAttr;\n\n    var StaticAttr = (function (_AttributeSyntax) {\n        babelHelpers.inherits(StaticAttr, _AttributeSyntax);\n\n        function StaticAttr(name, value, namespace) {\n            _AttributeSyntax.call(this);\n            this.name = name;\n            this.value = value;\n            this.namespace = namespace;\n            this[\"e1185d30-7cac-4b12-b26a-35327d905d92\"] = true;\n            this.type = \"static-attr\";\n            this.isTrusting = false;\n        }\n\n        StaticAttr.fromSpec = function fromSpec(node) {\n            var name = node[1];\n            var value = node[2];\n            var namespace = node[3];\n\n            return new StaticAttr(name, value, namespace);\n        };\n\n        StaticAttr.build = function build(name, value) {\n            var namespace = arguments.length <= 2 || arguments[2] === undefined ? null : arguments[2];\n\n            return new this(name, value, namespace);\n        };\n\n        StaticAttr.prototype.compile = function compile(compiler) {\n            compiler.append(new _glimmerRuntimeLibCompiledOpcodesDom.StaticAttrOpcode(this.namespace, this.name, this.value));\n        };\n\n        StaticAttr.prototype.valueSyntax = function valueSyntax() {\n            return Value.build(this.value);\n        };\n\n        return StaticAttr;\n    })(_glimmerRuntimeLibSyntax.Attribute);\n\n    exports.StaticAttr = StaticAttr;\n\n    var DynamicAttr = (function (_AttributeSyntax2) {\n        babelHelpers.inherits(DynamicAttr, _AttributeSyntax2);\n\n        function DynamicAttr(name, value, namespace, isTrusting) {\n            if (namespace === undefined) namespace = undefined;\n\n            _AttributeSyntax2.call(this);\n            this.name = name;\n            this.value = value;\n            this.namespace = namespace;\n            this.isTrusting = isTrusting;\n            this[\"e1185d30-7cac-4b12-b26a-35327d905d92\"] = true;\n            this.type = \"dynamic-attr\";\n        }\n\n        DynamicAttr.fromSpec = function fromSpec(sexp) {\n            var name = sexp[1];\n            var value = sexp[2];\n            var namespace = sexp[3];\n\n            return new DynamicAttr(name, _glimmerRuntimeLibSyntaxExpressions.default(value), namespace);\n        };\n\n        DynamicAttr.build = function build(name, value) {\n            var isTrusting = arguments.length <= 2 || arguments[2] === undefined ? false : arguments[2];\n            var namespace = arguments.length <= 3 || arguments[3] === undefined ? null : arguments[3];\n\n            return new this(name, value, namespace, isTrusting);\n        };\n\n        DynamicAttr.prototype.compile = function compile(compiler, env, symbolTable) {\n            var namespace = this.namespace;\n            var value = this.value;\n\n            compiler.append(new _glimmerRuntimeLibCompiledOpcodesVm.PutValueOpcode(value.compile(compiler, env, symbolTable)));\n            if (namespace) {\n                compiler.append(new _glimmerRuntimeLibCompiledOpcodesDom.DynamicAttrNSOpcode(this.name, this.namespace, this.isTrusting));\n            } else {\n                compiler.append(new _glimmerRuntimeLibCompiledOpcodesDom.DynamicAttrOpcode(this.name, this.isTrusting));\n            }\n        };\n\n        DynamicAttr.prototype.valueSyntax = function valueSyntax() {\n            return this.value;\n        };\n\n        return DynamicAttr;\n    })(_glimmerRuntimeLibSyntax.Attribute);\n\n    exports.DynamicAttr = DynamicAttr;\n\n    var FlushElement = (function (_StatementSyntax4) {\n        babelHelpers.inherits(FlushElement, _StatementSyntax4);\n\n        function FlushElement() {\n            _StatementSyntax4.apply(this, arguments);\n            this.type = \"flush-element\";\n        }\n\n        FlushElement.fromSpec = function fromSpec() {\n            return new FlushElement();\n        };\n\n        FlushElement.build = function build() {\n            return new this();\n        };\n\n        FlushElement.prototype.compile = function compile(compiler) {\n            compiler.append(new _glimmerRuntimeLibCompiledOpcodesDom.FlushElementOpcode());\n        };\n\n        return FlushElement;\n    })(_glimmerRuntimeLibSyntax.Statement);\n\n    exports.FlushElement = FlushElement;\n\n    var CloseElement = (function (_StatementSyntax5) {\n        babelHelpers.inherits(CloseElement, _StatementSyntax5);\n\n        function CloseElement() {\n            _StatementSyntax5.apply(this, arguments);\n            this.type = \"close-element\";\n        }\n\n        CloseElement.fromSpec = function fromSpec() {\n            return new CloseElement();\n        };\n\n        CloseElement.build = function build() {\n            return new this();\n        };\n\n        CloseElement.prototype.compile = function compile(compiler) {\n            compiler.append(new _glimmerRuntimeLibCompiledOpcodesDom.CloseElementOpcode());\n        };\n\n        return CloseElement;\n    })(_glimmerRuntimeLibSyntax.Statement);\n\n    exports.CloseElement = CloseElement;\n\n    var Text = (function (_StatementSyntax6) {\n        babelHelpers.inherits(Text, _StatementSyntax6);\n\n        function Text(content) {\n            _StatementSyntax6.call(this);\n            this.content = content;\n            this.type = \"text\";\n        }\n\n        Text.fromSpec = function fromSpec(node) {\n            var content = node[1];\n\n            return new Text(content);\n        };\n\n        Text.build = function build(content) {\n            return new this(content);\n        };\n\n        Text.prototype.compile = function compile(dsl) {\n            dsl.text(this.content);\n        };\n\n        return Text;\n    })(_glimmerRuntimeLibSyntax.Statement);\n\n    exports.Text = Text;\n\n    var Comment = (function (_StatementSyntax7) {\n        babelHelpers.inherits(Comment, _StatementSyntax7);\n\n        function Comment(comment) {\n            _StatementSyntax7.call(this);\n            this.comment = comment;\n            this.type = \"comment\";\n        }\n\n        Comment.fromSpec = function fromSpec(sexp) {\n            var value = sexp[1];\n\n            return new Comment(value);\n        };\n\n        Comment.build = function build(value) {\n            return new this(value);\n        };\n\n        Comment.prototype.compile = function compile(dsl) {\n            dsl.comment(this.comment);\n        };\n\n        return Comment;\n    })(_glimmerRuntimeLibSyntax.Statement);\n\n    exports.Comment = Comment;\n\n    var OpenElement = (function (_StatementSyntax8) {\n        babelHelpers.inherits(OpenElement, _StatementSyntax8);\n\n        function OpenElement(tag, blockParams, symbolTable) {\n            _StatementSyntax8.call(this);\n            this.tag = tag;\n            this.blockParams = blockParams;\n            this.symbolTable = symbolTable;\n            this.type = \"open-element\";\n        }\n\n        OpenElement.fromSpec = function fromSpec(sexp, symbolTable) {\n            var tag = sexp[1];\n            var blockParams = sexp[2];\n\n            return new OpenElement(tag, blockParams, symbolTable);\n        };\n\n        OpenElement.build = function build(tag, blockParams, symbolTable) {\n            return new this(tag, blockParams, symbolTable);\n        };\n\n        OpenElement.prototype.scan = function scan(scanner) {\n            var tag = this.tag;\n\n            if (scanner.env.hasComponentDefinition([tag], this.symbolTable)) {\n                var _parameters = this.parameters(scanner);\n\n                var args = _parameters.args;\n                var attrs = _parameters.attrs;\n\n                scanner.startBlock(this.blockParams);\n                this.tagContents(scanner);\n                var template = scanner.endBlock(this.blockParams);\n                args.blocks = Blocks.fromSpec(template);\n                return new Component(tag, attrs, args);\n            } else {\n                return new OpenPrimitiveElement(tag);\n            }\n        };\n\n        OpenElement.prototype.compile = function compile(list, env) {\n            list.append(new _glimmerRuntimeLibCompiledOpcodesDom.OpenPrimitiveElementOpcode(this.tag));\n        };\n\n        OpenElement.prototype.toIdentity = function toIdentity() {\n            var tag = this.tag;\n\n            return new OpenPrimitiveElement(tag);\n        };\n\n        OpenElement.prototype.parameters = function parameters(scanner) {\n            var current = scanner.next();\n            var attrs = [];\n            var argKeys = [];\n            var argValues = [];\n            while (!(current instanceof FlushElement)) {\n                if (current[MODIFIER_SYNTAX]) {\n                    throw new Error('Compile Error: Element modifiers are not allowed in components');\n                }\n                var param = current;\n                if (current[_glimmerRuntimeLibSyntax.ATTRIBUTE]) {\n                    attrs.push(param.name);\n                    // REMOVE ME: attributes should not be treated as args\n                    argKeys.push(param.name);\n                    argValues.push(param.valueSyntax());\n                } else if (current[_glimmerRuntimeLibSyntax.ARGUMENT]) {\n                    argKeys.push(param.name);\n                    argValues.push(param.valueSyntax());\n                } else {\n                    throw new Error(\"Expected FlushElement, but got ${current}\");\n                }\n                current = scanner.next();\n            }\n            return { args: Args.fromNamedArgs(NamedArgs.build(argKeys, argValues)), attrs: attrs };\n        };\n\n        OpenElement.prototype.tagContents = function tagContents(scanner) {\n            var nesting = 1;\n            while (true) {\n                var current = scanner.next();\n                if (current instanceof CloseElement && --nesting === 0) {\n                    break;\n                }\n                scanner.addStatement(current);\n                if (current instanceof OpenElement || current instanceof OpenPrimitiveElement) {\n                    nesting++;\n                }\n            }\n        };\n\n        return OpenElement;\n    })(_glimmerRuntimeLibSyntax.Statement);\n\n    exports.OpenElement = OpenElement;\n\n    var Component = (function (_StatementSyntax9) {\n        babelHelpers.inherits(Component, _StatementSyntax9);\n\n        function Component(tag, attrs, args) {\n            _StatementSyntax9.call(this);\n            this.tag = tag;\n            this.attrs = attrs;\n            this.args = args;\n            this.type = 'component';\n        }\n\n        Component.prototype.compile = function compile(list, env, symbolTable) {\n            var definition = env.getComponentDefinition([this.tag], symbolTable);\n            var args = this.args.compile(list, env, symbolTable);\n            var shadow = this.attrs;\n            list.append(new _glimmerRuntimeLibCompiledOpcodesComponent.PutComponentDefinitionOpcode(definition));\n            list.append(new _glimmerRuntimeLibCompiledOpcodesComponent.OpenComponentOpcode(args, shadow));\n            list.append(new _glimmerRuntimeLibCompiledOpcodesComponent.CloseComponentOpcode());\n        };\n\n        return Component;\n    })(_glimmerRuntimeLibSyntax.Statement);\n\n    exports.Component = Component;\n\n    var OpenPrimitiveElement = (function (_StatementSyntax10) {\n        babelHelpers.inherits(OpenPrimitiveElement, _StatementSyntax10);\n\n        function OpenPrimitiveElement(tag) {\n            _StatementSyntax10.call(this);\n            this.tag = tag;\n            this.type = \"open-primitive-element\";\n        }\n\n        OpenPrimitiveElement.build = function build(tag) {\n            return new this(tag);\n        };\n\n        OpenPrimitiveElement.prototype.compile = function compile(compiler) {\n            compiler.append(new _glimmerRuntimeLibCompiledOpcodesDom.OpenPrimitiveElementOpcode(this.tag));\n        };\n\n        return OpenPrimitiveElement;\n    })(_glimmerRuntimeLibSyntax.Statement);\n\n    exports.OpenPrimitiveElement = OpenPrimitiveElement;\n\n    var Yield = (function (_StatementSyntax11) {\n        babelHelpers.inherits(Yield, _StatementSyntax11);\n\n        function Yield(to, args) {\n            _StatementSyntax11.call(this);\n            this.to = to;\n            this.args = args;\n            this.type = \"yield\";\n        }\n\n        Yield.fromSpec = function fromSpec(sexp) {\n            var to = sexp[1];\n            var params = sexp[2];\n\n            var args = Args.fromSpec(params, null, EMPTY_BLOCKS);\n            return new Yield(to, args);\n        };\n\n        Yield.build = function build(params, to) {\n            var args = Args.fromPositionalArgs(PositionalArgs.build(params));\n            return new this(to, args);\n        };\n\n        Yield.prototype.compile = function compile(dsl, env, symbolTable) {\n            var to = this.to;\n\n            var args = this.args.compile(dsl, env, symbolTable);\n            if (dsl.hasBlockSymbol(to)) {\n                var symbol = dsl.getBlockSymbol(to);\n                var inner = new _glimmerRuntimeLibCompiledExpressionsHasBlock.CompiledGetBlockBySymbol(symbol, to);\n                dsl.append(new OpenBlockOpcode(inner, args));\n                dsl.append(new CloseBlockOpcode());\n            } else if (dsl.hasPartialArgsSymbol()) {\n                var symbol = dsl.getPartialArgsSymbol();\n                var inner = new _glimmerRuntimeLibCompiledExpressionsHasBlock.CompiledInPartialGetBlock(symbol, to);\n                dsl.append(new OpenBlockOpcode(inner, args));\n                dsl.append(new CloseBlockOpcode());\n            } else {\n                throw new Error('[BUG] ${to} is not a valid block name.');\n            }\n        };\n\n        return Yield;\n    })(_glimmerRuntimeLibSyntax.Statement);\n\n    exports.Yield = Yield;\n\n    function isStaticPartialName(exp) {\n        return exp.type === 'value';\n    }\n\n    var Partial = (function (_StatementSyntax12) {\n        babelHelpers.inherits(Partial, _StatementSyntax12);\n\n        function Partial() {\n            _StatementSyntax12.apply(this, arguments);\n        }\n\n        Partial.fromSpec = function fromSpec(sexp) {\n            var exp = sexp[1];\n\n            var name = _glimmerRuntimeLibSyntaxExpressions.default(exp);\n            if (isStaticPartialName(name)) {\n                return new _glimmerRuntimeLibSyntaxBuiltinsPartial.StaticPartialSyntax(name);\n            } else {\n                return new _glimmerRuntimeLibSyntaxBuiltinsPartial.DynamicPartialSyntax(name);\n            }\n        };\n\n        return Partial;\n    })(_glimmerRuntimeLibSyntax.Statement);\n\n    exports.Partial = Partial;\n\n    var OpenBlockOpcode = (function (_Opcode) {\n        babelHelpers.inherits(OpenBlockOpcode, _Opcode);\n\n        function OpenBlockOpcode(inner, args) {\n            _Opcode.call(this);\n            this.inner = inner;\n            this.args = args;\n            this.type = \"open-block\";\n        }\n\n        OpenBlockOpcode.prototype.evaluate = function evaluate(vm) {\n            var block = this.inner.evaluate(vm);\n            var args = undefined;\n            if (block) {\n                args = this.args.evaluate(vm);\n            }\n            // FIXME: can we avoid doing this when we don't have a block?\n            vm.pushCallerScope();\n            if (block) {\n                vm.invokeBlock(block, args);\n            }\n        };\n\n        OpenBlockOpcode.prototype.toJSON = function toJSON() {\n            return {\n                guid: this._guid,\n                type: this.type,\n                details: {\n                    \"block\": this.inner.toJSON(),\n                    \"positional\": this.args.positional.toJSON(),\n                    \"named\": this.args.named.toJSON()\n                }\n            };\n        };\n\n        return OpenBlockOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    var CloseBlockOpcode = (function (_Opcode2) {\n        babelHelpers.inherits(CloseBlockOpcode, _Opcode2);\n\n        function CloseBlockOpcode() {\n            _Opcode2.apply(this, arguments);\n            this.type = \"close-block\";\n        }\n\n        CloseBlockOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.popScope();\n        };\n\n        return CloseBlockOpcode;\n    })(_glimmerRuntimeLibOpcodes.Opcode);\n\n    exports.CloseBlockOpcode = CloseBlockOpcode;\n\n    var Value = (function (_ExpressionSyntax) {\n        babelHelpers.inherits(Value, _ExpressionSyntax);\n\n        function Value(value) {\n            _ExpressionSyntax.call(this);\n            this.value = value;\n            this.type = \"value\";\n        }\n\n        Value.fromSpec = function fromSpec(value) {\n            return new Value(value);\n        };\n\n        Value.build = function build(value) {\n            return new this(value);\n        };\n\n        Value.prototype.inner = function inner() {\n            return this.value;\n        };\n\n        Value.prototype.compile = function compile(compiler) {\n            return new _glimmerRuntimeLibCompiledExpressionsValue.default(this.value);\n        };\n\n        return Value;\n    })(_glimmerRuntimeLibSyntax.Expression);\n\n    exports.Value = Value;\n\n    var GetArgument = (function (_ExpressionSyntax2) {\n        babelHelpers.inherits(GetArgument, _ExpressionSyntax2);\n\n        function GetArgument(parts) {\n            _ExpressionSyntax2.call(this);\n            this.parts = parts;\n            this.type = \"get-argument\";\n        }\n\n        // this is separated out from Get because Unknown also has a ref, but it\n        // may turn out to be a helper\n\n        GetArgument.fromSpec = function fromSpec(sexp) {\n            var parts = sexp[1];\n\n            return new GetArgument(parts);\n        };\n\n        GetArgument.build = function build(path) {\n            return new this(path.split('.'));\n        };\n\n        GetArgument.prototype.compile = function compile(lookup) {\n            var parts = this.parts;\n\n            var head = parts[0];\n            if (lookup.hasNamedSymbol(head)) {\n                var symbol = lookup.getNamedSymbol(head);\n                var path = parts.slice(1);\n                var inner = new _glimmerRuntimeLibCompiledExpressionsLookups.CompiledSymbol(symbol, head);\n                return _glimmerRuntimeLibCompiledExpressionsLookups.default.create(inner, path);\n            } else if (lookup.hasPartialArgsSymbol()) {\n                var symbol = lookup.getPartialArgsSymbol();\n                var path = parts.slice(1);\n                var inner = new _glimmerRuntimeLibCompiledExpressionsLookups.CompiledInPartialName(symbol, head);\n                return _glimmerRuntimeLibCompiledExpressionsLookups.default.create(inner, path);\n            } else {\n                throw new Error('[BUG] @' + this.parts.join('.') + ' is not a valid lookup path.');\n            }\n        };\n\n        return GetArgument;\n    })(_glimmerRuntimeLibSyntax.Expression);\n\n    exports.GetArgument = GetArgument;\n\n    var Ref = (function (_ExpressionSyntax3) {\n        babelHelpers.inherits(Ref, _ExpressionSyntax3);\n\n        function Ref(parts) {\n            _ExpressionSyntax3.call(this);\n            this.parts = parts;\n            this.type = \"ref\";\n        }\n\n        Ref.build = function build(path) {\n            var parts = path.split('.');\n            if (parts[0] === 'this') {\n                parts[0] = null;\n            }\n            return new this(parts);\n        };\n\n        Ref.prototype.compile = function compile(lookup) {\n            var parts = this.parts;\n\n            var head = parts[0];\n            if (head === null) {\n                var inner = new _glimmerRuntimeLibCompiledExpressionsLookups.CompiledSelf();\n                var path = parts.slice(1);\n                return _glimmerRuntimeLibCompiledExpressionsLookups.default.create(inner, path);\n            } else if (lookup.hasLocalSymbol(head)) {\n                var symbol = lookup.getLocalSymbol(head);\n                var path = parts.slice(1);\n                var inner = new _glimmerRuntimeLibCompiledExpressionsLookups.CompiledSymbol(symbol, head);\n                return _glimmerRuntimeLibCompiledExpressionsLookups.default.create(inner, path);\n            } else {\n                var inner = new _glimmerRuntimeLibCompiledExpressionsLookups.CompiledSelf();\n                return _glimmerRuntimeLibCompiledExpressionsLookups.default.create(inner, parts);\n            }\n        };\n\n        return Ref;\n    })(_glimmerRuntimeLibSyntax.Expression);\n\n    exports.Ref = Ref;\n\n    var Get = (function (_ExpressionSyntax4) {\n        babelHelpers.inherits(Get, _ExpressionSyntax4);\n\n        function Get(ref) {\n            _ExpressionSyntax4.call(this);\n            this.ref = ref;\n            this.type = \"get\";\n        }\n\n        Get.fromSpec = function fromSpec(sexp) {\n            var parts = sexp[1];\n\n            return new this(new Ref(parts));\n        };\n\n        Get.build = function build(path) {\n            return new this(Ref.build(path));\n        };\n\n        Get.prototype.compile = function compile(compiler) {\n            return this.ref.compile(compiler);\n        };\n\n        return Get;\n    })(_glimmerRuntimeLibSyntax.Expression);\n\n    exports.Get = Get;\n\n    var Unknown = (function (_ExpressionSyntax5) {\n        babelHelpers.inherits(Unknown, _ExpressionSyntax5);\n\n        function Unknown(ref) {\n            _ExpressionSyntax5.call(this);\n            this.ref = ref;\n            this.type = \"unknown\";\n        }\n\n        Unknown.fromSpec = function fromSpec(sexp) {\n            var path = sexp[1];\n\n            return new this(new Ref(path));\n        };\n\n        Unknown.build = function build(path) {\n            return new this(Ref.build(path));\n        };\n\n        Unknown.prototype.compile = function compile(compiler, env, symbolTable) {\n            var ref = this.ref;\n\n            if (env.hasHelper(ref.parts, symbolTable)) {\n                return new _glimmerRuntimeLibCompiledExpressionsHelper.default(ref.parts, env.lookupHelper(ref.parts, symbolTable), _glimmerRuntimeLibCompiledExpressionsArgs.CompiledArgs.empty(), symbolTable);\n            } else {\n                return this.ref.compile(compiler);\n            }\n        };\n\n        return Unknown;\n    })(_glimmerRuntimeLibSyntax.Expression);\n\n    exports.Unknown = Unknown;\n\n    var Helper = (function (_ExpressionSyntax6) {\n        babelHelpers.inherits(Helper, _ExpressionSyntax6);\n\n        function Helper(ref, args) {\n            _ExpressionSyntax6.call(this);\n            this.ref = ref;\n            this.args = args;\n            this.type = \"helper\";\n        }\n\n        Helper.fromSpec = function fromSpec(sexp) {\n            var path = sexp[1];\n            var params = sexp[2];\n            var hash = sexp[3];\n\n            return new Helper(new Ref(path), Args.fromSpec(params, hash, EMPTY_BLOCKS));\n        };\n\n        Helper.build = function build(path, positional, named) {\n            return new this(Ref.build(path), Args.build(positional, named, EMPTY_BLOCKS));\n        };\n\n        Helper.prototype.compile = function compile(compiler, env, symbolTable) {\n            if (env.hasHelper(this.ref.parts, symbolTable)) {\n                var args = this.args;\n                var ref = this.ref;\n\n                return new _glimmerRuntimeLibCompiledExpressionsHelper.default(ref.parts, env.lookupHelper(ref.parts, symbolTable), args.compile(compiler, env, symbolTable), symbolTable);\n            } else {\n                throw new Error('Compile Error: ' + this.ref.parts.join('.') + ' is not a helper');\n            }\n        };\n\n        return Helper;\n    })(_glimmerRuntimeLibSyntax.Expression);\n\n    exports.Helper = Helper;\n\n    var HasBlock = (function (_ExpressionSyntax7) {\n        babelHelpers.inherits(HasBlock, _ExpressionSyntax7);\n\n        function HasBlock(blockName) {\n            _ExpressionSyntax7.call(this);\n            this.blockName = blockName;\n            this.type = \"has-block\";\n        }\n\n        HasBlock.fromSpec = function fromSpec(sexp) {\n            var blockName = sexp[1];\n\n            return new HasBlock(blockName);\n        };\n\n        HasBlock.build = function build(blockName) {\n            return new this(blockName);\n        };\n\n        HasBlock.prototype.compile = function compile(compiler, env) {\n            var blockName = this.blockName;\n\n            if (compiler.hasBlockSymbol(blockName)) {\n                var symbol = compiler.getBlockSymbol(blockName);\n                var inner = new _glimmerRuntimeLibCompiledExpressionsHasBlock.CompiledGetBlockBySymbol(symbol, blockName);\n                return new _glimmerRuntimeLibCompiledExpressionsHasBlock.default(inner);\n            } else if (compiler.hasPartialArgsSymbol()) {\n                var symbol = compiler.getPartialArgsSymbol();\n                var inner = new _glimmerRuntimeLibCompiledExpressionsHasBlock.CompiledInPartialGetBlock(symbol, blockName);\n                return new _glimmerRuntimeLibCompiledExpressionsHasBlock.default(inner);\n            } else {\n                throw new Error('[BUG] ${blockName} is not a valid block name.');\n            }\n        };\n\n        return HasBlock;\n    })(_glimmerRuntimeLibSyntax.Expression);\n\n    exports.HasBlock = HasBlock;\n\n    var HasBlockParams = (function (_ExpressionSyntax8) {\n        babelHelpers.inherits(HasBlockParams, _ExpressionSyntax8);\n\n        function HasBlockParams(blockName) {\n            _ExpressionSyntax8.call(this);\n            this.blockName = blockName;\n            this.type = \"has-block-params\";\n        }\n\n        HasBlockParams.fromSpec = function fromSpec(sexp) {\n            var blockName = sexp[1];\n\n            return new HasBlockParams(blockName);\n        };\n\n        HasBlockParams.build = function build(blockName) {\n            return new this(blockName);\n        };\n\n        HasBlockParams.prototype.compile = function compile(compiler, env) {\n            var blockName = this.blockName;\n\n            if (compiler.hasBlockSymbol(blockName)) {\n                var symbol = compiler.getBlockSymbol(blockName);\n                var inner = new _glimmerRuntimeLibCompiledExpressionsHasBlock.CompiledGetBlockBySymbol(symbol, blockName);\n                return new _glimmerRuntimeLibCompiledExpressionsHasBlock.CompiledHasBlockParams(inner);\n            } else if (compiler.hasPartialArgsSymbol()) {\n                var symbol = compiler.getPartialArgsSymbol();\n                var inner = new _glimmerRuntimeLibCompiledExpressionsHasBlock.CompiledInPartialGetBlock(symbol, blockName);\n                return new _glimmerRuntimeLibCompiledExpressionsHasBlock.CompiledHasBlockParams(inner);\n            } else {\n                throw new Error('[BUG] ${blockName} is not a valid block name.');\n            }\n        };\n\n        return HasBlockParams;\n    })(_glimmerRuntimeLibSyntax.Expression);\n\n    exports.HasBlockParams = HasBlockParams;\n\n    var Concat = (function () {\n        function Concat(parts) {\n            this.parts = parts;\n            this.type = \"concat\";\n        }\n\n        Concat.fromSpec = function fromSpec(sexp) {\n            var params = sexp[1];\n\n            return new Concat(params.map(_glimmerRuntimeLibSyntaxExpressions.default));\n        };\n\n        Concat.build = function build(parts) {\n            return new this(parts);\n        };\n\n        Concat.prototype.compile = function compile(compiler, env, symbolTable) {\n            return new _glimmerRuntimeLibCompiledExpressionsConcat.default(this.parts.map(function (p) {\n                return p.compile(compiler, env, symbolTable);\n            }));\n        };\n\n        return Concat;\n    })();\n\n    exports.Concat = Concat;\n\n    var Blocks = (function () {\n        function Blocks(_default) {\n            var inverse = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1];\n\n            this.type = \"blocks\";\n            this.default = _default;\n            this.inverse = inverse;\n        }\n\n        Blocks.fromSpec = function fromSpec(_default) {\n            var inverse = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1];\n\n            return new Blocks(_default, inverse);\n        };\n\n        Blocks.empty = function empty() {\n            return EMPTY_BLOCKS;\n        };\n\n        return Blocks;\n    })();\n\n    exports.Blocks = Blocks;\n    var EMPTY_BLOCKS = new ((function (_Blocks) {\n        babelHelpers.inherits(_class, _Blocks);\n\n        function _class() {\n            _Blocks.call(this, null, null);\n        }\n\n        return _class;\n    })(Blocks))();\n    exports.EMPTY_BLOCKS = EMPTY_BLOCKS;\n\n    var Args = (function () {\n        function Args(positional, named, blocks) {\n            this.positional = positional;\n            this.named = named;\n            this.blocks = blocks;\n            this.type = \"args\";\n        }\n\n        Args.empty = function empty() {\n            return EMPTY_ARGS;\n        };\n\n        Args.fromSpec = function fromSpec(positional, named, blocks) {\n            return new Args(PositionalArgs.fromSpec(positional), NamedArgs.fromSpec(named), blocks);\n        };\n\n        Args.fromPositionalArgs = function fromPositionalArgs(positional) {\n            var blocks = arguments.length <= 1 || arguments[1] === undefined ? EMPTY_BLOCKS : arguments[1];\n\n            return new Args(positional, EMPTY_NAMED_ARGS, blocks);\n        };\n\n        Args.fromNamedArgs = function fromNamedArgs(named) {\n            var blocks = arguments.length <= 1 || arguments[1] === undefined ? EMPTY_BLOCKS : arguments[1];\n\n            return new Args(EMPTY_POSITIONAL_ARGS, named, blocks);\n        };\n\n        Args.build = function build(positional, named, blocks) {\n            if (positional === EMPTY_POSITIONAL_ARGS && named === EMPTY_NAMED_ARGS && blocks === EMPTY_BLOCKS) {\n                return EMPTY_ARGS;\n            } else {\n                return new this(positional, named, blocks);\n            }\n        };\n\n        Args.prototype.compile = function compile(compiler, env, symbolTable) {\n            var positional = this.positional;\n            var named = this.named;\n            var blocks = this.blocks;\n\n            return _glimmerRuntimeLibCompiledExpressionsArgs.CompiledArgs.create(positional.compile(compiler, env, symbolTable), named.compile(compiler, env, symbolTable), blocks);\n        };\n\n        return Args;\n    })();\n\n    exports.Args = Args;\n\n    var PositionalArgs = (function () {\n        function PositionalArgs(values) {\n            this.values = values;\n            this.type = \"positional\";\n            this.length = values.length;\n        }\n\n        PositionalArgs.empty = function empty() {\n            return EMPTY_POSITIONAL_ARGS;\n        };\n\n        PositionalArgs.fromSpec = function fromSpec(sexp) {\n            if (!sexp || sexp.length === 0) return EMPTY_POSITIONAL_ARGS;\n            return new PositionalArgs(sexp.map(_glimmerRuntimeLibSyntaxExpressions.default));\n        };\n\n        PositionalArgs.build = function build(exprs) {\n            if (exprs.length === 0) {\n                return EMPTY_POSITIONAL_ARGS;\n            } else {\n                return new this(exprs);\n            }\n        };\n\n        PositionalArgs.prototype.slice = function slice(start, end) {\n            return PositionalArgs.build(this.values.slice(start, end));\n        };\n\n        PositionalArgs.prototype.at = function at(index) {\n            return this.values[index];\n        };\n\n        PositionalArgs.prototype.compile = function compile(compiler, env, symbolTable) {\n            return _glimmerRuntimeLibCompiledExpressionsArgs.CompiledPositionalArgs.create(this.values.map(function (v) {\n                return v.compile(compiler, env, symbolTable);\n            }));\n        };\n\n        return PositionalArgs;\n    })();\n\n    exports.PositionalArgs = PositionalArgs;\n\n    var EMPTY_POSITIONAL_ARGS = new ((function (_PositionalArgs) {\n        babelHelpers.inherits(_class2, _PositionalArgs);\n\n        function _class2() {\n            _PositionalArgs.call(this, _glimmerRuntimeLibUtils.EMPTY_ARRAY);\n        }\n\n        _class2.prototype.slice = function slice(start, end) {\n            return this;\n        };\n\n        _class2.prototype.at = function at(index) {\n            return undefined; // ??!\n        };\n\n        _class2.prototype.compile = function compile(compiler, env) {\n            return _glimmerRuntimeLibCompiledExpressionsArgs.CompiledPositionalArgs.empty();\n        };\n\n        return _class2;\n    })(PositionalArgs))();\n\n    var NamedArgs = (function () {\n        function NamedArgs(keys, values) {\n            this.keys = keys;\n            this.values = values;\n            this.type = \"named\";\n            this.length = keys.length;\n        }\n\n        NamedArgs.empty = function empty() {\n            return EMPTY_NAMED_ARGS;\n        };\n\n        NamedArgs.fromSpec = function fromSpec(sexp) {\n            if (sexp === null || sexp === undefined) {\n                return EMPTY_NAMED_ARGS;\n            }\n            var keys = sexp[0];\n            var exprs = sexp[1];\n\n            if (keys.length === 0) {\n                return EMPTY_NAMED_ARGS;\n            }\n            return new this(keys, exprs.map(function (expr) {\n                return _glimmerRuntimeLibSyntaxExpressions.default(expr);\n            }));\n        };\n\n        NamedArgs.build = function build(keys, values) {\n            if (keys.length === 0) {\n                return EMPTY_NAMED_ARGS;\n            } else {\n                return new this(keys, values);\n            }\n        };\n\n        NamedArgs.prototype.at = function at(key) {\n            var keys = this.keys;\n            var values = this.values;\n\n            var index = keys.indexOf(key);\n            return values[index];\n        };\n\n        NamedArgs.prototype.has = function has(key) {\n            return this.keys.indexOf(key) !== -1;\n        };\n\n        NamedArgs.prototype.compile = function compile(compiler, env, symbolTable) {\n            var keys = this.keys;\n            var values = this.values;\n\n            var compiledValues = new Array(values.length);\n            for (var i = 0; i < compiledValues.length; i++) {\n                compiledValues[i] = values[i].compile(compiler, env, symbolTable);\n            }\n            return new _glimmerRuntimeLibCompiledExpressionsArgs.CompiledNamedArgs(keys, compiledValues);\n        };\n\n        return NamedArgs;\n    })();\n\n    exports.NamedArgs = NamedArgs;\n\n    var EMPTY_NAMED_ARGS = new ((function (_NamedArgs) {\n        babelHelpers.inherits(_class3, _NamedArgs);\n\n        function _class3() {\n            _NamedArgs.call(this, _glimmerRuntimeLibUtils.EMPTY_ARRAY, _glimmerRuntimeLibUtils.EMPTY_ARRAY);\n        }\n\n        _class3.prototype.at = function at(key) {\n            return undefined; // ??!\n        };\n\n        _class3.prototype.has = function has(key) {\n            return false;\n        };\n\n        _class3.prototype.compile = function compile(compiler, env) {\n            return _glimmerRuntimeLibCompiledExpressionsArgs.CompiledNamedArgs.empty();\n        };\n\n        return _class3;\n    })(NamedArgs))();\n    var EMPTY_ARGS = new ((function (_Args) {\n        babelHelpers.inherits(_class4, _Args);\n\n        function _class4() {\n            _Args.call(this, EMPTY_POSITIONAL_ARGS, EMPTY_NAMED_ARGS, EMPTY_BLOCKS);\n        }\n\n        _class4.prototype.compile = function compile(compiler, env) {\n            return _glimmerRuntimeLibCompiledExpressionsArgs.CompiledArgs.empty();\n        };\n\n        return _class4;\n    })(Args))();\n});\n\nenifed('glimmer-runtime/lib/syntax/expressions', ['exports', 'glimmer-runtime/lib/syntax/core', 'glimmer-wire-format'], function (exports, _glimmerRuntimeLibSyntaxCore, _glimmerWireFormat) {\n    'use strict';\n\n    var isArg = _glimmerWireFormat.Expressions.isArg;\n    var isConcat = _glimmerWireFormat.Expressions.isConcat;\n    var isGet = _glimmerWireFormat.Expressions.isGet;\n    var isHasBlock = _glimmerWireFormat.Expressions.isHasBlock;\n    var isHasBlockParams = _glimmerWireFormat.Expressions.isHasBlockParams;\n    var isHelper = _glimmerWireFormat.Expressions.isHelper;\n    var isUnknown = _glimmerWireFormat.Expressions.isUnknown;\n    var isPrimitiveValue = _glimmerWireFormat.Expressions.isPrimitiveValue;\n    var isUndefined = _glimmerWireFormat.Expressions.isUndefined;\n\n    exports.default = function (sexp) {\n        if (isPrimitiveValue(sexp)) return _glimmerRuntimeLibSyntaxCore.Value.fromSpec(sexp);\n        if (isUndefined(sexp)) return _glimmerRuntimeLibSyntaxCore.Value.build(undefined);\n        if (isArg(sexp)) return _glimmerRuntimeLibSyntaxCore.GetArgument.fromSpec(sexp);\n        if (isConcat(sexp)) return _glimmerRuntimeLibSyntaxCore.Concat.fromSpec(sexp);\n        if (isGet(sexp)) return _glimmerRuntimeLibSyntaxCore.Get.fromSpec(sexp);\n        if (isHelper(sexp)) return _glimmerRuntimeLibSyntaxCore.Helper.fromSpec(sexp);\n        if (isUnknown(sexp)) return _glimmerRuntimeLibSyntaxCore.Unknown.fromSpec(sexp);\n        if (isHasBlock(sexp)) return _glimmerRuntimeLibSyntaxCore.HasBlock.fromSpec(sexp);\n        if (isHasBlockParams(sexp)) return _glimmerRuntimeLibSyntaxCore.HasBlockParams.fromSpec(sexp);\n        throw new Error('Unexpected wire format: ' + JSON.stringify(sexp));\n    };\n\n    ;\n});\n\nenifed('glimmer-runtime/lib/syntax/statements', ['exports', 'glimmer-runtime/lib/syntax/core', 'glimmer-wire-format'], function (exports, _glimmerRuntimeLibSyntaxCore, _glimmerWireFormat) {\n    'use strict';\n\n    var isYield = _glimmerWireFormat.Statements.isYield;\n    var isBlock = _glimmerWireFormat.Statements.isBlock;\n    var isPartial = _glimmerWireFormat.Statements.isPartial;\n    var isAppend = _glimmerWireFormat.Statements.isAppend;\n    var isDynamicAttr = _glimmerWireFormat.Statements.isDynamicAttr;\n    var isText = _glimmerWireFormat.Statements.isText;\n    var isComment = _glimmerWireFormat.Statements.isComment;\n    var isOpenElement = _glimmerWireFormat.Statements.isOpenElement;\n    var isFlushElement = _glimmerWireFormat.Statements.isFlushElement;\n    var isCloseElement = _glimmerWireFormat.Statements.isCloseElement;\n    var isStaticAttr = _glimmerWireFormat.Statements.isStaticAttr;\n    var isModifier = _glimmerWireFormat.Statements.isModifier;\n    var isDynamicArg = _glimmerWireFormat.Statements.isDynamicArg;\n    var isStaticArg = _glimmerWireFormat.Statements.isStaticArg;\n    var isTrustingAttr = _glimmerWireFormat.Statements.isTrustingAttr;\n\n    exports.default = function (sexp, symbolTable, scanner) {\n        if (isYield(sexp)) return _glimmerRuntimeLibSyntaxCore.Yield.fromSpec(sexp);\n        if (isPartial(sexp)) return _glimmerRuntimeLibSyntaxCore.Partial.fromSpec(sexp);\n        if (isBlock(sexp)) return _glimmerRuntimeLibSyntaxCore.Block.fromSpec(sexp, symbolTable, scanner);\n        if (isAppend(sexp)) return _glimmerRuntimeLibSyntaxCore.OptimizedAppend.fromSpec(sexp);\n        if (isDynamicAttr(sexp)) return _glimmerRuntimeLibSyntaxCore.DynamicAttr.fromSpec(sexp);\n        if (isDynamicArg(sexp)) return _glimmerRuntimeLibSyntaxCore.DynamicArg.fromSpec(sexp);\n        if (isTrustingAttr(sexp)) return _glimmerRuntimeLibSyntaxCore.TrustingAttr.fromSpec(sexp);\n        if (isText(sexp)) return _glimmerRuntimeLibSyntaxCore.Text.fromSpec(sexp);\n        if (isComment(sexp)) return _glimmerRuntimeLibSyntaxCore.Comment.fromSpec(sexp);\n        if (isOpenElement(sexp)) return _glimmerRuntimeLibSyntaxCore.OpenElement.fromSpec(sexp, symbolTable);\n        if (isFlushElement(sexp)) return _glimmerRuntimeLibSyntaxCore.FlushElement.fromSpec();\n        if (isCloseElement(sexp)) return _glimmerRuntimeLibSyntaxCore.CloseElement.fromSpec();\n        if (isStaticAttr(sexp)) return _glimmerRuntimeLibSyntaxCore.StaticAttr.fromSpec(sexp);\n        if (isStaticArg(sexp)) return _glimmerRuntimeLibSyntaxCore.StaticArg.fromSpec(sexp);\n        if (isModifier(sexp)) return _glimmerRuntimeLibSyntaxCore.Modifier.fromSpec(sexp);\n    };\n\n    ;\n});\n\nenifed('glimmer-runtime/lib/template', ['exports', 'glimmer-util', 'glimmer-runtime/lib/builder', 'glimmer-runtime/lib/vm', 'glimmer-runtime/lib/scanner'], function (exports, _glimmerUtil, _glimmerRuntimeLibBuilder, _glimmerRuntimeLibVm, _glimmerRuntimeLibScanner) {\n    'use strict';\n\n    exports.default = templateFactory;\n\n    var clientId = 0;\n\n    function templateFactory(_ref) {\n        var id = _ref.id;\n        var meta = _ref.meta;\n        var block = _ref.block;\n\n        var parsedBlock = undefined;\n        if (!id) {\n            id = 'client-' + clientId++;\n        }\n        var create = function (env, envMeta) {\n            var newMeta = envMeta ? _glimmerUtil.assign({}, envMeta, meta) : meta;\n            if (!parsedBlock) {\n                parsedBlock = JSON.parse(block);\n            }\n            return template(parsedBlock, id, newMeta, env);\n        };\n        return { id: id, meta: meta, create: create };\n    }\n\n    function template(block, id, meta, env) {\n        var scanner = new _glimmerRuntimeLibScanner.default(block, meta, env);\n        var entryPoint = undefined;\n        var asEntryPoint = function () {\n            if (!entryPoint) entryPoint = scanner.scanEntryPoint();\n            return entryPoint;\n        };\n        var layout = undefined;\n        var asLayout = function () {\n            if (!layout) layout = scanner.scanLayout();\n            return layout;\n        };\n        var asPartial = function (symbols) {\n            return scanner.scanPartial(symbols);\n        };\n        var render = function (self, appendTo, dynamicScope) {\n            var elementStack = _glimmerRuntimeLibBuilder.ElementStack.forInitialRender(env, appendTo, null);\n            var compiled = asEntryPoint().compile(env);\n            var vm = _glimmerRuntimeLibVm.VM.initial(env, self, dynamicScope, elementStack, compiled.symbols);\n            return vm.execute(compiled.ops);\n        };\n        return { id: id, meta: meta, _block: block, asEntryPoint: asEntryPoint, asLayout: asLayout, asPartial: asPartial, render: render };\n    }\n});\n\nenifed('glimmer-runtime/lib/upsert', ['exports', 'glimmer-runtime/lib/bounds'], function (exports, _glimmerRuntimeLibBounds) {\n    'use strict';\n\n    exports.isSafeString = isSafeString;\n    exports.isNode = isNode;\n    exports.isString = isString;\n    exports.cautiousInsert = cautiousInsert;\n    exports.trustingInsert = trustingInsert;\n\n    function isSafeString(value) {\n        return value && typeof value['toHTML'] === 'function';\n    }\n\n    function isNode(value) {\n        return value !== null && typeof value === 'object' && typeof value['nodeType'] === 'number';\n    }\n\n    function isString(value) {\n        return typeof value === 'string';\n    }\n\n    var Upsert = function Upsert(bounds) {\n        this.bounds = bounds;\n    };\n\n    exports.default = Upsert;\n\n    function cautiousInsert(dom, cursor, value) {\n        if (isString(value)) {\n            return TextUpsert.insert(dom, cursor, value);\n        }\n        if (isSafeString(value)) {\n            return SafeStringUpsert.insert(dom, cursor, value);\n        }\n        if (isNode(value)) {\n            return NodeUpsert.insert(dom, cursor, value);\n        }\n    }\n\n    function trustingInsert(dom, cursor, value) {\n        if (isString(value)) {\n            return HTMLUpsert.insert(dom, cursor, value);\n        }\n        if (isNode(value)) {\n            return NodeUpsert.insert(dom, cursor, value);\n        }\n    }\n\n    var TextUpsert = (function (_Upsert) {\n        babelHelpers.inherits(TextUpsert, _Upsert);\n\n        function TextUpsert(bounds, textNode) {\n            _Upsert.call(this, bounds);\n            this.textNode = textNode;\n        }\n\n        TextUpsert.insert = function insert(dom, cursor, value) {\n            var textNode = dom.createTextNode(value);\n            dom.insertBefore(cursor.element, textNode, cursor.nextSibling);\n            var bounds = new _glimmerRuntimeLibBounds.SingleNodeBounds(cursor.element, textNode);\n            return new TextUpsert(bounds, textNode);\n        };\n\n        TextUpsert.prototype.update = function update(dom, value) {\n            if (isString(value)) {\n                var textNode = this.textNode;\n\n                textNode.nodeValue = value;\n                return true;\n            } else {\n                return false;\n            }\n        };\n\n        return TextUpsert;\n    })(Upsert);\n\n    var HTMLUpsert = (function (_Upsert2) {\n        babelHelpers.inherits(HTMLUpsert, _Upsert2);\n\n        function HTMLUpsert() {\n            _Upsert2.apply(this, arguments);\n        }\n\n        HTMLUpsert.insert = function insert(dom, cursor, value) {\n            var bounds = dom.insertHTMLBefore(cursor.element, value, cursor.nextSibling);\n            return new HTMLUpsert(bounds);\n        };\n\n        HTMLUpsert.prototype.update = function update(dom, value) {\n            if (isString(value)) {\n                var bounds = this.bounds;\n\n                var parentElement = bounds.parentElement();\n                var nextSibling = _glimmerRuntimeLibBounds.clear(bounds);\n                this.bounds = dom.insertHTMLBefore(parentElement, nextSibling, value);\n                return true;\n            } else {\n                return false;\n            }\n        };\n\n        return HTMLUpsert;\n    })(Upsert);\n\n    var SafeStringUpsert = (function (_Upsert3) {\n        babelHelpers.inherits(SafeStringUpsert, _Upsert3);\n\n        function SafeStringUpsert(bounds, lastStringValue) {\n            _Upsert3.call(this, bounds);\n            this.lastStringValue = lastStringValue;\n        }\n\n        SafeStringUpsert.insert = function insert(dom, cursor, value) {\n            var stringValue = value.toHTML();\n            var bounds = dom.insertHTMLBefore(cursor.element, stringValue, cursor.nextSibling);\n            return new SafeStringUpsert(bounds, stringValue);\n        };\n\n        SafeStringUpsert.prototype.update = function update(dom, value) {\n            if (isSafeString(value)) {\n                var stringValue = value.toHTML();\n                if (stringValue !== this.lastStringValue) {\n                    var bounds = this.bounds;\n\n                    var parentElement = bounds.parentElement();\n                    var nextSibling = _glimmerRuntimeLibBounds.clear(bounds);\n                    this.bounds = dom.insertHTMLBefore(parentElement, nextSibling, stringValue);\n                    this.lastStringValue = stringValue;\n                }\n                return true;\n            } else {\n                return false;\n            }\n        };\n\n        return SafeStringUpsert;\n    })(Upsert);\n\n    var NodeUpsert = (function (_Upsert4) {\n        babelHelpers.inherits(NodeUpsert, _Upsert4);\n\n        function NodeUpsert() {\n            _Upsert4.apply(this, arguments);\n        }\n\n        NodeUpsert.insert = function insert(dom, cursor, node) {\n            dom.insertBefore(cursor.element, node, cursor.nextSibling);\n            return new NodeUpsert(_glimmerRuntimeLibBounds.single(cursor.element, node));\n        };\n\n        NodeUpsert.prototype.update = function update(dom, value) {\n            if (isNode(value)) {\n                var bounds = this.bounds;\n\n                var parentElement = bounds.parentElement();\n                var nextSibling = _glimmerRuntimeLibBounds.clear(bounds);\n                this.bounds = dom.insertNodeBefore(parentElement, value, nextSibling);\n                return true;\n            } else {\n                return false;\n            }\n        };\n\n        return NodeUpsert;\n    })(Upsert);\n});\n\nenifed('glimmer-runtime/lib/utils', ['exports', 'glimmer-util'], function (exports, _glimmerUtil) {\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        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    var EMPTY_ARRAY = HAS_NATIVE_WEAKMAP ? Object.freeze([]) : [];\n    exports.EMPTY_ARRAY = EMPTY_ARRAY;\n    var EMPTY_DICT = HAS_NATIVE_WEAKMAP ? Object.freeze(_glimmerUtil.dict()) : _glimmerUtil.dict();\n    exports.EMPTY_DICT = EMPTY_DICT;\n\n    var ListRange = (function () {\n        function ListRange(list, start, end) {\n            this.list = list;\n            this.start = start;\n            this.end = end;\n        }\n\n        ListRange.prototype.at = function at(index) {\n            if (index >= this.list.length) return null;\n            return this.list[index];\n        };\n\n        ListRange.prototype.min = function min() {\n            return this.start;\n        };\n\n        ListRange.prototype.max = function max() {\n            return this.end;\n        };\n\n        return ListRange;\n    })();\n\n    exports.ListRange = ListRange;\n});\n\nenifed('glimmer-runtime/lib/vm', ['exports', 'glimmer-runtime/lib/vm/append', 'glimmer-runtime/lib/vm/update', 'glimmer-runtime/lib/vm/render-result'], function (exports, _glimmerRuntimeLibVmAppend, _glimmerRuntimeLibVmUpdate, _glimmerRuntimeLibVmRenderResult) {\n  'use strict';\n\n  exports.VM = _glimmerRuntimeLibVmAppend.default;\n  exports.PublicVM = _glimmerRuntimeLibVmAppend.PublicVM;\n  exports.UpdatingVM = _glimmerRuntimeLibVmUpdate.default;\n  exports.RenderResult = _glimmerRuntimeLibVmRenderResult.default;\n});\n\nenifed('glimmer-runtime/lib/vm/append', ['exports', 'glimmer-runtime/lib/environment', 'glimmer-util', 'glimmer-reference', 'glimmer-runtime/lib/compiled/opcodes/vm', 'glimmer-runtime/lib/vm/update', 'glimmer-runtime/lib/vm/render-result', 'glimmer-runtime/lib/vm/frame'], function (exports, _glimmerRuntimeLibEnvironment, _glimmerUtil, _glimmerReference, _glimmerRuntimeLibCompiledOpcodesVm, _glimmerRuntimeLibVmUpdate, _glimmerRuntimeLibVmRenderResult, _glimmerRuntimeLibVmFrame) {\n    'use strict';\n\n    var VM = (function () {\n        function VM(env, scope, dynamicScope, elementStack) {\n            this.env = env;\n            this.elementStack = elementStack;\n            this.dynamicScopeStack = new _glimmerUtil.Stack();\n            this.scopeStack = new _glimmerUtil.Stack();\n            this.updatingOpcodeStack = new _glimmerUtil.Stack();\n            this.cacheGroups = new _glimmerUtil.Stack();\n            this.listBlockStack = new _glimmerUtil.Stack();\n            this.frame = new _glimmerRuntimeLibVmFrame.FrameStack();\n            this.env = env;\n            this.elementStack = elementStack;\n            this.scopeStack.push(scope);\n            this.dynamicScopeStack.push(dynamicScope);\n        }\n\n        VM.initial = function initial(env, self, dynamicScope, elementStack, size) {\n            var scope = _glimmerRuntimeLibEnvironment.Scope.root(self, size);\n            return new VM(env, scope, dynamicScope, elementStack);\n        };\n\n        VM.prototype.capture = function capture() {\n            return {\n                env: this.env,\n                scope: this.scope(),\n                dynamicScope: this.dynamicScope(),\n                frame: this.frame.capture()\n            };\n        };\n\n        VM.prototype.goto = function goto(op) {\n            // assert(this.frame.getOps().contains(op), `Illegal jump to ${op.label}`);\n            this.frame.goto(op);\n        };\n\n        VM.prototype.beginCacheGroup = function beginCacheGroup() {\n            this.cacheGroups.push(this.updatingOpcodeStack.current.tail());\n        };\n\n        VM.prototype.commitCacheGroup = function commitCacheGroup() {\n            //        JumpIfNotModified(END)\n            //        (head)\n            //        (....)\n            //        (tail)\n            //        DidModify\n            // END:   Noop\n            var END = new _glimmerRuntimeLibCompiledOpcodesVm.LabelOpcode(\"END\");\n            var opcodes = this.updatingOpcodeStack.current;\n            var marker = this.cacheGroups.pop();\n            var head = marker ? opcodes.nextNode(marker) : opcodes.head();\n            var tail = opcodes.tail();\n            var tag = _glimmerReference.combineSlice(new _glimmerUtil.ListSlice(head, tail));\n            var guard = new _glimmerRuntimeLibCompiledOpcodesVm.JumpIfNotModifiedOpcode(tag, END);\n            opcodes.insertBefore(guard, head);\n            opcodes.append(new _glimmerRuntimeLibCompiledOpcodesVm.DidModifyOpcode(guard));\n            opcodes.append(END);\n        };\n\n        VM.prototype.enter = function enter(ops) {\n            var updating = new _glimmerUtil.LinkedList();\n            var tracker = this.stack().pushUpdatableBlock();\n            var state = this.capture();\n            var tryOpcode = new _glimmerRuntimeLibVmUpdate.TryOpcode(ops, state, tracker, updating);\n            this.didEnter(tryOpcode, updating);\n        };\n\n        VM.prototype.enterWithKey = function enterWithKey(key, ops) {\n            var updating = new _glimmerUtil.LinkedList();\n            var tracker = this.stack().pushUpdatableBlock();\n            var state = this.capture();\n            var tryOpcode = new _glimmerRuntimeLibVmUpdate.TryOpcode(ops, state, tracker, updating);\n            this.listBlockStack.current.map[key] = tryOpcode;\n            this.didEnter(tryOpcode, updating);\n        };\n\n        VM.prototype.enterList = function enterList(ops) {\n            var updating = new _glimmerUtil.LinkedList();\n            var tracker = this.stack().pushBlockList(updating);\n            var state = this.capture();\n            var artifacts = this.frame.getIterator().artifacts;\n            var opcode = new _glimmerRuntimeLibVmUpdate.ListBlockOpcode(ops, state, tracker, updating, artifacts);\n            this.listBlockStack.push(opcode);\n            this.didEnter(opcode, updating);\n        };\n\n        VM.prototype.didEnter = function didEnter(opcode, updating) {\n            this.updateWith(opcode);\n            this.updatingOpcodeStack.push(updating);\n        };\n\n        VM.prototype.exit = function exit() {\n            this.stack().popBlock();\n            this.updatingOpcodeStack.pop();\n            var parent = this.updatingOpcodeStack.current.tail();\n            parent.didInitializeChildren();\n        };\n\n        VM.prototype.exitList = function exitList() {\n            this.exit();\n            this.listBlockStack.pop();\n        };\n\n        VM.prototype.updateWith = function updateWith(opcode) {\n            this.updatingOpcodeStack.current.append(opcode);\n        };\n\n        VM.prototype.stack = function stack() {\n            return this.elementStack;\n        };\n\n        VM.prototype.scope = function scope() {\n            return this.scopeStack.current;\n        };\n\n        VM.prototype.dynamicScope = function dynamicScope() {\n            return this.dynamicScopeStack.current;\n        };\n\n        VM.prototype.pushFrame = function pushFrame(block, args, callerScope) {\n            this.frame.push(block.ops);\n            if (args) this.frame.setArgs(args);\n            if (args && args.blocks) this.frame.setBlocks(args.blocks);\n            if (callerScope) this.frame.setCallerScope(callerScope);\n        };\n\n        VM.prototype.pushComponentFrame = function pushComponentFrame(layout, args, callerScope, component, manager, shadow) {\n            this.frame.push(layout.ops, component, manager, shadow);\n            if (args) this.frame.setArgs(args);\n            if (args && args.blocks) this.frame.setBlocks(args.blocks);\n            if (callerScope) this.frame.setCallerScope(callerScope);\n        };\n\n        VM.prototype.pushEvalFrame = function pushEvalFrame(ops) {\n            this.frame.push(ops);\n        };\n\n        VM.prototype.pushChildScope = function pushChildScope() {\n            this.scopeStack.push(this.scopeStack.current.child());\n        };\n\n        VM.prototype.pushCallerScope = function pushCallerScope() {\n            this.scopeStack.push(this.scope().getCallerScope());\n        };\n\n        VM.prototype.pushDynamicScope = function pushDynamicScope() {\n            var child = this.dynamicScopeStack.current.child();\n            this.dynamicScopeStack.push(child);\n            return child;\n        };\n\n        VM.prototype.pushRootScope = function pushRootScope(self, size) {\n            var scope = _glimmerRuntimeLibEnvironment.Scope.root(self, size);\n            this.scopeStack.push(scope);\n            return scope;\n        };\n\n        VM.prototype.popScope = function popScope() {\n            this.scopeStack.pop();\n        };\n\n        VM.prototype.popDynamicScope = function popDynamicScope() {\n            this.dynamicScopeStack.pop();\n        };\n\n        VM.prototype.newDestroyable = function newDestroyable(d) {\n            this.stack().newDestroyable(d);\n        };\n\n        /// SCOPE HELPERS\n\n        VM.prototype.getSelf = function getSelf() {\n            return this.scope().getSelf();\n        };\n\n        VM.prototype.referenceForSymbol = function referenceForSymbol(symbol) {\n            return this.scope().getSymbol(symbol);\n        };\n\n        VM.prototype.getArgs = function getArgs() {\n            return this.frame.getArgs();\n        };\n\n        /// EXECUTION\n\n        VM.prototype.resume = function resume(opcodes, frame) {\n            return this.execute(opcodes, function (vm) {\n                return vm.frame.restore(frame);\n            });\n        };\n\n        VM.prototype.execute = function execute(opcodes, initialize) {\n            _glimmerUtil.LOGGER.debug(\"[VM] Begin program execution\");\n            var elementStack = this.elementStack;\n            var frame = this.frame;\n            var updatingOpcodeStack = this.updatingOpcodeStack;\n            var env = this.env;\n\n            elementStack.pushSimpleBlock();\n            updatingOpcodeStack.push(new _glimmerUtil.LinkedList());\n            frame.push(opcodes);\n            if (initialize) initialize(this);\n            var opcode = undefined;\n            while (frame.hasOpcodes()) {\n                if (opcode = frame.nextStatement()) {\n                    _glimmerUtil.LOGGER.debug('[VM] OP ' + opcode.type);\n                    _glimmerUtil.LOGGER.trace(opcode);\n                    opcode.evaluate(this);\n                }\n            }\n            _glimmerUtil.LOGGER.debug(\"[VM] Completed program execution\");\n            return new _glimmerRuntimeLibVmRenderResult.default(env, updatingOpcodeStack.pop(), elementStack.popBlock());\n        };\n\n        VM.prototype.evaluateOpcode = function evaluateOpcode(opcode) {\n            opcode.evaluate(this);\n        };\n\n        // Make sure you have opcodes that push and pop a scope around this opcode\n        // if you need to change the scope.\n\n        VM.prototype.invokeBlock = function invokeBlock(block, args) {\n            var compiled = block.compile(this.env);\n            this.pushFrame(compiled, args);\n        };\n\n        VM.prototype.invokePartial = function invokePartial(block) {\n            var compiled = block.compile(this.env);\n            this.pushFrame(compiled);\n        };\n\n        VM.prototype.invokeLayout = function invokeLayout(args, layout, callerScope, component, manager, shadow) {\n            this.pushComponentFrame(layout, args, callerScope, component, manager, shadow);\n        };\n\n        VM.prototype.evaluateOperand = function evaluateOperand(expr) {\n            this.frame.setOperand(expr.evaluate(this));\n        };\n\n        VM.prototype.evaluateArgs = function evaluateArgs(args) {\n            var evaledArgs = this.frame.setArgs(args.evaluate(this));\n            this.frame.setOperand(evaledArgs.positional.at(0));\n        };\n\n        VM.prototype.bindPositionalArgs = function bindPositionalArgs(symbols) {\n            var args = this.frame.getArgs();\n            _glimmerUtil.assert(args, \"Cannot bind positional args\");\n            var positional = args.positional;\n\n            var scope = this.scope();\n            for (var i = 0; i < symbols.length; i++) {\n                scope.bindSymbol(symbols[i], positional.at(i));\n            }\n        };\n\n        VM.prototype.bindNamedArgs = function bindNamedArgs(names, symbols) {\n            var args = this.frame.getArgs();\n            var scope = this.scope();\n            _glimmerUtil.assert(args, \"Cannot bind named args\");\n            var named = args.named;\n\n            for (var i = 0; i < names.length; i++) {\n                scope.bindSymbol(symbols[i], named.get(names[i]));\n            }\n        };\n\n        VM.prototype.bindBlocks = function bindBlocks(names, symbols) {\n            var blocks = this.frame.getBlocks();\n            var scope = this.scope();\n            for (var i = 0; i < names.length; i++) {\n                scope.bindBlock(symbols[i], blocks && blocks[names[i]] || null);\n            }\n        };\n\n        VM.prototype.bindPartialArgs = function bindPartialArgs(symbol) {\n            var args = this.frame.getArgs();\n            var scope = this.scope();\n            _glimmerUtil.assert(args, \"Cannot bind named args\");\n            scope.bindPartialArgs(symbol, args);\n        };\n\n        VM.prototype.bindCallerScope = function bindCallerScope() {\n            var callerScope = this.frame.getCallerScope();\n            var scope = this.scope();\n            _glimmerUtil.assert(callerScope, \"Cannot bind caller scope\");\n            scope.bindCallerScope(callerScope);\n        };\n\n        VM.prototype.bindDynamicScope = function bindDynamicScope(names) {\n            var args = this.frame.getArgs();\n            var scope = this.dynamicScope();\n            _glimmerUtil.assert(args, \"Cannot bind dynamic scope\");\n            for (var i = 0; i < names.length; i++) {\n                scope.set(names[i], args.named.get(names[i]));\n            }\n        };\n\n        return VM;\n    })();\n\n    exports.default = VM;\n});\n\nenifed('glimmer-runtime/lib/vm/frame', ['exports'], function (exports) {\n    'use strict';\n\n    var CapturedFrame = function CapturedFrame(operand, args, condition) {\n        this.operand = operand;\n        this.args = args;\n        this.condition = condition;\n    };\n\n    exports.CapturedFrame = CapturedFrame;\n\n    var Frame = (function () {\n        function Frame(ops) {\n            var component = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1];\n            var manager = arguments.length <= 2 || arguments[2] === undefined ? null : arguments[2];\n            var shadow = arguments.length <= 3 || arguments[3] === undefined ? null : arguments[3];\n\n            this.component = component;\n            this.manager = manager;\n            this.shadow = shadow;\n            this.operand = null;\n            this.immediate = null;\n            this.args = null;\n            this.callerScope = null;\n            this.blocks = null;\n            this.condition = null;\n            this.iterator = null;\n            this.key = null;\n            this.ops = ops;\n            this.op = ops.head();\n        }\n\n        Frame.prototype.capture = function capture() {\n            return new CapturedFrame(this.operand, this.args, this.condition);\n        };\n\n        Frame.prototype.restore = function restore(frame) {\n            this.operand = frame['operand'];\n            this.args = frame['args'];\n            this.condition = frame['condition'];\n        };\n\n        return Frame;\n    })();\n\n    var FrameStack = (function () {\n        function FrameStack() {\n            this.frames = [];\n            this.frame = undefined;\n        }\n\n        FrameStack.prototype.push = function push(ops) {\n            var component = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1];\n            var manager = arguments.length <= 2 || arguments[2] === undefined ? null : arguments[2];\n            var shadow = arguments.length <= 3 || arguments[3] === undefined ? null : arguments[3];\n\n            var frame = this.frame === undefined ? this.frame = 0 : ++this.frame;\n            if (this.frames.length <= frame) {\n                this.frames.push(null);\n            }\n            this.frames[frame] = new Frame(ops, component, manager, shadow);\n        };\n\n        FrameStack.prototype.pop = function pop() {\n            var frames = this.frames;\n            var frame = this.frame;\n\n            frames[frame] = null;\n            this.frame = frame === 0 ? undefined : frame - 1;\n        };\n\n        FrameStack.prototype.capture = function capture() {\n            return this.frames[this.frame].capture();\n        };\n\n        FrameStack.prototype.restore = function restore(frame) {\n            this.frames[this.frame].restore(frame);\n        };\n\n        FrameStack.prototype.getOps = function getOps() {\n            return this.frames[this.frame].ops;\n        };\n\n        FrameStack.prototype.getCurrent = function getCurrent() {\n            return this.frames[this.frame].op;\n        };\n\n        FrameStack.prototype.setCurrent = function setCurrent(op) {\n            return this.frames[this.frame].op = op;\n        };\n\n        FrameStack.prototype.getOperand = function getOperand() {\n            return this.frames[this.frame].operand;\n        };\n\n        FrameStack.prototype.setOperand = function setOperand(operand) {\n            return this.frames[this.frame].operand = operand;\n        };\n\n        FrameStack.prototype.getImmediate = function getImmediate() {\n            return this.frames[this.frame].immediate;\n        };\n\n        FrameStack.prototype.setImmediate = function setImmediate(value) {\n            return this.frames[this.frame].immediate = value;\n        };\n\n        FrameStack.prototype.getArgs = function getArgs() {\n            return this.frames[this.frame].args;\n        };\n\n        FrameStack.prototype.setArgs = function setArgs(args) {\n            var frame = this.frames[this.frame];\n            return frame.args = args;\n        };\n\n        FrameStack.prototype.getCondition = function getCondition() {\n            return this.frames[this.frame].condition;\n        };\n\n        FrameStack.prototype.setCondition = function setCondition(condition) {\n            return this.frames[this.frame].condition = condition;\n        };\n\n        FrameStack.prototype.getIterator = function getIterator() {\n            return this.frames[this.frame].iterator;\n        };\n\n        FrameStack.prototype.setIterator = function setIterator(iterator) {\n            return this.frames[this.frame].iterator = iterator;\n        };\n\n        FrameStack.prototype.getKey = function getKey() {\n            return this.frames[this.frame].key;\n        };\n\n        FrameStack.prototype.setKey = function setKey(key) {\n            return this.frames[this.frame].key = key;\n        };\n\n        FrameStack.prototype.getBlocks = function getBlocks() {\n            return this.frames[this.frame].blocks;\n        };\n\n        FrameStack.prototype.setBlocks = function setBlocks(blocks) {\n            return this.frames[this.frame].blocks = blocks;\n        };\n\n        FrameStack.prototype.getCallerScope = function getCallerScope() {\n            return this.frames[this.frame].callerScope;\n        };\n\n        FrameStack.prototype.setCallerScope = function setCallerScope(callerScope) {\n            return this.frames[this.frame].callerScope = callerScope;\n        };\n\n        FrameStack.prototype.getComponent = function getComponent() {\n            return this.frames[this.frame].component;\n        };\n\n        FrameStack.prototype.getManager = function getManager() {\n            return this.frames[this.frame].manager;\n        };\n\n        FrameStack.prototype.getShadow = function getShadow() {\n            return this.frames[this.frame].shadow;\n        };\n\n        FrameStack.prototype.goto = function goto(op) {\n            this.setCurrent(op);\n        };\n\n        FrameStack.prototype.hasOpcodes = function hasOpcodes() {\n            return this.frame !== undefined;\n        };\n\n        FrameStack.prototype.nextStatement = function nextStatement() {\n            var op = this.frames[this.frame].op;\n            var ops = this.getOps();\n            if (op) {\n                this.setCurrent(ops.nextNode(op));\n                return op;\n            } else {\n                this.pop();\n                return null;\n            }\n        };\n\n        return FrameStack;\n    })();\n\n    exports.FrameStack = FrameStack;\n});\n\nenifed('glimmer-runtime/lib/vm/render-result', ['exports', 'glimmer-runtime/lib/bounds', 'glimmer-runtime/lib/vm/update'], function (exports, _glimmerRuntimeLibBounds, _glimmerRuntimeLibVmUpdate) {\n    'use strict';\n\n    var RenderResult = (function () {\n        function RenderResult(env, updating, bounds) {\n            this.env = env;\n            this.updating = updating;\n            this.bounds = bounds;\n        }\n\n        RenderResult.prototype.rerender = function rerender() {\n            var _ref = arguments.length <= 0 || arguments[0] === undefined ? { alwaysRevalidate: false } : arguments[0];\n\n            var _ref$alwaysRevalidate = _ref.alwaysRevalidate;\n            var alwaysRevalidate = _ref$alwaysRevalidate === undefined ? false : _ref$alwaysRevalidate;\n            var env = this.env;\n            var updating = this.updating;\n\n            var vm = new _glimmerRuntimeLibVmUpdate.default(env, { alwaysRevalidate: alwaysRevalidate });\n            vm.execute(updating, this);\n        };\n\n        RenderResult.prototype.parentElement = function parentElement() {\n            return this.bounds.parentElement();\n        };\n\n        RenderResult.prototype.firstNode = function firstNode() {\n            return this.bounds.firstNode();\n        };\n\n        RenderResult.prototype.lastNode = function lastNode() {\n            return this.bounds.lastNode();\n        };\n\n        RenderResult.prototype.opcodes = function opcodes() {\n            return this.updating;\n        };\n\n        RenderResult.prototype.handleException = function handleException() {\n            throw \"this should never happen\";\n        };\n\n        RenderResult.prototype.destroy = function destroy() {\n            this.bounds.destroy();\n            _glimmerRuntimeLibBounds.clear(this.bounds);\n        };\n\n        return RenderResult;\n    })();\n\n    exports.default = RenderResult;\n});\n\nenifed('glimmer-runtime/lib/vm/update', ['exports', 'glimmer-runtime/lib/bounds', 'glimmer-runtime/lib/builder', 'glimmer-util', 'glimmer-reference', 'glimmer-runtime/lib/compiled/expressions/args', 'glimmer-runtime/lib/opcodes', 'glimmer-runtime/lib/vm/append'], function (exports, _glimmerRuntimeLibBounds, _glimmerRuntimeLibBuilder, _glimmerUtil, _glimmerReference, _glimmerRuntimeLibCompiledExpressionsArgs, _glimmerRuntimeLibOpcodes, _glimmerRuntimeLibVmAppend) {\n    'use strict';\n\n    var UpdatingVM = (function () {\n        function UpdatingVM(env, _ref) {\n            var _ref$alwaysRevalidate = _ref.alwaysRevalidate;\n            var alwaysRevalidate = _ref$alwaysRevalidate === undefined ? false : _ref$alwaysRevalidate;\n\n            this.frameStack = new _glimmerUtil.Stack();\n            this.env = env;\n            this.dom = env.getDOM();\n            this.alwaysRevalidate = alwaysRevalidate;\n        }\n\n        UpdatingVM.prototype.execute = function execute(opcodes, handler) {\n            var frameStack = this.frameStack;\n\n            this.try(opcodes, handler);\n            while (true) {\n                if (frameStack.isEmpty()) break;\n                var opcode = this.frameStack.current.nextStatement();\n                if (opcode === null) {\n                    this.frameStack.pop();\n                    continue;\n                }\n                _glimmerUtil.LOGGER.debug('[VM] OP ' + opcode.type);\n                _glimmerUtil.LOGGER.trace(opcode);\n                opcode.evaluate(this);\n            }\n        };\n\n        UpdatingVM.prototype.goto = function goto(op) {\n            this.frameStack.current.goto(op);\n        };\n\n        UpdatingVM.prototype.try = function _try(ops, handler) {\n            this.frameStack.push(new UpdatingVMFrame(this, ops, handler));\n        };\n\n        UpdatingVM.prototype.throw = function _throw() {\n            this.frameStack.current.handleException();\n            this.frameStack.pop();\n        };\n\n        UpdatingVM.prototype.evaluateOpcode = function evaluateOpcode(opcode) {\n            opcode.evaluate(this);\n        };\n\n        return UpdatingVM;\n    })();\n\n    exports.default = UpdatingVM;\n\n    var BlockOpcode = (function (_UpdatingOpcode) {\n        babelHelpers.inherits(BlockOpcode, _UpdatingOpcode);\n\n        function BlockOpcode(ops, state, bounds, children) {\n            _UpdatingOpcode.call(this);\n            this.type = \"block\";\n            this.next = null;\n            this.prev = null;\n            var env = state.env;\n            var scope = state.scope;\n            var dynamicScope = state.dynamicScope;\n            var frame = state.frame;\n\n            this.ops = ops;\n            this.children = children;\n            this.env = env;\n            this.scope = scope;\n            this.dynamicScope = dynamicScope;\n            this.frame = frame;\n            this.bounds = bounds;\n        }\n\n        BlockOpcode.prototype.parentElement = function parentElement() {\n            return this.bounds.parentElement();\n        };\n\n        BlockOpcode.prototype.firstNode = function firstNode() {\n            return this.bounds.firstNode();\n        };\n\n        BlockOpcode.prototype.lastNode = function lastNode() {\n            return this.bounds.lastNode();\n        };\n\n        BlockOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.try(this.children, null);\n        };\n\n        BlockOpcode.prototype.destroy = function destroy() {\n            this.bounds.destroy();\n        };\n\n        BlockOpcode.prototype.didDestroy = function didDestroy() {\n            this.env.didDestroy(this.bounds);\n        };\n\n        BlockOpcode.prototype.toJSON = function toJSON() {\n            var begin = this.ops.head();\n            var end = this.ops.tail();\n            var details = _glimmerUtil.dict();\n            details[\"guid\"] = '' + this._guid;\n            details[\"begin\"] = begin.inspect();\n            details[\"end\"] = end.inspect();\n            return {\n                guid: this._guid,\n                type: this.type,\n                details: details,\n                children: this.children.toArray().map(function (op) {\n                    return op.toJSON();\n                })\n            };\n        };\n\n        return BlockOpcode;\n    })(_glimmerRuntimeLibOpcodes.UpdatingOpcode);\n\n    exports.BlockOpcode = BlockOpcode;\n\n    var TryOpcode = (function (_BlockOpcode) {\n        babelHelpers.inherits(TryOpcode, _BlockOpcode);\n\n        function TryOpcode(ops, state, bounds, children) {\n            _BlockOpcode.call(this, ops, state, bounds, children);\n            this.type = \"try\";\n            this.tag = this._tag = new _glimmerReference.UpdatableTag(_glimmerReference.CONSTANT_TAG);\n        }\n\n        TryOpcode.prototype.didInitializeChildren = function didInitializeChildren() {\n            this._tag.update(_glimmerReference.combineSlice(this.children));\n        };\n\n        TryOpcode.prototype.evaluate = function evaluate(vm) {\n            vm.try(this.children, this);\n        };\n\n        TryOpcode.prototype.handleException = function handleException() {\n            var env = this.env;\n            var scope = this.scope;\n            var ops = this.ops;\n            var dynamicScope = this.dynamicScope;\n            var frame = this.frame;\n\n            var elementStack = _glimmerRuntimeLibBuilder.ElementStack.resume(this.env, this.bounds, this.bounds.reset(env));\n            var vm = new _glimmerRuntimeLibVmAppend.default(env, scope, dynamicScope, elementStack);\n            var result = vm.resume(ops, frame);\n            this.children = result.opcodes();\n            this.didInitializeChildren();\n        };\n\n        TryOpcode.prototype.toJSON = function toJSON() {\n            var json = _BlockOpcode.prototype.toJSON.call(this);\n            var begin = this.ops.head();\n            var end = this.ops.tail();\n            json[\"details\"][\"begin\"] = JSON.stringify(begin.inspect());\n            json[\"details\"][\"end\"] = JSON.stringify(end.inspect());\n            return _BlockOpcode.prototype.toJSON.call(this);\n        };\n\n        return TryOpcode;\n    })(BlockOpcode);\n\n    exports.TryOpcode = TryOpcode;\n\n    var ListRevalidationDelegate = (function () {\n        function ListRevalidationDelegate(opcode, marker) {\n            this.opcode = opcode;\n            this.marker = marker;\n            this.didInsert = false;\n            this.didDelete = false;\n            this.map = opcode.map;\n            this.updating = opcode['children'];\n        }\n\n        ListRevalidationDelegate.prototype.insert = function insert(key, item, memo, before) {\n            var map = this.map;\n            var opcode = this.opcode;\n            var updating = this.updating;\n\n            var nextSibling = null;\n            var reference = null;\n            if (before) {\n                reference = map[before];\n                nextSibling = reference.bounds.firstNode();\n            } else {\n                nextSibling = this.marker;\n            }\n            var vm = opcode.vmForInsertion(nextSibling);\n            var tryOpcode = undefined;\n            vm.execute(opcode.ops, function (vm) {\n                vm.frame.setArgs(_glimmerRuntimeLibCompiledExpressionsArgs.EvaluatedArgs.positional([item, memo]));\n                vm.frame.setOperand(item);\n                vm.frame.setCondition(new _glimmerReference.ConstReference(true));\n                vm.frame.setKey(key);\n                var state = vm.capture();\n                var tracker = vm.stack().pushUpdatableBlock();\n                tryOpcode = new TryOpcode(opcode.ops, state, tracker, vm.updatingOpcodeStack.current);\n            });\n            tryOpcode.didInitializeChildren();\n            updating.insertBefore(tryOpcode, reference);\n            map[key] = tryOpcode;\n            this.didInsert = true;\n        };\n\n        ListRevalidationDelegate.prototype.retain = function retain(key, item, memo) {};\n\n        ListRevalidationDelegate.prototype.move = function move(key, item, memo, before) {\n            var map = this.map;\n            var updating = this.updating;\n\n            var entry = map[key];\n            var reference = map[before] || null;\n            if (before) {\n                _glimmerRuntimeLibBounds.move(entry, reference.firstNode());\n            } else {\n                _glimmerRuntimeLibBounds.move(entry, this.marker);\n            }\n            updating.remove(entry);\n            updating.insertBefore(entry, reference);\n        };\n\n        ListRevalidationDelegate.prototype.delete = function _delete(key) {\n            var map = this.map;\n\n            var opcode = map[key];\n            opcode.didDestroy();\n            _glimmerRuntimeLibBounds.clear(opcode);\n            this.updating.remove(opcode);\n            delete map[key];\n            this.didDelete = true;\n        };\n\n        ListRevalidationDelegate.prototype.done = function done() {\n            this.opcode.didInitializeChildren(this.didInsert || this.didDelete);\n        };\n\n        return ListRevalidationDelegate;\n    })();\n\n    var ListBlockOpcode = (function (_BlockOpcode2) {\n        babelHelpers.inherits(ListBlockOpcode, _BlockOpcode2);\n\n        function ListBlockOpcode(ops, state, bounds, children, artifacts) {\n            _BlockOpcode2.call(this, ops, state, bounds, children);\n            this.type = \"list-block\";\n            this.map = _glimmerUtil.dict();\n            this.lastIterated = _glimmerReference.INITIAL;\n            this.artifacts = artifacts;\n            var _tag = this._tag = new _glimmerReference.UpdatableTag(_glimmerReference.CONSTANT_TAG);\n            this.tag = _glimmerReference.combine([artifacts.tag, _tag]);\n        }\n\n        ListBlockOpcode.prototype.didInitializeChildren = function didInitializeChildren() {\n            var listDidChange = arguments.length <= 0 || arguments[0] === undefined ? true : arguments[0];\n\n            this.lastIterated = this.artifacts.tag.value();\n            if (listDidChange) {\n                this._tag.update(_glimmerReference.combineSlice(this.children));\n            }\n        };\n\n        ListBlockOpcode.prototype.evaluate = function evaluate(vm) {\n            var artifacts = this.artifacts;\n            var lastIterated = this.lastIterated;\n\n            if (!artifacts.tag.validate(lastIterated)) {\n                var bounds = this.bounds;\n                var dom = vm.dom;\n\n                var marker = dom.createComment('');\n                dom.insertAfter(bounds.parentElement(), marker, bounds.lastNode());\n                var target = new ListRevalidationDelegate(this, marker);\n                var synchronizer = new _glimmerReference.IteratorSynchronizer({ target: target, artifacts: artifacts });\n                synchronizer.sync();\n                this.parentElement().removeChild(marker);\n            }\n            // Run now-updated updating opcodes\n            _BlockOpcode2.prototype.evaluate.call(this, vm);\n        };\n\n        ListBlockOpcode.prototype.vmForInsertion = function vmForInsertion(nextSibling) {\n            var env = this.env;\n            var scope = this.scope;\n            var dynamicScope = this.dynamicScope;\n\n            var elementStack = _glimmerRuntimeLibBuilder.ElementStack.forInitialRender(this.env, this.bounds.parentElement(), nextSibling);\n            return new _glimmerRuntimeLibVmAppend.default(env, scope, dynamicScope, elementStack);\n        };\n\n        ListBlockOpcode.prototype.toJSON = function toJSON() {\n            var json = _BlockOpcode2.prototype.toJSON.call(this);\n            var map = this.map;\n            var inner = Object.keys(map).map(function (key) {\n                return JSON.stringify(key) + ': ' + map[key]._guid;\n            }).join(\", \");\n            json[\"details\"][\"map\"] = '{' + inner + '}';\n            return json;\n        };\n\n        return ListBlockOpcode;\n    })(BlockOpcode);\n\n    exports.ListBlockOpcode = ListBlockOpcode;\n\n    var UpdatingVMFrame = (function () {\n        function UpdatingVMFrame(vm, ops, handler) {\n            this.vm = vm;\n            this.ops = ops;\n            this.current = ops.head();\n            this.exceptionHandler = handler;\n        }\n\n        UpdatingVMFrame.prototype.goto = function goto(op) {\n            this.current = op;\n        };\n\n        UpdatingVMFrame.prototype.nextStatement = function nextStatement() {\n            var current = this.current;\n            var ops = this.ops;\n\n            if (current) this.current = ops.nextNode(current);\n            return current;\n        };\n\n        UpdatingVMFrame.prototype.handleException = function handleException() {\n            this.exceptionHandler.handleException();\n        };\n\n        return UpdatingVMFrame;\n    })();\n});\n\nenifed('glimmer-util/index', ['exports', 'glimmer-util/lib/namespaces', 'glimmer-util/lib/platform-utils', 'glimmer-util/lib/assert', 'glimmer-util/lib/logger', 'glimmer-util/lib/object-utils', 'glimmer-util/lib/guid', 'glimmer-util/lib/collections', 'glimmer-util/lib/list-utils'], function (exports, _glimmerUtilLibNamespaces, _glimmerUtilLibPlatformUtils, _glimmerUtilLibAssert, _glimmerUtilLibLogger, _glimmerUtilLibObjectUtils, _glimmerUtilLibGuid, _glimmerUtilLibCollections, _glimmerUtilLibListUtils) {\n  'use strict';\n\n  exports.getAttrNamespace = _glimmerUtilLibNamespaces.getAttrNamespace;\n  exports.Option = _glimmerUtilLibPlatformUtils.Option;\n  exports.Maybe = _glimmerUtilLibPlatformUtils.Maybe;\n  exports.Opaque = _glimmerUtilLibPlatformUtils.Opaque;\n  exports.assert = _glimmerUtilLibAssert.default;\n  exports.LOGGER = _glimmerUtilLibLogger.default;\n  exports.Logger = _glimmerUtilLibLogger.Logger;\n  exports.LogLevel = _glimmerUtilLibLogger.LogLevel;\n  exports.assign = _glimmerUtilLibObjectUtils.assign;\n  exports.ensureGuid = _glimmerUtilLibGuid.ensureGuid;\n  exports.initializeGuid = _glimmerUtilLibGuid.initializeGuid;\n  exports.HasGuid = _glimmerUtilLibGuid.HasGuid;\n  exports.Stack = _glimmerUtilLibCollections.Stack;\n  exports.Dict = _glimmerUtilLibCollections.Dict;\n  exports.Set = _glimmerUtilLibCollections.Set;\n  exports.DictSet = _glimmerUtilLibCollections.DictSet;\n  exports.dict = _glimmerUtilLibCollections.dict;\n  exports.EMPTY_SLICE = _glimmerUtilLibListUtils.EMPTY_SLICE;\n  exports.LinkedList = _glimmerUtilLibListUtils.LinkedList;\n  exports.LinkedListNode = _glimmerUtilLibListUtils.LinkedListNode;\n  exports.ListNode = _glimmerUtilLibListUtils.ListNode;\n  exports.CloneableListNode = _glimmerUtilLibListUtils.CloneableListNode;\n  exports.ListSlice = _glimmerUtilLibListUtils.ListSlice;\n  exports.Slice = _glimmerUtilLibListUtils.Slice;\n});\n\nenifed(\"glimmer-util/lib/assert\", [\"exports\"], function (exports) {\n    // import Logger from './logger';\n    // let alreadyWarned = false;\n    \"use strict\";\n\n    exports.debugAssert = debugAssert;\n    exports.prodAssert = prodAssert;\n\n    function debugAssert(test, msg) {\n        // if (!alreadyWarned) {\n        //   alreadyWarned = true;\n        //   Logger.warn(\"Don't leave debug assertions on in public builds\");\n        // }\n        if (!test) {\n            throw new Error(msg || \"assertion failure\");\n        }\n    }\n\n    function prodAssert() {}\n\n    exports.default = debugAssert;\n});\n\nenifed('glimmer-util/lib/collections', ['exports', 'glimmer-util/lib/guid'], function (exports, _glimmerUtilLibGuid) {\n    'use strict';\n\n    exports.dict = dict;\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\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[_glimmerUtilLibGuid.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    exports.DictSet = DictSet;\n\n    var Stack = (function () {\n        function Stack() {\n            this.stack = [];\n            this.current = null;\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;\n        };\n\n        Stack.prototype.isEmpty = function isEmpty() {\n            return this.stack.length === 0;\n        };\n\n        return Stack;\n    })();\n\n    exports.Stack = Stack;\n});\n\nenifed(\"glimmer-util/lib/guid\", [\"exports\"], function (exports) {\n    \"use strict\";\n\n    exports.initializeGuid = initializeGuid;\n    exports.ensureGuid = ensureGuid;\n    var GUID = 0;\n\n    function initializeGuid(object) {\n        return object._guid = ++GUID;\n    }\n\n    function ensureGuid(object) {\n        return object._guid || initializeGuid(object);\n    }\n});\n\nenifed(\"glimmer-util/lib/list-utils\", [\"exports\"], function (exports) {\n    \"use strict\";\n\n    var ListNode = function ListNode(value) {\n        this.next = null;\n        this.prev = null;\n        this.value = value;\n    };\n\n    exports.ListNode = ListNode;\n\n    var LinkedList = (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.spliceList = function spliceList(list, reference) {\n            if (list.isEmpty()) return;\n            this.splice(list.head(), list.tail(), reference);\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    exports.LinkedList = LinkedList;\n\n    var LinkedListRemover = (function () {\n        function LinkedListRemover(node) {\n            this.node = node;\n        }\n\n        LinkedListRemover.prototype.destroy = function destroy() {\n            var _node = this.node;\n            var prev = _node.prev;\n            var next = _node.next;\n\n            prev.next = next;\n            next.prev = prev;\n        };\n\n        return LinkedListRemover;\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    exports.ListSlice = ListSlice;\n    var EMPTY_SLICE = new ListSlice(null, null);\n    exports.EMPTY_SLICE = EMPTY_SLICE;\n});\n\nenifed(\"glimmer-util/lib/logger\", [\"exports\"], function (exports) {\n    \"use strict\";\n\n    var LogLevel;\n    exports.LogLevel = 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 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    exports.Logger = Logger;\n\n    var _console = typeof console === 'undefined' ? new NullConsole() : console;\n    var ALWAYS = new Logger({ console: _console, level: LogLevel.Trace });\n    var LOG_LEVEL = LogLevel.Warn;\n    exports.default = new Logger({ console: _console, level: LOG_LEVEL });\n});\n\nenifed('glimmer-util/lib/namespaces', ['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    exports.getAttrNamespace = getAttrNamespace;\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\n    function getAttrNamespace(attrName) {\n        return WHITELIST[attrName] || null;\n    }\n});\n\nenifed('glimmer-util/lib/object-utils', ['exports'], function (exports) {\n    'use strict';\n\n    exports.assign = assign;\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});\n\nenifed(\"glimmer-util/lib/platform-utils\", [\"exports\"], function (exports) {\n    \"use strict\";\n\n    exports.unwrap = unwrap;\n\n    function unwrap(val) {\n        if (val === null || val === undefined) throw new Error(\"Expected value to be present\");\n        return val;\n    }\n});\n\nenifed(\"glimmer-util/lib/quoting\", [\"exports\"], function (exports) {\n    \"use strict\";\n\n    exports.hash = hash;\n    exports.repeat = repeat;\n    function escapeString(str) {\n        str = str.replace(/\\\\/g, \"\\\\\\\\\");\n        str = str.replace(/\"/g, '\\\\\"');\n        str = str.replace(/\\n/g, \"\\\\n\");\n        return str;\n    }\n    exports.escapeString = escapeString;\n\n    function string(str) {\n        return '\"' + escapeString(str) + '\"';\n    }\n    exports.string = string;\n\n    function array(a) {\n        return \"[\" + a + \"]\";\n    }\n    exports.array = array;\n\n    function hash(pairs) {\n        return \"{\" + pairs.join(\", \") + \"}\";\n    }\n\n    function repeat(chars, times) {\n        var str = \"\";\n        while (times--) {\n            str += chars;\n        }\n        return str;\n    }\n});\n\nenifed('glimmer-wire-format/index', ['exports'], function (exports) {\n    'use strict';\n\n    function is(variant) {\n        return function (value) {\n            return value[0] === variant;\n        };\n    }\n    var Expressions;\n    exports.Expressions = Expressions;\n    (function (Expressions) {\n        Expressions.isUnknown = is('unknown');\n        Expressions.isArg = is('arg');\n        Expressions.isGet = is('get');\n        Expressions.isConcat = is('concat');\n        Expressions.isHelper = is('helper');\n        Expressions.isHasBlock = is('has-block');\n        Expressions.isHasBlockParams = is('has-block-params');\n        Expressions.isUndefined = is('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    exports.Statements = Statements;\n    (function (Statements) {\n        Statements.isText = is('text');\n        Statements.isAppend = is('append');\n        Statements.isComment = is('comment');\n        Statements.isModifier = is('modifier');\n        Statements.isBlock = is('block');\n        Statements.isOpenElement = is('open-element');\n        Statements.isFlushElement = is('flush-element');\n        Statements.isCloseElement = is('close-element');\n        Statements.isStaticAttr = is('static-attr');\n        Statements.isDynamicAttr = is('dynamic-attr');\n        Statements.isYield = is('yield');\n        Statements.isPartial = is('partial');\n        Statements.isDynamicArg = is('dynamic-arg');\n        Statements.isStaticArg = is('static-arg');\n        Statements.isTrustingAttr = is('trusting-attr');\n    })(Statements || (exports.Statements = Statements = {}));\n});\n\nenifed('glimmer/index', ['exports', 'glimmer-compiler'], function (exports, _glimmerCompiler) {\n  /*\n   * @overview  Glimmer\n   * @copyright Copyright 2011-2015 Tilde Inc. and contributors\n   * @license   Licensed under MIT license\n   *            See https://raw.githubusercontent.com/tildeio/glimmer/master/LICENSE\n   * @version   VERSION_STRING_PLACEHOLDER\n   */\n  'use strict';\n\n  exports.precompile = _glimmerCompiler.precompile;\n});\n\nenifed('route-recognizer', ['exports'], function (exports) { 'use strict';\n\nfunction Target(path, matcher, delegate) {\n  this.path = path;\n  this.matcher = matcher;\n  this.delegate = delegate;\n}\n\nTarget.prototype = {\n  to: function(target, callback) {\n    var delegate = this.delegate;\n\n    if (delegate && delegate.willAddRoute) {\n      target = delegate.willAddRoute(this.matcher.target, target);\n    }\n\n    this.matcher.add(this.path, target);\n\n    if (callback) {\n      if (callback.length === 0) { throw new Error(\"You must have an argument in the function passed to `to`\"); }\n      this.matcher.addChild(this.path, target, callback, this.delegate);\n    }\n    return this;\n  }\n};\n\nfunction Matcher(target) {\n  this.routes = {};\n  this.children = {};\n  this.target = target;\n}\n\nMatcher.prototype = {\n  add: function(path, handler) {\n    this.routes[path] = handler;\n  },\n\n  addChild: function(path, target, callback, delegate) {\n    var matcher = new Matcher(target);\n    this.children[path] = matcher;\n\n    var match = generateMatch(path, matcher, delegate);\n\n    if (delegate && delegate.contextEntered) {\n      delegate.contextEntered(target, match);\n    }\n\n    callback(match);\n  }\n};\n\nfunction generateMatch(startingPath, matcher, delegate) {\n  return function(path, nestedCallback) {\n    var fullPath = startingPath + path;\n\n    if (nestedCallback) {\n      nestedCallback(generateMatch(fullPath, matcher, delegate));\n    } else {\n      return new Target(startingPath + path, matcher, delegate);\n    }\n  };\n}\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\n  path = path.substr(len);\n  var route = { path: path, handler: handler };\n  routeArray.push(route);\n}\n\nfunction eachRoute(baseRoute, matcher, callback, binding) {\n  var routes = matcher.routes;\n\n  for (var path in routes) {\n    if (routes.hasOwnProperty(path)) {\n      var routeArray = baseRoute.slice();\n      addRoute(routeArray, path, routes[path]);\n\n      if (matcher.children[path]) {\n        eachRoute(routeArray, matcher.children[path], callback, binding);\n      } else {\n        callback.call(binding, routeArray);\n      }\n    }\n  }\n}\n\nvar map = function(callback, addRouteCallback) {\n  var matcher = new Matcher();\n\n  callback(generateMatch(\"\", matcher, this.delegate));\n\n  eachRoute([], matcher, function(route) {\n    if (addRouteCallback) { addRouteCallback(this, route); }\n    else { this.add(route); }\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.\nfunction normalizePath(path) {\n  return path.split('/')\n             .map(normalizeSegment)\n             .join('/');\n}\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  return decodeURIComponent(segment).replace(SEGMENT_RESERVED_CHARS, encodeURIComponent);\n}\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 = /%(?:24|26|2B|2C|3B|3D|3A|40)/g;\n\nfunction encodePathSegment(str) {\n  return encodeURIComponent(str).replace(PATH_SEGMENT_ENCODINGS, decodeURIComponent);\n}\n\nvar specials = [\n  '/', '.', '*', '+', '?', '|',\n  '(', ')', '[', ']', '{', '}', '\\\\'\n];\n\nvar escapeRegex = new RegExp('(\\\\' + specials.join('|\\\\') + ')', 'g');\n\nfunction isArray(test) {\n  return Object.prototype.toString.call(test) === \"[object Array]\";\n}\n\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 (!params.hasOwnProperty(key)) {\n    throw new Error(\"You must provide param `\" + key + \"` to `generate`.\");\n  }\n  if ((\"\" + params[key]).length === 0) {\n    throw new Error(\"You must provide a param `\" + key + \"`.\");\n  }\n\n  return params[key];\n}\n\n// A Segment represents a segment in the original route description.\n// Each Segment type provides an `eachChar` and `regex` method.\n//\n// The `eachChar` method invokes the callback with one or more character\n// specifications. A character specification consumes one or more input\n// characters.\n//\n// The `regex` method returns a regex fragment for the segment. If the\n// segment is a dynamic of star segment, the regex fragment also includes\n// a capture.\n//\n// A character specification contains:\n//\n// * `validChars`: a String with a list of all valid characters, or\n// * `invalidChars`: a String with a list of all invalid characters\n// * `repeat`: true if the character specification can repeat\n\nfunction StaticSegment(string) { this.string = normalizeSegment(string); }\nStaticSegment.prototype = {\n  eachChar: function(currentState) {\n    var string = this.string, ch;\n\n    for (var i=0; i<string.length; i++) {\n      ch = string.charAt(i);\n      currentState = currentState.put({ invalidChars: undefined, repeat: false, validChars: ch });\n    }\n\n    return currentState;\n  },\n\n  regex: function() {\n    return this.string.replace(escapeRegex, '\\\\$1');\n  },\n\n  generate: function() {\n    return this.string;\n  }\n};\n\nfunction DynamicSegment(name) { this.name = normalizeSegment(name); }\nDynamicSegment.prototype = {\n  eachChar: function(currentState) {\n    return currentState.put({ invalidChars: \"/\", repeat: true, validChars: undefined });\n  },\n\n  regex: function() {\n    return \"([^/]+)\";\n  },\n\n  generate: function(params) {\n    var value = getParam(params, this.name);\n\n    if (RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS) {\n      return encodePathSegment(value);\n    } else {\n      return value;\n    }\n  }\n};\n\nfunction StarSegment(name) { this.name = name; }\nStarSegment.prototype = {\n  eachChar: function(currentState) {\n    return currentState.put({ invalidChars: \"\", repeat: true, validChars: undefined });\n  },\n\n  regex: function() {\n    return \"(.+)\";\n  },\n\n  generate: function(params) {\n    return getParam(params, this.name);\n  }\n};\n\nfunction EpsilonSegment() {}\nEpsilonSegment.prototype = {\n  eachChar: function(currentState) {\n    return currentState;\n  },\n  regex: function() { return \"\"; },\n  generate: function() { return \"\"; }\n};\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(route, names, types, shouldDecodes) {\n  // normalize route as not starting with a \"/\". Recognition will\n  // also normalize.\n  if (route.charAt(0) === \"/\") { route = route.substr(1); }\n\n  var segments = route.split(\"/\");\n  var results = new Array(segments.length);\n\n  for (var i=0; i<segments.length; i++) {\n    var segment = segments[i], match;\n\n    if (match = segment.match(/^:([^\\/]+)$/)) {\n      results[i] = new DynamicSegment(match[1]);\n      names.push(match[1]);\n      shouldDecodes.push(true);\n      types.dynamics++;\n    } else if (match = segment.match(/^\\*([^\\/]+)$/)) {\n      results[i] = new StarSegment(match[1]);\n      names.push(match[1]);\n      shouldDecodes.push(false);\n      types.stars++;\n    } else if(segment === \"\") {\n      results[i] = new EpsilonSegment();\n    } else {\n      results[i] = new StaticSegment(segment);\n      types.statics++;\n    }\n  }\n\n  return results;\n}\n\nfunction isEqualCharSpec(specA, specB) {\n  return specA.validChars === specB.validChars &&\n         specA.invalidChars === specB.invalidChars;\n}\n\n// A State has a character specification and (`charSpec`) and a list of possible\n// subsequent states (`nextStates`).\n//\n// If a State is an accepting state, it will also have several additional\n// properties:\n//\n// * `regex`: A regular expression that is used to extract parameters from paths\n//   that reached this accepting state.\n// * `handlers`: Information on how to convert the list of captures into calls\n//   to registered handlers with the specified parameters\n// * `types`: How many static, dynamic or star segments in this route. Used to\n//   decide which route to use if multiple registered routes match a path.\n//\n// Currently, State is implemented naively by looping over `nextStates` and\n// comparing a character specification against a character. A more efficient\n// implementation would use a hash of keys pointing at one or more next states.\n\nfunction State(charSpec) {\n  this.charSpec = charSpec;\n  this.nextStates = [];\n  this.regex = undefined;\n  this.handlers = undefined;\n  this.specificity = undefined;\n}\n\nState.prototype = {\n  get: function(charSpec) {\n    var nextStates = this.nextStates;\n\n    for (var i=0; i<nextStates.length; i++) {\n      var child = nextStates[i];\n\n      if (isEqualCharSpec(child.charSpec, charSpec)) {\n        return child;\n      }\n    }\n  },\n\n  put: function(charSpec) {\n    var state;\n\n    // If the character specification already exists in a child of the current\n    // state, just return that state.\n    if (state = this.get(charSpec)) { return state; }\n\n    // Make a new state for the character spec\n    state = new State(charSpec);\n\n    // Insert the new state as a child of the current state\n    this.nextStates.push(state);\n\n    // If this character specification repeats, insert the new state as a child\n    // of itself. Note that this will not trigger an infinite loop because each\n    // transition during recognition consumes a character.\n    if (charSpec.repeat) {\n      state.nextStates.push(state);\n    }\n\n    // Return the new state\n    return state;\n  },\n\n  // Find a list of child states matching the next character\n  match: function(ch) {\n    var nextStates = this.nextStates,\n        child, charSpec, chars;\n\n    var returned = [];\n\n    for (var i=0; i<nextStates.length; i++) {\n      child = nextStates[i];\n\n      charSpec = child.charSpec;\n\n      if (typeof (chars = charSpec.validChars) !== 'undefined') {\n        if (chars.indexOf(ch) !== -1) { returned.push(child); }\n      } else if (typeof (chars = charSpec.invalidChars) !== 'undefined') {\n        if (chars.indexOf(ch) === -1) { returned.push(child); }\n      }\n    }\n\n    return returned;\n  }\n};\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    if (a.types.stars !== b.types.stars) { return a.types.stars - b.types.stars; }\n\n    if (a.types.stars) {\n      if (a.types.statics !== b.types.statics) { return b.types.statics - a.types.statics; }\n      if (a.types.dynamics !== b.types.dynamics) { return b.types.dynamics - a.types.dynamics; }\n    }\n\n    if (a.types.dynamics !== b.types.dynamics) { return a.types.dynamics - b.types.dynamics; }\n    if (a.types.statics !== b.types.statics) { return b.types.statics - a.types.statics; }\n\n    return 0;\n  });\n}\n\nfunction recognizeChar(states, ch) {\n  var nextStates = [];\n\n  for (var i=0, l=states.length; i<l; i++) {\n    var state = states[i];\n\n    nextStates = nextStates.concat(state.match(ch));\n  }\n\n  return nextStates;\n}\n\nvar oCreate = Object.create || function(proto) {\n  function F() {}\n  F.prototype = proto;\n  return new F();\n};\n\nfunction RecognizeResults(queryParams) {\n  this.queryParams = queryParams || {};\n}\nRecognizeResults.prototype = oCreate({\n  splice: Array.prototype.splice,\n  slice:  Array.prototype.slice,\n  push:   Array.prototype.push,\n  length: 0,\n  queryParams: null\n});\n\nfunction findHandler(state, originalPath, queryParams) {\n  var handlers = state.handlers, regex = state.regex;\n  var captures = originalPath.match(regex), currentCapture = 1;\n  var result = new RecognizeResults(queryParams);\n\n  result.length = handlers.length;\n\n  for (var i=0; i<handlers.length; i++) {\n    var handler = handlers[i], names = handler.names,\n      shouldDecodes = handler.shouldDecodes, params = {};\n    var name, shouldDecode, capture;\n\n    for (var j=0; j<names.length; j++) {\n      name = names[j];\n      shouldDecode = shouldDecodes[j];\n      capture = captures[currentCapture++];\n\n      if (RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS) {\n        if (shouldDecode) {\n          params[name] = decodeURIComponent(capture);\n        } else {\n          params[name] = capture;\n        }\n      } else {\n        params[name] = capture;\n      }\n    }\n\n    result[i] = { handler: handler.handler, params: params, isDynamic: !!names.length };\n  }\n\n  return result;\n}\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  } catch(error) {result = '';}\n  return result;\n}\n\n// The main interface\n\nvar RouteRecognizer = function() {\n  this.rootState = new State();\n  this.names = {};\n};\n\n\nRouteRecognizer.prototype = {\n  add: function(routes, options) {\n    var currentState = this.rootState, regex = \"^\",\n        types = { statics: 0, dynamics: 0, stars: 0 },\n        handlers = new Array(routes.length), allSegments = [], name;\n\n    var isEmpty = true;\n\n    for (var i=0; i<routes.length; i++) {\n      var route = routes[i], names = [], shouldDecodes = [];\n\n      var segments = parse(route.path, names, types, shouldDecodes);\n\n      allSegments = allSegments.concat(segments);\n\n      for (var j=0; j<segments.length; j++) {\n        var segment = segments[j];\n\n        if (segment instanceof EpsilonSegment) { continue; }\n\n        isEmpty = false;\n\n        // Add a \"/\" for the new segment\n        currentState = currentState.put({ invalidChars: undefined, repeat: false, validChars: \"/\" });\n        regex += \"/\";\n\n        // Add a representation of the segment to the NFA and regex\n        currentState = segment.eachChar(currentState);\n        regex += segment.regex();\n      }\n      var handler = { handler: route.handler, names: names, shouldDecodes: shouldDecodes };\n      handlers[i] = handler;\n    }\n\n    if (isEmpty) {\n      currentState = currentState.put({ invalidChars: undefined, repeat: false, validChars: \"/\" });\n      regex += \"/\";\n    }\n\n    currentState.handlers = handlers;\n    currentState.regex = new RegExp(regex + \"$\");\n    currentState.types = types;\n\n    if (typeof options === \"object\" && options !== null && options.hasOwnProperty(\"as\")) {\n      name = options.as;\n    }\n\n    if (name = options && options.as) {\n      this.names[name] = {\n        segments: allSegments,\n        handlers: handlers\n      };\n    }\n  },\n\n  handlersFor: function(name) {\n    var route = this.names[name];\n\n    if (!route) { throw new Error(\"There is no route named \" + name); }\n\n    var result = new Array(route.handlers.length);\n\n    for (var i=0; i<route.handlers.length; i++) {\n      result[i] = route.handlers[i];\n    }\n\n    return result;\n  },\n\n  hasRoute: function(name) {\n    return !!this.names[name];\n  },\n\n  generate: function(name, params) {\n    var route = this.names[name], output = \"\";\n    if (!route) { throw new Error(\"There is no route named \" + name); }\n\n    var segments = route.segments;\n\n    for (var i=0; i<segments.length; i++) {\n      var segment = segments[i];\n\n      if (segment instanceof EpsilonSegment) { continue; }\n\n      output += \"/\";\n      output += segment.generate(params);\n    }\n\n    if (output.charAt(0) !== '/') { output = '/' + output; }\n\n    if (params && params.queryParams) {\n      output += this.generateQueryString(params.queryParams, route.handlers);\n    }\n\n    return output;\n  },\n\n  generateQueryString: function(params) {\n    var pairs = [];\n    var keys = [];\n    for(var key in params) {\n      if (params.hasOwnProperty(key)) {\n        keys.push(key);\n      }\n    }\n    keys.sort();\n    for (var i = 0; i < keys.length; i++) {\n      key = keys[i];\n      var value = params[key];\n      if (value == null) {\n        continue;\n      }\n      var pair = encodeURIComponent(key);\n      if (isArray(value)) {\n        for (var j = 0; j < value.length; j++) {\n          var arrayPair = key + '[]' + '=' + encodeURIComponent(value[j]);\n          pairs.push(arrayPair);\n        }\n      } else {\n        pair += \"=\" + encodeURIComponent(value);\n        pairs.push(pair);\n      }\n    }\n\n    if (pairs.length === 0) { return ''; }\n\n    return \"?\" + pairs.join(\"&\");\n  },\n\n  parseQueryString: function(queryString) {\n    var pairs = queryString.split(\"&\"), queryParams = {};\n    for(var i=0; i < pairs.length; i++) {\n      var pair      = pairs[i].split('='),\n          key       = decodeQueryParamPart(pair[0]),\n          keyLength = key.length,\n          isArray = false,\n          value;\n      if (pair.length === 1) {\n        value = 'true';\n      } else {\n        //Handle arrays\n        if (keyLength > 2 && key.slice(keyLength -2) === '[]') {\n          isArray = true;\n          key = key.slice(0, keyLength - 2);\n          if(!queryParams[key]) {\n            queryParams[key] = [];\n          }\n        }\n        value = pair[1] ? decodeQueryParamPart(pair[1]) : '';\n      }\n      if (isArray) {\n        queryParams[key].push(value);\n      } else {\n        queryParams[key] = value;\n      }\n    }\n    return queryParams;\n  },\n\n  recognize: function(path) {\n    var states = [ this.rootState ],\n        pathLen, i, queryStart, queryParams = {},\n        hashStart,\n        isSlashDropped = false;\n\n    hashStart = path.indexOf('#');\n    if (hashStart !== -1) {\n      path = path.substr(0, hashStart);\n    }\n\n    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\n    if (path.charAt(0) !== \"/\") { path = \"/\" + path; }\n    var originalPath = path;\n\n    if (RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS) {\n      path = normalizePath(path);\n    } else {\n      path = decodeURI(path);\n      originalPath = decodeURI(originalPath);\n    }\n\n    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\n    for (i=0; i<path.length; i++) {\n      states = recognizeChar(states, path.charAt(i));\n      if (!states.length) { break; }\n    }\n\n    var solutions = [];\n    for (i=0; i<states.length; i++) {\n      if (states[i].handlers) { solutions.push(states[i]); }\n    }\n\n    states = sortSolutions(solutions);\n\n    var state = solutions[0];\n\n    if (state && state.handlers) {\n      // if a trailing slash was dropped and a star segment is the last segment\n      // specified, put the trailing slash back\n      if (isSlashDropped && state.regex.source.slice(-5) === \"(.+)$\") {\n         originalPath = originalPath + \"/\";\n       }\n      return findHandler(state, originalPath, queryParams);\n    }\n  }\n};\n\nRouteRecognizer.prototype.map = map;\n\nRouteRecognizer.VERSION = '0.2.10';\n\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;\n\nRouteRecognizer.Normalizer = {\n  normalizeSegment: normalizeSegment,\n  normalizePath: normalizePath,\n  encodePathSegment: encodePathSegment\n};\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","// ag-grid-enterprise v9.0.3\n!function(e,t){\"object\"==typeof exports&&\"object\"==typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define([],t):\"object\"==typeof exports?exports.agGrid=t():e.agGrid=t()}(this,function(){return function(e){function t(n){if(o[n])return o[n].exports;var i=o[n]={exports:{},id:n,loaded:!1};return e[n].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var o={};return t.m=e,t.c=o,t.p=\"\",t(0)}([function(e,t,o){o(1),(0,o(164).populateClientExports)(t),(0,o(3).populateClientExports)(t),o(165),o(169),o(171),o(173),o(175),o(177)},function(e,t,o){\"use strict\";var n=o(2),i=o(125),r=o(133),s=o(132),a=o(135),l=o(136),p=o(139),d=o(148),c=o(150),u=o(151),h=o(152),g=o(155),f=o(159),y=o(146),v=o(147),m=o(137),C=o(138),E=o(134),w=o(160),b=o(131),R=o(161),A=o(162),S=o(163),O={viewport:u.ViewportRowModel,enterprise:S.EnterpriseRowModel};n.Grid.setEnterpriseBeans([g.ToolPanelComp,i.EnterpriseMenuFactory,R.ExcelCreator,A.ExcelXmlFactory,f.RowGroupCompFactory,w.PivotCompFactory,h.PivotColumnsPanel,r.RangeController,s.ClipboardService,m.PivotStage,C.PivotColDefService,c.ContextMenuFactory,a.GroupStage,l.AggregationStage,p.EnterpriseBoot,E.AggFuncService,d.StatusBar,y.LicenseManager,v.MD5,b.MenuItemMapper],O)},function(e,t,o){(0,o(3).populateClientExports)(t)},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";function n(e){e.BalancedColumnTreeBuilder=C.BalancedColumnTreeBuilder,e.ColumnController=l.ColumnController,e.ColumnKeyCreator=E.ColumnKeyCreator,e.ColumnUtils=w.ColumnUtils,e.DisplayedGroupCreator=b.DisplayedGroupCreator,e.GroupInstanceIdCreator=R.GroupInstanceIdCreator,e.ComponentUtil=a.ComponentUtil,e.initialiseAgGridWithAngular1=p.initialiseAgGridWithAngular1,e.initialiseAgGridWithWebComponents=d.initialiseAgGridWithWebComponents,e.BeanStub=Ze.BeanStub,e.Context=A.Context,e.Autowired=A.Autowired,e.PostConstruct=A.PostConstruct,e.PreConstruct=A.PreConstruct,e.PreDestroy=A.PreDestroy,e.Optional=A.Optional,e.Bean=A.Bean,e.Qualifier=A.Qualifier,e.Listener=Te.Listener,e.QuerySelector=Te.QuerySelector,e.HDirection=S.HDirection,e.VDirection=S.VDirection,e.DragAndDropService=S.DragAndDropService,e.DragService=O.DragService,e.DragSourceType=S.DragSourceType,e.Column=f.Column,e.ColumnGroup=g.ColumnGroup,e.GridCell=c.GridCell,e.GridRow=ge.GridRow,e.OriginalColumnGroup=h.OriginalColumnGroup,e.RowNode=u.RowNode,e.BaseFilter=Xe.BaseFilter,e.DateFilter=Ke.DateFilter,e.FilterManager=x.FilterManager,e.NumberFilter=P.NumberFilter,e.TextFilter=D.TextFilter,e.GridPanel=T.GridPanel,e.ScrollVisibleService=ze.ScrollVisibleService,e.MouseEventService=N.MouseEventService,e.BodyDropPivotTarget=Fe.BodyDropPivotTarget,e.BodyDropTarget=_e.BodyDropTarget,e.CssClassApplier=F.CssClassApplier,e.HeaderContainer=_.HeaderContainer,e.HeaderRenderer=G.HeaderRenderer,e.HeaderRowComp=Le.HeaderRowComp,e.HeaderTemplateLoader=M.HeaderTemplateLoader,e.HorizontalDragService=I.HorizontalDragService,e.MoveColumnController=L.MoveColumnController,e.RenderedHeaderCell=W.RenderedHeaderCell,e.StandardMenuFactory=V.StandardMenuFactory,e.BorderLayout=U.BorderLayout,e.TabbedLayout=k.TabbedLayout,e.VerticalStack=B.VerticalStack,e.FocusService=Ge.FocusService,e.MethodNotImplementedException=He.MethodNotImplementedException,e.simpleHttpRequest=qe.simpleHttpRequest,e.LargeTextCellEditor=Ae.LargeTextCellEditor,e.PopupEditorWrapper=Ce.PopupEditorWrapper,e.PopupSelectCellEditor=Ee.PopupSelectCellEditor,e.PopupTextCellEditor=we.PopupTextCellEditor,e.SelectCellEditor=be.SelectCellEditor,e.TextCellEditor=Re.TextCellEditor,e.AnimateShowChangeCellRenderer=We.AnimateShowChangeCellRenderer,e.AnimateSlideCellRenderer=ve.AnimateSlideCellRenderer,e.GroupCellRenderer=Oe.GroupCellRenderer,e.SetLeftFeature=Me.SetLeftFeature,e.AutoWidthCalculator=H.AutoWidthCalculator,e.CellEditorFactory=me.CellEditorFactory,e.RenderedHeaderCell=W.RenderedHeaderCell,e.CellRendererFactory=Se.CellRendererFactory,e.CellRendererService=xe.CellRendererService,e.CheckboxSelectionComponent=De.CheckboxSelectionComponent,e.RenderedCell=Ie.RenderedCell,e.RenderedRow=j.RenderedRow,e.RowRenderer=z.RowRenderer,e.ValueFormatterService=Pe.ValueFormatterService,e.FilterStage=Y.FilterStage,e.FlattenStage=Z.FlattenStage,e.InMemoryRowModel=fe.InMemoryRowModel,e.SortStage=Q.SortStage,e.InMemoryNodeManager=Ve.InMemoryNodeManager,e.FloatingRowModel=J.FloatingRowModel,e.InfiniteRowModel=ye.InfiniteRowModel,e.RowNodeCache=Ue.RowNodeCache,e.InfiniteCache=Ue.InfiniteCache,e.RowNodeBlock=ke.RowNodeBlock,e.InfiniteBlock=ke.InfiniteBlock,e.StylingService=Je.StylingService,e.AgCheckbox=Ne.AgCheckbox,e.Component=X.Component,e.PopupService=he.PopupService,e.Listener=Te.Listener,e.QuerySelector=Te.QuerySelector,e.TouchListener=je.TouchListener,e.BaseFrameworkFactory=Be.BaseFrameworkFactory,e.CellNavigationService=K.CellNavigationService,e.ColumnChangeEvent=q.ColumnChangeEvent,e.Constants=$.Constants,e.CsvCreator=ee.CsvCreator,e.Downloader=te.Downloader,e.Events=s.Events,e.EventService=oe.EventService,e.ExpressionService=ne.ExpressionService,e.FocusedCellController=y.FocusedCellController,e.defaultGroupComparator=v.defaultGroupComparator,e.Grid=i.Grid,e.GridApi=r.GridApi,e.GridCore=ie.GridCore,e.GridOptionsWrapper=m.GridOptionsWrapper,e.Logger=re.Logger,e.MasterSlaveService=se.MasterSlaveService,e.SelectionController=ae.SelectionController,e.CheckboxSelectionComponent=De.CheckboxSelectionComponent,e.SortController=le.SortController,e.SvgFactory=pe.SvgFactory,e.TemplateService=de.TemplateService,e.Utils=ce.Utils,e._=ce._,e.NumberSequence=ce.NumberSequence,e.ValueService=ue.ValueService,e.XmlFactory=Ye.XmlFactory,e.GridSerializer=Qe.GridSerializer,e.BaseGridSerializingSession=Qe.BaseGridSerializingSession,e.RowType=Qe.RowType}Object.defineProperty(t,\"__esModule\",{value:!0});var i=o(4),r=o(13),s=o(12),a=o(11),l=o(16),p=o(120),d=o(121),c=o(37),u=o(30),h=o(20),g=o(17),f=o(18),y=o(36),v=o(104),m=o(5),C=o(22),E=o(23),w=o(19),b=o(24),R=o(102),A=o(8),S=o(88),O=o(34),x=o(48),P=o(54),D=o(50),T=o(27),N=o(35),F=o(93),_=o(87),G=o(86),M=o(91),I=o(92),L=o(99),W=o(90),V=o(106),U=o(33),k=o(122),B=o(123),H=o(25),j=o(44),z=o(26),Y=o(107),Z=o(111),Q=o(109),J=o(29),X=o(52),K=o(85),q=o(101),$=o(10),ee=o(14),te=o(105),oe=o(6),ne=o(21),ie=o(47),re=o(7),se=o(28),ae=o(31),le=o(61),pe=o(58),de=o(43),ce=o(9),ue=o(32),he=o(49),ge=o(38),fe=o(115),ye=o(112),ve=o(76),me=o(68),Ce=o(71),Ee=o(73),we=o(72),be=o(70),Re=o(69),Ae=o(74),Se=o(75),Oe=o(78),xe=o(79),Pe=o(80),De=o(81),Te=o(53),Ne=o(95),Fe=o(100),_e=o(98),Ge=o(46),Me=o(64),Ie=o(45),Le=o(89),We=o(77),Ve=o(116),Ue=o(113),ke=o(114),Be=o(117),He=o(82),je=o(59),ze=o(39),Ye=o(118),Ze=o(40),Qe=o(15),Je=o(83),Xe=o(51),Ke=o(55),qe=o(124);t.populateClientExports=n},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var n=o(5),i=o(29),r=o(31),s=o(16),a=o(26),l=o(86),p=o(48),d=o(32),c=o(28),u=o(6),h=o(27),g=o(13),f=o(91),y=o(22),v=o(24),m=o(21),C=o(43),E=o(49),w=o(7),b=o(19),R=o(25),A=o(92),S=o(8),O=o(14),x=o(47),P=o(106),D=o(88),T=o(34),N=o(61),F=o(36),_=o(35),G=o(85),M=o(9),I=o(107),L=o(109),W=o(111),V=o(46),U=o(68),k=o(12),B=o(112),H=o(115),j=o(75),z=o(79),Y=o(80),Z=o(95),Q=o(117),J=o(39),X=o(105),K=o(118),q=o(15),$=o(83),ee=o(84),te=o(65),oe=o(56),ne=o(67),ie=o(110),re=o(108),se=o(119),ae=o(103),le=o(42),pe=function(){function e(t,o,B){t||console.error(\"ag-Grid: no div element provided to the grid\"),o||console.error(\"ag-Grid: no gridOptions provided to the grid\");var H=this.getRowModelClass(o),pe=M.Utils.exists(e.enterpriseBeans),de=B?B.frameworkFactory:null;M.Utils.missing(de)&&(de=new Q.BaseFrameworkFactory);var ce=[];e.enterpriseBeans&&(ce=ce.concat(e.enterpriseBeans)),e.frameworkBeans&&(ce=ce.concat(e.frameworkBeans));var ue={enterprise:pe,gridOptions:o,eGridDiv:t,$scope:B?B.$scope:null,$compile:B?B.$compile:null,quickFilterOnScope:B?B.quickFilterOnScope:null,globalEventListener:B?B.globalEventListener:null,frameworkFactory:de};B&&B.seedBeanInstances&&M.Utils.assign(ue,B.seedBeanInstances);var he={overrideBeans:ce,seed:ue,beans:[H,le.PaginationAutoPageSizeService,g.GridApi,oe.ComponentProvider,j.CellRendererFactory,A.HorizontalDragService,f.HeaderTemplateLoader,i.FloatingRowModel,T.DragService,v.DisplayedGroupCreator,u.EventService,n.GridOptionsWrapper,r.SelectionController,p.FilterManager,s.ColumnController,le.PaginationProxy,a.RowRenderer,l.HeaderRenderer,m.ExpressionService,y.BalancedColumnTreeBuilder,O.CsvCreator,X.Downloader,K.XmlFactory,q.GridSerializer,C.TemplateService,h.GridPanel,E.PopupService,d.ValueService,c.MasterSlaveService,w.LoggerFactory,b.ColumnUtils,R.AutoWidthCalculator,E.PopupService,x.GridCore,P.StandardMenuFactory,D.DragAndDropService,N.SortController,s.ColumnApi,F.FocusedCellController,_.MouseEventService,G.CellNavigationService,I.FilterStage,L.SortStage,W.FlattenStage,V.FocusService,re.FilterService,se.RowNodeFactory,U.CellEditorFactory,z.CellRendererService,Y.ValueFormatterService,$.StylingService,J.ScrollVisibleService,ee.ColumnHoverService,te.ColumnAnimationService,ne.ServerPaginationService,ie.SortService,ae.AutoGroupColService],components:[{componentName:\"AgCheckbox\",theClass:Z.AgCheckbox}],debug:!!o.debug};this.context=new S.Context(he,new w.Logger(\"Context\",he.debug));var ge=this.context.getBean(\"eventService\"),fe={api:o.api,columnApi:o.columnApi};ge.dispatchEvent(k.Events.EVENT_GRID_READY,fe),o.debug&&console.log(\"ag-Grid -> initialised successfully, enterprise = \"+pe)}return e.setEnterpriseBeans=function(t,o){this.enterpriseBeans=t,M.Utils.iterateObject(o,function(t,o){return e.RowModelClasses[t]=o})},e.setFrameworkBeans=function(e){this.frameworkBeans=e},e.prototype.getRowModelClass=function(t){var o=t.rowModelType;if(M.Utils.exists(o)){var n=e.RowModelClasses[o];if(M.Utils.exists(n))return n;console.error(\"ag-Grid: count not find matching row model for rowModelType \"+o),\"viewport\"===o&&console.error(\"ag-Grid: rowModelType viewport is only available in ag-Grid Enterprise\")}return H.InMemoryRowModel},e.prototype.destroy=function(){this.context.destroy()},e}();pe.RowModelClasses={virtual:B.InfiniteRowModel,infinite:B.InfiniteRowModel,pagination:H.InMemoryRowModel,normal:H.InMemoryRowModel},t.Grid=pe},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";function n(e){return!0===e||\"true\"===e}function i(e,t){return e>=0?e:t}function r(e,t){return e>0?e:t}var s=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},a=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},l=this&&this.__param||function(e,t){return function(o,n){t(o,n,e)}};Object.defineProperty(t,\"__esModule\",{value:!0});var p=o(6),d=o(10),c=o(11),u=o(13),h=o(8),g=o(16),f=o(9),y=25,v=5,m=5,C=E=function(){function e(){this.propertyEventService=new p.EventService,this.domDataKey=\"__AG_\"+Math.random().toString()}return e.prototype.agWire=function(e,t){this.gridOptions.api=e,this.gridOptions.columnApi=t,this.checkForDeprecated()},e.prototype.destroy=function(){this.gridOptions.api=null,this.gridOptions.columnApi=null},e.prototype.init=function(){this.eventService.addGlobalListener(this.globalEventHandler.bind(this)),this.setupFrameworkComponents(),this.isGroupSelectsChildren()&&this.isSuppressParentsInRowNodes()&&console.warn(\"ag-Grid: groupSelectsChildren does not work wth suppressParentsInRowNodes, this selection method needs the part in rowNode to work\"),this.isGroupSelectsChildren()&&!this.isRowSelectionMulti()&&console.warn(\"ag-Grid: rowSelectionMulti must be true for groupSelectsChildren to make sense\"),this.isGroupRemoveSingleChildren()&&this.isGroupHideOpenParents()&&console.warn(\"ag-Grid: groupRemoveSingleChildren and groupHideOpenParents do not work with each other, you need to pick one. And don't ask us how to us these together on our support forum either you will get the same answer!\")},e.prototype.setupFrameworkComponents=function(){this.fullWidthCellRenderer=this.frameworkFactory.gridOptionsFullWidthCellRenderer(this.gridOptions),this.groupRowRenderer=this.frameworkFactory.gridOptionsGroupRowRenderer(this.gridOptions),this.groupRowInnerRenderer=this.frameworkFactory.gridOptionsGroupRowInnerRenderer(this.gridOptions)},e.prototype.getDomDataKey=function(){return this.domDataKey},e.prototype.getFullWidthCellRenderer=function(){return this.fullWidthCellRenderer},e.prototype.getGroupRowRenderer=function(){return this.groupRowRenderer},e.prototype.getGroupRowInnerRenderer=function(){return this.groupRowInnerRenderer},e.prototype.isEnterprise=function(){return this.enterprise},e.prototype.isRowSelection=function(){return\"single\"===this.gridOptions.rowSelection||\"multiple\"===this.gridOptions.rowSelection},e.prototype.isRowDeselection=function(){return n(this.gridOptions.rowDeselection)},e.prototype.isRowSelectionMulti=function(){return\"multiple\"===this.gridOptions.rowSelection},e.prototype.getContext=function(){return this.gridOptions.context},e.prototype.isPivotMode=function(){return n(this.gridOptions.pivotMode)},e.prototype.isRowModelServerPagination=function(){return this.gridOptions.rowModelType===d.Constants.ROW_MODEL_TYPE_PAGINATION},e.prototype.isRowModelInfinite=function(){return this.gridOptions.rowModelType===d.Constants.ROW_MODEL_TYPE_VIRTUAL_DEPRECATED||this.gridOptions.rowModelType===d.Constants.ROW_MODEL_TYPE_INFINITE},e.prototype.isRowModelViewport=function(){return this.gridOptions.rowModelType===d.Constants.ROW_MODEL_TYPE_VIEWPORT},e.prototype.isRowModelEnterprise=function(){return this.gridOptions.rowModelType===d.Constants.ROW_MODEL_TYPE_ENTERPRISE},e.prototype.isRowModelDefault=function(){return!(this.isRowModelServerPagination()||this.isRowModelInfinite()||this.isRowModelViewport())},e.prototype.isFullRowEdit=function(){return\"fullRow\"===this.gridOptions.editType},e.prototype.isSuppressFocusAfterRefresh=function(){return n(this.gridOptions.suppressFocusAfterRefresh)},e.prototype.isShowToolPanel=function(){return n(this.gridOptions.showToolPanel)},e.prototype.isToolPanelSuppressRowGroups=function(){return n(this.gridOptions.toolPanelSuppressRowGroups)},e.prototype.isToolPanelSuppressValues=function(){return n(this.gridOptions.toolPanelSuppressValues)},e.prototype.isToolPanelSuppressPivots=function(){return!!this.isRowModelEnterprise()||n(this.gridOptions.toolPanelSuppressPivots)},e.prototype.isToolPanelSuppressPivotMode=function(){return!!this.isRowModelEnterprise()||n(this.gridOptions.toolPanelSuppressPivotMode)},e.prototype.isSuppressTouch=function(){return n(this.gridOptions.suppressTouch)},e.prototype.isEnableCellChangeFlash=function(){return n(this.gridOptions.enableCellChangeFlash)},e.prototype.isGroupSelectsChildren=function(){return n(this.gridOptions.groupSelectsChildren)},e.prototype.isGroupSelectsFiltered=function(){return n(this.gridOptions.groupSelectsFiltered)},e.prototype.isGroupHideOpenParents=function(){return n(this.gridOptions.groupHideOpenParents)},e.prototype.isGroupMultiAutoColumn=function(){return n(this.gridOptions.groupMultiAutoColumn)},e.prototype.isGroupRemoveSingleChildren=function(){return n(this.gridOptions.groupRemoveSingleChildren)},e.prototype.isGroupIncludeFooter=function(){return n(this.gridOptions.groupIncludeFooter)},e.prototype.isGroupSuppressBlankHeader=function(){return n(this.gridOptions.groupSuppressBlankHeader)},e.prototype.isSuppressRowClickSelection=function(){return n(this.gridOptions.suppressRowClickSelection)},e.prototype.isSuppressCellSelection=function(){return n(this.gridOptions.suppressCellSelection)},e.prototype.isSuppressMultiSort=function(){return n(this.gridOptions.suppressMultiSort)},e.prototype.isGroupSuppressAutoColumn=function(){return n(this.gridOptions.groupSuppressAutoColumn)},e.prototype.isSuppressDragLeaveHidesColumns=function(){return n(this.gridOptions.suppressDragLeaveHidesColumns)},e.prototype.isSuppressScrollOnNewData=function(){return n(this.gridOptions.suppressScrollOnNewData)},e.prototype.isForPrint=function(){return n(this.gridOptions.forPrint)},e.prototype.isSuppressHorizontalScroll=function(){return n(this.gridOptions.suppressHorizontalScroll)},e.prototype.isSuppressLoadingOverlay=function(){return n(this.gridOptions.suppressLoadingOverlay)},e.prototype.isSuppressNoRowsOverlay=function(){return n(this.gridOptions.suppressNoRowsOverlay)},e.prototype.isSuppressFieldDotNotation=function(){return n(this.gridOptions.suppressFieldDotNotation)},e.prototype.getFloatingTopRowData=function(){return this.gridOptions.floatingTopRowData},e.prototype.getFloatingBottomRowData=function(){return this.gridOptions.floatingBottomRowData},e.prototype.isFunctionsPassive=function(){return n(this.gridOptions.functionsPassive)},e.prototype.isSuppressRowHoverClass=function(){return n(this.gridOptions.suppressRowHoverClass)},e.prototype.isSuppressTabbing=function(){return n(this.gridOptions.suppressTabbing)},e.prototype.getQuickFilterText=function(){return this.gridOptions.quickFilterText},e.prototype.isUnSortIcon=function(){return n(this.gridOptions.unSortIcon)},e.prototype.isSuppressMenuHide=function(){return n(this.gridOptions.suppressMenuHide)},e.prototype.getRowStyle=function(){return this.gridOptions.rowStyle},e.prototype.getRowClass=function(){return this.gridOptions.rowClass},e.prototype.getRowStyleFunc=function(){return this.gridOptions.getRowStyle},e.prototype.getRowClassFunc=function(){return this.gridOptions.getRowClass},e.prototype.getDoesDataFlowerFunc=function(){return this.gridOptions.doesDataFlower},e.prototype.getIsFullWidthCellFunc=function(){return this.gridOptions.isFullWidthCell},e.prototype.getFullWidthCellRendererParams=function(){return this.gridOptions.fullWidthCellRendererParams},e.prototype.isEmbedFullWidthRows=function(){return n(this.gridOptions.embedFullWidthRows)},e.prototype.getBusinessKeyForNodeFunc=function(){return this.gridOptions.getBusinessKeyForNode},e.prototype.getHeaderCellRenderer=function(){return this.gridOptions.headerCellRenderer},e.prototype.getApi=function(){return this.gridOptions.api},e.prototype.getColumnApi=function(){return this.gridOptions.columnApi},e.prototype.isEnableColResize=function(){return n(this.gridOptions.enableColResize)},e.prototype.isSingleClickEdit=function(){return n(this.gridOptions.singleClickEdit)},e.prototype.isSuppressClickEdit=function(){return n(this.gridOptions.suppressClickEdit)},e.prototype.isStopEditingWhenGridLosesFocus=function(){return n(this.gridOptions.stopEditingWhenGridLosesFocus)},e.prototype.getGroupDefaultExpanded=function(){return this.gridOptions.groupDefaultExpanded},e.prototype.getAutoSizePadding=function(){return this.gridOptions.autoSizePadding},e.prototype.getMaxConcurrentDatasourceRequests=function(){return this.gridOptions.maxConcurrentDatasourceRequests},e.prototype.getMaxPagesInCache=function(){return this.gridOptions.maxPagesInCache},e.prototype.getPaginationOverflowSize=function(){return this.gridOptions.paginationOverflowSize},e.prototype.getPaginationPageSize=function(){return this.gridOptions.paginationPageSize},e.prototype.getInfiniteBlockSize=function(){return this.gridOptions.infiniteBlockSize},e.prototype.getInfiniteInitialRowCount=function(){return this.gridOptions.infiniteInitialRowCount},e.prototype.getPaginationStartPage=function(){return this.gridOptions.paginationStartPage},e.prototype.isSuppressPaginationPanel=function(){return n(this.gridOptions.suppressPaginationPanel)},e.prototype.getRowData=function(){return this.gridOptions.rowData},e.prototype.isGroupUseEntireRow=function(){return n(this.gridOptions.groupUseEntireRow)},e.prototype.isEnableRtl=function(){return n(this.gridOptions.enableRtl)},e.prototype.getGroupColumnDef=function(){return this.gridOptions.groupColumnDef},e.prototype.isGroupSuppressRow=function(){return n(this.gridOptions.groupSuppressRow)},e.prototype.getRowGroupPanelShow=function(){return this.gridOptions.rowGroupPanelShow},e.prototype.getPivotPanelShow=function(){return this.gridOptions.pivotPanelShow},e.prototype.isAngularCompileRows=function(){return n(this.gridOptions.angularCompileRows)},e.prototype.isAngularCompileFilters=function(){return n(this.gridOptions.angularCompileFilters)},e.prototype.isAngularCompileHeaders=function(){return n(this.gridOptions.angularCompileHeaders)},e.prototype.isDebug=function(){return n(this.gridOptions.debug)},e.prototype.getColumnDefs=function(){return this.gridOptions.columnDefs},e.prototype.getDatasource=function(){return this.gridOptions.datasource},e.prototype.getViewportDatasource=function(){return this.gridOptions.viewportDatasource},e.prototype.getEnterpriseDatasource=function(){return this.gridOptions.enterpriseDatasource},e.prototype.isEnableSorting=function(){return n(this.gridOptions.enableSorting)||n(this.gridOptions.enableServerSideSorting)},e.prototype.isEnableCellExpressions=function(){return n(this.gridOptions.enableCellExpressions)},e.prototype.isEnableGroupEdit=function(){return n(this.gridOptions.enableGroupEdit)},e.prototype.isSuppressMiddleClickScrolls=function(){return n(this.gridOptions.suppressMiddleClickScrolls)},e.prototype.isSuppressPreventDefaultOnMouseWheel=function(){return n(this.gridOptions.suppressPreventDefaultOnMouseWheel)},e.prototype.isSuppressColumnVirtualisation=function(){return n(this.gridOptions.suppressColumnVirtualisation)},e.prototype.isSuppressContextMenu=function(){return n(this.gridOptions.suppressContextMenu)},e.prototype.isAllowContextMenuWithControlKey=function(){return n(this.gridOptions.allowContextMenuWithControlKey)},e.prototype.isSuppressCopyRowsToClipboard=function(){return n(this.gridOptions.suppressCopyRowsToClipboard)},e.prototype.isEnableFilter=function(){return n(this.gridOptions.enableFilter)||n(this.gridOptions.enableServerSideFilter)},e.prototype.isPagination=function(){return n(this.gridOptions.pagination)},e.prototype.isEnableServerSideFilter=function(){return this.gridOptions.enableServerSideFilter},e.prototype.isEnableServerSideSorting=function(){return n(this.gridOptions.enableServerSideSorting)},e.prototype.isSuppressScrollLag=function(){return n(this.gridOptions.suppressScrollLag)},e.prototype.isSuppressMovableColumns=function(){return n(this.gridOptions.suppressMovableColumns)},e.prototype.isAnimateRows=function(){return n(this.gridOptions.animateRows)},e.prototype.isSuppressColumnMoveAnimation=function(){return n(this.gridOptions.suppressColumnMoveAnimation)},e.prototype.isSuppressMenuColumnPanel=function(){return n(this.gridOptions.suppressMenuColumnPanel)},e.prototype.isSuppressMenuFilterPanel=function(){return n(this.gridOptions.suppressMenuFilterPanel)},e.prototype.isSuppressUseColIdForGroups=function(){return n(this.gridOptions.suppressUseColIdForGroups)},e.prototype.isSuppressAggFuncInHeader=function(){return n(this.gridOptions.suppressAggFuncInHeader)},e.prototype.isSuppressMenuMainPanel=function(){return n(this.gridOptions.suppressMenuMainPanel)},e.prototype.isEnableRangeSelection=function(){return n(this.gridOptions.enableRangeSelection)},e.prototype.isPaginationAutoPageSize=function(){return n(this.gridOptions.paginationAutoPageSize)},e.prototype.isRememberGroupStateWhenNewData=function(){return n(this.gridOptions.rememberGroupStateWhenNewData)},e.prototype.getIcons=function(){return this.gridOptions.icons},e.prototype.getAggFuncs=function(){return this.gridOptions.aggFuncs},e.prototype.getIsScrollLag=function(){return this.gridOptions.isScrollLag},e.prototype.getSortingOrder=function(){return this.gridOptions.sortingOrder},e.prototype.getSlaveGrids=function(){return this.gridOptions.slaveGrids},e.prototype.getGroupRowRendererParams=function(){return this.gridOptions.groupRowRendererParams},e.prototype.getOverlayLoadingTemplate=function(){return this.gridOptions.overlayLoadingTemplate},e.prototype.getOverlayNoRowsTemplate=function(){return this.gridOptions.overlayNoRowsTemplate},e.prototype.isSuppressAutoSize=function(){return n(this.gridOptions.suppressAutoSize)},e.prototype.isSuppressParentsInRowNodes=function(){return n(this.gridOptions.suppressParentsInRowNodes)},e.prototype.isEnableStatusBar=function(){return n(this.gridOptions.enableStatusBar)},e.prototype.isFunctionsReadOnly=function(){return n(this.gridOptions.functionsReadOnly)},e.prototype.isFloatingFilter=function(){return this.gridOptions.floatingFilter},e.prototype.getDefaultColDef=function(){return this.gridOptions.defaultColDef},e.prototype.getDefaultColGroupDef=function(){return this.gridOptions.defaultColGroupDef},e.prototype.getDefaultExportParams=function(){return this.gridOptions.defaultExportParams},e.prototype.getHeaderCellTemplate=function(){return this.gridOptions.headerCellTemplate},e.prototype.getHeaderCellTemplateFunc=function(){return this.gridOptions.getHeaderCellTemplate},e.prototype.getNodeChildDetailsFunc=function(){return this.gridOptions.getNodeChildDetails},e.prototype.getGroupRowAggNodesFunc=function(){return this.gridOptions.groupRowAggNodes},e.prototype.getContextMenuItemsFunc=function(){return this.gridOptions.getContextMenuItems},e.prototype.getMainMenuItemsFunc=function(){return this.gridOptions.getMainMenuItems},e.prototype.getRowNodeIdFunc=function(){return this.gridOptions.getRowNodeId},e.prototype.getNavigateToNextCellFunc=function(){return this.gridOptions.navigateToNextCell},e.prototype.getTabToNextCellFunc=function(){return this.gridOptions.tabToNextCell},e.prototype.getProcessSecondaryColDefFunc=function(){return this.gridOptions.processSecondaryColDef},e.prototype.getProcessSecondaryColGroupDefFunc=function(){return this.gridOptions.processSecondaryColGroupDef},e.prototype.getSendToClipboardFunc=function(){return this.gridOptions.sendToClipboard},e.prototype.getProcessCellForClipboardFunc=function(){return this.gridOptions.processCellForClipboard},e.prototype.getProcessCellFromClipboardFunc=function(){return this.gridOptions.processCellFromClipboard},e.prototype.getViewportRowModelPageSize=function(){return r(this.gridOptions.viewportRowModelPageSize,v)},e.prototype.getViewportRowModelBufferSize=function(){return i(this.gridOptions.viewportRowModelBufferSize,m)},e.prototype.setProperty=function(e,t){var o=this.gridOptions,n=o[e];n!==t&&(o[e]=t,this.propertyEventService.dispatchEvent(e,{currentValue:t,previousValue:n}))},e.prototype.addEventListener=function(e,t){this.propertyEventService.addEventListener(e,t)},e.prototype.removeEventListener=function(e,t){this.propertyEventService.removeEventListener(e,t)},e.prototype.executeProcessRowPostCreateFunc=function(e){this.gridOptions.processRowPostCreate&&this.gridOptions.processRowPostCreate(e)},e.prototype.getHeaderHeight=function(){return\"number\"==typeof this.gridOptions.headerHeight?this.gridOptions.headerHeight:25},e.prototype.isExternalFilterPresent=function(){return\"function\"==typeof this.gridOptions.isExternalFilterPresent&&this.gridOptions.isExternalFilterPresent()},e.prototype.doesExternalFilterPass=function(e){return\"function\"==typeof this.gridOptions.doesExternalFilterPass&&this.gridOptions.doesExternalFilterPass(e)},e.prototype.getDocument=function(){var e;return f.Utils.exists(this.gridOptions.getDocument)&&(e=this.gridOptions.getDocument()),f.Utils.exists(e)?e:document},e.prototype.getLayoutInterval=function(){return\"number\"==typeof this.gridOptions.layoutInterval?this.gridOptions.layoutInterval:d.Constants.LAYOUT_INTERVAL},e.prototype.getMinColWidth=function(){return this.gridOptions.minColWidth>E.MIN_COL_WIDTH?this.gridOptions.minColWidth:E.MIN_COL_WIDTH},e.prototype.getMaxColWidth=function(){return this.gridOptions.maxColWidth>E.MIN_COL_WIDTH?this.gridOptions.maxColWidth:null},e.prototype.getColWidth=function(){return\"number\"!=typeof this.gridOptions.colWidth||this.gridOptions.colWidth<E.MIN_COL_WIDTH?200:this.gridOptions.colWidth},e.prototype.getRowBuffer=function(){return\"number\"==typeof this.gridOptions.rowBuffer?(this.gridOptions.rowBuffer<0&&console.warn(\"ag-Grid: rowBuffer should not be negative\"),this.gridOptions.rowBuffer):d.Constants.ROW_BUFFER_SIZE},e.prototype.getScrollbarWidth=function(){var e=this.gridOptions.scrollbarWidth;return(\"number\"!=typeof e||e<0)&&(e=f.Utils.getScrollbarWidth()),e},e.prototype.checkForDeprecated=function(){var e=this.gridOptions;e.suppressUnSort&&console.warn(\"ag-grid: as of v1.12.4 suppressUnSort is not used. Please use sortOrder instead.\"),e.suppressDescSort&&console.warn(\"ag-grid: as of v1.12.4 suppressDescSort is not used. Please use sortOrder instead.\"),e.groupAggFields&&console.warn(\"ag-grid: as of v3 groupAggFields is not used. Please add appropriate agg fields to your columns.\"),e.groupHidePivotColumns&&console.warn(\"ag-grid: as of v3 groupHidePivotColumns is not used as pivot columns are now called rowGroup columns. Please refer to the documentation\"),e.groupKeys&&console.warn(\"ag-grid: as of v3 groupKeys is not used. You need to set rowGroupIndex on the columns to group. Please refer to the documentation\"),(e.ready||e.onReady)&&console.warn(\"ag-grid: as of v3.3 ready event is now called gridReady, so the callback should be onGridReady\"),\"boolean\"==typeof e.groupDefaultExpanded&&console.warn(\"ag-grid: groupDefaultExpanded can no longer be boolean. for groupDefaultExpanded=true, use groupDefaultExpanded=9999 instead, to expand all the groups\"),(e.onRowDeselected||e.rowDeselected)&&console.warn(\"ag-grid: since version 3.4 event rowDeselected no longer exists, please check the docs\"),e.rowsAlreadyGrouped&&console.warn(\"ag-grid: since version 3.4 rowsAlreadyGrouped no longer exists, please use getNodeChildDetails() instead\"),e.groupAggFunction&&console.warn(\"ag-grid: since version 4.3.x groupAggFunction is now called groupRowAggNodes\"),e.checkboxSelection&&console.warn(\"ag-grid: since version 8.0.x checkboxSelection is not supported as a grid option. If you want this on all columns, use defaultColDef instead and set it there\"),this.gridOptions.rowModelType===d.Constants.ROW_MODEL_TYPE_VIRTUAL_DEPRECATED&&console.warn('ag-grid: since version 8.3.x row model type \"virtual\" is now called \"infinite\", the grid will still work, but please change the property to use \"infinite\"'),e.paginationInitialRowCount&&console.warn(\"ag-grid: since version 9.0.x paginationInitialRowCount is now called infiniteInitialRowCount\"),e.infinitePageSize&&console.warn(\"ag-grid: since version 9.0.x infinitePageSize is now called infiniteBlockSize\")},e.prototype.getLocaleTextFunc=function(){if(this.gridOptions.localeTextFunc)return this.gridOptions.localeTextFunc;var e=this;return function(t,o){var n=e.gridOptions.localeText;return n&&n[t]?n[t]:o}},e.prototype.globalEventHandler=function(e,t){var o=c.ComponentUtil.getCallbackForEvent(e);\"function\"==typeof this.gridOptions[o]&&this.gridOptions[o](t)},e.prototype.getRowHeightAsNumber=function(){var e=this.gridOptions.rowHeight;return f.Utils.missing(e)?y:this.isNumeric(this.gridOptions.rowHeight)?this.gridOptions.rowHeight:(console.warn(\"ag-Grid row height must be a number if not using standard row model\"),y)},e.prototype.getRowHeightForNode=function(e){if(\"function\"==typeof this.gridOptions.getRowHeight){var t={node:e,data:e.data,api:this.gridOptions.api,context:this.gridOptions.context};return this.gridOptions.getRowHeight(t)}return this.isNumeric(this.gridOptions.rowHeight)?this.gridOptions.rowHeight:y},e.prototype.isNumeric=function(e){return!isNaN(e)&&\"number\"==typeof e},e}();C.MIN_COL_WIDTH=10,C.PROP_HEADER_HEIGHT=\"headerHeight\",s([h.Autowired(\"gridOptions\"),a(\"design:type\",Object)],C.prototype,\"gridOptions\",void 0),s([h.Autowired(\"columnController\"),a(\"design:type\",g.ColumnController)],C.prototype,\"columnController\",void 0),s([h.Autowired(\"eventService\"),a(\"design:type\",p.EventService)],C.prototype,\"eventService\",void 0),s([h.Autowired(\"enterprise\"),a(\"design:type\",Boolean)],C.prototype,\"enterprise\",void 0),s([h.Autowired(\"frameworkFactory\"),a(\"design:type\",Object)],C.prototype,\"frameworkFactory\",void 0),s([l(0,h.Qualifier(\"gridApi\")),l(1,h.Qualifier(\"columnApi\")),a(\"design:type\",Function),a(\"design:paramtypes\",[u.GridApi,g.ColumnApi]),a(\"design:returntype\",void 0)],C.prototype,\"agWire\",null),s([h.PreDestroy,a(\"design:type\",Function),a(\"design:paramtypes\",[]),a(\"design:returntype\",void 0)],C.prototype,\"destroy\",null),s([h.PostConstruct,a(\"design:type\",Function),a(\"design:paramtypes\",[]),a(\"design:returntype\",void 0)],C.prototype,\"init\",null),C=E=s([h.Bean(\"gridOptionsWrapper\")],C),t.GridOptionsWrapper=C;var E},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},r=this&&this.__param||function(e,t){return function(o,n){t(o,n,e)}};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(7),a=o(9),l=o(8),p=o(8),d=c=function(){function e(){this.allListeners={},this.globalListeners=[]}return e.prototype.agWire=function(e,t){void 0===t&&(t=null),this.logger=e.create(\"EventService\"),t&&this.addGlobalListener(t)},e.prototype.getListenerList=function(e){var t=this.allListeners[e];return t||(t=[],this.allListeners[e]=t),t},e.prototype.addEventListener=function(e,t){var o=this.getListenerList(e);o.indexOf(t)<0&&o.push(t)},e.prototype.addModalPriorityEventListener=function(e,t){this.addEventListener(e+c.PRIORITY,t)},e.prototype.addGlobalListener=function(e){this.globalListeners.push(e)},e.prototype.removeEventListener=function(e,t){var o=this.getListenerList(e);a.Utils.removeFromArray(o,t)},e.prototype.removeGlobalListener=function(e){a.Utils.removeFromArray(this.globalListeners,e)},e.prototype.dispatchEvent=function(e,t){t||(t={}),this.getListenerList(e+c.PRIORITY).forEach(function(e){e(t)}),this.getListenerList(e).forEach(function(e){e(t)}),this.globalListeners.forEach(function(o){o(e,t)})},e}();d.PRIORITY=\"-P1\",n([r(0,p.Qualifier(\"loggerFactory\")),r(1,p.Qualifier(\"globalEventListener\")),i(\"design:type\",Function),i(\"design:paramtypes\",[s.LoggerFactory,Function]),i(\"design:returntype\",void 0)],d.prototype,\"agWire\",null),d=c=n([l.Bean(\"eventService\")],d),t.EventService=d;var c},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},r=this&&this.__param||function(e,t){return function(o,n){t(o,n,e)}};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(5),a=o(8),l=o(8),p=function(){function e(){}return e.prototype.setBeans=function(e){this.logging=e.isDebug()},e.prototype.create=function(e){return new d(e,this.logging)},e}();n([r(0,l.Qualifier(\"gridOptionsWrapper\")),i(\"design:type\",Function),i(\"design:paramtypes\",[s.GridOptionsWrapper]),i(\"design:returntype\",void 0)],p.prototype,\"setBeans\",null),p=n([a.Bean(\"loggerFactory\")],p),t.LoggerFactory=p;var d=function(){function e(e,t){this.name=e,this.logging=t}return e.prototype.log=function(e){this.logging&&console.log(\"ag-Grid.\"+this.name+\": \"+e)},e}();t.Logger=d},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";function n(e,t){var o=[null].concat(t);return new(e.bind.apply(e,o))}function i(e,t,o){var n=u(e);n.postConstructMethods||(n.preConstructMethods=[]),n.preConstructMethods.push(t)}function r(e,t,o){var n=u(e);n.postConstructMethods||(n.postConstructMethods=[]),n.postConstructMethods.push(t)}function s(e,t,o){var n=u(e);n.preDestroyMethods||(n.preDestroyMethods=[]),n.preDestroyMethods.push(t)}function a(e){return function(t){u(t.prototype).beanName=e}}function l(e){return d.bind(this,e,!1)}function p(e){return d.bind(this,e,!0)}function d(e,t,o,n,i){if(null===e)return void console.error(\"ag-Grid: Autowired name should not be null\");if(\"number\"==typeof i)return void console.error(\"ag-Grid: Autowired should be on an attribute\");var r=u(o);r.agClassAttributes||(r.agClassAttributes=[]),r.agClassAttributes.push({attributeName:n,beanName:e,optional:t})}function c(e){return function(t,o,n){var i;if(\"number\"==typeof n){var r;o?(i=u(t),r=o):(i=u(t.prototype),r=\"agConstructor\"),i.autowireMethods||(i.autowireMethods={}),i.autowireMethods[r]||(i.autowireMethods[r]={}),i.autowireMethods[r][n]=e}}}function u(e){var t=e.__agBeanMetaData;return t||(t={},e.__agBeanMetaData=t),t}Object.defineProperty(t,\"__esModule\",{value:!0});var h=o(9),g=function(){function e(e,t){if(this.beans={},this.componentsMappedByName={},this.destroyed=!1,e&&e.beans){this.contextParams=e,this.logger=t,this.logger.log(\">> creating ag-Application Context\"),this.setupComponents(),this.createBeans();var o=h.Utils.mapObject(this.beans,function(e){return e.beanInstance});this.wireBeans(o),this.logger.log(\">> ag-Application Context ready - component is alive\")}}return e.prototype.setupComponents=function(){var e=this;this.contextParams.components&&this.contextParams.components.forEach(function(t){return e.addComponent(t)})},e.prototype.addComponent=function(e){var t=e.componentName.replace(/([a-z])([A-Z])/g,\"$1-$2\").toLowerCase(),o=t.toUpperCase();this.componentsMappedByName[o]=e.theClass},e.prototype.createComponent=function(e){var t=e.nodeName;if(this.componentsMappedByName&&this.componentsMappedByName[t]){var o=new this.componentsMappedByName[t];return this.wireBean(o),this.copyAttributesFromNode(e,o.getGui()),o.attributesSet(),o}return null},e.prototype.copyAttributesFromNode=function(e,t){if(e.attributes)for(var o=e.attributes.length,n=0;n<o;n++){var i=e.attributes[n];t.setAttribute(i.name,i.value)}},e.prototype.wireBean=function(e){if(!e)throw Error(\"Can't wire to bean since it is null\");this.wireBeans([e])},e.prototype.wireBeans=function(e){this.autoWireBeans(e),this.methodWireBeans(e),this.preConstruct(e),this.postConstruct(e)},e.prototype.createBeans=function(){var e=this;this.contextParams.beans.forEach(this.createBeanEntry.bind(this)),this.contextParams.overrideBeans&&this.contextParams.overrideBeans.forEach(this.createBeanEntry.bind(this)),h.Utils.iterateObject(this.beans,function(t,o){var i;o.bean.prototype.__agBeanMetaData&&o.bean.prototype.__agBeanMetaData.autowireMethods&&o.bean.prototype.__agBeanMetaData.autowireMethods.agConstructor&&(i=o.bean.prototype.__agBeanMetaData.autowireMethods.agConstructor);var r=e.getBeansForParameters(i,o.beanName),s=n(o.bean,r);o.beanInstance=s,e.logger.log(\"bean \"+e.getBeanName(s)+\" created\")})},e.prototype.createBeanEntry=function(e){var t=e.prototype.__agBeanMetaData;if(!t){var o;return o=e.prototype.constructor?e.prototype.constructor.name:\"\"+e,void console.error(\"context item \"+o+\" is not a bean\")}var n={bean:e,beanInstance:null,beanName:t.beanName};this.beans[t.beanName]=n},e.prototype.autoWireBeans=function(e){var t=this;e.forEach(function(e){return t.autoWireBean(e)})},e.prototype.methodWireBeans=function(e){var t=this;e.forEach(function(e){if(!e)throw Error(\"Can't wire to bean since it is null\");return t.methodWireBean(e)})},e.prototype.autoWireBean=function(e){var t=this;if(e&&e.__agBeanMetaData&&e.__agBeanMetaData.agClassAttributes){var o=e.__agBeanMetaData.agClassAttributes;if(o){var n=this.getBeanName(e);o.forEach(function(o){var i=t.lookupBeanInstance(n,o.beanName,o.optional);e[o.attributeName]=i})}}},e.prototype.getBeanName=function(e){var t=e.constructor.toString();return t.substring(9,t.indexOf(\"(\"))},e.prototype.methodWireBean=function(e){var t,o=this;e.__agBeanMetaData&&(t=e.__agBeanMetaData.autowireMethods),h.Utils.iterateObject(t,function(t,n){if(\"agConstructor\"!==t){var i=o.getBeanName(e),r=o.getBeansForParameters(n,i);e[t].apply(e,r)}})},e.prototype.getBeansForParameters=function(e,t){var o=this,n=[];return e&&h.Utils.iterateObject(e,function(e,i){var r=o.lookupBeanInstance(t,i);n[Number(e)]=r}),n},e.prototype.lookupBeanInstance=function(e,t,o){if(void 0===o&&(o=!1),\"context\"===t)return this;if(this.contextParams.seed&&this.contextParams.seed.hasOwnProperty(t))return this.contextParams.seed[t];var n=this.beans[t];return n?n.beanInstance:(o||console.error(\"ag-Grid: unable to find bean reference \"+t+\" while initialising \"+e),null)},e.prototype.postConstruct=function(e){e.forEach(function(e){e.__agBeanMetaData&&e.__agBeanMetaData.postConstructMethods&&e.__agBeanMetaData.postConstructMethods.forEach(function(t){return e[t]()})})},e.prototype.preConstruct=function(e){e.forEach(function(e){e.__agBeanMetaData&&e.__agBeanMetaData.preConstructMethods&&e.__agBeanMetaData.preConstructMethods.forEach(function(t){return e[t]()})})},e.prototype.getBean=function(e){return this.lookupBeanInstance(\"getBean\",e,!0)},e.prototype.destroy=function(){this.destroyed||(this.logger.log(\">> Shutting down ag-Application Context\"),h.Utils.iterateObject(this.beans,function(e,t){var o=t.beanInstance;o.__agBeanMetaData&&o.__agBeanMetaData.preDestroyMethods&&o.__agBeanMetaData.preDestroyMethods.forEach(function(e){return o[e]()})}),this.destroyed=!0,this.logger.log(\">> ag-Application Context shut down - component is dead\"))},e}();t.Context=g,t.PreConstruct=i,t.PostConstruct=r,t.PreDestroy=s,t.Bean=a,t.Autowired=l,t.Optional=p,t.Qualifier=c},function(e,t){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var o=/((\\/\\/.*$)|(\\/\\*[\\s\\S]*?\\*\\/))/gm,n=/([^\\s,]+)/g,i=function(){function e(){this.timestamp=(new Date).getTime()}return e.prototype.print=function(e){var t=(new Date).getTime()-this.timestamp;console.log(e+\" = \"+t),this.timestamp=(new Date).getTime()},e}();t.Timer=i;var r={\"&\":\"&amp;\",\"<\":\"&lt;\",\">\":\"&gt;\",'\"':\"&quot;\",\"'\":\"&#39;\"},s=/[&<>\"']/g,a=function(){function e(){}return e.areEventsNear=function(e,t,o){if(0===o)return!1;var n=Math.abs(e.clientX-t.clientX),i=Math.abs(e.clientY-t.clientY);return Math.max(n,i)<=o},e.shallowCompare=function(e,t){if(this.missing(e)&&this.missing(t))return!0;if(this.missing(e)||this.missing(t))return!1;if(e.length!==t.length)return!1;for(var o=0;o<e.length;o++)if(e[o]!==t[o])return!1;return!0},e.getNameOfClass=function(e){var t=/function (.{1,})\\(/,o=e.toString(),n=t.exec(o);return n&&n.length>1?n[1]:\"\"},e.values=function(e){var t=[];return this.iterateObject(e,function(e,o){t.push(o)}),t},e.getValueUsingField=function(e,t,o){if(t&&e){if(o){for(var n=t.split(\".\"),i=e,r=0;r<n.length;r++)if(i=i[n[r]],this.missing(i))return null;return i}return e[t]}},e.getScrollLeft=function(e,t){var o=e.scrollLeft;return t&&(o=Math.abs(o),(this.isBrowserSafari()||this.isBrowserChrome())&&(o=e.scrollWidth-e.clientWidth-o)),o},e.cleanNumber=function(e){return\"string\"==typeof e&&(e=parseInt(e)),e=\"number\"==typeof e?Math.floor(e):null},e.setScrollLeft=function(e,t,o){o&&((this.isBrowserSafari()||this.isBrowserChrome())&&(t=e.scrollWidth-e.clientWidth-t),this.isBrowserFirefox()&&(t*=-1)),e.scrollLeft=t},e.iterateObject=function(e,t){if(!this.missing(e))for(var o=Object.keys(e),n=0;n<o.length;n++){var i=o[n],r=e[i];t(i,r)}},e.cloneObject=function(e){for(var t={},o=Object.keys(e),n=0;n<o.length;n++){var i=o[n],r=e[i];t[i]=r}return t},e.map=function(e,t){for(var o=[],n=0;n<e.length;n++){var i=e[n],r=t(i);o.push(r)}return o},e.mapObject=function(t,o){var n=[];return e.iterateObject(t,function(e,t){n.push(o(t))}),n},e.forEach=function(e,t){if(e)for(var o=0;o<e.length;o++){var n=e[o];t(n,o)}},e.filter=function(e,t){var o=[];return e.forEach(function(e){t(e)&&o.push(e)}),o},e.mergeDeep=function(t,o){this.exists(o)&&this.iterateObject(o,function(n,i){var r=t[n],s=o[n];null==r&&(t[n]=i),\"object\"==typeof r&&s&&e.mergeDeep(t[n],s),s&&(t[n]=s)})},e.assign=function(e,t){this.exists(t)&&this.iterateObject(t,function(t,o){e[t]=o})},e.parseYyyyMmDdToDate=function(e,t){try{if(!e)return null;if(-1===e.indexOf(t))return null;var o=e.split(t);return 3!=o.length?null:new Date(Number(o[0]),Number(o[1])-1,Number(o[2]))}catch(e){return null}},e.serializeDateToYyyyMmDd=function(t,o){return t?t.getFullYear()+o+e.pad(t.getMonth()+1,2)+o+e.pad(t.getDate(),2):null},e.pad=function(e,t){for(var o=e+\"\";o.length<t;)o=\"0\"+o;return o},e.pushAll=function(e,t){this.missing(t)||this.missing(e)||t.forEach(function(t){return e.push(t)})},e.getFunctionParameters=function(e){var t=e.toString().replace(o,\"\"),i=t.slice(t.indexOf(\"(\")+1,t.indexOf(\")\")).match(n);return null===i?[]:i},e.find=function(e,t,o){if(null===e||void 0===e)return null;if(!Array.isArray(e)){var n=this.values(e);return this.find(n,t,o)}for(var i,r=e,s=0;s<r.length;s++){var a=r[s];if(\"string\"==typeof t){if(a[t]===o){i=a;break}}else{if(t(a)){i=a;break}}}return i},e.toStrings=function(e){return this.map(e,function(e){return void 0!==e&&null!==e&&e.toString?e.toString():null})},e.iterateArray=function(e,t){for(var o=0;o<e.length;o++){t(e[o],o)}},e.isNode=function(e){return\"function\"==typeof Node?e instanceof Node:e&&\"object\"==typeof e&&\"number\"==typeof e.nodeType&&\"string\"==typeof e.nodeName},e.isElement=function(e){return\"function\"==typeof HTMLElement?e instanceof HTMLElement:e&&\"object\"==typeof e&&null!==e&&1===e.nodeType&&\"string\"==typeof e.nodeName},e.isNodeOrElement=function(e){return this.isNode(e)||this.isElement(e)},e.addChangeListener=function(e,t){e.addEventListener(\"changed\",t),e.addEventListener(\"paste\",t),e.addEventListener(\"input\",t),e.addEventListener(\"keydown\",t),e.addEventListener(\"keyup\",t)},e.makeNull=function(e){return null===e||void 0===e||\"\"===e?null:e},e.missing=function(e){return!this.exists(e)},e.missingOrEmpty=function(e){return this.missing(e)||0===e.length},e.missingOrEmptyObject=function(e){return this.missing(e)||0===Object.keys(e).length},e.exists=function(e){return null!==e&&void 0!==e&&\"\"!==e},e.anyExists=function(e){if(e)for(var t=0;t<e.length;t++)if(this.exists(e[t]))return!0;return!1},e.existsAndNotEmpty=function(e){return this.exists(e)&&e.length>0},e.removeAllChildren=function(e){if(e)for(;e.hasChildNodes();)e.removeChild(e.lastChild)},e.removeElement=function(e,t){this.removeFromParent(e.querySelector(t))},e.removeFromParent=function(e){e&&e.parentNode&&e.parentNode.removeChild(e)},e.isVisible=function(e){return null!==e.offsetParent},e.loadTemplate=function(e){var t=document.createElement(\"div\");return t.innerHTML=e,t.firstChild},e.addOrRemoveCssClass=function(e,t,o){o?this.addCssClass(e,t):this.removeCssClass(e,t)},e.callIfPresent=function(e){e&&e()},e.addCssClass=function(e,t){var o=this;if(t&&0!==t.length){if(t.indexOf(\" \")>=0)return void t.split(\" \").forEach(function(t){return o.addCssClass(e,t)});if(e.classList)e.classList.add(t);else if(e.className&&e.className.length>0){var n=e.className.split(\" \");n.indexOf(t)<0&&(n.push(t),e.className=n.join(\" \"))}else e.className=t}},e.containsClass=function(e,t){if(e.classList)return e.classList.contains(t);if(e.className){var o=e.className===t,n=e.className.indexOf(\" \"+t+\" \")>=0,i=0===e.className.indexOf(t+\" \"),r=e.className.lastIndexOf(\" \"+t)===e.className.length-t.length-1;return o||n||i||r}return!1},e.getElementAttribute=function(e,t){if(e.attributes){if(e.attributes[t]){return e.attributes[t].value}return null}return null},e.offsetHeight=function(e){return e&&e.clientHeight?e.clientHeight:0},e.offsetWidth=function(e){return e&&e.clientWidth?e.clientWidth:0},e.removeCssClass=function(e,t){if(e.className&&e.className.length>0){var o=e.className.split(\" \"),n=o.indexOf(t);n>=0&&(o.splice(n,1),e.className=o.join(\" \"))}},e.removeRepeatsFromArray=function(e,t){if(e)for(var o=e.length-2;o>=0;o--){var n=e[o]===t,i=e[o+1]===t;n&&i&&e.splice(o+1,1)}},e.removeFromArray=function(e,t){e.indexOf(t)>=0&&e.splice(e.indexOf(t),1)},e.removeAllFromArray=function(e,t){t.forEach(function(t){e.indexOf(t)>=0&&e.splice(e.indexOf(t),1)})},e.insertIntoArray=function(e,t,o){e.splice(o,0,t)},e.insertArrayIntoArray=function(e,t,o){if(!this.missing(e)&&!this.missing(t))for(var n=t.length-1;n>=0;n--){var i=t[n];this.insertIntoArray(e,i,o)}},e.moveInArray=function(e,t,o){var n=this;t.forEach(function(t){n.removeFromArray(e,t)}),t.slice().reverse().forEach(function(t){n.insertIntoArray(e,t,o)})},e.defaultComparator=function(e,t){var o=null===e||void 0===e,n=null===t||void 0===t;if(o&&n)return 0;if(o)return-1;if(n)return 1;if(\"string\"==typeof e)try{return e.localeCompare(t)}catch(e){}return e<t?-1:e>t?1:0},e.compareArrays=function(e,t){if(this.missing(e)&&this.missing(t))return!0;if(this.missing(e)||this.missing(t))return!1;if(e.length!==t.length)return!1;for(var o=0;o<e.length;o++)if(e[o]!==t[o])return!1;return!0},e.toStringOrNull=function(e){return this.exists(e)&&e.toString?e.toString():null},e.formatWidth=function(e){return\"number\"==typeof e?e+\"px\":e},e.formatNumberTwoDecimalPlacesAndCommas=function(e){return\"number\"!=typeof e?\"\":(Math.round(100*e)/100).toString().replace(/(\\d)(?=(\\d{3})+(?!\\d))/g,\"$1,\")},e.formatNumberCommas=function(e){return\"number\"!=typeof e?\"\":e.toString().replace(/(\\d)(?=(\\d{3})+(?!\\d))/g,\"$1,\")},e.prependDC=function(e,t){this.exists(e.firstChild)?e.insertBefore(t,e.firstChild):e.appendChild(t)},e.createIcon=function(e,t,o,n){var i=document.createElement(\"span\");return i.appendChild(this.createIconNoSpan(e,t,o,n)),i},e.createIconNoSpan=function(e,t,o,n){var i;if(o&&o.getColDef().icons&&(i=o.getColDef().icons[e]),!i&&t.getIcons()&&(i=t.getIcons()[e]),i){var r;if(\"function\"==typeof i)r=i();else{if(\"string\"!=typeof i)throw\"icon from grid options needs to be a string or a function\";r=i}if(\"string\"==typeof r)return this.loadTemplate(r);if(this.isNodeOrElement(r))return r;throw\"iconRenderer should return back a string or a dom object\"}return n?n():null},e.addStylesToElement=function(e,t){t&&Object.keys(t).forEach(function(o){e.style[o]=t[o]})},e.isHorizontalScrollShowing=function(e){return e.clientWidth<e.scrollWidth},e.isVerticalScrollShowing=function(e){return e.clientHeight<e.scrollHeight},e.getScrollbarWidth=function(){var e=document.createElement(\"div\");e.style.visibility=\"hidden\",e.style.width=\"100px\",e.style.msOverflowStyle=\"scrollbar\",document.body.appendChild(e);var t=e.offsetWidth;e.style.overflow=\"scroll\";var o=document.createElement(\"div\");o.style.width=\"100%\",e.appendChild(o);var n=o.offsetWidth;return e.parentNode.removeChild(e),t-n},e.isKeyPressed=function(e,t){return(e.which||e.keyCode)===t},e.setVisible=function(e,t){this.addOrRemoveCssClass(e,\"ag-hidden\",!t)},e.setHidden=function(e,t){this.addOrRemoveCssClass(e,\"ag-visibility-hidden\",t)},e.isBrowserIE=function(){return void 0===this.isIE&&(this.isIE=!!document.documentMode),this.isIE},e.isBrowserEdge=function(){return void 0===this.isEdge&&(this.isEdge=!this.isBrowserIE()&&!!window.StyleMedia),this.isEdge},e.isBrowserSafari=function(){if(void 0===this.isSafari){var e=window;this.isSafari=Object.prototype.toString.call(e.HTMLElement).indexOf(\"Constructor\")>0||function(e){return\"[object SafariRemoteNotification]\"===e.toString()}(!e.safari||e.safari.pushNotification)}return this.isSafari},e.isBrowserChrome=function(){if(void 0===this.isChrome){var e=window;this.isChrome=!!e.chrome&&!!e.chrome.webstore}return this.isChrome},e.isBrowserFirefox=function(){if(void 0===this.isFirefox){var e=window;this.isFirefox=void 0!==e.InstallTrigger}return this.isFirefox},e.getTarget=function(e){var t=e;return t.target||t.srcElement},e.getBodyWidth=function(){return document.body?document.body.clientWidth:window.innerHeight?window.innerWidth:document.documentElement&&document.documentElement.clientWidth?document.documentElement.clientWidth:-1},e.getBodyHeight=function(){return document.body?document.body.clientHeight:window.innerHeight?window.innerHeight:document.documentElement&&document.documentElement.clientHeight?document.documentElement.clientHeight:-1},e.setCheckboxState=function(e,t){\"boolean\"==typeof t?(e.checked=t,e.indeterminate=!1):e.indeterminate=!0},e.traverseNodesWithKey=function(e,t){function o(e){e.forEach(function(e){if(e.group){n.push(e.key);var i=n.join(\"|\");t(e,i),o(e.childrenAfterGroup),n.pop()}})}var n=[];o(e)},e.isNumeric=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},e.escape=function(e){return null===e?null:e.replace?e.replace(s,function(e){return r[e]}):e},e.normalizeWheel=function(e){var t=10,o=40,n=800,i=0,r=0,s=0,a=0;return\"detail\"in e&&(r=e.detail),\"wheelDelta\"in e&&(r=-e.wheelDelta/120),\"wheelDeltaY\"in e&&(r=-e.wheelDeltaY/120),\"wheelDeltaX\"in e&&(i=-e.wheelDeltaX/120),\"axis\"in e&&e.axis===e.HORIZONTAL_AXIS&&(i=r,r=0),s=i*t,a=r*t,\"deltaY\"in e&&(a=e.deltaY),\"deltaX\"in e&&(s=e.deltaX),(s||a)&&e.deltaMode&&(1==e.deltaMode?(s*=o,a*=o):(s*=n,a*=n)),s&&!i&&(i=s<1?-1:1),a&&!r&&(r=a<1?-1:1),{spinX:i,spinY:r,pixelX:s,pixelY:a}},e}();t.Utils=a;var l=function(){function e(e,t){void 0===e&&(e=0),void 0===t&&(t=1),this.nextValue=e,this.step=t}return e.prototype.next=function(){var e=this.nextValue;return this.nextValue+=this.step,e},e}();t.NumberSequence=l,t._=a},function(e,t){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var o=function(){function e(){}return e}();o.STEP_EVERYTHING=0,o.STEP_FILTER=1,o.STEP_SORT=2,o.STEP_MAP=3,o.STEP_AGGREGATE=4,o.STEP_PIVOT=5,o.STEP_PAGINATE=6,o.STEP_SET_HEIGHTS=7,o.ROW_BUFFER_SIZE=10,o.LAYOUT_INTERVAL=500,o.KEY_BACKSPACE=8,o.KEY_TAB=9,o.KEY_ENTER=13,o.KEY_SHIFT=16,o.KEY_ESCAPE=27,o.KEY_SPACE=32,o.KEY_LEFT=37,o.KEY_UP=38,o.KEY_RIGHT=39,o.KEY_DOWN=40,o.KEY_DELETE=46,o.KEY_A=65,o.KEY_C=67,o.KEY_V=86,o.KEY_D=68,o.KEY_F2=113,o.KEY_PAGE_UP=33,o.KEY_PAGE_DOWN=34,o.KEY_PAGE_HOME=36,o.KEY_PAGE_END=35,o.KEY_PAGE_UP_NAME=\"pageUp\",o.KEY_PAGE_DOWN_NAME=\"pageDown\",o.KEY_PAGE_HOME_NAME=\"home\",o.KEY_PAGE_END_NAME=\"end\",o.KEY_CTRL_UP_NAME=\"ctrlUp\",o.KEY_CTRL_LEFT_NAME=\"ctrlLeft\",o.KEY_CTRL_RIGHT_NAME=\"ctrlRight\",o.KEY_CTRL_DOWN_NAME=\"ctrlDown\",o.ROW_MODEL_TYPE_PAGINATION=\"pagination\",o.ROW_MODEL_TYPE_VIRTUAL_DEPRECATED=\"virtual\",o.ROW_MODEL_TYPE_INFINITE=\"infinite\",o.ROW_MODEL_TYPE_VIEWPORT=\"viewport\",o.ROW_MODEL_TYPE_NORMAL=\"normal\",o.ROW_MODEL_TYPE_ENTERPRISE=\"enterprise\",o.ALWAYS=\"always\",o.ONLY_WHEN_GROUPING=\"onlyWhenGrouping\",o.FLOATING_TOP=\"top\",o.FLOATING_BOTTOM=\"bottom\",o.VERTICAL_SCROLL_KEYS_ID=\"verticalScrollKeys\",o.HORIZONTAL_SCROLL_KEYS_ID=\"horizontalScrollKeys\",o.DIAGONAL_SCROLL_KEYS_ID=\"diagonalScrollKeys\",o.VERTICAL_SCROLL_KEYS={id:o.VERTICAL_SCROLL_KEYS_ID,bindings:[{id:o.KEY_PAGE_UP_NAME,ctlRequired:!1,altRequired:!1,keyCode:o.KEY_PAGE_UP},{id:o.KEY_PAGE_DOWN_NAME,ctlRequired:!1,altRequired:!1,keyCode:o.KEY_PAGE_DOWN},{id:o.KEY_CTRL_UP_NAME,ctlRequired:!0,altRequired:!1,keyCode:o.KEY_UP},{id:o.KEY_CTRL_DOWN_NAME,ctlRequired:!0,altRequired:!1,keyCode:o.KEY_DOWN}]},o.HORIZONTAL_SCROLL_KEYS={id:o.HORIZONTAL_SCROLL_KEYS_ID,bindings:[{id:o.KEY_CTRL_LEFT_NAME,ctlRequired:!0,altRequired:!1,keyCode:o.KEY_LEFT},{id:o.KEY_CTRL_RIGHT_NAME,ctlRequired:!0,altRequired:!1,keyCode:o.KEY_RIGHT}]},o.DIAGONAL_SCROLL_KEYS={id:o.DIAGONAL_SCROLL_KEYS_ID,bindings:[{id:o.KEY_PAGE_HOME_NAME,ctlRequired:!1,altRequired:!1,keyCode:o.KEY_PAGE_HOME},{id:o.KEY_PAGE_END_NAME,ctlRequired:!1,altRequired:!1,keyCode:o.KEY_PAGE_END}]},t.Constants=o},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";function n(e){(e.ready||e.onReady)&&console.warn(\"ag-grid: as of v3.3 ready event is now called gridReady, so the callback should be onGridReady\"),(e.rowDeselected||e.onRowDeselected)&&console.warn(\"ag-grid: as of v3.4 rowDeselected no longer exists. Please check the docs.\")}Object.defineProperty(t,\"__esModule\",{value:!0});var i=o(12),r=o(9),s=function(){function e(){}return e.getEventCallbacks=function(){return e.EVENT_CALLBACKS||(e.EVENT_CALLBACKS=[],e.EVENTS.forEach(function(t){e.EVENT_CALLBACKS.push(e.getCallbackForEvent(t))})),e.EVENT_CALLBACKS},e.copyAttributesToGridOptions=function(t,o){n(o),\"object\"!=typeof t&&(t={});var i=t;return e.ARRAY_PROPERTIES.concat(e.STRING_PROPERTIES).concat(e.OBJECT_PROPERTIES).concat(e.FUNCTION_PROPERTIES).forEach(function(e){void 0!==o[e]&&(i[e]=o[e])}),e.BOOLEAN_PROPERTIES.forEach(function(t){void 0!==o[t]&&(i[t]=e.toBoolean(o[t]))}),e.NUMBER_PROPERTIES.forEach(function(t){void 0!==o[t]&&(i[t]=e.toNumber(o[t]))}),e.getEventCallbacks().forEach(function(e){void 0!==o[e]&&(i[e]=o[e])}),t},e.getCallbackForEvent=function(e){return!e||e.length<2?e:\"on\"+e[0].toUpperCase()+e.substr(1)},e.processOnChange=function(t,o,r,s){if(t){n(t);var a=o;e.ARRAY_PROPERTIES.concat(e.OBJECT_PROPERTIES).concat(e.STRING_PROPERTIES).forEach(function(e){t[e]&&(a[e]=t[e].currentValue)}),e.BOOLEAN_PROPERTIES.forEach(function(o){t[o]&&(a[o]=e.toBoolean(t[o].currentValue))}),e.NUMBER_PROPERTIES.forEach(function(o){t[o]&&(a[o]=e.toNumber(t[o].currentValue))}),e.getEventCallbacks().forEach(function(e){t[e]&&(a[e]=t[e].currentValue)}),t.showToolPanel&&r.showToolPanel(e.toBoolean(t.showToolPanel.currentValue)),t.quickFilterText&&r.setQuickFilter(t.quickFilterText.currentValue),t.rowData&&r.setRowData(t.rowData.currentValue),t.floatingTopRowData&&r.setFloatingTopRowData(t.floatingTopRowData.currentValue),t.floatingBottomRowData&&r.setFloatingBottomRowData(t.floatingBottomRowData.currentValue),t.columnDefs&&r.setColumnDefs(t.columnDefs.currentValue),t.datasource&&r.setDatasource(t.datasource.currentValue),t.headerHeight&&r.setHeaderHeight(e.toNumber(t.headerHeight.currentValue)),t.paginationPageSize&&r.paginationSetPageSize(e.toNumber(t.paginationPageSize.currentValue)),t.pivotMode&&s.setPivotMode(e.toBoolean(t.pivotMode.currentValue)),r.dispatchEvent(i.Events.EVENT_COMPONENT_STATE_CHANGED,t)}},e.toBoolean=function(e){return\"boolean\"==typeof e?e:\"string\"==typeof e&&(\"TRUE\"===e.toUpperCase()||\"\"==e)},e.toNumber=function(e){return\"number\"==typeof e?e:\"string\"==typeof e?Number(e):void 0},e}();s.EVENTS=[],s.STRING_PROPERTIES=[\"sortingOrder\",\"rowClass\",\"rowSelection\",\"overlayLoadingTemplate\",\"overlayNoRowsTemplate\",\"headerCellTemplate\",\"quickFilterText\",\"rowModelType\",\"editType\"],s.OBJECT_PROPERTIES=[\"rowStyle\",\"context\",\"groupColumnDef\",\"localeText\",\"icons\",\"datasource\",\"enterpriseDatasource\",\"viewportDatasource\",\"groupRowRendererParams\",\"aggFuncs\",\"fullWidthCellRendererParams\",\"defaultColGroupDef\",\"defaultColDef\",\"defaultExportParams\"],s.ARRAY_PROPERTIES=[\"slaveGrids\",\"rowData\",\"floatingTopRowData\",\"floatingBottomRowData\",\"columnDefs\",\"excelStyles\"],s.NUMBER_PROPERTIES=[\"rowHeight\",\"rowBuffer\",\"colWidth\",\"headerHeight\",\"groupDefaultExpanded\",\"minColWidth\",\"maxColWidth\",\"viewportRowModelPageSize\",\"viewportRowModelBufferSize\",\"layoutInterval\",\"autoSizePadding\",\"maxPagesInCache\",\"maxConcurrentDatasourceRequests\",\"paginationOverflowSize\",\"paginationPageSize\",\"infiniteBlockSize\",\"infiniteInitialRowCount\",\"scrollbarWidth\",\"paginationStartPage\",\"infiniteBlockSize\"],s.BOOLEAN_PROPERTIES=[\"toolPanelSuppressRowGroups\",\"toolPanelSuppressValues\",\"toolPanelSuppressPivots\",\"toolPanelSuppressPivotMode\",\"suppressRowClickSelection\",\"suppressCellSelection\",\"suppressHorizontalScroll\",\"debug\",\"enableColResize\",\"enableCellExpressions\",\"enableSorting\",\"enableServerSideSorting\",\"enableFilter\",\"enableServerSideFilter\",\"angularCompileRows\",\"angularCompileFilters\",\"angularCompileHeaders\",\"groupSuppressAutoColumn\",\"groupSelectsChildren\",\"groupIncludeFooter\",\"groupUseEntireRow\",\"groupSuppressRow\",\"groupSuppressBlankHeader\",\"forPrint\",\"suppressMenuHide\",\"rowDeselection\",\"unSortIcon\",\"suppressMultiSort\",\"suppressScrollLag\",\"singleClickEdit\",\"suppressLoadingOverlay\",\"suppressNoRowsOverlay\",\"suppressAutoSize\",\"suppressParentsInRowNodes\",\"showToolPanel\",\"suppressColumnMoveAnimation\",\"suppressMovableColumns\",\"suppressFieldDotNotation\",\"enableRangeSelection\",\"suppressEnterprise\",\"rowGroupPanelShow\",\"pivotPanelShow\",\"suppressTouch\",\"allowContextMenuWithControlKey\",\"suppressContextMenu\",\"suppressMenuFilterPanel\",\"suppressMenuMainPanel\",\"suppressMenuColumnPanel\",\"enableStatusBar\",\"rememberGroupStateWhenNewData\",\"enableCellChangeFlash\",\"suppressDragLeaveHidesColumns\",\"suppressMiddleClickScrolls\",\"suppressPreventDefaultOnMouseWheel\",\"suppressUseColIdForGroups\",\"suppressCopyRowsToClipboard\",\"pivotMode\",\"suppressAggFuncInHeader\",\"suppressColumnVirtualisation\",\"suppressFocusAfterRefresh\",\"functionsPassive\",\"functionsReadOnly\",\"suppressRowHoverClass\",\"animateRows\",\"groupSelectsFiltered\",\"groupRemoveSingleChildren\",\"enableRtl\",\"suppressClickEdit\",\"enableGroupEdit\",\"embedFullWidthRows\",\"suppressTabbing\",\"suppressPaginationPanel\",\"floatingFilter\",\"groupHideOpenParents\",\"groupMultiAutoColumn\",\"pagination\",\"stopEditingWhenGridLosesFocus\",\"paginationAutoPageSize\",\"suppressScrollOnNewData\"],s.FUNCTION_PROPERTIES=[\"headerCellRenderer\",\"localeTextFunc\",\"groupRowInnerRenderer\",\"groupRowInnerRendererFramework\",\"dateComponent\",\"dateComponentFramework\",\"groupRowRenderer\",\"groupRowRendererFramework\",\"isScrollLag\",\"isExternalFilterPresent\",\"getRowHeight\",\"doesExternalFilterPass\",\"getRowClass\",\"getRowStyle\",\"getHeaderCellTemplate\",\"traverseNode\",\"getContextMenuItems\",\"getMainMenuItems\",\"processRowPostCreate\",\"processCellForClipboard\",\"getNodeChildDetails\",\"groupRowAggNodes\",\"getRowNodeId\",\"isFullWidthCell\",\"fullWidthCellRenderer\",\"fullWidthCellRendererFramework\",\"doesDataFlower\",\"processSecondaryColDef\",\"processSecondaryColGroupDef\",\"getBusinessKeyForNode\",\"sendToClipboard\",\"navigateToNextCell\",\"tabToNextCell\",\"processCellFromClipboard\",\"getDocument\"],s.ALL_PROPERTIES=s.ARRAY_PROPERTIES.concat(s.OBJECT_PROPERTIES).concat(s.STRING_PROPERTIES).concat(s.NUMBER_PROPERTIES).concat(s.FUNCTION_PROPERTIES).concat(s.BOOLEAN_PROPERTIES),t.ComponentUtil=s,r.Utils.iterateObject(i.Events,function(e,t){s.EVENTS.push(t)})},function(e,t){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var o=function(){function e(){}return e}();o.EVENT_COLUMN_EVERYTHING_CHANGED=\"columnEverythingChanged\",o.EVENT_NEW_COLUMNS_LOADED=\"newColumnsLoaded\",o.EVENT_COLUMN_PIVOT_MODE_CHANGED=\"columnPivotModeChanged\",o.EVENT_COLUMN_ROW_GROUP_CHANGED=\"columnRowGroupChanged\",o.EVENT_COLUMN_PIVOT_CHANGED=\"columnPivotChanged\",o.EVENT_GRID_COLUMNS_CHANGED=\"gridColumnsChanged\",o.EVENT_COLUMN_VALUE_CHANGED=\"columnValueChanged\",o.EVENT_COLUMN_MOVED=\"columnMoved\",o.EVENT_COLUMN_VISIBLE=\"columnVisible\",o.EVENT_COLUMN_PINNED=\"columnPinned\",o.EVENT_COLUMN_GROUP_OPENED=\"columnGroupOpened\",o.EVENT_COLUMN_RESIZED=\"columnResized\",o.EVENT_DISPLAYED_COLUMNS_CHANGED=\"displayedColumnsChanged\",o.EVENT_VIRTUAL_COLUMNS_CHANGED=\"virtualColumnsChanged\",o.EVENT_ROW_GROUP_OPENED=\"rowGroupOpened\",o.EVENT_ROW_DATA_CHANGED=\"rowDataChanged\",o.EVENT_FLOATING_ROW_DATA_CHANGED=\"floatingRowDataChanged\",o.EVENT_RANGE_SELECTION_CHANGED=\"rangeSelectionChanged\",o.EVENT_MODEL_UPDATED=\"modelUpdated\",o.EVENT_CELL_CLICKED=\"cellClicked\",o.EVENT_CELL_DOUBLE_CLICKED=\"cellDoubleClicked\",o.EVENT_CELL_CONTEXT_MENU=\"cellContextMenu\",o.EVENT_CELL_VALUE_CHANGED=\"cellValueChanged\",o.EVENT_ROW_VALUE_CHANGED=\"rowValueChanged\",o.EVENT_CELL_FOCUSED=\"cellFocused\",o.EVENT_ROW_SELECTED=\"rowSelected\",o.EVENT_SELECTION_CHANGED=\"selectionChanged\",o.EVENT_CELL_MOUSE_OVER=\"cellMouseOver\",o.EVENT_CELL_MOUSE_OUT=\"cellMouseOut\",o.EVENT_COLUMN_HOVER_CHANGED=\"columnHoverChanged\",o.EVENT_BEFORE_FILTER_CHANGED=\"beforeFilterChanged\",o.EVENT_FILTER_CHANGED=\"filterChanged\",o.EVENT_AFTER_FILTER_CHANGED=\"afterFilterChanged\",o.EVENT_FILTER_MODIFIED=\"filterModified\",o.EVENT_BEFORE_SORT_CHANGED=\"beforeSortChanged\",o.EVENT_SORT_CHANGED=\"sortChanged\",o.EVENT_AFTER_SORT_CHANGED=\"afterSortChanged\",o.EVENT_VIRTUAL_ROW_REMOVED=\"virtualRowRemoved\",o.EVENT_ROW_CLICKED=\"rowClicked\",o.EVENT_ROW_DOUBLE_CLICKED=\"rowDoubleClicked\",o.EVENT_GRID_READY=\"gridReady\",o.EVENT_GRID_SIZE_CHANGED=\"gridSizeChanged\",o.EVENT_VIEWPORT_CHANGED=\"viewportChanged\",o.EVENT_DRAG_STARTED=\"dragStarted\",o.EVENT_DRAG_STOPPED=\"dragStopped\",o.EVENT_ROW_EDITING_STARTED=\"rowEditingStarted\",o.EVENT_ROW_EDITING_STOPPED=\"rowEditingStopped\",o.EVENT_CELL_EDITING_STARTED=\"cellEditingStarted\",o.EVENT_CELL_EDITING_STOPPED=\"cellEditingStopped\",o.EVENT_ITEMS_ADDED=\"itemsAdded\",o.EVENT_ITEMS_REMOVED=\"itemsRemoved\",o.EVENT_BODY_SCROLL=\"bodyScroll\",o.EVENT_FLASH_CELLS=\"flashCells\",o.EVENT_PAGINATION_CHANGED=\"paginationChanged\",o.EVENT_BODY_HEIGHT_CHANGED=\"bodyHeightChanged\",o.DEPRECATED_EVENT_PAGINATION_RESET=\"paginationReset\",o.DEPRECATED_EVENT_PAGINATION_PAGE_LOADED=\"paginationPageLoaded\",o.DEPRECATED_EVENT_PAGINATION_PAGE_REQUESTED=\"paginationPageRequested\",o.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED=\"displayedColumnsWidthChanged\",o.EVENT_SCROLL_VISIBILITY_CHANGED=\"scrollVisibilityChanged\",o.EVENT_COMPONENT_STATE_CHANGED=\"componentStateChanged\",o.EVENT_COLUMN_ROW_GROUP_CHANGE_REQUEST=\"columnRowGroupChangeRequest\",o.EVENT_COLUMN_PIVOT_CHANGE_REQUEST=\"columnPivotChangeRequest\",o.EVENT_COLUMN_VALUE_CHANGE_REQUEST=\"columnValueChangeRequest\",o.EVENT_COLUMN_AGG_FUNC_CHANGE_REQUEST=\"columnAggFuncChangeRequest\",t.Events=o},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(14),s=o(26),a=o(86),l=o(48),p=o(16),d=o(31),c=o(5),u=o(27),h=o(32),g=o(28),f=o(6),y=o(29),v=o(10),m=o(8),C=o(47),E=o(61),w=o(36),b=o(37),R=o(9),A=o(75),S=o(68),O=o(67),x=o(42),P=function(){function e(){}return e.prototype.init=function(){switch(this.rowModel.getType()){case v.Constants.ROW_MODEL_TYPE_NORMAL:case v.Constants.ROW_MODEL_TYPE_PAGINATION:this.inMemoryRowModel=this.rowModel;break;case v.Constants.ROW_MODEL_TYPE_INFINITE:case v.Constants.ROW_MODEL_TYPE_VIRTUAL_DEPRECATED:this.infinitePageRowModel=this.rowModel}this.gridOptionsWrapper.isPagination()?this.paginationService=this.paginationProxy:this.paginationService=this.serverPaginationService},e.prototype.__getMasterSlaveService=function(){return this.masterSlaveService},e.prototype.getFirstRenderedRow=function(){return this.rowRenderer.getFirstVirtualRenderedRow()},e.prototype.getLastRenderedRow=function(){return this.rowRenderer.getLastVirtualRenderedRow()},e.prototype.getDataAsCsv=function(e){return this.csvCreator.getDataAsCsv(e)},e.prototype.exportDataAsCsv=function(e){this.csvCreator.exportDataAsCsv(e)},e.prototype.getDataAsExcel=function(e){return this.excelCreator||console.warn(\"ag-Grid: Excel export is only available in ag-Grid Enterprise\"),this.excelCreator.getDataAsExcelXml(e)},e.prototype.exportDataAsExcel=function(e){this.excelCreator||console.warn(\"ag-Grid: Excel export is only available in ag-Grid Enterprise\"),this.excelCreator.exportDataAsExcel(e)},e.prototype.setEnterpriseDatasource=function(e){this.gridOptionsWrapper.isRowModelEnterprise()?this.rowModel.setDatasource(e):console.warn(\"ag-Grid: you can only use an enterprise datasource when gridOptions.rowModelType is '\"+v.Constants.ROW_MODEL_TYPE_ENTERPRISE+\"'\")},e.prototype.setDatasource=function(e){this.gridOptionsWrapper.isRowModelServerPagination()?this.serverPaginationService.setDatasource(e):this.gridOptionsWrapper.isRowModelInfinite()?this.rowModel.setDatasource(e):console.warn(\"ag-Grid: you can only use a datasource when gridOptions.rowModelType is '\"+v.Constants.ROW_MODEL_TYPE_INFINITE+\"'\")},e.prototype.setViewportDatasource=function(e){this.gridOptionsWrapper.isRowModelViewport()?this.rowModel.setViewportDatasource(e):console.warn(\"ag-Grid: you can only use a viewport datasource when gridOptions.rowModelType is '\"+v.Constants.ROW_MODEL_TYPE_VIEWPORT+\"'\")},e.prototype.setRowData=function(e){this.gridOptionsWrapper.isRowModelDefault()?(this.selectionController.reset(),this.inMemoryRowModel.setRowData(e,!0)):console.log(\"cannot call setRowData unless using normal row model\")},e.prototype.setFloatingTopRowData=function(e){this.floatingRowModel.setFloatingTopRowData(e)},e.prototype.setFloatingBottomRowData=function(e){this.floatingRowModel.setFloatingBottomRowData(e)},e.prototype.getFloatingTopRowCount=function(){return this.floatingRowModel.getFloatingTopRowCount()},e.prototype.getFloatingBottomRowCount=function(){return this.floatingRowModel.getFloatingBottomRowCount()},e.prototype.getFloatingTopRow=function(e){return this.floatingRowModel.getFloatingTopRow(e)},e.prototype.getFloatingBottomRow=function(e){return this.floatingRowModel.getFloatingBottomRow(e)},e.prototype.setColumnDefs=function(e){this.columnController.setColumnDefs(e)},e.prototype.refreshRows=function(e){this.rowRenderer.refreshRows(e)},e.prototype.refreshCells=function(e,t,o){void 0===o&&(o=!1),this.rowRenderer.refreshCells(e,t,o)},e.prototype.rowDataChanged=function(e){console.log(\"ag-Grid: rowDataChanged is deprecated, either call refreshView() to refresh everything, or call rowNode.setRowData(newData) to set value on a particular node\"),this.refreshView()},e.prototype.refreshView=function(){this.rowRenderer.refreshView()},e.prototype.setFunctionsReadOnly=function(e){this.gridOptionsWrapper.setProperty(\"functionsReadOnly\",e)},e.prototype.softRefreshView=function(){this.rowRenderer.softRefreshView()},e.prototype.refreshGroupRows=function(){this.rowRenderer.refreshGroupRows()},e.prototype.refreshHeader=function(){this.headerRenderer.refreshHeader()},e.prototype.isAnyFilterPresent=function(){return this.filterManager.isAnyFilterPresent()},e.prototype.isAdvancedFilterPresent=function(){return this.filterManager.isAdvancedFilterPresent()},e.prototype.isQuickFilterPresent=function(){return this.filterManager.isQuickFilterPresent()},e.prototype.getModel=function(){return this.rowModel},e.prototype.onGroupExpandedOrCollapsed=function(e){R.Utils.missing(this.inMemoryRowModel)&&console.log(\"ag-Grid: cannot call onGroupExpandedOrCollapsed unless using normal row model\"),R.Utils.exists(e)&&console.log(\"ag-Grid: api.onGroupExpandedOrCollapsed - refreshFromIndex parameter is not longer used, the grid will refresh all rows\"),this.inMemoryRowModel.refreshModel({step:v.Constants.STEP_MAP})},e.prototype.refreshInMemoryRowModel=function(){R.Utils.missing(this.inMemoryRowModel)&&console.log(\"cannot call refreshInMemoryRowModel unless using normal row model\"),this.inMemoryRowModel.refreshModel({step:v.Constants.STEP_EVERYTHING})},e.prototype.expandAll=function(){R.Utils.missing(this.inMemoryRowModel)&&console.log(\"cannot call expandAll unless using normal row model\"),this.inMemoryRowModel.expandOrCollapseAll(!0)},e.prototype.collapseAll=function(){R.Utils.missing(this.inMemoryRowModel)&&console.log(\"cannot call collapseAll unless using normal row model\"),this.inMemoryRowModel.expandOrCollapseAll(!1)},e.prototype.addVirtualRowListener=function(e,t,o){\"string\"!=typeof e&&console.log(\"ag-Grid: addVirtualRowListener is deprecated, please use addRenderedRowListener.\"),this.addRenderedRowListener(e,t,o)},e.prototype.addRenderedRowListener=function(e,t,o){\"virtualRowRemoved\"===e&&(console.log(\"ag-Grid: event virtualRowRemoved is deprecated, now called renderedRowRemoved\"),e=\"\"),\"virtualRowSelected\"===e&&console.log(\"ag-Grid: event virtualRowSelected is deprecated, to register for individual row selection events, add a listener directly to the row node.\"),this.rowRenderer.addRenderedRowListener(e,t,o)},e.prototype.setQuickFilter=function(e){this.filterManager.setQuickFilter(e)},e.prototype.selectIndex=function(e,t,o){console.log(\"ag-Grid: do not use api for selection, call node.setSelected(value) instead\"),o&&console.log(\"ag-Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it\"),this.selectionController.selectIndex(e,t)},e.prototype.deselectIndex=function(e,t){void 0===t&&(t=!1),console.log(\"ag-Grid: do not use api for selection, call node.setSelected(value) instead\"),t&&console.log(\"ag-Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it\"),this.selectionController.deselectIndex(e)},e.prototype.selectNode=function(e,t,o){void 0===t&&(t=!1),void 0===o&&(o=!1),console.log(\"ag-Grid: API for selection is deprecated, call node.setSelected(value) instead\"),o&&console.log(\"ag-Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it\"),e.setSelectedParams({newValue:!0,clearSelection:!t})},e.prototype.deselectNode=function(e,t){void 0===t&&(t=!1),console.log(\"ag-Grid: API for selection is deprecated, call node.setSelected(value) instead\"),t&&console.log(\"ag-Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it\"),e.setSelectedParams({newValue:!1})},e.prototype.selectAll=function(){this.selectionController.selectAllRowNodes()},e.prototype.deselectAll=function(){this.selectionController.deselectAllRowNodes()},e.prototype.selectAllFiltered=function(){this.selectionController.selectAllRowNodes(!0)},e.prototype.deselectAllFiltered=function(){this.selectionController.deselectAllRowNodes(!0)},e.prototype.recomputeAggregates=function(){R.Utils.missing(this.inMemoryRowModel)&&console.log(\"cannot call recomputeAggregates unless using normal row model\"),this.inMemoryRowModel.refreshModel({step:v.Constants.STEP_AGGREGATE})},e.prototype.sizeColumnsToFit=function(){if(this.gridOptionsWrapper.isForPrint())return void console.warn(\"ag-grid: sizeColumnsToFit does not work when forPrint=true\");this.gridPanel.sizeColumnsToFit()},e.prototype.showLoadingOverlay=function(){this.gridPanel.showLoadingOverlay()},e.prototype.showNoRowsOverlay=function(){this.gridPanel.showNoRowsOverlay()},e.prototype.hideOverlay=function(){this.gridPanel.hideOverlay()},e.prototype.isNodeSelected=function(e){return console.log(\"ag-Grid: no need to call api.isNodeSelected(), just call node.isSelected() instead\"),e.isSelected()},e.prototype.getSelectedNodesById=function(){return console.error(\"ag-Grid: since version 3.4, getSelectedNodesById no longer exists, use getSelectedNodes() instead\"),null},e.prototype.getSelectedNodes=function(){return this.selectionController.getSelectedNodes()},e.prototype.getSelectedRows=function(){return this.selectionController.getSelectedRows()},e.prototype.getBestCostNodeSelection=function(){return this.selectionController.getBestCostNodeSelection()},e.prototype.getRenderedNodes=function(){return this.rowRenderer.getRenderedNodes()},e.prototype.ensureColIndexVisible=function(e){console.warn(\"ag-Grid: ensureColIndexVisible(index) no longer supported, use ensureColumnVisible(colKey) instead.\")},e.prototype.ensureColumnVisible=function(e){this.gridPanel.ensureColumnVisible(e)},e.prototype.ensureIndexVisible=function(e){this.gridPanel.ensureIndexVisible(e)},e.prototype.ensureNodeVisible=function(e){this.gridCore.ensureNodeVisible(e)},e.prototype.forEachLeafNode=function(e){R.Utils.missing(this.inMemoryRowModel)&&console.log(\"cannot call forEachNodeAfterFilter unless using normal row model\"),this.inMemoryRowModel.forEachLeafNode(e)},e.prototype.forEachNode=function(e){this.rowModel.forEachNode(e)},e.prototype.forEachNodeAfterFilter=function(e){R.Utils.missing(this.inMemoryRowModel)&&console.log(\"cannot call forEachNodeAfterFilter unless using normal row model\"),this.inMemoryRowModel.forEachNodeAfterFilter(e)},e.prototype.forEachNodeAfterFilterAndSort=function(e){R.Utils.missing(this.inMemoryRowModel)&&console.log(\"cannot call forEachNodeAfterFilterAndSort unless using normal row model\"),this.inMemoryRowModel.forEachNodeAfterFilterAndSort(e)},e.prototype.getFilterApiForColDef=function(e){return console.warn(\"ag-grid API method getFilterApiForColDef deprecated, use getFilterApi instead\"),this.getFilterInstance(e)},e.prototype.getFilterInstance=function(e){var t=this.columnController.getPrimaryColumn(e);if(t)return this.filterManager.getFilterComponent(t)},e.prototype.getFilterApi=function(e){return console.warn(\"ag-Grid: getFilterApi is deprecated, use getFilterInstance instead\"),this.getFilterInstance(e)},e.prototype.destroyFilter=function(e){var t=this.columnController.getPrimaryColumn(e);if(t)return this.filterManager.destroyFilter(t)},e.prototype.getColumnDef=function(e){var t=this.columnController.getPrimaryColumn(e);return t?t.getColDef():null},e.prototype.onFilterChanged=function(){this.filterManager.onFilterChanged()},e.prototype.onSortChanged=function(){this.sortController.onSortChanged()},e.prototype.setSortModel=function(e){this.sortController.setSortModel(e)},e.prototype.getSortModel=function(){return this.sortController.getSortModel()},e.prototype.setFilterModel=function(e){this.filterManager.setFilterModel(e)},e.prototype.getFilterModel=function(){return this.filterManager.getFilterModel()},e.prototype.getFocusedCell=function(){return this.focusedCellController.getFocusedCell()},e.prototype.clearFocusedCell=function(){return this.focusedCellController.clearFocusedCell()},e.prototype.setFocusedCell=function(e,t,o){this.focusedCellController.setFocusedCell(e,t,o,!0)},e.prototype.setHeaderHeight=function(e){this.gridOptionsWrapper.setProperty(c.GridOptionsWrapper.PROP_HEADER_HEIGHT,e)},e.prototype.showToolPanel=function(e){this.gridCore.showToolPanel(e)},e.prototype.isToolPanelShowing=function(){return this.gridCore.isToolPanelShowing()},e.prototype.doLayout=function(){this.gridCore.doLayout()},e.prototype.resetRowHeights=function(){R.Utils.exists(this.inMemoryRowModel)&&this.inMemoryRowModel.resetRowHeights()},e.prototype.onRowHeightChanged=function(){R.Utils.exists(this.inMemoryRowModel)&&this.inMemoryRowModel.onRowHeightChanged()},e.prototype.getValue=function(e,t){var o=this.columnController.getPrimaryColumn(e);return R.Utils.missing(o)&&(o=this.columnController.getGridColumn(e)),R.Utils.missing(o)?null:this.valueService.getValue(o,t)},e.prototype.addEventListener=function(e,t){this.eventService.addEventListener(e,t)},e.prototype.addGlobalListener=function(e){this.eventService.addGlobalListener(e)},e.prototype.removeEventListener=function(e,t){this.eventService.removeEventListener(e,t)},e.prototype.removeGlobalListener=function(e){this.eventService.removeGlobalListener(e)},e.prototype.dispatchEvent=function(e,t){this.eventService.dispatchEvent(e,t)},e.prototype.destroy=function(){this.context.destroy()},e.prototype.resetQuickFilter=function(){this.rowModel.forEachNode(function(e){return e.quickFilterAggregateText=null})},e.prototype.getRangeSelections=function(){return this.rangeController?this.rangeController.getCellRanges():(console.warn(\"ag-Grid: cell range selection is only available in ag-Grid Enterprise\"),null)},e.prototype.addRangeSelection=function(e){this.rangeController||console.warn(\"ag-Grid: cell range selection is only available in ag-Grid Enterprise\"),this.rangeController.addRange(e)},e.prototype.clearRangeSelection=function(){this.rangeController||console.warn(\"ag-Grid: cell range selection is only available in ag-Grid Enterprise\"),this.rangeController.clearSelection()},e.prototype.copySelectedRowsToClipboard=function(e,t){this.clipboardService||console.warn(\"ag-Grid: clipboard is only available in ag-Grid Enterprise\"),this.clipboardService.copySelectedRowsToClipboard(e,t)},e.prototype.copySelectedRangeToClipboard=function(e){this.clipboardService||console.warn(\"ag-Grid: clipboard is only available in ag-Grid Enterprise\"),this.clipboardService.copySelectedRangeToClipboard(e)},e.prototype.copySelectedRangeDown=function(){this.clipboardService||console.warn(\"ag-Grid: clipboard is only available in ag-Grid Enterprise\"),this.clipboardService.copyRangeDown()},e.prototype.showColumnMenuAfterButtonClick=function(e,t){var o=this.columnController.getPrimaryColumn(e);this.menuFactory.showMenuAfterButtonClick(o,t)},e.prototype.showColumnMenuAfterMouseClick=function(e,t){var o=this.columnController.getPrimaryColumn(e);this.menuFactory.showMenuAfterMouseEvent(o,t)},e.prototype.tabToNextCell=function(){return this.rowRenderer.tabToNextCell(!1)},e.prototype.tabToPreviousCell=function(){return this.rowRenderer.tabToNextCell(!0)},e.prototype.stopEditing=function(e){void 0===e&&(e=!1),this.rowRenderer.stopEditing(e)},e.prototype.startEditingCell=function(e){var t=this.columnController.getGridColumn(e.colKey);if(!t)return void console.warn(\"ag-Grid: no column found for \"+e.colKey);var o={rowIndex:e.rowIndex,floating:null,column:t},n=new b.GridCell(o);this.gridPanel.ensureIndexVisible(e.rowIndex),this.rowRenderer.startEditingCell(n,e.keyPress,e.charPress)},e.prototype.addAggFunc=function(e,t){this.aggFuncService&&this.aggFuncService.addAggFunc(e,t)},e.prototype.addAggFuncs=function(e){this.aggFuncService&&this.aggFuncService.addAggFuncs(e)},e.prototype.clearAggFuncs=function(){this.aggFuncService&&this.aggFuncService.clear()},e.prototype.insertItemsAtIndex=function(e,t,o){void 0===o&&(o=!1),this.rowModel.insertItemsAtIndex(e,t,o)},e.prototype.removeItems=function(e,t){void 0===t&&(t=!1),this.rowModel.removeItems(e,t)},e.prototype.addItems=function(e,t){void 0===t&&(t=!1),this.rowModel.addItems(e,t)},e.prototype.refreshVirtualPageCache=function(){console.warn(\"ag-Grid: refreshVirtualPageCache() is now called refreshInfinitePageCache(), please call refreshInfinitePageCache() instead\"),this.refreshInfinitePageCache()},e.prototype.refreshInfinitePageCache=function(){this.infinitePageRowModel?this.infinitePageRowModel.refreshCache():console.warn(\"ag-Grid: api.refreshVirtualPageCache is only available when rowModelType='virtual'.\")},e.prototype.purgeVirtualPageCache=function(){console.warn(\"ag-Grid: purgeVirtualPageCache() is now called purgeInfinitePageCache(), please call purgeInfinitePageCache() instead\"),this.purgeInfinitePageCache()},e.prototype.purgeInfinitePageCache=function(){this.infinitePageRowModel?this.infinitePageRowModel.purgeCache():console.warn(\"ag-Grid: api.refreshVirtualPageCache is only available when rowModelType='virtual'.\")},e.prototype.getVirtualRowCount=function(){return console.warn(\"ag-Grid: getVirtualRowCount() is now called getInfiniteRowCount(), please call getInfiniteRowCount() instead\"),this.getInfiniteRowCount()},e.prototype.getInfiniteRowCount=function(){if(this.infinitePageRowModel)return this.infinitePageRowModel.getVirtualRowCount();console.warn(\"ag-Grid: api.getVirtualRowCount is only available when rowModelType='virtual'.\")},e.prototype.isMaxRowFound=function(){if(this.infinitePageRowModel)return this.infinitePageRowModel.isMaxRowFound();console.warn(\"ag-Grid: api.isMaxRowFound is only available when rowModelType='virtual'.\")},e.prototype.setVirtualRowCount=function(e,t){console.warn(\"ag-Grid: setVirtualRowCount() is now called setInfiniteRowCount(), please call setInfiniteRowCount() instead\"),this.setInfiniteRowCount(e,t)},e.prototype.setInfiniteRowCount=function(e,t){this.infinitePageRowModel?this.infinitePageRowModel.setVirtualRowCount(e,t):console.warn(\"ag-Grid: api.setVirtualRowCount is only available when rowModelType='virtual'.\")},e.prototype.getVirtualPageState=function(){return console.warn(\"ag-Grid: getVirtualPageState() is now called getInfinitePageState(), please call getInfinitePageState() instead\"),this.getInfinitePageState()},e.prototype.getInfinitePageState=function(){if(this.infinitePageRowModel)return this.infinitePageRowModel.getPageState();console.warn(\"ag-Grid: api.getVirtualPageState is only available when rowModelType='virtual'.\")},e.prototype.checkGridSize=function(){this.gridPanel.setBodyAndHeaderHeights()},e.prototype.paginationIsLastPageFound=function(){return this.paginationService.isLastPageFound()},e.prototype.paginationGetPageSize=function(){return this.paginationService.getPageSize()},e.prototype.paginationSetPageSize=function(e){this.gridOptionsWrapper.setProperty(\"paginationPageSize\",e)},e.prototype.paginationGetCurrentPage=function(){return this.paginationService.getCurrentPage()},e.prototype.paginationGetTotalPages=function(){return this.paginationService.getTotalPages()},e.prototype.paginationGetRowCount=function(){return this.paginationService.getTotalRowCount()},e.prototype.paginationGoToNextPage=function(){this.paginationService.goToNextPage()},e.prototype.paginationGoToPreviousPage=function(){this.paginationService.goToPreviousPage()},e.prototype.paginationGoToFirstPage=function(){this.paginationService.goToFirstPage()},e.prototype.paginationGoToLastPage=function(){this.paginationService.goToLastPage()},e.prototype.paginationGoToPage=function(e){this.paginationService.goToPage(e)},e}();n([m.Autowired(\"csvCreator\"),i(\"design:type\",r.CsvCreator)],P.prototype,\"csvCreator\",void 0),n([m.Optional(\"excelCreator\"),i(\"design:type\",Object)],P.prototype,\"excelCreator\",void 0),n([m.Autowired(\"gridCore\"),i(\"design:type\",C.GridCore)],P.prototype,\"gridCore\",void 0),n([m.Autowired(\"rowRenderer\"),i(\"design:type\",s.RowRenderer)],P.prototype,\"rowRenderer\",void 0),n([m.Autowired(\"headerRenderer\"),i(\"design:type\",a.HeaderRenderer)],P.prototype,\"headerRenderer\",void 0),n([m.Autowired(\"filterManager\"),i(\"design:type\",l.FilterManager)],P.prototype,\"filterManager\",void 0),n([m.Autowired(\"columnController\"),i(\"design:type\",p.ColumnController)],P.prototype,\"columnController\",void 0),n([m.Autowired(\"selectionController\"),i(\"design:type\",d.SelectionController)],P.prototype,\"selectionController\",void 0),n([m.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",c.GridOptionsWrapper)],P.prototype,\"gridOptionsWrapper\",void 0),n([m.Autowired(\"gridPanel\"),i(\"design:type\",u.GridPanel)],P.prototype,\"gridPanel\",void 0),n([m.Autowired(\"valueService\"),i(\"design:type\",h.ValueService)],P.prototype,\"valueService\",void 0),n([m.Autowired(\"masterSlaveService\"),i(\"design:type\",g.MasterSlaveService)],P.prototype,\"masterSlaveService\",void 0),n([m.Autowired(\"eventService\"),i(\"design:type\",f.EventService)],P.prototype,\"eventService\",void 0),n([m.Autowired(\"floatingRowModel\"),i(\"design:type\",y.FloatingRowModel)],P.prototype,\"floatingRowModel\",void 0),n([m.Autowired(\"context\"),i(\"design:type\",m.Context)],P.prototype,\"context\",void 0),n([m.Autowired(\"rowModel\"),i(\"design:type\",Object)],P.prototype,\"rowModel\",void 0),n([m.Autowired(\"sortController\"),i(\"design:type\",E.SortController)],P.prototype,\"sortController\",void 0),n([m.Autowired(\"serverPaginationService\"),i(\"design:type\",O.ServerPaginationService)],P.prototype,\"serverPaginationService\",void 0),n([m.Autowired(\"paginationProxy\"),i(\"design:type\",x.PaginationProxy)],P.prototype,\"paginationProxy\",void 0),n([m.Autowired(\"focusedCellController\"),i(\"design:type\",w.FocusedCellController)],P.prototype,\"focusedCellController\",void 0),n([m.Optional(\"rangeController\"),i(\"design:type\",Object)],P.prototype,\"rangeController\",void 0),n([m.Optional(\"clipboardService\"),i(\"design:type\",Object)],P.prototype,\"clipboardService\",void 0),n([m.Optional(\"aggFuncService\"),i(\"design:type\",Object)],P.prototype,\"aggFuncService\",void 0),n([m.Autowired(\"menuFactory\"),i(\"design:type\",Object)],P.prototype,\"menuFactory\",void 0),n([m.Autowired(\"cellRendererFactory\"),i(\"design:type\",A.CellRendererFactory)],P.prototype,\"cellRendererFactory\",void 0),n([m.Autowired(\"cellEditorFactory\"),i(\"design:type\",S.CellEditorFactory)],P.prototype,\"cellEditorFactory\",void 0),n([m.PostConstruct,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],P.prototype,\"init\",null),P=n([m.Bean(\"gridApi\")],P),t.GridApi=P},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(8),a=o(15),l=o(105),p=o(16),d=o(32),c=o(5),u=\"\\r\\n\",h=function(e){function t(t,o,n,i,r,s,a){var l=e.call(this,t,o,n,i,r)||this;return l.suppressQuotes=s,l.columnSeparator=a,l.result=\"\",l.lineOpened=!1,l}return n(t,e),t.prototype.prepare=function(e){},t.prototype.addCustomHeader=function(e){e&&(this.result+=e+u)},t.prototype.addCustomFooter=function(e){e&&(this.result+=e+u)},t.prototype.onNewHeaderGroupingRow=function(){return this.lineOpened&&(this.result+=u),{onColumn:this.onNewHeaderGroupingRowColumn.bind(this)}},t.prototype.onNewHeaderGroupingRowColumn=function(e,t,o){0!=t&&(this.result+=this.columnSeparator),this.result+=e;for(var n=1;n<=o;n++)this.result+=this.columnSeparator+this.putInQuotes(\"\",this.suppressQuotes);this.lineOpened=!0},t.prototype.onNewHeaderRow=function(){return this.lineOpened&&(this.result+=u),{onColumn:this.onNewHeaderRowColumn.bind(this)}},t.prototype.onNewHeaderRowColumn=function(e,t,o){0!=t&&(this.result+=this.columnSeparator),this.result+=this.putInQuotes(this.extractHeaderValue(e),this.suppressQuotes),this.lineOpened=!0},t.prototype.onNewBodyRow=function(){return this.lineOpened&&(this.result+=u),{onColumn:this.onNewBodyRowColumn.bind(this)}},t.prototype.onNewBodyRowColumn=function(e,t,o){0!=t&&(this.result+=this.columnSeparator),this.result+=this.putInQuotes(this.extractRowCellValue(e,t,o),this.suppressQuotes),this.lineOpened=!0},t.prototype.putInQuotes=function(e,t){if(t)return e;if(null===e||void 0===e)return'\"\"';var o;return\"string\"==typeof e?o=e:\"function\"==typeof e.toString?o=e.toString():(console.warn(\"unknown value type during csv conversion\"),o=\"\"),'\"'+o.replace(/\"/g,'\"\"')+'\"'},t.prototype.parse=function(){return this.result},t}(a.BaseGridSerializingSession);t.CsvSerializingSession=h;var g=function(){function e(){}return e.prototype.exportDataAsCsv=function(e){var t=e&&e.fileName&&0!==e.fileName.length,o=t?e.fileName:\"export.csv\",n=this.getDataAsCsv(e);return this.downloader.download(o,n,\"text/csv;charset=utf-8;\"),n},e.prototype.getDataAsCsv=function(e){return this.gridSerializer.serialize(new h(this.columnController,this.valueService,this.gridOptionsWrapper,e?e.processCellCallback:null,e?e.processHeaderCallback:null,e&&e.suppressQuotes,e&&e.columnSeparator||\",\"),e)},e}();i([s.Autowired(\"downloader\"),r(\"design:type\",l.Downloader)],g.prototype,\"downloader\",void 0),i([s.Autowired(\"gridSerializer\"),r(\"design:type\",a.GridSerializer)],g.prototype,\"gridSerializer\",void 0),i([s.Autowired(\"columnController\"),r(\"design:type\",p.ColumnController)],g.prototype,\"columnController\",void 0),i([s.Autowired(\"valueService\"),r(\"design:type\",d.ValueService)],g.prototype,\"valueService\",void 0),i([s.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",c.GridOptionsWrapper)],g.prototype,\"gridOptionsWrapper\",void 0),g=i([s.Bean(\"csvCreator\")],g),t.CsvCreator=g},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(8),s=o(16),a=o(10),l=o(29),p=o(9),d=o(31),c=o(5),u=o(24),h=o(22),g=o(102),f=o(17),y=function(){function e(e,t,o,n,i,r){this.columnController=e,this.valueService=t,this.gridOptionsWrapper=o,this.processCellCallback=n,this.processHeaderCallback=i,this.cellAndHeaderEscaper=r}return e.prototype.extractHeaderValue=function(e){var t=this.getHeaderName(this.processHeaderCallback,e);return null!==t&&void 0!==t||(t=\"\"),this.cellAndHeaderEscaper?this.cellAndHeaderEscaper(t):t},e.prototype.extractRowCellValue=function(e,t,o){var n,i=this.columnController.getRowGroupColumns().length>0;return n=o.group&&i&&0===t?this.createValueForGroupNode(o):this.valueService.getValue(e,o),n=this.processCell(o,e,n,this.processCellCallback),null!==n&&void 0!==n||(n=\"\"),this.cellAndHeaderEscaper?this.cellAndHeaderEscaper(n):n},e.prototype.getHeaderName=function(e,t){return e?e({column:t,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext()}):this.columnController.getDisplayNameForColumn(t,\"csv\",!0)},e.prototype.createValueForGroupNode=function(e){for(var t=[e.key];e.parent;)e=e.parent,t.push(e.key);return t.reverse().join(\" -> \")},e.prototype.processCell=function(e,t,o,n){return n?n({column:t,node:e,value:o,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext()}):o},e}();t.BaseGridSerializingSession=y;var v=function(){function e(){}return e.prototype.serialize=function(e,t){function o(t){if((!s||!t.group)&&(!c||!t.footer)&&(!C||t.isSelected())&&!(u&&\"top\"===t.floating||h&&\"bottom\"===t.floating)){if(!(-1===t.level)||t.leafGroup){if(!b({node:t,api:R,context:A})){var o=e.onNewBodyRow();P.forEach(function(e,n){o.onColumn(e,n,t)})}}}}var n=this.gridOptionsWrapper.getDefaultExportParams(),i={};p.Utils.assign(i,n),p.Utils.assign(i,t);var r=function(){return!1},s=i&&i.skipGroups,l=i&&i.skipHeader,d=i&&i.columnGroups,c=i&&i.skipFooters,u=i&&i.skipFloatingTop,h=i&&i.skipFloatingBottom,y=i&&i.customHeader,v=i&&i.customFooter,m=i&&i.allColumns,C=i&&i.onlySelected,E=i&&i.columnKeys,w=i&&i.onlySelectedAllPages,b=i&&i.shouldRowBeSkipped||r,R=this.gridOptionsWrapper.getApi(),A=this.gridOptionsWrapper.getContext(),S=this.columnController.isPivotMode(),O=this.rowModel.getType()===a.Constants.ROW_MODEL_TYPE_NORMAL,x=!O&&C;if(!O&&!C)return console.log(\"ag-Grid: getDataAsCsv is only available for standard row model\"),\"\";var P,D=this.rowModel;if(!(P=p.Utils.existsAndNotEmpty(E)?this.columnController.getGridColumns(E):m&&!S?this.columnController.getAllPrimaryColumns():this.columnController.getAllDisplayedColumns())||0===P.length)return\"\";if(e.prepare(P),y&&e.addCustomHeader(i.customHeader),!l||d){var T=new g.GroupInstanceIdCreator,N=this.displayedGroupCreator.createDisplayedGroups(P,this.columnController.getGridBalancedTree(),T);if(d&&N.length>0&&N[0]instanceof f.ColumnGroup){var F=e.onNewHeaderGroupingRow(),_=0;N.forEach(function(e){var t=e;F.onColumn(t.getDefinition().headerName,_++,t.getChildren().length-1)})}if(!l){var G=e.onNewHeaderRow();P.forEach(function(e,t){G.onColumn(e,t,null)})}}if(this.floatingRowModel.forEachFloatingTopRow(o),S)D.forEachPivotNode(o);else if(w||x){var M=this.selectionController.getSelectedNodes();M.forEach(function(e){o(e)})}else D.forEachNodeAfterFilterAndSort(o);return this.floatingRowModel.forEachFloatingBottomRow(o),v&&e.addCustomFooter(i.customFooter),e.parse()},e}();n([r.Autowired(\"displayedGroupCreator\"),i(\"design:type\",u.DisplayedGroupCreator)],v.prototype,\"displayedGroupCreator\",void 0),n([r.Autowired(\"columnController\"),i(\"design:type\",s.ColumnController)],v.prototype,\"columnController\",void 0),n([r.Autowired(\"rowModel\"),i(\"design:type\",Object)],v.prototype,\"rowModel\",void 0),n([r.Autowired(\"floatingRowModel\"),i(\"design:type\",l.FloatingRowModel)],v.prototype,\"floatingRowModel\",void 0),n([r.Autowired(\"selectionController\"),i(\"design:type\",d.SelectionController)],v.prototype,\"selectionController\",void 0),n([r.Autowired(\"balancedColumnTreeBuilder\"),i(\"design:type\",h.BalancedColumnTreeBuilder)],v.prototype,\"balancedColumnTreeBuilder\",void 0),n([r.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",c.GridOptionsWrapper)],v.prototype,\"gridOptionsWrapper\",void 0),v=n([r.Bean(\"gridSerializer\")],v),t.GridSerializer=v;!function(e){e[e.HEADER_GROUPING=0]=\"HEADER_GROUPING\",e[e.HEADER=1]=\"HEADER\",e[e.BODY=2]=\"BODY\"}(t.RowType||(t.RowType={}))},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},r=this&&this.__param||function(e,t){return function(o,n){t(o,n,e)}};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(9),a=o(17),l=o(18),p=o(5),d=o(21),c=o(22),u=o(24),h=o(25),g=o(6),f=o(19),y=o(7),v=o(12),m=o(101),C=o(20),E=o(102),w=o(8),b=o(27),R=o(65),A=o(103),S=function(){function e(){}return e.prototype.sizeColumnsToFit=function(e){this._columnController.sizeColumnsToFit(e)},e.prototype.setColumnGroupOpened=function(e,t,o){this._columnController.setColumnGroupOpened(e,t,o)},e.prototype.getColumnGroup=function(e,t){return this._columnController.getColumnGroup(e,t)},e.prototype.getDisplayNameForColumn=function(e,t){return this._columnController.getDisplayNameForColumn(e,t)},e.prototype.getDisplayNameForColumnGroup=function(e,t){return this._columnController.getDisplayNameForColumnGroup(e,t)},e.prototype.getColumn=function(e){return this._columnController.getPrimaryColumn(e)},e.prototype.setColumnState=function(e){return this._columnController.setColumnState(e)},e.prototype.getColumnState=function(){return this._columnController.getColumnState()},e.prototype.resetColumnState=function(){this._columnController.resetColumnState()},e.prototype.isPinning=function(){return this._columnController.isPinningLeft()||this._columnController.isPinningRight()},e.prototype.isPinningLeft=function(){return this._columnController.isPinningLeft()},e.prototype.isPinningRight=function(){return this._columnController.isPinningRight()},e.prototype.getDisplayedColAfter=function(e){return this._columnController.getDisplayedColAfter(e)},e.prototype.getDisplayedColBefore=function(e){return this._columnController.getDisplayedColBefore(e)},e.prototype.setColumnVisible=function(e,t){this._columnController.setColumnVisible(e,t)},e.prototype.setColumnsVisible=function(e,t){this._columnController.setColumnsVisible(e,t)},e.prototype.setColumnPinned=function(e,t){this._columnController.setColumnPinned(e,t)},e.prototype.setColumnsPinned=function(e,t){this._columnController.setColumnsPinned(e,t)},e.prototype.getAllColumns=function(){return this._columnController.getAllPrimaryColumns()},e.prototype.getAllGridColumns=function(){return this._columnController.getAllGridColumns()},e.prototype.getDisplayedLeftColumns=function(){return this._columnController.getDisplayedLeftColumns()},e.prototype.getDisplayedCenterColumns=function(){return this._columnController.getDisplayedCenterColumns()},e.prototype.getDisplayedRightColumns=function(){return this._columnController.getDisplayedRightColumns()},e.prototype.getAllDisplayedColumns=function(){return this._columnController.getAllDisplayedColumns()},e.prototype.getAllDisplayedVirtualColumns=function(){return this._columnController.getAllDisplayedVirtualColumns()},e.prototype.moveColumn=function(e,t){\"number\"==typeof e?(console.log(\"ag-Grid: you are using moveColumn(fromIndex, toIndex) - moveColumn takes a column key and a destination index, not two indexes, to move with indexes use moveColumnByIndex(from,to) instead\"),this._columnController.moveColumnByIndex(e,t)):this._columnController.moveColumn(e,t)},e.prototype.moveColumnByIndex=function(e,t){this._columnController.moveColumnByIndex(e,t)},e.prototype.moveColumns=function(e,t){this._columnController.moveColumns(e,t)},e.prototype.moveRowGroupColumn=function(e,t){this._columnController.moveRowGroupColumn(e,t)},e.prototype.setColumnAggFunc=function(e,t){this._columnController.setColumnAggFunc(e,t)},e.prototype.setColumnWidth=function(e,t,o){void 0===o&&(o=!0),this._columnController.setColumnWidth(e,t,o)},e.prototype.setPivotMode=function(e){this._columnController.setPivotMode(e)},e.prototype.isPivotMode=function(){return this._columnController.isPivotMode()},e.prototype.getSecondaryPivotColumn=function(e,t){return this._columnController.getSecondaryPivotColumn(e,t)},e.prototype.setValueColumns=function(e){this._columnController.setValueColumns(e)},e.prototype.getValueColumns=function(){return this._columnController.getValueColumns()},e.prototype.removeValueColumn=function(e){this._columnController.removeValueColumn(e)},e.prototype.removeValueColumns=function(e){this._columnController.removeValueColumns(e)},e.prototype.addValueColumn=function(e){this._columnController.addValueColumn(e)},e.prototype.addValueColumns=function(e){this._columnController.addValueColumns(e)},e.prototype.setRowGroupColumns=function(e){this._columnController.setRowGroupColumns(e)},e.prototype.removeRowGroupColumn=function(e){this._columnController.removeRowGroupColumn(e)},e.prototype.removeRowGroupColumns=function(e){this._columnController.removeRowGroupColumns(e)},e.prototype.addRowGroupColumn=function(e){this._columnController.addRowGroupColumn(e)},e.prototype.addRowGroupColumns=function(e){this._columnController.addRowGroupColumns(e)},e.prototype.getRowGroupColumns=function(){return this._columnController.getRowGroupColumns()},e.prototype.setPivotColumns=function(e){this._columnController.setPivotColumns(e)},e.prototype.removePivotColumn=function(e){this._columnController.removePivotColumn(e)},e.prototype.removePivotColumns=function(e){this._columnController.removePivotColumns(e)},e.prototype.addPivotColumn=function(e){this._columnController.addPivotColumn(e)},e.prototype.addPivotColumns=function(e){this._columnController.addPivotColumns(e)},e.prototype.getPivotColumns=function(){return this._columnController.getPivotColumns()},e.prototype.getLeftDisplayedColumnGroups=function(){return this._columnController.getLeftDisplayedColumnGroups()},e.prototype.getCenterDisplayedColumnGroups=function(){return this._columnController.getCenterDisplayedColumnGroups()},e.prototype.getRightDisplayedColumnGroups=function(){return this._columnController.getRightDisplayedColumnGroups()},e.prototype.getAllDisplayedColumnGroups=function(){return this._columnController.getAllDisplayedColumnGroups()},e.prototype.autoSizeColumn=function(e){return this._columnController.autoSizeColumn(e)},e.prototype.autoSizeColumns=function(e){return this._columnController.autoSizeColumns(e)},e.prototype.autoSizeAllColumns=function(){this._columnController.autoSizeAllColumns()},e.prototype.setSecondaryColumns=function(e){this._columnController.setSecondaryColumns(e)},e.prototype.columnGroupOpened=function(e,t){console.error(\"ag-Grid: columnGroupOpened no longer exists, use setColumnGroupOpened\"),this.setColumnGroupOpened(e,t)},e.prototype.hideColumns=function(e,t){console.error(\"ag-Grid: hideColumns is deprecated, use setColumnsVisible\"),this._columnController.setColumnsVisible(e,!t)},e.prototype.hideColumn=function(e,t){console.error(\"ag-Grid: hideColumn is deprecated, use setColumnVisible\"),this._columnController.setColumnVisible(e,!t)},e.prototype.setState=function(e){return console.error(\"ag-Grid: setState is deprecated, use setColumnState\"),this.setColumnState(e)},e.prototype.getState=function(){return console.error(\"ag-Grid: getState is deprecated, use getColumnState\"),this.getColumnState()},e.prototype.resetState=function(){console.error(\"ag-Grid: resetState is deprecated, use resetColumnState\"),this.resetColumnState()},e.prototype.getAggregationColumns=function(){return console.error(\"ag-Grid: getAggregationColumns is deprecated, use getValueColumns\"),this._columnController.getValueColumns()},e.prototype.removeAggregationColumn=function(e){console.error(\"ag-Grid: removeAggregationColumn is deprecated, use removeValueColumn\"),this._columnController.removeValueColumn(e)},e.prototype.removeAggregationColumns=function(e){console.error(\"ag-Grid: removeAggregationColumns is deprecated, use removeValueColumns\"),this._columnController.removeValueColumns(e)},e.prototype.addAggregationColumn=function(e){console.error(\"ag-Grid: addAggregationColumn is deprecated, use addValueColumn\"),this._columnController.addValueColumn(e)},e.prototype.addAggregationColumns=function(e){console.error(\"ag-Grid: addAggregationColumns is deprecated, use addValueColumns\"),this._columnController.addValueColumns(e)},e.prototype.setColumnAggFunction=function(e,t){console.error(\"ag-Grid: setColumnAggFunction is deprecated, use setColumnAggFunc\"),this._columnController.setColumnAggFunc(e,t)},e.prototype.getDisplayNameForCol=function(e){return console.error(\"ag-Grid: getDisplayNameForCol is deprecated, use getDisplayNameForColumn\"),this.getDisplayNameForColumn(e,null)},e}();n([w.Autowired(\"columnController\"),i(\"design:type\",O)],S.prototype,\"_columnController\",void 0),S=n([w.Bean(\"columnApi\")],S),t.ColumnApi=S;var O=function(){function e(){this.primaryHeaderRowCount=0,this.secondaryHeaderRowCount=0,this.secondaryColumnsPresent=!1,this.gridHeaderRowCount=0,this.displayedLeftColumns=[],this.displayedRightColumns=[],this.displayedCenterColumns=[],this.allDisplayedColumns=[],this.allDisplayedVirtualColumns=[],this.rowGroupColumns=[],this.valueColumns=[],this.pivotColumns=[],this.ready=!1,this.autoGroupsNeedBuilding=!1,this.pivotMode=!1,this.bodyWidth=0,this.leftWidth=0,this.rightWidth=0,this.bodyWidthDirty=!0}return e.prototype.init=function(){this.pivotMode=this.gridOptionsWrapper.isPivotMode(),this.gridOptionsWrapper.getColumnDefs()&&this.setColumnDefs(this.gridOptionsWrapper.getColumnDefs())},e.prototype.setVirtualViewportLeftAndRight=function(){this.gridOptionsWrapper.isEnableRtl()?(this.viewportLeft=this.bodyWidth-this.scrollPosition-this.scrollWidth,this.viewportRight=this.bodyWidth-this.scrollPosition):(this.viewportLeft=this.scrollPosition,this.viewportRight=this.scrollWidth+this.scrollPosition)},e.prototype.getDisplayedColumnsStartingAt=function(e){for(var t=e,o=[];s.Utils.exists(t);)o.push(t),t=this.getDisplayedColAfter(t);return o},e.prototype.checkDisplayedVirtualColumns=function(){if(s.Utils.exists(this.displayedCenterColumns)){var e=this.allDisplayedVirtualColumns.map(function(e){return e.getId()}).join(\"#\");this.updateVirtualSets();e!==this.allDisplayedVirtualColumns.map(function(e){return e.getId()}).join(\"#\")&&this.eventService.dispatchEvent(v.Events.EVENT_VIRTUAL_COLUMNS_CHANGED)}},e.prototype.setVirtualViewportPosition=function(e,t){(e!==this.scrollWidth||t!==this.scrollPosition||this.bodyWidthDirty)&&(this.scrollWidth=e,this.scrollPosition=t,this.bodyWidthDirty=!0,this.setVirtualViewportLeftAndRight(),this.ready&&this.checkDisplayedVirtualColumns())},e.prototype.isPivotMode=function(){return this.pivotMode},e.prototype.setPivotMode=function(e){if(e!==this.pivotMode){this.pivotMode=e,this.updateDisplayedColumns();var t=new m.ColumnChangeEvent(v.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED);this.eventService.dispatchEvent(v.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED,t)}},e.prototype.getSecondaryPivotColumn=function(e,t){if(!this.secondaryColumnsPresent)return null;var o=this.getPrimaryColumn(t),n=null;return this.secondaryColumns.forEach(function(t){var i=t.getColDef().pivotKeys,r=t.getColDef().pivotValueColumn,a=s.Utils.compareArrays(i,e),l=r===o;a&&l&&(n=t)}),n},e.prototype.setBeans=function(e){this.logger=e.create(\"ColumnController\")},e.prototype.setFirstRightAndLastLeftPinned=function(){var e,t;this.gridOptionsWrapper.isEnableRtl()?(e=this.displayedLeftColumns?this.displayedLeftColumns[0]:null,t=this.displayedRightColumns?this.displayedRightColumns[this.displayedRightColumns.length-1]:null):(e=this.displayedLeftColumns?this.displayedLeftColumns[this.displayedLeftColumns.length-1]:null,t=this.displayedRightColumns?this.displayedRightColumns[0]:null),this.gridColumns.forEach(function(o){o.setLastLeftPinned(o===e),o.setFirstRightPinned(o===t)})},e.prototype.autoSizeColumns=function(e){for(var t=this,o=[],n=-1;0!==n;)n=0,this.actionOnGridColumns(e,function(e){if(!(o.indexOf(e)>=0)){var i=t.autoWidthCalculator.getPreferredWidthForColumn(e);if(i>0){var r=t.normaliseColumnWidth(e,i);e.setActualWidth(r),o.push(e),n++}return!0}},function(){return new m.ColumnChangeEvent(v.Events.EVENT_COLUMN_RESIZED).withFinished(!0)})},e.prototype.autoSizeColumn=function(e){this.autoSizeColumns([e])},e.prototype.autoSizeAllColumns=function(){var e=this.getAllDisplayedColumns();this.autoSizeColumns(e)},e.prototype.getColumnsFromTree=function(e){function t(e){for(var n=0;n<e.length;n++){var i=e[n];i instanceof l.Column?o.push(i):i instanceof C.OriginalColumnGroup&&t(i.getChildren())}}var o=[];return t(e),o},e.prototype.getAllDisplayedColumnGroups=function(){return this.displayedLeftColumnTree&&this.displayedRightColumnTree&&this.displayedCentreColumnTree?this.displayedLeftColumnTree.concat(this.displayedCentreColumnTree).concat(this.displayedRightColumnTree):null},e.prototype.getPrimaryColumnTree=function(){return this.primaryBalancedTree},e.prototype.getHeaderRowCount=function(){return this.gridHeaderRowCount},e.prototype.getLeftDisplayedColumnGroups=function(){return this.displayedLeftColumnTree},e.prototype.getRightDisplayedColumnGroups=function(){return this.displayedRightColumnTree},e.prototype.getCenterDisplayedColumnGroups=function(){return this.displayedCentreColumnTree},e.prototype.getDisplayedColumnGroups=function(e){switch(e){case l.Column.PINNED_LEFT:return this.getLeftDisplayedColumnGroups();case l.Column.PINNED_RIGHT:return this.getRightDisplayedColumnGroups();default:return this.getCenterDisplayedColumnGroups()}},e.prototype.isColumnDisplayed=function(e){return this.getAllDisplayedColumns().indexOf(e)>=0},e.prototype.getAllDisplayedColumns=function(){return this.allDisplayedColumns},e.prototype.getAllDisplayedVirtualColumns=function(){return this.allDisplayedVirtualColumns},e.prototype.getPinnedLeftContainerWidth=function(){return this.getWidthOfColsInList(this.displayedLeftColumns)},e.prototype.getPinnedRightContainerWidth=function(){return this.getWidthOfColsInList(this.displayedRightColumns)},e.prototype.updatePrimaryColumnList=function(e,t,o,n,i){var r=this;if(!s.Utils.missingOrEmpty(e)){var a=!1;if(e.forEach(function(e){var i=r.getPrimaryColumn(e);if(i){if(o){if(t.indexOf(i)>=0)return;t.push(i)}else{if(t.indexOf(i)<0)return;s.Utils.removeFromArray(t,i)}n(i),a=!0}}),a){this.updateDisplayedColumns();var l=new m.ColumnChangeEvent(i).withColumns(t);this.eventService.dispatchEvent(l.getType(),l)}}},e.prototype.setRowGroupColumns=function(e){this.autoGroupsNeedBuilding=!0,this.setPrimaryColumnList(e,this.rowGroupColumns,v.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,this.setRowGroupActive.bind(this))},e.prototype.setRowGroupActive=function(e,t){e!==t.isRowGroupActive()&&(t.setRowGroupActive(e),e||t.setVisible(!0))},e.prototype.addRowGroupColumn=function(e){this.addRowGroupColumns([e])},e.prototype.addRowGroupColumns=function(e){this.autoGroupsNeedBuilding=!0,this.updatePrimaryColumnList(e,this.rowGroupColumns,!0,this.setRowGroupActive.bind(this,!0),v.Events.EVENT_COLUMN_ROW_GROUP_CHANGED)},e.prototype.removeRowGroupColumns=function(e){this.autoGroupsNeedBuilding=!0,this.updatePrimaryColumnList(e,this.rowGroupColumns,!1,this.setRowGroupActive.bind(this,!1),v.Events.EVENT_COLUMN_ROW_GROUP_CHANGED)},e.prototype.removeRowGroupColumn=function(e){this.removeRowGroupColumns([e])},e.prototype.addPivotColumns=function(e){this.updatePrimaryColumnList(e,this.pivotColumns,!0,function(e){return e.setPivotActive(!0)},v.Events.EVENT_COLUMN_PIVOT_CHANGED)},e.prototype.setPivotColumns=function(e){this.setPrimaryColumnList(e,this.pivotColumns,v.Events.EVENT_COLUMN_PIVOT_CHANGED,function(e,t){t.setPivotActive(e)})},e.prototype.addPivotColumn=function(e){this.addPivotColumns([e])},e.prototype.removePivotColumns=function(e){this.updatePrimaryColumnList(e,this.pivotColumns,!1,function(e){return e.setPivotActive(!1)},v.Events.EVENT_COLUMN_PIVOT_CHANGED)},e.prototype.removePivotColumn=function(e){this.removePivotColumns([e])},e.prototype.setPrimaryColumnList=function(e,t,o,n){var i=this;t.length=0,s.Utils.exists(e)&&e.forEach(function(e){var o=i.getPrimaryColumn(e);t.push(o)}),this.primaryColumns.forEach(function(e){var o=t.indexOf(e)>=0;n(o,e)}),this.updateDisplayedColumns();var r=new m.ColumnChangeEvent(o).withColumns(t);this.eventService.dispatchEvent(r.getType(),r)},e.prototype.setValueColumns=function(e){this.setPrimaryColumnList(e,this.valueColumns,v.Events.EVENT_COLUMN_VALUE_CHANGED,this.setValueActive.bind(this))},e.prototype.setValueActive=function(e,t){if(e!==t.isValueActive()&&(t.setValueActive(e),e&&!t.getAggFunc())){var o=this.aggFuncService.getDefaultAggFunc();t.setAggFunc(o)}},e.prototype.addValueColumns=function(e){this.updatePrimaryColumnList(e,this.valueColumns,!0,this.setValueActive.bind(this,!0),v.Events.EVENT_COLUMN_VALUE_CHANGED)},e.prototype.addValueColumn=function(e){this.addValueColumns([e])},e.prototype.removeValueColumn=function(e){this.removeValueColumns([e])},e.prototype.removeValueColumns=function(e){this.updatePrimaryColumnList(e,this.valueColumns,!1,this.setValueActive.bind(this,!1),v.Events.EVENT_COLUMN_VALUE_CHANGED)},e.prototype.normaliseColumnWidth=function(e,t){return t<e.getMinWidth()&&(t=e.getMinWidth()),e.isGreaterThanMax(t)&&(t=e.getMaxWidth()),t},e.prototype.getPrimaryOrGridColumn=function(e){var t=this.getPrimaryColumn(e);return t||this.getGridColumn(e)},e.prototype.setColumnWidth=function(e,t,o){var n=this.getPrimaryOrGridColumn(e);if(n){t=this.normaliseColumnWidth(n,t);var i=n.getActualWidth()!==t;if(i&&(n.setActualWidth(t),this.setLeftValues()),this.updateBodyWidths(),this.checkDisplayedVirtualColumns(),o||i){var r=new m.ColumnChangeEvent(v.Events.EVENT_COLUMN_RESIZED).withColumn(n).withFinished(o);this.eventService.dispatchEvent(v.Events.EVENT_COLUMN_RESIZED,r)}}},e.prototype.setColumnAggFunc=function(e,t){e.setAggFunc(t);var o=new m.ColumnChangeEvent(v.Events.EVENT_COLUMN_VALUE_CHANGED).withColumn(e);this.eventService.dispatchEvent(v.Events.EVENT_COLUMN_VALUE_CHANGED,o)},e.prototype.moveRowGroupColumn=function(e,t){var o=this.rowGroupColumns[e];this.rowGroupColumns.splice(e,1),this.rowGroupColumns.splice(t,0,o);var n=new m.ColumnChangeEvent(v.Events.EVENT_COLUMN_ROW_GROUP_CHANGED);this.eventService.dispatchEvent(v.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,n)},e.prototype.moveColumns=function(e,t){if(this.columnAnimationService.start(),t>this.gridColumns.length-e.length)return console.warn(\"ag-Grid: tried to insert columns in invalid location, toIndex = \"+t),void console.warn(\"ag-Grid: remember that you should not count the moving columns when calculating the new index\");var o=this.getGridColumns(e);if(this.doesMovePassRules(o,t)){s.Utils.moveInArray(this.gridColumns,o,t),this.updateDisplayedColumns();var n=new m.ColumnChangeEvent(v.Events.EVENT_COLUMN_MOVED).withToIndex(t).withColumns(o);1===o.length&&n.withColumn(o[0]),this.eventService.dispatchEvent(v.Events.EVENT_COLUMN_MOVED,n),this.columnAnimationService.finish()}},e.prototype.doesMovePassRules=function(e,t){var o=this.gridColumns.slice();s.Utils.moveInArray(o,e,t);for(var n=0;n<o.length-1;n++){var i=o[n],r=o[n+1];if(r.isVisible()){var a=this.columnUtils.getOriginalPathForColumn(i,this.gridBalancedTree),l=this.columnUtils.getOriginalPathForColumn(r,this.gridBalancedTree);l&&a||console.log(\"next path is missing\");for(var p=0;p<a.length;p++){var d=a[p],c=l[p],u=d!==c,h=d.getColGroupDef(),g=h&&h.marryChildren;if(u&&g)for(var f=n+1;f<o.length;f++){var y=o[f],v=this.columnUtils.getOriginalPathForColumn(y,this.gridBalancedTree),m=v[p];if(m===d)return!1}}}}return!0},e.prototype.moveColumn=function(e,t){this.moveColumns([e],t)},e.prototype.moveColumnByIndex=function(e,t){var o=this.gridColumns[e];this.moveColumn(o,t)},e.prototype.getBodyContainerWidth=function(){return this.bodyWidth},e.prototype.getContainerWidth=function(e){switch(e){case l.Column.PINNED_LEFT:return this.leftWidth;case l.Column.PINNED_RIGHT:return this.rightWidth;default:return this.bodyWidth}},e.prototype.updateBodyWidths=function(){var e=this.getWidthOfColsInList(this.displayedCenterColumns),t=this.getWidthOfColsInList(this.displayedLeftColumns),o=this.getWidthOfColsInList(this.displayedRightColumns);this.bodyWidthDirty=this.bodyWidth!==e,(this.bodyWidth!==e||this.leftWidth!==t||this.rightWidth!==o)&&(this.bodyWidth=e,this.leftWidth=t,this.rightWidth=o,this.eventService.dispatchEvent(v.Events.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED))},e.prototype.getValueColumns=function(){return this.valueColumns?this.valueColumns:[]},e.prototype.getPivotColumns=function(){return this.pivotColumns?this.pivotColumns:[]},e.prototype.isPivotActive=function(){return this.pivotColumns&&this.pivotColumns.length>0&&this.pivotMode},e.prototype.getRowGroupColumns=function(){return this.rowGroupColumns?this.rowGroupColumns:[]},e.prototype.getDisplayedCenterColumns=function(){return this.displayedCenterColumns.slice(0)},e.prototype.getDisplayedLeftColumns=function(){return this.displayedLeftColumns.slice(0)},e.prototype.getDisplayedRightColumns=function(){return this.displayedRightColumns.slice(0)},e.prototype.getDisplayedColumns=function(e){switch(e){case l.Column.PINNED_LEFT:return this.getDisplayedLeftColumns();case l.Column.PINNED_RIGHT:return this.getDisplayedRightColumns();default:return this.getDisplayedCenterColumns()}},e.prototype.getAllPrimaryColumns=function(){return this.primaryColumns},e.prototype.getAllGridColumns=function(){return this.gridColumns},e.prototype.isEmpty=function(){return s.Utils.missingOrEmpty(this.gridColumns)},e.prototype.isRowGroupEmpty=function(){return s.Utils.missingOrEmpty(this.rowGroupColumns)},e.prototype.setColumnVisible=function(e,t){this.setColumnsVisible([e],t)},e.prototype.setColumnsVisible=function(e,t){this.columnAnimationService.start(),this.actionOnGridColumns(e,function(e){return e.setVisible(t),!0},function(){return new m.ColumnChangeEvent(v.Events.EVENT_COLUMN_VISIBLE).withVisible(t)}),this.columnAnimationService.finish()},e.prototype.setColumnPinned=function(e,t){this.setColumnsPinned([e],t)},e.prototype.setColumnsPinned=function(e,t){this.columnAnimationService.start();var o;o=!0===t||t===l.Column.PINNED_LEFT?l.Column.PINNED_LEFT:t===l.Column.PINNED_RIGHT?l.Column.PINNED_RIGHT:null,this.actionOnGridColumns(e,function(e){return e.setPinned(o),!0},function(){return new m.ColumnChangeEvent(v.Events.EVENT_COLUMN_PINNED).withPinned(o)}),this.columnAnimationService.finish()},e.prototype.actionOnGridColumns=function(e,t,o){var n=this;if(!s.Utils.missingOrEmpty(e)){var i=[];if(e.forEach(function(e){var o=n.getGridColumn(e);if(o){!1!==t(o)&&i.push(o)}}),0!==i.length){this.updateDisplayedColumns();var r=o();r.withColumns(i),1===i.length&&r.withColumn(i[0]),this.eventService.dispatchEvent(r.getType(),r)}}},e.prototype.getDisplayedColBefore=function(e){var t=this.getAllDisplayedColumns(),o=t.indexOf(e);return o>0?t[o-1]:null},e.prototype.getDisplayedColAfter=function(e){var t=this.getAllDisplayedColumns(),o=t.indexOf(e);return o<t.length-1?t[o+1]:null},e.prototype.isPinningLeft=function(){return this.displayedLeftColumns.length>0},e.prototype.isPinningRight=function(){return this.displayedRightColumns.length>0},e.prototype.getPrimaryAndSecondaryAndAutoColumns=function(){var e=this.primaryColumns?this.primaryColumns.slice(0):[];return s.Utils.exists(this.groupAutoColumns)&&this.groupAutoColumns.forEach(function(t){return e.push(t)}),this.secondaryColumnsPresent&&this.secondaryColumns.forEach(function(t){return e.push(t)}),e},e.prototype.createStateItemFromColumn=function(e){var t=e.isRowGroupActive()?this.rowGroupColumns.indexOf(e):null,o=e.isPivotActive()?this.pivotColumns.indexOf(e):null,n=e.isValueActive()?e.getAggFunc():null;return{colId:e.getColId(),hide:!e.isVisible(),aggFunc:n,width:e.getActualWidth(),pivotIndex:o,pinned:e.getPinned(),rowGroupIndex:t}},e.prototype.getColumnState=function(){if(s.Utils.missing(this.primaryColumns))return[];var e=this.primaryColumns.map(this.createStateItemFromColumn.bind(this));return this.pivotMode||this.orderColumnStateList(e),e},e.prototype.orderColumnStateList=function(e){var t=this.gridColumns.map(function(e){return e.getColId()});e.sort(function(e,o){return t.indexOf(e.colId)-t.indexOf(o.colId)})},e.prototype.resetColumnState=function(){var e=this.getColumnsFromTree(this.primaryBalancedTree),t=[];e&&e.forEach(function(e){t.push({colId:e.getColId(),aggFunc:e.getColDef().aggFunc,hide:e.getColDef().hide,pinned:e.getColDef().pinned,rowGroupIndex:e.getColDef().rowGroupIndex,pivotIndex:e.getColDef().pivotIndex,width:e.getColDef().width})}),this.setColumnState(t)},e.prototype.setColumnState=function(e){var t=this;if(s.Utils.missingOrEmpty(this.primaryColumns))return!1;this.autoGroupsNeedBuilding=!0;var o=this.primaryColumns.slice();this.rowGroupColumns=[],this.valueColumns=[],this.pivotColumns=[];var n=!0,i={},r={};e&&e.forEach(function(e){var a=t.getPrimaryColumn(e.colId);a?(t.syncColumnWithStateItem(a,e,i,r),s.Utils.removeFromArray(o,a)):(console.warn(\"ag-grid: column \"+e.colId+\" not found\"),n=!1)}),o.forEach(this.syncColumnWithNoState.bind(this)),this.rowGroupColumns.sort(this.sortColumnListUsingIndexes.bind(this,i)),this.pivotColumns.sort(this.sortColumnListUsingIndexes.bind(this,r)),this.copyDownGridColumns();var a=e.map(function(e){return e.colId});this.gridColumns.sort(function(e,t){return a.indexOf(e.getId())-a.indexOf(t.getId())}),this.updateDisplayedColumns();var l=new m.ColumnChangeEvent(v.Events.EVENT_COLUMN_EVERYTHING_CHANGED);return this.eventService.dispatchEvent(v.Events.EVENT_COLUMN_EVERYTHING_CHANGED,l),n},e.prototype.sortColumnListUsingIndexes=function(e,t,o){return e[t.getId()]-e[o.getId()]},e.prototype.syncColumnWithNoState=function(e){e.setVisible(!1),e.setAggFunc(null),e.setPinned(null),e.setRowGroupActive(!1),e.setPivotActive(!1),e.setValueActive(!1)},e.prototype.syncColumnWithStateItem=function(e,t,o,n){e.setVisible(!t.hide),e.setPinned(t.pinned),t.width>=this.gridOptionsWrapper.getMinColWidth()&&e.setActualWidth(t.width),\"string\"==typeof t.aggFunc?(e.setAggFunc(t.aggFunc),e.setValueActive(!0),this.valueColumns.push(e)):(s.Utils.exists(t.aggFunc)&&console.warn(\"ag-Grid: stateItem.aggFunc must be a string. if using your own aggregation functions, register the functions first before using them in get/set state. This is because it isintended for the column state to be stored and retrieved as simple JSON.\"),e.setAggFunc(null),e.setValueActive(!1)),\"number\"==typeof t.rowGroupIndex?(this.rowGroupColumns.push(e),e.setRowGroupActive(!0),o[e.getId()]=t.rowGroupIndex):e.setRowGroupActive(!1),\"number\"==typeof t.pivotIndex?(this.pivotColumns.push(e),e.setPivotActive(!0),n[e.getId()]=t.pivotIndex):e.setPivotActive(!1)},e.prototype.getGridColumns=function(e){return this.getColumns(e,this.getGridColumn.bind(this))},e.prototype.getColumns=function(e,t){var o=[];return e&&e.forEach(function(e){var n=t(e);n&&o.push(n)}),o},e.prototype.getColumnWithValidation=function(e){var t=this.getPrimaryColumn(e);return t||console.warn(\"ag-Grid: could not find column \"+t),t},e.prototype.getPrimaryColumn=function(e){return this.getColumn(e,this.primaryColumns)},e.prototype.getGridColumn=function(e){return this.getColumn(e,this.gridColumns)},e.prototype.getColumn=function(e,t){if(!e)return null;for(var o=0;o<t.length;o++)if(this.columnsMatch(t[o],e))return t[o];return this.getAutoColumn(e)},e.prototype.getAutoColumn=function(e){var t=this;return!s.Utils.exists(this.groupAutoColumns)||s.Utils.missing(this.groupAutoColumns)?null:s.Utils.find(this.groupAutoColumns,function(o){return t.columnsMatch(o,e)})},e.prototype.columnsMatch=function(e,t){var o=e===t,n=e.getColDef()===t,i=e.getColId()==t;return o||n||i},e.prototype.getDisplayNameForColumn=function(e,t,o){void 0===o&&(o=!1);var n=this.getHeaderName(e.getColDef(),e,null,t);return o?this.wrapHeaderNameWithAggFunc(e,n):n},e.prototype.getDisplayNameForColumnGroup=function(e,t){var o=e.getOriginalColumnGroup().getColGroupDef();return o?this.getHeaderName(o,null,e,t):null},e.prototype.getHeaderName=function(e,t,o,n){var i=e.headerValueGetter;if(i){var r={colDef:e,column:t,columnGroup:o,location:n,api:this.gridOptionsWrapper.getApi(),context:this.gridOptionsWrapper.getContext()};return\"function\"==typeof i?i(r):\"string\"==typeof i?this.expressionService.evaluate(i,r):(console.warn(\"ag-grid: headerValueGetter must be a function or a string\"),\"\")}return e.headerName},e.prototype.wrapHeaderNameWithAggFunc=function(e,t){if(this.gridOptionsWrapper.isSuppressAggFuncInHeader())return t;var o,n=e.getColDef().pivotValueColumn,i=s.Utils.exists(n),r=null;if(i)r=n.getAggFunc(),o=!0;else{var a=e.isValueActive(),l=this.pivotMode||!this.isRowGroupEmpty();a&&l?(r=e.getAggFunc(),o=!0):o=!1}if(o){return(\"string\"==typeof r?r:\"func\")+\"(\"+t+\")\"}return t},e.prototype.getColumnGroup=function(e,t){if(!e)return null;if(e instanceof a.ColumnGroup)return e;var o=this.getAllDisplayedColumnGroups(),n=\"number\"==typeof t,i=null;return this.columnUtils.depthFirstAllColumnTreeSearch(o,function(o){if(o instanceof a.ColumnGroup){var r=o,s=void 0;s=n?e===r.getGroupId()&&t===r.getInstanceId():e===r.getGroupId(),s&&(i=r)}}),i},e.prototype.setColumnDefs=function(e){this.autoGroupsNeedBuilding=!0;var t=this.balancedColumnTreeBuilder.createBalancedColumnGroups(e,!0);this.primaryBalancedTree=t.balancedTree,this.primaryHeaderRowCount=t.treeDept+1,this.primaryColumns=this.getColumnsFromTree(this.primaryBalancedTree),this.extractRowGroupColumns(),this.extractPivotColumns(),this.createValueColumns(),this.copyDownGridColumns(),this.updateDisplayedColumns(),this.checkDisplayedVirtualColumns(),this.ready=!0;var o=new m.ColumnChangeEvent(v.Events.EVENT_COLUMN_EVERYTHING_CHANGED);this.eventService.dispatchEvent(v.Events.EVENT_COLUMN_EVERYTHING_CHANGED,o),this.eventService.dispatchEvent(v.Events.EVENT_NEW_COLUMNS_LOADED)},e.prototype.isReady=function(){return this.ready},e.prototype.extractRowGroupColumns=function(){var e=this;this.rowGroupColumns.forEach(function(e){return e.setRowGroupActive(!1)}),this.rowGroupColumns=[],this.primaryColumns.forEach(function(t){\"number\"==typeof t.getColDef().rowGroupIndex&&(e.rowGroupColumns.push(t),t.setRowGroupActive(!0))}),this.rowGroupColumns.sort(function(e,t){return e.getColDef().rowGroupIndex-t.getColDef().rowGroupIndex})},e.prototype.extractPivotColumns=function(){var e=this;this.pivotColumns.forEach(function(e){return e.setPivotActive(!1)}),this.pivotColumns=[],this.primaryColumns.forEach(function(t){\"number\"==typeof t.getColDef().pivotIndex&&(e.pivotColumns.push(t),t.setPivotActive(!0))}),this.pivotColumns.sort(function(e,t){return e.getColDef().pivotIndex-t.getColDef().pivotIndex})},e.prototype.setColumnGroupOpened=function(e,t,o){this.columnAnimationService.start();var n=this.getColumnGroup(e,o);if(n){this.logger.log(\"columnGroupOpened(\"+n.getGroupId()+\",\"+t+\")\"),n.setExpanded(t),this.updateGroupsAndDisplayedColumns();var i=new m.ColumnChangeEvent(v.Events.EVENT_COLUMN_GROUP_OPENED).withColumnGroup(n);this.eventService.dispatchEvent(v.Events.EVENT_COLUMN_GROUP_OPENED,i),this.columnAnimationService.finish()}},e.prototype.getColumnGroupState=function(){var e={};return this.columnUtils.depthFirstDisplayedColumnTreeSearch(this.getAllDisplayedColumnGroups(),function(t){if(t instanceof a.ColumnGroup){var o=t,n=o.getGroupId();e.hasOwnProperty(n)||(e[n]=o.isExpanded())}}),e},e.prototype.setColumnGroupState=function(e){this.columnUtils.depthFirstDisplayedColumnTreeSearch(this.getAllDisplayedColumnGroups(),function(t){if(t instanceof a.ColumnGroup){var o=t,n=o.getGroupId();!0===e[n]&&o.isExpandable()&&o.setExpanded(!0)}})},e.prototype.calculateColumnsForDisplay=function(){var e;return e=this.pivotMode&&!this.secondaryColumnsPresent?this.createColumnsToDisplayFromValueColumns():s.Utils.filter(this.gridColumns,function(e){return e.isVisible()}),this.createGroupAutoColumnsIfNeeded(),s.Utils.exists(this.groupAutoColumns)&&(e=this.groupAutoColumns.concat(e)),e},e.prototype.createColumnsToDisplayFromValueColumns=function(){var e=this,t=this.valueColumns.slice();return t.sort(function(t,o){return e.gridColumns.indexOf(t)-e.gridColumns.indexOf(o)}),t},e.prototype.updateDisplayedColumns=function(){var e=this.getColumnGroupState(),t=this.calculateColumnsForDisplay();this.buildDisplayedTrees(t),this.setColumnGroupState(e),this.updateGroupsAndDisplayedColumns(),this.setFirstRightAndLastLeftPinned()},e.prototype.isSecondaryColumnsPresent=function(){return this.secondaryColumnsPresent},e.prototype.setSecondaryColumns=function(e){var t=e&&e.length>0;if(t||this.secondaryColumnsPresent){if(t){this.processSecondaryColumnDefinitions(e);var o=this.balancedColumnTreeBuilder.createBalancedColumnGroups(e,!1);this.secondaryBalancedTree=o.balancedTree,this.secondaryHeaderRowCount=o.treeDept+1,this.secondaryColumns=this.getColumnsFromTree(this.secondaryBalancedTree),this.secondaryColumnsPresent=!0}else this.secondaryBalancedTree=null,this.secondaryHeaderRowCount=-1,this.secondaryColumns=null,this.secondaryColumnsPresent=!1;this.copyDownGridColumns(),this.updateDisplayedColumns()}},e.prototype.processSecondaryColumnDefinitions=function(e){function t(e){e.forEach(function(e){if(s.Utils.exists(e.children)){var i=e;n&&n(i),t(i.children)}else{var r=e;o&&o(r)}})}var o=this.gridOptionsWrapper.getProcessSecondaryColDefFunc(),n=this.gridOptionsWrapper.getProcessSecondaryColGroupDefFunc();(o||n)&&t(e)},e.prototype.copyDownGridColumns=function(){this.secondaryColumns?(this.gridBalancedTree=this.secondaryBalancedTree.slice(),this.gridHeaderRowCount=this.secondaryHeaderRowCount,this.gridColumns=this.secondaryColumns.slice()):(this.gridBalancedTree=this.primaryBalancedTree.slice(),this.gridHeaderRowCount=this.primaryHeaderRowCount,this.gridColumns=this.primaryColumns.slice()),this.clearDisplayedColumns();var e=new m.ColumnChangeEvent(v.Events.EVENT_GRID_COLUMNS_CHANGED);this.eventService.dispatchEvent(v.Events.EVENT_GRID_COLUMNS_CHANGED,e)},e.prototype.clearDisplayedColumns=function(){this.displayedLeftColumnTree=[],this.displayedRightColumnTree=[],this.displayedCentreColumnTree=[],this.displayedLeftHeaderRows={},this.displayedRightHeaderRows={},this.displayedCentreHeaderRows={},this.displayedLeftColumns=[],this.displayedRightColumns=[],this.displayedCenterColumns=[],this.allDisplayedColumns=[],this.allDisplayedVirtualColumns=[]},e.prototype.updateGroupsAndDisplayedColumns=function(){this.updateGroups(),this.updateDisplayedColumnsFromTrees(),this.updateVirtualSets(),this.updateBodyWidths();var e=new m.ColumnChangeEvent(v.Events.EVENT_DISPLAYED_COLUMNS_CHANGED);this.eventService.dispatchEvent(v.Events.EVENT_DISPLAYED_COLUMNS_CHANGED,e)},e.prototype.updateDisplayedColumnsFromTrees=function(){this.addToDisplayedColumns(this.displayedLeftColumnTree,this.displayedLeftColumns),this.addToDisplayedColumns(this.displayedCentreColumnTree,this.displayedCenterColumns),this.addToDisplayedColumns(this.displayedRightColumnTree,this.displayedRightColumns),this.setupAllDisplayedColumns(),this.setLeftValues()},e.prototype.setupAllDisplayedColumns=function(){this.gridOptionsWrapper.isEnableRtl()?this.allDisplayedColumns=this.displayedRightColumns.concat(this.displayedCenterColumns).concat(this.displayedLeftColumns):this.allDisplayedColumns=this.displayedLeftColumns.concat(this.displayedCenterColumns).concat(this.displayedRightColumns)},e.prototype.setLeftValues=function(){this.setLeftValuesOfColumns(),this.setLeftValuesOfGroups()},e.prototype.setLeftValuesOfColumns=function(){var e=this,t=this.primaryColumns.slice(0),o=this.gridOptionsWrapper.isEnableRtl();[this.displayedLeftColumns,this.displayedRightColumns,this.displayedCenterColumns].forEach(function(n){if(o){var i=e.getWidthOfColsInList(n);n.forEach(function(e){i-=e.getActualWidth(),e.setLeft(i)})}else{var r=0;n.forEach(function(e){e.setLeft(r),r+=e.getActualWidth()})}s.Utils.removeAllFromArray(t,n)}),t.forEach(function(e){e.setLeft(null)})},e.prototype.setLeftValuesOfGroups=function(){[this.displayedLeftColumnTree,this.displayedRightColumnTree,this.displayedCentreColumnTree].forEach(function(e){e.forEach(function(e){if(e instanceof a.ColumnGroup){e.checkLeft()}})})},e.prototype.addToDisplayedColumns=function(e,t){t.length=0,this.columnUtils.depthFirstDisplayedColumnTreeSearch(e,function(e){e instanceof l.Column&&t.push(e)})},e.prototype.updateDisplayedCenterVirtualColumns=function(){var e;e=this.gridOptionsWrapper.isSuppressColumnVirtualisation()||this.gridOptionsWrapper.isForPrint()?this.displayedCenterColumns:this.filterOutColumnsWithinViewport(this.displayedCenterColumns),this.allDisplayedVirtualColumns=e.concat(this.displayedLeftColumns).concat(this.displayedRightColumns);var t={};return this.allDisplayedVirtualColumns.forEach(function(e){t[e.getId()]=!0}),t},e.prototype.getVirtualHeaderGroupRow=function(e,t){var o;switch(e){case l.Column.PINNED_LEFT:o=this.displayedLeftHeaderRows[t];break;case l.Column.PINNED_RIGHT:o=this.displayedRightHeaderRows[t];break;default:o=this.displayedCentreHeaderRows[t]}return s.Utils.missing(o)&&(o=[]),o},e.prototype.updateDisplayedVirtualGroups=function(e){function t(o,n,i){for(var r=!1,s=0;s<o.length;s++){var a=o[s],p=void 0;if(a instanceof l.Column)p=!0===e[a.getId()];else{p=t(a.getDisplayedChildren(),n,i+1)}p&&(r=!0,n[i]||(n[i]=[]),n[i].push(a))}return r}this.displayedLeftHeaderRows={},this.displayedRightHeaderRows={},this.displayedCentreHeaderRows={},t(this.displayedLeftColumnTree,this.displayedLeftHeaderRows,0),t(this.displayedRightColumnTree,this.displayedRightHeaderRows,0),t(this.displayedCentreColumnTree,this.displayedCentreHeaderRows,0)},e.prototype.updateVirtualSets=function(){var e=this.updateDisplayedCenterVirtualColumns();this.updateDisplayedVirtualGroups(e)},e.prototype.filterOutColumnsWithinViewport=function(e){var t=this;return s.Utils.filter(e,function(e){var o=e.getLeft(),n=e.getLeft()+e.getActualWidth(),i=o<t.viewportLeft&&n<t.viewportLeft,r=o>t.viewportRight&&n>t.viewportRight;return!i&&!r})},e.prototype.sizeColumnsToFit=function(e){function t(e){s.Utils.removeFromArray(r,e),i.push(e)}var o=this,n=this.getAllDisplayedColumns();if(!(e<=0||0===n.length)){for(var i=s.Utils.filter(n,function(e){return!0===e.getColDef().suppressSizeToFit}),r=s.Utils.filter(n,function(e){return!0!==e.getColDef().suppressSizeToFit}),a=r.slice(0),l=!1;!l;){l=!0;var p=e-this.getWidthOfColsInList(i);if(p<=0)r.forEach(function(e){e.setMinimum()});else for(var d=p/this.getWidthOfColsInList(r),c=p,u=r.length-1;u>=0;u--){var h=r[u],g=Math.round(h.getActualWidth()*d);if(g<h.getMinWidth())h.setMinimum(),t(h),l=!1;else if(h.isGreaterThanMax(g))h.setActualWidth(h.getMaxWidth()),t(h),l=!1;else{var f=0===u;f?h.setActualWidth(c):h.setActualWidth(g)}c-=g}}this.setLeftValues(),this.updateBodyWidths(),a.forEach(function(e){var t=new m.ColumnChangeEvent(v.Events.EVENT_COLUMN_RESIZED).withColumn(e);o.eventService.dispatchEvent(v.Events.EVENT_COLUMN_RESIZED,t)})}},e.prototype.buildDisplayedTrees=function(e){var t=s.Utils.filter(e,function(e){return\"left\"===e.getPinned()}),o=s.Utils.filter(e,function(e){return\"right\"===e.getPinned()}),n=s.Utils.filter(e,function(e){return\"left\"!==e.getPinned()&&\"right\"!==e.getPinned()}),i=new E.GroupInstanceIdCreator;this.displayedLeftColumnTree=this.displayedGroupCreator.createDisplayedGroups(t,this.gridBalancedTree,i,this.displayedLeftColumnTree),this.displayedRightColumnTree=this.displayedGroupCreator.createDisplayedGroups(o,this.gridBalancedTree,i,this.displayedRightColumnTree),this.displayedCentreColumnTree=this.displayedGroupCreator.createDisplayedGroups(n,this.gridBalancedTree,i,this.displayedCentreColumnTree)},e.prototype.updateGroups=function(){var e=this.getAllDisplayedColumnGroups();this.columnUtils.depthFirstAllColumnTreeSearch(e,function(e){if(e instanceof a.ColumnGroup){e.calculateDisplayedColumns()}})},e.prototype.getGroupAutoColumns=function(){return this.groupAutoColumns},e.prototype.createGroupAutoColumnsIfNeeded=function(){if(this.autoGroupsNeedBuilding){this.autoGroupsNeedBuilding=!1;var e=this.rowGroupColumns.length>0&&!this.gridOptionsWrapper.isGroupSuppressAutoColumn()&&!this.gridOptionsWrapper.isGroupUseEntireRow()&&!this.gridOptionsWrapper.isGroupSuppressRow();this.groupAutoColumns=e?this.autoGroupColService.createAutoGroupColumns(this.rowGroupColumns):null}},e.prototype.createValueColumns=function(){this.valueColumns.forEach(function(e){return e.setValueActive(!1)}),this.valueColumns=[];for(var e=0;e<this.primaryColumns.length;e++){var t=this.primaryColumns[e];t.getColDef().aggFunc&&(t.setAggFunc(t.getColDef().aggFunc),this.valueColumns.push(t),t.setValueActive(!0))}},e.prototype.getWidthOfColsInList=function(e){for(var t=0,o=0;o<e.length;o++)t+=e[o].getActualWidth();return t},e.prototype.getGridBalancedTree=function(){return this.gridBalancedTree},e}();n([w.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",p.GridOptionsWrapper)],O.prototype,\"gridOptionsWrapper\",void 0),n([w.Autowired(\"expressionService\"),i(\"design:type\",d.ExpressionService)],O.prototype,\"expressionService\",void 0),n([w.Autowired(\"balancedColumnTreeBuilder\"),i(\"design:type\",c.BalancedColumnTreeBuilder)],O.prototype,\"balancedColumnTreeBuilder\",void 0),n([w.Autowired(\"displayedGroupCreator\"),i(\"design:type\",u.DisplayedGroupCreator)],O.prototype,\"displayedGroupCreator\",void 0),n([w.Autowired(\"autoWidthCalculator\"),i(\"design:type\",h.AutoWidthCalculator)],O.prototype,\"autoWidthCalculator\",void 0),n([w.Autowired(\"eventService\"),i(\"design:type\",g.EventService)],O.prototype,\"eventService\",void 0),n([w.Autowired(\"columnUtils\"),i(\"design:type\",f.ColumnUtils)],O.prototype,\"columnUtils\",void 0),n([w.Autowired(\"gridPanel\"),i(\"design:type\",b.GridPanel)],O.prototype,\"gridPanel\",void 0),n([w.Autowired(\"context\"),i(\"design:type\",w.Context)],O.prototype,\"context\",void 0),n([w.Autowired(\"columnAnimationService\"),i(\"design:type\",R.ColumnAnimationService)],O.prototype,\"columnAnimationService\",void 0),n([w.Autowired(\"autoGroupColService\"),i(\"design:type\",A.AutoGroupColService)],O.prototype,\"autoGroupColService\",void 0),n([w.Optional(\"aggFuncService\"),i(\"design:type\",Object)],O.prototype,\"aggFuncService\",void 0),n([w.PostConstruct,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],O.prototype,\"init\",null),n([r(0,w.Qualifier(\"loggerFactory\")),i(\"design:type\",Function),i(\"design:paramtypes\",[y.LoggerFactory]),i(\"design:returntype\",void 0)],O.prototype,\"setBeans\",null),O=n([w.Bean(\"columnController\")],O),t.ColumnController=O},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(18),s=o(6),a=o(8),l=o(5),p=function(){function e(e,t,o){this.displayedChildren=[],this.localEventService=new s.EventService,this.groupId=t,this.instanceId=o,this.originalColumnGroup=e}return e.createUniqueId=function(e,t){return e+\"_\"+t},e.prototype.reset=function(){this.parent=null,this.children=null,this.displayedChildren=null},e.prototype.getParent=function(){return this.parent},e.prototype.setParent=function(e){this.parent=e},e.prototype.getUniqueId=function(){return e.createUniqueId(this.groupId,this.instanceId)},e.prototype.checkLeft=function(){if(this.displayedChildren.forEach(function(t){t instanceof e&&t.checkLeft()}),this.displayedChildren.length>0)if(this.gridOptionsWrapper.isEnableRtl()){var t=this.displayedChildren[this.displayedChildren.length-1],o=t.getLeft();this.setLeft(o)}else{var n=this.displayedChildren[0].getLeft();this.setLeft(n)}else this.setLeft(null)},e.prototype.getLeft=function(){return this.left},e.prototype.getOldLeft=function(){return this.oldLeft},e.prototype.setLeft=function(t){this.oldLeft=t,this.left!==t&&(this.left=t,this.localEventService.dispatchEvent(e.EVENT_LEFT_CHANGED))},e.prototype.addEventListener=function(e,t){this.localEventService.addEventListener(e,t)},e.prototype.removeEventListener=function(e,t){this.localEventService.removeEventListener(e,t)},e.prototype.getGroupId=function(){return this.groupId},e.prototype.getInstanceId=function(){return this.instanceId},e.prototype.isChildInThisGroupDeepSearch=function(t){var o=!1;return this.children.forEach(function(n){t===n&&(o=!0),n instanceof e&&n.isChildInThisGroupDeepSearch(t)&&(o=!0)}),o},e.prototype.getActualWidth=function(){var e=0;return this.displayedChildren&&this.displayedChildren.forEach(function(t){e+=t.getActualWidth()}),e},e.prototype.getMinWidth=function(){var e=0;return this.displayedChildren.forEach(function(t){e+=t.getMinWidth()}),e},e.prototype.addChild=function(e){this.children||(this.children=[]),this.children.push(e)},e.prototype.getDisplayedChildren=function(){return this.displayedChildren},e.prototype.getLeafColumns=function(){var e=[];return this.addLeafColumns(e),e},e.prototype.getDisplayedLeafColumns=function(){var e=[];return this.addDisplayedLeafColumns(e),e},e.prototype.getDefinition=function(){return this.originalColumnGroup.getColGroupDef()},e.prototype.getColGroupDef=function(){return this.originalColumnGroup.getColGroupDef()},e.prototype.isPadding=function(){return this.originalColumnGroup.isPadding()},e.prototype.isExpandable=function(){return this.originalColumnGroup.isExpandable()},e.prototype.isExpanded=function(){return this.originalColumnGroup.isExpanded()},e.prototype.setExpanded=function(e){this.originalColumnGroup.setExpanded(e)},e.prototype.addDisplayedLeafColumns=function(t){this.displayedChildren.forEach(function(o){o instanceof r.Column?t.push(o):o instanceof e&&o.addDisplayedLeafColumns(t)})},e.prototype.addLeafColumns=function(t){this.children.forEach(function(o){o instanceof r.Column?t.push(o):o instanceof e&&o.addLeafColumns(t)})},e.prototype.getChildren=function(){return this.children},e.prototype.getColumnGroupShow=function(){return this.originalColumnGroup.getColumnGroupShow()},e.prototype.getOriginalColumnGroup=function(){return this.originalColumnGroup},e.prototype.calculateDisplayedColumns=function(){var t=this;this.displayedChildren=[],this.originalColumnGroup.isExpandable()?this.children.forEach(function(o){switch(o.getColumnGroupShow()){case e.HEADER_GROUP_SHOW_OPEN:t.originalColumnGroup.isExpanded()&&t.displayedChildren.push(o);break;case e.HEADER_GROUP_SHOW_CLOSED:t.originalColumnGroup.isExpanded()||t.displayedChildren.push(o);break;default:t.displayedChildren.push(o)}}):this.displayedChildren=this.children,this.localEventService.dispatchEvent(e.EVENT_DISPLAYED_CHILDREN_CHANGED)},e}();p.HEADER_GROUP_SHOW_OPEN=\"open\",p.HEADER_GROUP_SHOW_CLOSED=\"closed\",p.EVENT_LEFT_CHANGED=\"leftChanged\",p.EVENT_DISPLAYED_CHILDREN_CHANGED=\"leftChanged\",n([a.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",l.GridOptionsWrapper)],p.prototype,\"gridOptionsWrapper\",void 0),t.ColumnGroup=p},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(6),s=o(9),a=o(8),l=o(5),p=o(19),d=function(){function e(e,t,o){this.moving=!1,this.filterActive=!1,this.eventService=new r.EventService,this.rowGroupActive=!1,this.pivotActive=!1,this.aggregationActive=!1,this.colDef=e,this.visible=!e.hide,this.sort=e.sort,this.sortedAt=e.sortedAt,this.colId=t,this.primary=o}return e.prototype.setParent=function(e){this.parent=e},e.prototype.getParent=function(){return this.parent},e.prototype.initialise=function(){this.floatingCellRenderer=this.frameworkFactory.colDefFloatingCellRenderer(this.colDef),this.cellRenderer=this.frameworkFactory.colDefCellRenderer(this.colDef),this.cellEditor=this.frameworkFactory.colDefCellEditor(this.colDef),this.filter=this.frameworkFactory.colDefFilter(this.colDef),this.setPinned(this.colDef.pinned);var e=this.gridOptionsWrapper.getMinColWidth(),t=this.gridOptionsWrapper.getMaxColWidth();this.colDef.minWidth?this.minWidth=this.colDef.minWidth:this.minWidth=e,this.colDef.maxWidth?this.maxWidth=this.colDef.maxWidth:this.maxWidth=t,this.actualWidth=this.columnUtils.calculateColInitialWidth(this.colDef);var o=this.gridOptionsWrapper.isSuppressFieldDotNotation();this.fieldContainsDots=s.Utils.exists(this.colDef.field)&&this.colDef.field.indexOf(\".\")>=0&&!o,this.tooltipFieldContainsDots=s.Utils.exists(this.colDef.tooltipField)&&this.colDef.tooltipField.indexOf(\".\")>=0&&!o,this.validate()},e.prototype.getCellRenderer=function(){return this.cellRenderer},e.prototype.getCellEditor=function(){return this.cellEditor},e.prototype.getFloatingCellRenderer=function(){return this.floatingCellRenderer},e.prototype.getFilter=function(){return this.filter},e.prototype.getUniqueId=function(){return this.getId()},e.prototype.isPrimary=function(){return this.primary},e.prototype.isFilterAllowed=function(){return this.primary&&!this.colDef.suppressFilter},e.prototype.isFieldContainsDots=function(){return this.fieldContainsDots},e.prototype.isTooltipFieldContainsDots=function(){return this.tooltipFieldContainsDots},e.prototype.validate=function(){this.gridOptionsWrapper.isEnterprise()||(s.Utils.exists(this.colDef.aggFunc)&&console.warn(\"ag-Grid: aggFunc is only valid in ag-Grid-Enterprise\"),s.Utils.exists(this.colDef.rowGroupIndex)&&console.warn(\"ag-Grid: rowGroupIndex is only valid in ag-Grid-Enterprise\")),s.Utils.exists(this.colDef.width)&&\"number\"!=typeof this.colDef.width&&console.warn(\"ag-Grid: colDef.width should be a number, not \"+typeof this.colDef.width)},e.prototype.addEventListener=function(e,t){this.eventService.addEventListener(e,t)},e.prototype.removeEventListener=function(e,t){this.eventService.removeEventListener(e,t)},e.prototype.createIsColumnFuncParams=function(e){return{node:e,column:this,colDef:this.colDef,context:this.gridOptionsWrapper.getContext(),api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi()}},e.prototype.isSuppressNavigable=function(e){if(\"boolean\"==typeof this.colDef.suppressNavigable)return this.colDef.suppressNavigable;if(\"function\"==typeof this.colDef.suppressNavigable){var t=this.createIsColumnFuncParams(e);return(0,this.colDef.suppressNavigable)(t)}return!1},e.prototype.isCellEditable=function(e){if(\"boolean\"==typeof this.colDef.editable)return this.colDef.editable;if(\"function\"==typeof this.colDef.editable){var t=this.createIsColumnFuncParams(e);return(0,this.colDef.editable)(t)}return!1},e.prototype.setMoving=function(t){this.moving=t,this.eventService.dispatchEvent(e.EVENT_MOVING_CHANGED)},e.prototype.isMoving=function(){return this.moving},e.prototype.getSort=function(){return this.sort},e.prototype.setSort=function(t){this.sort!==t&&(this.sort=t,this.eventService.dispatchEvent(e.EVENT_SORT_CHANGED))},e.prototype.isSortAscending=function(){return this.sort===e.SORT_ASC},e.prototype.isSortDescending=function(){return this.sort===e.SORT_DESC},e.prototype.isSortNone=function(){return s.Utils.missing(this.sort)},e.prototype.isSorting=function(){return s.Utils.exists(this.sort)},e.prototype.getSortedAt=function(){return this.sortedAt},e.prototype.setSortedAt=function(e){this.sortedAt=e},e.prototype.setAggFunc=function(e){this.aggFunc=e},e.prototype.getAggFunc=function(){return this.aggFunc},e.prototype.getLeft=function(){return this.left},e.prototype.getOldLeft=function(){return this.oldLeft},e.prototype.getRight=function(){return this.left+this.actualWidth},e.prototype.setLeft=function(t){this.oldLeft=this.left,this.left!==t&&(this.left=t,this.eventService.dispatchEvent(e.EVENT_LEFT_CHANGED))},e.prototype.isFilterActive=function(){return this.filterActive},e.prototype.setFilterActive=function(t){this.filterActive!==t&&(this.filterActive=t,this.eventService.dispatchEvent(e.EVENT_FILTER_ACTIVE_CHANGED)),this.eventService.dispatchEvent(e.EVENT_FILTER_CHANGED)},e.prototype.setPinned=function(t){this.gridOptionsWrapper.isForPrint()||(!0===t||t===e.PINNED_LEFT?this.pinned=e.PINNED_LEFT:t===e.PINNED_RIGHT?this.pinned=e.PINNED_RIGHT:this.pinned=null)},e.prototype.setFirstRightPinned=function(t){this.firstRightPinned!==t&&(this.firstRightPinned=t,this.eventService.dispatchEvent(e.EVENT_FIRST_RIGHT_PINNED_CHANGED))},e.prototype.setLastLeftPinned=function(t){this.lastLeftPinned!==t&&(this.lastLeftPinned=t,this.eventService.dispatchEvent(e.EVENT_LAST_LEFT_PINNED_CHANGED))},e.prototype.isFirstRightPinned=function(){return this.firstRightPinned},e.prototype.isLastLeftPinned=function(){return this.lastLeftPinned},e.prototype.isPinned=function(){return this.pinned===e.PINNED_LEFT||this.pinned===e.PINNED_RIGHT},e.prototype.isPinnedLeft=function(){return this.pinned===e.PINNED_LEFT},e.prototype.isPinnedRight=function(){return this.pinned===e.PINNED_RIGHT},e.prototype.getPinned=function(){return this.pinned},e.prototype.setVisible=function(t){var o=!0===t;this.visible!==o&&(this.visible=o,this.eventService.dispatchEvent(e.EVENT_VISIBLE_CHANGED))},e.prototype.isVisible=function(){return this.visible},e.prototype.getColDef=function(){return this.colDef},e.prototype.getColumnGroupShow=function(){return this.colDef.columnGroupShow},e.prototype.getColId=function(){return this.colId},e.prototype.getId=function(){return this.getColId()},e.prototype.getDefinition=function(){return this.colDef},e.prototype.getActualWidth=function(){return this.actualWidth},e.prototype.setActualWidth=function(t){this.actualWidth!==t&&(this.actualWidth=t,this.eventService.dispatchEvent(e.EVENT_WIDTH_CHANGED))},e.prototype.isGreaterThanMax=function(e){return!!this.maxWidth&&e>this.maxWidth},e.prototype.getMinWidth=function(){return this.minWidth},e.prototype.getMaxWidth=function(){return this.maxWidth},e.prototype.setMinimum=function(){this.setActualWidth(this.minWidth)},e.prototype.setRowGroupActive=function(t){this.rowGroupActive!==t&&(this.rowGroupActive=t,this.eventService.dispatchEvent(e.EVENT_ROW_GROUP_CHANGED,this))},e.prototype.isRowGroupActive=function(){return this.rowGroupActive},e.prototype.setPivotActive=function(t){this.pivotActive!==t&&(this.pivotActive=t,this.eventService.dispatchEvent(e.EVENT_PIVOT_CHANGED,this))},e.prototype.isPivotActive=function(){return this.pivotActive},e.prototype.isAnyFunctionActive=function(){return this.isPivotActive()||this.isRowGroupActive()||this.isValueActive()},e.prototype.isAnyFunctionAllowed=function(){return this.isAllowPivot()||this.isAllowRowGroup()||this.isAllowValue()},e.prototype.setValueActive=function(t){this.aggregationActive!==t&&(this.aggregationActive=t,this.eventService.dispatchEvent(e.EVENT_VALUE_CHANGED,this))},e.prototype.isValueActive=function(){return this.aggregationActive},e.prototype.isAllowPivot=function(){return!0===this.colDef.enablePivot},e.prototype.isAllowValue=function(){return!0===this.colDef.enableValue},e.prototype.isAllowRowGroup=function(){return!0===this.colDef.enableRowGroup},e}();d.EVENT_MOVING_CHANGED=\"movingChanged\",d.EVENT_LEFT_CHANGED=\"leftChanged\",d.EVENT_WIDTH_CHANGED=\"widthChanged\",d.EVENT_LAST_LEFT_PINNED_CHANGED=\"lastLeftPinnedChanged\",d.EVENT_FIRST_RIGHT_PINNED_CHANGED=\"firstRightPinnedChanged\",d.EVENT_VISIBLE_CHANGED=\"visibleChanged\",d.EVENT_FILTER_CHANGED=\"filterChanged\",d.EVENT_FILTER_ACTIVE_CHANGED=\"filterActiveChanged\",d.EVENT_SORT_CHANGED=\"sortChanged\",d.EVENT_ROW_GROUP_CHANGED=\"columnRowGroupChanged\",d.EVENT_PIVOT_CHANGED=\"columnPivotChanged\",d.EVENT_VALUE_CHANGED=\"columnValueChanged\",d.PINNED_RIGHT=\"right\",d.PINNED_LEFT=\"left\",d.SORT_ASC=\"asc\",d.SORT_DESC=\"desc\",n([a.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",l.GridOptionsWrapper)],d.prototype,\"gridOptionsWrapper\",void 0),n([a.Autowired(\"columnUtils\"),i(\"design:type\",p.ColumnUtils)],d.prototype,\"columnUtils\",void 0),n([a.Autowired(\"frameworkFactory\"),i(\"design:type\",Object)],d.prototype,\"frameworkFactory\",void 0),n([a.PostConstruct,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],d.prototype,\"initialise\",null),t.Column=d},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(5),s=o(17),a=o(20),l=o(8),p=o(8),d=function(){function e(){}return e.prototype.calculateColInitialWidth=function(e){return e.width?e.width<this.gridOptionsWrapper.getMinColWidth()?this.gridOptionsWrapper.getMinColWidth():e.width:this.gridOptionsWrapper.getColWidth()},e.prototype.getOriginalPathForColumn=function(e,t){function o(t,r){for(var s=0;s<t.length;s++){if(i)return;var l=t[s];if(l instanceof a.OriginalColumnGroup){o(l.getChildren(),r+1),n[r]=l}else l===e&&(i=!0)}}var n=[],i=!1;return o(t,0),i?n:null},e.prototype.depthFirstOriginalTreeSearch=function(e,t){var o=this;e&&e.forEach(function(e){e instanceof a.OriginalColumnGroup&&o.depthFirstOriginalTreeSearch(e.getChildren(),t),t(e)})},e.prototype.depthFirstAllColumnTreeSearch=function(e,t){var o=this;e&&e.forEach(function(e){e instanceof s.ColumnGroup&&o.depthFirstAllColumnTreeSearch(e.getChildren(),t),t(e)})},e.prototype.depthFirstDisplayedColumnTreeSearch=function(e,t){var o=this;e&&e.forEach(function(e){e instanceof s.ColumnGroup&&o.depthFirstDisplayedColumnTreeSearch(e.getDisplayedChildren(),t),t(e)})},e}();n([p.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",r.GridOptionsWrapper)],d.prototype,\"gridOptionsWrapper\",void 0),d=n([l.Bean(\"columnUtils\")],d),t.ColumnUtils=d},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var n=o(17),i=o(18),r=o(6),s=function(){function e(e,t,o){this.localEventService=new r.EventService,this.expandable=!1,this.colGroupDef=e,this.groupId=t,this.expanded=e&&!!e.openByDefault,this.padding=o}return e.prototype.isPadding=function(){return this.padding},e.prototype.setExpanded=function(t){this.expanded=t,this.localEventService.dispatchEvent(e.EVENT_EXPANDED_CHANGED)},e.prototype.isExpandable=function(){return this.expandable},e.prototype.isExpanded=function(){return this.expanded},e.prototype.getGroupId=function(){return this.groupId},e.prototype.getId=function(){return this.getGroupId()},e.prototype.setChildren=function(e){this.children=e},e.prototype.getChildren=function(){return this.children},e.prototype.getColGroupDef=function(){return this.colGroupDef},e.prototype.getLeafColumns=function(){var e=[];return this.addLeafColumns(e),e},e.prototype.addLeafColumns=function(t){this.children.forEach(function(o){o instanceof i.Column?t.push(o):o instanceof e&&o.addLeafColumns(t)})},e.prototype.getColumnGroupShow=function(){return this.padding?this.children[0].getColumnGroupShow():this.colGroupDef.columnGroupShow},e.prototype.calculateExpandable=function(){for(var e=!1,t=!1,o=!1,i=0,r=this.children.length;i<r;i++){var s=this.children[i],a=s.getColumnGroupShow();a===n.ColumnGroup.HEADER_GROUP_SHOW_OPEN?(e=!0,o=!0):a===n.ColumnGroup.HEADER_GROUP_SHOW_CLOSED?(t=!0,o=!0):(e=!0,t=!0)}this.expandable=e&&t&&o},e.prototype.addEventListener=function(e,t){this.localEventService.addEventListener(e,t)},e.prototype.removeEventListener=function(e,t){this.localEventService.removeEventListener(e,t)},e}();s.EVENT_EXPANDED_CHANGED=\"expandedChanged\",t.OriginalColumnGroup=s},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},r=this&&this.__param||function(e,t){return function(o,n){t(o,n,e)}};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(7),a=o(8),l=o(8),p=function(){function e(){this.expressionToFunctionCache={}}return e.prototype.setBeans=function(e){this.logger=e.create(\"ExpressionService\")},e.prototype.evaluate=function(e,t){try{return this.createExpressionFunction(e)(t.value,t.context,t.node,t.data,t.colDef,t.rowIndex,t.api,t.getValue,t.column,t.columnGroup)}catch(t){return this.logger.log(\"Processing of the expression failed\"),this.logger.log(\"Expression = \"+e),this.logger.log(\"Exception = \"+t),null}},e.prototype.createExpressionFunction=function(e){if(this.expressionToFunctionCache[e])return this.expressionToFunctionCache[e];var t=this.createFunctionBody(e),o=new Function(\"x, ctx, node, data, colDef, rowIndex, api, getValue, column, columnGroup\",t);return this.expressionToFunctionCache[e]=o,o},e.prototype.createFunctionBody=function(e){return e.indexOf(\"return\")>=0?e:\"return \"+e+\";\"},e}();n([r(0,l.Qualifier(\"loggerFactory\")),i(\"design:type\",Function),i(\"design:paramtypes\",[s.LoggerFactory]),i(\"design:returntype\",void 0)],p.prototype,\"setBeans\",null),p=n([a.Bean(\"expressionService\")],p),t.ExpressionService=p},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},r=this&&this.__param||function(e,t){return function(o,n){t(o,n,e)}};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(5),a=o(7),l=o(19),p=o(23),d=o(20),c=o(18),u=o(8),h=o(8),g=o(8),f=o(8),y=o(9),v=function(){function e(){}return e.prototype.setBeans=function(e){this.logger=e.create(\"BalancedColumnTreeBuilder\")},e.prototype.createBalancedColumnGroups=function(e,t){var o=new p.ColumnKeyCreator,n=this.recursivelyCreateColumns(e,0,o,t),i=this.findMaxDept(n,0);this.logger.log(\"Number of levels for grouped columns is \"+i);var r=this.balanceColumnTree(n,0,i,o);return this.columnUtils.depthFirstOriginalTreeSearch(r,function(e){e instanceof d.OriginalColumnGroup&&e.calculateExpandable()}),{balancedTree:r,treeDept:i}},e.prototype.balanceColumnTree=function(e,t,o,n){var i=this,r=[];return e.forEach(function(e){if(e instanceof d.OriginalColumnGroup){var s=e,a=i.balanceColumnTree(s.getChildren(),t+1,o,n);s.setChildren(a),r.push(s)}else{for(var l=e,p=o-1;p>=t;p--){var c=n.getUniqueKey(null,null),u=i.createMergedColGroupDef(null),h=new d.OriginalColumnGroup(u,c,!0);h.setChildren([l]),l=h}r.push(l)}}),r},e.prototype.findMaxDept=function(e,t){for(var o=t,n=0;n<e.length;n++){var i=e[n];if(i instanceof d.OriginalColumnGroup){var r=i,s=this.findMaxDept(r.getChildren(),t+1);o<s&&(o=s)}}return o},e.prototype.recursivelyCreateColumns=function(e,t,o,n){var i=this,r=[];return e?(e.forEach(function(e){var s;s=i.isColumnGroup(e)?i.createColumnGroup(o,n,e,t):i.createColumn(o,n,e),r.push(s)}),r):r},e.prototype.createColumnGroup=function(e,t,o,n){var i=this.createMergedColGroupDef(o),r=e.getUniqueKey(i.groupId,null),s=new d.OriginalColumnGroup(i,r,!1),a=this.recursivelyCreateColumns(i.children,n+1,e,t);return s.setChildren(a),s},e.prototype.createMergedColGroupDef=function(e){var t={};return y.Utils.assign(t,this.gridOptionsWrapper.getDefaultColGroupDef()),y.Utils.assign(t,e),this.checkForDeprecatedItems(t),t},e.prototype.createColumn=function(e,t,o){var n={};y.Utils.assign(n,this.gridOptionsWrapper.getDefaultColDef()),y.Utils.assign(n,o),this.checkForDeprecatedItems(n);var i=e.getUniqueKey(n.colId,n.field),r=new c.Column(n,i,t);return this.context.wireBean(r),r},e.prototype.checkForDeprecatedItems=function(e){if(e){var t=e;void 0!==t.group&&console.warn(\"ag-grid: colDef.group is invalid, please check documentation on how to do grouping as it changed in version 3\"),void 0!==t.headerGroup&&console.warn(\"ag-grid: colDef.headerGroup is invalid, please check documentation on how to do grouping as it changed in version 3\"),void 0!==t.headerGroupShow&&console.warn(\"ag-grid: colDef.headerGroupShow is invalid, should be columnGroupShow, please check documentation on how to do grouping as it changed in version 3\"),void 0!==t.suppressRowGroup&&console.warn(\"ag-grid: colDef.suppressRowGroup is deprecated, please use colDef.type instead\"),void 0!==t.suppressAggregation&&console.warn(\"ag-grid: colDef.suppressAggregation is deprecated, please use colDef.type instead\"),(t.suppressRowGroup||t.suppressAggregation)&&console.warn(\"ag-grid: colDef.suppressAggregation and colDef.suppressRowGroup are deprecated, use allowRowGroup, allowPivot and allowValue instead\"),t.displayName&&(console.warn(\"ag-grid: Found displayName \"+t.displayName+\", please use headerName instead, displayName is deprecated.\"),t.headerName=t.displayName)}},e.prototype.isColumnGroup=function(e){return void 0!==e.children},e}();n([g.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",s.GridOptionsWrapper)],v.prototype,\"gridOptionsWrapper\",void 0),n([g.Autowired(\"columnUtils\"),i(\"design:type\",l.ColumnUtils)],v.prototype,\"columnUtils\",void 0),n([g.Autowired(\"context\"),i(\"design:type\",f.Context)],v.prototype,\"context\",void 0),n([r(0,h.Qualifier(\"loggerFactory\")),i(\"design:type\",Function),i(\"design:paramtypes\",[a.LoggerFactory]),i(\"design:returntype\",void 0)],v.prototype,\"setBeans\",null),v=n([u.Bean(\"balancedColumnTreeBuilder\")],v),t.BalancedColumnTreeBuilder=v},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var n=o(9),i=function(){function e(){this.existingKeys=[]}return e.prototype.getUniqueKey=function(e,t){e=n.Utils.toStringOrNull(e);for(var o=0;;){var i;if(e?(i=e,0!==o&&(i+=\"_\"+o)):t?(i=t,0!==o&&(i+=\"_\"+o)):i=\"\"+o,this.existingKeys.indexOf(i)<0)return this.existingKeys.push(i),i;o++}},e}();t.ColumnKeyCreator=i},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(19),s=o(17),a=o(20),l=o(8),p=o(9),d=o(8),c=function(){function e(){}return e.prototype.createDisplayedGroups=function(e,t,o,n){var i,r,s=this,a=[],l=this.mapOldGroupsById(n);return e.forEach(function(e){for(var n=s.getOriginalPathForColumn(t,e),p=[],d=!r,c=0;c<n.length;c++)if(d||n[c]!==r[c]){var u=s.createColumnGroup(n[c],o,l);p[c]=u,0==c?a.push(u):p[c-1].addChild(u)}else p[c]=i[c];0===p.length?a.push(e):p[p.length-1].addChild(e);i=p,r=n}),this.setupParentsIntoColumns(a,null),a},e.prototype.createColumnGroup=function(e,t,o){var n=e.getGroupId(),i=t.getInstanceIdForKey(n),r=s.ColumnGroup.createUniqueId(n,i),a=o[r];return a&&a.getOriginalColumnGroup()!==e&&(a=null),p.Utils.exists(a)?a.reset():(a=new s.ColumnGroup(e,n,i),this.context.wireBean(a)),a},e.prototype.mapOldGroupsById=function(e){var t={},o=function(e){e.forEach(function(e){if(e instanceof s.ColumnGroup){var n=e;t[e.getUniqueId()]=n,o(n.getChildren())}})};return e&&o(e),t},e.prototype.setupParentsIntoColumns=function(e,t){var o=this;e.forEach(function(e){if(e.setParent(t),e instanceof s.ColumnGroup){var n=e;o.setupParentsIntoColumns(n.getChildren(),n)}})},e.prototype.createFakePath=function(e){for(var t=[],o=e,n=0;o&&o[0]&&o[0]instanceof a.OriginalColumnGroup;)t.push(new a.OriginalColumnGroup(null,\"FAKE_PATH_\"+n,!0)),o=o[0].getChildren(),n++;return t},e.prototype.getOriginalPathForColumn=function(e,t){function o(e,r){for(var s=0;s<e.length;s++){if(i)return;var l=e[s];if(l instanceof a.OriginalColumnGroup){o(l.getChildren(),r+1),n[r]=l}else l===t&&(i=!0)}}var n=[],i=!1;return o(e,0),i?n:this.createFakePath(e)},e}();n([d.Autowired(\"columnUtils\"),i(\"design:type\",r.ColumnUtils)],c.prototype,\"columnUtils\",void 0),n([d.Autowired(\"context\"),i(\"design:type\",l.Context)],c.prototype,\"context\",void 0),c=n([l.Bean(\"displayedGroupCreator\")],c),t.DisplayedGroupCreator=c},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(26),s=o(27),a=o(8),l=o(8),p=o(86),d=o(90),c=o(5),u=o(94),h=function(){function e(){}return e.prototype.getPreferredWidthForColumn=function(e){var t=this.getHeaderCellForColumn(e);if(!t)return-1;var o=document.createElement(\"span\");o.style.position=\"fixed\";var n=this.gridPanel.getBodyContainer();n.appendChild(o),this.putRowCellsIntoDummyContainer(e,o),this.cloneItemIntoDummy(t,o);var i=o.offsetWidth;n.removeChild(o);var r=this.gridOptionsWrapper.getAutoSizePadding();return(\"number\"!=typeof r||r<0)&&(r=4),i+r},e.prototype.getHeaderCellForColumn=function(e){var t=null;return this.headerRenderer.forEachHeaderElement(function(o){if(o instanceof d.RenderedHeaderCell){var n=o;n.getColumn()===e&&(t=n)}else if(o instanceof u.HeaderWrapperComp){var i=o;i.getColumn()===e&&(t=i)}}),t?t.getGui():null},e.prototype.putRowCellsIntoDummyContainer=function(e,t){var o=this;this.rowRenderer.getAllCellsForColumn(e).forEach(function(e,n){o.cloneItemIntoDummy(e,t)})},e.prototype.cloneItemIntoDummy=function(e,t){var o=e.cloneNode(!0);o.style.width=\"\",o.style.position=\"static\",o.style.left=\"\";var n=document.createElement(\"div\");n.style.display=\"table-row\",n.appendChild(o),t.appendChild(n)},e}();n([l.Autowired(\"rowRenderer\"),i(\"design:type\",r.RowRenderer)],h.prototype,\"rowRenderer\",void 0),n([l.Autowired(\"headerRenderer\"),i(\"design:type\",p.HeaderRenderer)],h.prototype,\"headerRenderer\",void 0),n([l.Autowired(\"gridPanel\"),i(\"design:type\",s.GridPanel)],h.prototype,\"gridPanel\",void 0),n([l.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",c.GridOptionsWrapper)],h.prototype,\"gridOptionsWrapper\",void 0),h=n([a.Bean(\"autoWidthCalculator\")],h),t.AutoWidthCalculator=h},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(o,n){t(o,n,e)}};Object.defineProperty(t,\"__esModule\",{value:!0});var a=o(9),l=o(5),p=o(27),d=o(21),c=o(43),u=o(32),h=o(6),g=o(29),f=o(44),y=o(12),v=o(10),m=o(8),C=o(47),E=o(16),w=o(7),b=o(36),R=o(85),A=o(37),S=o(40),O=o(42),x=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.renderedRows={},t.renderedTopFloatingRows=[],t.renderedBottomFloatingRows=[],t.refreshInProgress=!1,t}return n(t,e),t.prototype.agWire=function(e){this.logger=e.create(\"RowRenderer\")},t.prototype.init=function(){this.rowContainers=this.gridPanel.getRowContainers(),this.addDestroyableEventListener(this.eventService,y.Events.EVENT_PAGINATION_CHANGED,this.onPageLoaded.bind(this)),this.addDestroyableEventListener(this.eventService,y.Events.EVENT_FLOATING_ROW_DATA_CHANGED,this.onFloatingRowDataChanged.bind(this)),this.refreshView()},t.prototype.onPageLoaded=function(e){void 0===e&&(e={animate:!1,keepRenderedRows:!1,newData:!1,newPage:!1}),this.onModelUpdated(e)},t.prototype.getAllCellsForColumn=function(e){function t(t,n){var i=n.getCellForCol(e);i&&o.push(i)}var o=[];return a.Utils.iterateObject(this.renderedRows,t),a.Utils.iterateObject(this.renderedBottomFloatingRows,t),a.Utils.iterateObject(this.renderedTopFloatingRows,t),o},t.prototype.refreshAllFloatingRows=function(){this.refreshFloatingRows(this.renderedTopFloatingRows,this.floatingRowModel.getFloatingTopRowData(),this.rowContainers.floatingTopPinnedLeft,this.rowContainers.floatingTopPinnedRight,this.rowContainers.floatingTop,this.rowContainers.floatingTopFullWidth),this.refreshFloatingRows(this.renderedBottomFloatingRows,this.floatingRowModel.getFloatingBottomRowData(),this.rowContainers.floatingBottomPinnedLeft,this.rowContainers.floatingBottomPinnedRight,this.rowContainers.floatingBottom,this.rowContainers.floatingBottomFullWith)},t.prototype.refreshFloatingRows=function(e,t,o,n,i,r){var s=this;e.forEach(function(e){e.destroy()}),e.length=0;var l=this.columnController.getAllDisplayedColumns();a.Utils.missingOrEmpty(l)||t&&t.forEach(function(t){var a=new f.RenderedRow(s.$scope,s,i,r,o,n,t,!1);s.context.wireBean(a),e.push(a)})},t.prototype.onFloatingRowDataChanged=function(){this.refreshView()},t.prototype.onModelUpdated=function(e){var t={keepRenderedRows:e.keepRenderedRows,animate:e.animate,newData:e.newData,newPage:e.newPage};this.refreshView(t)},t.prototype.getRenderedIndexesForRowNodes=function(e){var t=[];return a.Utils.missing(e)?t:(a.Utils.iterateObject(this.renderedRows,function(o,n){var i=n.getRowNode();e.indexOf(i)>=0&&t.push(o)}),t)},t.prototype.refreshRows=function(e){if(e&&0!=e.length){var t=this.getRenderedIndexesForRowNodes(e);this.removeVirtualRows(t),this.refreshView({keepRenderedRows:!0})}},t.prototype.refreshView=function(e){void 0===e&&(e={}),this.logger.log(\"refreshView\"),this.getLockOnRefresh();var t=e.suppressKeepFocus?null:this.focusedCellController.getFocusCellToUseAfterRefresh();if(!this.gridOptionsWrapper.isForPrint()){var o=this.paginationProxy.getCurrentPageHeight();0===o&&(o=1),this.rowContainers.body.setHeight(o),this.rowContainers.fullWidth.setHeight(o),this.rowContainers.pinnedLeft.setHeight(o),this.rowContainers.pinnedRight.setHeight(o)}var n=e.newData||e.newPage,i=this.gridOptionsWrapper.isSuppressScrollOnNewData();n&&!i&&this.gridPanel.scrollToTop(),this.refreshAllVirtualRows(e.keepRenderedRows,e.animate),e.onlyBody||this.refreshAllFloatingRows(),this.restoreFocusedCell(t),this.releaseLockOnRefresh()},t.prototype.getLockOnRefresh=function(){if(this.refreshInProgress)throw\"ag-Grid: cannot get grid to draw rows when it is in the middle of drawing rows. Your code probably called a grid API method while the grid was in the render stage. To overcome this, put the API call into a timeout, eg instead of api.refreshView(), call setTimeout(function(){api.refreshView(),0}). To see what part of your code that caused the refresh check this stacktrace.\";this.refreshInProgress=!0},t.prototype.releaseLockOnRefresh=function(){this.refreshInProgress=!1},t.prototype.restoreFocusedCell=function(e){e&&this.focusedCellController.setFocusedCell(e.rowIndex,e.column,e.floating,!0)},t.prototype.softRefreshView=function(){var e=this.focusedCellController.getFocusCellToUseAfterRefresh();this.forEachRenderedCell(function(e){e.isVolatile()&&e.refreshCell()}),this.restoreFocusedCell(e)},t.prototype.stopEditing=function(e){void 0===e&&(e=!1),this.forEachRenderedRow(function(t,o){o.stopEditing(e)})},t.prototype.forEachRenderedCell=function(e){a.Utils.iterateObject(this.renderedRows,function(t,o){o.forEachRenderedCell(e)})},t.prototype.forEachRenderedRow=function(e){a.Utils.iterateObject(this.renderedRows,e),a.Utils.iterateObject(this.renderedTopFloatingRows,e),a.Utils.iterateObject(this.renderedBottomFloatingRows,e)},t.prototype.addRenderedRowListener=function(e,t,o){this.renderedRows[t].addEventListener(e,o)},t.prototype.refreshCells=function(e,t,o){void 0===o&&(o=!1),e&&0!=e.length&&a.Utils.iterateObject(this.renderedRows,function(n,i){var r=i.getRowNode();e.indexOf(r)>=0&&i.refreshCells(t,o)})},t.prototype.destroy=function(){e.prototype.destroy.call(this);var t=Object.keys(this.renderedRows);this.removeVirtualRows(t)},t.prototype.refreshAllVirtualRows=function(e,t){var o,n=this,i={};this.gridOptionsWrapper.isForPrint()&&(e=!1),e?(o=[],a.Utils.iterateObject(this.renderedRows,function(e,t){var r=t.getRowNode();a.Utils.exists(r.id)?(i[r.id]=t,delete n.renderedRows[e]):o.push(e)})):o=Object.keys(this.renderedRows),this.removeVirtualRows(o),this.drawVirtualRows(i,t)},t.prototype.refreshGroupRows=function(){var e=this,t=[];Object.keys(this.renderedRows).forEach(function(o){e.renderedRows[o].isGroup()&&t.push(o)}),this.removeVirtualRows(t),this.ensureRowsRendered()},t.prototype.removeVirtualRows=function(e){var t=this;e.forEach(function(e){t.renderedRows[e].destroy(),delete t.renderedRows[e]})},t.prototype.drawVirtualRowsWithLock=function(){this.getLockOnRefresh(),this.drawVirtualRows(),this.releaseLockOnRefresh()},t.prototype.drawVirtualRows=function(e,t){void 0===t&&(t=!1),this.workOutFirstAndLastRowsToRender(),this.ensureRowsRendered(e,t)},t.prototype.workOutFirstAndLastRowsToRender=function(){var e,t;if(this.paginationProxy.isRowsToRender()){var o=this.paginationProxy.getPageFirstRow(),n=this.paginationProxy.getPageLastRow();if(this.gridOptionsWrapper.isForPrint())e=o,t=n;else{var i=this.paginationProxy?this.paginationProxy.getPixelOffset():0,r=this.gridPanel.getVerticalPixelRange(),s=r.top,a=r.bottom,l=this.paginationProxy.getRowIndexAtPixel(s+i),p=this.paginationProxy.getRowIndexAtPixel(a+i),d=this.gridOptionsWrapper.getRowBuffer();l-=d,p+=d,l<o&&(l=o),p>n&&(p=n),e=l,t=p}}else e=0,t=-1;var c=e!==this.firstRenderedRow,u=t!==this.lastRenderedRow;if(c||u){this.firstRenderedRow=e,this.lastRenderedRow=t;var h={firstRow:e,lastRow:t};this.eventService.dispatchEvent(y.Events.EVENT_VIEWPORT_CHANGED,h)}},t.prototype.getFirstVirtualRenderedRow=function(){return this.firstRenderedRow},t.prototype.getLastVirtualRenderedRow=function(){return this.lastRenderedRow},t.prototype.ensureRowsRendered=function(e,t){var o=this;void 0===t&&(t=!1);for(var n=Object.keys(this.renderedRows),i=[],r=this.firstRenderedRow;r<=this.lastRenderedRow;r++)if(n.indexOf(r.toString())>=0)a.Utils.removeFromArray(n,r.toString());else{var s=this.paginationProxy.getRow(r);if(s){var l=this.getOrCreateRenderedRow(s,e,t);a.Utils.pushAll(i,l.getAndClearNextVMTurnFunctions()),this.renderedRows[r]=l}}setTimeout(function(){i.forEach(function(e){return e()})},0),n=a.Utils.filter(n,function(e){var t=!0,n=o.renderedRows[e],i=n.getRowNode(),r=o.focusedCellController.isRowNodeFocused(i),s=n.isEditing();return(!r&&!s||!o.paginationProxy.isRowPresent(i))&&t}),this.removeVirtualRows(n);var p=[];a.Utils.iterateObject(e,function(o,n){n.destroy(t),n.getAndClearDelayedDestroyFunctions().forEach(function(e){return p.push(e)}),delete e[o]}),setTimeout(function(){p.forEach(function(e){return e()})},400),this.rowContainers.body.flushDocumentFragment(),this.gridOptionsWrapper.isForPrint()||(this.rowContainers.pinnedLeft.flushDocumentFragment(),this.rowContainers.pinnedRight.flushDocumentFragment()),this.gridOptionsWrapper.isAngularCompileRows()&&setTimeout(function(){o.$scope.$apply()},0)},t.prototype.getOrCreateRenderedRow=function(e,t,o){var n;return a.Utils.exists(t)&&t[e.id]?(n=t[e.id],delete t[e.id]):(n=new f.RenderedRow(this.$scope,this,this.rowContainers.body,this.rowContainers.fullWidth,this.rowContainers.pinnedLeft,this.rowContainers.pinnedRight,e,o),this.context.wireBean(n)),n},t.prototype.getRenderedNodes=function(){var e=this.renderedRows;return Object.keys(e).map(function(t){return e[t].getRowNode()})},t.prototype.navigateToNextCell=function(e,t,o,n,i){for(var r=new A.GridCell({rowIndex:o,floating:i,column:n}),s=r;;){if(s=this.cellNavigationService.getNextCellToFocus(t,s),a.Utils.missing(s))break;if(!this.gridOptionsWrapper.isGroupUseEntireRow())break;if(!this.paginationProxy.getRow(s.rowIndex).group)break}var l=this.gridOptionsWrapper.getNavigateToNextCellFunc();if(a.Utils.exists(l)){var p={key:t,previousCellDef:r,nextCellDef:s?s.getGridCellDef():null,event:e},d=l(p);s=a.Utils.exists(d)?new A.GridCell(d):null}if(s&&(a.Utils.missing(s.floating)&&this.gridPanel.ensureIndexVisible(s.rowIndex),s.column.isPinned()||this.gridPanel.ensureColumnVisible(s.column),this.gridPanel.horizontallyScrollHeaderCenterAndFloatingCenter(),this.focusedCellController.setFocusedCell(s.rowIndex,s.column,s.floating,!0),this.rangeController)){var c=new A.GridCell({rowIndex:s.rowIndex,floating:s.floating,column:s.column});this.rangeController.setRangeToCell(c)}},t.prototype.startEditingCell=function(e,t,o){var n=this.getComponentForCell(e);n&&n.startRowOrCellEdit(t,o)},t.prototype.getComponentForCell=function(e){var t;switch(e.floating){case v.Constants.FLOATING_TOP:t=this.renderedTopFloatingRows[e.rowIndex];break;case v.Constants.FLOATING_BOTTOM:t=this.renderedBottomFloatingRows[e.rowIndex];break;default:t=this.renderedRows[e.rowIndex]}return t?t.getRenderedCellForColumn(e.column):null},t.prototype.onTabKeyDown=function(e,t){var o=t.shiftKey;this.moveToCellAfter(e,o)&&t.preventDefault()},t.prototype.tabToNextCell=function(e){var t=this.focusedCellController.getFocusedCell();if(a.Utils.missing(t))return!1;var o=this.getComponentForCell(t);return!a.Utils.missing(o)&&this.moveToCellAfter(o,e)},t.prototype.moveToCellAfter=function(e,t){var o=e.isEditing(),n=e.getGridCell(),i=this.findNextCellToFocusOn(n,t,o);return!!a.Utils.exists(i)&&(o?this.gridOptionsWrapper.isFullRowEdit()?this.moveEditToNextRow(e,i):this.moveEditToNextCell(e,i):i.focusCell(!0),!0)},t.prototype.moveEditToNextCell=function(e,t){e.stopEditing(),t.startEditingIfEnabled(null,null,!0),t.focusCell(!1)},t.prototype.moveEditToNextRow=function(e,t){var o=e.getGridCell(),n=t.getGridCell();if(o.rowIndex===n.rowIndex&&o.floating===n.floating)e.setFocusOutOnEditor(),t.setFocusInOnEditor();else{var i=e.getRenderedRow(),r=t.getRenderedRow();e.setFocusOutOnEditor(),i.stopEditing(),r.startRowEditing(),t.setFocusInOnEditor()}t.focusCell()},t.prototype.findNextCellToFocusOn=function(e,t,o){for(var n=e;;){n=this.cellNavigationService.getNextTabbedCell(n,t);var i=this.gridOptionsWrapper.getTabToNextCellFunc();if(a.Utils.exists(i)){var r={backwards:t,editing:o,previousCellDef:e.getGridCellDef(),nextCellDef:n?n.getGridCellDef():null},s=i(r);n=a.Utils.exists(s)?new A.GridCell(s):null}if(!n)return null;a.Utils.missing(n.floating)&&this.gridPanel.ensureIndexVisible(n.rowIndex),n.column.isPinned()||this.gridPanel.ensureColumnVisible(n.column),this.gridPanel.horizontallyScrollHeaderCenterAndFloatingCenter();var l=this.getComponentForCell(n);if(!a.Utils.missing(l)&&((!o||l.isCellEditable())&&!l.isSuppressNavigable())){if(this.rangeController){var p=new A.GridCell({rowIndex:n.rowIndex,floating:n.floating,column:n.column});this.rangeController.setRangeToCell(p)}return l}}},t}(S.BeanStub);i([m.Autowired(\"paginationProxy\"),r(\"design:type\",O.PaginationProxy)],x.prototype,\"paginationProxy\",void 0),i([m.Autowired(\"columnController\"),r(\"design:type\",E.ColumnController)],x.prototype,\"columnController\",void 0),i([m.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",l.GridOptionsWrapper)],x.prototype,\"gridOptionsWrapper\",void 0),i([m.Autowired(\"gridCore\"),r(\"design:type\",C.GridCore)],x.prototype,\"gridCore\",void 0),i([m.Autowired(\"gridPanel\"),r(\"design:type\",p.GridPanel)],x.prototype,\"gridPanel\",void 0),i([m.Autowired(\"$compile\"),r(\"design:type\",Object)],x.prototype,\"$compile\",void 0),i([m.Autowired(\"$scope\"),r(\"design:type\",Object)],x.prototype,\"$scope\",void 0),i([m.Autowired(\"expressionService\"),r(\"design:type\",d.ExpressionService)],x.prototype,\"expressionService\",void 0),i([m.Autowired(\"templateService\"),r(\"design:type\",c.TemplateService)],x.prototype,\"templateService\",void 0),i([m.Autowired(\"valueService\"),r(\"design:type\",u.ValueService)],x.prototype,\"valueService\",void 0),i([m.Autowired(\"eventService\"),r(\"design:type\",h.EventService)],x.prototype,\"eventService\",void 0),i([m.Autowired(\"floatingRowModel\"),r(\"design:type\",g.FloatingRowModel)],x.prototype,\"floatingRowModel\",void 0),i([m.Autowired(\"context\"),r(\"design:type\",m.Context)],x.prototype,\"context\",void 0),i([m.Autowired(\"loggerFactory\"),r(\"design:type\",w.LoggerFactory)],x.prototype,\"loggerFactory\",void 0),i([m.Autowired(\"focusedCellController\"),r(\"design:type\",b.FocusedCellController)],x.prototype,\"focusedCellController\",void 0),i([m.Optional(\"rangeController\"),r(\"design:type\",Object)],x.prototype,\"rangeController\",void 0),i([m.Autowired(\"cellNavigationService\"),r(\"design:type\",R.CellNavigationService)],x.prototype,\"cellNavigationService\",void 0),i([s(0,m.Qualifier(\"loggerFactory\")),r(\"design:type\",Function),r(\"design:paramtypes\",[w.LoggerFactory]),r(\"design:returntype\",void 0)],x.prototype,\"agWire\",null),i([m.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],x.prototype,\"init\",null),i([m.PreDestroy,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],x.prototype,\"destroy\",null),x=i([m.Bean(\"rowRenderer\")],x),t.RowRenderer=x},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";function n(e,t){for(var o=0;o<e.length;o++)for(var n=e[o],r=0;r<n.bindings.length;r++){var s=n.bindings[r];if(i(s,t))return{trappedKeyboardBinding:s,trappedKeyboardBindingGroup:n}}return null}function i(e,t){var o=t.which||t.keyCode;return e.ctlRequired===t.ctrlKey&&e.keyCode===o&&e.altRequired===t.altKey}var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),s=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},a=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},l=this&&this.__param||function(e,t){return function(o,n){t(o,n,e)}};Object.defineProperty(t,\"__esModule\",{value:!0});var p=o(9),d=o(28),c=o(5),u=o(16),h=o(26),g=o(29),f=o(33),y=o(7),v=o(8),m=o(6),C=o(12),E=o(34),w=o(10),b=o(31),R=o(14),A=o(35),S=o(36),O=o(39),x=o(40),P=o(41),D=o(42),T='<div class=\"ag-root ag-font-style\"><div class=\"ag-header\"><div class=\"ag-pinned-left-header\"></div><div class=\"ag-pinned-right-header\"></div><div class=\"ag-header-viewport\"><div class=\"ag-header-container\"></div></div><div class=\"ag-header-overlay\"></div></div><div class=\"ag-floating-top\"><div class=\"ag-pinned-left-floating-top\"></div><div class=\"ag-pinned-right-floating-top\"></div><div class=\"ag-floating-top-viewport\"><div class=\"ag-floating-top-container\"></div></div><div class=\"ag-floating-top-full-width-container\"></div></div><div class=\"ag-floating-bottom\"><div class=\"ag-pinned-left-floating-bottom\"></div><div class=\"ag-pinned-right-floating-bottom\"></div><div class=\"ag-floating-bottom-viewport\"><div class=\"ag-floating-bottom-container\"></div></div><div class=\"ag-floating-bottom-full-width-container\"></div></div><div class=\"ag-body\"><div class=\"ag-pinned-left-cols-viewport\"><div class=\"ag-pinned-left-cols-container\"></div></div><div class=\"ag-pinned-right-cols-viewport\"><div class=\"ag-pinned-right-cols-container\"></div></div><div class=\"ag-body-viewport-wrapper\"><div class=\"ag-body-viewport\"><div class=\"ag-body-container\"></div></div></div><div class=\"ag-full-width-viewport\"><div class=\"ag-full-width-container\"></div></div></div></div>',N='<div class=\"ag-root ag-font-style\"><div class=\"ag-header-container\"></div><div class=\"ag-floating-top-container\"></div><div class=\"ag-body-container\"></div><div class=\"ag-floating-bottom-container\"></div></div>',F='<div class=\"ag-overlay-panel\"><div class=\"ag-overlay-wrapper ag-overlay-[OVERLAY_NAME]-wrapper\">[OVERLAY_TEMPLATE]</div></div>',_='<span class=\"ag-overlay-loading-center\">[LOADING...]</span>',G='<span class=\"ag-overlay-no-rows-center\">[NO_ROWS_TO_SHOW]</span>',M=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.requestAnimationFrameExists=\"function\"==typeof requestAnimationFrame,t.scrollLagCounter=0,t.scrollLagTicking=!1,t.lastLeftPosition=-1,t.lastTopPosition=-1,t.animationThreadCount=0,t}return r(t,e),t.prototype.agWire=function(e){this.logger=e.create(\"GridPanel\"),this.forPrint=this.gridOptionsWrapper.isForPrint(),this.scrollWidth=this.gridOptionsWrapper.getScrollbarWidth(),this.useScrollLag=this.isUseScrollLag(),this.enableRtl=this.gridOptionsWrapper.isEnableRtl(),this.loadTemplate(),this.findElements()},t.prototype.getVerticalPixelRange=function(){var e=this.getPrimaryScrollViewport();return{top:e.scrollTop,bottom:e.scrollTop+e.offsetHeight}},t.prototype.destroy=function(){e.prototype.destroy.call(this)},t.prototype.onRowDataChanged=function(){this.showOrHideOverlay()},t.prototype.showOrHideOverlay=function(){this.paginationProxy.isEmpty()&&!this.gridOptionsWrapper.isSuppressNoRowsOverlay()?this.showNoRowsOverlay():this.hideOverlay()},t.prototype.getLayout=function(){return this.layout},t.prototype.init=function(){this.addEventListeners(),this.addDragListeners(),this.layout=new f.BorderLayout({overlays:{loading:p.Utils.loadTemplate(this.createLoadingOverlayTemplate()),noRows:p.Utils.loadTemplate(this.createNoRowsOverlayTemplate())},center:this.eRoot,dontFill:this.forPrint,name:\"eGridPanel\"}),this.layout.addSizeChangeListener(this.setBodyAndHeaderHeights.bind(this)),this.layout.addSizeChangeListener(this.setLeftAndRightBounds.bind(this)),this.addScrollListener(),this.gridOptionsWrapper.isSuppressHorizontalScroll()&&(this.eBodyViewport.style.overflowX=\"hidden\"),this.gridOptionsWrapper.isRowModelDefault()&&!this.gridOptionsWrapper.getRowData()&&this.showLoadingOverlay(),this.setPinnedContainersVisible(),this.setBodyAndHeaderHeights(),this.disableBrowserDragging(),this.addShortcutKeyListeners(),this.addMouseEvents(),this.addKeyboardEvents(),this.addBodyViewportListener(),this.addStopEditingWhenGridLosesFocus(),this.$scope&&this.addAngularApplyCheck(),this.onDisplayedColumnsWidthChanged()},t.prototype.addStopEditingWhenGridLosesFocus=function(){var e=this;this.gridOptionsWrapper.isStopEditingWhenGridLosesFocus()&&this.addDestroyableEventListener(this.eBody,\"focusout\",function(t){for(var o=t.relatedTarget,n=!1,i=o;p.Utils.exists(i);)(i=i.parentNode)===e.eBody&&(n=!0);n||e.rowRenderer.stopEditing()})},t.prototype.addAngularApplyCheck=function(){var e=this,t=!1,o=function(){t||(t=!0,setTimeout(function(){t=!1,e.$scope.$apply()},0))};this.addDestroyableEventListener(this.eventService,C.Events.EVENT_DISPLAYED_COLUMNS_CHANGED,o),this.addDestroyableEventListener(this.eventService,C.Events.EVENT_VIRTUAL_COLUMNS_CHANGED,o)},t.prototype.disableBrowserDragging=function(){this.eRoot.addEventListener(\"dragstart\",function(e){if(e.target instanceof HTMLImageElement)return e.preventDefault(),!1})},t.prototype.addEventListeners=function(){this.addDestroyableEventListener(this.eventService,C.Events.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this)),this.addDestroyableEventListener(this.eventService,C.Events.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,this.onDisplayedColumnsWidthChanged.bind(this)),this.addDestroyableEventListener(this.eventService,C.Events.EVENT_SCROLL_VISIBILITY_CHANGED,this.onScrollVisibilityChanged.bind(this)),this.addDestroyableEventListener(this.eventService,C.Events.EVENT_FLOATING_ROW_DATA_CHANGED,this.setBodyAndHeaderHeights.bind(this)),this.addDestroyableEventListener(this.eventService,C.Events.EVENT_ROW_DATA_CHANGED,this.onRowDataChanged.bind(this)),this.addDestroyableEventListener(this.eventService,C.Events.EVENT_ITEMS_ADDED,this.onRowDataChanged.bind(this)),this.addDestroyableEventListener(this.eventService,C.Events.EVENT_ITEMS_REMOVED,this.onRowDataChanged.bind(this)),this.addDestroyableEventListener(this.gridOptionsWrapper,c.GridOptionsWrapper.PROP_HEADER_HEIGHT,this.setBodyAndHeaderHeights.bind(this))},t.prototype.addDragListeners=function(){var e=this;if(!this.forPrint&&this.gridOptionsWrapper.isEnableRangeSelection()&&!p.Utils.missing(this.rangeController)){[this.ePinnedLeftColsContainer,this.ePinnedRightColsContainer,this.eBodyContainer,this.eFloatingTop,this.eFloatingBottom].forEach(function(t){var o={dragStartPixels:0,eElement:t,onDragStart:e.rangeController.onDragStart.bind(e.rangeController),onDragStop:e.rangeController.onDragStop.bind(e.rangeController),onDragging:e.rangeController.onDragging.bind(e.rangeController)};e.dragService.addDragSource(o),e.addDestroyFunc(function(){return e.dragService.removeDragSource(o)})})}},t.prototype.addMouseEvents=function(){var e=this;[\"click\",\"mousedown\",\"dblclick\",\"contextmenu\",\"mouseover\",\"mouseout\"].forEach(function(t){var o=e.processMouseEvent.bind(e,t);e.eAllCellContainers.forEach(function(n){n.addEventListener(t,o),e.addDestroyFunc(function(){return n.removeEventListener(t,o)})})})},t.prototype.addKeyboardEvents=function(){var e=this;[\"keydown\",\"keypress\"].forEach(function(t){var o=e.processKeyboardEvent.bind(e,t);e.eAllCellContainers.forEach(function(n){e.addDestroyableEventListener(n,t,o)})})},t.prototype.addBodyViewportListener=function(){var e=this;if(!this.gridOptionsWrapper.isForPrint()){var t=function(t){p.Utils.getTarget(t)===e.eBodyViewport&&(e.onContextMenu(t),e.preventDefaultOnContextMenu(t))};this.addDestroyableEventListener(this.eBodyViewport,\"contextmenu\",t)}},t.prototype.getRowForEvent=function(e){for(var t=this.gridOptionsWrapper.getDomDataKey(),o=p.Utils.getTarget(e);o;){var n=o[t];if(n&&n.renderedRow)return n.renderedRow;o=o.parentElement}return null},t.prototype.processKeyboardEvent=function(e,t){var o=this.mouseEventService.getRenderedCellForEvent(t);if(o)switch(e){case\"keydown\":var i=[w.Constants.DIAGONAL_SCROLL_KEYS,w.Constants.HORIZONTAL_SCROLL_KEYS,w.Constants.VERTICAL_SCROLL_KEYS],r=n(i,t);r?this.handlePageScrollingKey(r.trappedKeyboardBindingGroup.id,r.trappedKeyboardBinding.id,t):o.onKeyDown(t);break;case\"keypress\":o.onKeyPress(t)}},t.prototype.handlePageScrollingKey=function(e,t,o){switch(e){case w.Constants.DIAGONAL_SCROLL_KEYS_ID:this.pageDiagonally(t);break;case w.Constants.VERTICAL_SCROLL_KEYS_ID:this.pageVertically(t);break;case w.Constants.HORIZONTAL_SCROLL_KEYS_ID:this.pageHorizontally(t)}o.preventDefault()},t.prototype.pageHorizontally=function(e){var t=this.columnController.getAllDisplayedColumns(),o=e===w.Constants.KEY_CTRL_LEFT_NAME?t[0]:t[t.length-1],n={type:I.HORIZONTAL,columnToScrollTo:o,columnToFocus:o};this.performScroll(n)},t.prototype.pageDiagonally=function(e){var t=this.getPrimaryScrollViewport().offsetHeight,o=e===w.Constants.KEY_PAGE_HOME_NAME?0:t,n=e===w.Constants.KEY_PAGE_HOME_NAME?0:this.paginationProxy.getPageLastRow(),i=this.paginationProxy.getRow(n),r=this.columnController.getAllDisplayedColumns(),s=e===w.Constants.KEY_PAGE_HOME_NAME?r[0]:r[r.length-1],a={focusedRowTopDelta:o,type:I.DIAGONAL,rowToScrollTo:i,columnToScrollTo:s};this.performScroll(a)},t.prototype.pageVertically=function(e){if(e===w.Constants.KEY_CTRL_UP_NAME)return void this.performScroll({rowToScrollTo:this.paginationProxy.getRow(0),focusedRowTopDelta:0,type:I.VERTICAL});if(e===w.Constants.KEY_CTRL_DOWN_NAME)return void this.performScroll({rowToScrollTo:this.paginationProxy.getRow(this.paginationProxy.getPageLastRow()),focusedRowTopDelta:this.getPrimaryScrollViewport().offsetHeight,type:I.VERTICAL});var t=this.focusedCellController.getFocusedCell(),o=this.paginationProxy.getRow(t.rowIndex),n=o.rowTop,i=n-this.getPrimaryScrollViewport().scrollTop-this.paginationProxy.getPixelOffset(),r=this.getPrimaryScrollViewport().scrollTop,s=this.paginationProxy.getRowIndexAtPixel(r+this.paginationProxy.getPixelOffset()),a=this.paginationProxy.getRow(s),l=this.getPrimaryScrollViewport().offsetHeight,p=this.paginationProxy.getCurrentPageHeight(),d=p<l?p:l,c=a.rowTop+a.rowHeight,u=e==w.Constants.KEY_PAGE_DOWN_NAME?d+c:c-d,h=this.paginationProxy.getRow(this.paginationProxy.getRowIndexAtPixel(u)),g={rowToScrollTo:h,focusedRowTopDelta:i,type:I.VERTICAL};this.performScroll(g)},t.prototype.scrollToTop=function(){this.forPrint||(this.getPrimaryScrollViewport().scrollTop=0)},t.prototype.performScroll=function(e){var t,o,n,i,r=this.focusedCellController.getFocusedCell();switch(e.type){case I.VERTICAL:t=e,this.ensureIndexVisible(t.rowToScrollTo.rowIndex),i=t.rowToScrollTo.rowTop-this.paginationProxy.getPixelOffset(),this.getPrimaryScrollViewport().scrollTop=i;break;case I.DIAGONAL:o=e,this.ensureIndexVisible(o.rowToScrollTo.rowIndex),i=o.rowToScrollTo.rowTop-this.paginationProxy.getPixelOffset(),this.getPrimaryScrollViewport().scrollTop=i,this.getPrimaryScrollViewport().scrollLeft=o.columnToScrollTo.getLeft();break;case I.HORIZONTAL:n=e,this.getPrimaryScrollViewport().scrollLeft=n.columnToScrollTo.getLeft()}var s={onlyBody:!0,suppressKeepFocus:!0};this.rowRenderer.refreshView(s);var a,l;switch(e.type){case I.VERTICAL:a=this.paginationProxy.getRowIndexAtPixel(i+this.paginationProxy.getPixelOffset()+t.focusedRowTopDelta),l=r.column;break;case I.DIAGONAL:a=this.paginationProxy.getRowIndexAtPixel(i+this.paginationProxy.getPixelOffset()+o.focusedRowTopDelta),l=o.columnToScrollTo;break;case I.HORIZONTAL:a=r.rowIndex,l=n.columnToScrollTo}this.focusedCellController.setFocusedCell(a,l,null,!0)},t.prototype.processMouseEvent=function(e,t){var o=this.mouseEventService.getRenderedCellForEvent(t);o&&o.onMouseEvent(e,t);var n=this.getRowForEvent(t);n&&n.onMouseEvent(e,t),this.preventDefaultOnContextMenu(t)},t.prototype.onContextMenu=function(e){(this.gridOptionsWrapper.isAllowContextMenuWithControlKey()||!e.ctrlKey&&!e.metaKey)&&this.contextMenuFactory&&!this.gridOptionsWrapper.isSuppressContextMenu()&&(this.contextMenuFactory.showMenu(null,null,null,e),e.preventDefault())},t.prototype.preventDefaultOnContextMenu=function(e){this.gridOptionsWrapper.isSuppressMiddleClickScrolls()&&2===e.which&&e.preventDefault()},t.prototype.addShortcutKeyListeners=function(){var e=this;this.eAllCellContainers.forEach(function(t){t.addEventListener(\"keydown\",function(t){var o=e.mouseEventService.getRenderedCellForEvent(t);if((!o||!o.isEditing())&&(t.ctrlKey||t.metaKey))switch(t.which){case w.Constants.KEY_A:return e.onCtrlAndA(t);case w.Constants.KEY_C:return e.onCtrlAndC(t);case w.Constants.KEY_V:return e.onCtrlAndV(t);case w.Constants.KEY_D:return e.onCtrlAndD(t)}})})},t.prototype.onCtrlAndA=function(e){if(this.rangeController&&this.paginationProxy.isRowsToRender()){var t,o,n;o=this.floatingRowModel.isEmpty(w.Constants.FLOATING_TOP)?null:w.Constants.FLOATING_TOP,this.floatingRowModel.isEmpty(w.Constants.FLOATING_BOTTOM)?(n=null,t=this.paginationProxy.getTotalRowCount()-1):(n=w.Constants.FLOATING_BOTTOM,t=this.floatingRowModel.getFloatingBottomRowData().length=1);var i=this.columnController.getAllDisplayedColumns();if(p.Utils.missingOrEmpty(i))return;this.rangeController.setRange({rowStart:0,floatingStart:o,rowEnd:t,floatingEnd:n,columnStart:i[0],columnEnd:i[i.length-1]})}return e.preventDefault(),!1},t.prototype.onCtrlAndC=function(e){if(this.clipboardService){var t=this.focusedCellController.getFocusedCell();return this.clipboardService.copyToClipboard(),e.preventDefault(),t&&this.focusedCellController.setFocusedCell(t.rowIndex,t.column,t.floating,!0),!1}},t.prototype.onCtrlAndV=function(e){if(this.rangeController)return this.clipboardService.pasteFromClipboard(),!1},t.prototype.onCtrlAndD=function(e){if(this.clipboardService)return this.clipboardService.copyRangeDown(),e.preventDefault(),!1},t.prototype.createOverlayTemplate=function(e,t,o){var n=F.replace(\"[OVERLAY_NAME]\",e);return n=o?n.replace(\"[OVERLAY_TEMPLATE]\",o):n.replace(\"[OVERLAY_TEMPLATE]\",t)},t.prototype.createLoadingOverlayTemplate=function(){var e=this.gridOptionsWrapper.getOverlayLoadingTemplate(),t=this.createOverlayTemplate(\"loading\",_,e),o=this.gridOptionsWrapper.getLocaleTextFunc();return t.replace(\"[LOADING...]\",o(\"loadingOoo\",\"Loading...\"))},t.prototype.createNoRowsOverlayTemplate=function(){var e=this.gridOptionsWrapper.getOverlayNoRowsTemplate(),t=this.createOverlayTemplate(\"no-rows\",G,e),o=this.gridOptionsWrapper.getLocaleTextFunc();return t.replace(\"[NO_ROWS_TO_SHOW]\",o(\"noRowsToShow\",\"No Rows To Show\"))},t.prototype.ensureIndexVisible=function(e){if(!this.gridOptionsWrapper.isForPrint()){this.logger.log(\"ensureIndexVisible: \"+e);var t=this.paginationProxy.getTotalRowCount();if(\"number\"!=typeof e||e<0||e>=t)return void console.warn(\"invalid row index for ensureIndexVisible: \"+e);this.paginationProxy.goToPageWithIndex(e);var o=this.paginationProxy.getRow(e),n=this.paginationProxy.getPixelOffset(),i=o.rowTop-n,r=i+o.rowHeight,s=this.getVerticalPixelRange(),a=s.top,l=s.bottom;this.isHorizontalScrollShowing()&&(l-=this.scrollWidth);var p=a>i,d=l<r,c=this.getPrimaryScrollViewport();if(p)c.scrollTop=i,this.rowRenderer.drawVirtualRowsWithLock();else if(d){var u=l-a,h=r-u;c.scrollTop=h,this.rowRenderer.drawVirtualRowsWithLock()}}},t.prototype.getPrimaryScrollViewport=function(){return this.enableRtl&&this.columnController.isPinningLeft()?this.ePinnedLeftColsViewport:!this.enableRtl&&this.columnController.isPinningRight()?this.ePinnedRightColsViewport:this.eBodyViewport},t.prototype.getCenterWidth=function(){return this.eBodyViewport.clientWidth},t.prototype.isHorizontalScrollShowing=function(){return p.Utils.isHorizontalScrollShowing(this.eBodyViewport)},t.prototype.isVerticalScrollShowing=function(){return this.columnController.isPinningRight()?p.Utils.isVerticalScrollShowing(this.ePinnedRightColsViewport):p.Utils.isVerticalScrollShowing(this.eBodyViewport)},t.prototype.isBodyVerticalScrollShowing=function(){return!(!this.enableRtl&&this.columnController.isPinningRight())&&((!this.enableRtl||!this.columnController.isPinningLeft())&&p.Utils.isVerticalScrollShowing(this.eBodyViewport))},t.prototype.periodicallyCheck=function(){this.forPrint||(this.setBottomPaddingOnPinnedRight(),this.setMarginOnFullWidthCellContainer(),this.setScrollShowing())},t.prototype.setScrollShowing=function(){var e={vBody:!1,hBody:!1,vPinnedLeft:!1,vPinnedRight:!1};this.enableRtl?this.columnController.isPinningLeft()?e.vPinnedLeft=!this.forPrint&&p.Utils.isVerticalScrollShowing(this.ePinnedLeftColsViewport):e.vBody=p.Utils.isVerticalScrollShowing(this.eBodyViewport):this.columnController.isPinningRight()?e.vPinnedRight=!this.forPrint&&p.Utils.isVerticalScrollShowing(this.ePinnedRightColsViewport):e.vBody=p.Utils.isVerticalScrollShowing(this.eBodyViewport),e.hBody=p.Utils.isHorizontalScrollShowing(this.eBodyViewport),this.scrollVisibleService.setScrollsVisible(e)},t.prototype.setBottomPaddingOnPinnedRight=function(){if(!this.forPrint&&this.columnController.isPinningRight()){var e=this.eBodyViewport.clientWidth<this.eBodyViewport.scrollWidth;this.ePinnedRightColsContainer.style.marginBottom=e?this.scrollWidth+\"px\":\"\"}},t.prototype.setMarginOnFullWidthCellContainer=function(){this.forPrint||(this.enableRtl?this.isVerticalScrollShowing()?this.eFullWidthCellViewport.style.borderLeft=this.scrollWidth+\"px solid transparent\":this.eFullWidthCellViewport.style.borderLeft=\"\":this.isVerticalScrollShowing()?this.eFullWidthCellViewport.style.borderRight=this.scrollWidth+\"px solid transparent\":this.eFullWidthCellViewport.style.borderRight=\"\",this.isHorizontalScrollShowing()?this.eFullWidthCellViewport.style.borderBottom=this.scrollWidth+\"px solid transparent\":this.eFullWidthCellViewport.style.borderBottom=\"\")},t.prototype.ensureColumnVisible=function(e){if(!this.gridOptionsWrapper.isForPrint()){var t=this.columnController.getGridColumn(e);if(t){if(t.isPinned())return void console.warn(\"calling ensureIndexVisible on a \"+t.getPinned()+\" pinned column doesn't make sense for column \"+t.getColId());if(!this.columnController.isColumnDisplayed(t))return void console.warn(\"column is not currently visible\");var o,n,i=t.getLeft(),r=i+t.getActualWidth(),s=this.eBodyViewport.clientWidth,a=this.getBodyViewportScrollLeft(),l=this.columnController.getBodyContainerWidth();this.enableRtl?(o=l-a-s,n=l-a):(o=a,n=s+a);var p=o>i,d=n<r;if(p)if(this.enableRtl){var c=l-s-i;this.setBodyViewportScrollLeft(c)}else this.setBodyViewportScrollLeft(i);else if(d)if(this.enableRtl){var c=l-r;this.setBodyViewportScrollLeft(c)}else{var c=r-s;this.setBodyViewportScrollLeft(c)}this.setLeftAndRightBounds()}}},t.prototype.showLoadingOverlay=function(){this.gridOptionsWrapper.isSuppressLoadingOverlay()||this.layout.showOverlay(\"loading\")},t.prototype.showNoRowsOverlay=function(){this.gridOptionsWrapper.isSuppressNoRowsOverlay()||this.layout.showOverlay(\"noRows\")},t.prototype.hideOverlay=function(){this.layout.hideOverlay()},t.prototype.getWidthForSizeColsToFit=function(){var e=this.eBody.clientWidth;return this.isVerticalScrollShowing()&&(e-=this.scrollWidth),e},t.prototype.sizeColumnsToFit=function(e){var t=this,o=this.getWidthForSizeColsToFit();o>0?this.columnController.sizeColumnsToFit(o):void 0===e?setTimeout(function(){t.sizeColumnsToFit(100)},0):100===e?setTimeout(function(){t.sizeColumnsToFit(-1)},100):console.log(\"ag-Grid: tried to call sizeColumnsToFit() but the grid is coming back with zero width, maybe the grid is not visible yet on the screen?\")},t.prototype.getBodyContainer=function(){return this.eBodyContainer},t.prototype.getDropTargetBodyContainers=function(){return this.forPrint?[this.eBodyContainer,this.eFloatingTopContainer,this.eFloatingBottomContainer]:[this.eBodyViewport,this.eFloatingTopViewport,this.eFloatingBottomViewport]},t.prototype.getBodyViewport=function(){return this.eBodyViewport},t.prototype.getDropTargetLeftContainers=function(){return this.forPrint?[]:[this.ePinnedLeftColsViewport,this.ePinnedLeftFloatingBottom,this.ePinnedLeftFloatingTop]},t.prototype.getDropTargetPinnedRightContainers=function(){return this.forPrint?[]:[this.ePinnedRightColsViewport,this.ePinnedRightFloatingBottom,this.ePinnedRightFloatingTop]},t.prototype.getHeaderContainer=function(){return this.eHeaderContainer},t.prototype.getHeaderOverlay=function(){return this.eHeaderOverlay},t.prototype.getRoot=function(){return this.eRoot},t.prototype.getPinnedLeftHeader=function(){return this.ePinnedLeftHeader},t.prototype.getPinnedRightHeader=function(){return this.ePinnedRightHeader},t.prototype.queryHtmlElement=function(e){return this.eRoot.querySelector(e)},t.prototype.loadTemplate=function(){var e=this.forPrint?N:T;this.eRoot=p.Utils.loadTemplate(e);var t=this.forPrint?\"ag-no-scrolls\":\"ag-scrolls\";p.Utils.addCssClass(this.eRoot,t)},t.prototype.findElements=function(){if(this.forPrint){this.eHeaderContainer=this.queryHtmlElement(\".ag-header-container\"),this.eBodyContainer=this.queryHtmlElement(\".ag-body-container\"),this.eFloatingTopContainer=this.queryHtmlElement(\".ag-floating-top-container\"),this.eFloatingBottomContainer=this.queryHtmlElement(\".ag-floating-bottom-container\"),this.eAllCellContainers=[this.eBodyContainer,this.eFloatingTopContainer,this.eFloatingBottomContainer];var e={body:new P.RowContainerComponent({eContainer:this.eBodyContainer,useDocumentFragment:!0}),fullWidth:null,pinnedLeft:null,pinnedRight:null,floatingTop:new P.RowContainerComponent({eContainer:this.eFloatingTopContainer}),floatingTopPinnedLeft:null,floatingTopPinnedRight:null,floatingTopFullWidth:null,floatingBottom:new P.RowContainerComponent({eContainer:this.eFloatingBottomContainer}),floatingBottomPinnedLeft:null,floatingBottomPinnedRight:null,floatingBottomFullWith:null};this.rowContainerComponents=e,e.fullWidth=e.body,e.floatingBottomFullWith=e.floatingBottom,e.floatingTopFullWidth=e.floatingTop}else this.eBody=this.queryHtmlElement(\".ag-body\"),this.eBodyContainer=this.queryHtmlElement(\".ag-body-container\"),this.eBodyViewport=this.queryHtmlElement(\".ag-body-viewport\"),this.eBodyViewportWrapper=this.queryHtmlElement(\".ag-body-viewport-wrapper\"),this.eFullWidthCellContainer=this.queryHtmlElement(\".ag-full-width-container\"),this.eFullWidthCellViewport=this.queryHtmlElement(\".ag-full-width-viewport\"),this.ePinnedLeftColsContainer=this.queryHtmlElement(\".ag-pinned-left-cols-container\"),this.ePinnedRightColsContainer=this.queryHtmlElement(\".ag-pinned-right-cols-container\"),this.ePinnedLeftColsViewport=this.queryHtmlElement(\".ag-pinned-left-cols-viewport\"),this.ePinnedRightColsViewport=this.queryHtmlElement(\".ag-pinned-right-cols-viewport\"),this.ePinnedLeftHeader=this.queryHtmlElement(\".ag-pinned-left-header\"),this.ePinnedRightHeader=this.queryHtmlElement(\".ag-pinned-right-header\"),this.eHeader=this.queryHtmlElement(\".ag-header\"),this.eHeaderContainer=this.queryHtmlElement(\".ag-header-container\"),this.eHeaderOverlay=this.queryHtmlElement(\".ag-header-overlay\"),this.eHeaderViewport=this.queryHtmlElement(\".ag-header-viewport\"),this.eFloatingTop=this.queryHtmlElement(\".ag-floating-top\"),this.ePinnedLeftFloatingTop=this.queryHtmlElement(\".ag-pinned-left-floating-top\"),this.ePinnedRightFloatingTop=this.queryHtmlElement(\".ag-pinned-right-floating-top\"),this.eFloatingTopContainer=this.queryHtmlElement(\".ag-floating-top-container\"),this.eFloatingTopViewport=this.queryHtmlElement(\".ag-floating-top-viewport\"),this.eFloatingTopFullWidthCellContainer=this.queryHtmlElement(\".ag-floating-top-full-width-container\"),this.eFloatingBottom=this.queryHtmlElement(\".ag-floating-bottom\"),this.ePinnedLeftFloatingBottom=this.queryHtmlElement(\".ag-pinned-left-floating-bottom\"),this.ePinnedRightFloatingBottom=this.queryHtmlElement(\".ag-pinned-right-floating-bottom\"),this.eFloatingBottomContainer=this.queryHtmlElement(\".ag-floating-bottom-container\"),this.eFloatingBottomViewport=this.queryHtmlElement(\".ag-floating-bottom-viewport\"),this.eFloatingBottomFullWidthCellContainer=this.queryHtmlElement(\".ag-floating-bottom-full-width-container\"),this.eAllCellContainers=[this.ePinnedLeftColsContainer,this.ePinnedRightColsContainer,this.eBodyContainer,this.eFloatingTop,this.eFloatingBottom,this.eFullWidthCellContainer],this.rowContainerComponents={body:new P.RowContainerComponent({eContainer:this.eBodyContainer,eViewport:this.eBodyViewport,useDocumentFragment:!0}),fullWidth:new P.RowContainerComponent({eContainer:this.eFullWidthCellContainer,hideWhenNoChildren:!0,eViewport:this.eFullWidthCellViewport}),pinnedLeft:new P.RowContainerComponent({eContainer:this.ePinnedLeftColsContainer,eViewport:this.ePinnedLeftColsViewport,useDocumentFragment:!0}),pinnedRight:new P.RowContainerComponent({eContainer:this.ePinnedRightColsContainer,eViewport:this.ePinnedRightColsViewport,useDocumentFragment:!0}),floatingTop:new P.RowContainerComponent({eContainer:this.eFloatingTopContainer}),floatingTopPinnedLeft:new P.RowContainerComponent({eContainer:this.ePinnedLeftFloatingTop}),floatingTopPinnedRight:new P.RowContainerComponent({eContainer:this.ePinnedRightFloatingTop}),floatingTopFullWidth:new P.RowContainerComponent({eContainer:this.eFloatingTopFullWidthCellContainer,hideWhenNoChildren:!0}),floatingBottom:new P.RowContainerComponent({eContainer:this.eFloatingBottomContainer}),floatingBottomPinnedLeft:new P.RowContainerComponent({eContainer:this.ePinnedLeftFloatingBottom}),floatingBottomPinnedRight:new P.RowContainerComponent({eContainer:this.ePinnedRightFloatingBottom}),floatingBottomFullWith:new P.RowContainerComponent({eContainer:this.eFloatingBottomFullWidthCellContainer,hideWhenNoChildren:!0})},this.addMouseWheelEventListeners()},t.prototype.getRowContainers=function(){return this.rowContainerComponents},t.prototype.addMouseWheelEventListeners=function(){this.addDestroyableEventListener(this.eBodyViewport,\"mousewheel\",this.centerMouseWheelListener.bind(this)),this.addDestroyableEventListener(this.eBodyViewport,\"DOMMouseScroll\",this.centerMouseWheelListener.bind(this)),this.enableRtl?(this.addDestroyableEventListener(this.ePinnedRightColsViewport,\"mousewheel\",this.genericMouseWheelListener.bind(this)),this.addDestroyableEventListener(this.ePinnedRightColsViewport,\"DOMMouseScroll\",this.genericMouseWheelListener.bind(this))):(this.addDestroyableEventListener(this.ePinnedLeftColsViewport,\"mousewheel\",this.genericMouseWheelListener.bind(this)),this.addDestroyableEventListener(this.ePinnedLeftColsViewport,\"DOMMouseScroll\",this.genericMouseWheelListener.bind(this)))},t.prototype.getHeaderViewport=function(){return this.eHeaderViewport},t.prototype.centerMouseWheelListener=function(e){if(!this.isBodyVerticalScrollActive()){var t=this.enableRtl?this.ePinnedLeftColsViewport:this.ePinnedRightColsViewport;return this.generalMouseWheelListener(e,t)}},t.prototype.genericMouseWheelListener=function(e){var t;return t=this.isBodyVerticalScrollActive()?this.eBodyViewport:this.enableRtl?this.ePinnedLeftColsViewport:this.ePinnedRightColsViewport,this.generalMouseWheelListener(e,t)},t.prototype.generalMouseWheelListener=function(e,t){var o=p.Utils.normalizeWheel(e);if(Math.abs(o.pixelX)>Math.abs(o.pixelY)){var n=this.eBodyViewport.scrollLeft+o.pixelX;this.eBodyViewport.scrollLeft=n}else{var i=t.scrollTop+o.pixelY;t.scrollTop=i}return this.gridOptionsWrapper.isSuppressPreventDefaultOnMouseWheel()||e.preventDefault(),!1},t.prototype.onDisplayedColumnsChanged=function(){this.setPinnedContainersVisible(),this.setBodyAndHeaderHeights(),this.setLeftAndRightBounds()},t.prototype.onDisplayedColumnsWidthChanged=function(){this.setWidthsOfContainers(),this.setLeftAndRightBounds(),this.enableRtl&&this.horizontallyScrollHeaderCenterAndFloatingCenter()},t.prototype.onScrollVisibilityChanged=function(){this.setWidthsOfContainers()},t.prototype.setWidthsOfContainers=function(){var e=this.columnController.getBodyContainerWidth()+\"px\";this.eBodyContainer.style.width=e,this.forPrint||(this.eFloatingBottomContainer.style.width=e,this.eFloatingTopContainer.style.width=e,this.setPinnedLeftWidth(),this.setPinnedRightWidth())},t.prototype.setPinnedLeftWidth=function(){var e=this.scrollVisibleService.getPinnedLeftWidth()+\"px\",t=this.scrollVisibleService.getPinnedLeftWithScrollWidth()+\"px\";this.ePinnedLeftColsViewport.style.width=t,this.eBodyViewportWrapper.style.marginLeft=t,this.ePinnedLeftFloatingBottom.style.width=t,this.ePinnedLeftFloatingTop.style.width=t,this.ePinnedLeftColsContainer.style.width=e},t.prototype.setPinnedRightWidth=function(){var e=this.scrollVisibleService.getPinnedRightWidth()+\"px\",t=this.scrollVisibleService.getPinnedRightWithScrollWidth()+\"px\";this.ePinnedRightColsViewport.style.width=t,this.eBodyViewportWrapper.style.marginRight=t,this.ePinnedRightFloatingBottom.style.width=t,this.ePinnedRightFloatingTop.style.width=t,this.ePinnedRightColsContainer.style.width=e},t.prototype.setPinnedContainersVisible=function(){if(!this.forPrint){var e=!1,t=this.columnController.isPinningLeft();t!==this.pinningLeft&&(this.pinningLeft=t,this.ePinnedLeftHeader.style.display=t?\"inline-block\":\"none\",this.ePinnedLeftColsViewport.style.display=t?\"inline\":\"none\",e=!0);var o=this.columnController.isPinningRight();if(o!==this.pinningRight&&(this.pinningRight=o,this.ePinnedRightHeader.style.display=o?\"inline-block\":\"none\",this.ePinnedRightColsViewport.style.display=o?\"inline\":\"none\",e=!0),e){var n=this.isBodyVerticalScrollActive();this.eBodyViewport.style.overflowY=n?\"auto\":\"hidden\";var i=Math.max(this.eBodyViewport.scrollTop,this.ePinnedLeftColsViewport.scrollTop,this.ePinnedRightColsViewport.scrollTop);n?this.eBodyContainer.style.top=\"0px\":this.eBodyViewport.scrollTop=0;this.getPrimaryScrollViewport().scrollTop=i,this.fakeVerticalScroll(i)}}},t.prototype.setBodyAndHeaderHeights=function(){if(!this.forPrint){var e=this.layout.getCentreHeight();if(e){var t=this.gridOptionsWrapper.getHeaderHeight(),o=this.columnController.getHeaderRowCount(),n=t*o;this.gridOptionsWrapper.isFloatingFilter()&&!this.columnController.isPivotMode()&&(n+=20),this.eHeader.style.height=n+\"px\";var i=this.floatingRowModel.getFloatingTopTotalHeight(),r=n+i,s=this.floatingRowModel.getFloatingBottomTotalHeight(),a=e-s,l=e-n-s-i;this.eBody.style.top=r+\"px\",this.eBody.style.height=l+\"px\",this.eFloatingTop.style.top=n+\"px\",this.eFloatingTop.style.height=i+\"px\",this.eFloatingBottom.style.height=s+\"px\",this.eFloatingBottom.style.top=a+\"px\",this.ePinnedLeftColsViewport.style.height=l+\"px\",this.ePinnedRightColsViewport.style.height=l+\"px\",this.bodyHeight!==l&&(this.bodyHeight=l,this.eventService.dispatchEvent(C.Events.EVENT_BODY_HEIGHT_CHANGED))}}},t.prototype.getBodyHeight=function(){return this.bodyHeight},t.prototype.setHorizontalScrollPosition=function(e){this.eBodyViewport.scrollLeft=e},t.prototype.scrollHorizontally=function(e){var t=this.eBodyViewport.scrollLeft;return this.setHorizontalScrollPosition(t+e),this.eBodyViewport.scrollLeft-t},t.prototype.addScrollListener=function(){var e=this;if(!this.forPrint){var t=function(t){return e.useScrollLag?e.debounce.bind(e,t):t},o=t(this.onBodyScroll.bind(this));this.addDestroyableEventListener(this.eBodyViewport,\"scroll\",o);var n=this.onVerticalScroll.bind(this,this.ePinnedLeftColsViewport),i=this.onVerticalScroll.bind(this,this.ePinnedRightColsViewport);if(this.enableRtl){var r=t(n);this.addDestroyableEventListener(this.ePinnedLeftColsViewport,\"scroll\",r);var s=function(){return e.ePinnedRightColsViewport.scrollTop=0};this.addDestroyableEventListener(this.ePinnedRightColsViewport,\"scroll\",s)}else{var r=t(i);this.addDestroyableEventListener(this.ePinnedRightColsViewport,\"scroll\",r);var a=function(){return e.ePinnedLeftColsViewport.scrollTop=0};this.addDestroyableEventListener(this.ePinnedLeftColsViewport,\"scroll\",a)}var l=function(){e.getPrimaryScrollViewport()!==e.eBodyViewport&&(e.eBodyViewport.scrollTop=0)};this.addDestroyableEventListener(this.eBodyViewport,\"scroll\",l),this.addIEPinFix(i,n)}},t.prototype.onBodyScroll=function(){this.onBodyHorizontalScroll(),this.onBodyVerticalScroll()},t.prototype.onBodyHorizontalScroll=function(){var e=this.eBodyViewport.scrollLeft;e!==this.lastLeftPosition&&(this.eventService.dispatchEvent(C.Events.EVENT_BODY_SCROLL,{direction:\"horizontal\"}),this.lastLeftPosition=e,this.horizontallyScrollHeaderCenterAndFloatingCenter(),this.masterSlaveService.fireHorizontalScrollEvent(e),this.setLeftAndRightBounds())},t.prototype.onBodyVerticalScroll=function(){this.isBodyVerticalScrollActive()&&this.onVerticalScroll(this.eBodyViewport)},t.prototype.onVerticalScroll=function(e){var t=e.scrollTop;t!==this.lastTopPosition&&(this.eventService.dispatchEvent(C.Events.EVENT_BODY_SCROLL,{direction:\"vertical\"}),this.lastTopPosition=t,this.fakeVerticalScroll(t),this.rowRenderer.drawVirtualRowsWithLock())},t.prototype.isBodyVerticalScrollActive=function(){var e=this.columnController.isPinningRight(),t=this.columnController.isPinningLeft();return this.enableRtl?!t:!e},t.prototype.addIEPinFix=function(e,t){var o=this,n=function(){o.columnController.isPinningRight()&&setTimeout(function(){o.enableRtl?t():e()},0)};this.addDestroyableEventListener(this.eventService,C.Events.EVENT_MODEL_UPDATED,n)},t.prototype.setLeftAndRightBounds=function(){if(!this.gridOptionsWrapper.isForPrint()){var e=this.eBodyViewport.clientWidth,t=this.getBodyViewportScrollLeft();this.columnController.setVirtualViewportPosition(e,t)}},t.prototype.isUseScrollLag=function(){return!this.gridOptionsWrapper.isSuppressScrollLag()&&(this.gridOptionsWrapper.getIsScrollLag()?this.gridOptionsWrapper.getIsScrollLag()():p.Utils.isBrowserIE()||p.Utils.isBrowserSafari())},t.prototype.debounce=function(e){var t=this;if(this.requestAnimationFrameExists&&p.Utils.isBrowserSafari())this.scrollLagTicking||(this.scrollLagTicking=!0,requestAnimationFrame(function(){e(),t.scrollLagTicking=!1}));else{this.scrollLagCounter++;var o=this.scrollLagCounter;setTimeout(function(){t.scrollLagCounter===o&&e()},50)}},t.prototype.getBodyViewportScrollLeft=function(){return this.forPrint?0:p.Utils.getScrollLeft(this.eBodyViewport,this.enableRtl)},t.prototype.setBodyViewportScrollLeft=function(e){this.forPrint||p.Utils.setScrollLeft(this.eBodyViewport,e,this.enableRtl)},t.prototype.horizontallyScrollHeaderCenterAndFloatingCenter=function(){var e=this.getBodyViewportScrollLeft(),t=this.enableRtl?e:-e;this.eHeaderContainer.style.left=t+\"px\",this.eFloatingBottomContainer.style.left=t+\"px\",this.eFloatingTopContainer.style.left=t+\"px\"},t.prototype.fakeVerticalScroll=function(e){if(this.enableRtl){this.columnController.isPinningLeft()&&(this.eBodyContainer.style.top=-e+\"px\"),this.ePinnedRightColsContainer.style.top=-e+\"px\"}else{this.columnController.isPinningRight()&&(this.eBodyContainer.style.top=-e+\"px\"),this.ePinnedLeftColsContainer.style.top=-e+\"px\"}this.eFullWidthCellContainer.style.top=-e+\"px\"},t.prototype.addScrollEventListener=function(e){this.eBodyViewport.addEventListener(\"scroll\",e)},t.prototype.removeScrollEventListener=function(e){this.eBodyViewport.removeEventListener(\"scroll\",e)},t}(x.BeanStub);s([v.Autowired(\"masterSlaveService\"),a(\"design:type\",d.MasterSlaveService)],M.prototype,\"masterSlaveService\",void 0),s([v.Autowired(\"gridOptionsWrapper\"),a(\"design:type\",c.GridOptionsWrapper)],M.prototype,\"gridOptionsWrapper\",void 0),s([v.Autowired(\"columnController\"),a(\"design:type\",u.ColumnController)],M.prototype,\"columnController\",void 0),s([v.Autowired(\"rowRenderer\"),a(\"design:type\",h.RowRenderer)],M.prototype,\"rowRenderer\",void 0),s([v.Autowired(\"floatingRowModel\"),a(\"design:type\",g.FloatingRowModel)],M.prototype,\"floatingRowModel\",void 0),s([v.Autowired(\"eventService\"),a(\"design:type\",m.EventService)],M.prototype,\"eventService\",void 0),s([v.Autowired(\"paginationProxy\"),a(\"design:type\",D.PaginationProxy)],M.prototype,\"paginationProxy\",void 0),s([v.Optional(\"rangeController\"),a(\"design:type\",Object)],M.prototype,\"rangeController\",void 0),s([v.Autowired(\"dragService\"),a(\"design:type\",E.DragService)],M.prototype,\"dragService\",void 0),s([v.Autowired(\"selectionController\"),a(\"design:type\",b.SelectionController)],M.prototype,\"selectionController\",void 0),s([v.Optional(\"clipboardService\"),a(\"design:type\",Object)],M.prototype,\"clipboardService\",void 0),s([v.Autowired(\"csvCreator\"),a(\"design:type\",R.CsvCreator)],M.prototype,\"csvCreator\",void 0),s([v.Autowired(\"mouseEventService\"),a(\"design:type\",A.MouseEventService)],M.prototype,\"mouseEventService\",void 0),s([v.Autowired(\"focusedCellController\"),a(\"design:type\",S.FocusedCellController)],M.prototype,\"focusedCellController\",void 0),s([v.Autowired(\"$scope\"),a(\"design:type\",Object)],M.prototype,\"$scope\",void 0),s([v.Autowired(\"scrollVisibleService\"),a(\"design:type\",O.ScrollVisibleService)],M.prototype,\"scrollVisibleService\",void 0),s([v.Optional(\"contextMenuFactory\"),a(\"design:type\",Object)],M.prototype,\"contextMenuFactory\",void 0),s([v.Autowired(\"frameworkFactory\"),a(\"design:type\",Object)],M.prototype,\"frameworkFactory\",void 0),s([l(0,v.Qualifier(\"loggerFactory\")),a(\"design:type\",Function),a(\"design:paramtypes\",[y.LoggerFactory]),a(\"design:returntype\",void 0)],M.prototype,\"agWire\",null),s([v.PreDestroy,a(\"design:type\",Function),a(\"design:paramtypes\",[]),a(\"design:returntype\",void 0)],M.prototype,\"destroy\",null),s([v.PostConstruct,a(\"design:type\",Function),a(\"design:paramtypes\",[]),a(\"design:returntype\",void 0)],M.prototype,\"init\",null),M=s([v.Bean(\"gridPanel\")],M),t.GridPanel=M;var I;!function(e){e[e.HORIZONTAL=0]=\"HORIZONTAL\",e[e.VERTICAL=1]=\"VERTICAL\",e[e.DIAGONAL=2]=\"DIAGONAL\"}(I||(I={}))},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},r=this&&this.__param||function(e,t){return function(o,n){t(o,n,e)}};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(5),a=o(16),l=o(27),p=o(6),d=o(7),c=o(12),u=o(8),h=o(8),g=o(8),f=o(8),y=function(){function e(){this.consuming=!1}return e.prototype.setBeans=function(e){this.logger=e.create(\"MasterSlaveService\")},e.prototype.init=function(){this.eventService.addEventListener(c.Events.EVENT_COLUMN_MOVED,this.fireColumnEvent.bind(this)),this.eventService.addEventListener(c.Events.EVENT_COLUMN_VISIBLE,this.fireColumnEvent.bind(this)),this.eventService.addEventListener(c.Events.EVENT_COLUMN_PINNED,this.fireColumnEvent.bind(this)),this.eventService.addEventListener(c.Events.EVENT_COLUMN_GROUP_OPENED,this.fireColumnEvent.bind(this)),this.eventService.addEventListener(c.Events.EVENT_COLUMN_RESIZED,this.fireColumnEvent.bind(this))},e.prototype.fireEvent=function(e){if(!this.consuming){var t=this.gridOptionsWrapper.getSlaveGrids();t&&t.forEach(function(t){if(t.api){var o=t.api.__getMasterSlaveService();e(o)}})}},e.prototype.onEvent=function(e){this.consuming=!0,e(),this.consuming=!1},e.prototype.fireColumnEvent=function(e){this.fireEvent(function(t){t.onColumnEvent(e)})},e.prototype.fireHorizontalScrollEvent=function(e){this.fireEvent(function(t){t.onScrollEvent(e)})},e.prototype.onScrollEvent=function(e){var t=this;this.onEvent(function(){t.gridPanel.setHorizontalScrollPosition(e)})},e.prototype.getMasterColumns=function(e){var t=[];return e.getColumn()&&t.push(e.getColumn()),e.getColumns()&&e.getColumns().forEach(function(e){t.push(e)}),t},e.prototype.getColumnIds=function(e){var t=[];return e.getColumn()?t.push(e.getColumn().getColId()):e.getColumns()&&e.getColumns().forEach(function(e){t.push(e.getColId())}),t},e.prototype.onColumnEvent=function(e){var t=this;this.onEvent(function(){var o,n=e.getColumn();if(n&&(o=t.columnController.getPrimaryColumn(n.getColId())),!n||o){var i,r=e.getColumnGroup();if(r){var s=r.getGroupId(),a=r.getInstanceId();i=t.columnController.getColumnGroup(s,a)}if(!r||i){var l=t.getColumnIds(e),p=t.getMasterColumns(e);switch(e.getType()){case c.Events.EVENT_COLUMN_PIVOT_CHANGED:console.warn(\"ag-Grid: pivoting is not supported with Master / Slave grids. You can only use one of these features at a time in a grid.\");break;case c.Events.EVENT_COLUMN_MOVED:t.logger.log(\"onColumnEvent-> processing \"+e+\" toIndex = \"+e.getToIndex()),t.columnController.moveColumns(l,e.getToIndex());break;case c.Events.EVENT_COLUMN_VISIBLE:t.logger.log(\"onColumnEvent-> processing \"+e+\" visible = \"+e.isVisible()),t.columnController.setColumnsVisible(l,e.isVisible());break;case c.Events.EVENT_COLUMN_PINNED:t.logger.log(\"onColumnEvent-> processing \"+e+\" pinned = \"+e.getPinned()),t.columnController.setColumnsPinned(l,e.getPinned());break;case c.Events.EVENT_COLUMN_GROUP_OPENED:t.logger.log(\"onColumnEvent-> processing \"+e+\" expanded = \"+r.isExpanded()),t.columnController.setColumnGroupOpened(i,r.isExpanded());break;case c.Events.EVENT_COLUMN_RESIZED:p.forEach(function(o){t.logger.log(\"onColumnEvent-> processing \"+e+\" actualWidth = \"+o.getActualWidth()),t.columnController.setColumnWidth(o.getColId(),o.getActualWidth(),e.isFinished())})}}}})},e}();n([g.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",s.GridOptionsWrapper)],y.prototype,\"gridOptionsWrapper\",void 0),n([g.Autowired(\"columnController\"),i(\"design:type\",a.ColumnController)],y.prototype,\"columnController\",void 0),n([g.Autowired(\"gridPanel\"),i(\"design:type\",l.GridPanel)],y.prototype,\"gridPanel\",void 0),n([g.Autowired(\"eventService\"),i(\"design:type\",p.EventService)],y.prototype,\"eventService\",void 0),n([r(0,h.Qualifier(\"loggerFactory\")),i(\"design:type\",Function),i(\"design:paramtypes\",[d.LoggerFactory]),i(\"design:returntype\",void 0)],y.prototype,\"setBeans\",null),n([f.PostConstruct,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],y.prototype,\"init\",null),y=n([u.Bean(\"masterSlaveService\")],y),t.MasterSlaveService=y},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(5),s=o(30),a=o(8),l=o(6),p=o(8),d=o(12),c=o(8),u=o(10),h=o(9),g=function(){function e(){}return e.prototype.init=function(){this.setFloatingTopRowData(this.gridOptionsWrapper.getFloatingTopRowData()),this.setFloatingBottomRowData(this.gridOptionsWrapper.getFloatingBottomRowData())},e.prototype.isEmpty=function(e){var t=e===u.Constants.FLOATING_TOP?this.floatingTopRows:this.floatingBottomRows;return h.Utils.missingOrEmpty(t)},e.prototype.isRowsToRender=function(e){return!this.isEmpty(e)},e.prototype.getRowAtPixel=function(e,t){var o=t===u.Constants.FLOATING_TOP?this.floatingTopRows:this.floatingBottomRows;if(h.Utils.missingOrEmpty(o))return 0;for(var n=0;n<o.length;n++){var i=o[n];if(i.rowTop+i.rowHeight-1>=e)return n}return o.length-1},e.prototype.setFloatingTopRowData=function(e){this.floatingTopRows=this.createNodesFromData(e,!0),this.eventService.dispatchEvent(d.Events.EVENT_FLOATING_ROW_DATA_CHANGED)},e.prototype.setFloatingBottomRowData=function(e){this.floatingBottomRows=this.createNodesFromData(e,!1),this.eventService.dispatchEvent(d.Events.EVENT_FLOATING_ROW_DATA_CHANGED)},e.prototype.createNodesFromData=function(e,t){var o=this,n=[];if(e){var i=0;e.forEach(function(e,r){var a=new s.RowNode;o.context.wireBean(a),a.data=e,a.floating=t?u.Constants.FLOATING_TOP:u.Constants.FLOATING_BOTTOM,a.setRowTop(i),a.setRowHeight(o.gridOptionsWrapper.getRowHeightForNode(a)),a.setRowIndex(r),i+=a.rowHeight,n.push(a)})}return n},e.prototype.getFloatingTopRowData=function(){return this.floatingTopRows},e.prototype.getFloatingBottomRowData=function(){return this.floatingBottomRows},e.prototype.getFloatingTopTotalHeight=function(){return this.getTotalHeight(this.floatingTopRows)},e.prototype.getFloatingTopRowCount=function(){return this.floatingTopRows?this.floatingTopRows.length:0},e.prototype.getFloatingBottomRowCount=function(){return this.floatingBottomRows?this.floatingBottomRows.length:0},e.prototype.getFloatingTopRow=function(e){return this.floatingTopRows[e]},e.prototype.getFloatingBottomRow=function(e){return this.floatingBottomRows[e]},e.prototype.forEachFloatingTopRow=function(e){h.Utils.missingOrEmpty(this.floatingTopRows)||this.floatingTopRows.forEach(e)},e.prototype.forEachFloatingBottomRow=function(e){h.Utils.missingOrEmpty(this.floatingBottomRows)||this.floatingBottomRows.forEach(e)},e.prototype.getFloatingBottomTotalHeight=function(){return this.getTotalHeight(this.floatingBottomRows)},e.prototype.getTotalHeight=function(e){if(e&&0!==e.length){var t=e[e.length-1];return t.rowTop+t.rowHeight}return 0},e}();n([p.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",r.GridOptionsWrapper)],g.prototype,\"gridOptionsWrapper\",void 0),n([p.Autowired(\"eventService\"),i(\"design:type\",l.EventService)],g.prototype,\"eventService\",void 0),n([p.Autowired(\"context\"),i(\"design:type\",a.Context)],g.prototype,\"context\",void 0),n([c.PostConstruct,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],g.prototype,\"init\",null),g=n([a.Bean(\"floatingRowModel\")],g),t.FloatingRowModel=g},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(6),s=o(12),a=o(5),l=o(31),p=o(32),d=o(16),c=o(8),u=o(10),h=o(9),g=function(){function e(){this.childrenMapped={},this.selected=!1}return e.prototype.setData=function(t){var o=this.data;this.data=t;var n={oldData:o,newData:t};this.dispatchLocalEvent(e.EVENT_DATA_CHANGED,n)},e.prototype.createDaemonNode=function(){var t=new e;return this.context.wireBean(t),t.id=this.id,t.data=this.data,t.daemon=!0,t.selected=this.selected,t.level=this.level,t},e.prototype.setDataAndId=function(t,o){var n=h.Utils.exists(this.id)?this.createDaemonNode():null,i=this.data;this.data=t,this.setId(o),this.selectionController.syncInRowNode(this,n);var r={oldData:i,newData:t};this.dispatchLocalEvent(e.EVENT_DATA_CHANGED,r)},e.prototype.setId=function(e){var t=this.gridOptionsWrapper.getRowNodeIdFunc();t?this.data?this.id=t(this.data):this.id=void 0:this.id=e},e.prototype.setLoading=function(t){this.loading!==t&&(this.loading=t,this.eventService&&this.eventService.dispatchEvent(e.EVENT_LOADING_CHANGED))},e.prototype.clearRowTop=function(){this.oldRowTop=this.rowTop,this.setRowTop(null)},e.prototype.setRowTop=function(t){this.rowTop!==t&&(this.rowTop=t,this.eventService&&this.eventService.dispatchEvent(e.EVENT_TOP_CHANGED))},e.prototype.setRowHeight=function(t){this.rowHeight=t,this.eventService&&this.eventService.dispatchEvent(e.EVENT_HEIGHT_CHANGED)},e.prototype.setRowIndex=function(t){this.rowIndex=t,this.eventService&&this.eventService.dispatchEvent(e.EVENT_ROW_INDEX_CHANGED)},e.prototype.setExpanded=function(t){if(this.expanded!==t){this.expanded=t,this.eventService&&this.eventService.dispatchEvent(e.EVENT_EXPANDED_CHANGED);var o={node:this};this.mainEventService.dispatchEvent(s.Events.EVENT_ROW_GROUP_OPENED,o)}},e.prototype.dispatchLocalEvent=function(e,t){this.eventService&&this.eventService.dispatchEvent(e,t)},e.prototype.setDataValue=function(t,o){var n=this.columnController.getGridColumn(t);this.valueService.setValue(this,n,o);var i={column:n,newValue:o};this.dispatchLocalEvent(e.EVENT_CELL_CHANGED,i)},e.prototype.resetQuickFilterAggregateText=function(){this.quickFilterAggregateText=null},e.prototype.isExpandable=function(){return this.group||this.canFlower},e.prototype.isSelected=function(){return this.footer?this.sibling.isSelected():this.selected},e.prototype.depthFirstSearch=function(e){this.childrenAfterGroup&&this.childrenAfterGroup.forEach(function(t){return t.depthFirstSearch(e)}),e(this)},e.prototype.calculateSelectedFromChildren=function(){var e,t=!1,o=!1,n=!1;if(this.childrenAfterGroup)for(var i=0;i<this.childrenAfterGroup.length;i++){var r=this.childrenAfterGroup[i].isSelected();switch(r){case!0:t=!0;break;case!1:o=!0;break;default:n=!0}}e=n?void 0:!(!t||o)||!(!t&&o)&&void 0,this.selectThisNode(e)},e.prototype.calculateSelectedFromChildrenBubbleUp=function(){this.calculateSelectedFromChildren(),this.parent&&this.parent.calculateSelectedFromChildrenBubbleUp()},e.prototype.setSelectedInitialValue=function(e){this.selected=e},e.prototype.setSelected=function(e,t,o){void 0===t&&(t=!1),void 0===o&&(o=!1),this.setSelectedParams({newValue:e,clearSelection:t,tailingNodeInSequence:o,rangeSelect:!1})},e.prototype.isFloating=function(){return this.floating===u.Constants.FLOATING_TOP||this.floating===u.Constants.FLOATING_BOTTOM},e.prototype.setSelectedParams=function(e){var t=this.gridOptionsWrapper.isGroupSelectsChildren(),o=!0===e.newValue,n=!0===e.clearSelection,i=!0===e.tailingNodeInSequence,r=!0===e.rangeSelect,a=t&&!0===e.groupSelectsFiltered;if(void 0===this.id)return console.warn(\"ag-Grid: cannot select node until id for node is known\"),0;if(this.floating)return console.log(\"ag-Grid: cannot select floating rows\"),0;if(this.footer){return this.sibling.setSelectedParams(e)}if(r){var l=this.rowModel.getType()===u.Constants.ROW_MODEL_TYPE_NORMAL,p=this.selectionController.getLastSelectedNode()!==this,d=this.gridOptionsWrapper.isRowSelectionMulti();if(l&&p&&d)return this.doRowRangeSelection()}var c=0;a&&this.group||this.selectThisNode(o)&&c++;return t&&this.group&&(c+=this.selectChildNodes(o,a)),!i&&(!o||!n&&this.gridOptionsWrapper.isRowSelectionMulti()||(c+=this.selectionController.clearOtherNodes(this)),c>0&&(a?this.calculatedSelectedForAllGroupNodes():t&&this.parent&&this.parent.calculateSelectedFromChildrenBubbleUp(),this.mainEventService.dispatchEvent(s.Events.EVENT_SELECTION_CHANGED)),o&&this.selectionController.setLastSelectedNode(this)),c},e.prototype.doRowRangeSelection=function(){var e,t=this,o=this.selectionController.getLastSelectedNode(),n=!o,i=!1,r=this.gridOptionsWrapper.isGroupSelectsChildren(),a=0;return this.rowModel.forEachNodeAfterFilterAndSort(function(s){var l=n&&!i;if(n||s!==o&&s!==t||(n=!0),!(s.group&&r)){var p=n&&!i,d=s.isParentOfNode(e);s.selectThisNode(p||d)&&a++}l&&(s!==o&&s!==t||(i=!0,e=s===o?o:t))}),r&&this.calculatedSelectedForAllGroupNodes(),this.mainEventService.dispatchEvent(s.Events.EVENT_SELECTION_CHANGED),a},e.prototype.isParentOfNode=function(e){for(var t=this.parent;t;){if(t===e)return!0;t=t.parent}return!1},e.prototype.calculatedSelectedForAllGroupNodes=function(){this.rowModel.getTopLevelNodes().forEach(function(e){e.group&&(e.depthFirstSearch(function(e){e.group&&e.calculateSelectedFromChildren()}),e.calculateSelectedFromChildren())})},e.prototype.selectThisNode=function(t){if(this.selected===t)return!1;this.selected=t,this.eventService&&this.dispatchLocalEvent(e.EVENT_ROW_SELECTED);var o={node:this};return this.mainEventService.dispatchEvent(s.Events.EVENT_ROW_SELECTED,o),!0},e.prototype.selectChildNodes=function(e,t){var o=t?this.childrenAfterFilter:this.childrenAfterGroup,n=0;if(!h.Utils.missing(o)){for(var i=0;i<o.length;i++)n+=o[i].setSelectedParams({newValue:e,clearSelection:!1,tailingNodeInSequence:!0});return n}},e.prototype.addEventListener=function(e,t){this.eventService||(this.eventService=new r.EventService),this.eventService.addEventListener(e,t)},e.prototype.removeEventListener=function(e,t){this.eventService.removeEventListener(e,t)},e.prototype.onMouseEnter=function(){this.dispatchLocalEvent(e.EVENT_MOUSE_ENTER)},e.prototype.onMouseLeave=function(){this.dispatchLocalEvent(e.EVENT_MOUSE_LEAVE)},e}();g.EVENT_ROW_SELECTED=\"rowSelected\",g.EVENT_DATA_CHANGED=\"dataChanged\",g.EVENT_CELL_CHANGED=\"cellChanged\",g.EVENT_MOUSE_ENTER=\"mouseEnter\",g.EVENT_MOUSE_LEAVE=\"mouseLeave\",g.EVENT_HEIGHT_CHANGED=\"heightChanged\",g.EVENT_TOP_CHANGED=\"topChanged\",g.EVENT_ROW_INDEX_CHANGED=\"rowIndexChanged\",g.EVENT_EXPANDED_CHANGED=\"expandedChanged\",g.EVENT_LOADING_CHANGED=\"loadingChanged\",n([c.Autowired(\"eventService\"),i(\"design:type\",r.EventService)],g.prototype,\"mainEventService\",void 0),n([c.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",a.GridOptionsWrapper)],g.prototype,\"gridOptionsWrapper\",void 0),n([c.Autowired(\"selectionController\"),i(\"design:type\",l.SelectionController)],g.prototype,\"selectionController\",void 0),n([c.Autowired(\"columnController\"),i(\"design:type\",d.ColumnController)],g.prototype,\"columnController\",void 0),n([c.Autowired(\"valueService\"),i(\"design:type\",p.ValueService)],g.prototype,\"valueService\",void 0),n([c.Autowired(\"rowModel\"),i(\"design:type\",Object)],g.prototype,\"rowModel\",void 0),n([c.Autowired(\"context\"),i(\"design:type\",c.Context)],g.prototype,\"context\",void 0),t.RowNode=g},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},r=this&&this.__param||function(e,t){return function(o,n){t(o,n,e)}};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(9),a=o(8),l=o(8),p=o(7),d=o(6),c=o(12),u=o(8),h=o(5),g=o(8),f=o(10),y=function(){function e(){}return e.prototype.setBeans=function(e){this.logger=e.create(\"SelectionController\"),this.reset(),this.gridOptionsWrapper.isRowModelDefault()?this.eventService.addEventListener(c.Events.EVENT_ROW_DATA_CHANGED,this.reset.bind(this)):this.logger.log(\"dont know what to do here\")},e.prototype.init=function(){this.groupSelectsChildren=this.gridOptionsWrapper.isGroupSelectsChildren(),this.eventService.addEventListener(c.Events.EVENT_ROW_SELECTED,this.onRowSelected.bind(this))},e.prototype.setLastSelectedNode=function(e){this.lastSelectedNode=e},e.prototype.getLastSelectedNode=function(){return this.lastSelectedNode},e.prototype.getSelectedNodes=function(){var e=[];return s.Utils.iterateObject(this.selectedNodes,function(t,o){o&&e.push(o)}),e},e.prototype.getSelectedRows=function(){var e=[];return s.Utils.iterateObject(this.selectedNodes,function(t,o){o&&e.push(o.data)}),e},e.prototype.removeGroupsFromSelection=function(){var e=this;s.Utils.iterateObject(this.selectedNodes,function(t,o){o&&o.group&&(e.selectedNodes[o.id]=void 0)})},e.prototype.updateGroupsFromChildrenSelections=function(){this.rowModel.getType()!==f.Constants.ROW_MODEL_TYPE_NORMAL&&console.warn(\"updateGroupsFromChildrenSelections not available when rowModel is not normal\"),this.rowModel.getTopLevelNodes().forEach(function(e){e.depthFirstSearch(function(e){e.group&&e.calculateSelectedFromChildren()})})},e.prototype.getNodeForIdIfSelected=function(e){return this.selectedNodes[e]},e.prototype.clearOtherNodes=function(e){var t=this,o={},n=0;return s.Utils.iterateObject(this.selectedNodes,function(i,r){if(r&&r.id!==e.id){var s=t.selectedNodes[r.id];n+=s.setSelectedParams({newValue:!1,clearSelection:!1,tailingNodeInSequence:!0}),t.groupSelectsChildren&&r.parent&&(o[r.parent.id]=r.parent)}}),s.Utils.iterateObject(o,function(e,t){t.calculateSelectedFromChildren()}),n},e.prototype.onRowSelected=function(e){var t=e.node;this.groupSelectsChildren&&t.group||(t.isSelected()?this.selectedNodes[t.id]=t:this.selectedNodes[t.id]=void 0)},e.prototype.syncInRowNode=function(e,t){this.syncInOldRowNode(e,t),this.syncInNewRowNode(e)},e.prototype.syncInOldRowNode=function(e,t){s.Utils.exists(t)&&e.id!==t.id&&(s.Utils.exists(this.selectedNodes[t.id])&&(this.selectedNodes[t.id]=t))},e.prototype.syncInNewRowNode=function(e){s.Utils.exists(this.selectedNodes[e.id])?(e.setSelectedInitialValue(!0),this.selectedNodes[e.id]=e):e.setSelectedInitialValue(!1)},e.prototype.reset=function(){this.logger.log(\"reset\"),this.selectedNodes={},this.lastSelectedNode=null},e.prototype.getBestCostNodeSelection=function(){function e(t){for(var o=0,i=t.length;o<i;o++){var r=t[o];r.isSelected()?n.push(r):r.group&&r.children&&e(r.children)}}this.rowModel.getType()!==f.Constants.ROW_MODEL_TYPE_NORMAL&&console.warn(\"getBestCostNodeSelection is only avilable when using normal row model\");var t=this.rowModel,o=t.getTopLevelNodes();if(null===o)return void console.warn(\"selectAll not available doing rowModel=virtual\");var n=[];return e(o),n},e.prototype.setRowModel=function(e){this.rowModel=e},e.prototype.isEmpty=function(){var e=0;return s.Utils.iterateObject(this.selectedNodes,function(t,o){o&&e++}),0===e},e.prototype.deselectAllRowNodes=function(e){void 0===e&&(e=!1);var t=this.rowModel,o=function(e){return e.selectThisNode(!1)};e?t.forEachNodeAfterFilter(o):t.forEachNode(o),this.rowModel.getType()===f.Constants.ROW_MODEL_TYPE_NORMAL&&this.groupSelectsChildren&&this.updateGroupsFromChildrenSelections(),this.eventService.dispatchEvent(c.Events.EVENT_SELECTION_CHANGED)},e.prototype.selectAllRowNodes=function(e){if(void 0===e&&(e=!1),this.rowModel.getType()!==f.Constants.ROW_MODEL_TYPE_NORMAL)throw\"selectAll only available with normal row model, ie not \"+this.rowModel.getType();var t=this.rowModel,o=function(e){return e.selectThisNode(!0)};e?t.forEachNodeAfterFilter(o):t.forEachNode(o),this.rowModel.getType()===f.Constants.ROW_MODEL_TYPE_NORMAL&&this.groupSelectsChildren&&this.updateGroupsFromChildrenSelections(),this.eventService.dispatchEvent(c.Events.EVENT_SELECTION_CHANGED)},e.prototype.selectNode=function(e,t){e.setSelectedParams({newValue:!0,clearSelection:!t})},e.prototype.deselectIndex=function(e){var t=this.rowModel.getRow(e);this.deselectNode(t)},e.prototype.deselectNode=function(e){e.setSelectedParams({newValue:!1,clearSelection:!1})},e.prototype.selectIndex=function(e,t){var o=this.rowModel.getRow(e);this.selectNode(o,t)},e}();n([u.Autowired(\"eventService\"),i(\"design:type\",d.EventService)],y.prototype,\"eventService\",void 0),n([u.Autowired(\"rowModel\"),i(\"design:type\",Object)],y.prototype,\"rowModel\",void 0),n([u.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",h.GridOptionsWrapper)],y.prototype,\"gridOptionsWrapper\",void 0),n([r(0,l.Qualifier(\"loggerFactory\")),i(\"design:type\",Function),i(\"design:paramtypes\",[p.LoggerFactory]),i(\"design:returntype\",void 0)],y.prototype,\"setBeans\",null),n([g.PostConstruct,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],y.prototype,\"init\",null),y=n([a.Bean(\"selectionController\")],y),t.SelectionController=y},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(5),s=o(21),a=o(16),l=o(8),p=o(9),d=o(12),c=o(6),u=function(){function e(){this.initialised=!1}return e.prototype.init=function(){this.cellExpressions=this.gridOptionsWrapper.isEnableCellExpressions(),this.userProvidedTheGroups=p.Utils.exists(this.gridOptionsWrapper.getNodeChildDetailsFunc()),this.suppressUseColIdForGroups=this.gridOptionsWrapper.isSuppressUseColIdForGroups(),this.initialised=!0},e.prototype.getValue=function(e,t){return this.getValueUsingSpecificData(e,t.data,t)},e.prototype.getValueUsingSpecificData=function(e,t,o){this.initialised||this.init();var n,i=e.getColDef(),r=i.field;if(n=t&&o.group&&!this.userProvidedTheGroups&&!this.suppressUseColIdForGroups?o.data?o.data[e.getId()]:void 0:i.valueGetter?this.executeValueGetter(i.valueGetter,t,e,o):r&&t?p.Utils.getValueUsingField(t,r,e.isFieldContainsDots()):void 0,this.cellExpressions&&\"string\"==typeof n&&0===n.indexOf(\"=\")){var s=n.substring(1);n=this.executeValueGetter(s,t,e,o)}return n},e.prototype.setValue=function(e,t,o){var n=this.columnController.getPrimaryColumn(t);if(e&&n){var i=e.data;if(!p.Utils.missing(i)){var r=n.getColDef().field,s=n.getColDef().newValueHandler;if(p.Utils.missing(r)&&p.Utils.missing(s))return void console.warn(\"ag-Grid: you need either field or newValueHandler set on colDef for editing to work\");var a={node:e,data:e.data,oldValue:this.getValue(n,e),newValue:o,colDef:n.getColDef(),api:this.gridOptionsWrapper.getApi(),context:this.gridOptionsWrapper.getContext()};s?s(a):this.setValueUsingField(i,r,o,n.isFieldContainsDots()),e.resetQuickFilterAggregateText(),a.newValue=this.getValue(n,e),\"function\"==typeof n.getColDef().onCellValueChanged&&n.getColDef().onCellValueChanged(a),this.eventService.dispatchEvent(d.Events.EVENT_CELL_VALUE_CHANGED,a)}}},e.prototype.setValueUsingField=function(e,t,o,n){if(n)for(var i=t.split(\".\"),r=e;i.length>0&&r;){var s=i.shift();0===i.length?r[s]=o:r=r[s]}else e[t]=o},e.prototype.executeValueGetter=function(e,t,o,n){var i=this.gridOptionsWrapper.getContext(),r=this.gridOptionsWrapper.getApi(),s={data:t,node:n,colDef:o.getColDef(),api:r,context:i,getValue:this.getValueCallback.bind(this,t,n)};return\"function\"==typeof e?e(s):\"string\"==typeof e?this.expressionService.evaluate(e,s):void 0},e.prototype.getValueCallback=function(e,t,o){var n=this.columnController.getPrimaryColumn(o);return n?this.getValueUsingSpecificData(n,e,t):null},e}();n([l.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",r.GridOptionsWrapper)],u.prototype,\"gridOptionsWrapper\",void 0),n([l.Autowired(\"expressionService\"),i(\"design:type\",s.ExpressionService)],u.prototype,\"expressionService\",void 0),n([l.Autowired(\"columnController\"),i(\"design:type\",a.ColumnController)],u.prototype,\"columnController\",void 0),n([l.Autowired(\"eventService\"),i(\"design:type\",c.EventService)],u.prototype,\"eventService\",void 0),n([l.PostConstruct,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],u.prototype,\"init\",null),u=n([l.Bean(\"valueService\")],u),t.ValueService=u},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var n=o(9),i=function(){function e(t){this.centerHeightLastTime=-1,this.centerWidthLastTime=-1,this.centerLeftMarginLastTime=-1,this.visibleLastTime=!1,this.sizeChangeListeners=[],this.isLayoutPanel=!0,this.fullHeight=!t.north&&!t.south;var o;t.dontFill?(o=e.TEMPLATE_DONT_FILL,this.layoutActive=!1):(o=this.fullHeight?e.TEMPLATE_FULL_HEIGHT:e.TEMPLATE_NORMAL,this.layoutActive=!0),this.eGui=n.Utils.loadTemplate(o),this.id=\"borderLayout\",t.name&&(this.id+=\"_\"+t.name),this.eGui.setAttribute(\"id\",this.id),this.childPanels=[],t&&this.setupPanels(t),this.overlays=t.overlays,this.setupOverlays()}return e.prototype.addSizeChangeListener=function(e){this.sizeChangeListeners.push(e)},e.prototype.fireSizeChanged=function(){this.sizeChangeListeners.forEach(function(e){e()})},e.prototype.setupPanels=function(e){this.eNorthWrapper=this.eGui.querySelector(\"#north\"),this.eSouthWrapper=this.eGui.querySelector(\"#south\"),this.eEastWrapper=this.eGui.querySelector(\"#east\"),this.eWestWrapper=this.eGui.querySelector(\"#west\"),this.eCenterWrapper=this.eGui.querySelector(\"#center\"),this.eOverlayWrapper=this.eGui.querySelector(\"#overlay\"),this.eCenterRow=this.eGui.querySelector(\"#centerRow\"),this.eNorthChildLayout=this.setupPanel(e.north,this.eNorthWrapper),this.eSouthChildLayout=this.setupPanel(e.south,this.eSouthWrapper),this.eEastChildLayout=this.setupPanel(e.east,this.eEastWrapper),this.eWestChildLayout=this.setupPanel(e.west,this.eWestWrapper),this.eCenterChildLayout=this.setupPanel(e.center,this.eCenterWrapper)},e.prototype.setupPanel=function(e,t){if(t)return e?e.isLayoutPanel?(this.childPanels.push(e),t.appendChild(e.getGui()),e):(t.appendChild(e),null):(t.parentNode.removeChild(t),null)},e.prototype.getGui=function(){return this.eGui},e.prototype.doLayout=function(){var e=this,t=n.Utils.isVisible(this.eGui);if(!t)return this.visibleLastTime=!1,!1;var o=!1;if(this.visibleLastTime!==t&&(o=!0),this.visibleLastTime=!0,[this.eNorthChildLayout,this.eSouthChildLayout,this.eEastChildLayout,this.eWestChildLayout].forEach(function(t){e.layoutChild(t)&&(o=!0)}),this.layoutActive){var i=this.layoutHeight(),r=this.layoutWidth();(i||r)&&(o=!0)}return this.layoutChild(this.eCenterChildLayout)&&(o=!0),o&&this.fireSizeChanged(),o},e.prototype.layoutChild=function(e){return!!e&&e.doLayout()},e.prototype.layoutHeight=function(){return this.fullHeight?this.layoutHeightFullHeight():this.layoutHeightNormal()},e.prototype.layoutHeightFullHeight=function(){var e=n.Utils.offsetHeight(this.eGui);return e<0&&(e=0),this.centerHeightLastTime!==e&&(this.centerHeightLastTime=e,!0)},e.prototype.layoutHeightNormal=function(){var e=n.Utils.offsetHeight(this.eGui),t=n.Utils.offsetHeight(this.eNorthWrapper),o=n.Utils.offsetHeight(this.eSouthWrapper),i=e-t-o;return i<0&&(i=0),this.centerHeightLastTime!==i&&(this.eCenterRow.style.height=i+\"px\",this.centerHeightLastTime=i,!0)},e.prototype.getCentreHeight=function(){return this.centerHeightLastTime},e.prototype.layoutWidth=function(){var e=n.Utils.offsetWidth(this.eGui),t=n.Utils.offsetWidth(this.eEastWrapper),o=n.Utils.offsetWidth(this.eWestWrapper),i=e-t-o;i<0&&(i=0);var r=!1;return this.centerLeftMarginLastTime!==o&&(this.centerLeftMarginLastTime=o,this.eCenterWrapper.style.marginLeft=o+\"px\",r=!0),this.centerWidthLastTime!==i&&(this.centerWidthLastTime=i,this.eCenterWrapper.style.width=i+\"px\",r=!0),r},e.prototype.setEastVisible=function(e){this.eEastWrapper&&(this.eEastWrapper.style.display=e?\"\":\"none\"),this.doLayout()},e.prototype.setupOverlays=function(){if(!this.overlays)return void this.eOverlayWrapper.parentNode.removeChild(this.eOverlayWrapper);this.hideOverlay()},e.prototype.hideOverlay=function(){n.Utils.removeAllChildren(this.eOverlayWrapper),this.eOverlayWrapper.style.display=\"none\"},e.prototype.showOverlay=function(e){var t=this.overlays?this.overlays[e]:null;t?(n.Utils.removeAllChildren(this.eOverlayWrapper),this.eOverlayWrapper.style.display=\"\",this.eOverlayWrapper.appendChild(t)):(console.log(\"ag-Grid: unknown overlay\"),this.hideOverlay())},e}();i.TEMPLATE_FULL_HEIGHT='<div class=\"ag-bl ag-bl-full-height\">  <div class=\"ag-bl-west ag-bl-full-height-west\" id=\"west\"></div>  <div class=\"ag-bl-east ag-bl-full-height-east\" id=\"east\"></div>  <div class=\"ag-bl-center ag-bl-full-height-center\" id=\"center\"></div>  <div class=\"ag-bl-overlay\" id=\"overlay\"></div></div>',i.TEMPLATE_NORMAL='<div class=\"ag-bl ag-bl-normal\">  <div id=\"north\"></div>  <div class=\"ag-bl-center-row ag-bl-normal-center-row\" id=\"centerRow\">    <div class=\"ag-bl-west ag-bl-normal-west\" id=\"west\"></div>    <div class=\"ag-bl-east ag-bl-normal-east\" id=\"east\"></div>    <div class=\"ag-bl-center ag-bl-normal-center\" id=\"center\"></div>  </div>  <div id=\"south\"></div>  <div class=\"ag-bl-overlay\" id=\"overlay\"></div></div>',i.TEMPLATE_DONT_FILL='<div class=\"ag-bl ag-bl-dont-fill\">  <div id=\"north\"></div>  <div id=\"centerRow\">    <div id=\"west\"></div>    <div id=\"east\"></div>    <div id=\"center\"></div>  </div>  <div id=\"south\"></div>  <div class=\"ag-bl-overlay\" id=\"overlay\"></div></div>',t.BorderLayout=i},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(8),s=o(7),a=o(9),l=o(6),p=o(12),d=o(5),c=function(){function e(){this.onMouseUpListener=this.onMouseUp.bind(this),this.onMouseMoveListener=this.onMouseMove.bind(this),this.onTouchEndListener=this.onTouchUp.bind(this),this.onTouchMoveListener=this.onTouchMove.bind(this),this.dragEndFunctions=[],this.dragSources=[]}return e.prototype.init=function(){this.logger=this.loggerFactory.create(\"DragService\")},e.prototype.destroy=function(){this.dragSources.forEach(this.removeListener.bind(this)),this.dragSources.length=0},e.prototype.removeListener=function(e){var t=e.dragSource.eElement,o=e.mouseDownListener;if(t.removeEventListener(\"mousedown\",o),e.touchEnabled){var n=e.touchStartListener;t.removeEventListener(\"touchstart\",n)}},e.prototype.removeDragSource=function(e){var t=a.Utils.find(this.dragSources,function(t){return t.dragSource===e});t&&(this.removeListener(t),a.Utils.removeFromArray(this.dragSources,t))},e.prototype.setNoSelectToBody=function(e){var t=this.gridOptionsWrapper.getDocument(),o=t.querySelector(\"body\");a.Utils.exists(o)&&a.Utils.addOrRemoveCssClass(o,\"ag-body-no-select\",e)},e.prototype.addDragSource=function(e,t){void 0===t&&(t=!1);var o=this.onMouseDown.bind(this,e);e.eElement.addEventListener(\"mousedown\",o);var n=null,i=this.gridOptionsWrapper.isSuppressTouch();t&&!i&&(n=this.onTouchStart.bind(this,e),e.eElement.addEventListener(\"touchstart\",n)),this.dragSources.push({dragSource:e,mouseDownListener:o,touchStartListener:n,touchEnabled:t})},e.prototype.onTouchStart=function(e,t){var o=this;this.currentDragParams=e,this.dragging=!1;var n=t.touches[0];this.touchLastTime=n,this.touchStart=n,t.preventDefault(),e.eElement.addEventListener(\"touchmove\",this.onTouchMoveListener),e.eElement.addEventListener(\"touchend\",this.onTouchEndListener),e.eElement.addEventListener(\"touchcancel\",this.onTouchEndListener),this.dragEndFunctions.push(function(){e.eElement.removeEventListener(\"touchmove\",o.onTouchMoveListener),e.eElement.removeEventListener(\"touchend\",o.onTouchEndListener),e.eElement.removeEventListener(\"touchcancel\",o.onTouchEndListener)}),0===e.dragStartPixels&&this.onCommonMove(n,this.touchStart)},e.prototype.onMouseDown=function(e,t){var o=this;if(0===t.button){this.currentDragParams=e,this.dragging=!1,this.mouseEventLastTime=t,this.mouseStartEvent=t;var n=this.gridOptionsWrapper.getDocument();n.addEventListener(\"mousemove\",this.onMouseMoveListener),n.addEventListener(\"mouseup\",this.onMouseUpListener),this.dragEndFunctions.push(function(){n.removeEventListener(\"mousemove\",o.onMouseMoveListener),n.removeEventListener(\"mouseup\",o.onMouseUpListener)}),0===e.dragStartPixels&&this.onMouseMove(t)}},e.prototype.isEventNearStartEvent=function(e,t){var o=a.Utils.exists(this.currentDragParams.dragStartPixels)?this.currentDragParams.dragStartPixels:4;return a.Utils.areEventsNear(e,t,o)},e.prototype.getFirstActiveTouch=function(e){for(var t=0;t<e.length;t++){if(e[t].identifier===this.touchStart.identifier)return e[t]}return null},e.prototype.onCommonMove=function(e,t){if(!this.dragging){if(!this.dragging&&this.isEventNearStartEvent(e,t))return;this.dragging=!0,this.eventService.dispatchEvent(p.Events.EVENT_DRAG_STARTED),this.currentDragParams.onDragStart(t),this.setNoSelectToBody(!0)}this.currentDragParams.onDragging(e)},e.prototype.onTouchMove=function(e){var t=this.getFirstActiveTouch(e.touches);t&&this.onCommonMove(t,this.touchStart)},e.prototype.onMouseMove=function(e){this.onCommonMove(e,this.mouseStartEvent)},e.prototype.onTouchUp=function(e){var t=this.getFirstActiveTouch(e.targetTouches);t||(t=this.touchLastTime),this.onUpCommon(t)},e.prototype.onMouseUp=function(e){this.onUpCommon(e)},e.prototype.onUpCommon=function(e){this.dragging&&(this.dragging=!1,this.currentDragParams.onDragStop(e),this.eventService.dispatchEvent(p.Events.EVENT_DRAG_STOPPED)),this.setNoSelectToBody(!1),this.mouseStartEvent=null,this.mouseEventLastTime=null,this.touchStart=null,this.touchLastTime=null,this.currentDragParams=null,this.dragEndFunctions.forEach(function(e){return e()}),this.dragEndFunctions.length=0},e}();n([r.Autowired(\"loggerFactory\"),i(\"design:type\",s.LoggerFactory)],c.prototype,\"loggerFactory\",void 0),n([r.Autowired(\"eventService\"),i(\"design:type\",l.EventService)],c.prototype,\"eventService\",void 0),n([r.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",d.GridOptionsWrapper)],c.prototype,\"gridOptionsWrapper\",void 0),n([r.PostConstruct,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],c.prototype,\"init\",null),n([r.PreDestroy,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],c.prototype,\"destroy\",null),c=n([r.Bean(\"dragService\")],c),t.DragService=c},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(8),s=o(8),a=o(9),l=o(5),p=function(){function e(){}return e.prototype.getRenderedCellForEvent=function(e){for(var t=this.gridOptionsWrapper.getDomDataKey(),o=a.Utils.getTarget(e);o;){var n=o[t];if(n&&n.renderedCell){return n.renderedCell}o=o.parentElement}return null},e.prototype.getGridCellForEvent=function(e){var t=this.getRenderedCellForEvent(e);return t?t.getGridCell():null},e}();n([s.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",l.GridOptionsWrapper)],p.prototype,\"gridOptionsWrapper\",void 0),p=n([r.Bean(\"mouseEventService\")],p),t.MouseEventService=p},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(8),s=o(6),a=o(12),l=o(5),p=o(16),d=o(9),c=o(37),u=o(10),h=function(){function e(){}return e.prototype.init=function(){this.eventService.addEventListener(a.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED,this.clearFocusedCell.bind(this)),this.eventService.addEventListener(a.Events.EVENT_COLUMN_EVERYTHING_CHANGED,this.clearFocusedCell.bind(this)),this.eventService.addEventListener(a.Events.EVENT_COLUMN_GROUP_OPENED,this.clearFocusedCell.bind(this)),this.eventService.addEventListener(a.Events.EVENT_COLUMN_MOVED,this.clearFocusedCell.bind(this)),this.eventService.addEventListener(a.Events.EVENT_COLUMN_PINNED,this.clearFocusedCell.bind(this)),this.eventService.addEventListener(a.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,this.clearFocusedCell.bind(this)),this.eventService.addEventListener(a.Events.EVENT_COLUMN_VISIBLE,this.clearFocusedCell.bind(this))},e.prototype.clearFocusedCell=function(){this.focusedCell=null,this.onCellFocused(!1)},e.prototype.getFocusedCell=function(){return this.focusedCell},e.prototype.getFocusCellToUseAfterRefresh=function(){if(this.gridOptionsWrapper.isSuppressFocusAfterRefresh())return null;if(!this.focusedCell)return null;var e=this.getGridCellForDomElement(document.activeElement);return e&&this.focusedCell.createId()===e.createId()?this.focusedCell:null},e.prototype.getGridCellForDomElement=function(e){function t(e){var t=d.Utils.getElementAttribute(e,\"row\");d.Utils.exists(t)&&d.Utils.containsClass(e,\"ag-row\")&&(0===t.indexOf(\"ft\")?(r=u.Constants.FLOATING_TOP,t=t.substr(3)):0===t.indexOf(\"fb\")?(r=u.Constants.FLOATING_BOTTOM,t=t.substr(3)):r=null,i=parseInt(t))}function o(e){var t=d.Utils.getElementAttribute(e,\"colid\");if(d.Utils.exists(t)&&d.Utils.containsClass(e,\"ag-cell\")){var o=s.columnController.getGridColumn(t);o&&(n=o)}}if(!e)return null;for(var n=null,i=null,r=null,s=this;e;)t(e),o(e),e=e.parentNode;if(d.Utils.exists(n)&&d.Utils.exists(i)){return new c.GridCell({rowIndex:i,floating:r,column:n})}return null},e.prototype.setFocusedCell=function(e,t,o,n){if(void 0===n&&(n=!1),!this.gridOptionsWrapper.isSuppressCellSelection()){var i=d.Utils.makeNull(this.columnController.getGridColumn(t));this.focusedCell=new c.GridCell({rowIndex:e,floating:d.Utils.makeNull(o),column:i}),this.onCellFocused(n)}},e.prototype.isCellFocused=function(e){return!d.Utils.missing(this.focusedCell)&&(this.focusedCell.column===e.column&&this.isRowFocused(e.rowIndex,e.floating))},e.prototype.isRowNodeFocused=function(e){return this.isRowFocused(e.rowIndex,e.floating)},e.prototype.isAnyCellFocused=function(){return!!this.focusedCell},e.prototype.isRowFocused=function(e,t){if(d.Utils.missing(this.focusedCell))return!1;var o=d.Utils.makeNull(t);return this.focusedCell.rowIndex===e&&this.focusedCell.floating===o},e.prototype.onCellFocused=function(e){var t={rowIndex:null,column:null,floating:null,forceBrowserFocus:e};this.focusedCell&&(t.rowIndex=this.focusedCell.rowIndex,t.column=this.focusedCell.column,t.floating=this.focusedCell.floating),this.eventService.dispatchEvent(a.Events.EVENT_CELL_FOCUSED,t)},e}();n([r.Autowired(\"eventService\"),i(\"design:type\",s.EventService)],h.prototype,\"eventService\",void 0),n([r.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",l.GridOptionsWrapper)],h.prototype,\"gridOptionsWrapper\",void 0),n([r.Autowired(\"columnController\"),i(\"design:type\",p.ColumnController)],h.prototype,\"columnController\",void 0),n([r.PostConstruct,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],h.prototype,\"init\",null),h=n([r.Bean(\"focusedCellController\")],h),t.FocusedCellController=h},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var n=o(9),i=o(38),r=function(){function e(e){this.rowIndex=e.rowIndex,this.column=e.column,this.floating=n.Utils.makeNull(e.floating)}return e.prototype.getGridCellDef=function(){return{rowIndex:this.rowIndex,column:this.column,floating:this.floating}},e.prototype.getGridRow=function(){return new i.GridRow(this.rowIndex,this.floating)},e.prototype.toString=function(){return\"rowIndex = \"+this.rowIndex+\", floating = \"+this.floating+\", column = \"+(this.column?this.column.getId():null)},e.prototype.createId=function(){return this.rowIndex+\".\"+this.floating+\".\"+this.column.getId()},e}();t.GridCell=r},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var n=o(10),i=o(9),r=o(37),s=function(){function e(e,t){this.rowIndex=e,this.floating=i.Utils.makeNull(t)}return e.prototype.isFloatingTop=function(){return this.floating===n.Constants.FLOATING_TOP},e.prototype.isFloatingBottom=function(){return this.floating===n.Constants.FLOATING_BOTTOM},e.prototype.isNotFloating=function(){return!this.isFloatingBottom()&&!this.isFloatingTop()},e.prototype.equals=function(e){return this.rowIndex===e.rowIndex&&this.floating===e.floating},e.prototype.toString=function(){return\"rowIndex = \"+this.rowIndex+\", floating = \"+this.floating},e.prototype.getGridCell=function(e){var t={rowIndex:this.rowIndex,floating:this.floating,column:e};return new r.GridCell(t)},e.prototype.before=function(e){var t=e.floating;switch(this.floating){case n.Constants.FLOATING_TOP:if(t!==n.Constants.FLOATING_TOP)return!0;break;case n.Constants.FLOATING_BOTTOM:if(t!==n.Constants.FLOATING_BOTTOM)return!1;break;default:if(i.Utils.exists(t))return t!==n.Constants.FLOATING_TOP}return this.rowIndex<=e.rowIndex},e}();t.GridRow=s},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(8),s=o(9),a=o(6),l=o(12),p=o(16),d=function(){function e(){}return e.prototype.setScrollsVisible=function(e){(this.vBody!==e.vBody||this.hBody!==e.hBody||this.vPinnedLeft!==e.vPinnedLeft||this.vPinnedRight!==e.vPinnedRight)&&(this.vBody=e.vBody,this.hBody=e.hBody,this.vPinnedLeft=e.vPinnedLeft,this.vPinnedRight=e.vPinnedRight,this.eventService.dispatchEvent(l.Events.EVENT_SCROLL_VISIBILITY_CHANGED))},e.prototype.isVBodyShowing=function(){return this.vBody},e.prototype.isHBodyShowing=function(){return this.hBody},e.prototype.isVPinnedLeftShowing=function(){return this.vPinnedLeft},e.prototype.isVPinnedRightShowing=function(){return this.vPinnedRight},e.prototype.getPinnedLeftWidth=function(){return this.columnController.getPinnedLeftContainerWidth()},e.prototype.getPinnedLeftWithScrollWidth=function(){var e=this.getPinnedLeftWidth();return this.vPinnedLeft&&(e+=s.Utils.getScrollbarWidth()),e},e.prototype.getPinnedRightWidth=function(){return this.columnController.getPinnedRightContainerWidth()},e.prototype.getPinnedRightWithScrollWidth=function(){var e=this.getPinnedRightWidth();return this.vPinnedRight&&(e+=s.Utils.getScrollbarWidth()),e},e}();n([r.Autowired(\"eventService\"),i(\"design:type\",a.EventService)],d.prototype,\"eventService\",void 0),n([r.Autowired(\"columnController\"),i(\"design:type\",p.ColumnController)],d.prototype,\"columnController\",void 0),d=n([r.Bean(\"scrollVisibleService\")],d),t.ScrollVisibleService=d},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var n=o(6),i=o(5),r=function(){function e(){this.destroyFunctions=[]}return e.prototype.destroy=function(){this.destroyFunctions.forEach(function(e){return e()}),this.destroyFunctions.length=0},e.prototype.addEventListener=function(e,t){this.localEventService||(this.localEventService=new n.EventService),this.localEventService.addEventListener(e,t)},e.prototype.removeEventListener=function(e,t){this.localEventService&&this.localEventService.removeEventListener(e,t)},e.prototype.dispatchEventAsync=function(e,t){var o=this;setTimeout(function(){return o.dispatchEvent(e,t)},0)},e.prototype.dispatchEvent=function(e,t){this.localEventService&&this.localEventService.dispatchEvent(e,t)},e.prototype.addDestroyableEventListener=function(e,t,o){e instanceof HTMLElement?e.addEventListener(t,o):(i.GridOptionsWrapper,e.addEventListener(t,o)),this.destroyFunctions.push(function(){e instanceof HTMLElement?e.removeEventListener(t,o):(i.GridOptionsWrapper,e.removeEventListener(t,o))})},e.prototype.addDestroyFunc=function(e){this.destroyFunctions.push(e)},e}();t.BeanStub=r},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var n=o(9),i=function(){function e(e){this.childCount=0,this.eContainer=e.eContainer,this.eViewport=e.eViewport,e.useDocumentFragment&&this.setupDocumentFragment(),this.hideWhenNoChildren=e.hideWhenNoChildren,this.checkVisibility()}return e.prototype.setupDocumentFragment=function(){!!document.createDocumentFragment&&(this.eDocumentFragment=document.createDocumentFragment())},e.prototype.setHeight=function(e){this.eContainer.style.height=e+\"px\"},e.prototype.appendRowElement=function(e){(this.eDocumentFragment?this.eDocumentFragment:this.eContainer).appendChild(e),this.childCount++,this.checkVisibility()},e.prototype.removeRowElement=function(e){this.eContainer.removeChild(e),this.childCount--,this.checkVisibility()},e.prototype.flushDocumentFragment=function(){n.Utils.exists(this.eDocumentFragment)&&n.Utils.prependDC(this.eContainer,this.eDocumentFragment)},e.prototype.checkVisibility=function(){if(this.hideWhenNoChildren){var e=this.eViewport?this.eViewport:this.eContainer,t=this.childCount>0;this.visible!==t&&(this.visible=t,n.Utils.setVisible(e,t))}},e}();t.RowContainerComponent=i},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(40),a=o(6),l=o(12),p=o(9),d=o(8),c=o(5),u=o(27),h=o(39),g=function(){function e(){}return e}();t.RowBounds=g;var f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.notActive=function(){return!this.gridOptionsWrapper.isPaginationAutoPageSize()},t.prototype.postConstruct=function(){this.addDestroyableEventListener(this.eventService,l.Events.EVENT_BODY_HEIGHT_CHANGED,this.onBodyHeightChanged.bind(this)),this.addDestroyableEventListener(this.eventService,l.Events.EVENT_SCROLL_VISIBILITY_CHANGED,this.onScrollVisibilityChanged.bind(this)),this.checkPageSize()},t.prototype.onScrollVisibilityChanged=function(){this.checkPageSize()},t.prototype.onBodyHeightChanged=function(){this.checkPageSize()},t.prototype.checkPageSize=function(){if(!this.notActive()){var e=this.gridOptionsWrapper.getRowHeightAsNumber(),t=this.gridPanel.getBodyHeight();if(this.scrollVisibleService.isHBodyShowing()&&(t-=this.gridOptionsWrapper.getScrollbarWidth()),t>0){var o=Math.floor(t/e);this.gridOptionsWrapper.setProperty(\"paginationPageSize\",o)}}},t}(s.BeanStub);i([d.Autowired(\"gridPanel\"),r(\"design:type\",u.GridPanel)],f.prototype,\"gridPanel\",void 0),i([d.Autowired(\"eventService\"),r(\"design:type\",a.EventService)],f.prototype,\"eventService\",void 0),i([d.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",c.GridOptionsWrapper)],f.prototype,\"gridOptionsWrapper\",void 0),i([d.Autowired(\"scrollVisibleService\"),r(\"design:type\",h.ScrollVisibleService)],f.prototype,\"scrollVisibleService\",void 0),i([d.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],f.prototype,\"postConstruct\",null),f=i([d.Bean(\"paginationAutoPageSizeService\")],f),t.PaginationAutoPageSizeService=f;var y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.currentPage=0,t.topRowIndex=0,t.bottomRowIndex=0,t.pixelOffset=0,t}return n(t,e),t.prototype.postConstruct=function(){this.active=this.gridOptionsWrapper.isPagination(),this.addDestroyableEventListener(this.eventService,l.Events.EVENT_MODEL_UPDATED,this.onModelUpdated.bind(this)),this.addDestroyableEventListener(this.gridOptionsWrapper,\"paginationPageSize\",this.onModelUpdated.bind(this)),this.onModelUpdated();var e=this.gridOptionsWrapper.getPaginationStartPage();this.currentPage=e||0},t.prototype.isLastRowFound=function(){return this.rowModel.isLastRowFound()},t.prototype.onModelUpdated=function(e){this.setIndexesAndBounds(),this.eventService.dispatchEvent(l.Events.EVENT_PAGINATION_CHANGED,e)},t.prototype.goToPage=function(e){if(this.active&&this.currentPage!==e){this.currentPage=e;var t={animate:!1,keepRenderedRows:!1,newData:!1,newPage:!0};this.onModelUpdated(t)}},t.prototype.getPixelOffset=function(){return this.pixelOffset},t.prototype.getRow=function(e){return this.rowModel.getRow(e)},t.prototype.getRowIndexAtPixel=function(e){return this.rowModel.getRowIndexAtPixel(e)},t.prototype.getCurrentPageHeight=function(){return p._.missing(this.topRowBounds)||p._.missing(this.bottomRowBounds)?0:this.bottomRowBounds.rowTop+this.bottomRowBounds.rowHeight-this.topRowBounds.rowTop},t.prototype.isRowPresent=function(e){return this.isRowInPage(e)},t.prototype.isRowInPage=function(e){return!!this.rowModel.isRowPresent(e)&&(e.rowIndex>=this.topRowIndex&&e.rowIndex<=this.bottomRowIndex)},t.prototype.insertItemsAtIndex=function(e,t,o){return this.rowModel.insertItemsAtIndex(e,t,o)},t.prototype.removeItems=function(e,t){this.rowModel.removeItems(e,t)},t.prototype.addItems=function(e,t){this.rowModel.addItems(e,t)},t.prototype.isEmpty=function(){return this.rowModel.isEmpty()},t.prototype.isRowsToRender=function(){return this.rowModel.isRowsToRender()},t.prototype.forEachNode=function(e){return this.rowModel.forEachNode(e)},t.prototype.getType=function(){return this.rowModel.getType()},t.prototype.getRowBounds=function(e){return this.rowModel.getRowBounds(e)},t.prototype.getPageFirstRow=function(){return this.pageSize*this.currentPage},t.prototype.getPageLastRow=function(){var e=this.pageSize*(this.currentPage+1)-1,t=this.rowModel.getPageLastRow();return t>e?e:t},t.prototype.getRowCount=function(){return this.rowModel.getRowCount()},t.prototype.goToPageWithIndex=function(e){if(this.active){var t=Math.floor(e/this.pageSize);this.goToPage(t)}},t.prototype.getTotalRowCount=function(){return this.rowModel.getPageLastRow()+1},t.prototype.isLastPageFound=function(){return this.rowModel.isLastRowFound()},t.prototype.getCurrentPage=function(){return this.currentPage},t.prototype.goToNextPage=function(){this.goToPage(this.currentPage+1)},t.prototype.goToPreviousPage=function(){this.goToPage(this.currentPage-1)},t.prototype.goToFirstPage=function(){this.goToPage(0)},t.prototype.goToLastPage=function(){var e=this.rowModel.getPageLastRow()+1,t=Math.floor(e/this.pageSize);this.goToPage(t)},t.prototype.getPageSize=function(){return this.pageSize},t.prototype.getTotalPages=function(){return this.totalPages},t.prototype.setPageSize=function(){this.pageSize=this.gridOptionsWrapper.getPaginationPageSize(),this.pageSize>=1||(this.pageSize=100)},t.prototype.setIndexesAndBounds=function(){if(this.active){this.setPageSize();var e=this.getTotalRowCount();this.totalPages=Math.floor((e-1)/this.pageSize)+1,this.currentPage>=this.totalPages&&(this.currentPage=this.totalPages-1),(!p._.isNumeric(this.currentPage)||this.currentPage<0)&&(this.currentPage=0),this.topRowIndex=this.pageSize*this.currentPage,this.bottomRowIndex=this.pageSize*(this.currentPage+1)-1;var t=this.rowModel.getPageLastRow();this.bottomRowIndex>t&&(this.bottomRowIndex=t)}else this.pageSize=this.rowModel.getPageLastRow()+1,this.totalPages=1,this.currentPage=0,this.topRowIndex=0,this.bottomRowIndex=this.rowModel.getPageLastRow();this.topRowBounds=this.rowModel.getRowBounds(this.topRowIndex),this.bottomRowBounds=this.rowModel.getRowBounds(this.bottomRowIndex),this.pixelOffset=p._.exists(this.topRowBounds)?this.topRowBounds.rowTop:0},t}(s.BeanStub);i([d.Autowired(\"rowModel\"),r(\"design:type\",Object)],y.prototype,\"rowModel\",void 0),i([d.Autowired(\"gridPanel\"),r(\"design:type\",u.GridPanel)],y.prototype,\"gridPanel\",void 0),i([d.Autowired(\"eventService\"),r(\"design:type\",a.EventService)],y.prototype,\"eventService\",void 0),i([d.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",c.GridOptionsWrapper)],y.prototype,\"gridOptionsWrapper\",void 0),i([d.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],y.prototype,\"postConstruct\",null),y=i([d.Bean(\"paginationProxy\")],y),t.PaginationProxy=y},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(8),s=o(8),a=function(){function e(){this.templateCache={},this.waitingCallbacks={}}return e.prototype.getTemplate=function(e,t){var o=this.templateCache[e];if(o)return o;var n=this.waitingCallbacks[e],i=this;if(!n){n=[],this.waitingCallbacks[e]=n;var r=new XMLHttpRequest;r.onload=function(){i.handleHttpResult(this,e)},r.open(\"GET\",e),r.send()}return t&&n.push(t),null},e.prototype.handleHttpResult=function(e,t){if(200!==e.status||null===e.response)return void console.warn(\"Unable to get template error \"+e.status+\" - \"+t);this.templateCache[t]=e.response||e.responseText;for(var o=this.waitingCallbacks[t],n=0;n<o.length;n++){(0,o[n])()}if(this.$scope){var i=this;setTimeout(function(){i.$scope.$apply()},0)}},e}();n([s.Autowired(\"$scope\"),i(\"design:type\",Object)],a.prototype,\"$scope\",void 0),a=n([r.Bean(\"templateService\")],a),t.TemplateService=a},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(9),a=o(45),l=o(30),p=o(5),d=o(16),c=o(18),u=o(12),h=o(6),g=o(8),f=o(36),y=o(10),v=o(79),m=o(75),C=o(27),E=o(40),w=o(65),b=o(42),R=function(e){function t(t,o,n,i,r,s,a,l){var p=e.call(this)||this;return p.eAllRowContainers=[],p.renderedCells={},p.nextVmTurnFunctions=[],p.delayedDestroyFunctions=[],p.startRemoveAnimationFunctions=[],p.editingRow=!1,p.initialised=!1,p.parentScope=t,p.rowRenderer=o,p.bodyContainerComp=n,p.fullWidthContainerComp=i,p.pinnedLeftContainerComp=r,p.pinnedRightContainerComp=s,p.rowNode=a,p.animateIn=l,p}return n(t,e),t.prototype.setupRowContainers=function(e){var t=this.gridOptionsWrapper.getIsFullWidthCellFunc(),o=!!t&&t(this.rowNode),n=this.rowNode.group&&this.gridOptionsWrapper.isGroupUseEntireRow();o?this.setupFullWidthContainers(e):n?this.setupFullWidthGroupContainers(e):this.setupNormalContainers(e)},t.prototype.getAndClearDelayedDestroyFunctions=function(){var e=this.delayedDestroyFunctions;return this.delayedDestroyFunctions=[],e},t.prototype.getAndClearNextVMTurnFunctions=function(){var e=this.nextVmTurnFunctions;return this.nextVmTurnFunctions=[],e},t.prototype.addDomData=function(e){var t=this.gridOptionsWrapper.getDomDataKey(),o=e;o[t]={renderedRow:this},this.addDestroyFunc(function(){o[t]=null})},t.prototype.setupFullWidthContainers=function(e){this.fullWidthRow=!0,this.fullWidthCellRenderer=this.gridOptionsWrapper.getFullWidthCellRenderer(),this.fullWidthCellRendererParams=this.gridOptionsWrapper.getFullWidthCellRendererParams(),s.Utils.missing(this.fullWidthCellRenderer)&&console.warn(\"ag-Grid: you need to provide a fullWidthCellRenderer if using isFullWidthCell()\"),this.createFullWidthRow(e)},t.prototype.addMouseWheelListenerToFullWidthRow=function(){var e=this.gridPanel.genericMouseWheelListener.bind(this.gridPanel);this.addDestroyableEventListener(this.eFullWidthRow,\"mousewheel\",e),this.addDestroyableEventListener(this.eFullWidthRow,\"DOMMouseScroll\",e)},t.prototype.setupFullWidthGroupContainers=function(e){this.fullWidthRow=!0,this.fullWidthCellRenderer=this.gridOptionsWrapper.getGroupRowRenderer(),this.fullWidthCellRendererParams=this.gridOptionsWrapper.getGroupRowRendererParams(),this.fullWidthCellRenderer||(this.fullWidthCellRenderer=m.CellRendererFactory.GROUP,this.fullWidthCellRendererParams={innerRenderer:this.gridOptionsWrapper.getGroupRowInnerRenderer()}),this.createFullWidthRow(e)},t.prototype.createFullWidthRow=function(e){this.gridOptionsWrapper.isEmbedFullWidthRows()?(this.eFullWidthRowBody=this.createRowContainer(this.bodyContainerComp,e),this.eFullWidthRowLeft=this.createRowContainer(this.pinnedLeftContainerComp,e),this.eFullWidthRowRight=this.createRowContainer(this.pinnedRightContainerComp,e),s.Utils.addCssClass(this.eFullWidthRowLeft,\"ag-cell-last-left-pinned\"),s.Utils.addCssClass(this.eFullWidthRowRight,\"ag-cell-first-right-pinned\")):(this.eFullWidthRow=this.createRowContainer(this.fullWidthContainerComp,e),this.gridOptionsWrapper.isForPrint()||this.addMouseWheelListenerToFullWidthRow())},t.prototype.setupNormalContainers=function(e){this.fullWidthRow=!1,this.eBodyRow=this.createRowContainer(this.bodyContainerComp,e),this.gridOptionsWrapper.isForPrint()||(this.ePinnedLeftRow=this.createRowContainer(this.pinnedLeftContainerComp,e),this.ePinnedRightRow=this.createRowContainer(this.pinnedRightContainerComp,e))},t.prototype.init=function(){var e=this.animateIn&&s.Utils.exists(this.rowNode.oldRowTop);this.setupRowContainers(e),this.scope=this.createChildScopeOrNull(this.rowNode.data),this.fullWidthRow?this.refreshFullWidthComponent():this.refreshCellsIntoRow(),this.addGridClasses(),this.addExpandedAndContractedClasses(),this.addStyleFromRowStyle(),this.addStyleFromRowStyleFunc(),this.addClassesFromRowClass(),this.addClassesFromRowClassFunc(),this.addRowIndexes(),this.addRowIds(),this.setupTop(e),this.setHeight(),this.addRowSelectedListener(),this.addCellFocusedListener(),this.addNodeDataChangedListener(),this.addColumnListener(),this.addHoverFunctionality(),this.gridOptionsWrapper.executeProcessRowPostCreateFunc({eRow:this.eBodyRow,ePinnedLeftRow:this.ePinnedLeftRow,ePinnedRightRow:this.ePinnedRightRow,node:this.rowNode,api:this.gridOptionsWrapper.getApi(),rowIndex:this.rowNode.rowIndex,addRenderedRowListener:this.addEventListener.bind(this),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext()}),this.addDataChangedListener(),this.initialised=!0},t.prototype.stopRowEditing=function(e){this.stopEditing(e)},t.prototype.isEditing=function(){if(this.gridOptionsWrapper.isFullRowEdit())return this.editingRow;var e=s.Utils.find(this.renderedCells,function(e){return e&&e.isEditing()});return s.Utils.exists(e)},t.prototype.stopEditing=function(e){if(void 0===e&&(e=!1),this.forEachRenderedCell(function(t){t.stopEditing(e)}),this.editingRow){if(!e){var t={node:this.rowNode,data:this.rowNode.data,api:this.gridOptionsWrapper.getApi(),context:this.gridOptionsWrapper.getContext()};this.mainEventService.dispatchEvent(u.Events.EVENT_ROW_VALUE_CHANGED,t)}this.setEditingRow(!1)}},t.prototype.startRowEditing=function(e,t,o){void 0===e&&(e=null),void 0===t&&(t=null),void 0===o&&(o=null),this.editingRow||(this.forEachRenderedCell(function(n){var i=n===o;i?n.startEditingIfEnabled(e,t,i):n.startEditingIfEnabled(null,null,i)}),this.setEditingRow(!0))},t.prototype.setEditingRow=function(e){this.editingRow=e,this.eAllRowContainers.forEach(function(t){return s.Utils.addOrRemoveCssClass(t,\"ag-row-editing\",e)});var t=e?u.Events.EVENT_ROW_EDITING_STARTED:u.Events.EVENT_ROW_EDITING_STOPPED;this.mainEventService.dispatchEvent(t,{node:this.rowNode})},t.prototype.addDataChangedListener=function(){var e=this,t=function(){e.addStyleFromRowStyleFunc(),e.addClassesFromRowClass()};this.addDestroyableEventListener(this.rowNode,l.RowNode.EVENT_DATA_CHANGED,t)},t.prototype.angular1Compile=function(e){this.scope&&this.$compile(e)(this.scope)},t.prototype.addColumnListener=function(){var e=this.onDisplayedColumnsChanged.bind(this),t=this.onVirtualColumnsChanged.bind(this),o=this.onGridColumnsChanged.bind(this);this.addDestroyableEventListener(this.mainEventService,u.Events.EVENT_DISPLAYED_COLUMNS_CHANGED,e),this.addDestroyableEventListener(this.mainEventService,u.Events.EVENT_VIRTUAL_COLUMNS_CHANGED,t),this.addDestroyableEventListener(this.mainEventService,u.Events.EVENT_COLUMN_RESIZED,e),this.addDestroyableEventListener(this.mainEventService,u.Events.EVENT_GRID_COLUMNS_CHANGED,o)},t.prototype.onDisplayedColumnsChanged=function(){if(this.fullWidthRow){if(this.gridOptionsWrapper.isEmbedFullWidthRows()){var e=this.fullWidthPinnedLeftLastTime!==this.columnController.isPinningLeft(),t=this.fullWidthPinnedRightLastTime!==this.columnController.isPinningRight();(e||t)&&this.refreshFullWidthComponent()}}else this.refreshCellsIntoRow()},t.prototype.onVirtualColumnsChanged=function(e){this.fullWidthRow||this.refreshCellsIntoRow()},t.prototype.onGridColumnsChanged=function(){var e=Object.keys(this.renderedCells);this.removeRenderedCells(e)},t.prototype.isCellInWrongRow=function(e){var t=e.getColumn(),o=this.getRowForColumn(t);return e.getParentRow()!==o},t.prototype.refreshCellsIntoRow=function(){var e=this,t=this.columnController.getAllDisplayedVirtualColumns(),o=this.columnController.getAllDisplayedColumns(),n=Object.keys(this.renderedCells);t.forEach(function(t){var o=e.getOrCreateCell(t);e.ensureCellInCorrectRow(o),s.Utils.removeFromArray(n,t.getColId())}),n=s.Utils.filter(n,function(t){var n=!0,i=!1,r=e.renderedCells[t];if(!r)return n;if(e.isCellInWrongRow(r))return n;var s=r.isEditing(),a=e.focusedCellController.isCellFocused(r.getGridCell());if(s||a){var l=r.getColumn();return o.indexOf(l)>=0?i:n}return n}),this.removeRenderedCells(n)},t.prototype.removeRenderedCells=function(e){var t=this;e.forEach(function(e){var o=t.renderedCells[e];s.Utils.missing(o)||(o.destroy(),t.renderedCells[e]=null)})},t.prototype.getRowForColumn=function(e){switch(e.getPinned()){case c.Column.PINNED_LEFT:return this.ePinnedLeftRow;case c.Column.PINNED_RIGHT:return this.ePinnedRightRow;default:return this.eBodyRow}},t.prototype.ensureCellInCorrectRow=function(e){var t=e.getGui(),o=e.getColumn(),n=this.getRowForColumn(o),i=e.getParentRow();i!==n&&(i&&i.removeChild(t),n.appendChild(t),e.setParentRow(n))},t.prototype.getOrCreateCell=function(e){var t=e.getColId();if(this.renderedCells[t])return this.renderedCells[t];var o=new a.RenderedCell(e,this.rowNode,this.scope,this);return this.context.wireBean(o),this.renderedCells[t]=o,this.angular1Compile(o.getGui()),this.editingRow&&o.startEditingIfEnabled(),o},t.prototype.onRowSelected=function(){var e=this.rowNode.isSelected();this.eAllRowContainers.forEach(function(t){return s.Utils.addOrRemoveCssClass(t,\"ag-row-selected\",e)})},t.prototype.addRowSelectedListener=function(){this.addDestroyableEventListener(this.rowNode,l.RowNode.EVENT_ROW_SELECTED,this.onRowSelected.bind(this))},t.prototype.onMouseEvent=function(e,t){switch(e){case\"dblclick\":this.onRowDblClick(t);break;case\"click\":this.onRowClick(t)}},t.prototype.addHoverFunctionality=function(){var e=this;if(!this.gridOptionsWrapper.isSuppressRowHoverClass()){var t=this.rowNode.onMouseEnter.bind(this.rowNode),o=this.rowNode.onMouseLeave.bind(this.rowNode);this.eAllRowContainers.forEach(function(n){e.addDestroyableEventListener(n,\"mouseenter\",t),e.addDestroyableEventListener(n,\"mouseleave\",o)});var n=this.addHoverClass.bind(this,!0),i=this.addHoverClass.bind(this,!1);this.addDestroyableEventListener(this.rowNode,l.RowNode.EVENT_MOUSE_ENTER,n),this.addDestroyableEventListener(this.rowNode,l.RowNode.EVENT_MOUSE_LEAVE,i)}},t.prototype.addHoverClass=function(e){this.eAllRowContainers.forEach(function(t){return s.Utils.addOrRemoveCssClass(t,\"ag-row-hover\",e)})},t.prototype.setRowFocusClasses=function(){var e=this.focusedCellController.isRowFocused(this.rowNode.rowIndex,this.rowNode.floating);e!==this.rowFocusedLastTime&&(this.eAllRowContainers.forEach(function(t){return s.Utils.addOrRemoveCssClass(t,\"ag-row-focus\",e)}),this.eAllRowContainers.forEach(function(t){return s.Utils.addOrRemoveCssClass(t,\"ag-row-no-focus\",!e)}),this.rowFocusedLastTime=e),!e&&this.editingRow&&this.stopEditing(!1)},t.prototype.addCellFocusedListener=function(){this.addDestroyableEventListener(this.mainEventService,u.Events.EVENT_CELL_FOCUSED,this.setRowFocusClasses.bind(this)),this.addDestroyableEventListener(this.mainEventService,u.Events.EVENT_PAGINATION_CHANGED,this.onPaginationChanged.bind(this)),this.addDestroyableEventListener(this.rowNode,l.RowNode.EVENT_ROW_INDEX_CHANGED,this.setRowFocusClasses.bind(this)),this.setRowFocusClasses()},t.prototype.onPaginationChanged=function(){this.onTopChanged()},t.prototype.forEachRenderedCell=function(e){s.Utils.iterateObject(this.renderedCells,function(t,o){o&&e(o)})},t.prototype.addNodeDataChangedListener=function(){var e=this,t=function(){e.forEachRenderedCell(function(e){return e.refreshCell(!1,!0)}),e.onRowSelected()};this.addDestroyableEventListener(this.rowNode,l.RowNode.EVENT_DATA_CHANGED,t)},t.prototype.onTopChanged=function(){this.gridOptionsWrapper.isForPrint()||this.setRowTop(this.rowNode.rowTop)},t.prototype.setRowTop=function(e){if(s.Utils.exists(e)){var t=void 0;t=this.rowNode.isFloating()?e:e-this.paginationProxy.getPixelOffset();var o=t+\"px\";this.eAllRowContainers.forEach(function(e){return e.style.top=o})}},t.prototype.setupTop=function(e){if(!this.gridOptionsWrapper.isForPrint()){var t=this.onTopChanged.bind(this);this.addDestroyableEventListener(this.rowNode,l.RowNode.EVENT_TOP_CHANGED,t),e||this.onTopChanged()}},t.prototype.setHeight=function(){var e=this,t=function(){if(s.Utils.exists(e.rowNode.rowHeight)){var t=e.rowNode.rowHeight+\"px\";e.eAllRowContainers.forEach(function(e){return e.style.height=t})}};this.addDestroyableEventListener(this.rowNode,l.RowNode.EVENT_HEIGHT_CHANGED,t),t()},t.prototype.addRowIndexes=function(){var e=this,t=function(){var t=e.rowNode.rowIndex.toString();e.rowNode.floating===y.Constants.FLOATING_BOTTOM?t=\"fb-\"+t:e.rowNode.floating===y.Constants.FLOATING_TOP&&(t=\"ft-\"+t),e.eAllRowContainers.forEach(function(o){o.setAttribute(\"row\",t);var n=e.rowNode.rowIndex%2==0;s.Utils.addOrRemoveCssClass(o,\"ag-row-even\",n),s.Utils.addOrRemoveCssClass(o,\"ag-row-odd\",!n)})};this.addDestroyableEventListener(this.rowNode,l.RowNode.EVENT_ROW_INDEX_CHANGED,t),t()},t.prototype.addRowIds=function(){if(\"function\"==typeof this.gridOptionsWrapper.getBusinessKeyForNodeFunc()){var e=this.gridOptionsWrapper.getBusinessKeyForNodeFunc()(this.rowNode);\"string\"!=typeof e&&\"number\"!=typeof e||this.eAllRowContainers.forEach(function(t){return t.setAttribute(\"row-id\",e)})}},t.prototype.addEventListener=function(e,t){this.renderedRowEventService||(this.renderedRowEventService=new h.EventService),this.renderedRowEventService.addEventListener(e,t)},t.prototype.removeEventListener=function(e,t){this.renderedRowEventService.removeEventListener(e,t)},t.prototype.getRenderedCellForColumn=function(e){return this.renderedCells[e.getColId()]},t.prototype.getCellForCol=function(e){var t=this.renderedCells[e.getColId()];return t?t.getGui():null},t.prototype.destroy=function(o){if(void 0===o&&(o=!1),e.prototype.destroy.call(this),this.destroyScope(),this.destroyFullWidthComponent(),this.forEachRenderedCell(function(e){return e.destroy()}),o)this.startRemoveAnimationFunctions.forEach(function(e){return e()});else{this.getAndClearDelayedDestroyFunctions().forEach(function(e){return e()})}this.renderedRowEventService&&this.renderedRowEventService.dispatchEvent(t.EVENT_RENDERED_ROW_REMOVED,{node:this.rowNode});var n={node:this.rowNode,rowIndex:this.rowNode.rowIndex};this.mainEventService.dispatchEvent(u.Events.EVENT_VIRTUAL_ROW_REMOVED,n)},t.prototype.destroyScope=function(){this.scope&&(this.scope.$destroy(),this.scope=null)},t.prototype.isGroup=function(){return!0===this.rowNode.group},t.prototype.refreshFullWidthComponent=function(){this.destroyFullWidthComponent(),this.createFullWidthComponent()},t.prototype.createFullWidthComponent=function(){if(this.fullWidthPinnedLeftLastTime=this.columnController.isPinningLeft(),this.fullWidthPinnedRightLastTime=this.columnController.isPinningRight(),this.eFullWidthRow){var e=this.createFullWidthParams(this.eFullWidthRow,null);this.fullWidthRowComponent=this.cellRendererService.useCellRenderer(this.fullWidthCellRenderer,this.eFullWidthRow,e),this.angular1Compile(this.eFullWidthRow)}if(this.eFullWidthRowBody){var e=this.createFullWidthParams(this.eFullWidthRowBody,null);this.fullWidthRowComponentBody=this.cellRendererService.useCellRenderer(this.fullWidthCellRenderer,this.eFullWidthRowBody,e),this.angular1Compile(this.eFullWidthRowBody)}if(this.eFullWidthRowLeft){var e=this.createFullWidthParams(this.eFullWidthRowLeft,c.Column.PINNED_LEFT);this.fullWidthRowComponentLeft=this.cellRendererService.useCellRenderer(this.fullWidthCellRenderer,this.eFullWidthRowLeft,e),this.angular1Compile(this.eFullWidthRowLeft)}if(this.eFullWidthRowRight){var e=this.createFullWidthParams(this.eFullWidthRowRight,c.Column.PINNED_RIGHT);this.fullWidthRowComponentRight=this.cellRendererService.useCellRenderer(this.fullWidthCellRenderer,this.eFullWidthRowRight,e),this.angular1Compile(this.eFullWidthRowRight)}},t.prototype.destroyFullWidthComponent=function(){this.fullWidthRowComponent&&(this.fullWidthRowComponent.destroy&&this.fullWidthRowComponent.destroy(),this.fullWidthRowComponent=null),this.fullWidthRowComponentBody&&(this.fullWidthRowComponentBody.destroy&&this.fullWidthRowComponentBody.destroy(),this.fullWidthRowComponent=null),this.fullWidthRowComponentLeft&&(this.fullWidthRowComponentLeft.destroy&&this.fullWidthRowComponentLeft.destroy(),this.fullWidthRowComponentLeft=null),this.fullWidthRowComponentRight&&(this.fullWidthRowComponentRight.destroy&&this.fullWidthRowComponentRight.destroy(),this.fullWidthRowComponent=null),this.eFullWidthRow&&s.Utils.removeAllChildren(this.eFullWidthRow),this.eFullWidthRowBody&&s.Utils.removeAllChildren(this.eFullWidthRowBody),this.eFullWidthRowLeft&&s.Utils.removeAllChildren(this.eFullWidthRowLeft),this.eFullWidthRowRight&&s.Utils.removeAllChildren(this.eFullWidthRowRight)},t.prototype.createFullWidthParams=function(e,t){var o={data:this.rowNode.data,node:this.rowNode,$scope:this.scope,rowIndex:this.rowNode.rowIndex,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext(),eGridCell:e,eParentOfValue:e,pinned:t,addRenderedRowListener:this.addEventListener.bind(this),colDef:{cellRenderer:this.fullWidthCellRenderer,cellRendererParams:this.fullWidthCellRendererParams}};return this.fullWidthCellRendererParams&&s.Utils.assign(o,this.fullWidthCellRendererParams),o},t.prototype.createChildScopeOrNull=function(e){if(this.gridOptionsWrapper.isAngularCompileRows()){var t=this.parentScope.$new();return t.data=e,t.rowNode=this.rowNode,t.context=this.gridOptionsWrapper.getContext(),t}return null},t.prototype.addStyleFromRowStyle=function(){var e=this.gridOptionsWrapper.getRowStyle();e&&(\"function\"==typeof e?console.log(\"ag-Grid: rowStyle should be an object of key/value styles, not be a function, use getRowStyle() instead\"):this.eAllRowContainers.forEach(function(t){return s.Utils.addStylesToElement(t,e)}))},t.prototype.addStyleFromRowStyleFunc=function(){var e=this.gridOptionsWrapper.getRowStyleFunc();if(e){var t={data:this.rowNode.data,node:this.rowNode,api:this.gridOptionsWrapper.getApi(),context:this.gridOptionsWrapper.getContext(),$scope:this.scope},o=e(t);this.eAllRowContainers.forEach(function(e){return s.Utils.addStylesToElement(e,o)})}},t.prototype.createParams=function(){return{node:this.rowNode,data:this.rowNode.data,rowIndex:this.rowNode.rowIndex,$scope:this.scope,context:this.gridOptionsWrapper.getContext(),api:this.gridOptionsWrapper.getApi()}},t.prototype.createEvent=function(e,t){var o=this.createParams();return o.event=e,o.eventSource=t,o},t.prototype.createRowContainer=function(e,t){var o=this,n=document.createElement(\"div\");return this.addDomData(n),e.appendRowElement(n),this.eAllRowContainers.push(n),this.delayedDestroyFunctions.push(function(){e.removeRowElement(n)}),this.startRemoveAnimationFunctions.push(function(){if(s.Utils.addCssClass(n,\"ag-opacity-zero\"),s.Utils.exists(o.rowNode.rowTop)){var e=o.roundRowTopToBounds(o.rowNode.rowTop);o.setRowTop(e)}}),this.animateIn&&this.animateRowIn(n,t),n},t.prototype.animateRowIn=function(e,t){if(t){var o=this.roundRowTopToBounds(this.rowNode.oldRowTop);this.setRowTop(o),this.nextVmTurnFunctions.push(this.onTopChanged.bind(this))}else s.Utils.addCssClass(e,\"ag-opacity-zero\"),this.nextVmTurnFunctions.push(function(){return s.Utils.removeCssClass(e,\"ag-opacity-zero\")})},t.prototype.roundRowTopToBounds=function(e){var t=this.gridPanel.getVerticalPixelRange(),o=t.top-100,n=t.bottom+100;return e<o?o:e>n?n:e},t.prototype.onRowDblClick=function(e){var t=this.createEvent(e,this);this.mainEventService.dispatchEvent(u.Events.EVENT_ROW_DOUBLE_CLICKED,t)},t.prototype.onRowClick=function(e){var t=this.createEvent(e,this);this.mainEventService.dispatchEvent(u.Events.EVENT_ROW_CLICKED,t);var o=e.ctrlKey||e.metaKey,n=e.shiftKey;this.rowNode.group||this.rowNode.floating||this.gridOptionsWrapper.isRowSelection()&&(this.gridOptionsWrapper.isSuppressRowClickSelection()||(this.rowNode.isSelected()?o?this.gridOptionsWrapper.isRowDeselection()&&this.rowNode.setSelectedParams({newValue:!1}):this.rowNode.setSelectedParams({newValue:!0,clearSelection:!0}):this.rowNode.setSelectedParams({newValue:!0,clearSelection:!o,rangeSelect:n})))},t.prototype.getRowNode=function(){return this.rowNode},t.prototype.refreshCells=function(e,t){if(e){var o=this.columnController.getGridColumns(e);this.forEachRenderedCell(function(e){var n=e.getColumn();o.indexOf(n)>=0&&e.refreshCell(t)})}},t.prototype.addClassesFromRowClassFunc=function(){var e=this,t=[],o=this.gridOptionsWrapper.getRowClassFunc();if(o){var n={node:this.rowNode,data:this.rowNode.data,rowIndex:this.rowNode.rowIndex,context:this.gridOptionsWrapper.getContext(),api:this.gridOptionsWrapper.getApi()},i=o(n);i&&(\"string\"==typeof i?t.push(i):Array.isArray(i)&&i.forEach(function(e){t.push(e)}))}t.forEach(function(t){e.eAllRowContainers.forEach(function(e){return s.Utils.addCssClass(e,t)})})},t.prototype.addGridClasses=function(){var e=this,t=[];t.push(\"ag-row\"),t.push(\"ag-row-no-focus\"),this.gridOptionsWrapper.isAnimateRows()?t.push(\"ag-row-animation\"):t.push(\"ag-row-no-animation\"),this.rowNode.isSelected()&&t.push(\"ag-row-selected\"),this.rowNode.group?(t.push(\"ag-row-group\"),t.push(\"ag-row-level-\"+this.rowNode.level),this.rowNode.footer&&t.push(\"ag-row-footer\")):this.rowNode.parent?t.push(\"ag-row-level-\"+(this.rowNode.parent.level+1)):t.push(\"ag-row-level-0\"),this.fullWidthRow&&t.push(\"ag-full-width-row\"),t.forEach(function(t){e.eAllRowContainers.forEach(function(e){return s.Utils.addCssClass(e,t)})})},t.prototype.addExpandedAndContractedClasses=function(){var e=this;if(this.rowNode.group&&!this.rowNode.footer){var t=function(){var t=e.rowNode.expanded;e.eAllRowContainers.forEach(function(e){return s.Utils.addOrRemoveCssClass(e,\"ag-row-group-expanded\",t)}),e.eAllRowContainers.forEach(function(e){return s.Utils.addOrRemoveCssClass(e,\"ag-row-group-contracted\",!t)})};this.addDestroyableEventListener(this.rowNode,l.RowNode.EVENT_EXPANDED_CHANGED,t)}},t.prototype.addClassesFromRowClass=function(){var e=this,t=[],o=this.gridOptionsWrapper.getRowClass();o&&(\"function\"==typeof o?console.warn(\"ag-Grid: rowClass should not be a function, please use getRowClass instead\"):\"string\"==typeof o?t.push(o):Array.isArray(o)&&o.forEach(function(e){t.push(e)})),t.forEach(function(t){e.eAllRowContainers.forEach(function(e){return s.Utils.addCssClass(e,t)})})},t}(E.BeanStub);R.EVENT_RENDERED_ROW_REMOVED=\"renderedRowRemoved\",i([g.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",p.GridOptionsWrapper)],R.prototype,\"gridOptionsWrapper\",void 0),i([g.Autowired(\"columnController\"),r(\"design:type\",d.ColumnController)],R.prototype,\"columnController\",void 0),i([g.Autowired(\"columnAnimationService\"),r(\"design:type\",w.ColumnAnimationService)],R.prototype,\"columnAnimationService\",void 0),i([g.Autowired(\"$compile\"),r(\"design:type\",Object)],R.prototype,\"$compile\",void 0),i([g.Autowired(\"eventService\"),r(\"design:type\",h.EventService)],R.prototype,\"mainEventService\",void 0),i([g.Autowired(\"context\"),r(\"design:type\",g.Context)],R.prototype,\"context\",void 0),i([g.Autowired(\"focusedCellController\"),r(\"design:type\",f.FocusedCellController)],R.prototype,\"focusedCellController\",void 0),i([g.Autowired(\"cellRendererService\"),r(\"design:type\",v.CellRendererService)],R.prototype,\"cellRendererService\",void 0),i([g.Autowired(\"gridPanel\"),r(\"design:type\",C.GridPanel)],R.prototype,\"gridPanel\",void 0),i([g.Autowired(\"paginationProxy\"),r(\"design:type\",b.PaginationProxy)],R.prototype,\"paginationProxy\",void 0),i([g.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],R.prototype,\"init\",null),t.RenderedRow=R},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(9),a=o(18),l=o(30),p=o(5),d=o(21),c=o(26),u=o(43),h=o(16),g=o(32),f=o(6),y=o(10),v=o(12),m=o(8),C=o(13),E=o(36),w=o(37),b=o(46),R=o(68),A=o(52),S=o(49),O=o(75),x=o(79),P=o(80),D=o(81),T=o(64),N=o(82),F=o(83),_=o(84),G=o(65),M=function(e){function t(t,o,n,i){var r=e.call(this,\"<div/>\")||this;return r.cellFocused=null,r.firstRightPinned=!1,r.lastLeftPinned=!1,r.eGridCell=r.getGui(),r.column=t,r.node=o,r.scope=n,r.renderedRow=i,r.setupGridCell(),r}return n(t,e),t.prototype.createGridCell=function(){var e={rowIndex:this.node.rowIndex,floating:this.node.floating,column:this.column};this.gridCell=new w.GridCell(e)},t.prototype.setupGridCell=function(){var e=this,t=function(){e.createGridCell(),e.checkCellFocused()};this.addDestroyableEventListener(this.node,l.RowNode.EVENT_ROW_INDEX_CHANGED,t),this.createGridCell()},t.prototype.getGridCell=function(){return this.gridCell},t.prototype.setFocusInOnEditor=function(){this.editingCell&&this.cellEditor&&this.cellEditor.focusIn&&this.cellEditor.focusIn()},t.prototype.setFocusOutOnEditor=function(){this.editingCell&&this.cellEditor&&this.cellEditor.focusOut&&this.cellEditor.focusOut()},t.prototype.destroy=function(){e.prototype.destroy.call(this),this.eParentRow&&(this.eParentRow.removeChild(this.getGui()),this.eParentRow=null),this.cellEditor&&this.cellEditor.destroy&&this.cellEditor.destroy(),this.cellRenderer&&this.cellRenderer.destroy&&this.cellRenderer.destroy()},t.prototype.setPinnedClasses=function(){var e=this,t=function(){e.firstRightPinned!==e.column.isFirstRightPinned()&&(e.firstRightPinned=e.column.isFirstRightPinned(),s.Utils.addOrRemoveCssClass(e.eGridCell,\"ag-cell-first-right-pinned\",e.firstRightPinned)),e.lastLeftPinned!==e.column.isLastLeftPinned()&&(e.lastLeftPinned=e.column.isLastLeftPinned(),s.Utils.addOrRemoveCssClass(e.eGridCell,\"ag-cell-last-left-pinned\",e.lastLeftPinned))};this.addDestroyableEventListener(this.column,a.Column.EVENT_FIRST_RIGHT_PINNED_CHANGED,t),this.addDestroyableEventListener(this.column,a.Column.EVENT_LAST_LEFT_PINNED_CHANGED,t),t()},t.prototype.getParentRow=function(){return this.eParentRow},t.prototype.setParentRow=function(e){this.eParentRow=e},t.prototype.setupCheckboxSelection=function(){var e=this.column.getColDef();this.node.floating?this.usingWrapper=!1:\"boolean\"==typeof e.checkboxSelection?this.usingWrapper=e.checkboxSelection:\"function\"==typeof e.checkboxSelection?this.usingWrapper=!0:this.usingWrapper=!1},t.prototype.getColumn=function(){return this.column},t.prototype.getValue=function(){var e=this.getDataForRow();return this.valueService.getValueUsingSpecificData(this.column,e,this.node)},t.prototype.getDataForRow=function(){if(this.node.footer)return this.node.data;if(this.node.group){var e=this.gridOptionsWrapper.isGroupIncludeFooter(),t=this.gridOptionsWrapper.isGroupSuppressBlankHeader();return this.node.expanded&&e&&!t?void 0:this.node.data}return this.node.data},t.prototype.addRangeSelectedListener=function(){var e=this;if(this.rangeController){var t=0,o=function(){var o=e.rangeController.getCellRangeCount(e.gridCell);t!==o&&(s.Utils.addOrRemoveCssClass(e.eGridCell,\"ag-cell-range-selected\",0!==o),s.Utils.addOrRemoveCssClass(e.eGridCell,\"ag-cell-range-selected-1\",1===o),s.Utils.addOrRemoveCssClass(e.eGridCell,\"ag-cell-range-selected-2\",2===o),s.Utils.addOrRemoveCssClass(e.eGridCell,\"ag-cell-range-selected-3\",3===o),s.Utils.addOrRemoveCssClass(e.eGridCell,\"ag-cell-range-selected-4\",o>=4),t=o)};this.eventService.addEventListener(v.Events.EVENT_RANGE_SELECTION_CHANGED,o),this.addDestroyFunc(function(){e.eventService.removeEventListener(v.Events.EVENT_RANGE_SELECTION_CHANGED,o)}),o()}},t.prototype.addHighlightListener=function(){var e=this;if(this.rangeController){var t=function(t){var o=e.gridCell.createId();t.cells[o]&&e.animateCellWithHighlight()};this.eventService.addEventListener(v.Events.EVENT_FLASH_CELLS,t),this.addDestroyFunc(function(){e.eventService.removeEventListener(v.Events.EVENT_FLASH_CELLS,t)})}},t.prototype.addChangeListener=function(){var e=this,t=function(t){t.column===e.column&&(e.refreshCell(),e.animateCellWithDataChanged())};this.addDestroyableEventListener(this.node,l.RowNode.EVENT_CELL_CHANGED,t)},t.prototype.animateCellWithDataChanged=function(){(this.gridOptionsWrapper.isEnableCellChangeFlash()||this.column.getColDef().enableCellChangeFlash)&&this.animateCell(\"data-changed\")},t.prototype.animateCellWithHighlight=function(){this.animateCell(\"highlight\")},t.prototype.animateCell=function(e){var t=this,o=\"ag-cell-\"+e,n=\"ag-cell-\"+e+\"-animation\";s.Utils.addCssClass(this.eGridCell,o),s.Utils.removeCssClass(this.eGridCell,n),setTimeout(function(){s.Utils.removeCssClass(t.eGridCell,o),s.Utils.addCssClass(t.eGridCell,n),setTimeout(function(){s.Utils.removeCssClass(t.eGridCell,n)},1e3)},500)},t.prototype.addCellFocusedListener=function(){var e=this,t=this.checkCellFocused.bind(this);this.eventService.addEventListener(v.Events.EVENT_CELL_FOCUSED,t),this.addDestroyFunc(function(){e.eventService.removeEventListener(v.Events.EVENT_CELL_FOCUSED,t)}),t()},t.prototype.checkCellFocused=function(e){var t=this.focusedCellController.isCellFocused(this.gridCell);t!==this.cellFocused&&(s.Utils.addOrRemoveCssClass(this.eGridCell,\"ag-cell-focus\",t),s.Utils.addOrRemoveCssClass(this.eGridCell,\"ag-cell-no-focus\",!t),this.cellFocused=t),t&&e&&e.forceBrowserFocus&&this.eGridCell.focus();var o=this.gridOptionsWrapper.isFullRowEdit();t||o||!this.editingCell||this.stopRowOrCellEdit()},t.prototype.setWidthOnCell=function(){var e=this,t=function(){e.eGridCell.style.width=e.column.getActualWidth()+\"px\"};this.column.addEventListener(a.Column.EVENT_WIDTH_CHANGED,t),this.addDestroyFunc(function(){e.column.removeEventListener(a.Column.EVENT_WIDTH_CHANGED,t)}),t()},t.prototype.init=function(){this.value=this.getValue(),this.setupCheckboxSelection(),this.setWidthOnCell(),this.setPinnedClasses(),this.addRangeSelectedListener(),this.addHighlightListener(),this.addChangeListener(),this.addCellFocusedListener(),this.addColumnHoverListener(),this.addDomData(),this.addFeature(this.context,new T.SetLeftFeature(this.column,this.eGridCell)),this.gridOptionsWrapper.isSuppressCellSelection()||this.eGridCell.setAttribute(\"tabindex\",\"-1\"),this.addClasses(),this.setInlineEditingClass(),this.createParentOfValue(),this.populateCell()},t.prototype.addColumnHoverListener=function(){this.addDestroyableEventListener(this.eventService,v.Events.EVENT_COLUMN_HOVER_CHANGED,this.onColumnHover.bind(this)),this.onColumnHover()},t.prototype.onColumnHover=function(){var e=this.columnHoverService.isHovered(this.column);s.Utils.addOrRemoveCssClass(this.getGui(),\"ag-column-hover\",e)},t.prototype.addDomData=function(){var e=this.gridOptionsWrapper.getDomDataKey(),t=this.eGridCell;t[e]={renderedCell:this},this.addDestroyFunc(function(){return t[e]=null})},t.prototype.onEnterKeyDown=function(){this.editingCell?(this.stopRowOrCellEdit(),this.focusCell(!0)):this.startRowOrCellEdit(y.Constants.KEY_ENTER)},t.prototype.onF2KeyDown=function(){this.editingCell||this.startRowOrCellEdit(y.Constants.KEY_F2)},t.prototype.onEscapeKeyDown=function(){this.editingCell&&(this.stopRowOrCellEdit(!0),this.focusCell(!0))},t.prototype.onPopupEditorClosed=function(){this.editingCell&&(this.stopRowOrCellEdit(),this.focusedCellController.isCellFocused(this.gridCell)&&this.focusCell(!0))},t.prototype.isEditing=function(){return this.editingCell},t.prototype.onTabKeyDown=function(e){this.gridOptionsWrapper.isSuppressTabbing()||this.rowRenderer.onTabKeyDown(this,e)},t.prototype.onBackspaceOrDeleteKeyPressed=function(e){this.editingCell||this.startRowOrCellEdit(e)},t.prototype.onSpaceKeyPressed=function(e){if(!this.editingCell&&this.gridOptionsWrapper.isRowSelection()){var t=this.node.isSelected();this.node.setSelected(!t)}e.preventDefault()},t.prototype.onNavigationKeyPressed=function(e,t){this.editingCell&&this.stopRowOrCellEdit(),this.rowRenderer.navigateToNextCell(e,t,this.gridCell.rowIndex,this.column,this.node.floating),e.preventDefault()},t.prototype.onKeyPress=function(e){if(s.Utils.getTarget(e)===this.getGui()&&!this.editingCell){var o=String.fromCharCode(e.charCode);\" \"===o?this.onSpaceKeyPressed(e):t.PRINTABLE_CHARACTERS.indexOf(o)>=0&&(this.startRowOrCellEdit(null,o),e.preventDefault())}},t.prototype.onKeyDown=function(e){var t=e.which||e.keyCode;switch(t){case y.Constants.KEY_ENTER:this.onEnterKeyDown();break;case y.Constants.KEY_F2:this.onF2KeyDown();break;case y.Constants.KEY_ESCAPE:this.onEscapeKeyDown();break;case y.Constants.KEY_TAB:this.onTabKeyDown(e);break;case y.Constants.KEY_BACKSPACE:case y.Constants.KEY_DELETE:this.onBackspaceOrDeleteKeyPressed(t);break;case y.Constants.KEY_DOWN:case y.Constants.KEY_UP:case y.Constants.KEY_RIGHT:case y.Constants.KEY_LEFT:this.onNavigationKeyPressed(e,t)}},t.prototype.createCellEditorParams=function(e,t,o){var n={value:this.getValue(),keyPress:e,charPress:t,column:this.column,rowIndex:this.gridCell.rowIndex,node:this.node,api:this.gridOptionsWrapper.getApi(),cellStartedEdit:o,columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext(),$scope:this.scope,onKeyDown:this.onKeyDown.bind(this),stopEditing:this.stopEditingAndFocus.bind(this),eGridCell:this.eGridCell},i=this.column.getColDef();return i.cellEditorParams&&s.Utils.assign(n,i.cellEditorParams),n},t.prototype.createCellEditor=function(e,t,o){var n=this.createCellEditorParams(e,t,o);return this.cellEditorFactory.createCellEditor(this.column.getCellEditor(),n)},t.prototype.stopEditingAndFocus=function(){this.stopRowOrCellEdit(),this.focusCell(!0)},t.prototype.startRowOrCellEdit=function(e,t){this.gridOptionsWrapper.isFullRowEdit()?this.renderedRow.startRowEditing(e,t,this):this.startEditingIfEnabled(e,t,!0)},t.prototype.startEditingIfEnabled=function(e,t,o){if(void 0===e&&(e=null),void 0===t&&(t=null),void 0===o&&(o=!1),this.isCellEditable()&&!this.editingCell){var n=this.createCellEditor(e,t,o);return n.isCancelBeforeStart&&n.isCancelBeforeStart()?(n.destroy&&n.destroy(),!1):n.getGui?(this.cellEditor=n,this.editingCell=!0,this.cellEditorInPopup=this.cellEditor.isPopup&&this.cellEditor.isPopup(),this.setInlineEditingClass(),this.cellEditorInPopup?this.addPopupCellEditor():this.addInCellEditor(),n.afterGuiAttached&&n.afterGuiAttached(),this.eventService.dispatchEvent(v.Events.EVENT_CELL_EDITING_STARTED,this.createParams()),!0):(console.warn(\"ag-Grid: cellEditor for column \"+this.column.getId()+\" is missing getGui() method\"),n.render&&console.warn(\"ag-Grid: we found 'render' on the component, are you trying to set a React renderer but added it as colDef.cellEditor instead of colDef.cellEditorFmk?\"),!1)}},t.prototype.addInCellEditor=function(){s.Utils.removeAllChildren(this.eGridCell),this.eGridCell.appendChild(this.cellEditor.getGui()),this.gridOptionsWrapper.isAngularCompileRows()&&this.$compile(this.eGridCell)(this.scope)},t.prototype.addPopupCellEditor=function(){var e=this,t=this.cellEditor.getGui();this.hideEditorPopup=this.popupService.addAsModalPopup(t,!0,function(){e.onPopupEditorClosed()}),this.popupService.positionPopupOverComponent({eventSource:this.eGridCell,ePopup:t,keepWithinBounds:!0}),this.gridOptionsWrapper.isAngularCompileRows()&&this.$compile(t)(this.scope)},t.prototype.focusCell=function(e){void 0===e&&(e=!1),this.focusedCellController.setFocusedCell(this.gridCell.rowIndex,this.column,this.node.floating,e)},t.prototype.stopRowOrCellEdit=function(e){void 0===e&&(e=!1),this.gridOptionsWrapper.isFullRowEdit()?this.renderedRow.stopRowEditing(e):this.stopEditing(e)},t.prototype.stopEditing=function(e){if(void 0===e&&(e=!1),this.editingCell){if(this.editingCell=!1,!e){if(!(this.cellEditor.isCancelAfterEnd&&this.cellEditor.isCancelAfterEnd())){var t=this.cellEditor.getValue();this.valueService.setValue(this.node,this.column,t),this.value=this.getValue()}}this.cellEditor.destroy&&this.cellEditor.destroy(),this.cellEditorInPopup?(this.hideEditorPopup(),this.hideEditorPopup=null):(s.Utils.removeAllChildren(this.eGridCell),this.usingWrapper?this.eGridCell.appendChild(this.eCellWrapper):this.cellRenderer&&this.eGridCell.appendChild(this.cellRenderer.getGui())),this.setInlineEditingClass(),this.refreshCell(),this.eventService.dispatchEvent(v.Events.EVENT_CELL_EDITING_STOPPED,this.createParams())}},t.prototype.createParams=function(){return{node:this.node,data:this.node.data,value:this.value,rowIndex:this.gridCell.rowIndex,column:this.column,colDef:this.column.getColDef(),$scope:this.scope,context:this.gridOptionsWrapper.getContext(),api:this.gridApi,columnApi:this.columnApi}},t.prototype.createEvent=function(e){var t=this.createParams();return t.event=e,t},t.prototype.getRenderedRow=function(){return this.renderedRow},t.prototype.isSuppressNavigable=function(){return this.column.isSuppressNavigable(this.node)},t.prototype.isCellEditable=function(){return!(this.node.group&&!this.gridOptionsWrapper.isEnableGroupEdit())&&this.column.isCellEditable(this.node)},t.prototype.onMouseEvent=function(e,t){switch(e){case\"click\":this.onCellClicked(t);break;case\"mousedown\":this.onMouseDown();break;case\"dblclick\":this.onCellDoubleClicked(t);break;case\"contextmenu\":this.onContextMenu(t);break;case\"mouseout\":this.onMouseOut(t);break;case\"mouseover\":this.onMouseOver(t)}},t.prototype.onMouseOut=function(e){var t=this.createEvent(e);this.eventService.dispatchEvent(v.Events.EVENT_CELL_MOUSE_OUT,t)},t.prototype.onMouseOver=function(e){var t=this.createEvent(e);this.eventService.dispatchEvent(v.Events.EVENT_CELL_MOUSE_OVER,t)},t.prototype.onContextMenu=function(e){if(this.gridOptionsWrapper.isAllowContextMenuWithControlKey()||!e.ctrlKey&&!e.metaKey){var t=this.column.getColDef(),o=this.createEvent(e);this.eventService.dispatchEvent(v.Events.EVENT_CELL_CONTEXT_MENU,o),t.onCellContextMenu&&t.onCellContextMenu(o),this.contextMenuFactory&&!this.gridOptionsWrapper.isSuppressContextMenu()&&(this.contextMenuFactory.showMenu(this.node,this.column,this.value,e),e.preventDefault())}},t.prototype.onCellDoubleClicked=function(e){var t=this.column.getColDef(),o=this.createEvent(e);this.eventService.dispatchEvent(v.Events.EVENT_CELL_DOUBLE_CLICKED,o),\"function\"==typeof t.onCellDoubleClicked&&t.onCellDoubleClicked(o),!this.gridOptionsWrapper.isSingleClickEdit()&&!this.gridOptionsWrapper.isSuppressClickEdit()&&this.startRowOrCellEdit()},t.prototype.onMouseDown=function(){if(this.focusCell(!1),this.rangeController){var e=this.gridCell;this.rangeController.isCellInAnyRange(e)||this.rangeController.setRangeToCell(e)}},t.prototype.onCellClicked=function(e){var t=this.createEvent(e);this.eventService.dispatchEvent(v.Events.EVENT_CELL_CLICKED,t);var o=this.column.getColDef();o.onCellClicked&&o.onCellClicked(t),this.gridOptionsWrapper.isSingleClickEdit()&&!this.gridOptionsWrapper.isSuppressClickEdit()&&this.startRowOrCellEdit(),this.doIeFocusHack()},t.prototype.doIeFocusHack=function(){(s.Utils.isBrowserIE()||s.Utils.isBrowserEdge())&&(s.Utils.missing(document.activeElement)||document.activeElement===document.body)&&this.getGui().focus()},t.prototype.setInlineEditingClass=function(){var e=this.editingCell&&!this.cellEditorInPopup;s.Utils.addOrRemoveCssClass(this.eGridCell,\"ag-cell-inline-editing\",e),s.Utils.addOrRemoveCssClass(this.eGridCell,\"ag-cell-not-inline-editing\",!e)},t.prototype.populateCell=function(){this.putDataIntoCell(),this.addStylesFromColDef(),this.addClassesFromColDef(),this.addClassesFromRules()},t.prototype.addStylesFromColDef=function(){var e=this.column.getColDef();if(e.cellStyle){var t;if(\"function\"==typeof e.cellStyle){var o={value:this.value,data:this.node.data,node:this.node,colDef:e,column:this.column,$scope:this.scope,context:this.gridOptionsWrapper.getContext(),api:this.gridOptionsWrapper.getApi()};t=(0,e.cellStyle)(o)}else t=e.cellStyle;t&&s.Utils.addStylesToElement(this.eGridCell,t)}},t.prototype.addClassesFromColDef=function(){var e=this;this.stylingService.processStaticCellClasses(this.column.getColDef(),{value:this.value,data:this.node.data,node:this.node,colDef:this.column.getColDef(),rowIndex:this.gridCell.rowIndex,$scope:this.scope,api:this.gridOptionsWrapper.getApi(),context:this.gridOptionsWrapper.getContext()},function(t){s.Utils.addCssClass(e.eGridCell,t)})},t.prototype.createParentOfValue=function(){if(this.usingWrapper){this.eCellWrapper=document.createElement(\"span\"),s.Utils.addCssClass(this.eCellWrapper,\"ag-cell-wrapper\"),this.eGridCell.appendChild(this.eCellWrapper);var e=new D.CheckboxSelectionComponent;this.context.wireBean(e);var t=this.column.getColDef().checkboxSelection;t=\"function\"==typeof t?t:null,e.init({rowNode:this.node,column:this.column,visibleFunc:t}),this.addDestroyFunc(function(){return e.destroy()}),this.eSpanWithValue=document.createElement(\"span\"),s.Utils.addCssClass(this.eSpanWithValue,\"ag-cell-value\"),this.eCellWrapper.appendChild(e.getGui()),this.eCellWrapper.appendChild(this.eSpanWithValue),this.eParentOfValue=this.eSpanWithValue}else s.Utils.addCssClass(this.eGridCell,\"ag-cell-value\"),this.eParentOfValue=this.eGridCell},t.prototype.isVolatile=function(){return this.column.getColDef().volatile},t.prototype.refreshCell=function(e,t){function o(){var e=r.formatValue(r.value),t=r.column.getColDef().cellRendererParams,o=r.createRendererAndRefreshParams(e,t);r.cellRenderer.refresh(o)}function n(){s.Utils.removeAllChildren(r.eParentOfValue),r.cellRenderer&&r.cellRenderer.destroy&&r.cellRenderer.destroy(),r.cellRenderer=null,r.populateCell(),r.gridOptionsWrapper.isAngularCompileRows()&&r.$compile(r.eGridCell)(r.scope)}void 0===e&&(e=!1),void 0===t&&(t=!1),this.value=this.getValue();var i=!1,r=this,a=!t&&this.cellRenderer&&this.cellRenderer.refresh;if(a)try{o()}catch(e){if(!(e instanceof N.MethodNotImplementedException))throw e;i=!0}a&&!i||n(),e&&this.animateCellWithDataChanged(),this.addClassesFromRules()},t.prototype.addClassesFromRules=function(){var e=this;this.stylingService.processCellClassRules(this.column.getColDef(),{value:this.value,data:this.node.data,node:this.node,colDef:this.column.getColDef(),rowIndex:this.gridCell.rowIndex,api:this.gridOptionsWrapper.getApi(),context:this.gridOptionsWrapper.getContext()},function(t){s.Utils.addCssClass(e.eGridCell,t)},function(t){s.Utils.removeCssClass(e.eGridCell,t)})},t.prototype.putDataIntoCell=function(){var e=this.column.getColDef(),t=this.column.getCellRenderer(),o=this.column.getFloatingCellRenderer(),n=this.valueFormatterService.formatValue(this.column,this.node,this.scope,this.gridCell.rowIndex,this.value);if(e.template)this.eParentOfValue.innerHTML=e.template;else if(e.templateUrl){var i=this.templateService.getTemplate(e.templateUrl,this.refreshCell.bind(this,!0));i&&(this.eParentOfValue.innerHTML=i)}else if(o&&this.node.floating)this.useCellRenderer(o,e.floatingCellRendererParams,n);else if(t)this.useCellRenderer(t,e.cellRendererParams,n);else{var r=null!==n&&void 0!==n,a=r?n:this.value;s.Utils.exists(a)&&\"\"!==a&&(this.eParentOfValue.textContent=a.toString())}if(e.tooltipField){var l=this.getDataForRow();if(s.Utils.exists(l)){var p=s.Utils.getValueUsingField(l,e.tooltipField,this.column.isTooltipFieldContainsDots());s.Utils.exists(p)&&this.eParentOfValue.setAttribute(\"title\",p)}}},t.prototype.formatValue=function(e){return this.valueFormatterService.formatValue(this.column,this.node,this.scope,this.gridCell.rowIndex,e)},t.prototype.createRendererAndRefreshParams=function(e,t){var o={value:this.value,valueFormatted:e,valueGetter:this.getValue,formatValue:this.formatValue.bind(this),data:this.node.data,node:this.node,colDef:this.column.getColDef(),column:this.column,$scope:this.scope,rowIndex:this.gridCell.rowIndex,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext(),refreshCell:this.refreshCell.bind(this),eGridCell:this.eGridCell,eParentOfValue:this.eParentOfValue,addRenderedRowListener:this.renderedRow.addEventListener.bind(this.renderedRow)};return t&&s.Utils.assign(o,t),o},t.prototype.useCellRenderer=function(e,t,o){var n=this.createRendererAndRefreshParams(o,t);this.cellRenderer=this.cellRendererService.useCellRenderer(e,this.eParentOfValue,n)},t.prototype.addClasses=function(){s.Utils.addCssClass(this.eGridCell,\"ag-cell\"),this.eGridCell.setAttribute(\"colId\",this.column.getColId()),this.node.group&&this.node.footer&&s.Utils.addCssClass(this.eGridCell,\"ag-footer-cell\"),this.node.group&&!this.node.footer&&s.Utils.addCssClass(this.eGridCell,\"ag-group-cell\")},t}(A.Component);M.PRINTABLE_CHARACTERS=\"qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM1234567890!\\\"£$%^&*()_+-=[];'#,./|<>?:@~{}\",i([m.Autowired(\"context\"),r(\"design:type\",m.Context)],M.prototype,\"context\",void 0),i([m.Autowired(\"columnApi\"),r(\"design:type\",h.ColumnApi)],M.prototype,\"columnApi\",void 0),i([m.Autowired(\"gridApi\"),r(\"design:type\",C.GridApi)],M.prototype,\"gridApi\",void 0),i([m.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",p.GridOptionsWrapper)],M.prototype,\"gridOptionsWrapper\",void 0),i([m.Autowired(\"expressionService\"),r(\"design:type\",d.ExpressionService)],M.prototype,\"expressionService\",void 0),i([m.Autowired(\"rowRenderer\"),r(\"design:type\",c.RowRenderer)],M.prototype,\"rowRenderer\",void 0),i([m.Autowired(\"$compile\"),r(\"design:type\",Object)],M.prototype,\"$compile\",void 0),i([m.Autowired(\"templateService\"),r(\"design:type\",u.TemplateService)],M.prototype,\"templateService\",void 0),i([m.Autowired(\"valueService\"),r(\"design:type\",g.ValueService)],M.prototype,\"valueService\",void 0),i([m.Autowired(\"eventService\"),r(\"design:type\",f.EventService)],M.prototype,\"eventService\",void 0),i([m.Autowired(\"columnController\"),r(\"design:type\",h.ColumnController)],M.prototype,\"columnController\",void 0),i([m.Autowired(\"columnAnimationService\"),r(\"design:type\",G.ColumnAnimationService)],M.prototype,\"columnAnimationService\",void 0),i([m.Optional(\"rangeController\"),r(\"design:type\",Object)],M.prototype,\"rangeController\",void 0),i([m.Autowired(\"focusedCellController\"),r(\"design:type\",E.FocusedCellController)],M.prototype,\"focusedCellController\",void 0),i([m.Optional(\"contextMenuFactory\"),r(\"design:type\",Object)],M.prototype,\"contextMenuFactory\",void 0),i([m.Autowired(\"focusService\"),r(\"design:type\",b.FocusService)],M.prototype,\"focusService\",void 0),i([m.Autowired(\"cellEditorFactory\"),r(\"design:type\",R.CellEditorFactory)],M.prototype,\"cellEditorFactory\",void 0),i([m.Autowired(\"cellRendererFactory\"),r(\"design:type\",O.CellRendererFactory)],M.prototype,\"cellRendererFactory\",void 0),i([m.Autowired(\"popupService\"),r(\"design:type\",S.PopupService)],M.prototype,\"popupService\",void 0),i([m.Autowired(\"cellRendererService\"),r(\"design:type\",x.CellRendererService)],M.prototype,\"cellRendererService\",void 0),i([m.Autowired(\"valueFormatterService\"),r(\"design:type\",P.ValueFormatterService)],M.prototype,\"valueFormatterService\",void 0),i([m.Autowired(\"stylingService\"),r(\"design:type\",F.StylingService)],M.prototype,\"stylingService\",void 0),i([m.Autowired(\"columnHoverService\"),r(\"design:type\",_.ColumnHoverService)],M.prototype,\"columnHoverService\",void 0),i([m.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],M.prototype,\"init\",null),t.RenderedCell=M},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(8),s=o(9),a=o(47),l=o(16),p=o(10),d=o(37),c=function(){function e(){this.destroyMethods=[],this.listeners=[]}return e.prototype.addListener=function(e){this.listeners.push(e)},e.prototype.removeListener=function(e){s.Utils.removeFromArray(this.listeners,e)},e.prototype.init=function(){var e=this.onFocus.bind(this),t=this.gridCore.getRootGui();t.addEventListener(\"focus\",e,!0),this.destroyMethods.push(function(){t.removeEventListener(\"focus\",e)})},e.prototype.onFocus=function(e){var t=this.getCellForFocus(e);t&&this.informListeners({gridCell:t})},e.prototype.getCellForFocus=function(e){function t(e){var t=s.Utils.getElementAttribute(e,\"row\");s.Utils.exists(t)&&s.Utils.containsClass(e,\"ag-row\")&&(0===t.indexOf(\"ft\")?(r=p.Constants.FLOATING_TOP,t=t.substr(3)):0===t.indexOf(\"fb\")?(r=p.Constants.FLOATING_BOTTOM,t=t.substr(3)):r=null,i=parseInt(t))}function o(e){var t=s.Utils.getElementAttribute(e,\"colid\");if(s.Utils.exists(t)&&s.Utils.containsClass(e,\"ag-cell\")){var o=a.columnController.getGridColumn(t);o&&(n=o)}}for(var n=null,i=null,r=null,a=this,l=e.target;l;)t(l),o(l),l=l.parentNode;if(s.Utils.exists(n)&&s.Utils.exists(i)){return new d.GridCell({rowIndex:i,floating:r,column:n})}return null},e.prototype.informListeners=function(e){this.listeners.forEach(function(t){return t(e)})},e.prototype.destroy=function(){this.destroyMethods.forEach(function(e){return e()})},e}();n([r.Autowired(\"gridCore\"),i(\"design:type\",a.GridCore)],c.prototype,\"gridCore\",void 0),n([r.Autowired(\"columnController\"),i(\"design:type\",l.ColumnController)],c.prototype,\"columnController\",void 0),n([r.PostConstruct,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],c.prototype,\"init\",null),n([r.PreDestroy,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],c.prototype,\"destroy\",null),c=n([r.Bean(\"focusService\")],c),t.FocusService=c},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},r=this&&this.__param||function(e,t){return function(o,n){t(o,n,e)}};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(5),a=o(16),l=o(26),p=o(48),d=o(6),c=o(27),u=o(7),h=o(10),g=o(49),f=o(12),y=o(9),v=o(33),m=o(8),C=o(36),E=o(52),w=o(66),b=function(){function e(e){this.destroyFunctions=[],this.logger=e.create(\"GridCore\")}return e.prototype.init=function(){var e,t,o=this,n=this.createSouthPanel();this.toolPanel&&!this.gridOptionsWrapper.isForPrint()&&(this.gridOptionsWrapper.isEnableRtl()?t=this.toolPanel.getGui():e=this.toolPanel.getGui());var i=this.createNorthPanel();this.eRootPanel=new v.BorderLayout({center:this.gridPanel.getLayout(),east:e,west:t,north:i,south:n,dontFill:this.gridOptionsWrapper.isForPrint(),name:\"eRootPanel\"}),this.showToolPanel(this.gridOptionsWrapper.isShowToolPanel()),this.eGridDiv.appendChild(this.eRootPanel.getGui()),this.$scope&&this.$scope.$watch(this.quickFilterOnScope,function(e){return o.filterManager.setQuickFilter(e)}),this.gridOptionsWrapper.isForPrint()||this.addWindowResizeListener(),this.addRtlSupport(),this.doLayout(),this.finished=!1,this.periodicallyDoLayout(),this.eventService.addEventListener(f.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,this.onRowGroupChanged.bind(this)),this.eventService.addEventListener(f.Events.EVENT_COLUMN_EVERYTHING_CHANGED,this.onRowGroupChanged.bind(this)),this.onRowGroupChanged(),this.logger.log(\"ready\")},e.prototype.addRtlSupport=function(){this.gridOptionsWrapper.isEnableRtl()?y.Utils.addCssClass(this.eRootPanel.getGui(),\"ag-rtl\"):y.Utils.addCssClass(this.eRootPanel.getGui(),\"ag-ltr\")},e.prototype.createNorthPanel=function(){var e=this;if(!this.gridOptionsWrapper.isEnterprise())return null;var t=document.createElement(\"div\"),o=this.onDropPanelVisible.bind(this);return this.rowGroupComp=this.rowGroupCompFactory.create(),this.pivotComp=this.pivotCompFactory.create(),t.appendChild(this.rowGroupComp.getGui()),t.appendChild(this.pivotComp.getGui()),this.rowGroupComp.addEventListener(E.Component.EVENT_VISIBLE_CHANGED,o),this.pivotComp.addEventListener(E.Component.EVENT_VISIBLE_CHANGED,o),this.destroyFunctions.push(function(){e.rowGroupComp.removeEventListener(E.Component.EVENT_VISIBLE_CHANGED,o),e.pivotComp.removeEventListener(E.Component.EVENT_VISIBLE_CHANGED,o)}),this.onDropPanelVisible(),t},e.prototype.onDropPanelVisible=function(){var e=this.rowGroupComp.isVisible()&&this.pivotComp.isVisible();this.rowGroupComp.addOrRemoveCssClass(\"ag-width-half\",e),this.pivotComp.addOrRemoveCssClass(\"ag-width-half\",e)},e.prototype.getRootGui=function(){return this.eRootPanel.getGui()},e.prototype.createSouthPanel=function(){!this.statusBar&&this.gridOptionsWrapper.isEnableStatusBar()&&console.warn(\"ag-Grid: status bar is only available in ag-Grid-Enterprise\");var e=this.statusBar&&this.gridOptionsWrapper.isEnableStatusBar(),t=this.gridOptionsWrapper.isPagination()||this.gridOptionsWrapper.isRowModelServerPagination(),o=t&&!this.gridOptionsWrapper.isForPrint()&&!this.gridOptionsWrapper.isSuppressPaginationPanel();if(!e&&!o)return null;var n=document.createElement(\"div\");if(e&&n.appendChild(this.statusBar.getGui()),o){var i=new w.PaginationComp;this.context.wireBean(i),n.appendChild(i.getGui()),this.destroyFunctions.push(i.destroy.bind(i))}return n},e.prototype.onRowGroupChanged=function(){if(this.rowGroupComp){var e=this.gridOptionsWrapper.getRowGroupPanelShow();if(e===h.Constants.ALWAYS)this.rowGroupComp.setVisible(!0);else if(e===h.Constants.ONLY_WHEN_GROUPING){var t=!this.columnController.isRowGroupEmpty();this.rowGroupComp.setVisible(t)}else this.rowGroupComp.setVisible(!1);this.eRootPanel.doLayout()}},e.prototype.addWindowResizeListener=function(){var e=this.doLayout.bind(this);window.addEventListener(\"resize\",e),this.destroyFunctions.push(function(){return window.removeEventListener(\"resize\",e)})},e.prototype.periodicallyDoLayout=function(){var e=this;if(!this.finished){var t=this.gridOptionsWrapper.getLayoutInterval();t>0?this.frameworkFactory.setTimeout(function(){e.doLayout(),e.gridPanel.periodicallyCheck(),e.periodicallyDoLayout()},t):this.frameworkFactory.setTimeout(function(){e.periodicallyDoLayout()},5e3)}},e.prototype.showToolPanel=function(e){if(e&&!this.toolPanel)return console.warn(\"ag-Grid: toolPanel is only available in ag-Grid Enterprise\"),void(this.toolPanelShowing=!1);this.toolPanelShowing=e,this.toolPanel&&(this.toolPanel.setVisible(e),this.eRootPanel.doLayout())},e.prototype.isToolPanelShowing=function(){return this.toolPanelShowing},e.prototype.destroy=function(){this.finished=!0,this.eGridDiv.removeChild(this.eRootPanel.getGui()),this.logger.log(\"Grid DOM removed\"),this.destroyFunctions.forEach(function(e){return e()})},e.prototype.ensureNodeVisible=function(e){if(this.doingVirtualPaging)throw\"Cannot use ensureNodeVisible when doing virtual paging, as we cannot check rows that are not in memory\";for(var t=this.rowModel.getPageLastRow()+1,o=\"function\"==typeof e,n=-1,i=0;i<t;i++){var r=this.rowModel.getRow(i);if(o){if(e(r)){n=i;break}}else if(e===r||e===r.data){n=i;break}}n>=0&&this.gridPanel.ensureIndexVisible(n)},e.prototype.doLayout=function(){var e=this.eRootPanel.doLayout();if(e&&this.eRootPanel.doLayout(),e){this.rowRenderer.drawVirtualRowsWithLock();var t={clientWidth:this.eRootPanel.getGui().clientWidth,clientHeight:this.eRootPanel.getGui().clientHeight};this.eventService.dispatchEvent(f.Events.EVENT_GRID_SIZE_CHANGED,t)}},e}();n([m.Autowired(\"gridOptions\"),i(\"design:type\",Object)],b.prototype,\"gridOptions\",void 0),n([m.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",s.GridOptionsWrapper)],b.prototype,\"gridOptionsWrapper\",void 0),n([m.Autowired(\"rowModel\"),i(\"design:type\",Object)],b.prototype,\"rowModel\",void 0),n([m.Autowired(\"frameworkFactory\"),i(\"design:type\",Object)],b.prototype,\"frameworkFactory\",void 0),n([m.Autowired(\"columnController\"),i(\"design:type\",a.ColumnController)],b.prototype,\"columnController\",void 0),n([m.Autowired(\"rowRenderer\"),i(\"design:type\",l.RowRenderer)],b.prototype,\"rowRenderer\",void 0),n([m.Autowired(\"filterManager\"),i(\"design:type\",p.FilterManager)],b.prototype,\"filterManager\",void 0),n([m.Autowired(\"eventService\"),i(\"design:type\",d.EventService)],b.prototype,\"eventService\",void 0),n([m.Autowired(\"gridPanel\"),i(\"design:type\",c.GridPanel)],b.prototype,\"gridPanel\",void 0),n([m.Autowired(\"eGridDiv\"),i(\"design:type\",HTMLElement)],b.prototype,\"eGridDiv\",void 0),n([m.Autowired(\"$scope\"),i(\"design:type\",Object)],b.prototype,\"$scope\",void 0),n([m.Autowired(\"quickFilterOnScope\"),i(\"design:type\",String)],b.prototype,\"quickFilterOnScope\",void 0),n([m.Autowired(\"popupService\"),i(\"design:type\",g.PopupService)],b.prototype,\"popupService\",void 0),n([m.Autowired(\"focusedCellController\"),i(\"design:type\",C.FocusedCellController)],b.prototype,\"focusedCellController\",void 0),n([m.Autowired(\"context\"),i(\"design:type\",m.Context)],b.prototype,\"context\",void 0),n([m.Optional(\"rowGroupCompFactory\"),i(\"design:type\",Object)],b.prototype,\"rowGroupCompFactory\",void 0),n([m.Optional(\"pivotCompFactory\"),i(\"design:type\",Object)],b.prototype,\"pivotCompFactory\",void 0),n([m.Optional(\"toolPanel\"),i(\"design:type\",E.Component)],b.prototype,\"toolPanel\",void 0),n([m.Optional(\"statusBar\"),i(\"design:type\",E.Component)],b.prototype,\"statusBar\",void 0),n([m.PostConstruct,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],b.prototype,\"init\",null),n([m.PreDestroy,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],b.prototype,\"destroy\",null),b=n([m.Bean(\"gridCore\"),r(0,m.Qualifier(\"loggerFactory\")),i(\"design:paramtypes\",[u.LoggerFactory])],b),t.GridCore=b},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(9),s=o(5),a=o(49),l=o(32),p=o(16),d=o(50),c=o(54),u=o(8),h=o(6),g=o(12),f=o(55),y=o(56),v=function(){function e(){this.allFilters={},this.quickFilter=null,this.availableFilters={text:d.TextFilter,number:c.NumberFilter,date:f.DateFilter}}return e.prototype.init=function(){this.eventService.addEventListener(g.Events.EVENT_ROW_DATA_CHANGED,this.onNewRowsLoaded.bind(this)),this.eventService.addEventListener(g.Events.EVENT_NEW_COLUMNS_LOADED,this.onNewColumnsLoaded.bind(this)),this.quickFilter=this.parseQuickFilter(this.gridOptionsWrapper.getQuickFilterText()),this.checkExternalFilter()},e.prototype.registerFilter=function(e,t){this.availableFilters[e]=t},e.prototype.setFilterModel=function(e){var t=this;if(e){var o=Object.keys(e);r.Utils.iterateObject(this.allFilters,function(n,i){r.Utils.removeFromArray(o,n);var s=e[n];t.setModelOnFilterWrapper(i.filter,s)}),r.Utils.iterateArray(o,function(o){var n=t.columnController.getPrimaryColumn(o);if(!n)return void console.warn(\"Warning ag-grid setFilterModel - no column found for colId \"+o);var i=t.getOrCreateFilterWrapper(n);t.setModelOnFilterWrapper(i.filter,e[o])})}else r.Utils.iterateObject(this.allFilters,function(e,o){t.setModelOnFilterWrapper(o.filter,null)});this.onFilterChanged()},e.prototype.setModelOnFilterWrapper=function(e,t){if(\"function\"!=typeof e.setModel)return void console.warn(\"Warning ag-grid - filter missing setModel method, which is needed for setFilterModel\");e.setModel(t)},e.prototype.getFilterModel=function(){var e={};return r.Utils.iterateObject(this.allFilters,function(t,o){var n=o.filter;if(\"function\"!=typeof n.getModel)return void console.warn(\"Warning ag-grid - filter API missing getModel method, which is needed for getFilterModel\");var i=n.getModel();r.Utils.exists(i)&&(e[t]=i)}),e},e.prototype.isAdvancedFilterPresent=function(){return this.advancedFilterPresent},e.prototype.setAdvancedFilterPresent=function(){var e=!1;r.Utils.iterateObject(this.allFilters,function(t,o){o.filter.isFilterActive()&&(e=!0)}),this.advancedFilterPresent=e},e.prototype.updateFilterFlagInColumns=function(){r.Utils.iterateObject(this.allFilters,function(e,t){var o=t.filter.isFilterActive();t.column.setFilterActive(o)})},e.prototype.isAnyFilterPresent=function(){return this.isQuickFilterPresent()||this.advancedFilterPresent||this.externalFilterPresent},e.prototype.doesFilterPass=function(e,t){for(var o=e.data,n=Object.keys(this.allFilters),i=0,r=n.length;i<r;i++){var s=n[i],a=this.allFilters[s];if(void 0!==a&&(a.filter!==t&&a.filter.isFilterActive())){a.filter.doesFilterPass||console.error(\"Filter is missing method doesFilterPass\");var l={node:e,data:o};if(!a.filter.doesFilterPass(l))return!1}}return!0},e.prototype.parseQuickFilter=function(e){return r.Utils.missing(e)||\"\"===e?null:this.gridOptionsWrapper.isRowModelInfinite()?(console.warn(\"ag-grid: cannot do quick filtering when doing virtual paging\"),null):e.toUpperCase()},e.prototype.setQuickFilter=function(e){var t=this.parseQuickFilter(e);this.quickFilter!==t&&(this.quickFilter=t,this.onFilterChanged())},e.prototype.checkExternalFilter=function(){this.externalFilterPresent=this.gridOptionsWrapper.isExternalFilterPresent()},e.prototype.onFilterChanged=function(){this.eventService.dispatchEvent(g.Events.EVENT_BEFORE_FILTER_CHANGED),this.setAdvancedFilterPresent(),this.updateFilterFlagInColumns(),this.checkExternalFilter(),r.Utils.iterateObject(this.allFilters,function(e,t){t.filter.onAnyFilterChanged&&t.filter.onAnyFilterChanged()}),this.eventService.dispatchEvent(g.Events.EVENT_FILTER_CHANGED),this.eventService.dispatchEvent(g.Events.EVENT_AFTER_FILTER_CHANGED)},e.prototype.isQuickFilterPresent=function(){return null!==this.quickFilter},e.prototype.doesRowPassOtherFilters=function(e,t){return this.doesRowPassFilter(t,e)},e.prototype.doesRowPassFilter=function(e,t){return!(this.isQuickFilterPresent()&&(e.quickFilterAggregateText||this.aggregateRowForQuickFilter(e),e.quickFilterAggregateText.indexOf(this.quickFilter)<0))&&(!(this.externalFilterPresent&&!this.gridOptionsWrapper.doesExternalFilterPass(e))&&!(this.advancedFilterPresent&&!this.doesFilterPass(e,t)))},e.prototype.aggregateRowForQuickFilter=function(e){var t=this,o=[];this.columnController.getAllPrimaryColumns().forEach(function(n){var i,r=t.valueService.getValue(n,e),s=n.getColDef();if(n.getColDef().getQuickFilterText){var a={value:r,node:e,data:e.data,column:n,colDef:s};i=n.getColDef().getQuickFilterText(a)}else i=r;i&&\"\"!==i&&o.push(i.toString().toUpperCase())}),e.quickFilterAggregateText=o.join(\"_\")},e.prototype.onNewRowsLoaded=function(){r.Utils.iterateObject(this.allFilters,function(e,t){t.filter.onNewRowsLoaded&&t.filter.onNewRowsLoaded()}),this.updateFilterFlagInColumns(),this.setAdvancedFilterPresent()},e.prototype.createValueGetter=function(e){var t=this;return function(o){return t.valueService.getValue(e,o)}},e.prototype.getFilterComponent=function(e){return this.getOrCreateFilterWrapper(e).filter},e.prototype.getOrCreateFilterWrapper=function(e){var t=this.allFilters[e.getColId()];return t||(t=this.createFilterWrapper(e),this.allFilters[e.getColId()]=t),t},e.prototype.createFilterInstance=function(e){var t,o=e.getFilter(),n=\"function\"==typeof o,i=r.Utils.missing(o)||\"string\"==typeof o;if(n)t=o,this.assertMethodHasNoParameters(t);else{if(!i)return console.error(\"ag-Grid: colDef.filter should be function or a string\"),null;var s=o;t=this.getFilterFromCache(s)}var a=new t;return this.checkFilterHasAllMandatoryMethods(a,e),this.context.wireBean(a),a},e.prototype.checkFilterHasAllMandatoryMethods=function(e,t){[\"getGui\",\"isFilterActive\",\"doesFilterPass\",\"getModel\",\"setModel\"].forEach(function(o){if(!e[o])throw\"Filter for column \"+t.getColId()+\" is missing method \"+o})},e.prototype.createParams=function(e){var t=this,o=this.onFilterChanged.bind(this),n=function(){return t.eventService.dispatchEvent(g.Events.EVENT_FILTER_MODIFIED)},i=this.doesRowPassOtherFilters.bind(this,e.filter),s=e.column.getColDef(),a={column:e.column,colDef:s,rowModel:this.rowModel,filterChangedCallback:o,filterModifiedCallback:n,valueGetter:this.createValueGetter(e.column),doesRowPassOtherFilter:i,context:this.gridOptionsWrapper.getContext(),$scope:e.scope};return s.filterParams&&r.Utils.assign(a,s.filterParams),a},e.prototype.createFilterWrapper=function(e){var t={column:e,filter:null,scope:null,gui:null};return t.filter=this.createFilterInstance(e),this.initialiseFilterAndPutIntoGui(t),t},e.prototype.initialiseFilterAndPutIntoGui=function(e){this.gridOptionsWrapper.isAngularCompileFilters()&&(e.scope=this.$scope.$new(),e.scope.context=this.gridOptionsWrapper.getContext());var t=this.createParams(e);e.filter.init(t);var o=document.createElement(\"div\");o.className=\"ag-filter\";var n=e.filter.getGui();\"string\"==typeof n&&(n=r.Utils.loadTemplate(n)),o.appendChild(n),e.scope?e.gui=this.$compile(o)(e.scope)[0]:e.gui=o},e.prototype.getFilterFromCache=function(e){var t=this.enterprise?\"set\":\"text\",o=this.availableFilters[t];return r.Utils.missing(e)?o:(this.enterprise||\"set\"!==e||(console.warn(\"ag-Grid: Set filter is only available in Enterprise ag-Grid\"),e=\"text\"),this.availableFilters[e]?this.availableFilters[e]:(console.error(\"ag-Grid: Could not find filter type \"+e),this.availableFilters[o]))},e.prototype.onNewColumnsLoaded=function(){this.destroy()},e.prototype.destroyFilter=function(e){var t=this.allFilters[e.getColId()];t&&(this.disposeFilterWrapper(t),this.onFilterChanged())},e.prototype.disposeFilterWrapper=function(e){e.filter.setModel(null),e.filter.destroy&&e.filter.destroy(),e.column.setFilterActive(!1),delete this.allFilters[e.column.getColId()]},e.prototype.destroy=function(){var e=this;r.Utils.iterateObject(this.allFilters,function(t,o){e.disposeFilterWrapper(o)})},e.prototype.assertMethodHasNoParameters=function(e){r.Utils.getFunctionParameters(e).length>0&&(console.warn(\"ag-grid: It looks like your filter is of the old type and expecting parameters in the constructor.\"),console.warn(\"ag-grid: From ag-grid 1.14, the constructor should take no parameters and init() used instead.\"))},e}();n([u.Autowired(\"$compile\"),i(\"design:type\",Object)],v.prototype,\"$compile\",void 0),n([u.Autowired(\"$scope\"),i(\"design:type\",Object)],v.prototype,\"$scope\",void 0),n([u.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",s.GridOptionsWrapper)],v.prototype,\"gridOptionsWrapper\",void 0),n([u.Autowired(\"gridCore\"),i(\"design:type\",Object)],v.prototype,\"gridCore\",void 0),n([u.Autowired(\"popupService\"),i(\"design:type\",a.PopupService)],v.prototype,\"popupService\",void 0),n([u.Autowired(\"valueService\"),i(\"design:type\",l.ValueService)],v.prototype,\"valueService\",void 0),n([u.Autowired(\"columnController\"),i(\"design:type\",p.ColumnController)],v.prototype,\"columnController\",void 0),n([u.Autowired(\"rowModel\"),i(\"design:type\",Object)],v.prototype,\"rowModel\",void 0),n([u.Autowired(\"eventService\"),i(\"design:type\",h.EventService)],v.prototype,\"eventService\",void 0),n([u.Autowired(\"enterprise\"),i(\"design:type\",Boolean)],v.prototype,\"enterprise\",void 0),n([u.Autowired(\"context\"),i(\"design:type\",u.Context)],v.prototype,\"context\",void 0),n([u.Autowired(\"componentProvider\"),i(\"design:type\",y.ComponentProvider)],v.prototype,\"componentProvider\",void 0),n([u.PostConstruct,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],v.prototype,\"init\",null),n([u.PreDestroy,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],v.prototype,\"destroy\",null),v=n([u.Bean(\"filterManager\")],v),t.FilterManager=v},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(9),s=o(10),a=o(8),l=o(47),p=o(5),d=function(){function e(){}return e.prototype.getPopupParent=function(){return this.gridCore.getRootGui()},e.prototype.positionPopupForMenu=function(e){function t(){return n.right-i.left-2}function o(){return n.left-i.left-a}var n=e.eventSource.getBoundingClientRect(),i=this.getPopupParent().getBoundingClientRect(),r=n.top-i.top;r=this.keepYWithinBounds(e,r);var s,a=e.ePopup.clientWidth>0?e.ePopup.clientWidth:200,l=i.right-i.left,p=l-a;this.gridOptionsWrapper.isEnableRtl()?(s=o(),s<0&&(s=t()),s>p&&(s=0)):(s=t(),s>p&&(s=o()),s<0&&(s=0)),e.ePopup.style.left=s+\"px\",e.ePopup.style.top=r+\"px\"},e.prototype.positionPopupUnderMouseEvent=function(e){var t=this.getPopupParent().getBoundingClientRect();this.positionPopup({ePopup:e.ePopup,x:e.mouseEvent.clientX-t.left,y:e.mouseEvent.clientY-t.top,keepWithinBounds:!0})},e.prototype.positionPopupUnderComponent=function(e){var t=e.eventSource.getBoundingClientRect(),o=this.getPopupParent().getBoundingClientRect();this.positionPopup({ePopup:e.ePopup,minWidth:e.minWidth,nudgeX:e.nudgeX,nudgeY:e.nudgeY,x:t.left-o.left,y:t.top-o.top+t.height,keepWithinBounds:e.keepWithinBounds})},e.prototype.positionPopupOverComponent=function(e){var t=e.eventSource.getBoundingClientRect(),o=this.getPopupParent().getBoundingClientRect();this.positionPopup({ePopup:e.ePopup,minWidth:e.minWidth,nudgeX:e.nudgeX,nudgeY:e.nudgeY,x:t.left-o.left,y:t.top-o.top,keepWithinBounds:e.keepWithinBounds})},e.prototype.positionPopup=function(e){var t=e.x,o=e.y;e.nudgeX&&(t+=e.nudgeX),e.nudgeY&&(o+=e.nudgeY),e.keepWithinBounds&&(t=this.keepXWithinBounds(e,t),o=this.keepYWithinBounds(e,o)),e.ePopup.style.left=t+\"px\",e.ePopup.style.top=o+\"px\"},e.prototype.keepYWithinBounds=function(e,t){var o,n=this.getPopupParent().getBoundingClientRect();o=e.ePopup.clientHeight>0?e.ePopup.clientHeight:200;var i=n.bottom-n.top,r=i-o-5;return t>r?r:t<0?0:t},e.prototype.keepXWithinBounds=function(e,t){var o,n=this.getPopupParent().getBoundingClientRect();o=e.minWidth>0?e.minWidth:e.ePopup.clientWidth>0?e.ePopup.clientWidth:200;var i=n.right-n.left,r=i-o-5;return t>r?r:t<0?0:t},e.prototype.addAsModalPopup=function(e,t,o){function n(e){(e.which||e.keyCode)===s.Constants.KEY_ESCAPE&&i(null)}function i(t){t&&t===u||t&&t===h||c||(c=!0,d.getPopupParent().removeChild(e),p.removeEventListener(\"keydown\",n),p.removeEventListener(\"click\",i),p.removeEventListener(\"touchstart\",i),p.removeEventListener(\"contextmenu\",i),e.removeEventListener(\"click\",a),e.removeEventListener(\"touchstart\",l),o&&o())}function a(e){u=e}function l(e){h=e}var p=document.body;if(!p)return void console.warn(\"ag-grid: could not find the body of the document, document.body is empty\");if(e.style.top=\"0px\",e.style.left=\"0px\",!r.Utils.isVisible(e)){this.getPopupParent().appendChild(e);var d=this,c=!1;setTimeout(function(){t&&p.addEventListener(\"keydown\",n),p.addEventListener(\"click\",i),p.addEventListener(\"touchstart\",i),p.addEventListener(\"contextmenu\",i),e.addEventListener(\"click\",a),e.addEventListener(\"touchstart\",l)},0);var u=null,h=null;return i}},e}();n([a.Autowired(\"gridCore\"),i(\"design:type\",l.GridCore)],d.prototype,\"gridCore\",void 0),n([a.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",p.GridOptionsWrapper)],d.prototype,\"gridOptionsWrapper\",void 0),d=n([a.Bean(\"popupService\")],d),t.PopupService=d},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(9),a=o(51),l=o(53),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.modelFromFloatingFilter=function(e){return{type:this.filter,filter:e,filterType:\"text\"}},t.prototype.getApplicableFilterTypes=function(){return[a.BaseFilter.EQUALS,a.BaseFilter.NOT_EQUAL,a.BaseFilter.STARTS_WITH,a.BaseFilter.ENDS_WITH,a.BaseFilter.CONTAINS,a.BaseFilter.NOT_CONTAINS]},t.prototype.bodyTemplate=function(){return'<div class=\"ag-filter-body\">\\n            <input class=\"ag-filter-filter\" id=\"filterText\" type=\"text\" placeholder=\"'+this.translate.bind(this)(\"filterOoo\",\"Filter...\")+'\"/>\\n        </div>'},t.prototype.initialiseFilterBodyUi=function(){this.addDestroyableEventListener(this.eFilterTextField,\"input\",this.onFilterTextFieldChanged.bind(this)),this.setType(a.BaseFilter.CONTAINS)},t.prototype.refreshFilterBodyUi=function(){},t.prototype.afterGuiAttached=function(){this.eFilterTextField.focus()},t.prototype.filterValues=function(){return this.filterText},t.prototype.doesFilterPass=function(e){if(!this.filterText)return!0;var o=this.filterParams.valueGetter(e.node);if(!o)return this.filter===a.BaseFilter.NOT_EQUAL;var n=this.filterText.toLowerCase(),i=o.toString().toLowerCase();switch(this.filter){case t.CONTAINS:return i.indexOf(n)>=0;case t.NOT_CONTAINS:return-1===i.indexOf(n);case t.EQUALS:return i===n;case t.NOT_EQUAL:return i!=n;case t.STARTS_WITH:return 0===i.indexOf(n);case t.ENDS_WITH:var r=i.lastIndexOf(n);return r>=0&&r===i.length-n.length;default:return console.warn(\"invalid filter type \"+this.filter),!1}},t.prototype.onFilterTextFieldChanged=function(){var e=s.Utils.makeNull(this.eFilterTextField.value);if(e&&\"\"===e.trim()&&(e=null),this.filterText!==e){var t=e?e.toLowerCase():null,o=this.filterText?this.filterText.toLowerCase():null;this.filterText=e,o!==t&&this.onFilterChanged()}},t.prototype.setFilter=function(e){e=s.Utils.makeNull(e),e?(this.filterText=e,this.eFilterTextField.value=e):(this.filterText=null,this.eFilterTextField.value=null)},t.prototype.getFilter=function(){return this.filterText},t.prototype.resetState=function(){this.setFilter(null),this.setFilterType(a.BaseFilter.CONTAINS)},t.prototype.serialize=function(){return{type:this.filter,filter:this.filterText,filterType:\"text\"}},t.prototype.parse=function(e){this.setFilterType(e.type),this.setFilter(e.filter)},t.prototype.setType=function(e){this.setFilterType(e)},t}(a.ComparableBaseFilter);i([l.QuerySelector(\"#filterText\"),r(\"design:type\",HTMLInputElement)],p.prototype,\"eFilterTextField\",void 0),t.TextFilter=p},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(52),a=o(53),l=o(8),p=o(5),d=o(9),c={equals:\"Equals\",notEqual:\"Not equal\",lessThan:\"Less than\",greaterThan:\"Greater than\",inRange:\"In range\",lessThanOrEqual:\"Less than or equals\",greaterThanOrEqual:\"Greater than or equals\",filterOoo:\"Filter...\",contains:\"Contains\",notContains:\"Not contains\",startsWith:\"Starts with\",endsWith:\"Ends with\",searchOoo:\"Search...\",selectAll:\"Select All\",applyFilter:\"Apply Filter\",clearFilter:\"Clear Filter\"},u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.filter=\"equals\",t}return n(t,e),t.prototype.init=function(e){this.filterParams=e,this.clearActive=!0===e.clearButton,this.applyActive=!0===e.applyButton||!0===e.apply,this.newRowsActionKeep=\"keep\"===e.newRowsAction,this.setTemplate(this.generateTemplate()),d._.setVisible(this.eApplyButton,this.applyActive),this.applyActive&&this.addDestroyableEventListener(this.eApplyButton,\"click\",this.filterParams.filterChangedCallback),d._.setVisible(this.eClearButton,this.clearActive),this.clearActive&&this.addDestroyableEventListener(this.eClearButton,\"click\",this.onClearButton.bind(this));var t=this.applyActive||this.clearActive;d._.setVisible(this.eButtonsPanel,t),this.instantiate(this.context),this.initialiseFilterBodyUi(),this.refreshFilterBodyUi()},t.prototype.onClearButton=function(){this.setModel(null),this.onFilterChanged()},t.prototype.floatingFilter=function(e){if(\"\"!==e){var t=this.modelFromFloatingFilter(e);this.setModel(t)}else this.resetState();this.onFilterChanged()},t.prototype.onNewRowsLoaded=function(){this.newRowsActionKeep||this.resetState()},t.prototype.getModel=function(){return this.isFilterActive()?this.serialize():null},t.prototype.getNullableModel=function(){return this.serialize()},t.prototype.setModel=function(e){e?this.parse(e):this.resetState(),this.refreshFilterBodyUi()},t.prototype.doOnFilterChanged=function(e){void 0===e&&(e=!1),this.filterParams.filterModifiedCallback();var t=this.applyActive&&e;(!this.applyActive||t)&&this.filterParams.filterChangedCallback(),this.refreshFilterBodyUi()},t.prototype.onFilterChanged=function(){this.doOnFilterChanged()},t.prototype.onFloatingFilterChanged=function(e){var t=e;this.setModel(t.model),this.doOnFilterChanged(t.apply)},t.prototype.generateFilterHeader=function(){return\"\"},t.prototype.generateTemplate=function(){var e=this.translate.bind(this),t=this.bodyTemplate();return\"<div>\\n                    \"+this.generateFilterHeader()+\"\\n                    \"+t+'\\n                    <div class=\"ag-filter-apply-panel\" id=\"applyPanel\">\\n                        <button type=\"button\" id=\"clearButton\">'+e(\"clearFilter\")+'</button>\\n                        <button type=\"button\" id=\"applyButton\">'+e(\"applyFilter\")+\"</button>\\n                    </div>\\n                </div>\"},t.prototype.translate=function(e){return this.gridOptionsWrapper.getLocaleTextFunc()(e,c[e])},t}(s.Component);u.EQUALS=\"equals\",u.NOT_EQUAL=\"notEqual\",u.LESS_THAN=\"lessThan\",u.LESS_THAN_OR_EQUAL=\"lessThanOrEqual\",u.GREATER_THAN=\"greaterThan\",u.GREATER_THAN_OR_EQUAL=\"greaterThanOrEqual\",u.IN_RANGE=\"inRange\",u.CONTAINS=\"contains\",u.NOT_CONTAINS=\"notContains\",u.STARTS_WITH=\"startsWith\",u.ENDS_WITH=\"endsWith\",i([a.QuerySelector(\"#applyPanel\"),r(\"design:type\",HTMLElement)],u.prototype,\"eButtonsPanel\",void 0),i([a.QuerySelector(\"#applyButton\"),r(\"design:type\",HTMLElement)],u.prototype,\"eApplyButton\",void 0),i([a.QuerySelector(\"#clearButton\"),r(\"design:type\",HTMLElement)],u.prototype,\"eClearButton\",void 0),i([l.Autowired(\"context\"),r(\"design:type\",l.Context)],u.prototype,\"context\",void 0),i([l.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",p.GridOptionsWrapper)],u.prototype,\"gridOptionsWrapper\",void 0),t.BaseFilter=u;var h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),this.addDestroyableEventListener(this.eTypeSelector,\"change\",this.onFilterTypeChanged.bind(this))},t.prototype.generateFilterHeader=function(){var e=this,t=this.getApplicableFilterTypes().map(function(t){return'<option value=\"'+t+'\">'+e.translate(t)+\"</option>\"});return t.length<=0?\"\":'<div>\\n                <select class=\"ag-filter-select\" id=\"filterType\">\\n                    '+t.join(\"\")+\"\\n                </select>\\n            </div>\"},t.prototype.onFilterTypeChanged=function(){this.filter=this.eTypeSelector.value,this.refreshFilterBodyUi(),this.onFilterChanged()},t.prototype.isFilterActive=function(){var e=this.filterValues();if(this.filter===u.IN_RANGE){var t=e;return null!=t[0]&&null!=t[1]}return null!=e},t.prototype.setFilterType=function(e){this.filter=e,this.eTypeSelector.value=e},t}(u);i([a.QuerySelector(\"#filterType\"),r(\"design:type\",HTMLSelectElement)],h.prototype,\"eTypeSelector\",void 0),t.ComparableBaseFilter=h;var g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.doesFilterPass=function(e){var t=this.filterParams.valueGetter(e.node),o=this.comparator(),n=this.filterValues(),i=Array.isArray(n)?n[0]:n;if(!i)return!0;var r=o(i,t);if(this.filter===u.EQUALS)return 0===r;if(this.filter===u.GREATER_THAN)return r>0;if(this.filter===u.GREATER_THAN_OR_EQUAL)return r>=0;if(this.filter===u.LESS_THAN_OR_EQUAL)return r<=0;if(this.filter===u.LESS_THAN)return r<0;if(this.filter===u.NOT_EQUAL)return 0!=r;var s=o(n[1],t);if(this.filter===u.IN_RANGE)return this.filterParams.inRangeInclusive?r>=0&&s<=0:r>0&&s<0;throw new Error(\"Unexpected type of date filter!: \"+this.filter)},t}(h);t.ScalarBaseFilter=g},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}();Object.defineProperty(t,\"__esModule\",{value:!0});var i=o(9),r=o(40),s=function(e){function t(t){var o=e.call(this)||this;return o.childComponents=[],o.annotatedEventListeners=[],o.visible=!0,t&&o.setTemplate(t),o}return n(t,e),t.prototype.instantiate=function(e){this.instantiateRecurse(this.getGui(),e)},t.prototype.instantiateRecurse=function(e,t){for(var o=e.childNodes?e.childNodes.length:0,n=0;n<o;n++){var i=e.childNodes[n],r=t.createComponent(i);r?this.swapComponentForNode(r,e,i):i.childNodes&&this.instantiateRecurse(i,t)}},t.prototype.swapComponentForNode=function(e,t,o){t.replaceChild(e.getGui(),o),this.childComponents.push(e),this.swapInComponentForQuerySelectors(e,o)},t.prototype.swapInComponentForQuerySelectors=function(e,t){var o=this.__agComponentMetaData;if(o&&o.querySelectors){var n=this;o.querySelectors.forEach(function(o){n[o.attributeName]===t&&(n[o.attributeName]=e)})}},t.prototype.setTemplate=function(e){var t=i.Utils.loadTemplate(e);this.setTemplateFromElement(t)},t.prototype.setTemplateFromElement=function(e){this.eGui=e,this.eGui.__agComponent=this,this.addAnnotatedEventListeners(),this.wireQuerySelectors()},t.prototype.attributesSet=function(){},t.prototype.wireQuerySelectors=function(){var e=this,t=this.__agComponentMetaData;if(t&&t.querySelectors&&this.eGui){var o=this;t.querySelectors.forEach(function(t){var n=e.eGui.querySelector(t.querySelector);if(n){var i=n.__agComponent;o[t.attributeName]=i||n}})}},t.prototype.addAnnotatedEventListeners=function(){var e=this;this.removeAnnotatedEventListeners();var t=this.__agComponentMetaData;t&&t.listenerMethods&&this.eGui&&(this.annotatedEventListeners||(this.annotatedEventListeners=[]),t.listenerMethods.forEach(function(t){var o=e[t.methodName].bind(e);e.eGui.addEventListener(t.eventName,o),e.annotatedEventListeners.push({eventName:t.eventName,listener:o})}))},t.prototype.removeAnnotatedEventListeners=function(){var e=this;this.annotatedEventListeners&&this.eGui&&(this.annotatedEventListeners.forEach(function(t){e.eGui.removeEventListener(t.eventName,t.listener)}),this.annotatedEventListeners=null)},t.prototype.getGui=function(){return this.eGui},t.prototype.setGui=function(e){this.eGui=e},t.prototype.queryForHtmlElement=function(e){return this.eGui.querySelector(e)},t.prototype.queryForHtmlInputElement=function(e){return this.eGui.querySelector(e)},t.prototype.appendChild=function(e){if(i.Utils.isNodeOrElement(e))this.eGui.appendChild(e);else{var t=e;this.eGui.appendChild(t.getGui()),this.childComponents.push(t)}},t.prototype.addFeature=function(e,t){e.wireBean(t),t.destroy&&this.addDestroyFunc(t.destroy.bind(t))},t.prototype.isVisible=function(){return this.visible},t.prototype.setVisible=function(e){e!==this.visible&&(this.visible=e,i.Utils.addOrRemoveCssClass(this.eGui,\"ag-hidden\",!e),this.dispatchEvent(t.EVENT_VISIBLE_CHANGED,{visible:this.visible}))},t.prototype.addOrRemoveCssClass=function(e,t){i.Utils.addOrRemoveCssClass(this.eGui,e,t)},t.prototype.destroy=function(){e.prototype.destroy.call(this),this.childComponents.forEach(function(e){return e.destroy()}),this.childComponents.length=0,this.removeAnnotatedEventListeners()},t.prototype.addGuiEventListener=function(e,t){var o=this;this.getGui().addEventListener(e,t),this.addDestroyFunc(function(){return o.getGui().removeEventListener(e,t)})},t.prototype.addCssClass=function(e){i.Utils.addCssClass(this.getGui(),e)},t.prototype.removeCssClass=function(e){i.Utils.removeCssClass(this.getGui(),e)},t.prototype.getAttribute=function(e){var t=this.getGui();return t?t.getAttribute(e):null},t.prototype.getRefElement=function(e){return this.queryForHtmlElement('[ref=\"'+e+'\"]')},t}(r.BeanStub);s.EVENT_VISIBLE_CHANGED=\"visibleChanged\",t.Component=s},function(e,t){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";function o(e){return i.bind(this,e)}function n(e){return i.bind(this,\"[ref=\"+e+\"]\")}function i(e,t,o,n){if(null===e)return void console.error(\"ag-Grid: QuerySelector selector should not be null\");if(\"number\"==typeof n)return void console.error(\"ag-Grid: QuerySelector should be on an attribute\");var i=a(t);i.querySelectors||(i.querySelectors=[]),i.querySelectors.push({attributeName:o,querySelector:e})}function r(e){return s.bind(this,e)}function s(e,t,o,n){if(null===e)return void console.error(\"ag-Grid: EventListener eventName should not be null\");var i=a(t);i.listenerMethods||(i.listenerMethods=[]),i.listenerMethods.push({methodName:o,eventName:e})}function a(e){var t=e.__agComponentMetaData;return t||(t={},e.__agComponentMetaData=t),t}Object.defineProperty(t,\"__esModule\",{value:!0}),t.QuerySelector=o,t.RefSelector=n,t.Listener=r},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(9),a=o(53),l=o(51),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.modelFromFloatingFilter=function(e){return{type:this.filter,filter:Number(e),filterTo:this.filterNumberTo,filterType:\"number\"}},t.prototype.getApplicableFilterTypes=function(){return[l.BaseFilter.EQUALS,l.BaseFilter.NOT_EQUAL,l.BaseFilter.LESS_THAN,l.BaseFilter.LESS_THAN_OR_EQUAL,l.BaseFilter.GREATER_THAN,l.BaseFilter.GREATER_THAN_OR_EQUAL,l.BaseFilter.IN_RANGE]},t.prototype.bodyTemplate=function(){var e=this.translate.bind(this);return'<div class=\"ag-filter-body\">\\n            <div>\\n                <input class=\"ag-filter-filter\" id=\"filterText\" type=\"text\" placeholder=\"'+e(\"filterOoo\")+'\"/>\\n            </div>\\n             <div class=\"ag-filter-number-to\" id=\"filterNumberToPanel\">\\n                <input class=\"ag-filter-filter\" id=\"filterToText\" type=\"text\" placeholder=\"'+e(\"filterOoo\")+'\"/>\\n            </div>\\n        </div>'},t.prototype.initialiseFilterBodyUi=function(){this.filterNumber=null,this.setFilterType(t.EQUALS),this.eFilterTextField=this.getGui().querySelector(\"#filterText\"),this.addDestroyableEventListener(this.eFilterTextField,\"input\",this.onTextFieldsChanged.bind(this)),this.addDestroyableEventListener(this.eFilterToTextField,\"input\",this.onTextFieldsChanged.bind(this))},t.prototype.afterGuiAttached=function(){this.eFilterTextField.focus()},t.prototype.comparator=function(){return function(e,t){return e===t?0:e<t?1:e>t?-1:void 0}},t.prototype.onTextFieldsChanged=function(){var e=this.stringToFloat(this.eFilterTextField.value),t=this.stringToFloat(this.eFilterToTextField.value);this.filterNumber===e&&this.filterNumberTo===t||(this.filterNumber=e,this.filterNumberTo=t,this.onFilterChanged())},t.prototype.filterValues=function(){return this.filter!==l.BaseFilter.IN_RANGE?this.asNumber(this.filterNumber):[this.asNumber(this.filterNumber),this.asNumber(this.filterNumberTo)]},t.prototype.asNumber=function(e){return s.Utils.isNumeric(e)?e:null},t.prototype.stringToFloat=function(e){var t=s.Utils.makeNull(e);t&&\"\"===t.trim()&&(t=null);return null!==t&&void 0!==t?parseFloat(t):null},t.prototype.setFilter=function(e){e=s.Utils.makeNull(e),null!==e&&\"number\"!=typeof e&&(e=parseFloat(e)),this.filterNumber=e,this.eFilterTextField.value=e},t.prototype.setFilterTo=function(e){e=s.Utils.makeNull(e),null!==e&&\"number\"!=typeof e&&(e=parseFloat(e)),this.filterNumberTo=e,this.eFilterToTextField.value=e},t.prototype.getFilter=function(){return this.filterNumber},t.prototype.serialize=function(){return{type:this.filter,filter:this.filterNumber,filterTo:this.filterNumberTo,filterType:\"number\"}},t.prototype.parse=function(e){this.setFilterType(e.type),this.setFilter(e.filter),this.setFilterTo(e.filterTo)},t.prototype.refreshFilterBodyUi=function(){var e=this.filter===t.IN_RANGE;s.Utils.setVisible(this.eNumberToPanel,e)},t.prototype.resetState=function(){this.setFilterType(l.BaseFilter.EQUALS),this.setFilter(null),this.setFilterTo(null)},t.prototype.setType=function(e){this.setFilterType(e)},t}(l.ScalarBaseFilter);p.EQUALS=\"equals\",p.NOT_EQUAL=\"notEqual\",p.LESS_THAN_OR_EQUAL=\"lessThanOrEqual\",p.GREATER_THAN=\"greaterThan\",p.GREATER_THAN_OR_EQUAL=\"greaterThan\",p.IN_RANGE=\"inRange\",p.LESS_THAN=\"lessThan\",i([a.QuerySelector(\"#filterNumberToPanel\"),r(\"design:type\",HTMLElement)],p.prototype,\"eNumberToPanel\",void 0),i([a.QuerySelector(\"#filterToText\"),r(\"design:type\",HTMLInputElement)],p.prototype,\"eFilterToTextField\",void 0),t.NumberFilter=p},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(52),a=o(53),l=o(9),p=o(51),d=o(8),c=o(56),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.modelFromFloatingFilter=function(e){return{dateFrom:e,dateTo:this.getDateTo(),type:this.filter,filterType:\"date\"}},t.prototype.getApplicableFilterTypes=function(){return[p.BaseFilter.EQUALS,p.BaseFilter.GREATER_THAN,p.BaseFilter.LESS_THAN,p.BaseFilter.NOT_EQUAL,p.BaseFilter.IN_RANGE]},t.prototype.bodyTemplate=function(){return'<div class=\"ag-filter-body\">\\n                    <div class=\"ag-filter-date-from\" id=\"filterDateFromPanel\">\\n                    </div>\\n                    <div class=\"ag-filter-date-to\" id=\"filterDateToPanel\">\\n                    </div>\\n                </div>'},t.prototype.initialiseFilterBodyUi=function(){var e={onDateChanged:this.onDateChanged.bind(this)};this.dateToComponent=this.componentProvider.newDateComponent(e),this.dateFromComponent=this.componentProvider.newDateComponent(e),this.eDateFromPanel.appendChild(this.dateFromComponent.getGui()),this.eDateToPanel.appendChild(this.dateToComponent.getGui()),this.dateFromComponent.afterGuiAttached&&this.dateFromComponent.afterGuiAttached(),this.dateToComponent.afterGuiAttached&&this.dateToComponent.afterGuiAttached()},t.prototype.onDateChanged=function(){this.dateFrom=t.removeTimezone(this.dateFromComponent.getDate()),this.dateTo=t.removeTimezone(this.dateToComponent.getDate()),this.onFilterChanged()},t.prototype.refreshFilterBodyUi=function(){var e=this.filter===p.BaseFilter.IN_RANGE;l.Utils.setVisible(this.eDateToPanel,e)},t.prototype.comparator=function(){return this.filterParams.comparator?this.filterParams.comparator:this.defaultComparator.bind(this)},t.prototype.defaultComparator=function(e,t){var o=t;return o<e?-1:o>e?1:0},t.prototype.serialize=function(){return{dateTo:l.Utils.serializeDateToYyyyMmDd(this.dateToComponent.getDate(),\"-\"),dateFrom:l.Utils.serializeDateToYyyyMmDd(this.dateFromComponent.getDate(),\"-\"),type:this.filter,filterType:\"date\"}},t.prototype.filterValues=function(){return this.filter!==p.BaseFilter.IN_RANGE?this.dateFromComponent.getDate():[this.dateFromComponent.getDate(),this.dateToComponent.getDate()]},t.prototype.getDateFrom=function(){return l.Utils.serializeDateToYyyyMmDd(this.dateFromComponent.getDate(),\"-\")},t.prototype.getDateTo=function(){return l.Utils.serializeDateToYyyyMmDd(this.dateToComponent.getDate(),\"-\")},t.prototype.getFilterType=function(){return this.filter},t.prototype.setDateFrom=function(e){this.dateFrom=l.Utils.parseYyyyMmDdToDate(e,\"-\"),this.dateFromComponent.setDate(this.dateFrom)},t.prototype.setDateTo=function(e){this.dateTo=l.Utils.parseYyyyMmDdToDate(e,\"-\"),this.dateToComponent.setDate(this.dateTo)},t.prototype.resetState=function(){this.setDateFrom(null),this.setDateTo(null),this.setFilterType(\"equals\")},t.prototype.parse=function(e){this.setDateFrom(e.dateFrom),this.setDateTo(e.dateTo),this.setFilterType(e.type)},t.prototype.setType=function(e){this.setFilterType(e)},t.removeTimezone=function(e){return e?new Date(e.getFullYear(),e.getMonth(),e.getDate()):null},t}(p.ScalarBaseFilter);i([d.Autowired(\"componentProvider\"),r(\"design:type\",c.ComponentProvider)],u.prototype,\"componentProvider\",void 0),i([a.QuerySelector(\"#filterDateFromPanel\"),r(\"design:type\",HTMLElement)],u.prototype,\"eDateFromPanel\",void 0),i([a.QuerySelector(\"#filterDateToPanel\"),r(\"design:type\",HTMLElement)],u.prototype,\"eDateToPanel\",void 0),t.DateFilter=u;var h=function(e){function t(){return e.call(this,'<input class=\"ag-filter-filter\" type=\"text\" placeholder=\"yyyy-mm-dd\">')||this}return n(t,e),t.prototype.init=function(e){this.eDateInput=this.getGui(),l.Utils.isBrowserChrome()&&(this.eDateInput.type=\"date\"),this.listener=e.onDateChanged,this.addGuiEventListener(\"input\",this.listener)},t.prototype.getDate=function(){return l.Utils.parseYyyyMmDdToDate(this.eDateInput.value,\"-\")},t.prototype.setDate=function(e){this.eDateInput.value=l.Utils.serializeDateToYyyyMmDd(e,\"-\")},t}(s.Component);t.DefaultDateComponent=h},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(8),s=o(57),a=o(60),l=o(55),p=o(9),d=o(62),c=o(5),u=o(63),h=o(48),g=function(){function e(){}return e.prototype.postContruct=function(){this.allComponentConfig={dateComponent:{mandatoryMethodList:[\"getDate\",\"setDate\"],optionalMethodList:[],defaultComponent:l.DefaultDateComponent},headerComponent:{mandatoryMethodList:[],optionalMethodList:[],defaultComponent:a.HeaderComp},headerGroupComponent:{mandatoryMethodList:[],optionalMethodList:[],defaultComponent:s.HeaderGroupComp},setFloatingFilterComponent:{mandatoryMethodList:[],optionalMethodList:[],defaultComponent:d.SetFloatingFilterComp},textFloatingFilterComponent:{mandatoryMethodList:[],optionalMethodList:[],defaultComponent:d.TextFloatingFilterComp},numberFloatingFilterComponent:{mandatoryMethodList:[],optionalMethodList:[],defaultComponent:d.NumberFloatingFilterComp},dateFloatingFilterComponent:{mandatoryMethodList:[],optionalMethodList:[],defaultComponent:d.DateFloatingFilterComp},readModelAsStringFloatingFilterComponent:{mandatoryMethodList:[],optionalMethodList:[],defaultComponent:d.ReadModelAsStringFloatingFilterComp},floatingFilterWrapperComponent:{mandatoryMethodList:[],optionalMethodList:[],defaultComponent:u.FloatingFilterWrapperComp},emptyFloatingFilterWrapperComponent:{mandatoryMethodList:[],optionalMethodList:[],defaultComponent:u.EmptyFloatingFilterWrapperComp},floatingFilterComponent:{mandatoryMethodList:[],optionalMethodList:[],defaultComponent:null}}},e.prototype.newAgGridComponent=function(e,t,o,n){void 0===n&&(n=!0);var i=this.allComponentConfig[o];if(!i){if(n)throw Error(\"Invalid component specified, there are no components of type : \"+t+\" [\"+o+\"]\");return null}var r=i.defaultComponent,s=e?e[t]:null,a=e?e[t+\"Framework\"]:null;if(s&&a)throw Error(\"You are trying to register: \"+t+\" twice.\");if(a&&!this.frameworkComponentWrapper)throw Error(\"You are specifying a framework component but you are not using a framework version of ag-grid for : \"+t);if(!a){var l=s||r;if(!l){if(n)throw Error(\"Unexpected error loading default component for: \"+t+\" default component not found.\");return null}return new l}return this.frameworkComponentWrapper.wrap(a,i.mandatoryMethodList)},e.prototype.createAgGridComponent=function(e,t,o,n,i){void 0===i&&(i=!0);var r=this.newAgGridComponent(e,t,o,i);if(!r)return null;var s=this.getParams(e,t,n);return this.context.wireBean(r),r.init(s),r},e.prototype.getParams=function(e,t,o){var n=e?e[t+\"Params\"]:null,i={};return p._.mergeDeep(i,o),p._.mergeDeep(i,n),i},e.prototype.newDateComponent=function(e){return this.createAgGridComponent(this.gridOptions,\"dateComponent\",\"dateComponent\",e)},e.prototype.newHeaderComponent=function(e){return this.createAgGridComponent(e.column.getColDef(),\"headerComponent\",\"headerComponent\",e)},e.prototype.newHeaderGroupComponent=function(e){return this.createAgGridComponent(e.columnGroup.getColGroupDef(),\"headerGroupComponent\",\"headerGroupComponent\",e)},e.prototype.newFloatingFilterComponent=function(e,t,o){var n=\"custom\"===e?\"floatingFilterComponent\":e+\"FloatingFilterComponent\";return this.createAgGridComponent(t,\"floatingFilterComponent\",n,o,!1)},e.prototype.newFloatingFilterWrapperComponent=function(e,t,o){var n=this,i=t.getColDef();if(i.suppressFilter)return this.newEmptyFloatingFilterWrapperComponent(t);var r;r=\"string\"==typeof i.filter?i.filter:i.filter?\"custom\":this.gridOptionsWrapper.isEnterprise()?\"set\":\"text\";var s=this.newFloatingFilterComponent(r,i,o),a={column:t,floatingFilterComp:s,suppressFilterButton:this.getParams(i,\"floatingFilterComponent\",o).suppressFilterButton};if(!s&&!e.getModelAsString)return this.newEmptyFloatingFilterWrapperComponent(t);if(!s&&e.getModelAsString){var l=o.currentParentModel;o.currentParentModel=function(){return n.filterManager.getFilterComponent(t).getModelAsString(l())},a.floatingFilterComp=this.newFloatingFilterComponent(\"readModelAsString\",i,o)}return this.createAgGridComponent(i,\"floatingFilterWrapperComponent\",\"floatingFilterWrapperComponent\",a)},e.prototype.newEmptyFloatingFilterWrapperComponent=function(e){var t={column:e,floatingFilterComp:null};return this.createAgGridComponent(e.getColDef(),\"floatingFilterWrapperComponent\",\"emptyFloatingFilterWrapperComponent\",t)},e}();n([r.Autowired(\"gridOptions\"),i(\"design:type\",Object)],g.prototype,\"gridOptions\",void 0),n([r.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",c.GridOptionsWrapper)],g.prototype,\"gridOptionsWrapper\",void 0),n([r.Autowired(\"filterManager\"),i(\"design:type\",h.FilterManager)],g.prototype,\"filterManager\",void 0),n([r.Autowired(\"context\"),i(\"design:type\",r.Context)],g.prototype,\"context\",void 0),n([r.Optional(\"frameworkComponentWrapper\"),i(\"design:type\",Object)],g.prototype,\"frameworkComponentWrapper\",void 0),n([r.PostConstruct,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],g.prototype,\"postContruct\",null),g=n([r.Bean(\"componentProvider\")],g),t.ComponentProvider=g},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(52),a=o(58),l=o(9),p=o(16),d=o(5),c=o(8),u=o(59),h=o(53),g=o(20),f=a.SvgFactory.getInstance(),y=function(e){function t(){return e.call(this,t.TEMPLATE)||this}return n(t,e),t.prototype.init=function(e){this.params=e,this.setupLabel(),this.addGroupExpandIcon(),this.params.columnGroup.isExpandable()?this.setupExpandIcons():this.removeExpandIcons()},t.prototype.setupExpandIcons=function(){this.addInIcon(\"columnGroupOpened\",\"agOpened\",f.createGroupExpandedIcon),this.addInIcon(\"columnGroupClosed\",\"agClosed\",f.createGroupContractedIcon),this.addTouchAndClickListeners(this.eCloseIcon),this.addTouchAndClickListeners(this.eOpenIcon),this.updateIconVisibilty(),this.addDestroyableEventListener(this.params.columnGroup.getOriginalColumnGroup(),g.OriginalColumnGroup.EVENT_EXPANDED_CHANGED,this.updateIconVisibilty.bind(this))},t.prototype.addTouchAndClickListeners=function(e){var t=this,o=function(){var e=!t.params.columnGroup.isExpanded();t.columnController.setColumnGroupOpened(t.params.columnGroup,e)},n=new u.TouchListener(this.eCloseIcon);this.addDestroyableEventListener(n,u.TouchListener.EVENT_TAP,o),this.addDestroyFunc(function(){return n.destroy()}),this.addDestroyableEventListener(e,\"click\",o)},t.prototype.updateIconVisibilty=function(){var e=this.params.columnGroup.isExpanded();l.Utils.setVisible(this.eOpenIcon,!e),l.Utils.setVisible(this.eCloseIcon,e)},t.prototype.removeExpandIcons=function(){l.Utils.setVisible(this.eOpenIcon,!1),l.Utils.setVisible(this.eCloseIcon,!1)},t.prototype.addInIcon=function(e,t,o){var n=l.Utils.createIconNoSpan(e,this.gridOptionsWrapper,null,o);this.getRefElement(t).appendChild(n)},t.prototype.addGroupExpandIcon=function(){if(!this.params.columnGroup.isExpandable())return l.Utils.setVisible(this.eOpenIcon,!1),void l.Utils.setVisible(this.eCloseIcon,!1)},t.prototype.setupLabel=function(){if(this.params.displayName&&\"\"!==this.params.displayName){l.Utils.isBrowserSafari()&&(this.getGui().style.display=\"table-cell\");this.getRefElement(\"agLabel\").innerHTML=this.params.displayName}},t}(s.Component);y.TEMPLATE='<div class=\"ag-header-group-cell-label\"><span ref=\"agLabel\" class=\"ag-header-group-text\"></span><span ref=\"agOpened\" class=\"ag-header-icon ag-header-expand-icon ag-header-expand-icon-expanded\"></span><span ref=\"agClosed\" class=\"ag-header-icon ag-header-expand-icon ag-header-expand-icon-collapsed\"></span></div>',i([c.Autowired(\"columnController\"),r(\"design:type\",p.ColumnController)],y.prototype,\"columnController\",void 0),i([c.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",d.GridOptionsWrapper)],y.prototype,\"gridOptionsWrapper\",void 0),i([h.RefSelector(\"agOpened\"),r(\"design:type\",HTMLElement)],y.prototype,\"eOpenIcon\",void 0),i([h.RefSelector(\"agClosed\"),r(\"design:type\",HTMLElement)],y.prototype,\"eCloseIcon\",void 0),t.HeaderGroupComp=y},function(e,t){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";function o(e,t){var o=n(t),r=document.createElementNS(i,\"polygon\");return r.setAttribute(\"points\",e),o.appendChild(r),o}function n(e){var t=document.createElementNS(i,\"svg\");return e>0?(t.setAttribute(\"width\",e),t.setAttribute(\"height\",e)):(t.setAttribute(\"width\",\"10\"),t.setAttribute(\"height\",\"10\")),t}Object.defineProperty(t,\"__esModule\",{value:!0});var i=\"http://www.w3.org/2000/svg\",r=function(){function e(){}return e.getInstance=function(){return this.theInstance||(this.theInstance=new e),this.theInstance},e.prototype.createFilterSvg=function(){var e=n(),t=document.createElementNS(i,\"polygon\");return t.setAttribute(\"points\",\"0,0 4,4 4,10 6,10 6,4 10,0\"),t.setAttribute(\"class\",\"ag-header-icon\"),e.appendChild(t),e},e.prototype.createFilterSvg12=function(){var e=n(12),t=document.createElementNS(i,\"polygon\");return t.setAttribute(\"points\",\"0,0 5,5 5,12 7,12 7,5 12,0\"),t.setAttribute(\"class\",\"ag-header-icon\"),e.appendChild(t),e},e.prototype.createMenuSvg=function(){var e=document.createElementNS(i,\"svg\"),t=\"12\";return e.setAttribute(\"width\",t),e.setAttribute(\"height\",t),[\"0\",\"5\",\"10\"].forEach(function(o){var n=document.createElementNS(i,\"rect\");n.setAttribute(\"y\",o),n.setAttribute(\"width\",t),n.setAttribute(\"height\",\"2\"),n.setAttribute(\"class\",\"ag-header-icon\"),e.appendChild(n)}),e},e.prototype.createColumnsSvg12=function(){var e=n(12);return[0,4,8].forEach(function(t){[0,7].forEach(function(o){var n=document.createElementNS(i,\"rect\");n.setAttribute(\"y\",t.toString()),n.setAttribute(\"x\",o.toString()),n.setAttribute(\"width\",\"5\"),n.setAttribute(\"height\",\"3\"),n.setAttribute(\"class\",\"ag-header-icon\"),e.appendChild(n)})}),e},e.prototype.createArrowUpSvg=function(){return o(\"0,10 5,0 10,10\")},e.prototype.createArrowLeftSvg=function(){return o(\"10,0 0,5 10,10\")},e.prototype.createArrowDownSvg=function(){return o(\"0,0 5,10 10,0\")},e.prototype.createArrowRightSvg=function(){return o(\"0,0 10,5 0,10\")},e.prototype.createSmallArrowRightSvg=function(){return o(\"0,0 6,3 0,6\",6)},e.prototype.createSmallArrowLeftSvg=function(){return o(\"6,0 0,3 6,6\",6)},e.prototype.createSmallArrowDownSvg=function(){return o(\"0,0 3,6 6,0\",6)},e.prototype.createArrowUpDownSvg=function(){var e=n(),t=document.createElementNS(i,\"polygon\");t.setAttribute(\"points\",\"0,4 5,0 10,4\"),e.appendChild(t);var o=document.createElementNS(i,\"polygon\");return o.setAttribute(\"points\",\"0,6 5,10 10,6\"),e.appendChild(o),e},e.getFromCacheOrCreate=function(e,t){var o=this.imageCache[e];return o||(o=document.createElement(\"img\"),o.src=t,this.imageCache[e]=o),o.cloneNode()},e.prototype.createFolderOpen=function(){return e.getFromCacheOrCreate(\"FolderOpen\",\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAZpJREFUeNqkU0tLQkEUPjN3ShAzF66CaNGiaNEviFpLgbSpXf2ACIqgFkELaVFhtAratQ8qokU/oFVbMQtJvWpWGvYwtet9TWfu1QorvOGBb84M5/WdOTOEcw7tCKHBlT8sMIhr4BfLGXC4BrALM8QUoveHG9oPQ/NhwVCQbOjp0C5F6zDiwE7Aed/p5tKWruufTlY8bkqliqVN8wvH6wvhydWd5UYdkYCqqgaKotQTCEewnJuDBSqVmshOrWhKgCJVqeHcKtiGKdqTgGIOQmwGum7AxVUKinXKzX1/1y5Xp6g8gpe8iBxuGZhcKjyXQZIkmBkfczS62YnRQCKX75/b3t8QDNhD8QX83V5Ipe7Bybug2Pt5NJ7A4nEqGOQKT+Bzu0HTDNB1syUYYxCJy0kwzIRogb0rKjAiQVXXHLVQrqqvsZtsFu8hbyXwe73WeMQtO5GonJGxuiyeC+Oa4fF5PEirw9nbx9FdxtN5eMwkzcgRnoeCa9DVM/CvH/R2l+axkz3clQguOFjw1f+FUzEQCqJG2v3OHwIMAOW1JPnAAAJxAAAAAElFTkSuQmCC\")},e.prototype.createFolderClosed=function(){return e.getFromCacheOrCreate(\"FolderClosed\",\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAARlJREFUeNqsUz1PwzAUPDtOUASpYKkQVWcQA/+DhbLA32CoKAMSTAwgFsQfQWLoX4GRDFXGIiqiyk4e7wUWmg8phJPOtvzunc6WrYgIXaD06KKhij0eD2uqUxBeDC9OmcNKCYd7ujm7ryodXz5ong6UPpqcP9+O76y1vwS+7yOOY1jr0OttlQyiaB0n148TAyK9XFqkaboiSTEYDNnkDUkyKxkkiSQkzQbwsiyHcBXz+Tv6/W1m+QiSEDT1igTO5RBWYbH4rNwPw/AnQU5ek0EdCj33SgLjHEHYzoAkgfmHBDmZuktsQqHPvxN0MyCbbWjtIQjWWhlIj/QqtT+6QrSz+6ef9DF7VTwFzE2madnu5K2prt/5S4ABADcIlSf6Ag8YAAAAAElFTkSuQmCC\")},e.prototype.createColumnIcon=function(){return e.getFromCacheOrCreate(\"ColumnIcon\",\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAOCAYAAAAMn20lAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RTcwQ0JFMzlENjZEMTFFNUFEQ0U5RDRCNjFFRENGMUMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RTcwQ0JFM0FENjZEMTFFNUFEQ0U5RDRCNjFFRENGMUMiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpFNzBDQkUzN0Q2NkQxMUU1QURDRTlENEI2MUVEQ0YxQyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpFNzBDQkUzOEQ2NkQxMUU1QURDRTlENEI2MUVEQ0YxQyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqDOrJYAAABxSURBVHjalJBBDsAgCAQXxXvj2/o/X9Cvmd4lUpV4MXroJMTAuihQSklVMSCysxSBW4uWKzjG6zZLDxrlWis5EVEThoWmi3N+nxAYs2WnXQY34L3HisMWPQlHB+2FPtNW6D/8+ziBRcroOXc0B/wEGABY6TPS1FU0bwAAAABJRU5ErkJggg==\")},e.prototype.createColumnsIcon=function(){return e.getFromCacheOrCreate(\"ColumnsIcon\",\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OENFQkI4NDhENzJDMTFFNUJDNEVFRjgwRDI3MkU1Q0EiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OENFQkI4NDlENzJDMTFFNUJDNEVFRjgwRDI3MkU1Q0EiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4Q0VCQjg0NkQ3MkMxMUU1QkM0RUVGODBEMjcyRTVDQSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4Q0VCQjg0N0Q3MkMxMUU1QkM0RUVGODBEMjcyRTVDQSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pj6ozGQAAAAuSURBVHjaYmRgYPjPgBswQml8anBK/idGDQsxNpCghnTAOBoGo2EwGgZgABBgAHbrH/l4grETAAAAAElFTkSuQmCC\")},e.prototype.createPinIcon=function(){return e.getFromCacheOrCreate(\"PinIcon\",\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAedJREFUeNqkUktLG1EYPTN31CIN0oWbIAWhKJR0FXcG6gOqkKGKVvEXCKULC91YSBcK7jXgQoIbFxn3ErFgFlIfCxUsQsCoIJYEm9LWNsGmJjPTM+Oo44Aa6IUzd+bec77H+UYyTRP/s5SsLFfCCxEjOhD9CXw64ccXJj7nLleYaMSvaa/+Au9Y73P3RUUBDIuXyaAxGu35A7xnkM57A7icCZXIO8/nkVleRn1/f9cv0xzjfVclFdi9N8ZivfnDQxQKBTwoFvFicLCVQSesJIpHMEY8dSqQWa54Eov1fF9ZQVHXsZNMblhnNE/wPmJPIX1zjOG2+fkgslnozHR2eopLcSIe3yoD48y45FbIxoVJNjimyMehoW3T58PvdBq53V18zeWwFo+vUfyBlCVvj0Li4/M1DnaAUtXCQkNDR4f/294eaoTAwdHRCROMWlzJZfC+1cKcJF07b5o+btWvV1eDyVBouyUcDj5UFDg924tVYtERpz0mCkmSulOp1GQgEIj0yvKPYiKBlwMDQXfPU47walEEmb8z0a5p2qaiKMPEoz6ezQLdM8DWNDDzltym24YthHimquoshSoDicvzZkK9S+h48pjCN4ZhrBPHTptlD0qevezwdCtAHVHrMti4A7rr3eb+E2AAoGnGkgkzpg8AAAAASUVORK5CYII=\")},e.prototype.createPlusIcon=function(){return e.getFromCacheOrCreate(\"PlusIcon\",\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAatJREFUeNqkU71KA0EQ/vaiib+lWCiordidpSg+QHwDBSt7n8DGhwhYCPoEgqCCINomARuLVIqgYKFG5f6z68xOzrvzYuXA3P7MzLffN7unjDH4jw3xx91bQXuxU4woNDjUX7VgsFOIH3/BnHgC0J65AzwFjDpZgoG7vb7lMsPDq6MiuK+B+kjGwFpCUjwK1DIQ3/dl0ssVh5TTM0UJP8aBgBKGleSGIWyP0oKYRm3KPSgYJ0Q0EpEgCASA2WmWZQY3kazBmjP9UhBFEbTWAgA0f9W2yHeG+vrd+tqGy5r5xNTT9erSqpvfdxwHN7fXOQZ0QhzH1oWArLsfXXieJ/KTGEZLcbVaTVn9ALTOLk9L+mYX5lxd0Xh6eGyVgspK6APwI8n3x9hmNpORJOuBo5ah8GcTc7dAHmkhNpYQlpHr47Hq2NspA1yEwHkoO/MVYLMmWJNarjEUQBzQw7rPvardFC8tZuOEwwB4p9PHqXgCdm738sUDJPB8mnwKj7qCTtJ527+XyAs6tOf2Bb6SP0OeGxRTVMp2h9nweWMoKS20l3+QT/vwqfZbgAEAUCrnlLQ+w4QAAAAASUVORK5CYII=\")},e.prototype.createMinusIcon=function(){return e.getFromCacheOrCreate(\"MinusIcon\",\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKVJREFUeNpi/P//PwMlgImBQjBqAAMDy3JGRgZGBoaZQGxMikZg3J0F4nSWHxC+cUBamvHXr18Zfv36Bca/f/8G43///oExKLphmImJieHagQMQF7QDiSwg/vnzJ8P3799RDPj79y+KRhhmBLr6I1DPNJABtxkYZM4xMFx7uXAhSX5/CtQD0gv0OgMfyCAgZgViZiL1/wXi30D8h3E0KVNuAECAAQDr51qtGxzf1wAAAABJRU5ErkJggg==\")},e.prototype.createMoveIcon=function(){return e.getFromCacheOrCreate(\"MoveIcon\",\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAoZJREFUeNpsU81rE0EUf7uzu2lNVJL6Eb0IBWusepqcKm3wEFkvxqDgQbwUtYeeg5cccwj4F7QKChEPipRcdMGDiaAoJAexLYViwYsfbU1JYkx3Zz98b8220Wbg7ez7vXm/mffmN9Kh1G2QGQOmMDiRyYEkSaCoKjDGdAAooOUdxzFsIcDzPPhSvgeO7YDrOLBRmQdlJHULVE0DNRSCvqFjUuHqhWP8+etvhR5m0CeengVhmiAsywdl2Dt03K1wZSrO220XaCaf8AFrQel32s0mrDcaWfovrq3Vc9OTvHj/Tb0Xzh6JxQwNyxtIgPXpqqJk94fDM+1Oh6CaEF4QTiIOGJ/DdQtBObsEmGxbll/rkCyDPDwMzW4XhHD88EH0NcRxDUeX4/qdnsi0s8Aas+kEp8Zg82pMkmpDigKbjSbQTD7hFL94/jin9ZRHBNLo3Wrt+uUkbzQsiEZVMPGKfv76DaawodnahkhY86+PNnXxs77ZgVOjMahWVuufi1NJRZhWvvT0beHGtQn++Nm7en+DzqXO8vfVxX+wsYnT/JWxWEe95P0eILsvkkdPKn4PUEBJmunILab5992PLVU++skoNmOniT7JX2Fkt5GM1EjqbMohXzQmqo7KwCQ6zYKiabu30PpQAnZ0HKSRMcMRwnBddw4ZOO4GLRYKFFdDhrrteTMMdWB9/QTdH8sIp0EKmNT4GWDjGZAPJ3TcrbBv+ibfwtwDqBvzYck/truxYjjLZRDflwLt7JUmEoAymdPV7INa5IXn0Uw+4f8PIqATMLQIWpQ0E/RFTmQ4nLx0B1Zfzrsr5eAmbLQW2hYpHwkcqfegNBJhzwY9sGC4aCZaF81CAvePAAMAcwtApJX/Wo0AAAAASUVORK5CYII=\")},e.prototype.createLeftIcon=function(){return e.getFromCacheOrCreate(\"LeftIcon\",\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAe9JREFUeNqkUz1oE2EYfu7uuyRKLCFt6g+4VNQWWod+mQRRR1En0UFOHKoNCMKNju4SEQsOzsFNcRGl4CS42AzaKhKcsqhk0Etj7u+773y/6+USbOLSF5574b33eX+e906L4xh7MaYeC/c/IFcowMznEzDTBGPMoldnqEFtkPy708mIqvHHe0s7BcaYJYSwRwPu9vbYRH1XJI4tEYb2jYtHOHko9LvdxE9cYZQcBoF9+9oJ7jgRQt+HFAJSyv9rkO6UkGvXF3mr9QelkpkUINsYR6T8Jrkay8i+b9+5yfnmppMmSFw6e4yrIynBBsdS3jQ1PH/zeTiBIt+9dZpvbTlZh1+Oh/Z3F33XRUj7R1GUxA3DwMx0EYHnDUUMPe9Rfe1tc26uiL6M8aXno+UH6O7PIShPIapMQx6sQMxW4JbL+MkKCKhwNgGN2FD7Pnz82j63coF/aoc4ekDHtxfrzUniaZrW/FfEBomI9Scv7fnVq7zdBwIqajBWpeTd99d3vgBNCaQSzMOLyJ+6ApSPWxSzD61a/MfThupSjVuvxk2A3sazYYGBGbML0OcvW9rMyeRLFO8eVGXnKyacMiug5ikSplLs05dXzqNQWpbv6/URjpK+m6JH3GhQQI2QI+RTmBO0EwQ/RUBcqe31d/4rwAB0lPTXqN6HzgAAAABJRU5ErkJggg==\")},e.prototype.createRightIcon=function(){return e.getFromCacheOrCreate(\"RightIcon\",\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAfBJREFUeNqkUz1s00AU/hwSh1SEhiFCYuhCVSExgHRiYKjEVCEyMMGAsjCxZunesWM7dIgEA8JISPyoUhFDFoZOSE2GgtrSIAYWSEPb1HUS23c+8+7iuE5/JKQ+6fOdz/e+970fG2EY4jyWVo9b819hGEZ8WCgW4z2dV2lZFUJYgnNwz9PwXRebc3cGBMfN6XSQy+eHryyCMuv43dRpBCpSz7b1qlB+cI3RWkEYlv+LQFkgBLxuV8s9OAhQLk0w7vsnSHQKVMhqQuYRSRBouK5AqyXwpHSdvfywUYkKb8UEFIU9fXybOY6A+jbszGAP7O/7RBKg2eR4dH+KvV5ej0k0gaqobXO0214c3acUDnt99Pp9cKqDUqLsx68LuHd3gtU+b1eOCOiSaaZQKJjgMsSOy7EnJcSYCZnLwKbojic1weTVMXz81KhTexeSKdSXqrUzh2X84Qxr9SQmx1P48q6mnTPZrJUs4jMp5QlHlSd1Y203fRGFK8DPV28HzqZpjXShW3+D00bamCrpNU9DuvvcGsjea1rO+nvw39+AxRCGckyO8ciQFG8gPT27ptX8/b4gt1asYGdzRGE6MVCXCJcj5NShbG9B/NnYhttpyMYL5XmTYEdw1KgMFSgJJiEbIXNGPQXBi+CTrzTO+zv/E2AA3Y8Nbp4Kn1sAAAAASUVORK5CYII=\")},e.prototype.createColumnVisibleIcon=function(){return e.getFromCacheOrCreate(\"ColumnVisibleIcon\",\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAdhJREFUeNrUk01LAlEUhu845QdRUxZBhIIWtFBso2AwRAVNLqKltHCb63b9A/9AixZCELhyYdAmEyYCBcOlNa1CSQoxog/DMY3x9p5B27Zw1YGH8XrO+55759wROOdsmLCwIWNoAwFh/ugfZQKsAQV4gbNf9woqIAeuQHOgGxgIMNix2Wx7iqIsxmKxWU3TxgqFgpWSsix3fT5fK5VKPedyuftOp5OE7oz60hHsYD8UCh3k83k5k8ksGYYx5XK5rK2WzgiIrPQf5aiGakljakVRjKDrZaPR6Oi6zglVVTlFMnnMZXmdK8o2x674IE+1pCHtCFx2w+GwE9u3drtd81yJRAKdDXZ4eGSuFxb87PHxjg3yVEsaNNolg5NSqTTVbDaX7Agq8Hg8TFWLbGVl0xTY7TY2Our5NfhCQPNAWtFisdSr1WqvWCwawWBwRpKkcZyXadoN83qXmSQ50V1jGxurpnGlUqnH4/FzvItTmoo5ApjQNMIOh2MrEon4o9Gov1arzZXL5XHKBwKBT7fbXU+n07fZbPa23W5f4BVd93o9TgYimATTMHHCbB5PN9ZSf0LmrsEHRDWInvB8w/oFvAv920iFDkBzF/64fHTjvoFOxsL//5h+BBgAwjbgRLl5ImwAAAAASUVORK5CYII=\")},e.prototype.createColumnHiddenIcon=function(){return e.getFromCacheOrCreate(\"ColumnHiddenIcon\",\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6N0ZGNDRBMkJENkU3MTFFNUIwOTBGRTc0MTA3OTI2OEYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6N0ZGNDRBMkNENkU3MTFFNUIwOTBGRTc0MTA3OTI2OEYiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3RkY0NEEyOUQ2RTcxMUU1QjA5MEZFNzQxMDc5MjY4RiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3RkY0NEEyQUQ2RTcxMUU1QjA5MEZFNzQxMDc5MjY4RiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjQ0mkwAAACISURBVHjaYvz//z8DJYCJgUIwDAxgKSwspMwAIOYDYlcgtgNiJSBWBGJhIGaHyoHAJyD+CcRvgfg+EN8D4kNAvBtkwGEg1iNgkSCUlgBibSg7D4gvgwywRXKBChArALEIELMCsQBU8Qcg/g3Eb4D4ARDfBeKDMBeAnLcWikkGjKMpcRAYABBgACqXGpPEq63VAAAAAElFTkSuQmCC\")},e.prototype.createColumnIndeterminateIcon=function(){return e.getFromCacheOrCreate(\"ColumnIndeterminateIcon\",\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OUY1QTkyNDUxRTkzMTFFNkFEQzVDNjE1NDE4RDlEQUMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OUY1QTkyNDYxRTkzMTFFNkFEQzVDNjE1NDE4RDlEQUMiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5RjVBOTI0MzFFOTMxMUU2QURDNUM2MTU0MThEOURBQyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo5RjVBOTI0NDFFOTMxMUU2QURDNUM2MTU0MThEOURBQyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Por9Q7gAAAGzSURBVHja1JOxSwJRHMffqXcqSoVBQ0FDNN7iIBxO5WA3NYoEjm0u/T2Bkw2ONZlgNEk4Bw6GiGiippmRnp76+n4PbWhpcOoHH57P+36/7/e8n4qUUmxSLrFhbRygoJwPq6tsgRMQB0cgtNINQA0UwCMYrX3rAAUB516v9zIejx+nUqm90WgUDIfDaq1WE9PpdK6q6mc2m+0WCoUX7K/hu+O5TPCBq0gkUiqXy0PbtqVlWXK5XDqwuE4mEzmfzyU11NJDr3C73SZOfeh0OtPxeCyR7oixlzhdVqtV2ev1nCB+Tw219NDrQRtJwzBCaF+bzWbsSGQyGVEsFoWmacLj8YjBYCBisZhIp9MC3Qhq6YEmyQ5OTdO8bTQak263K8m69d+FIOc5tfTQywAvTrmIRqM3pVLptd1uy3q9/nN3slgsZLPZlHxGDbX00Ou8ApfLxbdh+P3+MyTriURC7/f7+7hCsFKpCF3XvwKBQCuXyz3n8/ln/Bb3yH9iOAPcYAfsIiSEsAOsh9hvA99qDizwAVMDphbWd+zfwFBZTSOFfqBxJv4YPk6cDcYMVv7/n+lbgAEAtdcjOjP715MAAAAASUVORK5CYII=\")},e.prototype.createGroupIcon=function(){return e.getFromCacheOrCreate(\"GroupIcon\",\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NUVCNUI1OUNENkYwMTFFNThGNjJDNUE3ODIwMEZERDciIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NUVCNUI1OURENkYwMTFFNThGNjJDNUE3ODIwMEZERDciPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo1RUI1QjU5QUQ2RjAxMUU1OEY2MkM1QTc4MjAwRkRENyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo1RUI1QjU5QkQ2RjAxMUU1OEY2MkM1QTc4MjAwRkRENyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PlkCTGoAAACDSURBVHjaYmRgYPjPgBswQun/+BT8X3x5DoZErG4KCj/3/DcMNZMNuRiYGPADRiRX4HYBJV5AB0QrhAGW//8hehgZES6FiaGLYzUAq7sxNf0nxQCsinHFAguegCPKBYxoYfAfWQxNnPgwINJVYMDEQCEYfLHASGoKRQlxPN7BqQggwAAN+SopPnDCwgAAAABJRU5ErkJggg==\")},e.prototype.createPivotIcon=function(){return e.getFromCacheOrCreate(\"PivotIcon\",\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAitJREFUeNqcU01rE1EUPfPVJjFqdYw2pJQkNS2hYhQUiwj+AaugKFYUBWutG3HjokgNrroRKYKbglBBFF0o1IW404qClGIDxpYKTQgULZJmmpiYkPnwvmtNspPmweOcmXnnvPPufSOdjsf7AfjR3PiOU6OjV50mh9CqtmVJDlkNjWU3tPXEiA6hlS3Lkm3HQbFYxO5hnTF0pQ3Bwa3MAxc98F9wMd95TsOOswpzoRFa1TJNyaKHtTUD07cNdv9wx6jtNDNW53N369xyOiC0qmmanMAwcjh+/yimrr/D28kjf8WLizjY3c38YzKJw729zKcTCU4gtLUE+Xwejy+94gWfl5agKQr8uo4Eccu2USr48SWVQq5QWE/gcAJZuIgF5XIF5yf7GfcGg9Cos4O3UoiFw2jFLrx+/wtRet+3nkJoOAEbkJtty5g484I+yUivrODekxb4tmuInZhCuFPHyHAXZubnUTXNWgKhlc1qlY+gaZsw9PwkY4fPhxsDXvxcrWL25TE8G+8DFAOxSAQHotG6AWlrRXS52vD08ifGr5kM1+BBPIBkOo3flQpaNA2zCwug+8MGdkMCPoLbvQ0DDw8xRgIBBNvbsUoF6yK+h+pQJpN91JH9PT2NCWS1Ui4rNhtswZubPxi/LS9TTWxemKTK/9t1jtramEBo1Vw226pRvEfj3oaL6v3vVRYaoZXcodA12ePpbOZXtEuljEToprmZprpBvehn4Y8AAwDB0mLL0M405wAAAABJRU5ErkJggg==\")},e.prototype.createAggregationIcon=function(){return e.getFromCacheOrCreate(\"AggregationIcon\",\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAMZJREFUeNpi/P//PwMlgImBQjDwBrCgmMYENq8RiLVxqL8KxPX//v1DiIACEYYZGRlBmBOIe4B4PRDrQMUYoGyQGIoebAbADJkAxFuAWA9JXJdYA0CYC4inAPFOINZHlkPWgxKIcFMhQA0aFveB+DbOUERxDhQAbTEC4qNAPBfqEmRx3F6AAhOgojNAvBikGckumDiKHhY0B3ECcTVQQhRIg/B1NNeeB1IgQ7/BXYvmdE6oAnYcPv4NxF+BerAbMDTzAkCAAQChYIl8b86M1gAAAABJRU5ErkJggg==\")},e.prototype.createDropNotAllowedIcon=function(){return e.getFromCacheOrCreate(\"DropNotAllowedIcon\",\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MjUyQ0MxNDY0NjBDMTFFNkEzMUVGQUE3NkQzQzU4MjYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MjUyQ0MxNDc0NjBDMTFFNkEzMUVGQUE3NkQzQzU4MjYiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoyNTJDQzE0NDQ2MEMxMUU2QTMxRUZBQTc2RDNDNTgyNiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoyNTJDQzE0NTQ2MEMxMUU2QTMxRUZBQTc2RDNDNTgyNiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PstpFisAAAGLSURBVHjalJNPKERRFMbnvRmKpAnjhURKWXjJLNQsqDE7KxI1NhYU2cjKxtbGZpSNqSFT/qxkYafmLWyU2LElCwYLo0SS8J36rk7XbJz61f33nXPuuec6ad8PWdYHJsEAaOPaDTgGeXCqD0cs8TqYCf21bjIHsmC2nIMCGOT4C3yCV44rQRXPS4BOkNIOchTL4RI4A0fggvtdYAj0g2qeFc10hKlNUXwF1sAOeALfdHCuxMZEsyoOFrjwTK8bTN3YMGvjcf7BzF3RukxHIl2DfSVuALvgQIn3wCJ44zwpDpqY/i2458YouARpzmV9BEyAExWk2RTRARUgxiuMqytsg3nWRCzMgL/PWATtoJfVr+PeHd/70OoJ6bxajotyhYCTmBJv8XVssdRljD0hFoiDDCcyfgcrjFyyxFGwBBI8K5YJ+573iEEriHOjBdSr55KoSbDM4ppekFrlHPWZCupJpcoP4IWCRt7bRA5MK7sqxRQ/irxIDegAPez7qDqbNeJyv1Huvvmf7/wjwABtLlYtICx9HQAAAABJRU5ErkJggg==\")},e.prototype.createGroupIcon12=function(){return e.getFromCacheOrCreate(\"GroupIcon12\",\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MTNFQzE0NTdEOTk1MTFFNUI4MjJGMjBFRDk4MkMxNjAiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MTNFQzE0NThEOTk1MTFFNUI4MjJGMjBFRDk4MkMxNjAiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoxM0VDMTQ1NUQ5OTUxMUU1QjgyMkYyMEVEOTgyQzE2MCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoxM0VDMTQ1NkQ5OTUxMUU1QjgyMkYyMEVEOTgyQzE2MCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PiInRbAAAAEjSURBVHjaYuTi5XqkpKvI9/fXHwZWDlaGZ/eeM7x59raDAQj4pOQrBBUVGP78+MfAzMbE8PLKhU8Mhnb6/6//P/f/8N/d/x8AWUn1cf+BaleCsFPt5P/T/v//3/zj//8JQFrB1vM/I5IN3EAbfgBt+Au0QRBqw3sMG0DiQMwPxFuB2BzKZmLAAViA+BOU/QOI7wPxRyhfCIhT0NT/ZETi7AZiZiD+DOXL6EdlGdkWFzF8evaDgUuIg2F9eiTYBrhuIJ4NxHegfDsgnobuJGQbNgBxMRDfhfLFgDgB3UnInPVALMxAACDbcBGItwDxAyhfCRismejBiuyHiUBsDMQmUL6cSXIJf0hTDsNboEN42RkYJth58TPisV0eaMNFdBsAAgwANVJzd8zQrUcAAAAASUVORK5CYII=\")},e.prototype.createCutIcon=function(){return e.getFromCacheOrCreate(\"CutIcon\",\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlRJREFUeNqkU09okmEcfj6ThNRhjUEJDhxDZ1t4sI3lDrKDhESHpC6x6yBoh52GfcdBJDvtElEUdKhOSq1JjF0SabSton9OmIeRxVKIrUgdU5xvv8e+hXXYpRcefv+e5/mh7/tpSin8z9Gi0Sg0TTsv+edarfa+Wq2iUqmgXC6DudVqhd1uh81ma+UWi8Uv3G5ZPJ9MJmGq1+twOBynBOek6T9oG+fkkU8djymVSiGTyWBiYuL6QSb7YvLIp679+D0ej57NZpX8JD0QCPj7+vrgcrnAyJp9zskj3zD928Tr9er5fF5FIhFdiH4aMLJmn/N98R+Dq5qGSUFQwKFs1AuFggqFQrrT6bzIyJp9zoMGn7qWQU6ST4JNQeK3kd/n8+nFYlGFw+HFdDqtWLOfMHjk5wwDjckRwGYGeJVnBMdXgaNrbveJKysr/etu91pHtVo8BnyXWUnwsgHM7wAVX7MJ0cEmjWvW4eGzjpGRXnNnZ8cFeRi9pRI+dnXtjMbj/cLp57rG1tbPH0tLwd3l5QHp3RBU8E7Txr4MDb1V8bh60tOzfhN4vTc9rRYkCm4tGDX7nJNHPnWt/+CFpt1rF9emptScxKfA2DNZwThn9NtNWjoxMH1Tqru+va02NzbK47FY4PHMzJtdYPYD8OChGDCyZp9z8sinrnWXt4E7q4ODRbrelw0x2Xjyn1fImn3OySOfutYt+IDRSeCycAZeAYm7wKLkshR87A1+cILDAss4EDkNXJI8Ows8yin1nENn+5MXNA3hnpHzHBKYjWhqe4lffwkwAMRcPMqRQZ4vAAAAAElFTkSuQmCC\")},e.prototype.createCopyIcon=function(){return e.getFromCacheOrCreate(\"CopyIcon\",\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAgBJREFUeNqMk79rFEEcxd/M7V2QAzVFEOMFGwNiIGCjEdIEhYODmEawsFf8G4QQSCPYyqUWCdhY2qSQECSpInvFJYT8Ki6dZO8Sb2P29pfvu+4sm+UKv/AYZna/b95ndla9WFyEUmoewG0Mr+9hGB5EYYhypZIseO0fCHa3sP/LhxVFkazd+by0tOIFAQac+3w5imPYto1Pa2tv+VxR+8bRuv8EevIRxn5uQoszpWI2RjSIBgMMLi/hui76/T6+Li+v8Pkz9k0Wo409pFHAJooUCiWqYlk46nTQ2ttD+/gY75pNPKjVmmfd7gf2vKbu5U0sMWBpzWatNcAkv7n789lZ1GdmMqQ3cbxApIUikg58H5S0JgkSE/L/L1JmoNJmMZEDzCNdK5cxwtFxHHxcXcXTqalm27Zf7rRaRKBBhkAhxcgjiYlUo16HfKlqtYpv29u95Az81EClCFLyaQ0SCib/dtNJ6qsGfDmJnRqoXIKiyVUDz8sSSGy5VnI3ikh5k1KplBnog/V19BxnRCZmV15dGCSdO1wziphcS3rrT7d71zk5Ob8+Pf3eMN4aH3/8qtGYM0hp7iyJbO0bBOrMPTz8kl6OpGoTEzEncwapaCLrRNfu6Wli0Etl6mbfdb0MiYrlXsjZyAUTE0qwOxsbo9aQ3/dGEWlYRRcX5xxG/wowAC8cIjzfyA4lAAAAAElFTkSuQmCC\")},e.prototype.createPasteIcon=function(){return e.getFromCacheOrCreate(\"PasteIcon\",\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAadJREFUeNpinGLPAAaMjAxwcJ9Tk+0Bt7YPkCkKFXqt8PXqFsXv13/B1Pz/D6FZENoYZgKxMYgh9OI6i567q5hFUp4kiH9i3qTnT3auqWPgZ/gDVXsWiNPBFk+2hxtwxi0syfjy5csM0vFzGTg42Bj4+XnAEh8/fmH48eMXw9OFyQy6uroMu1bNAxlgAnbB338IJ6hlzWU4uXgJw6FDO4Ga+Rl4eXkZWFlZGb58/crw6eNHBjG7Iga1yAiG7SvmwfWw/P2LMADkraiYaIb79+4xYAOKSkpgNch6UFzwFxgy//79Y5BTUMBqwF+g3H8mJgZkPSgu+Ac04M+/fwz4AAswulBc8Ocfqg1/kGWxAEagAch6WP78RfUCIQOYmJkZ/qC44A+qAb8JeIEZZMkfXC4gwgsQNUgG/CbRC2BXIhvw8AsDgzQnkgEEvACxBMJ++h0YJmufMTA8ABry8xckGkFOxIdBakBqQXpAekGZiXPTSwbeUAEgB5hsObm58acDoJp3nxkYNn1gEANyP4MNAGKxh18ZbsXxsjMQA97/Z7gF0gPEfwACDAB/y9xB1I3/FQAAAABJRU5ErkJggg==\")},e.prototype.createMenuIcon=function(){return e.getFromCacheOrCreate(\"MenuIcon\",\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QjM3MUVBMzlERkJEMTFFNUEwMjFFNDJDMDlCMUY3OTciIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QjM3MUVBM0FERkJEMTFFNUEwMjFFNDJDMDlCMUY3OTciPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpCMzcxRUEzN0RGQkQxMUU1QTAyMUU0MkMwOUIxRjc5NyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpCMzcxRUEzOERGQkQxMUU1QTAyMUU0MkMwOUIxRjc5NyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pux7nZcAAAGtSURBVHjalFM9a8JQFL0veYkfYJUQEYuIIF07uToVpGuHOgid3dJN+i+K4C6CXQqFjplcCoKbXZ0EqRUFP/CTxCS9NzTdNOmBx32P3Nx3zj33sXq9/tRqtbRYLCaLomhBANi2La5WK7NSqTRYNpt1LMsCLACO47iLMXY2CoIAm80GZFkGoVQqfWy3WzBNE6gQVveNhmHAbreDYrHYZaPRKKTr+i0ykTDBPnUzgfYEvFkYDAZWoVDQWb/fB9QD6XQajscjBCkQDodhOBzCcrkEVq1WXfoEL9EPlEdSZrMZ8Pl8frVYLO7QgRB+sPx+/GUk4qUGNvOdYSO+JpPJJdHyc8ADnUluIpH45vv9XiFbiFIQC71IjuBe5ZlM5gYlPHLOL7C4AcEgofXbXC7X4PF4vKuqahf+AWJxOBwgEokA6/V67kFRFFcGLU/SqShJkusATSNbr9fQ6XSuU6mUQP3BBIaJZyM6BuPx2Mnn85+sVqu9ttvt+2QyGXgOqInT6RTK5fIbwwl0iFI0Gv2btCA9QPdcOVzTtOdms/mAnnKkaAexES0UcG/hc375EWAA94tOP0vEOEcAAAAASUVORK5CYII=\")},e.prototype.createCheckboxCheckedIcon=function(){return e.getFromCacheOrCreate(\"CheckboxCheckedIcon\",\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpFQ0VGQkU3ODM4MTFFNjExQjlCQzhERUVDNkNGMzFDMyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpBRkJCRDU1MTEyM0ExMUU2ODE4MUUyOTNBNTRGQkIxNyIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpBRkJCRDU1MDEyM0ExMUU2ODE4MUUyOTNBNTRGQkIxNyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjIzMkM4M0M1M0MxMUU2MTFCOUJDOERFRUM2Q0YzMUMzIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkVDRUZCRTc4MzgxMUU2MTFCOUJDOERFRUM2Q0YzMUMzIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+riMaEQAAAL5JREFUeNqUks0JhDAQhSd7tgtLMDUIyTXF2IdNWIE3c0ruYg9LtgcPzvpEF8SfHR8MGR75hpcwRERmrjQXCyutDKUQAkuFu2AUpsyiJ1JK0UtycRgGMsbsPBFYVRVZaw/+7Zu895znOY/j+PPWT7oGp2lirTU3TbPz/4IAAGLALeic47Ztlx7RELHrusPAAwgoy7LlrOuay7I8TXIadYOLouC+7+XgBiP2lTbw0crFGAF9ANq1kS75G8xXgAEAiqu9OeWZ/voAAAAASUVORK5CYII=\")},e.prototype.createCheckboxCheckedReadOnlyIcon=function(){return e.getFromCacheOrCreate(\"CheckboxCheckedReadOnlyIcon\",\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NTZENDVDNkY0NDVFMTFFNkI1MjZCRkJDQ0FEMUEyNDMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NTZENDVDNzA0NDVFMTFFNkI1MjZCRkJDQ0FEMUEyNDMiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo1NkQ0NUM2RDQ0NUUxMUU2QjUyNkJGQkNDQUQxQTI0MyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo1NkQ0NUM2RTQ0NUUxMUU2QjUyNkJGQkNDQUQxQTI0MyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PiE1TFsAAAGLSURBVHjadJI9a8JQFIbfSFBBakDaDg5O0nay4OSPsEFoCq4JODhUShd3F9emFreKqJOlS6Xg4OB/cIkZijjXwRa/uthzLokESS683I+cJ+fec15pv9/DHfP5/JSmR1KedOEcW6QP0nMqlfp2YyUXJOiWpleSAv/xQzIIfudNyAO9+UHr9Rrtdhuz2SzOMU4sQrQ4o7nF2f3SDIdD1Ot19Ho9ODEtYs454z0p7gdNp1OYpontdot0Ou0ec+wDgyrvlsslxuPxAdpsNmg0GnxFVCoVaJrm/WeewSte9ft9lMtljEYj8YWvNhgMkMvloOs6ZFn2gpeHnaIoohDNZhO73Q7dbhfRaBTVahWJROL4FX+y06frQqGAyWSCTqcDy7KwWq1Qq9WQzWb9nv8VcpqLcDgsrprJZASkqiqKxWJAS/HJ4IvTXCSTSRiGISpYKpUQiUSCjPAknOMxgLRYLGDbtsgci8WOIbbZHbvHaznNMcJJwPV+SbprOSnA5Ddccq4eyeY3kUyvyf8FGAAA/p3KIKgjXwAAAABJRU5ErkJggg==\")},e.prototype.createCheckboxUncheckedIcon=function(){return e.getFromCacheOrCreate(\"CheckboxUncheckedIcon\",\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpFQ0VGQkU3ODM4MTFFNjExQjlCQzhERUVDNkNGMzFDMyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo2MkU1Rjk1NDExNDExMUU2ODhEQkMyRTJGOUNGODYyQyIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo2MkU1Rjk1MzExNDExMUU2ODhEQkMyRTJGOUNGODYyQyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjI1MkM4M0M1M0MxMUU2MTFCOUJDOERFRUM2Q0YzMUMzIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkVDRUZCRTc4MzgxMUU2MTFCOUJDOERFRUM2Q0YzMUMzIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+t+CXswAAAFBJREFUeNrsksENwDAIA023a9YGNqlItkixlAFIn1VOMv5wvACAOxOZWUwsB6Gqswp36QivJNhBRHDhI0f8j9jNrCy4O2twNMobT/7QeQUYAFaKU1yE2OfhAAAAAElFTkSuQmCC\")},e.prototype.createCheckboxUncheckedReadOnlyIcon=function(){return e.getFromCacheOrCreate(\"CheckboxUncheckedReadOnlyIcon\",\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NjE4MjE1MTc0NDVFMTFFNjgyNzA5QzQ5MjBBRTM0QTkiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NjE4MjE1MTg0NDVFMTFFNjgyNzA5QzQ5MjBBRTM0QTkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo2MTgyMTUxNTQ0NUUxMUU2ODI3MDlDNDkyMEFFMzRBOSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo2MTgyMTUxNjQ0NUUxMUU2ODI3MDlDNDkyMEFFMzRBOSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PoIZc5kAAADFSURBVHjaYvz//z8DDDx69EgESBUBsQ8Qq0GFbwDxJiCeJCcn9wamlhGmEagpGEjNBWJ+BuzgExAnATWvhWuEaloN4jPgByBbQkGaGR8+fCgK5NwBYj4G4gDIZlUmIJFLgiYGqNoCkEY/BtKBD0ijBhka1ZkYyAO/mKDxRCq4xwSNXFLBVlB0iAEZt0mODmBkvgKlCGjkMhCRAECp5xU4cKDJKAyIP+PR9BmWalDSKloi9wUFOSj0gPgWyE9APBE5kQMEGAD0/UBfnjaiGAAAAABJRU5ErkJggg==\")},e.prototype.createCheckboxIndeterminateIcon=function(){return e.getFromCacheOrCreate(\"CheckboxIndeterminateIcon\",\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpFQ0VGQkU3ODM4MTFFNjExQjlCQzhERUVDNkNGMzFDMyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpGMjU4MzhGQjEyM0ExMUU2QjAxM0Q2QjZFQ0IzNzM4NiIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpGMjU4MzhGQTEyM0ExMUU2QjAxM0Q2QjZFQ0IzNzM4NiIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjIzMkM4M0M1M0MxMUU2MTFCOUJDOERFRUM2Q0YzMUMzIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkVDRUZCRTc4MzgxMUU2MTFCOUJDOERFRUM2Q0YzMUMzIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+2Xml2QAAAGBJREFUeNpiYGBg8ATiZ0D8n0j8DKqH4dnhw4f/EwtAakF6GEGmAAEDKYCRkZGBiYFMQH+NLNjcjw2ghwMLIQWDx48Do/H5kSNHiNZw9OhREPUCRHiBNJOQyJ+A9AAEGACqkFldNkPUwwAAAABJRU5ErkJggg==\")},e.prototype.createCheckboxIndeterminateReadOnlyIcon=function(){return e.getFromCacheOrCreate(\"CheckboxIndeterminateReadOnlyIcon\",\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6Nzg3RjczNTA0NDVFMTFFNkE4Q0NDN0E3NUI3Qjk5QjIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6Nzg3RjczNTE0NDVFMTFFNkE4Q0NDN0E3NUI3Qjk5QjIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3ODdGNzM0RTQ0NUUxMUU2QThDQ0M3QTc1QjdCOTlCMiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3ODdGNzM0RjQ0NUUxMUU2QThDQ0M3QTc1QjdCOTlCMiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PhD2+R8AAADRSURBVHjaYvz//z8DDDx69EgESBUBsQ8Qq0GFbwDxJiCeJCcn9wamlhGmEagpGEjNBWJ+BuzgExAnATWvhWuEaloN4jPgByBbQkGaGR8+fCgK5NwBYj4G4gDIZlUmIJFLgiYGqNoCkEY/BtKBDwuQ0IDx5OXl8aoGegvGVGdiIA/8YoHGkz6aiYTAPSZo5JIKtoKiQwzIuE1ydAAj8xUoRUAjl4GIBABKPa/AgQNNRmFA/BmPps+wVIOSVtESuS8oyEGhB8S3QH4C4onIiRwgwABzikY1hHfO+QAAAABJRU5ErkJggg==\")},e.prototype.createGroupExpandedIcon=function(){return e.getFromCacheOrCreate(\"GroupExpandedIcon\",\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAYAAACprHcmAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NzBBODQ4M0ExMjM4MTFFNkFDNEJDMjUzQUJBQ0I2QjkiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NzBBODQ4M0IxMjM4MTFFNkFDNEJDMjUzQUJBQ0I2QjkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3MEE4NDgzODEyMzgxMUU2QUM0QkMyNTNBQkFDQjZCOSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3MEE4NDgzOTEyMzgxMUU2QUM0QkMyNTNBQkFDQjZCOSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PhKAo60AAADVSURBVHjajFC9DkRgEJzzFhqiligURKcjR+UFJK7wGN7jOq+glXgCvSgUCnyVn47GHsVdcURsss3s7OzOPEzTdB3HeTPGeMMw0DQNOI4Dz/PI8xyWZSGO4y4MwxeSJGnruqarGseRNE1r4fv+YSgIwgErioJwpgrggHmeR7Bt+xZ5GAbCNE2/0zvpv78v6bpOUFX1lvK6roQz92dkWZYJiqLcSmOeZ9qDb6uqusx5WRaSJIlBFEUnTdNuC536vifXdaksSwqCgLIsoyiKdnNs23l+BBgAK/54I/P5bhMAAAAASUVORK5CYII=\")},e.prototype.createGroupContractedIcon=function(){return e.getFromCacheOrCreate(\"GroupContractedIcon\",\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAYAAACprHcmAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6N0U2QUVBRDYxMjM4MTFFNjk3NjVBRUM0MUJDRjFCODgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6N0U2QUVBRDcxMjM4MTFFNjk3NjVBRUM0MUJDRjFCODgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3RTZBRUFENDEyMzgxMUU2OTc2NUFFQzQxQkNGMUI4OCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3RTZBRUFENTEyMzgxMUU2OTc2NUFFQzQxQkNGMUI4OCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PhjzsKsAAADSSURBVHjajJAvioVgFMXPuAuLYhYMBsVmU54mNyA4wWW4j2luwSq4ArsYDAZ9X/JP0+KZ58CkgTffD264l3MPnPPh+34cRdGXEEL1PA/TNEFRFKiqirZtEQQByrJ85nn+iaqq5nEc+Y5t2+g4zow0TSlD13XEf66/JElChGEoJV7Xldj3/WfRNI0A/sx9v3Fdl7BtW8r5ui6CkpimSViWJSU+joN38fMwDG+F53nSMAwBXdejuq6fr9K5LAvjOGbf98yyjE3TsCiKO5x4/Ty+BRgA3R6JXc/jqsQAAAAASUVORK5CYII=\")},e.prototype.createGroupLoadingIcon=function(){return e.getFromCacheOrCreate(\"GroupLoadingIcon\",\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAYAAACprHcmAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6M0I3QUY0MjAwQTM2MTFFNzkzQzNGQUI2NDhCM0RBRTEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6M0I3QUY0MjEwQTM2MTFFNzkzQzNGQUI2NDhCM0RBRTEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDozQjdBRjQxRTBBMzYxMUU3OTNDM0ZBQjY0OEIzREFFMSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDozQjdBRjQxRjBBMzYxMUU3OTNDM0ZBQjY0OEIzREFFMSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Ps9zjP8AAADESURBVHjadNDJCoFRGMbxj4xlyhBJGSNla+0KLNhKYaXIwsbKXbgDd2PjHtjYYUVS/I+exdfBqV9neN8zvMdxvlsOOzTsgFf9BGONQ2gjofkAM/emBV4YwY87UuhpfW3f0legjBYymo/dSVkUNDaJUY2DqMKjuKnlU8wZJ0R+FHxUfG921VXUQf0VN709rfebkx/uEzp4ooKS3mw2de2rpipmjgAuSGKo9ZVJ8rn+e4kNioijhi1iCDt/Wt4Ug6YdeAswAEquIINwlr6iAAAAAElFTkSuQmCC\")},e}();r.imageCache={},t.SvgFactory=r},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var n=o(6),i=o(9),r=function(){function e(e){var t=this;this.destroyFuncs=[],this.touching=!1,this.eventService=new n.EventService,this.eElement=e;var o=this.onTouchStart.bind(this),i=this.onTouchMove.bind(this),r=this.onTouchEnd.bind(this);this.eElement.addEventListener(\"touchstart\",o),this.eElement.addEventListener(\"touchmove\",i),this.eElement.addEventListener(\"touchend\",r),this.destroyFuncs.push(function(){t.eElement.addEventListener(\"touchstart\",o),t.eElement.addEventListener(\"touchmove\",i),t.eElement.addEventListener(\"touchend\",r)})}return e.prototype.getActiveTouch=function(e){for(var t=0;t<e.length;t++){if(e[t].identifier===this.touchStart.identifier)return e[t]}return null},e.prototype.addEventListener=function(e,t){this.eventService.addEventListener(e,t)},e.prototype.removeEventListener=function(e,t){this.eventService.removeEventListener(e,t)},e.prototype.onTouchStart=function(t){var o=this;if(!this.touching){this.touchStart=t.touches[0],this.touching=!0,this.moved=!1;var n=this.touchStart;setTimeout(function(){var t=o.touchStart===n;o.touching&&t&&!o.moved&&(o.moved=!0,o.eventService.dispatchEvent(e.EVENT_LONG_TAP,o.touchStart))},500)}},e.prototype.onTouchMove=function(e){if(this.touching){var t=this.getActiveTouch(e.touches);if(t){!i.Utils.areEventsNear(t,this.touchStart,4)&&(this.moved=!0)}}},e.prototype.onTouchEnd=function(t){this.touching&&(this.moved||this.eventService.dispatchEvent(e.EVENT_TAP,this.touchStart),this.touching=!1)},e.prototype.destroy=function(){this.destroyFuncs.forEach(function(e){return e()})},e}();r.EVENT_TAP=\"tap\",r.EVENT_LONG_TAP=\"longTap\",t.TouchListener=r},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(52),a=o(18),l=o(9),p=o(8),d=o(5),c=o(61),u=o(59),h=o(58),g=o(6),f=o(53),y=o(12),v=h.SvgFactory.getInstance(),m=function(e){function t(){return e.call(this,t.TEMPLATE)||this}return n(t,e),t.prototype.init=function(e){this.params=e,this.setupTap(),this.setupIcons(e.column),this.setupMenu(),this.setupSort(),this.setupFilterIcon(),this.setupText(e.displayName),this.addDestroyableEventListener(this.eventService,y.Events.EVENT_SORT_CHANGED,this.setMultiSortOrder.bind(this))},t.prototype.setupText=function(e){this.eText.innerHTML=e},t.prototype.setupIcons=function(e){this.addInIcon(\"sortAscending\",this.eSortAsc,e,v.createArrowUpSvg),this.addInIcon(\"sortDescending\",this.eSortDesc,e,v.createArrowDownSvg),this.addInIcon(\"sortUnSort\",this.eSortNone,e,v.createArrowUpDownSvg),this.addInIcon(\"menu\",this.eMenu,e,v.createMenuSvg),this.addInIcon(\"filter\",this.eFilter,e,v.createFilterSvg)},t.prototype.addInIcon=function(e,t,o,n){var i=l.Utils.createIconNoSpan(e,this.gridOptionsWrapper,o,n);t.appendChild(i)},t.prototype.setupTap=function(){var e=this;if(!this.gridOptionsWrapper.isSuppressTouch()){var t=new u.TouchListener(this.getGui());if(this.params.enableMenu){var o=function(t){e.gridOptionsWrapper.getApi().showColumnMenuAfterMouseClick(e.params.column,t)};this.addDestroyableEventListener(t,u.TouchListener.EVENT_LONG_TAP,o)}if(this.params.enableSorting){var n=function(){e.sortController.progressSort(e.params.column,!1)};this.addDestroyableEventListener(t,u.TouchListener.EVENT_TAP,n)}this.addDestroyFunc(function(){return t.destroy()})}},t.prototype.setupMenu=function(){var e=this;if(this.eMenu){if(!this.params.enableMenu)return void l.Utils.removeFromParent(this.eMenu);this.eMenu.addEventListener(\"click\",function(){return e.showMenu(e.eMenu)}),this.gridOptionsWrapper.isSuppressMenuHide()||(this.eMenu.style.opacity=\"0\",this.addGuiEventListener(\"mouseover\",function(){e.eMenu.style.opacity=\"1\"}),this.addGuiEventListener(\"mouseout\",function(){e.eMenu.style.opacity=\"0\"}));var t=this.eMenu.style;t.transition=\"opacity 0.2s, border 0.2s\",t[\"-webkit-transition\"]=\"opacity 0.2s, border 0.2s\"}},t.prototype.showMenu=function(e){this.menuFactory.showMenuAfterButtonClick(this.params.column,e)},t.prototype.setupSort=function(){var e=this;if(!this.params.enableSorting)return l.Utils.removeFromParent(this.eSortAsc),l.Utils.removeFromParent(this.eSortDesc),l.Utils.removeFromParent(this.eSortNone),void l.Utils.removeFromParent(this.eSortOrder);this.eLabel&&this.eLabel.addEventListener(\"click\",function(t){e.params.progressSort(t.shiftKey)}),this.addDestroyableEventListener(this.params.column,a.Column.EVENT_SORT_CHANGED,this.onSortChanged.bind(this)),this.onSortChanged()},t.prototype.onSortChanged=function(){if(l.Utils.addOrRemoveCssClass(this.getGui(),\"ag-header-cell-sorted-asc\",this.params.column.isSortAscending()),l.Utils.addOrRemoveCssClass(this.getGui(),\"ag-header-cell-sorted-desc\",this.params.column.isSortDescending()),l.Utils.addOrRemoveCssClass(this.getGui(),\"ag-header-cell-sorted-none\",this.params.column.isSortNone()),this.eSortAsc&&l.Utils.addOrRemoveCssClass(this.eSortAsc,\"ag-hidden\",!this.params.column.isSortAscending()),this.eSortDesc&&l.Utils.addOrRemoveCssClass(this.eSortDesc,\"ag-hidden\",!this.params.column.isSortDescending()),this.eSortNone){var e=!this.params.column.getColDef().unSortIcon&&!this.gridOptionsWrapper.isUnSortIcon();l.Utils.addOrRemoveCssClass(this.eSortNone,\"ag-hidden\",e||!this.params.column.isSortNone())}},t.prototype.setMultiSortOrder=function(){if(this.eSortOrder){var e=this.params.column,t=this.sortController.getColumnsWithSortingOrdered(),o=t.indexOf(e),n=t.length>1,i=e.isSorting()&&n;l.Utils.setVisible(this.eSortOrder,i),this.eSortOrder.innerHTML=o>=0?(o+1).toString():\"\"}},t.prototype.setupFilterIcon=function(){this.eFilter&&(this.addDestroyableEventListener(this.params.column,a.Column.EVENT_FILTER_CHANGED,this.onFilterChanged.bind(this)),this.onFilterChanged())},t.prototype.onFilterChanged=function(){var e=this.params.column.isFilterActive();l.Utils.addOrRemoveCssClass(this.eFilter,\"ag-hidden\",!e)},t}(s.Component);m.TEMPLATE='<div>  <span ref=\"eMenu\" class=\"ag-header-icon ag-header-cell-menu-button\"></span>  <div ref=\"eLabel\" class=\"ag-header-cell-label\">    <span ref=\"eSortOrder\" class=\"ag-header-icon ag-sort-order\"></span>    <span ref=\"eSortAsc\" class=\"ag-header-icon ag-sort-ascending-icon\"></span>    <span ref=\"eSortDesc\" class=\"ag-header-icon ag-sort-descending-icon\"></span>    <span ref=\"eSortNone\" class=\"ag-header-icon ag-sort-none-icon\"></span>    <span ref=\"eFilter\" class=\"ag-header-icon ag-filter-icon\"></span>    <span ref=\"eText\" class=\"ag-header-cell-text\"></span>  </div></div>',i([p.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",d.GridOptionsWrapper)],m.prototype,\"gridOptionsWrapper\",void 0),i([p.Autowired(\"sortController\"),r(\"design:type\",c.SortController)],m.prototype,\"sortController\",void 0),i([p.Autowired(\"menuFactory\"),r(\"design:type\",Object)],m.prototype,\"menuFactory\",void 0),i([p.Autowired(\"eventService\"),r(\"design:type\",g.EventService)],m.prototype,\"eventService\",void 0),i([f.RefSelector(\"eFilter\"),r(\"design:type\",HTMLElement)],m.prototype,\"eFilter\",void 0),i([f.RefSelector(\"eSortAsc\"),r(\"design:type\",HTMLElement)],m.prototype,\"eSortAsc\",void 0),i([f.RefSelector(\"eSortDesc\"),r(\"design:type\",HTMLElement)],m.prototype,\"eSortDesc\",void 0),i([f.RefSelector(\"eSortNone\"),r(\"design:type\",HTMLElement)],m.prototype,\"eSortNone\",void 0),i([f.RefSelector(\"eSortOrder\"),r(\"design:type\",HTMLElement)],m.prototype,\"eSortOrder\",void 0),i([f.RefSelector(\"eMenu\"),r(\"design:type\",HTMLElement)],m.prototype,\"eMenu\",void 0),i([f.RefSelector(\"eLabel\"),r(\"design:type\",HTMLElement)],m.prototype,\"eLabel\",void 0),i([f.RefSelector(\"eText\"),r(\"design:type\",HTMLElement)],m.prototype,\"eText\",void 0),t.HeaderComp=m},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(18),s=o(8),a=o(5),l=o(16),p=o(6),d=o(12),c=o(8),u=o(9),h=g=function(){function e(){}return e.prototype.progressSort=function(e,t){var o=this.getNextSortDirection(e);this.setSortForColumn(e,o,t)},e.prototype.setSortForColumn=function(e,t,o){if(t!==r.Column.SORT_ASC&&t!==r.Column.SORT_DESC&&(t=null),e.setSort(t),e.getSort()){var n=Number((new Date).valueOf());e.setSortedAt(n)}else e.setSortedAt(null);o&&!this.gridOptionsWrapper.isSuppressMultiSort()||this.clearSortBarThisColumn(e),this.dispatchSortChangedEvents()},e.prototype.onSortChanged=function(){this.dispatchSortChangedEvents()},e.prototype.dispatchSortChangedEvents=function(){this.eventService.dispatchEvent(d.Events.EVENT_BEFORE_SORT_CHANGED),this.eventService.dispatchEvent(d.Events.EVENT_SORT_CHANGED),this.eventService.dispatchEvent(d.Events.EVENT_AFTER_SORT_CHANGED)},e.prototype.clearSortBarThisColumn=function(e){this.columnController.getPrimaryAndSecondaryAndAutoColumns().forEach(function(t){t!==e&&t.setSort(null)})},e.prototype.getNextSortDirection=function(e){var t;if(t=e.getColDef().sortingOrder?e.getColDef().sortingOrder:this.gridOptionsWrapper.getSortingOrder()?this.gridOptionsWrapper.getSortingOrder():g.DEFAULT_SORTING_ORDER,!Array.isArray(t)||t.length<=0)return void console.warn(\"ag-grid: sortingOrder must be an array with at least one element, currently it's \"+t);var o,n=t.indexOf(e.getSort()),i=n<0,r=n==t.length-1;return o=i||r?t[0]:t[n+1],g.DEFAULT_SORTING_ORDER.indexOf(o)<0?(console.warn(\"ag-grid: invalid sort type \"+o),null):o},e.prototype.getSortModel=function(){var e=this.getColumnsWithSortingOrdered();return u.Utils.map(e,function(e){return{colId:e.getColId(),sort:e.getSort()}})},e.prototype.setSortModel=function(e){if(!this.gridOptionsWrapper.isEnableSorting())return void console.warn(\"ag-grid: You are setting the sort model on a grid that does not have sorting enabled\");var t=e&&e.length>0;this.columnController.getPrimaryAndSecondaryAndAutoColumns().forEach(function(o){var n=null,i=-1;if(t&&!o.getColDef().suppressSorting)for(var r=0;r<e.length;r++){var s=e[r];\"string\"==typeof s.colId&&\"string\"==typeof o.getColId()&&s.colId===o.getColId()&&(n=s.sort,i=r)}n?(o.setSort(n),o.setSortedAt(i)):(o.setSort(null),o.setSortedAt(null))}),this.dispatchSortChangedEvents()},e.prototype.getColumnsWithSortingOrdered=function(){var e=this.columnController.getPrimaryAndSecondaryAndAutoColumns(),t=u.Utils.filter(e,function(e){return!!e.getSort()});return t.sort(function(e,t){return e.sortedAt-t.sortedAt}),t},e.prototype.getSortForRowController=function(){var e=this.getColumnsWithSortingOrdered();return u.Utils.map(e,function(e){return{inverter:e.getSort()===r.Column.SORT_ASC?1:-1,column:e}})},e}();h.DEFAULT_SORTING_ORDER=[r.Column.SORT_ASC,r.Column.SORT_DESC,null],n([s.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",a.GridOptionsWrapper)],h.prototype,\"gridOptionsWrapper\",void 0),n([s.Autowired(\"columnController\"),i(\"design:type\",l.ColumnController)],h.prototype,\"columnController\",void 0),n([s.Autowired(\"eventService\"),i(\"design:type\",p.EventService)],h.prototype,\"eventService\",void 0),h=g=n([c.Bean(\"sortController\")],h),t.SortController=h;var g},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(8),a=o(55),l=o(53),p=o(9),d=o(56),c=o(52),u=o(10),h=function(e){function t(){return e.call(this,'<div><input  ref=\"eColumnFloatingFilter\" class=\"ag-floating-filter-input\"></div>')||this}return n(t,e),t.prototype.init=function(e){this.onFloatingFilterChanged=e.onFloatingFilterChanged,this.currentParentModel=e.currentParentModel,this.addDestroyableEventListener(this.eColumnFloatingFilter,\"input\",this.syncUpWithParentFilter.bind(this)),this.addDestroyableEventListener(this.eColumnFloatingFilter,\"keypress\",this.checkApply.bind(this))},t.prototype.onParentModelChanged=function(e){this.eColumnFloatingFilter.value=this.asFloatingFilterText(e)},t.prototype.syncUpWithParentFilter=function(){this.onFloatingFilterChanged({model:this.asParentModel(),apply:!1})},t.prototype.checkApply=function(e){p._.isKeyPressed(e,u.Constants.KEY_ENTER)&&this.onFloatingFilterChanged({model:this.asParentModel(),apply:!0})},t}(c.Component);i([l.RefSelector(\"eColumnFloatingFilter\"),r(\"design:type\",HTMLInputElement)],h.prototype,\"eColumnFloatingFilter\",void 0),t.InputTextFloatingFilterComp=h;var g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.asFloatingFilterText=function(e){return e?e.filter:\"\"},t.prototype.asParentModel=function(){var e=this.currentParentModel();return{type:e?e.type:\"contains\",filter:this.eColumnFloatingFilter.value,filterType:\"text\"}},t}(h);t.TextFloatingFilterComp=g;var f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(e){this.onFloatingFilterChanged=e.onFloatingFilterChanged,this.currentParentModel=e.currentParentModel;var t={onDateChanged:this.onDateChanged.bind(this)};this.dateComponent=this.componentProvider.newDateComponent(t);var o=p._.loadTemplate(\"<div></div>\");o.appendChild(this.dateComponent.getGui()),this.setTemplateFromElement(o)},t.prototype.onDateChanged=function(){var e=this.currentParentModel(),t=this.dateComponent.getDate();if(!t||\"function\"!=typeof t.getMonth)return void this.onFloatingFilterChanged(null);var o=p._.serializeDateToYyyyMmDd(a.DateFilter.removeTimezone(t),\"-\"),n=\"equals\",i=null;e&&(n=e.type,i=e.dateTo),this.onFloatingFilterChanged({model:{type:n,dateFrom:o,dateTo:i,filterType:\"date\"},apply:!0})},t.prototype.onParentModelChanged=function(e){if(!e||!e.dateFrom)return void this.dateComponent.setDate(null);this.dateComponent.setDate(p._.parseYyyyMmDdToDate(e.dateFrom,\"-\"))},t}(c.Component);i([s.Autowired(\"componentProvider\"),r(\"design:type\",d.ComponentProvider)],f.prototype,\"componentProvider\",void 0),t.DateFloatingFilterComp=f;var y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.asFloatingFilterText=function(e){var t=this.currentParentModel();if(!e&&!t)return\"\";if(!e&&t&&\"inRange\"!==t.type)return this.eColumnFloatingFilter.readOnly=!1,\"\";if(t&&\"inRange\"===t.type){this.eColumnFloatingFilter.readOnly=!0;var o=this.asNumber(t.filter),n=this.asNumber(t.filterTo);return(o?o+\"\":\"\")+\"-\"+(n?n+\"\":\"\")}var i=this.asNumber(e.filter);return this.eColumnFloatingFilter.readOnly=!1,i?i+\"\":\"\"},t.prototype.asParentModel=function(){var e=this.currentParentModel(),t=this.asNumber(this.eColumnFloatingFilter.value),o=this.eColumnFloatingFilter.value,n=null;return n=t||\"\"!==o?t||e.filter:null,{type:e?e.type:\"equals\",filter:n,filterTo:e?e.filterTo:null,filterType:\"number\"}},t.prototype.asNumber=function(e){return e&&p._.isNumeric(Number(e))?Number(e):null},t}(h);t.NumberFloatingFilterComp=y;var v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),this.eColumnFloatingFilter.readOnly=!0},t.prototype.asFloatingFilterText=function(e){if(!e)return\"\";var t=e.length>10?e.slice(0,10).concat([\"...\"]):e;return\"(\"+e.length+\") \"+t.join(\",\")},t.prototype.asParentModel=function(){return this.eColumnFloatingFilter.value?this.eColumnFloatingFilter.value.split(\",\"):[]},t}(h);t.SetFloatingFilterComp=v;var m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),this.eColumnFloatingFilter.readOnly=!0},t.prototype.onParentModelChanged=function(e){this.eColumnFloatingFilter.value=this.asFloatingFilterText(this.currentParentModel())},t.prototype.asFloatingFilterText=function(e){return e},t.prototype.asParentModel=function(){return null},t}(h);t.ReadModelAsStringFloatingFilterComp=m},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(8),a=o(18),l=o(9),p=o(64),d=o(52),c=o(53),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(e){this.column=e.column;var t=l._.loadTemplate('<div class=\"ag-header-cell\"><div class=\"ag-floating-filter-body\"></div></div>');this.enrichBody(t),this.setTemplateFromElement(t),this.setupWidth(),this.addFeature(this.context,new p.SetLeftFeature(this.column,this.getGui()))},t.prototype.setupWidth=function(){this.addDestroyableEventListener(this.column,a.Column.EVENT_WIDTH_CHANGED,this.onColumnWidthChanged.bind(this)),this.onColumnWidthChanged()},t.prototype.onColumnWidthChanged=function(){this.getGui().style.width=this.column.getActualWidth()+\"px\"},t}(d.Component);i([s.Autowired(\"context\"),r(\"design:type\",s.Context)],u.prototype,\"context\",void 0),t.BaseFilterWrapperComp=u;var h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(t){this.floatingFilterComp=t.floatingFilterComp,this.suppressFilterButton=t.suppressFilterButton,e.prototype.init.call(this,t),this.suppressFilterButton||this.addDestroyableEventListener(this.eButtonShowMainFilter,\"click\",this.showParentFilter.bind(this))},t.prototype.enrichBody=function(e){var t=e.querySelector(\".ag-floating-filter-body\");this.suppressFilterButton?(t.appendChild(this.floatingFilterComp.getGui()),l._.removeCssClass(t,\"ag-floating-filter-body\"),l._.addCssClass(t,\"ag-floating-filter-full-body\")):(t.appendChild(this.floatingFilterComp.getGui()),e.appendChild(l._.loadTemplate('<div class=\"ag-floating-filter-button\">\\n                    <button ref=\"eButtonShowMainFilter\">...</button>            \\n            </div>')))},t.prototype.onParentModelChanged=function(e){this.floatingFilterComp.onParentModelChanged(e)},t.prototype.showParentFilter=function(){this.menuFactory.showMenuAfterButtonClick(this.column,this.eButtonShowMainFilter,\"filter\")},t}(u);i([c.RefSelector(\"eButtonShowMainFilter\"),r(\"design:type\",HTMLInputElement)],h.prototype,\"eButtonShowMainFilter\",void 0),i([s.Autowired(\"menuFactory\"),r(\"design:type\",Object)],h.prototype,\"menuFactory\",void 0),t.FloatingFilterWrapperComp=h;var g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.enrichBody=function(e){},t.prototype.onParentModelChanged=function(e){},t}(u);t.EmptyFloatingFilterWrapperComp=g},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(9),a=o(18),l=o(40),p=o(8),d=o(5),c=o(65),u=function(e){function t(t,o){var n=e.call(this)||this;return n.columnOrGroup=t,n.eCell=o,n}return n(t,e),t.prototype.init=function(){this.addDestroyableEventListener(this.columnOrGroup,a.Column.EVENT_LEFT_CHANGED,this.onLeftChanged.bind(this)),this.setLeftFirstTime()},t.prototype.setLeftFirstTime=function(){var e=this.gridOptionsWrapper.isSuppressColumnMoveAnimation(),t=s.Utils.exists(this.columnOrGroup.getOldLeft());this.columnAnimationService.isActive()&&t&&!e?this.animateInLeft():this.onLeftChanged()},t.prototype.animateInLeft=function(){var e=this,t=this.columnOrGroup.getLeft(),o=this.columnOrGroup.getOldLeft();this.setLeft(o),this.actualLeft=t,this.columnAnimationService.executeNextVMTurn(function(){e.actualLeft===t&&e.setLeft(t)})},t.prototype.onLeftChanged=function(){this.actualLeft=this.columnOrGroup.getLeft(),this.setLeft(this.actualLeft)},t.prototype.setLeft=function(e){s.Utils.exists(e)&&(this.eCell.style.left=e+\"px\")},t}(l.BeanStub);i([p.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",d.GridOptionsWrapper)],u.prototype,\"gridOptionsWrapper\",void 0),i([p.Autowired(\"columnAnimationService\"),r(\"design:type\",c.ColumnAnimationService)],u.prototype,\"columnAnimationService\",void 0),i([p.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],u.prototype,\"init\",null),t.SetLeftFeature=u},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(8),s=o(5),a=o(27),l=o(9),p=function(){function e(){this.executeNextFuncs=[],this.executeLaterFuncs=[],this.active=!1,this.animationThreadCount=0}return e.prototype.isActive=function(){return this.active},e.prototype.start=function(){this.active||this.gridOptionsWrapper.isSuppressColumnMoveAnimation()||this.gridOptionsWrapper.isEnableRtl()||(this.ensureAnimationCssClassPresent(),this.active=!0)},e.prototype.finish=function(){this.active&&(this.flush(),this.active=!1)},e.prototype.executeNextVMTurn=function(e){this.active?this.executeNextFuncs.push(e):e()},e.prototype.executeLaterVMTurn=function(e){this.active?this.executeLaterFuncs.push(e):e()},e.prototype.ensureAnimationCssClassPresent=function(){var e=this;this.animationThreadCount++;var t=this.animationThreadCount;l.Utils.addCssClass(this.gridPanel.getRoot(),\"ag-column-moving\"),this.executeLaterFuncs.push(function(){e.animationThreadCount===t&&l.Utils.removeCssClass(e.gridPanel.getRoot(),\"ag-column-moving\")})},e.prototype.flush=function(){var e=this.executeNextFuncs;this.executeNextFuncs=[];var t=this.executeLaterFuncs;this.executeLaterFuncs=[],0===e.length&&0===t.length||(setTimeout(function(){return e.forEach(function(e){return e()})},0),setTimeout(function(){return t.forEach(function(e){return e()})},300))},e}();n([r.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",s.GridOptionsWrapper)],p.prototype,\"gridOptionsWrapper\",void 0),n([r.Autowired(\"gridPanel\"),i(\"design:type\",a.GridPanel)],p.prototype,\"gridPanel\",void 0),p=n([r.Bean(\"columnAnimationService\")],p),t.ColumnAnimationService=p},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(52),a=o(8),l=o(5),p=o(53),d=o(67),c=o(9),u=o(6),h=o(12),g=o(26),f=o(42),y=function(e){function t(){return e.call(this)||this}return n(t,e),t.prototype.postConstruct=function(){this.setTemplate(this.getTemplate()),this.addDestroyableEventListener(this.eventService,h.Events.EVENT_PAGINATION_CHANGED,this.onPaginationChanged.bind(this)),this.addDestroyableEventListener(this.btFirst,\"click\",this.onBtFirst.bind(this)),this.addDestroyableEventListener(this.btLast,\"click\",this.onBtLast.bind(this)),this.addDestroyableEventListener(this.btNext,\"click\",this.onBtNext.bind(this)),this.addDestroyableEventListener(this.btPrevious,\"click\",this.onBtPrevious.bind(this)),this.gridOptionsWrapper.isPagination()?this.paginationService=this.paginationProxy:this.paginationService=this.serverPaginationService,this.onPaginationChanged()},t.prototype.onPaginationChanged=function(){this.enableOrDisableButtons(),this.updateRowLabels(),this.setCurrentPageLabel(),this.setTotalLabels()},t.prototype.setCurrentPageLabel=function(){var e=this.paginationService.getCurrentPage();this.lbCurrent.innerHTML=c._.formatNumberCommas(e+1)},t.prototype.getTemplate=function(){var e=this.gridOptionsWrapper.getLocaleTextFunc(),t=e(\"page\",\"Page\"),o=e(\"to\",\"to\"),n=e(\"of\",\"of\");return'<div class=\"ag-paging-panel ag-font-style\">\\n                <span ref=\"eSummaryPanel\" class=\"ag-paging-row-summary-panel\">\\n                    <span ref=\"lbFirstRowOnPage\"></span> '+o+' <span ref=\"lbLastRowOnPage\"></span> '+n+' <span ref=\"lbRecordCount\"></span>\\n                </span>\\n                <span class=\"ag-paging-page-summary-panel\">\\n                    <button class=\"ag-paging-button\" ref=\"btFirst\">'+e(\"first\",\"First\")+'</button>\\n                    <button class=\"ag-paging-button\" ref=\"btPrevious\">'+e(\"previous\",\"Previous\")+\"</button>\\n                    \"+t+' <span ref=\"lbCurrent\"></span> '+n+' <span ref=\"lbTotal\"></span>\\n                    <button class=\"ag-paging-button\" ref=\"btNext\">'+e(\"next\",\"Next\")+'</button>\\n                    <button class=\"ag-paging-button\" ref=\"btLast\">'+e(\"last\",\"Last\")+\"</button>\\n                </span>\\n            </div>\"},t.prototype.onBtNext=function(){this.paginationService.goToNextPage()},t.prototype.onBtPrevious=function(){this.paginationService.goToPreviousPage()},t.prototype.onBtFirst=function(){this.paginationService.goToFirstPage()},t.prototype.onBtLast=function(){this.paginationService.goToLastPage()},t.prototype.enableOrDisableButtons=function(){var e=this.paginationService.getCurrentPage(),t=this.paginationService.isLastPageFound(),o=this.paginationService.getTotalPages(),n=0===e;this.btPrevious.disabled=n,this.btFirst.disabled=n;var i=this.isZeroPagesToDisplay(),r=t&&e===o-1,s=r||i;this.btNext.disabled=s;var a=!t||i||e===o-1;this.btLast.disabled=a},t.prototype.updateRowLabels=function(){var e,t,o=this.paginationService.getCurrentPage(),n=this.paginationService.getPageSize(),i=this.paginationService.isLastPageFound(),r=this.paginationService.isLastPageFound()?this.paginationService.getTotalRowCount():null;this.isZeroPagesToDisplay()?(e=0,t=0):(e=n*o+1,t=e+n-1,i&&t>r&&(t=r)),this.lbFirstRowOnPage.innerHTML=c._.formatNumberCommas(e),this.lbLastRowOnPage.innerHTML=c._.formatNumberCommas(t)},t.prototype.isZeroPagesToDisplay=function(){var e=this.paginationService.isLastPageFound(),t=this.paginationService.getTotalPages();return e&&0===t},t.prototype.setTotalLabels=function(){var e=this.paginationService.isLastPageFound(),t=this.paginationService.getTotalPages(),o=this.paginationService.isLastPageFound()?this.paginationService.getTotalRowCount():null;if(e)this.lbTotal.innerHTML=c._.formatNumberCommas(t),this.lbRecordCount.innerHTML=c._.formatNumberCommas(o);else{var n=this.gridOptionsWrapper.getLocaleTextFunc()(\"more\",\"more\");this.lbTotal.innerHTML=n,this.lbRecordCount.innerHTML=n}},t}(s.Component);i([a.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",l.GridOptionsWrapper)],y.prototype,\"gridOptionsWrapper\",void 0),i([a.Autowired(\"eventService\"),r(\"design:type\",u.EventService)],y.prototype,\"eventService\",void 0),i([a.Autowired(\"serverPaginationService\"),r(\"design:type\",d.ServerPaginationService)],y.prototype,\"serverPaginationService\",void 0),i([a.Autowired(\"paginationProxy\"),r(\"design:type\",f.PaginationProxy)],y.prototype,\"paginationProxy\",void 0),i([a.Autowired(\"rowRenderer\"),r(\"design:type\",g.RowRenderer)],y.prototype,\"rowRenderer\",void 0),i([p.RefSelector(\"btFirst\"),r(\"design:type\",HTMLButtonElement)],y.prototype,\"btFirst\",void 0),i([p.RefSelector(\"btPrevious\"),r(\"design:type\",HTMLButtonElement)],y.prototype,\"btPrevious\",void 0),i([p.RefSelector(\"btNext\"),r(\"design:type\",HTMLButtonElement)],y.prototype,\"btNext\",void 0),i([p.RefSelector(\"btLast\"),r(\"design:type\",HTMLButtonElement)],y.prototype,\"btLast\",void 0),i([p.RefSelector(\"lbRecordCount\"),r(\"design:type\",Object)],y.prototype,\"lbRecordCount\",void 0),i([p.RefSelector(\"lbFirstRowOnPage\"),r(\"design:type\",Object)],y.prototype,\"lbFirstRowOnPage\",void 0),i([p.RefSelector(\"lbLastRowOnPage\"),r(\"design:type\",Object)],y.prototype,\"lbLastRowOnPage\",void 0),i([p.RefSelector(\"eSummaryPanel\"),r(\"design:type\",Object)],y.prototype,\"eSummaryPanel\",void 0),i([p.RefSelector(\"lbCurrent\"),r(\"design:type\",Object)],y.prototype,\"lbCurrent\",void 0),i([p.RefSelector(\"lbTotal\"),r(\"design:type\",Object)],y.prototype,\"lbTotal\",void 0),i([a.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],y.prototype,\"postConstruct\",null),t.PaginationComp=y},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(9),a=o(5),l=o(8),p=o(27),d=o(31),c=o(61),u=o(6),h=o(12),g=o(48),f=o(10),y=o(40),v=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.callVersion=0,t.pageSize=100,t.rowCount=0,t.lastPageFound=!1,t.totalPages=0,t.currentPage=0,t}return n(t,e),t.prototype.isLastPageFound=function(){return this.lastPageFound},t.prototype.getPageSize=function(){return this.pageSize},t.prototype.getCurrentPage=function(){return this.currentPage},t.prototype.getTotalPages=function(){return this.totalPages},t.prototype.getTotalRowCount=function(){return this.rowCount},t.prototype.goToNextPage=function(){this.goToPage(this.currentPage+1)},t.prototype.goToPreviousPage=function(){this.goToPage(this.currentPage-1)},t.prototype.goToFirstPage=function(){this.goToPage(0)},t.prototype.goToLastPage=function(){this.lastPageFound&&this.goToPage(this.totalPages-1)},t.prototype.goToPage=function(e){e<0?this.currentPage=0:this.lastPageFound&&e>this.totalPages?this.currentPage=this.totalPages-1:this.currentPage=e,this.loadPage()},t.prototype.init=function(){var e=this;this.rowModel.getType()===f.Constants.ROW_MODEL_TYPE_NORMAL&&(this.inMemoryRowModel=this.rowModel),this.addDestroyableEventListener(this.gridOptionsWrapper,\"paginationPageSize\",function(){e.reset(!1),e.setPageSize()}),this.setPageSize(),this.gridOptionsWrapper.isRowModelServerPagination()&&(this.gridOptionsWrapper.isEnableServerSideFilter()&&this.addDestroyableEventListener(this.eventService,h.Events.EVENT_FILTER_CHANGED,this.reset.bind(this,!1)),this.gridOptionsWrapper.isEnableServerSideSorting()&&this.addDestroyableEventListener(this.eventService,h.Events.EVENT_SORT_CHANGED,this.reset.bind(this,!1)),this.setDatasource(this.gridOptionsWrapper.getDatasource()))},t.prototype.setDatasource=function(e){this.datasource=e,e&&(this.checkForDeprecated(),this.reset(!0))},t.prototype.checkForDeprecated=function(){var e=this.datasource;s.Utils.exists(e.pageSize)&&console.error(\"ag-Grid: since version 5.1.x, pageSize is replaced with grid property infinPageSize\")},t.prototype.setPageSize=function(){this.pageSize=this.gridOptionsWrapper.getPaginationPageSize(),this.pageSize>=1||(this.pageSize=100)},t.prototype.reset=function(e){if(!s.Utils.missing(this.datasource)){var t=s.Utils.exists(this.gridOptionsWrapper.getRowNodeIdFunc());(e||!t)&&this.selectionController.reset(),this.setPageSize(),\"number\"==typeof this.datasource.rowCount&&this.datasource.rowCount>=0?(this.rowCount=this.datasource.rowCount,this.lastPageFound=!0,this.calculateTotalPages()):(this.rowCount=0,this.lastPageFound=!1,this.totalPages=0),this.resetCurrentPage(),this.eventService.dispatchEvent(h.Events.DEPRECATED_EVENT_PAGINATION_RESET),this.eventService.dispatchEvent(h.Events.EVENT_PAGINATION_CHANGED),this.loadPage()}},t.prototype.resetCurrentPage=function(){var e=this.gridOptionsWrapper.getPaginationStartPage();this.currentPage=e>0?e:0},t.prototype.calculateTotalPages=function(){this.totalPages=Math.floor((this.rowCount-1)/this.pageSize)+1},t.prototype.pageLoaded=function(e,t){t=s.Utils.cleanNumber(t);var o=this.currentPage*this.pageSize;this.inMemoryRowModel.setRowData(e,!0,o),!this.lastPageFound&&t>=0&&(this.lastPageFound=!0,this.rowCount=t,this.calculateTotalPages(),this.currentPage>this.totalPages&&(this.currentPage=this.totalPages-1,this.loadPage())),this.eventService.dispatchEvent(h.Events.DEPRECATED_EVENT_PAGINATION_PAGE_LOADED),this.eventService.dispatchEvent(h.Events.EVENT_PAGINATION_CHANGED)},t.prototype.loadPage=function(){function e(e,t){a.isCallDaemon(r)||a.pageLoaded(e,t)}function t(){a.isCallDaemon(r)||a.inMemoryRowModel.setRowData([],!0)}var o=this,n=this.currentPage*this.pageSize,i=(this.currentPage+1)*this.pageSize;this.callVersion++;var r=this.callVersion,a=this;this.gridPanel.showLoadingOverlay();var l;this.gridOptionsWrapper.isEnableServerSideSorting()&&(l=this.sortController.getSortModel());var p;this.gridOptionsWrapper.isEnableServerSideFilter()&&(p=this.filterManager.getFilterModel());var d={startRow:n,endRow:i,successCallback:e,failCallback:t,sortModel:l,filterModel:p,context:this.gridOptionsWrapper.getContext()};s.Utils.getFunctionParameters(this.datasource.getRows).length>1&&(console.warn(\"ag-grid: It looks like your paging datasource is of the old type, taking more than one parameter.\"),console.warn(\"ag-grid: From ag-grid 1.9.0, now the getRows takes one parameter. See the documentation for details.\")),setTimeout(function(){o.datasource.getRows(d)},0),this.eventService.dispatchEvent(h.Events.DEPRECATED_EVENT_PAGINATION_PAGE_REQUESTED),this.eventService.dispatchEvent(h.Events.EVENT_PAGINATION_CHANGED)},t.prototype.isCallDaemon=function(e){return e!==this.callVersion},t}(y.BeanStub);i([l.Autowired(\"filterManager\"),r(\"design:type\",g.FilterManager)],v.prototype,\"filterManager\",void 0),i([l.Autowired(\"gridPanel\"),r(\"design:type\",p.GridPanel)],v.prototype,\"gridPanel\",void 0),i([l.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",a.GridOptionsWrapper)],v.prototype,\"gridOptionsWrapper\",void 0),i([l.Autowired(\"selectionController\"),r(\"design:type\",d.SelectionController)],v.prototype,\"selectionController\",void 0),i([l.Autowired(\"sortController\"),r(\"design:type\",c.SortController)],v.prototype,\"sortController\",void 0),i([l.Autowired(\"eventService\"),r(\"design:type\",u.EventService)],v.prototype,\"eventService\",void 0),i([l.Autowired(\"rowModel\"),r(\"design:type\",Object)],v.prototype,\"rowModel\",void 0),i([l.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],v.prototype,\"init\",null),v=i([l.Bean(\"serverPaginationService\")],v),t.ServerPaginationService=v},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(8),s=o(9),a=o(69),l=o(70),p=o(71),d=o(72),c=o(73),u=o(5),h=o(74),g=f=function(){function e(){this.cellEditorMap={}}return e.prototype.init=function(){this.cellEditorMap[f.TEXT]=a.TextCellEditor,this.cellEditorMap[f.SELECT]=l.SelectCellEditor,this.cellEditorMap[f.POPUP_TEXT]=d.PopupTextCellEditor,this.cellEditorMap[f.POPUP_SELECT]=c.PopupSelectCellEditor,this.cellEditorMap[f.LARGE_TEXT]=h.LargeTextCellEditor},e.prototype.addCellEditor=function(e,t){this.cellEditorMap[e]=t},e.prototype.createCellEditor=function(e,t){var o;s.Utils.missing(e)?o=this.cellEditorMap[f.TEXT]:\"string\"==typeof e?(o=this.cellEditorMap[e],s.Utils.missing(o)&&(console.warn(\"ag-Grid: unable to find cellEditor for key \"+e),o=this.cellEditorMap[f.TEXT])):o=e;var n=new o;return this.context.wireBean(n),n.init&&n.init(t),n.isPopup&&n.isPopup()&&(this.gridOptionsWrapper.isFullRowEdit()&&console.warn(\"ag-Grid: popup cellEditor does not work with fullRowEdit - you cannot use them both - either turn off fullRowEdit, or stop using popup editors.\"),n=new p.PopupEditorWrapper(n),n.init(t)),n},e}();g.TEXT=\"text\",g.SELECT=\"select\",g.POPUP_TEXT=\"popupText\",g.POPUP_SELECT=\"popupSelect\",g.LARGE_TEXT=\"largeText\",n([r.Autowired(\"context\"),i(\"design:type\",r.Context)],g.prototype,\"context\",void 0),n([r.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",u.GridOptionsWrapper)],g.prototype,\"gridOptionsWrapper\",void 0),n([r.PostConstruct,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],g.prototype,\"init\",null),g=f=n([r.Bean(\"cellEditorFactory\")],g),t.CellEditorFactory=g;var f},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}();Object.defineProperty(t,\"__esModule\",{value:!0});var i=o(10),r=o(52),s=o(9),a=function(e){function t(){return e.call(this,t.TEMPLATE)||this}return n(t,e),t.prototype.init=function(e){var t,o=this.getGui();if(e.cellStartedEdit){this.focusAfterAttached=!0;e.keyPress===i.Constants.KEY_BACKSPACE||e.keyPress===i.Constants.KEY_DELETE?t=\"\":e.charPress?t=e.charPress:(t=e.value,e.keyPress!==i.Constants.KEY_F2&&(this.highlightAllOnFocus=!0))}else this.focusAfterAttached=!1,t=e.value;s.Utils.exists(t)&&(o.value=t),this.addDestroyableEventListener(o,\"keydown\",function(e){(e.keyCode===i.Constants.KEY_LEFT||e.keyCode===i.Constants.KEY_RIGHT)&&e.stopPropagation()})},t.prototype.afterGuiAttached=function(){if(this.focusAfterAttached){var e=this.getGui();if(e.focus(),this.highlightAllOnFocus)e.select();else{var t=e.value?e.value.length:0;t>0&&e.setSelectionRange(t,t)}}},t.prototype.focusIn=function(){var e=this.getGui();e.focus(),e.select()},t.prototype.getValue=function(){return this.getGui().value},t}(r.Component);a.TEMPLATE='<input class=\"ag-cell-edit-input\" type=\"text\"/>',t.TextCellEditor=a},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}();Object.defineProperty(t,\"__esModule\",{value:!0});var i=o(52),r=o(9),s=o(10),a=function(e){function t(){var t=e.call(this,'<div class=\"ag-cell-edit-input\"><select class=\"ag-cell-edit-input\"/></div>')||this;return t.eSelect=t.getGui().querySelector(\"select\"),t}return n(t,e),t.prototype.init=function(e){var t=this;if(this.focusAfterAttached=e.cellStartedEdit,r.Utils.missing(e.values))return void console.log(\"ag-Grid: no values found for select cellEditor\");e.values.forEach(function(o){var n=document.createElement(\"option\");n.value=o,n.text=o,e.value===o&&(n.selected=!0),t.eSelect.appendChild(n)}),this.addDestroyableEventListener(this.eSelect,\"change\",function(){return e.stopEditing()}),this.addDestroyableEventListener(this.eSelect,\"keydown\",function(e){(e.keyCode===s.Constants.KEY_UP||e.keyCode===s.Constants.KEY_DOWN)&&e.stopPropagation()}),this.addDestroyableEventListener(this.eSelect,\"mousedown\",function(e){e.stopPropagation()})},t.prototype.afterGuiAttached=function(){this.focusAfterAttached&&this.eSelect.focus()},t.prototype.focusIn=function(){this.eSelect.focus()},t.prototype.getValue=function(){return this.eSelect.value},t}(i.Component);t.SelectCellEditor=a},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}();Object.defineProperty(t,\"__esModule\",{value:!0});var i=o(52),r=function(e){function t(t){var o=e.call(this,'<div class=\"ag-popup-editor\"/>')||this;return o.getGuiCalledOnChild=!1,o.cellEditor=t,o.addDestroyFunc(function(){return t.destroy()}),o.addDestroyableEventListener(e.prototype.getGui.call(o),\"keydown\",o.onKeyDown.bind(o)),o}return n(t,e),t.prototype.onKeyDown=function(e){this.params.onKeyDown(e)},t.prototype.getGui=function(){return this.getGuiCalledOnChild||(this.appendChild(this.cellEditor.getGui()),this.getGuiCalledOnChild=!0),e.prototype.getGui.call(this)},t.prototype.init=function(e){this.params=e},t.prototype.afterGuiAttached=function(){this.cellEditor.afterGuiAttached&&this.cellEditor.afterGuiAttached()},t.prototype.getValue=function(){return this.cellEditor.getValue()},t.prototype.isPopup=function(){return!0},t.prototype.isCancelBeforeStart=function(){if(this.cellEditor.isCancelBeforeStart)return this.cellEditor.isCancelBeforeStart()},t.prototype.isCancelAfterEnd=function(){if(this.cellEditor.isCancelAfterEnd)return this.cellEditor.isCancelAfterEnd()},t.prototype.focusIn=function(){this.cellEditor.focusIn&&this.cellEditor.focusIn()},t.prototype.focusOut=function(){this.cellEditor.focusOut&&this.cellEditor.focusOut()},t}(i.Component);t.PopupEditorWrapper=r},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}();Object.defineProperty(t,\"__esModule\",{value:!0});var i=o(69),r=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.isPopup=function(){return!0},t}(i.TextCellEditor);t.PopupTextCellEditor=r},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}();Object.defineProperty(t,\"__esModule\",{value:!0});var i=o(70),r=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.isPopup=function(){return!0},t}(i.SelectCellEditor);t.PopupSelectCellEditor=r},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}();Object.defineProperty(t,\"__esModule\",{value:!0});var i=o(52),r=o(10),s=o(9),a=function(e){function t(){return e.call(this,t.TEMPLATE)||this}return n(t,e),t.prototype.init=function(e){this.params=e,this.focusAfterAttached=e.cellStartedEdit,this.textarea=document.createElement(\"textarea\"),this.textarea.maxLength=e.maxLength?e.maxLength:\"200\",this.textarea.cols=e.cols?e.cols:\"60\",this.textarea.rows=e.rows?e.rows:\"10\",s.Utils.exists(e.value)&&(this.textarea.value=e.value.toString()),this.getGui().querySelector(\".ag-large-textarea\").appendChild(this.textarea),this.addGuiEventListener(\"keydown\",this.onKeyDown.bind(this))},t.prototype.onKeyDown=function(e){var t=e.which||e.keyCode;(t==r.Constants.KEY_LEFT||t==r.Constants.KEY_UP||t==r.Constants.KEY_RIGHT||t==r.Constants.KEY_DOWN||e.shiftKey&&t==r.Constants.KEY_ENTER)&&e.stopPropagation()},t.prototype.afterGuiAttached=function(){this.focusAfterAttached&&this.textarea.focus()},t.prototype.getValue=function(){return this.textarea.value},t.prototype.isPopup=function(){return!0},t}(i.Component);a.TEMPLATE='<div class=\"ag-large-text\" tabindex=\"0\"><div class=\"ag-large-textarea\"></div></div>',t.LargeTextCellEditor=a},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(8),s=o(9),a=o(5),l=o(6),p=o(21),d=o(76),c=o(77),u=o(78),h=g=function(){function e(){this.cellRendererMap={}}return e.prototype.init=function(){this.cellRendererMap[g.ANIMATE_SLIDE]=d.AnimateSlideCellRenderer,this.cellRendererMap[g.ANIMATE_SHOW_CHANGE]=c.AnimateShowChangeCellRenderer,this.cellRendererMap[g.GROUP]=u.GroupCellRenderer},e.prototype.addCellRenderer=function(e,t){this.cellRendererMap[e]=t},e.prototype.getCellRenderer=function(e){var t=this.cellRendererMap[e];return s.Utils.missing(t)?(console.warn(\"ag-Grid: unable to find cellRenderer for key \"+e),null):t},e}();h.ANIMATE_SLIDE=\"animateSlide\",h.ANIMATE_SHOW_CHANGE=\"animateShowChange\",h.GROUP=\"group\",n([r.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",a.GridOptionsWrapper)],h.prototype,\"gridOptionsWrapper\",void 0),n([r.Autowired(\"expressionService\"),i(\"design:type\",p.ExpressionService)],h.prototype,\"expressionService\",void 0),n([r.Autowired(\"eventService\"),i(\"design:type\",l.EventService)],h.prototype,\"eventService\",void 0),n([r.PostConstruct,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],h.prototype,\"init\",null),h=g=n([r.Bean(\"cellRendererFactory\")],h),t.CellRendererFactory=h;var g},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}();Object.defineProperty(t,\"__esModule\",{value:!0});var i=o(9),r=o(52),s=function(e){function t(){var o=e.call(this,t.TEMPLATE)||this;return o.refreshCount=0,o.eCurrent=o.queryForHtmlElement(\".ag-value-slide-current\"),o}return n(t,e),t.prototype.init=function(e){this.params=e,this.refresh(e)},t.prototype.addSlideAnimation=function(){var e=this;this.refreshCount++;var t=this.refreshCount;this.ePrevious&&this.getGui().removeChild(this.ePrevious),this.ePrevious=i.Utils.loadTemplate('<span class=\"ag-value-slide-previous ag-value-slide-out\"></span>'),this.ePrevious.innerHTML=this.eCurrent.innerHTML,this.getGui().insertBefore(this.ePrevious,this.eCurrent),setTimeout(function(){t===e.refreshCount&&i.Utils.addCssClass(e.ePrevious,\"ag-value-slide-out-end\")},50),setTimeout(function(){t===e.refreshCount&&(e.getGui().removeChild(e.ePrevious),e.ePrevious=null)},3e3)},t.prototype.refresh=function(e){var t=e.value;i.Utils.missing(t)&&(t=\"\"),t!==this.lastValue&&(this.addSlideAnimation(),this.lastValue=t,i.Utils.exists(e.valueFormatted)?this.eCurrent.innerHTML=e.valueFormatted:i.Utils.exists(e.value)?this.eCurrent.innerHTML=t:this.eCurrent.innerHTML=\"\")},t}(r.Component);s.TEMPLATE='<span><span class=\"ag-value-slide-current\"></span></span>',t.AnimateSlideCellRenderer=s},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}();Object.defineProperty(t,\"__esModule\",{value:!0});var i=o(9),r=o(52),s=\"&#65514;\",a=\"&#65516;\",l=function(e){function t(){var o=e.call(this,t.TEMPLATE)||this;return o.refreshCount=0,o}return n(t,e),t.prototype.init=function(e){this.params=e,this.eValue=this.queryForHtmlElement(\".ag-value-change-value\"),this.eDelta=this.queryForHtmlElement(\".ag-value-change-delta\"),this.refresh(e)},t.prototype.showDelta=function(e,t){var o=Math.abs(t),n=e.formatValue(o),r=i.Utils.exists(n)?n:o,l=t>=0;this.eDelta.innerHTML=l?s+r:a+r,i.Utils.addOrRemoveCssClass(this.eDelta,\"ag-value-change-delta-up\",l),i.Utils.addOrRemoveCssClass(this.eDelta,\"ag-value-change-delta-down\",!l)},t.prototype.setTimerToRemoveDelta=function(){var e=this;this.refreshCount++;var t=this.refreshCount;setTimeout(function(){t===e.refreshCount&&e.hideDeltaValue()},2e3)},t.prototype.hideDeltaValue=function(){i.Utils.removeCssClass(this.eValue,\"ag-value-change-value-highlight\"),this.eDelta.innerHTML=\"\"},t.prototype.refresh=function(e){var t=e.value;if(t!==this.lastValue){if(i.Utils.exists(e.valueFormatted)?this.eValue.innerHTML=e.valueFormatted:i.Utils.exists(e.value)?this.eValue.innerHTML=t:this.eValue.innerHTML=\"\",\"number\"==typeof t&&\"number\"==typeof this.lastValue){var o=t-this.lastValue;this.showDelta(e,o)}this.lastValue&&i.Utils.addCssClass(this.eValue,\"ag-value-change-value-highlight\"),this.setTimerToRemoveDelta(),this.lastValue=t}},t}(r.Component);l.TEMPLATE='<span><span class=\"ag-value-change-delta\"></span><span class=\"ag-value-change-value\"></span></span>',t.AnimateShowChangeCellRenderer=l},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(58),a=o(5),l=o(21),p=o(6),d=o(10),c=o(9),u=o(12),h=o(8),g=o(52),f=o(30),y=o(79),v=o(80),m=o(81),C=o(16),E=o(18),w=o(53),b=s.SvgFactory.getInstance(),R=function(e){function t(){return e.call(this,t.TEMPLATE)||this}return n(t,e),t.prototype.init=function(e){this.setParams(e);var t=this.isGroupKeyMismatch(),o=this.embeddedRowMismatch();t||o||this.setupComponents()},t.prototype.setParams=function(e){if(this.gridOptionsWrapper.isGroupHideOpenParents()){var t=this.isFirstChildOfFirstChild(e.node,e.colDef.field);if(this.nodeWasSwapped=c.Utils.exists(t),this.nodeWasSwapped){var o={};c.Utils.assign(o,e),o.node=t,this.params=o}else this.params=e}else this.nodeWasSwapped=!1,this.params=e},t.prototype.setupComponents=function(){this.addExpandAndContract(),this.addCheckboxIfNeeded(),this.addValueElement(),this.addPadding()},t.prototype.isFirstChildOfFirstChild=function(e,t){for(var o,n=e,i=!0,r=!1;i&&!r;){var s=n.parent;c.Utils.exists(s)&&0===n.childIndex?s.field===t&&(r=!0,o=s):i=!1,n=s}return r?o:null},t.prototype.isGroupKeyMismatch=function(){var e=this.params.restrictToOneGroup;return!(this.nodeWasSwapped||!e)&&this.params.colDef.field!==this.params.node.field},t.prototype.embeddedRowMismatch=function(){if(this.gridOptionsWrapper.isEmbedFullWidthRows()){var e=this.params.pinned===E.Column.PINNED_LEFT,t=this.params.pinned===E.Column.PINNED_RIGHT,o=!e&&!t;return this.gridOptionsWrapper.isEnableRtl()?this.columnController.isPinningLeft()?!t:!o:this.columnController.isPinningLeft()?!e:!o}return!1},t.prototype.addPadding=function(){var e=this.params,t=e.node;if(!e.suppressPadding&&(t.footer||t.level>0)){var o;o=e.colDef&&e.padding>=0?e.padding:10;var n=t.level*o,i=this.columnController.isPivotMode()&&e.node.leafGroup;t.footer?n+=15:t.isExpandable()&&!i||(n+=10),this.gridOptionsWrapper.isEnableRtl()?this.getGui().style.paddingRight=n+\"px\":this.getGui().style.paddingLeft=n+\"px\"}},t.prototype.addValueElement=function(){var e=this.params,t=this.params.node;e.innerRenderer?this.createFromInnerRenderer():t.footer?this.createFooterCell():t.group?(this.createGroupCell(),this.addChildCount()):this.createLeafCell()},t.prototype.createFromInnerRenderer=function(){var e=this.cellRendererService.useCellRenderer(this.params.innerRenderer,this.eValue,this.params);this.addDestroyFunc(function(){e&&e.destroy&&e.destroy()})},t.prototype.createFooterCell=function(){var e,t=this.getGroupName(),o=this.params.footerValueGetter;if(o){var n=c.Utils.cloneObject(this.params);n.value=t,\"function\"==typeof o?e=o(n):\"string\"==typeof o?e=this.expressionService.evaluate(o,n):console.warn(\"ag-Grid: footerValueGetter should be either a function or a string (expression)\")}else e=\"Total \"+t;this.eValue.innerHTML=e},t.prototype.createGroupCell=function(){var e=this.params,t=this.params.columnApi.getRowGroupColumns(),o=t[e.node.rowGroupIndex];c.Utils.missing(o)&&(o=e.column);var n=this.getGroupName(),i=this.valueFormatterService.formatValue(o,e.node,e.scope,e.rowIndex,n),r=o.getCellRenderer();if(\"function\"==typeof r){e.value=n,e.valueFormatted=i;var s=o.getColDef();(s?s.cellRendererParams:null)&&c.Utils.assign(e,r),this.cellRendererService.useCellRenderer(s.cellRenderer,this.eValue,e)}else{var a=c.Utils.exists(i)?i:n;c.Utils.exists(a)&&\"\"!==a&&this.eValue.appendChild(document.createTextNode(a))}},t.prototype.addChildCount=function(){this.params.suppressCount||(this.addDestroyableEventListener(this.eventService,u.Events.EVENT_AFTER_FILTER_CHANGED,this.updateChildCount.bind(this)),this.updateChildCount())},t.prototype.updateChildCount=function(){var e=this.params.node.allChildrenCount,t=e>=0?\"(\"+e+\")\":\"\";this.eChildCount.innerHTML=t},t.prototype.getGroupName=function(){var e=this.params.keyMap,t=this.params.node.key;if(e&&\"object\"==typeof e){var o=e[t];return o||t}return t},t.prototype.createLeafCell=function(){c.Utils.exists(this.params.value)&&(this.eValue.innerHTML=this.params.value)},t.prototype.isUserWantsSelected=function(){var e=this.params.checkbox;return\"function\"==typeof e?e(this.params):!0===e},t.prototype.addCheckboxIfNeeded=function(){var e=this.params.node;if(this.isUserWantsSelected()&&!e.footer&&!e.floating&&!e.flower){var t=new m.CheckboxSelectionComponent;this.context.wireBean(t),t.init({rowNode:e}),this.eCheckbox.appendChild(t.getGui()),this.addDestroyFunc(function(){return t.destroy()})}},t.prototype.addExpandAndContract=function(){var e=this.params,t=e.eGridCell,o=c.Utils.createIconNoSpan(\"groupExpanded\",this.gridOptionsWrapper,null,b.createGroupContractedIcon),n=c.Utils.createIconNoSpan(\"groupContracted\",this.gridOptionsWrapper,null,b.createGroupExpandedIcon),i=c.Utils.createIconNoSpan(\"groupLoading\",this.gridOptionsWrapper,null,b.createGroupLoadingIcon);this.eExpanded.appendChild(o),this.eContracted.appendChild(n),this.eLoading.appendChild(i);var r=this.onExpandOrContract.bind(this);this.addDestroyableEventListener(this.eExpanded,\"click\",r),this.addDestroyableEventListener(this.eContracted,\"click\",r),this.addDestroyableEventListener(this.eLoading,\"click\",r),this.gridOptionsWrapper.isEnableGroupEdit()||this.addDestroyableEventListener(t,\"dblclick\",r),this.addDestroyableEventListener(t,\"keydown\",this.onKeyDown.bind(this)),this.addDestroyableEventListener(e.node,f.RowNode.EVENT_EXPANDED_CHANGED,this.showExpandAndContractIcons.bind(this)),this.addDestroyableEventListener(e.node,f.RowNode.EVENT_LOADING_CHANGED,this.showExpandAndContractIcons.bind(this)),this.showExpandAndContractIcons()},t.prototype.onKeyDown=function(e){c.Utils.isKeyPressed(e,d.Constants.KEY_ENTER)&&(this.onExpandOrContract(),e.preventDefault())},t.prototype.onExpandOrContract=function(){var e=this.params.node;e.setExpanded(!e.expanded),this.gridOptionsWrapper.isGroupIncludeFooter()&&this.params.api.refreshRows([e])},t.prototype.showExpandAndContractIcons=function(){var e=this.params.node,t=this.columnController.isPivotMode()&&e.leafGroup;!e.isExpandable()||e.footer||t?(c.Utils.setVisible(this.eExpanded,!1),c.Utils.setVisible(this.eContracted,!1),c.Utils.setVisible(this.eLoading,!1)):(c.Utils.setVisible(this.eContracted,!e.expanded),c.Utils.setVisible(this.eExpanded,e.expanded&&!e.loading),c.Utils.setVisible(this.eLoading,e.expanded&&e.loading))},t}(g.Component);R.TEMPLATE='<span><span class=\"ag-group-expanded\" ref=\"eExpanded\"></span><span class=\"ag-group-contracted\" ref=\"eContracted\"></span><span class=\"ag-group-loading\" ref=\"eLoading\"></span><span class=\"ag-group-checkbox\" ref=\"eCheckbox\"></span><span class=\"ag-group-value\" ref=\"eValue\"></span><span class=\"ag-group-child-count\" ref=\"eChildCount\"></span></span>',i([h.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",a.GridOptionsWrapper)],R.prototype,\"gridOptionsWrapper\",void 0),i([h.Autowired(\"expressionService\"),r(\"design:type\",l.ExpressionService)],R.prototype,\"expressionService\",void 0),i([h.Autowired(\"eventService\"),r(\"design:type\",p.EventService)],R.prototype,\"eventService\",void 0),i([h.Autowired(\"cellRendererService\"),r(\"design:type\",y.CellRendererService)],R.prototype,\"cellRendererService\",void 0),i([h.Autowired(\"valueFormatterService\"),r(\"design:type\",v.ValueFormatterService)],R.prototype,\"valueFormatterService\",void 0),i([h.Autowired(\"context\"),r(\"design:type\",h.Context)],R.prototype,\"context\",void 0),i([h.Autowired(\"columnController\"),r(\"design:type\",C.ColumnController)],R.prototype,\"columnController\",void 0),i([w.RefSelector(\"eExpanded\"),r(\"design:type\",HTMLElement)],R.prototype,\"eExpanded\",void 0),i([w.RefSelector(\"eContracted\"),r(\"design:type\",HTMLElement)],R.prototype,\"eContracted\",void 0),i([w.RefSelector(\"eLoading\"),r(\"design:type\",HTMLElement)],R.prototype,\"eLoading\",void 0),i([w.RefSelector(\"eCheckbox\"),r(\"design:type\",HTMLElement)],R.prototype,\"eCheckbox\",void 0),i([w.RefSelector(\"eValue\"),r(\"design:type\",HTMLElement)],R.prototype,\"eValue\",void 0),i([w.RefSelector(\"eChildCount\"),r(\"design:type\",HTMLElement)],R.prototype,\"eChildCount\",void 0),t.GroupCellRenderer=R},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(9),s=o(8),a=o(75),l=function(){function e(){}return e.prototype.useCellRenderer=function(e,t,o){var n=this.lookUpCellRenderer(e);if(!r.Utils.missing(n)){var i,s=null;this.checkForDeprecatedItems(n);if(this.doesImplementICellRenderer(n)){s=new n,this.context.wireBean(s),s.init&&s.init(o),i=s.getGui()}else{i=n(o)}if(null!==i&&\"\"!==i)return r.Utils.isNodeOrElement(i)?t.appendChild(i):t.innerHTML=i,s}},e.prototype.checkForDeprecatedItems=function(e){e&&e.renderer&&console.warn(\"ag-grid: colDef.cellRenderer should not be an object, it should be a string, function or class. this changed in v4.1.x, please check the documentation on Cell Rendering, or if you are doing grouping, look at the grouping examples.\")},e.prototype.doesImplementICellRenderer=function(e){return e.prototype&&\"getGui\"in e.prototype},e.prototype.lookUpCellRenderer=function(e){return\"string\"==typeof e?this.cellRendererFactory.getCellRenderer(e):e},e}();n([s.Autowired(\"cellRendererFactory\"),i(\"design:type\",a.CellRendererFactory)],l.prototype,\"cellRendererFactory\",void 0),n([s.Autowired(\"context\"),i(\"design:type\",s.Context)],l.prototype,\"context\",void 0),l=n([s.Bean(\"cellRendererService\")],l),t.CellRendererService=l},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(8),s=o(5),a=function(){function e(){}return e.prototype.formatValue=function(e,t,o,n,i){var r,s=e.getColDef();r=t.floating&&s.floatingCellFormatter?s.floatingCellFormatter:s.cellFormatter;var a=null;if(r){a=r({value:i,node:t,column:e,$scope:o,rowIndex:n,api:this.gridOptionsWrapper.getApi(),context:this.gridOptionsWrapper.getContext()})}return a},e}();n([r.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",s.GridOptionsWrapper)],a.prototype,\"gridOptionsWrapper\",void 0),a=n([r.Bean(\"valueFormatterService\")],a),t.ValueFormatterService=a},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(52),a=o(30),l=o(9),p=o(8),d=o(5),c=o(58),u=o(12),h=o(6),g=o(13),f=o(16),y=c.SvgFactory.getInstance(),v=function(e){function t(){return e.call(this,'<span class=\"ag-selection-checkbox\"/>')||this}return n(t,e),t.prototype.createAndAddIcons=function(){this.eCheckedIcon=l.Utils.createIconNoSpan(\"checkboxChecked\",this.gridOptionsWrapper,null,y.createCheckboxCheckedIcon),this.eUncheckedIcon=l.Utils.createIconNoSpan(\"checkboxUnchecked\",this.gridOptionsWrapper,null,y.createCheckboxUncheckedIcon),this.eIndeterminateIcon=l.Utils.createIconNoSpan(\"checkboxIndeterminate\",this.gridOptionsWrapper,null,y.createCheckboxIndeterminateIcon);var e=this.getGui();e.appendChild(this.eCheckedIcon),e.appendChild(this.eUncheckedIcon),e.appendChild(this.eIndeterminateIcon)},t.prototype.onSelectionChanged=function(){var e=this.rowNode.isSelected();l.Utils.setVisible(this.eCheckedIcon,!0===e),l.Utils.setVisible(this.eUncheckedIcon,!1===e),l.Utils.setVisible(this.eIndeterminateIcon,\"boolean\"!=typeof e)},t.prototype.onCheckedClicked=function(){var e=this.gridOptionsWrapper.isGroupSelectsFiltered();return this.rowNode.setSelectedParams({newValue:!1,groupSelectsFiltered:e})},t.prototype.onUncheckedClicked=function(e){var t=this.gridOptionsWrapper.isGroupSelectsFiltered();return this.rowNode.setSelectedParams({newValue:!0,rangeSelect:e.shiftKey,groupSelectsFiltered:t})},t.prototype.onIndeterminateClicked=function(e){0===this.onUncheckedClicked(e)&&this.onCheckedClicked()},t.prototype.init=function(e){this.createAndAddIcons(),this.rowNode=e.rowNode,this.column=e.column,this.visibleFunc=e.visibleFunc,this.onSelectionChanged(),this.addGuiEventListener(\"click\",function(e){return e.stopPropagation()}),this.addGuiEventListener(\"dblclick\",function(e){return e.stopPropagation()}),this.addDestroyableEventListener(this.eCheckedIcon,\"click\",this.onCheckedClicked.bind(this)),this.addDestroyableEventListener(this.eUncheckedIcon,\"click\",this.onUncheckedClicked.bind(this)),this.addDestroyableEventListener(this.eIndeterminateIcon,\"click\",this.onIndeterminateClicked.bind(this)),this.addDestroyableEventListener(this.rowNode,a.RowNode.EVENT_ROW_SELECTED,this.onSelectionChanged.bind(this)),this.visibleFunc&&(this.addDestroyableEventListener(this.eventService,u.Events.EVENT_DISPLAYED_COLUMNS_CHANGED,this.showOrHideSelect.bind(this)),this.showOrHideSelect())},t.prototype.showOrHideSelect=function(){var e=this.createParams(),t=this.visibleFunc(e);this.setVisible(t)},t.prototype.createParams=function(){return{node:this.rowNode,data:this.rowNode.data,column:this.column,colDef:this.column.getColDef(),context:this.gridOptionsWrapper.getContext(),api:this.gridApi,columnApi:this.columnApi}},t}(s.Component);i([p.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",d.GridOptionsWrapper)],v.prototype,\"gridOptionsWrapper\",void 0),i([p.Autowired(\"eventService\"),r(\"design:type\",h.EventService)],v.prototype,\"eventService\",void 0),i([p.Autowired(\"gridApi\"),r(\"design:type\",g.GridApi)],v.prototype,\"gridApi\",void 0),i([p.Autowired(\"columnApi\"),r(\"design:type\",f.ColumnApi)],v.prototype,\"columnApi\",void 0),t.CheckboxSelectionComponent=v},function(e,t){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var o=function(){function e(){}return e}();t.MethodNotImplementedException=o},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(8),s=o(21),a=function(){function e(){}return e.prototype.processAllCellClasses=function(e,t,o,n){this.processCellClassRules(e,t,o,n),this.processStaticCellClasses(e,t,o)},e.prototype.processCellClassRules=function(e,t,o,n){var i=e.cellClassRules;if(\"object\"==typeof i&&null!==i)for(var r=Object.keys(i),s=0;s<r.length;s++){var a=r[s],l=i[a],p=void 0;\"string\"==typeof l?p=this.expressionService.evaluate(l,t):\"function\"==typeof l&&(p=l(t)),p?o(a):n&&n(a)}},e.prototype.processStaticCellClasses=function(e,t,o){if(e.cellClass){var n;n=\"function\"==typeof e.cellClass?(0,e.cellClass)(t):e.cellClass,\"string\"==typeof n?o(n):Array.isArray(n)&&n.forEach(function(e){o(e)})}},e}();n([r.Autowired(\"expressionService\"),i(\"design:type\",s.ExpressionService)],a.prototype,\"expressionService\",void 0),a=n([r.Bean(\"stylingService\")],a),t.StylingService=a},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(6),a=o(8),l=o(12),p=o(40),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.init=function(){this.addDestroyableEventListener(this.eventService,l.Events.EVENT_CELL_MOUSE_OVER,this.onCellMouseOver.bind(this)),this.addDestroyableEventListener(this.eventService,l.Events.EVENT_CELL_MOUSE_OUT,this.onCellMouseOut.bind(this))},t.prototype.onCellMouseOver=function(e){this.currentlySelectedColumn=e.column,this.eventService.dispatchEvent(l.Events.EVENT_COLUMN_HOVER_CHANGED)},t.prototype.onCellMouseOut=function(){this.currentlySelectedColumn=null,this.eventService.dispatchEvent(l.Events.EVENT_COLUMN_HOVER_CHANGED)},t.prototype.isHovered=function(e){return e==this.currentlySelectedColumn},t}(p.BeanStub);i([a.Autowired(\"eventService\"),r(\"design:type\",s.EventService)],d.prototype,\"eventService\",void 0),i([a.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],d.prototype,\"init\",null),d=i([a.Bean(\"columnHoverService\")],d),t.ColumnHoverService=d},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(8),s=o(10),a=o(16),l=o(29),p=o(9),d=o(38),c=o(37),u=o(5),h=function(){function e(){}return e.prototype.getNextCellToFocus=function(e,t){switch(e){case s.Constants.KEY_UP:return this.getCellAbove(t);case s.Constants.KEY_DOWN:return this.getCellBelow(t);case s.Constants.KEY_RIGHT:return this.gridOptionsWrapper.isEnableRtl()?this.getCellToLeft(t):this.getCellToRight(t);case s.Constants.KEY_LEFT:return this.gridOptionsWrapper.isEnableRtl()?this.getCellToRight(t):this.getCellToLeft(t);default:console.log(\"ag-Grid: unknown key for navigation \"+e)}},e.prototype.getCellToLeft=function(e){var t=this.columnController.getDisplayedColBefore(e.column);if(t){var o={rowIndex:e.rowIndex,column:t,floating:e.floating};return new c.GridCell(o)}return null},e.prototype.getCellToRight=function(e){var t=this.columnController.getDisplayedColAfter(e.column);if(t){var o={rowIndex:e.rowIndex,column:t,floating:e.floating};return new c.GridCell(o)}return null},e.prototype.getRowBelow=function(e){return this.isLastRowInContainer(e)?e.isFloatingBottom()?null:e.isNotFloating()?this.floatingRowModel.isRowsToRender(s.Constants.FLOATING_BOTTOM)?new d.GridRow(0,s.Constants.FLOATING_BOTTOM):null:this.rowModel.isRowsToRender()?new d.GridRow(0,null):this.floatingRowModel.isRowsToRender(s.Constants.FLOATING_BOTTOM)?new d.GridRow(0,s.Constants.FLOATING_BOTTOM):null:new d.GridRow(e.rowIndex+1,e.floating)},e.prototype.getCellBelow=function(e){var t=this.getRowBelow(e.getGridRow());if(t){var o={rowIndex:t.rowIndex,column:e.column,floating:t.floating};return new c.GridCell(o)}return null},e.prototype.isLastRowInContainer=function(e){if(e.isFloatingTop()){return this.floatingRowModel.getFloatingTopRowData().length-1===e.rowIndex}if(e.isFloatingBottom()){return this.floatingRowModel.getFloatingBottomRowData().length-1===e.rowIndex}return this.rowModel.getPageLastRow()===e.rowIndex},e.prototype.getRowAbove=function(e){return 0===e.rowIndex?e.isFloatingTop()?null:e.isNotFloating()?this.floatingRowModel.isRowsToRender(s.Constants.FLOATING_TOP)?this.getLastFloatingTopRow():null:this.rowModel.isRowsToRender()?this.getLastBodyCell():this.floatingRowModel.isRowsToRender(s.Constants.FLOATING_TOP)?this.getLastFloatingTopRow():null:new d.GridRow(e.rowIndex-1,e.floating)},e.prototype.getCellAbove=function(e){var t=this.getRowAbove(e.getGridRow());if(t){var o={rowIndex:t.rowIndex,column:e.column,floating:t.floating};return new c.GridCell(o)}return null},e.prototype.getLastBodyCell=function(){var e=this.rowModel.getPageLastRow();return new d.GridRow(e,null)},e.prototype.getLastFloatingTopRow=function(){var e=this.floatingRowModel.getFloatingTopRowData().length-1;return new d.GridRow(e,s.Constants.FLOATING_TOP)},e.prototype.getNextTabbedCell=function(e,t){return t?this.getNextTabbedCellBackwards(e):this.getNextTabbedCellForwards(e)},e.prototype.getNextTabbedCellForwards=function(e){var t=this.columnController.getAllDisplayedColumns(),o=e.rowIndex,n=e.floating,i=this.columnController.getDisplayedColAfter(e.column);if(!i){i=t[0];var r=this.getRowBelow(e.getGridRow());if(p.Utils.missing(r))return;o=r.rowIndex,n=r.floating}var s={rowIndex:o,column:i,floating:n};return new c.GridCell(s)},e.prototype.getNextTabbedCellBackwards=function(e){var t=this.columnController.getAllDisplayedColumns(),o=e.rowIndex,n=e.floating,i=this.columnController.getDisplayedColBefore(e.column);if(!i){i=t[t.length-1];var r=this.getRowAbove(e.getGridRow());if(p.Utils.missing(r))return;o=r.rowIndex,n=r.floating}var s={rowIndex:o,column:i,floating:n};return new c.GridCell(s)},e}();n([r.Autowired(\"columnController\"),i(\"design:type\",a.ColumnController)],h.prototype,\"columnController\",void 0),n([r.Autowired(\"rowModel\"),i(\"design:type\",Object)],h.prototype,\"rowModel\",void 0),n([r.Autowired(\"floatingRowModel\"),i(\"design:type\",l.FloatingRowModel)],h.prototype,\"floatingRowModel\",void 0),n([r.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",u.GridOptionsWrapper)],h.prototype,\"gridOptionsWrapper\",void 0),h=n([r.Bean(\"cellNavigationService\")],h),t.CellNavigationService=h},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(5),s=o(16),a=o(27),l=o(18),p=o(8),d=o(87),c=o(6),u=o(12),h=o(39),g=function(){function e(){}return e.prototype.init=function(){var e=this;this.eHeaderViewport=this.gridPanel.getHeaderViewport(),this.eRoot=this.gridPanel.getRoot(),this.eHeaderOverlay=this.gridPanel.getHeaderOverlay(),this.centerContainer=new d.HeaderContainer(this.gridPanel.getHeaderContainer(),this.gridPanel.getHeaderViewport(),this.eRoot,null),this.childContainers=[this.centerContainer],this.gridOptionsWrapper.isForPrint()||(this.pinnedLeftContainer=new d.HeaderContainer(this.gridPanel.getPinnedLeftHeader(),null,this.eRoot,l.Column.PINNED_LEFT),this.pinnedRightContainer=new d.HeaderContainer(this.gridPanel.getPinnedRightHeader(),null,this.eRoot,l.Column.PINNED_RIGHT),this.childContainers.push(this.pinnedLeftContainer),this.childContainers.push(this.pinnedRightContainer)),this.childContainers.forEach(function(t){return e.context.wireBean(t)}),this.eventService.addEventListener(u.Events.EVENT_GRID_COLUMNS_CHANGED,this.onGridColumnsChanged.bind(this)),this.eventService.addEventListener(u.Events.EVENT_COLUMN_VALUE_CHANGED,this.refreshHeader.bind(this)),this.eventService.addEventListener(u.Events.EVENT_COLUMN_RESIZED,this.setPinnedColContainerWidth.bind(this)),this.eventService.addEventListener(u.Events.EVENT_DISPLAYED_COLUMNS_CHANGED,this.setPinnedColContainerWidth.bind(this)),this.eventService.addEventListener(u.Events.EVENT_SCROLL_VISIBILITY_CHANGED,this.onScrollVisibilityChanged.bind(this)),this.columnController.isReady()&&this.refreshHeader()},e.prototype.onScrollVisibilityChanged=function(){this.setPinnedColContainerWidth()},e.prototype.forEachHeaderElement=function(e){this.childContainers.forEach(function(t){return t.forEachHeaderElement(e)})},e.prototype.destroy=function(){this.childContainers.forEach(function(e){return e.destroy()})},e.prototype.onGridColumnsChanged=function(){this.setHeight()},e.prototype.refreshHeader=function(){this.setHeight(),this.childContainers.forEach(function(e){return e.refresh()}),this.setPinnedColContainerWidth()},e.prototype.setHeight=function(){if(this.eHeaderOverlay){var e=this.gridOptionsWrapper.getHeaderHeight(),t=this.columnController.getHeaderRowCount();this.eHeaderOverlay.style.height=e+\"px\",this.eHeaderOverlay.style.top=(t-1)*e+\"px\"}},e.prototype.setPinnedColContainerWidth=function(){if(!this.gridOptionsWrapper.isForPrint()){var e=this.scrollVisibleService.getPinnedLeftWithScrollWidth(),t=this.scrollVisibleService.getPinnedRightWithScrollWidth();this.eHeaderViewport.style.marginLeft=e+\"px\",this.eHeaderViewport.style.marginRight=t+\"px\"}},e}();n([p.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",r.GridOptionsWrapper)],g.prototype,\"gridOptionsWrapper\",void 0),n([p.Autowired(\"columnController\"),i(\"design:type\",s.ColumnController)],g.prototype,\"columnController\",void 0),n([p.Autowired(\"gridPanel\"),i(\"design:type\",a.GridPanel)],g.prototype,\"gridPanel\",void 0),n([p.Autowired(\"context\"),i(\"design:type\",p.Context)],g.prototype,\"context\",void 0),n([p.Autowired(\"eventService\"),i(\"design:type\",c.EventService)],g.prototype,\"eventService\",void 0),n([p.Autowired(\"scrollVisibleService\"),i(\"design:type\",h.ScrollVisibleService)],g.prototype,\"scrollVisibleService\",void 0),n([p.PostConstruct,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],g.prototype,\"init\",null),n([p.PreDestroy,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],g.prototype,\"destroy\",null),g=n([p.Bean(\"headerRenderer\")],g),t.HeaderRenderer=g},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(9),s=o(5),a=o(8),l=o(88),p=o(16),d=o(27),c=o(6),u=o(12),h=o(89),g=o(98),f=o(18),y=o(39),v=function(){function e(e,t,o,n){this.headerRowComps=[],this.eContainer=e,this.eRoot=o,this.pinned=n,this.eViewport=t}return e.prototype.forEachHeaderElement=function(e){this.headerRowComps.forEach(function(t){return t.forEachHeaderElement(e)})},e.prototype.init=function(){this.setupDragAndDrop(),this.eventService.addEventListener(u.Events.EVENT_COLUMN_VALUE_CHANGED,this.onColumnValueChanged.bind(this)),this.eventService.addEventListener(u.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,this.onColumnRowGroupChanged.bind(this)),this.eventService.addEventListener(u.Events.EVENT_GRID_COLUMNS_CHANGED,this.onGridColumnsChanged.bind(this)),this.eventService.addEventListener(u.Events.EVENT_SCROLL_VISIBILITY_CHANGED,this.onScrollVisibilityChanged.bind(this)),this.eventService.addEventListener(u.Events.EVENT_COLUMN_RESIZED,this.onColumnResized.bind(this)),this.eventService.addEventListener(u.Events.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this))},e.prototype.onColumnRowGroupChanged=function(){this.onGridColumnsChanged()},e.prototype.onColumnValueChanged=function(){this.onGridColumnsChanged()},e.prototype.onColumnResized=function(){this.setWidthIfPinnedContainer()},e.prototype.onDisplayedColumnsChanged=function(){this.setWidthIfPinnedContainer()},e.prototype.onScrollVisibilityChanged=function(){this.setWidthIfPinnedContainer()},e.prototype.setWidthIfPinnedContainer=function(){if(this.pinned===f.Column.PINNED_LEFT){var e=this.scrollVisibleService.getPinnedLeftWithScrollWidth();this.eContainer.style.width=e+\"px\"}else if(this.pinned===f.Column.PINNED_RIGHT){var t=this.scrollVisibleService.getPinnedRightWithScrollWidth();this.eContainer.style.width=t+\"px\"}},e.prototype.destroy=function(){this.removeHeaderRowComps()},e.prototype.onGridColumnsChanged=function(){this.removeHeaderRowComps(),this.createHeaderRowComps()},e.prototype.refresh=function(){this.onGridColumnsChanged()},e.prototype.setupDragAndDrop=function(){var e=this.eViewport?this.eViewport:this.eContainer,t=new g.BodyDropTarget(this.pinned,e);this.context.wireBean(t)},e.prototype.removeHeaderRowComps=function(){this.headerRowComps.forEach(function(e){e.destroy()}),this.headerRowComps.length=0,r.Utils.removeAllChildren(this.eContainer)},e.prototype.createHeaderRowComps=function(){for(var e=this.columnController.getHeaderRowCount(),t=0;t<e;t++){var o=t!==e-1,n=o?h.HeaderRowType.COLUMN_GROUP:h.HeaderRowType.COLUMN,i=new h.HeaderRowComp(t,n,this.pinned,this.eRoot,this.dropTarget);this.context.wireBean(i),this.headerRowComps.push(i),this.eContainer.appendChild(i.getGui())}if(this.gridOptionsWrapper.isFloatingFilter()&&!this.columnController.isPivotMode()){var i=new h.HeaderRowComp(e,h.HeaderRowType.FLOATING_FILTER,this.pinned,this.eRoot,this.dropTarget);this.context.wireBean(i),this.headerRowComps.push(i),this.eContainer.appendChild(i.getGui())}},e}();n([a.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",s.GridOptionsWrapper)],v.prototype,\"gridOptionsWrapper\",void 0),n([a.Autowired(\"context\"),i(\"design:type\",a.Context)],v.prototype,\"context\",void 0),n([a.Autowired(\"$scope\"),i(\"design:type\",Object)],v.prototype,\"$scope\",void 0),n([a.Autowired(\"dragAndDropService\"),i(\"design:type\",l.DragAndDropService)],v.prototype,\"dragAndDropService\",void 0),n([a.Autowired(\"columnController\"),i(\"design:type\",p.ColumnController)],v.prototype,\"columnController\",void 0),n([a.Autowired(\"gridPanel\"),i(\"design:type\",d.GridPanel)],v.prototype,\"gridPanel\",void 0),n([a.Autowired(\"eventService\"),i(\"design:type\",c.EventService)],v.prototype,\"eventService\",void 0),n([a.Autowired(\"scrollVisibleService\"),i(\"design:type\",y.ScrollVisibleService)],v.prototype,\"scrollVisibleService\",void 0),n([a.PostConstruct,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],v.prototype,\"init\",null),t.HeaderContainer=v},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},r=this&&this.__param||function(e,t){return function(o,n){t(o,n,e)}};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(7),a=o(8),l=o(9),p=o(5),d=o(58),c=o(34),u=o(16),h=d.SvgFactory.getInstance();!function(e){e[e.ToolPanel=0]=\"ToolPanel\",e[e.HeaderCell=1]=\"HeaderCell\"}(t.DragSourceType||(t.DragSourceType={}));var g;!function(e){e[e.Up=0]=\"Up\",e[e.Down=1]=\"Down\"}(g=t.VDirection||(t.VDirection={}));var f;!function(e){e[e.Left=0]=\"Left\",e[e.Right=1]=\"Right\"}(f=t.HDirection||(t.HDirection={}));var y=v=function(){function e(){this.dragSourceAndParamsList=[],this.dropTargets=[]}return e.prototype.init=function(){this.ePinnedIcon=l.Utils.createIcon(\"columnMovePin\",this.gridOptionsWrapper,null,h.createPinIcon),this.ePlusIcon=l.Utils.createIcon(\"columnMoveAdd\",this.gridOptionsWrapper,null,h.createPlusIcon),this.eHiddenIcon=l.Utils.createIcon(\"columnMoveHide\",this.gridOptionsWrapper,null,h.createColumnHiddenIcon),this.eMoveIcon=l.Utils.createIcon(\"columnMoveMove\",this.gridOptionsWrapper,null,h.createMoveIcon),this.eLeftIcon=l.Utils.createIcon(\"columnMoveLeft\",this.gridOptionsWrapper,null,h.createLeftIcon),this.eRightIcon=l.Utils.createIcon(\"columnMoveRight\",this.gridOptionsWrapper,null,h.createRightIcon),this.eGroupIcon=l.Utils.createIcon(\"columnMoveGroup\",this.gridOptionsWrapper,null,h.createGroupIcon),this.eAggregateIcon=l.Utils.createIcon(\"columnMoveValue\",this.gridOptionsWrapper,null,h.createAggregationIcon),this.ePivotIcon=l.Utils.createIcon(\"columnMovePivot\",this.gridOptionsWrapper,null,h.createPivotIcon),this.eDropNotAllowedIcon=l.Utils.createIcon(\"dropNotAllowed\",this.gridOptionsWrapper,null,h.createDropNotAllowedIcon)},e.prototype.setBeans=function(e){this.logger=e.create(\"OldToolPanelDragAndDropService\")},e.prototype.addDragSource=function(e,t){void 0===t&&(t=!1);var o={eElement:e.eElement,onDragStart:this.onDragStart.bind(this,e),onDragStop:this.onDragStop.bind(this),onDragging:this.onDragging.bind(this)};this.dragSourceAndParamsList.push({params:o,dragSource:e}),this.dragService.addDragSource(o,t)},e.prototype.removeDragSource=function(e){var t=l.Utils.find(this.dragSourceAndParamsList,function(t){return t.dragSource===e});t&&(this.dragService.removeDragSource(t.params),l.Utils.removeFromArray(this.dragSourceAndParamsList,t))},e.prototype.destroy=function(){var e=this;this.dragSourceAndParamsList.forEach(function(t){e.dragService.removeDragSource(t.params)}),this.dragSourceAndParamsList.length=0},e.prototype.nudge=function(){this.dragging&&this.onDragging(this.eventLastTime,!0)},e.prototype.onDragStart=function(e,t){this.dragging=!0,this.dragSource=e,this.eventLastTime=t,this.dragSource.dragItem.forEach(function(e){return e.setMoving(!0)}),this.dragItem=this.dragSource.dragItem,this.lastDropTarget=this.dragSource.dragSourceDropTarget,this.createGhost()},e.prototype.onDragStop=function(e){if(this.eventLastTime=null,this.dragging=!1,this.dragItem.forEach(function(e){return e.setMoving(!1)}),this.lastDropTarget&&this.lastDropTarget.onDragStop){var t=this.createDropTargetEvent(this.lastDropTarget,e,null,null,!1);this.lastDropTarget.onDragStop(t)}this.lastDropTarget=null,this.dragItem=null,this.removeGhost()},e.prototype.onDragging=function(e,t){var o=this.workOutHDirection(e),n=this.workOutVDirection(e);this.eventLastTime=e,this.positionGhost(e);var i=l.Utils.find(this.dropTargets,this.isMouseOnDropTarget.bind(this,e));if(i!==this.lastDropTarget)this.leaveLastTargetIfExists(e,o,n,t),this.enterDragTargetIfExists(i,e,o,n,t),this.lastDropTarget=i;else if(i){var r=this.createDropTargetEvent(i,e,o,n,t);i.onDragging(r)}},e.prototype.enterDragTargetIfExists=function(e,t,o,n,i){if(e){var r=this.createDropTargetEvent(e,t,o,n,i);e.onDragEnter(r),this.setGhostIcon(e.getIconName?e.getIconName():null)}},e.prototype.leaveLastTargetIfExists=function(e,t,o,n){if(this.lastDropTarget){var i=this.createDropTargetEvent(this.lastDropTarget,e,t,o,n);this.lastDropTarget.onDragLeave(i),this.setGhostIcon(null)}},e.prototype.getAllContainersFromDropTarget=function(e){var t=[e.getContainer()],o=e.getSecondaryContainers?e.getSecondaryContainers():null;return o&&(t=t.concat(o)),t},e.prototype.isMouseOnDropTarget=function(e,t){var o=this.getAllContainersFromDropTarget(t),n=!1;return o.forEach(function(t){if(t){var o=t.getBoundingClientRect();if(0!==o.width&&0!==o.height){var i=e.clientX>=o.left&&e.clientX<=o.right,r=e.clientY>=o.top&&e.clientY<=o.bottom;i&&r&&(n=!0)}}}),n},e.prototype.addDropTarget=function(e){this.dropTargets.push(e)},e.prototype.workOutHDirection=function(e){return this.eventLastTime.clientX>e.clientX?f.Left:this.eventLastTime.clientX<e.clientX?f.Right:null},e.prototype.workOutVDirection=function(e){return this.eventLastTime.clientY>e.clientY?g.Up:this.eventLastTime.clientY<e.clientY?g.Down:null},e.prototype.createDropTargetEvent=function(e,t,o,n,i){var r=e.getContainer().getBoundingClientRect();return{event:t,x:t.clientX-r.left,y:t.clientY-r.top,vDirection:n,hDirection:o,dragSource:this.dragSource,fromNudge:i}},e.prototype.positionGhost=function(e){var t=this.eGhost.getBoundingClientRect(),o=t.height,n=l.Utils.getBodyWidth()-2,i=l.Utils.getBodyHeight()-2,r=e.pageY-o/2,s=e.pageX-30,a=this.gridOptionsWrapper.getDocument(),p=window.pageYOffset||a.documentElement.scrollTop,d=window.pageXOffset||a.documentElement.scrollLeft;n>0&&s+this.eGhost.clientWidth>n+d&&(s=n+d-this.eGhost.clientWidth),s<0&&(s=0),i>0&&r+this.eGhost.clientHeight>i+p&&(r=i+p-this.eGhost.clientHeight),r<0&&(r=0),this.eGhost.style.left=s+\"px\",this.eGhost.style.top=r+\"px\"},e.prototype.removeGhost=function(){this.eGhost&&this.eGhostParent&&this.eGhostParent.removeChild(this.eGhost),this.eGhost=null},e.prototype.createGhost=function(){this.eGhost=l.Utils.loadTemplate(v.GHOST_TEMPLATE),this.eGhostIcon=this.eGhost.querySelector(\".ag-dnd-ghost-icon\"),this.setGhostIcon(null),this.eGhost.querySelector(\".ag-dnd-ghost-label\").innerHTML=this.dragSource.dragItemName,this.eGhost.style.height=this.gridOptionsWrapper.getHeaderHeight()+\"px\",this.eGhost.style.top=\"20px\",this.eGhost.style.left=\"20px\";var e=this.gridOptionsWrapper.getDocument();this.eGhostParent=e.querySelector(\"body\"),this.eGhostParent?this.eGhostParent.appendChild(this.eGhost):console.warn(\"ag-Grid: could not find document body, it is needed for dragging columns\")},e.prototype.setGhostIcon=function(e,t){void 0===t&&(t=!1),l.Utils.removeAllChildren(this.eGhostIcon);var o;switch(e){case v.ICON_ADD:o=this.ePlusIcon;break;case v.ICON_PINNED:o=this.ePinnedIcon;break;case v.ICON_MOVE:o=this.eMoveIcon;break;case v.ICON_LEFT:o=this.eLeftIcon;break;case v.ICON_RIGHT:o=this.eRightIcon;break;case v.ICON_GROUP:o=this.eGroupIcon;break;case v.ICON_AGGREGATE:o=this.eAggregateIcon;break;case v.ICON_PIVOT:o=this.ePivotIcon;break;case v.ICON_NOT_ALLOWED:o=this.eDropNotAllowedIcon;break;default:o=this.eHiddenIcon}this.eGhostIcon.appendChild(o),l.Utils.addOrRemoveCssClass(this.eGhostIcon,\"ag-shake-left-to-right\",t)},e}();y.ICON_PINNED=\"pinned\",y.ICON_ADD=\"add\",y.ICON_MOVE=\"move\",y.ICON_LEFT=\"left\",y.ICON_RIGHT=\"right\",y.ICON_GROUP=\"group\",y.ICON_AGGREGATE=\"aggregate\",y.ICON_PIVOT=\"pivot\",y.ICON_NOT_ALLOWED=\"notAllowed\",y.GHOST_TEMPLATE='<div class=\"ag-dnd-ghost\">  <span class=\"ag-dnd-ghost-icon ag-shake-left-to-right\"></span>  <div class=\"ag-dnd-ghost-label\">  </div></div>',n([a.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",p.GridOptionsWrapper)],y.prototype,\"gridOptionsWrapper\",void 0),n([a.Autowired(\"dragService\"),i(\"design:type\",c.DragService)],y.prototype,\"dragService\",void 0),n([a.Autowired(\"columnController\"),i(\"design:type\",u.ColumnController)],y.prototype,\"columnController\",void 0),n([a.PostConstruct,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],y.prototype,\"init\",null),n([r(0,a.Qualifier(\"loggerFactory\")),i(\"design:type\",Function),i(\"design:paramtypes\",[s.LoggerFactory]),i(\"design:returntype\",void 0)],y.prototype,\"setBeans\",null),n([a.PreDestroy,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],y.prototype,\"destroy\",null),y=v=n([a.Bean(\"dragAndDropService\")],y),t.DragAndDropService=y;var v},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var s,a=o(52),l=o(8),p=o(5),d=o(17),c=o(16),u=o(18),h=o(90),g=o(6),f=o(12),y=o(9),v=o(94),m=o(97),C=o(48),E=o(56);!function(e){e[e.COLUMN_GROUP=0]=\"COLUMN_GROUP\",e[e.COLUMN=1]=\"COLUMN\",e[e.FLOATING_FILTER=2]=\"FLOATING_FILTER\"}(s=t.HeaderRowType||(t.HeaderRowType={}));var w=function(e){function t(t,o,n,i,r){var s=e.call(this,'<div class=\"ag-header-row\"/>')||this;return s.headerElements={},s.dept=t,s.type=o,s.pinned=n,s.eRoot=i,s.dropTarget=r,s}return n(t,e),t.prototype.forEachHeaderElement=function(e){var t=this;Object.keys(this.headerElements).forEach(function(o){var n=t.headerElements[o];e(n)})},t.prototype.destroy=function(){var t=Object.keys(this.headerElements);this.removeAndDestroyChildComponents(t),e.prototype.destroy.call(this)},t.prototype.removeAndDestroyChildComponents=function(e){var t=this;e.forEach(function(e){var o=t.headerElements[e];t.getGui().removeChild(o.getGui()),o.destroy&&o.destroy(),delete t.headerElements[e]})},t.prototype.onRowHeightChanged=function(){var e=this.gridOptionsWrapper.getHeaderHeight();this.getGui().style.top=this.dept*e+\"px\",this.getGui().style.height=e+\"px\"},t.prototype.init=function(){this.onRowHeightChanged(),this.onVirtualColumnsChanged(),this.setWidth(),this.addDestroyableEventListener(this.gridOptionsWrapper,p.GridOptionsWrapper.PROP_HEADER_HEIGHT,this.onRowHeightChanged.bind(this)),this.addDestroyableEventListener(this.eventService,f.Events.EVENT_VIRTUAL_COLUMNS_CHANGED,this.onVirtualColumnsChanged.bind(this)),this.addDestroyableEventListener(this.eventService,f.Events.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this)),this.addDestroyableEventListener(this.eventService,f.Events.EVENT_COLUMN_RESIZED,this.onColumnResized.bind(this)),this.addDestroyableEventListener(this.eventService,f.Events.EVENT_GRID_COLUMNS_CHANGED,this.onGridColumnsChanged.bind(this))},t.prototype.onColumnResized=function(){this.setWidth()},t.prototype.setWidth=function(){var e=this.columnController.getContainerWidth(this.pinned)+\"px\";this.getGui().style.width=e},t.prototype.onGridColumnsChanged=function(){this.removeAndDestroyAllChildComponents()},t.prototype.removeAndDestroyAllChildComponents=function(){var e=Object.keys(this.headerElements);this.removeAndDestroyChildComponents(e)},t.prototype.onDisplayedColumnsChanged=function(){this.onVirtualColumnsChanged(),this.setWidth()},t.prototype.onVirtualColumnsChanged=function(){var e=this,t=Object.keys(this.headerElements);this.columnController.getVirtualHeaderGroupRow(this.pinned,this.type==s.FLOATING_FILTER?this.dept-1:this.dept).forEach(function(o){var n=o.getUniqueId();if(t.indexOf(n)>=0)return void y.Utils.removeFromArray(t,n);if(!(o instanceof d.ColumnGroup&&0===o.getDisplayedChildren().length)){var i=e.createHeaderElement(o);e.headerElements[n]=i,e.getGui().appendChild(i.getGui())}}),this.removeAndDestroyChildComponents(t)},t.prototype.isUsingOldHeaderRenderer=function(e){var t=e.getColDef();return y.Utils.anyExists([this.gridOptionsWrapper.getHeaderCellTemplateFunc(),this.gridOptionsWrapper.getHeaderCellTemplate(),t.headerCellTemplate,t.headerCellRenderer,this.gridOptionsWrapper.getHeaderCellRenderer()])},t.prototype.createHeaderElement=function(e){var t;switch(this.type){case s.COLUMN:this.isUsingOldHeaderRenderer(e)?(b||(console.warn(\"ag-Grid: since v8, custom headers are now done using components. Please refer to the documentation https://www.ag-grid.com/javascript-grid-header-rendering/. Support for the old way will be dropped in v9.\"),b=!0),t=new h.RenderedHeaderCell(e,this.eRoot,this.dropTarget,this.pinned)):t=new v.HeaderWrapperComp(e,this.eRoot,this.dropTarget,this.pinned);break;case s.COLUMN_GROUP:t=new m.HeaderGroupWrapperComp(e,this.eRoot,this.dropTarget,this.pinned);break;case s.FLOATING_FILTER:var o=e;t=this.createFloatingFilterWrapper(o)}return this.context.wireBean(t),t},t.prototype.createFloatingFilterWrapper=function(e){var t=this,o=this.filterManager.getFilterComponent(e),n=this.createFloatingFilterParams(e),i=this.componentProvider.newFloatingFilterWrapperComponent(o,e,n);return e.addEventListener(u.Column.EVENT_FILTER_CHANGED,function(){var o=t.filterManager.getFilterComponent(e);i.onParentModelChanged(o.getModel())}),i.onParentModelChanged(o.getModel()),i},t.prototype.createFloatingFilterParams=function(e){var t=this;return{currentParentModel:function(){var o=t.filterManager.getFilterComponent(e);return o.getNullableModel?o.getNullableModel():o.getModel()},onFloatingFilterChanged:function(o){var n=t.filterManager.getFilterComponent(e);n.onFloatingFilterChanged?n.onFloatingFilterChanged(o):(n.setModel(o),t.filterManager.onFilterChanged())},suppressFilterButton:!1}},t}(a.Component);i([l.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",p.GridOptionsWrapper)],w.prototype,\"gridOptionsWrapper\",void 0),i([l.Autowired(\"columnController\"),r(\"design:type\",c.ColumnController)],w.prototype,\"columnController\",void 0),i([l.Autowired(\"context\"),r(\"design:type\",l.Context)],w.prototype,\"context\",void 0),i([l.Autowired(\"eventService\"),r(\"design:type\",g.EventService)],w.prototype,\"eventService\",void 0),i([l.Autowired(\"filterManager\"),r(\"design:type\",C.FilterManager)],w.prototype,\"filterManager\",void 0),i([l.Autowired(\"componentProvider\"),r(\"design:type\",E.ComponentProvider)],w.prototype,\"componentProvider\",void 0),i([l.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],w.prototype,\"init\",null),t.HeaderRowComp=w;var b=!1},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(9),a=o(18),l=o(48),p=o(16),d=o(91),c=o(5),u=o(92),h=o(47),g=o(8),f=o(93),y=o(88),v=o(61),m=o(64),C=o(59),E=o(52),w=function(e){function t(t,o,n,i){var r=e.call(this)||this;return r.column=t,r.eRoot=o,r.dragSourceDropTarget=n,r.pinned=i,r}return n(t,e),t.prototype.getColumn=function(){return this.column},t.prototype.init=function(){var e=this.headerTemplateLoader.createHeaderElement(this.column);this.setGui(e),s.Utils.addCssClass(e,\"ag-header-cell\"),this.createScope(),this.addAttributes(),f.CssClassApplier.addHeaderClassesFromColDef(this.column.getColDef(),e,this.gridOptionsWrapper,this.column,null);var t=e.querySelector(\"#agHeaderCellLabel\");this.displayName=this.columnController.getDisplayNameForColumn(this.column,\"header\",!0),this.setupMovingCss(),this.setupTooltip(),this.setupResize(),this.setupTap(),this.setupMove(t),this.setupMenu(),this.setupSort(t),this.setupFilterIcon(),this.setupText(),this.setupWidth(),this.addFeature(this.context,new m.SetLeftFeature(this.column,e))},t.prototype.setupTooltip=function(){var e=this.column.getColDef();e.headerTooltip&&(this.getGui().title=e.headerTooltip)},t.prototype.setupText=function(){var e,t=this.column.getColDef();t.headerCellRenderer?e=t.headerCellRenderer:this.gridOptionsWrapper.getHeaderCellRenderer()&&(e=this.gridOptionsWrapper.getHeaderCellRenderer());var o=this.queryForHtmlElement(\"#agText\");o&&(e?this.useRenderer(this.displayName,e,o):(o.innerHTML=this.displayName,s.Utils.addCssClass(o,\"ag-header-cell-text\")))},t.prototype.setupFilterIcon=function(){this.eFilterIcon=this.queryForHtmlElement(\"#agFilter\"),this.eFilterIcon&&(this.addDestroyableEventListener(this.column,a.Column.EVENT_FILTER_CHANGED,this.onFilterChanged.bind(this)),this.onFilterChanged())},t.prototype.onFilterChanged=function(){var e=this.column.isFilterActive();s.Utils.addOrRemoveCssClass(this.getGui(),\"ag-header-cell-filtered\",e),s.Utils.addOrRemoveCssClass(this.eFilterIcon,\"ag-hidden\",!e)},t.prototype.setupWidth=function(){this.addDestroyableEventListener(this.column,a.Column.EVENT_WIDTH_CHANGED,this.onColumnWidthChanged.bind(this)),this.onColumnWidthChanged()},t.prototype.onColumnWidthChanged=function(){this.getGui().style.width=this.column.getActualWidth()+\"px\"},t.prototype.createScope=function(){var e=this;this.gridOptionsWrapper.isAngularCompileHeaders()&&(this.childScope=this.$scope.$new(),this.childScope.colDef=this.column.getColDef(),this.childScope.colDefWrapper=this.column,this.childScope.context=this.gridOptionsWrapper.getContext(),this.addDestroyFunc(function(){e.childScope.$destroy()}))},t.prototype.addAttributes=function(){this.getGui().setAttribute(\"colId\",this.column.getColId())},t.prototype.setupMenu=function(){var e=this,t=this.queryForHtmlElement(\"#agMenu\");if(t){if(!this.menuFactory.isMenuEnabled(this.column)||this.column.getColDef().suppressMenu)return void s.Utils.removeFromParent(t);t.addEventListener(\"click\",function(){return e.showMenu(t)}),this.gridOptionsWrapper.isSuppressMenuHide()||(t.style.opacity=\"0\",this.addGuiEventListener(\"mouseover\",function(){t.style.opacity=\"1\"}),this.addGuiEventListener(\"mouseout\",function(){t.style.opacity=\"0\"}));var o=t.style;o.transition=\"opacity 0.2s, border 0.2s\",o[\"-webkit-transition\"]=\"opacity 0.2s, border 0.2s\"}},t.prototype.showMenu=function(e){this.menuFactory.showMenuAfterButtonClick(this.column,e)},t.prototype.setupMovingCss=function(){this.addDestroyableEventListener(this.column,a.Column.EVENT_MOVING_CHANGED,this.onColumnMovingChanged.bind(this)),this.onColumnMovingChanged()},t.prototype.onColumnMovingChanged=function(){this.column.isMoving()?s.Utils.addCssClass(this.getGui(),\"ag-header-cell-moving\"):s.Utils.removeCssClass(this.getGui(),\"ag-header-cell-moving\")},t.prototype.setupMove=function(e){var t=this;if(!(this.gridOptionsWrapper.isSuppressMovableColumns()||this.column.getColDef().suppressMovable||this.gridOptionsWrapper.isForPrint())&&e){var o={type:y.DragSourceType.HeaderCell,eElement:e,dragItem:[this.column],dragItemName:this.displayName,dragSourceDropTarget:this.dragSourceDropTarget};this.dragAndDropService.addDragSource(o,!0),this.addDestroyFunc(function(){return t.dragAndDropService.removeDragSource(o)})}},t.prototype.setupTap=function(){var e=this;if(!this.gridOptionsWrapper.isSuppressTouch()){var t=new C.TouchListener(this.getGui()),o=function(){e.sortController.progressSort(e.column,!1)},n=function(t){e.gridOptionsWrapper.getApi().showColumnMenuAfterMouseClick(e.column,t)};this.addDestroyableEventListener(t,C.TouchListener.EVENT_TAP,o),this.addDestroyableEventListener(t,C.TouchListener.EVENT_LONG_TAP,n),this.addDestroyFunc(function(){return t.destroy()})}},t.prototype.setupResize=function(){var e=this,t=this.column.getColDef(),o=this.queryForHtmlElement(\"#agResizeBar\");if(o){if(!(this.gridOptionsWrapper.isEnableColResize()&&!t.suppressResize))return void s.Utils.removeFromParent(o);this.horizontalDragService.addDragHandling({eDraggableElement:o,eBody:this.eRoot,cursor:\"col-resize\",startAfterPixels:0,onDragStart:this.onDragStart.bind(this),onDragging:this.onDragging.bind(this)});!this.gridOptionsWrapper.isSuppressAutoSize()&&!t.suppressAutoSize&&this.addDestroyableEventListener(o,\"dblclick\",function(){e.columnController.autoSizeColumn(e.column)})}},t.prototype.useRenderer=function(e,t,o){var n,i={colDef:this.column.getColDef(),$scope:this.childScope,context:this.gridOptionsWrapper.getContext(),value:e,api:this.gridOptionsWrapper.getApi(),eHeaderCell:this.getGui()},r=t(i);if(s.Utils.isNodeOrElement(r))n=r;else{var a=document.createElement(\"span\");a.innerHTML=r,n=a}if(this.gridOptionsWrapper.isAngularCompileHeaders()){var l=this.$compile(n)(this.childScope)[0];o.appendChild(l)}else o.appendChild(n)},t.prototype.setupSort=function(e){var t=this,o=this.gridOptionsWrapper.isEnableSorting()&&!this.column.getColDef().suppressSorting,n=this.getGui();if(!o)return s.Utils.removeFromParent(n.querySelector(\"#agSortAsc\")),s.Utils.removeFromParent(n.querySelector(\"#agSortDesc\")),void s.Utils.removeFromParent(n.querySelector(\"#agNoSort\"));s.Utils.addCssClass(n,\"ag-header-cell-sortable\"),e&&e.addEventListener(\"click\",function(e){t.sortController.progressSort(t.column,e.shiftKey)}),this.eSortAsc=this.queryForHtmlElement(\"#agSortAsc\"),this.eSortDesc=this.queryForHtmlElement(\"#agSortDesc\"),this.eSortNone=this.queryForHtmlElement(\"#agNoSort\"),this.addDestroyableEventListener(this.column,a.Column.EVENT_SORT_CHANGED,this.onSortChanged.bind(this)),this.onSortChanged()},t.prototype.onSortChanged=function(){if(s.Utils.addOrRemoveCssClass(this.getGui(),\"ag-header-cell-sorted-asc\",this.column.isSortAscending()),s.Utils.addOrRemoveCssClass(this.getGui(),\"ag-header-cell-sorted-desc\",this.column.isSortDescending()),s.Utils.addOrRemoveCssClass(this.getGui(),\"ag-header-cell-sorted-none\",this.column.isSortNone()),this.eSortAsc&&s.Utils.addOrRemoveCssClass(this.eSortAsc,\"ag-hidden\",!this.column.isSortAscending()),this.eSortDesc&&s.Utils.addOrRemoveCssClass(this.eSortDesc,\"ag-hidden\",!this.column.isSortDescending()),this.eSortNone){var e=!this.column.getColDef().unSortIcon&&!this.gridOptionsWrapper.isUnSortIcon();s.Utils.addOrRemoveCssClass(this.eSortNone,\"ag-hidden\",e||!this.column.isSortNone())}},t.prototype.onDragStart=function(){this.startWidth=this.column.getActualWidth()},t.prototype.normaliseDragChange=function(e){var t=e;return this.gridOptionsWrapper.isEnableRtl()?this.pinned!==a.Column.PINNED_LEFT&&(t*=-1):this.pinned===a.Column.PINNED_RIGHT&&(t*=-1),t},t.prototype.onDragging=function(e,t){var o=this.normaliseDragChange(e),n=this.startWidth+o;this.columnController.setColumnWidth(this.column,n,t)},t}(E.Component);i([g.Autowired(\"context\"),r(\"design:type\",g.Context)],w.prototype,\"context\",void 0),i([g.Autowired(\"filterManager\"),r(\"design:type\",l.FilterManager)],w.prototype,\"filterManager\",void 0),i([g.Autowired(\"columnController\"),r(\"design:type\",p.ColumnController)],w.prototype,\"columnController\",void 0),i([g.Autowired(\"$compile\"),r(\"design:type\",Object)],w.prototype,\"$compile\",void 0),i([g.Autowired(\"gridCore\"),r(\"design:type\",h.GridCore)],w.prototype,\"gridCore\",void 0),i([g.Autowired(\"headerTemplateLoader\"),r(\"design:type\",d.HeaderTemplateLoader)],w.prototype,\"headerTemplateLoader\",void 0),i([g.Autowired(\"horizontalDragService\"),r(\"design:type\",u.HorizontalDragService)],w.prototype,\"horizontalDragService\",void 0),i([g.Autowired(\"menuFactory\"),r(\"design:type\",Object)],w.prototype,\"menuFactory\",void 0),i([g.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",c.GridOptionsWrapper)],w.prototype,\"gridOptionsWrapper\",void 0),i([g.Autowired(\"dragAndDropService\"),r(\"design:type\",y.DragAndDropService)],w.prototype,\"dragAndDropService\",void 0),i([g.Autowired(\"sortController\"),r(\"design:type\",v.SortController)],w.prototype,\"sortController\",void 0),i([g.Autowired(\"$scope\"),r(\"design:type\",Object)],w.prototype,\"$scope\",void 0),i([g.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],w.prototype,\"init\",null),t.RenderedHeaderCell=w},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(9),s=o(58),a=o(5),l=o(8),p=s.SvgFactory.getInstance(),d=c=function(){function e(){}return e.prototype.createHeaderElement=function(e){var t={column:e,colDef:e.getColDef,context:this.gridOptionsWrapper.getContext(),api:this.gridOptionsWrapper.getApi()},o=e.getColDef().headerCellTemplate;if(\"function\"==typeof o){o=o(t)}if(!o&&this.gridOptionsWrapper.getHeaderCellTemplate()&&(o=this.gridOptionsWrapper.getHeaderCellTemplate()),!o&&this.gridOptionsWrapper.getHeaderCellTemplateFunc()){o=this.gridOptionsWrapper.getHeaderCellTemplateFunc()(t)}o||(o=this.createDefaultHeaderElement(e));var n;return\"string\"==typeof o?n=r.Utils.loadTemplate(o):r.Utils.isNodeOrElement(o)?n=o:console.error(\"ag-Grid: header template must be a string or an HTML element\"),n},e.prototype.createDefaultHeaderElement=function(e){var t=r.Utils.loadTemplate(c.HEADER_CELL_TEMPLATE);return this.addInIcon(t,\"sortAscending\",\"#agSortAsc\",e,p.createArrowUpSvg),this.addInIcon(t,\"sortDescending\",\"#agSortDesc\",e,p.createArrowDownSvg),this.addInIcon(t,\"sortUnSort\",\"#agNoSort\",e,p.createArrowUpDownSvg),this.addInIcon(t,\"menu\",\"#agMenu\",e,p.createMenuSvg),this.addInIcon(t,\"filter\",\"#agFilter\",e,p.createFilterSvg),t},e.prototype.addInIcon=function(e,t,o,n,i){var s=r.Utils.createIconNoSpan(t,this.gridOptionsWrapper,n,i);e.querySelector(o).appendChild(s)},e}();d.HEADER_CELL_TEMPLATE='<div class=\"ag-header-cell\">  <div id=\"agResizeBar\" class=\"ag-header-cell-resize\"></div>  <span id=\"agMenu\" class=\"ag-header-icon ag-header-cell-menu-button\"></span>  <div id=\"agHeaderCellLabel\" class=\"ag-header-cell-label\">    <span id=\"agSortAsc\" class=\"ag-header-icon ag-sort-ascending-icon\"></span>    <span id=\"agSortDesc\" class=\"ag-header-icon ag-sort-descending-icon\"></span>    <span id=\"agNoSort\" class=\"ag-header-icon ag-sort-none-icon\"></span>    <span id=\"agFilter\" class=\"ag-header-icon ag-filter-icon\"></span>    <span id=\"agText\" class=\"ag-header-cell-text\"></span>  </div></div>',n([l.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",a.GridOptionsWrapper)],d.prototype,\"gridOptionsWrapper\",void 0),d=c=n([l.Bean(\"headerTemplateLoader\")],d),t.HeaderTemplateLoader=d;var c},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(5),s=o(8),a=function(){function e(){}return e.prototype.addDragHandling=function(e){var t=this;e.eDraggableElement.addEventListener(\"mousedown\",function(o){var n=t.gridOptionsWrapper.getDocument(),i=n.querySelector(\"body\");new l(e,o,i)})},e}();n([s.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",r.GridOptionsWrapper)],a.prototype,\"gridOptionsWrapper\",void 0),a=n([s.Bean(\"horizontalDragService\")],a),t.HorizontalDragService=a;var l=function(){function e(e,t,o){this.mouseMove=this.onMouseMove.bind(this),this.mouseUp=this.onMouseUp.bind(this),this.mouseLeave=this.onMouseLeave.bind(this),this.lastDelta=0,this.params=e,this.eDragParent=o,this.dragStartX=t.clientX,this.startEvent=t,this.eDragParent.addEventListener(\"mousemove\",this.mouseMove),this.eDragParent.addEventListener(\"mouseup\",this.mouseUp),this.eDragParent.addEventListener(\"mouseleave\",this.mouseLeave),this.draggingStarted=!1,\"number\"==typeof e.startAfterPixels&&e.startAfterPixels>0||this.startDragging()}return e.prototype.startDragging=function(){this.draggingStarted=!0,this.oldBodyCursor=this.params.eBody.style.cursor,this.oldParentCursor=this.eDragParent.style.cursor,this.oldMsUserSelect=this.eDragParent.style.msUserSelect,this.oldWebkitUserSelect=this.eDragParent.style.webkitUserSelect,this.params.eBody.style.cursor=this.params.cursor,this.eDragParent.style.cursor=this.params.cursor,this.eDragParent.style.msUserSelect=\"none\",this.eDragParent.style.webkitUserSelect=\"none\",this.params.onDragStart(this.startEvent)},e.prototype.onMouseMove=function(e){var t=e.clientX;if(this.lastDelta=t-this.dragStartX,!this.draggingStarted){Math.abs(this.lastDelta)>=this.params.startAfterPixels&&this.startDragging()}this.draggingStarted&&this.params.onDragging(this.lastDelta,!1)},e.prototype.onMouseUp=function(){this.stopDragging()},e.prototype.onMouseLeave=function(){this.stopDragging()},e.prototype.stopDragging=function(){this.draggingStarted&&(this.params.eBody.style.cursor=this.oldBodyCursor,this.eDragParent.style.cursor=this.oldParentCursor,this.eDragParent.style.msUserSelect=this.oldMsUserSelect,this.eDragParent.style.webkitUserSelect=this.oldWebkitUserSelect,this.params.onDragging(this.lastDelta,!0)),this.eDragParent.removeEventListener(\"mousemove\",this.mouseMove),this.eDragParent.removeEventListener(\"mouseup\",this.mouseUp),this.eDragParent.removeEventListener(\"mouseleave\",this.mouseLeave)},e}()},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var n=o(9),i=function(){function e(){}return e.addHeaderClassesFromColDef=function(e,t,o,i,r){n.Utils.missing(e)||this.addColumnClassesFromCollDef(e.headerClass,e,t,o,i,r)},e.addToolPanelClassesFromColDef=function(e,t,o,i,r){n.Utils.missing(e)||this.addColumnClassesFromCollDef(e.toolPanelClass,e,t,o,i,r)},e.addColumnClassesFromCollDef=function(e,t,o,i,r,s){if(!n.Utils.missing(e)){var a;if(\"function\"==typeof e){a=e({colDef:t,column:r,columnGroup:s,context:i.getContext(),api:i.getApi()})}else a=e;\"string\"==typeof a?n.Utils.addCssClass(o,a):Array.isArray(a)&&a.forEach(function(e){n.Utils.addCssClass(o,e)})}},e}();t.CssClassApplier=i},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(52),a=o(8),l=o(18),p=o(9),d=o(88),c=o(16),u=o(92),h=o(5),g=o(93),f=o(64),y=o(13),v=o(61),m=o(6),C=o(56),E=o(95),w=o(53),b=o(96),R=o(12),A=o(84),S=function(e){function t(o,n,i,r){var s=e.call(this,t.TEMPLATE)||this;return s.column=o,s.eRoot=n,s.dragSourceDropTarget=i,s.pinned=r,s}return n(t,e),t.prototype.getColumn=function(){return this.column},t.prototype.init=function(){this.instantiate(this.context);var e=this.columnController.getDisplayNameForColumn(this.column,\"header\",!0),t=this.gridOptionsWrapper.isEnableSorting()&&!this.column.getColDef().suppressSorting,o=this.menuFactory.isMenuEnabled(this.column)&&!this.column.getColDef().suppressMenu,n=this.appendHeaderComp(e,t,o);this.setupWidth(),this.setupMovingCss(),this.setupTooltip(),this.setupResize(),this.setupMove(n.getGui(),e),this.setupSortableClass(t),this.addColumnHoverListener(),this.addDestroyableEventListener(this.column,l.Column.EVENT_FILTER_ACTIVE_CHANGED,this.onFilterChanged.bind(this)),this.onFilterChanged(),this.addFeature(this.context,new f.SetLeftFeature(this.column,this.getGui())),this.addFeature(this.context,new b.SelectAllFeature(this.cbSelectAll,this.column)),this.addAttributes(),g.CssClassApplier.addHeaderClassesFromColDef(this.column.getColDef(),this.getGui(),this.gridOptionsWrapper,this.column,null)},t.prototype.addColumnHoverListener=function(){this.addDestroyableEventListener(this.eventService,R.Events.EVENT_COLUMN_HOVER_CHANGED,this.onColumnHover.bind(this)),this.onColumnHover()},t.prototype.onColumnHover=function(){var e=this.columnHoverService.isHovered(this.column);p.Utils.addOrRemoveCssClass(this.getGui(),\"ag-column-hover\",e)},t.prototype.setupSortableClass=function(e){if(e){var t=this.getGui();p.Utils.addCssClass(t,\"ag-header-cell-sortable\")}},t.prototype.onFilterChanged=function(){var e=this.column.isFilterActive();p.Utils.addOrRemoveCssClass(this.getGui(),\"ag-header-cell-filtered\",e)},t.prototype.appendHeaderComp=function(e,t,o){var n=this,i={column:this.column,displayName:e,enableSorting:t,enableMenu:o,showColumnMenu:function(e){n.gridApi.showColumnMenuAfterButtonClick(n.column,e)},progressSort:function(e){n.sortController.progressSort(n.column,!!e)},setSort:function(e,t){n.sortController.setSortForColumn(n.column,e,!!t)},api:this.gridApi,columnApi:this.columnApi,context:this.gridOptionsWrapper.getContext()},r=this.componentProvider.newHeaderComponent(i);return this.appendChild(r),r},t.prototype.onColumnMovingChanged=function(){this.column.isMoving()?p.Utils.addCssClass(this.getGui(),\"ag-header-cell-moving\"):p.Utils.removeCssClass(this.getGui(),\"ag-header-cell-moving\")},t.prototype.setupMove=function(e,t){var o=this;if(!(this.gridOptionsWrapper.isSuppressMovableColumns()||this.column.getColDef().suppressMovable||this.gridOptionsWrapper.isForPrint())&&e){var n={type:d.DragSourceType.HeaderCell,eElement:e,dragItem:[this.column],dragItemName:t,dragSourceDropTarget:this.dragSourceDropTarget};this.dragAndDropService.addDragSource(n,!0),this.addDestroyFunc(function(){return o.dragAndDropService.removeDragSource(n)})}},t.prototype.setupResize=function(){var e=this,t=this.column.getColDef();if(this.eResize){if(!(this.gridOptionsWrapper.isEnableColResize()&&!t.suppressResize))return void p.Utils.removeFromParent(this.eResize);this.horizontalDragService.addDragHandling({eDraggableElement:this.eResize,eBody:this.eRoot,cursor:\"col-resize\",startAfterPixels:0,onDragStart:this.onDragStart.bind(this),onDragging:this.onDragging.bind(this)});!this.gridOptionsWrapper.isSuppressAutoSize()&&!t.suppressAutoSize&&this.addDestroyableEventListener(this.eResize,\"dblclick\",function(){e.columnController.autoSizeColumn(e.column)})}},t.prototype.onDragging=function(e,t){var o=this.normaliseDragChange(e),n=this.startWidth+o;this.columnController.setColumnWidth(this.column,n,t)},t.prototype.onDragStart=function(){this.startWidth=this.column.getActualWidth()},t.prototype.setupTooltip=function(){var e=this.column.getColDef();e.headerTooltip&&(this.getGui().title=e.headerTooltip)},t.prototype.setupMovingCss=function(){this.addDestroyableEventListener(this.column,l.Column.EVENT_MOVING_CHANGED,this.onColumnMovingChanged.bind(this)),this.onColumnMovingChanged()},t.prototype.addAttributes=function(){this.getGui().setAttribute(\"colId\",this.column.getColId())},t.prototype.setupWidth=function(){this.addDestroyableEventListener(this.column,l.Column.EVENT_WIDTH_CHANGED,this.onColumnWidthChanged.bind(this)),this.onColumnWidthChanged()},t.prototype.onColumnWidthChanged=function(){this.getGui().style.width=this.column.getActualWidth()+\"px\"},t.prototype.normaliseDragChange=function(e){var t=e;return this.gridOptionsWrapper.isEnableRtl()?this.pinned!==l.Column.PINNED_LEFT&&(t*=-1):this.pinned===l.Column.PINNED_RIGHT&&(t*=-1),t},t}(s.Component);S.TEMPLATE='<div class=\"ag-header-cell\"><div ref=\"eResize\" class=\"ag-header-cell-resize\"></div><ag-checkbox ref=\"cbSelectAll\" class=\"ag-header-select-all\"></ag-checkbox></div>',i([a.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",h.GridOptionsWrapper)],S.prototype,\"gridOptionsWrapper\",void 0),i([a.Autowired(\"dragAndDropService\"),r(\"design:type\",d.DragAndDropService)],S.prototype,\"dragAndDropService\",void 0),i([a.Autowired(\"columnController\"),r(\"design:type\",c.ColumnController)],S.prototype,\"columnController\",void 0),i([a.Autowired(\"horizontalDragService\"),r(\"design:type\",u.HorizontalDragService)],S.prototype,\"horizontalDragService\",void 0),i([a.Autowired(\"context\"),r(\"design:type\",a.Context)],S.prototype,\"context\",void 0),i([a.Autowired(\"menuFactory\"),r(\"design:type\",Object)],S.prototype,\"menuFactory\",void 0),i([a.Autowired(\"gridApi\"),r(\"design:type\",y.GridApi)],S.prototype,\"gridApi\",void 0),i([a.Autowired(\"columnApi\"),r(\"design:type\",c.ColumnApi)],S.prototype,\"columnApi\",void 0),i([a.Autowired(\"sortController\"),r(\"design:type\",v.SortController)],S.prototype,\"sortController\",void 0),i([a.Autowired(\"eventService\"),r(\"design:type\",m.EventService)],S.prototype,\"eventService\",void 0),i([a.Autowired(\"componentProvider\"),r(\"design:type\",C.ComponentProvider)],S.prototype,\"componentProvider\",void 0),i([a.Autowired(\"columnHoverService\"),r(\"design:type\",A.ColumnHoverService)],S.prototype,\"columnHoverService\",void 0),i([w.RefSelector(\"eResize\"),r(\"design:type\",HTMLElement)],S.prototype,\"eResize\",void 0),i([w.RefSelector(\"cbSelectAll\"),r(\"design:type\",E.AgCheckbox)],S.prototype,\"cbSelectAll\",void 0),i([a.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],S.prototype,\"init\",null),t.HeaderWrapperComp=S},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(52),a=o(53),l=o(9),p=o(8),d=o(5),c=o(58),u=c.SvgFactory.getInstance(),h=function(e){function t(){var t=e.call(this)||this;return t.selected=!1,t.readOnly=!1,t.passive=!1,t}return n(t,e),t.prototype.postConstruct=function(){this.setTemplate(t.TEMPLATE),this.loadIcons(),this.updateIcons()},t.prototype.attributesSet=function(){e.prototype.attributesSet.call(this);var t=this.getAttribute(\"label\");t&&(this.eLabel.innerText=t)},t.prototype.loadIcons=function(){l.Utils.removeAllChildren(this.eChecked),l.Utils.removeAllChildren(this.eUnchecked),l.Utils.removeAllChildren(this.eIndeterminate),this.readOnly?(this.eChecked.appendChild(l.Utils.createIconNoSpan(\"checkboxCheckedReadOnly\",this.gridOptionsWrapper,null,u.createCheckboxCheckedReadOnlyIcon)),this.eUnchecked.appendChild(l.Utils.createIconNoSpan(\"checkboxUncheckedReadOnly\",this.gridOptionsWrapper,null,u.createCheckboxUncheckedReadOnlyIcon)),this.eIndeterminate.appendChild(l.Utils.createIconNoSpan(\"checkboxIndeterminateReadOnly\",this.gridOptionsWrapper,null,u.createCheckboxIndeterminateReadOnlyIcon))):(this.eChecked.appendChild(l.Utils.createIconNoSpan(\"checkboxChecked\",this.gridOptionsWrapper,null,u.createCheckboxCheckedIcon)),this.eUnchecked.appendChild(l.Utils.createIconNoSpan(\"checkboxUnchecked\",this.gridOptionsWrapper,null,u.createCheckboxUncheckedIcon)),this.eIndeterminate.appendChild(l.Utils.createIconNoSpan(\"checkboxIndeterminate\",this.gridOptionsWrapper,null,u.createCheckboxIndeterminateIcon)))},t.prototype.onClick=function(){this.readOnly||this.toggle()},t.prototype.getNextValue=function(){return void 0===this.selected||!this.selected},t.prototype.setPassive=function(e){this.passive=e},t.prototype.setReadOnly=function(e){this.readOnly=e,this.loadIcons()},t.prototype.isReadOnly=function(){return this.readOnly},t.prototype.isSelected=function(){return this.selected},t.prototype.toggle=function(){var e=this.getNextValue();this.passive?this.dispatchEvent(t.EVENT_CHANGED,{selected:e}):this.setSelected(e)},t.prototype.setSelected=function(e){this.selected!==e&&(this.selected=!0===e||!1!==e&&void 0,this.updateIcons(),this.dispatchEvent(t.EVENT_CHANGED,{selected:this.selected}))},t.prototype.updateIcons=function(){l.Utils.setVisible(this.eChecked,!0===this.selected),l.Utils.setVisible(this.eUnchecked,!1===this.selected),l.Utils.setVisible(this.eIndeterminate,void 0===this.selected)},t}(s.Component);h.EVENT_CHANGED=\"change\",h.TEMPLATE='<span class=\"ag-checkbox\">  <span class=\"ag-checkbox-checked\"></span>  <span class=\"ag-checkbox-unchecked\"></span>  <span class=\"ag-checkbox-indeterminate\"></span>  <span class=\"ag-checkbox-label\"></span></span>',i([p.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",d.GridOptionsWrapper)],h.prototype,\"gridOptionsWrapper\",void 0),i([a.QuerySelector(\".ag-checkbox-checked\"),r(\"design:type\",HTMLElement)],h.prototype,\"eChecked\",void 0),i([a.QuerySelector(\".ag-checkbox-unchecked\"),r(\"design:type\",HTMLElement)],h.prototype,\"eUnchecked\",void 0),i([a.QuerySelector(\".ag-checkbox-indeterminate\"),r(\"design:type\",HTMLElement)],h.prototype,\"eIndeterminate\",void 0),i([a.QuerySelector(\".ag-checkbox-label\"),r(\"design:type\",HTMLElement)],h.prototype,\"eLabel\",void 0),i([p.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],h.prototype,\"postConstruct\",null),i([a.Listener(\"click\"),r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],h.prototype,\"onClick\",null),t.AgCheckbox=h},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(95),a=o(40),l=o(8),p=o(16),d=o(13),c=o(12),u=o(6),h=o(10),g=o(31),f=function(e){function t(t,o){var n=e.call(this)||this;n.cbSelectAllVisible=!1,n.processingEventFromCheckbox=!1,n.cbSelectAll=t,n.column=o;var i=o.getColDef();return n.filteredOnly=!!i&&!!i.headerCheckboxSelectionFilteredOnly,n}return n(t,e),t.prototype.postConstruct=function(){this.showOrHideSelectAll(),this.addDestroyableEventListener(this.eventService,c.Events.EVENT_DISPLAYED_COLUMNS_CHANGED,this.showOrHideSelectAll.bind(this)),this.addDestroyableEventListener(this.eventService,c.Events.EVENT_SELECTION_CHANGED,this.onSelectionChanged.bind(this)),this.addDestroyableEventListener(this.eventService,c.Events.EVENT_MODEL_UPDATED,this.onModelChanged.bind(this)),this.addDestroyableEventListener(this.cbSelectAll,s.AgCheckbox.EVENT_CHANGED,this.onCbSelectAll.bind(this))},t.prototype.showOrHideSelectAll=function(){this.cbSelectAllVisible=this.isCheckboxSelection(),this.cbSelectAll.setVisible(this.cbSelectAllVisible),this.cbSelectAllVisible&&(this.checkRightRowModelType(),this.updateStateOfCheckbox())},t.prototype.onModelChanged=function(){this.cbSelectAllVisible&&this.updateStateOfCheckbox()},t.prototype.onSelectionChanged=function(){this.cbSelectAllVisible&&this.updateStateOfCheckbox()},t.prototype.getNextCheckboxState=function(e){return(0!==e.selected||0!==e.notSelected)&&(e.selected>0&&e.notSelected>0?null:e.selected>0)},t.prototype.updateStateOfCheckbox=function(){if(!this.processingEventFromCheckbox){this.processingEventFromCheckbox=!0;var e=this.getSelectionCount(),t=this.getNextCheckboxState(e);this.cbSelectAll.setSelected(t),this.processingEventFromCheckbox=!1}},t.prototype.getSelectionCount=function(){var e=0,t=0,o=function(o){o.isSelected()?e++:t++};return this.filteredOnly?this.gridApi.forEachNodeAfterFilter(o):this.gridApi.forEachNode(o),{notSelected:t,selected:e}},t.prototype.checkRightRowModelType=function(){var e=this.rowModel.getType();e===h.Constants.ROW_MODEL_TYPE_NORMAL||h.Constants.ROW_MODEL_TYPE_PAGINATION||console.log(\"ag-Grid: selectAllCheckbox is only available if using normal or pagination row models, you are using \"+e)},t.prototype.onCbSelectAll=function(){if(!this.processingEventFromCheckbox&&this.cbSelectAllVisible){this.cbSelectAll.isSelected()?this.selectionController.selectAllRowNodes(this.filteredOnly):this.selectionController.deselectAllRowNodes(this.filteredOnly)}},t.prototype.isCheckboxSelection=function(){var e=this.column.getColDef().headerCheckboxSelection;if(!0===e)return!0;if(\"function\"==typeof e){return e({column:this.column,colDef:this.column.getColDef(),columnApi:this.columnApi,api:this.gridApi})}return!1},t}(a.BeanStub);i([l.Autowired(\"gridApi\"),r(\"design:type\",d.GridApi)],f.prototype,\"gridApi\",void 0),i([l.Autowired(\"columnApi\"),r(\"design:type\",p.ColumnApi)],f.prototype,\"columnApi\",void 0),i([l.Autowired(\"eventService\"),r(\"design:type\",u.EventService)],f.prototype,\"eventService\",void 0),i([l.Autowired(\"rowModel\"),r(\"design:type\",Object)],f.prototype,\"rowModel\",void 0),i([l.Autowired(\"selectionController\"),r(\"design:type\",g.SelectionController)],f.prototype,\"selectionController\",void 0),i([l.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],f.prototype,\"postConstruct\",null),t.SelectAllFeature=f},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(52),a=o(18),l=o(9),p=o(17),d=o(16),c=o(5),u=o(92),h=o(8),g=o(93),f=o(88),y=o(64),v=o(56),m=o(13),C=function(e){function t(o,n,i,r){var s=e.call(this,t.TEMPLATE)||this;return s.childColumnsDestroyFuncs=[],s.columnGroup=o,s.eRoot=n,s.dragSourceDropTarget=i,s.pinned=r,s}return n(t,e),t.prototype.postConstruct=function(){g.CssClassApplier.addHeaderClassesFromColDef(this.columnGroup.getColGroupDef(),this.getGui(),this.gridOptionsWrapper,null,this.columnGroup);var e=this.columnController.getDisplayNameForColumnGroup(this.columnGroup,\"header\"),t=this.appendHeaderGroupComp(e);this.setupResize(),this.addClasses(),this.setupMove(t.getGui(),e),this.setupWidth(),this.addAttributes(),this.addFeature(this.context,new y.SetLeftFeature(this.columnGroup,this.getGui()))},t.prototype.addAttributes=function(){this.getGui().setAttribute(\"colId\",this.columnGroup.getUniqueId())},t.prototype.appendHeaderGroupComp=function(e){var t=this,o={displayName:e,columnGroup:this.columnGroup,setExpanded:function(e){t.columnController.setColumnGroupOpened(t.columnGroup,e)},api:this.gridApi,columnApi:this.columnApi,context:this.gridOptionsWrapper.getContext()},n=this.componentProvider.newHeaderGroupComponent(o);return this.appendChild(n),n},t.prototype.addClasses=function(){this.columnGroup.isPadding()?this.addCssClass(\"ag-header-group-cell-no-group\"):this.addCssClass(\"ag-header-group-cell-with-group\")},t.prototype.setupMove=function(e,t){var o=this;if(e&&!this.isSuppressMoving()&&e){var n={type:f.DragSourceType.HeaderCell,eElement:e,dragItemName:t,dragItem:this.getAllColumnsInThisGroup(),dragSourceDropTarget:this.dragSourceDropTarget};this.dragAndDropService.addDragSource(n,!0),this.addDestroyFunc(function(){return o.dragAndDropService.removeDragSource(n)})}},t.prototype.getAllColumnsInThisGroup=function(){var e=this.columnGroup.getOriginalColumnGroup().getLeafColumns(),t=[];return this.columnController.getAllDisplayedColumns().forEach(function(o){e.indexOf(o)>=0&&(t.push(o),l.Utils.removeFromArray(e,o))}),e.forEach(function(e){return t.push(e)}),t},t.prototype.isSuppressMoving=function(){var e=!1;return this.columnGroup.getLeafColumns().forEach(function(t){t.getColDef().suppressMovable&&(e=!0)}),e||this.gridOptionsWrapper.isSuppressMovableColumns()||this.gridOptionsWrapper.isForPrint()},t.prototype.setupWidth=function(){this.addListenersToChildrenColumns(),this.addDestroyableEventListener(this.columnGroup,p.ColumnGroup.EVENT_DISPLAYED_CHILDREN_CHANGED,this.onDisplayedChildrenChanged.bind(this)),this.onWidthChanged(),this.addDestroyFunc(this.destroyListenersOnChildrenColumns.bind(this))},t.prototype.onDisplayedChildrenChanged=function(){this.addListenersToChildrenColumns(),this.onWidthChanged()},t.prototype.addListenersToChildrenColumns=function(){var e=this;this.destroyListenersOnChildrenColumns();var t=this.onWidthChanged.bind(this);this.columnGroup.getLeafColumns().forEach(function(o){o.addEventListener(a.Column.EVENT_WIDTH_CHANGED,t),o.addEventListener(a.Column.EVENT_VISIBLE_CHANGED,t),e.childColumnsDestroyFuncs.push(function(){o.removeEventListener(a.Column.EVENT_WIDTH_CHANGED,t),o.removeEventListener(a.Column.EVENT_VISIBLE_CHANGED,t)})})},t.prototype.destroyListenersOnChildrenColumns=function(){this.childColumnsDestroyFuncs.forEach(function(e){return e()}),this.childColumnsDestroyFuncs=[]},t.prototype.onWidthChanged=function(){this.getGui().style.width=this.columnGroup.getActualWidth()+\"px\"},t.prototype.setupResize=function(){var e=this;if(this.eHeaderCellResize=this.getRefElement(\"agResize\"),!this.gridOptionsWrapper.isEnableColResize())return void l.Utils.removeFromParent(this.eHeaderCellResize);this.dragService.addDragHandling({eDraggableElement:this.eHeaderCellResize,eBody:this.eRoot,cursor:\"col-resize\",startAfterPixels:0,onDragStart:this.onDragStart.bind(this),onDragging:this.onDragging.bind(this)}),this.gridOptionsWrapper.isSuppressAutoSize()||this.eHeaderCellResize.addEventListener(\"dblclick\",function(t){var o=[];e.columnGroup.getDisplayedLeafColumns().forEach(function(e){e.getColDef().suppressAutoSize||o.push(e.getColId())}),o.length>0&&e.columnController.autoSizeColumns(o)})},t.prototype.onDragStart=function(){var e=this;this.groupWidthStart=this.columnGroup.getActualWidth(),this.childrenWidthStarts=[],this.columnGroup.getDisplayedLeafColumns().forEach(function(t){e.childrenWidthStarts.push(t.getActualWidth())})},t.prototype.onDragging=function(e,t){var o=this,n=this.normaliseDragChange(e),i=this.groupWidthStart+n,r=this.columnGroup.getMinWidth();i<r&&(i=r);var s=i/this.groupWidthStart,a=i,l=this.columnGroup.getDisplayedLeafColumns();l.forEach(function(e,n){var i,r=n!==l.length-1;if(r){i=o.childrenWidthStarts[n]*s,i<e.getMinWidth()&&(i=e.getMinWidth()),a-=i}else i=a;o.columnController.setColumnWidth(e,i,t)})},t.prototype.normaliseDragChange=function(e){var t=e;return this.gridOptionsWrapper.isEnableRtl()?this.pinned!==a.Column.PINNED_LEFT&&(t*=-1):this.pinned===a.Column.PINNED_RIGHT&&(t*=-1),t},t}(s.Component);C.TEMPLATE='<div class=\"ag-header-group-cell\"><div ref=\"agResize\" class=\"ag-header-cell-resize\"></div></div>',i([h.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",c.GridOptionsWrapper)],C.prototype,\"gridOptionsWrapper\",void 0),i([h.Autowired(\"columnController\"),r(\"design:type\",d.ColumnController)],C.prototype,\"columnController\",void 0),i([h.Autowired(\"horizontalDragService\"),r(\"design:type\",u.HorizontalDragService)],C.prototype,\"dragService\",void 0),i([h.Autowired(\"dragAndDropService\"),r(\"design:type\",f.DragAndDropService)],C.prototype,\"dragAndDropService\",void 0),i([h.Autowired(\"context\"),r(\"design:type\",h.Context)],C.prototype,\"context\",void 0),i([h.Autowired(\"componentProvider\"),r(\"design:type\",v.ComponentProvider)],C.prototype,\"componentProvider\",void 0),i([h.Autowired(\"gridApi\"),r(\"design:type\",m.GridApi)],C.prototype,\"gridApi\",void 0),i([h.Autowired(\"columnApi\"),r(\"design:type\",d.ColumnApi)],C.prototype,\"columnApi\",void 0),i([h.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],C.prototype,\"postConstruct\",null),t.HeaderGroupWrapperComp=C},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(88),s=o(8),a=o(99),l=o(18),p=o(27),d=o(100),c=o(16),u=function(){function e(e,t){this.pinned=e,this.eContainer=t}return e.prototype.getSecondaryContainers=function(){return this.eSecondaryContainers},e.prototype.getContainer=function(){return this.eContainer},e.prototype.init=function(){switch(this.moveColumnController=new a.MoveColumnController(this.pinned,this.eContainer),this.context.wireBean(this.moveColumnController),this.bodyDropPivotTarget=new d.BodyDropPivotTarget(this.pinned),this.context.wireBean(this.bodyDropPivotTarget),this.pinned){case l.Column.PINNED_LEFT:this.eSecondaryContainers=this.gridPanel.getDropTargetLeftContainers();break;case l.Column.PINNED_RIGHT:this.eSecondaryContainers=this.gridPanel.getDropTargetPinnedRightContainers();break;default:this.eSecondaryContainers=this.gridPanel.getDropTargetBodyContainers()}this.dragAndDropService.addDropTarget(this)},e.prototype.getIconName=function(){return this.currentDropListener.getIconName()},e.prototype.isUseBodyDropPivotTarget=function(e){return!!this.columnController.isPivotMode()&&e.dragSource.type===r.DragSourceType.ToolPanel},e.prototype.onDragEnter=function(e){var t=this.isUseBodyDropPivotTarget(e);this.currentDropListener=t?this.bodyDropPivotTarget:this.moveColumnController,this.currentDropListener.onDragEnter(e)},e.prototype.onDragLeave=function(e){this.currentDropListener.onDragLeave(e)},e.prototype.onDragging=function(e){this.currentDropListener.onDragging(e)},e.prototype.onDragStop=function(e){this.currentDropListener.onDragStop(e)},e}();n([s.Autowired(\"context\"),i(\"design:type\",s.Context)],u.prototype,\"context\",void 0),n([s.Autowired(\"gridPanel\"),i(\"design:type\",p.GridPanel)],u.prototype,\"gridPanel\",void 0),n([s.Autowired(\"dragAndDropService\"),i(\"design:type\",r.DragAndDropService)],u.prototype,\"dragAndDropService\",void 0),n([s.Autowired(\"columnController\"),i(\"design:type\",c.ColumnController)],u.prototype,\"columnController\",void 0),n([s.PostConstruct,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],u.prototype,\"init\",null),t.BodyDropTarget=u},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(8),s=o(7),a=o(16),l=o(18),p=o(9),d=o(88),c=o(27),u=o(5),h=function(){function e(e,t){this.needToMoveLeft=!1,this.needToMoveRight=!1,this.pinned=e,this.eContainer=t,this.centerContainer=!p.Utils.exists(e)}return e.prototype.init=function(){this.logger=this.loggerFactory.create(\"MoveColumnController\")},e.prototype.getIconName=function(){return this.pinned?d.DragAndDropService.ICON_PINNED:d.DragAndDropService.ICON_MOVE},e.prototype.onDragEnter=function(e){var t=e.dragSource.dragItem;this.columnController.setColumnsVisible(t,!0),this.columnController.setColumnsPinned(t,this.pinned),this.onDragging(e,!0)},e.prototype.onDragLeave=function(e){if(!this.gridOptionsWrapper.isSuppressDragLeaveHidesColumns()&&!e.fromNudge){var t=e.dragSource.dragItem;this.columnController.setColumnsVisible(t,!1)}this.ensureIntervalCleared()},e.prototype.onDragStop=function(){this.ensureIntervalCleared()},e.prototype.normaliseX=function(e){this.gridOptionsWrapper.isEnableRtl()&&(e=this.eContainer.clientWidth-e);return this.centerContainer&&(e+=this.gridPanel.getBodyViewportScrollLeft()),e},e.prototype.workOutNewIndex=function(e,t,o,n,i){return n===d.HDirection.Left?this.getNewIndexForColMovingLeft(e,t,o,i):this.getNewIndexForColMovingRight(e,t,o,i)},e.prototype.checkCenterForScrolling=function(e){if(this.centerContainer){var t=this.gridPanel.getBodyViewportScrollLeft(),o=t+this.gridPanel.getCenterWidth();this.gridOptionsWrapper.isEnableRtl()?(this.needToMoveRight=e<t+50,this.needToMoveLeft=e>o-50):(this.needToMoveLeft=e<t+50,this.needToMoveRight=e>o-50),this.needToMoveLeft||this.needToMoveRight?this.ensureIntervalStarted():this.ensureIntervalCleared()}},e.prototype.onDragging=function(e,t){if(void 0===t&&(t=!1),this.lastDraggingEvent=e,!p.Utils.missing(e.hDirection)){var o=this.normaliseX(e.x);t||this.checkCenterForScrolling(o);var n=this.normaliseDirection(e.hDirection),i=e.dragSource.dragItem;this.attemptMoveColumns(i,n,o,t)}},e.prototype.normaliseDirection=function(e){if(!this.gridOptionsWrapper.isEnableRtl())return e;switch(e){case d.HDirection.Left:return d.HDirection.Right;case d.HDirection.Right:return d.HDirection.Left;default:console.error(\"ag-Grid: Unknown direction \"+e)}},e.prototype.attemptMoveColumns=function(e,t,o,n){var i,r=this.columnController.getDisplayedColumns(this.pinned),s=this.columnController.getAllGridColumns(),a=t===d.HDirection.Left,l=t===d.HDirection.Right,c=p.Utils.filter(e,function(e){return r.indexOf(e)>=0});i=a?c[0]:c[c.length-1];var u=this.workOutNewIndex(r,s,i,t,o),h=s.indexOf(i);!n&&a&&u>=h||!n&&l&&u<=h||(l&&(u=u-e.length+1),this.columnController.moveColumns(e,u))},e.prototype.getNewIndexForColMovingLeft=function(e,t,o,n){for(var i=0,r=null,s=0;s<e.length;s++){var a=e[s];if(a!==o){if((i+=a.getActualWidth())>n)break;r=a}}var l;if(r){l=t.indexOf(r)+1;t.indexOf(o)<l&&l--}else l=0;return l},e.prototype.getNewIndexForColMovingRight=function(e,t,o,n){for(var i=o,r=i.getActualWidth(),s=null,a=0;a<e.length&&!(r>n);a++){var l=e[a];l!==i&&(r+=l.getActualWidth(),s=l)}var p;if(s){p=t.indexOf(s)+1;t.indexOf(i)<p&&p--}else p=0;return p},e.prototype.ensureIntervalStarted=function(){this.movingIntervalId||(this.intervalCount=0,this.failedMoveAttempts=0,this.movingIntervalId=setInterval(this.moveInterval.bind(this),100),this.needToMoveLeft?this.dragAndDropService.setGhostIcon(d.DragAndDropService.ICON_LEFT,!0):this.dragAndDropService.setGhostIcon(d.DragAndDropService.ICON_RIGHT,!0))},e.prototype.ensureIntervalCleared=function(){this.moveInterval&&(clearInterval(this.movingIntervalId),this.movingIntervalId=null,this.dragAndDropService.setGhostIcon(d.DragAndDropService.ICON_MOVE))},e.prototype.moveInterval=function(){var e;this.intervalCount++,(e=10+5*this.intervalCount)>100&&(e=100);var t;if(this.needToMoveLeft?t=this.gridPanel.scrollHorizontally(-e):this.needToMoveRight&&(t=this.gridPanel.scrollHorizontally(e)),0!==t)this.onDragging(this.lastDraggingEvent),this.failedMoveAttempts=0;else if(this.failedMoveAttempts++,this.dragAndDropService.setGhostIcon(d.DragAndDropService.ICON_PINNED),this.failedMoveAttempts>7){var o=this.lastDraggingEvent.dragSource.dragItem,n=this.needToMoveLeft?l.Column.PINNED_LEFT:l.Column.PINNED_RIGHT;this.columnController.setColumnsPinned(o,n),this.dragAndDropService.nudge()}},e}();n([r.Autowired(\"loggerFactory\"),i(\"design:type\",s.LoggerFactory)],h.prototype,\"loggerFactory\",void 0),n([r.Autowired(\"columnController\"),i(\"design:type\",a.ColumnController)],h.prototype,\"columnController\",void 0),n([r.Autowired(\"gridPanel\"),i(\"design:type\",c.GridPanel)],h.prototype,\"gridPanel\",void 0),n([r.Autowired(\"dragAndDropService\"),i(\"design:type\",d.DragAndDropService)],h.prototype,\"dragAndDropService\",void 0),n([r.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",u.GridOptionsWrapper)],h.prototype,\"gridOptionsWrapper\",void 0),n([r.PostConstruct,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],h.prototype,\"init\",null),t.MoveColumnController=h},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(88),s=o(16),a=o(8),l=o(5),p=function(){function e(e){this.columnsToAggregate=[],this.columnsToGroup=[],this.columnsToPivot=[],this.pinned=e}return e.prototype.onDragEnter=function(e){var t=this;if(this.clearColumnsList(),!this.gridOptionsWrapper.isFunctionsReadOnly()){e.dragSource.dragItem.forEach(function(e){e.isPrimary()&&(e.isAnyFunctionActive()||(e.isAllowValue()?t.columnsToAggregate.push(e):e.isAllowRowGroup()?t.columnsToGroup.push(e):e.isAllowRowGroup()&&t.columnsToPivot.push(e)))})}},e.prototype.getIconName=function(){return this.columnsToAggregate.length+this.columnsToGroup.length+this.columnsToPivot.length>0?this.pinned?r.DragAndDropService.ICON_PINNED:r.DragAndDropService.ICON_MOVE:null},e.prototype.onDragLeave=function(e){this.clearColumnsList()},e.prototype.clearColumnsList=function(){this.columnsToAggregate.length=0,this.columnsToGroup.length=0,this.columnsToPivot.length=0},e.prototype.onDragging=function(e){},e.prototype.onDragStop=function(e){this.columnsToAggregate.length>0&&this.columnController.addValueColumns(this.columnsToAggregate),this.columnsToGroup.length>0&&this.columnController.addRowGroupColumns(this.columnsToGroup),this.columnsToPivot.length>0&&this.columnController.addPivotColumns(this.columnsToPivot)},e}();n([a.Autowired(\"columnController\"),i(\"design:type\",s.ColumnController)],p.prototype,\"columnController\",void 0),n([a.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",l.GridOptionsWrapper)],p.prototype,\"gridOptionsWrapper\",void 0),t.BodyDropPivotTarget=p},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var n=function(){function e(e){this.type=e}return e.prototype.toString=function(){var e=\"ColumnChangeEvent {type: \"+this.type;return this.column&&(e+=\", column: \"+this.column.getColId()),this.columnGroup&&(e+=this.columnGroup.getColGroupDef().headerName),this.toIndex&&(e+=\", toIndex: \"+this.toIndex),this.visible&&(e+=\", visible: \"+this.visible),this.pinned&&(e+=\", pinned: \"+this.pinned),\"boolean\"==typeof this.finished&&(e+=\", finished: \"+this.finished),e+=\"}\"},e.prototype.withPinned=function(e){return this.pinned=e,this},e.prototype.withVisible=function(e){return this.visible=e,this},e.prototype.isVisible=function(){return this.visible},e.prototype.getPinned=function(){return this.pinned},e.prototype.withColumn=function(e){return this.column=e,this},e.prototype.withColumns=function(e){return this.columns=e,this},e.prototype.withFinished=function(e){return this.finished=e,this},e.prototype.withColumnGroup=function(e){return this.columnGroup=e,this},e.prototype.withToIndex=function(e){return this.toIndex=e,this},e.prototype.getToIndex=function(){return this.toIndex},e.prototype.getType=function(){return this.type},e.prototype.getColumn=function(){return this.column},e.prototype.getColumns=function(){return this.columns},e.prototype.getColumnGroup=function(){return this.columnGroup},e.prototype.isFinished=function(){return this.finished},e}();t.ColumnChangeEvent=n},function(e,t){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var o=function(){function e(){this.existingIds={}}return e.prototype.getInstanceIdForKey=function(e){var t,o=this.existingIds[e];return t=\"number\"!=typeof o?0:o+1,this.existingIds[e]=t,t},e}();t.GroupInstanceIdCreator=o},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(8),s=o(18),a=o(5),l=o(9),p=o(104),d=c=function(){function e(){}return e.prototype.createAutoGroupColumns=function(e){var t=this,o=[];return this.gridOptionsWrapper.isGroupMultiAutoColumn()?e.forEach(function(e,n){o.push(t.createOneAutoGroupColumn(e,n))}):o.push(this.createOneAutoGroupColumn()),o},e.prototype.createOneAutoGroupColumn=function(e,t){var o=this.gridOptionsWrapper.getGroupColumnDef();if(!o){o={headerName:this.gridOptionsWrapper.getLocaleTextFunc()(\"group\",\"Group\"),comparator:p.defaultGroupComparator,valueGetter:function(e){return e.node.group?e.node.key:e.data&&e.colDef.field?e.data[e.colDef.field]:null},cellRenderer:\"group\"}}o.suppressMovable=!0;var n;if(e){o=l._.cloneObject(o);var i=e.getColDef();l._.assign(o,{headerName:i.headerName,headerValueGetter:i.headerValueGetter,field:i.field}),l._.missing(o.cellRendererParams)?o.cellRendererParams={}:o.cellRendererParams=l._.cloneObject(o.cellRendererParams),o.cellRendererParams.restrictToOneGroup=!0,t>0&&(o.headerCheckboxSelection=!1,o.cellRendererParams.checkbox=!1),n=c.GROUP_AUTO_COLUMN_ID+\"-\"+Math.random()+\"-\"+e.getId()}else n=c.GROUP_AUTO_COLUMN_ID+\"-\"+Math.random();var r=new s.Column(o,n,!0);return this.context.wireBean(r),r},e}();d.GROUP_AUTO_COLUMN_ID=\"ag-Grid-AutoColumn\",n([r.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",a.GridOptionsWrapper)],d.prototype,\"gridOptionsWrapper\",void 0),n([r.Autowired(\"context\"),i(\"design:type\",r.Context)],d.prototype,\"context\",void 0),d=c=n([r.Bean(\"autoGroupColService\")],d),t.AutoGroupColService=d;var c},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";function n(e,t,o,n){var r=i.Utils.exists(o)&&o.group,s=i.Utils.exists(n)&&n.group,a=r&&s,l=!r&&!s;return a?i.Utils.defaultComparator(o.key,n.key):l?i.Utils.defaultComparator(e,t):r?1:-1}Object.defineProperty(t,\"__esModule\",{value:!0});var i=o(9);t.defaultGroupComparator=n},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s};Object.defineProperty(t,\"__esModule\",{value:!0});var i=o(8),r=function(){function e(){}return e.prototype.download=function(e,t,o){var n=new Blob([\"\\ufeff\",t],{type:o});if(window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(n,e);else{var i=document.createElement(\"a\");i.href=window.URL.createObjectURL(n),i.download=e,document.body.appendChild(i),i.click(),document.body.removeChild(i)}},e}();r=n([i.Bean(\"downloader\")],r),t.Downloader=r},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(8),s=o(48),a=o(9),l=o(49),p=o(5),d=o(6),c=function(){function e(){}return e.prototype.showMenuAfterMouseEvent=function(e,t){var o=this;this.showPopup(e,function(e){o.popupService.positionPopupUnderMouseEvent({mouseEvent:t,ePopup:e})})},e.prototype.showMenuAfterButtonClick=function(e,t){var o=this;this.showPopup(e,function(e){o.popupService.positionPopupUnderComponent({eventSource:t,ePopup:e,keepWithinBounds:!0})})},e.prototype.showPopup=function(e,t){var o=this,n=this.filterManager.getOrCreateFilterWrapper(e),i=document.createElement(\"div\");a.Utils.addCssClass(i,\"ag-menu\"),i.appendChild(n.gui);var r,s=function(e){\"horizontal\"===e.direction&&r()};this.eventService.addEventListener(\"bodyScroll\",s);var l=function(){o.eventService.removeEventListener(\"bodyScroll\",s)};if(r=this.popupService.addAsModalPopup(i,!0,l),t(i),n.filter.afterGuiAttached){var p={hidePopup:r};n.filter.afterGuiAttached(p)}},e.prototype.isMenuEnabled=function(e){return this.gridOptionsWrapper.isEnableFilter()&&e.isFilterAllowed()},e}();n([r.Autowired(\"eventService\"),i(\"design:type\",d.EventService)],c.prototype,\"eventService\",void 0),n([r.Autowired(\"filterManager\"),i(\"design:type\",s.FilterManager)],c.prototype,\"filterManager\",void 0),n([r.Autowired(\"popupService\"),i(\"design:type\",l.PopupService)],c.prototype,\"popupService\",void 0),n([r.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",p.GridOptionsWrapper)],c.prototype,\"gridOptionsWrapper\",void 0),c=n([r.Bean(\"menuFactory\")],c),t.StandardMenuFactory=c},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(8),s=o(5),a=o(108),l=function(){function e(){}return e.prototype.execute=function(e){var t=e.rowNode;this.gridOptionsWrapper.isEnableServerSideFilter()?this.filterService.filter(t,!1):this.filterService.filterAccordingToColumnState(t)},e}();n([r.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",s.GridOptionsWrapper)],l.prototype,\"gridOptionsWrapper\",void 0),n([r.Autowired(\"filterService\"),i(\"design:type\",a.FilterService)],l.prototype,\"filterService\",void 0),l=n([r.Bean(\"filterStage\")],l),t.FilterStage=l},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(8),s=o(48),a=function(){function e(){}return e.prototype.filterAccordingToColumnState=function(e){var t=this.filterManager.isAnyFilterPresent();this.filter(e,t)},e.prototype.filter=function(e,t){var o=this;e.childrenAfterGroup.forEach(function(e){e.group&&o.filter(e,t)});var n;t?(n=[],e.childrenAfterGroup.forEach(function(e){e.group?e.childrenAfterFilter.length>0&&n.push(e):o.filterManager.doesRowPassFilter(e)&&n.push(e)})):n=e.childrenAfterGroup,e.childrenAfterFilter=n,this.setAllChildrenCount(e)},e.prototype.setAllChildrenCount=function(e){var t=0;e.childrenAfterFilter.forEach(function(e){e.group?t+=e.allChildrenCount:t++}),e.allChildrenCount=t},e}();n([r.Autowired(\"filterManager\"),i(\"design:type\",s.FilterManager)],a.prototype,\"filterManager\",void 0),a=n([r.Bean(\"filterService\")],a),t.FilterService=a},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(8),s=o(5),a=o(110),l=function(){function e(){}return e.prototype.execute=function(e){this.gridOptionsWrapper.isEnableServerSideSorting()?this.sortService.sort(e.rowNode,null):this.sortService.sortAccordingToColumnsState(e.rowNode)},e}();n([r.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",s.GridOptionsWrapper)],l.prototype,\"gridOptionsWrapper\",void 0),n([r.Autowired(\"sortService\"),i(\"design:type\",a.SortService)],l.prototype,\"sortService\",void 0),l=n([r.Bean(\"sortStage\")],l),t.SortStage=l},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(8),s=o(61),a=o(9),l=o(32),p=function(){function e(){}return e.prototype.sortAccordingToColumnsState=function(e){var t=this.sortController.getSortForRowController();this.sort(e,t)},e.prototype.sort=function(e,t){var o=this;e.childrenAfterFilter.forEach(function(e){e.group&&o.sort(e,t)}),e.childrenAfterSort=e.childrenAfterFilter.slice(0),a._.exists(t)&&t.length>0&&e.childrenAfterSort.sort(this.compareRowNodes.bind(this,t)),this.updateChildIndexes(e)},e.prototype.compareRowNodes=function(e,t,o){for(var n=0,i=e.length;n<i;n++){var r=e[n],s=-1===r.inverter,l=this.valueService.getValue(r.column,t),p=this.valueService.getValue(r.column,o),d=void 0;if(0!==(d=r.column.getColDef().comparator?r.column.getColDef().comparator(l,p,t,o,s):a._.defaultComparator(l,p)))return d*r.inverter}return 0},e.prototype.updateChildIndexes=function(e){a._.missing(e.childrenAfterSort)||e.childrenAfterSort.forEach(function(t,o){t.firstChild=0===o,t.lastChild=o===e.childrenAfterSort.length-1,t.childIndex=o})},e}();n([r.Autowired(\"sortController\"),i(\"design:type\",s.SortController)],p.prototype,\"sortController\",void 0),n([r.Autowired(\"valueService\"),i(\"design:type\",l.ValueService)],p.prototype,\"valueService\",void 0),p=n([r.Bean(\"sortService\")],p),t.SortService=p},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(8),s=o(30),a=o(9),l=o(5),p=o(31),d=o(6),c=o(16),u=function(){function e(){}return e.prototype.execute=function(e){var t=e.rowNode,o=[],n={value:0},i=this.columnController.isPivotMode(),r=i&&t.leafGroup,s=r?[t]:t.childrenAfterSort;return this.resetRowTops(t),this.recursivelyAddToRowsToDisplay(s,o,n,i),o},e.prototype.resetRowTops=function(e){if(e.clearRowTop(),e.group){if(e.childrenAfterGroup)for(var t=0;t<e.childrenAfterGroup.length;t++)this.resetRowTops(e.childrenAfterGroup[t]);e.sibling&&e.sibling.clearRowTop()}},e.prototype.recursivelyAddToRowsToDisplay=function(e,t,o,n){if(!a.Utils.missingOrEmpty(e))for(var i=this.gridOptionsWrapper.isGroupSuppressRow(),r=this.gridOptionsWrapper.isGroupHideOpenParents(),s=0;s<e.length;s++){var l=e[s],p=i&&l.group,d=n&&!l.group,c=r&&l.expanded,u=d||p||c;if(u||this.addRowNodeToRowsToDisplay(l,t,o),l.group&&l.expanded&&(this.recursivelyAddToRowsToDisplay(l.childrenAfterSort,t,o,n),this.gridOptionsWrapper.isGroupIncludeFooter()&&(this.ensureFooterNodeExists(l),this.addRowNodeToRowsToDisplay(l.sibling,t,o))),l.canFlower&&l.expanded){var h=this.createFlowerNode(l);this.addRowNodeToRowsToDisplay(h,t,o)}}},e.prototype.addRowNodeToRowsToDisplay=function(e,t,o){if(t.push(e),a.Utils.missing(e.rowHeight)){var n=this.gridOptionsWrapper.getRowHeightForNode(e);e.setRowHeight(n)}e.setRowTop(o.value),e.setRowIndex(t.length-1),o.value+=e.rowHeight},e.prototype.ensureFooterNodeExists=function(e){if(!a.Utils.exists(e.sibling)){var t=new s.RowNode;this.context.wireBean(t),Object.keys(e).forEach(function(o){t[o]=e[o]}),t.footer=!0,t.rowTop=null,t.oldRowTop=null,a.Utils.exists(t.id)&&(t.id=\"rowGroupFooter_\"+t.id),t.sibling=e,e.sibling=t}},e.prototype.createFlowerNode=function(e){if(a.Utils.exists(e.childFlower))return e.childFlower;var t=new s.RowNode;return this.context.wireBean(t),t.flower=!0,t.parent=e,a.Utils.exists(e.id)&&(t.id=\"flowerNode_\"+e.id),t.data=e.data,t.level=e.level+1,e.childFlower=t,t},e}();n([r.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",l.GridOptionsWrapper)],u.prototype,\"gridOptionsWrapper\",void 0),n([r.Autowired(\"selectionController\"),i(\"design:type\",p.SelectionController)],u.prototype,\"selectionController\",void 0),n([r.Autowired(\"eventService\"),i(\"design:type\",d.EventService)],u.prototype,\"eventService\",void 0),n([r.Autowired(\"context\"),i(\"design:type\",r.Context)],u.prototype,\"context\",void 0),n([r.Autowired(\"columnController\"),i(\"design:type\",c.ColumnController)],u.prototype,\"columnController\",void 0),u=n([r.Bean(\"flattenStage\")],u),t.FlattenStage=u},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(9),a=o(5),l=o(8),p=o(6),d=o(31),c=o(12),u=o(61),h=o(48),g=o(10),f=o(113),y=o(40),v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getRowBounds=function(e){return s.Utils.missing(this.infiniteCache)?null:this.infiniteCache.getRowBounds(e)},t.prototype.init=function(){this.gridOptionsWrapper.isRowModelInfinite()&&(this.addEventListeners(),this.setDatasource(this.gridOptionsWrapper.getDatasource()))},t.prototype.isLastRowFound=function(){return!!this.infiniteCache&&this.infiniteCache.isMaxRowFound()},t.prototype.addEventListeners=function(){this.addDestroyableEventListener(this.eventService,c.Events.EVENT_FILTER_CHANGED,this.onFilterChanged.bind(this)),this.addDestroyableEventListener(this.eventService,c.Events.EVENT_SORT_CHANGED,this.onSortChanged.bind(this))},t.prototype.onFilterChanged=function(){this.gridOptionsWrapper.isEnableServerSideFilter()&&this.reset()},t.prototype.onSortChanged=function(){this.gridOptionsWrapper.isEnableServerSideSorting()&&this.reset()},t.prototype.destroy=function(){e.prototype.destroy.call(this)},t.prototype.getType=function(){return g.Constants.ROW_MODEL_TYPE_INFINITE},t.prototype.setDatasource=function(e){this.datasource=e,e&&(this.checkForDeprecated(),this.reset())},t.prototype.checkForDeprecated=function(){var e=this.datasource;s.Utils.exists(e.maxConcurrentRequests)&&console.error(\"ag-Grid: since version 5.1.x, maxConcurrentRequests is replaced with grid property maxConcurrentDatasourceRequests\"),s.Utils.exists(e.maxPagesInCache)&&console.error(\"ag-Grid: since version 5.1.x, maxPagesInCache is replaced with grid property maxPagesInPaginationCache\"),s.Utils.exists(e.overflowSize)&&console.error(\"ag-Grid: since version 5.1.x, overflowSize is replaced with grid property paginationOverflowSize\"),s.Utils.exists(e.pageSize)&&console.error(\"ag-Grid: since version 5.1.x, pageSize is replaced with grid property infinitePageSize\")},t.prototype.isEmpty=function(){return s.Utils.missing(this.infiniteCache)},t.prototype.isRowsToRender=function(){return s.Utils.exists(this.infiniteCache)},t.prototype.reset=function(){if(!s.Utils.missing(this.datasource)){s.Utils.exists(this.gridOptionsWrapper.getRowNodeIdFunc())||this.selectionController.reset(),this.resetCache(),this.eventService.dispatchEvent(c.Events.EVENT_MODEL_UPDATED)}},t.prototype.resetCache=function(){var e={datasource:this.datasource,filterModel:this.filterManager.getFilterModel(),sortModel:this.sortController.getSortModel(),maxConcurrentRequests:this.gridOptionsWrapper.getMaxConcurrentDatasourceRequests(),overflowSize:this.gridOptionsWrapper.getPaginationOverflowSize(),initialRowCount:this.gridOptionsWrapper.getInfiniteInitialRowCount(),maxBlocksInCache:this.gridOptionsWrapper.getMaxPagesInCache(),pageSize:this.gridOptionsWrapper.getInfiniteBlockSize(),rowHeight:this.gridOptionsWrapper.getRowHeightAsNumber(),lastAccessedSequence:new s.NumberSequence};e.maxConcurrentRequests>=1||(e.maxConcurrentRequests=2),e.pageSize>=1||(e.pageSize=100),e.initialRowCount>=1||(e.initialRowCount=0),e.overflowSize>=1||(e.overflowSize=1),this.infiniteCache&&this.infiniteCache.destroy(),this.infiniteCache=new f.InfiniteCache(e),this.context.wireBean(this.infiniteCache)},t.prototype.getRow=function(e){return this.infiniteCache?this.infiniteCache.getRow(e):null},t.prototype.forEachNode=function(e){this.infiniteCache&&this.infiniteCache.forEachNode(e)},t.prototype.getCurrentPageHeight=function(){return this.infiniteCache?this.infiniteCache.getCurrentPageHeight():0},t.prototype.getRowIndexAtPixel=function(e){return this.infiniteCache?this.infiniteCache.getRowIndexAtPixel(e):-1},t.prototype.getPageFirstRow=function(){return 0},t.prototype.getPageLastRow=function(){return this.infiniteCache?this.infiniteCache.getRowCount()-1:0},t.prototype.getRowCount=function(){return this.infiniteCache?this.infiniteCache.getRowCount():0},t.prototype.insertItemsAtIndex=function(e,t,o){this.infiniteCache&&this.infiniteCache.insertItemsAtIndex(e,t)},t.prototype.removeItems=function(e,t){console.log(\"ag-Grid: it is not possible to removeItems when using virtual pagination. Instead use the API to refresh the cache\")},t.prototype.addItems=function(e,t){console.log(\"ag-Grid: it is not possible to add items when using virtual pagination as the grid does not know that last index of your data - instead either use insertItemsAtIndex OR refresh the cache.\")},t.prototype.isRowPresent=function(e){return console.log(\"ag-Grid: not supported.\"),!1},t.prototype.refreshCache=function(){this.infiniteCache&&this.infiniteCache.refreshCache()},t.prototype.purgeCache=function(){this.infiniteCache&&this.infiniteCache.purgeCache()},t.prototype.getVirtualRowCount=function(){return this.infiniteCache?this.infiniteCache.getVirtualRowCount():null},t.prototype.isMaxRowFound=function(){if(this.infiniteCache)return this.infiniteCache.isMaxRowFound()},t.prototype.setVirtualRowCount=function(e,t){this.infiniteCache&&this.infiniteCache.setVirtualRowCount(e,t)},t.prototype.getPageState=function(){return this.infiniteCache?this.infiniteCache.getPageState():null},t}(y.BeanStub);i([l.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",a.GridOptionsWrapper)],v.prototype,\"gridOptionsWrapper\",void 0),i([l.Autowired(\"filterManager\"),r(\"design:type\",h.FilterManager)],v.prototype,\"filterManager\",void 0),i([l.Autowired(\"sortController\"),r(\"design:type\",u.SortController)],v.prototype,\"sortController\",void 0),i([l.Autowired(\"selectionController\"),r(\"design:type\",d.SelectionController)],v.prototype,\"selectionController\",void 0),i([l.Autowired(\"eventService\"),r(\"design:type\",p.EventService)],v.prototype,\"eventService\",void 0),i([l.Autowired(\"context\"),r(\"design:type\",l.Context)],v.prototype,\"context\",void 0),i([l.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],v.prototype,\"init\",null),i([l.PreDestroy,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],v.prototype,\"destroy\",null),v=i([l.Bean(\"rowModel\")],v),t.InfiniteRowModel=v},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(o,n){t(o,n,e)}};Object.defineProperty(t,\"__esModule\",{value:!0});var a=o(9),l=o(8),p=o(6),d=o(12),c=o(7),u=o(114),h=function(){function e(e){this.maxRowFound=!1,this.active=!0,this.virtualRowCount=e.initialRowCount,this.rowNodeCacheParams=e}return e.prototype.isActive=function(){return this.active},e.prototype.getVirtualRowCount=function(){return this.virtualRowCount},e.prototype.hack_setVirtualRowCount=function(e){this.virtualRowCount=e},e.prototype.isMaxRowFound=function(){return this.maxRowFound},e.prototype.destroy=function(){this.active=!1},e.prototype.checkVirtualRowCount=function(e,t){if(\"number\"==typeof t&&t>=0)this.virtualRowCount=t,this.maxRowFound=!0,this.dispatchModelUpdated();else if(!this.maxRowFound){var o=(e.getPageNumber()+1)*this.rowNodeCacheParams.pageSize,n=o+this.rowNodeCacheParams.overflowSize;this.virtualRowCount<n&&(this.virtualRowCount=n,this.dispatchModelUpdated())}},e.prototype.setVirtualRowCount=function(e,t){this.virtualRowCount=e,a.Utils.exists(t)&&(this.maxRowFound=t),this.maxRowFound||this.virtualRowCount%this.rowNodeCacheParams.pageSize==0&&this.virtualRowCount++,this.dispatchModelUpdated()},e}();t.RowNodeCache=h;var g=function(e){function t(t){var o=e.call(this,t)||this;return o.blocks={},o.activePageLoadsCount=0,o.blocksCount=0,o.cacheParams=t,o}return n(t,e),t.prototype.getRowBounds=function(e){return{rowHeight:this.cacheParams.rowHeight,rowTop:this.cacheParams.rowHeight*e}},t.prototype.setBeans=function(e){this.logger=e.create(\"VirtualPageCache\")},t.prototype.init=function(){this.getRow(0)},t.prototype.getCurrentPageHeight=function(){return this.getVirtualRowCount()*this.cacheParams.rowHeight},t.prototype.forEachNode=function(e){var t=this,o=0;a.Utils.iterateObject(this.blocks,function(n,i){for(var r=i.getStartRow(),s=i.getEndRow(),a=r;a<s;a++)if(a<t.getVirtualRowCount()){var l=i.getRow(a);e(l,o),o++}})},t.prototype.getRowIndexAtPixel=function(e){if(0!==this.cacheParams.rowHeight){var t=Math.floor(e/this.cacheParams.rowHeight);return t>=this.getVirtualRowCount()?this.getVirtualRowCount()-1:t}return 0},t.prototype.moveItemsDown=function(e,t,o){for(var n=e.getStartRow(),i=e.getEndRow(),r=t+o,s=i-1;s>=n;s--)if(!(s<r)){var a=s-o,l=this.getRow(a,!0);l?e.setRowNode(s,l):(e.setBlankRowNode(s),e.setDirty())}},t.prototype.insertItems=function(e,t,o){for(var n=e.getStartRow(),i=e.getEndRow(),r=[],s=0;s<o.length;s++){var a=t+s;if(a>=n&&a<i){var l=o[s],p=e.setNewData(a,l);r.push(p)}}return r},t.prototype.insertItemsAtIndex=function(e,t){var o=this,n=Object.keys(this.blocks).map(function(e){return parseInt(e)}).sort().reverse(),i=[];n.forEach(function(n){var r=o.blocks[n];r.getEndRow()<=e||(o.moveItemsDown(r,e,t.length),o.insertItems(r,e,t).forEach(function(e){return i.push(e)}))}),this.isMaxRowFound()&&this.hack_setVirtualRowCount(this.getVirtualRowCount()+t.length),this.dispatchModelUpdated(),this.eventService.dispatchEvent(d.Events.EVENT_ITEMS_ADDED,i)},t.prototype.getRowCount=function(){return this.getVirtualRowCount()},t.prototype.onPageLoaded=function(e){this.isActive()&&(this.logger.log(\"onPageLoaded: page = \"+e.page.getPageNumber()+\", lastRow = \"+e.lastRow),this.activePageLoadsCount--,this.checkBlockToLoad(),e.success&&this.checkVirtualRowCount(e.page,e.lastRow))},t.prototype.getRow=function(e,t){void 0===t&&(t=!1);var o=Math.floor(e/this.cacheParams.pageSize),n=this.blocks[o];if(!n){if(t)return null;n=this.createBlock(o)}return n.getRow(e)},t.prototype.createBlock=function(e){var t=new u.InfiniteBlock(e,this.cacheParams);if(this.context.wireBean(t),t.addEventListener(u.InfiniteBlock.EVENT_LOAD_COMPLETE,this.onPageLoaded.bind(this)),this.blocks[e]=t,this.blocksCount++,a.Utils.exists(this.cacheParams.maxBlocksInCache)&&this.blocksCount>this.cacheParams.maxBlocksInCache){var o=this.findLeastRecentlyUsedPage(t);this.removeBlockFromCache(o)}return this.checkBlockToLoad(),t},t.prototype.removeBlockFromCache=function(e){e&&(delete this.blocks[e.getPageNumber()],this.blocksCount--)},t.prototype.printCacheStatus=function(){this.logger.log(\"checkPageToLoad: activePageLoadsCount = \"+this.activePageLoadsCount+\", pages = \"+JSON.stringify(this.getPageState()))},t.prototype.checkBlockToLoad=function(){if(this.printCacheStatus(),this.activePageLoadsCount>=this.cacheParams.maxConcurrentRequests)return void this.logger.log(\"checkPageToLoad: max loads exceeded\");var e=null;a.Utils.iterateObject(this.blocks,function(t,o){o.getState()===u.InfiniteBlock.STATE_DIRTY&&(e=o)}),e?(e.load(),this.activePageLoadsCount++,this.logger.log(\"checkPageToLoad: loading page \"+e.getPageNumber()),this.printCacheStatus()):this.logger.log(\"checkPageToLoad: no pages to load\")},t.prototype.findLeastRecentlyUsedPage=function(e){var t=null;return a.Utils.iterateObject(this.blocks,function(o,n){n!==e&&(a.Utils.missing(t)||n.getLastAccessed()<t.getLastAccessed())&&(t=n)}),t},t.prototype.dispatchModelUpdated=function(){this.isActive()&&this.eventService.dispatchEvent(d.Events.EVENT_MODEL_UPDATED)},t.prototype.getPageState=function(){var e=[];return a.Utils.iterateObject(this.blocks,function(t,o){e.push({pageNumber:t,startRow:o.getStartRow(),endRow:o.getEndRow(),pageStatus:o.getState()})}),e},t.prototype.refreshCache=function(){a.Utils.iterateObject(this.blocks,function(e,t){t.setDirty()}),this.checkBlockToLoad()},t.prototype.purgeCache=function(){var e=this;a.Utils.values(this.blocks).forEach(function(t){return e.removeBlockFromCache(t)}),this.dispatchModelUpdated()},t}(h);i([l.Autowired(\"eventService\"),r(\"design:type\",p.EventService)],g.prototype,\"eventService\",void 0),i([l.Autowired(\"context\"),r(\"design:type\",l.Context)],g.prototype,\"context\",void 0),i([s(0,l.Qualifier(\"loggerFactory\")),r(\"design:type\",Function),r(\"design:paramtypes\",[c.LoggerFactory]),r(\"design:returntype\",void 0)],g.prototype,\"setBeans\",null),i([l.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],g.prototype,\"init\",null),t.InfiniteCache=g},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var s=o(9),a=o(5),l=o(30),p=o(8),d=o(6),c=function(){function e(t,o){this.version=0,this.state=e.STATE_DIRTY,this.localEventService=new d.EventService,this.rowNodeCacheParams=o,this.blockNumber=t,this.startRow=t*o.pageSize,this.endRow=this.startRow+o.pageSize}return e.prototype.addEventListener=function(e,t){this.localEventService.addEventListener(e,t)},e.prototype.removeEventListener=function(e,t){this.localEventService.removeEventListener(e,t)},e.prototype.getVersion=function(){return this.version},e.prototype.getLastAccessed=function(){return this.lastAccessed},e.prototype.getRow=function(e){this.lastAccessed=this.rowNodeCacheParams.lastAccessedSequence.next();var t=e-this.startRow;return this.rowNodes[t]},e.prototype.init=function(e){this.beans=e,this.createRowNodes()},e.prototype.getStartRow=function(){return this.startRow},e.prototype.getEndRow=function(){return this.endRow},e.prototype.getPageNumber=function(){return this.blockNumber},e.prototype.setDirty=function(){this.version++,this.state=e.STATE_DIRTY},e.prototype.setDirtyAndPurge=function(){this.setDirty(),this.rowNodes.forEach(function(e){e.setData(null)})},e.prototype.getState=function(){return this.state},e.prototype.setRowNode=function(e,t){var o=e-this.startRow;this.rowNodes[o]=t,t.setRowIndex(e),this.setTopOnRowNode(t,e)},e.prototype.setBlankRowNode=function(e){var t=e-this.startRow,o=this.createBlankRowNode(e);return this.rowNodes[t]=o,o},e.prototype.setNewData=function(e,t){var o=this.setBlankRowNode(e);return o.setDataAndId(t,e.toString()),o},e.prototype.createBlankRowNode=function(e){var t=new l.RowNode;return this.beans.context.wireBean(t),t.setRowHeight(this.rowNodeCacheParams.rowHeight),t.setRowIndex(e),this.setTopOnRowNode(t,e),t},e.prototype.createRowNodes=function(){this.rowNodes=[];for(var e=0;e<this.rowNodeCacheParams.pageSize;e++){var t=this.startRow+e,o=this.createBlankRowNode(t);this.rowNodes.push(o)}},e.prototype.load=function(){this.state=e.STATE_LOADING,this.loadFromDatasource()},e.prototype.pageLoadFailed=function(){this.state=e.STATE_FAILED;var t={success:!0,page:this};this.localEventService.dispatchEvent(e.EVENT_LOAD_COMPLETE,t)},e.prototype.populateWithRowData=function(e){var t=this;this.rowNodes.forEach(function(o,n){var i=e[n];if(s.Utils.exists(i)){var r=t.startRow+n;o.setDataAndId(i,r.toString())}else o.setDataAndId(void 0,void 0)})},e.prototype.pageLoaded=function(t,o,n){t===this.version&&(this.state=e.STATE_LOADED,this.populateWithRowData(o)),n=s.Utils.cleanNumber(n);var i={success:!0,page:this,lastRow:n};this.localEventService.dispatchEvent(e.EVENT_LOAD_COMPLETE,i)},e}();c.EVENT_LOAD_COMPLETE=\"loadComplete\",c.STATE_DIRTY=\"dirty\",c.STATE_LOADING=\"loading\",c.STATE_LOADED=\"loaded\",c.STATE_FAILED=\"failed\",t.RowNodeBlock=c;var u=function(e){function t(t,o){var n=e.call(this,t,o)||this;return n.cacheParams=o,n}return n(t,e),t.prototype.init=function(){e.prototype.init.call(this,{context:this.context})},t.prototype.setTopOnRowNode=function(e,t){e.rowTop=this.cacheParams.rowHeight*t},t.prototype.loadFromDatasource=function(){var e=this,t={startRow:this.getStartRow(),endRow:this.getEndRow(),successCallback:this.pageLoaded.bind(this,this.getVersion()),failCallback:this.pageLoadFailed.bind(this),sortModel:this.cacheParams.sortModel,filterModel:this.cacheParams.filterModel,context:this.gridOptionsWrapper.getContext()};if(s.Utils.missing(this.cacheParams.datasource.getRows))return void console.warn(\"ag-Grid: datasource is missing getRows method\");s.Utils.getFunctionParameters(this.cacheParams.datasource.getRows).length>1&&(console.warn(\"ag-grid: It looks like your paging datasource is of the old type, taking more than one parameter.\"),console.warn(\"ag-grid: From ag-grid 1.9.0, now the getRows takes one parameter. See the documentation for details.\")),setTimeout(function(){e.cacheParams.datasource.getRows(t)},0)},t}(c);i([p.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",a.GridOptionsWrapper)],u.prototype,\"gridOptionsWrapper\",void 0),i([p.Autowired(\"context\"),r(\"design:type\",p.Context)],u.prototype,\"context\",void 0),i([p.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],u.prototype,\"init\",null),t.InfiniteBlock=u},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r,s=o(9),a=o(10),l=o(5),p=o(16),d=o(48),c=o(30),u=o(6),h=o(12),g=o(8),f=o(31),y=o(116);!function(e){e[e.Normal=0]=\"Normal\",e[e.AfterFilter=1]=\"AfterFilter\",e[e.AfterFilterAndSort=2]=\"AfterFilterAndSort\",e[e.PivotNodes=3]=\"PivotNodes\"}(r||(r={}));var v=function(){function e(){}return e.prototype.init=function(){this.eventService.addModalPriorityEventListener(h.Events.EVENT_COLUMN_EVERYTHING_CHANGED,this.refreshModel.bind(this,{step:a.Constants.STEP_EVERYTHING})),this.eventService.addModalPriorityEventListener(h.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,this.refreshModel.bind(this,{step:a.Constants.STEP_EVERYTHING})),this.eventService.addModalPriorityEventListener(h.Events.EVENT_COLUMN_VALUE_CHANGED,this.onValueChanged.bind(this)),this.eventService.addModalPriorityEventListener(h.Events.EVENT_COLUMN_PIVOT_CHANGED,this.refreshModel.bind(this,{step:a.Constants.STEP_PIVOT})),this.eventService.addModalPriorityEventListener(h.Events.EVENT_ROW_GROUP_OPENED,this.onRowGroupOpened.bind(this)),this.eventService.addModalPriorityEventListener(h.Events.EVENT_FILTER_CHANGED,this.onFilterChanged.bind(this)),this.eventService.addModalPriorityEventListener(h.Events.EVENT_SORT_CHANGED,this.onSortChanged.bind(this)),this.eventService.addModalPriorityEventListener(h.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED,this.refreshModel.bind(this,{step:a.Constants.STEP_PIVOT})),this.rootNode=new c.RowNode,this.nodeManager=new y.InMemoryNodeManager(this.rootNode,this.gridOptionsWrapper,this.context,this.eventService),this.context.wireBean(this.rootNode),this.gridOptionsWrapper.isRowModelDefault()&&this.setRowData(this.gridOptionsWrapper.getRowData(),this.columnController.isReady())},e.prototype.isLastRowFound=function(){return!0},e.prototype.getRowCount=function(){return this.rowsToDisplay?this.rowsToDisplay.length:0},e.prototype.getRowBounds=function(e){if(s.Utils.missing(this.rowsToDisplay))return null;var t=this.rowsToDisplay[e];return t?{rowTop:t.rowTop,rowHeight:t.rowHeight}:null},e.prototype.onRowGroupOpened=function(){var e=this.gridOptionsWrapper.isAnimateRows();this.refreshModel({step:a.Constants.STEP_MAP,keepRenderedRows:!0,animate:e})},e.prototype.onFilterChanged=function(){var e=this.gridOptionsWrapper.isAnimateRows();this.refreshModel({step:a.Constants.STEP_FILTER,keepRenderedRows:!0,animate:e})},e.prototype.onSortChanged=function(){if(!this.gridOptionsWrapper.isEnableServerSideSorting()){var e=this.gridOptionsWrapper.isAnimateRows();this.refreshModel({step:a.Constants.STEP_SORT,keepRenderedRows:!0,animate:e,keepEditingRows:!0})}},e.prototype.getType=function(){return a.Constants.ROW_MODEL_TYPE_NORMAL},e.prototype.onValueChanged=function(){this.columnController.isPivotActive()?this.refreshModel({step:a.Constants.STEP_PIVOT}):this.refreshModel({step:a.Constants.STEP_AGGREGATE})},e.prototype.refreshModel=function(e){var t=this;switch(e.step){case a.Constants.STEP_EVERYTHING:this.doRowGrouping(e.groupState,e.newRowNodes);case a.Constants.STEP_FILTER:this.doFilter();case a.Constants.STEP_PIVOT:this.doPivot();case a.Constants.STEP_AGGREGATE:this.doAggregate();case a.Constants.STEP_SORT:this.doSort();case a.Constants.STEP_MAP:this.doRowsToDisplay()}var o={animate:e.animate,keepRenderedRows:e.keepRenderedRows,newData:e.newData,newPage:!1};this.eventService.dispatchEvent(h.Events.EVENT_MODEL_UPDATED,o),this.$scope&&setTimeout(function(){t.$scope.$apply()},0)},e.prototype.isEmpty=function(){var e;return e=s.Utils.exists(this.gridOptionsWrapper.getNodeChildDetailsFunc())?s.Utils.missing(this.rootNode.childrenAfterGroup)||0===this.rootNode.childrenAfterGroup.length:s.Utils.missing(this.rootNode.allLeafChildren)||0===this.rootNode.allLeafChildren.length,s.Utils.missing(this.rootNode)||e||!this.columnController.isReady()},e.prototype.isRowsToRender=function(){return s.Utils.exists(this.rowsToDisplay)&&this.rowsToDisplay.length>0},e.prototype.setDatasource=function(e){console.error(\"ag-Grid: should never call setDatasource on inMemoryRowController\")},e.prototype.getTopLevelNodes=function(){return this.rootNode?this.rootNode.childrenAfterGroup:null},e.prototype.getRootNode=function(){return this.rootNode},e.prototype.getRow=function(e){return this.rowsToDisplay[e]},e.prototype.isRowPresent=function(e){return this.rowsToDisplay.indexOf(e)>=0},e.prototype.getVirtualRowCount=function(){return console.warn(\"ag-Grid: rowModel.getVirtualRowCount() is not longer a function, use rowModel.getRowCount() instead\"),this.getPageLastRow()},e.prototype.getPageFirstRow=function(){return 0},e.prototype.getPageLastRow=function(){return this.rowsToDisplay?this.rowsToDisplay.length-1:0},e.prototype.getRowIndexAtPixel=function(e){if(this.isEmpty())return-1;var t=0,o=this.rowsToDisplay.length-1;if(e<=0)return 0;if(this.rowsToDisplay[this.rowsToDisplay.length-1].rowTop<=e)return this.rowsToDisplay.length-1;for(;;){var n=Math.floor((t+o)/2),i=this.rowsToDisplay[n];if(this.isRowInPixel(i,e))return n;i.rowTop<e?t=n+1:i.rowTop>e&&(o=n-1)}},e.prototype.isRowInPixel=function(e,t){var o=e.rowTop,n=e.rowTop+e.rowHeight;return o<=t&&n>t},e.prototype.getCurrentPageHeight=function(){if(this.rowsToDisplay&&this.rowsToDisplay.length>0){var e=this.rowsToDisplay[this.rowsToDisplay.length-1];return e.rowTop+e.rowHeight}return 0},e.prototype.forEachLeafNode=function(e){this.rootNode.allLeafChildren&&this.rootNode.allLeafChildren.forEach(function(t,o){return e(t,o)})},e.prototype.forEachNode=function(e){this.recursivelyWalkNodesAndCallback(this.rootNode.childrenAfterGroup,e,r.Normal,0)},e.prototype.forEachNodeAfterFilter=function(e){this.recursivelyWalkNodesAndCallback(this.rootNode.childrenAfterFilter,e,r.AfterFilter,0)},e.prototype.forEachNodeAfterFilterAndSort=function(e){this.recursivelyWalkNodesAndCallback(this.rootNode.childrenAfterSort,e,r.AfterFilterAndSort,0)},e.prototype.forEachPivotNode=function(e){this.recursivelyWalkNodesAndCallback([this.rootNode],e,r.PivotNodes,0)},e.prototype.recursivelyWalkNodesAndCallback=function(e,t,o,n){if(e)for(var i=0;i<e.length;i++){var s=e[i];if(t(s,n++),s.group){var a;switch(o){case r.Normal:a=s.childrenAfterGroup;break;case r.AfterFilter:a=s.childrenAfterFilter;break;case r.AfterFilterAndSort:a=s.childrenAfterSort;break;case r.PivotNodes:a=s.leafGroup?null:s.childrenAfterSort}a&&(n=this.recursivelyWalkNodesAndCallback(a,t,o,n))}}return n},e.prototype.doAggregate=function(){this.aggregationStage&&this.aggregationStage.execute({rowNode:this.rootNode})},e.prototype.expandOrCollapseAll=function(e){function t(o){o&&o.forEach(function(o){o.group&&(o.expanded=e,t(o.childrenAfterGroup))})}this.rootNode&&t(this.rootNode.childrenAfterGroup),this.refreshModel({step:a.Constants.STEP_MAP})},e.prototype.doSort=function(){this.sortStage.execute({rowNode:this.rootNode})},e.prototype.doRowGrouping=function(e,t){s.Utils.exists(this.gridOptionsWrapper.getNodeChildDetailsFunc())||(this.groupStage?(t?this.groupStage.execute({rowNode:this.rootNode,newRowNodes:t}):(this.selectionController.removeGroupsFromSelection(),this.groupStage.execute({rowNode:this.rootNode}),this.restoreGroupState(e)),this.gridOptionsWrapper.isGroupSelectsChildren()&&this.selectionController.updateGroupsFromChildrenSelections()):this.rootNode.childrenAfterGroup=this.rootNode.allLeafChildren)},e.prototype.restoreGroupState=function(e){e&&s.Utils.traverseNodesWithKey(this.rootNode.childrenAfterGroup,function(t,o){\"boolean\"==typeof e[o]&&(t.expanded=e[o])})},e.prototype.doFilter=function(){this.filterStage.execute({rowNode:this.rootNode})},e.prototype.doPivot=function(){this.pivotStage&&this.pivotStage.execute({rowNode:this.rootNode})},e.prototype.getGroupState=function(){if(!this.rootNode.childrenAfterGroup||!this.gridOptionsWrapper.isRememberGroupStateWhenNewData())return null;var e={};return s.Utils.traverseNodesWithKey(this.rootNode.childrenAfterGroup,function(t,o){return e[o]=t.expanded}),e},e.prototype.setRowData=function(e,t,o){var n=this.getGroupState();this.nodeManager.setRowData(e,o),this.eventService.dispatchEvent(h.Events.EVENT_ROW_DATA_CHANGED),t&&this.refreshModel({step:a.Constants.STEP_EVERYTHING,groupState:n,newData:!0})},e.prototype.doRowsToDisplay=function(){this.rowsToDisplay=this.flattenStage.execute({rowNode:this.rootNode})},e.prototype.insertItemsAtIndex=function(e,t,o){var n=this.getGroupState(),i=this.nodeManager.insertItemsAtIndex(e,t);o||this.refreshAndFireEvent(h.Events.EVENT_ITEMS_ADDED,i,n)},e.prototype.onRowHeightChanged=function(){this.refreshModel({step:a.Constants.STEP_MAP,keepRenderedRows:!0,keepEditingRows:!0})},e.prototype.resetRowHeights=function(){this.forEachNode(function(e){return e.setRowHeight(null)}),this.onRowHeightChanged()},e.prototype.removeItems=function(e,t){var o=this.getGroupState(),n=this.nodeManager.removeItems(e);t||this.refreshAndFireEvent(h.Events.EVENT_ITEMS_REMOVED,n,o)},e.prototype.addItems=function(e,t){var o=this.getGroupState(),n=this.nodeManager.addItems(e);t||this.refreshAndFireEvent(h.Events.EVENT_ITEMS_ADDED,n,o)},e.prototype.refreshAndFireEvent=function(e,t,o){t&&(this.refreshModel({step:a.Constants.STEP_EVERYTHING,groupState:o}),this.eventService.dispatchEvent(e,{rowNodes:t}))},e}();n([g.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",l.GridOptionsWrapper)],v.prototype,\"gridOptionsWrapper\",void 0),n([g.Autowired(\"columnController\"),i(\"design:type\",p.ColumnController)],v.prototype,\"columnController\",void 0),n([g.Autowired(\"filterManager\"),i(\"design:type\",d.FilterManager)],v.prototype,\"filterManager\",void 0),n([g.Autowired(\"$scope\"),i(\"design:type\",Object)],v.prototype,\"$scope\",void 0),n([g.Autowired(\"selectionController\"),i(\"design:type\",f.SelectionController)],v.prototype,\"selectionController\",void 0),n([g.Autowired(\"eventService\"),i(\"design:type\",u.EventService)],v.prototype,\"eventService\",void 0),n([g.Autowired(\"context\"),i(\"design:type\",g.Context)],v.prototype,\"context\",void 0),n([g.Autowired(\"filterStage\"),i(\"design:type\",Object)],v.prototype,\"filterStage\",void 0),n([g.Autowired(\"sortStage\"),i(\"design:type\",Object)],v.prototype,\"sortStage\",void 0),n([g.Autowired(\"flattenStage\"),i(\"design:type\",Object)],v.prototype,\"flattenStage\",void 0),n([g.Optional(\"groupStage\"),i(\"design:type\",Object)],v.prototype,\"groupStage\",void 0),n([g.Optional(\"aggregationStage\"),i(\"design:type\",Object)],v.prototype,\"aggregationStage\",void 0),n([g.Optional(\"pivotStage\"),i(\"design:type\",Object)],v.prototype,\"pivotStage\",void 0),n([g.PostConstruct,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],v.prototype,\"init\",null),v=n([g.Bean(\"rowModel\")],v),t.InMemoryRowModel=v},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var n=o(30),i=o(9),r=function(){function e(e,t,o,n){this.nextId=0,this.rootNode=e,this.gridOptionsWrapper=t,this.context=o,this.eventService=n,this.rootNode.group=!0,this.rootNode.level=-1,this.rootNode.allLeafChildren=[],this.rootNode.childrenAfterGroup=[],this.rootNode.childrenAfterSort=[],this.rootNode.childrenAfterFilter=[]}return e.prototype.setRowData=function(t,o){if(this.rootNode.childrenAfterFilter=null,this.rootNode.childrenAfterGroup=null,this.rootNode.childrenAfterSort=null,this.rootNode.childrenMapped=null,this.nextId=i.Utils.exists(o)?o:0,!t)return this.rootNode.allLeafChildren=[],void(this.rootNode.childrenAfterGroup=[]);this.getNodeChildDetails=this.gridOptionsWrapper.getNodeChildDetailsFunc(),this.suppressParentsInRowNodes=this.gridOptionsWrapper.isSuppressParentsInRowNodes(),this.doesDataFlower=this.gridOptionsWrapper.getDoesDataFlowerFunc();var n=i.Utils.exists(this.getNodeChildDetails),r=this.recursiveFunction(t,null,e.TOP_LEVEL);n?(this.rootNode.childrenAfterGroup=r,this.setLeafChildren(this.rootNode)):this.rootNode.allLeafChildren=r},e.prototype.recursiveFunction=function(e,t,o){var n=this;if(\"string\"==typeof e)return void console.warn(\"ag-Grid: rowData must be an array, however you passed in a string. If you are loading JSON, make sure you convert the JSON string to JavaScript objects first\");var i=[];return e.forEach(function(e){var r=n.createNode(e,t,o),s=n.getNodeChildDetails?n.getNodeChildDetails(e):null;s&&s.group&&(r.group=!0,r.childrenAfterGroup=n.recursiveFunction(s.children,r,o+1),r.expanded=!0===s.expanded,r.field=s.field,r.key=s.key,n.setLeafChildren(r)),i.push(r)}),i},e.prototype.createNode=function(e,t,o){var i=new n.RowNode;this.context.wireBean(i);var r=this.getNodeChildDetails?this.getNodeChildDetails(e):null;return r&&r.group?(i.group=!0,i.childrenAfterGroup=this.recursiveFunction(r.children,i,o+1),i.expanded=!0===r.expanded,i.field=r.field,i.key=r.key,i.canFlower=!1,this.setLeafChildren(i)):(i.group=!1,i.canFlower=!!this.doesDataFlower&&this.doesDataFlower(e),i.canFlower&&(i.expanded=this.isExpanded(o))),t&&!this.suppressParentsInRowNodes&&(i.parent=t),i.level=o,i.setDataAndId(e,this.nextId.toString()),this.nextId++,i},e.prototype.isExpanded=function(e){var t=this.gridOptionsWrapper.getGroupDefaultExpanded();return-1===t||e<t},e.prototype.setLeafChildren=function(e){e.allLeafChildren=[],e.childrenAfterGroup&&e.childrenAfterGroup.forEach(function(t){t.group?t.allLeafChildren&&t.allLeafChildren.forEach(function(t){return e.allLeafChildren.push(t)}):e.allLeafChildren.push(t)})},e.prototype.insertItemsAtIndex=function(t,o){if(this.isRowsAlreadyGrouped())return null;var n=this.rootNode.allLeafChildren;if(t>n.length)return void console.warn(\"ag-Grid: invalid index \"+t+\", max index is \"+n.length);for(var r=[],s=o.length-1;s>=0;s--){var a=o[s],l=this.createNode(a,null,e.TOP_LEVEL);i.Utils.insertIntoArray(n,l,t),r.push(l)}return r.length>0?r:null},e.prototype.removeItems=function(e){if(!this.isRowsAlreadyGrouped()){var t=this.rootNode.allLeafChildren,o=[];return e.forEach(function(e){var n=t.indexOf(e);n>=0&&(e.setSelected(!1),t.splice(n,1)),o.push(e)}),o.length>0?o:null}},e.prototype.addItems=function(e){var t=this.rootNode.allLeafChildren;return this.insertItemsAtIndex(t.length,e)},e.prototype.isRowsAlreadyGrouped=function(){return!!i.Utils.exists(this.gridOptionsWrapper.getNodeChildDetailsFunc())&&(console.warn(\"ag-Grid: adding and removing rows is not supported when using nodeChildDetailsFunc, ie it is not supported if providing groups\"),!0)},e}();r.TOP_LEVEL=0,t.InMemoryNodeManager=r},function(e,t){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var o=function(){function e(){}return e.prototype.dateComponent=function(e){return e.dateComponent},e.prototype.colDefFloatingCellRenderer=function(e){return e.floatingCellRenderer},e.prototype.colDefCellRenderer=function(e){return e.cellRenderer},e.prototype.colDefCellEditor=function(e){return e.cellEditor},e.prototype.colDefFilter=function(e){return e.filter},e.prototype.gridOptionsFullWidthCellRenderer=function(e){return e.fullWidthCellRenderer},e.prototype.gridOptionsGroupRowRenderer=function(e){return e.groupRowRenderer},e.prototype.gridOptionsGroupRowInnerRenderer=function(e){return e.groupRowInnerRenderer},e.prototype.setTimeout=function(e,t){setTimeout(e,t)},e}();t.BaseFrameworkFactory=o},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s};Object.defineProperty(t,\"__esModule\",{value:!0});var i=o(8),r=\"\\r\\n\",s=function(){function e(){}return e.prototype.createXml=function(e,t){var o=this,n=\"\";e.properties&&(e.properties.prefixedAttributes&&e.properties.prefixedAttributes.forEach(function(e){Object.keys(e.map).forEach(function(i){n+=o.returnAttributeIfPopulated(e.prefix+i,e.map[i],t)})}),e.properties.rawMap&&Object.keys(e.properties.rawMap).forEach(function(i){n+=o.returnAttributeIfPopulated(i,e.properties.rawMap[i],t)}));var i=\"<\"+e.name+n;return e.children||e.textNode?e.textNode?i+\">\"+e.textNode+\"</\"+e.name+\">\"+r:(i+=\">\"+r,e.children.forEach(function(e){i+=o.createXml(e,t)}),i+\"</\"+e.name+\">\"+r):i+\"/>\"+r},e.prototype.returnAttributeIfPopulated=function(e,t,o){if(!t)return\"\";var n=t;return\"boolean\"==typeof t&&o&&(n=o(t)),n='\"'+n+'\"',\" \"+e+\"=\"+n},e}();s=n([i.Bean(\"xmlFactory\")],s),t.XmlFactory=s},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(30),s=o(116),a=o(5),l=o(6),p=o(8),d=function(){function e(){}return e.prototype.create=function(e){var t=new r.RowNode,o=new s.InMemoryNodeManager(t,this.gridOptionsWrapper,this.context,this.eventService);return this.context.wireBean(t),o.setRowData(e),t},e}();n([p.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",a.GridOptionsWrapper)],d.prototype,\"gridOptionsWrapper\",void 0),n([p.Autowired(\"eventService\"),i(\"design:type\",l.EventService)],d.prototype,\"eventService\",void 0),n([p.Autowired(\"context\"),i(\"design:type\",p.Context)],d.prototype,\"context\",void 0),d=n([p.Bean(\"rowNodeFactory\")],d),t.RowNodeFactory=d},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";function n(e){e.module(\"agGrid\",[]).directive(\"agGrid\",function(){return{restrict:\"A\",controller:[\"$element\",\"$scope\",\"$compile\",\"$attrs\",i],scope:!0}})}function i(e,t,o,n){var i,s,a=n.agGrid;if(s=a+\".quickFilterText\",!(i=t.$eval(a)))return void console.warn(\"WARNING - grid options for ag-Grid not found. Please ensure the attribute ag-grid points to a valid object on the scope\");var l=e[0],p={$scope:t,$compile:o,quickFilterOnScope:s},d=new r.Grid(l,i,p);t.$on(\"$destroy\",function(){d.destroy()})}Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(4);t.initialiseAgGridWithAngular1=n},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";function n(){if(!a){a=!0,\"undefined\"!=typeof document&&document.registerElement||console.error(\"ag-Grid: unable to find document.registerElement() function, unable to initialise ag-Grid as a Web Component\");var e=Object.create(HTMLElement.prototype);r.ComponentUtil.ALL_PROPERTIES.forEach(function(t){Object.defineProperty(e,t,{set:function(e){this.__agGridSetProperty(t,e)},get:function(){return this.__agGridGetProperty(t)},enumerable:!0,configurable:!0})});var t=e;t.__agGridSetProperty=function(e,t){this.__attributes||(this.__attributes={}),this.__attributes[e]=t;var o={};o[e]={currentValue:t},this.onChange(o)},t.onChange=function(e){this._initialised&&r.ComponentUtil.processOnChange(e,this._gridOptions,this.api,this.columnApi)},t.__agGridGetProperty=function(e){return this.__attributes||(this.__attributes={}),this.__attributes[e]},t.setGridOptions=function(e){var t=this.globalEventListener.bind(this);this._gridOptions=r.ComponentUtil.copyAttributesToGridOptions(e,this);var o={globalEventListener:t};this._agGrid=new s.Grid(this,this._gridOptions,o),this.api=e.api,this.columnApi=e.columnApi,this._initialised=!0},t.createdCallback=function(){for(var e=0;e<this.attributes.length;e++){var t=this.attributes[e];this.setPropertyFromAttribute(t)}},t.setPropertyFromAttribute=function(e){var t=i(e.nodeName),o=e.nodeValue;r.ComponentUtil.ALL_PROPERTIES.indexOf(t)>=0&&(this[t]=o)},t.attachedCallback=function(e){},t.detachedCallback=function(e){},t.attributeChangedCallback=function(e){var t=this.attributes[e];this.setPropertyFromAttribute(t)},t.globalEventListener=function(e,t){var o=e.toLowerCase(),n=new Event(o);n.agGridDetails=t,this.dispatchEvent(n);var i=\"on\"+o;\"function\"==typeof this[i]&&this[i](n)},document.registerElement(\"ag-grid\",{prototype:e})}}function i(e){if(\"string\"==typeof e){return e.replace(/-([a-z])/g,function(e){return e[1].toUpperCase()})}return e}Object.defineProperty(t,\"__esModule\",{value:!0});var r=o(11),s=o(4),a=!1;t.initialiseAgGridWithWebComponents=n},function(e,t,o){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var n=o(9),i=function(){function e(t){var o=this;this.items=[],this.params=t,this.eGui=document.createElement(\"div\"),this.eGui.innerHTML=e.TEMPLATE,this.eHeader=this.eGui.querySelector(\"#tabHeader\"),this.eBody=this.eGui.querySelector(\"#tabBody\"),n.Utils.addCssClass(this.eGui,t.cssClass),t.items&&t.items.forEach(function(e){return o.addItem(e)})}return e.prototype.setAfterAttachedParams=function(e){this.afterAttachedParams=e},e.prototype.getMinWidth=function(){var e=document.createElement(\"span\");e.style.position=\"fixed\",this.eGui.appendChild(e);var t=0;return this.items.forEach(function(o){n.Utils.removeAllChildren(e);var i=o.tabbedItem.body.cloneNode(!0);e.appendChild(i),t<e.offsetWidth&&(t=e.offsetWidth)}),this.eGui.removeChild(e),t},e.prototype.showFirstItem=function(){this.items.length>0&&this.showItemWrapper(this.items[0])},e.prototype.addItem=function(e){var t=document.createElement(\"span\");t.appendChild(e.title),n.Utils.addCssClass(t,\"ag-tab\"),this.eHeader.appendChild(t);var o={tabbedItem:e,eHeaderButton:t};this.items.push(o),t.addEventListener(\"click\",this.showItemWrapper.bind(this,o))},e.prototype.showItem=function(e){var t=n.Utils.find(this.items,function(t){return t.tabbedItem===e});t&&this.showItemWrapper(t)},e.prototype.showItemWrapper=function(e){if(this.params.onItemClicked&&this.params.onItemClicked({item:e.tabbedItem}),this.activeItem===e)return void n.Utils.callIfPresent(this.params.onActiveItemClicked);n.Utils.removeAllChildren(this.eBody),this.eBody.appendChild(e.tabbedItem.body),this.activeItem&&n.Utils.removeCssClass(this.activeItem.eHeaderButton,\"ag-tab-selected\"),n.Utils.addCssClass(e.eHeaderButton,\"ag-tab-selected\"),this.activeItem=e,e.tabbedItem.afterAttachedCallback&&e.tabbedItem.afterAttachedCallback(this.afterAttachedParams)},e.prototype.getGui=function(){return this.eGui},e}();i.TEMPLATE='<div><div id=\"tabHeader\" class=\"ag-tab-header\"></div><div id=\"tabBody\" class=\"ag-tab-body\"></div></div>',t.TabbedLayout=i},function(e,t){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var o=function(){function e(){this.isLayoutPanel=!0,this.childPanels=[],this.eGui=document.createElement(\"div\"),this.eGui.style.height=\"100%\"}return e.prototype.addPanel=function(e,t){var o;e.isLayoutPanel?(this.childPanels.push(e),o=e.getGui()):o=e,t&&(o.style.height=t),this.eGui.appendChild(o)},e.prototype.getGui=function(){return this.eGui},e.prototype.doLayout=function(){for(var e=0;e<this.childPanels.length;e++)this.childPanels[e].doLayout()},e}();t.VerticalStack=o},function(e,t){/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\"use strict\";function o(e){var t=new n,o=new XMLHttpRequest;return o.open(\"GET\",e.url),o.send(),o.onreadystatechange=function(){if(4==o.readyState&&200==o.status){var e=JSON.parse(o.responseText);t.resolve(e)}},t}Object.defineProperty(t,\"__esModule\",{value:!0}),t.simpleHttpRequest=o;var n=function(){function e(){}return e.prototype.then=function(e){this.thenFunc=e},e.prototype.resolve=function(e){this.thenFunc&&this.thenFunc(e)},e}();t.Promise=n},function(e,t,o){\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},r=o(2),s=o(126),a=o(129),l=o(130),p=o(131),d=r.SvgFactory.getInstance(),c=function(){function e(){}return e.prototype.showMenuAfterMouseEvent=function(e,t,o){var n=this;this.showMenu(e,function(e){n.popupService.positionPopupUnderMouseEvent({mouseEvent:t,ePopup:e.getGui()}),o&&e.showTab(o)},o)},e.prototype.showMenuAfterButtonClick=function(e,t,o){var n=this;this.showMenu(e,function(e){n.popupService.positionPopupUnderComponent({eventSource:t,ePopup:e.getGui(),nudgeX:-9,nudgeY:-26,minWidth:e.getMinWidth(),keepWithinBounds:!0}),o&&e.showTab(o)},o)},e.prototype.showMenu=function(e,t,o){var n=this,i=new u(e,this.lastSelectedTab);this.context.wireBean(i);var r=i.getGui(),s=this.popupService.addAsModalPopup(r,!0,function(){return i.destroy()});t(i),i.afterGuiAttached({hidePopup:s}),o||i.showTabBasedOnPreviousSelection(),i.addEventListener(u.EVENT_TAB_SELECTED,function(e){n.lastSelectedTab=e.key})},e.prototype.isMenuEnabled=function(e){var t=!this.gridOptionsWrapper.isSuppressMenuColumnPanel(),o=!this.gridOptionsWrapper.isSuppressMenuMainPanel(),n=!this.gridOptionsWrapper.isSuppressMenuFilterPanel()&&e.isFilterAllowed();return t||o||n},e}();n([r.Autowired(\"context\"),i(\"design:type\",r.Context)],c.prototype,\"context\",void 0),n([r.Autowired(\"popupService\"),i(\"design:type\",r.PopupService)],c.prototype,\"popupService\",void 0),n([r.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",r.GridOptionsWrapper)],c.prototype,\"gridOptionsWrapper\",void 0),c=n([r.Bean(\"menuFactory\")],c),t.EnterpriseMenuFactory=c;var u=function(){function e(e,t){this.localEventService=new r.EventService,this.destroyFunctions=[],this.column=e,this.initialSelection=t}return e.prototype.addEventListener=function(e,t){this.localEventService.addEventListener(e,t)},e.prototype.getMinWidth=function(){return this.tabbedLayout.getMinWidth()},e.prototype.init=function(){var e=[];this.gridOptionsWrapper.isSuppressMenuMainPanel()||(this.createMainPanel(),e.push(this.tabItemGeneral)),!this.gridOptionsWrapper.isSuppressMenuFilterPanel()&&this.column.isFilterAllowed()&&(this.createFilterPanel(),e.push(this.tabItemFilter)),this.gridOptionsWrapper.isSuppressMenuColumnPanel()||(this.createColumnsPanel(),e.push(this.tabItemColumns)),this.tabbedLayout=new r.TabbedLayout({items:e,cssClass:\"ag-menu\",onActiveItemClicked:this.onHidePopup.bind(this),onItemClicked:this.onTabItemClicked.bind(this)})},e.prototype.showTabBasedOnPreviousSelection=function(){this.showTab(this.initialSelection)},e.prototype.showTab=function(t){this.tabItemColumns&&t===e.TAB_COLUMNS?this.tabbedLayout.showItem(this.tabItemColumns):this.tabItemFilter&&t===e.TAB_FILTER?this.tabbedLayout.showItem(this.tabItemFilter):this.tabItemGeneral&&t===e.TAB_GENERAL?this.tabbedLayout.showItem(this.tabItemGeneral):this.tabbedLayout.showFirstItem()},e.prototype.onTabItemClicked=function(t){var o;switch(t.item){case this.tabItemColumns:o=e.TAB_COLUMNS;break;case this.tabItemFilter:o=e.TAB_FILTER;break;case this.tabItemGeneral:o=e.TAB_GENERAL}o&&this.localEventService.dispatchEvent(e.EVENT_TAB_SELECTED,{key:o})},e.prototype.destroy=function(){this.columnSelectPanel&&this.columnSelectPanel.destroy(),this.mainMenuList&&this.mainMenuList.destroy(),this.destroyFunctions.forEach(function(e){return e()})},e.prototype.getMenuItems=function(){var t,o=this.getDefaultMenuOptions(),n=this.gridOptionsWrapper.getMainMenuItemsFunc();if(n){t=n({column:this.column,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext(),defaultItems:o})}else t=o;return r.Utils.removeRepeatsFromArray(t,e.MENU_ITEM_SEPARATOR),t},e.prototype.getDefaultMenuOptions=function(){var t=[],o=this.columnController.getRowGroupColumns().length,n=o>0,i=this.columnController.getRowGroupColumns().indexOf(this.column)>=0,r=this.column.isAllowValue(),s=this.column.isAllowRowGroup(),a=this.column.isPrimary(),l=this.columnController.isPivotMode();return t.push(\"pinSubMenu\"),(a&&n&&r||!a)&&t.push(\"valueAggSubMenu\"),t.push(e.MENU_ITEM_SEPARATOR),t.push(\"autoSizeThis\"),t.push(\"autoSizeAll\"),t.push(e.MENU_ITEM_SEPARATOR),s&&this.column.isPrimary()&&(i?t.push(\"rowUnGroup\"):t.push(\"rowGroup\")),t.push(e.MENU_ITEM_SEPARATOR),t.push(\"resetColumns\"),t.push(\"toolPanel\"),(l?o>1:o>0)&&(t.push(\"expandAll\"),t.push(\"contractAll\")),t},e.prototype.createMainPanel=function(){this.mainMenuList=new a.MenuList,this.context.wireBean(this.mainMenuList);var e=this.getMenuItems(),t=this.menuItemMapper.mapWithStockItems(e,this.column);this.mainMenuList.addMenuItems(t),this.mainMenuList.addEventListener(l.MenuItemComponent.EVENT_ITEM_SELECTED,this.onHidePopup.bind(this)),this.tabItemGeneral={title:d.createMenuSvg(),body:this.mainMenuList.getGui()}},e.prototype.onHidePopup=function(){this.hidePopupFunc()},e.prototype.createFilterPanel=function(){var e,t=this.filterManager.getOrCreateFilterWrapper(this.column);t.filter.afterGuiAttached&&(e=t.filter.afterGuiAttached.bind(t.filter)),this.tabItemFilter={title:d.createFilterSvg12(),body:t.gui,afterAttachedCallback:e}},e.prototype.createColumnsPanel=function(){var e=document.createElement(\"div\");r.Utils.addCssClass(e,\"ag-menu-column-select-wrapper\"),this.columnSelectPanel=new s.ColumnSelectPanel(!1),this.context.wireBean(this.columnSelectPanel),e.appendChild(this.columnSelectPanel.getGui()),this.tabItemColumns={title:d.createColumnsSvg12(),body:e}},e.prototype.afterGuiAttached=function(e){var t=this;this.tabbedLayout.setAfterAttachedParams({hidePopup:e.hidePopup}),this.hidePopupFunc=e.hidePopup;var o=function(t){\"horizontal\"===t.direction&&e.hidePopup()};this.eventService.addEventListener(\"bodyScroll\",o),this.destroyFunctions.push(function(){return t.eventService.removeEventListener(\"bodyScroll\",o)})},e.prototype.getGui=function(){return this.tabbedLayout.getGui()},e}();u.EVENT_TAB_SELECTED=\"tabSelected\",u.TAB_FILTER=\"filter\",u.TAB_GENERAL=\"general\",u.TAB_COLUMNS=\"columns\",u.MENU_ITEM_SEPARATOR=\"separator\",n([r.Autowired(\"columnController\"),i(\"design:type\",r.ColumnController)],u.prototype,\"columnController\",void 0),n([r.Autowired(\"filterManager\"),i(\"design:type\",r.FilterManager)],u.prototype,\"filterManager\",void 0),n([r.Autowired(\"context\"),i(\"design:type\",r.Context)],u.prototype,\"context\",void 0),n([r.Autowired(\"gridApi\"),i(\"design:type\",r.GridApi)],u.prototype,\"gridApi\",void 0),n([r.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",r.GridOptionsWrapper)],u.prototype,\"gridOptionsWrapper\",void 0),n([r.Autowired(\"eventService\"),i(\"design:type\",r.EventService)],u.prototype,\"eventService\",void 0),n([r.Autowired(\"menuItemMapper\"),i(\"design:type\",p.MenuItemMapper)],u.prototype,\"menuItemMapper\",void 0),n([r.PostConstruct,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],u.prototype,\"init\",null),t.EnterpriseMenu=u},function(e,t,o){\"use strict\";var n=this&&this.__extends||function(e,t){function o(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=o(2),a=o(127),l=o(128),p=function(e){function t(o){var n=e.call(this,t.TEMPLATE)||this;return n.allowDragging=o,n}return n(t,e),t.prototype.init=function(){this.addDestroyableEventListener(this.globalEventService,s.Events.EVENT_COLUMN_EVERYTHING_CHANGED,this.onColumnsChanged.bind(this)),this.columnController.isReady()&&this.onColumnsChanged()},t.prototype.onColumnsChanged=function(){this.destroyAllRenderedElements(),this.columnTree=this.columnController.getPrimaryColumnTree(),this.recursivelyRenderComponents(this.columnTree,0)},t.prototype.destroy=function(){e.prototype.destroy.call(this),this.destroyAllRenderedElements()},t.prototype.destroyAllRenderedElements=function(){s.Utils.removeAllChildren(this.getGui()),this.renderedItems&&s.Utils.iterateObject(this.renderedItems,function(e,t){return t.destroy()}),this.renderedItems={}},t.prototype.recursivelyRenderGroupComponent=function(e,t){var o;if(!e.getColGroupDef()||!e.getColGroupDef().suppressToolPanel){if(e.isPadding())o=t;else{var n=new a.RenderedGroup(e,t,this.onGroupExpanded.bind(this),this.allowDragging);this.context.wireBean(n),this.appendChild(n.getGui()),o=t+1,this.renderedItems[e.getId()]=n}this.recursivelyRenderComponents(e.getChildren(),o)}},t.prototype.recursivelyRenderColumnComponent=function(e,t){if(!e.getColDef()||!e.getColDef().suppressToolPanel){var o=new l.RenderedColumn(e,t,this.allowDragging);this.context.wireBean(o),this.appendChild(o.getGui()),this.renderedItems[e.getId()]=o}},t.prototype.recursivelyRenderComponents=function(e,t){var o=this;e.forEach(function(e){e instanceof s.OriginalColumnGroup?o.recursivelyRenderGroupComponent(e,t):o.recursivelyRenderColumnComponent(e,t)})},t.prototype.recursivelySetVisibility=function(e,t){var o=this;e.forEach(function(e){var n=o.renderedItems[e.getId()];if(n&&n.setVisible(t),e instanceof s.OriginalColumnGroup){var i,r=e;if(n){var a=n.isExpanded();i=!!t&&a}else i=t;var l=r.getChildren();o.recursivelySetVisibility(l,i)}})},t.prototype.onGroupExpanded=function(){this.recursivelySetVisibility(this.columnTree,!0)},t}(s.Component);p.TEMPLATE='<div class=\"ag-column-select-panel\"></div>',i([s.Autowired(\"columnController\"),r(\"design:type\",s.ColumnController)],p.prototype,\"columnController\",void 0),i([s.Autowired(\"eventService\"),r(\"design:type\",s.EventService)],p.prototype,\"globalEventService\",void 0),i([s.Autowired(\"context\"),r(\"design:type\",s.Context)],p.prototype,\"context\",void 0),i([s.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],p.prototype,\"init\",null),t.ColumnSelectPanel=p},function(e,t,o){\"use strict\";var n=this&&this.__extends||function(e,t){function o(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=o(2),a=s.SvgFactory.getInstance(),l=function(e){function t(t,o,n,i){var r=e.call(this)||this;return r.expanded=!0,r.processingColumnStateChange=!1,r.columnGroup=t,r.columnDept=o,r.expandedCallback=n,r.allowDragging=i,r}return n(t,e),t.prototype.init=function(){this.setTemplate(t.TEMPLATE),this.instantiate(this.context);var e=this.queryForHtmlElement(\"#eText\");this.displayName=this.columnGroup.getColGroupDef()?this.columnGroup.getColGroupDef().headerName:null,s.Utils.missing(this.displayName)&&(this.displayName=\">>\"),e.innerHTML=this.displayName,this.setupExpandContract(),this.queryForHtmlElement(\"#eIndent\").style.width=10*this.columnDept+\"px\",this.addDestroyableEventListener(e,\"click\",this.onClick.bind(this)),this.addDestroyableEventListener(this.eventService,s.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED,this.onColumnStateChanged.bind(this)),this.addDestroyableEventListener(this.cbSelect,s.AgCheckbox.EVENT_CHANGED,this.onCheckboxChanged.bind(this));var o=this.queryForHtmlElement(\"#eCheckboxAndText\"),n=new s.TouchListener(o);this.addDestroyableEventListener(n,s.TouchListener.EVENT_TAP,this.onClick.bind(this)),this.addDestroyFunc(n.destroy.bind(n)),this.setOpenClosedIcons(),this.allowDragging&&this.addDragSource(),this.onColumnStateChanged(),this.addVisibilityListenersToAllChildren(),s.CssClassApplier.addToolPanelClassesFromColDef(this.columnGroup.getColGroupDef(),this.getGui(),this.gridOptionsWrapper,null,this.columnGroup)},t.prototype.addVisibilityListenersToAllChildren=function(){var e=this;this.columnGroup.getLeafColumns().forEach(function(t){e.addDestroyableEventListener(t,s.Column.EVENT_VISIBLE_CHANGED,e.onColumnStateChanged.bind(e)),e.addDestroyableEventListener(t,s.Column.EVENT_VALUE_CHANGED,e.onColumnStateChanged.bind(e)),e.addDestroyableEventListener(t,s.Column.EVENT_PIVOT_CHANGED,e.onColumnStateChanged.bind(e)),e.addDestroyableEventListener(t,s.Column.EVENT_ROW_GROUP_CHANGED,e.onColumnStateChanged.bind(e))})},t.prototype.addDragSource=function(){var e=this,t={type:s.DragSourceType.ToolPanel,eElement:this.getGui(),dragItemName:this.displayName,dragItem:this.columnGroup.getLeafColumns()};this.dragAndDropService.addDragSource(t,!0),this.addDestroyFunc(function(){return e.dragAndDropService.removeDragSource(t)})},t.prototype.setupExpandContract=function(){this.eGroupClosedIcon=this.queryForHtmlElement(\"#eGroupClosedIcon\"),this.eGroupOpenedIcon=this.queryForHtmlElement(\"#eGroupOpenedIcon\"),this.eGroupClosedIcon.appendChild(s.Utils.createIcon(\"columnSelectClosed\",this.gridOptionsWrapper,null,a.createFolderClosed)),this.eGroupOpenedIcon.appendChild(s.Utils.createIcon(\"columnSelectOpen\",this.gridOptionsWrapper,null,a.createFolderOpen)),this.addDestroyableEventListener(this.eGroupClosedIcon,\"click\",this.onExpandOrContractClicked.bind(this)),this.addDestroyableEventListener(this.eGroupOpenedIcon,\"click\",this.onExpandOrContractClicked.bind(this));var e=this.queryForHtmlElement(\"#eColumnGroupIcons\"),t=new s.TouchListener(e);this.addDestroyableEventListener(t,s.TouchListener.EVENT_TAP,this.onExpandOrContractClicked.bind(this)),this.addDestroyFunc(t.destroy.bind(t))},t.prototype.onClick=function(){this.cbSelect.setSelected(!this.cbSelect.isSelected())},t.prototype.onCheckboxChanged=function(){if(!this.processingColumnStateChange){var e=this.columnGroup.getLeafColumns(),t=this.cbSelect.isSelected();this.columnController.isPivotMode()?t?this.actionCheckedReduce(e):this.actionUnCheckedReduce(e):this.columnController.setColumnsVisible(e,t)}},t.prototype.actionUnCheckedReduce=function(e){var t=[],o=[],n=[];e.forEach(function(e){e.isPivotActive()&&t.push(e),e.isRowGroupActive()&&n.push(e),e.isValueActive()&&o.push(e)}),t.length>0&&this.columnController.removePivotColumns(t),n.length>0&&this.columnController.removeRowGroupColumns(n),o.length>0&&this.columnController.removeValueColumns(o)},t.prototype.actionCheckedReduce=function(e){var t=[],o=[],n=[];e.forEach(function(e){e.isAnyFunctionActive()||(e.isAllowValue()?t.push(e):e.isAllowRowGroup()?o.push(e):e.isAllowRowGroup()&&n.push(e))}),t.length>0&&this.columnController.addValueColumns(t),o.length>0&&this.columnController.addRowGroupColumns(o),n.length>0&&this.columnController.addPivotColumns(n)},t.prototype.onColumnStateChanged=function(){var e=this,t=this.columnController.isPivotMode(),o=0,n=0;this.columnGroup.getLeafColumns().forEach(function(i){e.isColumnVisible(i,t)?o++:n++});var i;i=o>0&&n>0?null:o>0,this.processingColumnStateChange=!0,this.cbSelect.setSelected(i),this.processingColumnStateChange=!1},t.prototype.isColumnVisible=function(e,t){if(t){var o=e.isPivotActive(),n=e.isRowGroupActive(),i=e.isValueActive();return o||n||i}return e.isVisible()},t.prototype.onExpandOrContractClicked=function(){this.expanded=!this.expanded,this.setOpenClosedIcons(),this.expandedCallback()},t.prototype.setOpenClosedIcons=function(){var e=this.expanded;s.Utils.setVisible(this.eGroupClosedIcon,!e),s.Utils.setVisible(this.eGroupOpenedIcon,e)},t.prototype.isExpanded=function(){return this.expanded},t}(s.Component);l.TEMPLATE='<div class=\"ag-column-select-column-group\">  <span id=\"eIndent\" class=\"ag-column-select-indent\"></span>  <span id=\"eColumnGroupIcons\" class=\"ag-column-group-icons\">    <span id=\"eGroupOpenedIcon\" class=\"ag-column-group-closed-icon\"></span>    <span id=\"eGroupClosedIcon\" class=\"ag-column-group-opened-icon\"></span>  </span>  <span id=\"eCheckboxAndText\">    <ag-checkbox class=\"ag-column-select-checkbox\"></ag-checkbox>    <span id=\"eText\" class=\"ag-column-select-column-group-label\"></span>  </span></div>',i([s.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",s.GridOptionsWrapper)],l.prototype,\"gridOptionsWrapper\",void 0),i([s.Autowired(\"columnController\"),r(\"design:type\",s.ColumnController)],l.prototype,\"columnController\",void 0),i([s.Autowired(\"gridPanel\"),r(\"design:type\",s.GridPanel)],l.prototype,\"gridPanel\",void 0),i([s.Autowired(\"context\"),r(\"design:type\",s.Context)],l.prototype,\"context\",void 0),i([s.Autowired(\"dragAndDropService\"),r(\"design:type\",s.DragAndDropService)],l.prototype,\"dragAndDropService\",void 0),i([s.Autowired(\"eventService\"),r(\"design:type\",s.EventService)],l.prototype,\"eventService\",void 0),i([s.QuerySelector(\".ag-column-select-checkbox\"),r(\"design:type\",s.AgCheckbox)],l.prototype,\"cbSelect\",void 0),i([s.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],l.prototype,\"init\",null),t.RenderedGroup=l},function(e,t,o){\"use strict\";var n=this&&this.__extends||function(e,t){function o(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=o(2),a=function(e){function t(t,o,n){var i=e.call(this)||this;return i.processingColumnStateChange=!1,i.column=t,i.columnDept=o,i.allowDragging=n,i}return n(t,e),t.prototype.init=function(){this.setTemplate(t.TEMPLATE),this.displayName=this.columnController.getDisplayNameForColumn(this.column,\"toolPanel\"),this.eText.innerHTML=this.displayName,this.eIndent.style.width=10*this.columnDept+\"px\",this.allowDragging&&this.addDragSource(),this.addDestroyableEventListener(this.eventService,s.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED,this.onColumnStateChanged.bind(this)),this.addDestroyableEventListener(this.column,s.Column.EVENT_VALUE_CHANGED,this.onColumnStateChanged.bind(this)),this.addDestroyableEventListener(this.column,s.Column.EVENT_PIVOT_CHANGED,this.onColumnStateChanged.bind(this)),this.addDestroyableEventListener(this.column,s.Column.EVENT_ROW_GROUP_CHANGED,this.onColumnStateChanged.bind(this)),this.addDestroyableEventListener(this.column,s.Column.EVENT_VISIBLE_CHANGED,this.onColumnStateChanged.bind(this)),this.addDestroyableEventListener(this.gridOptionsWrapper,\"functionsReadOnly\",this.onColumnStateChanged.bind(this)),this.instantiate(this.context),this.onColumnStateChanged(),this.addDestroyableEventListener(this.cbSelect,s.AgCheckbox.EVENT_CHANGED,this.onChange.bind(this)),this.addDestroyableEventListener(this.eText,\"click\",this.onClick.bind(this)),this.addTap(),s.CssClassApplier.addToolPanelClassesFromColDef(this.column.getColDef(),this.getGui(),this.gridOptionsWrapper,this.column,null)},t.prototype.addTap=function(){var e=new s.TouchListener(this.getGui());this.addDestroyableEventListener(e,s.TouchListener.EVENT_TAP,this.onClick.bind(this)),this.addDestroyFunc(e.destroy.bind(e))},t.prototype.onClick=function(){this.cbSelect.isReadOnly()||this.cbSelect.toggle()},t.prototype.onChange=function(e){this.processingColumnStateChange||(this.columnController.isPivotMode()?e.selected?this.actionCheckedPivotMode():this.actionUnCheckedPivotMode():this.columnController.setColumnVisible(this.column,e.selected))},t.prototype.actionUnCheckedPivotMode=function(){var e=this.gridOptionsWrapper.isFunctionsPassive(),t=this.column,o=this.columnController;if(t.isPivotActive())if(e){var n=this.columnController.getPivotColumns().slice();n.push(t),this.eventService.dispatchEvent(s.Events.EVENT_COLUMN_PIVOT_CHANGE_REQUEST,{columns:n})}else o.removePivotColumn(t);if(t.isValueActive())if(e){var i=this.columnController.getValueColumns().slice();i.push(t),this.eventService.dispatchEvent(s.Events.EVENT_COLUMN_VALUE_CHANGE_REQUEST,{columns:i})}else o.removeValueColumn(t);if(t.isRowGroupActive())if(e){var r=this.columnController.getRowGroupColumns().slice();r.push(t),this.eventService.dispatchEvent(s.Events.EVENT_COLUMN_ROW_GROUP_CHANGE_REQUEST,{columns:r})}else o.removeRowGroupColumn(t)},t.prototype.actionCheckedPivotMode=function(){var e=this.column;if(!(e.isValueActive()||e.isPivotActive()||e.isRowGroupActive())){var t=this.gridOptionsWrapper.isFunctionsPassive();if(e.isAllowValue())if(t){var o=this.columnController.getValueColumns().slice();s.Utils.removeFromArray(o,e),this.eventService.dispatchEvent(s.Events.EVENT_COLUMN_VALUE_CHANGE_REQUEST,{columns:o})}else this.columnController.addValueColumn(e);else if(e.isAllowRowGroup())if(t){var n=this.columnController.getRowGroupColumns().slice();s.Utils.removeFromArray(n,e),this.eventService.dispatchEvent(s.Events.EVENT_COLUMN_ROW_GROUP_CHANGE_REQUEST,{columns:n})}else this.columnController.addRowGroupColumn(e);else if(e.isAllowPivot())if(t){var i=this.columnController.getPivotColumns().slice();s.Utils.removeFromArray(i,e),this.eventService.dispatchEvent(s.Events.EVENT_COLUMN_PIVOT_CHANGE_REQUEST,{columns:i})}else this.columnController.addPivotColumn(e)}},t.prototype.addDragSource=function(){var e=this,t={type:s.DragSourceType.ToolPanel,eElement:this.getGui(),dragItemName:this.displayName,dragItem:[this.column]};this.dragAndDropService.addDragSource(t,!0),this.addDestroyFunc(function(){return e.dragAndDropService.removeDragSource(t)})},t.prototype.onColumnStateChanged=function(){this.processingColumnStateChange=!0;var e=this.columnController.isPivotMode();if(e){var t=this.column.isAnyFunctionActive();this.cbSelect.setSelected(t)}else this.cbSelect.setSelected(this.column.isVisible());var o=e&&(this.gridOptionsWrapper.isFunctionsReadOnly()||!this.column.isAnyFunctionAllowed());this.cbSelect.setReadOnly(o);var n=e&&this.gridOptionsWrapper.isFunctionsPassive();this.cbSelect.setPassive(n),this.processingColumnStateChange=!1},t}(s.Component);a.TEMPLATE='<div class=\"ag-column-select-column\"><span class=\"ag-column-select-indent\"></span><ag-checkbox class=\"ag-column-select-checkbox\"></ag-checkbox><span class=\"ag-column-select-label\"></span></div>',i([s.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",s.GridOptionsWrapper)],a.prototype,\"gridOptionsWrapper\",void 0),i([s.Autowired(\"columnController\"),r(\"design:type\",s.ColumnController)],a.prototype,\"columnController\",void 0),i([s.Autowired(\"eventService\"),r(\"design:type\",s.EventService)],a.prototype,\"eventService\",void 0),i([s.Autowired(\"dragAndDropService\"),r(\"design:type\",s.DragAndDropService)],a.prototype,\"dragAndDropService\",void 0),i([s.Autowired(\"gridPanel\"),r(\"design:type\",s.GridPanel)],a.prototype,\"gridPanel\",void 0),i([s.Autowired(\"context\"),r(\"design:type\",s.Context)],a.prototype,\"context\",void 0),i([s.QuerySelector(\".ag-column-select-label\"),r(\"design:type\",HTMLElement)],a.prototype,\"eText\",void 0),i([s.QuerySelector(\".ag-column-select-indent\"),r(\"design:type\",HTMLElement)],a.prototype,\"eIndent\",void 0),i([s.QuerySelector(\".ag-column-select-checkbox\"),r(\"design:type\",s.AgCheckbox)],a.prototype,\"cbSelect\",void 0),i([s.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],a.prototype,\"init\",null),t.RenderedColumn=a},function(e,t,o){\"use strict\";var n=this&&this.__extends||function(e,t){function o(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=o(2),a=o(130),l=function(e){function t(){var o=e.call(this,t.TEMPLATE)||this;return o.timerCount=0,o.removeChildFuncs=[],o}return n(t,e),t.prototype.clearActiveItem=function(){this.removeActiveItem(),this.removeChildPopup()},t.prototype.addMenuItems=function(e){var t=this;s.Utils.missing(e)||e.forEach(function(e){if(\"separator\"===e)t.addSeparator();else if(\"string\"==typeof e)console.log(\"ag-Grid: unrecognised menu item \"+e);else{var o=e;t.addItem(o)}})},t.prototype.addItem=function(e){var t=this,o=new a.MenuItemComponent(e);this.context.wireBean(o),this.getGui().appendChild(o.getGui()),this.addDestroyFunc(function(){return o.destroy()}),o.addEventListener(a.MenuItemComponent.EVENT_ITEM_SELECTED,function(n){e.subMenu?t.showChildMenu(e,o):t.dispatchEvent(a.MenuItemComponent.EVENT_ITEM_SELECTED,n)}),o.addGuiEventListener(\"mouseenter\",this.mouseEnterItem.bind(this,e,o)),o.addGuiEventListener(\"mouseleave\",function(){return t.timerCount++})},t.prototype.mouseEnterItem=function(e,t){e.disabled||(this.activeMenuItemParams!==e&&this.removeChildPopup(),this.removeActiveItem(),this.activeMenuItemParams=e,this.activeMenuItem=t,s.Utils.addCssClass(this.activeMenuItem.getGui(),\"ag-menu-option-active\"),e.subMenu&&this.addHoverForChildPopup(e,t))},t.prototype.removeActiveItem=function(){this.activeMenuItem&&(s.Utils.removeCssClass(this.activeMenuItem.getGui(),\"ag-menu-option-active\"),this.activeMenuItem=null,this.activeMenuItemParams=null)},t.prototype.addHoverForChildPopup=function(e,t){var o=this,n=this.timerCount;setTimeout(function(){var i=n===o.timerCount,r=o.subMenuParentDef===e;i&&!r&&o.showChildMenu(e,t)},500)},t.prototype.addSeparator=function(){this.getGui().appendChild(s.Utils.loadTemplate(t.SEPARATOR_TEMPLATE))},t.prototype.showChildMenu=function(e,o){var n=this;this.removeChildPopup();var i=new t;this.context.wireBean(i),i.addMenuItems(e.subMenu);var r=s.Utils.loadTemplate('<div class=\"ag-menu\"></div>');r.appendChild(i.getGui());var l=this.popupService.addAsModalPopup(r,!0);this.popupService.positionPopupForMenu({eventSource:o.getGui(),ePopup:r}),this.subMenuParentDef=e;var p=function(e){n.dispatchEvent(a.MenuItemComponent.EVENT_ITEM_SELECTED,e)};i.addEventListener(a.MenuItemComponent.EVENT_ITEM_SELECTED,p),this.removeChildFuncs.push(function(){i.clearActiveItem(),i.destroy(),n.subMenuParentDef=null,i.removeEventListener(a.MenuItemComponent.EVENT_ITEM_SELECTED,p),l()})},t.prototype.removeChildPopup=function(){this.removeChildFuncs.forEach(function(e){return e()}),this.removeChildFuncs=[]},t.prototype.destroy=function(){this.removeChildPopup(),e.prototype.destroy.call(this)},t}(s.Component);l.TEMPLATE='<div class=\"ag-menu-list\"></div>',l.SEPARATOR_TEMPLATE='<div class=\"ag-menu-separator\">  <span class=\"ag-menu-separator-cell\"></span>  <span class=\"ag-menu-separator-cell\"></span>  <span class=\"ag-menu-separator-cell\"></span>  <span class=\"ag-menu-separator-cell\"></span></div>',i([s.Autowired(\"context\"),r(\"design:type\",s.Context)],l.prototype,\"context\",void 0),i([s.Autowired(\"popupService\"),r(\"design:type\",s.PopupService)],l.prototype,\"popupService\",void 0),t.MenuList=l},function(e,t,o){\"use strict\";var n=this&&this.__extends||function(e,t){function o(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=o(2),a=s.SvgFactory.getInstance(),l=function(e){function t(o){var n=e.call(this,t.TEMPLATE)||this;return n.params=o,n}return n(t,e),t.prototype.init=function(){this.params.checked?this.queryForHtmlElement(\"#eIcon\").innerHTML=\"&#10004;\":this.params.icon?s.Utils.isNodeOrElement(this.params.icon)?this.queryForHtmlElement(\"#eIcon\").appendChild(this.params.icon):\"string\"==typeof this.params.icon?this.queryForHtmlElement(\"#eIcon\").innerHTML=this.params.icon:console.log(\"ag-Grid: menu item icon must be DOM node or string\"):this.queryForHtmlElement(\"#eIcon\").innerHTML=\"&nbsp;\",this.params.shortcut&&(this.queryForHtmlElement(\"#eShortcut\").innerHTML=this.params.shortcut),this.params.subMenu?this.gridOptionsWrapper.isEnableRtl()?this.queryForHtmlElement(\"#ePopupPointer\").appendChild(a.createSmallArrowLeftSvg()):this.queryForHtmlElement(\"#ePopupPointer\").appendChild(a.createSmallArrowRightSvg()):this.queryForHtmlElement(\"#ePopupPointer\").innerHTML=\"&nbsp;\",this.queryForHtmlElement(\"#eName\").innerHTML=this.params.name,this.params.disabled?s.Utils.addCssClass(this.getGui(),\"ag-menu-option-disabled\"):this.addGuiEventListener(\"click\",this.onOptionSelected.bind(this))},t.prototype.onOptionSelected=function(){this.dispatchEvent(t.EVENT_ITEM_SELECTED,this.params),this.params.action&&this.params.action()},t.prototype.destroy=function(){e.prototype.destroy.call(this)},t}(s.Component);l.TEMPLATE='<div class=\"ag-menu-option\">  <span id=\"eIcon\" class=\"ag-menu-option-icon\"></span>  <span id=\"eName\" class=\"ag-menu-option-text\"></span>  <span id=\"eShortcut\" class=\"ag-menu-option-shortcut\"></span>  <span id=\"ePopupPointer\" class=\"ag-menu-option-popup-pointer\"></span></div>',l.EVENT_ITEM_SELECTED=\"itemSelected\",i([s.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",s.GridOptionsWrapper)],l.prototype,\"gridOptionsWrapper\",void 0),i([s.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],l.prototype,\"init\",null),t.MenuItemComponent=l},function(e,t,o){\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},r=o(2),s=o(132),a=o(134),l=r.SvgFactory.getInstance(),p=function(){function e(){}return e.prototype.mapWithStockItems=function(e,t){var o=this;if(!e)return[];var n=[];return e.forEach(function(e){var i;if(i=\"string\"==typeof e?o.getStockMenuItem(e,t):e,i.subMenu){var r=i;r.subMenu=o.mapWithStockItems(r.subMenu,t)}n.push(i)}),n},e.prototype.getStockMenuItem=function(e,t){var o=this,n=this.gridOptionsWrapper.getLocaleTextFunc();switch(e){case\"pinSubMenu\":return{name:n(\"pinColumn\",\"Pin Column\"),icon:r.Utils.createIconNoSpan(\"menuPin\",this.gridOptionsWrapper,null,l.createPinIcon),subMenu:[\"pinLeft\",\"pinRight\",\"clearPinned\"]};case\"pinLeft\":return{name:n(\"pinLeft\",\"Pin Left\"),action:function(){return o.columnController.setColumnPinned(t,r.Column.PINNED_LEFT)},checked:t.isPinnedLeft()};case\"pinRight\":return{name:n(\"pinRight\",\"Pin Right\"),action:function(){return o.columnController.setColumnPinned(t,r.Column.PINNED_RIGHT)},checked:t.isPinnedRight()};case\"clearPinned\":return{name:n(\"noPin\",\"No Pin\"),action:function(){return o.columnController.setColumnPinned(t,null)},checked:!t.isPinned()};case\"valueAggSubMenu\":return{name:n(\"valueAggregation\",\"Value Aggregation\"),icon:r.Utils.createIconNoSpan(\"menuValue\",this.gridOptionsWrapper,null,l.createAggregationIcon),subMenu:this.createAggregationSubMenu(t)};case\"autoSizeThis\":return{name:n(\"autosizeThiscolumn\",\"Autosize This Column\"),action:function(){return o.columnController.autoSizeColumn(t)}};case\"autoSizeAll\":return{name:n(\"autosizeAllColumns\",\"Autosize All Columns\"),action:function(){return o.columnController.autoSizeAllColumns()}};case\"rowGroup\":return{name:n(\"groupBy\",\"Group by\")+\" \"+t.getColDef().headerName,action:function(){return o.columnController.addRowGroupColumn(t)},icon:r.Utils.createIconNoSpan(\"menuAddRowGroup\",this.gridOptionsWrapper,null,l.createGroupIcon12)};case\"rowUnGroup\":return{name:n(\"ungroupBy\",\"Un-Group by\")+\" \"+t.getColDef().headerName,action:function(){return o.columnController.removeRowGroupColumn(t)},icon:r.Utils.createIconNoSpan(\"menuRemoveRowGroup\",this.gridOptionsWrapper,null,l.createGroupIcon12)};case\"resetColumns\":return{name:n(\"resetColumns\",\"Reset Columns\"),action:function(){return o.columnController.resetColumnState()}};case\"expandAll\":return{name:n(\"expandAll\",\"Expand All\"),action:function(){return o.gridApi.expandAll()}};case\"contractAll\":return{name:n(\"collapseAll\",\"Collapse All\"),action:function(){return o.gridApi.collapseAll()}};case\"copy\":return{name:n(\"copy\",\"Copy\"),shortcut:n(\"ctrlC\",\"Ctrl+C\"),icon:r.Utils.createIconNoSpan(\"clipboardCopy\",this.gridOptionsWrapper,null,l.createCopyIcon),action:function(){return o.clipboardService.copyToClipboard(!1)}};case\"copyWithHeaders\":return{name:n(\"copyWithHeaders\",\"Copy with Headers\"),icon:r.Utils.createIconNoSpan(\"clipboardCopy\",this.gridOptionsWrapper,null,l.createCopyIcon),action:function(){return o.clipboardService.copyToClipboard(!0)}};case\"paste\":return{name:n(\"paste\",\"Paste\"),shortcut:n(\"ctrlV\",\"Ctrl+V\"),disabled:!0,icon:r.Utils.createIconNoSpan(\"clipboardPaste\",this.gridOptionsWrapper,null,l.createPasteIcon),action:function(){return o.clipboardService.pasteFromClipboard()}};case\"toolPanel\":return{name:n(\"toolPanel\",\"Tool Panel\"),checked:this.gridApi.isToolPanelShowing(),action:function(){return o.gridApi.showToolPanel(!o.gridApi.isToolPanelShowing())}};case\"export\":return{name:n(\"export\",\"Export\"),subMenu:[\"csvExport\",\"excelExport\"]};case\"csvExport\":return{name:n(\"csvExport\",\"CSV Export\"),action:function(){return o.gridApi.exportDataAsCsv({})}};case\"excelExport\":return{name:n(\"excelExport\",\"Excel Export\"),action:function(){return o.gridApi.exportDataAsExcel({})}};case\"separator\":return\"separator\";default:return console.log(\"ag-Grid: unknown menu item type \"+e),null}},e.prototype.createAggregationSubMenu=function(e){var t,o=this,n=this.gridOptionsWrapper.getLocaleTextFunc(),i=e.isValueActive(),r=this.aggFuncService.getFuncNames();t=e.isPrimary()?e:e.getColDef().pivotValueColumn;var s=[];return r.forEach(function(e){s.push({name:n(e,e),action:function(){o.columnController.setColumnAggFunc(t,e),o.columnController.addValueColumn(t)},checked:i&&t.getAggFunc()===e})}),s},e}();n([r.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",r.GridOptionsWrapper)],p.prototype,\"gridOptionsWrapper\",void 0),n([r.Autowired(\"columnController\"),i(\"design:type\",r.ColumnController)],p.prototype,\"columnController\",void 0),n([r.Autowired(\"gridApi\"),i(\"design:type\",r.GridApi)],p.prototype,\"gridApi\",void 0),n([r.Autowired(\"clipboardService\"),i(\"design:type\",s.ClipboardService)],p.prototype,\"clipboardService\",void 0),n([r.Autowired(\"aggFuncService\"),i(\"design:type\",a.AggFuncService)],p.prototype,\"aggFuncService\",void 0),p=n([r.Bean(\"menuItemMapper\")],p),t.MenuItemMapper=p},function(e,t,o){\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},r=o(2),s=o(133),a=function(){function e(){}return e.prototype.init=function(){this.logger=this.loggerFactory.create(\"ClipboardService\")},e.prototype.pasteFromClipboard=function(){var e=this;this.logger.log(\"pasteFromClipboard\"),this.executeOnTempElement(function(e){e.focus()},function(t){var o=t.value;e.finishPasteFromClipboard(o)})},e.prototype.copyRangeDown=function(){var e=this;if(!this.rangeController.isEmpty()){var t={},o=null,n=[],i=[],s=function(s,a,l){o?(n.push(a),l.forEach(function(n,i){if(n.isCellEditable(a)){var l=o[i];e.valueService.setValue(a,n,l);var p={rowIndex:s.rowIndex,floating:s.floating,column:n},d=new r.GridCell(p).createId();t[d]=!0}})):(o=[],l.forEach(function(t){var n=e.valueService.getValue(t,a);o.push(n),i.push(t.getId())}))};this.iterateActiveRanges(!0,s),this.rowRenderer.refreshCells(n,i),this.dispatchFlashCells(t)}},e.prototype.finishPasteFromClipboard=function(e){if(!r.Utils.missingOrEmpty(e)){var t=this.focusedCellController.getFocusedCell();if(t){var o=this.dataToArray(e);if(o){var n=o[o.length-1];1===n.length&&\"\"===n[0]&&r.Utils.removeFromArray(o,n);var i=new r.GridRow(t.rowIndex,t.floating),s={},a=[],l=[],p=this.columnController.getDisplayedColumnsStartingAt(t.column);1===o.length&&1===o[0].length?this.singleCellRange(o,a,i,s,l):this.multipleCellRange(o,i,a,p,s,l),this.rowRenderer.refreshCells(a,l),this.dispatchFlashCells(s),this.focusedCellController.setFocusedCell(t.rowIndex,t.column,t.floating,!0)}}}},e.prototype.multipleCellRange=function(e,t,o,n,i,s){var a=this;return e.forEach(function(e){if(t){var l=a.getRowNode(t);o.push(l),e.forEach(function(e,o){var p=n[o];r.Utils.missing(p)||p.isCellEditable(l)&&a.updateCellValue(l,p,e,t,i,s)}),t=a.cellNavigationService.getRowBelow(t)}}),t},e.prototype.singleCellRange=function(e,t,o,n,i){var r=this,s=e[0][0],a=function(e,a,l){t.push(a),l.forEach(function(e){r.updateCellValue(a,e,s,o,n,i)})};this.iterateActiveRanges(!1,a)},e.prototype.updateCellValue=function(e,t,o,n,i,s){var a=this.processRangeCell(e,t,o,this.gridOptionsWrapper.getProcessCellFromClipboardFunc());this.valueService.setValue(e,t,a);var l={rowIndex:n.rowIndex,floating:n.floating,column:t};i[new r.GridCell(l).createId()]=!0,s.indexOf(t.getId())<0&&s.push(t.getId())},e.prototype.copyToClipboard=function(e){void 0===e&&(e=!1),this.logger.log(\"copyToClipboard: includeHeaders = \"+e);var t=!this.selectionController.isEmpty()&&!this.gridOptionsWrapper.isSuppressCopyRowsToClipboard();this.rangeController.isMoreThanOneCell()?this.copySelectedRangeToClipboard(e):t?this.copySelectedRowsToClipboard(e):this.focusedCellController.isAnyCellFocused()?this.copyFocusedCellToClipboard(e):this.copySelectedRangeToClipboard(e)},e.prototype.iterateActiveRanges=function(e,t,o){var n=this;if(!this.rangeController.isEmpty()){var i=this.rangeController.getCellRanges();if(e){var r=i[0];this.iterateActiveRange(r,t,o)}else i.forEach(function(e){return n.iterateActiveRange(e,t,o)})}},e.prototype.iterateActiveRange=function(e,t,o){var n=e.start.getGridRow(),i=e.end.getGridRow(),s=n.before(i),a=s?n:i,l=s?i:n;for(r.Utils.exists(o)&&o(e.columns);;){if(t(a,this.getRowNode(a),e.columns),a.equals(l))break;a=this.cellNavigationService.getRowBelow(a)}},e.prototype.copySelectedRangeToClipboard=function(e){var t=this;if(void 0===e&&(e=!1),!this.rangeController.isEmpty()){var o=\"\",n={},i=function(n){e&&(n.forEach(function(e,n){var i=t.columnController.getDisplayNameForColumn(e,\"clipboard\",!0);0!=n&&(o+=\"\\t\"),r.Utils.exists(i)&&(o+=i)}),o+=\"\\r\\n\")},s=function(e,i,s){s.forEach(function(s,a){var l=t.valueService.getValue(s,i),p=t.processRangeCell(i,s,l,t.gridOptionsWrapper.getProcessCellForClipboardFunc());0!=a&&(o+=\"\\t\"),r.Utils.exists(p)&&(o+=p);var d={rowIndex:e.rowIndex,floating:e.floating,column:s},c=new r.GridCell(d).createId();n[c]=!0}),o+=\"\\r\\n\"};this.iterateActiveRanges(!1,s,i),this.copyDataToClipboard(o),this.dispatchFlashCells(n)}},e.prototype.copyFocusedCellToClipboard=function(e){void 0===e&&(e=!1);var t=this.focusedCellController.getFocusedCell();if(!r.Utils.missing(t)){var o=t.getGridRow(),n=this.getRowNode(o),i=t.column,s=this.valueService.getValue(i,n),a=this.processRangeCell(n,i,s,this.gridOptionsWrapper.getProcessCellForClipboardFunc());if(r.Utils.exists(a)){var l=\"\";e&&(l=this.columnController.getDisplayNameForColumn(i,\"clipboard\",!0)+\"\\r\\n\"),l+=a.toString(),this.copyDataToClipboard(l)}else this.copyDataToClipboard(\"\");var p=t.createId(),d={};d[p]=!0,this.dispatchFlashCells(d)}},e.prototype.dispatchFlashCells=function(e){var t=this;setTimeout(function(){t.eventService.dispatchEvent(r.Events.EVENT_FLASH_CELLS,{cells:e})},0)},e.prototype.processRangeCell=function(e,t,o,n){if(n){return n({column:t,node:e,value:o,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext()})}return o},e.prototype.getRowNode=function(e){switch(e.floating){case r.Constants.FLOATING_TOP:return this.floatingRowModel.getFloatingTopRowData()[e.rowIndex];case r.Constants.FLOATING_BOTTOM:return this.floatingRowModel.getFloatingBottomRowData()[e.rowIndex];default:return this.rowModel.getRow(e.rowIndex)}},e.prototype.copySelectedRowsToClipboard=function(e,t){void 0===e&&(e=!1);var o=!e,n={columnKeys:t,skipHeader:o,skipFooters:!0,suppressQuotes:!0,columnSeparator:\"\\t\",onlySelected:!0,processCellCallback:this.gridOptionsWrapper.getProcessCellForClipboardFunc()},i=this.csvCreator.getDataAsCsv(n);this.copyDataToClipboard(i)},e.prototype.copyDataToClipboard=function(e){var t=this.gridOptionsWrapper.getSendToClipboardFunc();if(r.Utils.exists(t)){t({data:e})}else this.executeOnTempElement(function(t){return t.value=e,t.select(),t.focus(),document.execCommand(\"copy\")})},e.prototype.executeOnTempElement=function(e,t){var o=document.createElement(\"textarea\");o.style.width=\"1px\",o.style.height=\"1px\",o.style.top=\"0px\",o.style.left=\"0px\",o.style.position=\"absolute\",o.style.opacity=\"0.0\";var n=this.gridCore.getRootGui();n.appendChild(o);try{var i=e(o);this.logger.log(\"Clipboard operation result: \"+i)}catch(e){this.logger.log(\"Browser doesn\\t support document.execComment('copy') for clipboard operations\")}t?setTimeout(function(){t(o),n.removeChild(o)},100):n.removeChild(o)},e.prototype.dataToArray=function(e){for(var t=\"\\t\",o=new RegExp(\"(\\\\\"+t+'|\\\\r?\\\\n|\\\\r|^)(?:\"([^\"]*(?:\"\"[^\"]*)*)\"|([^\"\\\\'+t+\"\\\\r\\\\n]*))\",\"gi\"),n=[[]],i=null;i=o.exec(e);){var r=i[1];r.length&&r!==t&&n.push([]);var s;s=i[2]?i[2].replace(new RegExp('\"\"',\"g\"),'\"'):i[3],n[n.length-1].push(s)}return n},e}();n([r.Autowired(\"csvCreator\"),i(\"design:type\",r.CsvCreator)],a.prototype,\"csvCreator\",void 0),n([r.Autowired(\"loggerFactory\"),i(\"design:type\",r.LoggerFactory)],a.prototype,\"loggerFactory\",void 0),n([r.Autowired(\"selectionController\"),i(\"design:type\",r.SelectionController)],a.prototype,\"selectionController\",void 0),n([r.Autowired(\"rangeController\"),i(\"design:type\",s.RangeController)],a.prototype,\"rangeController\",void 0),n([r.Autowired(\"rowModel\"),i(\"design:type\",Object)],a.prototype,\"rowModel\",void 0),n([r.Autowired(\"floatingRowModel\"),i(\"design:type\",r.FloatingRowModel)],a.prototype,\"floatingRowModel\",void 0),n([r.Autowired(\"valueService\"),i(\"design:type\",r.ValueService)],a.prototype,\"valueService\",void 0),n([r.Autowired(\"focusedCellController\"),i(\"design:type\",r.FocusedCellController)],a.prototype,\"focusedCellController\",void 0),n([r.Autowired(\"rowRenderer\"),i(\"design:type\",r.RowRenderer)],a.prototype,\"rowRenderer\",void 0),n([r.Autowired(\"columnController\"),i(\"design:type\",r.ColumnController)],a.prototype,\"columnController\",void 0),n([r.Autowired(\"eventService\"),i(\"design:type\",r.EventService)],a.prototype,\"eventService\",void 0),n([r.Autowired(\"cellNavigationService\"),i(\"design:type\",r.CellNavigationService)],a.prototype,\"cellNavigationService\",void 0),n([r.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",r.GridOptionsWrapper)],a.prototype,\"gridOptionsWrapper\",void 0),n([r.Autowired(\"gridCore\"),i(\"design:type\",r.GridCore)],a.prototype,\"gridCore\",void 0),n([r.PostConstruct,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],a.prototype,\"init\",null),a=n([r.Bean(\"clipboardService\")],a),t.ClipboardService=a},function(e,t,o){\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},r=o(2),s=function(){function e(){this.bodyScrollListener=this.onBodyScroll.bind(this),this.dragging=!1}return e.prototype.init=function(){this.logger=this.loggerFactory.create(\"RangeController\"),this.eventService.addEventListener(r.Events.EVENT_COLUMN_EVERYTHING_CHANGED,this.clearSelection.bind(this)),this.eventService.addEventListener(r.Events.EVENT_COLUMN_GROUP_OPENED,this.clearSelection.bind(this)),this.eventService.addEventListener(r.Events.EVENT_COLUMN_MOVED,this.clearSelection.bind(this)),this.eventService.addEventListener(r.Events.EVENT_COLUMN_PINNED,this.clearSelection.bind(this)),this.eventService.addEventListener(r.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,this.clearSelection.bind(this)),this.eventService.addEventListener(r.Events.EVENT_COLUMN_VISIBLE,this.clearSelection.bind(this)),this.eventService.addEventListener(r.Events.EVENT_SORT_CHANGED,this.clearSelection.bind(this))},e.prototype.setRangeToCell=function(e){if(this.gridOptionsWrapper.isEnableRangeSelection()){var t=this.updateSelectedColumns(e.column,e.column);if(t){var o={rowIndex:e.rowIndex,floating:e.floating,column:e.column},n={start:new r.GridCell(o),end:new r.GridCell(o),columns:t};this.cellRanges=[],this.cellRanges.push(n),this.activeRange=null,this.dispatchChangedEvent(!0,!1)}}},e.prototype.setRange=function(e){this.gridOptionsWrapper.isEnableRangeSelection()&&(this.cellRanges=[],this.addRange(e))},e.prototype.addRange=function(e){if(this.gridOptionsWrapper.isEnableRangeSelection()){var t=this.columnController.getColumnWithValidation(e.columnStart),o=this.columnController.getPrimaryColumn(e.columnEnd);if(t&&o){var n=this.updateSelectedColumns(t,o);if(n){var i={column:t,rowIndex:e.rowStart,floating:e.floatingStart},s={column:o,rowIndex:e.rowEnd,floating:e.floatingEnd},a={start:new r.GridCell(i),end:new r.GridCell(s),columns:n};this.cellRanges||(this.cellRanges=[]),this.cellRanges.push(a),this.dispatchChangedEvent(!0,!1)}}}},e.prototype.getCellRanges=function(){return this.cellRanges},e.prototype.isEmpty=function(){return r.Utils.missingOrEmpty(this.cellRanges)},e.prototype.isMoreThanOneCell=function(){if(r.Utils.missingOrEmpty(this.cellRanges))return!1;if(this.cellRanges.length>1)return!0;var e=this.cellRanges[0];return!(e.start.column===e.end.column&&e.start.rowIndex===e.end.rowIndex)},e.prototype.clearSelection=function(){r.Utils.missing(this.cellRanges)||(this.activeRange=null,this.cellRanges=null,this.dispatchChangedEvent(!0,!1))},e.prototype.onBodyScroll=function(){this.onDragging(this.lastMouseEvent)},e.prototype.isCellInAnyRange=function(e){return this.getCellRangeCount(e)>0},e.prototype.isCellInSpecificRange=function(e,t){var o=t.columns.indexOf(e.column)>=0,n=this.isRowInRange(e.rowIndex,e.floating,t);return o&&n},e.prototype.getCellRangeCount=function(e){var t=this;if(r.Utils.missingOrEmpty(this.cellRanges))return 0;var o=0;return this.cellRanges.forEach(function(n){t.isCellInSpecificRange(e,n)&&o++}),o},e.prototype.isRowInRange=function(e,t,o){var n=new r.GridRow(o.start.rowIndex,o.start.floating),i=new r.GridRow(o.end.rowIndex,o.end.floating),s=n.before(i)?n:i,a=n.before(i)?i:n,l=new r.GridRow(e,t);if(l.equals(s)||l.equals(a))return!0;var p=!l.before(s),d=l.before(a);return p&&d},e.prototype.onDragStart=function(e){if(this.gridOptionsWrapper.isEnableRangeSelection()){var t=e.ctrlKey||e.metaKey;!r.Utils.missing(this.cellRanges)&&t||(this.cellRanges=[]);var o=this.mouseEventService.getGridCellForEvent(e);r.Utils.missing(o)||(this.createNewActiveRange(o),this.gridPanel.addScrollEventListener(this.bodyScrollListener),this.dragging=!0,this.lastMouseEvent=e,this.selectionChanged(!1,!0))}},e.prototype.createNewActiveRange=function(e){var t={column:e.column,rowIndex:e.rowIndex,floating:e.floating};this.activeRange={start:new r.GridCell(t),end:new r.GridCell(t),columns:[e.column]},this.cellRanges.push(this.activeRange)},e.prototype.selectionChanged=function(e,t){this.activeRange.columns=this.updateSelectedColumns(this.activeRange.start.column,this.activeRange.end.column),this.dispatchChangedEvent(e,t)},e.prototype.dispatchChangedEvent=function(e,t){this.eventService.dispatchEvent(r.Events.EVENT_RANGE_SELECTION_CHANGED,{finished:e,started:t})},e.prototype.onDragStop=function(){this.dragging&&(this.gridPanel.removeScrollEventListener(this.bodyScrollListener),this.lastMouseEvent=null,this.dragging=!1,this.dispatchChangedEvent(!0,!1))},e.prototype.onDragging=function(e){if(this.dragging){this.lastMouseEvent=e;var t=this.mouseEventService.getGridCellForEvent(e);if(!r.Utils.missing(t)){var o=!1;t.column!==this.activeRange.end.column&&(this.activeRange.end.column=t.column,o=!0);var n=!1;t.rowIndex===this.activeRange.end.rowIndex&&t.floating===this.activeRange.end.floating||(this.activeRange.end.rowIndex=t.rowIndex,this.activeRange.end.floating=t.floating,n=!0),(o||n)&&this.selectionChanged(!1,!1)}}},e.prototype.updateSelectedColumns=function(e,t){var o=this.columnController.getAllDisplayedColumns(),n=o.indexOf(e),i=o.indexOf(t);if(n<0)return console.log(\"ag-Grid: column \"+e.getId()+\" is not visible\"),null;if(i<0)return console.log(\"ag-Grid: column \"+t.getId()+\" is not visible\"),null;for(var r=Math.min(n,i),s=Math.max(n,i),a=[],l=r;l<=s;l++)a.push(o[l]);return a},e}();n([r.Autowired(\"loggerFactory\"),i(\"design:type\",r.LoggerFactory)],s.prototype,\"loggerFactory\",void 0),n([r.Autowired(\"gridPanel\"),i(\"design:type\",r.GridPanel)],s.prototype,\"gridPanel\",void 0),n([r.Autowired(\"rowModel\"),i(\"design:type\",Object)],s.prototype,\"rowModel\",void 0),n([r.Autowired(\"eventService\"),i(\"design:type\",r.EventService)],s.prototype,\"eventService\",void 0),n([r.Autowired(\"columnController\"),i(\"design:type\",r.ColumnController)],s.prototype,\"columnController\",void 0),n([r.Autowired(\"rowRenderer\"),i(\"design:type\",r.RowRenderer)],s.prototype,\"rowRenderer\",void 0),n([r.Autowired(\"focusedCellController\"),i(\"design:type\",r.FocusedCellController)],s.prototype,\"focusedCellController\",void 0),n([r.Autowired(\"mouseEventService\"),i(\"design:type\",r.MouseEventService)],s.prototype,\"mouseEventService\",void 0),n([r.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",r.GridOptionsWrapper)],s.prototype,\"gridOptionsWrapper\",void 0),n([r.PostConstruct,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],s.prototype,\"init\",null),s=n([r.Bean(\"rangeController\")],s),t.RangeController=s},function(e,t,o){\"use strict\";function n(e){for(var t=null,o=e.length,n=0;n<o;n++)\"number\"==typeof e[n]&&(null===t?t=e[n]:t+=e[n]);return t}function i(e){return e.length>=0?e[0]:null}function r(e){return e.length>=0?e[e.length-1]:null}function s(e){for(var t=null,o=e.length,n=0;n<o;n++)\"number\"==typeof e[n]&&(null===t?t=e[n]:t>e[n]&&(t=e[n]));return t}function a(e){for(var t=null,o=e.length,n=0;n<o;n++)\"number\"==typeof e[n]&&(null===t?t=e[n]:t<e[n]&&(t=e[n]));return t}function l(e){for(var t={value:0,toString:function(){return this.value.toString()}},o=e.length,n=0;n<o;n++){u.Utils.exists(e[n])&&\"number\"==typeof e[n].value?t.value+=e[n].value:t.value++}return t}function p(e){for(var t=0,o=0,n=e.length,i=0;i<n;i++){var r=e[i],s=u.Utils.exists(r)&&\"number\"==typeof r.value&&\"number\"==typeof r.count;\"number\"==typeof r?(t+=r,o++):s&&(t+=r.value*r.count,o+=r.count)}var a=null;return 0!==o&&(a=t/o),{count:o,value:a,toString:function(){return\"number\"==typeof this.value?this.value.toString():\"\"}}}var d=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},c=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},u=o(2),h=g=function(){function e(){this.aggFuncsMap={},this.initialised=!1}return e.prototype.init=function(){this.initialised||(this.initialised=!0,this.initialiseWithDefaultAggregations(),this.addAggFuncs(this.gridOptionsWrapper.getAggFuncs()))},e.prototype.initialiseWithDefaultAggregations=function(){this.aggFuncsMap[g.AGG_SUM]=n,this.aggFuncsMap[g.AGG_FIRST]=i,this.aggFuncsMap[g.AGG_LAST]=r,this.aggFuncsMap[g.AGG_MIN]=s,this.aggFuncsMap[g.AGG_MAX]=a,this.aggFuncsMap[g.AGG_COUNT]=l,this.aggFuncsMap[g.AGG_AVG]=p},e.prototype.getDefaultAggFunc=function(){if(this.aggFuncsMap[g.AGG_SUM])return g.AGG_SUM;var e=this.getFuncNames();return u.Utils.existsAndNotEmpty(e)?e[0]:null},e.prototype.addAggFuncs=function(e){u.Utils.iterateObject(e,this.addAggFunc.bind(this))},e.prototype.addAggFunc=function(e,t){this.init(),this.aggFuncsMap[e]=t},e.prototype.getAggFunc=function(e){return this.init(),this.aggFuncsMap[e]},e.prototype.getFuncNames=function(){return Object.keys(this.aggFuncsMap).sort()},e.prototype.clear=function(){this.aggFuncsMap={}},e}();h.AGG_SUM=\"sum\",h.AGG_FIRST=\"first\",h.AGG_LAST=\"last\",h.AGG_MIN=\"min\",h.AGG_MAX=\"max\",h.AGG_COUNT=\"count\",h.AGG_AVG=\"avg\",d([u.Autowired(\"gridOptionsWrapper\"),c(\"design:type\",u.GridOptionsWrapper)],h.prototype,\"gridOptionsWrapper\",void 0),d([u.PostConstruct,c(\"design:type\",Function),c(\"design:paramtypes\",[]),c(\"design:returntype\",void 0)],h.prototype,\"init\",null),h=g=d([u.Bean(\"aggFuncService\")],h),t.AggFuncService=h;var g},function(e,t,o){\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},r=o(2),s=function(){function e(){this.groupIdSequence=new r.NumberSequence(1)}return e.prototype.execute=function(e){var t,o=e.rowNode,n=e.newRowNodes,i=this.columnController.getRowGroupColumns();t=this.gridOptionsWrapper.isGroupSuppressRow()?-1:this.gridOptionsWrapper.getGroupDefaultExpanded();var r=!this.gridOptionsWrapper.isSuppressParentsInRowNodes(),s=this.columnController.isPivotMode();o.leafGroup=0===i.length,n?this.insertRowNodes(n,o,i,t,r,s):(this.recursivelyGroup(o,i,0,t,r,s),this.gridOptionsWrapper.isGroupRemoveSingleChildren()&&this.recursivelyDeptFirstRemoveSingleChildren(o,r)),this.recursivelySetLevelOnChildren(o,0)},e.prototype.recursivelySetLevelOnChildren=function(e,t){for(var o=0;o<e.childrenAfterGroup.length;o++){var n=e.childrenAfterGroup[o];n.level=t,n.group&&this.recursivelySetLevelOnChildren(n,t+1)}},e.prototype.recursivelyDeptFirstRemoveSingleChildren=function(e,t){if(!r.Utils.missingOrEmpty(e.childrenAfterGroup))for(var o=0;o<e.childrenAfterGroup.length;o++){var n=e.childrenAfterGroup[o];if(n.group&&(this.recursivelyDeptFirstRemoveSingleChildren(n,t),n.childrenAfterGroup.length<=1)){var i=n.childrenAfterGroup[0];e.childrenAfterGroup[o]=i,t&&(i.parent=e)}}},e.prototype.recursivelyGroup=function(e,t,o,n,i,r){var s=this;if(o<t.length){var a=t[o];this.bucketIntoChildrenAfterGroup(e,a,n,o,i,t.length,r),e.childrenAfterGroup.forEach(function(e){s.recursivelyGroup(e,t,o+1,n,i,r)})}else e.childrenAfterGroup=e.allLeafChildren,e.childrenAfterGroup.forEach(function(t){t.parent=e})},e.prototype.bucketIntoChildrenAfterGroup=function(e,t,o,n,i,r,s){var a=this;e.childrenAfterGroup=[],e.childrenMapped={},e.allLeafChildren.forEach(function(l){a.placeNodeIntoNextGroup(e,l,t,o,n,i,r,s)})},e.prototype.insertRowNodes=function(e,t,o,n,i,r){var s=this;e.forEach(function(e){var a=t;o.forEach(function(t,l){a=s.placeNodeIntoNextGroup(a,e,t,n,l,i,o.length,r)}),e.parent=a})},e.prototype.placeNodeIntoNextGroup=function(e,t,o,n,i,r,s,a){var l=this.getKeyForNode(o,t),p=e.childrenMapped[l];return p||(p=this.createGroup(o,l,e,n,i,r,s,a),e.childrenMapped[l]=p,e.childrenAfterGroup.push(p)),p.allLeafChildren.push(t),p},e.prototype.getKeyForNode=function(e,t){var o=this.valueService.getValue(e,t),n=e.getColDef().keyCreator;return n?n({value:o}):o},e.prototype.createGroup=function(e,t,o,n,i,s,a,l){var p=new r.RowNode;return this.context.wireBean(p),p.group=!0,p.field=e.getColDef().field,p.id=(-1*this.groupIdSequence.next()).toString(),p.key=t,p.leafGroup=i===a-1,l&&p.leafGroup?p.expanded=!1:p.expanded=this.isExpanded(n,i),p.allLeafChildren=[],p.allChildrenCount=0,p.rowGroupIndex=i,p.parent=s?o:null,p},e.prototype.isExpanded=function(e,t){return-1===e||t<e},e}();n([r.Autowired(\"selectionController\"),i(\"design:type\",r.SelectionController)],s.prototype,\"selectionController\",void 0),n([r.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",r.GridOptionsWrapper)],s.prototype,\"gridOptionsWrapper\",void 0),n([r.Autowired(\"columnController\"),i(\"design:type\",r.ColumnController)],s.prototype,\"columnController\",void 0),n([r.Autowired(\"valueService\"),i(\"design:type\",r.ValueService)],s.prototype,\"valueService\",void 0),n([r.Autowired(\"eventService\"),i(\"design:type\",r.EventService)],s.prototype,\"eventService\",void 0),n([r.Autowired(\"context\"),i(\"design:type\",r.Context)],s.prototype,\"context\",void 0),s=n([r.Bean(\"groupStage\")],s),t.GroupStage=s},function(e,t,o){\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},r=o(2),s=o(137),a=o(134),l=function(){function e(){}return e.prototype.execute=function(e){var t=e.rowNode;if(!r.Utils.exists(this.gridOptionsWrapper.getNodeChildDetailsFunc())){var o=this.columnController.isPivotActive(),n=this.columnController.getValueColumns(),i=o?this.columnController.getPivotColumns():[];this.recursivelyCreateAggData(t,n,i)}},e.prototype.recursivelyCreateAggData=function(e,t,o){var n=this;e.childrenAfterFilter.forEach(function(e){e.group&&n.recursivelyCreateAggData(e,t,o)}),this.aggregateRowNode(e,t,o)},e.prototype.aggregateRowNode=function(e,t,o){var n,i=0===t.length,r=0===o.length,s=this.gridOptionsWrapper.getGroupRowAggNodesFunc();n=s?s(e.childrenAfterFilter):i?null:r?this.aggregateRowNodeUsingValuesOnly(e,t):this.aggregateRowNodeUsingValuesAndPivot(e),e.data=n,e.sibling&&(e.sibling.data=n)},e.prototype.aggregateRowNodeUsingValuesAndPivot=function(e){var t=this,o={};return this.pivotStage.getPivotColumnDefs().forEach(function(n){var i,r=n.pivotValueColumn;if(e.leafGroup){var s=n.pivotKeys;i=t.getValuesFromMappedSet(e.childrenMapped,s,r)}else i=t.getValuesPivotNonLeaf(e,n.colId);o[n.colId]=t.aggregateValues(i,r.getAggFunc())}),this.putInValueForGroupNode(o,e),o},e.prototype.aggregateRowNodeUsingValuesOnly=function(e,t){var o=this,n={},i=this.getValuesNormal(e,t);return t.forEach(function(e,t){n[e.getId()]=o.aggregateValues(i[t],e.getAggFunc())}),this.putInValueForGroupNode(n,e),n},e.prototype.putInValueForGroupNode=function(e,t){var o=this.columnController.getGroupAutoColumns();o&&o.forEach(function(o){var n=o.getColDef().cellRendererParams;r.Utils.exists(n)&&r.Utils.exists(n.groupKey)?n.groupKey===t.field&&(e[o.getColId()]=t.key):e[o.getColId()]=t.key})},e.prototype.getValuesPivotNonLeaf=function(e,t){var o=[];return e.childrenAfterFilter.forEach(function(e){var n=e.data[t];o.push(n)}),o},e.prototype.getValuesFromMappedSet=function(e,t,o){var n=this,i=e;if(t.forEach(function(e){return i=i?i[e]:null}),!i)return[];var r=[];return i.forEach(function(e){var t=n.valueService.getValue(o,e);r.push(t)}),r},e.prototype.getValuesNormal=function(e,t){var o=[];t.forEach(function(){return o.push([])});for(var n=t.length,i=e.childrenAfterFilter.length,r=0;r<i;r++)for(var s=e.childrenAfterFilter[r],a=0;a<n;a++){var l,p=t[a];l=s.group?s.data[p.getId()]:this.valueService.getValueUsingSpecificData(p,s.data,s),o[a].push(l)}return o},e.prototype.aggregateValues=function(e,t){var o;return\"function\"!=typeof(o=\"string\"==typeof t?this.aggFuncService.getAggFunc(t):t)?(console.error(\"ag-Grid: unrecognised aggregation function \"+t),null):o(e)},e}();n([r.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",r.GridOptionsWrapper)],l.prototype,\"gridOptionsWrapper\",void 0),n([r.Autowired(\"columnController\"),i(\"design:type\",r.ColumnController)],l.prototype,\"columnController\",void 0),n([r.Autowired(\"valueService\"),i(\"design:type\",r.ValueService)],l.prototype,\"valueService\",void 0),n([r.Autowired(\"pivotStage\"),i(\"design:type\",s.PivotStage)],l.prototype,\"pivotStage\",void 0),n([r.Autowired(\"aggFuncService\"),i(\"design:type\",a.AggFuncService)],l.prototype,\"aggFuncService\",void 0),l=n([r.Bean(\"aggregationStage\")],l),t.AggregationStage=l},function(e,t,o){\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},r=o(2),s=o(138),a=function(){function e(){this.uniqueValues={}}return e.prototype.execute=function(e){var t=e.rowNode;this.columnController.isPivotActive()?this.executePivotOn(t):this.executePivotOff()},e.prototype.executePivotOff=function(){this.aggregationColumnsHashLastTime=null,this.uniqueValues={},this.columnController.setSecondaryColumns(null)},e.prototype.executePivotOn=function(e){var t=this.bucketUpRowNodes(e),o=this.setUniqueValues(t),n=this.columnController.getValueColumns(),i=n.map(function(e){return e.getId()}).join(\"#\"),r=this.aggregationColumnsHashLastTime!==i;if(this.aggregationColumnsHashLastTime=i,o||r){var s=this.pivotColDefService.createPivotColumnDefs(this.uniqueValues);this.pivotColumnGroupDefs=s.pivotColumnGroupDefs,this.pivotColumnDefs=s.pivotColumnDefs,this.columnController.setSecondaryColumns(this.pivotColumnGroupDefs)}},e.prototype.setUniqueValues=function(e){return!(JSON.stringify(e)===JSON.stringify(this.uniqueValues)||(this.uniqueValues=e,0))},e.prototype.bucketUpRowNodes=function(e){function t(e){e.leafGroup?n.bucketRowNode(e,o):e.childrenAfterFilter.forEach(function(e){t(e)})}var o={},n=this;return t(e),o},e.prototype.bucketRowNode=function(e,t){var o=this.columnController.getPivotColumns();if(0===o.length)return void(e.childrenMapped=null);e.childrenMapped=this.bucketChildren(e.childrenAfterFilter,o,0,t)},e.prototype.bucketChildren=function(e,t,o,n){var i=this,s={},a=t[o];if(e.forEach(function(e){var t=i.valueService.getValue(a,e);r.Utils.missing(t)&&(t=\"\"),n[t]||(n[t]={}),s[t]||(s[t]=[]),s[t].push(e)}),o===t.length-1)return s;var l={};return r.Utils.iterateObject(s,function(e,r){l[e]=i.bucketChildren(r,t,o+1,n[e])}),l},e.prototype.getPivotColumnDefs=function(){return this.pivotColumnDefs},e}();n([r.Autowired(\"rowModel\"),i(\"design:type\",Object)],a.prototype,\"rowModel\",void 0),n([r.Autowired(\"valueService\"),i(\"design:type\",r.ValueService)],a.prototype,\"valueService\",void 0),n([r.Autowired(\"columnController\"),i(\"design:type\",r.ColumnController)],a.prototype,\"columnController\",void 0),n([r.Autowired(\"eventService\"),i(\"design:type\",r.EventService)],a.prototype,\"eventService\",void 0),n([r.Autowired(\"pivotColDefService\"),i(\"design:type\",s.PivotColDefService)],a.prototype,\"pivotColDefService\",void 0),a=n([r.Bean(\"pivotStage\")],a),t.PivotStage=a},function(e,t,o){\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},r=o(2),s=function(){function e(){}return e.prototype.createPivotColumnDefs=function(e){var t=[],o=[],n=this.columnController.getPivotColumns(),i=n.length,s=new r.NumberSequence;return this.recursivelyAddGroup(t,o,1,e,[],s,i,n),{pivotColumnGroupDefs:t,pivotColumnDefs:o.map(function(e){return r.Utils.cloneObject(e)})}},e.prototype.recursivelyAddGroup=function(e,t,o,n,i,s,a,l){var p=this;r.Utils.iterateObject(n,function(n,r){var d=i.slice(0);if(d.push(n),o!==a){var c={children:[],headerName:n,pivotKeys:d};e.push(c),p.recursivelyAddGroup(c.children,t,o+1,r,d,s,a,l)}else{var u=p.columnController.getValueColumns(),h={children:[],headerName:n,pivotKeys:d};if(e.push(h),0===u.length){var g=p.createColDef(null,\"-\",d,s);h.children.push(g),t.push(g)}else u.forEach(function(e){var o=p.createColDef(e,e.getColDef().headerName,d,s);h.children.push(o),t.push(o)})}});var d=l[o-1].getColDef(),c=d.pivotComparator,u=this.headerNameComparator.bind(this,c);e.sort(u)},e.prototype.createColDef=function(e,t,o,n){var i={};if(e){var s=e.getColDef();r.Utils.assign(i,s),i.hide=!1}return i.headerName=t,i.colId=\"pivot_\"+n.next(),i.pivotKeys=o,i.pivotValueColumn=e,i},e.prototype.headerNameComparator=function(e,t,o){return e?e(t.headerName,o.headerName):t.headerName<o.headerName?-1:t.headerName>o.headerName?1:0},e}();n([r.Autowired(\"columnController\"),i(\"design:type\",r.ColumnController)],s.prototype,\"columnController\",void 0),s=n([r.Bean(\"pivotColDefService\")],s),t.PivotColDefService=s},function(e,t,o){\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},r=o(2),s=o(140),a=o(144),l=o(146),p=d=function(){function e(){}return e.prototype.init=function(){this.filterManager.registerFilter(\"set\",s.SetFilter),this.cellEditorFactory.addCellEditor(d.RICH_SELECT,a.RichSelectCellEditor),this.licenseManager.validateLicense()},e}();p.RICH_SELECT=\"richSelect\",n([r.Autowired(\"filterManager\"),i(\"design:type\",r.FilterManager)],p.prototype,\"filterManager\",void 0),n([r.Autowired(\"cellEditorFactory\"),i(\"design:type\",r.CellEditorFactory)],p.prototype,\"cellEditorFactory\",void 0),n([r.Autowired(\"licenseManager\"),i(\"design:type\",l.LicenseManager)],p.prototype,\"licenseManager\",void 0),n([r.PreConstruct,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],p.prototype,\"init\",null),p=d=n([r.Bean(\"enterpriseBoot\")],p),t.EnterpriseBoot=p;var d},function(e,t,o){\"use strict\";var n=this&&this.__extends||function(e,t){function o(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=o(2),a=o(141),l=o(142),p=o(143),d=function(e){function t(){return e.call(this)||this}return n(t,e),t.prototype.modelFromFloatingFilter=function(e){return[e]},t.prototype.initialiseFilterBodyUi=function(){var e=this;this.virtualList=new p.VirtualList,this.context.wireBean(this.virtualList),this.getGui().querySelector(\"#richList\").appendChild(this.virtualList.getGui()),s.Utils.exists(this.filterParams.cellHeight)&&this.virtualList.setRowHeight(this.filterParams.cellHeight),this.virtualList.setComponentCreator(this.createSetListItem.bind(this)),this.model=new a.SetFilterModel(this.filterParams.colDef,this.filterParams.rowModel,this.filterParams.valueGetter,this.filterParams.doesRowPassOtherFilter,this.suppressSorting),this.virtualList.setModel(new c(this.model)),s._.setVisible(this.getGui().querySelector(\"#ag-mini-filter\"),!this.filterParams.suppressMiniFilter),this.eMiniFilter.value=this.model.getMiniFilter(),this.addDestroyableEventListener(this.eMiniFilter,\"input\",function(){return e.onMiniFilterChanged()}),this.eSelectAll.onclick=this.onSelectAll.bind(this),this.updateSelectAll(),this.virtualList.refresh()},t.prototype.refreshFilterBodyUi=function(){},t.prototype.createSetListItem=function(e){var t=this,o=this.filterParams.cellRenderer,n=new l.SetFilterListItem(e,o);return this.context.wireBean(n),n.setSelected(this.model.isValueSelected(e)),n.addEventListener(l.SetFilterListItem.EVENT_SELECTED,function(){t.onItemSelected(e,n.isSelected())}),n},t.prototype.afterGuiAttached=function(e){this.virtualList.refresh(),this.eMiniFilter.focus()},t.prototype.isFilterActive=function(){return this.model.isFilterActive()},t.prototype.doesFilterPass=function(e){if(this.model.isEverythingSelected()&&!this.filterParams.selectAllOnMiniFilter)return!0;if(this.model.isNothingSelected()&&!this.filterParams.selectAllOnMiniFilter)return!1;var t=this.filterParams.valueGetter(e.node);if(this.filterParams.colDef.keyCreator&&(t=this.filterParams.colDef.keyCreator({value:t})),t=s.Utils.makeNull(t),Array.isArray(t)){for(var o=0;o<t.length;o++)if(this.model.isValueSelected(t[o]))return!0;return!1}return this.model.isValueSelected(t)},t.prototype.onNewRowsLoaded=function(){var e=this.filterParams&&\"keep\"===this.filterParams.newRowsAction,t=this.eSelectAll&&this.eSelectAll.checked&&!this.eSelectAll.indeterminate;this.model.refreshAfterNewRowsLoaded(e,t),this.updateSelectAll(),this.virtualList.refresh()},t.prototype.onAnyFilterChanged=function(){this.model.refreshAfterAnyFilterChanged(),this.virtualList.refresh()},t.prototype.bodyTemplate=function(){var e=this.translate.bind(this);return'<div>\\n                    <div class=\"ag-filter-header-container\" id=\"ag-mini-filter\">\\n                        <input class=\"ag-filter-filter\" type=\"text\" placeholder=\"'+e(\"searchOoo\")+'\"/>\\n                    </div>\\n                    <div class=\"ag-filter-header-container\">\\n                        <label>\\n                            <input id=\"selectAll\" type=\"checkbox\" class=\"ag-filter-checkbox\"/>\\n                            <span class=\"ag-filter-value\">('+e(\"selectAll\")+')</span>\\n                        </label>\\n                    </div>\\n                    <div id=\"richList\" class=\"ag-set-filter-list\"></div>                    \\n                </div>'},t.prototype.updateSelectAll=function(){this.model.isEverythingSelected()?(this.eSelectAll.indeterminate=!1,this.eSelectAll.checked=!0):this.model.isNothingSelected()?(this.eSelectAll.indeterminate=!1,this.eSelectAll.checked=!1):this.eSelectAll.indeterminate=!0},t.prototype.onMiniFilterChanged=function(){this.model.setMiniFilter(this.eMiniFilter.value)&&this.virtualList.refresh(),this.updateSelectAll()},t.prototype.onSelectAll=function(){this.eSelectAll.checked?this.model.selectEverything():this.model.selectNothing(),this.virtualList.refresh(),this.onFilterChanged()},t.prototype.onItemSelected=function(e,t){t?this.model.selectValue(e):this.model.unselectValue(e),this.updateSelectAll(),this.onFilterChanged()},t.prototype.setMiniFilter=function(e){this.model.setMiniFilter(e),this.eMiniFilter.value=this.model.getMiniFilter()},t.prototype.getMiniFilter=function(){return this.model.getMiniFilter()},t.prototype.selectEverything=function(){this.model.selectEverything(),this.updateSelectAll(),this.virtualList.refresh()},t.prototype.selectNothing=function(){this.model.selectNothing(),this.updateSelectAll(),this.virtualList.refresh()},t.prototype.unselectValue=function(e){this.model.unselectValue(e),this.updateSelectAll(),this.virtualList.refresh()},t.prototype.selectValue=function(e){this.model.selectValue(e),this.updateSelectAll(),this.virtualList.refresh()},t.prototype.isValueSelected=function(e){return this.model.isValueSelected(e)},t.prototype.isEverythingSelected=function(){return this.model.isEverythingSelected()},t.prototype.isNothingSelected=function(){return this.model.isNothingSelected()},t.prototype.getUniqueValueCount=function(){return this.model.getUniqueValueCount()},t.prototype.getUniqueValue=function(e){return this.model.getUniqueValue(e)},t.prototype.serialize=function(){return this.model.getModel()},t.prototype.parse=function(e){this.model.setModel(e),this.updateSelectAll(),this.virtualList.refresh()},t.prototype.resetState=function(){this.setMiniFilter(null),this.model.setModel(null,!0),this.selectEverything()},t}(s.BaseFilter);i([s.QuerySelector(\"#selectAll\"),r(\"design:type\",HTMLInputElement)],d.prototype,\"eSelectAll\",void 0),i([s.QuerySelector(\".ag-filter-filter\"),r(\"design:type\",HTMLInputElement)],d.prototype,\"eMiniFilter\",void 0),t.SetFilter=d;var c=function(){function e(e){this.model=e}return e.prototype.getRowCount=function(){return this.model.getDisplayedValueCount()},e.prototype.getRow=function(e){return this.model.getDisplayedValue(e)},e}()},function(e,t,o){\"use strict\";var n=o(2),i=\"___NULL___\",r=function(){function e(e,t,o,i,r){this.suppressSorting=r,this.colDef=e,this.rowModel=t,this.valueGetter=o,this.doesRowPassOtherFilters=i,this.filterParams=this.colDef.filterParams?this.colDef.filterParams:{},n.Utils.exists(this.filterParams)?(this.usingProvidedSet=n.Utils.exists(this.filterParams.values),this.showingAvailableOnly=!0!==this.filterParams.suppressRemoveEntries):(this.usingProvidedSet=!1,this.showingAvailableOnly=!0),this.createAllUniqueValues(),this.createAvailableUniqueValues(),this.displayedValues=this.availableUniqueValues,this.miniFilter=null,this.selectedValuesMap={},this.selectEverything()}return e.prototype.refreshAfterNewRowsLoaded=function(e,t){this.createAllUniqueValues(),this.createAvailableUniqueValues();var o=Object.keys(this.selectedValuesMap);this.selectedValuesMap={},this.processMiniFilter(),e?this.setModel(o,t):this.selectEverything()},e.prototype.refreshAfterAnyFilterChanged=function(){this.showingAvailableOnly&&(this.createAvailableUniqueValues(),this.processMiniFilter())},e.prototype.createAllUniqueValues=function(){if(this.usingProvidedSet)this.allUniqueValues=n.Utils.toStrings(this.filterParams.values);else{var e=this.getUniqueValues(!1);this.allUniqueValues=n.Utils.toStrings(e)}this.suppressSorting||this.sortValues(this.allUniqueValues)},e.prototype.createAvailableUniqueValues=function(){if(!this.showingAvailableOnly||this.usingProvidedSet)return void(this.availableUniqueValues=this.allUniqueValues);var e=this.getUniqueValues(!0);this.availableUniqueValues=n.Utils.toStrings(e),this.sortValues(this.availableUniqueValues)},e.prototype.sortValues=function(e){this.filterParams&&this.filterParams.comparator?e.sort(this.filterParams.comparator):this.colDef.comparator?e.sort(this.colDef.comparator):e.sort(n.Utils.defaultComparator)},e.prototype.getUniqueValues=function(e){function t(e){n.hasOwnProperty(e)||(i.push(e),n[e]=1)}var o=this,n={},i=[];return this.rowModel.forEachLeafNode?(this.rowModel.forEachLeafNode(function(n){if(!n.group){var i=o.valueGetter(n);if(o.colDef.keyCreator&&(i=o.colDef.keyCreator({value:i})),\"\"!==i&&void 0!==i||(i=null),e&&!o.doesRowPassOtherFilters(n))return;if(null!=i&&Array.isArray(i))for(var r=0;r<i.length;r++)t(i[r]);else t(i)}}),i):(console.error(\"ag-Grid: Set Filter cannot initialise because you are using a row model that does not contain all rows in the browser. Either use a different filter type, or configure Set Filter such that you provide it with values\"),[])},e.prototype.setMiniFilter=function(e){return e=n.Utils.makeNull(e),this.miniFilter!==e&&(this.miniFilter=e,this.processMiniFilter(),!0)},e.prototype.getMiniFilter=function(){return this.miniFilter},e.prototype.processMiniFilter=function(){if(null===this.miniFilter)return void(this.displayedValues=this.availableUniqueValues);this.displayedValues=[];for(var e=this.miniFilter.toUpperCase(),t=0,o=this.availableUniqueValues.length;t<o;t++){var n=this.availableUniqueValues[t];null!==n&&n.toString().toUpperCase().indexOf(e)>=0&&this.displayedValues.push(n)}},e.prototype.getDisplayedValueCount=function(){return this.displayedValues.length},e.prototype.getDisplayedValue=function(e){return this.displayedValues[e]},e.prototype.selectEverything=function(){this.filterParams.selectAllOnMiniFilter?this.selectOn(this.displayedValues):this.selectOn(this.allUniqueValues)},e.prototype.selectOn=function(e){for(var t=e.length,o=0;o<t;o++){var n=e[o],i=this.valueToKey(n);this.selectedValuesMap[i]=null}this.selectedValuesCount=t},e.prototype.valueToKey=function(e){return null===e?i:e},e.prototype.keyToValue=function(e){return e===i?null:e},e.prototype.isFilterActive=function(){return this.allUniqueValues.length!==this.selectedValuesCount},e.prototype.selectNothing=function(){var e=this;this.filterParams.selectAllOnMiniFilter&&this.miniFilter?this.displayedValues.forEach(function(t){return e.unselectValue(t)}):(this.selectedValuesMap={},this.selectedValuesCount=0)},e.prototype.getUniqueValueCount=function(){return this.allUniqueValues.length},e.prototype.getUniqueValue=function(e){return this.allUniqueValues[e]},e.prototype.unselectValue=function(e){var t=this.valueToKey(e);void 0!==this.selectedValuesMap[t]&&(delete this.selectedValuesMap[t],this.selectedValuesCount--)},e.prototype.selectValue=function(e){var t=this.valueToKey(e);void 0===this.selectedValuesMap[t]&&(this.selectedValuesMap[t]=null,this.selectedValuesCount++)},e.prototype.isValueSelected=function(e){var t=this.valueToKey(e);return void 0!==this.selectedValuesMap[t]},e.prototype.isEverythingSelected=function(){var e=this;return this.filterParams.selectAllOnMiniFilter&&this.miniFilter?this.displayedValues.filter(function(t){return e.isValueSelected(t)}).length===this.displayedValues.length:this.allUniqueValues.length===this.selectedValuesCount},e.prototype.isNothingSelected=function(){var e=this;return this.filterParams.selectAllOnMiniFilter&&this.miniFilter?0===this.displayedValues.filter(function(t){return e.isValueSelected(t)}).length:0===this.selectedValuesCount},e.prototype.getModel=function(){var e=this;if(!this.isFilterActive())return null;var t=[];return n.Utils.iterateObject(this.selectedValuesMap,function(o){var n=e.keyToValue(o);t.push(n)}),t},e.prototype.setModel=function(e,t){if(void 0===t&&(t=!1),e&&!t){this.selectNothing();for(var o=0;o<e.length;o++){var n=e[o];this.allUniqueValues.indexOf(n)>=0&&this.selectValue(n)}}else this.selectEverything()},e}();t.SetFilterModel=r},function(e,t,o){\"use strict\";var n=this&&this.__extends||function(e,t){function o(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=o(2),a=function(e){function t(o,n){var i=e.call(this,t.TEMPLATE)||this;return i.value=o,i.cellRenderer=n,i}return n(t,e),t.prototype.init=function(){var e=this;this.render(),this.eCheckbox=this.queryForHtmlInputElement(\"input\"),this.addDestroyableEventListener(this.eCheckbox,\"click\",function(){return e.dispatchEvent(t.EVENT_SELECTED)})},t.prototype.isSelected=function(){return this.eCheckbox.checked},t.prototype.setSelected=function(e){this.eCheckbox.checked=e},t.prototype.render=function(){var e=this.queryForHtmlElement(\".ag-filter-value\");if(this.cellRenderer){var t=this.cellRendererService.useCellRenderer(this.cellRenderer,e,{value:this.value});t&&t.destroy&&this.addDestroyFunc(t.destroy.bind(t))}else{var o=this.gridOptionsWrapper.getLocaleTextFunc(),n=\"(\"+o(\"blanks\",\"Blanks\")+\")\",i=null===this.value?n:this.value;e.innerHTML=i}},t}(s.Component);a.EVENT_SELECTED=\"selected\",a.TEMPLATE='<label class=\"ag-set-filter-item\"><input type=\"checkbox\" class=\"ag-filter-checkbox\"/><span class=\"ag-filter-value\"></span></label>',i([s.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",s.GridOptionsWrapper)],a.prototype,\"gridOptionsWrapper\",void 0),i([s.Autowired(\"cellRendererService\"),r(\"design:type\",s.CellRendererService)],a.prototype,\"cellRendererService\",void 0),i([s.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],a.prototype,\"init\",null),t.SetFilterListItem=a},function(e,t,o){\"use strict\";var n=this&&this.__extends||function(e,t){function o(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=o(2),a=function(e){function t(){var t=e.call(this,null)||this;return t.rowsInBodyContainer={},t.rowHeight=20,t}return n(t,e),t.prototype.init=function(){this.setTemplate(t.TEMPLATE),this.eListContainer=this.queryForHtmlElement(\".ag-virtual-list-container\"),this.addScrollListener()},t.prototype.ensureIndexVisible=function(e){var t=this.model.getRowCount();if(\"number\"!=typeof e||e<0||e>=t)return void console.warn(\"invalid row index for ensureIndexVisible: \"+e);var o=e*this.rowHeight,n=o+this.rowHeight,i=this.getGui().scrollTop,r=this.getGui().offsetHeight,s=i+r,a=i>o,l=s<n;if(a)this.getGui().scrollTop=o;else if(l){var p=n-r;this.getGui().scrollTop=p}},t.prototype.setComponentCreator=function(e){this.componentCreator=e},t.prototype.getRowHeight=function(){return this.rowHeight},t.prototype.getScrollTop=function(){return this.getGui().scrollTop},t.prototype.setRowHeight=function(e){this.rowHeight=e,this.refresh()},t.prototype.refresh=function(){s.Utils.missing(this.model)||(this.eListContainer.style.height=this.model.getRowCount()*this.rowHeight+\"px\",this.clearVirtualRows(),this.drawVirtualRows())},t.prototype.clearVirtualRows=function(){var e=Object.keys(this.rowsInBodyContainer);this.removeVirtualRows(e)},t.prototype.drawVirtualRows=function(){var e=this.getGui().scrollTop,t=e+this.getGui().offsetHeight,o=Math.floor(e/this.rowHeight),n=Math.floor(t/this.rowHeight);this.ensureRowsRendered(o,n)},t.prototype.ensureRowsRendered=function(e,t){for(var o=Object.keys(this.rowsInBodyContainer),n=e;n<=t;n++)if(o.indexOf(n.toString())>=0)o.splice(o.indexOf(n.toString()),1);else if(this.model.getRowCount()>n){var i=this.model.getRow(n);this.insertRow(i,n)}this.removeVirtualRows(o)},t.prototype.removeVirtualRows=function(e){var t=this;e.forEach(function(e){var o=t.rowsInBodyContainer[e];t.eListContainer.removeChild(o.eDiv),o.rowComponent.destroy&&o.rowComponent.destroy(),delete t.rowsInBodyContainer[e]})},t.prototype.insertRow=function(e,t){var o=document.createElement(\"div\");s.Utils.addCssClass(o,\"ag-virtual-list-item\"),o.style.top=this.rowHeight*t+\"px\";var n=this.componentCreator(e);o.appendChild(n.getGui()),this.eListContainer.appendChild(o),this.rowsInBodyContainer[t]={rowComponent:n,eDiv:o}},t.prototype.addScrollListener=function(){var e=this;this.addGuiEventListener(\"scroll\",function(){e.drawVirtualRows()})},t.prototype.setModel=function(e){this.model=e},t}(s.Component);a.TEMPLATE='<div class=\"ag-virtual-list-viewport\"><div class=\"ag-virtual-list-container\"></div></div>',i([s.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],a.prototype,\"init\",null),t.VirtualList=a},function(e,t,o){\"use strict\";var n=this&&this.__extends||function(e,t){function o(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=o(2),a=o(145),l=o(143),p=function(e){function t(){return e.call(this,t.TEMPLATE)||this}return n(t,e),t.prototype.init=function(e){if(this.params=e,this.selectedValue=e.value,this.cellRenderer=e.cellRenderer,this.focusAfterAttached=e.cellStartedEdit,this.virtualList=new l.VirtualList,this.context.wireBean(this.virtualList),this.virtualList.setComponentCreator(this.createRowComponent.bind(this)),this.getGui().querySelector(\".ag-rich-select-list\").appendChild(this.virtualList.getGui()),this.renderSelectedValue(),s.Utils.missing(e.values))return void console.log(\"ag-Grid: richSelectCellEditor requires values for it to work\");var t=e.values;this.virtualList.setModel({getRowCount:function(){return t.length},getRow:function(e){return t[e]}}),this.addGuiEventListener(\"keydown\",this.onKeyDown.bind(this)),this.addDestroyableEventListener(this.virtualList.getGui(),\"click\",this.onClick.bind(this)),this.addDestroyableEventListener(this.virtualList.getGui(),\"mousemove\",this.onMouseMove.bind(this))},t.prototype.onKeyDown=function(e){var t=e.which||e.keyCode;switch(t){case s.Constants.KEY_ENTER:this.onEnterKeyDown();break;case s.Constants.KEY_DOWN:case s.Constants.KEY_UP:this.onNavigationKeyPressed(e,t)}},t.prototype.onEnterKeyDown=function(){this.params.stopEditing()},t.prototype.onNavigationKeyPressed=function(e,t){e.stopPropagation();var o=this.params.values.indexOf(this.selectedValue),n=t===s.Constants.KEY_UP?o-1:o+1;if(n>=0&&n<this.params.values.length){var i=this.params.values[n];this.setSelectedValue(i)}},t.prototype.renderSelectedValue=function(){var e=this.getGui().querySelector(\".ag-rich-select-value\");if(this.cellRenderer){var t=this.cellRendererService.useCellRenderer(this.cellRenderer,e,{value:this.selectedValue});t&&t.destroy&&this.addDestroyFunc(function(){return t.destroy()})}else s.Utils.exists(this.selectedValue)?e.innerHTML=this.selectedValue.toString():e.innerHTML=\"\"},t.prototype.setSelectedValue=function(e){if(this.selectedValue!==e){var t=this.params.values.indexOf(e);t>=0&&(this.selectedValue=e,this.virtualList.ensureIndexVisible(t),this.virtualList.refresh())}},t.prototype.createRowComponent=function(e){var t=new a.RichSelectRow(this.cellRenderer);return this.context.wireBean(t),t.setState(e,e===this.selectedValue),t},t.prototype.onMouseMove=function(e){var t=this.virtualList.getGui().getBoundingClientRect(),o=this.virtualList.getScrollTop(),n=e.clientY-t.top+o,i=Math.floor(n/this.virtualList.getRowHeight()),r=this.params.values[i];null!==r&&void 0!==r&&this.setSelectedValue(r)},t.prototype.onClick=function(){this.params.stopEditing()},t.prototype.afterGuiAttached=function(){var e=this.params.values.indexOf(this.selectedValue);this.virtualList.refresh(),e>=0&&this.virtualList.ensureIndexVisible(e),this.virtualList.refresh(),this.focusAfterAttached&&this.getGui().focus()},t.prototype.getValue=function(){return this.selectedValue},t.prototype.isPopup=function(){return!0},t}(s.Component);p.TEMPLATE='<div class=\"ag-rich-select\" tabindex=\"0\"><div class=\"ag-rich-select-value\"></div><div class=\"ag-rich-select-list\"></div></div>',i([s.Autowired(\"context\"),r(\"design:type\",s.Context)],p.prototype,\"context\",void 0),i([s.Autowired(\"cellRendererService\"),r(\"design:type\",s.CellRendererService)],p.prototype,\"cellRendererService\",void 0),t.RichSelectCellEditor=p},function(e,t,o){\"use strict\";var n=this&&this.__extends||function(e,t){function o(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=o(2),a=function(e){function t(t){var o=e.call(this,'<div class=\"ag-rich-select-row\"></div>')||this;return o.cellRenderer=t,o}return n(t,e),t.prototype.setState=function(e,t){s.Utils.exists(this.cellRenderer)?this.populateWithRenderer(e):this.populateWithoutRenderer(e),s.Utils.addOrRemoveCssClass(this.getGui(),\"ag-rich-select-row-selected\",t)},t.prototype.populateWithoutRenderer=function(e){s.Utils.exists(e)&&\"\"!==e?this.getGui().textContent=e.toString():this.getGui().innerHTML=\"&nbsp;\"},t.prototype.populateWithRenderer=function(e){var t=this.cellRendererService.useCellRenderer(this.cellRenderer,this.getGui(),{value:e});t&&t.destroy&&this.addDestroyFunc(t.destroy.bind(t))},t}(s.Component);i([s.Autowired(\"cellRendererService\"),r(\"design:type\",s.CellRendererService)],a.prototype,\"cellRendererService\",void 0),t.RichSelectRow=a},function(e,t,o){\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},r=o(2),s=o(2),a=o(147),l=p=function(){function e(){}return e.prototype.validateLicense=function(){var e=p.getGridReleaseDate(),t=!1,o=!1,n=null;if(!s.Utils.missingOrEmpty(p.licenseKey)&&p.licenseKey.length>32){var i=p.extractLicenseComponents(p.licenseKey),r=i.md5,a=i.license;r===this.md5.md5(a)&&(n=p.extractExpiry(a),isNaN(n.getTime())||(t=!0,o=e<n))}if(t){if(!o){var l=p.formatDate(n),d=p.formatDate(e);p.outputMessage(\"********************* License not compatible with installed version of ag-Grid Enterprise. *********************\",\"Your license for ag-Grid Enterprise expired on \"+l+\" but the version installed was released on \"+d+\". Please contact accounts@ag-grid.com to renew your license\")}}else p.outputMessage(\"********************************************* Invalid License **************************************************\",\"* Your license for ag-Grid Enterprise is not valid - please contact accounts@ag-grid.com to obtain a valid license. *\")},e.extractExpiry=function(e){var t=e.substring(e.lastIndexOf(\"_\")+1,e.length);return new Date(parseInt(p.decode(t)))},e.extractLicenseComponents=function(e){var t=e.length-32;return{md5:e.substring(t),license:e.substring(0,t)}},e.prototype.getLicenseDetails=function(e){var t,o=p.extractLicenseComponents(e),n=o.md5,i=o.license,r=n===this.md5.md5(i);return r&&(t=p.extractExpiry(i),r=!isNaN(t.getTime())),{licenseKey:e,valid:r,expiry:r?p.formatDate(t):null}},e.outputMessage=function(e,t){console.error(\"****************************************************************************************************************\"),console.error(\"*************************************** ag-Grid Enterprise License *********************************************\"),console.error(e),console.error(t),console.error(\"****************************************************************************************************************\"),console.error(\"****************************************************************************************************************\")},e.formatDate=function(e){var t=[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],o=e.getDate(),n=e.getMonth(),i=e.getFullYear();return o+\" \"+t[n]+\" \"+i},e.getGridReleaseDate=function(){return new Date(parseInt(p.decode(p.RELEASE_INFORMATION)))},e.decode=function(e){for(var t,o,n,i,r,s,a,l=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\",d=\"\",c=0,u=e.replace(/[^A-Za-z0-9+\\/=]/g,\"\");c<u.length;)i=l.indexOf(u.charAt(c++)),r=l.indexOf(u.charAt(c++)),s=l.indexOf(u.charAt(c++)),a=l.indexOf(u.charAt(c++)),t=i<<2|r>>4,o=(15&r)<<4|s>>2,n=(3&s)<<6|a,d+=String.fromCharCode(t),64!=s&&(d+=String.fromCharCode(o)),64!=a&&(d+=String.fromCharCode(n));return d=p.utf8_decode(d)},e.utf8_decode=function(e){e=e.replace(/rn/g,\"n\");for(var t=\"\",o=0;o<e.length;o++){var n=e.charCodeAt(o);n<128?t+=String.fromCharCode(n):n>127&&n<2048?(t+=String.fromCharCode(n>>6|192),t+=String.fromCharCode(63&n|128)):(t+=String.fromCharCode(n>>12|224),t+=String.fromCharCode(n>>6&63|128),t+=String.fromCharCode(63&n|128))}return t},e.setLicenseKey=function(e){p.licenseKey=e},e}();l.RELEASE_INFORMATION=\"MTQ5MDc4OTQ1NzYzMQ==\",n([r.Autowired(\"md5\"),i(\"design:type\",a.MD5)],l.prototype,\"md5\",void 0),l=p=n([r.Bean(\"licenseManager\")],l),t.LicenseManager=l;var p},function(e,t,o){\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},r=o(2),s=function(){function e(){this.ieCompatibility=!1}return e.prototype.init=function(){this.ieCompatibility=\"5d41402abc4b2a76b9719d911017c592\"!=this.md5(\"hello\")},e.prototype.md5cycle=function(e,t){var o=e[0],n=e[1],i=e[2],r=e[3];o=this.ff(o,n,i,r,t[0],7,-680876936),r=this.ff(r,o,n,i,t[1],12,-389564586),i=this.ff(i,r,o,n,t[2],17,606105819),n=this.ff(n,i,r,o,t[3],22,-1044525330),o=this.ff(o,n,i,r,t[4],7,-176418897),r=this.ff(r,o,n,i,t[5],12,1200080426),i=this.ff(i,r,o,n,t[6],17,-1473231341),n=this.ff(n,i,r,o,t[7],22,-45705983),o=this.ff(o,n,i,r,t[8],7,1770035416),r=this.ff(r,o,n,i,t[9],12,-1958414417),i=this.ff(i,r,o,n,t[10],17,-42063),n=this.ff(n,i,r,o,t[11],22,-1990404162),o=this.ff(o,n,i,r,t[12],7,1804603682),r=this.ff(r,o,n,i,t[13],12,-40341101),i=this.ff(i,r,o,n,t[14],17,-1502002290),n=this.ff(n,i,r,o,t[15],22,1236535329),o=this.gg(o,n,i,r,t[1],5,-165796510),r=this.gg(r,o,n,i,t[6],9,-1069501632),i=this.gg(i,r,o,n,t[11],14,643717713),n=this.gg(n,i,r,o,t[0],20,-373897302),o=this.gg(o,n,i,r,t[5],5,-701558691),r=this.gg(r,o,n,i,t[10],9,38016083),i=this.gg(i,r,o,n,t[15],14,-660478335),n=this.gg(n,i,r,o,t[4],20,-405537848),o=this.gg(o,n,i,r,t[9],5,568446438),r=this.gg(r,o,n,i,t[14],9,-1019803690),i=this.gg(i,r,o,n,t[3],14,-187363961),n=this.gg(n,i,r,o,t[8],20,1163531501),o=this.gg(o,n,i,r,t[13],5,-1444681467),r=this.gg(r,o,n,i,t[2],9,-51403784),i=this.gg(i,r,o,n,t[7],14,1735328473),n=this.gg(n,i,r,o,t[12],20,-1926607734),o=this.hh(o,n,i,r,t[5],4,-378558),r=this.hh(r,o,n,i,t[8],11,-2022574463),i=this.hh(i,r,o,n,t[11],16,1839030562),n=this.hh(n,i,r,o,t[14],23,-35309556),o=this.hh(o,n,i,r,t[1],4,-1530992060),r=this.hh(r,o,n,i,t[4],11,1272893353),i=this.hh(i,r,o,n,t[7],16,-155497632),n=this.hh(n,i,r,o,t[10],23,-1094730640),o=this.hh(o,n,i,r,t[13],4,681279174),r=this.hh(r,o,n,i,t[0],11,-358537222),i=this.hh(i,r,o,n,t[3],16,-722521979),n=this.hh(n,i,r,o,t[6],23,76029189),o=this.hh(o,n,i,r,t[9],4,-640364487),r=this.hh(r,o,n,i,t[12],11,-421815835),i=this.hh(i,r,o,n,t[15],16,530742520),n=this.hh(n,i,r,o,t[2],23,-995338651),o=this.ii(o,n,i,r,t[0],6,-198630844),r=this.ii(r,o,n,i,t[7],10,1126891415),i=this.ii(i,r,o,n,t[14],15,-1416354905),n=this.ii(n,i,r,o,t[5],21,-57434055),o=this.ii(o,n,i,r,t[12],6,1700485571),r=this.ii(r,o,n,i,t[3],10,-1894986606),i=this.ii(i,r,o,n,t[10],15,-1051523),n=this.ii(n,i,r,o,t[1],21,-2054922799),o=this.ii(o,n,i,r,t[8],6,1873313359),r=this.ii(r,o,n,i,t[15],10,-30611744),i=this.ii(i,r,o,n,t[6],15,-1560198380),n=this.ii(n,i,r,o,t[13],21,1309151649),o=this.ii(o,n,i,r,t[4],6,-145523070),r=this.ii(r,o,n,i,t[11],10,-1120210379),i=this.ii(i,r,o,n,t[2],15,718787259),n=this.ii(n,i,r,o,t[9],21,-343485551),e[0]=this.add32(o,e[0]),e[1]=this.add32(n,e[1]),e[2]=this.add32(i,e[2]),e[3]=this.add32(r,e[3])},e.prototype.cmn=function(e,t,o,n,i,r){return t=this.add32(this.add32(t,e),this.add32(n,r)),this.add32(t<<i|t>>>32-i,o)},e.prototype.ff=function(e,t,o,n,i,r,s){return this.cmn(t&o|~t&n,e,t,i,r,s)},e.prototype.gg=function(e,t,o,n,i,r,s){return this.cmn(t&n|o&~n,e,t,i,r,s)},e.prototype.hh=function(e,t,o,n,i,r,s){return this.cmn(t^o^n,e,t,i,r,s)},e.prototype.ii=function(e,t,o,n,i,r,s){return this.cmn(o^(t|~n),e,t,i,r,s)},e.prototype.md51=function(e){var t,o=e.length,n=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)this.md5cycle(n,this.md5blk(e.substring(t-64,t)));e=e.substring(t-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<e.length;t++)i[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(i[t>>2]|=128<<(t%4<<3),t>55)for(this.md5cycle(n,i),t=0;t<16;t++)i[t]=0;return i[14]=8*o,this.md5cycle(n,i),n},e.prototype.md5blk=function(e){var t,o=[];for(t=0;t<64;t+=4)o[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return o},e.prototype.rhex=function(e){for(var t=\"0123456789abcdef\".split(\"\"),o=\"\",n=0;n<4;n++)o+=t[e>>8*n+4&15]+t[e>>8*n&15];return o},e.prototype.hex=function(e){for(var t=0;t<e.length;t++)e[t]=this.rhex(e[t]);return e.join(\"\")},e.prototype.md5=function(e){return this.hex(this.md51(e))},e.prototype.add32=function(e,t){return this.ieCompatibility?this.add32Compat(e,t):this.add32Std(e,t)},e.prototype.add32Std=function(e,t){return e+t&4294967295},e.prototype.add32Compat=function(e,t){var o=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(o>>16)<<16|65535&o},e}();n([r.PostConstruct,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],s.prototype,\"init\",null),s=n([r.Bean(\"md5\")],s),t.MD5=s},function(e,t,o){\"use strict\";var n=this&&this.__extends||function(e,t){function o(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=o(2),a=o(149),l=o(133),p=d=function(e){function t(){var t=e.call(this,d.TEMPLATE)||this;return t.aggregationsComponent=new s.Component('<div class=\"ag-status-bar-aggregations\"></div>'),t.infoLabel=new s.Component('<div class=\"ag-status-bar-info-label\"></div>'),t}return n(t,e),t.prototype.init=function(){this.createStatusItems(),this.eventService.addEventListener(s.Events.EVENT_RANGE_SELECTION_CHANGED,this.onRangeSelectionChanged.bind(this))},t.prototype.createStatusItems=function(){var e=this,t=this.gridOptionsWrapper.getLocaleTextFunc();this.statusItemSum=new a.StatusItem(t(\"sum\",\"Sum\")),this.statusItemCount=new a.StatusItem(t(\"count\",\"Count\")),this.statusItemMin=new a.StatusItem(t(\"min\",\"Min\")),this.statusItemMax=new a.StatusItem(t(\"max\",\"Max\")),this.statusItemAvg=new a.StatusItem(t(\"average\",\"Average\")),this.forEachStatusItem(function(t){e.context.wireBean(t),e.aggregationsComponent.appendChild(t),t.setVisible(!1)}),this.appendChild(this.infoLabel),this.appendChild(this.aggregationsComponent)},t.prototype.forEachStatusItem=function(e){[this.statusItemAvg,this.statusItemCount,this.statusItemMin,this.statusItemMax,this.statusItemSum].forEach(e)},t.prototype.onRangeSelectionChanged=function(){var e=this,t=this.rangeController.getCellRanges(),o=0,n=0,i=0,r=null,a=null,l={};s.Utils.missingOrEmpty(t)||t.forEach(function(t){for(var p=t.start.getGridRow(),d=t.end.getGridRow(),c=p.before(d),u=c?p:d,h=c?d:p;;){if(t.columns.forEach(function(t){var p=u.getGridCell(t).createId();if(!l[p]){l[p]=!0;var d=e.getRowNode(u),c=e.valueService.getValue(t,d);s.Utils.missing(c)||\"\"===c||(c.value&&(c=c.value),\"string\"==typeof c&&(c=Number(c)),\"number\"!=typeof c||isNaN(c)||(o+=c,(null===a||c>a)&&(a=c),(null===r||c<r)&&(r=c),i++),n++)}}),u.equals(h))break;u=e.cellNavigationService.getRowBelow(u)}});var p=n>1,d=i>0;p&&this.statusItemCount.setValue(n),this.statusItemCount.setVisible(p),d&&(this.statusItemSum.setValue(o),this.statusItemMin.setValue(r),this.statusItemMax.setValue(a),this.statusItemAvg.setValue(o/i)),this.statusItemSum.setVisible(d),this.statusItemMin.setVisible(d),this.statusItemMax.setVisible(d),this.statusItemAvg.setVisible(d)},t.prototype.getRowNode=function(e){switch(e.floating){case s.Constants.FLOATING_TOP:return this.floatingRowModel.getFloatingTopRowData()[e.rowIndex];case s.Constants.FLOATING_BOTTOM:return this.floatingRowModel.getFloatingBottomRowData()[e.rowIndex];default:return this.rowModel.getRow(e.rowIndex)}},t}(s.Component);p.TEMPLATE='<div class=\"ag-status-bar\"></div>',i([s.Autowired(\"eventService\"),r(\"design:type\",s.EventService)],p.prototype,\"eventService\",void 0),i([s.Autowired(\"rangeController\"),r(\"design:type\",l.RangeController)],p.prototype,\"rangeController\",void 0),i([s.Autowired(\"valueService\"),r(\"design:type\",s.ValueService)],p.prototype,\"valueService\",void 0),i([s.Autowired(\"cellNavigationService\"),r(\"design:type\",s.CellNavigationService)],p.prototype,\"cellNavigationService\",void 0),i([s.Autowired(\"floatingRowModel\"),r(\"design:type\",s.FloatingRowModel)],p.prototype,\"floatingRowModel\",void 0),i([s.Autowired(\"rowModel\"),r(\"design:type\",Object)],p.prototype,\"rowModel\",void 0),i([s.Autowired(\"context\"),r(\"design:type\",s.Context)],p.prototype,\"context\",void 0),i([s.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",s.GridOptionsWrapper)],p.prototype,\"gridOptionsWrapper\",void 0),i([s.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],p.prototype,\"init\",null),p=d=i([s.Bean(\"statusBar\"),r(\"design:paramtypes\",[])],p),t.StatusBar=p;var d},function(e,t,o){\"use strict\";var n=this&&this.__extends||function(e,t){function o(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=o(2),a=function(e){function t(o){var n=e.call(this,t.TEMPLATE)||this;return n.queryForHtmlElement(\"#_label\").innerHTML=o,n}return n(t,e),t.prototype.init=function(){this.lbValue=this.queryForHtmlElement(\"#_value\")},t.prototype.setValue=function(e){this.lbValue.innerHTML=s.Utils.formatNumberTwoDecimalPlacesAndCommas(e)},t}(s.Component);a.TEMPLATE='<span class=\"ag-status-bar-item\">  <span id=\"_label\"></span>  <span id=\"_value\"></span></span>',i([s.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],a.prototype,\"init\",null),t.StatusItem=a},function(e,t,o){\"use strict\";var n=this&&this.__extends||function(e,t){function o(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=o(2),a=o(132),l=o(130),p=o(129),d=o(131),c=function(){function e(){}return e.prototype.init=function(){},e.prototype.getMenuItems=function(e,t,o){var n;if(s.Utils.exists(e)?(n=[\"copy\",\"copyWithHeaders\",\"paste\",\"separator\",\"toolPanel\"],this.rowModel.getType()===s.Constants.ROW_MODEL_TYPE_NORMAL&&n.push(\"export\")):n=[\"toolPanel\"],this.gridOptionsWrapper.getContextMenuItemsFunc()){return this.gridOptionsWrapper.getContextMenuItemsFunc()({node:e,column:t,value:o,defaultItems:n,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext()})}return n},e.prototype.showMenu=function(e,t,o,n){var i=this.getMenuItems(e,t,o);if(!s.Utils.missingOrEmpty(i)){var r=new u(i);this.context.wireBean(r);var a=r.getGui(),l=this.popupService.addAsModalPopup(a,!0,function(){return r.destroy()});this.popupService.positionPopupUnderMouseEvent({mouseEvent:n,ePopup:a}),r.afterGuiAttached(l)}},e}();i([s.Autowired(\"context\"),r(\"design:type\",s.Context)],c.prototype,\"context\",void 0),i([s.Autowired(\"popupService\"),r(\"design:type\",s.PopupService)],c.prototype,\"popupService\",void 0),i([s.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",s.GridOptionsWrapper)],c.prototype,\"gridOptionsWrapper\",void 0),i([s.Autowired(\"rowModel\"),r(\"design:type\",Object)],c.prototype,\"rowModel\",void 0),i([s.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],c.prototype,\"init\",null),c=i([s.Bean(\"contextMenuFactory\")],c),t.ContextMenuFactory=c;var u=function(e){function t(t){var o=e.call(this,'<div class=\"ag-menu\"></div>')||this;return o.menuItems=t,o}return n(t,e),t.prototype.addMenuItems=function(){var e=new p.MenuList;this.context.wireBean(e);var t=this.menuItemMapper.mapWithStockItems(this.menuItems,null);e.addMenuItems(t),this.appendChild(e),e.addEventListener(l.MenuItemComponent.EVENT_ITEM_SELECTED,this.destroy.bind(this))},t.prototype.afterGuiAttached=function(e){this.addDestroyFunc(e),this.addDestroyableEventListener(this.eventService,\"bodyScroll\",this.destroy.bind(this))},t}(s.Component);i([s.Autowired(\"context\"),r(\"design:type\",s.Context)],u.prototype,\"context\",void 0),i([s.Autowired(\"clipboardService\"),r(\"design:type\",a.ClipboardService)],u.prototype,\"clipboardService\",void 0),i([s.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",s.GridOptionsWrapper)],u.prototype,\"gridOptionsWrapper\",void 0),i([s.Autowired(\"gridApi\"),r(\"design:type\",s.GridApi)],u.prototype,\"gridApi\",void 0),i([s.Autowired(\"eventService\"),r(\"design:type\",s.EventService)],u.prototype,\"eventService\",void 0),i([s.Autowired(\"menuItemMapper\"),r(\"design:type\",d.MenuItemMapper)],u.prototype,\"menuItemMapper\",void 0),i([s.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],u.prototype,\"addMenuItems\",null)},function(e,t,o){\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},r=o(2),s=function(){function e(){this.firstRow=-1,this.lastRow=-1,this.rowCount=-1,this.rowNodesByIndex={}}return e.prototype.init=function(){this.rowHeight=this.gridOptionsWrapper.getRowHeightAsNumber(),this.eventService.addEventListener(r.Events.EVENT_VIEWPORT_CHANGED,this.onViewportChanged.bind(this)),this.gridOptionsWrapper.isRowModelViewport()&&this.gridOptionsWrapper.getViewportDatasource()&&this.setViewportDatasource(this.gridOptionsWrapper.getViewportDatasource())},e.prototype.destroy=function(){this.destroyCurrentDatasource()},e.prototype.isLastRowFound=function(){return!0},e.prototype.destroyCurrentDatasource=function(){this.viewportDatasource&&this.viewportDatasource.destroy&&this.viewportDatasource.destroy()},e.prototype.calculateFirstRow=function(e){var t=this.gridOptionsWrapper.getViewportRowModelBufferSize(),o=this.gridOptionsWrapper.getViewportRowModelPageSize(),n=e-t;return n<0?0:Math.floor(n/o)*o},e.prototype.calculateLastRow=function(e){var t=this.gridOptionsWrapper.getViewportRowModelBufferSize(),o=this.gridOptionsWrapper.getViewportRowModelPageSize(),n=e+t,i=Math.ceil(n/o)*o;return i<=this.rowCount?i:this.rowCount},e.prototype.onViewportChanged=function(e){var t=this.calculateFirstRow(e.firstRow),o=this.calculateLastRow(e.lastRow);this.firstRow===t&&this.lastRow===o||(this.firstRow=t,this.lastRow=o,this.purgeRowsNotInViewport(),this.viewportDatasource&&this.viewportDatasource.setViewportRange(this.firstRow,this.lastRow))},e.prototype.purgeRowsNotInViewport=function(){var e=this;Object.keys(this.rowNodesByIndex).forEach(function(t){var o=parseInt(t);(o<e.firstRow||o>e.lastRow)&&delete e.rowNodesByIndex[o]})},e.prototype.setViewportDatasource=function(e){this.destroyCurrentDatasource(),this.viewportDatasource=e,this.rowCount=0,e.init?e.init({setRowCount:this.setRowCount.bind(this),setRowData:this.setRowData.bind(this),getRow:this.getRow.bind(this)}):console.warn(\"ag-Grid: viewport is missing init method.\")},e.prototype.getType=function(){return r.Constants.ROW_MODEL_TYPE_VIEWPORT},e.prototype.getRow=function(e){return this.rowNodesByIndex[e]||(this.rowNodesByIndex[e]=this.createBlankRowNode(e)),this.rowNodesByIndex[e]},e.prototype.getPageFirstRow=function(){return 0},e.prototype.getPageLastRow=function(){return this.rowCount-1},e.prototype.getRowCount=function(){return this.rowCount},e.prototype.getRowIndexAtPixel=function(e){return 0!==this.rowHeight?Math.floor(e/this.rowHeight):0},e.prototype.getRowBounds=function(e){return{rowHeight:this.rowHeight,rowTop:this.rowHeight*e}},e.prototype.getCurrentPageHeight=function(){return this.rowCount*this.rowHeight},e.prototype.isEmpty=function(){return this.rowCount>0},e.prototype.isRowsToRender=function(){return this.rowCount>0},e.prototype.forEachNode=function(e){var t=this,o=0;Object.keys(this.rowNodesByIndex).forEach(function(n){var i=parseInt(n),r=t.rowNodesByIndex[i];e(r,o),o++})},e.prototype.setRowData=function(e){var t=this;r.Utils.iterateObject(e,function(e,o){var n=parseInt(e);if(n>=t.firstRow&&n<=t.lastRow){var i=t.rowNodesByIndex[n];r.Utils.missing(i)&&(i=t.createBlankRowNode(n),t.rowNodesByIndex[n]=i),i.setDataAndId(o,n.toString())}})},e.prototype.createBlankRowNode=function(e){var t=new r.RowNode;return this.context.wireBean(t),t.setRowHeight(this.rowHeight),t.setRowTop(this.rowHeight*e),t.setRowIndex(e),t},e.prototype.setRowCount=function(e){e!==this.rowCount&&(this.rowCount=e,this.eventService.dispatchEvent(r.Events.EVENT_MODEL_UPDATED))},e.prototype.insertItemsAtIndex=function(e,t,o){console.log(\"not yet supported\")},e.prototype.removeItems=function(e,t){console.log(\"not yet supported\")},e.prototype.addItems=function(e,t){console.log(\"not yet supported\")},e.prototype.isRowPresent=function(e){return console.log(\"not yet supported\"),!1},e}();n([r.Autowired(\"gridOptionsWrapper\"),i(\"design:type\",r.GridOptionsWrapper)],s.prototype,\"gridOptionsWrapper\",void 0),n([r.Autowired(\"eventService\"),i(\"design:type\",r.EventService)],s.prototype,\"eventService\",void 0),n([r.Autowired(\"selectionController\"),i(\"design:type\",r.SelectionController)],s.prototype,\"selectionController\",void 0),n([r.Autowired(\"context\"),i(\"design:type\",r.Context)],s.prototype,\"context\",void 0),n([r.PostConstruct,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],s.prototype,\"init\",null),n([r.PreDestroy,i(\"design:type\",Function),i(\"design:paramtypes\",[]),i(\"design:returntype\",void 0)],s.prototype,\"destroy\",null),s=n([r.Bean(\"rowModel\")],s),t.ViewportRowModel=s},function(e,t,o){\"use strict\";var n=this&&this.__extends||function(e,t){function o(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=o(2),a=o(153),l=s.SvgFactory.getInstance(),p=function(e){function t(t){return e.call(this,t,!1,\"pivot\")||this}return n(t,e),t.prototype.passBeansUp=function(){e.prototype.setBeans.call(this,{gridOptionsWrapper:this.gridOptionsWrapper,eventService:this.eventService,context:this.context,loggerFactory:this.loggerFactory,dragAndDropService:this.dragAndDropService});var t=this.gridOptionsWrapper.getLocaleTextFunc(),o=t(\"pivotColumnsEmptyMessage\",\"Drag here to set column labels\"),n=t(\"pivots\",\"Column Labels\");e.prototype.init.call(this,{dragAndDropIcon:s.DragAndDropService.ICON_GROUP,icon:s.Utils.createIconNoSpan(\"pivotPanel\",this.gridOptionsWrapper,null,l.createPivotIcon),emptyMessage:o,title:n}),this.addDestroyableEventListener(this.eventService,s.Events.EVENT_COLUMN_EVERYTHING_CHANGED,this.refresh.bind(this)),this.addDestroyableEventListener(this.eventService,s.Events.EVENT_COLUMN_PIVOT_CHANGED,this.refresh.bind(this)),this.addDestroyableEventListener(this.eventService,s.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED,this.checkVisibility.bind(this)),this.refresh()},t.prototype.refresh=function(){this.checkVisibility(),this.refreshGui()},t.prototype.checkVisibility=function(){var e=this.columnController.isPivotMode();if(this.isHorizontal())switch(this.gridOptionsWrapper.getPivotPanelShow()){case\"always\":this.setVisible(e);break;case\"onlyWhenPivoting\":var t=this.columnController.isPivotActive();this.setVisible(e&&t);break;default:this.setVisible(!1)}else this.setVisible(e)},t.prototype.isColumnDroppable=function(e){if(this.gridOptionsWrapper.isFunctionsReadOnly())return!1;if(!e.isPrimary())return!1;var t=e.isAllowPivot(),o=!e.isPivotActive();return t&&o},t.prototype.updateColumns=function(e){this.gridOptionsWrapper.isFunctionsPassive()?this.eventService.dispatchEvent(s.Events.EVENT_COLUMN_PIVOT_CHANGE_REQUEST,{columns:e}):this.columnController.setPivotColumns(e)},t.prototype.getIconName=function(){return this.isPotentialDndColumns()?s.DragAndDropService.ICON_PIVOT:s.DragAndDropService.ICON_NOT_ALLOWED},t.prototype.getExistingColumns=function(){return this.columnController.getPivotColumns()},t}(a.AbstractColumnDropPanel);i([s.Autowired(\"columnController\"),r(\"design:type\",s.ColumnController)],p.prototype,\"columnController\",void 0),i([s.Autowired(\"eventService\"),r(\"design:type\",s.EventService)],p.prototype,\"eventService\",void 0),i([s.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",s.GridOptionsWrapper)],p.prototype,\"gridOptionsWrapper\",void 0),i([s.Autowired(\"context\"),r(\"design:type\",s.Context)],p.prototype,\"context\",void 0),i([s.Autowired(\"loggerFactory\"),r(\"design:type\",s.LoggerFactory)],p.prototype,\"loggerFactory\",void 0),i([s.Autowired(\"dragAndDropService\"),r(\"design:type\",s.DragAndDropService)],p.prototype,\"dragAndDropService\",void 0),i([s.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],p.prototype,\"passBeansUp\",null),t.PivotColumnsPanel=p},function(e,t,o){\"use strict\";var n=this&&this.__extends||function(e,t){function o(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},i=o(2),r=o(154),s=function(e){function t(o,n,i){var r=e.call(this,'<div class=\"ag-column-drop ag-font-style ag-column-drop-'+(o?\"horizontal\":\"vertical\")+\" ag-column-drop-\"+i+'\"></div>')||this;return r.state=t.STATE_NOT_DRAGGING,r.guiDestroyFunctions=[],r.childColumnComponents=[],r.horizontal=o,r.valueColumn=n,r}return n(t,e),t.prototype.isHorizontal=function(){return this.horizontal},t.prototype.setBeans=function(e){this.beans=e},t.prototype.destroy=function(){this.destroyGui(),e.prototype.destroy.call(this)},t.prototype.destroyGui=function(){this.guiDestroyFunctions.forEach(function(e){return e()}),this.guiDestroyFunctions.length=0,this.childColumnComponents.length=0,i.Utils.removeAllChildren(this.getGui())},t.prototype.init=function(e){this.params=e,this.logger=this.beans.loggerFactory.create(\"AbstractColumnDropPanel\"),this.beans.eventService.addEventListener(i.Events.EVENT_COLUMN_EVERYTHING_CHANGED,this.refreshGui.bind(this)),this.addDestroyableEventListener(this.beans.gridOptionsWrapper,\"functionsReadOnly\",this.refreshGui.bind(this)),this.setupDropTarget(),this.refreshGui()},t.prototype.setupDropTarget=function(){this.dropTarget={getContainer:this.getGui.bind(this),getIconName:this.getIconName.bind(this),onDragging:this.onDragging.bind(this),onDragEnter:this.onDragEnter.bind(this),onDragLeave:this.onDragLeave.bind(this),onDragStop:this.onDragStop.bind(this)},this.beans.dragAndDropService.addDropTarget(this.dropTarget)},t.prototype.checkInsertIndex=function(e){var t;if((t=this.horizontal?this.getNewHorizontalInsertIndex(e):this.getNewVerticalInsertIndex(e))<0)return!1;var o=t!==this.insertIndex;return o&&(this.insertIndex=t),o},t.prototype.getNewHorizontalInsertIndex=function(e){if(i.Utils.missing(e.hDirection))return-1;var t=0,o=e.event,n=this.beans.gridOptionsWrapper.isEnableRtl(),r=e.hDirection===i.HDirection.Left,s=o.clientX;return this.childColumnComponents.forEach(function(e){var o=e.getGui().getBoundingClientRect(),i=r?o.right:o.left;(n?s<=i:s>=i)&&t++}),t},t.prototype.getNewVerticalInsertIndex=function(e){if(i.Utils.missing(e.vDirection))return-1;var t=0,o=e.event;return this.childColumnComponents.forEach(function(n){var r=n.getGui().getBoundingClientRect();if(e.vDirection===i.VDirection.Down){var s=o.clientY>=r.top;s&&t++}else{var s=o.clientY>=r.bottom;s&&t++}}),t},t.prototype.checkDragStartedBySelf=function(e){this.state===t.STATE_NOT_DRAGGING&&(this.state=t.STATE_REARRANGE_COLUMNS,this.potentialDndColumns=e.dragSource.dragItem,this.refreshGui(),this.checkInsertIndex(e),this.refreshGui())},t.prototype.onDragging=function(e){this.checkDragStartedBySelf(e),this.checkInsertIndex(e)&&this.refreshGui()},t.prototype.onDragEnter=function(e){var o=e.dragSource.dragItem;this.state=t.STATE_NEW_COLUMNS_IN;var n=i.Utils.filter(o,this.isColumnDroppable.bind(this));n.length>0&&(this.potentialDndColumns=n,this.checkInsertIndex(e),this.refreshGui())},t.prototype.isPotentialDndColumns=function(){return i.Utils.existsAndNotEmpty(this.potentialDndColumns)},t.prototype.onDragLeave=function(e){if(this.state===t.STATE_REARRANGE_COLUMNS){var o=e.dragSource.dragItem;this.removeColumns(o)}this.potentialDndColumns&&(this.potentialDndColumns=null,this.refreshGui()),this.state=t.STATE_NOT_DRAGGING},t.prototype.onDragStop=function(){if(this.potentialDndColumns){var e=void 0;this.state===t.STATE_NEW_COLUMNS_IN?(this.addColumns(this.potentialDndColumns),e=!0):e=this.rearrangeColumns(this.potentialDndColumns),this.potentialDndColumns=null,this.beans.gridOptionsWrapper.isFunctionsPassive()?e||this.refreshGui():this.refreshGui()}this.state=t.STATE_NOT_DRAGGING},t.prototype.removeColumns=function(e){var t=this.getExistingColumns().slice();e.forEach(function(e){return i.Utils.removeFromArray(t,e)}),this.updateColumns(t)},t.prototype.addColumns=function(e){var t=this.getExistingColumns().slice();i.Utils.insertArrayIntoArray(t,e,this.insertIndex),this.updateColumns(t)},t.prototype.rearrangeColumns=function(e){var t=this.getNonGhostColumns().slice();return i.Utils.insertArrayIntoArray(t,e,this.insertIndex),!i.Utils.shallowCompare(t,this.getExistingColumns())&&(this.updateColumns(t),!0)},t.prototype.refreshGui=function(){this.destroyGui(),this.addIconAndTitleToGui(),this.addEmptyMessageToGui(),this.addColumnsToGui()},t.prototype.getNonGhostColumns=function(){var e=this,t=this.getExistingColumns();return i.Utils.exists(this.potentialDndColumns)?i.Utils.filter(t,function(t){return e.potentialDndColumns.indexOf(t)<0}):t},t.prototype.addColumnsToGui=function(){var e=this,t=this.getNonGhostColumns(),o=[],n=i.Utils.exists(this.potentialDndColumns);t.forEach(function(t,i){if(!(n&&i>=e.insertIndex)){var r=e.createColumnComponent(t,!1);o.push(r)}}),this.potentialDndColumns&&(this.potentialDndColumns.forEach(function(t){var n=e.createColumnComponent(t,!0);o.push(n)}),t.forEach(function(t,n){if(!(n<e.insertIndex)){var i=e.createColumnComponent(t,!1);o.push(i)}})),o.forEach(function(t,o){0!==o&&e.addArrowToGui(),e.getGui().appendChild(t.getGui())})},t.prototype.createColumnComponent=function(e,t){var o=new r.ColumnComponent(e,this.dropTarget,t,this.valueColumn);return o.addEventListener(r.ColumnComponent.EVENT_COLUMN_REMOVE,this.removeColumns.bind(this,[e])),this.beans.context.wireBean(o),this.guiDestroyFunctions.push(function(){return o.destroy()}),t||this.childColumnComponents.push(o),o},t.prototype.addIconAndTitleToGui=function(){var e=this.horizontal&&this.isExistingColumnsEmpty(),t=this.params.icon;if(i.Utils.addCssClass(t,\"ag-column-drop-icon\"),i.Utils.addOrRemoveCssClass(t,\"ag-faded\",e),this.getGui().appendChild(t),!this.horizontal){var o=document.createElement(\"span\");o.innerHTML=this.params.title,i.Utils.addCssClass(o,\"ag-column-drop-title\"),i.Utils.addOrRemoveCssClass(o,\"ag-faded\",e),this.getGui().appendChild(o)}},t.prototype.isExistingColumnsEmpty=function(){return 0===this.getExistingColumns().length},t.prototype.addEmptyMessageToGui=function(){if(this.isExistingColumnsEmpty()&&!this.potentialDndColumns){var e=document.createElement(\"span\");e.innerHTML=this.params.emptyMessage,i.Utils.addCssClass(e,\"ag-column-drop-empty-message\"),this.getGui().appendChild(e)}},t.prototype.addArrowToGui=function(){if(this.horizontal){var e=this.beans.gridOptionsWrapper.isEnableRtl(),o=e?t.CHAR_LEFT_ARROW:t.CHAR_RIGHT_ARROW,n=document.createElement(\"span\");n.innerHTML=o,this.getGui().appendChild(n)}},t}(i.Component);s.STATE_NOT_DRAGGING=\"notDragging\",s.STATE_NEW_COLUMNS_IN=\"newColumnsIn\",s.STATE_REARRANGE_COLUMNS=\"rearrangeColumns\",s.CHAR_LEFT_ARROW=\"&#8592;\",s.CHAR_RIGHT_ARROW=\"&#8594;\",t.AbstractColumnDropPanel=s},function(e,t,o){\"use strict\";var n=this&&this.__extends||function(e,t){function o(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=o(2),a=o(143),l=o(134),p=function(e){function t(t,o,n,i){var r=e.call(this)||this;return r.popupShowing=!1,r.valueColumn=i,r.column=t,r.dragSourceDropTarget=o,r.ghost=n,r}return n(t,e),t.prototype.init=function(){this.setTemplate(t.TEMPLATE),this.displayName=this.columnController.getDisplayNameForColumn(this.column,\"columnDrop\"),this.setupComponents(),this.ghost||this.gridOptionsWrapper.isFunctionsReadOnly()||this.addDragSource()},t.prototype.addDragSource=function(){var e=this,t={type:s.DragSourceType.ToolPanel,eElement:this.eText,dragItem:[this.column],dragItemName:this.displayName,dragSourceDropTarget:this.dragSourceDropTarget};this.dragAndDropService.addDragSource(t,!0),this.addDestroyFunc(function(){return e.dragAndDropService.removeDragSource(t)})},t.prototype.setupComponents=function(){this.setTextValue(),this.setupRemove(),this.ghost&&s.Utils.addCssClass(this.getGui(),\"ag-column-drop-cell-ghost\"),this.valueColumn&&!this.gridOptionsWrapper.isFunctionsReadOnly()&&this.addGuiEventListener(\"click\",this.onShowAggFuncSelection.bind(this))},t.prototype.setupRemove=function(){var e=this;s.Utils.setVisible(this.btRemove,!this.gridOptionsWrapper.isFunctionsReadOnly()),this.addDestroyableEventListener(this.btRemove,\"click\",function(o){e.dispatchEvent(t.EVENT_COLUMN_REMOVE),o.stopPropagation()});var o=new s.TouchListener(this.btRemove);this.addDestroyableEventListener(o,s.TouchListener.EVENT_TAP,function(){e.dispatchEvent(t.EVENT_COLUMN_REMOVE)}),this.addDestroyFunc(o.destroy.bind(o))},t.prototype.setTextValue=function(){var e;if(this.valueColumn){var t=this.column.getAggFunc();e=(\"string\"==typeof t?t:\"agg\")+\"(\"+this.displayName+\")\"}else e=this.displayName;this.eText.innerHTML=e},t.prototype.onShowAggFuncSelection=function(){var e=this;if(!this.popupShowing){this.popupShowing=!0;var t=new a.VirtualList,o=this.aggFuncService.getFuncNames();t.setModel({getRow:function(e){return o[e]},getRowCount:function(){return o.length}}),this.context.wireBean(t);var n=s.Utils.loadTemplate('<div class=\"ag-select-agg-func-popup\"></div>');n.style.top=\"0px\",n.style.left=\"0px\",n.appendChild(t.getGui()),n.style.height=\"100px\",n.style.width=this.getGui().clientWidth+\"px\";var i=function(){t.destroy(),e.popupShowing=!1},r=this.popupService.addAsModalPopup(n,!0,i);t.setComponentCreator(this.createAggSelect.bind(this,r)),this.popupService.positionPopupUnderComponent({eventSource:this.getGui(),ePopup:n,keepWithinBounds:!0}),t.refresh()}},t.prototype.createAggSelect=function(e,t){var o=this;return new d(function(){if(e(),o.gridOptionsWrapper.isFunctionsPassive()){var n={columns:[o.column],aggFunc:t};o.eventService.dispatchEvent(s.Events.EVENT_COLUMN_AGG_FUNC_CHANGE_REQUEST,n)}else o.columnController.setColumnAggFunc(o.column,t)},t.toString())},t}(s.Component);p.EVENT_COLUMN_REMOVE=\"columnRemove\",p.TEMPLATE='<span class=\"ag-column-drop-cell\">\\n          <span class=\"ag-column-drop-cell-text\"></span>\\n          <span class=\"ag-column-drop-cell-button\">&#10006;</span>\\n        </span>',i([s.Autowired(\"dragAndDropService\"),r(\"design:type\",s.DragAndDropService)],p.prototype,\"dragAndDropService\",void 0),i([s.Autowired(\"columnController\"),r(\"design:type\",s.ColumnController)],p.prototype,\"columnController\",void 0),i([s.Autowired(\"gridPanel\"),r(\"design:type\",s.GridPanel)],p.prototype,\"gridPanel\",void 0),i([s.Autowired(\"context\"),r(\"design:type\",s.Context)],p.prototype,\"context\",void 0),i([s.Autowired(\"popupService\"),r(\"design:type\",s.PopupService)],p.prototype,\"popupService\",void 0),i([s.Autowired(\"aggFuncService\"),r(\"design:type\",l.AggFuncService)],p.prototype,\"aggFuncService\",void 0),i([s.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",s.GridOptionsWrapper)],p.prototype,\"gridOptionsWrapper\",void 0),i([s.Autowired(\"eventService\"),r(\"design:type\",s.EventService)],p.prototype,\"eventService\",void 0),i([s.QuerySelector(\".ag-column-drop-cell-text\"),r(\"design:type\",HTMLElement)],p.prototype,\"eText\",void 0),i([s.QuerySelector(\".ag-column-drop-cell-button\"),r(\"design:type\",HTMLElement)],p.prototype,\"btRemove\",void 0),i([s.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],p.prototype,\"init\",null),t.ColumnComponent=p;var d=function(e){function t(t,o){var n=e.call(this,'<div class=\"ag-select-agg-func-item\"/>')||this;return n.getGui().innerText=o,n.value=o,n.addGuiEventListener(\"click\",t),n}return n(t,e),t}(s.Component)},function(e,t,o){\"use strict\";var n=this&&this.__extends||function(e,t){function o(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=o(2),a=o(126),l=o(156),p=o(152),d=o(157),c=o(158),u=h=function(e){function t(){var t=e.call(this,h.TEMPLATE)||this;return t.initialised=!1,t}return n(t,e),t.prototype.setVisible=function(t){e.prototype.setVisible.call(this,t),t&&!this.initialised&&this.init()},t.prototype.init=function(){this.gridOptionsWrapper.isToolPanelSuppressPivotMode()||this.addComponent(new d.PivotModePanel),this.addComponent(new a.ColumnSelectPanel(!0)),this.gridOptionsWrapper.isToolPanelSuppressRowGroups()||this.addComponent(new l.RowGroupColumnsPanel(!1)),this.gridOptionsWrapper.isToolPanelSuppressValues()||this.addComponent(new c.ValuesColumnPanel(!1)),this.gridOptionsWrapper.isToolPanelSuppressPivots()||this.addComponent(new p.PivotColumnsPanel(!1)),this.initialised=!0},t.prototype.addComponent=function(e){this.context.wireBean(e),this.getGui().appendChild(e.getGui()),this.addDestroyFunc(function(){e.destroy()})},t}(s.Component);u.TEMPLATE='<div class=\"ag-tool-panel\"></div>',i([s.Autowired(\"context\"),r(\"design:type\",s.Context)],u.prototype,\"context\",void 0),i([s.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",s.GridOptionsWrapper)],u.prototype,\"gridOptionsWrapper\",void 0),u=h=i([s.Bean(\"toolPanel\"),r(\"design:paramtypes\",[])],u),t.ToolPanelComp=u;var h},function(e,t,o){\"use strict\";var n=this&&this.__extends||function(e,t){function o(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=o(2),a=o(153),l=s.SvgFactory.getInstance(),p=function(e){function t(t){return e.call(this,t,!1,\"row-group\")||this}return n(t,e),t.prototype.passBeansUp=function(){e.prototype.setBeans.call(this,{gridOptionsWrapper:this.gridOptionsWrapper,eventService:this.eventService,context:this.context,loggerFactory:this.loggerFactory,dragAndDropService:this.dragAndDropService});var t=this.gridOptionsWrapper.getLocaleTextFunc(),o=t(\"rowGroupColumnsEmptyMessage\",\"Drag here to set row groups\"),n=t(\"groups\",\"Row Groups\");e.prototype.init.call(this,{dragAndDropIcon:s.DragAndDropService.ICON_GROUP,icon:s.Utils.createIconNoSpan(\"rowGroupPanel\",this.gridOptionsWrapper,null,l.createGroupIcon),emptyMessage:o,title:n}),this.addDestroyableEventListener(this.eventService,s.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,this.refreshGui.bind(this))},t.prototype.isColumnDroppable=function(e){if(this.gridOptionsWrapper.isFunctionsReadOnly())return!1;if(!e.isPrimary())return!1;var t=e.isAllowRowGroup(),o=!e.isRowGroupActive();return t&&o},t.prototype.updateColumns=function(e){this.gridOptionsWrapper.isFunctionsPassive()?this.eventService.dispatchEvent(s.Events.EVENT_COLUMN_ROW_GROUP_CHANGE_REQUEST,{columns:e}):this.columnController.setRowGroupColumns(e)},t.prototype.getIconName=function(){return this.isPotentialDndColumns()?s.DragAndDropService.ICON_GROUP:s.DragAndDropService.ICON_NOT_ALLOWED},t.prototype.getExistingColumns=function(){return this.columnController.getRowGroupColumns()},t}(a.AbstractColumnDropPanel);i([s.Autowired(\"columnController\"),r(\"design:type\",s.ColumnController)],p.prototype,\"columnController\",void 0),i([s.Autowired(\"eventService\"),r(\"design:type\",s.EventService)],p.prototype,\"eventService\",void 0),i([s.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",s.GridOptionsWrapper)],p.prototype,\"gridOptionsWrapper\",void 0),i([s.Autowired(\"context\"),r(\"design:type\",s.Context)],p.prototype,\"context\",void 0),i([s.Autowired(\"loggerFactory\"),r(\"design:type\",s.LoggerFactory)],p.prototype,\"loggerFactory\",void 0),i([s.Autowired(\"dragAndDropService\"),r(\"design:type\",s.DragAndDropService)],p.prototype,\"dragAndDropService\",void 0),i([s.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],p.prototype,\"passBeansUp\",null),t.RowGroupColumnsPanel=p},function(e,t,o){\"use strict\";var n=this&&this.__extends||function(e,t){function o(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=o(2),a=function(e){function t(){return e.call(this)||this}return n(t,e),t.prototype.createTemplate=function(){return'<div class=\"ag-pivot-mode\">\\n                <ag-checkbox class=\"ag-pivot-mode-select\" label=\"'+this.gridOptionsWrapper.getLocaleTextFunc()(\"pivotMode\",\"Pivot Mode\")+'\"></ag-checkbox>\\n            </div>'},t.prototype.init=function(){this.setTemplate(this.createTemplate()),this.instantiate(this.context),this.cbPivotMode.setSelected(this.columnController.isPivotMode()),this.addDestroyableEventListener(this.cbPivotMode,s.AgCheckbox.EVENT_CHANGED,this.onBtPivotMode.bind(this)),this.addDestroyableEventListener(this.eventService,s.Events.EVENT_COLUMN_EVERYTHING_CHANGED,this.onPivotModeChanged.bind(this)),this.addDestroyableEventListener(this.eventService,s.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED,this.onPivotModeChanged.bind(this))},t.prototype.onBtPivotMode=function(){var e=this.cbPivotMode.isSelected();e!==this.columnController.isPivotMode()&&this.columnController.setPivotMode(e)},t.prototype.onPivotModeChanged=function(){var e=this.columnController.isPivotMode();this.cbPivotMode.setSelected(e)},t}(s.Component);i([s.Autowired(\"columnController\"),r(\"design:type\",s.ColumnController)],a.prototype,\"columnController\",void 0),i([s.Autowired(\"eventService\"),r(\"design:type\",s.EventService)],a.prototype,\"eventService\",void 0),i([s.Autowired(\"context\"),r(\"design:type\",s.Context)],a.prototype,\"context\",void 0),i([s.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",s.GridOptionsWrapper)],a.prototype,\"gridOptionsWrapper\",void 0),i([s.QuerySelector(\".ag-pivot-mode-select\"),r(\"design:type\",s.AgCheckbox)],a.prototype,\"cbPivotMode\",void 0),i([s.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],a.prototype,\"init\",null),t.PivotModePanel=a},function(e,t,o){\"use strict\";var n=this&&this.__extends||function(e,t){function o(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=o(2),a=o(153),l=s.SvgFactory.getInstance(),p=function(e){function t(t){return e.call(this,t,!0,\"values\")||this}return n(t,e),t.prototype.passBeansUp=function(){e.prototype.setBeans.call(this,{gridOptionsWrapper:this.gridOptionsWrapper,eventService:this.eventService,context:this.context,loggerFactory:this.loggerFactory,dragAndDropService:this.dragAndDropService});var t=this.gridOptionsWrapper.getLocaleTextFunc(),o=t(\"pivotColumnsEmptyMessage\",\"Drag here to aggregate\"),n=t(\"values\",\"Values\");e.prototype.init.call(this,{dragAndDropIcon:s.DragAndDropService.ICON_AGGREGATE,icon:s.Utils.createIconNoSpan(\"valuePanel\",this.gridOptionsWrapper,null,l.createAggregationIcon),emptyMessage:o,title:n}),this.addDestroyableEventListener(this.eventService,s.Events.EVENT_COLUMN_VALUE_CHANGED,this.refreshGui.bind(this))},t.prototype.getIconName=function(){return this.isPotentialDndColumns()?s.DragAndDropService.ICON_AGGREGATE:s.DragAndDropService.ICON_NOT_ALLOWED},t.prototype.isColumnDroppable=function(e){if(this.gridOptionsWrapper.isFunctionsReadOnly())return!1;if(!e.isPrimary())return!1;var t=e.isAllowValue(),o=!e.isValueActive();return t&&o},t.prototype.updateColumns=function(e){this.gridOptionsWrapper.isFunctionsPassive()?this.eventService.dispatchEvent(s.Events.EVENT_COLUMN_VALUE_CHANGE_REQUEST,{columns:e}):this.columnController.setValueColumns(e)},t.prototype.getExistingColumns=function(){return this.columnController.getValueColumns()},t}(a.AbstractColumnDropPanel);i([s.Autowired(\"columnController\"),r(\"design:type\",s.ColumnController)],p.prototype,\"columnController\",void 0),i([s.Autowired(\"eventService\"),r(\"design:type\",s.EventService)],p.prototype,\"eventService\",void 0),i([s.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",s.GridOptionsWrapper)],p.prototype,\"gridOptionsWrapper\",void 0),i([s.Autowired(\"context\"),r(\"design:type\",s.Context)],p.prototype,\"context\",void 0),i([s.Autowired(\"loggerFactory\"),r(\"design:type\",s.LoggerFactory)],p.prototype,\"loggerFactory\",void 0),i([s.Autowired(\"dragAndDropService\"),r(\"design:type\",s.DragAndDropService)],p.prototype,\"dragAndDropService\",void 0),i([s.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],p.prototype,\"passBeansUp\",null),t.ValuesColumnPanel=p},function(e,t,o){\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},r=o(2),s=o(156),a=function(){function e(){}return e.prototype.create=function(){var e=new s.RowGroupColumnsPanel(!0);return this.context.wireBean(e),e},e}();n([r.Autowired(\"context\"),i(\"design:type\",r.Context)],a.prototype,\"context\",void 0),a=n([r.Bean(\"rowGroupCompFactory\")],a),t.RowGroupCompFactory=a},function(e,t,o){\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},r=o(2),s=o(152),a=function(){function e(){}return e.prototype.create=function(){var e=new s.PivotColumnsPanel(!0);return this.context.wireBean(e),e},e}();n([r.Autowired(\"context\"),i(\"design:type\",r.Context)],a.prototype,\"context\",void 0),a=n([r.Bean(\"pivotCompFactory\")],a),t.PivotCompFactory=a},function(e,t,o){\"use strict\";var n=this&&this.__extends||function(e,t){function o(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=o(2),a=o(2),l=o(2),p=o(2),d=o(162),c=o(2),u=o(2),h=o(2),g=o(2),f=function(e){function t(t,o,n,i,r,s,a,l){var p=e.call(this,t,o,n,i,r,function(e){return u.Utils.escape(e)})||this;return p.excelXmlFactory=s,p.styleLinker=l,p.mixedStyles={},p.mixedStyleCounter=0,p.rows=[],a?(p.styleIds=a.map(function(e){return e.id}),p.excelStyles=a.slice()):(p.styleIds=[],p.excelStyles=[]),p}return n(t,e),t.prototype.addCustomHeader=function(e){throw new Error(\"Custom header not supported for Excel serialization\")},t.prototype.addCustomFooter=function(e){throw new Error(\"Custom footer not supported for Excel serialization\")},t.prototype.prepare=function(e){this.cols=u.Utils.map(e,function(e){return e.getColDef().cellStyle,{width:e.getActualWidth()}})},t.prototype.onNewHeaderGroupingRow=function(){var e=[],t=this;return this.rows.push({cells:e}),{onColumn:function(o,n,i){var r=t.styleLinker(c.RowType.HEADER_GROUPING,1,n,\"grouping-\"+o,null,null);e.push(t.createMergedCell(r.length>0?r[0]:null,d.ExcelDataType.String,o,i))}}},t.prototype.onNewHeaderRow=function(){return this.onNewRow(this.onNewHeaderColumn)},t.prototype.onNewBodyRow=function(){return this.onNewRow(this.onNewBodyColumn)},t.prototype.onNewRow=function(e){var t=[];return this.rows.push({cells:t}),{onColumn:e.bind(this,this.rows.length,t)()}},t.prototype.onNewHeaderColumn=function(e,t){var o=this,n=this;return function(i,r,s){var a=o.extractHeaderValue(i),l=n.styleLinker(c.RowType.HEADER,e,r,a,i,null);t.push(o.createCell(l.length>0?l[0]:null,d.ExcelDataType.String,a))}},t.prototype.parse=function(){var e=[{name:\"ag-grid\",table:{columns:this.cols,rows:this.rows}}];return this.excelXmlFactory.createExcelXml(this.excelStyles,e)},t.prototype.onNewBodyColumn=function(e,t){var o=this,n=this;return function(i,r,s){var a=o.extractRowCellValue(i,r,s),l=n.styleLinker(c.RowType.BODY,e,r,a,i,s),p=null;if(l&&1==l.length)p=l[0];else if(l&&l.length>1){var h=l.join(\"-\");o.mixedStyles[h]||o.addNewMixedStyle(l),p=o.mixedStyles[h].excelID}var g=u.Utils.isNumeric(a)?d.ExcelDataType.Number:d.ExcelDataType.String;t.push(n.createCell(p,g,a))}},t.prototype.addNewMixedStyle=function(e){var t=this;this.mixedStyleCounter+=1;var o=\"mixedStyle\"+this.mixedStyleCounter,n={};e.forEach(function(e){t.excelStyles.forEach(function(t){t.id===e&&u.Utils.mergeDeep(n,t)})}),n.id=o,n.name=o;var i=e.join(\"-\");this.mixedStyles[i]={excelID:o,key:i,result:n},this.excelStyles.push(n),this.styleIds.push(o)},t.prototype.styleExists=function(e){return null!=e&&this.styleIds.indexOf(e)>-1},t.prototype.createCell=function(e,t,o){return{styleId:this.styleExists(e)?e:null,data:{type:t,value:o}}},t.prototype.createMergedCell=function(e,t,o,n){return{styleId:this.styleExists(e)?e:null,data:{type:t,value:o},mergeAcross:n}},t}(c.BaseGridSerializingSession);t.ExcelGridSerializingSession=f;var y=function(){function e(){}return e.prototype.exportDataAsExcel=function(e){var t=e&&e.fileName&&0!==e.fileName.length,o=t?e.fileName:\"export.xls\";-1===o.indexOf(\".\")&&(o+=\".xls\");var n=this.getDataAsExcelXml(e);this.downloader.download(o,n,\"application/vnd.ms-excel\")},e.prototype.getDataAsExcelXml=function(e){return this.gridSerializer.serialize(new f(this.columnController,this.valueService,this.gridOptionsWrapper,e?e.processCellCallback:null,e?e.processHeaderCallback:null,this.excelXmlFactory,this.gridOptions.excelStyles,this.styleLinker.bind(this)),e)},e.prototype.styleLinker=function(e,t,o,n,i,r){if(e===c.RowType.HEADER||e===c.RowType.HEADER_GROUPING)return[\"header\"];if(!this.gridOptions.excelStyles||0===this.gridOptions.excelStyles.length)return null;var s=this.gridOptions.excelStyles.map(function(e){return e.id}),a=[];return this.stylingService.processAllCellClasses(i.getColDef(),{value:n,data:r.data,node:r,colDef:i.getColDef(),rowIndex:t,api:this.gridOptionsWrapper.getApi(),context:this.gridOptionsWrapper.getContext()},function(e){s.indexOf(e)>-1&&a.push(e)}),a.sort(function(e,t){return s.indexOf(e)<s.indexOf(t)?-1:1})},e}();i([l.Autowired(\"excelXmlFactory\"),r(\"design:type\",d.ExcelXmlFactory)],y.prototype,\"excelXmlFactory\",void 0),i([l.Autowired(\"downloader\"),r(\"design:type\",p.Downloader)],y.prototype,\"downloader\",void 0),i([l.Autowired(\"columnController\"),r(\"design:type\",s.ColumnController)],y.prototype,\"columnController\",void 0),i([l.Autowired(\"valueService\"),r(\"design:type\",a.ValueService)],y.prototype,\"valueService\",void 0),i([l.Autowired(\"gridSerializer\"),r(\"design:type\",c.GridSerializer)],y.prototype,\"gridSerializer\",void 0),i([l.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",h.GridOptionsWrapper)],y.prototype,\"gridOptionsWrapper\",void 0),i([l.Autowired(\"gridOptions\"),r(\"design:type\",Object)],y.prototype,\"gridOptions\",void 0),i([l.Autowired(\"stylingService\"),r(\"design:type\",g.StylingService)],y.prototype,\"stylingService\",void 0),y=i([l.Bean(\"excelCreator\")],y),t.ExcelCreator=y},function(e,t,o){\"use strict\";var n=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},r=o(2),s=o(2),a=o(2),l=\"\\r\\n\",p=function(){function e(){}return e.prototype.createExcelXml=function(e,t){var o=this.documentProperties(),n=this.excelWorkbook();return this.excelXmlHeader()+this.xmlFactory.createXml(this.workbook(o,n,e,t),function(e){return e?\"1\":\"0\"})},e.prototype.workbook=function(e,t,o,n){var i=this,r=[e,t,this.stylesXmlElement(o)];return a.Utils.map(n,function(e){return i.worksheetXmlElement(e)}).forEach(function(e){r.push(e)}),{name:\"Workbook\",properties:{prefixedAttributes:[{prefix:\"xmlns:\",map:{o:\"urn:schemas-microsoft-com:office:office\",x:\"urn:schemas-microsoft-com:office:excel\",ss:\"urn:schemas-microsoft-com:office:spreadsheet\",html:\"http://www.w3.org/TR/REC-html40\"}}],rawMap:{xmlns:\"urn:schemas-microsoft-com:office:spreadsheet\"}},children:r}},e.prototype.excelXmlHeader=function(){var e=\"?\";return\"<\"+e+'xml version=\"1.0\"'+e+\">\"+l+\"<\"+e+'mso-application progid=\"Excel.Sheet\"'+e+\">\"+l},e.prototype.stylesXmlElement=function(e){var t=this;return{name:\"Styles\",children:e?a.Utils.map(e,function(e){return t.styleXmlElement(e)}):[]}},e.prototype.styleXmlElement=function(e){var t=[];e.borders&&[e.borders.borderBottom,e.borders.borderLeft,e.borders.borderRight,e.borders.borderTop].forEach(function(e,o){var n=0==o?\"Bottom\":1==o?\"Left\":2==o?\"Right\":\"Top\";t.push({name:\"Border\",properties:{prefixedAttributes:[{prefix:\"ss:\",map:{Position:n,LineStyle:e.lineStyle,Weight:e.weight,Color:e.color}}]}})});var o=[];return e.alignment&&o.push({name:\"Alignment\",properties:{prefixedAttributes:[{prefix:\"ss:\",map:{Vertical:e.alignment.vertical,Horizontal:e.alignment.horizontal,Indent:e.alignment.indent,ReadingOrder:e.alignment.readingOrder,Rotate:e.alignment.rotate,ShrinkToFit:e.alignment.shrinkToFit,VerticalText:e.alignment.verticalText,WrapText:e.alignment.wrapText}}]}}),e.borders&&o.push({name:\"Borders\",children:t}),e.font&&o.push({name:\"Font\",properties:{prefixedAttributes:[{prefix:\"ss:\",map:{Bold:e.font.bold,Italic:e.font.italic,Color:e.font.color,Outline:e.font.outline,Shadow:e.font.shadow,Size:e.font.size,StrikeThrough:e.font.strikeThrough,Underline:e.font.underline,VerticalAlign:e.font.verticalAlign}},{prefix:\"x:\",map:{CharSet:e.font.charSet,Family:e.font.family}}]}}),e.interior&&o.push({name:\"Interior\",properties:{prefixedAttributes:[{prefix:\"ss:\",map:{Color:e.interior.color,Pattern:e.interior.pattern,PatternColor:e.interior.patternColor}}]}}),e.protection&&o.push({name:\"Protection\",properties:{prefixedAttributes:[{prefix:\"ss:\",map:{Protected:e.protection.protected,HideFormula:e.protection.hideFormula}}]}}),e.numberFormat&&o.push({name:\"NumberFormat\",properties:{prefixedAttributes:[{prefix:\"ss:\",map:{Format:e.numberFormat.format}}]}}),{name:\"Style\",properties:{prefixedAttributes:[{prefix:\"ss:\",map:{ID:e.id,Name:e.name?e.name:e.id}}]},children:o}},e.prototype.worksheetXmlElement=function(e){var t=this,o=[];return a.Utils.map(e.table.columns,function(e){return t.columnXmlElement(e)}).forEach(function(e){o.push(e)}),a.Utils.map(e.table.rows,function(e){return t.rowXmlElement(e)}).forEach(function(e){o.push(e)}),{name:\"Worksheet\",children:[{name:\"Table\",children:o}],properties:{prefixedAttributes:[{prefix:\"ss:\",map:{Name:e.name}}]}}},e.prototype.columnXmlElement=function(e){return{name:\"Column\",properties:{prefixedAttributes:[{prefix:\"ss:\",map:{Width:e.width}}]}}},e.prototype.rowXmlElement=function(e){var t=this;return{name:\"Row\",children:a.Utils.map(e.cells,function(e){return t.rowCellXmlElement(e)})}},e.prototype.rowCellXmlElement=function(e){var t={};return e.mergeAcross&&(t.MergeAcross=e.mergeAcross),e.styleId&&(t.StyleID=e.styleId),{name:\"Cell\",properties:{prefixedAttributes:[{prefix:\"ss:\",map:t}]},children:[{name:\"Data\",properties:{prefixedAttributes:[{prefix:\"ss:\",map:{Type:d[e.data.type]}}]},textNode:e.data.value}]}},e.prototype.excelWorkbook=function(){return{name:\"ExcelWorkbook\",properties:{rawMap:{xmlns:\"urn:schemas-microsoft-com:office:excel\"}},children:[{name:\"WindowHeight\",textNode:\"8130\"},{name:\"WindowWidth\",textNode:\"15135\"},{name:\"WindowHeight\",textNode:\"8130\"},{name:\"WindowTopX\",textNode:\"120\"},{name:\"WindowTopY\",textNode:\"45\"},{name:\"ProtectStructure\",textNode:\"False\"},{name:\"ProtectWindow\",textNode:\"False\"}]}},e.prototype.documentProperties=function(){return{name:\"DocumentProperties\",properties:{rawMap:{xmlns:\"urn:schemas-microsoft-com:office:office\"}},children:[{name:\"Version\",textNode:\"12.00\"}]}},e}();n([s.Autowired(\"xmlFactory\"),i(\"design:type\",r.XmlFactory)],p.prototype,\"xmlFactory\",void 0),p=n([s.Bean(\"excelXmlFactory\")],p),t.ExcelXmlFactory=p;var d;!function(e){e[e.String=0]=\"String\",e[e.Number=1]=\"Number\"}(d=t.ExcelDataType||(t.ExcelDataType={}))},function(e,t,o){\"use strict\";var n=this&&this.__extends||function(e,t){function o(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=o(2),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.instanceVersion=0,t}return n(t,e),t.prototype.postConstruct=function(){this.addEventListeners(),this.rowHeight=this.gridOptionsWrapper.getRowHeightAsNumber(),this.datasource=this.gridOptionsWrapper.getEnterpriseDatasource(),this.datasource&&this.reset()},t.prototype.isLastRowFound=function(){return!0},t.prototype.addEventListeners=function(){this.addDestroyableEventListener(this.eventService,s.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,this.onColumnRowGroupChanged.bind(this)),this.addDestroyableEventListener(this.eventService,s.Events.EVENT_ROW_GROUP_OPENED,this.onRowGroupOpened.bind(this)),this.addDestroyableEventListener(this.eventService,s.Events.EVENT_COLUMN_VALUE_CHANGED,this.onValueChanged.bind(this)),this.addDestroyableEventListener(this.eventService,s.Events.EVENT_FILTER_CHANGED,this.onFilterChanged.bind(this)),this.addDestroyableEventListener(this.eventService,s.Events.EVENT_SORT_CHANGED,this.onSortChanged.bind(this))},t.prototype.onFilterChanged=function(){this.reset()},t.prototype.onSortChanged=function(){this.reset()},t.prototype.onValueChanged=function(){this.reset()},t.prototype.onColumnRowGroupChanged=function(){this.reset()},t.prototype.onRowGroupOpened=function(e){var t=e.node;t.expanded&&s._.missing(t.childrenAfterSort)?this.loadNode(t):this.mapAndFireModelUpdated()},t.prototype.reset=function(){this.nextId=0,this.rowsToDisplay=null,this.instanceVersion++,this.rootNode=new s.RowNode,this.rootNode.group=!0,this.rootNode.level=-1,this.context.wireBean(this.rootNode),this.datasource&&this.loadNode(this.rootNode),this.eventService.dispatchEvent(s.Events.EVENT_ROW_DATA_CHANGED),this.eventService.dispatchEvent(s.Events.EVENT_MODEL_UPDATED)},t.prototype.setDatasource=function(e){this.datasource=e,this.reset()},t.prototype.loadNode=function(e){var t=this,o=this.createLoadParams(e);e.setLoading(!0),setTimeout(function(){t.datasource.getRows(o)},0)},t.prototype.createGroupKeys=function(e){for(var t=[],o=e;o.level>=0;)t.push(o.key),o=o.parent;return t.reverse(),t},t.prototype.createLoadParams=function(e){var t=this.createGroupKeys(e),o=this.toValueObjects(this.columnController.getRowGroupColumns()),n=this.toValueObjects(this.columnController.getValueColumns()),i={rowGroupCols:o,valueCols:n,groupKeys:t,filterModel:this.filterManager.getFilterModel(),sortModel:this.sortController.getSortModel()};return{successCallback:this.successCallback.bind(this,this.instanceVersion,e),failCallback:this.failCallback.bind(this,this.instanceVersion,e),request:i}},t.prototype.toValueObjects=function(e){var t=this;return e.map(function(e){return{id:e.getId(),aggFunc:e.getAggFunc(),displayName:t.columnController.getDisplayNameForColumn(e,\"model\"),field:e.getColDef().field}})},t.prototype.successCallback=function(e,t,o){var n=this;if(e===this.instanceVersion){var i=this.columnController.getRowGroupColumns(),r=t.level+1,a=i.length>r,l=a?i[r].getColDef().field:null;t.setLoading(!1),t.childrenAfterSort=[],o&&o.forEach(function(e){var o=new s.RowNode;n.context.wireBean(o),o.group=a,o.level=r,o.parent=t,o.setDataAndId(e,n.nextId.toString()),a&&(o.expanded=!1,o.field=l,o.key=e[l]),t.childrenAfterSort.push(o),n.nextId++}),this.mapAndFireModelUpdated()}},t.prototype.mapAndFireModelUpdated=function(){this.doRowsToDisplay(),this.doSetRowTop();var e={animate:!0,keepRenderedRows:!0,newData:!1,newPage:!1};this.eventService.dispatchEvent(s.Events.EVENT_MODEL_UPDATED,e)},t.prototype.failCallback=function(e,t){e!==this.instanceVersion||t.setLoading(!1)},t.prototype.getRowBounds=function(e){return{rowHeight:this.rowHeight,rowTop:this.rowHeight*e}},t.prototype.doSetRowTop=function(){var e=0;this.rowsToDisplay.forEach(function(t){t.setRowTop(e),e+=t.rowHeight})},t.prototype.getRow=function(e){return this.rowsToDisplay[e]},t.prototype.getPageFirstRow=function(){return 0},t.prototype.getPageLastRow=function(){return this.rowsToDisplay?this.rowsToDisplay.length-1:0},t.prototype.getRowCount=function(){return this.rowsToDisplay?this.rowsToDisplay.length:0},t.prototype.getRowIndexAtPixel=function(e){return 0!==this.rowHeight?Math.floor(e/this.rowHeight):0},t.prototype.getCurrentPageHeight=function(){return this.getPageLastRow()*this.rowHeight},t.prototype.isEmpty=function(){return s._.missing(this.rootNode)},t.prototype.isRowsToRender=function(){return!!this.rowsToDisplay&&this.rowsToDisplay.length>0},t.prototype.getType=function(){return s.Constants.ROW_MODEL_TYPE_ENTERPRISE},t.prototype.doRowsToDisplay=function(){this.rowsToDisplay=this.flattenStage.execute({rowNode:this.rootNode})},t.prototype.forEachNode=function(e){console.log(\"forEachNode not supported in enterprise row model\")},t.prototype.insertItemsAtIndex=function(e,t,o){console.log(\"insertItemsAtIndex not supported in enterprise row model\")},t.prototype.removeItems=function(e,t){console.log(\"removeItems not supported in enterprise row model\")},t.prototype.addItems=function(e,t){console.log(\"addItems not supported in enterprise row model\")},t.prototype.isRowPresent=function(e){return console.log(\"isRowPresent not supported in enterprise row model\"),!1},t}(s.BeanStub);i([s.Autowired(\"gridOptionsWrapper\"),r(\"design:type\",s.GridOptionsWrapper)],a.prototype,\"gridOptionsWrapper\",void 0),i([s.Autowired(\"eventService\"),r(\"design:type\",s.EventService)],a.prototype,\"eventService\",void 0),i([s.Autowired(\"context\"),r(\"design:type\",s.Context)],a.prototype,\"context\",void 0),i([s.Autowired(\"flattenStage\"),r(\"design:type\",s.FlattenStage)],a.prototype,\"flattenStage\",void 0),i([s.Autowired(\"columnController\"),r(\"design:type\",s.ColumnController)],a.prototype,\"columnController\",void 0),i([s.Autowired(\"filterManager\"),r(\"design:type\",s.FilterManager)],a.prototype,\"filterManager\",void 0),i([s.Autowired(\"sortController\"),r(\"design:type\",s.SortController)],a.prototype,\"sortController\",void 0),i([s.PostConstruct,r(\"design:type\",Function),r(\"design:paramtypes\",[]),r(\"design:returntype\",void 0)],a.prototype,\"postConstruct\",null),a=i([s.Bean(\"rowModel\")],a),t.EnterpriseRowModel=a},function(e,t,o){\"use strict\";function n(e){e.AggFuncService=F.AggFuncService,e.MD5=_.MD5,e.EnterpriseMenu=f.EnterpriseMenu,e.MenuList=v.MenuList,e.MenuItemComponent=y.MenuItemComponent,e.RichSelectCellEditor=b.RichSelectCellEditor,e.RichSelectRow=R.RichSelectRow,e.VirtualList=A.VirtualList,e.AggregationStage=a.AggregationStage,e.GroupStage=l.GroupStage,e.PivotColDefService=T.PivotColDefService,e.PivotStage=D.PivotStage,e.SetFilter=p.SetFilter,e.SetFilterListItem=G.SetFilterListItem,e.SetFilterModel=d.SetFilterModel,e.StatusBar=c.StatusBar,e.StatusItem=u.StatusItem,e.AbstractColumnDropPanel=S.AbstractColumnDropPanel,e.ColumnComponent=M.ColumnComponent,e.PivotColumnsPanel=O.PivotColumnsPanel,e.PivotModePanel=N.PivotModePanel,e.RowGroupColumnsPanel=C.RowGroupColumnsPanel,e.ValuesColumnPanel=I.ValuesColumnPanel,e.ToolPanelComp=x.ToolPanelComp,e.ColumnSelectPanel=i.ColumnSelectPanel,e.RenderedColumn=r.RenderedColumn,e.RenderedGroup=s.RenderedGroup,e.ViewportRowModel=w.ViewportRowModel,e.ClipboardService=h.ClipboardService,e.ContextMenuFactory=E.ContextMenuFactory,e.EnterpriseBoot=g.EnterpriseBoot,e.LicenseManager=P.LicenseManager,e.PivotCompFactory=L.PivotCompFactory,e.ExcelCreator=V.ExcelCreator,e.ExcelXmlFactory=U.ExcelXmlFactory,e.RangeController=m.RangeController,e.RowGroupCompFactory=W.RowGroupCompFactory}var i=o(126),r=o(128),s=o(127),a=o(136),l=o(135),p=o(140),d=o(141),c=o(148),u=o(149),h=o(132),g=o(139),f=o(125),y=o(130),v=o(129),m=o(133),C=o(156),E=o(150),w=o(151),b=o(144),R=o(145),A=o(143),S=o(153),O=o(152),x=o(155),P=o(146),D=o(137),T=o(138),N=o(157),F=o(134),_=o(147),G=o(142),M=o(154),I=o(158),L=o(160),W=o(159),V=o(161),U=o(162);t.populateClientExports=n},function(e,t,o){var n=o(166);\"string\"==typeof n&&(n=[[e.id,n,\"\"]]);o(168)(n,{});n.locals&&(e.exports=n.locals)},function(e,t,o){t=e.exports=o(167)(),t.push([e.id,'ag-grid-angular {\\n  display: inline-block;\\n}\\nag-grid-ng2 {\\n  display: inline-block;\\n}\\n.ag-rtl {\\n  direction: rtl;\\n}\\n.ag-ltr {\\n  direction: ltr;\\n}\\n.ag-select-agg-func-popup {\\n  position: absolute;\\n}\\n.ag-body-no-select {\\n  -webkit-user-select: none;\\n  -moz-user-select: none;\\n  -ms-user-select: none;\\n  user-select: none;\\n}\\n.ag-root {\\n/* set to relative, so absolute popups appear relative to this */\\n  position: relative;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n/* was getting some \\'should be there\\' scrolls, this sorts it out */\\n  overflow: hidden;\\n}\\n.ag-font-style {\\n  cursor: default;\\n/* disable user mouse selection */\\n  -webkit-user-select: none;\\n  -moz-user-select: none;\\n  -ms-user-select: none;\\n  user-select: none;\\n}\\n.ag-no-scrolls {\\n  white-space: nowrap;\\n  display: inline-block;\\n}\\n.ag-scrolls {\\n  height: 100%;\\n}\\n.ag-popup-backdrop {\\n  position: fixed;\\n  left: 0px;\\n  top: 0px;\\n  width: 100%;\\n  height: 100%;\\n}\\n.ag-header {\\n  position: absolute;\\n  top: 0px;\\n  left: 0px;\\n  white-space: nowrap;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  overflow: hidden;\\n  width: 100%;\\n}\\n.ag-pinned-left-header {\\n  float: left;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  display: inline-block;\\n  overflow: hidden;\\n  height: 100%;\\n}\\n.ag-pinned-right-header {\\n  float: right;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  display: inline-block;\\n  overflow: hidden;\\n  height: 100%;\\n}\\n.ag-header-viewport {\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  overflow: hidden;\\n  height: 100%;\\n}\\n.ag-scrolls .ag-header-row {\\n  position: absolute;\\n}\\n.ag-scrolls .ag-header-container {\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  position: relative;\\n  white-space: nowrap;\\n  height: 100%;\\n}\\n.ag-no-scrolls .ag-header-container {\\n  white-space: nowrap;\\n}\\n.ag-header-overlay {\\n  display: block;\\n  position: absolute;\\n}\\n.ag-header-cell {\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  vertical-align: bottom;\\n  text-align: center;\\n  display: inline-block;\\n  height: 100%;\\n  position: absolute;\\n}\\n.ag-floating-filter {\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  position: absolute;\\n  display: inline-block;\\n}\\n.ag-floating-filter-body {\\n  margin-right: 25px;\\n  height: 20px;\\n}\\n.ag-floating-filter-full-body {\\n  width: 100%;\\n  height: 20px;\\n}\\n.ag-floating-filter-button {\\n  width: 25px;\\n  height: 20px;\\n  float: right;\\n  margin-top: -20px;\\n}\\n.ag-floating-filter-button button {\\n  width: 25px;\\n  height: 19px;\\n  padding: 0;\\n}\\n.ag-floating-filter-input {\\n  width: 100%;\\n}\\n.ag-floating-filter-input:read-only {\\n  background-color: #eee;\\n}\\n.ag-floating-filter-menu {\\n  position: absolute;\\n  -webkit-user-select: none;\\n  -moz-user-select: none;\\n  -ms-user-select: none;\\n  user-select: none;\\n}\\n.ag-dnd-ghost {\\n  font-size: 14px;\\n  font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\\n  position: absolute;\\n  background: #e5e5e5;\\n  border: 1px solid #000;\\n  cursor: move;\\n  -webkit-user-select: none;\\n  -moz-user-select: none;\\n  -ms-user-select: none;\\n  user-select: none;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  overflow: hidden;\\n  -o-text-overflow: ellipsis;\\n  text-overflow: ellipsis;\\n  padding: 3px;\\n  line-height: 1.4;\\n}\\n.ag-dnd-ghost-icon {\\n  display: inline-block;\\n  float: left;\\n  padding-left: 2px;\\n  padding-right: 2px;\\n}\\n.ag-dnd-ghost-label {\\n  display: inline-block;\\n}\\n.ag-header-group-cell {\\n  height: 100%;\\n  display: inline-block;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  -o-text-overflow: ellipsis;\\n  text-overflow: ellipsis;\\n  overflow: hidden;\\n  position: absolute;\\n}\\n.ag-header-group-cell-label {\\n  -o-text-overflow: ellipsis;\\n  text-overflow: ellipsis;\\n  overflow: hidden;\\n}\\n.ag-header-cell-label {\\n  -o-text-overflow: ellipsis;\\n  text-overflow: ellipsis;\\n  overflow: hidden;\\n}\\n.ag-header-cell-resize {\\n  height: 100%;\\n  width: 4px;\\n  cursor: col-resize;\\n}\\n.ag-ltr .ag-header-cell-resize {\\n  float: right;\\n}\\n.ag-ltr .ag-pinned-right-header .ag-header-cell-resize {\\n  float: left;\\n}\\n.ag-rtl .ag-header-cell-resize {\\n  float: left;\\n}\\n.ag-rtl .ag-pinned-left-header .ag-header-cell-resize {\\n  float: right;\\n}\\n.ag-ltr .ag-header-select-all {\\n  float: left;\\n}\\n.ag-rtl .ag-header-select-all {\\n  float: right;\\n}\\n.ag-header-expand-icon {\\n  padding-left: 4px;\\n}\\n.ag-header-cell-menu-button {\\n  float: right;\\n}\\n.ag-overlay-panel {\\n  display: table;\\n  width: 100%;\\n  height: 100%;\\n  pointer-events: none;\\n}\\n.ag-overlay-wrapper {\\n  display: table-cell;\\n  vertical-align: middle;\\n  text-align: center;\\n}\\n.ag-bl-overlay {\\n  pointer-events: none;\\n  position: absolute;\\n  height: 100%;\\n  width: 100%;\\n  top: 0px;\\n  left: 0px;\\n}\\n.ag-bl-full-height {\\n  height: 100%;\\n  overflow: auto;\\n  position: relative;\\n}\\n.ag-bl-full-height-west {\\n  height: 100%;\\n  float: left;\\n}\\n.ag-bl-full-height-east {\\n  height: 100%;\\n  float: right;\\n}\\n.ag-bl-full-height-center {\\n  height: 100%;\\n}\\n.ag-bl-normal {\\n  height: 100%;\\n  position: relative;\\n}\\n.ag-bl-normal-center-row {\\n  height: 100%;\\n  overflow: hidden;\\n}\\n.ag-bl-normal-west {\\n  height: 100%;\\n  float: left;\\n}\\n.ag-bl-normal-east {\\n  height: 100%;\\n  float: right;\\n}\\n.ag-bl-normal-center {\\n  height: 100%;\\n}\\n.ag-bl-dont-fill {\\n  position: relative;\\n}\\n.ag-body {\\n  height: 100%;\\n  width: 100%;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  position: absolute;\\n}\\n.ag-floating-top {\\n  position: absolute;\\n  left: 0px;\\n  width: 100%;\\n  white-space: nowrap;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  overflow: hidden;\\n}\\n.ag-pinned-left-floating-top {\\n  float: left;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  display: inline-block;\\n  overflow: hidden;\\n  height: 100%;\\n  position: relative;\\n}\\n.ag-pinned-right-floating-top {\\n  float: right;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  display: inline-block;\\n  overflow: hidden;\\n  height: 100%;\\n  position: relative;\\n}\\n.ag-floating-top-viewport {\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  overflow: hidden;\\n  height: 100%;\\n}\\n.ag-floating-top-container {\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  position: relative;\\n  white-space: nowrap;\\n}\\n.ag-floating-bottom {\\n  position: absolute;\\n  left: 0px;\\n  width: 100%;\\n  white-space: nowrap;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  overflow: hidden;\\n}\\n.ag-pinned-left-floating-bottom {\\n  float: left;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  display: inline-block;\\n  overflow: hidden;\\n  height: 100%;\\n  position: relative;\\n}\\n.ag-pinned-right-floating-bottom {\\n  float: right;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  display: inline-block;\\n  overflow: hidden;\\n  height: 100%;\\n  position: relative;\\n}\\n.ag-floating-bottom-viewport {\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  overflow: hidden;\\n  height: 100%;\\n}\\n.ag-floating-bottom-container {\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  position: relative;\\n  white-space: nowrap;\\n}\\n.ag-pinned-left-cols-viewport {\\n  float: left;\\n}\\n.ag-pinned-left-cols-container {\\n  display: inline-block;\\n  position: relative;\\n}\\n.ag-pinned-right-cols-viewport {\\n  float: right;\\n}\\n.ag-ltr .ag-pinned-right-cols-viewport {\\n  overflow-x: hidden;\\n  overflow-y: auto;\\n}\\n.ag-ltr .ag-pinned-left-cols-viewport {\\n  overflow: hidden;\\n}\\n.ag-rtl .ag-pinned-right-cols-viewport {\\n  overflow: hidden;\\n}\\n.ag-rtl .ag-pinned-left-cols-viewport {\\n  overflow-x: hidden;\\n  overflow-y: auto;\\n}\\n.ag-pinned-right-cols-container {\\n  display: inline-block;\\n  position: relative;\\n}\\n.ag-body-viewport-wrapper {\\n  height: 100%;\\n}\\n.ag-body-viewport {\\n  overflow-x: auto;\\n  overflow-y: auto;\\n  height: 100%;\\n}\\n.ag-full-width-viewport {\\n  height: 100%;\\n  width: 100%;\\n  position: absolute;\\n  top: 0px;\\n  left: 0px;\\n  display: inline;\\n  pointer-events: none;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  overflow: hidden;\\n}\\n.ag-full-width-container {\\n  overflow: hidden;\\n  position: relative;\\n  width: 100%;\\n}\\n.ag-floating-bottom-full-width-container {\\n  height: 100%;\\n  width: 100%;\\n  position: absolute;\\n  top: 0px;\\n  left: 0px;\\n  pointer-events: none;\\n  overflow: hidden;\\n  display: inline;\\n}\\n.ag-floating-top-full-width-container {\\n  height: 100%;\\n  width: 100%;\\n  position: absolute;\\n  top: 0px;\\n  left: 0px;\\n  pointer-events: none;\\n  overflow: hidden;\\n  display: inline;\\n}\\n.ag-full-width-row {\\n  pointer-events: all;\\n  overflow: hidden;\\n}\\n.ag-scrolls .ag-body-container {\\n  position: relative;\\n  display: inline-block;\\n}\\n.ag-row-animation {\\n  -webkit-transition: top 0.4s, height 0.4s, background-color 0.1s, opacity 0.2s;\\n  -moz-transition: top 0.4s, height 0.4s, background-color 0.1s, opacity 0.2s;\\n  -o-transition: top 0.4s, height 0.4s, background-color 0.1s, opacity 0.2s;\\n  -ms-transition: top 0.4s, height 0.4s, background-color 0.1s, opacity 0.2s;\\n  transition: top 0.4s, height 0.4s, background-color 0.1s, opacity 0.2s;\\n}\\n.ag-row-no-animation {\\n  -webkit-transition: background-color 0.1s;\\n  -moz-transition: background-color 0.1s;\\n  -o-transition: background-color 0.1s;\\n  -ms-transition: background-color 0.1s;\\n  transition: background-color 0.1s;\\n}\\n.ag-row {\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n}\\n.ag-scrolls .ag-row {\\n  white-space: nowrap;\\n  position: absolute;\\n  width: 100%;\\n}\\n.ag-no-scrolls .ag-row {\\n  position: relative;\\n}\\n.ag-column-moving .ag-cell {\\n  -webkit-transition: left 0.2s;\\n  -moz-transition: left 0.2s;\\n  -o-transition: left 0.2s;\\n  -ms-transition: left 0.2s;\\n  transition: left 0.2s;\\n}\\n.ag-column-moving .ag-header-cell {\\n  -webkit-transition: left 0.2s;\\n  -moz-transition: left 0.2s;\\n  -o-transition: left 0.2s;\\n  -ms-transition: left 0.2s;\\n  transition: left 0.2s;\\n}\\n.ag-column-moving .ag-header-group-cell {\\n  -webkit-transition: left 0.2s, width 0.2s;\\n  -moz-transition: left 0.2s, width 0.2s;\\n  -o-transition: left 0.2s, width 0.2s;\\n  -ms-transition: left 0.2s, width 0.2s;\\n  transition: left 0.2s, width 0.2s;\\n}\\n.ag-column-drop {\\n  width: 100%;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n}\\n.ag-column-drop-vertical .ag-column-drop-cell {\\n  display: block;\\n}\\n.ag-column-drop-vertical .ag-column-drop-empty-message {\\n  display: block;\\n}\\n.ag-column-drop-vertical .ag-column-drop-cell-button {\\n  line-height: 16px;\\n}\\n.ag-ltr .ag-column-drop-vertical .ag-column-drop-cell-button {\\n  float: right;\\n}\\n.ag-rtl .ag-column-drop-vertical .ag-column-drop-cell-button {\\n  float: left;\\n}\\n.ag-column-drop-horizontal {\\n  white-space: nowrap;\\n}\\n.ag-column-drop-horizontal .ag-column-drop-cell {\\n  display: inline-block;\\n}\\n.ag-column-drop-horizontal .ag-column-drop-empty-message {\\n  display: inline-block;\\n}\\n.ag-cell {\\n  display: inline-block;\\n  white-space: nowrap;\\n  height: 100%;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  -o-text-overflow: ellipsis;\\n  text-overflow: ellipsis;\\n  overflow: hidden;\\n  position: absolute;\\n}\\n.ag-value-slide-out {\\n  opacity: 1;\\n  -ms-filter: none;\\n  filter: none;\\n  margin-right: 5px;\\n  -webkit-transition: opacity 3s, margin-right 3s;\\n  -moz-transition: opacity 3s, margin-right 3s;\\n  -o-transition: opacity 3s, margin-right 3s;\\n  -ms-transition: opacity 3s, margin-right 3s;\\n  transition: opacity 3s, margin-right 3s;\\n  -webkit-transition-timing-function: linear;\\n  -moz-transition-timing-function: linear;\\n  -o-transition-timing-function: linear;\\n  -ms-transition-timing-function: linear;\\n  transition-timing-function: linear;\\n}\\n.ag-value-slide-out-end {\\n  opacity: 0;\\n  -ms-filter: \"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)\";\\n  filter: alpha(opacity=0);\\n  margin-right: 10px;\\n}\\n.ag-opacity-zero {\\n  opacity: 0;\\n  -ms-filter: \"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)\";\\n  filter: alpha(opacity=0);\\n}\\n.ag-cell-edit-input {\\n  width: 100%;\\n  height: 100%;\\n}\\n.ag-group-cell-entire-row {\\n  width: 100%;\\n  display: inline-block;\\n  white-space: nowrap;\\n  height: 100%;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  -o-text-overflow: ellipsis;\\n  text-overflow: ellipsis;\\n  overflow: hidden;\\n}\\n.ag-footer-cell-entire-row {\\n  width: 100%;\\n  display: inline-block;\\n  white-space: nowrap;\\n  height: 100%;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  -o-text-overflow: ellipsis;\\n  text-overflow: ellipsis;\\n  overflow: hidden;\\n}\\n.ag-large .ag-root {\\n  font-size: 20px;\\n}\\n.ag-popup-editor {\\n  position: absolute;\\n  -webkit-user-select: none;\\n  -moz-user-select: none;\\n  -ms-user-select: none;\\n  user-select: none;\\n}\\n.ag-menu {\\n  position: absolute;\\n  -webkit-user-select: none;\\n  -moz-user-select: none;\\n  -ms-user-select: none;\\n  user-select: none;\\n}\\n.ag-menu-column-select-wrapper {\\n  width: 200px;\\n  height: 300px;\\n  overflow: auto;\\n}\\n.ag-menu-list {\\n  display: table;\\n  border-collapse: collapse;\\n}\\n.ag-menu-option {\\n  display: table-row;\\n}\\n.ag-menu-option-text {\\n  display: table-cell;\\n}\\n.ag-menu-option-shortcut {\\n  display: table-cell;\\n}\\n.ag-menu-option-icon {\\n  display: table-cell;\\n}\\n.ag-menu-option-popup-pointer {\\n  display: table-cell;\\n}\\n.ag-menu-separator {\\n  display: table-row;\\n}\\n.ag-menu-separator-cell {\\n  display: table-cell;\\n}\\n.ag-virtual-list-viewport {\\n  overflow-x: auto;\\n  height: 100%;\\n  width: 100%;\\n}\\n.ag-virtual-list-container {\\n  position: relative;\\n  overflow: hidden;\\n}\\n.ag-rich-select {\\n  outline: none;\\n}\\n.ag-rich-select-row {\\n  white-space: nowrap;\\n}\\n.ag-rich-select-list {\\n  width: 200px;\\n  height: 200px;\\n}\\n.ag-set-filter-list {\\n  width: 200px;\\n  height: 200px;\\n}\\n.ag-set-filter-item {\\n  -o-text-overflow: ellipsis;\\n  text-overflow: ellipsis;\\n  overflow: hidden;\\n  white-space: nowrap;\\n}\\n.ag-virtual-list-item {\\n  position: absolute;\\n  width: 100%;\\n}\\n.ag-filter-filter {\\n  width: 170px;\\n  margin: 4px;\\n}\\n.ag-floating-filter-body input {\\n  width: 100%;\\n  margin: 0;\\n  height: 19px;\\n}\\n.ag-floating-filter-full-body input {\\n  width: 100%;\\n  margin: 0;\\n  height: 19px;\\n}\\n.ag-filter-select {\\n  width: 110px;\\n  margin: 4px 4px 0px 4px;\\n}\\n.ag-no-vertical-scroll .ag-scrolls {\\n  height: unset;\\n}\\n.ag-no-vertical-scroll .ag-body {\\n  height: unset;\\n}\\n.ag-no-vertical-scroll .ag-body-viewport-wrapper {\\n  height: unset;\\n}\\n.ag-no-vertical-scroll .ag-body-viewport {\\n  height: unset;\\n}\\n.ag-list-selection {\\n  -webkit-user-select: none;\\n  -moz-user-select: none;\\n  -ms-user-select: none;\\n  user-select: none;\\n  cursor: default;\\n}\\n.ag-tool-panel {\\n  width: 200px;\\n  -webkit-user-select: none;\\n  -moz-user-select: none;\\n  -ms-user-select: none;\\n  user-select: none;\\n  cursor: default;\\n  height: 100%;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  overflow: auto;\\n}\\n.ag-column-select-indent {\\n  display: inline-block;\\n}\\n.ag-column-select-column {\\n  white-space: nowrap;\\n}\\n.ag-ltr .ag-column-select-column {\\n  margin-left: 14px;\\n}\\n.ag-rtl .ag-column-select-column {\\n  margin-right: 14px;\\n}\\n.ag-column-select-column-group {\\n  white-space: nowrap;\\n}\\n.ag-hidden {\\n  display: none !important;\\n}\\n.ag-visibility-hidden {\\n  visibility: hidden !important;\\n}\\n.ag-faded {\\n  opacity: 0.3;\\n  -ms-filter: \"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)\";\\n  filter: alpha(opacity=30);\\n}\\n.ag-width-half {\\n  width: 50%;\\n  display: inline-block;\\n}\\n.ag-shake-left-to-right {\\n  -webkit-animation-name: ag-shake-left-to-right;\\n  -moz-animation-name: ag-shake-left-to-right;\\n  -o-animation-name: ag-shake-left-to-right;\\n  -ms-animation-name: ag-shake-left-to-right;\\n  animation-name: ag-shake-left-to-right;\\n  -webkit-animation-duration: 0.2s;\\n  -moz-animation-duration: 0.2s;\\n  -o-animation-duration: 0.2s;\\n  -ms-animation-duration: 0.2s;\\n  animation-duration: 0.2s;\\n  -webkit-animation-iteration-count: infinite;\\n  -moz-animation-iteration-count: infinite;\\n  -o-animation-iteration-count: infinite;\\n  -ms-animation-iteration-count: infinite;\\n  animation-iteration-count: infinite;\\n  -webkit-animation-direction: alternate;\\n  -moz-animation-direction: alternate;\\n  -o-animation-direction: alternate;\\n  -ms-animation-direction: alternate;\\n  animation-direction: alternate;\\n}\\n@-moz-keyframes ag-shake-left-to-right {\\n  from {\\n    padding-left: 6px;\\n    padding-right: 2px;\\n  }\\n  to {\\n    padding-left: 2px;\\n    padding-right: 6px;\\n  }\\n}\\n@-webkit-keyframes ag-shake-left-to-right {\\n  from {\\n    padding-left: 6px;\\n    padding-right: 2px;\\n  }\\n  to {\\n    padding-left: 2px;\\n    padding-right: 6px;\\n  }\\n}\\n@-o-keyframes ag-shake-left-to-right {\\n  from {\\n    padding-left: 6px;\\n    padding-right: 2px;\\n  }\\n  to {\\n    padding-left: 2px;\\n    padding-right: 6px;\\n  }\\n}\\n@keyframes ag-shake-left-to-right {\\n  from {\\n    padding-left: 6px;\\n    padding-right: 2px;\\n  }\\n  to {\\n    padding-left: 2px;\\n    padding-right: 6px;\\n  }\\n}\\n',\"\"])},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var o=this[t];o[2]?e.push(\"@media \"+o[2]+\"{\"+o[1]+\"}\"):e.push(o[1])}return e.join(\"\")},e.i=function(t,o){\"string\"==typeof t&&(t=[[null,t,\"\"]]);for(var n={},i=0;i<this.length;i++){var r=this[i][0];\"number\"==typeof r&&(n[r]=!0)}for(i=0;i<t.length;i++){var s=t[i];\"number\"==typeof s[0]&&n[s[0]]||(o&&!s[2]?s[2]=o:o&&(s[2]=\"(\"+s[2]+\") and (\"+o+\")\"),e.push(s))}},e}},function(e,t,o){function n(e,t){for(var o=0;o<e.length;o++){var n=e[o],i=h[n.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](n.parts[r]);for(;r<n.parts.length;r++)i.parts.push(p(n.parts[r],t))}else{for(var s=[],r=0;r<n.parts.length;r++)s.push(p(n.parts[r],t));h[n.id]={id:n.id,refs:1,parts:s}}}}function i(e){for(var t=[],o={},n=0;n<e.length;n++){var i=e[n],r=i[0],s=i[1],a=i[2],l=i[3],p={css:s,media:a,sourceMap:l};o[r]?o[r].parts.push(p):t.push(o[r]={id:r,parts:[p]})}return t}function r(e,t){var o=y(),n=C[C.length-1];if(\"top\"===e.insertAt)n?n.nextSibling?o.insertBefore(t,n.nextSibling):o.appendChild(t):o.insertBefore(t,o.firstChild),C.push(t);else{if(\"bottom\"!==e.insertAt)throw new Error(\"Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.\");o.appendChild(t)}}function s(e){e.parentNode.removeChild(e);var t=C.indexOf(e);t>=0&&C.splice(t,1)}function a(e){var t=document.createElement(\"style\");return t.type=\"text/css\",r(e,t),t}function l(e){var t=document.createElement(\"link\");return t.rel=\"stylesheet\",r(e,t),t}function p(e,t){var o,n,i;if(t.singleton){var r=m++;o=v||(v=a(t)),n=d.bind(null,o,r,!1),i=d.bind(null,o,r,!0)}else e.sourceMap&&\"function\"==typeof URL&&\"function\"==typeof URL.createObjectURL&&\"function\"==typeof URL.revokeObjectURL&&\"function\"==typeof Blob&&\"function\"==typeof btoa?(o=l(t),n=u.bind(null,o),i=function(){s(o),o.href&&URL.revokeObjectURL(o.href)}):(o=a(t),n=c.bind(null,o),i=function(){s(o)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else i()}}function d(e,t,o,n){var i=o?\"\":n.css;if(e.styleSheet)e.styleSheet.cssText=E(t,i);else{var r=document.createTextNode(i),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(r,s[t]):e.appendChild(r)}}function c(e,t){var o=t.css,n=t.media;t.sourceMap;if(n&&e.setAttribute(\"media\",n),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}function u(e,t){var o=t.css,n=(t.media,t.sourceMap);n&&(o+=\"\\n/*# sourceMappingURL=data:application/json;base64,\"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+\" */\");var i=new Blob([o],{type:\"text/css\"}),r=e.href;e.href=URL.createObjectURL(i),r&&URL.revokeObjectURL(r)}var h={},g=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}},f=g(function(){return/msie [6-9]\\b/.test(window.navigator.userAgent.toLowerCase())}),y=g(function(){return document.head||document.getElementsByTagName(\"head\")[0]}),v=null,m=0,C=[];e.exports=function(e,t){t=t||{},void 0===t.singleton&&(t.singleton=f()),void 0===t.insertAt&&(t.insertAt=\"bottom\");var o=i(e);return n(o,t),function(e){for(var r=[],s=0;s<o.length;s++){var a=o[s],l=h[a.id];l.refs--,r.push(l)}if(e){n(i(e),t)}for(var s=0;s<r.length;s++){var l=r[s];if(0===l.refs){for(var p=0;p<l.parts.length;p++)l.parts[p]();delete h[l.id]}}}};var E=function(){var e=[];return function(t,o){return e[t]=o,e.filter(Boolean).join(\"\\n\")}}()},function(e,t,o){var n=o(170);\"string\"==typeof n&&(n=[[e.id,n,\"\"]]);o(168)(n,{});n.locals&&(e.exports=n.locals)},function(e,t,o){t=e.exports=o(167)(),t.push([e.id,'.ag-fresh {\\n  line-height: 1.4;\\n  font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\\n  font-size: 14px;\\n  color: #222;\\n/* this is for the rowGroupPanel, that appears along the top of the grid */\\n/* this is for the column drops that appear in the toolPanel */\\n}\\n.ag-fresh img {\\n  vertical-align: middle;\\n  border: 0;\\n}\\n.ag-fresh .ag-root {\\n  border: 1px solid #808080;\\n}\\n.ag-fresh .ag-cell-not-inline-editing {\\n  padding: 2px;\\n}\\n.ag-fresh .ag-cell-range-selected-1:not(.ag-cell-focus) {\\n  background-color: rgba(120,120,120,0.4);\\n}\\n.ag-fresh .ag-cell-range-selected-2:not(.ag-cell-focus) {\\n  background-color: rgba(80,80,80,0.4);\\n}\\n.ag-fresh .ag-cell-range-selected-3:not(.ag-cell-focus) {\\n  background-color: rgba(40,40,40,0.4);\\n}\\n.ag-fresh .ag-cell-range-selected-4:not(.ag-cell-focus) {\\n  background-color: rgba(0,0,0,0.4);\\n}\\n.ag-fresh .ag-cell-focus {\\n  border: 1px solid #a9a9a9;\\n}\\n.ag-fresh .ag-cell-no-focus {\\n  border-top: 1px solid transparent;\\n  border-bottom: 1px solid transparent;\\n}\\n.ag-fresh .ag-ltr .ag-cell-no-focus {\\n  border-right: 1px dotted #808080;\\n  border-left: 1px solid transparent;\\n}\\n.ag-fresh .ag-rtl .ag-cell-no-focus {\\n  border-right: 1px solid transparent;\\n  border-left: 1px dotted #808080;\\n}\\n.ag-fresh .ag-rtl .ag-cell-first-right-pinned {\\n  border-left: 1px solid #808080;\\n}\\n.ag-fresh .ag-ltr .ag-cell-first-right-pinned {\\n  border-left: 1px solid #808080;\\n}\\n.ag-fresh .ag-rtl .ag-cell-last-left-pinned {\\n  border-right: 1px solid #808080;\\n}\\n.ag-fresh .ag-ltr .ag-cell-last-left-pinned {\\n  border-right: 1px solid #808080;\\n}\\n.ag-fresh .ag-cell-highlight {\\n  border: 1px solid #006400;\\n}\\n.ag-fresh .ag-cell-highlight-animation {\\n  -webkit-transition: border 1s;\\n  -moz-transition: border 1s;\\n  -o-transition: border 1s;\\n  -ms-transition: border 1s;\\n  transition: border 1s;\\n}\\n.ag-fresh .ag-value-change-delta {\\n  padding-right: 2px;\\n}\\n.ag-fresh .ag-value-change-delta-up {\\n  color: #006400;\\n}\\n.ag-fresh .ag-value-change-delta-down {\\n  color: #8b0000;\\n}\\n.ag-fresh .ag-value-change-value {\\n  background-color: transparent;\\n  border-radius: 1px;\\n  padding-left: 1px;\\n  padding-right: 1px;\\n  -webkit-transition: background-color 1s;\\n  -moz-transition: background-color 1s;\\n  -o-transition: background-color 1s;\\n  -ms-transition: background-color 1s;\\n  transition: background-color 1s;\\n}\\n.ag-fresh .ag-value-change-value-highlight {\\n  background-color: #cec;\\n  -webkit-transition: background-color 0.1s;\\n  -moz-transition: background-color 0.1s;\\n  -o-transition: background-color 0.1s;\\n  -ms-transition: background-color 0.1s;\\n  transition: background-color 0.1s;\\n}\\n.ag-fresh .ag-rich-select {\\n  font-size: 14px;\\n  border: 1px solid #808080;\\n  background-color: #fff;\\n}\\n.ag-fresh .ag-rich-select-value {\\n  padding: 2px;\\n}\\n.ag-fresh .ag-rich-select-list {\\n  border-top: 1px solid #d3d3d3;\\n}\\n.ag-fresh .ag-rich-select-row {\\n  padding: 2px;\\n}\\n.ag-fresh .ag-rich-select-row-selected {\\n  background-color: #bde2e5;\\n}\\n.ag-fresh .ag-large-text {\\n  border: 1px solid #808080;\\n}\\n.ag-fresh .ag-header-select-all {\\n  padding: 5px 0px 0px 3px;\\n  line-height: 0;\\n}\\n.ag-fresh .ag-header {\\n  color: #000;\\n  background: -webkit-linear-gradient(#fff, #d3d3d3);\\n  background: -moz-linear-gradient(#fff, #d3d3d3);\\n  background: -o-linear-gradient(#fff, #d3d3d3);\\n  background: -ms-linear-gradient(#fff, #d3d3d3);\\n  background: linear-gradient(#fff, #d3d3d3);\\n  border-bottom: 1px solid #808080;\\n  font-weight: normal;\\n}\\n.ag-fresh .ag-header-icon {\\n  color: #000;\\n  stroke: none;\\n  fill: #000;\\n}\\n.ag-fresh .ag-no-scrolls .ag-header-container {\\n  background: -webkit-linear-gradient(#fff, #d3d3d3);\\n  background: -moz-linear-gradient(#fff, #d3d3d3);\\n  background: -o-linear-gradient(#fff, #d3d3d3);\\n  background: -ms-linear-gradient(#fff, #d3d3d3);\\n  background: linear-gradient(#fff, #d3d3d3);\\n  border-bottom: 1px solid #808080;\\n}\\n.ag-fresh .ag-ltr .ag-header-cell {\\n  border-right: 1px solid #808080;\\n}\\n.ag-fresh .ag-rtl .ag-header-cell {\\n  border-left: 1px solid #808080;\\n}\\n.ag-fresh .ag-header-cell-moving .ag-header-cell-label {\\n  opacity: 0.5;\\n  -ms-filter: \"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)\";\\n  filter: alpha(opacity=50);\\n}\\n.ag-fresh .ag-header-cell-moving {\\n  background-color: #bebebe;\\n}\\n.ag-fresh .ag-ltr .ag-header-group-cell {\\n  border-right: 1px solid #808080;\\n}\\n.ag-fresh .ag-rtl .ag-header-group-cell {\\n  border-left: 1px solid #808080;\\n}\\n.ag-fresh .ag-header-group-cell-with-group {\\n  border-bottom: 1px solid #808080;\\n}\\n.ag-fresh .ag-header-cell-label {\\n  padding: 4px 2px 4px 2px;\\n}\\n.ag-fresh .ag-header-cell-text {\\n  padding-left: 2px;\\n}\\n.ag-fresh .ag-header-group-cell-label {\\n  padding: 4px;\\n}\\n.ag-fresh .ag-ltr .ag-header-group-cell-label {\\n  padding-left: 10px;\\n}\\n.ag-fresh .ag-rtl .ag-header-group-cell-label {\\n  padding-right: 10px;\\n}\\n.ag-fresh .ag-rtl .ag-header-group-text {\\n  margin-left: 2px;\\n}\\n.ag-fresh .ag-ltr .ag-header-group-text {\\n  margin-right: 2px;\\n}\\n.ag-fresh .ag-header-cell-menu-button {\\n  padding: 2px;\\n  margin-top: 4px;\\n  margin-left: 1px;\\n  margin-right: 1px;\\n  border: 1px solid transparent;\\n  border-radius: 3px;\\n  -webkit-box-sizing: content-box /* When using bootstrap, box-sizing was set to \\'border-box\\' */;\\n  -moz-box-sizing: content-box /* When using bootstrap, box-sizing was set to \\'border-box\\' */;\\n  box-sizing: content-box /* When using bootstrap, box-sizing was set to \\'border-box\\' */;\\n  line-height: 0px /* normal line height, a space was appearing below the menu button */;\\n}\\n.ag-fresh .ag-ltr .ag-pinned-right-header {\\n  border-left: 1px solid #808080;\\n}\\n.ag-fresh .ag-rtl .ag-pinned-left-header {\\n  border-right: 1px solid #808080;\\n}\\n.ag-fresh .ag-header-cell-menu-button:hover {\\n  border: 1px solid #808080;\\n}\\n.ag-fresh .ag-body {\\n  background-color: #f6f6f6;\\n}\\n.ag-fresh .ag-row-odd {\\n  background-color: #f6f6f6;\\n}\\n.ag-fresh .ag-row-even {\\n  background-color: #fff;\\n}\\n.ag-fresh .ag-row-selected {\\n  background-color: #b0e0e6;\\n}\\n.ag-fresh .ag-floating-top .ag-row {\\n  background-color: #f0f0f0;\\n}\\n.ag-fresh .ag-floating-bottom .ag-row {\\n  background-color: #f0f0f0;\\n}\\n.ag-fresh .ag-overlay-loading-wrapper {\\n  background-color: rgba(255,255,255,0.5);\\n}\\n.ag-fresh .ag-overlay-loading-center {\\n  background-color: #fff;\\n  border: 1px solid #808080;\\n  border-radius: 10px;\\n  padding: 10px;\\n  color: #000;\\n}\\n.ag-fresh .ag-overlay-no-rows-center {\\n  background-color: #fff;\\n  border: 1px solid #808080;\\n  border-radius: 10px;\\n  padding: 10px;\\n}\\n.ag-fresh .ag-group-cell-entire-row {\\n  background-color: #f6f6f6;\\n  padding: 2px;\\n}\\n.ag-fresh .ag-footer-cell-entire-row {\\n  background-color: #f6f6f6;\\n  padding: 2px;\\n}\\n.ag-fresh .ag-group-cell {\\n  font-style: italic;\\n}\\n.ag-fresh .ag-ltr .ag-group-expanded {\\n  padding-right: 4px;\\n}\\n.ag-fresh .ag-rtl .ag-group-expanded {\\n  padding-left: 4px;\\n}\\n.ag-fresh .ag-ltr .ag-group-contracted {\\n  padding-right: 4px;\\n}\\n.ag-fresh .ag-rtl .ag-group-contracted {\\n  padding-left: 4px;\\n}\\n.ag-fresh .ag-ltr .ag-group-loading {\\n  padding-right: 4px;\\n}\\n.ag-fresh .ag-rtl .ag-group-loading {\\n  padding-left: 4px;\\n}\\n.ag-fresh .ag-ltr .ag-group-value {\\n  padding-right: 2px;\\n}\\n.ag-fresh .ag-rtl .ag-group-value {\\n  padding-left: 2px;\\n}\\n.ag-fresh .ag-ltr .ag-group-checkbox {\\n  padding-right: 2px;\\n}\\n.ag-fresh .ag-rtl .ag-group-checkbox {\\n  padding-left: 2px;\\n}\\n.ag-fresh .ag-group-child-count {\\n  display: inline-block;\\n}\\n.ag-fresh .ag-footer-cell {\\n  font-style: italic;\\n}\\n.ag-fresh .ag-menu {\\n  border: 1px solid #808080;\\n  background-color: #f6f6f6;\\n  cursor: default;\\n  font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\\n  font-size: 14px;\\n}\\n.ag-fresh .ag-menu .ag-tab-header {\\n  background-color: #e6e6e6;\\n}\\n.ag-fresh .ag-menu .ag-tab {\\n  padding: 6px 8px 6px 8px;\\n  margin: 2px 2px 0px 2px;\\n  display: inline-block;\\n  border-right: 1px solid transparent;\\n  border-left: 1px solid transparent;\\n  border-top: 1px solid transparent;\\n  border-top-right-radius: 2px;\\n  border-top-left-radius: 2px;\\n}\\n.ag-fresh .ag-menu .ag-tab-selected {\\n  background-color: #f6f6f6;\\n  border-right: 1px solid #d3d3d3;\\n  border-left: 1px solid #d3d3d3;\\n  border-top: 1px solid #d3d3d3;\\n}\\n.ag-fresh .ag-menu-separator {\\n  border-top: 1px solid #d3d3d3;\\n}\\n.ag-fresh .ag-menu-option-active {\\n  background-color: #bde2e5;\\n}\\n.ag-fresh .ag-menu-option-icon {\\n  padding: 2px 4px 2px 4px;\\n  vertical-align: middle;\\n}\\n.ag-fresh .ag-menu-option-text {\\n  padding: 2px 4px 2px 4px;\\n  vertical-align: middle;\\n}\\n.ag-fresh .ag-menu-option-shortcut {\\n  padding: 2px 2px 2px 2px;\\n  vertical-align: middle;\\n}\\n.ag-fresh .ag-menu-option-popup-pointer {\\n  padding: 2px 4px 2px 4px;\\n  vertical-align: middle;\\n}\\n.ag-fresh .ag-menu-option-disabled {\\n  opacity: 0.5;\\n  -ms-filter: \"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)\";\\n  filter: alpha(opacity=50);\\n}\\n.ag-fresh .ag-menu-column-select-wrapper {\\n  margin: 2px;\\n}\\n.ag-fresh .ag-filter-checkbox {\\n  position: relative;\\n  top: 2px;\\n  left: 2px;\\n}\\n.ag-fresh .ag-filter-header-container {\\n  border-bottom: 1px solid #d3d3d3;\\n}\\n.ag-fresh .ag-filter-apply-panel {\\n  border-top: 1px solid #d3d3d3;\\n  padding: 2px;\\n}\\n.ag-fresh .ag-filter-value {\\n  margin-left: 4px;\\n}\\n.ag-fresh .ag-ltr .ag-selection-checkbox {\\n  padding-right: 4px;\\n}\\n.ag-fresh .ag-rtl .ag-selection-checkbox {\\n  padding-left: 4px;\\n}\\n.ag-fresh .ag-paging-panel {\\n  padding: 4px;\\n}\\n.ag-fresh .ag-paging-button {\\n  margin-left: 4px;\\n  margin-right: 4px;\\n}\\n.ag-fresh .ag-paging-row-summary-panel {\\n  display: inline-block;\\n  width: 300px;\\n}\\n.ag-fresh .ag-tool-panel {\\n  background-color: #f6f6f6;\\n  border-bottom: 1px solid #808080;\\n  border-top: 1px solid #808080;\\n  color: #222;\\n}\\n.ag-fresh .ltr .ag-tool-panel {\\n  border-right: 1px solid #808080;\\n}\\n.ag-fresh .rtl .ag-tool-panel {\\n  border-left: 1px solid #808080;\\n}\\n.ag-fresh .ag-status-bar {\\n  color: #222;\\n  background-color: #f6f6f6;\\n  font-size: 14px;\\n  height: 22px;\\n  border-bottom: 1px solid #808080;\\n  border-left: 1px solid #808080;\\n  border-right: 1px solid #808080;\\n  padding: 2px;\\n}\\n.ag-fresh .ag-status-bar-aggregations {\\n  float: right;\\n}\\n.ag-fresh .ag-status-bar-item {\\n  padding-left: 10px;\\n}\\n.ag-fresh .ag-column-drop-cell {\\n  background: -webkit-linear-gradient(#fff, #d3d3d3);\\n  background: -moz-linear-gradient(#fff, #d3d3d3);\\n  background: -o-linear-gradient(#fff, #d3d3d3);\\n  background: -ms-linear-gradient(#fff, #d3d3d3);\\n  background: linear-gradient(#fff, #d3d3d3);\\n  color: #000;\\n  border: 1px solid #808080;\\n}\\n.ag-fresh .ag-column-drop-cell-ghost {\\n  opacity: 0.5;\\n  -ms-filter: \"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)\";\\n  filter: alpha(opacity=50);\\n}\\n.ag-fresh .ag-column-drop-cell-text {\\n  padding-left: 2px;\\n  padding-right: 2px;\\n}\\n.ag-fresh .ag-column-drop-cell-button {\\n  border: 1px solid transparent;\\n  padding-left: 2px;\\n  padding-right: 2px;\\n  border-radius: 3px;\\n}\\n.ag-fresh .ag-column-drop-cell-button:hover {\\n  border: 1px solid #808080;\\n}\\n.ag-fresh .ag-column-drop-empty-message {\\n  padding-left: 2px;\\n  padding-right: 2px;\\n  color: #808080;\\n}\\n.ag-fresh .ag-column-drop-icon {\\n  margin: 3px;\\n}\\n.ag-fresh .ag-column-drop {\\n  background-color: #f6f6f6;\\n}\\n.ag-fresh .ag-column-drop-horizontal {\\n  padding: 2px;\\n  border-top: 1px solid #808080;\\n  border-left: 1px solid #808080;\\n  border-right: 1px solid #808080;\\n}\\n.ag-fresh .ag-column-drop-vertical {\\n  padding: 4px 4px 10px 4px;\\n  border-bottom: 1px solid #808080;\\n}\\n.ag-fresh .ag-column-drop-vertical .ag-column-drop-cell {\\n  margin-top: 2px;\\n}\\n.ag-fresh .ag-column-drop-vertical .ag-column-drop-empty-message {\\n  text-align: center;\\n  padding: 5px;\\n}\\n.ag-fresh .ag-pivot-mode {\\n  border-bottom: 1px solid #808080;\\n  padding: 4px;\\n  background-color: #f6f6f6;\\n}\\n.ag-fresh .ag-tool-panel .ag-column-select-panel {\\n  border-bottom: 1px solid #808080;\\n}\\n.ag-fresh .ag-select-agg-func-popup {\\n  cursor: default;\\n  position: absolute;\\n  font-size: 14px;\\n  background-color: #fff;\\n  border: 1px solid #808080;\\n}\\n.ag-fresh .ag-select-agg-func-item {\\n  padding-left: 2px;\\n  padding-right: 2px;\\n}\\n.ag-fresh .ag-select-agg-func-item:hover {\\n  background-color: #bde2e5;\\n}\\n',\"\"])},function(e,t,o){var n=o(172);\"string\"==typeof n&&(n=[[e.id,n,\"\"]]);o(168)(n,{});n.locals&&(e.exports=n.locals)},function(e,t,o){t=e.exports=o(167)(),t.push([e.id,'.ag-dark {\\n  line-height: 1.4;\\n  font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\\n  font-size: 14px;\\n  color: #ccc;\\n/* this is for the rowGroupPanel, that appears along the top of the grid */\\n/* this is for the column drops that appear in the toolPanel */\\n}\\n.ag-dark img {\\n  vertical-align: middle;\\n  border: 0;\\n}\\n.ag-dark .ag-root {\\n  border: 1px solid #808080;\\n}\\n.ag-dark .ag-cell-not-inline-editing {\\n  padding: 2px;\\n}\\n.ag-dark .ag-cell-range-selected-1:not(.ag-cell-focus) {\\n  background-color: rgba(100,160,160,0.4);\\n}\\n.ag-dark .ag-cell-range-selected-2:not(.ag-cell-focus) {\\n  background-color: rgba(100,190,190,0.4);\\n}\\n.ag-dark .ag-cell-range-selected-3:not(.ag-cell-focus) {\\n  background-color: rgba(100,220,220,0.4);\\n}\\n.ag-dark .ag-cell-range-selected-4:not(.ag-cell-focus) {\\n  background-color: rgba(100,250,250,0.4);\\n}\\n.ag-dark .ag-cell-focus {\\n  border: 1px solid #a9a9a9;\\n}\\n.ag-dark .ag-cell-no-focus {\\n  border-top: 1px solid transparent;\\n  border-bottom: 1px solid transparent;\\n}\\n.ag-dark .ag-ltr .ag-cell-no-focus {\\n  border-right: 1px dotted #808080;\\n  border-left: 1px solid transparent;\\n}\\n.ag-dark .ag-rtl .ag-cell-no-focus {\\n  border-right: 1px solid transparent;\\n  border-left: 1px dotted #808080;\\n}\\n.ag-dark .ag-rtl .ag-cell-first-right-pinned {\\n  border-left: 1px solid #808080;\\n}\\n.ag-dark .ag-ltr .ag-cell-first-right-pinned {\\n  border-left: 1px solid #808080;\\n}\\n.ag-dark .ag-rtl .ag-cell-last-left-pinned {\\n  border-right: 1px solid #808080;\\n}\\n.ag-dark .ag-ltr .ag-cell-last-left-pinned {\\n  border-right: 1px solid #808080;\\n}\\n.ag-dark .ag-cell-highlight {\\n  border: 1px solid #90ee90;\\n}\\n.ag-dark .ag-cell-highlight-animation {\\n  -webkit-transition: border 1s;\\n  -moz-transition: border 1s;\\n  -o-transition: border 1s;\\n  -ms-transition: border 1s;\\n  transition: border 1s;\\n}\\n.ag-dark .ag-value-change-delta {\\n  padding-right: 2px;\\n}\\n.ag-dark .ag-value-change-delta-up {\\n  color: #adff2f;\\n}\\n.ag-dark .ag-value-change-delta-down {\\n  color: #f00;\\n}\\n.ag-dark .ag-value-change-value {\\n  background-color: transparent;\\n  border-radius: 1px;\\n  padding-left: 1px;\\n  padding-right: 1px;\\n  -webkit-transition: background-color 1s;\\n  -moz-transition: background-color 1s;\\n  -o-transition: background-color 1s;\\n  -ms-transition: background-color 1s;\\n  transition: background-color 1s;\\n}\\n.ag-dark .ag-value-change-value-highlight {\\n  background-color: #d2691e;\\n  -webkit-transition: background-color 0.1s;\\n  -moz-transition: background-color 0.1s;\\n  -o-transition: background-color 0.1s;\\n  -ms-transition: background-color 0.1s;\\n  transition: background-color 0.1s;\\n}\\n.ag-dark .ag-rich-select {\\n  font-size: 14px;\\n  border: 1px solid #808080;\\n  background-color: #302e2e;\\n}\\n.ag-dark .ag-rich-select-value {\\n  padding: 2px;\\n}\\n.ag-dark .ag-rich-select-list {\\n  border-top: 1px solid #555;\\n}\\n.ag-dark .ag-rich-select-row {\\n  padding: 2px;\\n}\\n.ag-dark .ag-rich-select-row-selected {\\n  background-color: #4a708b;\\n}\\n.ag-dark .ag-large-text {\\n  border: 1px solid #808080;\\n}\\n.ag-dark .ag-header-select-all {\\n  padding: 5px 0px 0px 3px;\\n  line-height: 0;\\n}\\n.ag-dark .ag-header {\\n  color: #e0e0e0;\\n  background: #626262;\\n  border-bottom: 1px solid #808080;\\n  font-weight: normal;\\n}\\n.ag-dark .ag-header-icon {\\n  color: #e0e0e0;\\n  stroke: none;\\n  fill: #e0e0e0;\\n}\\n.ag-dark .ag-no-scrolls .ag-header-container {\\n  background: #626262;\\n  border-bottom: 1px solid #808080;\\n}\\n.ag-dark .ag-ltr .ag-header-cell {\\n  border-right: 1px solid #808080;\\n}\\n.ag-dark .ag-rtl .ag-header-cell {\\n  border-left: 1px solid #808080;\\n}\\n.ag-dark .ag-header-cell-moving .ag-header-cell-label {\\n  opacity: 0.5;\\n  -ms-filter: \"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)\";\\n  filter: alpha(opacity=50);\\n}\\n.ag-dark .ag-header-cell-moving {\\n  background-color: #bebebe;\\n}\\n.ag-dark .ag-ltr .ag-header-group-cell {\\n  border-right: 1px solid #808080;\\n}\\n.ag-dark .ag-rtl .ag-header-group-cell {\\n  border-left: 1px solid #808080;\\n}\\n.ag-dark .ag-header-group-cell-with-group {\\n  border-bottom: 1px solid #808080;\\n}\\n.ag-dark .ag-header-cell-label {\\n  padding: 4px 2px 4px 2px;\\n}\\n.ag-dark .ag-header-cell-text {\\n  padding-left: 2px;\\n}\\n.ag-dark .ag-header-group-cell-label {\\n  padding: 4px;\\n}\\n.ag-dark .ag-ltr .ag-header-group-cell-label {\\n  padding-left: 10px;\\n}\\n.ag-dark .ag-rtl .ag-header-group-cell-label {\\n  padding-right: 10px;\\n}\\n.ag-dark .ag-rtl .ag-header-group-text {\\n  margin-left: 2px;\\n}\\n.ag-dark .ag-ltr .ag-header-group-text {\\n  margin-right: 2px;\\n}\\n.ag-dark .ag-header-cell-menu-button {\\n  padding: 2px;\\n  margin-top: 4px;\\n  margin-left: 1px;\\n  margin-right: 1px;\\n  border: 1px solid transparent;\\n  border-radius: 3px;\\n  -webkit-box-sizing: content-box /* When using bootstrap, box-sizing was set to \\'border-box\\' */;\\n  -moz-box-sizing: content-box /* When using bootstrap, box-sizing was set to \\'border-box\\' */;\\n  box-sizing: content-box /* When using bootstrap, box-sizing was set to \\'border-box\\' */;\\n  line-height: 0px /* normal line height, a space was appearing below the menu button */;\\n}\\n.ag-dark .ag-ltr .ag-pinned-right-header {\\n  border-left: 1px solid #808080;\\n}\\n.ag-dark .ag-rtl .ag-pinned-left-header {\\n  border-right: 1px solid #808080;\\n}\\n.ag-dark .ag-header-cell-menu-button:hover {\\n  border: 1px solid #808080;\\n}\\n.ag-dark .ag-body {\\n  background-color: #302e2e;\\n}\\n.ag-dark .ag-row-odd {\\n  background-color: #302e2e;\\n}\\n.ag-dark .ag-row-even {\\n  background-color: #403e3e;\\n}\\n.ag-dark .ag-row-selected {\\n  background-color: #4a708b;\\n}\\n.ag-dark .ag-floating-top .ag-row {\\n  background-color: #333;\\n}\\n.ag-dark .ag-floating-bottom .ag-row {\\n  background-color: #333;\\n}\\n.ag-dark .ag-overlay-loading-wrapper {\\n  background-color: rgba(255,255,255,0.5);\\n}\\n.ag-dark .ag-overlay-loading-center {\\n  background-color: #fff;\\n  border: 1px solid #808080;\\n  border-radius: 10px;\\n  padding: 10px;\\n  color: #000;\\n}\\n.ag-dark .ag-overlay-no-rows-center {\\n  background-color: #fff;\\n  border: 1px solid #808080;\\n  border-radius: 10px;\\n  padding: 10px;\\n}\\n.ag-dark .ag-group-cell-entire-row {\\n  background-color: #302e2e;\\n  padding: 2px;\\n}\\n.ag-dark .ag-footer-cell-entire-row {\\n  background-color: #302e2e;\\n  padding: 2px;\\n}\\n.ag-dark .ag-group-cell {\\n  font-style: italic;\\n}\\n.ag-dark .ag-ltr .ag-group-expanded {\\n  padding-right: 4px;\\n}\\n.ag-dark .ag-rtl .ag-group-expanded {\\n  padding-left: 4px;\\n}\\n.ag-dark .ag-ltr .ag-group-contracted {\\n  padding-right: 4px;\\n}\\n.ag-dark .ag-rtl .ag-group-contracted {\\n  padding-left: 4px;\\n}\\n.ag-dark .ag-ltr .ag-group-loading {\\n  padding-right: 4px;\\n}\\n.ag-dark .ag-rtl .ag-group-loading {\\n  padding-left: 4px;\\n}\\n.ag-dark .ag-ltr .ag-group-value {\\n  padding-right: 2px;\\n}\\n.ag-dark .ag-rtl .ag-group-value {\\n  padding-left: 2px;\\n}\\n.ag-dark .ag-ltr .ag-group-checkbox {\\n  padding-right: 2px;\\n}\\n.ag-dark .ag-rtl .ag-group-checkbox {\\n  padding-left: 2px;\\n}\\n.ag-dark .ag-group-child-count {\\n  display: inline-block;\\n}\\n.ag-dark .ag-footer-cell {\\n  font-style: italic;\\n}\\n.ag-dark .ag-menu {\\n  border: 1px solid #555;\\n  background-color: #302e2e;\\n  cursor: default;\\n  font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\\n  font-size: 14px;\\n}\\n.ag-dark .ag-menu .ag-tab-header {\\n  background-color: #626262;\\n}\\n.ag-dark .ag-menu .ag-tab {\\n  padding: 6px 8px 6px 8px;\\n  margin: 2px 2px 0px 2px;\\n  display: inline-block;\\n  border-right: 1px solid transparent;\\n  border-left: 1px solid transparent;\\n  border-top: 1px solid transparent;\\n  border-top-right-radius: 2px;\\n  border-top-left-radius: 2px;\\n}\\n.ag-dark .ag-menu .ag-tab-selected {\\n  background-color: #302e2e;\\n  border-right: 1px solid #555;\\n  border-left: 1px solid #555;\\n  border-top: 1px solid #555;\\n}\\n.ag-dark .ag-menu-separator {\\n  border-top: 1px solid #555;\\n}\\n.ag-dark .ag-menu-option-active {\\n  background-color: #4a708b;\\n}\\n.ag-dark .ag-menu-option-icon {\\n  padding: 2px 4px 2px 4px;\\n  vertical-align: middle;\\n}\\n.ag-dark .ag-menu-option-text {\\n  padding: 2px 4px 2px 4px;\\n  vertical-align: middle;\\n}\\n.ag-dark .ag-menu-option-shortcut {\\n  padding: 2px 2px 2px 2px;\\n  vertical-align: middle;\\n}\\n.ag-dark .ag-menu-option-popup-pointer {\\n  padding: 2px 4px 2px 4px;\\n  vertical-align: middle;\\n}\\n.ag-dark .ag-menu-option-disabled {\\n  opacity: 0.5;\\n  -ms-filter: \"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)\";\\n  filter: alpha(opacity=50);\\n}\\n.ag-dark .ag-menu-column-select-wrapper {\\n  margin: 2px;\\n}\\n.ag-dark .ag-filter-checkbox {\\n  position: relative;\\n  top: 2px;\\n  left: 2px;\\n}\\n.ag-dark .ag-filter-header-container {\\n  border-bottom: 1px solid #555;\\n}\\n.ag-dark .ag-filter-apply-panel {\\n  border-top: 1px solid #555;\\n  padding: 2px;\\n}\\n.ag-dark .ag-filter-value {\\n  margin-left: 4px;\\n}\\n.ag-dark .ag-ltr .ag-selection-checkbox {\\n  padding-right: 4px;\\n}\\n.ag-dark .ag-rtl .ag-selection-checkbox {\\n  padding-left: 4px;\\n}\\n.ag-dark .ag-paging-panel {\\n  padding: 4px;\\n}\\n.ag-dark .ag-paging-button {\\n  margin-left: 4px;\\n  margin-right: 4px;\\n}\\n.ag-dark .ag-paging-row-summary-panel {\\n  display: inline-block;\\n  width: 300px;\\n}\\n.ag-dark .ag-tool-panel {\\n  background-color: #302e2e;\\n  border-bottom: 1px solid #808080;\\n  border-top: 1px solid #808080;\\n  color: #ccc;\\n}\\n.ag-dark .ltr .ag-tool-panel {\\n  border-right: 1px solid #808080;\\n}\\n.ag-dark .rtl .ag-tool-panel {\\n  border-left: 1px solid #808080;\\n}\\n.ag-dark .ag-status-bar {\\n  color: #ccc;\\n  background-color: #302e2e;\\n  font-size: 14px;\\n  height: 22px;\\n  border-bottom: 1px solid #808080;\\n  border-left: 1px solid #808080;\\n  border-right: 1px solid #808080;\\n  padding: 2px;\\n}\\n.ag-dark .ag-status-bar-aggregations {\\n  float: right;\\n}\\n.ag-dark .ag-status-bar-item {\\n  padding-left: 10px;\\n}\\n.ag-dark .ag-column-drop-cell {\\n  background: #403e3e;\\n  color: #e0e0e0;\\n  border: 1px solid #666;\\n}\\n.ag-dark .ag-column-drop-cell-ghost {\\n  opacity: 0.5;\\n  -ms-filter: \"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)\";\\n  filter: alpha(opacity=50);\\n}\\n.ag-dark .ag-column-drop-cell-text {\\n  padding-left: 2px;\\n  padding-right: 2px;\\n}\\n.ag-dark .ag-column-drop-cell-button {\\n  border: 1px solid transparent;\\n  padding-left: 2px;\\n  padding-right: 2px;\\n  border-radius: 3px;\\n}\\n.ag-dark .ag-column-drop-cell-button:hover {\\n  border: 1px solid #808080;\\n}\\n.ag-dark .ag-column-drop-empty-message {\\n  padding-left: 2px;\\n  padding-right: 2px;\\n  color: #808080;\\n}\\n.ag-dark .ag-column-drop-icon {\\n  margin: 3px;\\n}\\n.ag-dark .ag-column-drop {\\n  background-color: #302e2e;\\n}\\n.ag-dark .ag-column-drop-horizontal {\\n  padding: 2px;\\n  border-top: 1px solid #808080;\\n  border-left: 1px solid #808080;\\n  border-right: 1px solid #808080;\\n}\\n.ag-dark .ag-column-drop-vertical {\\n  padding: 4px 4px 10px 4px;\\n  border-bottom: 1px solid #808080;\\n}\\n.ag-dark .ag-column-drop-vertical .ag-column-drop-cell {\\n  margin-top: 2px;\\n}\\n.ag-dark .ag-column-drop-vertical .ag-column-drop-empty-message {\\n  text-align: center;\\n  padding: 5px;\\n}\\n.ag-dark .ag-pivot-mode {\\n  border-bottom: 1px solid #808080;\\n  padding: 4px;\\n  background-color: #302e2e;\\n}\\n.ag-dark .ag-tool-panel .ag-column-select-panel {\\n  border-bottom: 1px solid #808080;\\n}\\n.ag-dark .ag-select-agg-func-popup {\\n  cursor: default;\\n  position: absolute;\\n  font-size: 14px;\\n  background-color: #302e2e;\\n  border: 1px solid #808080;\\n}\\n.ag-dark .ag-select-agg-func-item {\\n  padding-left: 2px;\\n  padding-right: 2px;\\n}\\n.ag-dark .ag-select-agg-func-item:hover {\\n  background-color: #4a708b;\\n}\\n.ag-dark ::-webkit-scrollbar {\\n  width: 12px;\\n  height: 12px;\\n  background: #302e2e;\\n}\\n.ag-dark ::-webkit-scrollbar-thumb {\\n  background-color: #626262;\\n}\\n.ag-dark ::-webkit-scrollbar-corner {\\n  background: #302e2e;\\n}\\n.ag-dark select {\\n  background-color: #302e2e;\\n  color: #ccc;\\n}\\n.ag-dark input {\\n  background-color: #302e2e;\\n  color: #ccc;\\n}\\n.ag-dark .ag-floating-filter-button {\\n  background-color: #302e2e;\\n  color: #ccc;\\n}\\n.ag-dark .ag-floating-filter-body input {\\n  background-color: #302e2e;\\n  color: #ccc;\\n}\\n',\"\"])},function(e,t,o){var n=o(174);\"string\"==typeof n&&(n=[[e.id,n,\"\"]]);o(168)(n,{});n.locals&&(e.exports=n.locals)},function(e,t,o){t=e.exports=o(167)(),t.push([e.id,'.ag-blue {\\n  line-height: 1.4;\\n  font-family: Calibri, \"Segoe UI\", Thonburi, Arial, Verdana, sans-serif;\\n  font-size: 10pt;\\n  color: #222;\\n/* this is for the rowGroupPanel, that appears along the top of the grid */\\n/* this is for the column drops that appear in the toolPanel */\\n}\\n.ag-blue img {\\n  vertical-align: middle;\\n  border: 0;\\n}\\n.ag-blue .ag-root {\\n  border: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-cell-not-inline-editing {\\n  padding: 2px;\\n}\\n.ag-blue .ag-cell-range-selected-1:not(.ag-cell-focus) {\\n  background-color: rgba(120,120,120,0.4);\\n}\\n.ag-blue .ag-cell-range-selected-2:not(.ag-cell-focus) {\\n  background-color: rgba(80,80,80,0.4);\\n}\\n.ag-blue .ag-cell-range-selected-3:not(.ag-cell-focus) {\\n  background-color: rgba(40,40,40,0.4);\\n}\\n.ag-blue .ag-cell-range-selected-4:not(.ag-cell-focus) {\\n  background-color: rgba(0,0,0,0.4);\\n}\\n.ag-blue .ag-cell-focus {\\n  border: 2px solid #217346;\\n}\\n.ag-blue .ag-cell-no-focus {\\n  border-top: 2px solid transparent;\\n  border-bottom: 1px dotted #9bc2e6;\\n}\\n.ag-blue .ag-ltr .ag-cell-no-focus {\\n  border-right: 1px dotted #9bc2e6;\\n  border-left: 2px solid transparent;\\n}\\n.ag-blue .ag-rtl .ag-cell-no-focus {\\n  border-right: 2px solid transparent;\\n  border-left: 1px dotted #9bc2e6;\\n}\\n.ag-blue .ag-rtl .ag-cell-first-right-pinned {\\n  border-left: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-ltr .ag-cell-first-right-pinned {\\n  border-left: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-rtl .ag-cell-last-left-pinned {\\n  border-right: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-ltr .ag-cell-last-left-pinned {\\n  border-right: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-cell-highlight {\\n  border: 1px solid #006400;\\n}\\n.ag-blue .ag-cell-highlight-animation {\\n  -webkit-transition: border 1s;\\n  -moz-transition: border 1s;\\n  -o-transition: border 1s;\\n  -ms-transition: border 1s;\\n  transition: border 1s;\\n}\\n.ag-blue .ag-value-change-delta {\\n  padding-right: 2px;\\n}\\n.ag-blue .ag-value-change-delta-up {\\n  color: #006400;\\n}\\n.ag-blue .ag-value-change-delta-down {\\n  color: #8b0000;\\n}\\n.ag-blue .ag-value-change-value {\\n  background-color: transparent;\\n  border-radius: 1px;\\n  padding-left: 1px;\\n  padding-right: 1px;\\n  -webkit-transition: background-color 1s;\\n  -moz-transition: background-color 1s;\\n  -o-transition: background-color 1s;\\n  -ms-transition: background-color 1s;\\n  transition: background-color 1s;\\n}\\n.ag-blue .ag-value-change-value-highlight {\\n  background-color: #cec;\\n  -webkit-transition: background-color 0.1s;\\n  -moz-transition: background-color 0.1s;\\n  -o-transition: background-color 0.1s;\\n  -ms-transition: background-color 0.1s;\\n  transition: background-color 0.1s;\\n}\\n.ag-blue .ag-rich-select {\\n  font-size: 14px;\\n  border: 1px solid #9bc2e6;\\n  background-color: #fff;\\n}\\n.ag-blue .ag-rich-select-value {\\n  padding: 2px;\\n}\\n.ag-blue .ag-rich-select-list {\\n  border-top: 1px solid #d3d3d3;\\n}\\n.ag-blue .ag-rich-select-row {\\n  padding: 2px;\\n}\\n.ag-blue .ag-rich-select-row-selected {\\n  background-color: #c7c7c7;\\n}\\n.ag-blue .ag-large-text {\\n  border: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-header-select-all {\\n  padding: 5px 0px 0px 3px;\\n  line-height: 0;\\n}\\n.ag-blue .ag-header {\\n  color: #fff;\\n  background: #5b9bd5;\\n  border-bottom: 1px solid #9bc2e6;\\n  font-weight: 600;\\n}\\n.ag-blue .ag-header-icon {\\n  color: #fff;\\n  stroke: none;\\n  fill: #fff;\\n}\\n.ag-blue .ag-no-scrolls .ag-header-container {\\n  background: #5b9bd5;\\n  border-bottom: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-ltr .ag-header-cell {\\n  border-right: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-rtl .ag-header-cell {\\n  border-left: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-header-cell-moving .ag-header-cell-label {\\n  opacity: 0.5;\\n  -ms-filter: \"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)\";\\n  filter: alpha(opacity=50);\\n}\\n.ag-blue .ag-header-cell-moving {\\n  background-color: #bebebe;\\n}\\n.ag-blue .ag-ltr .ag-header-group-cell {\\n  border-right: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-rtl .ag-header-group-cell {\\n  border-left: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-header-group-cell-with-group {\\n  border-bottom: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-header-cell-label {\\n  padding: 4px 2px 4px 2px;\\n}\\n.ag-blue .ag-header-cell-text {\\n  padding-left: 2px;\\n}\\n.ag-blue .ag-header-group-cell-label {\\n  padding: 4px;\\n}\\n.ag-blue .ag-ltr .ag-header-group-cell-label {\\n  padding-left: 10px;\\n}\\n.ag-blue .ag-rtl .ag-header-group-cell-label {\\n  padding-right: 10px;\\n}\\n.ag-blue .ag-rtl .ag-header-group-text {\\n  margin-left: 2px;\\n}\\n.ag-blue .ag-ltr .ag-header-group-text {\\n  margin-right: 2px;\\n}\\n.ag-blue .ag-header-cell-menu-button {\\n  padding: 2px;\\n  margin-top: 4px;\\n  margin-left: 1px;\\n  margin-right: 1px;\\n  border: 1px solid transparent;\\n  border-radius: 3px;\\n  -webkit-box-sizing: content-box /* When using bootstrap, box-sizing was set to \\'border-box\\' */;\\n  -moz-box-sizing: content-box /* When using bootstrap, box-sizing was set to \\'border-box\\' */;\\n  box-sizing: content-box /* When using bootstrap, box-sizing was set to \\'border-box\\' */;\\n  line-height: 0px /* normal line height, a space was appearing below the menu button */;\\n}\\n.ag-blue .ag-ltr .ag-pinned-right-header {\\n  border-left: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-rtl .ag-pinned-left-header {\\n  border-right: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-header-cell-menu-button:hover {\\n  border: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-body {\\n  background-color: #f6f6f6;\\n}\\n.ag-blue .ag-row-odd {\\n  background-color: #ddebf7;\\n}\\n.ag-blue .ag-row-even {\\n  background-color: #fff;\\n}\\n.ag-blue .ag-row-selected {\\n  background-color: #c7c7c7;\\n}\\n.ag-blue .ag-floating-top .ag-row {\\n  background-color: #f0f0f0;\\n}\\n.ag-blue .ag-floating-bottom .ag-row {\\n  background-color: #f0f0f0;\\n}\\n.ag-blue .ag-overlay-loading-wrapper {\\n  background-color: rgba(255,255,255,0.5);\\n}\\n.ag-blue .ag-overlay-loading-center {\\n  background-color: #fff;\\n  border: 1px solid #9bc2e6;\\n  border-radius: 10px;\\n  padding: 10px;\\n  color: #000;\\n}\\n.ag-blue .ag-overlay-no-rows-center {\\n  background-color: #fff;\\n  border: 1px solid #9bc2e6;\\n  border-radius: 10px;\\n  padding: 10px;\\n}\\n.ag-blue .ag-group-cell-entire-row {\\n  background-color: #f6f6f6;\\n  padding: 2px;\\n}\\n.ag-blue .ag-footer-cell-entire-row {\\n  background-color: #f6f6f6;\\n  padding: 2px;\\n}\\n.ag-blue .ag-group-cell {\\n  font-style: italic;\\n}\\n.ag-blue .ag-ltr .ag-group-expanded {\\n  padding-right: 4px;\\n}\\n.ag-blue .ag-rtl .ag-group-expanded {\\n  padding-left: 4px;\\n}\\n.ag-blue .ag-ltr .ag-group-contracted {\\n  padding-right: 4px;\\n}\\n.ag-blue .ag-rtl .ag-group-contracted {\\n  padding-left: 4px;\\n}\\n.ag-blue .ag-ltr .ag-group-loading {\\n  padding-right: 4px;\\n}\\n.ag-blue .ag-rtl .ag-group-loading {\\n  padding-left: 4px;\\n}\\n.ag-blue .ag-ltr .ag-group-value {\\n  padding-right: 2px;\\n}\\n.ag-blue .ag-rtl .ag-group-value {\\n  padding-left: 2px;\\n}\\n.ag-blue .ag-ltr .ag-group-checkbox {\\n  padding-right: 2px;\\n}\\n.ag-blue .ag-rtl .ag-group-checkbox {\\n  padding-left: 2px;\\n}\\n.ag-blue .ag-group-child-count {\\n  display: inline-block;\\n}\\n.ag-blue .ag-footer-cell {\\n  font-style: italic;\\n}\\n.ag-blue .ag-menu {\\n  border: 1px solid #808080;\\n  background-color: #f6f6f6;\\n  cursor: default;\\n  font-family: Calibri, \"Segoe UI\", Thonburi, Arial, Verdana, sans-serif;\\n  font-size: 10pt;\\n}\\n.ag-blue .ag-menu .ag-tab-header {\\n  background-color: #5b9bd5;\\n}\\n.ag-blue .ag-menu .ag-tab {\\n  padding: 6px 8px 6px 8px;\\n  margin: 2px 2px 0px 2px;\\n  display: inline-block;\\n  border-right: 1px solid transparent;\\n  border-left: 1px solid transparent;\\n  border-top: 1px solid transparent;\\n  border-top-right-radius: 2px;\\n  border-top-left-radius: 2px;\\n}\\n.ag-blue .ag-menu .ag-tab-selected {\\n  background-color: #9bc2e6;\\n  border-right: 1px solid #d3d3d3;\\n  border-left: 1px solid #d3d3d3;\\n  border-top: 1px solid #d3d3d3;\\n}\\n.ag-blue .ag-menu-separator {\\n  border-top: 1px solid #d3d3d3;\\n}\\n.ag-blue .ag-menu-option-active {\\n  background-color: #c7c7c7;\\n}\\n.ag-blue .ag-menu-option-icon {\\n  padding: 2px 4px 2px 4px;\\n  vertical-align: middle;\\n}\\n.ag-blue .ag-menu-option-text {\\n  padding: 2px 4px 2px 4px;\\n  vertical-align: middle;\\n}\\n.ag-blue .ag-menu-option-shortcut {\\n  padding: 2px 2px 2px 2px;\\n  vertical-align: middle;\\n}\\n.ag-blue .ag-menu-option-popup-pointer {\\n  padding: 2px 4px 2px 4px;\\n  vertical-align: middle;\\n}\\n.ag-blue .ag-menu-option-disabled {\\n  opacity: 0.5;\\n  -ms-filter: \"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)\";\\n  filter: alpha(opacity=50);\\n}\\n.ag-blue .ag-menu-column-select-wrapper {\\n  margin: 2px;\\n}\\n.ag-blue .ag-filter-checkbox {\\n  position: relative;\\n  top: 2px;\\n  left: 2px;\\n}\\n.ag-blue .ag-filter-header-container {\\n  border-bottom: 1px solid #d3d3d3;\\n}\\n.ag-blue .ag-filter-apply-panel {\\n  border-top: 1px solid #d3d3d3;\\n  padding: 2px;\\n}\\n.ag-blue .ag-filter-value {\\n  margin-left: 4px;\\n}\\n.ag-blue .ag-ltr .ag-selection-checkbox {\\n  padding-right: 4px;\\n}\\n.ag-blue .ag-rtl .ag-selection-checkbox {\\n  padding-left: 4px;\\n}\\n.ag-blue .ag-paging-panel {\\n  padding: 4px;\\n}\\n.ag-blue .ag-paging-button {\\n  margin-left: 4px;\\n  margin-right: 4px;\\n}\\n.ag-blue .ag-paging-row-summary-panel {\\n  display: inline-block;\\n  width: 300px;\\n}\\n.ag-blue .ag-tool-panel {\\n  background-color: #f6f6f6;\\n  border-bottom: 1px solid #9bc2e6;\\n  border-top: 1px solid #9bc2e6;\\n  color: #222;\\n}\\n.ag-blue .ltr .ag-tool-panel {\\n  border-right: 1px solid #9bc2e6;\\n}\\n.ag-blue .rtl .ag-tool-panel {\\n  border-left: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-status-bar {\\n  color: #222;\\n  background-color: #f6f6f6;\\n  font-size: 10pt;\\n  height: 22px;\\n  border-bottom: 1px solid #9bc2e6;\\n  border-left: 1px solid #9bc2e6;\\n  border-right: 1px solid #9bc2e6;\\n  padding: 2px;\\n}\\n.ag-blue .ag-status-bar-aggregations {\\n  float: right;\\n}\\n.ag-blue .ag-status-bar-item {\\n  padding-left: 10px;\\n}\\n.ag-blue .ag-column-drop-cell {\\n  background: #ddebf7;\\n  color: #000;\\n  border: 1px solid #808080;\\n}\\n.ag-blue .ag-column-drop-cell-ghost {\\n  opacity: 0.5;\\n  -ms-filter: \"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)\";\\n  filter: alpha(opacity=50);\\n}\\n.ag-blue .ag-column-drop-cell-text {\\n  padding-left: 2px;\\n  padding-right: 2px;\\n}\\n.ag-blue .ag-column-drop-cell-button {\\n  border: 1px solid transparent;\\n  padding-left: 2px;\\n  padding-right: 2px;\\n  border-radius: 3px;\\n}\\n.ag-blue .ag-column-drop-cell-button:hover {\\n  border: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-column-drop-empty-message {\\n  padding-left: 2px;\\n  padding-right: 2px;\\n  color: #808080;\\n}\\n.ag-blue .ag-column-drop-icon {\\n  margin: 3px;\\n}\\n.ag-blue .ag-column-drop {\\n  background-color: #f6f6f6;\\n}\\n.ag-blue .ag-column-drop-horizontal {\\n  padding: 2px;\\n  border-top: 1px solid #9bc2e6;\\n  border-left: 1px solid #9bc2e6;\\n  border-right: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-column-drop-vertical {\\n  padding: 4px 4px 10px 4px;\\n  border-bottom: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-column-drop-vertical .ag-column-drop-cell {\\n  margin-top: 2px;\\n}\\n.ag-blue .ag-column-drop-vertical .ag-column-drop-empty-message {\\n  text-align: center;\\n  padding: 5px;\\n}\\n.ag-blue .ag-pivot-mode {\\n  border-bottom: 1px solid #9bc2e6;\\n  padding: 4px;\\n  background-color: #f6f6f6;\\n}\\n.ag-blue .ag-tool-panel .ag-column-select-panel {\\n  border-bottom: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-select-agg-func-popup {\\n  cursor: default;\\n  position: absolute;\\n  font-size: 14px;\\n  background-color: #fff;\\n  border: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-select-agg-func-item {\\n  padding-left: 2px;\\n  padding-right: 2px;\\n}\\n.ag-blue .ag-select-agg-func-item:hover {\\n  background-color: #c7c7c7;\\n}\\n.ag-blue .ag-floating-filter-button {\\n  background-color: #fff;\\n  color: #222;\\n}\\n.ag-blue .ag-floating-filter-body input {\\n  background-color: #fff;\\n  color: #222;\\n}\\n',\"\"])},function(e,t,o){var n=o(176);\"string\"==typeof n&&(n=[[e.id,n,\"\"]]);o(168)(n,{});n.locals&&(e.exports=n.locals)},function(e,t,o){t=e.exports=o(167)(),t.push([e.id,\".ag-material {\\n  line-height: 1.4;\\n  font-family: Roboto;\\n  font-size: 14px;\\n  color: #666;\\n/* this is for the rowGroupPanel, that appears along the top of the grid */\\n/* this is for the column drops that appear in the toolPanel */\\n}\\n.ag-material img {\\n  vertical-align: middle;\\n  border: 0;\\n}\\n.ag-material .ag-root {\\n  border: none;\\n}\\n.ag-material .ag-cell-not-inline-editing {\\n  padding: 2px;\\n}\\n.ag-material .ag-cell-range-selected-1:not(.ag-cell-focus) {\\n  background-color: rgba(120,120,120,0.4);\\n}\\n.ag-material .ag-cell-range-selected-2:not(.ag-cell-focus) {\\n  background-color: rgba(80,80,80,0.4);\\n}\\n.ag-material .ag-cell-range-selected-3:not(.ag-cell-focus) {\\n  background-color: rgba(40,40,40,0.4);\\n}\\n.ag-material .ag-cell-range-selected-4:not(.ag-cell-focus) {\\n  background-color: rgba(0,0,0,0.4);\\n}\\n.ag-material .ag-cell-focus {\\n  border: 1px solid #d3d3d3;\\n}\\n.ag-material .ag-cell-no-focus {\\n  border-top: 1px solid transparent;\\n  border-bottom: 1px solid #d3d3d3;\\n}\\n.ag-material .ag-ltr .ag-cell-no-focus {\\n  border-right: 1px solid transparent;\\n  border-left: 1px solid transparent;\\n}\\n.ag-material .ag-rtl .ag-cell-no-focus {\\n  border-right: 1px solid transparent;\\n  border-left: 1px solid transparent;\\n}\\n.ag-material .ag-rtl .ag-cell-first-right-pinned {\\n  border-left: none;\\n}\\n.ag-material .ag-ltr .ag-cell-first-right-pinned {\\n  border-left: none;\\n}\\n.ag-material .ag-rtl .ag-cell-last-left-pinned {\\n  border-right: none;\\n}\\n.ag-material .ag-ltr .ag-cell-last-left-pinned {\\n  border-right: none;\\n}\\n.ag-material .ag-cell-highlight {\\n  border: 1px solid #006400;\\n}\\n.ag-material .ag-cell-highlight-animation {\\n  -webkit-transition: border 1s;\\n  -moz-transition: border 1s;\\n  -o-transition: border 1s;\\n  -ms-transition: border 1s;\\n  transition: border 1s;\\n}\\n.ag-material .ag-value-change-delta {\\n  padding-right: 2px;\\n}\\n.ag-material .ag-value-change-delta-up {\\n  color: #006400;\\n}\\n.ag-material .ag-value-change-delta-down {\\n  color: #8b0000;\\n}\\n.ag-material .ag-value-change-value {\\n  background-color: transparent;\\n  border-radius: 1px;\\n  padding-left: 1px;\\n  padding-right: 1px;\\n  -webkit-transition: background-color 1s;\\n  -moz-transition: background-color 1s;\\n  -o-transition: background-color 1s;\\n  -ms-transition: background-color 1s;\\n  transition: background-color 1s;\\n}\\n.ag-material .ag-value-change-value-highlight {\\n  background-color: #cec;\\n  -webkit-transition: background-color 0.1s;\\n  -moz-transition: background-color 0.1s;\\n  -o-transition: background-color 0.1s;\\n  -ms-transition: background-color 0.1s;\\n  transition: background-color 0.1s;\\n}\\n.ag-material .ag-rich-select {\\n  font-size: 14px;\\n  border: none;\\n  background-color: #fff;\\n}\\n.ag-material .ag-rich-select-value {\\n  padding: 2px;\\n}\\n.ag-material .ag-rich-select-list {\\n  border-top: 1px solid #d3d3d3;\\n}\\n.ag-material .ag-rich-select-row {\\n  padding: 2px;\\n}\\n.ag-material .ag-rich-select-row-selected {\\n  background-color: #bde2e5;\\n}\\n.ag-material .ag-large-text {\\n  border: none;\\n}\\n.ag-material .ag-header-select-all {\\n  padding: 5px 0px 0px 15px;\\n  line-height: 0;\\n}\\n.ag-material .ag-header {\\n  color: #666;\\n  background: none;\\n  border-bottom: none;\\n  font-weight: bold;\\n}\\n.ag-material .ag-header-icon {\\n  color: #666;\\n  stroke: none;\\n  fill: #666;\\n}\\n.ag-material .ag-no-scrolls .ag-header-container {\\n  background: none;\\n  border-bottom: none;\\n}\\n.ag-material .ag-ltr .ag-header-cell {\\n  border-right: none;\\n}\\n.ag-material .ag-rtl .ag-header-cell {\\n  border-left: none;\\n}\\n.ag-material .ag-header-cell-moving .ag-header-cell-label {\\n  opacity: 0.5;\\n  -ms-filter: \\\"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)\\\";\\n  filter: alpha(opacity=50);\\n}\\n.ag-material .ag-header-cell-moving {\\n  background-color: #bebebe;\\n}\\n.ag-material .ag-ltr .ag-header-group-cell {\\n  border-right: none;\\n}\\n.ag-material .ag-rtl .ag-header-group-cell {\\n  border-left: none;\\n}\\n.ag-material .ag-header-group-cell-with-group {\\n  border-bottom: none;\\n}\\n.ag-material .ag-header-cell-label {\\n  padding: 4px 2px 4px 2px;\\n}\\n.ag-material .ag-header-cell-text {\\n  padding-left: 2px;\\n}\\n.ag-material .ag-header-group-cell-label {\\n  padding: 4px;\\n}\\n.ag-material .ag-ltr .ag-header-group-cell-label {\\n  padding-left: 10px;\\n}\\n.ag-material .ag-rtl .ag-header-group-cell-label {\\n  padding-right: 10px;\\n}\\n.ag-material .ag-rtl .ag-header-group-text {\\n  margin-left: 2px;\\n}\\n.ag-material .ag-ltr .ag-header-group-text {\\n  margin-right: 2px;\\n}\\n.ag-material .ag-header-cell-menu-button {\\n  padding: 2px;\\n  margin-top: 4px;\\n  margin-left: 1px;\\n  margin-right: 1px;\\n  border: 1px solid transparent;\\n  border-radius: 3px;\\n  -webkit-box-sizing: content-box /* When using bootstrap, box-sizing was set to 'border-box' */;\\n  -moz-box-sizing: content-box /* When using bootstrap, box-sizing was set to 'border-box' */;\\n  box-sizing: content-box /* When using bootstrap, box-sizing was set to 'border-box' */;\\n  line-height: 0px /* normal line height, a space was appearing below the menu button */;\\n}\\n.ag-material .ag-ltr .ag-pinned-right-header {\\n  border-left: none;\\n}\\n.ag-material .ag-rtl .ag-pinned-left-header {\\n  border-right: none;\\n}\\n.ag-material .ag-header-cell-menu-button:hover {\\n  border: none;\\n}\\n.ag-material .ag-body {\\n  background-color: #fff;\\n}\\n.ag-material .ag-row-odd {\\n  background-color: #fff;\\n}\\n.ag-material .ag-row-even {\\n  background-color: #fff;\\n}\\n.ag-material .ag-row-selected {\\n  background-color: #f5f5f5;\\n}\\n.ag-material .ag-floating-top .ag-row {\\n  background-color: #f0f0f0;\\n}\\n.ag-material .ag-floating-bottom .ag-row {\\n  background-color: #f0f0f0;\\n}\\n.ag-material .ag-overlay-loading-wrapper {\\n  background-color: rgba(255,255,255,0.5);\\n}\\n.ag-material .ag-overlay-loading-center {\\n  background-color: #fff;\\n  border: none;\\n  border-radius: 10px;\\n  padding: 10px;\\n  color: #000;\\n}\\n.ag-material .ag-overlay-no-rows-center {\\n  background-color: #fff;\\n  border: none;\\n  border-radius: 10px;\\n  padding: 10px;\\n}\\n.ag-material .ag-group-cell-entire-row {\\n  background-color: #fff;\\n  padding: 2px;\\n}\\n.ag-material .ag-footer-cell-entire-row {\\n  background-color: #fff;\\n  padding: 2px;\\n}\\n.ag-material .ag-group-cell {\\n  font-style: italic;\\n}\\n.ag-material .ag-ltr .ag-group-expanded {\\n  padding-right: 4px;\\n}\\n.ag-material .ag-rtl .ag-group-expanded {\\n  padding-left: 4px;\\n}\\n.ag-material .ag-ltr .ag-group-contracted {\\n  padding-right: 4px;\\n}\\n.ag-material .ag-rtl .ag-group-contracted {\\n  padding-left: 4px;\\n}\\n.ag-material .ag-ltr .ag-group-loading {\\n  padding-right: 4px;\\n}\\n.ag-material .ag-rtl .ag-group-loading {\\n  padding-left: 4px;\\n}\\n.ag-material .ag-ltr .ag-group-value {\\n  padding-right: 2px;\\n}\\n.ag-material .ag-rtl .ag-group-value {\\n  padding-left: 2px;\\n}\\n.ag-material .ag-ltr .ag-group-checkbox {\\n  padding-right: 2px;\\n}\\n.ag-material .ag-rtl .ag-group-checkbox {\\n  padding-left: 2px;\\n}\\n.ag-material .ag-group-child-count {\\n  display: inline-block;\\n}\\n.ag-material .ag-footer-cell {\\n  font-style: italic;\\n}\\n.ag-material .ag-menu {\\n  border: 1px solid #808080;\\n  background-color: #fff;\\n  cursor: default;\\n  font-family: Roboto;\\n  font-size: 14px;\\n}\\n.ag-material .ag-menu .ag-tab-header {\\n  background-color: #f6f6f6;\\n}\\n.ag-material .ag-menu .ag-tab {\\n  padding: 6px 16px 6px 16px;\\n  margin: 2px 2px 0px 2px;\\n  display: inline-block;\\n  border-right: 1px solid transparent;\\n  border-left: 1px solid transparent;\\n  border-top: 1px solid transparent;\\n  border-top-right-radius: 2px;\\n  border-top-left-radius: 2px;\\n}\\n.ag-material .ag-menu .ag-tab-selected {\\n  background-color: #fff;\\n  border-right: 1px solid transparent;\\n  border-left: 1px solid transparent;\\n  border-top: 1px solid transparent;\\n}\\n.ag-material .ag-menu-separator {\\n  border-top: 1px solid #d3d3d3;\\n}\\n.ag-material .ag-menu-option-active {\\n  background-color: #bde2e5;\\n}\\n.ag-material .ag-menu-option-icon {\\n  padding: 10px 6px 10px 6px;\\n  vertical-align: middle;\\n}\\n.ag-material .ag-menu-option-text {\\n  padding: 10px 6px 10px 6px;\\n  vertical-align: middle;\\n}\\n.ag-material .ag-menu-option-shortcut {\\n  padding: 10px 6px 10px 6px;\\n  vertical-align: middle;\\n}\\n.ag-material .ag-menu-option-popup-pointer {\\n  padding: 10px 6px 10px 6px;\\n  vertical-align: middle;\\n}\\n.ag-material .ag-menu-option-disabled {\\n  opacity: 0.5;\\n  -ms-filter: \\\"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)\\\";\\n  filter: alpha(opacity=50);\\n}\\n.ag-material .ag-menu-column-select-wrapper {\\n  margin: 2px;\\n}\\n.ag-material .ag-filter-checkbox {\\n  position: relative;\\n  top: 2px;\\n  left: 2px;\\n}\\n.ag-material .ag-filter-header-container {\\n  border-bottom: 1px solid #d3d3d3;\\n}\\n.ag-material .ag-filter-apply-panel {\\n  border-top: 1px solid #d3d3d3;\\n  padding: 2px;\\n}\\n.ag-material .ag-filter-value {\\n  margin-left: 4px;\\n}\\n.ag-material .ag-ltr .ag-selection-checkbox {\\n  padding-right: 4px;\\n}\\n.ag-material .ag-rtl .ag-selection-checkbox {\\n  padding-left: 4px;\\n}\\n.ag-material .ag-paging-panel {\\n  padding: 4px;\\n}\\n.ag-material .ag-paging-button {\\n  margin-left: 4px;\\n  margin-right: 4px;\\n}\\n.ag-material .ag-paging-row-summary-panel {\\n  display: inline-block;\\n  width: 300px;\\n}\\n.ag-material .ag-tool-panel {\\n  background-color: #fff;\\n  border-bottom: none;\\n  border-top: none;\\n  color: #666;\\n}\\n.ag-material .ltr .ag-tool-panel {\\n  border-right: none;\\n}\\n.ag-material .rtl .ag-tool-panel {\\n  border-left: none;\\n}\\n.ag-material .ag-status-bar {\\n  color: #666;\\n  background-color: #fff;\\n  font-size: 14px;\\n  height: 22px;\\n  border-bottom: none;\\n  border-left: none;\\n  border-right: none;\\n  padding: 2px;\\n}\\n.ag-material .ag-status-bar-aggregations {\\n  float: right;\\n}\\n.ag-material .ag-status-bar-item {\\n  padding-left: 10px;\\n}\\n.ag-material .ag-column-drop-cell {\\n  background: none;\\n  color: #000;\\n  border: 1px solid #808080;\\n}\\n.ag-material .ag-column-drop-cell-ghost {\\n  opacity: 0.5;\\n  -ms-filter: \\\"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)\\\";\\n  filter: alpha(opacity=50);\\n}\\n.ag-material .ag-column-drop-cell-text {\\n  padding-left: 2px;\\n  padding-right: 2px;\\n}\\n.ag-material .ag-column-drop-cell-button {\\n  border: 1px solid transparent;\\n  padding-left: 2px;\\n  padding-right: 2px;\\n  border-radius: 3px;\\n}\\n.ag-material .ag-column-drop-cell-button:hover {\\n  border: none;\\n}\\n.ag-material .ag-column-drop-empty-message {\\n  padding-left: 2px;\\n  padding-right: 2px;\\n  color: #808080;\\n}\\n.ag-material .ag-column-drop-icon {\\n  margin: 3px;\\n}\\n.ag-material .ag-column-drop {\\n  background-color: #fff;\\n}\\n.ag-material .ag-column-drop-horizontal {\\n  padding: 2px;\\n  border-top: none;\\n  border-left: none;\\n  border-right: none;\\n}\\n.ag-material .ag-column-drop-vertical {\\n  padding: 4px 4px 10px 4px;\\n  border-bottom: none;\\n}\\n.ag-material .ag-column-drop-vertical .ag-column-drop-cell {\\n  margin-top: 2px;\\n}\\n.ag-material .ag-column-drop-vertical .ag-column-drop-empty-message {\\n  text-align: center;\\n  padding: 5px;\\n}\\n.ag-material .ag-pivot-mode {\\n  border-bottom: none;\\n  padding: 4px;\\n  background-color: #fff;\\n}\\n.ag-material .ag-tool-panel .ag-column-select-panel {\\n  border-bottom: none;\\n}\\n.ag-material .ag-select-agg-func-popup {\\n  cursor: default;\\n  position: absolute;\\n  font-size: 14px;\\n  background-color: #fff;\\n  border: none;\\n}\\n.ag-material .ag-select-agg-func-item {\\n  padding-left: 2px;\\n  padding-right: 2px;\\n}\\n.ag-material .ag-select-agg-func-item:hover {\\n  background-color: #bde2e5;\\n}\\n.ag-material .ag-row-hover {\\n  background-color: #eee !important;\\n}\\n.ag-material .ag-cell-not-inline-editing {\\n  padding-top: 15px;\\n}\\n.ag-material .ag-header-cell-menu-button:hover {\\n  border: 1px solid #808080;\\n}\\n.ag-material .ag-header-cell-label {\\n  text-align: left;\\n}\\n.ag-material .ag-header {\\n  border-bottom: 1px solid #808080;\\n}\\n.ag-material .ag-selection-checkbox {\\n  padding-right: 12px;\\n  padding-left: 12px;\\n}\\n\",\"\"])},function(e,t,o){var n=o(178);\"string\"==typeof n&&(n=[[e.id,n,\"\"]]);o(168)(n,{});n.locals&&(e.exports=n.locals)},function(e,t,o){t=e.exports=o(167)(),t.push([e.id,'.ag-bootstrap {\\n  line-height: 1.4;\\n  font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\\n  font-size: 14px;\\n  color: #000;\\n/* this is for the rowGroupPanel, that appears along the top of the grid */\\n/* this is for the column drops that appear in the toolPanel */\\n}\\n.ag-bootstrap img {\\n  vertical-align: middle;\\n  border: 0;\\n}\\n.ag-bootstrap .ag-root {\\n  border: none;\\n}\\n.ag-bootstrap .ag-cell-not-inline-editing {\\n  padding: 4px;\\n}\\n.ag-bootstrap .ag-cell-range-selected-1:not(.ag-cell-focus) {\\n  background-color: rgba(120,120,120,0.4);\\n}\\n.ag-bootstrap .ag-cell-range-selected-2:not(.ag-cell-focus) {\\n  background-color: rgba(80,80,80,0.4);\\n}\\n.ag-bootstrap .ag-cell-range-selected-3:not(.ag-cell-focus) {\\n  background-color: rgba(40,40,40,0.4);\\n}\\n.ag-bootstrap .ag-cell-range-selected-4:not(.ag-cell-focus) {\\n  background-color: rgba(0,0,0,0.4);\\n}\\n.ag-bootstrap .ag-cell-focus {\\n  border: 2px solid #217346;\\n}\\n.ag-bootstrap .ag-cell-no-focus {\\n  border-top: 1px solid transparent;\\n  border-bottom: 1px solid transparent;\\n}\\n.ag-bootstrap .ag-ltr .ag-cell-no-focus {\\n  border-right: none;\\n  border-left: 1px solid transparent;\\n}\\n.ag-bootstrap .ag-rtl .ag-cell-no-focus {\\n  border-right: 1px solid transparent;\\n  border-left: none;\\n}\\n.ag-bootstrap .ag-rtl .ag-cell-first-right-pinned {\\n  border-left: none;\\n}\\n.ag-bootstrap .ag-ltr .ag-cell-first-right-pinned {\\n  border-left: none;\\n}\\n.ag-bootstrap .ag-rtl .ag-cell-last-left-pinned {\\n  border-right: none;\\n}\\n.ag-bootstrap .ag-ltr .ag-cell-last-left-pinned {\\n  border-right: none;\\n}\\n.ag-bootstrap .ag-cell-highlight {\\n  border: 1px solid #006400;\\n}\\n.ag-bootstrap .ag-cell-highlight-animation {\\n  -webkit-transition: border 1s;\\n  -moz-transition: border 1s;\\n  -o-transition: border 1s;\\n  -ms-transition: border 1s;\\n  transition: border 1s;\\n}\\n.ag-bootstrap .ag-value-change-delta {\\n  padding-right: 2px;\\n}\\n.ag-bootstrap .ag-value-change-delta-up {\\n  color: #006400;\\n}\\n.ag-bootstrap .ag-value-change-delta-down {\\n  color: #8b0000;\\n}\\n.ag-bootstrap .ag-value-change-value {\\n  background-color: transparent;\\n  border-radius: 1px;\\n  padding-left: 1px;\\n  padding-right: 1px;\\n  -webkit-transition: background-color 1s;\\n  -moz-transition: background-color 1s;\\n  -o-transition: background-color 1s;\\n  -ms-transition: background-color 1s;\\n  transition: background-color 1s;\\n}\\n.ag-bootstrap .ag-value-change-value-highlight {\\n  background-color: #cec;\\n  -webkit-transition: background-color 0.1s;\\n  -moz-transition: background-color 0.1s;\\n  -o-transition: background-color 0.1s;\\n  -ms-transition: background-color 0.1s;\\n  transition: background-color 0.1s;\\n}\\n.ag-bootstrap .ag-rich-select {\\n  font-size: 14px;\\n  border: none;\\n  background-color: #fff;\\n}\\n.ag-bootstrap .ag-rich-select-value {\\n  padding: 2px;\\n}\\n.ag-bootstrap .ag-rich-select-list {\\n  border-top: 1px solid #d3d3d3;\\n}\\n.ag-bootstrap .ag-rich-select-row {\\n  padding: 2px;\\n}\\n.ag-bootstrap .ag-rich-select-row-selected {\\n  background-color: #bde2e5;\\n}\\n.ag-bootstrap .ag-large-text {\\n  border: none;\\n}\\n.ag-bootstrap .ag-header-select-all {\\n  padding: 5px 0px 0px 5px;\\n  line-height: 0;\\n}\\n.ag-bootstrap .ag-header {\\n  color: #000;\\n  background: none;\\n  border-bottom: none;\\n  font-weight: 600;\\n}\\n.ag-bootstrap .ag-header-icon {\\n  color: #000;\\n  stroke: none;\\n  fill: #000;\\n}\\n.ag-bootstrap .ag-no-scrolls .ag-header-container {\\n  background: none;\\n  border-bottom: none;\\n}\\n.ag-bootstrap .ag-ltr .ag-header-cell {\\n  border-right: none;\\n}\\n.ag-bootstrap .ag-rtl .ag-header-cell {\\n  border-left: none;\\n}\\n.ag-bootstrap .ag-header-cell-moving .ag-header-cell-label {\\n  opacity: 0.5;\\n  -ms-filter: \"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)\";\\n  filter: alpha(opacity=50);\\n}\\n.ag-bootstrap .ag-header-cell-moving {\\n  background-color: #bebebe;\\n}\\n.ag-bootstrap .ag-ltr .ag-header-group-cell {\\n  border-right: none;\\n}\\n.ag-bootstrap .ag-rtl .ag-header-group-cell {\\n  border-left: none;\\n}\\n.ag-bootstrap .ag-header-group-cell-with-group {\\n  border-bottom: none;\\n}\\n.ag-bootstrap .ag-header-cell-label {\\n  padding: 4px 2px 4px 2px;\\n}\\n.ag-bootstrap .ag-header-cell-text {\\n  padding-left: 2px;\\n}\\n.ag-bootstrap .ag-header-group-cell-label {\\n  padding: 4px;\\n}\\n.ag-bootstrap .ag-ltr .ag-header-group-cell-label {\\n  padding-left: 10px;\\n}\\n.ag-bootstrap .ag-rtl .ag-header-group-cell-label {\\n  padding-right: 10px;\\n}\\n.ag-bootstrap .ag-rtl .ag-header-group-text {\\n  margin-left: 2px;\\n}\\n.ag-bootstrap .ag-ltr .ag-header-group-text {\\n  margin-right: 2px;\\n}\\n.ag-bootstrap .ag-header-cell-menu-button {\\n  padding: 2px;\\n  margin-top: 4px;\\n  margin-left: 1px;\\n  margin-right: 1px;\\n  border: 1px solid transparent;\\n  border-radius: 3px;\\n  -webkit-box-sizing: content-box /* When using bootstrap, box-sizing was set to \\'border-box\\' */;\\n  -moz-box-sizing: content-box /* When using bootstrap, box-sizing was set to \\'border-box\\' */;\\n  box-sizing: content-box /* When using bootstrap, box-sizing was set to \\'border-box\\' */;\\n  line-height: 0px /* normal line height, a space was appearing below the menu button */;\\n}\\n.ag-bootstrap .ag-ltr .ag-pinned-right-header {\\n  border-left: none;\\n}\\n.ag-bootstrap .ag-rtl .ag-pinned-left-header {\\n  border-right: none;\\n}\\n.ag-bootstrap .ag-header-cell-menu-button:hover {\\n  border: none;\\n}\\n.ag-bootstrap .ag-body {\\n  background-color: #f6f6f6;\\n}\\n.ag-bootstrap .ag-row-odd {\\n  background-color: #f6f6f6;\\n}\\n.ag-bootstrap .ag-row-even {\\n  background-color: #fff;\\n}\\n.ag-bootstrap .ag-row-selected {\\n  background-color: #b0e0e6;\\n}\\n.ag-bootstrap .ag-floating-top .ag-row {\\n  background-color: #f0f0f0;\\n}\\n.ag-bootstrap .ag-floating-bottom .ag-row {\\n  background-color: #f0f0f0;\\n}\\n.ag-bootstrap .ag-overlay-loading-wrapper {\\n  background-color: rgba(255,255,255,0.5);\\n}\\n.ag-bootstrap .ag-overlay-loading-center {\\n  background-color: #fff;\\n  border: none;\\n  border-radius: 10px;\\n  padding: 10px;\\n  color: #000;\\n}\\n.ag-bootstrap .ag-overlay-no-rows-center {\\n  background-color: #fff;\\n  border: none;\\n  border-radius: 10px;\\n  padding: 10px;\\n}\\n.ag-bootstrap .ag-group-cell-entire-row {\\n  background-color: #f6f6f6;\\n  padding: 4px;\\n}\\n.ag-bootstrap .ag-footer-cell-entire-row {\\n  background-color: #f6f6f6;\\n  padding: 4px;\\n}\\n.ag-bootstrap .ag-group-cell {\\n  font-style: italic;\\n}\\n.ag-bootstrap .ag-ltr .ag-group-expanded {\\n  padding-right: 4px;\\n}\\n.ag-bootstrap .ag-rtl .ag-group-expanded {\\n  padding-left: 4px;\\n}\\n.ag-bootstrap .ag-ltr .ag-group-contracted {\\n  padding-right: 4px;\\n}\\n.ag-bootstrap .ag-rtl .ag-group-contracted {\\n  padding-left: 4px;\\n}\\n.ag-bootstrap .ag-ltr .ag-group-loading {\\n  padding-right: 4px;\\n}\\n.ag-bootstrap .ag-rtl .ag-group-loading {\\n  padding-left: 4px;\\n}\\n.ag-bootstrap .ag-ltr .ag-group-value {\\n  padding-right: 2px;\\n}\\n.ag-bootstrap .ag-rtl .ag-group-value {\\n  padding-left: 2px;\\n}\\n.ag-bootstrap .ag-ltr .ag-group-checkbox {\\n  padding-right: 2px;\\n}\\n.ag-bootstrap .ag-rtl .ag-group-checkbox {\\n  padding-left: 2px;\\n}\\n.ag-bootstrap .ag-group-child-count {\\n  display: inline-block;\\n}\\n.ag-bootstrap .ag-footer-cell {\\n  font-style: italic;\\n}\\n.ag-bootstrap .ag-menu {\\n  border: 1px solid #808080;\\n  background-color: #f6f6f6;\\n  cursor: default;\\n  font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\\n  font-size: 14px;\\n}\\n.ag-bootstrap .ag-menu .ag-tab-header {\\n  background-color: #e6e6e6;\\n}\\n.ag-bootstrap .ag-menu .ag-tab {\\n  padding: 6px 8px 6px 8px;\\n  margin: 2px 2px 0px 2px;\\n  display: inline-block;\\n  border-right: 1px solid transparent;\\n  border-left: 1px solid transparent;\\n  border-top: 1px solid transparent;\\n  border-top-right-radius: 2px;\\n  border-top-left-radius: 2px;\\n}\\n.ag-bootstrap .ag-menu .ag-tab-selected {\\n  background-color: #f6f6f6;\\n  border-right: 1px solid #d3d3d3;\\n  border-left: 1px solid #d3d3d3;\\n  border-top: 1px solid #d3d3d3;\\n}\\n.ag-bootstrap .ag-menu-separator {\\n  border-top: 1px solid #d3d3d3;\\n}\\n.ag-bootstrap .ag-menu-option-active {\\n  background-color: #bde2e5;\\n}\\n.ag-bootstrap .ag-menu-option-icon {\\n  padding: 2px 4px 2px 4px;\\n  vertical-align: middle;\\n}\\n.ag-bootstrap .ag-menu-option-text {\\n  padding: 2px 4px 2px 4px;\\n  vertical-align: middle;\\n}\\n.ag-bootstrap .ag-menu-option-shortcut {\\n  padding: 2px 2px 2px 2px;\\n  vertical-align: middle;\\n}\\n.ag-bootstrap .ag-menu-option-popup-pointer {\\n  padding: 2px 4px 2px 4px;\\n  vertical-align: middle;\\n}\\n.ag-bootstrap .ag-menu-option-disabled {\\n  opacity: 0.5;\\n  -ms-filter: \"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)\";\\n  filter: alpha(opacity=50);\\n}\\n.ag-bootstrap .ag-menu-column-select-wrapper {\\n  margin: 2px;\\n}\\n.ag-bootstrap .ag-filter-checkbox {\\n  position: relative;\\n  top: 2px;\\n  left: 2px;\\n}\\n.ag-bootstrap .ag-filter-header-container {\\n  border-bottom: 1px solid #d3d3d3;\\n}\\n.ag-bootstrap .ag-filter-apply-panel {\\n  border-top: 1px solid #d3d3d3;\\n  padding: 2px;\\n}\\n.ag-bootstrap .ag-filter-value {\\n  margin-left: 4px;\\n}\\n.ag-bootstrap .ag-ltr .ag-selection-checkbox {\\n  padding-right: 4px;\\n}\\n.ag-bootstrap .ag-rtl .ag-selection-checkbox {\\n  padding-left: 4px;\\n}\\n.ag-bootstrap .ag-paging-panel {\\n  padding: 4px;\\n}\\n.ag-bootstrap .ag-paging-button {\\n  margin-left: 4px;\\n  margin-right: 4px;\\n}\\n.ag-bootstrap .ag-paging-row-summary-panel {\\n  display: inline-block;\\n  width: 300px;\\n}\\n.ag-bootstrap .ag-tool-panel {\\n  background-color: #f6f6f6;\\n  border-bottom: none;\\n  border-top: none;\\n  color: #000;\\n}\\n.ag-bootstrap .ltr .ag-tool-panel {\\n  border-right: none;\\n}\\n.ag-bootstrap .rtl .ag-tool-panel {\\n  border-left: none;\\n}\\n.ag-bootstrap .ag-status-bar {\\n  color: #000;\\n  background-color: #f6f6f6;\\n  font-size: 14px;\\n  height: 22px;\\n  border-bottom: none;\\n  border-left: none;\\n  border-right: none;\\n  padding: 2px;\\n}\\n.ag-bootstrap .ag-status-bar-aggregations {\\n  float: right;\\n}\\n.ag-bootstrap .ag-status-bar-item {\\n  padding-left: 10px;\\n}\\n.ag-bootstrap .ag-column-drop-cell {\\n  background: none;\\n  color: #000;\\n  border: 1px solid #808080;\\n}\\n.ag-bootstrap .ag-column-drop-cell-ghost {\\n  opacity: 0.5;\\n  -ms-filter: \"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)\";\\n  filter: alpha(opacity=50);\\n}\\n.ag-bootstrap .ag-column-drop-cell-text {\\n  padding-left: 2px;\\n  padding-right: 2px;\\n}\\n.ag-bootstrap .ag-column-drop-cell-button {\\n  border: 1px solid transparent;\\n  padding-left: 2px;\\n  padding-right: 2px;\\n  border-radius: 3px;\\n}\\n.ag-bootstrap .ag-column-drop-cell-button:hover {\\n  border: none;\\n}\\n.ag-bootstrap .ag-column-drop-empty-message {\\n  padding-left: 2px;\\n  padding-right: 2px;\\n  color: #808080;\\n}\\n.ag-bootstrap .ag-column-drop-icon {\\n  margin: 3px;\\n}\\n.ag-bootstrap .ag-column-drop {\\n  background-color: #f6f6f6;\\n}\\n.ag-bootstrap .ag-column-drop-horizontal {\\n  padding: 2px;\\n  border-top: none;\\n  border-left: none;\\n  border-right: none;\\n}\\n.ag-bootstrap .ag-column-drop-vertical {\\n  padding: 4px 4px 10px 4px;\\n  border-bottom: none;\\n}\\n.ag-bootstrap .ag-column-drop-vertical .ag-column-drop-cell {\\n  margin-top: 2px;\\n}\\n.ag-bootstrap .ag-column-drop-vertical .ag-column-drop-empty-message {\\n  text-align: center;\\n  padding: 5px;\\n}\\n.ag-bootstrap .ag-pivot-mode {\\n  border-bottom: none;\\n  padding: 4px;\\n  background-color: #f6f6f6;\\n}\\n.ag-bootstrap .ag-tool-panel .ag-column-select-panel {\\n  border-bottom: none;\\n}\\n.ag-bootstrap .ag-select-agg-func-popup {\\n  cursor: default;\\n  position: absolute;\\n  font-size: 14px;\\n  background-color: #fff;\\n  border: none;\\n}\\n.ag-bootstrap .ag-select-agg-func-item {\\n  padding-left: 2px;\\n  padding-right: 2px;\\n}\\n.ag-bootstrap .ag-select-agg-func-item:hover {\\n  background-color: #bde2e5;\\n}\\n',\"\"])}])});","(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c=\"function\"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error(\"Cannot find module '\"+i+\"'\");throw a.code=\"MODULE_NOT_FOUND\",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u=\"function\"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()","","/*!\n * Bootstrap v3.3.7 (http://getbootstrap.com)\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under the MIT license\n */\n\nif (typeof jQuery === 'undefined') {\n  throw new Error('Bootstrap\\'s JavaScript requires jQuery')\n}\n\n+function ($) {\n  'use strict';\n  var version = $.fn.jquery.split(' ')[0].split('.')\n  if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1) || (version[0] > 3)) {\n    throw new Error('Bootstrap\\'s JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4')\n  }\n}(jQuery);\n\n/* ========================================================================\n * Bootstrap: transition.js v3.3.7\n * http://getbootstrap.com/javascript/#transitions\n * ========================================================================\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * ======================================================================== */\n\n\n+function ($) {\n  'use strict';\n\n  // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)\n  // ============================================================\n\n  function transitionEnd() {\n    var el = document.createElement('bootstrap')\n\n    var transEndEventNames = {\n      WebkitTransition : 'webkitTransitionEnd',\n      MozTransition    : 'transitionend',\n      OTransition      : 'oTransitionEnd otransitionend',\n      transition       : 'transitionend'\n    }\n\n    for (var name in transEndEventNames) {\n      if (el.style[name] !== undefined) {\n        return { end: transEndEventNames[name] }\n      }\n    }\n\n    return false // explicit for ie8 (  ._.)\n  }\n\n  // http://blog.alexmaccaw.com/css-transitions\n  $.fn.emulateTransitionEnd = function (duration) {\n    var called = false\n    var $el = this\n    $(this).one('bsTransitionEnd', function () { called = true })\n    var callback = function () { if (!called) $($el).trigger($.support.transition.end) }\n    setTimeout(callback, duration)\n    return this\n  }\n\n  $(function () {\n    $.support.transition = transitionEnd()\n\n    if (!$.support.transition) return\n\n    $.event.special.bsTransitionEnd = {\n      bindType: $.support.transition.end,\n      delegateType: $.support.transition.end,\n      handle: function (e) {\n        if ($(e.target).is(this)) return e.handleObj.handler.apply(this, arguments)\n      }\n    }\n  })\n\n}(jQuery);\n\n/* ========================================================================\n * Bootstrap: alert.js v3.3.7\n * http://getbootstrap.com/javascript/#alerts\n * ========================================================================\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * ======================================================================== */\n\n\n+function ($) {\n  'use strict';\n\n  // ALERT CLASS DEFINITION\n  // ======================\n\n  var dismiss = '[data-dismiss=\"alert\"]'\n  var Alert   = function (el) {\n    $(el).on('click', dismiss, this.close)\n  }\n\n  Alert.VERSION = '3.3.7'\n\n  Alert.TRANSITION_DURATION = 150\n\n  Alert.prototype.close = function (e) {\n    var $this    = $(this)\n    var selector = $this.attr('data-target')\n\n    if (!selector) {\n      selector = $this.attr('href')\n      selector = selector && selector.replace(/.*(?=#[^\\s]*$)/, '') // strip for ie7\n    }\n\n    var $parent = $(selector === '#' ? [] : selector)\n\n    if (e) e.preventDefault()\n\n    if (!$parent.length) {\n      $parent = $this.closest('.alert')\n    }\n\n    $parent.trigger(e = $.Event('close.bs.alert'))\n\n    if (e.isDefaultPrevented()) return\n\n    $parent.removeClass('in')\n\n    function removeElement() {\n      // detach from parent, fire event then clean up data\n      $parent.detach().trigger('closed.bs.alert').remove()\n    }\n\n    $.support.transition && $parent.hasClass('fade') ?\n      $parent\n        .one('bsTransitionEnd', removeElement)\n        .emulateTransitionEnd(Alert.TRANSITION_DURATION) :\n      removeElement()\n  }\n\n\n  // ALERT PLUGIN DEFINITION\n  // =======================\n\n  function Plugin(option) {\n    return this.each(function () {\n      var $this = $(this)\n      var data  = $this.data('bs.alert')\n\n      if (!data) $this.data('bs.alert', (data = new Alert(this)))\n      if (typeof option == 'string') data[option].call($this)\n    })\n  }\n\n  var old = $.fn.alert\n\n  $.fn.alert             = Plugin\n  $.fn.alert.Constructor = Alert\n\n\n  // ALERT NO CONFLICT\n  // =================\n\n  $.fn.alert.noConflict = function () {\n    $.fn.alert = old\n    return this\n  }\n\n\n  // ALERT DATA-API\n  // ==============\n\n  $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)\n\n}(jQuery);\n\n/* ========================================================================\n * Bootstrap: button.js v3.3.7\n * http://getbootstrap.com/javascript/#buttons\n * ========================================================================\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * ======================================================================== */\n\n\n+function ($) {\n  'use strict';\n\n  // BUTTON PUBLIC CLASS DEFINITION\n  // ==============================\n\n  var Button = function (element, options) {\n    this.$element  = $(element)\n    this.options   = $.extend({}, Button.DEFAULTS, options)\n    this.isLoading = false\n  }\n\n  Button.VERSION  = '3.3.7'\n\n  Button.DEFAULTS = {\n    loadingText: 'loading...'\n  }\n\n  Button.prototype.setState = function (state) {\n    var d    = 'disabled'\n    var $el  = this.$element\n    var val  = $el.is('input') ? 'val' : 'html'\n    var data = $el.data()\n\n    state += 'Text'\n\n    if (data.resetText == null) $el.data('resetText', $el[val]())\n\n    // push to event loop to allow forms to submit\n    setTimeout($.proxy(function () {\n      $el[val](data[state] == null ? this.options[state] : data[state])\n\n      if (state == 'loadingText') {\n        this.isLoading = true\n        $el.addClass(d).attr(d, d).prop(d, true)\n      } else if (this.isLoading) {\n        this.isLoading = false\n        $el.removeClass(d).removeAttr(d).prop(d, false)\n      }\n    }, this), 0)\n  }\n\n  Button.prototype.toggle = function () {\n    var changed = true\n    var $parent = this.$element.closest('[data-toggle=\"buttons\"]')\n\n    if ($parent.length) {\n      var $input = this.$element.find('input')\n      if ($input.prop('type') == 'radio') {\n        if ($input.prop('checked')) changed = false\n        $parent.find('.active').removeClass('active')\n        this.$element.addClass('active')\n      } else if ($input.prop('type') == 'checkbox') {\n        if (($input.prop('checked')) !== this.$element.hasClass('active')) changed = false\n        this.$element.toggleClass('active')\n      }\n      $input.prop('checked', this.$element.hasClass('active'))\n      if (changed) $input.trigger('change')\n    } else {\n      this.$element.attr('aria-pressed', !this.$element.hasClass('active'))\n      this.$element.toggleClass('active')\n    }\n  }\n\n\n  // BUTTON PLUGIN DEFINITION\n  // ========================\n\n  function Plugin(option) {\n    return this.each(function () {\n      var $this   = $(this)\n      var data    = $this.data('bs.button')\n      var options = typeof option == 'object' && option\n\n      if (!data) $this.data('bs.button', (data = new Button(this, options)))\n\n      if (option == 'toggle') data.toggle()\n      else if (option) data.setState(option)\n    })\n  }\n\n  var old = $.fn.button\n\n  $.fn.button             = Plugin\n  $.fn.button.Constructor = Button\n\n\n  // BUTTON NO CONFLICT\n  // ==================\n\n  $.fn.button.noConflict = function () {\n    $.fn.button = old\n    return this\n  }\n\n\n  // BUTTON DATA-API\n  // ===============\n\n  $(document)\n    .on('click.bs.button.data-api', '[data-toggle^=\"button\"]', function (e) {\n      var $btn = $(e.target).closest('.btn')\n      Plugin.call($btn, 'toggle')\n      if (!($(e.target).is('input[type=\"radio\"], input[type=\"checkbox\"]'))) {\n        // Prevent double click on radios, and the double selections (so cancellation) on checkboxes\n        e.preventDefault()\n        // The target component still receive the focus\n        if ($btn.is('input,button')) $btn.trigger('focus')\n        else $btn.find('input:visible,button:visible').first().trigger('focus')\n      }\n    })\n    .on('focus.bs.button.data-api blur.bs.button.data-api', '[data-toggle^=\"button\"]', function (e) {\n      $(e.target).closest('.btn').toggleClass('focus', /^focus(in)?$/.test(e.type))\n    })\n\n}(jQuery);\n\n/* ========================================================================\n * Bootstrap: carousel.js v3.3.7\n * http://getbootstrap.com/javascript/#carousel\n * ========================================================================\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * ======================================================================== */\n\n\n+function ($) {\n  'use strict';\n\n  // CAROUSEL CLASS DEFINITION\n  // =========================\n\n  var Carousel = function (element, options) {\n    this.$element    = $(element)\n    this.$indicators = this.$element.find('.carousel-indicators')\n    this.options     = options\n    this.paused      = null\n    this.sliding     = null\n    this.interval    = null\n    this.$active     = null\n    this.$items      = null\n\n    this.options.keyboard && this.$element.on('keydown.bs.carousel', $.proxy(this.keydown, this))\n\n    this.options.pause == 'hover' && !('ontouchstart' in document.documentElement) && this.$element\n      .on('mouseenter.bs.carousel', $.proxy(this.pause, this))\n      .on('mouseleave.bs.carousel', $.proxy(this.cycle, this))\n  }\n\n  Carousel.VERSION  = '3.3.7'\n\n  Carousel.TRANSITION_DURATION = 600\n\n  Carousel.DEFAULTS = {\n    interval: 5000,\n    pause: 'hover',\n    wrap: true,\n    keyboard: true\n  }\n\n  Carousel.prototype.keydown = function (e) {\n    if (/input|textarea/i.test(e.target.tagName)) return\n    switch (e.which) {\n      case 37: this.prev(); break\n      case 39: this.next(); break\n      default: return\n    }\n\n    e.preventDefault()\n  }\n\n  Carousel.prototype.cycle = function (e) {\n    e || (this.paused = false)\n\n    this.interval && clearInterval(this.interval)\n\n    this.options.interval\n      && !this.paused\n      && (this.interval = setInterval($.proxy(this.next, this), this.options.interval))\n\n    return this\n  }\n\n  Carousel.prototype.getItemIndex = function (item) {\n    this.$items = item.parent().children('.item')\n    return this.$items.index(item || this.$active)\n  }\n\n  Carousel.prototype.getItemForDirection = function (direction, active) {\n    var activeIndex = this.getItemIndex(active)\n    var willWrap = (direction == 'prev' && activeIndex === 0)\n                || (direction == 'next' && activeIndex == (this.$items.length - 1))\n    if (willWrap && !this.options.wrap) return active\n    var delta = direction == 'prev' ? -1 : 1\n    var itemIndex = (activeIndex + delta) % this.$items.length\n    return this.$items.eq(itemIndex)\n  }\n\n  Carousel.prototype.to = function (pos) {\n    var that        = this\n    var activeIndex = this.getItemIndex(this.$active = this.$element.find('.item.active'))\n\n    if (pos > (this.$items.length - 1) || pos < 0) return\n\n    if (this.sliding)       return this.$element.one('slid.bs.carousel', function () { that.to(pos) }) // yes, \"slid\"\n    if (activeIndex == pos) return this.pause().cycle()\n\n    return this.slide(pos > activeIndex ? 'next' : 'prev', this.$items.eq(pos))\n  }\n\n  Carousel.prototype.pause = function (e) {\n    e || (this.paused = true)\n\n    if (this.$element.find('.next, .prev').length && $.support.transition) {\n      this.$element.trigger($.support.transition.end)\n      this.cycle(true)\n    }\n\n    this.interval = clearInterval(this.interval)\n\n    return this\n  }\n\n  Carousel.prototype.next = function () {\n    if (this.sliding) return\n    return this.slide('next')\n  }\n\n  Carousel.prototype.prev = function () {\n    if (this.sliding) return\n    return this.slide('prev')\n  }\n\n  Carousel.prototype.slide = function (type, next) {\n    var $active   = this.$element.find('.item.active')\n    var $next     = next || this.getItemForDirection(type, $active)\n    var isCycling = this.interval\n    var direction = type == 'next' ? 'left' : 'right'\n    var that      = this\n\n    if ($next.hasClass('active')) return (this.sliding = false)\n\n    var relatedTarget = $next[0]\n    var slideEvent = $.Event('slide.bs.carousel', {\n      relatedTarget: relatedTarget,\n      direction: direction\n    })\n    this.$element.trigger(slideEvent)\n    if (slideEvent.isDefaultPrevented()) return\n\n    this.sliding = true\n\n    isCycling && this.pause()\n\n    if (this.$indicators.length) {\n      this.$indicators.find('.active').removeClass('active')\n      var $nextIndicator = $(this.$indicators.children()[this.getItemIndex($next)])\n      $nextIndicator && $nextIndicator.addClass('active')\n    }\n\n    var slidEvent = $.Event('slid.bs.carousel', { relatedTarget: relatedTarget, direction: direction }) // yes, \"slid\"\n    if ($.support.transition && this.$element.hasClass('slide')) {\n      $next.addClass(type)\n      $next[0].offsetWidth // force reflow\n      $active.addClass(direction)\n      $next.addClass(direction)\n      $active\n        .one('bsTransitionEnd', function () {\n          $next.removeClass([type, direction].join(' ')).addClass('active')\n          $active.removeClass(['active', direction].join(' '))\n          that.sliding = false\n          setTimeout(function () {\n            that.$element.trigger(slidEvent)\n          }, 0)\n        })\n        .emulateTransitionEnd(Carousel.TRANSITION_DURATION)\n    } else {\n      $active.removeClass('active')\n      $next.addClass('active')\n      this.sliding = false\n      this.$element.trigger(slidEvent)\n    }\n\n    isCycling && this.cycle()\n\n    return this\n  }\n\n\n  // CAROUSEL PLUGIN DEFINITION\n  // ==========================\n\n  function Plugin(option) {\n    return this.each(function () {\n      var $this   = $(this)\n      var data    = $this.data('bs.carousel')\n      var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option)\n      var action  = typeof option == 'string' ? option : options.slide\n\n      if (!data) $this.data('bs.carousel', (data = new Carousel(this, options)))\n      if (typeof option == 'number') data.to(option)\n      else if (action) data[action]()\n      else if (options.interval) data.pause().cycle()\n    })\n  }\n\n  var old = $.fn.carousel\n\n  $.fn.carousel             = Plugin\n  $.fn.carousel.Constructor = Carousel\n\n\n  // CAROUSEL NO CONFLICT\n  // ====================\n\n  $.fn.carousel.noConflict = function () {\n    $.fn.carousel = old\n    return this\n  }\n\n\n  // CAROUSEL DATA-API\n  // =================\n\n  var clickHandler = function (e) {\n    var href\n    var $this   = $(this)\n    var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\\s]+$)/, '')) // strip for ie7\n    if (!$target.hasClass('carousel')) return\n    var options = $.extend({}, $target.data(), $this.data())\n    var slideIndex = $this.attr('data-slide-to')\n    if (slideIndex) options.interval = false\n\n    Plugin.call($target, options)\n\n    if (slideIndex) {\n      $target.data('bs.carousel').to(slideIndex)\n    }\n\n    e.preventDefault()\n  }\n\n  $(document)\n    .on('click.bs.carousel.data-api', '[data-slide]', clickHandler)\n    .on('click.bs.carousel.data-api', '[data-slide-to]', clickHandler)\n\n  $(window).on('load', function () {\n    $('[data-ride=\"carousel\"]').each(function () {\n      var $carousel = $(this)\n      Plugin.call($carousel, $carousel.data())\n    })\n  })\n\n}(jQuery);\n\n/* ========================================================================\n * Bootstrap: collapse.js v3.3.7\n * http://getbootstrap.com/javascript/#collapse\n * ========================================================================\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * ======================================================================== */\n\n/* jshint latedef: false */\n\n+function ($) {\n  'use strict';\n\n  // COLLAPSE PUBLIC CLASS DEFINITION\n  // ================================\n\n  var Collapse = function (element, options) {\n    this.$element      = $(element)\n    this.options       = $.extend({}, Collapse.DEFAULTS, options)\n    this.$trigger      = $('[data-toggle=\"collapse\"][href=\"#' + element.id + '\"],' +\n                           '[data-toggle=\"collapse\"][data-target=\"#' + element.id + '\"]')\n    this.transitioning = null\n\n    if (this.options.parent) {\n      this.$parent = this.getParent()\n    } else {\n      this.addAriaAndCollapsedClass(this.$element, this.$trigger)\n    }\n\n    if (this.options.toggle) this.toggle()\n  }\n\n  Collapse.VERSION  = '3.3.7'\n\n  Collapse.TRANSITION_DURATION = 350\n\n  Collapse.DEFAULTS = {\n    toggle: true\n  }\n\n  Collapse.prototype.dimension = function () {\n    var hasWidth = this.$element.hasClass('width')\n    return hasWidth ? 'width' : 'height'\n  }\n\n  Collapse.prototype.show = function () {\n    if (this.transitioning || this.$element.hasClass('in')) return\n\n    var activesData\n    var actives = this.$parent && this.$parent.children('.panel').children('.in, .collapsing')\n\n    if (actives && actives.length) {\n      activesData = actives.data('bs.collapse')\n      if (activesData && activesData.transitioning) return\n    }\n\n    var startEvent = $.Event('show.bs.collapse')\n    this.$element.trigger(startEvent)\n    if (startEvent.isDefaultPrevented()) return\n\n    if (actives && actives.length) {\n      Plugin.call(actives, 'hide')\n      activesData || actives.data('bs.collapse', null)\n    }\n\n    var dimension = this.dimension()\n\n    this.$element\n      .removeClass('collapse')\n      .addClass('collapsing')[dimension](0)\n      .attr('aria-expanded', true)\n\n    this.$trigger\n      .removeClass('collapsed')\n      .attr('aria-expanded', true)\n\n    this.transitioning = 1\n\n    var complete = function () {\n      this.$element\n        .removeClass('collapsing')\n        .addClass('collapse in')[dimension]('')\n      this.transitioning = 0\n      this.$element\n        .trigger('shown.bs.collapse')\n    }\n\n    if (!$.support.transition) return complete.call(this)\n\n    var scrollSize = $.camelCase(['scroll', dimension].join('-'))\n\n    this.$element\n      .one('bsTransitionEnd', $.proxy(complete, this))\n      .emulateTransitionEnd(Collapse.TRANSITION_DURATION)[dimension](this.$element[0][scrollSize])\n  }\n\n  Collapse.prototype.hide = function () {\n    if (this.transitioning || !this.$element.hasClass('in')) return\n\n    var startEvent = $.Event('hide.bs.collapse')\n    this.$element.trigger(startEvent)\n    if (startEvent.isDefaultPrevented()) return\n\n    var dimension = this.dimension()\n\n    this.$element[dimension](this.$element[dimension]())[0].offsetHeight\n\n    this.$element\n      .addClass('collapsing')\n      .removeClass('collapse in')\n      .attr('aria-expanded', false)\n\n    this.$trigger\n      .addClass('collapsed')\n      .attr('aria-expanded', false)\n\n    this.transitioning = 1\n\n    var complete = function () {\n      this.transitioning = 0\n      this.$element\n        .removeClass('collapsing')\n        .addClass('collapse')\n        .trigger('hidden.bs.collapse')\n    }\n\n    if (!$.support.transition) return complete.call(this)\n\n    this.$element\n      [dimension](0)\n      .one('bsTransitionEnd', $.proxy(complete, this))\n      .emulateTransitionEnd(Collapse.TRANSITION_DURATION)\n  }\n\n  Collapse.prototype.toggle = function () {\n    this[this.$element.hasClass('in') ? 'hide' : 'show']()\n  }\n\n  Collapse.prototype.getParent = function () {\n    return $(this.options.parent)\n      .find('[data-toggle=\"collapse\"][data-parent=\"' + this.options.parent + '\"]')\n      .each($.proxy(function (i, element) {\n        var $element = $(element)\n        this.addAriaAndCollapsedClass(getTargetFromTrigger($element), $element)\n      }, this))\n      .end()\n  }\n\n  Collapse.prototype.addAriaAndCollapsedClass = function ($element, $trigger) {\n    var isOpen = $element.hasClass('in')\n\n    $element.attr('aria-expanded', isOpen)\n    $trigger\n      .toggleClass('collapsed', !isOpen)\n      .attr('aria-expanded', isOpen)\n  }\n\n  function getTargetFromTrigger($trigger) {\n    var href\n    var target = $trigger.attr('data-target')\n      || (href = $trigger.attr('href')) && href.replace(/.*(?=#[^\\s]+$)/, '') // strip for ie7\n\n    return $(target)\n  }\n\n\n  // COLLAPSE PLUGIN DEFINITION\n  // ==========================\n\n  function Plugin(option) {\n    return this.each(function () {\n      var $this   = $(this)\n      var data    = $this.data('bs.collapse')\n      var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option)\n\n      if (!data && options.toggle && /show|hide/.test(option)) options.toggle = false\n      if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)))\n      if (typeof option == 'string') data[option]()\n    })\n  }\n\n  var old = $.fn.collapse\n\n  $.fn.collapse             = Plugin\n  $.fn.collapse.Constructor = Collapse\n\n\n  // COLLAPSE NO CONFLICT\n  // ====================\n\n  $.fn.collapse.noConflict = function () {\n    $.fn.collapse = old\n    return this\n  }\n\n\n  // COLLAPSE DATA-API\n  // =================\n\n  $(document).on('click.bs.collapse.data-api', '[data-toggle=\"collapse\"]', function (e) {\n    var $this   = $(this)\n\n    if (!$this.attr('data-target')) e.preventDefault()\n\n    var $target = getTargetFromTrigger($this)\n    var data    = $target.data('bs.collapse')\n    var option  = data ? 'toggle' : $this.data()\n\n    Plugin.call($target, option)\n  })\n\n}(jQuery);\n\n/* ========================================================================\n * Bootstrap: dropdown.js v3.3.7\n * http://getbootstrap.com/javascript/#dropdowns\n * ========================================================================\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * ======================================================================== */\n\n\n+function ($) {\n  'use strict';\n\n  // DROPDOWN CLASS DEFINITION\n  // =========================\n\n  var backdrop = '.dropdown-backdrop'\n  var toggle   = '[data-toggle=\"dropdown\"]'\n  var Dropdown = function (element) {\n    $(element).on('click.bs.dropdown', this.toggle)\n  }\n\n  Dropdown.VERSION = '3.3.7'\n\n  function getParent($this) {\n    var selector = $this.attr('data-target')\n\n    if (!selector) {\n      selector = $this.attr('href')\n      selector = selector && /#[A-Za-z]/.test(selector) && selector.replace(/.*(?=#[^\\s]*$)/, '') // strip for ie7\n    }\n\n    var $parent = selector && $(selector)\n\n    return $parent && $parent.length ? $parent : $this.parent()\n  }\n\n  function clearMenus(e) {\n    if (e && e.which === 3) return\n    $(backdrop).remove()\n    $(toggle).each(function () {\n      var $this         = $(this)\n      var $parent       = getParent($this)\n      var relatedTarget = { relatedTarget: this }\n\n      if (!$parent.hasClass('open')) return\n\n      if (e && e.type == 'click' && /input|textarea/i.test(e.target.tagName) && $.contains($parent[0], e.target)) return\n\n      $parent.trigger(e = $.Event('hide.bs.dropdown', relatedTarget))\n\n      if (e.isDefaultPrevented()) return\n\n      $this.attr('aria-expanded', 'false')\n      $parent.removeClass('open').trigger($.Event('hidden.bs.dropdown', relatedTarget))\n    })\n  }\n\n  Dropdown.prototype.toggle = function (e) {\n    var $this = $(this)\n\n    if ($this.is('.disabled, :disabled')) return\n\n    var $parent  = getParent($this)\n    var isActive = $parent.hasClass('open')\n\n    clearMenus()\n\n    if (!isActive) {\n      if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {\n        // if mobile we use a backdrop because click events don't delegate\n        $(document.createElement('div'))\n          .addClass('dropdown-backdrop')\n          .insertAfter($(this))\n          .on('click', clearMenus)\n      }\n\n      var relatedTarget = { relatedTarget: this }\n      $parent.trigger(e = $.Event('show.bs.dropdown', relatedTarget))\n\n      if (e.isDefaultPrevented()) return\n\n      $this\n        .trigger('focus')\n        .attr('aria-expanded', 'true')\n\n      $parent\n        .toggleClass('open')\n        .trigger($.Event('shown.bs.dropdown', relatedTarget))\n    }\n\n    return false\n  }\n\n  Dropdown.prototype.keydown = function (e) {\n    if (!/(38|40|27|32)/.test(e.which) || /input|textarea/i.test(e.target.tagName)) return\n\n    var $this = $(this)\n\n    e.preventDefault()\n    e.stopPropagation()\n\n    if ($this.is('.disabled, :disabled')) return\n\n    var $parent  = getParent($this)\n    var isActive = $parent.hasClass('open')\n\n    if (!isActive && e.which != 27 || isActive && e.which == 27) {\n      if (e.which == 27) $parent.find(toggle).trigger('focus')\n      return $this.trigger('click')\n    }\n\n    var desc = ' li:not(.disabled):visible a'\n    var $items = $parent.find('.dropdown-menu' + desc)\n\n    if (!$items.length) return\n\n    var index = $items.index(e.target)\n\n    if (e.which == 38 && index > 0)                 index--         // up\n    if (e.which == 40 && index < $items.length - 1) index++         // down\n    if (!~index)                                    index = 0\n\n    $items.eq(index).trigger('focus')\n  }\n\n\n  // DROPDOWN PLUGIN DEFINITION\n  // ==========================\n\n  function Plugin(option) {\n    return this.each(function () {\n      var $this = $(this)\n      var data  = $this.data('bs.dropdown')\n\n      if (!data) $this.data('bs.dropdown', (data = new Dropdown(this)))\n      if (typeof option == 'string') data[option].call($this)\n    })\n  }\n\n  var old = $.fn.dropdown\n\n  $.fn.dropdown             = Plugin\n  $.fn.dropdown.Constructor = Dropdown\n\n\n  // DROPDOWN NO CONFLICT\n  // ====================\n\n  $.fn.dropdown.noConflict = function () {\n    $.fn.dropdown = old\n    return this\n  }\n\n\n  // APPLY TO STANDARD DROPDOWN ELEMENTS\n  // ===================================\n\n  $(document)\n    .on('click.bs.dropdown.data-api', clearMenus)\n    .on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })\n    .on('click.bs.dropdown.data-api', toggle, Dropdown.prototype.toggle)\n    .on('keydown.bs.dropdown.data-api', toggle, Dropdown.prototype.keydown)\n    .on('keydown.bs.dropdown.data-api', '.dropdown-menu', Dropdown.prototype.keydown)\n\n}(jQuery);\n\n/* ========================================================================\n * Bootstrap: modal.js v3.3.7\n * http://getbootstrap.com/javascript/#modals\n * ========================================================================\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * ======================================================================== */\n\n\n+function ($) {\n  'use strict';\n\n  // MODAL CLASS DEFINITION\n  // ======================\n\n  var Modal = function (element, options) {\n    this.options             = options\n    this.$body               = $(document.body)\n    this.$element            = $(element)\n    this.$dialog             = this.$element.find('.modal-dialog')\n    this.$backdrop           = null\n    this.isShown             = null\n    this.originalBodyPad     = null\n    this.scrollbarWidth      = 0\n    this.ignoreBackdropClick = false\n\n    if (this.options.remote) {\n      this.$element\n        .find('.modal-content')\n        .load(this.options.remote, $.proxy(function () {\n          this.$element.trigger('loaded.bs.modal')\n        }, this))\n    }\n  }\n\n  Modal.VERSION  = '3.3.7'\n\n  Modal.TRANSITION_DURATION = 300\n  Modal.BACKDROP_TRANSITION_DURATION = 150\n\n  Modal.DEFAULTS = {\n    backdrop: true,\n    keyboard: true,\n    show: true\n  }\n\n  Modal.prototype.toggle = function (_relatedTarget) {\n    return this.isShown ? this.hide() : this.show(_relatedTarget)\n  }\n\n  Modal.prototype.show = function (_relatedTarget) {\n    var that = this\n    var e    = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })\n\n    this.$element.trigger(e)\n\n    if (this.isShown || e.isDefaultPrevented()) return\n\n    this.isShown = true\n\n    this.checkScrollbar()\n    this.setScrollbar()\n    this.$body.addClass('modal-open')\n\n    this.escape()\n    this.resize()\n\n    this.$element.on('click.dismiss.bs.modal', '[data-dismiss=\"modal\"]', $.proxy(this.hide, this))\n\n    this.$dialog.on('mousedown.dismiss.bs.modal', function () {\n      that.$element.one('mouseup.dismiss.bs.modal', function (e) {\n        if ($(e.target).is(that.$element)) that.ignoreBackdropClick = true\n      })\n    })\n\n    this.backdrop(function () {\n      var transition = $.support.transition && that.$element.hasClass('fade')\n\n      if (!that.$element.parent().length) {\n        that.$element.appendTo(that.$body) // don't move modals dom position\n      }\n\n      that.$element\n        .show()\n        .scrollTop(0)\n\n      that.adjustDialog()\n\n      if (transition) {\n        that.$element[0].offsetWidth // force reflow\n      }\n\n      that.$element.addClass('in')\n\n      that.enforceFocus()\n\n      var e = $.Event('shown.bs.modal', { relatedTarget: _relatedTarget })\n\n      transition ?\n        that.$dialog // wait for modal to slide in\n          .one('bsTransitionEnd', function () {\n            that.$element.trigger('focus').trigger(e)\n          })\n          .emulateTransitionEnd(Modal.TRANSITION_DURATION) :\n        that.$element.trigger('focus').trigger(e)\n    })\n  }\n\n  Modal.prototype.hide = function (e) {\n    if (e) e.preventDefault()\n\n    e = $.Event('hide.bs.modal')\n\n    this.$element.trigger(e)\n\n    if (!this.isShown || e.isDefaultPrevented()) return\n\n    this.isShown = false\n\n    this.escape()\n    this.resize()\n\n    $(document).off('focusin.bs.modal')\n\n    this.$element\n      .removeClass('in')\n      .off('click.dismiss.bs.modal')\n      .off('mouseup.dismiss.bs.modal')\n\n    this.$dialog.off('mousedown.dismiss.bs.modal')\n\n    $.support.transition && this.$element.hasClass('fade') ?\n      this.$element\n        .one('bsTransitionEnd', $.proxy(this.hideModal, this))\n        .emulateTransitionEnd(Modal.TRANSITION_DURATION) :\n      this.hideModal()\n  }\n\n  Modal.prototype.enforceFocus = function () {\n    $(document)\n      .off('focusin.bs.modal') // guard against infinite focus loop\n      .on('focusin.bs.modal', $.proxy(function (e) {\n        if (document !== e.target &&\n            this.$element[0] !== e.target &&\n            !this.$element.has(e.target).length) {\n          this.$element.trigger('focus')\n        }\n      }, this))\n  }\n\n  Modal.prototype.escape = function () {\n    if (this.isShown && this.options.keyboard) {\n      this.$element.on('keydown.dismiss.bs.modal', $.proxy(function (e) {\n        e.which == 27 && this.hide()\n      }, this))\n    } else if (!this.isShown) {\n      this.$element.off('keydown.dismiss.bs.modal')\n    }\n  }\n\n  Modal.prototype.resize = function () {\n    if (this.isShown) {\n      $(window).on('resize.bs.modal', $.proxy(this.handleUpdate, this))\n    } else {\n      $(window).off('resize.bs.modal')\n    }\n  }\n\n  Modal.prototype.hideModal = function () {\n    var that = this\n    this.$element.hide()\n    this.backdrop(function () {\n      that.$body.removeClass('modal-open')\n      that.resetAdjustments()\n      that.resetScrollbar()\n      that.$element.trigger('hidden.bs.modal')\n    })\n  }\n\n  Modal.prototype.removeBackdrop = function () {\n    this.$backdrop && this.$backdrop.remove()\n    this.$backdrop = null\n  }\n\n  Modal.prototype.backdrop = function (callback) {\n    var that = this\n    var animate = this.$element.hasClass('fade') ? 'fade' : ''\n\n    if (this.isShown && this.options.backdrop) {\n      var doAnimate = $.support.transition && animate\n\n      this.$backdrop = $(document.createElement('div'))\n        .addClass('modal-backdrop ' + animate)\n        .appendTo(this.$body)\n\n      this.$element.on('click.dismiss.bs.modal', $.proxy(function (e) {\n        if (this.ignoreBackdropClick) {\n          this.ignoreBackdropClick = false\n          return\n        }\n        if (e.target !== e.currentTarget) return\n        this.options.backdrop == 'static'\n          ? this.$element[0].focus()\n          : this.hide()\n      }, this))\n\n      if (doAnimate) this.$backdrop[0].offsetWidth // force reflow\n\n      this.$backdrop.addClass('in')\n\n      if (!callback) return\n\n      doAnimate ?\n        this.$backdrop\n          .one('bsTransitionEnd', callback)\n          .emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION) :\n        callback()\n\n    } else if (!this.isShown && this.$backdrop) {\n      this.$backdrop.removeClass('in')\n\n      var callbackRemove = function () {\n        that.removeBackdrop()\n        callback && callback()\n      }\n      $.support.transition && this.$element.hasClass('fade') ?\n        this.$backdrop\n          .one('bsTransitionEnd', callbackRemove)\n          .emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION) :\n        callbackRemove()\n\n    } else if (callback) {\n      callback()\n    }\n  }\n\n  // these following methods are used to handle overflowing modals\n\n  Modal.prototype.handleUpdate = function () {\n    this.adjustDialog()\n  }\n\n  Modal.prototype.adjustDialog = function () {\n    var modalIsOverflowing = this.$element[0].scrollHeight > document.documentElement.clientHeight\n\n    this.$element.css({\n      paddingLeft:  !this.bodyIsOverflowing && modalIsOverflowing ? this.scrollbarWidth : '',\n      paddingRight: this.bodyIsOverflowing && !modalIsOverflowing ? this.scrollbarWidth : ''\n    })\n  }\n\n  Modal.prototype.resetAdjustments = function () {\n    this.$element.css({\n      paddingLeft: '',\n      paddingRight: ''\n    })\n  }\n\n  Modal.prototype.checkScrollbar = function () {\n    var fullWindowWidth = window.innerWidth\n    if (!fullWindowWidth) { // workaround for missing window.innerWidth in IE8\n      var documentElementRect = document.documentElement.getBoundingClientRect()\n      fullWindowWidth = documentElementRect.right - Math.abs(documentElementRect.left)\n    }\n    this.bodyIsOverflowing = document.body.clientWidth < fullWindowWidth\n    this.scrollbarWidth = this.measureScrollbar()\n  }\n\n  Modal.prototype.setScrollbar = function () {\n    var bodyPad = parseInt((this.$body.css('padding-right') || 0), 10)\n    this.originalBodyPad = document.body.style.paddingRight || ''\n    if (this.bodyIsOverflowing) this.$body.css('padding-right', bodyPad + this.scrollbarWidth)\n  }\n\n  Modal.prototype.resetScrollbar = function () {\n    this.$body.css('padding-right', this.originalBodyPad)\n  }\n\n  Modal.prototype.measureScrollbar = function () { // thx walsh\n    var scrollDiv = document.createElement('div')\n    scrollDiv.className = 'modal-scrollbar-measure'\n    this.$body.append(scrollDiv)\n    var scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth\n    this.$body[0].removeChild(scrollDiv)\n    return scrollbarWidth\n  }\n\n\n  // MODAL PLUGIN DEFINITION\n  // =======================\n\n  function Plugin(option, _relatedTarget) {\n    return this.each(function () {\n      var $this   = $(this)\n      var data    = $this.data('bs.modal')\n      var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option)\n\n      if (!data) $this.data('bs.modal', (data = new Modal(this, options)))\n      if (typeof option == 'string') data[option](_relatedTarget)\n      else if (options.show) data.show(_relatedTarget)\n    })\n  }\n\n  var old = $.fn.modal\n\n  $.fn.modal             = Plugin\n  $.fn.modal.Constructor = Modal\n\n\n  // MODAL NO CONFLICT\n  // =================\n\n  $.fn.modal.noConflict = function () {\n    $.fn.modal = old\n    return this\n  }\n\n\n  // MODAL DATA-API\n  // ==============\n\n  $(document).on('click.bs.modal.data-api', '[data-toggle=\"modal\"]', function (e) {\n    var $this   = $(this)\n    var href    = $this.attr('href')\n    var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\\s]+$)/, ''))) // strip for ie7\n    var option  = $target.data('bs.modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data())\n\n    if ($this.is('a')) e.preventDefault()\n\n    $target.one('show.bs.modal', function (showEvent) {\n      if (showEvent.isDefaultPrevented()) return // only register focus restorer if modal will actually get shown\n      $target.one('hidden.bs.modal', function () {\n        $this.is(':visible') && $this.trigger('focus')\n      })\n    })\n    Plugin.call($target, option, this)\n  })\n\n}(jQuery);\n\n/* ========================================================================\n * Bootstrap: tooltip.js v3.3.7\n * http://getbootstrap.com/javascript/#tooltip\n * Inspired by the original jQuery.tipsy by Jason Frame\n * ========================================================================\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * ======================================================================== */\n\n\n+function ($) {\n  'use strict';\n\n  // TOOLTIP PUBLIC CLASS DEFINITION\n  // ===============================\n\n  var Tooltip = function (element, options) {\n    this.type       = null\n    this.options    = null\n    this.enabled    = null\n    this.timeout    = null\n    this.hoverState = null\n    this.$element   = null\n    this.inState    = null\n\n    this.init('tooltip', element, options)\n  }\n\n  Tooltip.VERSION  = '3.3.7'\n\n  Tooltip.TRANSITION_DURATION = 150\n\n  Tooltip.DEFAULTS = {\n    animation: true,\n    placement: 'top',\n    selector: false,\n    template: '<div class=\"tooltip\" role=\"tooltip\"><div class=\"tooltip-arrow\"></div><div class=\"tooltip-inner\"></div></div>',\n    trigger: 'hover focus',\n    title: '',\n    delay: 0,\n    html: false,\n    container: false,\n    viewport: {\n      selector: 'body',\n      padding: 0\n    }\n  }\n\n  Tooltip.prototype.init = function (type, element, options) {\n    this.enabled   = true\n    this.type      = type\n    this.$element  = $(element)\n    this.options   = this.getOptions(options)\n    this.$viewport = this.options.viewport && $($.isFunction(this.options.viewport) ? this.options.viewport.call(this, this.$element) : (this.options.viewport.selector || this.options.viewport))\n    this.inState   = { click: false, hover: false, focus: false }\n\n    if (this.$element[0] instanceof document.constructor && !this.options.selector) {\n      throw new Error('`selector` option must be specified when initializing ' + this.type + ' on the window.document object!')\n    }\n\n    var triggers = this.options.trigger.split(' ')\n\n    for (var i = triggers.length; i--;) {\n      var trigger = triggers[i]\n\n      if (trigger == 'click') {\n        this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))\n      } else if (trigger != 'manual') {\n        var eventIn  = trigger == 'hover' ? 'mouseenter' : 'focusin'\n        var eventOut = trigger == 'hover' ? 'mouseleave' : 'focusout'\n\n        this.$element.on(eventIn  + '.' + this.type, this.options.selector, $.proxy(this.enter, this))\n        this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))\n      }\n    }\n\n    this.options.selector ?\n      (this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) :\n      this.fixTitle()\n  }\n\n  Tooltip.prototype.getDefaults = function () {\n    return Tooltip.DEFAULTS\n  }\n\n  Tooltip.prototype.getOptions = function (options) {\n    options = $.extend({}, this.getDefaults(), this.$element.data(), options)\n\n    if (options.delay && typeof options.delay == 'number') {\n      options.delay = {\n        show: options.delay,\n        hide: options.delay\n      }\n    }\n\n    return options\n  }\n\n  Tooltip.prototype.getDelegateOptions = function () {\n    var options  = {}\n    var defaults = this.getDefaults()\n\n    this._options && $.each(this._options, function (key, value) {\n      if (defaults[key] != value) options[key] = value\n    })\n\n    return options\n  }\n\n  Tooltip.prototype.enter = function (obj) {\n    var self = obj instanceof this.constructor ?\n      obj : $(obj.currentTarget).data('bs.' + this.type)\n\n    if (!self) {\n      self = new this.constructor(obj.currentTarget, this.getDelegateOptions())\n      $(obj.currentTarget).data('bs.' + this.type, self)\n    }\n\n    if (obj instanceof $.Event) {\n      self.inState[obj.type == 'focusin' ? 'focus' : 'hover'] = true\n    }\n\n    if (self.tip().hasClass('in') || self.hoverState == 'in') {\n      self.hoverState = 'in'\n      return\n    }\n\n    clearTimeout(self.timeout)\n\n    self.hoverState = 'in'\n\n    if (!self.options.delay || !self.options.delay.show) return self.show()\n\n    self.timeout = setTimeout(function () {\n      if (self.hoverState == 'in') self.show()\n    }, self.options.delay.show)\n  }\n\n  Tooltip.prototype.isInStateTrue = function () {\n    for (var key in this.inState) {\n      if (this.inState[key]) return true\n    }\n\n    return false\n  }\n\n  Tooltip.prototype.leave = function (obj) {\n    var self = obj instanceof this.constructor ?\n      obj : $(obj.currentTarget).data('bs.' + this.type)\n\n    if (!self) {\n      self = new this.constructor(obj.currentTarget, this.getDelegateOptions())\n      $(obj.currentTarget).data('bs.' + this.type, self)\n    }\n\n    if (obj instanceof $.Event) {\n      self.inState[obj.type == 'focusout' ? 'focus' : 'hover'] = false\n    }\n\n    if (self.isInStateTrue()) return\n\n    clearTimeout(self.timeout)\n\n    self.hoverState = 'out'\n\n    if (!self.options.delay || !self.options.delay.hide) return self.hide()\n\n    self.timeout = setTimeout(function () {\n      if (self.hoverState == 'out') self.hide()\n    }, self.options.delay.hide)\n  }\n\n  Tooltip.prototype.show = function () {\n    var e = $.Event('show.bs.' + this.type)\n\n    if (this.hasContent() && this.enabled) {\n      this.$element.trigger(e)\n\n      var inDom = $.contains(this.$element[0].ownerDocument.documentElement, this.$element[0])\n      if (e.isDefaultPrevented() || !inDom) return\n      var that = this\n\n      var $tip = this.tip()\n\n      var tipId = this.getUID(this.type)\n\n      this.setContent()\n      $tip.attr('id', tipId)\n      this.$element.attr('aria-describedby', tipId)\n\n      if (this.options.animation) $tip.addClass('fade')\n\n      var placement = typeof this.options.placement == 'function' ?\n        this.options.placement.call(this, $tip[0], this.$element[0]) :\n        this.options.placement\n\n      var autoToken = /\\s?auto?\\s?/i\n      var autoPlace = autoToken.test(placement)\n      if (autoPlace) placement = placement.replace(autoToken, '') || 'top'\n\n      $tip\n        .detach()\n        .css({ top: 0, left: 0, display: 'block' })\n        .addClass(placement)\n        .data('bs.' + this.type, this)\n\n      this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)\n      this.$element.trigger('inserted.bs.' + this.type)\n\n      var pos          = this.getPosition()\n      var actualWidth  = $tip[0].offsetWidth\n      var actualHeight = $tip[0].offsetHeight\n\n      if (autoPlace) {\n        var orgPlacement = placement\n        var viewportDim = this.getPosition(this.$viewport)\n\n        placement = placement == 'bottom' && pos.bottom + actualHeight > viewportDim.bottom ? 'top'    :\n                    placement == 'top'    && pos.top    - actualHeight < viewportDim.top    ? 'bottom' :\n                    placement == 'right'  && pos.right  + actualWidth  > viewportDim.width  ? 'left'   :\n                    placement == 'left'   && pos.left   - actualWidth  < viewportDim.left   ? 'right'  :\n                    placement\n\n        $tip\n          .removeClass(orgPlacement)\n          .addClass(placement)\n      }\n\n      var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)\n\n      this.applyPlacement(calculatedOffset, placement)\n\n      var complete = function () {\n        var prevHoverState = that.hoverState\n        that.$element.trigger('shown.bs.' + that.type)\n        that.hoverState = null\n\n        if (prevHoverState == 'out') that.leave(that)\n      }\n\n      $.support.transition && this.$tip.hasClass('fade') ?\n        $tip\n          .one('bsTransitionEnd', complete)\n          .emulateTransitionEnd(Tooltip.TRANSITION_DURATION) :\n        complete()\n    }\n  }\n\n  Tooltip.prototype.applyPlacement = function (offset, placement) {\n    var $tip   = this.tip()\n    var width  = $tip[0].offsetWidth\n    var height = $tip[0].offsetHeight\n\n    // manually read margins because getBoundingClientRect includes difference\n    var marginTop = parseInt($tip.css('margin-top'), 10)\n    var marginLeft = parseInt($tip.css('margin-left'), 10)\n\n    // we must check for NaN for ie 8/9\n    if (isNaN(marginTop))  marginTop  = 0\n    if (isNaN(marginLeft)) marginLeft = 0\n\n    offset.top  += marginTop\n    offset.left += marginLeft\n\n    // $.fn.offset doesn't round pixel values\n    // so we use setOffset directly with our own function B-0\n    $.offset.setOffset($tip[0], $.extend({\n      using: function (props) {\n        $tip.css({\n          top: Math.round(props.top),\n          left: Math.round(props.left)\n        })\n      }\n    }, offset), 0)\n\n    $tip.addClass('in')\n\n    // check to see if placing tip in new offset caused the tip to resize itself\n    var actualWidth  = $tip[0].offsetWidth\n    var actualHeight = $tip[0].offsetHeight\n\n    if (placement == 'top' && actualHeight != height) {\n      offset.top = offset.top + height - actualHeight\n    }\n\n    var delta = this.getViewportAdjustedDelta(placement, offset, actualWidth, actualHeight)\n\n    if (delta.left) offset.left += delta.left\n    else offset.top += delta.top\n\n    var isVertical          = /top|bottom/.test(placement)\n    var arrowDelta          = isVertical ? delta.left * 2 - width + actualWidth : delta.top * 2 - height + actualHeight\n    var arrowOffsetPosition = isVertical ? 'offsetWidth' : 'offsetHeight'\n\n    $tip.offset(offset)\n    this.replaceArrow(arrowDelta, $tip[0][arrowOffsetPosition], isVertical)\n  }\n\n  Tooltip.prototype.replaceArrow = function (delta, dimension, isVertical) {\n    this.arrow()\n      .css(isVertical ? 'left' : 'top', 50 * (1 - delta / dimension) + '%')\n      .css(isVertical ? 'top' : 'left', '')\n  }\n\n  Tooltip.prototype.setContent = function () {\n    var $tip  = this.tip()\n    var title = this.getTitle()\n\n    $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)\n    $tip.removeClass('fade in top bottom left right')\n  }\n\n  Tooltip.prototype.hide = function (callback) {\n    var that = this\n    var $tip = $(this.$tip)\n    var e    = $.Event('hide.bs.' + this.type)\n\n    function complete() {\n      if (that.hoverState != 'in') $tip.detach()\n      if (that.$element) { // TODO: Check whether guarding this code with this `if` is really necessary.\n        that.$element\n          .removeAttr('aria-describedby')\n          .trigger('hidden.bs.' + that.type)\n      }\n      callback && callback()\n    }\n\n    this.$element.trigger(e)\n\n    if (e.isDefaultPrevented()) return\n\n    $tip.removeClass('in')\n\n    $.support.transition && $tip.hasClass('fade') ?\n      $tip\n        .one('bsTransitionEnd', complete)\n        .emulateTransitionEnd(Tooltip.TRANSITION_DURATION) :\n      complete()\n\n    this.hoverState = null\n\n    return this\n  }\n\n  Tooltip.prototype.fixTitle = function () {\n    var $e = this.$element\n    if ($e.attr('title') || typeof $e.attr('data-original-title') != 'string') {\n      $e.attr('data-original-title', $e.attr('title') || '').attr('title', '')\n    }\n  }\n\n  Tooltip.prototype.hasContent = function () {\n    return this.getTitle()\n  }\n\n  Tooltip.prototype.getPosition = function ($element) {\n    $element   = $element || this.$element\n\n    var el     = $element[0]\n    var isBody = el.tagName == 'BODY'\n\n    var elRect    = el.getBoundingClientRect()\n    if (elRect.width == null) {\n      // width and height are missing in IE8, so compute them manually; see https://github.com/twbs/bootstrap/issues/14093\n      elRect = $.extend({}, elRect, { width: elRect.right - elRect.left, height: elRect.bottom - elRect.top })\n    }\n    var isSvg = window.SVGElement && el instanceof window.SVGElement\n    // Avoid using $.offset() on SVGs since it gives incorrect results in jQuery 3.\n    // See https://github.com/twbs/bootstrap/issues/20280\n    var elOffset  = isBody ? { top: 0, left: 0 } : (isSvg ? null : $element.offset())\n    var scroll    = { scroll: isBody ? document.documentElement.scrollTop || document.body.scrollTop : $element.scrollTop() }\n    var outerDims = isBody ? { width: $(window).width(), height: $(window).height() } : null\n\n    return $.extend({}, elRect, scroll, outerDims, elOffset)\n  }\n\n  Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) {\n    return placement == 'bottom' ? { top: pos.top + pos.height,   left: pos.left + pos.width / 2 - actualWidth / 2 } :\n           placement == 'top'    ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2 } :\n           placement == 'left'   ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } :\n        /* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width }\n\n  }\n\n  Tooltip.prototype.getViewportAdjustedDelta = function (placement, pos, actualWidth, actualHeight) {\n    var delta = { top: 0, left: 0 }\n    if (!this.$viewport) return delta\n\n    var viewportPadding = this.options.viewport && this.options.viewport.padding || 0\n    var viewportDimensions = this.getPosition(this.$viewport)\n\n    if (/right|left/.test(placement)) {\n      var topEdgeOffset    = pos.top - viewportPadding - viewportDimensions.scroll\n      var bottomEdgeOffset = pos.top + viewportPadding - viewportDimensions.scroll + actualHeight\n      if (topEdgeOffset < viewportDimensions.top) { // top overflow\n        delta.top = viewportDimensions.top - topEdgeOffset\n      } else if (bottomEdgeOffset > viewportDimensions.top + viewportDimensions.height) { // bottom overflow\n        delta.top = viewportDimensions.top + viewportDimensions.height - bottomEdgeOffset\n      }\n    } else {\n      var leftEdgeOffset  = pos.left - viewportPadding\n      var rightEdgeOffset = pos.left + viewportPadding + actualWidth\n      if (leftEdgeOffset < viewportDimensions.left) { // left overflow\n        delta.left = viewportDimensions.left - leftEdgeOffset\n      } else if (rightEdgeOffset > viewportDimensions.right) { // right overflow\n        delta.left = viewportDimensions.left + viewportDimensions.width - rightEdgeOffset\n      }\n    }\n\n    return delta\n  }\n\n  Tooltip.prototype.getTitle = function () {\n    var title\n    var $e = this.$element\n    var o  = this.options\n\n    title = $e.attr('data-original-title')\n      || (typeof o.title == 'function' ? o.title.call($e[0]) :  o.title)\n\n    return title\n  }\n\n  Tooltip.prototype.getUID = function (prefix) {\n    do prefix += ~~(Math.random() * 1000000)\n    while (document.getElementById(prefix))\n    return prefix\n  }\n\n  Tooltip.prototype.tip = function () {\n    if (!this.$tip) {\n      this.$tip = $(this.options.template)\n      if (this.$tip.length != 1) {\n        throw new Error(this.type + ' `template` option must consist of exactly 1 top-level element!')\n      }\n    }\n    return this.$tip\n  }\n\n  Tooltip.prototype.arrow = function () {\n    return (this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow'))\n  }\n\n  Tooltip.prototype.enable = function () {\n    this.enabled = true\n  }\n\n  Tooltip.prototype.disable = function () {\n    this.enabled = false\n  }\n\n  Tooltip.prototype.toggleEnabled = function () {\n    this.enabled = !this.enabled\n  }\n\n  Tooltip.prototype.toggle = function (e) {\n    var self = this\n    if (e) {\n      self = $(e.currentTarget).data('bs.' + this.type)\n      if (!self) {\n        self = new this.constructor(e.currentTarget, this.getDelegateOptions())\n        $(e.currentTarget).data('bs.' + this.type, self)\n      }\n    }\n\n    if (e) {\n      self.inState.click = !self.inState.click\n      if (self.isInStateTrue()) self.enter(self)\n      else self.leave(self)\n    } else {\n      self.tip().hasClass('in') ? self.leave(self) : self.enter(self)\n    }\n  }\n\n  Tooltip.prototype.destroy = function () {\n    var that = this\n    clearTimeout(this.timeout)\n    this.hide(function () {\n      that.$element.off('.' + that.type).removeData('bs.' + that.type)\n      if (that.$tip) {\n        that.$tip.detach()\n      }\n      that.$tip = null\n      that.$arrow = null\n      that.$viewport = null\n      that.$element = null\n    })\n  }\n\n\n  // TOOLTIP PLUGIN DEFINITION\n  // =========================\n\n  function Plugin(option) {\n    return this.each(function () {\n      var $this   = $(this)\n      var data    = $this.data('bs.tooltip')\n      var options = typeof option == 'object' && option\n\n      if (!data && /destroy|hide/.test(option)) return\n      if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))\n      if (typeof option == 'string') data[option]()\n    })\n  }\n\n  var old = $.fn.tooltip\n\n  $.fn.tooltip             = Plugin\n  $.fn.tooltip.Constructor = Tooltip\n\n\n  // TOOLTIP NO CONFLICT\n  // ===================\n\n  $.fn.tooltip.noConflict = function () {\n    $.fn.tooltip = old\n    return this\n  }\n\n}(jQuery);\n\n/* ========================================================================\n * Bootstrap: popover.js v3.3.7\n * http://getbootstrap.com/javascript/#popovers\n * ========================================================================\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * ======================================================================== */\n\n\n+function ($) {\n  'use strict';\n\n  // POPOVER PUBLIC CLASS DEFINITION\n  // ===============================\n\n  var Popover = function (element, options) {\n    this.init('popover', element, options)\n  }\n\n  if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')\n\n  Popover.VERSION  = '3.3.7'\n\n  Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, {\n    placement: 'right',\n    trigger: 'click',\n    content: '',\n    template: '<div class=\"popover\" role=\"tooltip\"><div class=\"arrow\"></div><h3 class=\"popover-title\"></h3><div class=\"popover-content\"></div></div>'\n  })\n\n\n  // NOTE: POPOVER EXTENDS tooltip.js\n  // ================================\n\n  Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype)\n\n  Popover.prototype.constructor = Popover\n\n  Popover.prototype.getDefaults = function () {\n    return Popover.DEFAULTS\n  }\n\n  Popover.prototype.setContent = function () {\n    var $tip    = this.tip()\n    var title   = this.getTitle()\n    var content = this.getContent()\n\n    $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)\n    $tip.find('.popover-content').children().detach().end()[ // we use append for html objects to maintain js events\n      this.options.html ? (typeof content == 'string' ? 'html' : 'append') : 'text'\n    ](content)\n\n    $tip.removeClass('fade top bottom left right in')\n\n    // IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do\n    // this manually by checking the contents.\n    if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide()\n  }\n\n  Popover.prototype.hasContent = function () {\n    return this.getTitle() || this.getContent()\n  }\n\n  Popover.prototype.getContent = function () {\n    var $e = this.$element\n    var o  = this.options\n\n    return $e.attr('data-content')\n      || (typeof o.content == 'function' ?\n            o.content.call($e[0]) :\n            o.content)\n  }\n\n  Popover.prototype.arrow = function () {\n    return (this.$arrow = this.$arrow || this.tip().find('.arrow'))\n  }\n\n\n  // POPOVER PLUGIN DEFINITION\n  // =========================\n\n  function Plugin(option) {\n    return this.each(function () {\n      var $this   = $(this)\n      var data    = $this.data('bs.popover')\n      var options = typeof option == 'object' && option\n\n      if (!data && /destroy|hide/.test(option)) return\n      if (!data) $this.data('bs.popover', (data = new Popover(this, options)))\n      if (typeof option == 'string') data[option]()\n    })\n  }\n\n  var old = $.fn.popover\n\n  $.fn.popover             = Plugin\n  $.fn.popover.Constructor = Popover\n\n\n  // POPOVER NO CONFLICT\n  // ===================\n\n  $.fn.popover.noConflict = function () {\n    $.fn.popover = old\n    return this\n  }\n\n}(jQuery);\n\n/* ========================================================================\n * Bootstrap: scrollspy.js v3.3.7\n * http://getbootstrap.com/javascript/#scrollspy\n * ========================================================================\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * ======================================================================== */\n\n\n+function ($) {\n  'use strict';\n\n  // SCROLLSPY CLASS DEFINITION\n  // ==========================\n\n  function ScrollSpy(element, options) {\n    this.$body          = $(document.body)\n    this.$scrollElement = $(element).is(document.body) ? $(window) : $(element)\n    this.options        = $.extend({}, ScrollSpy.DEFAULTS, options)\n    this.selector       = (this.options.target || '') + ' .nav li > a'\n    this.offsets        = []\n    this.targets        = []\n    this.activeTarget   = null\n    this.scrollHeight   = 0\n\n    this.$scrollElement.on('scroll.bs.scrollspy', $.proxy(this.process, this))\n    this.refresh()\n    this.process()\n  }\n\n  ScrollSpy.VERSION  = '3.3.7'\n\n  ScrollSpy.DEFAULTS = {\n    offset: 10\n  }\n\n  ScrollSpy.prototype.getScrollHeight = function () {\n    return this.$scrollElement[0].scrollHeight || Math.max(this.$body[0].scrollHeight, document.documentElement.scrollHeight)\n  }\n\n  ScrollSpy.prototype.refresh = function () {\n    var that          = this\n    var offsetMethod  = 'offset'\n    var offsetBase    = 0\n\n    this.offsets      = []\n    this.targets      = []\n    this.scrollHeight = this.getScrollHeight()\n\n    if (!$.isWindow(this.$scrollElement[0])) {\n      offsetMethod = 'position'\n      offsetBase   = this.$scrollElement.scrollTop()\n    }\n\n    this.$body\n      .find(this.selector)\n      .map(function () {\n        var $el   = $(this)\n        var href  = $el.data('target') || $el.attr('href')\n        var $href = /^#./.test(href) && $(href)\n\n        return ($href\n          && $href.length\n          && $href.is(':visible')\n          && [[$href[offsetMethod]().top + offsetBase, href]]) || null\n      })\n      .sort(function (a, b) { return a[0] - b[0] })\n      .each(function () {\n        that.offsets.push(this[0])\n        that.targets.push(this[1])\n      })\n  }\n\n  ScrollSpy.prototype.process = function () {\n    var scrollTop    = this.$scrollElement.scrollTop() + this.options.offset\n    var scrollHeight = this.getScrollHeight()\n    var maxScroll    = this.options.offset + scrollHeight - this.$scrollElement.height()\n    var offsets      = this.offsets\n    var targets      = this.targets\n    var activeTarget = this.activeTarget\n    var i\n\n    if (this.scrollHeight != scrollHeight) {\n      this.refresh()\n    }\n\n    if (scrollTop >= maxScroll) {\n      return activeTarget != (i = targets[targets.length - 1]) && this.activate(i)\n    }\n\n    if (activeTarget && scrollTop < offsets[0]) {\n      this.activeTarget = null\n      return this.clear()\n    }\n\n    for (i = offsets.length; i--;) {\n      activeTarget != targets[i]\n        && scrollTop >= offsets[i]\n        && (offsets[i + 1] === undefined || scrollTop < offsets[i + 1])\n        && this.activate(targets[i])\n    }\n  }\n\n  ScrollSpy.prototype.activate = function (target) {\n    this.activeTarget = target\n\n    this.clear()\n\n    var selector = this.selector +\n      '[data-target=\"' + target + '\"],' +\n      this.selector + '[href=\"' + target + '\"]'\n\n    var active = $(selector)\n      .parents('li')\n      .addClass('active')\n\n    if (active.parent('.dropdown-menu').length) {\n      active = active\n        .closest('li.dropdown')\n        .addClass('active')\n    }\n\n    active.trigger('activate.bs.scrollspy')\n  }\n\n  ScrollSpy.prototype.clear = function () {\n    $(this.selector)\n      .parentsUntil(this.options.target, '.active')\n      .removeClass('active')\n  }\n\n\n  // SCROLLSPY PLUGIN DEFINITION\n  // ===========================\n\n  function Plugin(option) {\n    return this.each(function () {\n      var $this   = $(this)\n      var data    = $this.data('bs.scrollspy')\n      var options = typeof option == 'object' && option\n\n      if (!data) $this.data('bs.scrollspy', (data = new ScrollSpy(this, options)))\n      if (typeof option == 'string') data[option]()\n    })\n  }\n\n  var old = $.fn.scrollspy\n\n  $.fn.scrollspy             = Plugin\n  $.fn.scrollspy.Constructor = ScrollSpy\n\n\n  // SCROLLSPY NO CONFLICT\n  // =====================\n\n  $.fn.scrollspy.noConflict = function () {\n    $.fn.scrollspy = old\n    return this\n  }\n\n\n  // SCROLLSPY DATA-API\n  // ==================\n\n  $(window).on('load.bs.scrollspy.data-api', function () {\n    $('[data-spy=\"scroll\"]').each(function () {\n      var $spy = $(this)\n      Plugin.call($spy, $spy.data())\n    })\n  })\n\n}(jQuery);\n\n/* ========================================================================\n * Bootstrap: tab.js v3.3.7\n * http://getbootstrap.com/javascript/#tabs\n * ========================================================================\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * ======================================================================== */\n\n\n+function ($) {\n  'use strict';\n\n  // TAB CLASS DEFINITION\n  // ====================\n\n  var Tab = function (element) {\n    // jscs:disable requireDollarBeforejQueryAssignment\n    this.element = $(element)\n    // jscs:enable requireDollarBeforejQueryAssignment\n  }\n\n  Tab.VERSION = '3.3.7'\n\n  Tab.TRANSITION_DURATION = 150\n\n  Tab.prototype.show = function () {\n    var $this    = this.element\n    var $ul      = $this.closest('ul:not(.dropdown-menu)')\n    var selector = $this.data('target')\n\n    if (!selector) {\n      selector = $this.attr('href')\n      selector = selector && selector.replace(/.*(?=#[^\\s]*$)/, '') // strip for ie7\n    }\n\n    if ($this.parent('li').hasClass('active')) return\n\n    var $previous = $ul.find('.active:last a')\n    var hideEvent = $.Event('hide.bs.tab', {\n      relatedTarget: $this[0]\n    })\n    var showEvent = $.Event('show.bs.tab', {\n      relatedTarget: $previous[0]\n    })\n\n    $previous.trigger(hideEvent)\n    $this.trigger(showEvent)\n\n    if (showEvent.isDefaultPrevented() || hideEvent.isDefaultPrevented()) return\n\n    var $target = $(selector)\n\n    this.activate($this.closest('li'), $ul)\n    this.activate($target, $target.parent(), function () {\n      $previous.trigger({\n        type: 'hidden.bs.tab',\n        relatedTarget: $this[0]\n      })\n      $this.trigger({\n        type: 'shown.bs.tab',\n        relatedTarget: $previous[0]\n      })\n    })\n  }\n\n  Tab.prototype.activate = function (element, container, callback) {\n    var $active    = container.find('> .active')\n    var transition = callback\n      && $.support.transition\n      && ($active.length && $active.hasClass('fade') || !!container.find('> .fade').length)\n\n    function next() {\n      $active\n        .removeClass('active')\n        .find('> .dropdown-menu > .active')\n          .removeClass('active')\n        .end()\n        .find('[data-toggle=\"tab\"]')\n          .attr('aria-expanded', false)\n\n      element\n        .addClass('active')\n        .find('[data-toggle=\"tab\"]')\n          .attr('aria-expanded', true)\n\n      if (transition) {\n        element[0].offsetWidth // reflow for transition\n        element.addClass('in')\n      } else {\n        element.removeClass('fade')\n      }\n\n      if (element.parent('.dropdown-menu').length) {\n        element\n          .closest('li.dropdown')\n            .addClass('active')\n          .end()\n          .find('[data-toggle=\"tab\"]')\n            .attr('aria-expanded', true)\n      }\n\n      callback && callback()\n    }\n\n    $active.length && transition ?\n      $active\n        .one('bsTransitionEnd', next)\n        .emulateTransitionEnd(Tab.TRANSITION_DURATION) :\n      next()\n\n    $active.removeClass('in')\n  }\n\n\n  // TAB PLUGIN DEFINITION\n  // =====================\n\n  function Plugin(option) {\n    return this.each(function () {\n      var $this = $(this)\n      var data  = $this.data('bs.tab')\n\n      if (!data) $this.data('bs.tab', (data = new Tab(this)))\n      if (typeof option == 'string') data[option]()\n    })\n  }\n\n  var old = $.fn.tab\n\n  $.fn.tab             = Plugin\n  $.fn.tab.Constructor = Tab\n\n\n  // TAB NO CONFLICT\n  // ===============\n\n  $.fn.tab.noConflict = function () {\n    $.fn.tab = old\n    return this\n  }\n\n\n  // TAB DATA-API\n  // ============\n\n  var clickHandler = function (e) {\n    e.preventDefault()\n    Plugin.call($(this), 'show')\n  }\n\n  $(document)\n    .on('click.bs.tab.data-api', '[data-toggle=\"tab\"]', clickHandler)\n    .on('click.bs.tab.data-api', '[data-toggle=\"pill\"]', clickHandler)\n\n}(jQuery);\n\n/* ========================================================================\n * Bootstrap: affix.js v3.3.7\n * http://getbootstrap.com/javascript/#affix\n * ========================================================================\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * ======================================================================== */\n\n\n+function ($) {\n  'use strict';\n\n  // AFFIX CLASS DEFINITION\n  // ======================\n\n  var Affix = function (element, options) {\n    this.options = $.extend({}, Affix.DEFAULTS, options)\n\n    this.$target = $(this.options.target)\n      .on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this))\n      .on('click.bs.affix.data-api',  $.proxy(this.checkPositionWithEventLoop, this))\n\n    this.$element     = $(element)\n    this.affixed      = null\n    this.unpin        = null\n    this.pinnedOffset = null\n\n    this.checkPosition()\n  }\n\n  Affix.VERSION  = '3.3.7'\n\n  Affix.RESET    = 'affix affix-top affix-bottom'\n\n  Affix.DEFAULTS = {\n    offset: 0,\n    target: window\n  }\n\n  Affix.prototype.getState = function (scrollHeight, height, offsetTop, offsetBottom) {\n    var scrollTop    = this.$target.scrollTop()\n    var position     = this.$element.offset()\n    var targetHeight = this.$target.height()\n\n    if (offsetTop != null && this.affixed == 'top') return scrollTop < offsetTop ? 'top' : false\n\n    if (this.affixed == 'bottom') {\n      if (offsetTop != null) return (scrollTop + this.unpin <= position.top) ? false : 'bottom'\n      return (scrollTop + targetHeight <= scrollHeight - offsetBottom) ? false : 'bottom'\n    }\n\n    var initializing   = this.affixed == null\n    var colliderTop    = initializing ? scrollTop : position.top\n    var colliderHeight = initializing ? targetHeight : height\n\n    if (offsetTop != null && scrollTop <= offsetTop) return 'top'\n    if (offsetBottom != null && (colliderTop + colliderHeight >= scrollHeight - offsetBottom)) return 'bottom'\n\n    return false\n  }\n\n  Affix.prototype.getPinnedOffset = function () {\n    if (this.pinnedOffset) return this.pinnedOffset\n    this.$element.removeClass(Affix.RESET).addClass('affix')\n    var scrollTop = this.$target.scrollTop()\n    var position  = this.$element.offset()\n    return (this.pinnedOffset = position.top - scrollTop)\n  }\n\n  Affix.prototype.checkPositionWithEventLoop = function () {\n    setTimeout($.proxy(this.checkPosition, this), 1)\n  }\n\n  Affix.prototype.checkPosition = function () {\n    if (!this.$element.is(':visible')) return\n\n    var height       = this.$element.height()\n    var offset       = this.options.offset\n    var offsetTop    = offset.top\n    var offsetBottom = offset.bottom\n    var scrollHeight = Math.max($(document).height(), $(document.body).height())\n\n    if (typeof offset != 'object')         offsetBottom = offsetTop = offset\n    if (typeof offsetTop == 'function')    offsetTop    = offset.top(this.$element)\n    if (typeof offsetBottom == 'function') offsetBottom = offset.bottom(this.$element)\n\n    var affix = this.getState(scrollHeight, height, offsetTop, offsetBottom)\n\n    if (this.affixed != affix) {\n      if (this.unpin != null) this.$element.css('top', '')\n\n      var affixType = 'affix' + (affix ? '-' + affix : '')\n      var e         = $.Event(affixType + '.bs.affix')\n\n      this.$element.trigger(e)\n\n      if (e.isDefaultPrevented()) return\n\n      this.affixed = affix\n      this.unpin = affix == 'bottom' ? this.getPinnedOffset() : null\n\n      this.$element\n        .removeClass(Affix.RESET)\n        .addClass(affixType)\n        .trigger(affixType.replace('affix', 'affixed') + '.bs.affix')\n    }\n\n    if (affix == 'bottom') {\n      this.$element.offset({\n        top: scrollHeight - height - offsetBottom\n      })\n    }\n  }\n\n\n  // AFFIX PLUGIN DEFINITION\n  // =======================\n\n  function Plugin(option) {\n    return this.each(function () {\n      var $this   = $(this)\n      var data    = $this.data('bs.affix')\n      var options = typeof option == 'object' && option\n\n      if (!data) $this.data('bs.affix', (data = new Affix(this, options)))\n      if (typeof option == 'string') data[option]()\n    })\n  }\n\n  var old = $.fn.affix\n\n  $.fn.affix             = Plugin\n  $.fn.affix.Constructor = Affix\n\n\n  // AFFIX NO CONFLICT\n  // =================\n\n  $.fn.affix.noConflict = function () {\n    $.fn.affix = old\n    return this\n  }\n\n\n  // AFFIX DATA-API\n  // ==============\n\n  $(window).on('load', function () {\n    $('[data-spy=\"affix\"]').each(function () {\n      var $spy = $(this)\n      var data = $spy.data()\n\n      data.offset = data.offset || {}\n\n      if (data.offsetBottom != null) data.offset.bottom = data.offsetBottom\n      if (data.offsetTop    != null) data.offset.top    = data.offsetTop\n\n      Plugin.call($spy, data)\n    })\n  })\n\n}(jQuery);\n","/*! AdminLTE app.js\n * ================\n * Main JS application file for AdminLTE v2. This file\n * should be included in all pages. It controls some layout\n * options and implements exclusive AdminLTE plugins.\n *\n * @Author  Almsaeed Studio\n * @Support <http://www.almsaeedstudio.com>\n * @Email   <abdullah@almsaeedstudio.com>\n * @version 2.3.8\n * @license MIT <http://opensource.org/licenses/MIT>\n */\n\n//Make sure jQuery has been loaded before app.js\nif (typeof jQuery === \"undefined\") {\n  throw new Error(\"AdminLTE requires jQuery\");\n}\n\n/* AdminLTE\n *\n * @type Object\n * @description $.AdminLTE is the main object for the template's app.\n *              It's used for implementing functions and options related\n *              to the template. Keeping everything wrapped in an object\n *              prevents conflict with other plugins and is a better\n *              way to organize our code.\n */\n$.AdminLTE = {};\n\n/* --------------------\n * - AdminLTE Options -\n * --------------------\n * Modify these options to suit your implementation\n */\n$.AdminLTE.options = {\n  //Add slimscroll to navbar menus\n  //This requires you to load the slimscroll plugin\n  //in every page before app.js\n  navbarMenuSlimscroll: true,\n  navbarMenuSlimscrollWidth: \"3px\", //The width of the scroll bar\n  navbarMenuHeight: \"200px\", //The height of the inner menu\n  //General animation speed for JS animated elements such as box collapse/expand and\n  //sidebar treeview slide up/down. This options accepts an integer as milliseconds,\n  //'fast', 'normal', or 'slow'\n  animationSpeed: 500,\n  //Sidebar push menu toggle button selector\n  sidebarToggleSelector: \"[data-toggle='offcanvas']\",\n  //Activate sidebar push menu\n  sidebarPushMenu: true,\n  //Activate sidebar slimscroll if the fixed layout is set (requires SlimScroll Plugin)\n  sidebarSlimScroll: true,\n  //Enable sidebar expand on hover effect for sidebar mini\n  //This option is forced to true if both the fixed layout and sidebar mini\n  //are used together\n  sidebarExpandOnHover: false,\n  //BoxRefresh Plugin\n  enableBoxRefresh: true,\n  //Bootstrap.js tooltip\n  enableBSToppltip: true,\n  BSTooltipSelector: \"[data-toggle='tooltip']\",\n  //Enable Fast Click. Fastclick.js creates a more\n  //native touch experience with touch devices. If you\n  //choose to enable the plugin, make sure you load the script\n  //before AdminLTE's app.js\n  enableFastclick: false,\n  //Control Sidebar Tree views\n  enableControlTreeView: true,\n  //Control Sidebar Options\n  enableControlSidebar: true,\n  controlSidebarOptions: {\n    //Which button should trigger the open/close event\n    toggleBtnSelector: \"[data-toggle='control-sidebar']\",\n    //The sidebar selector\n    selector: \".control-sidebar\",\n    //Enable slide over content\n    slide: true\n  },\n  //Box Widget Plugin. Enable this plugin\n  //to allow boxes to be collapsed and/or removed\n  enableBoxWidget: true,\n  //Box Widget plugin options\n  boxWidgetOptions: {\n    boxWidgetIcons: {\n      //Collapse icon\n      collapse: 'fa-minus',\n      //Open icon\n      open: 'fa-plus',\n      //Remove icon\n      remove: 'fa-times'\n    },\n    boxWidgetSelectors: {\n      //Remove button selector\n      remove: '[data-widget=\"remove\"]',\n      //Collapse button selector\n      collapse: '[data-widget=\"collapse\"]'\n    }\n  },\n  //Direct Chat plugin options\n  directChat: {\n    //Enable direct chat by default\n    enable: true,\n    //The button to open and close the chat contacts pane\n    contactToggleSelector: '[data-widget=\"chat-pane-toggle\"]'\n  },\n  //Define the set of colors to use globally around the website\n  colors: {\n    lightBlue: \"#3c8dbc\",\n    red: \"#f56954\",\n    green: \"#00a65a\",\n    aqua: \"#00c0ef\",\n    yellow: \"#f39c12\",\n    blue: \"#0073b7\",\n    navy: \"#001F3F\",\n    teal: \"#39CCCC\",\n    olive: \"#3D9970\",\n    lime: \"#01FF70\",\n    orange: \"#FF851B\",\n    fuchsia: \"#F012BE\",\n    purple: \"#8E24AA\",\n    maroon: \"#D81B60\",\n    black: \"#222222\",\n    gray: \"#d2d6de\"\n  },\n  //The standard screen sizes that bootstrap uses.\n  //If you change these in the variables.less file, change\n  //them here too.\n  screenSizes: {\n    xs: 480,\n    sm: 768,\n    md: 992,\n    lg: 1200\n  }\n};\n\n/* ------------------\n * - Implementation -\n * ------------------\n * The next block of code implements AdminLTE's\n * functions and plugins as specified by the\n * options above.\n */\n$(function () {\n  \"use strict\";\n\n  //Fix for IE page transitions\n  $(\"body\").removeClass(\"hold-transition\");\n\n  //Extend options if external options exist\n  if (typeof AdminLTEOptions !== \"undefined\") {\n    $.extend(true,\n      $.AdminLTE.options,\n      AdminLTEOptions);\n  }\n\n  //Easy access to options\n  var o = $.AdminLTE.options;\n\n  //Set up the object\n  _init();\n\n  //Activate the layout maker\n  $.AdminLTE.layout.activate();\n\n  //Enable sidebar tree view controls\n  if (o.enableControlTreeView) {\n    $.AdminLTE.tree('.sidebar');\n  }\n\n  //Enable control sidebar\n  if (o.enableControlSidebar) {\n    $.AdminLTE.controlSidebar.activate();\n  }\n\n  //Add slimscroll to navbar dropdown\n  if (o.navbarMenuSlimscroll && typeof $.fn.slimscroll != 'undefined') {\n    $(\".navbar .menu\").slimscroll({\n      height: o.navbarMenuHeight,\n      alwaysVisible: false,\n      size: o.navbarMenuSlimscrollWidth\n    }).css(\"width\", \"100%\");\n  }\n\n  //Activate sidebar push menu\n  if (o.sidebarPushMenu) {\n    $.AdminLTE.pushMenu.activate(o.sidebarToggleSelector);\n  }\n\n  //Activate Bootstrap tooltip\n  if (o.enableBSToppltip) {\n    $('body').tooltip({\n      selector: o.BSTooltipSelector,\n      container: 'body'\n    });\n  }\n\n  //Activate box widget\n  if (o.enableBoxWidget) {\n    $.AdminLTE.boxWidget.activate();\n  }\n\n  //Activate fast click\n  if (o.enableFastclick && typeof FastClick != 'undefined') {\n    FastClick.attach(document.body);\n  }\n\n  //Activate direct chat widget\n  if (o.directChat.enable) {\n    $(document).on('click', o.directChat.contactToggleSelector, function () {\n      var box = $(this).parents('.direct-chat').first();\n      box.toggleClass('direct-chat-contacts-open');\n    });\n  }\n\n  /*\n   * INITIALIZE BUTTON TOGGLE\n   * ------------------------\n   */\n  $('.btn-group[data-toggle=\"btn-toggle\"]').each(function () {\n    var group = $(this);\n    $(this).find(\".btn\").on('click', function (e) {\n      group.find(\".btn.active\").removeClass(\"active\");\n      $(this).addClass(\"active\");\n      e.preventDefault();\n    });\n\n  });\n});\n\n/* ----------------------------------\n * - Initialize the AdminLTE Object -\n * ----------------------------------\n * All AdminLTE functions are implemented below.\n */\nfunction _init() {\n  'use strict';\n  /* Layout\n   * ======\n   * Fixes the layout height in case min-height fails.\n   *\n   * @type Object\n   * @usage $.AdminLTE.layout.activate()\n   *        $.AdminLTE.layout.fix()\n   *        $.AdminLTE.layout.fixSidebar()\n   */\n  $.AdminLTE.layout = {\n    activate: function () {\n      var _this = this;\n      _this.fix();\n      _this.fixSidebar();\n      $('body, html, .wrapper').css('height', 'auto');\n      $(window, \".wrapper\").resize(function () {\n        _this.fix();\n        _this.fixSidebar();\n      });\n    },\n    fix: function () {\n      // Remove overflow from .wrapper if layout-boxed exists\n      $(\".layout-boxed > .wrapper\").css('overflow', 'hidden');\n      //Get window height and the wrapper height\n      var footer_height = $('.main-footer').outerHeight() || 0;\n      var neg = $('.main-header').outerHeight() + footer_height;\n      var window_height = $(window).height();\n      var sidebar_height = $(\".sidebar\").height() || 0;\n      //Set the min-height of the content and sidebar based on the\n      //the height of the document.\n      if ($(\"body\").hasClass(\"fixed\")) {\n        $(\".content-wrapper, .right-side\").css('min-height', window_height - footer_height);\n      } else {\n        var postSetWidth;\n        if (window_height >= sidebar_height) {\n          $(\".content-wrapper, .right-side\").css('min-height', window_height - neg);\n          postSetWidth = window_height - neg;\n        } else {\n          $(\".content-wrapper, .right-side\").css('min-height', sidebar_height);\n          postSetWidth = sidebar_height;\n        }\n\n        //Fix for the control sidebar height\n        var controlSidebar = $($.AdminLTE.options.controlSidebarOptions.selector);\n        if (typeof controlSidebar !== \"undefined\") {\n          if (controlSidebar.height() > postSetWidth)\n            $(\".content-wrapper, .right-side\").css('min-height', controlSidebar.height());\n        }\n\n      }\n    },\n    fixSidebar: function () {\n      //Make sure the body tag has the .fixed class\n      if (!$(\"body\").hasClass(\"fixed\")) {\n        if (typeof $.fn.slimScroll != 'undefined') {\n          $(\".sidebar\").slimScroll({destroy: true}).height(\"auto\");\n        }\n        return;\n      } else if (typeof $.fn.slimScroll == 'undefined' && window.console) {\n        window.console.error(\"Error: the fixed layout requires the slimscroll plugin!\");\n      }\n      //Enable slimscroll for fixed layout\n      if ($.AdminLTE.options.sidebarSlimScroll) {\n        if (typeof $.fn.slimScroll != 'undefined') {\n          //Destroy if it exists\n          $(\".sidebar\").slimScroll({destroy: true}).height(\"auto\");\n          //Add slimscroll\n          $(\".sidebar\").slimScroll({\n            height: ($(window).height() - $(\".main-header\").height()) + \"px\",\n            color: \"rgba(0,0,0,0.2)\",\n            size: \"3px\"\n          });\n        }\n      }\n    }\n  };\n\n  /* PushMenu()\n   * ==========\n   * Adds the push menu functionality to the sidebar.\n   *\n   * @type Function\n   * @usage: $.AdminLTE.pushMenu(\"[data-toggle='offcanvas']\")\n   */\n  $.AdminLTE.pushMenu = {\n    activate: function (toggleBtn) {\n      //Get the screen sizes\n      var screenSizes = $.AdminLTE.options.screenSizes;\n\n      //Enable sidebar toggle\n      $(document).on('click', toggleBtn, function (e) {\n        e.preventDefault();\n\n        //Enable sidebar push menu\n        if ($(window).width() > (screenSizes.sm - 1)) {\n          if ($(\"body\").hasClass('sidebar-collapse')) {\n            $(\"body\").removeClass('sidebar-collapse').trigger('expanded.pushMenu');\n          } else {\n            $(\"body\").addClass('sidebar-collapse').trigger('collapsed.pushMenu');\n          }\n        }\n        //Handle sidebar push menu for small screens\n        else {\n          if ($(\"body\").hasClass('sidebar-open')) {\n            $(\"body\").removeClass('sidebar-open').removeClass('sidebar-collapse').trigger('collapsed.pushMenu');\n          } else {\n            $(\"body\").addClass('sidebar-open').trigger('expanded.pushMenu');\n          }\n        }\n      });\n\n      $(\".content-wrapper\").click(function () {\n        //Enable hide menu when clicking on the content-wrapper on small screens\n        if ($(window).width() <= (screenSizes.sm - 1) && $(\"body\").hasClass(\"sidebar-open\")) {\n          $(\"body\").removeClass('sidebar-open');\n        }\n      });\n\n      //Enable expand on hover for sidebar mini\n      if ($.AdminLTE.options.sidebarExpandOnHover\n        || ($('body').hasClass('fixed')\n        && $('body').hasClass('sidebar-mini'))) {\n        this.expandOnHover();\n      }\n    },\n    expandOnHover: function () {\n      var _this = this;\n      var screenWidth = $.AdminLTE.options.screenSizes.sm - 1;\n      //Expand sidebar on hover\n      $('.main-sidebar').hover(function () {\n        if ($('body').hasClass('sidebar-mini')\n          && $(\"body\").hasClass('sidebar-collapse')\n          && $(window).width() > screenWidth) {\n          _this.expand();\n        }\n      }, function () {\n        if ($('body').hasClass('sidebar-mini')\n          && $('body').hasClass('sidebar-expanded-on-hover')\n          && $(window).width() > screenWidth) {\n          _this.collapse();\n        }\n      });\n    },\n    expand: function () {\n      $(\"body\").removeClass('sidebar-collapse').addClass('sidebar-expanded-on-hover');\n    },\n    collapse: function () {\n      if ($('body').hasClass('sidebar-expanded-on-hover')) {\n        $('body').removeClass('sidebar-expanded-on-hover').addClass('sidebar-collapse');\n      }\n    }\n  };\n\n  /* Tree()\n   * ======\n   * Converts the sidebar into a multilevel\n   * tree view menu.\n   *\n   * @type Function\n   * @Usage: $.AdminLTE.tree('.sidebar')\n   */\n  $.AdminLTE.tree = function (menu) {\n    var _this = this;\n    var animationSpeed = $.AdminLTE.options.animationSpeed;\n    $(document).off('click', menu + ' li a')\n      .on('click', menu + ' li a', function (e) {\n        //Get the clicked link and the next element\n        var $this = $(this);\n        var checkElement = $this.next();\n\n        //Check if the next element is a menu and is visible\n        if ((checkElement.is('.treeview-menu')) && (checkElement.is(':visible')) && (!$('body').hasClass('sidebar-collapse'))) {\n          //Close the menu\n          checkElement.slideUp(animationSpeed, function () {\n            checkElement.removeClass('menu-open');\n            //Fix the layout in case the sidebar stretches over the height of the window\n            //_this.layout.fix();\n          });\n          checkElement.parent(\"li\").removeClass(\"active\");\n        }\n        //If the menu is not visible\n        else if ((checkElement.is('.treeview-menu')) && (!checkElement.is(':visible'))) {\n          //Get the parent menu\n          var parent = $this.parents('ul').first();\n          //Close all open menus within the parent\n          var ul = parent.find('ul:visible').slideUp(animationSpeed);\n          //Remove the menu-open class from the parent\n          ul.removeClass('menu-open');\n          //Get the parent li\n          var parent_li = $this.parent(\"li\");\n\n          //Open the target menu and add the menu-open class\n          checkElement.slideDown(animationSpeed, function () {\n            //Add the class active to the parent li\n            checkElement.addClass('menu-open');\n            parent.find('li.active').removeClass('active');\n            parent_li.addClass('active');\n            //Fix the layout in case the sidebar stretches over the height of the window\n            _this.layout.fix();\n          });\n        }\n        //if this isn't a link, prevent the page from being redirected\n        if (checkElement.is('.treeview-menu')) {\n          e.preventDefault();\n        }\n      });\n  };\n\n  /* ControlSidebar\n   * ==============\n   * Adds functionality to the right sidebar\n   *\n   * @type Object\n   * @usage $.AdminLTE.controlSidebar.activate(options)\n   */\n  $.AdminLTE.controlSidebar = {\n    //instantiate the object\n    activate: function () {\n      //Get the object\n      var _this = this;\n      //Update options\n      var o = $.AdminLTE.options.controlSidebarOptions;\n      //Get the sidebar\n      var sidebar = $(o.selector);\n      //The toggle button\n      var btn = $(o.toggleBtnSelector);\n\n      //Listen to the click event\n      btn.on('click', function (e) {\n        e.preventDefault();\n        //If the sidebar is not open\n        if (!sidebar.hasClass('control-sidebar-open')\n          && !$('body').hasClass('control-sidebar-open')) {\n          //Open the sidebar\n          _this.open(sidebar, o.slide);\n        } else {\n          _this.close(sidebar, o.slide);\n        }\n      });\n\n      //If the body has a boxed layout, fix the sidebar bg position\n      var bg = $(\".control-sidebar-bg\");\n      _this._fix(bg);\n\n      //If the body has a fixed layout, make the control sidebar fixed\n      if ($('body').hasClass('fixed')) {\n        _this._fixForFixed(sidebar);\n      } else {\n        //If the content height is less than the sidebar's height, force max height\n        if ($('.content-wrapper, .right-side').height() < sidebar.height()) {\n          _this._fixForContent(sidebar);\n        }\n      }\n    },\n    //Open the control sidebar\n    open: function (sidebar, slide) {\n      //Slide over content\n      if (slide) {\n        sidebar.addClass('control-sidebar-open');\n      } else {\n        //Push the content by adding the open class to the body instead\n        //of the sidebar itself\n        $('body').addClass('control-sidebar-open');\n      }\n    },\n    //Close the control sidebar\n    close: function (sidebar, slide) {\n      if (slide) {\n        sidebar.removeClass('control-sidebar-open');\n      } else {\n        $('body').removeClass('control-sidebar-open');\n      }\n    },\n    _fix: function (sidebar) {\n      var _this = this;\n      if ($(\"body\").hasClass('layout-boxed')) {\n        sidebar.css('position', 'absolute');\n        sidebar.height($(\".wrapper\").height());\n        if (_this.hasBindedResize) {\n          return;\n        }\n        $(window).resize(function () {\n          _this._fix(sidebar);\n        });\n        _this.hasBindedResize = true;\n      } else {\n        sidebar.css({\n          'position': 'fixed',\n          'height': 'auto'\n        });\n      }\n    },\n    _fixForFixed: function (sidebar) {\n      sidebar.css({\n        'position': 'fixed',\n        'max-height': '100%',\n        'overflow': 'auto',\n        'padding-bottom': '50px'\n      });\n    },\n    _fixForContent: function (sidebar) {\n      $(\".content-wrapper, .right-side\").css('min-height', sidebar.height());\n    }\n  };\n\n  /* BoxWidget\n   * =========\n   * BoxWidget is a plugin to handle collapsing and\n   * removing boxes from the screen.\n   *\n   * @type Object\n   * @usage $.AdminLTE.boxWidget.activate()\n   *        Set all your options in the main $.AdminLTE.options object\n   */\n  $.AdminLTE.boxWidget = {\n    selectors: $.AdminLTE.options.boxWidgetOptions.boxWidgetSelectors,\n    icons: $.AdminLTE.options.boxWidgetOptions.boxWidgetIcons,\n    animationSpeed: $.AdminLTE.options.animationSpeed,\n    activate: function (_box) {\n      var _this = this;\n      if (!_box) {\n        _box = document; // activate all boxes per default\n      }\n      //Listen for collapse event triggers\n      $(_box).on('click', _this.selectors.collapse, function (e) {\n        e.preventDefault();\n        _this.collapse($(this));\n      });\n\n      //Listen for remove event triggers\n      $(_box).on('click', _this.selectors.remove, function (e) {\n        e.preventDefault();\n        _this.remove($(this));\n      });\n    },\n    collapse: function (element) {\n      var _this = this;\n      //Find the box parent\n      var box = element.parents(\".box\").first();\n      //Find the body and the footer\n      var box_content = box.find(\"> .box-body, > .box-footer, > form  >.box-body, > form > .box-footer\");\n      if (!box.hasClass(\"collapsed-box\")) {\n        //Convert minus into plus\n        element.children(\":first\")\n          .removeClass(_this.icons.collapse)\n          .addClass(_this.icons.open);\n        //Hide the content\n        box_content.slideUp(_this.animationSpeed, function () {\n          box.addClass(\"collapsed-box\");\n        });\n      } else {\n        //Convert plus into minus\n        element.children(\":first\")\n          .removeClass(_this.icons.open)\n          .addClass(_this.icons.collapse);\n        //Show the content\n        box_content.slideDown(_this.animationSpeed, function () {\n          box.removeClass(\"collapsed-box\");\n        });\n      }\n    },\n    remove: function (element) {\n      //Find the box parent\n      var box = element.parents(\".box\").first();\n      box.slideUp(this.animationSpeed);\n    }\n  };\n}\n\n/* ------------------\n * - Custom Plugins -\n * ------------------\n * All custom plugins are defined below.\n */\n\n/*\n * BOX REFRESH BUTTON\n * ------------------\n * This is a custom plugin to use with the component BOX. It allows you to add\n * a refresh button to the box. It converts the box's state to a loading state.\n *\n * @type plugin\n * @usage $(\"#box-widget\").boxRefresh( options );\n */\n(function ($) {\n\n  \"use strict\";\n\n  $.fn.boxRefresh = function (options) {\n\n    // Render options\n    var settings = $.extend({\n      //Refresh button selector\n      trigger: \".refresh-btn\",\n      //File source to be loaded (e.g: ajax/src.php)\n      source: \"\",\n      //Callbacks\n      onLoadStart: function (box) {\n        return box;\n      }, //Right after the button has been clicked\n      onLoadDone: function (box) {\n        return box;\n      } //When the source has been loaded\n\n    }, options);\n\n    //The overlay\n    var overlay = $('<div class=\"overlay\"><div class=\"fa fa-refresh fa-spin\"></div></div>');\n\n    return this.each(function () {\n      //if a source is specified\n      if (settings.source === \"\") {\n        if (window.console) {\n          window.console.log(\"Please specify a source first - boxRefresh()\");\n        }\n        return;\n      }\n      //the box\n      var box = $(this);\n      //the button\n      var rBtn = box.find(settings.trigger).first();\n\n      //On trigger click\n      rBtn.on('click', function (e) {\n        e.preventDefault();\n        //Add loading overlay\n        start(box);\n\n        //Perform ajax call\n        box.find(\".box-body\").load(settings.source, function () {\n          done(box);\n        });\n      });\n    });\n\n    function start(box) {\n      //Add overlay and loading img\n      box.append(overlay);\n\n      settings.onLoadStart.call(box);\n    }\n\n    function done(box) {\n      //Remove overlay and loading img\n      box.find(overlay).remove();\n\n      settings.onLoadDone.call(box);\n    }\n\n  };\n\n})(jQuery);\n\n/*\n * EXPLICIT BOX CONTROLS\n * -----------------------\n * This is a custom plugin to use with the component BOX. It allows you to activate\n * a box inserted in the DOM after the app.js was loaded, toggle and remove box.\n *\n * @type plugin\n * @usage $(\"#box-widget\").activateBox();\n * @usage $(\"#box-widget\").toggleBox();\n * @usage $(\"#box-widget\").removeBox();\n */\n(function ($) {\n\n  'use strict';\n\n  $.fn.activateBox = function () {\n    $.AdminLTE.boxWidget.activate(this);\n  };\n\n  $.fn.toggleBox = function () {\n    var button = $($.AdminLTE.boxWidget.selectors.collapse, this);\n    $.AdminLTE.boxWidget.collapse(button);\n  };\n\n  $.fn.removeBox = function () {\n    var button = $($.AdminLTE.boxWidget.selectors.remove, this);\n    $.AdminLTE.boxWidget.remove(button);\n  };\n\n})(jQuery);\n\n/*\n * TODO LIST CUSTOM PLUGIN\n * -----------------------\n * This plugin depends on iCheck plugin for checkbox and radio inputs\n *\n * @type plugin\n * @usage $(\"#todo-widget\").todolist( options );\n */\n(function ($) {\n\n  'use strict';\n\n  $.fn.todolist = function (options) {\n    // Render options\n    var settings = $.extend({\n      //When the user checks the input\n      onCheck: function (ele) {\n        return ele;\n      },\n      //When the user unchecks the input\n      onUncheck: function (ele) {\n        return ele;\n      }\n    }, options);\n\n    return this.each(function () {\n\n      if (typeof $.fn.iCheck != 'undefined') {\n        $('input', this).on('ifChecked', function () {\n          var ele = $(this).parents(\"li\").first();\n          ele.toggleClass(\"done\");\n          settings.onCheck.call(ele);\n        });\n\n        $('input', this).on('ifUnchecked', function () {\n          var ele = $(this).parents(\"li\").first();\n          ele.toggleClass(\"done\");\n          settings.onUncheck.call(ele);\n        });\n      } else {\n        $('input', this).on('change', function () {\n          var ele = $(this).parents(\"li\").first();\n          ele.toggleClass(\"done\");\n          if ($('input', ele).is(\":checked\")) {\n            settings.onCheck.call(ele);\n          } else {\n            settings.onUncheck.call(ele);\n          }\n        });\n      }\n    });\n  };\n}(jQuery));\n","var get = Ember.get;\nvar getOwner = Ember.getOwner;\n\nvar routeProps = {\n  // `titleToken` can either be a static string or a function\n  // that accepts a model object and returns a string (or array\n  // of strings if there are multiple tokens).\n  titleToken: null,\n\n  // `title` can either be a static string or a function\n  // that accepts an array of tokens and returns a string\n  // that will be the document title. The `collectTitleTokens` action\n  // stops bubbling once a route is encountered that has a `title`\n  // defined.\n  title: null\n};\n\n/*\n  This is here because `_actions` was renamed to `actions` in Ember 2.0.0, but\n  we need it to work for versions before that.\n\n  Here, we inspect the `Ember.Route` prototype, iterate over its\n  `mergedProperties` to see what is used, and then use that.\n */\nvar mergedActionPropertyName = (function() {\n  var routeProto = Ember.Route.proto();\n  var mergedProps = routeProto.mergedProperties;\n\n  for (var i = 0, l = mergedProps.length; i < l; i++) {\n    var property = mergedProps[i];\n\n    if (property === 'actions' || property === '_actions') {\n      return property;\n    }\n  }\n})();\n\nrouteProps[mergedActionPropertyName] = {\n  collectTitleTokens: function(tokens) {\n    var titleToken = get(this, 'titleToken');\n    if (typeof titleToken === 'function') {\n      titleToken = titleToken.call(this, get(this, 'currentModel'));\n    }\n\n    if (Ember.isArray(titleToken)) {\n      tokens.unshift.apply(tokens, titleToken);\n    } else if (titleToken) {\n      tokens.unshift(titleToken);\n    }\n\n    // If `title` exists, it signals the end of the\n    // token-collection, and the title is decided right here.\n    var title = get(this, 'title');\n    if (title) {\n      var finalTitle;\n      if (typeof title === 'function') {\n        finalTitle = title.call(this, tokens);\n      } else {\n        // Tokens aren't even considered... a string\n        // title just sledgehammer overwrites any children tokens.\n        finalTitle = title;\n      }\n\n      // Stubbable fn that sets document.title\n      this.router.setTitle(finalTitle);\n    } else {\n      // Continue bubbling.\n      return true;\n    }\n  }\n};\n\nEmber.Route.reopen(routeProps);\n\nEmber.Router.reopen({\n  updateTitle: Ember.on('didTransition', function() {\n    this.send('collectTitleTokens', []);\n  }),\n\n  setTitle: function(title) {\n    var container = getOwner ? getOwner(this) : this.container;\n    var renderer = container.lookup('renderer:-dom');\n    var domForAppWithGlimmer2 = container.lookup('service:-document');\n\n    if (renderer && renderer._dom) {\n      Ember.set(renderer, '_dom.document.title', title);\n    } else if (domForAppWithGlimmer2) {\n      // Glimmer 2 has a different renderer\n      Ember.set(domForAppWithGlimmer2, 'title', title);\n    } else {\n      document.title = title;\n    }\n  }\n});\n","/*! iCheck v1.0.2 by Damir Sultanov, http://git.io/arlzeA, MIT Licensed */\n(function(f){function A(a,b,d){var c=a[0],g=/er/.test(d)?_indeterminate:/bl/.test(d)?n:k,e=d==_update?{checked:c[k],disabled:c[n],indeterminate:\"true\"==a.attr(_indeterminate)||\"false\"==a.attr(_determinate)}:c[g];if(/^(ch|di|in)/.test(d)&&!e)x(a,g);else if(/^(un|en|de)/.test(d)&&e)q(a,g);else if(d==_update)for(var f in e)e[f]?x(a,f,!0):q(a,f,!0);else if(!b||\"toggle\"==d){if(!b)a[_callback](\"ifClicked\");e?c[_type]!==r&&q(a,g):x(a,g)}}function x(a,b,d){var c=a[0],g=a.parent(),e=b==k,u=b==_indeterminate,\nv=b==n,s=u?_determinate:e?y:\"enabled\",F=l(a,s+t(c[_type])),B=l(a,b+t(c[_type]));if(!0!==c[b]){if(!d&&b==k&&c[_type]==r&&c.name){var w=a.closest(\"form\"),p='input[name=\"'+c.name+'\"]',p=w.length?w.find(p):f(p);p.each(function(){this!==c&&f(this).data(m)&&q(f(this),b)})}u?(c[b]=!0,c[k]&&q(a,k,\"force\")):(d||(c[b]=!0),e&&c[_indeterminate]&&q(a,_indeterminate,!1));D(a,e,b,d)}c[n]&&l(a,_cursor,!0)&&g.find(\".\"+C).css(_cursor,\"default\");g[_add](B||l(a,b)||\"\");g.attr(\"role\")&&!u&&g.attr(\"aria-\"+(v?n:k),\"true\");\ng[_remove](F||l(a,s)||\"\")}function q(a,b,d){var c=a[0],g=a.parent(),e=b==k,f=b==_indeterminate,m=b==n,s=f?_determinate:e?y:\"enabled\",q=l(a,s+t(c[_type])),r=l(a,b+t(c[_type]));if(!1!==c[b]){if(f||!d||\"force\"==d)c[b]=!1;D(a,e,s,d)}!c[n]&&l(a,_cursor,!0)&&g.find(\".\"+C).css(_cursor,\"pointer\");g[_remove](r||l(a,b)||\"\");g.attr(\"role\")&&!f&&g.attr(\"aria-\"+(m?n:k),\"false\");g[_add](q||l(a,s)||\"\")}function E(a,b){if(a.data(m)){a.parent().html(a.attr(\"style\",a.data(m).s||\"\"));if(b)a[_callback](b);a.off(\".i\").unwrap();\nf(_label+'[for=\"'+a[0].id+'\"]').add(a.closest(_label)).off(\".i\")}}function l(a,b,f){if(a.data(m))return a.data(m).o[b+(f?\"\":\"Class\")]}function t(a){return a.charAt(0).toUpperCase()+a.slice(1)}function D(a,b,f,c){if(!c){if(b)a[_callback](\"ifToggled\");a[_callback](\"ifChanged\")[_callback](\"if\"+t(f))}}var m=\"iCheck\",C=m+\"-helper\",r=\"radio\",k=\"checked\",y=\"un\"+k,n=\"disabled\";_determinate=\"determinate\";_indeterminate=\"in\"+_determinate;_update=\"update\";_type=\"type\";_click=\"click\";_touch=\"touchbegin.i touchend.i\";\n_add=\"addClass\";_remove=\"removeClass\";_callback=\"trigger\";_label=\"label\";_cursor=\"cursor\";_mobile=/ipad|iphone|ipod|android|blackberry|windows phone|opera mini|silk/i.test(navigator.userAgent);f.fn[m]=function(a,b){var d='input[type=\"checkbox\"], input[type=\"'+r+'\"]',c=f(),g=function(a){a.each(function(){var a=f(this);c=a.is(d)?c.add(a):c.add(a.find(d))})};if(/^(check|uncheck|toggle|indeterminate|determinate|disable|enable|update|destroy)$/i.test(a))return a=a.toLowerCase(),g(this),c.each(function(){var c=\nf(this);\"destroy\"==a?E(c,\"ifDestroyed\"):A(c,!0,a);f.isFunction(b)&&b()});if(\"object\"!=typeof a&&a)return this;var e=f.extend({checkedClass:k,disabledClass:n,indeterminateClass:_indeterminate,labelHover:!0},a),l=e.handle,v=e.hoverClass||\"hover\",s=e.focusClass||\"focus\",t=e.activeClass||\"active\",B=!!e.labelHover,w=e.labelHoverClass||\"hover\",p=(\"\"+e.increaseArea).replace(\"%\",\"\")|0;if(\"checkbox\"==l||l==r)d='input[type=\"'+l+'\"]';-50>p&&(p=-50);g(this);return c.each(function(){var a=f(this);E(a);var c=this,\nb=c.id,g=-p+\"%\",d=100+2*p+\"%\",d={position:\"absolute\",top:g,left:g,display:\"block\",width:d,height:d,margin:0,padding:0,background:\"#fff\",border:0,opacity:0},g=_mobile?{position:\"absolute\",visibility:\"hidden\"}:p?d:{position:\"absolute\",opacity:0},l=\"checkbox\"==c[_type]?e.checkboxClass||\"icheckbox\":e.radioClass||\"i\"+r,z=f(_label+'[for=\"'+b+'\"]').add(a.closest(_label)),u=!!e.aria,y=m+\"-\"+Math.random().toString(36).substr(2,6),h='<div class=\"'+l+'\" '+(u?'role=\"'+c[_type]+'\" ':\"\");u&&z.each(function(){h+=\n'aria-labelledby=\"';this.id?h+=this.id:(this.id=y,h+=y);h+='\"'});h=a.wrap(h+\"/>\")[_callback](\"ifCreated\").parent().append(e.insert);d=f('<ins class=\"'+C+'\"/>').css(d).appendTo(h);a.data(m,{o:e,s:a.attr(\"style\")}).css(g);e.inheritClass&&h[_add](c.className||\"\");e.inheritID&&b&&h.attr(\"id\",m+\"-\"+b);\"static\"==h.css(\"position\")&&h.css(\"position\",\"relative\");A(a,!0,_update);if(z.length)z.on(_click+\".i mouseover.i mouseout.i \"+_touch,function(b){var d=b[_type],e=f(this);if(!c[n]){if(d==_click){if(f(b.target).is(\"a\"))return;\nA(a,!1,!0)}else B&&(/ut|nd/.test(d)?(h[_remove](v),e[_remove](w)):(h[_add](v),e[_add](w)));if(_mobile)b.stopPropagation();else return!1}});a.on(_click+\".i focus.i blur.i keyup.i keydown.i keypress.i\",function(b){var d=b[_type];b=b.keyCode;if(d==_click)return!1;if(\"keydown\"==d&&32==b)return c[_type]==r&&c[k]||(c[k]?q(a,k):x(a,k)),!1;if(\"keyup\"==d&&c[_type]==r)!c[k]&&x(a,k);else if(/us|ur/.test(d))h[\"blur\"==d?_remove:_add](s)});d.on(_click+\" mousedown mouseup mouseover mouseout \"+_touch,function(b){var d=\nb[_type],e=/wn|up/.test(d)?t:v;if(!c[n]){if(d==_click)A(a,!1,!0);else{if(/wn|er|in/.test(d))h[_add](e);else h[_remove](e+\" \"+t);if(z.length&&B&&e==v)z[/ut|nd/.test(d)?_remove:_add](w)}if(_mobile)b.stopPropagation();else return!1}})})}})(window.jQuery||window.Zepto);\n","(function() {\n  define('ember-cli-shims/deprecations', [], function() {\n    var values = {\"ember-application\":{\"default\":[\"@ember/application\"]},\"ember-array\":{\"default\":[\"@ember/array\"]},\"ember-array/mutable\":{\"default\":[\"@ember/array/mutable\"]},\"ember-array/utils\":{\"A\":[\"@ember/array\",\"A\"],\"isEmberArray\":[\"@ember/array\",\"isArray\"],\"wrap\":[\"@ember/array\",\"makeArray\"]},\"ember-component\":{\"default\":[\"@ember/component\"]},\"ember-components/checkbox\":{\"default\":[\"@ember/component/checkbox\"]},\"ember-components/text-area\":{\"default\":[\"@ember/component/text-area\"]},\"ember-components/text-field\":{\"default\":[\"@ember/component/text-field\"]},\"ember-computed\":{\"default\":[\"@ember/object\",\"computed\"],\"alias\":[\"@ember/object/computed\",\"alias\"],\"and\":[\"@ember/object/computed\",\"and\"],\"bool\":[\"@ember/object/computed\",\"bool\"],\"collect\":[\"@ember/object/computed\",\"collect\"],\"deprecatingAlias\":[\"@ember/object/computed\",\"deprecatingAlias\"],\"empty\":[\"@ember/object/computed\",\"empty\"],\"equal\":[\"@ember/object/computed\",\"equal\"],\"filter\":[\"@ember/object/computed\",\"filter\"],\"filterBy\":[\"@ember/object/computed\",\"filterBy\"],\"filterProperty\":[\"@ember/object/computed\",\"filterProperty\"],\"gt\":[\"@ember/object/computed\",\"gt\"],\"gte\":[\"@ember/object/computed\",\"gte\"],\"intersect\":[\"@ember/object/computed\",\"intersect\"],\"lt\":[\"@ember/object/computed\",\"lt\"],\"lte\":[\"@ember/object/computed\",\"lte\"],\"map\":[\"@ember/object/computed\",\"map\"],\"mapBy\":[\"@ember/object/computed\",\"mapBy\"],\"mapProperty\":[\"@ember/object/computed\",\"mapProperty\"],\"match\":[\"@ember/object/computed\",\"match\"],\"max\":[\"@ember/object/computed\",\"max\"],\"min\":[\"@ember/object/computed\",\"min\"],\"none\":[\"@ember/object/computed\",\"none\"],\"not\":[\"@ember/object/computed\",\"not\"],\"notEmpty\":[\"@ember/object/computed\",\"notEmpty\"],\"oneWay\":[\"@ember/object/computed\",\"oneWay\"],\"or\":[\"@ember/object/computed\",\"or\"],\"readOnly\":[\"@ember/object/computed\",\"readOnly\"],\"reads\":[\"@ember/object/computed\",\"reads\"],\"setDiff\":[\"@ember/object/computed\",\"setDiff\"],\"sort\":[\"@ember/object/computed\",\"sort\"],\"sum\":[\"@ember/object/computed\",\"sum\"],\"union\":[\"@ember/object/computed\",\"union\"],\"uniq\":[\"@ember/object/computed\",\"uniq\"]},\"ember-controller\":{\"default\":[\"@ember/controller\"]},\"ember-controller/inject\":{\"default\":[\"@ember/controller\",\"inject\"]},\"ember-controller/proxy\":{\"default\":[\"@ember/array/proxy\"]},\"ember-debug\":{\"inspect\":[\"@ember/debug\",\"inspect\"],\"log\":[\"@ember/debug\",\"debug\"],\"run\":[\"@ember/debug\",\"runInDebug\"],\"warn\":[\"@ember/debug\",\"warn\"]},\"ember-debug/container-debug-adapter\":{\"default\":[\"@ember/debug/container-debug-adapter\"]},\"ember-debug/data-adapter\":{\"default\":[\"@ember/debug/data-adapter\"]},\"ember-deprecations\":{\"deprecate\":[\"@ember/debug\",\"deprecate\"],\"deprecateFunc\":[\"@ember/debug\",\"deprecateFunc\"]},\"ember-enumerable\":{\"default\":[\"@ember/enumerable\"]},\"ember-evented\":{\"default\":[\"@ember/object/evented\"]},\"ember-evented/on\":{\"default\":[\"@ember/object/evented\",\"on\"]},\"ember-globals-resolver\":{\"default\":[\"@ember/application/globals-resolver\"]},\"ember-helper\":{\"default\":[\"@ember/component/helper\"],\"helper\":[\"@ember/component/helper\",\"helper\"]},\"ember-instrumentation\":{\"instrument\":[\"@ember/instrumentation\",\"instrument\"],\"reset\":[\"@ember/instrumentation\",\"reset\"],\"subscribe\":[\"@ember/instrumentation\",\"subscribe\"],\"unsubscribe\":[\"@ember/instrumentation\",\"unsubscribe\"]},\"ember-locations/hash\":{\"default\":[\"@ember/routing/hash-location\"]},\"ember-locations/history\":{\"default\":[\"@ember/routing/history-location\"]},\"ember-locations/none\":{\"default\":[\"@ember/routing/none-location\"]},\"ember-map\":{\"default\":[\"@ember/map\"],\"withDefault\":[\"@ember/map/with-default\"]},\"ember-metal/events\":{\"addListener\":[\"@ember/object/events\",\"addListener\"],\"removeListener\":[\"@ember/object/events\",\"removeListener\"],\"send\":[\"@ember/object/events\",\"sendEvent\"]},\"ember-metal/get\":{\"default\":[\"@ember/object\",\"get\"],\"getProperties\":[\"@ember/object\",\"getProperties\"]},\"ember-metal/mixin\":{\"default\":[\"@ember/object/mixin\"]},\"ember-metal/observer\":{\"default\":[\"@ember/object\",\"observer\"],\"addObserver\":[\"@ember/object/observers\",\"addObserver\"],\"removeObserver\":[\"@ember/object/observers\",\"removeObserver\"]},\"ember-metal/on-load\":{\"default\":[\"@ember/application\",\"onLoad\"],\"run\":[\"@ember/application\",\"runLoadHooks\"]},\"ember-metal/set\":{\"default\":[\"@ember/object\",\"set\"],\"setProperties\":[\"@ember/object\",\"setProperties\"],\"trySet\":[\"@ember/object\",\"trySet\"]},\"ember-metal/utils\":{\"aliasMethod\":[\"@ember/object\",\"aliasMethod\"],\"assert\":[\"@ember/debug\",\"assert\"],\"cacheFor\":[\"@ember/object/internals\",\"cacheFor\"],\"copy\":[\"@ember/object/internals\",\"copy\"],\"guidFor\":[\"@ember/object/internals\",\"guidFor\"]},\"ember-object\":{\"default\":[\"@ember/object\"]},\"ember-owner/get\":{\"default\":[\"@ember/application\",\"getOwner\"]},\"ember-owner/set\":{\"default\":[\"@ember/application\",\"setOwner\"]},\"ember-platform\":{\"assign\":[\"@ember/polyfills\",\"assign\"],\"create\":[\"@ember/polyfills\",\"create\"],\"hasAccessors\":[\"@ember/polyfills\",\"hasPropertyAccessors\"],\"keys\":[\"@ember/polyfills\",\"keys\"]},\"ember-route\":{\"default\":[\"@ember/routing/route\"]},\"ember-router\":{\"default\":[\"@ember/routing/router\"]},\"ember-runloop\":{\"default\":[\"@ember/runloop\",\"run\"],\"begin\":[\"@ember/runloop\",\"begin\"],\"bind\":[\"@ember/runloop\",\"bind\"],\"cancel\":[\"@ember/runloop\",\"cancel\"],\"debounce\":[\"@ember/runloop\",\"debounce\"],\"end\":[\"@ember/runloop\",\"end\"],\"join\":[\"@ember/runloop\",\"join\"],\"later\":[\"@ember/runloop\",\"later\"],\"next\":[\"@ember/runloop\",\"next\"],\"once\":[\"@ember/runloop\",\"once\"],\"schedule\":[\"@ember/runloop\",\"schedule\"],\"scheduleOnce\":[\"@ember/runloop\",\"scheduleOnce\"],\"throttle\":[\"@ember/runloop\",\"throttle\"]},\"ember-service\":{\"default\":[\"@ember/service\"]},\"ember-service/inject\":{\"default\":[\"@ember/service\",\"inject\"]},\"ember-string\":{\"camelize\":[\"@ember/string\",\"camelize\"],\"capitalize\":[\"@ember/string\",\"capitalize\"],\"classify\":[\"@ember/string\",\"classify\"],\"dasherize\":[\"@ember/string\",\"dasherize\"],\"decamelize\":[\"@ember/string\",\"decamelize\"],\"fmt\":[\"@ember/string\",\"fmt\"],\"htmlSafe\":[\"@ember/string\",\"htmlSafe\"],\"loc\":[\"@ember/string\",\"loc\"],\"underscore\":[\"@ember/string\",\"underscore\"],\"w\":[\"@ember/string\",\"w\"]},\"ember-test/adapter\":{\"default\":[\"@ember/test/adapter\"]},\"ember-utils\":{\"isBlank\":[\"@ember/utils\",\"isBlank\"],\"isEmpty\":[\"@ember/utils\",\"isEmpty\"],\"isNone\":[\"@ember/utils\",\"isNone\"],\"isPresent\":[\"@ember/utils\",\"isPresent\"],\"tryInvoke\":[\"@ember/utils\",\"tryInvoke\"],\"typeOf\":[\"@ember/utils\",\"typeOf\"]}};\n    \n    Object.defineProperty(values, '__esModule', {\n      value: true\n    });\n\n    return values;\n  });\n})();","(function() {\n/* globals define, Ember, jQuery */\n\n  function processEmberShims() {\n    var shims = {\n      'ember-application': {\n        'default': Ember.Application\n      },\n      'ember-array': {\n        'default': Ember.Array\n      },\n      'ember-array/mutable': {\n        'default': Ember.MutableArray\n      },\n      'ember-array/utils': {\n        'A':            Ember.A,\n        'isEmberArray': Ember.isArray,\n        'wrap':         Ember.makeArray\n      },\n      'ember-component': {\n        'default': Ember.Component\n      },\n      'ember-components/checkbox': {\n        'default': Ember.Checkbox\n      },\n      'ember-components/text-area': {\n        'default': Ember.TextArea\n      },\n      'ember-components/text-field': {\n        'default': Ember.TextField\n      },\n      'ember-controller': {\n        'default': Ember.Controller\n      },\n      'ember-controller/inject': {\n        'default': Ember.inject.controller\n      },\n      'ember-controller/proxy': {\n        'default': Ember.ArrayProxy\n      },\n      'ember-controllers/sortable': {\n        'default': Ember.SortableMixin\n      },\n      'ember-debug': {\n        'log':      Ember.debug,\n        'inspect':  Ember.inspect,\n        'run':      Ember.runInDebug,\n        'warn':     Ember.warn\n      },\n      'ember-debug/container-debug-adapter': {\n        'default': Ember.ContainerDebugAdapter\n      },\n      'ember-debug/data-adapter': {\n        'default': Ember.DataAdapter\n      },\n      'ember-deprecations': {\n        'deprecate':      Ember.deprecate,\n        'deprecateFunc':  Ember.deprecateFunc\n      },\n      'ember-enumerable': {\n        'default': Ember.Enumerable\n      },\n      'ember-evented': {\n        'default': Ember.Evented\n      },\n      'ember-evented/on': {\n        'default': Ember.on\n      },\n      'ember-globals-resolver': {\n        'default': Ember.DefaultResolver\n      },\n      'ember-helper': {\n        'default':  Ember.Helper,\n        'helper':   Ember.Helper && Ember.Helper.helper\n      },\n      'ember-instrumentation': {\n        'instrument':   Ember.Instrumentation.instrument,\n        'reset':        Ember.Instrumentation.reset,\n        'subscribe':    Ember.Instrumentation.subscribe,\n        'unsubscribe':  Ember.Instrumentation.unsubscribe\n      },\n      'ember-locations/hash': {\n        'default': Ember.HashLocation\n      },\n      'ember-locations/history': {\n        'default': Ember.HistoryLocation\n      },\n      'ember-locations/none': {\n        'default': Ember.NoneLocation\n      },\n      'ember-map': {\n        'default':      Ember.Map,\n        'withDefault':  Ember.MapWithDefault\n      },\n      'ember-metal/destroy': {\n        'default': Ember.destroy\n      },\n      'ember-metal/events': {\n        'addListener':    Ember.addListener,\n        'removeListener': Ember.removeListener,\n        'send':           Ember.sendEvent\n      },\n      'ember-metal/get': {\n        'default': Ember.get,\n        'getProperties': Ember.getProperties\n      },\n      'ember-metal/mixin': {\n        'default': Ember.Mixin\n      },\n      'ember-metal/observer': {\n        'default':        Ember.observer,\n        'addObserver':    Ember.addObserver,\n        'removeObserver': Ember.removeObserver\n      },\n      'ember-metal/on-load': {\n        'default':  Ember.onLoad,\n        'run':      Ember.runLoadHooks\n      },\n      'ember-metal/set': {\n        'default':        Ember.set,\n        'setProperties':  Ember.setProperties,\n        'trySet':         Ember.trySet\n      },\n      'ember-metal/utils': {\n        'aliasMethod':  Ember.aliasMethod,\n        'assert':       Ember.assert,\n        'cacheFor':     Ember.cacheFor,\n        'copy':         Ember.copy,\n        'guidFor':      Ember.guidFor\n      },\n      'ember-object': {\n        'default': Ember.Object\n      },\n      'ember-owner/get': {\n        'default': Ember.getOwner\n      },\n      'ember-owner/set': {\n        'default': Ember.setOwner\n      },\n      'ember-platform': {\n        'assign':         Ember.assign || Ember.merge,\n        'create':         Ember.create,\n        'defineProperty': Ember.platform.defineProperty,\n        'hasAccessors':   Ember.platform.hasPropertyAccessors,\n        'keys':           Ember.keys\n      },\n      'ember-route': {\n        'default': Ember.Route\n      },\n      'ember-router': {\n        'default': Ember.Router\n      },\n      'ember-runloop': {\n        'default':      Ember.run,\n        'begin':        Ember.run.begin,\n        'bind':         Ember.run.bind,\n        'cancel':       Ember.run.cancel,\n        'debounce':     Ember.run.debounce,\n        'end':          Ember.run.end,\n        'join':         Ember.run.join,\n        'later':        Ember.run.later,\n        'next':         Ember.run.next,\n        'once':         Ember.run.once,\n        'schedule':     Ember.run.schedule,\n        'scheduleOnce': Ember.run.scheduleOnce,\n        'throttle':     Ember.run.throttle\n      },\n      'ember-service': {\n        'default': Ember.Service\n      },\n      'ember-service/inject': {\n        'default': Ember.inject.service\n      },\n      'ember-set/ordered': {\n        'default': Ember.OrderedSet\n      },\n      'ember-string': {\n        'camelize':     Ember.String.camelize,\n        'capitalize':   Ember.String.capitalize,\n        'classify':     Ember.String.classify,\n        'dasherize':    Ember.String.dasherize,\n        'decamelize':   Ember.String.decamelize,\n        'fmt':          Ember.String.fmt,\n        'htmlSafe':     Ember.String.htmlSafe,\n        'loc':          Ember.String.loc,\n        'underscore':   Ember.String.underscore,\n        'w':            Ember.String.w\n      },\n      'ember-utils': {\n        'isBlank':    Ember.isBlank,\n        'isEmpty':    Ember.isEmpty,\n        'isNone':     Ember.isNone,\n        'isPresent':  Ember.isPresent,\n        'tryInvoke':  Ember.tryInvoke,\n        'typeOf':     Ember.typeOf\n      }\n    };\n\n    // populate `ember/computed` named exports\n    shims['ember-computed'] = {\n      'default': Ember.computed\n    };\n    var computedMacros = [\n      \"empty\",\"notEmpty\", \"none\", \"not\", \"bool\", \"match\",\n      \"equal\", \"gt\", \"gte\", \"lt\", \"lte\", \"alias\", \"oneWay\",\n      \"reads\", \"readOnly\", \"deprecatingAlias\",\n      \"and\", \"or\", \"collect\", \"sum\", \"min\", \"max\",\n      \"map\", \"sort\", \"setDiff\", \"mapBy\", \"mapProperty\",\n      \"filter\", \"filterBy\", \"filterProperty\", \"uniq\",\n      \"union\", \"intersect\"\n    ];\n    for (var i = 0, l = computedMacros.length; i < l; i++) {\n      var key = computedMacros[i];\n      shims['ember-computed'][key] = Ember.computed[key];\n    }\n\n    for (var moduleName in shims) {\n      generateModule(moduleName, shims[moduleName], true);\n    }\n  }\n\n  function processTestShims() {\n    if (Ember.Test) {\n      var testShims = {\n        'ember-test': {\n          'default': Ember.Test\n        },\n        'ember-test/adapter': {\n          'default': Ember.Test.Adapter\n        },\n        'ember-test/qunit-adapter': {\n          'default': Ember.Test.QUnitAdapter\n        }\n      };\n\n      for (var moduleName in testShims) {\n        generateModule(moduleName, testShims[moduleName]);\n      }\n    }\n  }\n\n  function generateModule(name, values, deprecated) {\n    define(name, ['ember-cli-shims/deprecations'], function(deprecations) {\n      'use strict';\n\n      if (deprecated) {\n        var moduleDeprecations = deprecations[name];\n\n        var message = 'Importing from the `' + name + '` module has been deprecated. ';\n        if (moduleDeprecations) {\n          message += 'Please use the new module imports:\\n\\n';\n          Object.keys(moduleDeprecations).forEach(function(key) {\n            var newImport = moduleDeprecations[key];\n            if (newImport[1]) {\n              message += 'import { ' + newImport[1] + ' } from \\'' + newImport[0] + '\\'\\n';\n            } else {\n              var importName = Ember.String.classify(newImport[0].split('/').pop());\n              message += 'import ' + importName + ' from \\'' + newImport[0] + '\\'\\n';\n            }\n          });\n          message += '\\n';\n\n        } else {\n          message += 'Please use globals instead.';\n        }\n\n        Ember.deprecate(message, false, {\n          id: 'ember-cli-shims.deprecated-shims',\n          until: '3.0.0',\n          url: 'https://github.com/emberjs/rfcs/blob/master/text/0176-javascript-module-api.md'\n        });\n      }\n\n      Object.defineProperty(values, '__esModule', {\n        value: true\n      });\n\n      return values;\n    });\n  }\n\n  generateModule('ember', { default: Ember });\n  processEmberShims();\n  processTestShims();\n  generateModule('jquery', { 'default': self.jQuery });\n  generateModule('rsvp', { 'default': Ember.RSVP });\n})();\n","/**\n * Copyright (c) 2011-2014 Felix Gnass\n * Licensed under the MIT license\n * http://spin.js.org/\n *\n * Example:\n    var opts = {\n      lines: 12             // The number of lines to draw\n    , length: 7             // The length of each line\n    , width: 5              // The line thickness\n    , radius: 10            // The radius of the inner circle\n    , scale: 1.0            // Scales overall size of the spinner\n    , corners: 1            // Roundness (0..1)\n    , color: '#000'         // #rgb or #rrggbb\n    , opacity: 1/4          // Opacity of the lines\n    , rotate: 0             // Rotation offset\n    , direction: 1          // 1: clockwise, -1: counterclockwise\n    , speed: 1              // Rounds per second\n    , trail: 100            // Afterglow percentage\n    , fps: 20               // Frames per second when using setTimeout()\n    , zIndex: 2e9           // Use a high z-index by default\n    , className: 'spinner'  // CSS class to assign to the element\n    , top: '50%'            // center vertically\n    , left: '50%'           // center horizontally\n    , shadow: false         // Whether to render a shadow\n    , hwaccel: false        // Whether to use hardware acceleration (might be buggy)\n    , position: 'absolute'  // Element positioning\n    }\n    var target = document.getElementById('foo')\n    var spinner = new Spinner(opts).spin(target)\n */\n;(function (root, factory) {\n\n  /* CommonJS */\n  if (typeof module == 'object' && module.exports) module.exports = factory()\n\n  /* AMD module */\n  else if (typeof define == 'function' && define.amd) define(factory)\n\n  /* Browser global */\n  else root.Spinner = factory()\n}(this, function () {\n  \"use strict\"\n\n  var prefixes = ['webkit', 'Moz', 'ms', 'O'] /* Vendor prefixes */\n    , animations = {} /* Animation rules keyed by their name */\n    , useCssAnimations /* Whether to use CSS animations or setTimeout */\n    , sheet /* A stylesheet to hold the @keyframe or VML rules. */\n\n  /**\n   * Utility function to create elements. If no tag name is given,\n   * a DIV is created. Optionally properties can be passed.\n   */\n  function createEl (tag, prop) {\n    var el = document.createElement(tag || 'div')\n      , n\n\n    for (n in prop) el[n] = prop[n]\n    return el\n  }\n\n  /**\n   * Appends children and returns the parent.\n   */\n  function ins (parent /* child1, child2, ...*/) {\n    for (var i = 1, n = arguments.length; i < n; i++) {\n      parent.appendChild(arguments[i])\n    }\n\n    return parent\n  }\n\n  /**\n   * Creates an opacity keyframe animation rule and returns its name.\n   * Since most mobile Webkits have timing issues with animation-delay,\n   * we create separate rules for each line/segment.\n   */\n  function addAnimation (alpha, trail, i, lines) {\n    var name = ['opacity', trail, ~~(alpha * 100), i, lines].join('-')\n      , start = 0.01 + i/lines * 100\n      , z = Math.max(1 - (1-alpha) / trail * (100-start), alpha)\n      , prefix = useCssAnimations.substring(0, useCssAnimations.indexOf('Animation')).toLowerCase()\n      , pre = prefix && '-' + prefix + '-' || ''\n\n    if (!animations[name]) {\n      sheet.insertRule(\n        '@' + pre + 'keyframes ' + name + '{' +\n        '0%{opacity:' + z + '}' +\n        start + '%{opacity:' + alpha + '}' +\n        (start+0.01) + '%{opacity:1}' +\n        (start+trail) % 100 + '%{opacity:' + alpha + '}' +\n        '100%{opacity:' + z + '}' +\n        '}', sheet.cssRules.length)\n\n      animations[name] = 1\n    }\n\n    return name\n  }\n\n  /**\n   * Tries various vendor prefixes and returns the first supported property.\n   */\n  function vendor (el, prop) {\n    var s = el.style\n      , pp\n      , i\n\n    prop = prop.charAt(0).toUpperCase() + prop.slice(1)\n    if (s[prop] !== undefined) return prop\n    for (i = 0; i < prefixes.length; i++) {\n      pp = prefixes[i]+prop\n      if (s[pp] !== undefined) return pp\n    }\n  }\n\n  /**\n   * Sets multiple style properties at once.\n   */\n  function css (el, prop) {\n    for (var n in prop) {\n      el.style[vendor(el, n) || n] = prop[n]\n    }\n\n    return el\n  }\n\n  /**\n   * Fills in default values.\n   */\n  function merge (obj) {\n    for (var i = 1; i < arguments.length; i++) {\n      var def = arguments[i]\n      for (var n in def) {\n        if (obj[n] === undefined) obj[n] = def[n]\n      }\n    }\n    return obj\n  }\n\n  /**\n   * Returns the line color from the given string or array.\n   */\n  function getColor (color, idx) {\n    return typeof color == 'string' ? color : color[idx % color.length]\n  }\n\n  // Built-in defaults\n\n  var defaults = {\n    lines: 12             // The number of lines to draw\n  , length: 7             // The length of each line\n  , width: 5              // The line thickness\n  , radius: 10            // The radius of the inner circle\n  , scale: 1.0            // Scales overall size of the spinner\n  , corners: 1            // Roundness (0..1)\n  , color: '#000'         // #rgb or #rrggbb\n  , opacity: 1/4          // Opacity of the lines\n  , rotate: 0             // Rotation offset\n  , direction: 1          // 1: clockwise, -1: counterclockwise\n  , speed: 1              // Rounds per second\n  , trail: 100            // Afterglow percentage\n  , fps: 20               // Frames per second when using setTimeout()\n  , zIndex: 2e9           // Use a high z-index by default\n  , className: 'spinner'  // CSS class to assign to the element\n  , top: '50%'            // center vertically\n  , left: '50%'           // center horizontally\n  , shadow: false         // Whether to render a shadow\n  , hwaccel: false        // Whether to use hardware acceleration (might be buggy)\n  , position: 'absolute'  // Element positioning\n  }\n\n  /** The constructor */\n  function Spinner (o) {\n    this.opts = merge(o || {}, Spinner.defaults, defaults)\n  }\n\n  // Global defaults that override the built-ins:\n  Spinner.defaults = {}\n\n  merge(Spinner.prototype, {\n    /**\n     * Adds the spinner to the given target element. If this instance is already\n     * spinning, it is automatically removed from its previous target b calling\n     * stop() internally.\n     */\n    spin: function (target) {\n      this.stop()\n\n      var self = this\n        , o = self.opts\n        , el = self.el = createEl(null, {className: o.className})\n\n      css(el, {\n        position: o.position\n      , width: 0\n      , zIndex: o.zIndex\n      , left: o.left\n      , top: o.top\n      })\n\n      if (target) {\n        target.insertBefore(el, target.firstChild || null)\n      }\n\n      el.setAttribute('role', 'progressbar')\n      self.lines(el, self.opts)\n\n      if (!useCssAnimations) {\n        // No CSS animation support, use setTimeout() instead\n        var i = 0\n          , start = (o.lines - 1) * (1 - o.direction) / 2\n          , alpha\n          , fps = o.fps\n          , f = fps / o.speed\n          , ostep = (1 - o.opacity) / (f * o.trail / 100)\n          , astep = f / o.lines\n\n        ;(function anim () {\n          i++\n          for (var j = 0; j < o.lines; j++) {\n            alpha = Math.max(1 - (i + (o.lines - j) * astep) % f * ostep, o.opacity)\n\n            self.opacity(el, j * o.direction + start, alpha, o)\n          }\n          self.timeout = self.el && setTimeout(anim, ~~(1000 / fps))\n        })()\n      }\n      return self\n    }\n\n    /**\n     * Stops and removes the Spinner.\n     */\n  , stop: function () {\n      var el = this.el\n      if (el) {\n        clearTimeout(this.timeout)\n        if (el.parentNode) el.parentNode.removeChild(el)\n        this.el = undefined\n      }\n      return this\n    }\n\n    /**\n     * Internal method that draws the individual lines. Will be overwritten\n     * in VML fallback mode below.\n     */\n  , lines: function (el, o) {\n      var i = 0\n        , start = (o.lines - 1) * (1 - o.direction) / 2\n        , seg\n\n      function fill (color, shadow) {\n        return css(createEl(), {\n          position: 'absolute'\n        , width: o.scale * (o.length + o.width) + 'px'\n        , height: o.scale * o.width + 'px'\n        , background: color\n        , boxShadow: shadow\n        , transformOrigin: 'left'\n        , transform: 'rotate(' + ~~(360/o.lines*i + o.rotate) + 'deg) translate(' + o.scale*o.radius + 'px' + ',0)'\n        , borderRadius: (o.corners * o.scale * o.width >> 1) + 'px'\n        })\n      }\n\n      for (; i < o.lines; i++) {\n        seg = css(createEl(), {\n          position: 'absolute'\n        , top: 1 + ~(o.scale * o.width / 2) + 'px'\n        , transform: o.hwaccel ? 'translate3d(0,0,0)' : ''\n        , opacity: o.opacity\n        , animation: useCssAnimations && addAnimation(o.opacity, o.trail, start + i * o.direction, o.lines) + ' ' + 1 / o.speed + 's linear infinite'\n        })\n\n        if (o.shadow) ins(seg, css(fill('#000', '0 0 4px #000'), {top: '2px'}))\n        ins(el, ins(seg, fill(getColor(o.color, i), '0 0 1px rgba(0,0,0,.1)')))\n      }\n      return el\n    }\n\n    /**\n     * Internal method that adjusts the opacity of a single line.\n     * Will be overwritten in VML fallback mode below.\n     */\n  , opacity: function (el, i, val) {\n      if (i < el.childNodes.length) el.childNodes[i].style.opacity = val\n    }\n\n  })\n\n\n  function initVML () {\n\n    /* Utility function to create a VML tag */\n    function vml (tag, attr) {\n      return createEl('<' + tag + ' xmlns=\"urn:schemas-microsoft.com:vml\" class=\"spin-vml\">', attr)\n    }\n\n    // No CSS transforms but VML support, add a CSS rule for VML elements:\n    sheet.addRule('.spin-vml', 'behavior:url(#default#VML)')\n\n    Spinner.prototype.lines = function (el, o) {\n      var r = o.scale * (o.length + o.width)\n        , s = o.scale * 2 * r\n\n      function grp () {\n        return css(\n          vml('group', {\n            coordsize: s + ' ' + s\n          , coordorigin: -r + ' ' + -r\n          })\n        , { width: s, height: s }\n        )\n      }\n\n      var margin = -(o.width + o.length) * o.scale * 2 + 'px'\n        , g = css(grp(), {position: 'absolute', top: margin, left: margin})\n        , i\n\n      function seg (i, dx, filter) {\n        ins(\n          g\n        , ins(\n            css(grp(), {rotation: 360 / o.lines * i + 'deg', left: ~~dx})\n          , ins(\n              css(\n                vml('roundrect', {arcsize: o.corners})\n              , { width: r\n                , height: o.scale * o.width\n                , left: o.scale * o.radius\n                , top: -o.scale * o.width >> 1\n                , filter: filter\n                }\n              )\n            , vml('fill', {color: getColor(o.color, i), opacity: o.opacity})\n            , vml('stroke', {opacity: 0}) // transparent stroke to fix color bleeding upon opacity change\n            )\n          )\n        )\n      }\n\n      if (o.shadow)\n        for (i = 1; i <= o.lines; i++) {\n          seg(i, -2, 'progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)')\n        }\n\n      for (i = 1; i <= o.lines; i++) seg(i)\n      return ins(el, g)\n    }\n\n    Spinner.prototype.opacity = function (el, i, val, o) {\n      var c = el.firstChild\n      o = o.shadow && o.lines || 0\n      if (c && i + o < c.childNodes.length) {\n        c = c.childNodes[i + o]; c = c && c.firstChild; c = c && c.firstChild\n        if (c) c.opacity = val\n      }\n    }\n  }\n\n  if (typeof document !== 'undefined') {\n    sheet = (function () {\n      var el = createEl('style', {type : 'text/css'})\n      ins(document.getElementsByTagName('head')[0], el)\n      return el.sheet || el.styleSheet\n    }())\n\n    var probe = css(createEl('group'), {behavior: 'url(#default#VML)'})\n\n    if (!vendor(probe, 'transform') && probe.adj) initVML()\n    else useCssAnimations = vendor(probe, 'animation')\n  }\n\n  return Spinner\n\n}));\n","/* globals Ember, Proxy, define */\n(function() {\n  'use strict';\n\n  var HAS_NATIVE_PROXY = typeof Proxy === 'function';\n\n  var SAFE_LOOKUP_FACTORY_METHOD = '_lookupFactory';\n  function factoryFor(fullName, options) {\n    var factory = this[SAFE_LOOKUP_FACTORY_METHOD](fullName, options);\n\n    if (!factory) {\n      return;\n    }\n\n    var FactoryManager = {\n      class: factory,\n      create: function() {\n        return this.class.create.apply(this.class, arguments);\n      }\n    };\n\n    Ember.runInDebug(function() {\n      if (HAS_NATIVE_PROXY) {\n        var validator = {\n          get: function(obj, prop) {\n            if (prop !== 'class' && prop !== 'create') {\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 = FactoryManager;\n        var proxiedManager = {\n          class: m.class,\n          create: function(props) {\n            return m.create(props);\n          }\n        };\n\n        FactoryManager = new Proxy(proxiedManager, validator);\n      }\n    });\n\n    return FactoryManager;\n  }\n\n  if (typeof define === 'function') {\n    define('ember-factory-for-polyfill/vendor/ember-factory-for-polyfill/index', ['exports'], function(exports) {\n      exports._factoryFor = factoryFor;\n\n      exports._updateSafeLookupFactoryMethod = function(methodName) {\n        SAFE_LOOKUP_FACTORY_METHOD = methodName;\n      };\n\n      return exports;\n    });\n  }\n\n  var FactoryForMixin = Ember.Mixin.create({\n    factoryFor: factoryFor\n  });\n\n  // added in Ember 2.8\n  if (Ember.ApplicationInstance) {\n    // augment the main application's \"owner\"\n    Ember.ApplicationInstance.reopen(FactoryForMixin);\n  } else {\n    // in Ember < 2.8 the Ember.ApplicationInstance is not\n    // exposed globally, so we have to monkey patch the\n    // `Ember.Application#buildInstance` method to ensure\n    // that the built instance has a `factoryFor` method\n    // this gives us support for Ember 2.3 - 2.7\n    Ember.Application.reopen({\n      buildInstance: function(_options) {\n        var options = _options || {};\n        options.factoryFor = factoryFor;\n\n        var instance = this._super(options);\n\n        return instance;\n      }\n    });\n  }\n\n  // added in Ember 2.3\n  if (Ember._ContainerProxyMixin) {\n    // supports ember-test-helpers's build-registry (and other tooling that use\n    // Ember._ContainerProxyMixin to emulate an \"owner\")\n    var ContainerProxyMixinWithFactoryFor = Ember.Mixin.create(Ember._ContainerProxyMixin, FactoryForMixin);\n    Ember._ContainerProxyMixin = ContainerProxyMixinWithFactoryFor;\n  }\n})();\n","/* globals Ember, Proxy, define */\n(function() {\n  'use strict';\n\n  var HAS_NATIVE_PROXY = typeof Proxy === 'function';\n\n  var SAFE_LOOKUP_FACTORY_METHOD = '_lookupFactory';\n  function factoryFor(fullName, options) {\n    var factory = this[SAFE_LOOKUP_FACTORY_METHOD](fullName, options);\n\n    if (!factory) {\n      return;\n    }\n\n    var FactoryManager = {\n      class: factory,\n      create: function() {\n        return this.class.create.apply(this.class, arguments);\n      }\n    };\n\n    Ember.runInDebug(function() {\n      if (HAS_NATIVE_PROXY) {\n        var validator = {\n          get: function(obj, prop) {\n            if (prop !== 'class' && prop !== 'create') {\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 = FactoryManager;\n        var proxiedManager = {\n          class: m.class,\n          create: function(props) {\n            return m.create(props);\n          }\n        };\n\n        FactoryManager = new Proxy(proxiedManager, validator);\n      }\n    });\n\n    return FactoryManager;\n  }\n\n  if (typeof define === 'function') {\n    define('ember-factory-for-polyfill/vendor/ember-factory-for-polyfill/index', ['exports'], function(exports) {\n      exports._factoryFor = factoryFor;\n\n      exports._updateSafeLookupFactoryMethod = function(methodName) {\n        SAFE_LOOKUP_FACTORY_METHOD = methodName;\n      };\n\n      return exports;\n    });\n  }\n\n  var FactoryForMixin = Ember.Mixin.create({\n    factoryFor: factoryFor\n  });\n\n  // added in Ember 2.8\n  if (Ember.ApplicationInstance) {\n    // augment the main application's \"owner\"\n    Ember.ApplicationInstance.reopen(FactoryForMixin);\n  } else {\n    // in Ember < 2.8 the Ember.ApplicationInstance is not\n    // exposed globally, so we have to monkey patch the\n    // `Ember.Application#buildInstance` method to ensure\n    // that the built instance has a `factoryFor` method\n    // this gives us support for Ember 2.3 - 2.7\n    Ember.Application.reopen({\n      buildInstance: function(_options) {\n        var options = _options || {};\n        options.factoryFor = factoryFor;\n\n        var instance = this._super(options);\n\n        return instance;\n      }\n    });\n  }\n\n  // added in Ember 2.3\n  if (Ember._ContainerProxyMixin) {\n    // supports ember-test-helpers's build-registry (and other tooling that use\n    // Ember._ContainerProxyMixin to emulate an \"owner\")\n    var ContainerProxyMixinWithFactoryFor = Ember.Mixin.create(Ember._ContainerProxyMixin, FactoryForMixin);\n    Ember._ContainerProxyMixin = ContainerProxyMixinWithFactoryFor;\n  }\n})();\n","/**\n * @license Highstock JS v5.0.10 (2017-03-31)\n *\n * (c) 2009-2016 Torstein Honsi\n *\n * License: www.highcharts.com/license\n */\n'use strict';\n(function(root, factory) {\n    if (typeof module === 'object' && module.exports) {\n        module.exports = root.document ?\n            factory(root) :\n            factory;\n    } else {\n        root.Highcharts = factory(root);\n    }\n}(typeof window !== 'undefined' ? window : this, function(win) {\n    var Highcharts = (function() {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        /* global window */\n        var win = window,\n            doc = win.document;\n\n        var SVG_NS = 'http://www.w3.org/2000/svg',\n            userAgent = (win.navigator && win.navigator.userAgent) || '',\n            svg = doc && doc.createElementNS && !!doc.createElementNS(SVG_NS, 'svg').createSVGRect,\n            isMS = /(edge|msie|trident)/i.test(userAgent) && !window.opera,\n            vml = !svg,\n            isFirefox = /Firefox/.test(userAgent),\n            hasBidiBug = isFirefox && parseInt(userAgent.split('Firefox/')[1], 10) < 4; // issue #38\n\n        var Highcharts = win.Highcharts ? win.Highcharts.error(16, true) : {\n            product: 'Highstock',\n            version: '5.0.10',\n            deg2rad: Math.PI * 2 / 360,\n            doc: doc,\n            hasBidiBug: hasBidiBug,\n            hasTouch: doc && doc.documentElement.ontouchstart !== undefined,\n            isMS: isMS,\n            isWebKit: /AppleWebKit/.test(userAgent),\n            isFirefox: isFirefox,\n            isTouchDevice: /(Mobile|Android|Windows Phone)/.test(userAgent),\n            SVG_NS: SVG_NS,\n            chartCount: 0,\n            seriesTypes: {},\n            symbolSizes: {},\n            svg: svg,\n            vml: vml,\n            win: win,\n            charts: [],\n            marginNames: ['plotTop', 'marginRight', 'marginBottom', 'plotLeft'],\n            noop: function() {\n                return undefined;\n            }\n        };\n        return Highcharts;\n    }());\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        /* eslint max-len: [\"warn\", 80, 4] */\n\n        /**\n         * The Highcharts object is the placeholder for all other members, and various\n         * utility functions.\n         * @namespace Highcharts\n         */\n\n        var timers = [];\n\n        var charts = H.charts,\n            doc = H.doc,\n            win = H.win;\n\n        /**\n         * Provide error messages for debugging, with links to online explanation. This\n         * function can be overridden to provide custom error handling.\n         *\n         * @function #error\n         * @memberOf Highcharts\n         * @param {Number|String} code - The error code. See [errors.xml]{@link \n         *     https://github.com/highcharts/highcharts/blob/master/errors/errors.xml}\n         *     for available codes. If it is a string, the error message is printed\n         *     directly in the console.\n         * @param {Boolean} [stop=false] - Whether to throw an error or just log a \n         *     warning in the console.\n         */\n        H.error = function(code, stop) {\n            var msg = H.isNumber(code) ?\n                'Highcharts error #' + code + ': www.highcharts.com/errors/' + code :\n                code;\n            if (stop) {\n                throw new Error(msg);\n            }\n            // else ...\n            if (win.console) {\n                console.log(msg); // eslint-disable-line no-console\n            }\n        };\n\n        /**\n         * An animator object. One instance applies to one property (attribute or style\n         * prop) on one element.\n         *\n         * @constructor Fx\n         * @memberOf Highcharts\n         * @param {HTMLDOMElement|SVGElement} elem - The element to animate.\n         * @param {AnimationOptions} options - Animation options.\n         * @param {string} prop - The single attribute or CSS property to animate.\n         */\n        H.Fx = function(elem, options, prop) {\n            this.options = options;\n            this.elem = elem;\n            this.prop = prop;\n        };\n        H.Fx.prototype = {\n\n            /**\n             * Set the current step of a path definition on SVGElement.\n             *\n             * @function #dSetter\n             * @memberOf Highcharts.Fx\n             */\n            dSetter: function() {\n                var start = this.paths[0],\n                    end = this.paths[1],\n                    ret = [],\n                    now = this.now,\n                    i = start.length,\n                    startVal;\n\n                // Land on the final path without adjustment points appended in the ends\n                if (now === 1) {\n                    ret = this.toD;\n\n                } else if (i === end.length && now < 1) {\n                    while (i--) {\n                        startVal = parseFloat(start[i]);\n                        ret[i] =\n                            isNaN(startVal) ? // a letter instruction like M or L\n                            start[i] :\n                            now * (parseFloat(end[i] - startVal)) + startVal;\n\n                    }\n                    // If animation is finished or length not matching, land on right value\n                } else {\n                    ret = end;\n                }\n                this.elem.attr('d', ret, null, true);\n            },\n\n            /**\n             * Update the element with the current animation step.\n             *\n             * @function #update\n             * @memberOf Highcharts.Fx\n             */\n            update: function() {\n                var elem = this.elem,\n                    prop = this.prop, // if destroyed, it is null\n                    now = this.now,\n                    step = this.options.step;\n\n                // Animation setter defined from outside\n                if (this[prop + 'Setter']) {\n                    this[prop + 'Setter']();\n\n                    // Other animations on SVGElement\n                } else if (elem.attr) {\n                    if (elem.element) {\n                        elem.attr(prop, now, null, true);\n                    }\n\n                    // HTML styles, raw HTML content like container size\n                } else {\n                    elem.style[prop] = now + this.unit;\n                }\n\n                if (step) {\n                    step.call(elem, now, this);\n                }\n\n            },\n\n            /**\n             * Run an animation.\n             *\n             * @function #run\n             * @memberOf Highcharts.Fx\n             * @param {Number} from - The current value, value to start from.\n             * @param {Number} to - The end value, value to land on.\n             * @param {String} [unit] - The property unit, for example `px`.\n             * @returns {void}\n             */\n            run: function(from, to, unit) {\n                var self = this,\n                    timer = function(gotoEnd) {\n                        return timer.stopped ? false : self.step(gotoEnd);\n                    },\n                    i;\n\n                this.startTime = +new Date();\n                this.start = from;\n                this.end = to;\n                this.unit = unit;\n                this.now = this.start;\n                this.pos = 0;\n\n                timer.elem = this.elem;\n                timer.prop = this.prop;\n\n                if (timer() && timers.push(timer) === 1) {\n                    timer.timerId = setInterval(function() {\n\n                        for (i = 0; i < timers.length; i++) {\n                            if (!timers[i]()) {\n                                timers.splice(i--, 1);\n                            }\n                        }\n\n                        if (!timers.length) {\n                            clearInterval(timer.timerId);\n                        }\n                    }, 13);\n                }\n            },\n\n            /**\n             * Run a single step in the animation.\n             *\n             * @function #step\n             * @memberOf Highcharts.Fx\n             * @param   {Boolean} [gotoEnd] - Whether to go to the endpoint of the\n             *     animation after abort.\n             * @returns {Boolean} Returns `true` if animation continues.\n             */\n            step: function(gotoEnd) {\n                var t = +new Date(),\n                    ret,\n                    done,\n                    options = this.options,\n                    elem = this.elem,\n                    complete = options.complete,\n                    duration = options.duration,\n                    curAnim = options.curAnim,\n                    i;\n\n                if (elem.attr && !elem.element) { // #2616, element is destroyed\n                    ret = false;\n\n                } else if (gotoEnd || t >= duration + this.startTime) {\n                    this.now = this.end;\n                    this.pos = 1;\n                    this.update();\n\n                    curAnim[this.prop] = true;\n\n                    done = true;\n                    for (i in curAnim) {\n                        if (curAnim[i] !== true) {\n                            done = false;\n                        }\n                    }\n\n                    if (done && complete) {\n                        complete.call(elem);\n                    }\n                    ret = false;\n\n                } else {\n                    this.pos = options.easing((t - this.startTime) / duration);\n                    this.now = this.start + ((this.end - this.start) * this.pos);\n                    this.update();\n                    ret = true;\n                }\n                return ret;\n            },\n\n            /**\n             * Prepare start and end values so that the path can be animated one to one.\n             *\n             * @function #initPath\n             * @memberOf Highcharts.Fx\n             * @param {SVGElement} elem - The SVGElement item.\n             * @param {String} fromD - Starting path definition.\n             * @param {Array} toD - Ending path definition.\n             * @returns {Array} An array containing start and end paths in array form\n             * so that they can be animated in parallel.\n             */\n            initPath: function(elem, fromD, toD) {\n                fromD = fromD || '';\n                var shift,\n                    startX = elem.startX,\n                    endX = elem.endX,\n                    bezier = fromD.indexOf('C') > -1,\n                    numParams = bezier ? 7 : 3,\n                    fullLength,\n                    slice,\n                    i,\n                    start = fromD.split(' '),\n                    end = toD.slice(), // copy\n                    isArea = elem.isArea,\n                    positionFactor = isArea ? 2 : 1,\n                    reverse;\n\n                /**\n                 * In splines make moveTo and lineTo points have six parameters like\n                 * bezier curves, to allow animation one-to-one.\n                 */\n                function sixify(arr) {\n                    var isOperator,\n                        nextIsOperator;\n                    i = arr.length;\n                    while (i--) {\n\n                        // Fill in dummy coordinates only if the next operator comes\n                        // three places behind (#5788)\n                        isOperator = arr[i] === 'M' || arr[i] === 'L';\n                        nextIsOperator = /[a-zA-Z]/.test(arr[i + 3]);\n                        if (isOperator && nextIsOperator) {\n                            arr.splice(\n                                i + 1, 0,\n                                arr[i + 1], arr[i + 2],\n                                arr[i + 1], arr[i + 2]\n                            );\n                        }\n                    }\n                }\n\n                /**\n                 * Insert an array at the given position of another array\n                 */\n                function insertSlice(arr, subArr, index) {\n                    [].splice.apply(\n                        arr, [index, 0].concat(subArr)\n                    );\n                }\n\n                /**\n                 * If shifting points, prepend a dummy point to the end path. \n                 */\n                function prepend(arr, other) {\n                    while (arr.length < fullLength) {\n\n                        // Move to, line to or curve to?\n                        arr[0] = other[fullLength - arr.length];\n\n                        // Prepend a copy of the first point\n                        insertSlice(arr, arr.slice(0, numParams), 0);\n\n                        // For areas, the bottom path goes back again to the left, so we\n                        // need to append a copy of the last point.\n                        if (isArea) {\n                            insertSlice(\n                                arr,\n                                arr.slice(arr.length - numParams), arr.length\n                            );\n                            i--;\n                        }\n                    }\n                    arr[0] = 'M';\n                }\n\n                /**\n                 * Copy and append last point until the length matches the end length\n                 */\n                function append(arr, other) {\n                    var i = (fullLength - arr.length) / numParams;\n                    while (i > 0 && i--) {\n\n                        // Pull out the slice that is going to be appended or inserted.\n                        // In a line graph, the positionFactor is 1, and the last point\n                        // is sliced out. In an area graph, the positionFactor is 2,\n                        // causing the middle two points to be sliced out, since an area\n                        // path starts at left, follows the upper path then turns and\n                        // follows the bottom back. \n                        slice = arr.slice().splice(\n                            (arr.length / positionFactor) - numParams,\n                            numParams * positionFactor\n                        );\n\n                        // Move to, line to or curve to?\n                        slice[0] = other[fullLength - numParams - (i * numParams)];\n\n                        // Disable first control point\n                        if (bezier) {\n                            slice[numParams - 6] = slice[numParams - 2];\n                            slice[numParams - 5] = slice[numParams - 1];\n                        }\n\n                        // Now insert the slice, either in the middle (for areas) or at\n                        // the end (for lines)\n                        insertSlice(arr, slice, arr.length / positionFactor);\n\n                        if (isArea) {\n                            i--;\n                        }\n                    }\n                }\n\n                if (bezier) {\n                    sixify(start);\n                    sixify(end);\n                }\n\n                // For sideways animation, find out how much we need to shift to get the\n                // start path Xs to match the end path Xs.\n                if (startX && endX) {\n                    for (i = 0; i < startX.length; i++) {\n                        // Moving left, new points coming in on right\n                        if (startX[i] === endX[0]) {\n                            shift = i;\n                            break;\n                            // Moving right\n                        } else if (startX[0] ===\n                            endX[endX.length - startX.length + i]) {\n                            shift = i;\n                            reverse = true;\n                            break;\n                        }\n                    }\n                    if (shift === undefined) {\n                        start = [];\n                    }\n                }\n\n                if (start.length && H.isNumber(shift)) {\n\n                    // The common target length for the start and end array, where both \n                    // arrays are padded in opposite ends\n                    fullLength = end.length + shift * positionFactor * numParams;\n\n                    if (!reverse) {\n                        prepend(end, start);\n                        append(start, end);\n                    } else {\n                        prepend(start, end);\n                        append(end, start);\n                    }\n                }\n\n                return [start, end];\n            }\n        }; // End of Fx prototype\n\n\n        /**\n         * Utility function to extend an object with the members of another.\n         *\n         * @function #extend\n         * @memberOf Highcharts\n         * @param {Object} a - The object to be extended.\n         * @param {Object} b - The object to add to the first one.\n         * @returns {Object} Object a, the original object.\n         */\n        H.extend = function(a, b) {\n            var n;\n            if (!a) {\n                a = {};\n            }\n            for (n in b) {\n                a[n] = b[n];\n            }\n            return a;\n        };\n\n        /**\n         * Utility function to deep merge two or more objects and return a third object.\n         * If the first argument is true, the contents of the second object is copied\n         * into the first object. The merge function can also be used with a single \n         * object argument to create a deep copy of an object.\n         *\n         * @function #merge\n         * @memberOf Highcharts\n         * @param {Boolean} [extend] - Whether to extend the left-side object (a) or\n                  return a whole new object.\n         * @param {Object} a - The first object to extend. When only this is given, the\n                  function returns a deep copy.\n         * @param {...Object} [n] - An object to merge into the previous one.\n         * @returns {Object} - The merged object. If the first argument is true, the \n         * return is the same as the second argument.\n         */\n        H.merge = function() {\n            var i,\n                args = arguments,\n                len,\n                ret = {},\n                doCopy = function(copy, original) {\n                    var value, key;\n\n                    // An object is replacing a primitive\n                    if (typeof copy !== 'object') {\n                        copy = {};\n                    }\n\n                    for (key in original) {\n                        if (original.hasOwnProperty(key)) {\n                            value = original[key];\n\n                            // Copy the contents of objects, but not arrays or DOM nodes\n                            if (H.isObject(value, true) &&\n                                key !== 'renderTo' &&\n                                typeof value.nodeType !== 'number') {\n                                copy[key] = doCopy(copy[key] || {}, value);\n\n                                // Primitives and arrays are copied over directly\n                            } else {\n                                copy[key] = original[key];\n                            }\n                        }\n                    }\n                    return copy;\n                };\n\n            // If first argument is true, copy into the existing object. Used in\n            // setOptions.\n            if (args[0] === true) {\n                ret = args[1];\n                args = Array.prototype.slice.call(args, 2);\n            }\n\n            // For each argument, extend the return\n            len = args.length;\n            for (i = 0; i < len; i++) {\n                ret = doCopy(ret, args[i]);\n            }\n\n            return ret;\n        };\n\n        /**\n         * Shortcut for parseInt\n         * @ignore\n         * @param {Object} s\n         * @param {Number} mag Magnitude\n         */\n        H.pInt = function(s, mag) {\n            return parseInt(s, mag || 10);\n        };\n\n        /**\n         * Utility function to check for string type.\n         *\n         * @function #isString\n         * @memberOf Highcharts\n         * @param {Object} s - The item to check.\n         * @returns {Boolean} - True if the argument is a string.\n         */\n        H.isString = function(s) {\n            return typeof s === 'string';\n        };\n\n        /**\n         * Utility function to check if an item is an array.\n         *\n         * @function #isArray\n         * @memberOf Highcharts\n         * @param {Object} obj - The item to check.\n         * @returns {Boolean} - True if the argument is an array.\n         */\n        H.isArray = function(obj) {\n            var str = Object.prototype.toString.call(obj);\n            return str === '[object Array]' || str === '[object Array Iterator]';\n        };\n\n        /**\n         * Utility function to check if an item is of type object.\n         *\n         * @function #isObject\n         * @memberOf Highcharts\n         * @param {Object} obj - The item to check.\n         * @param {Boolean} [strict=false] - Also checks that the object is not an\n         *    array.\n         * @returns {Boolean} - True if the argument is an object.\n         */\n        H.isObject = function(obj, strict) {\n            return obj && typeof obj === 'object' && (!strict || !H.isArray(obj));\n        };\n\n        /**\n         * Utility function to check if an item is of type number.\n         *\n         * @function #isNumber\n         * @memberOf Highcharts\n         * @param {Object} n - The item to check.\n         * @returns {Boolean} - True if the item is a number and is not NaN.\n         */\n        H.isNumber = function(n) {\n            return typeof n === 'number' && !isNaN(n);\n        };\n\n        /**\n         * Remove the last occurence of an item from an array.\n         *\n         * @function #erase\n         * @memberOf Highcharts\n         * @param {Array} arr - The array.\n         * @param {*} item - The item to remove.\n         */\n        H.erase = function(arr, item) {\n            var i = arr.length;\n            while (i--) {\n                if (arr[i] === item) {\n                    arr.splice(i, 1);\n                    break;\n                }\n            }\n        };\n\n        /**\n         * Check if an object is null or undefined.\n         *\n         * @function #defined\n         * @memberOf Highcharts\n         * @param {Object} obj - The object to check.\n         * @returns {Boolean} - False if the object is null or undefined, otherwise\n         *        true.\n         */\n        H.defined = function(obj) {\n            return obj !== undefined && obj !== null;\n        };\n\n        /**\n         * Set or get an attribute or an object of attributes. To use as a setter, pass\n         * a key and a value, or let the second argument be a collection of keys and\n         * values. To use as a getter, pass only a string as the second argument.\n         *\n         * @function #attr\n         * @memberOf Highcharts\n         * @param {Object} elem - The DOM element to receive the attribute(s).\n         * @param {String|Object} [prop] - The property or an object of key-value pairs.\n         * @param {String} [value] - The value if a single property is set.\n         * @returns {*} When used as a getter, return the value.\n         */\n        H.attr = function(elem, prop, value) {\n            var key,\n                ret;\n\n            // if the prop is a string\n            if (H.isString(prop)) {\n                // set the value\n                if (H.defined(value)) {\n                    elem.setAttribute(prop, value);\n\n                    // get the value\n                } else if (elem && elem.getAttribute) {\n                    ret = elem.getAttribute(prop);\n                }\n\n                // else if prop is defined, it is a hash of key/value pairs\n            } else if (H.defined(prop) && H.isObject(prop)) {\n                for (key in prop) {\n                    elem.setAttribute(key, prop[key]);\n                }\n            }\n            return ret;\n        };\n\n        /**\n         * Check if an element is an array, and if not, make it into an array.\n         *\n         * @function #splat\n         * @memberOf Highcharts\n         * @param obj {*} - The object to splat.\n         * @returns {Array} The produced or original array.\n         */\n        H.splat = function(obj) {\n            return H.isArray(obj) ? obj : [obj];\n        };\n\n        /**\n         * Set a timeout if the delay is given, otherwise perform the function\n         * synchronously.\n         *\n         * @function #syncTimeout\n         * @memberOf Highcharts\n         * @param   {Function} fn - The function callback.\n         * @param   {Number}   delay - Delay in milliseconds.\n         * @param   {Object}   [context] - The context.\n         * @returns {Number} An identifier for the timeout that can later be cleared\n         * with clearTimeout.\n         */\n        H.syncTimeout = function(fn, delay, context) {\n            if (delay) {\n                return setTimeout(fn, delay, context);\n            }\n            fn.call(0, context);\n        };\n\n\n        /**\n         * Return the first value that is not null or undefined.\n         *\n         * @function #pick\n         * @memberOf Highcharts\n         * @param {...*} items - Variable number of arguments to inspect.\n         * @returns {*} The value of the first argument that is not null or undefined.\n         */\n        H.pick = function() {\n            var args = arguments,\n                i,\n                arg,\n                length = args.length;\n            for (i = 0; i < length; i++) {\n                arg = args[i];\n                if (arg !== undefined && arg !== null) {\n                    return arg;\n                }\n            }\n        };\n\n        /**\n         * @typedef {Object} CSSObject - A style object with camel case property names.\n         * The properties can be whatever styles are supported on the given SVG or HTML\n         * element.\n         * @example\n         * {\n         *    fontFamily: 'monospace',\n         *    fontSize: '1.2em'\n         * }\n         */\n        /**\n         * Set CSS on a given element.\n         *\n         * @function #css\n         * @memberOf Highcharts\n         * @param {HTMLDOMElement} el - A HTML DOM element.\n         * @param {CSSObject} styles - Style object with camel case property names.\n         * @returns {void}\n         */\n        H.css = function(el, styles) {\n            if (H.isMS && !H.svg) { // #2686\n                if (styles && styles.opacity !== undefined) {\n                    styles.filter = 'alpha(opacity=' + (styles.opacity * 100) + ')';\n                }\n            }\n            H.extend(el.style, styles);\n        };\n\n        /**\n         * A HTML DOM element.\n         * @typedef {Object} HTMLDOMElement\n         */\n\n        /**\n         * Utility function to create an HTML element with attributes and styles.\n         *\n         * @function #createElement\n         * @memberOf Highcharts\n         * @param {String} tag - The HTML tag.\n         * @param {Object} [attribs] - Attributes as an object of key-value pairs.\n         * @param {CSSObject} [styles] - Styles as an object of key-value pairs.\n         * @param {Object} [parent] - The parent HTML object.\n         * @param {Boolean} [nopad=false] - If true, remove all padding, border and\n         *    margin.\n         * @returns {HTMLDOMElement} The created DOM element.\n         */\n        H.createElement = function(tag, attribs, styles, parent, nopad) {\n            var el = doc.createElement(tag),\n                css = H.css;\n            if (attribs) {\n                H.extend(el, attribs);\n            }\n            if (nopad) {\n                css(el, {\n                    padding: 0,\n                    border: 'none',\n                    margin: 0\n                });\n            }\n            if (styles) {\n                css(el, styles);\n            }\n            if (parent) {\n                parent.appendChild(el);\n            }\n            return el;\n        };\n\n        /**\n         * Extend a prototyped class by new members.\n         *\n         * @function #extendClass\n         * @memberOf Highcharts\n         * @param {Object} parent - The parent prototype to inherit.\n         * @param {Object} members - A collection of prototype members to add or\n         *        override compared to the parent prototype.\n         * @returns {Object} A new prototype.\n         */\n        H.extendClass = function(parent, members) {\n            var object = function() {};\n            object.prototype = new parent(); // eslint-disable-line new-cap\n            H.extend(object.prototype, members);\n            return object;\n        };\n\n        /**\n         * Left-pad a string to a given length by adding a character repetetively.\n         *\n         * @function #pad\n         * @memberOf Highcharts\n         * @param {Number} number - The input string or number.\n         * @param {Number} length - The desired string length.\n         * @param {String} [padder=0] - The character to pad with.\n         * @returns {String} The padded string.\n         */\n        H.pad = function(number, length, padder) {\n            return new Array((length || 2) + 1 -\n                String(number).length).join(padder || 0) + number;\n        };\n\n        /**\n         * @typedef {Number|String} RelativeSize - If a number is given, it defines the\n         *    pixel length. If a percentage string is given, like for example `'50%'`,\n         *    the setting defines a length relative to a base size, for example the size\n         *    of a container.\n         */\n        /**\n         * Return a length based on either the integer value, or a percentage of a base.\n         *\n         * @function #relativeLength\n         * @memberOf Highcharts\n         * @param {RelativeSize} value - A percentage string or a number.\n         * @param {Number} base - The full length that represents 100%.\n         * @returns {Number} The computed length.\n         */\n        H.relativeLength = function(value, base) {\n            return (/%$/).test(value) ?\n                base * parseFloat(value) / 100 :\n                parseFloat(value);\n        };\n\n        /**\n         * Wrap a method with extended functionality, preserving the original function.\n         *\n         * @function #wrap\n         * @memberOf Highcharts\n         * @param {Object} obj - The context object that the method belongs to. In real\n         *        cases, this is often a prototype.\n         * @param {String} method - The name of the method to extend.\n         * @param {Function} func - A wrapper function callback. This function is called\n         *        with the same arguments as the original function, except that the\n         *        original function is unshifted and passed as the first argument.\n         * @returns {void}\n         */\n        H.wrap = function(obj, method, func) {\n            var proceed = obj[method];\n            obj[method] = function() {\n                var args = Array.prototype.slice.call(arguments),\n                    outerArgs = arguments,\n                    ctx = this,\n                    ret;\n                ctx.proceed = function() {\n                    proceed.apply(ctx, arguments.length ? arguments : outerArgs);\n                };\n                args.unshift(proceed);\n                ret = func.apply(this, args);\n                ctx.proceed = null;\n                return ret;\n            };\n        };\n\n        /**\n         * Get the time zone offset based on the current timezone information as set in\n         * the global options.\n         *\n         * @function #getTZOffset\n         * @memberOf Highcharts\n         * @param  {Number} timestamp - The JavaScript timestamp to inspect.\n         * @return {Number} - The timezone offset in minutes compared to UTC.\n         */\n        H.getTZOffset = function(timestamp) {\n            var d = H.Date;\n            return ((d.hcGetTimezoneOffset && d.hcGetTimezoneOffset(timestamp)) ||\n                d.hcTimezoneOffset || 0) * 60000;\n        };\n\n        /**\n         * Format a date, based on the syntax for PHP's [strftime]{@link\n         * http://www.php.net/manual/en/function.strftime.php} function.\n         *\n         * @function #dateFormat\n         * @memberOf Highcharts\n         * @param {String} format - The desired format where various time\n         *        representations are prefixed with %.\n         * @param {Number} timestamp - The JavaScript timestamp.\n         * @param {Boolean} [capitalize=false] - Upper case first letter in the return.\n         * @returns {String} The formatted date.\n         */\n        H.dateFormat = function(format, timestamp, capitalize) {\n            if (!H.defined(timestamp) || isNaN(timestamp)) {\n                return H.defaultOptions.lang.invalidDate || '';\n            }\n            format = H.pick(format, '%Y-%m-%d %H:%M:%S');\n\n            var D = H.Date,\n                date = new D(timestamp - H.getTZOffset(timestamp)),\n                key, // used in for constuct below\n                // get the basic time values\n                hours = date[D.hcGetHours](),\n                day = date[D.hcGetDay](),\n                dayOfMonth = date[D.hcGetDate](),\n                month = date[D.hcGetMonth](),\n                fullYear = date[D.hcGetFullYear](),\n                lang = H.defaultOptions.lang,\n                langWeekdays = lang.weekdays,\n                shortWeekdays = lang.shortWeekdays,\n                pad = H.pad,\n\n                // List all format keys. Custom formats can be added from the outside. \n                replacements = H.extend({\n\n                    //-- Day\n                    // Short weekday, like 'Mon'\n                    'a': shortWeekdays ?\n                        shortWeekdays[day] : langWeekdays[day].substr(0, 3),\n                    // Long weekday, like 'Monday'\n                    'A': langWeekdays[day],\n                    // Two digit day of the month, 01 to 31\n                    'd': pad(dayOfMonth),\n                    // Day of the month, 1 through 31\n                    'e': pad(dayOfMonth, 2, ' '),\n                    'w': day,\n\n                    // Week (none implemented)\n                    //'W': weekNumber(),\n\n                    //-- Month\n                    // Short month, like 'Jan'\n                    'b': lang.shortMonths[month],\n                    // Long month, like 'January'\n                    'B': lang.months[month],\n                    // Two digit month number, 01 through 12\n                    'm': pad(month + 1),\n\n                    //-- Year\n                    // Two digits year, like 09 for 2009\n                    'y': fullYear.toString().substr(2, 2),\n                    // Four digits year, like 2009\n                    'Y': fullYear,\n\n                    //-- Time\n                    // Two digits hours in 24h format, 00 through 23\n                    'H': pad(hours),\n                    // Hours in 24h format, 0 through 23\n                    'k': hours,\n                    // Two digits hours in 12h format, 00 through 11\n                    'I': pad((hours % 12) || 12),\n                    // Hours in 12h format, 1 through 12\n                    'l': (hours % 12) || 12,\n                    // Two digits minutes, 00 through 59\n                    'M': pad(date[D.hcGetMinutes]()),\n                    // Upper case AM or PM\n                    'p': hours < 12 ? 'AM' : 'PM',\n                    // Lower case AM or PM\n                    'P': hours < 12 ? 'am' : 'pm',\n                    // Two digits seconds, 00 through  59\n                    'S': pad(date.getSeconds()),\n                    // Milliseconds (naming from Ruby)\n                    'L': pad(Math.round(timestamp % 1000), 3)\n                }, H.dateFormats);\n\n\n            // Do the replaces\n            for (key in replacements) {\n                // Regex would do it in one line, but this is faster\n                while (format.indexOf('%' + key) !== -1) {\n                    format = format.replace(\n                        '%' + key,\n                        typeof replacements[key] === 'function' ?\n                        replacements[key](timestamp) :\n                        replacements[key]\n                    );\n                }\n            }\n\n            // Optionally capitalize the string and return\n            return capitalize ?\n                format.substr(0, 1).toUpperCase() + format.substr(1) :\n                format;\n        };\n\n        /**\n         * Format a single variable. Similar to sprintf, without the % prefix.\n         *\n         * @example\n         * formatSingle('.2f', 5); // => '5.00'.\n         *\n         * @function #formatSingle\n         * @memberOf Highcharts\n         * @param {String} format The format string.\n         * @param {*} val The value.\n         * @returns {String} The formatted representation of the value.\n         */\n        H.formatSingle = function(format, val) {\n            var floatRegex = /f$/,\n                decRegex = /\\.([0-9])/,\n                lang = H.defaultOptions.lang,\n                decimals;\n\n            if (floatRegex.test(format)) { // float\n                decimals = format.match(decRegex);\n                decimals = decimals ? decimals[1] : -1;\n                if (val !== null) {\n                    val = H.numberFormat(\n                        val,\n                        decimals,\n                        lang.decimalPoint,\n                        format.indexOf(',') > -1 ? lang.thousandsSep : ''\n                    );\n                }\n            } else {\n                val = H.dateFormat(format, val);\n            }\n            return val;\n        };\n\n        /**\n         * Format a string according to a subset of the rules of Python's String.format\n         * method.\n         *\n         * @function #format\n         * @memberOf Highcharts\n         * @param {String} str The string to format.\n         * @param {Object} ctx The context, a collection of key-value pairs where each\n         *        key is replaced by its value.\n         * @returns {String} The formatted string.\n         *\n         * @example\n         * var s = Highcharts.format(\n         *     'The {color} fox was {len:.2f} feet long',\n         *     { color: 'red', len: Math.PI }\n         * );\n         * // => The red fox was 3.14 feet long\n         */\n        H.format = function(str, ctx) {\n            var splitter = '{',\n                isInside = false,\n                segment,\n                valueAndFormat,\n                path,\n                i,\n                len,\n                ret = [],\n                val,\n                index;\n\n            while (str) {\n                index = str.indexOf(splitter);\n                if (index === -1) {\n                    break;\n                }\n\n                segment = str.slice(0, index);\n                if (isInside) { // we're on the closing bracket looking back\n\n                    valueAndFormat = segment.split(':');\n                    path = valueAndFormat.shift().split('.'); // get first and leave\n                    len = path.length;\n                    val = ctx;\n\n                    // Assign deeper paths\n                    for (i = 0; i < len; i++) {\n                        val = val[path[i]];\n                    }\n\n                    // Format the replacement\n                    if (valueAndFormat.length) {\n                        val = H.formatSingle(valueAndFormat.join(':'), val);\n                    }\n\n                    // Push the result and advance the cursor\n                    ret.push(val);\n\n                } else {\n                    ret.push(segment);\n\n                }\n                str = str.slice(index + 1); // the rest\n                isInside = !isInside; // toggle\n                splitter = isInside ? '}' : '{'; // now look for next matching bracket\n            }\n            ret.push(str);\n            return ret.join('');\n        };\n\n        /**\n         * Get the magnitude of a number.\n         *\n         * @function #getMagnitude\n         * @memberOf Highcharts\n         * @param {Number} number The number.\n         * @returns {Number} The magnitude, where 1-9 are magnitude 1, 10-99 magnitude 2\n         *        etc.\n         */\n        H.getMagnitude = function(num) {\n            return Math.pow(10, Math.floor(Math.log(num) / Math.LN10));\n        };\n\n        /**\n         * Take an interval and normalize it to multiples of round numbers.\n         *\n         * @todo  Move this function to the Axis prototype. It is here only for\n         *        historical reasons.\n         * @function #normalizeTickInterval\n         * @memberOf Highcharts\n         * @param {Number} interval - The raw, un-rounded interval.\n         * @param {Array} [multiples] - Allowed multiples.\n         * @param {Number} [magnitude] - The magnitude of the number.\n         * @param {Boolean} [allowDecimals] - Whether to allow decimals.\n         * @param {Boolean} [hasTickAmount] - If it has tickAmount, avoid landing\n         *        on tick intervals lower than original.\n         * @returns {Number} The normalized interval.\n         */\n        H.normalizeTickInterval = function(interval, multiples, magnitude,\n            allowDecimals, hasTickAmount) {\n            var normalized,\n                i,\n                retInterval = interval;\n\n            // round to a tenfold of 1, 2, 2.5 or 5\n            magnitude = H.pick(magnitude, 1);\n            normalized = interval / magnitude;\n\n            // multiples for a linear scale\n            if (!multiples) {\n                multiples = hasTickAmount ?\n                    // Finer grained ticks when the tick amount is hard set, including\n                    // when alignTicks is true on multiple axes (#4580).\n                    [1, 1.2, 1.5, 2, 2.5, 3, 4, 5, 6, 8, 10] :\n\n                    // Else, let ticks fall on rounder numbers\n                    [1, 2, 2.5, 5, 10];\n\n\n                // the allowDecimals option\n                if (allowDecimals === false) {\n                    if (magnitude === 1) {\n                        multiples = H.grep(multiples, function(num) {\n                            return num % 1 === 0;\n                        });\n                    } else if (magnitude <= 0.1) {\n                        multiples = [1 / magnitude];\n                    }\n                }\n            }\n\n            // normalize the interval to the nearest multiple\n            for (i = 0; i < multiples.length; i++) {\n                retInterval = multiples[i];\n                // only allow tick amounts smaller than natural\n                if ((hasTickAmount && retInterval * magnitude >= interval) ||\n                    (!hasTickAmount && (normalized <= (multiples[i] +\n                        (multiples[i + 1] || multiples[i])) / 2))) {\n                    break;\n                }\n            }\n\n            // Multiply back to the correct magnitude. Correct floats to appropriate \n            // precision (#6085).\n            retInterval = H.correctFloat(\n                retInterval * magnitude, -Math.round(Math.log(0.001) / Math.LN10)\n            );\n\n            return retInterval;\n        };\n\n\n        /**\n         * Sort an object array and keep the order of equal items. The ECMAScript\n         * standard does not specify the behaviour when items are equal.\n         *\n         * @function #stableSort\n         * @memberOf Highcharts\n         * @param {Array} arr - The array to sort.\n         * @param {Function} sortFunction - The function to sort it with, like with \n         *        regular Array.prototype.sort.\n         * @returns {void}\n         */\n        H.stableSort = function(arr, sortFunction) {\n            var length = arr.length,\n                sortValue,\n                i;\n\n            // Add index to each item\n            for (i = 0; i < length; i++) {\n                arr[i].safeI = i; // stable sort index\n            }\n\n            arr.sort(function(a, b) {\n                sortValue = sortFunction(a, b);\n                return sortValue === 0 ? a.safeI - b.safeI : sortValue;\n            });\n\n            // Remove index from items\n            for (i = 0; i < length; i++) {\n                delete arr[i].safeI; // stable sort index\n            }\n        };\n\n        /**\n         * Non-recursive method to find the lowest member of an array. `Math.min` raises\n         * a maximum call stack size exceeded error in Chrome when trying to apply more\n         * than 150.000 points. This method is slightly slower, but safe.\n         *\n         * @function #arrayMin\n         * @memberOf  Highcharts\n         * @param {Array} data An array of numbers.\n         * @returns {Number} The lowest number.\n         */\n        H.arrayMin = function(data) {\n            var i = data.length,\n                min = data[0];\n\n            while (i--) {\n                if (data[i] < min) {\n                    min = data[i];\n                }\n            }\n            return min;\n        };\n\n        /**\n         * Non-recursive method to find the lowest member of an array. `Math.max` raises\n         * a maximum call stack size exceeded error in Chrome when trying to apply more\n         * than 150.000 points. This method is slightly slower, but safe.\n         *\n         * @function #arrayMax\n         * @memberOf  Highcharts\n         * @param {Array} data - An array of numbers.\n         * @returns {Number} The highest number.\n         */\n        H.arrayMax = function(data) {\n            var i = data.length,\n                max = data[0];\n\n            while (i--) {\n                if (data[i] > max) {\n                    max = data[i];\n                }\n            }\n            return max;\n        };\n\n        /**\n         * Utility method that destroys any SVGElement instances that are properties on\n         * the given object. It loops all properties and invokes destroy if there is a\n         * destroy method. The property is then delete.\n         *\n         * @function #destroyObjectProperties\n         * @memberOf Highcharts\n         * @param {Object} obj - The object to destroy properties on.\n         * @param {Object} [except] - Exception, do not destroy this property, only\n         *    delete it.\n         * @returns {void}\n         */\n        H.destroyObjectProperties = function(obj, except) {\n            var n;\n            for (n in obj) {\n                // If the object is non-null and destroy is defined\n                if (obj[n] && obj[n] !== except && obj[n].destroy) {\n                    // Invoke the destroy\n                    obj[n].destroy();\n                }\n\n                // Delete the property from the object.\n                delete obj[n];\n            }\n        };\n\n\n        /**\n         * Discard a HTML element by moving it to the bin and delete.\n         *\n         * @function #discardElement\n         * @memberOf Highcharts\n         * @param {HTMLDOMElement} element - The HTML node to discard.\n         * @returns {void}\n         */\n        H.discardElement = function(element) {\n            var garbageBin = H.garbageBin;\n            // create a garbage bin element, not part of the DOM\n            if (!garbageBin) {\n                garbageBin = H.createElement('div');\n            }\n\n            // move the node and empty bin\n            if (element) {\n                garbageBin.appendChild(element);\n            }\n            garbageBin.innerHTML = '';\n        };\n\n        /**\n         * Fix JS round off float errors.\n         *\n         * @function #correctFloat\n         * @memberOf Highcharts\n         * @param {Number} num - A float number to fix.\n         * @param {Number} [prec=14] - The precision.\n         * @returns {Number} The corrected float number.\n         */\n        H.correctFloat = function(num, prec) {\n            return parseFloat(\n                num.toPrecision(prec || 14)\n            );\n        };\n\n        /**\n         * Set the global animation to either a given value, or fall back to the given\n         * chart's animation option.\n         *\n         * @function #setAnimation\n         * @memberOf Highcharts\n         * @param {Boolean|Animation} animation - The animation object.\n         * @param {Object} chart - The chart instance.\n         * @returns {void}\n         * @todo This function always relates to a chart, and sets a property on the\n         *        renderer, so it should be moved to the SVGRenderer.\n         */\n        H.setAnimation = function(animation, chart) {\n            chart.renderer.globalAnimation = H.pick(\n                animation,\n                chart.options.chart.animation,\n                true\n            );\n        };\n\n        /**\n         * Get the animation in object form, where a disabled animation is always\n         * returned as `{ duration: 0 }`.\n         *\n         * @function #animObject\n         * @memberOf Highcharts\n         * @param {Boolean|AnimationOptions} animation - An animation setting. Can be an\n         *        object with duration, complete and easing properties, or a boolean to\n         *        enable or disable.\n         * @returns {AnimationOptions} An object with at least a duration property.\n         */\n        H.animObject = function(animation) {\n            return H.isObject(animation) ?\n                H.merge(animation) : {\n                    duration: animation ? 500 : 0\n                };\n        };\n\n        /**\n         * The time unit lookup\n         */\n        H.timeUnits = {\n            millisecond: 1,\n            second: 1000,\n            minute: 60000,\n            hour: 3600000,\n            day: 24 * 3600000,\n            week: 7 * 24 * 3600000,\n            month: 28 * 24 * 3600000,\n            year: 364 * 24 * 3600000\n        };\n\n        /**\n         * Format a number and return a string based on input settings.\n         *\n         * @function #numberFormat\n         * @memberOf Highcharts\n         * @param {Number} number - The input number to format.\n         * @param {Number} decimals - The amount of decimals. A value of -1 preserves\n         *        the amount in the input number.\n         * @param {String} [decimalPoint] - The decimal point, defaults to the one given\n         *        in the lang options.\n         * @param {String} [thousandsSep] - The thousands separator, defaults to the one\n         *        given in the lang options.\n         * @returns {String} The formatted number.\n         */\n        H.numberFormat = function(number, decimals, decimalPoint, thousandsSep) {\n            number = +number || 0;\n            decimals = +decimals;\n\n            var lang = H.defaultOptions.lang,\n                origDec = (number.toString().split('.')[1] || '').length,\n                strinteger,\n                thousands,\n                ret,\n                roundedNumber;\n\n            if (decimals === -1) {\n                // Preserve decimals. Not huge numbers (#3793).\n                decimals = Math.min(origDec, 20);\n            } else if (!H.isNumber(decimals)) {\n                decimals = 2;\n            }\n\n            // Add another decimal to avoid rounding errors of float numbers. (#4573)\n            // Then use toFixed to handle rounding.\n            roundedNumber = (\n                Math.abs(number) + Math.pow(10, -Math.max(decimals, origDec) - 1)\n            ).toFixed(decimals);\n\n            // A string containing the positive integer component of the number\n            strinteger = String(H.pInt(roundedNumber));\n\n            // Leftover after grouping into thousands. Can be 0, 1 or 3.\n            thousands = strinteger.length > 3 ? strinteger.length % 3 : 0;\n\n            // Language\n            decimalPoint = H.pick(decimalPoint, lang.decimalPoint);\n            thousandsSep = H.pick(thousandsSep, lang.thousandsSep);\n\n            // Start building the return\n            ret = number < 0 ? '-' : '';\n\n            // Add the leftover after grouping into thousands. For example, in the\n            // number 42 000 000, this line adds 42.\n            ret += thousands ? strinteger.substr(0, thousands) + thousandsSep : '';\n\n            // Add the remaining thousands groups, joined by the thousands separator\n            ret += strinteger\n                .substr(thousands)\n                .replace(/(\\d{3})(?=\\d)/g, '$1' + thousandsSep);\n\n            // Add the decimal point and the decimal component\n            if (decimals) {\n                // Get the decimal component\n                ret += decimalPoint + roundedNumber.slice(-decimals);\n            }\n\n            return ret;\n        };\n\n        /**\n         * Easing definition\n         * @ignore\n         * @param   {Number} pos Current position, ranging from 0 to 1.\n         */\n        Math.easeInOutSine = function(pos) {\n            return -0.5 * (Math.cos(Math.PI * pos) - 1);\n        };\n\n        /**\n         * Get the computed CSS value for given element and property, only for numerical\n         * properties. For width and height, the dimension of the inner box (excluding\n         * padding) is returned. Used for fitting the chart within the container.\n         *\n         * @function #getStyle\n         * @memberOf Highcharts\n         * @param {HTMLDOMElement} el - A HTML element.\n         * @param {String} prop - The property name.\n         * @returns {Number} - The numeric value.\n         */\n        H.getStyle = function(el, prop) {\n\n            var style;\n\n            // For width and height, return the actual inner pixel size (#4913)\n            if (prop === 'width') {\n                return Math.min(el.offsetWidth, el.scrollWidth) -\n                    H.getStyle(el, 'padding-left') -\n                    H.getStyle(el, 'padding-right');\n            } else if (prop === 'height') {\n                return Math.min(el.offsetHeight, el.scrollHeight) -\n                    H.getStyle(el, 'padding-top') -\n                    H.getStyle(el, 'padding-bottom');\n            }\n\n            // Otherwise, get the computed style\n            style = win.getComputedStyle(el, undefined);\n            return style && H.pInt(style.getPropertyValue(prop));\n        };\n\n        /**\n         * Search for an item in an array.\n         *\n         * @function #inArray\n         * @memberOf Highcharts\n         * @param {*} item - The item to search for.\n         * @param {arr} arr - The array or node collection to search in.\n         * @returns {Number} - The index within the array, or -1 if not found.\n         */\n        H.inArray = function(item, arr) {\n            return arr.indexOf ? arr.indexOf(item) : [].indexOf.call(arr, item);\n        };\n\n        /**\n         * Filter an array by a callback.\n         *\n         * @function #grep\n         * @memberOf Highcharts\n         * @param {Array} arr - The array to filter.\n         * @param {Function} callback - The callback function. The function receives the\n         *        item as the first argument. Return `true` if the item is to be\n         *        preserved.\n         * @returns {Array} - A new, filtered array.\n         */\n        H.grep = function(arr, callback) {\n            return [].filter.call(arr, callback);\n        };\n\n        /**\n         * Return the value of the first element in the array that satisfies the \n         * provided testing function.\n         *\n         * @function #find\n         * @memberOf Highcharts\n         * @param {Array} arr - The array to test.\n         * @param {Function} callback - The callback function. The function receives the\n         *        item as the first argument. Return `true` if this item satisfies the\n         *        condition.\n         * @returns {Mixed} - The value of the element.\n         */\n        H.find = function(arr, callback) {\n            return [].find.call(arr, callback);\n        };\n\n        /**\n         * Map an array by a callback.\n         *\n         * @function #map\n         * @memberOf Highcharts\n         * @param {Array} arr - The array to map.\n         * @param {Function} fn - The callback function. Return the new value for the \n         *        new array.\n         * @returns {Array} - A new array item with modified items.\n         */\n        H.map = function(arr, fn) {\n            var results = [],\n                i = 0,\n                len = arr.length;\n\n            for (; i < len; i++) {\n                results[i] = fn.call(arr[i], arr[i], i, arr);\n            }\n\n            return results;\n        };\n\n        /**\n         * Get the element's offset position, corrected for `overflow: auto`.\n         *\n         * @function #offset\n         * @memberOf Highcharts\n         * @param {HTMLDOMElement} el - The HTML element.\n         * @returns {Object} An object containing `left` and `top` properties for the\n         * position in the page.\n         */\n        H.offset = function(el) {\n            var docElem = doc.documentElement,\n                box = el.getBoundingClientRect();\n\n            return {\n                top: box.top + (win.pageYOffset || docElem.scrollTop) -\n                    (docElem.clientTop || 0),\n                left: box.left + (win.pageXOffset || docElem.scrollLeft) -\n                    (docElem.clientLeft || 0)\n            };\n        };\n\n        /**\n         * Stop running animation.\n         *\n         * @todo A possible extension to this would be to stop a single property, when\n         * we want to continue animating others. Then assign the prop to the timer\n         * in the Fx.run method, and check for the prop here. This would be an\n         * improvement in all cases where we stop the animation from .attr. Instead of\n         * stopping everything, we can just stop the actual attributes we're setting.\n         *\n         * @function #stop\n         * @memberOf Highcharts\n         * @param {SVGElement} el - The SVGElement to stop animation on.\n         * @param {string} [prop] - The property to stop animating. If given, the stop\n         *    method will stop a single property from animating, while others continue.\n         * @returns {void}\n         */\n        H.stop = function(el, prop) {\n\n            var i = timers.length;\n\n            // Remove timers related to this element (#4519)\n            while (i--) {\n                if (timers[i].elem === el && (!prop || prop === timers[i].prop)) {\n                    timers[i].stopped = true; // #4667\n                }\n            }\n        };\n\n        /**\n         * Iterate over an array.\n         *\n         * @function #each\n         * @memberOf Highcharts\n         * @param {Array} arr - The array to iterate over.\n         * @param {Function} fn - The iterator callback. It passes three arguments:\n         * * item - The array item.\n         * * index - The item's index in the array.\n         * * arr - The array that each is being applied to.\n         * @param {Object} [ctx] The context.\n         */\n        H.each = function(arr, fn, ctx) { // modern browsers\n            return Array.prototype.forEach.call(arr, fn, ctx);\n        };\n\n        /**\n         * Add an event listener.\n         *\n         * @function #addEvent\n         * @memberOf Highcharts\n         * @param {Object} el - The element or object to add a listener to. It can be a\n         *        {@link HTMLDOMElement}, an {@link SVGElement} or any other object.\n         * @param {String} type - The event type.\n         * @param {Function} fn - The function callback to execute when the event is \n         *        fired.\n         * @returns {Function} A callback function to remove the added event.\n         */\n        H.addEvent = function(el, type, fn) {\n\n            var events = el.hcEvents = el.hcEvents || {};\n\n            function wrappedFn(e) {\n                e.target = e.srcElement || win; // #2820\n                fn.call(el, e);\n            }\n\n            // Handle DOM events in modern browsers\n            if (el.addEventListener) {\n                el.addEventListener(type, fn, false);\n\n                // Handle old IE implementation\n            } else if (el.attachEvent) {\n\n                if (!el.hcEventsIE) {\n                    el.hcEventsIE = {};\n                }\n\n                // Link wrapped fn with original fn, so we can get this in removeEvent\n                el.hcEventsIE[fn.toString()] = wrappedFn;\n\n                el.attachEvent('on' + type, wrappedFn);\n            }\n\n            if (!events[type]) {\n                events[type] = [];\n            }\n\n            events[type].push(fn);\n\n            // Return a function that can be called to remove this event.\n            return function() {\n                H.removeEvent(el, type, fn);\n            };\n        };\n\n        /**\n         * Remove an event that was added with {@link Highcharts#addEvent}.\n         *\n         * @function #removeEvent\n         * @memberOf Highcharts\n         * @param {Object} el - The element to remove events on.\n         * @param {String} [type] - The type of events to remove. If undefined, all\n         *        events are removed from the element.\n         * @param {Function} [fn] - The specific callback to remove. If undefined, all\n         *        events that match the element and optionally the type are removed.\n         * @returns {void}\n         */\n        H.removeEvent = function(el, type, fn) {\n\n            var events,\n                hcEvents = el.hcEvents,\n                index;\n\n            function removeOneEvent(type, fn) {\n                if (el.removeEventListener) {\n                    el.removeEventListener(type, fn, false);\n                } else if (el.attachEvent) {\n                    fn = el.hcEventsIE[fn.toString()];\n                    el.detachEvent('on' + type, fn);\n                }\n            }\n\n            function removeAllEvents() {\n                var types,\n                    len,\n                    n;\n\n                if (!el.nodeName) {\n                    return; // break on non-DOM events\n                }\n\n                if (type) {\n                    types = {};\n                    types[type] = true;\n                } else {\n                    types = hcEvents;\n                }\n\n                for (n in types) {\n                    if (hcEvents[n]) {\n                        len = hcEvents[n].length;\n                        while (len--) {\n                            removeOneEvent(n, hcEvents[n][len]);\n                        }\n                    }\n                }\n            }\n\n            if (hcEvents) {\n                if (type) {\n                    events = hcEvents[type] || [];\n                    if (fn) {\n                        index = H.inArray(fn, events);\n                        if (index > -1) {\n                            events.splice(index, 1);\n                            hcEvents[type] = events;\n                        }\n                        removeOneEvent(type, fn);\n\n                    } else {\n                        removeAllEvents();\n                        hcEvents[type] = [];\n                    }\n                } else {\n                    removeAllEvents();\n                    el.hcEvents = {};\n                }\n            }\n        };\n\n        /**\n         * Fire an event that was registered with {@link Highcharts#addEvent}.\n         *\n         * @function #fireEvent\n         * @memberOf Highcharts\n         * @param {Object} el - The object to fire the event on. It can be a\n         *        {@link HTMLDOMElement}, an {@link SVGElement} or any other object.\n         * @param {String} type - The type of event.\n         * @param {Object} [eventArguments] - Custom event arguments that are passed on\n         *        as an argument to the event handler.\n         * @param {Function} [defaultFunction] - The default function to execute if the \n         *        other listeners haven't returned false.\n         * @returns {void}\n         */\n        H.fireEvent = function(el, type, eventArguments, defaultFunction) {\n            var e,\n                hcEvents = el.hcEvents,\n                events,\n                len,\n                i,\n                fn;\n\n            eventArguments = eventArguments || {};\n\n            if (doc.createEvent && (el.dispatchEvent || el.fireEvent)) {\n                e = doc.createEvent('Events');\n                e.initEvent(type, true, true);\n                //e.target = el;\n\n                H.extend(e, eventArguments);\n\n                if (el.dispatchEvent) {\n                    el.dispatchEvent(e);\n                } else {\n                    el.fireEvent(type, e);\n                }\n\n            } else if (hcEvents) {\n\n                events = hcEvents[type] || [];\n                len = events.length;\n\n                if (!eventArguments.target) { // We're running a custom event\n\n                    H.extend(eventArguments, {\n                        // Attach a simple preventDefault function to skip default\n                        // handler if called. The built-in defaultPrevented property is\n                        // not overwritable (#5112)\n                        preventDefault: function() {\n                            eventArguments.defaultPrevented = true;\n                        },\n                        // Setting target to native events fails with clicking the\n                        // zoom-out button in Chrome.\n                        target: el,\n                        // If the type is not set, we're running a custom event (#2297).\n                        // If it is set, we're running a browser event, and setting it\n                        // will cause en error in IE8 (#2465).\t\t\n                        type: type\n                    });\n                }\n\n\n                for (i = 0; i < len; i++) {\n                    fn = events[i];\n\n                    // If the event handler return false, prevent the default handler\n                    // from executing\n                    if (fn && fn.call(el, eventArguments) === false) {\n                        eventArguments.preventDefault();\n                    }\n                }\n            }\n\n            // Run the default if not prevented\n            if (defaultFunction && !eventArguments.defaultPrevented) {\n                defaultFunction(eventArguments);\n            }\n        };\n\n        /**\n         * An animation configuration. Animation configurations can also be defined as\n         * booleans, where `false` turns off animation and `true` defaults to a duration\n         * of 500ms.\n         * @typedef {Object} AnimationOptions\n         * @property {Number} duration - The animation duration in milliseconds.\n         * @property {String} [easing] - The name of an easing function as defined on\n         *     the `Math` object.\n         * @property {Function} [complete] - A callback function to exectute when the\n         *     animation finishes.\n         * @property {Function} [step] - A callback function to execute on each step of\n         *     each attribute or CSS property that's being animated. The first argument\n         *     contains information about the animation and progress.\n         */\n\n\n        /**\n         * The global animate method, which uses Fx to create individual animators.\n         *\n         * @function #animate\n         * @memberOf Highcharts\n         * @param {HTMLDOMElement|SVGElement} el - The element to animate.\n         * @param {Object} params - An object containing key-value pairs of the\n         *        properties to animate. Supports numeric as pixel-based CSS properties\n         *        for HTML objects and attributes for SVGElements.\n         * @param {AnimationOptions} [opt] - Animation options.\n         */\n        H.animate = function(el, params, opt) {\n            var start,\n                unit = '',\n                end,\n                fx,\n                args,\n                prop;\n\n            if (!H.isObject(opt)) { // Number or undefined/null\n                args = arguments;\n                opt = {\n                    duration: args[2],\n                    easing: args[3],\n                    complete: args[4]\n                };\n            }\n            if (!H.isNumber(opt.duration)) {\n                opt.duration = 400;\n            }\n            opt.easing = typeof opt.easing === 'function' ?\n                opt.easing :\n                (Math[opt.easing] || Math.easeInOutSine);\n            opt.curAnim = H.merge(params);\n\n            for (prop in params) {\n\n                // Stop current running animation of this property\n                H.stop(el, prop);\n\n                fx = new H.Fx(el, opt, prop);\n                end = null;\n\n                if (prop === 'd') {\n                    fx.paths = fx.initPath(\n                        el,\n                        el.d,\n                        params.d\n                    );\n                    fx.toD = params.d;\n                    start = 0;\n                    end = 1;\n                } else if (el.attr) {\n                    start = el.attr(prop);\n                } else {\n                    start = parseFloat(H.getStyle(el, prop)) || 0;\n                    if (prop !== 'opacity') {\n                        unit = 'px';\n                    }\n                }\n\n                if (!end) {\n                    end = params[prop];\n                }\n                if (end && end.match && end.match('px')) {\n                    end = end.replace(/px/g, ''); // #4351\n                }\n                fx.run(start, end, unit);\n            }\n        };\n\n        /**\n         * Factory to create new series prototypes.\n         *\n         * @function #seriesType\n         * @memberOf Highcharts\n         *\n         * @param {String} type - The series type name.\n         * @param {String} parent - The parent series type name. Use `line` to inherit\n         *        from the basic {@link Series} object.\n         * @param {Object} options - The additional default options that is merged with\n         *        the parent's options.\n         * @param {Object} props - The properties (functions and primitives) to set on\n         *        the new prototype.\n         * @param {Object} [pointProps] - Members for a series-specific extension of the\n         *        {@link Point} prototype if needed.\n         * @returns {*} - The newly created prototype as extended from {@link Series}\n         * or its derivatives.\n         */\n        // docs: add to API + extending Highcharts\n        H.seriesType = function(type, parent, options, props, pointProps) {\n            var defaultOptions = H.getOptions(),\n                seriesTypes = H.seriesTypes;\n\n            // Merge the options\n            defaultOptions.plotOptions[type] = H.merge(\n                defaultOptions.plotOptions[parent],\n                options\n            );\n\n            // Create the class\n            seriesTypes[type] = H.extendClass(seriesTypes[parent] ||\n                function() {}, props);\n            seriesTypes[type].prototype.type = type;\n\n            // Create the point class if needed\n            if (pointProps) {\n                seriesTypes[type].prototype.pointClass =\n                    H.extendClass(H.Point, pointProps);\n            }\n\n            return seriesTypes[type];\n        };\n\n        /**\n         * Get a unique key for using in internal element id's and pointers. The key\n         * is composed of a random hash specific to this Highcharts instance, and a \n         * counter.\n         * @function #uniqueKey\n         * @memberOf Highcharts\n         * @return {string} The key.\n         * @example\n         * var id = H.uniqueKey(); // => 'highcharts-x45f6hp-0'\n         */\n        H.uniqueKey = (function() {\n\n            var uniqueKeyHash = Math.random().toString(36).substring(2, 9),\n                idCounter = 0;\n\n            return function() {\n                return 'highcharts-' + uniqueKeyHash + '-' + idCounter++;\n            };\n        }());\n\n        /**\n         * Register Highcharts as a plugin in jQuery\n         */\n        if (win.jQuery) {\n            win.jQuery.fn.highcharts = function() {\n                var args = [].slice.call(arguments);\n\n                if (this[0]) { // this[0] is the renderTo div\n\n                    // Create the chart\n                    if (args[0]) {\n                        new H[ // eslint-disable-line no-new\n                            // Constructor defaults to Chart\n                            H.isString(args[0]) ? args.shift() : 'Chart'\n                        ](this[0], args[0], args[1]);\n                        return this;\n                    }\n\n                    // When called without parameters or with the return argument,\n                    // return an existing chart\n                    return charts[H.attr(this[0], 'data-highcharts-chart')];\n                }\n            };\n        }\n\n\n        /**\n         * Compatibility section to add support for legacy IE. This can be removed if\n         * old IE support is not needed.\n         */\n        if (doc && !doc.defaultView) {\n            H.getStyle = function(el, prop) {\n                var val,\n                    alias = {\n                        width: 'clientWidth',\n                        height: 'clientHeight'\n                    }[prop];\n\n                if (el.style[prop]) {\n                    return H.pInt(el.style[prop]);\n                }\n                if (prop === 'opacity') {\n                    prop = 'filter';\n                }\n\n                // Getting the rendered width and height\n                if (alias) {\n                    el.style.zoom = 1;\n                    return Math.max(el[alias] - 2 * H.getStyle(el, 'padding'), 0);\n                }\n\n                val = el.currentStyle[prop.replace(/\\-(\\w)/g, function(a, b) {\n                    return b.toUpperCase();\n                })];\n                if (prop === 'filter') {\n                    val = val.replace(\n                        /alpha\\(opacity=([0-9]+)\\)/,\n                        function(a, b) {\n                            return b / 100;\n                        }\n                    );\n                }\n\n                return val === '' ? 1 : H.pInt(val);\n            };\n        }\n\n        if (!Array.prototype.forEach) {\n            H.each = function(arr, fn, ctx) { // legacy\n                var i = 0,\n                    len = arr.length;\n                for (; i < len; i++) {\n                    if (fn.call(ctx, arr[i], i, arr) === false) {\n                        return i;\n                    }\n                }\n            };\n        }\n\n        if (!Array.prototype.indexOf) {\n            H.inArray = function(item, arr) {\n                var len,\n                    i = 0;\n\n                if (arr) {\n                    len = arr.length;\n\n                    for (; i < len; i++) {\n                        if (arr[i] === item) {\n                            return i;\n                        }\n                    }\n                }\n\n                return -1;\n            };\n        }\n\n        if (!Array.prototype.filter) {\n            H.grep = function(elements, fn) {\n                var ret = [],\n                    i = 0,\n                    length = elements.length;\n\n                for (; i < length; i++) {\n                    if (fn(elements[i], i)) {\n                        ret.push(elements[i]);\n                    }\n                }\n\n                return ret;\n            };\n        }\n\n        if (!Array.prototype.find) {\n            H.find = function(arr, fn) {\n                var i,\n                    length = arr.length;\n\n                for (i = 0; i < length; i++) {\n                    if (fn(arr[i], i)) {\n                        return arr[i];\n                    }\n                }\n            };\n        }\n\n        //--- End compatibility section ---\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var each = H.each,\n            isNumber = H.isNumber,\n            map = H.map,\n            merge = H.merge,\n            pInt = H.pInt;\n\n        /**\n         * @typedef {string} ColorString\n         * A valid color to be parsed and handled by Highcharts. Highcharts internally \n         * supports hex colors like `#ffffff`, rgb colors like `rgb(255,255,255)` and\n         * rgba colors like `rgba(255,255,255,1)`. Other colors may be supported by the\n         * browsers and displayed correctly, but Highcharts is not able to process them\n         * and apply concepts like opacity and brightening.\n         */\n        /**\n         * Handle color operations. The object methods are chainable.\n         * @param {String} input The input color in either rbga or hex format\n         */\n        H.Color = function(input) {\n            // Backwards compatibility, allow instanciation without new\n            if (!(this instanceof H.Color)) {\n                return new H.Color(input);\n            }\n            // Initialize\n            this.init(input);\n        };\n        H.Color.prototype = {\n\n            // Collection of parsers. This can be extended from the outside by pushing parsers\n            // to Highcharts.Color.prototype.parsers.\n            parsers: [{\n                // RGBA color\n                regex: /rgba\\(\\s*([0-9]{1,3})\\s*,\\s*([0-9]{1,3})\\s*,\\s*([0-9]{1,3})\\s*,\\s*([0-9]?(?:\\.[0-9]+)?)\\s*\\)/,\n                parse: function(result) {\n                    return [pInt(result[1]), pInt(result[2]), pInt(result[3]), parseFloat(result[4], 10)];\n                }\n            }, {\n                // RGB color\n                regex: /rgb\\(\\s*([0-9]{1,3})\\s*,\\s*([0-9]{1,3})\\s*,\\s*([0-9]{1,3})\\s*\\)/,\n                parse: function(result) {\n                    return [pInt(result[1]), pInt(result[2]), pInt(result[3]), 1];\n                }\n            }],\n\n            // Collection of named colors. Can be extended from the outside by adding\n            // colors to Highcharts.Color.prototype.names.\n            names: {\n                white: '#ffffff',\n                black: '#000000'\n            },\n\n            /**\n             * Parse the input color to rgba array\n             * @param {String} input\n             */\n            init: function(input) {\n                var result,\n                    rgba,\n                    i,\n                    parser,\n                    len;\n\n                this.input = input = this.names[\n                    input && input.toLowerCase ?\n                    input.toLowerCase() :\n                    ''\n                ] || input;\n\n                // Gradients\n                if (input && input.stops) {\n                    this.stops = map(input.stops, function(stop) {\n                        return new H.Color(stop[1]);\n                    });\n\n                    // Solid colors\n                } else {\n\n                    // Check if it's possible to do bitmasking instead of regex\n                    if (input && input[0] === '#') {\n\n                        len = input.length;\n                        input = parseInt(input.substr(1), 16);\n\n                        // Handle long-form, e.g. #AABBCC\n                        if (len === 7) {\n\n                            rgba = [\n                                (input & 0xFF0000) >> 16,\n                                (input & 0xFF00) >> 8,\n                                (input & 0xFF),\n                                1\n                            ];\n\n                            // Handle short-form, e.g. #ABC\n                            // In short form, the value is assumed to be the same \n                            // for both nibbles for each component. e.g. #ABC = #AABBCC\n                        } else if (len === 4) {\n\n                            rgba = [\n                                ((input & 0xF00) >> 4) | (input & 0xF00) >> 8,\n                                ((input & 0xF0) >> 4) | (input & 0xF0),\n                                ((input & 0xF) << 4) | (input & 0xF),\n                                1\n                            ];\n                        }\n                    }\n\n                    // Otherwise, check regex parsers\n                    if (!rgba) {\n                        i = this.parsers.length;\n                        while (i-- && !rgba) {\n                            parser = this.parsers[i];\n                            result = parser.regex.exec(input);\n                            if (result) {\n                                rgba = parser.parse(result);\n                            }\n                        }\n                    }\n                }\n                this.rgba = rgba || [];\n            },\n\n            /**\n             * Return the color a specified format\n             * @param {String} format\n             */\n            get: function(format) {\n                var input = this.input,\n                    rgba = this.rgba,\n                    ret;\n\n                if (this.stops) {\n                    ret = merge(input);\n                    ret.stops = [].concat(ret.stops);\n                    each(this.stops, function(stop, i) {\n                        ret.stops[i] = [ret.stops[i][0], stop.get(format)];\n                    });\n\n                    // it's NaN if gradient colors on a column chart\n                } else if (rgba && isNumber(rgba[0])) {\n                    if (format === 'rgb' || (!format && rgba[3] === 1)) {\n                        ret = 'rgb(' + rgba[0] + ',' + rgba[1] + ',' + rgba[2] + ')';\n                    } else if (format === 'a') {\n                        ret = rgba[3];\n                    } else {\n                        ret = 'rgba(' + rgba.join(',') + ')';\n                    }\n                } else {\n                    ret = input;\n                }\n                return ret;\n            },\n\n            /**\n             * Brighten the color\n             * @param {Number} alpha\n             */\n            brighten: function(alpha) {\n                var i,\n                    rgba = this.rgba;\n\n                if (this.stops) {\n                    each(this.stops, function(stop) {\n                        stop.brighten(alpha);\n                    });\n\n                } else if (isNumber(alpha) && alpha !== 0) {\n                    for (i = 0; i < 3; i++) {\n                        rgba[i] += pInt(alpha * 255);\n\n                        if (rgba[i] < 0) {\n                            rgba[i] = 0;\n                        }\n                        if (rgba[i] > 255) {\n                            rgba[i] = 255;\n                        }\n                    }\n                }\n                return this;\n            },\n\n            /**\n             * Set the color's opacity to a given alpha value\n             * @param {Number} alpha\n             */\n            setOpacity: function(alpha) {\n                this.rgba[3] = alpha;\n                return this;\n            }\n        };\n        H.color = function(input) {\n            return new H.Color(input);\n        };\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var SVGElement,\n            SVGRenderer,\n\n            addEvent = H.addEvent,\n            animate = H.animate,\n            attr = H.attr,\n            charts = H.charts,\n            color = H.color,\n            css = H.css,\n            createElement = H.createElement,\n            defined = H.defined,\n            deg2rad = H.deg2rad,\n            destroyObjectProperties = H.destroyObjectProperties,\n            doc = H.doc,\n            each = H.each,\n            extend = H.extend,\n            erase = H.erase,\n            grep = H.grep,\n            hasTouch = H.hasTouch,\n            inArray = H.inArray,\n            isArray = H.isArray,\n            isFirefox = H.isFirefox,\n            isMS = H.isMS,\n            isObject = H.isObject,\n            isString = H.isString,\n            isWebKit = H.isWebKit,\n            merge = H.merge,\n            noop = H.noop,\n            pick = H.pick,\n            pInt = H.pInt,\n            removeEvent = H.removeEvent,\n            splat = H.splat,\n            stop = H.stop,\n            svg = H.svg,\n            SVG_NS = H.SVG_NS,\n            symbolSizes = H.symbolSizes,\n            win = H.win;\n\n        /**\n         * @typedef {Object} SVGDOMElement - An SVG DOM element.\n         */\n        /**\n         * The SVGElement prototype is a JavaScript wrapper for SVG elements used in the\n         * rendering layer of Highcharts. Combined with the {@link SVGRenderer} object,\n         * these prototypes allow freeform annotation in the charts or even in HTML\n         * pages without instanciating a chart. The SVGElement can also wrap HTML\n         * labels, when `text` or `label` elements are created with the `useHTML`\n         * parameter.\n         *\n         * The SVGElement instances are created through factory functions on the \n         * {@link SVGRenderer} object, like [rect]{@link SVGRenderer#rect},\n         * [path]{@link SVGRenderer#path}, [text]{@link SVGRenderer#text}, [label]{@link\n         * SVGRenderer#label}, [g]{@link SVGRenderer#g} and more.\n         *\n         * @class\n         */\n        SVGElement = H.SVGElement = function() {\n            return this;\n        };\n        SVGElement.prototype = {\n\n            // Default base for animation\n            opacity: 1,\n            SVG_NS: SVG_NS,\n\n            /**\n             * For labels, these CSS properties are applied to the `text` node directly.\n             * @type {Array.<string>}\n             */\n            textProps: ['direction', 'fontSize', 'fontWeight', 'fontFamily',\n                'fontStyle', 'color', 'lineHeight', 'width', 'textAlign',\n                'textDecoration', 'textOverflow', 'textOutline'\n            ],\n\n            /**\n             * Initialize the SVG renderer. This function only exists to make the\n             * initiation process overridable. It should not be called directly.\n             *\n             * @param {SVGRenderer} renderer The SVGRenderer instance to initialize to.\n             * @param {String} nodeName The SVG node name.\n             * @returns {void}\n             */\n            init: function(renderer, nodeName) {\n\n                /** \n                 * The DOM node. Each SVGRenderer instance wraps a main DOM node, but \n                 * may also represent more nodes.\n                 * @type {SVGDOMNode|HTMLDOMNode}\n                 */\n                this.element = nodeName === 'span' ?\n                    createElement(nodeName) :\n                    doc.createElementNS(this.SVG_NS, nodeName);\n\n                /**\n                 * The renderer that the SVGElement belongs to.\n                 * @type {SVGRenderer}\n                 */\n                this.renderer = renderer;\n            },\n\n            /**\n             * Animate to given attributes or CSS properties.\n             * \n             * @param {SVGAttributes} params SVG attributes or CSS to animate.\n             * @param {AnimationOptions} [options] Animation options.\n             * @param {Function} [complete] Function to perform at the end of animation.\n             * @returns {SVGElement} Returns the SVGElement for chaining.\n             */\n            animate: function(params, options, complete) {\n                var animOptions = H.animObject(\n                    pick(options, this.renderer.globalAnimation, true)\n                );\n                if (animOptions.duration !== 0) {\n                    if (complete) { // allows using a callback with the global animation without overwriting it\n                        animOptions.complete = complete;\n                    }\n                    animate(this, params, animOptions);\n                } else {\n                    this.attr(params, null, complete);\n                    if (animOptions.step) {\n                        animOptions.step.call(this);\n                    }\n                }\n                return this;\n            },\n\n            /**\n             * @typedef {Object} GradientOptions\n             * @property {Object} linearGradient Holds an object that defines the start\n             *    position and the end position relative to the shape.\n             * @property {Number} linearGradient.x1 Start horizontal position of the\n             *    gradient. Ranges 0-1.\n             * @property {Number} linearGradient.x2 End horizontal position of the\n             *    gradient. Ranges 0-1.\n             * @property {Number} linearGradient.y1 Start vertical position of the\n             *    gradient. Ranges 0-1.\n             * @property {Number} linearGradient.y2 End vertical position of the\n             *    gradient. Ranges 0-1.\n             * @property {Object} radialGradient Holds an object that defines the center\n             *    position and the radius.\n             * @property {Number} radialGradient.cx Center horizontal position relative\n             *    to the shape. Ranges 0-1.\n             * @property {Number} radialGradient.cy Center vertical position relative\n             *    to the shape. Ranges 0-1.\n             * @property {Number} radialGradient.r Radius relative to the shape. Ranges\n             *    0-1.\n             * @property {Array.<Array>} stops The first item in each tuple is the\n             *    position in the gradient, where 0 is the start of the gradient and 1\n             *    is the end of the gradient. Multiple stops can be applied. The second\n             *    item is the color for each stop. This color can also be given in the\n             *    rgba format.\n             *\n             * @example\n             * // Linear gradient used as a color option\n             * color: {\n             *     linearGradient: { x1: 0, x2: 0, y1: 0, y2: 1 },\n             *         stops: [\n             *             [0, '#003399'], // start\n             *             [0.5, '#ffffff'], // middle\n             *             [1, '#3366AA'] // end\n             *         ]\n             *     }\n             * }\n             */\n            /**\n             * Build and apply an SVG gradient out of a common JavaScript configuration\n             * object. This function is called from the attribute setters.\n             *\n             * @private\n             * @param {GradientOptions} color The gradient options structure.\n             * @param {string} prop The property to apply, can either be `fill` or\n             * `stroke`. \n             * @param {SVGDOMElement} elem SVG DOM element to apply the gradient on.\n             */\n            colorGradient: function(color, prop, elem) {\n                var renderer = this.renderer,\n                    colorObject,\n                    gradName,\n                    gradAttr,\n                    radAttr,\n                    gradients,\n                    gradientObject,\n                    stops,\n                    stopColor,\n                    stopOpacity,\n                    radialReference,\n                    n,\n                    id,\n                    key = [],\n                    value;\n\n                // Apply linear or radial gradients\n                if (color.radialGradient) {\n                    gradName = 'radialGradient';\n                } else if (color.linearGradient) {\n                    gradName = 'linearGradient';\n                }\n\n                if (gradName) {\n                    gradAttr = color[gradName];\n                    gradients = renderer.gradients;\n                    stops = color.stops;\n                    radialReference = elem.radialReference;\n\n                    // Keep < 2.2 kompatibility\n                    if (isArray(gradAttr)) {\n                        color[gradName] = gradAttr = {\n                            x1: gradAttr[0],\n                            y1: gradAttr[1],\n                            x2: gradAttr[2],\n                            y2: gradAttr[3],\n                            gradientUnits: 'userSpaceOnUse'\n                        };\n                    }\n\n                    // Correct the radial gradient for the radial reference system\n                    if (\n                        gradName === 'radialGradient' &&\n                        radialReference &&\n                        !defined(gradAttr.gradientUnits)\n                    ) {\n                        radAttr = gradAttr; // Save the radial attributes for updating\n                        gradAttr = merge(\n                            gradAttr,\n                            renderer.getRadialAttr(radialReference, radAttr), {\n                                gradientUnits: 'userSpaceOnUse'\n                            }\n                        );\n                    }\n\n                    // Build the unique key to detect whether we need to create a new element (#1282)\n                    for (n in gradAttr) {\n                        if (n !== 'id') {\n                            key.push(n, gradAttr[n]);\n                        }\n                    }\n                    for (n in stops) {\n                        key.push(stops[n]);\n                    }\n                    key = key.join(',');\n\n                    // Check if a gradient object with the same config object is created within this renderer\n                    if (gradients[key]) {\n                        id = gradients[key].attr('id');\n\n                    } else {\n\n                        // Set the id and create the element\n                        gradAttr.id = id = H.uniqueKey();\n                        gradients[key] = gradientObject = renderer.createElement(gradName)\n                            .attr(gradAttr)\n                            .add(renderer.defs);\n\n                        gradientObject.radAttr = radAttr;\n\n                        // The gradient needs to keep a list of stops to be able to destroy them\n                        gradientObject.stops = [];\n                        each(stops, function(stop) {\n                            var stopObject;\n                            if (stop[1].indexOf('rgba') === 0) {\n                                colorObject = H.color(stop[1]);\n                                stopColor = colorObject.get('rgb');\n                                stopOpacity = colorObject.get('a');\n                            } else {\n                                stopColor = stop[1];\n                                stopOpacity = 1;\n                            }\n                            stopObject = renderer.createElement('stop').attr({\n                                offset: stop[0],\n                                'stop-color': stopColor,\n                                'stop-opacity': stopOpacity\n                            }).add(gradientObject);\n\n                            // Add the stop element to the gradient\n                            gradientObject.stops.push(stopObject);\n                        });\n                    }\n\n                    // Set the reference to the gradient object\n                    value = 'url(' + renderer.url + '#' + id + ')';\n                    elem.setAttribute(prop, value);\n                    elem.gradient = key;\n\n                    // Allow the color to be concatenated into tooltips formatters etc. (#2995)\n                    color.toString = function() {\n                        return value;\n                    };\n                }\n            },\n\n            /**\n             * Apply a text outline through a custom CSS property, by copying the text\n             * element and apply stroke to the copy. Used internally. Contrast checks\n             * at http://jsfiddle.net/highcharts/43soe9m1/2/ .\n             *\n             * @private\n             * @param {String} textOutline A custom CSS `text-outline` setting, defined\n             *    by `width color`. \n             * @example\n             * // Specific color\n             * text.css({\n             *    textOutline: '1px black'\n             * });\n             * // Automatic contrast\n             * text.css({\n             *    color: '#000000', // black text\n             *    textOutline: '1px contrast' // => white outline\n             * });\n             */\n            applyTextOutline: function(textOutline) {\n                var elem = this.element,\n                    tspans,\n                    tspan,\n                    hasContrast = textOutline.indexOf('contrast') !== -1,\n                    styles = {},\n                    color,\n                    strokeWidth,\n                    firstRealChild,\n                    i;\n\n                // When the text shadow is set to contrast, use dark stroke for light\n                // text and vice versa.\n                if (hasContrast) {\n                    styles.textOutline = textOutline = textOutline.replace(\n                        /contrast/g,\n                        this.renderer.getContrast(elem.style.fill)\n                    );\n                }\n\n                // Extract the stroke width and color\n                textOutline = textOutline.split(' ');\n                color = textOutline[textOutline.length - 1];\n                strokeWidth = textOutline[0];\n\n                if (strokeWidth && strokeWidth !== 'none' && H.svg) {\n\n                    this.fakeTS = true; // Fake text shadow\n\n                    tspans = [].slice.call(elem.getElementsByTagName('tspan'));\n\n                    // In order to get the right y position of the clone,\n                    // copy over the y setter\n                    this.ySetter = this.xSetter;\n\n                    // Since the stroke is applied on center of the actual outline, we\n                    // need to double it to get the correct stroke-width outside the \n                    // glyphs.\n                    strokeWidth = strokeWidth.replace(\n                        /(^[\\d\\.]+)(.*?)$/g,\n                        function(match, digit, unit) {\n                            return (2 * digit) + unit;\n                        }\n                    );\n\n                    // Remove shadows from previous runs. Iterate from the end to\n                    // support removing items inside the cycle (#6472).\n                    i = tspans.length;\n                    while (i--) {\n                        tspan = tspans[i];\n                        if (tspan.getAttribute('class') === 'highcharts-text-outline') {\n                            // Remove then erase\n                            erase(tspans, elem.removeChild(tspan));\n                        }\n                    }\n\n                    // For each of the tspans, create a stroked copy behind it.\n                    firstRealChild = elem.firstChild;\n                    each(tspans, function(tspan, y) {\n                        var clone;\n\n                        // Let the first line start at the correct X position\n                        if (y === 0) {\n                            tspan.setAttribute('x', elem.getAttribute('x'));\n                            y = elem.getAttribute('y');\n                            tspan.setAttribute('y', y || 0);\n                            if (y === null) {\n                                elem.setAttribute('y', 0);\n                            }\n                        }\n\n                        // Create the clone and apply outline properties\n                        clone = tspan.cloneNode(1);\n                        attr(clone, {\n                            'class': 'highcharts-text-outline',\n                            'fill': color,\n                            'stroke': color,\n                            'stroke-width': strokeWidth,\n                            'stroke-linejoin': 'round'\n                        });\n                        elem.insertBefore(clone, firstRealChild);\n                    });\n                }\n            },\n\n            /**\n             *\n             * @typedef {Object} SVGAttributes An object of key-value pairs for SVG\n             *   attributes. Attributes in Highcharts elements for the most parts\n             *   correspond to SVG, but some are specific to Highcharts, like `zIndex`,\n             *   `rotation`, `translateX`, `translateY`, `scaleX` and `scaleY`. SVG\n             *   attributes containing a hyphen are _not_ camel-cased, they should be\n             *   quoted to preserve the hyphen.\n             * @example\n             * {\n             *     'stroke': '#ff0000', // basic\n             *     'stroke-width': 2, // hyphenated\n             *     'rotation': 45 // custom\n             *     'd': ['M', 10, 10, 'L', 30, 30, 'z'] // path definition, note format\n             * }\n             */\n            /**\n             * Apply native and custom attributes to the SVG elements.\n             * \n             * In order to set the rotation center for rotation, set x and y to 0 and\n             * use `translateX` and `translateY` attributes to position the element\n             * instead.\n             *\n             * Attributes frequently used in Highcharts are `fill`, `stroke`,\n             * `stroke-width`.\n             *\n             * @param {SVGAttributes|String} hash - The native and custom SVG\n             *    attributes. \n             * @param {string} [val] - If the type of the first argument is `string`, \n             *    the second can be a value, which will serve as a single attribute\n             *    setter. If the first argument is a string and the second is undefined,\n             *    the function serves as a getter and the current value of the property\n             *    is returned.\n             * @param {Function} complete - A callback function to execute after setting\n             *    the attributes. This makes the function compliant and interchangeable\n             *    with the {@link SVGElement#animate} function.\n             * @param {boolean} continueAnimation - Used internally when `.attr` is\n             *    called as part of an animation step. Otherwise, calling `.attr` for an\n             *    attribute will stop animation for that attribute.\n             *    \n             * @returns {SVGElement|string|number} If used as a setter, it returns the \n             *    current {@link SVGElement} so the calls can be chained. If used as a \n             *    getter, the current value of the attribute is returned.\n             * \n             * @example\n             * // Set multiple attributes\n             * element.attr({\n             *     stroke: 'red',\n             *     fill: 'blue',\n             *     x: 10,\n             *     y: 10\n             * });\n             *\n             * // Set a single attribute\n             * element.attr('stroke', 'red');\n             *\n             * // Get an attribute\n             * element.attr('stroke'); // => 'red'\n             * \n             */\n            attr: function(hash, val, complete, continueAnimation) {\n                var key,\n                    value,\n                    element = this.element,\n                    hasSetSymbolSize,\n                    ret = this,\n                    skipAttr,\n                    setter;\n\n                // single key-value pair\n                if (typeof hash === 'string' && val !== undefined) {\n                    key = hash;\n                    hash = {};\n                    hash[key] = val;\n                }\n\n                // used as a getter: first argument is a string, second is undefined\n                if (typeof hash === 'string') {\n                    ret = (this[hash + 'Getter'] || this._defaultGetter).call(this, hash, element);\n\n                    // setter\n                } else {\n\n                    for (key in hash) {\n                        value = hash[key];\n                        skipAttr = false;\n\n                        // Unless .attr is from the animator update, stop current\n                        // running animation of this property\n                        if (!continueAnimation) {\n                            stop(this, key);\n                        }\n\n                        // Special handling of symbol attributes\n                        if (\n                            this.symbolName &&\n                            /^(x|y|width|height|r|start|end|innerR|anchorX|anchorY)$/\n                            .test(key)\n                        ) {\n                            if (!hasSetSymbolSize) {\n                                this.symbolAttr(hash);\n                                hasSetSymbolSize = true;\n                            }\n                            skipAttr = true;\n                        }\n\n                        if (this.rotation && (key === 'x' || key === 'y')) {\n                            this.doTransform = true;\n                        }\n\n                        if (!skipAttr) {\n                            setter = this[key + 'Setter'] || this._defaultSetter;\n                            setter.call(this, value, key, element);\n\n\n                            // Let the shadow follow the main element\n                            if (this.shadows && /^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(key)) {\n                                this.updateShadows(key, value, setter);\n                            }\n\n                        }\n                    }\n\n                    // Update transform. Do this outside the loop to prevent redundant updating for batch setting\n                    // of attributes.\n                    if (this.doTransform) {\n                        this.updateTransform();\n                        this.doTransform = false;\n                    }\n\n                }\n\n                // In accordance with animate, run a complete callback\n                if (complete) {\n                    complete();\n                }\n\n                return ret;\n            },\n\n\n            /**\n             * Update the shadow elements with new attributes.\n             *\n             * @private\n             * @param {String} key - The attribute name.\n             * @param {String|Number} value - The value of the attribute.\n             * @param {Function} setter - The setter function, inherited from the\n             *   parent wrapper\n             * @returns {void}\n             */\n            updateShadows: function(key, value, setter) {\n                var shadows = this.shadows,\n                    i = shadows.length;\n\n                while (i--) {\n                    setter.call(\n                        shadows[i],\n                        key === 'height' ?\n                        Math.max(value - (shadows[i].cutHeight || 0), 0) :\n                        key === 'd' ? this.d : value,\n                        key,\n                        shadows[i]\n                    );\n                }\n            },\n\n\n            /**\n             * Add a class name to an element.\n             *\n             * @param {string} className - The new class name to add.\n             * @param {boolean} [replace=false] - When true, the existing class name(s)\n             *    will be overwritten with the new one. When false, the new one is\n             *    added.\n             * @returns {SVGElement} Return the SVG element for chainability.\n             */\n            addClass: function(className, replace) {\n                var currentClassName = this.attr('class') || '';\n\n                if (currentClassName.indexOf(className) === -1) {\n                    if (!replace) {\n                        className =\n                            (currentClassName + (currentClassName ? ' ' : '') +\n                                className).replace('  ', ' ');\n                    }\n                    this.attr('class', className);\n                }\n                return this;\n            },\n\n            /**\n             * Check if an element has the given class name.\n             * @param  {string}  className - The class name to check for.\n             * @return {Boolean}\n             */\n            hasClass: function(className) {\n                return attr(this.element, 'class').indexOf(className) !== -1;\n            },\n\n            /**\n             * Remove a class name from the element.\n             * @param  {string} className The class name to remove.\n             * @return {SVGElement} Returns the SVG element for chainability.\n             */\n            removeClass: function(className) {\n                attr(this.element, 'class', (attr(this.element, 'class') || '').replace(className, ''));\n                return this;\n            },\n\n            /**\n             * If one of the symbol size affecting parameters are changed,\n             * check all the others only once for each call to an element's\n             * .attr() method\n             * @param {Object} hash - The attributes to set.\n             * @private\n             */\n            symbolAttr: function(hash) {\n                var wrapper = this;\n\n                each(['x', 'y', 'r', 'start', 'end', 'width', 'height', 'innerR', 'anchorX', 'anchorY'], function(key) {\n                    wrapper[key] = pick(hash[key], wrapper[key]);\n                });\n\n                wrapper.attr({\n                    d: wrapper.renderer.symbols[wrapper.symbolName](\n                        wrapper.x,\n                        wrapper.y,\n                        wrapper.width,\n                        wrapper.height,\n                        wrapper\n                    )\n                });\n            },\n\n            /**\n             * Apply a clipping rectangle to this element.\n             * \n             * @param {ClipRect} [clipRect] - The clipping rectangle. If skipped, the\n             *    current clip is removed.\n             * @returns {SVGElement} Returns the SVG element to allow chaining.\n             */\n            clip: function(clipRect) {\n                return this.attr(\n                    'clip-path',\n                    clipRect ?\n                    'url(' + this.renderer.url + '#' + clipRect.id + ')' :\n                    'none'\n                );\n            },\n\n            /**\n             * Calculate the coordinates needed for drawing a rectangle crisply and\n             * return the calculated attributes.\n             * \n             * @param {Object} rect - A rectangle.\n             * @param {number} rect.x - The x position.\n             * @param {number} rect.y - The y position.\n             * @param {number} rect.width - The width.\n             * @param {number} rect.height - The height.\n             * @param {number} [strokeWidth] - The stroke width to consider when\n             *    computing crisp positioning. It can also be set directly on the rect\n             *    parameter.\n             *\n             * @returns {{x: Number, y: Number, width: Number, height: Number}} The\n             *    modified rectangle arguments.\n             */\n            crisp: function(rect, strokeWidth) {\n\n                var wrapper = this,\n                    key,\n                    attribs = {},\n                    normalizer;\n\n                strokeWidth = strokeWidth || rect.strokeWidth || 0;\n                normalizer = Math.round(strokeWidth) % 2 / 2; // Math.round because strokeWidth can sometimes have roundoff errors\n\n                // normalize for crisp edges\n                rect.x = Math.floor(rect.x || wrapper.x || 0) + normalizer;\n                rect.y = Math.floor(rect.y || wrapper.y || 0) + normalizer;\n                rect.width = Math.floor((rect.width || wrapper.width || 0) - 2 * normalizer);\n                rect.height = Math.floor((rect.height || wrapper.height || 0) - 2 * normalizer);\n                if (defined(rect.strokeWidth)) {\n                    rect.strokeWidth = strokeWidth;\n                }\n\n                for (key in rect) {\n                    if (wrapper[key] !== rect[key]) { // only set attribute if changed\n                        wrapper[key] = attribs[key] = rect[key];\n                    }\n                }\n\n                return attribs;\n            },\n\n            /**\n             * Set styles for the element. In addition to CSS styles supported by \n             * native SVG and HTML elements, there are also some custom made for \n             * Highcharts, like `width`, `ellipsis` and `textOverflow` for SVG text\n             * elements.\n             * @param {CSSObject} styles The new CSS styles.\n             * @returns {SVGElement} Return the SVG element for chaining.\n             */\n            css: function(styles) {\n                var oldStyles = this.styles,\n                    newStyles = {},\n                    elem = this.element,\n                    textWidth,\n                    n,\n                    serializedCss = '',\n                    hyphenate,\n                    hasNew = !oldStyles,\n                    // These CSS properties are interpreted internally by the SVG\n                    // renderer, but are not supported by SVG and should not be added to\n                    // the DOM. In styled mode, no CSS should find its way to the DOM\n                    // whatsoever (#6173, #6474).\n                    svgPseudoProps = ['textOutline', 'textOverflow', 'width'];\n\n                // convert legacy\n                if (styles && styles.color) {\n                    styles.fill = styles.color;\n                }\n\n                // Filter out existing styles to increase performance (#2640)\n                if (oldStyles) {\n                    for (n in styles) {\n                        if (styles[n] !== oldStyles[n]) {\n                            newStyles[n] = styles[n];\n                            hasNew = true;\n                        }\n                    }\n                }\n                if (hasNew) {\n\n                    // Merge the new styles with the old ones\n                    if (oldStyles) {\n                        styles = extend(\n                            oldStyles,\n                            newStyles\n                        );\n                    }\n\n                    // Get the text width from style\n                    textWidth = this.textWidth = (\n                        styles &&\n                        styles.width &&\n                        styles.width !== 'auto' &&\n                        elem.nodeName.toLowerCase() === 'text' &&\n                        pInt(styles.width)\n                    );\n\n                    // store object\n                    this.styles = styles;\n\n                    if (textWidth && (!svg && this.renderer.forExport)) {\n                        delete styles.width;\n                    }\n\n                    // serialize and set style attribute\n                    if (isMS && !svg) {\n                        css(this.element, styles);\n                    } else {\n                        hyphenate = function(a, b) {\n                            return '-' + b.toLowerCase();\n                        };\n                        for (n in styles) {\n                            if (inArray(n, svgPseudoProps) === -1) {\n                                serializedCss +=\n                                    n.replace(/([A-Z])/g, hyphenate) + ':' +\n                                    styles[n] + ';';\n                            }\n                        }\n                        if (serializedCss) {\n                            attr(elem, 'style', serializedCss); // #1881\n                        }\n                    }\n\n\n                    if (this.added) {\n\n                        // Rebuild text after added. Cache mechanisms in the buildText\n                        // will prevent building if there are no significant changes.\n                        if (this.element.nodeName === 'text') {\n                            this.renderer.buildText(this);\n                        }\n\n                        // Apply text outline after added\n                        if (styles && styles.textOutline) {\n                            this.applyTextOutline(styles.textOutline);\n                        }\n                    }\n                }\n\n                return this;\n            },\n\n\n            /**\n             * Get the current stroke width. In classic mode, the setter registers it \n             * directly on the element.\n             * @returns {number} The stroke width in pixels.\n             * @ignore\n             */\n            strokeWidth: function() {\n                return this['stroke-width'] || 0;\n            },\n\n\n            /**\n             * Add an event listener. This is a simple setter that replaces all other\n             * events of the same type, opposed to the {@link Highcharts#addEvent}\n             * function.\n             * @param {string} eventType - The event type. If the type is `click`, \n             *    Highcharts will internally translate it to a `touchstart` event on \n             *    touch devices, to prevent the browser from waiting for a click event\n             *    from firing.\n             * @param {Function} handler - The handler callback.\n             * @returns {SVGElement} The SVGElement for chaining.\n             */\n            on: function(eventType, handler) {\n                var svgElement = this,\n                    element = svgElement.element;\n\n                // touch\n                if (hasTouch && eventType === 'click') {\n                    element.ontouchstart = function(e) {\n                        svgElement.touchEventFired = Date.now(); // #2269\n                        e.preventDefault();\n                        handler.call(element, e);\n                    };\n                    element.onclick = function(e) {\n                        if (win.navigator.userAgent.indexOf('Android') === -1 ||\n                            Date.now() - (svgElement.touchEventFired || 0) > 1100) {\n                            handler.call(element, e);\n                        }\n                    };\n                } else {\n                    // simplest possible event model for internal use\n                    element['on' + eventType] = handler;\n                }\n                return this;\n            },\n\n            /**\n             * Set the coordinates needed to draw a consistent radial gradient across\n             * a shape regardless of positioning inside the chart. Used on pie slices\n             * to make all the slices have the same radial reference point.\n             *\n             * @param {Array} coordinates The center reference. The format is\n             *    `[centerX, centerY, diameter]` in pixels.\n             * @returns {SVGElement} Returns the SVGElement for chaining.\n             */\n            setRadialReference: function(coordinates) {\n                var existingGradient = this.renderer.gradients[this.element.gradient];\n\n                this.element.radialReference = coordinates;\n\n                // On redrawing objects with an existing gradient, the gradient needs\n                // to be repositioned (#3801)\n                if (existingGradient && existingGradient.radAttr) {\n                    existingGradient.animate(\n                        this.renderer.getRadialAttr(\n                            coordinates,\n                            existingGradient.radAttr\n                        )\n                    );\n                }\n\n                return this;\n            },\n\n            /**\n             * Move an object and its children by x and y values.\n             * \n             * @param {number} x - The x value.\n             * @param {number} y - The y value.\n             */\n            translate: function(x, y) {\n                return this.attr({\n                    translateX: x,\n                    translateY: y\n                });\n            },\n\n            /**\n             * Invert a group, rotate and flip. This is used internally on inverted \n             * charts, where the points and graphs are drawn as if not inverted, then\n             * the series group elements are inverted.\n             *\n             * @param {boolean} inverted - Whether to invert or not. An inverted shape\n             *    can be un-inverted by setting it to false.\n             * @returns {SVGElement} Return the SVGElement for chaining.\n             */\n            invert: function(inverted) {\n                var wrapper = this;\n                wrapper.inverted = inverted;\n                wrapper.updateTransform();\n                return wrapper;\n            },\n\n            /**\n             * Update the transform attribute based on internal properties. Deals with\n             * the custom `translateX`, `translateY`, `rotation`, `scaleX` and `scaleY`\n             * attributes and updates the SVG `transform` attribute.\n             * @private\n             * @returns {void}\n             */\n            updateTransform: function() {\n                var wrapper = this,\n                    translateX = wrapper.translateX || 0,\n                    translateY = wrapper.translateY || 0,\n                    scaleX = wrapper.scaleX,\n                    scaleY = wrapper.scaleY,\n                    inverted = wrapper.inverted,\n                    rotation = wrapper.rotation,\n                    element = wrapper.element,\n                    transform;\n\n                // flipping affects translate as adjustment for flipping around the group's axis\n                if (inverted) {\n                    translateX += wrapper.width;\n                    translateY += wrapper.height;\n                }\n\n                // Apply translate. Nearly all transformed elements have translation, so instead\n                // of checking for translate = 0, do it always (#1767, #1846).\n                transform = ['translate(' + translateX + ',' + translateY + ')'];\n\n                // apply rotation\n                if (inverted) {\n                    transform.push('rotate(90) scale(-1,1)');\n                } else if (rotation) { // text rotation\n                    transform.push('rotate(' + rotation + ' ' + (element.getAttribute('x') || 0) + ' ' + (element.getAttribute('y') || 0) + ')');\n\n                    // Delete bBox memo when the rotation changes\n                    //delete wrapper.bBox;\n                }\n\n                // apply scale\n                if (defined(scaleX) || defined(scaleY)) {\n                    transform.push('scale(' + pick(scaleX, 1) + ' ' + pick(scaleY, 1) + ')');\n                }\n\n                if (transform.length) {\n                    element.setAttribute('transform', transform.join(' '));\n                }\n            },\n\n            /**\n             * Bring the element to the front.\n             *\n             * @returns {SVGElement} Returns the SVGElement for chaining.\n             */\n            toFront: function() {\n                var element = this.element;\n                element.parentNode.appendChild(element);\n                return this;\n            },\n\n\n            /**\n             * Align the element relative to the chart or another box.\n             * ß\n             * @param {Object} [alignOptions] The alignment options. The function can be\n             *   called without this parameter in order to re-align an element after the\n             *   box has been updated.\n             * @param {string} [alignOptions.align=left] Horizontal alignment. Can be\n             *   one of `left`, `center` and `right`.\n             * @param {string} [alignOptions.verticalAlign=top] Vertical alignment. Can\n             *   be one of `top`, `middle` and `bottom`.\n             * @param {number} [alignOptions.x=0] Horizontal pixel offset from\n             *   alignment.\n             * @param {number} [alignOptions.y=0] Vertical pixel offset from alignment.\n             * @param {Boolean} [alignByTranslate=false] Use the `transform` attribute\n             *   with translateX and translateY custom attributes to align this elements\n             *   rather than `x` and `y` attributes.\n             * @param {String|Object} box The box to align to, needs a width and height.\n             *   When the box is a string, it refers to an object in the Renderer. For\n             *   example, when box is `spacingBox`, it refers to `Renderer.spacingBox`\n             *   which holds `width`, `height`, `x` and `y` properties.\n             * @returns {SVGElement} Returns the SVGElement for chaining.\n             */\n            align: function(alignOptions, alignByTranslate, box) {\n                var align,\n                    vAlign,\n                    x,\n                    y,\n                    attribs = {},\n                    alignTo,\n                    renderer = this.renderer,\n                    alignedObjects = renderer.alignedObjects,\n                    alignFactor,\n                    vAlignFactor;\n\n                // First call on instanciate\n                if (alignOptions) {\n                    this.alignOptions = alignOptions;\n                    this.alignByTranslate = alignByTranslate;\n                    if (!box || isString(box)) { // boxes other than renderer handle this internally\n                        this.alignTo = alignTo = box || 'renderer';\n                        erase(alignedObjects, this); // prevent duplicates, like legendGroup after resize\n                        alignedObjects.push(this);\n                        box = null; // reassign it below\n                    }\n\n                    // When called on resize, no arguments are supplied\n                } else {\n                    alignOptions = this.alignOptions;\n                    alignByTranslate = this.alignByTranslate;\n                    alignTo = this.alignTo;\n                }\n\n                box = pick(box, renderer[alignTo], renderer);\n\n                // Assign variables\n                align = alignOptions.align;\n                vAlign = alignOptions.verticalAlign;\n                x = (box.x || 0) + (alignOptions.x || 0); // default: left align\n                y = (box.y || 0) + (alignOptions.y || 0); // default: top align\n\n                // Align\n                if (align === 'right') {\n                    alignFactor = 1;\n                } else if (align === 'center') {\n                    alignFactor = 2;\n                }\n                if (alignFactor) {\n                    x += (box.width - (alignOptions.width || 0)) / alignFactor;\n                }\n                attribs[alignByTranslate ? 'translateX' : 'x'] = Math.round(x);\n\n\n                // Vertical align\n                if (vAlign === 'bottom') {\n                    vAlignFactor = 1;\n                } else if (vAlign === 'middle') {\n                    vAlignFactor = 2;\n                }\n                if (vAlignFactor) {\n                    y += (box.height - (alignOptions.height || 0)) / vAlignFactor;\n                }\n                attribs[alignByTranslate ? 'translateY' : 'y'] = Math.round(y);\n\n                // Animate only if already placed\n                this[this.placed ? 'animate' : 'attr'](attribs);\n                this.placed = true;\n                this.alignAttr = attribs;\n\n                return this;\n            },\n\n            /**\n             * Get the bounding box (width, height, x and y) for the element. Generally\n             * used to get rendered text size. Since this is called a lot in charts,\n             * the results are cached based on text properties, in order to save DOM\n             * traffic. The returned bounding box includes the rotation, so for example\n             * a single text line of rotation 90 will report a greater height, and a\n             * width corresponding to the line-height.\n             *\n             * @param {boolean} [reload] Skip the cache and get the updated DOM bouding\n             *   box.\n             * @param {number} [rot] Override the element's rotation. This is internally\n             *   used on axis labels with a value of 0 to find out what the bounding box\n             *   would be have been if it were not rotated.\n             * @returns {Object} The bounding box with `x`, `y`, `width` and `height`\n             * properties.\n             */\n            getBBox: function(reload, rot) {\n                var wrapper = this,\n                    bBox, // = wrapper.bBox,\n                    renderer = wrapper.renderer,\n                    width,\n                    height,\n                    rotation,\n                    rad,\n                    element = wrapper.element,\n                    styles = wrapper.styles,\n                    fontSize,\n                    textStr = wrapper.textStr,\n                    toggleTextShadowShim,\n                    cache = renderer.cache,\n                    cacheKeys = renderer.cacheKeys,\n                    cacheKey;\n\n                rotation = pick(rot, wrapper.rotation);\n                rad = rotation * deg2rad;\n\n\n                fontSize = styles && styles.fontSize;\n\n\n                if (textStr !== undefined) {\n\n                    cacheKey = textStr.toString();\n\n                    // Since numbers are monospaced, and numerical labels appear a lot\n                    // in a chart, we assume that a label of n characters has the same\n                    // bounding box as others of the same length. Unless there is inner\n                    // HTML in the label. In that case, leave the numbers as is (#5899).\n                    if (cacheKey.indexOf('<') === -1) {\n                        cacheKey = cacheKey.replace(/[0-9]/g, '0');\n                    }\n\n                    // Properties that affect bounding box\n                    cacheKey += [\n                            '',\n                            rotation || 0,\n                            fontSize,\n                            styles && styles.width,\n                            styles && styles.textOverflow // #5968\n                        ]\n                        .join(',');\n\n                }\n\n                if (cacheKey && !reload) {\n                    bBox = cache[cacheKey];\n                }\n\n                // No cache found\n                if (!bBox) {\n\n                    // SVG elements\n                    if (element.namespaceURI === wrapper.SVG_NS || renderer.forExport) {\n                        try { // Fails in Firefox if the container has display: none.\n\n                            // When the text shadow shim is used, we need to hide the fake shadows\n                            // to get the correct bounding box (#3872)\n                            toggleTextShadowShim = this.fakeTS && function(display) {\n                                each(element.querySelectorAll('.highcharts-text-outline'), function(tspan) {\n                                    tspan.style.display = display;\n                                });\n                            };\n\n                            // Workaround for #3842, Firefox reporting wrong bounding box for shadows\n                            if (toggleTextShadowShim) {\n                                toggleTextShadowShim('none');\n                            }\n\n                            bBox = element.getBBox ?\n                                // SVG: use extend because IE9 is not allowed to change width and height in case\n                                // of rotation (below)\n                                extend({}, element.getBBox()) : {\n\n                                    // Legacy IE in export mode\n                                    width: element.offsetWidth,\n                                    height: element.offsetHeight\n                                };\n\n                            // #3842\n                            if (toggleTextShadowShim) {\n                                toggleTextShadowShim('');\n                            }\n                        } catch (e) {}\n\n                        // If the bBox is not set, the try-catch block above failed. The other condition\n                        // is for Opera that returns a width of -Infinity on hidden elements.\n                        if (!bBox || bBox.width < 0) {\n                            bBox = {\n                                width: 0,\n                                height: 0\n                            };\n                        }\n\n\n                        // VML Renderer or useHTML within SVG\n                    } else {\n\n                        bBox = wrapper.htmlGetBBox();\n\n                    }\n\n                    // True SVG elements as well as HTML elements in modern browsers using the .useHTML option\n                    // need to compensated for rotation\n                    if (renderer.isSVG) {\n                        width = bBox.width;\n                        height = bBox.height;\n\n                        // Workaround for wrong bounding box in IE, Edge and Chrome on\n                        // Windows. With Highcharts' default font, IE and Edge report\n                        // a box height of 16.899 and Chrome rounds it to 17. If this \n                        // stands uncorrected, it results in more padding added below\n                        // the text than above when adding a label border or background.\n                        // Also vertical positioning is affected.\n                        // http://jsfiddle.net/highcharts/em37nvuj/\n                        // (#1101, #1505, #1669, #2568, #6213).\n                        if (\n                            styles &&\n                            styles.fontSize === '11px' &&\n                            Math.round(height) === 17\n                        ) {\n                            bBox.height = height = 14;\n                        }\n\n                        // Adjust for rotated text\n                        if (rotation) {\n                            bBox.width = Math.abs(height * Math.sin(rad)) + Math.abs(width * Math.cos(rad));\n                            bBox.height = Math.abs(height * Math.cos(rad)) + Math.abs(width * Math.sin(rad));\n                        }\n                    }\n\n                    // Cache it. When loading a chart in a hidden iframe in Firefox and IE/Edge, the\n                    // bounding box height is 0, so don't cache it (#5620).\n                    if (cacheKey && bBox.height > 0) {\n\n                        // Rotate (#4681)\n                        while (cacheKeys.length > 250) {\n                            delete cache[cacheKeys.shift()];\n                        }\n\n                        if (!cache[cacheKey]) {\n                            cacheKeys.push(cacheKey);\n                        }\n                        cache[cacheKey] = bBox;\n                    }\n                }\n                return bBox;\n            },\n\n            /**\n             * Show the element after it has been hidden. \n             *\n             * @param {boolean} [inherit=false] Set the visibility attribute to\n             * `inherit` rather than `visible`. The difference is that an element with\n             * `visibility=\"visible\"` will be visible even if the parent is hidden.\n             *\n             * @returns {SVGElement} Returns the SVGElement for chaining.\n             */\n            show: function(inherit) {\n                return this.attr({\n                    visibility: inherit ? 'inherit' : 'visible'\n                });\n            },\n\n            /**\n             * Hide the element, equivalent to setting the `visibility` attribute to\n             * `hidden`.\n             *\n             * @returns {SVGElement} Returns the SVGElement for chaining.\n             */\n            hide: function() {\n                return this.attr({\n                    visibility: 'hidden'\n                });\n            },\n\n            /**\n             * Fade out an element by animating its opacity down to 0, and hide it on\n             * complete. Used internally for the tooltip.\n             * \n             * @param {number} [duration=150] The fade duration in milliseconds.\n             */\n            fadeOut: function(duration) {\n                var elemWrapper = this;\n                elemWrapper.animate({\n                    opacity: 0\n                }, {\n                    duration: duration || 150,\n                    complete: function() {\n                        elemWrapper.attr({\n                            y: -9999\n                        }); // #3088, assuming we're only using this for tooltips\n                    }\n                });\n            },\n\n            /**\n             * Add the element to the DOM. All elements must be added this way.\n             * \n             * @param {SVGElement|SVGDOMElement} [parent] The parent item to add it to.\n             *   If undefined, the element is added to the {@link SVGRenderer.box}.\n             *\n             * @returns {SVGElement} Returns the SVGElement for chaining.\n             *\n             * @sample highcharts/members/renderer-g - Elements added to a group\n             */\n            add: function(parent) {\n\n                var renderer = this.renderer,\n                    element = this.element,\n                    inserted;\n\n                if (parent) {\n                    this.parentGroup = parent;\n                }\n\n                // mark as inverted\n                this.parentInverted = parent && parent.inverted;\n\n                // build formatted text\n                if (this.textStr !== undefined) {\n                    renderer.buildText(this);\n                }\n\n                // Mark as added\n                this.added = true;\n\n                // If we're adding to renderer root, or other elements in the group\n                // have a z index, we need to handle it\n                if (!parent || parent.handleZ || this.zIndex) {\n                    inserted = this.zIndexSetter();\n                }\n\n                // If zIndex is not handled, append at the end\n                if (!inserted) {\n                    (parent ? parent.element : renderer.box).appendChild(element);\n                }\n\n                // fire an event for internal hooks\n                if (this.onAdd) {\n                    this.onAdd();\n                }\n\n                return this;\n            },\n\n            /**\n             * Removes an element from the DOM.\n             *\n             * @private\n             * @param {SVGDOMElement|HTMLDOMElement} element The DOM node to remove.\n             */\n            safeRemoveChild: function(element) {\n                var parentNode = element.parentNode;\n                if (parentNode) {\n                    parentNode.removeChild(element);\n                }\n            },\n\n            /**\n             * Destroy the element and element wrapper and clear up the DOM and event\n             * hooks.\n             *\n             * @returns {void}\n             */\n            destroy: function() {\n                var wrapper = this,\n                    element = wrapper.element || {},\n                    parentToClean = wrapper.renderer.isSVG && element.nodeName === 'SPAN' && wrapper.parentGroup,\n                    grandParent,\n                    key,\n                    i;\n\n                // remove events\n                element.onclick = element.onmouseout = element.onmouseover = element.onmousemove = element.point = null;\n                stop(wrapper); // stop running animations\n\n                if (wrapper.clipPath) {\n                    // Look for existing references to this clipPath and remove them\n                    // before destroying the element (#6196).\n                    each(\n                        wrapper.element.ownerSVGElement.querySelectorAll('[clip-path]'),\n                        function(el) {\n                            if (el.getAttribute('clip-path')\n                                .indexOf(wrapper.clipPath.element.id) > -1) {\n                                el.removeAttribute('clip-path');\n                            }\n                        }\n                    );\n                    wrapper.clipPath = wrapper.clipPath.destroy();\n                }\n\n                // Destroy stops in case this is a gradient object\n                if (wrapper.stops) {\n                    for (i = 0; i < wrapper.stops.length; i++) {\n                        wrapper.stops[i] = wrapper.stops[i].destroy();\n                    }\n                    wrapper.stops = null;\n                }\n\n                // remove element\n                wrapper.safeRemoveChild(element);\n\n\n                wrapper.destroyShadows();\n\n\n                // In case of useHTML, clean up empty containers emulating SVG groups (#1960, #2393, #2697).\n                while (parentToClean && parentToClean.div && parentToClean.div.childNodes.length === 0) {\n                    grandParent = parentToClean.parentGroup;\n                    wrapper.safeRemoveChild(parentToClean.div);\n                    delete parentToClean.div;\n                    parentToClean = grandParent;\n                }\n\n                // remove from alignObjects\n                if (wrapper.alignTo) {\n                    erase(wrapper.renderer.alignedObjects, wrapper);\n                }\n\n                for (key in wrapper) {\n                    delete wrapper[key];\n                }\n\n                return null;\n            },\n\n\n            /**\n             * @typedef {Object} ShadowOptions\n             * @property {string} [color=#000000] The shadow color.\n             * @property {number} [offsetX=1] The horizontal offset from the element.\n             * @property {number} [offsetY=1] The vertical offset from the element.\n             * @property {number} [opacity=0.15] The shadow opacity.\n             * @property {number} [width=3] The shadow width or distance from the\n             *    element.\n             */\n            /**\n             * Add a shadow to the element. Must be called after the element is added to\n             * the DOM. In styled mode, this method is not used, instead use `defs` and\n             * filters.\n             * \n             * @param {boolean|ShadowOptions} shadowOptions The shadow options. If\n             *    `true`, the default options are applied. If `false`, the current\n             *    shadow will be removed.\n             * @param {SVGElement} [group] The SVG group element where the shadows will \n             *    be applied. The default is to add it to the same parent as the current\n             *    element. Internally, this is ised for pie slices, where all the\n             *    shadows are added to an element behind all the slices.\n             * @param {boolean} [cutOff] Used internally for column shadows.\n             *\n             * @returns {SVGElement} Returns the SVGElement for chaining.\n             *\n             * @example\n             * renderer.rect(10, 100, 100, 100)\n             *     .attr({ fill: 'red' })\n             *     .shadow(true);\n             */\n            shadow: function(shadowOptions, group, cutOff) {\n                var shadows = [],\n                    i,\n                    shadow,\n                    element = this.element,\n                    strokeWidth,\n                    shadowWidth,\n                    shadowElementOpacity,\n\n                    // compensate for inverted plot area\n                    transform;\n\n                if (!shadowOptions) {\n                    this.destroyShadows();\n\n                } else if (!this.shadows) {\n                    shadowWidth = pick(shadowOptions.width, 3);\n                    shadowElementOpacity = (shadowOptions.opacity || 0.15) / shadowWidth;\n                    transform = this.parentInverted ?\n                        '(-1,-1)' :\n                        '(' + pick(shadowOptions.offsetX, 1) + ', ' + pick(shadowOptions.offsetY, 1) + ')';\n                    for (i = 1; i <= shadowWidth; i++) {\n                        shadow = element.cloneNode(0);\n                        strokeWidth = (shadowWidth * 2) + 1 - (2 * i);\n                        attr(shadow, {\n                            'isShadow': 'true',\n                            'stroke': shadowOptions.color || '#000000',\n                            'stroke-opacity': shadowElementOpacity * i,\n                            'stroke-width': strokeWidth,\n                            'transform': 'translate' + transform,\n                            'fill': 'none'\n                        });\n                        if (cutOff) {\n                            attr(shadow, 'height', Math.max(attr(shadow, 'height') - strokeWidth, 0));\n                            shadow.cutHeight = strokeWidth;\n                        }\n\n                        if (group) {\n                            group.element.appendChild(shadow);\n                        } else {\n                            element.parentNode.insertBefore(shadow, element);\n                        }\n\n                        shadows.push(shadow);\n                    }\n\n                    this.shadows = shadows;\n                }\n                return this;\n\n            },\n\n            /**\n             * Destroy shadows on the element.\n             * @private\n             */\n            destroyShadows: function() {\n                each(this.shadows || [], function(shadow) {\n                    this.safeRemoveChild(shadow);\n                }, this);\n                this.shadows = undefined;\n            },\n\n\n\n            xGetter: function(key) {\n                if (this.element.nodeName === 'circle') {\n                    if (key === 'x') {\n                        key = 'cx';\n                    } else if (key === 'y') {\n                        key = 'cy';\n                    }\n                }\n                return this._defaultGetter(key);\n            },\n\n            /**\n             * Get the current value of an attribute or pseudo attribute, used mainly\n             * for animation. Called internally from the {@link SVGRenderer#attr}\n             * function.\n             *\n             * @private\n             */\n            _defaultGetter: function(key) {\n                var ret = pick(this[key], this.element ? this.element.getAttribute(key) : null, 0);\n\n                if (/^[\\-0-9\\.]+$/.test(ret)) { // is numerical\n                    ret = parseFloat(ret);\n                }\n                return ret;\n            },\n\n\n            dSetter: function(value, key, element) {\n                if (value && value.join) { // join path\n                    value = value.join(' ');\n                }\n                if (/(NaN| {2}|^$)/.test(value)) {\n                    value = 'M 0 0';\n                }\n                element.setAttribute(key, value);\n\n                this[key] = value;\n            },\n\n            dashstyleSetter: function(value) {\n                var i,\n                    strokeWidth = this['stroke-width'];\n\n                // If \"inherit\", like maps in IE, assume 1 (#4981). With HC5 and the new strokeWidth \n                // function, we should be able to use that instead.\n                if (strokeWidth === 'inherit') {\n                    strokeWidth = 1;\n                }\n                value = value && value.toLowerCase();\n                if (value) {\n                    value = value\n                        .replace('shortdashdotdot', '3,1,1,1,1,1,')\n                        .replace('shortdashdot', '3,1,1,1')\n                        .replace('shortdot', '1,1,')\n                        .replace('shortdash', '3,1,')\n                        .replace('longdash', '8,3,')\n                        .replace(/dot/g, '1,3,')\n                        .replace('dash', '4,3,')\n                        .replace(/,$/, '')\n                        .split(','); // ending comma\n\n                    i = value.length;\n                    while (i--) {\n                        value[i] = pInt(value[i]) * strokeWidth;\n                    }\n                    value = value.join(',')\n                        .replace(/NaN/g, 'none'); // #3226\n                    this.element.setAttribute('stroke-dasharray', value);\n                }\n            },\n\n            alignSetter: function(value) {\n                var convert = {\n                    left: 'start',\n                    center: 'middle',\n                    right: 'end'\n                };\n                this.element.setAttribute('text-anchor', convert[value]);\n            },\n            opacitySetter: function(value, key, element) {\n                this[key] = value;\n                element.setAttribute(key, value);\n            },\n            titleSetter: function(value) {\n                var titleNode = this.element.getElementsByTagName('title')[0];\n                if (!titleNode) {\n                    titleNode = doc.createElementNS(this.SVG_NS, 'title');\n                    this.element.appendChild(titleNode);\n                }\n\n                // Remove text content if it exists\n                if (titleNode.firstChild) {\n                    titleNode.removeChild(titleNode.firstChild);\n                }\n\n                titleNode.appendChild(\n                    doc.createTextNode(\n                        (String(pick(value), '')).replace(/<[^>]*>/g, '') // #3276, #3895\n                    )\n                );\n            },\n            textSetter: function(value) {\n                if (value !== this.textStr) {\n                    // Delete bBox memo when the text changes\n                    delete this.bBox;\n\n                    this.textStr = value;\n                    if (this.added) {\n                        this.renderer.buildText(this);\n                    }\n                }\n            },\n            fillSetter: function(value, key, element) {\n                if (typeof value === 'string') {\n                    element.setAttribute(key, value);\n                } else if (value) {\n                    this.colorGradient(value, key, element);\n                }\n            },\n            visibilitySetter: function(value, key, element) {\n                // IE9-11 doesn't handle visibilty:inherit well, so we remove the attribute instead (#2881, #3909)\n                if (value === 'inherit') {\n                    element.removeAttribute(key);\n                } else {\n                    element.setAttribute(key, value);\n                }\n            },\n            zIndexSetter: function(value, key) {\n                var renderer = this.renderer,\n                    parentGroup = this.parentGroup,\n                    parentWrapper = parentGroup || renderer,\n                    parentNode = parentWrapper.element || renderer.box,\n                    childNodes,\n                    otherElement,\n                    otherZIndex,\n                    element = this.element,\n                    inserted,\n                    run = this.added,\n                    i;\n\n                if (defined(value)) {\n                    element.zIndex = value; // So we can read it for other elements in the group\n                    value = +value;\n                    if (this[key] === value) { // Only update when needed (#3865)\n                        run = false;\n                    }\n                    this[key] = value;\n                }\n\n                // Insert according to this and other elements' zIndex. Before .add() is called,\n                // nothing is done. Then on add, or by later calls to zIndexSetter, the node\n                // is placed on the right place in the DOM.\n                if (run) {\n                    value = this.zIndex;\n\n                    if (value && parentGroup) {\n                        parentGroup.handleZ = true;\n                    }\n\n                    childNodes = parentNode.childNodes;\n                    for (i = 0; i < childNodes.length && !inserted; i++) {\n                        otherElement = childNodes[i];\n                        otherZIndex = otherElement.zIndex;\n                        if (otherElement !== element && (\n                                // Insert before the first element with a higher zIndex\n                                pInt(otherZIndex) > value ||\n                                // If no zIndex given, insert before the first element with a zIndex\n                                (!defined(value) && defined(otherZIndex)) ||\n                                // Negative zIndex versus no zIndex:\n                                // On all levels except the highest. If the parent is <svg>,\n                                // then we don't want to put items before <desc> or <defs>\n                                (value < 0 && !defined(otherZIndex) && parentNode !== renderer.box)\n\n                            )) {\n                            parentNode.insertBefore(element, otherElement);\n                            inserted = true;\n                        }\n                    }\n                    if (!inserted) {\n                        parentNode.appendChild(element);\n                    }\n                }\n                return inserted;\n            },\n            _defaultSetter: function(value, key, element) {\n                element.setAttribute(key, value);\n            }\n        };\n\n        // Some shared setters and getters\n        SVGElement.prototype.yGetter = SVGElement.prototype.xGetter;\n        SVGElement.prototype.translateXSetter = SVGElement.prototype.translateYSetter =\n            SVGElement.prototype.rotationSetter = SVGElement.prototype.verticalAlignSetter =\n            SVGElement.prototype.scaleXSetter = SVGElement.prototype.scaleYSetter = function(value, key) {\n                this[key] = value;\n                this.doTransform = true;\n            };\n\n\n        // WebKit and Batik have problems with a stroke-width of zero, so in this case we remove the \n        // stroke attribute altogether. #1270, #1369, #3065, #3072.\n        SVGElement.prototype['stroke-widthSetter'] = SVGElement.prototype.strokeSetter = function(value, key, element) {\n            this[key] = value;\n            // Only apply the stroke attribute if the stroke width is defined and larger than 0\n            if (this.stroke && this['stroke-width']) {\n                SVGElement.prototype.fillSetter.call(this, this.stroke, 'stroke', element); // use prototype as instance may be overridden\n                element.setAttribute('stroke-width', this['stroke-width']);\n                this.hasStroke = true;\n            } else if (key === 'stroke-width' && value === 0 && this.hasStroke) {\n                element.removeAttribute('stroke');\n                this.hasStroke = false;\n            }\n        };\n\n\n        /**\n         * Allows direct access to the Highcharts rendering layer in order to draw\n         * primitive shapes like circles, rectangles, paths or text directly on a chart,\n         * or independent from any chart. The SVGRenderer represents a wrapper object\n         * for SVGin modern browsers and through the VMLRenderer, for VML in IE < 8.\n         *\n         * An existing chart's renderer can be accessed through {@link Chart#renderer}.\n         * The renderer can also be used completely decoupled from a chart.\n         *\n         * @param {HTMLDOMElement} container - Where to put the SVG in the web page.\n         * @param {number} width - The width of the SVG.\n         * @param {number} height - The height of the SVG.\n         * @param {boolean} [forExport=false] - Whether the rendered content is intended\n         *   for export.\n         * @param {boolean} [allowHTML=true] - Whether the renderer is allowed to\n         *   include HTML text, which will be projected on top of the SVG.\n         *\n         * @example\n         * // Use directly without a chart object.\n         * var renderer = new Highcharts.Renderer(parentNode, 600, 400);\n         *\n         * @sample highcharts/members/renderer-on-chart - Annotating a chart programmatically.\n         * @sample highcharts/members/renderer-basic - Independedt SVG drawing.\n         *\n         * @class\n         */\n        SVGRenderer = H.SVGRenderer = function() {\n            this.init.apply(this, arguments);\n        };\n        SVGRenderer.prototype = {\n            /**\n             * A pointer to the renderer's associated Element class. The VMLRenderer\n             * will have a pointer to VMLElement here.\n             * @type {SVGElement}\n             */\n            Element: SVGElement,\n            SVG_NS: SVG_NS,\n            /**\n             * Initialize the SVGRenderer. Overridable initiator function that takes\n             * the same parameters as the constructor.\n             */\n            init: function(container, width, height, style, forExport, allowHTML) {\n                var renderer = this,\n                    boxWrapper,\n                    element,\n                    desc;\n\n                boxWrapper = renderer.createElement('svg')\n                    .attr({\n                        'version': '1.1',\n                        'class': 'highcharts-root'\n                    })\n\n                    .css(this.getStyle(style));\n                element = boxWrapper.element;\n                container.appendChild(element);\n\n                // For browsers other than IE, add the namespace attribute (#1978)\n                if (container.innerHTML.indexOf('xmlns') === -1) {\n                    attr(element, 'xmlns', this.SVG_NS);\n                }\n\n                // object properties\n                renderer.isSVG = true;\n\n                /** \n                 * The root `svg` node of the renderer.\n                 * @type {SVGDOMElement}\n                 */\n                this.box = element;\n                /** \n                 * The wrapper for the root `svg` node of the renderer.\n                 * @type {SVGElement}\n                 */\n                this.boxWrapper = boxWrapper;\n                renderer.alignedObjects = [];\n\n                /**\n                 * Page url used for internal references.\n                 * @type {string}\n                 */\n                // #24, #672, #1070\n                this.url = (isFirefox || isWebKit) && doc.getElementsByTagName('base').length ?\n                    win.location.href\n                    .replace(/#.*?$/, '') // remove the hash\n                    .replace(/<[^>]*>/g, '') // wing cut HTML\n                    .replace(/([\\('\\)])/g, '\\\\$1') // escape parantheses and quotes\n                    .replace(/ /g, '%20') : // replace spaces (needed for Safari only)\n                    '';\n\n                // Add description\n                desc = this.createElement('desc').add();\n                desc.element.appendChild(doc.createTextNode('Created with Highstock 5.0.10'));\n\n\n                renderer.defs = this.createElement('defs').add();\n                renderer.allowHTML = allowHTML;\n                renderer.forExport = forExport;\n                renderer.gradients = {}; // Object where gradient SvgElements are stored\n                renderer.cache = {}; // Cache for numerical bounding boxes\n                renderer.cacheKeys = [];\n                renderer.imgCount = 0;\n\n                renderer.setSize(width, height, false);\n\n\n\n                // Issue 110 workaround:\n                // In Firefox, if a div is positioned by percentage, its pixel position may land\n                // between pixels. The container itself doesn't display this, but an SVG element\n                // inside this container will be drawn at subpixel precision. In order to draw\n                // sharp lines, this must be compensated for. This doesn't seem to work inside\n                // iframes though (like in jsFiddle).\n                var subPixelFix, rect;\n                if (isFirefox && container.getBoundingClientRect) {\n                    subPixelFix = function() {\n                        css(container, {\n                            left: 0,\n                            top: 0\n                        });\n                        rect = container.getBoundingClientRect();\n                        css(container, {\n                            left: (Math.ceil(rect.left) - rect.left) + 'px',\n                            top: (Math.ceil(rect.top) - rect.top) + 'px'\n                        });\n                    };\n\n                    // run the fix now\n                    subPixelFix();\n\n                    // run it on resize\n                    renderer.unSubPixelFix = addEvent(win, 'resize', subPixelFix);\n                }\n            },\n\n\n\n            /**\n             * Get the global style setting for the renderer.\n             * @private\n             * @param  {CSSObject} style - Style settings.\n             * @return {CSSObject} The style settings mixed with defaults.\n             */\n            getStyle: function(style) {\n                this.style = extend({\n\n                    fontFamily: '\"Lucida Grande\", \"Lucida Sans Unicode\", Arial, Helvetica, sans-serif', // default font\n                    fontSize: '12px'\n\n                }, style);\n                return this.style;\n            },\n            /**\n             * Apply the global style on the renderer, mixed with the default styles.\n             * @param {CSSObject} style - CSS to apply.\n             */\n            setStyle: function(style) {\n                this.boxWrapper.css(this.getStyle(style));\n            },\n\n\n            /**\n             * Detect whether the renderer is hidden. This happens when one of the\n             * parent elements has display: none. Used internally to detect when we need\n             * to render preliminarily in another div to get the text bounding boxes \n             * right.\n             *\n             * @returns {boolean} True if it is hidden.\n             */\n            isHidden: function() { // #608\n                return !this.boxWrapper.getBBox().width;\n            },\n\n            /**\n             * Destroys the renderer and its allocated members.\n             */\n            destroy: function() {\n                var renderer = this,\n                    rendererDefs = renderer.defs;\n                renderer.box = null;\n                renderer.boxWrapper = renderer.boxWrapper.destroy();\n\n                // Call destroy on all gradient elements\n                destroyObjectProperties(renderer.gradients || {});\n                renderer.gradients = null;\n\n                // Defs are null in VMLRenderer\n                // Otherwise, destroy them here.\n                if (rendererDefs) {\n                    renderer.defs = rendererDefs.destroy();\n                }\n\n                // Remove sub pixel fix handler (#982)\n                if (renderer.unSubPixelFix) {\n                    renderer.unSubPixelFix();\n                }\n\n                renderer.alignedObjects = null;\n\n                return null;\n            },\n\n            /**\n             * Create a wrapper for an SVG element. Serves as a factory for \n             * {@link SVGElement}, but this function is itself mostly called from \n             * primitive factories like {@link SVGRenderer#path}, {@link\n             * SVGRenderer#rect} or {@link SVGRenderer#text}.\n             * \n             * @param {string} nodeName - The node name, for example `rect`, `g` etc.\n             * @returns {SVGElement} The generated SVGElement.\n             */\n            createElement: function(nodeName) {\n                var wrapper = new this.Element();\n                wrapper.init(this, nodeName);\n                return wrapper;\n            },\n\n            /**\n             * Dummy function for plugins, called every time the renderer is updated.\n             * Prior to Highcharts 5, this was used for the canvg renderer.\n             * @function\n             */\n            draw: noop,\n\n            /**\n             * Get converted radial gradient attributes according to the radial\n             * reference. Used internally from the {@link SVGElement#colorGradient}\n             * function.\n             *\n             * @private\n             */\n            getRadialAttr: function(radialReference, gradAttr) {\n                return {\n                    cx: (radialReference[0] - radialReference[2] / 2) + gradAttr.cx * radialReference[2],\n                    cy: (radialReference[1] - radialReference[2] / 2) + gradAttr.cy * radialReference[2],\n                    r: gradAttr.r * radialReference[2]\n                };\n            },\n\n            getSpanWidth: function(wrapper, tspan) {\n                var renderer = this,\n                    bBox = wrapper.getBBox(true),\n                    actualWidth = bBox.width;\n\n                // Old IE cannot measure the actualWidth for SVG elements (#2314)\n                if (!svg && renderer.forExport) {\n                    actualWidth = renderer.measureSpanWidth(tspan.firstChild.data, wrapper.styles);\n                }\n                return actualWidth;\n            },\n\n            applyEllipsis: function(wrapper, tspan, text, width) {\n                var renderer = this,\n                    actualWidth = renderer.getSpanWidth(wrapper, tspan),\n                    wasTooLong = actualWidth > width,\n                    str = text,\n                    currentIndex,\n                    minIndex = 0,\n                    maxIndex = text.length,\n                    updateTSpan = function(s) {\n                        tspan.removeChild(tspan.firstChild);\n                        if (s) {\n                            tspan.appendChild(doc.createTextNode(s));\n                        }\n                    };\n                if (wasTooLong) {\n                    while (minIndex <= maxIndex) {\n                        currentIndex = Math.ceil((minIndex + maxIndex) / 2);\n                        str = text.substring(0, currentIndex) + '\\u2026';\n                        updateTSpan(str);\n                        actualWidth = renderer.getSpanWidth(wrapper, tspan);\n                        if (minIndex === maxIndex) {\n                            // Complete\n                            minIndex = maxIndex + 1;\n                        } else if (actualWidth > width) {\n                            // Too large. Set max index to current.\n                            maxIndex = currentIndex - 1;\n                        } else {\n                            // Within width. Set min index to current.\n                            minIndex = currentIndex;\n                        }\n                    }\n                    // If max index was 0 it means just ellipsis was also to large.\n                    if (maxIndex === 0) {\n                        // Remove ellipses.\n                        updateTSpan('');\n                    }\n                }\n                return wasTooLong;\n            },\n\n            /**\n             * Parse a simple HTML string into SVG tspans. Called internally when text\n             *   is set on an SVGElement. The function supports a subset of HTML tags,\n             *   CSS text features like `width`, `text-overflow`, `white-space`, and\n             *   also attributes like `href` and `style`.\n             * @private\n             * @param {SVGElement} wrapper The parent SVGElement.\n             */\n            buildText: function(wrapper) {\n                var textNode = wrapper.element,\n                    renderer = this,\n                    forExport = renderer.forExport,\n                    textStr = pick(wrapper.textStr, '').toString(),\n                    hasMarkup = textStr.indexOf('<') !== -1,\n                    lines,\n                    childNodes = textNode.childNodes,\n                    clsRegex,\n                    styleRegex,\n                    hrefRegex,\n                    wasTooLong,\n                    parentX = attr(textNode, 'x'),\n                    textStyles = wrapper.styles,\n                    width = wrapper.textWidth,\n                    textLineHeight = textStyles && textStyles.lineHeight,\n                    textOutline = textStyles && textStyles.textOutline,\n                    ellipsis = textStyles && textStyles.textOverflow === 'ellipsis',\n                    noWrap = textStyles && textStyles.whiteSpace === 'nowrap',\n                    fontSize = textStyles && textStyles.fontSize,\n                    textCache,\n                    isSubsequentLine,\n                    i = childNodes.length,\n                    tempParent = width && !wrapper.added && this.box,\n                    getLineHeight = function(tspan) {\n                        var fontSizeStyle;\n\n                        fontSizeStyle = /(px|em)$/.test(tspan && tspan.style.fontSize) ?\n                            tspan.style.fontSize :\n                            (fontSize || renderer.style.fontSize || 12);\n\n\n                        return textLineHeight ?\n                            pInt(textLineHeight) :\n                            renderer.fontMetrics(\n                                fontSizeStyle,\n                                // Get the computed size from parent if not explicit\n                                tspan.getAttribute('style') ? tspan : textNode\n                            ).h;\n                    },\n                    unescapeAngleBrackets = function(inputStr) {\n                        return inputStr.replace(/&lt;/g, '<').replace(/&gt;/g, '>');\n                    };\n\n                // The buildText code is quite heavy, so if we're not changing something\n                // that affects the text, skip it (#6113).\n                textCache = [\n                    textStr,\n                    ellipsis,\n                    noWrap,\n                    textLineHeight,\n                    textOutline,\n                    fontSize,\n                    width\n                ].join(',');\n                if (textCache === wrapper.textCache) {\n                    return;\n                }\n                wrapper.textCache = textCache;\n\n                /// remove old text\n                while (i--) {\n                    textNode.removeChild(childNodes[i]);\n                }\n\n                // Skip tspans, add text directly to text node. The forceTSpan is a hook\n                // used in text outline hack.\n                if (!hasMarkup && !textOutline && !ellipsis && !width && textStr.indexOf(' ') === -1) {\n                    textNode.appendChild(doc.createTextNode(unescapeAngleBrackets(textStr)));\n\n                    // Complex strings, add more logic\n                } else {\n\n                    clsRegex = /<.*class=\"([^\"]+)\".*>/;\n                    styleRegex = /<.*style=\"([^\"]+)\".*>/;\n                    hrefRegex = /<.*href=\"(http[^\"]+)\".*>/;\n\n                    if (tempParent) {\n                        tempParent.appendChild(textNode); // attach it to the DOM to read offset width\n                    }\n\n                    if (hasMarkup) {\n                        lines = textStr\n\n                            .replace(/<(b|strong)>/g, '<span style=\"font-weight:bold\">')\n                            .replace(/<(i|em)>/g, '<span style=\"font-style:italic\">')\n\n                            .replace(/<a/g, '<span')\n                            .replace(/<\\/(b|strong|i|em|a)>/g, '</span>')\n                            .split(/<br.*?>/g);\n\n                    } else {\n                        lines = [textStr];\n                    }\n\n\n                    // Trim empty lines (#5261)\n                    lines = grep(lines, function(line) {\n                        return line !== '';\n                    });\n\n\n                    // build the lines\n                    each(lines, function buildTextLines(line, lineNo) {\n                        var spans,\n                            spanNo = 0;\n                        line = line\n                            .replace(/^\\s+|\\s+$/g, '') // Trim to prevent useless/costly process on the spaces (#5258)\n                            .replace(/<span/g, '|||<span')\n                            .replace(/<\\/span>/g, '</span>|||');\n                        spans = line.split('|||');\n\n                        each(spans, function buildTextSpans(span) {\n                            if (span !== '' || spans.length === 1) {\n                                var attributes = {},\n                                    tspan = doc.createElementNS(renderer.SVG_NS, 'tspan'),\n                                    spanCls,\n                                    spanStyle; // #390\n                                if (clsRegex.test(span)) {\n                                    spanCls = span.match(clsRegex)[1];\n                                    attr(tspan, 'class', spanCls);\n                                }\n                                if (styleRegex.test(span)) {\n                                    spanStyle = span.match(styleRegex)[1].replace(/(;| |^)color([ :])/, '$1fill$2');\n                                    attr(tspan, 'style', spanStyle);\n                                }\n                                if (hrefRegex.test(span) && !forExport) { // Not for export - #1529\n                                    attr(tspan, 'onclick', 'location.href=\\\"' + span.match(hrefRegex)[1] + '\\\"');\n                                    css(tspan, {\n                                        cursor: 'pointer'\n                                    });\n                                }\n\n                                span = unescapeAngleBrackets(span.replace(/<(.|\\n)*?>/g, '') || ' ');\n\n                                // Nested tags aren't supported, and cause crash in Safari (#1596)\n                                if (span !== ' ') {\n\n                                    // add the text node\n                                    tspan.appendChild(doc.createTextNode(span));\n\n                                    if (!spanNo) { // first span in a line, align it to the left\n                                        if (lineNo && parentX !== null) {\n                                            attributes.x = parentX;\n                                        }\n                                    } else {\n                                        attributes.dx = 0; // #16\n                                    }\n\n                                    // add attributes\n                                    attr(tspan, attributes);\n\n                                    // Append it\n                                    textNode.appendChild(tspan);\n\n                                    // first span on subsequent line, add the line height\n                                    if (!spanNo && isSubsequentLine) {\n\n                                        // allow getting the right offset height in exporting in IE\n                                        if (!svg && forExport) {\n                                            css(tspan, {\n                                                display: 'block'\n                                            });\n                                        }\n\n                                        // Set the line height based on the font size of either\n                                        // the text element or the tspan element\n                                        attr(\n                                            tspan,\n                                            'dy',\n                                            getLineHeight(tspan)\n                                        );\n                                    }\n\n                                    /*if (width) {\n                                    \trenderer.breakText(wrapper, width);\n                                    }*/\n\n                                    // Check width and apply soft breaks or ellipsis\n                                    if (width) {\n                                        var words = span.replace(/([^\\^])-/g, '$1- ').split(' '), // #1273\n                                            hasWhiteSpace = spans.length > 1 || lineNo || (words.length > 1 && !noWrap),\n                                            tooLong,\n                                            rest = [],\n                                            actualWidth,\n                                            dy = getLineHeight(tspan),\n                                            rotation = wrapper.rotation;\n\n                                        if (ellipsis) {\n                                            wasTooLong = renderer.applyEllipsis(wrapper, tspan, span, width);\n                                        }\n\n                                        while (!ellipsis && hasWhiteSpace && (words.length || rest.length)) {\n                                            wrapper.rotation = 0; // discard rotation when computing box\n                                            actualWidth = renderer.getSpanWidth(wrapper, tspan);\n                                            tooLong = actualWidth > width;\n\n                                            // For ellipsis, do a binary search for the correct string length\n                                            if (wasTooLong === undefined) {\n                                                wasTooLong = tooLong; // First time\n                                            }\n\n                                            // Looping down, this is the first word sequence that is not too long,\n                                            // so we can move on to build the next line.\n                                            if (!tooLong || words.length === 1) {\n                                                words = rest;\n                                                rest = [];\n\n                                                if (words.length && !noWrap) {\n                                                    tspan = doc.createElementNS(SVG_NS, 'tspan');\n                                                    attr(tspan, {\n                                                        dy: dy,\n                                                        x: parentX\n                                                    });\n                                                    if (spanStyle) { // #390\n                                                        attr(tspan, 'style', spanStyle);\n                                                    }\n                                                    textNode.appendChild(tspan);\n                                                }\n                                                if (actualWidth > width) { // a single word is pressing it out\n                                                    width = actualWidth;\n                                                }\n                                            } else { // append to existing line tspan\n                                                tspan.removeChild(tspan.firstChild);\n                                                rest.unshift(words.pop());\n                                            }\n                                            if (words.length) {\n                                                tspan.appendChild(doc.createTextNode(words.join(' ').replace(/- /g, '-')));\n                                            }\n                                        }\n                                        wrapper.rotation = rotation;\n                                    }\n\n                                    spanNo++;\n                                }\n                            }\n                        });\n                        // To avoid beginning lines that doesn't add to the textNode (#6144)\n                        isSubsequentLine = isSubsequentLine || textNode.childNodes.length;\n                    });\n\n                    if (wasTooLong) {\n                        wrapper.attr('title', wrapper.textStr);\n                    }\n                    if (tempParent) {\n                        tempParent.removeChild(textNode); // attach it to the DOM to read offset width\n                    }\n\n                    // Apply the text outline\n                    if (textOutline && wrapper.applyTextOutline) {\n                        wrapper.applyTextOutline(textOutline);\n                    }\n                }\n            },\n\n\n\n            /*\n            breakText: function (wrapper, width) {\n            \tvar bBox = wrapper.getBBox(),\n            \t\tnode = wrapper.element,\n            \t\ttextLength = node.textContent.length,\n            \t\tpos = Math.round(width * textLength / bBox.width), // try this position first, based on average character width\n            \t\tincrement = 0,\n            \t\tfinalPos;\n\n            \tif (bBox.width > width) {\n            \t\twhile (finalPos === undefined) {\n            \t\t\ttextLength = node.getSubStringLength(0, pos);\n\n            \t\t\tif (textLength <= width) {\n            \t\t\t\tif (increment === -1) {\n            \t\t\t\t\tfinalPos = pos;\n            \t\t\t\t} else {\n            \t\t\t\t\tincrement = 1;\n            \t\t\t\t}\n            \t\t\t} else {\n            \t\t\t\tif (increment === 1) {\n            \t\t\t\t\tfinalPos = pos - 1;\n            \t\t\t\t} else {\n            \t\t\t\t\tincrement = -1;\n            \t\t\t\t}\n            \t\t\t}\n            \t\t\tpos += increment;\n            \t\t}\n            \t}\n            \tconsole.log('width', width, 'stringWidth', node.getSubStringLength(0, finalPos))\n            },\n            */\n\n            /**\n             * Returns white for dark colors and black for bright colors.\n             *\n             * @param {ColorString} rgba - The color to get the contrast for.\n             * @returns {string} The contrast color, either `#000000` or `#FFFFFF`.\n             */\n            getContrast: function(rgba) {\n                rgba = color(rgba).rgba;\n\n                // The threshold may be discussed. Here's a proposal for adding\n                // different weight to the color channels (#6216)\n                /*\n        rgba[0] *= 1; // red\n        rgba[1] *= 1.2; // green\n        rgba[2] *= 0.7; // blue\n        */\n\n                return rgba[0] + rgba[1] + rgba[2] > 2 * 255 ? '#000000' : '#FFFFFF';\n            },\n\n            /**\n             * Create a button with preset states.\n             * @param {string} text - The text or HTML to draw.\n             * @param {number} x - The x position of the button's left side.\n             * @param {number} y - The y position of the button's top side.\n             * @param {Function} callback - The function to execute on button click or \n             *    touch.\n             * @param {SVGAttributes} [normalState] - SVG attributes for the normal\n             *    state.\n             * @param {SVGAttributes} [hoverState] - SVG attributes for the hover state.\n             * @param {SVGAttributes} [pressedState] - SVG attributes for the pressed\n             *    state.\n             * @param {SVGAttributes} [disabledState] - SVG attributes for the disabled\n             *    state.\n             * @param {Symbol} [shape=rect] - The shape type.\n             * @returns {SVGRenderer} The button element.\n             */\n            button: function(text, x, y, callback, normalState, hoverState, pressedState, disabledState, shape) {\n                var label = this.label(text, x, y, shape, null, null, null, null, 'button'),\n                    curState = 0;\n\n                // Default, non-stylable attributes\n                label.attr(merge({\n                    'padding': 8,\n                    'r': 2\n                }, normalState));\n\n\n                // Presentational\n                var normalStyle,\n                    hoverStyle,\n                    pressedStyle,\n                    disabledStyle;\n\n                // Normal state - prepare the attributes\n                normalState = merge({\n                    fill: '#f7f7f7',\n                    stroke: '#cccccc',\n                    'stroke-width': 1,\n                    style: {\n                        color: '#333333',\n                        cursor: 'pointer',\n                        fontWeight: 'normal'\n                    }\n                }, normalState);\n                normalStyle = normalState.style;\n                delete normalState.style;\n\n                // Hover state\n                hoverState = merge(normalState, {\n                    fill: '#e6e6e6'\n                }, hoverState);\n                hoverStyle = hoverState.style;\n                delete hoverState.style;\n\n                // Pressed state\n                pressedState = merge(normalState, {\n                    fill: '#e6ebf5',\n                    style: {\n                        color: '#000000',\n                        fontWeight: 'bold'\n                    }\n                }, pressedState);\n                pressedStyle = pressedState.style;\n                delete pressedState.style;\n\n                // Disabled state\n                disabledState = merge(normalState, {\n                    style: {\n                        color: '#cccccc'\n                    }\n                }, disabledState);\n                disabledStyle = disabledState.style;\n                delete disabledState.style;\n\n\n                // Add the events. IE9 and IE10 need mouseover and mouseout to funciton (#667).\n                addEvent(label.element, isMS ? 'mouseover' : 'mouseenter', function() {\n                    if (curState !== 3) {\n                        label.setState(1);\n                    }\n                });\n                addEvent(label.element, isMS ? 'mouseout' : 'mouseleave', function() {\n                    if (curState !== 3) {\n                        label.setState(curState);\n                    }\n                });\n\n                label.setState = function(state) {\n                    // Hover state is temporary, don't record it\n                    if (state !== 1) {\n                        label.state = curState = state;\n                    }\n                    // Update visuals\n                    label.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/)\n                        .addClass('highcharts-button-' + ['normal', 'hover', 'pressed', 'disabled'][state || 0]);\n\n\n                    label.attr([normalState, hoverState, pressedState, disabledState][state || 0])\n                        .css([normalStyle, hoverStyle, pressedStyle, disabledStyle][state || 0]);\n\n                };\n\n\n\n                // Presentational attributes\n                label\n                    .attr(normalState)\n                    .css(extend({\n                        cursor: 'default'\n                    }, normalStyle));\n\n\n                return label\n                    .on('click', function(e) {\n                        if (curState !== 3) {\n                            callback.call(label, e);\n                        }\n                    });\n            },\n\n            /**\n             * Make a straight line crisper by not spilling out to neighbour pixels.\n             * \n             * @param {Array} points - The original points on the format `['M', 0, 0,\n             *    'L', 100, 0]`.\n             * @param {number} width - The width of the line.\n             * @returns {Array} The original points array, but modified to render\n             * crisply.\n             */\n            crispLine: function(points, width) {\n                // normalize to a crisp line\n                if (points[1] === points[4]) {\n                    // Substract due to #1129. Now bottom and left axis gridlines behave the same.\n                    points[1] = points[4] = Math.round(points[1]) - (width % 2 / 2);\n                }\n                if (points[2] === points[5]) {\n                    points[2] = points[5] = Math.round(points[2]) + (width % 2 / 2);\n                }\n                return points;\n            },\n\n\n            /**\n             * Draw a path, wraps the SVG `path` element.\n             * \n             * @param {Array} [path] An SVG path definition in array form.\n             * \n             * @example\n             * var path = renderer.path(['M', 10, 10, 'L', 30, 30, 'z'])\n             *     .attr({ stroke: '#ff00ff' })\n             *     .add();\n             * @returns {SVGElement} The generated wrapper element.\n             */\n            /**\n             * Draw a path, wraps the SVG `path` element.\n             * \n             * @param {SVGAttributes} [attribs] The initial attributes.\n             * @returns {SVGElement} The generated wrapper element.\n             */\n            path: function(path) {\n                var attribs = {\n\n                    fill: 'none'\n\n                };\n                if (isArray(path)) {\n                    attribs.d = path;\n                } else if (isObject(path)) { // attributes\n                    extend(attribs, path);\n                }\n                return this.createElement('path').attr(attribs);\n            },\n\n            /**\n             * Draw a circle, wraps the SVG `circle` element.\n             * \n             * @param {number} [x] The center x position.\n             * @param {number} [y] The center y position.\n             * @param {number} [r] The radius.\n             * @returns {SVGElement} The generated wrapper element.\n             */\n            /**\n             * Draw a circle, wraps the SVG `circle` element.\n             * \n             * @param {SVGAttributes} [attribs] The initial attributes.\n             * @returns {SVGElement} The generated wrapper element.\n             */\n            circle: function(x, y, r) {\n                var attribs = isObject(x) ? x : {\n                        x: x,\n                        y: y,\n                        r: r\n                    },\n                    wrapper = this.createElement('circle');\n\n                // Setting x or y translates to cx and cy\n                wrapper.xSetter = wrapper.ySetter = function(value, key, element) {\n                    element.setAttribute('c' + key, value);\n                };\n\n                return wrapper.attr(attribs);\n            },\n\n            /**\n             * Draw and return an arc.\n             * @param {number} [x=0] Center X position.\n             * @param {number} [y=0] Center Y position.\n             * @param {number} [r=0] The outer radius of the arc.\n             * @param {number} [innerR=0] Inner radius like used in donut charts.\n             * @param {number} [start=0] The starting angle of the arc in radians, where\n             *    0 is to the right and `-Math.PI/2` is up.\n             * @param {number} [end=0] The ending angle of the arc in radians, where 0\n             *    is to the right and `-Math.PI/2` is up.\n             * @returns {SVGElement} The generated wrapper element.\n             */\n            /**\n             * Draw and return an arc. Overloaded function that takes arguments object.\n             * @param {SVGAttributes} attribs Initial SVG attributes.\n             * @returns {SVGElement} The generated wrapper element.\n             */\n            arc: function(x, y, r, innerR, start, end) {\n                var arc,\n                    options;\n\n                if (isObject(x)) {\n                    options = x;\n                    y = options.y;\n                    r = options.r;\n                    innerR = options.innerR;\n                    start = options.start;\n                    end = options.end;\n                    x = options.x;\n                } else {\n                    options = {\n                        innerR: innerR,\n                        start: start,\n                        end: end\n                    };\n                }\n\n                // Arcs are defined as symbols for the ability to set\n                // attributes in attr and animate\n                arc = this.symbol('arc', x, y, r, r, options);\n                arc.r = r; // #959\n                return arc;\n            },\n\n            /**\n             * Draw and return a rectangle.\n             * @param {number} [x] Left position.\n             * @param {number} [y] Top position.\n             * @param {number} [width] Width of the rectangle.\n             * @param {number} [height] Height of the rectangle.\n             * @param {number} [r] Border corner radius.\n             * @param {number} [strokeWidth] A stroke width can be supplied to allow\n             *    crisp drawing.\n             * @returns {SVGElement} The generated wrapper element.\n             */\n            /**\n             * Draw and return a rectangle.\n             * @param {SVGAttributes} [attributes] General SVG attributes for the \n             *    rectangle.\n             * @returns {SVGElement} The generated wrapper element.\n             */\n            rect: function(x, y, width, height, r, strokeWidth) {\n\n                r = isObject(x) ? x.r : r;\n\n                var wrapper = this.createElement('rect'),\n                    attribs = isObject(x) ? x : x === undefined ? {} : {\n                        x: x,\n                        y: y,\n                        width: Math.max(width, 0),\n                        height: Math.max(height, 0)\n                    };\n\n\n                if (strokeWidth !== undefined) {\n                    attribs.strokeWidth = strokeWidth;\n                    attribs = wrapper.crisp(attribs);\n                }\n                attribs.fill = 'none';\n\n\n                if (r) {\n                    attribs.r = r;\n                }\n\n                wrapper.rSetter = function(value, key, element) {\n                    attr(element, {\n                        rx: value,\n                        ry: value\n                    });\n                };\n\n                return wrapper.attr(attribs);\n            },\n\n            /**\n             * Resize the {@link SVGRenderer#box} and re-align all aligned child\n             * elements.\n             * @param {number} width The new pixel width.\n             * @param {number} height The new pixel height.\n             * @param {boolean} animate Whether to animate.\n             */\n            setSize: function(width, height, animate) {\n                var renderer = this,\n                    alignedObjects = renderer.alignedObjects,\n                    i = alignedObjects.length;\n\n                renderer.width = width;\n                renderer.height = height;\n\n                renderer.boxWrapper.animate({\n                    width: width,\n                    height: height\n                }, {\n                    step: function() {\n                        this.attr({\n                            viewBox: '0 0 ' + this.attr('width') + ' ' + this.attr('height')\n                        });\n                    },\n                    duration: pick(animate, true) ? undefined : 0\n                });\n\n                while (i--) {\n                    alignedObjects[i].align();\n                }\n            },\n\n            /**\n             * Create and return an svg group element.\n             * \n             * @param {string} [name] The group will be given a class name of\n             * `highcharts-{name}`. This can be used for styling and scripting.\n             * @returns {SVGElement} The generated wrapper element.\n             */\n            g: function(name) {\n                var elem = this.createElement('g');\n                return name ? elem.attr({\n                    'class': 'highcharts-' + name\n                }) : elem;\n            },\n\n            /**\n             * Display an image.\n             * @param {string} src The image source.\n             * @param {number} [x] The X position.\n             * @param {number} [y] The Y position.\n             * @param {number} [width] The image width. If omitted, it defaults to the \n             *    image file width.\n             * @param {number} [height] The image height. If omitted it defaults to the\n             *    image file height.\n             * @returns {SVGElement} The generated wrapper element.\n             */\n            image: function(src, x, y, width, height) {\n                var attribs = {\n                        preserveAspectRatio: 'none'\n                    },\n                    elemWrapper;\n\n                // optional properties\n                if (arguments.length > 1) {\n                    extend(attribs, {\n                        x: x,\n                        y: y,\n                        width: width,\n                        height: height\n                    });\n                }\n\n                elemWrapper = this.createElement('image').attr(attribs);\n\n                // set the href in the xlink namespace\n                if (elemWrapper.element.setAttributeNS) {\n                    elemWrapper.element.setAttributeNS('http://www.w3.org/1999/xlink',\n                        'href', src);\n                } else {\n                    // could be exporting in IE\n                    // using href throws \"not supported\" in ie7 and under, requries regex shim to fix later\n                    elemWrapper.element.setAttribute('hc-svg-href', src);\n                }\n                return elemWrapper;\n            },\n\n            /**\n             * Draw a symbol out of pre-defined shape paths from {@SVGRenderer#symbols}.\n             * It is used in Highcharts for point makers, which cake a `symbol` option,\n             * and label and button backgrounds like in the tooltip and stock flags.\n             *\n             * @param {Symbol} symbol - The symbol name.\n             * @param {number} x - The X coordinate for the top left position.\n             * @param {number} y - The Y coordinate for the top left position.\n             * @param {number} width - The pixel width.\n             * @param {number} height - The pixel height.\n             * @param {Object} [options] - Additional options, depending on the actual\n             *    symbol drawn. \n             * @param {number} [options.anchorX] - The anchor X position for the\n             *    `callout` symbol. This is where the chevron points to.\n             * @param {number} [options.anchorY] - The anchor Y position for the\n             *    `callout` symbol. This is where the chevron points to.\n             * @param {number} [options.end] - The end angle of an `arc` symbol.\n             * @param {boolean} [options.open] - Whether to draw `arc` symbol open or\n             *    closed.\n             * @param {number} [options.r] - The radius of an `arc` symbol, or the\n             *    border radius for the `callout` symbol.\n             * @param {number} [options.start] - The start angle of an `arc` symbol.\n             */\n            symbol: function(symbol, x, y, width, height, options) {\n\n                var ren = this,\n                    obj,\n\n                    // get the symbol definition function\n                    symbolFn = this.symbols[symbol],\n\n                    // check if there's a path defined for this symbol\n                    path = defined(x) && symbolFn && this.symbols[symbol](\n                        Math.round(x),\n                        Math.round(y),\n                        width,\n                        height,\n                        options\n                    ),\n                    imageRegex = /^url\\((.*?)\\)$/,\n                    imageSrc,\n                    centerImage;\n\n                if (symbolFn) {\n                    obj = this.path(path);\n\n\n                    obj.attr('fill', 'none');\n\n\n                    // expando properties for use in animate and attr\n                    extend(obj, {\n                        symbolName: symbol,\n                        x: x,\n                        y: y,\n                        width: width,\n                        height: height\n                    });\n                    if (options) {\n                        extend(obj, options);\n                    }\n\n\n                    // image symbols\n                } else if (imageRegex.test(symbol)) {\n\n\n                    imageSrc = symbol.match(imageRegex)[1];\n\n                    // Create the image synchronously, add attribs async\n                    obj = this.image(imageSrc);\n\n                    // The image width is not always the same as the symbol width. The\n                    // image may be centered within the symbol, as is the case when\n                    // image shapes are used as label backgrounds, for example in flags.\n                    obj.imgwidth = pick(\n                        symbolSizes[imageSrc] && symbolSizes[imageSrc].width,\n                        options && options.width\n                    );\n                    obj.imgheight = pick(\n                        symbolSizes[imageSrc] && symbolSizes[imageSrc].height,\n                        options && options.height\n                    );\n                    /**\n                     * Set the size and position\n                     */\n                    centerImage = function() {\n                        obj.attr({\n                            width: obj.width,\n                            height: obj.height\n                        });\n                    };\n\n                    /**\n                     * Width and height setters that take both the image's physical size\n                     * and the label size into consideration, and translates the image\n                     * to center within the label.\n                     */\n                    each(['width', 'height'], function(key) {\n                        obj[key + 'Setter'] = function(value, key) {\n                            var attribs = {},\n                                imgSize = this['img' + key],\n                                trans = key === 'width' ? 'translateX' : 'translateY';\n                            this[key] = value;\n                            if (defined(imgSize)) {\n                                if (this.element) {\n                                    this.element.setAttribute(key, imgSize);\n                                }\n                                if (!this.alignByTranslate) {\n                                    attribs[trans] = ((this[key] || 0) - imgSize) / 2;\n                                    this.attr(attribs);\n                                }\n                            }\n                        };\n                    });\n\n\n                    if (defined(x)) {\n                        obj.attr({\n                            x: x,\n                            y: y\n                        });\n                    }\n                    obj.isImg = true;\n\n                    if (defined(obj.imgwidth) && defined(obj.imgheight)) {\n                        centerImage();\n                    } else {\n                        // Initialize image to be 0 size so export will still function if there's no cached sizes.\n                        obj.attr({\n                            width: 0,\n                            height: 0\n                        });\n\n                        // Create a dummy JavaScript image to get the width and height. Due to a bug in IE < 8,\n                        // the created element must be assigned to a variable in order to load (#292).\n                        createElement('img', {\n                            onload: function() {\n\n                                var chart = charts[ren.chartIndex];\n\n                                // Special case for SVGs on IE11, the width is not accessible until the image is\n                                // part of the DOM (#2854).\n                                if (this.width === 0) {\n                                    css(this, {\n                                        position: 'absolute',\n                                        top: '-999em'\n                                    });\n                                    doc.body.appendChild(this);\n                                }\n\n                                // Center the image\n                                symbolSizes[imageSrc] = { // Cache for next\t\n                                    width: this.width,\n                                    height: this.height\n                                };\n                                obj.imgwidth = this.width;\n                                obj.imgheight = this.height;\n\n                                if (obj.element) {\n                                    centerImage();\n                                }\n\n                                // Clean up after #2854 workaround.\n                                if (this.parentNode) {\n                                    this.parentNode.removeChild(this);\n                                }\n\n                                // Fire the load event when all external images are loaded\n                                ren.imgCount--;\n                                if (!ren.imgCount && chart && chart.onload) {\n                                    chart.onload();\n                                }\n                            },\n                            src: imageSrc\n                        });\n                        this.imgCount++;\n                    }\n                }\n\n                return obj;\n            },\n\n            /**\n             * @typedef {string} Symbol\n             * \n             * Can be one of `arc`, `callout`, `circle`, `diamond`, `square`,\n             * `triangle`, `triangle-down`. Symbols are used internally for point\n             * markers, button and label borders and backgrounds, or custom shapes.\n             * Extendable by adding to {@link SVGRenderer#symbols}.\n             */\n            /**\n             * An extendable collection of functions for defining symbol paths.\n             */\n            symbols: {\n                'circle': function(x, y, w, h) {\n                    // Return a full arc\n                    return this.arc(x + w / 2, y + h / 2, w / 2, h / 2, {\n                        start: 0,\n                        end: Math.PI * 2,\n                        open: false\n                    });\n                },\n\n                'square': function(x, y, w, h) {\n                    return [\n                        'M', x, y,\n                        'L', x + w, y,\n                        x + w, y + h,\n                        x, y + h,\n                        'Z'\n                    ];\n                },\n\n                'triangle': function(x, y, w, h) {\n                    return [\n                        'M', x + w / 2, y,\n                        'L', x + w, y + h,\n                        x, y + h,\n                        'Z'\n                    ];\n                },\n\n                'triangle-down': function(x, y, w, h) {\n                    return [\n                        'M', x, y,\n                        'L', x + w, y,\n                        x + w / 2, y + h,\n                        'Z'\n                    ];\n                },\n                'diamond': function(x, y, w, h) {\n                    return [\n                        'M', x + w / 2, y,\n                        'L', x + w, y + h / 2,\n                        x + w / 2, y + h,\n                        x, y + h / 2,\n                        'Z'\n                    ];\n                },\n                'arc': function(x, y, w, h, options) {\n                    var start = options.start,\n                        rx = options.r || w,\n                        ry = options.r || h || w,\n                        end = options.end - 0.001, // to prevent cos and sin of start and end from becoming equal on 360 arcs (related: #1561)\n                        innerRadius = options.innerR,\n                        open = options.open,\n                        cosStart = Math.cos(start),\n                        sinStart = Math.sin(start),\n                        cosEnd = Math.cos(end),\n                        sinEnd = Math.sin(end),\n                        longArc = options.end - start < Math.PI ? 0 : 1,\n                        arc;\n\n                    arc = [\n                        'M',\n                        x + rx * cosStart,\n                        y + ry * sinStart,\n                        'A', // arcTo\n                        rx, // x radius\n                        ry, // y radius\n                        0, // slanting\n                        longArc, // long or short arc\n                        1, // clockwise\n                        x + rx * cosEnd,\n                        y + ry * sinEnd\n                    ];\n\n                    if (defined(innerRadius)) {\n                        arc.push(\n                            open ? 'M' : 'L',\n                            x + innerRadius * cosEnd,\n                            y + innerRadius * sinEnd,\n                            'A', // arcTo\n                            innerRadius, // x radius\n                            innerRadius, // y radius\n                            0, // slanting\n                            longArc, // long or short arc\n                            0, // clockwise\n                            x + innerRadius * cosStart,\n                            y + innerRadius * sinStart\n                        );\n                    }\n\n                    arc.push(open ? '' : 'Z'); // close\n                    return arc;\n                },\n\n                /**\n                 * Callout shape used for default tooltips, also used for rounded rectangles in VML\n                 */\n                callout: function(x, y, w, h, options) {\n                    var arrowLength = 6,\n                        halfDistance = 6,\n                        r = Math.min((options && options.r) || 0, w, h),\n                        safeDistance = r + halfDistance,\n                        anchorX = options && options.anchorX,\n                        anchorY = options && options.anchorY,\n                        path;\n\n                    path = [\n                        'M', x + r, y,\n                        'L', x + w - r, y, // top side\n                        'C', x + w, y, x + w, y, x + w, y + r, // top-right corner\n                        'L', x + w, y + h - r, // right side\n                        'C', x + w, y + h, x + w, y + h, x + w - r, y + h, // bottom-right corner\n                        'L', x + r, y + h, // bottom side\n                        'C', x, y + h, x, y + h, x, y + h - r, // bottom-left corner\n                        'L', x, y + r, // left side\n                        'C', x, y, x, y, x + r, y // top-left corner\n                    ];\n\n                    // Anchor on right side\n                    if (anchorX && anchorX > w) {\n\n                        // Chevron\n                        if (anchorY > y + safeDistance && anchorY < y + h - safeDistance) {\n                            path.splice(13, 3,\n                                'L', x + w, anchorY - halfDistance,\n                                x + w + arrowLength, anchorY,\n                                x + w, anchorY + halfDistance,\n                                x + w, y + h - r\n                            );\n\n                            // Simple connector\n                        } else {\n                            path.splice(13, 3,\n                                'L', x + w, h / 2,\n                                anchorX, anchorY,\n                                x + w, h / 2,\n                                x + w, y + h - r\n                            );\n                        }\n\n                        // Anchor on left side\n                    } else if (anchorX && anchorX < 0) {\n\n                        // Chevron\n                        if (anchorY > y + safeDistance && anchorY < y + h - safeDistance) {\n                            path.splice(33, 3,\n                                'L', x, anchorY + halfDistance,\n                                x - arrowLength, anchorY,\n                                x, anchorY - halfDistance,\n                                x, y + r\n                            );\n\n                            // Simple connector\n                        } else {\n                            path.splice(33, 3,\n                                'L', x, h / 2,\n                                anchorX, anchorY,\n                                x, h / 2,\n                                x, y + r\n                            );\n                        }\n\n                    } else if (anchorY && anchorY > h && anchorX > x + safeDistance && anchorX < x + w - safeDistance) { // replace bottom\n                        path.splice(23, 3,\n                            'L', anchorX + halfDistance, y + h,\n                            anchorX, y + h + arrowLength,\n                            anchorX - halfDistance, y + h,\n                            x + r, y + h\n                        );\n                    } else if (anchorY && anchorY < 0 && anchorX > x + safeDistance && anchorX < x + w - safeDistance) { // replace top\n                        path.splice(3, 3,\n                            'L', anchorX - halfDistance, y,\n                            anchorX, y - arrowLength,\n                            anchorX + halfDistance, y,\n                            w - r, y\n                        );\n                    }\n\n                    return path;\n                }\n            },\n\n            /**\n             * @typedef {SVGElement} ClipRect - A clipping rectangle that can be applied\n             * to one or more {@link SVGElement} instances. It is instanciated with the\n             * {@link SVGRenderer#clipRect} function and applied with the {@link \n             * SVGElement#clip} function.\n             *\n             * @example\n             * var circle = renderer.circle(100, 100, 100)\n             *     .attr({ fill: 'red' })\n             *     .add();\n             * var clipRect = renderer.clipRect(100, 100, 100, 100);\n             *\n             * // Leave only the lower right quarter visible\n             * circle.clip(clipRect);\n             */\n            /**\n             * Define a clipping rectangle\n             * @param {String} id\n             * @param {number} x\n             * @param {number} y\n             * @param {number} width\n             * @param {number} height\n             * @returns {ClipRect} A clipping rectangle.\n             */\n            clipRect: function(x, y, width, height) {\n                var wrapper,\n                    id = H.uniqueKey(),\n\n                    clipPath = this.createElement('clipPath').attr({\n                        id: id\n                    }).add(this.defs);\n\n                wrapper = this.rect(x, y, width, height, 0).add(clipPath);\n                wrapper.id = id;\n                wrapper.clipPath = clipPath;\n                wrapper.count = 0;\n\n                return wrapper;\n            },\n\n\n\n\n\n            /**\n             * Add text to the SVG object\n             * @param {String} str\n             * @param {number} x Left position\n             * @param {number} y Top position\n             * @param {Boolean} useHTML Use HTML to render the text\n             */\n            text: function(str, x, y, useHTML) {\n\n                // declare variables\n                var renderer = this,\n                    fakeSVG = !svg && renderer.forExport,\n                    wrapper,\n                    attribs = {};\n\n                if (useHTML && (renderer.allowHTML || !renderer.forExport)) {\n                    return renderer.html(str, x, y);\n                }\n\n                attribs.x = Math.round(x || 0); // X is always needed for line-wrap logic\n                if (y) {\n                    attribs.y = Math.round(y);\n                }\n                if (str || str === 0) {\n                    attribs.text = str;\n                }\n\n                wrapper = renderer.createElement('text')\n                    .attr(attribs);\n\n                // Prevent wrapping from creating false offsetWidths in export in legacy IE (#1079, #1063)\n                if (fakeSVG) {\n                    wrapper.css({\n                        position: 'absolute'\n                    });\n                }\n\n                if (!useHTML) {\n                    wrapper.xSetter = function(value, key, element) {\n                        var tspans = element.getElementsByTagName('tspan'),\n                            tspan,\n                            parentVal = element.getAttribute(key),\n                            i;\n                        for (i = 0; i < tspans.length; i++) {\n                            tspan = tspans[i];\n                            // If the x values are equal, the tspan represents a linebreak\n                            if (tspan.getAttribute(key) === parentVal) {\n                                tspan.setAttribute(key, value);\n                            }\n                        }\n                        element.setAttribute(key, value);\n                    };\n                }\n\n                return wrapper;\n            },\n\n            /**\n             * Utility to return the baseline offset and total line height from the font\n             * size.\n             *\n             * @param {?string} fontSize The current font size to inspect. If not given,\n             *   the font size will be found from the DOM element.\n             * @param {SVGElement|SVGDOMElement} [elem] The element to inspect for a\n             *   current font size.\n             * @returns {Object} An object containing `h`: the line height, `b`: the\n             * baseline relative to the top of the box, and `f`: the font size.\n             */\n            fontMetrics: function(fontSize, elem) {\n                var lineHeight,\n                    baseline;\n\n\n                fontSize = fontSize ||\n                    // When the elem is a DOM element (#5932)\n                    (elem && elem.style && elem.style.fontSize) ||\n                    // Fall back on the renderer style default\n                    (this.style && this.style.fontSize);\n\n\n\n                // Handle different units\n                if (/px/.test(fontSize)) {\n                    fontSize = pInt(fontSize);\n                } else if (/em/.test(fontSize)) {\n                    // The em unit depends on parent items\n                    fontSize = parseFloat(fontSize) *\n                        (elem ? this.fontMetrics(null, elem.parentNode).f : 16);\n                } else {\n                    fontSize = 12;\n                }\n\n                // Empirical values found by comparing font size and bounding box\n                // height. Applies to the default font family.\n                // http://jsfiddle.net/highcharts/7xvn7/\n                lineHeight = fontSize < 24 ? fontSize + 3 : Math.round(fontSize * 1.2);\n                baseline = Math.round(lineHeight * 0.8);\n\n                return {\n                    h: lineHeight,\n                    b: baseline,\n                    f: fontSize\n                };\n            },\n\n            /**\n             * Correct X and Y positioning of a label for rotation (#1764)\n             */\n            rotCorr: function(baseline, rotation, alterY) {\n                var y = baseline;\n                if (rotation && alterY) {\n                    y = Math.max(y * Math.cos(rotation * deg2rad), 4);\n                }\n                return {\n                    x: (-baseline / 3) * Math.sin(rotation * deg2rad),\n                    y: y\n                };\n            },\n\n            /**\n             * Add a label, a text item that can hold a colored or gradient background\n             * as well as a border and shadow. Supported custom attributes include\n             * `padding`. \n             * \n             * @param {string} str\n             * @param {number} x\n             * @param {number} y\n             * @param {String} shape\n             * @param {number} anchorX In case the shape has a pointer, like a flag, this is the\n             *\tcoordinates it should be pinned to\n             * @param {number} anchorY\n             * @param {Boolean} baseline Whether to position the label relative to the text baseline,\n             *\tlike renderer.text, or to the upper border of the rectangle.\n             * @param {String} className Class name for the group\n             */\n            label: function(str, x, y, shape, anchorX, anchorY, useHTML, baseline, className) {\n\n                var renderer = this,\n                    wrapper = renderer.g(className !== 'button' && 'label'),\n                    text = wrapper.text = renderer.text('', 0, 0, useHTML)\n                    .attr({\n                        zIndex: 1\n                    }),\n                    box,\n                    bBox,\n                    alignFactor = 0,\n                    padding = 3,\n                    paddingLeft = 0,\n                    width,\n                    height,\n                    wrapperX,\n                    wrapperY,\n                    textAlign,\n                    deferredAttr = {},\n                    strokeWidth,\n                    baselineOffset,\n                    hasBGImage = /^url\\((.*?)\\)$/.test(shape),\n                    needsBox = hasBGImage,\n                    getCrispAdjust,\n                    updateBoxSize,\n                    updateTextPadding,\n                    boxAttr;\n\n                if (className) {\n                    wrapper.addClass('highcharts-' + className);\n                }\n\n\n                needsBox = hasBGImage;\n                getCrispAdjust = function() {\n                    return (strokeWidth || 0) % 2 / 2;\n                };\n\n\n\n                /**\n                 * This function runs after the label is added to the DOM (when the bounding box is\n                 * available), and after the text of the label is updated to detect the new bounding\n                 * box and reflect it in the border box.\n                 */\n                updateBoxSize = function() {\n                    var style = text.element.style,\n                        crispAdjust,\n                        attribs = {};\n\n                    bBox = (width === undefined || height === undefined || textAlign) && defined(text.textStr) &&\n                        text.getBBox(); //#3295 && 3514 box failure when string equals 0\n                    wrapper.width = (width || bBox.width || 0) + 2 * padding + paddingLeft;\n                    wrapper.height = (height || bBox.height || 0) + 2 * padding;\n\n                    // Update the label-scoped y offset\n                    baselineOffset = padding + renderer.fontMetrics(style && style.fontSize, text).b;\n\n\n                    if (needsBox) {\n\n                        // Create the border box if it is not already present\n                        if (!box) {\n                            wrapper.box = box = renderer.symbols[shape] || hasBGImage ? // Symbol definition exists (#5324)\n                                renderer.symbol(shape) :\n                                renderer.rect();\n\n                            box.addClass(\n                                (className === 'button' ? '' : 'highcharts-label-box') + // Don't use label className for buttons\n                                (className ? ' highcharts-' + className + '-box' : '')\n                            );\n\n                            box.add(wrapper);\n\n                            crispAdjust = getCrispAdjust();\n                            attribs.x = crispAdjust;\n                            attribs.y = (baseline ? -baselineOffset : 0) + crispAdjust;\n                        }\n\n                        // Apply the box attributes\n                        attribs.width = Math.round(wrapper.width);\n                        attribs.height = Math.round(wrapper.height);\n\n                        box.attr(extend(attribs, deferredAttr));\n                        deferredAttr = {};\n                    }\n                };\n\n                /**\n                 * This function runs after setting text or padding, but only if padding is changed\n                 */\n                updateTextPadding = function() {\n                    var textX = paddingLeft + padding,\n                        textY;\n\n                    // determin y based on the baseline\n                    textY = baseline ? 0 : baselineOffset;\n\n                    // compensate for alignment\n                    if (defined(width) && bBox && (textAlign === 'center' || textAlign === 'right')) {\n                        textX += {\n                            center: 0.5,\n                            right: 1\n                        }[textAlign] * (width - bBox.width);\n                    }\n\n                    // update if anything changed\n                    if (textX !== text.x || textY !== text.y) {\n                        text.attr('x', textX);\n                        if (textY !== undefined) {\n                            text.attr('y', textY);\n                        }\n                    }\n\n                    // record current values\n                    text.x = textX;\n                    text.y = textY;\n                };\n\n                /**\n                 * Set a box attribute, or defer it if the box is not yet created\n                 * @param {Object} key\n                 * @param {Object} value\n                 */\n                boxAttr = function(key, value) {\n                    if (box) {\n                        box.attr(key, value);\n                    } else {\n                        deferredAttr[key] = value;\n                    }\n                };\n\n                /**\n                 * After the text element is added, get the desired size of the border box\n                 * and add it before the text in the DOM.\n                 */\n                wrapper.onAdd = function() {\n                    text.add(wrapper);\n                    wrapper.attr({\n                        text: (str || str === 0) ? str : '', // alignment is available now // #3295: 0 not rendered if given as a value\n                        x: x,\n                        y: y\n                    });\n\n                    if (box && defined(anchorX)) {\n                        wrapper.attr({\n                            anchorX: anchorX,\n                            anchorY: anchorY\n                        });\n                    }\n                };\n\n                /*\n                 * Add specific attribute setters.\n                 */\n\n                // only change local variables\n                wrapper.widthSetter = function(value) {\n                    width = H.isNumber(value) ? value : null; // width:auto => null\n                };\n                wrapper.heightSetter = function(value) {\n                    height = value;\n                };\n                wrapper['text-alignSetter'] = function(value) {\n                    textAlign = value;\n                };\n                wrapper.paddingSetter = function(value) {\n                    if (defined(value) && value !== padding) {\n                        padding = wrapper.padding = value;\n                        updateTextPadding();\n                    }\n                };\n                wrapper.paddingLeftSetter = function(value) {\n                    if (defined(value) && value !== paddingLeft) {\n                        paddingLeft = value;\n                        updateTextPadding();\n                    }\n                };\n\n\n                // change local variable and prevent setting attribute on the group\n                wrapper.alignSetter = function(value) {\n                    value = {\n                        left: 0,\n                        center: 0.5,\n                        right: 1\n                    }[value];\n                    if (value !== alignFactor) {\n                        alignFactor = value;\n                        if (bBox) { // Bounding box exists, means we're dynamically changing\n                            wrapper.attr({\n                                x: wrapperX\n                            }); // #5134\n                        }\n                    }\n                };\n\n                // apply these to the box and the text alike\n                wrapper.textSetter = function(value) {\n                    if (value !== undefined) {\n                        text.textSetter(value);\n                    }\n                    updateBoxSize();\n                    updateTextPadding();\n                };\n\n                // apply these to the box but not to the text\n                wrapper['stroke-widthSetter'] = function(value, key) {\n                    if (value) {\n                        needsBox = true;\n                    }\n                    strokeWidth = this['stroke-width'] = value;\n                    boxAttr(key, value);\n                };\n\n                wrapper.strokeSetter = wrapper.fillSetter = wrapper.rSetter = function(value, key) {\n                    if (key === 'fill' && value) {\n                        needsBox = true;\n                    }\n                    boxAttr(key, value);\n                };\n\n                wrapper.anchorXSetter = function(value, key) {\n                    anchorX = value;\n                    boxAttr(key, Math.round(value) - getCrispAdjust() - wrapperX);\n                };\n                wrapper.anchorYSetter = function(value, key) {\n                    anchorY = value;\n                    boxAttr(key, value - wrapperY);\n                };\n\n                // rename attributes\n                wrapper.xSetter = function(value) {\n                    wrapper.x = value; // for animation getter\n                    if (alignFactor) {\n                        value -= alignFactor * ((width || bBox.width) + 2 * padding);\n                    }\n                    wrapperX = Math.round(value);\n                    wrapper.attr('translateX', wrapperX);\n                };\n                wrapper.ySetter = function(value) {\n                    wrapperY = wrapper.y = Math.round(value);\n                    wrapper.attr('translateY', wrapperY);\n                };\n\n                // Redirect certain methods to either the box or the text\n                var baseCss = wrapper.css;\n                return extend(wrapper, {\n                    /**\n                     * Pick up some properties and apply them to the text instead of the\n                     * wrapper.\n                     * @ignore\n                     */\n                    css: function(styles) {\n                        if (styles) {\n                            var textStyles = {};\n                            styles = merge(styles); // create a copy to avoid altering the original object (#537)\n                            each(wrapper.textProps, function(prop) {\n                                if (styles[prop] !== undefined) {\n                                    textStyles[prop] = styles[prop];\n                                    delete styles[prop];\n                                }\n                            });\n                            text.css(textStyles);\n                        }\n                        return baseCss.call(wrapper, styles);\n                    },\n                    /**\n                     * Return the bounding box of the box, not the group.\n                     * @ignore\n                     */\n                    getBBox: function() {\n                        return {\n                            width: bBox.width + 2 * padding,\n                            height: bBox.height + 2 * padding,\n                            x: bBox.x - padding,\n                            y: bBox.y - padding\n                        };\n                    },\n\n                    /**\n                     * Apply the shadow to the box.\n                     * @ignore\n                     */\n                    shadow: function(b) {\n                        if (b) {\n                            updateBoxSize();\n                            if (box) {\n                                box.shadow(b);\n                            }\n                        }\n                        return wrapper;\n                    },\n\n                    /**\n                     * Destroy and release memory.\n                     * @ignore\n                     */\n                    destroy: function() {\n\n                        // Added by button implementation\n                        removeEvent(wrapper.element, 'mouseenter');\n                        removeEvent(wrapper.element, 'mouseleave');\n\n                        if (text) {\n                            text = text.destroy();\n                        }\n                        if (box) {\n                            box = box.destroy();\n                        }\n                        // Call base implementation to destroy the rest\n                        SVGElement.prototype.destroy.call(wrapper);\n\n                        // Release local pointers (#1298)\n                        wrapper = renderer = updateBoxSize = updateTextPadding = boxAttr = null;\n                    }\n                });\n            }\n        }; // end SVGRenderer\n\n\n        // general renderer\n        H.Renderer = SVGRenderer;\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var attr = H.attr,\n            createElement = H.createElement,\n            css = H.css,\n            defined = H.defined,\n            each = H.each,\n            extend = H.extend,\n            isFirefox = H.isFirefox,\n            isMS = H.isMS,\n            isWebKit = H.isWebKit,\n            pInt = H.pInt,\n            SVGElement = H.SVGElement,\n            SVGRenderer = H.SVGRenderer,\n            win = H.win,\n            wrap = H.wrap;\n\n        // Extend SvgElement for useHTML option\n        extend(SVGElement.prototype, /** @lends SVGElement.prototype */ {\n            /**\n             * Apply CSS to HTML elements. This is used in text within SVG rendering and\n             * by the VML renderer\n             */\n            htmlCss: function(styles) {\n                var wrapper = this,\n                    element = wrapper.element,\n                    textWidth = styles && element.tagName === 'SPAN' && styles.width;\n\n                if (textWidth) {\n                    delete styles.width;\n                    wrapper.textWidth = textWidth;\n                    wrapper.updateTransform();\n                }\n                if (styles && styles.textOverflow === 'ellipsis') {\n                    styles.whiteSpace = 'nowrap';\n                    styles.overflow = 'hidden';\n                }\n                wrapper.styles = extend(wrapper.styles, styles);\n                css(wrapper.element, styles);\n\n                return wrapper;\n            },\n\n            /**\n             * VML and useHTML method for calculating the bounding box based on offsets\n             * @param {Boolean} refresh Whether to force a fresh value from the DOM or to\n             * use the cached value\n             *\n             * @return {Object} A hash containing values for x, y, width and height\n             */\n\n            htmlGetBBox: function() {\n                var wrapper = this,\n                    element = wrapper.element;\n\n                // faking getBBox in exported SVG in legacy IE\n                // faking getBBox in exported SVG in legacy IE (is this a duplicate of the fix for #1079?)\n                if (element.nodeName === 'text') {\n                    element.style.position = 'absolute';\n                }\n\n                return {\n                    x: element.offsetLeft,\n                    y: element.offsetTop,\n                    width: element.offsetWidth,\n                    height: element.offsetHeight\n                };\n            },\n\n            /**\n             * VML override private method to update elements based on internal\n             * properties based on SVG transform\n             */\n            htmlUpdateTransform: function() {\n                // aligning non added elements is expensive\n                if (!this.added) {\n                    this.alignOnAdd = true;\n                    return;\n                }\n\n                var wrapper = this,\n                    renderer = wrapper.renderer,\n                    elem = wrapper.element,\n                    translateX = wrapper.translateX || 0,\n                    translateY = wrapper.translateY || 0,\n                    x = wrapper.x || 0,\n                    y = wrapper.y || 0,\n                    align = wrapper.textAlign || 'left',\n                    alignCorrection = {\n                        left: 0,\n                        center: 0.5,\n                        right: 1\n                    }[align],\n                    styles = wrapper.styles;\n\n                // apply translate\n                css(elem, {\n                    marginLeft: translateX,\n                    marginTop: translateY\n                });\n\n\n                if (wrapper.shadows) { // used in labels/tooltip\n                    each(wrapper.shadows, function(shadow) {\n                        css(shadow, {\n                            marginLeft: translateX + 1,\n                            marginTop: translateY + 1\n                        });\n                    });\n                }\n\n\n                // apply inversion\n                if (wrapper.inverted) { // wrapper is a group\n                    each(elem.childNodes, function(child) {\n                        renderer.invertChild(child, elem);\n                    });\n                }\n\n                if (elem.tagName === 'SPAN') {\n\n                    var rotation = wrapper.rotation,\n                        baseline,\n                        textWidth = pInt(wrapper.textWidth),\n                        whiteSpace = styles && styles.whiteSpace,\n                        currentTextTransform = [rotation, align, elem.innerHTML, wrapper.textWidth, wrapper.textAlign].join(',');\n\n                    if (currentTextTransform !== wrapper.cTT) { // do the calculations and DOM access only if properties changed\n\n\n                        baseline = renderer.fontMetrics(elem.style.fontSize).b;\n\n                        // Renderer specific handling of span rotation\n                        if (defined(rotation)) {\n                            wrapper.setSpanRotation(rotation, alignCorrection, baseline);\n                        }\n\n                        // Reset multiline/ellipsis in order to read width (#4928, #5417)\n                        css(elem, {\n                            width: '',\n                            whiteSpace: whiteSpace || 'nowrap'\n                        });\n\n                        // Update textWidth\n                        if (elem.offsetWidth > textWidth && /[ \\-]/.test(elem.textContent || elem.innerText)) { // #983, #1254\n                            css(elem, {\n                                width: textWidth + 'px',\n                                display: 'block',\n                                whiteSpace: whiteSpace || 'normal' // #3331\n                            });\n                        }\n\n\n                        wrapper.getSpanCorrection(elem.offsetWidth, baseline, alignCorrection, rotation, align);\n                    }\n\n                    // apply position with correction\n                    css(elem, {\n                        left: (x + (wrapper.xCorr || 0)) + 'px',\n                        top: (y + (wrapper.yCorr || 0)) + 'px'\n                    });\n\n                    // force reflow in webkit to apply the left and top on useHTML element (#1249)\n                    if (isWebKit) {\n                        baseline = elem.offsetHeight; // assigned to baseline for lint purpose\n                    }\n\n                    // record current text transform\n                    wrapper.cTT = currentTextTransform;\n                }\n            },\n\n            /**\n             * Set the rotation of an individual HTML span\n             */\n            setSpanRotation: function(rotation, alignCorrection, baseline) {\n                var rotationStyle = {},\n                    cssTransformKey = isMS ? '-ms-transform' : isWebKit ? '-webkit-transform' : isFirefox ? 'MozTransform' : win.opera ? '-o-transform' : '';\n\n                rotationStyle[cssTransformKey] = rotationStyle.transform = 'rotate(' + rotation + 'deg)';\n                rotationStyle[cssTransformKey + (isFirefox ? 'Origin' : '-origin')] = rotationStyle.transformOrigin = (alignCorrection * 100) + '% ' + baseline + 'px';\n                css(this.element, rotationStyle);\n            },\n\n            /**\n             * Get the correction in X and Y positioning as the element is rotated.\n             */\n            getSpanCorrection: function(width, baseline, alignCorrection) {\n                this.xCorr = -width * alignCorrection;\n                this.yCorr = -baseline;\n            }\n        });\n\n        // Extend SvgRenderer for useHTML option.\n        extend(SVGRenderer.prototype, /** @lends SVGRenderer.prototype */ {\n            /**\n             * Create HTML text node. This is used by the VML renderer as well as the SVG\n             * renderer through the useHTML option.\n             *\n             * @param {String} str\n             * @param {Number} x\n             * @param {Number} y\n             */\n            html: function(str, x, y) {\n                var wrapper = this.createElement('span'),\n                    element = wrapper.element,\n                    renderer = wrapper.renderer,\n                    isSVG = renderer.isSVG,\n                    addSetters = function(element, style) {\n                        // These properties are set as attributes on the SVG group, and as\n                        // identical CSS properties on the div. (#3542)\n                        each(['opacity', 'visibility'], function(prop) {\n                            wrap(element, prop + 'Setter', function(proceed, value, key, elem) {\n                                proceed.call(this, value, key, elem);\n                                style[key] = value;\n                            });\n                        });\n                    };\n\n                // Text setter\n                wrapper.textSetter = function(value) {\n                    if (value !== element.innerHTML) {\n                        delete this.bBox;\n                    }\n                    element.innerHTML = this.textStr = value;\n                    wrapper.htmlUpdateTransform();\n                };\n\n                // Add setters for the element itself (#4938)\n                if (isSVG) { // #4938, only for HTML within SVG\n                    addSetters(wrapper, wrapper.element.style);\n                }\n\n                // Various setters which rely on update transform\n                wrapper.xSetter = wrapper.ySetter = wrapper.alignSetter = wrapper.rotationSetter = function(value, key) {\n                    if (key === 'align') {\n                        key = 'textAlign'; // Do not overwrite the SVGElement.align method. Same as VML.\n                    }\n                    wrapper[key] = value;\n                    wrapper.htmlUpdateTransform();\n                };\n\n                // Set the default attributes\n                wrapper\n                    .attr({\n                        text: str,\n                        x: Math.round(x),\n                        y: Math.round(y)\n                    })\n                    .css({\n\n                        fontFamily: this.style.fontFamily,\n                        fontSize: this.style.fontSize,\n\n                        position: 'absolute'\n                    });\n\n                // Keep the whiteSpace style outside the wrapper.styles collection\n                element.style.whiteSpace = 'nowrap';\n\n                // Use the HTML specific .css method\n                wrapper.css = wrapper.htmlCss;\n\n                // This is specific for HTML within SVG\n                if (isSVG) {\n                    wrapper.add = function(svgGroupWrapper) {\n\n                        var htmlGroup,\n                            container = renderer.box.parentNode,\n                            parentGroup,\n                            parents = [];\n\n                        this.parentGroup = svgGroupWrapper;\n\n                        // Create a mock group to hold the HTML elements\n                        if (svgGroupWrapper) {\n                            htmlGroup = svgGroupWrapper.div;\n                            if (!htmlGroup) {\n\n                                // Read the parent chain into an array and read from top down\n                                parentGroup = svgGroupWrapper;\n                                while (parentGroup) {\n\n                                    parents.push(parentGroup);\n\n                                    // Move up to the next parent group\n                                    parentGroup = parentGroup.parentGroup;\n                                }\n\n                                // Ensure dynamically updating position when any parent is translated\n                                each(parents.reverse(), function(parentGroup) {\n                                    var htmlGroupStyle,\n                                        cls = attr(parentGroup.element, 'class');\n\n                                    if (cls) {\n                                        cls = {\n                                            className: cls\n                                        };\n                                    } // else null\n\n                                    // Create a HTML div and append it to the parent div to emulate\n                                    // the SVG group structure\n                                    htmlGroup = parentGroup.div = parentGroup.div || createElement('div', cls, {\n                                        position: 'absolute',\n                                        left: (parentGroup.translateX || 0) + 'px',\n                                        top: (parentGroup.translateY || 0) + 'px',\n                                        display: parentGroup.display,\n                                        opacity: parentGroup.opacity, // #5075\n                                        pointerEvents: parentGroup.styles && parentGroup.styles.pointerEvents // #5595\n                                    }, htmlGroup || container); // the top group is appended to container\n\n                                    // Shortcut\n                                    htmlGroupStyle = htmlGroup.style;\n\n                                    // Set listeners to update the HTML div's position whenever the SVG group\n                                    // position is changed\n                                    extend(parentGroup, {\n                                        on: function() {\n                                            wrapper.on.apply({\n                                                element: parents[0].div\n                                            }, arguments);\n                                            return parentGroup;\n                                        },\n                                        translateXSetter: function(value, key) {\n                                            htmlGroupStyle.left = value + 'px';\n                                            parentGroup[key] = value;\n                                            parentGroup.doTransform = true;\n                                        },\n                                        translateYSetter: function(value, key) {\n                                            htmlGroupStyle.top = value + 'px';\n                                            parentGroup[key] = value;\n                                            parentGroup.doTransform = true;\n                                        }\n                                    });\n                                    addSetters(parentGroup, htmlGroupStyle);\n                                });\n\n                            }\n                        } else {\n                            htmlGroup = container;\n                        }\n\n                        htmlGroup.appendChild(element);\n\n                        // Shared with VML:\n                        wrapper.added = true;\n                        if (wrapper.alignOnAdd) {\n                            wrapper.htmlUpdateTransform();\n                        }\n\n                        return wrapper;\n                    };\n                }\n                return wrapper;\n            }\n        });\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n\n        var VMLRenderer,\n            VMLRendererExtension,\n            VMLElement,\n\n            createElement = H.createElement,\n            css = H.css,\n            defined = H.defined,\n            deg2rad = H.deg2rad,\n            discardElement = H.discardElement,\n            doc = H.doc,\n            each = H.each,\n            erase = H.erase,\n            extend = H.extend,\n            extendClass = H.extendClass,\n            isArray = H.isArray,\n            isNumber = H.isNumber,\n            isObject = H.isObject,\n            merge = H.merge,\n            noop = H.noop,\n            pick = H.pick,\n            pInt = H.pInt,\n            svg = H.svg,\n            SVGElement = H.SVGElement,\n            SVGRenderer = H.SVGRenderer,\n            win = H.win;\n\n        /* ****************************************************************************\n         *                                                                            *\n         * START OF INTERNET EXPLORER <= 8 SPECIFIC CODE                              *\n         *                                                                            *\n         * For applications and websites that don't need IE support, like platform    *\n         * targeted mobile apps and web apps, this code can be removed.               *\n         *                                                                            *\n         *****************************************************************************/\n\n        /**\n         * @constructor\n         */\n        if (!svg) {\n\n            /**\n             * The VML element wrapper.\n             */\n            VMLElement = {\n\n                docMode8: doc && doc.documentMode === 8,\n\n                /**\n                 * Initialize a new VML element wrapper. It builds the markup as a string\n                 * to minimize DOM traffic.\n                 * @param {Object} renderer\n                 * @param {Object} nodeName\n                 */\n                init: function(renderer, nodeName) {\n                    var wrapper = this,\n                        markup = ['<', nodeName, ' filled=\"f\" stroked=\"f\"'],\n                        style = ['position: ', 'absolute', ';'],\n                        isDiv = nodeName === 'div';\n\n                    // divs and shapes need size\n                    if (nodeName === 'shape' || isDiv) {\n                        style.push('left:0;top:0;width:1px;height:1px;');\n                    }\n                    style.push('visibility: ', isDiv ? 'hidden' : 'visible');\n\n                    markup.push(' style=\"', style.join(''), '\"/>');\n\n                    // create element with default attributes and style\n                    if (nodeName) {\n                        markup = isDiv || nodeName === 'span' || nodeName === 'img' ?\n                            markup.join('') :\n                            renderer.prepVML(markup);\n                        wrapper.element = createElement(markup);\n                    }\n\n                    wrapper.renderer = renderer;\n                },\n\n                /**\n                 * Add the node to the given parent\n                 * @param {Object} parent\n                 */\n                add: function(parent) {\n                    var wrapper = this,\n                        renderer = wrapper.renderer,\n                        element = wrapper.element,\n                        box = renderer.box,\n                        inverted = parent && parent.inverted,\n\n                        // get the parent node\n                        parentNode = parent ?\n                        parent.element || parent :\n                        box;\n\n                    if (parent) {\n                        this.parentGroup = parent;\n                    }\n\n                    // if the parent group is inverted, apply inversion on all children\n                    if (inverted) { // only on groups\n                        renderer.invertChild(element, parentNode);\n                    }\n\n                    // append it\n                    parentNode.appendChild(element);\n\n                    // align text after adding to be able to read offset\n                    wrapper.added = true;\n                    if (wrapper.alignOnAdd && !wrapper.deferUpdateTransform) {\n                        wrapper.updateTransform();\n                    }\n\n                    // fire an event for internal hooks\n                    if (wrapper.onAdd) {\n                        wrapper.onAdd();\n                    }\n\n                    // IE8 Standards can't set the class name before the element is appended\n                    if (this.className) {\n                        this.attr('class', this.className);\n                    }\n\n                    return wrapper;\n                },\n\n                /**\n                 * VML always uses htmlUpdateTransform\n                 */\n                updateTransform: SVGElement.prototype.htmlUpdateTransform,\n\n                /**\n                 * Set the rotation of a span with oldIE's filter\n                 */\n                setSpanRotation: function() {\n                    // Adjust for alignment and rotation. Rotation of useHTML content is not yet implemented\n                    // but it can probably be implemented for Firefox 3.5+ on user request. FF3.5+\n                    // has support for CSS3 transform. The getBBox method also needs to be updated\n                    // to compensate for the rotation, like it currently does for SVG.\n                    // Test case: http://jsfiddle.net/highcharts/Ybt44/\n\n                    var rotation = this.rotation,\n                        costheta = Math.cos(rotation * deg2rad),\n                        sintheta = Math.sin(rotation * deg2rad);\n\n                    css(this.element, {\n                        filter: rotation ? ['progid:DXImageTransform.Microsoft.Matrix(M11=', costheta,\n                            ', M12=', -sintheta, ', M21=', sintheta, ', M22=', costheta,\n                            ', sizingMethod=\\'auto expand\\')'\n                        ].join('') : 'none'\n                    });\n                },\n\n                /**\n                 * Get the positioning correction for the span after rotating.\n                 */\n                getSpanCorrection: function(width, baseline, alignCorrection, rotation, align) {\n\n                    var costheta = rotation ? Math.cos(rotation * deg2rad) : 1,\n                        sintheta = rotation ? Math.sin(rotation * deg2rad) : 0,\n                        height = pick(this.elemHeight, this.element.offsetHeight),\n                        quad,\n                        nonLeft = align && align !== 'left';\n\n                    // correct x and y\n                    this.xCorr = costheta < 0 && -width;\n                    this.yCorr = sintheta < 0 && -height;\n\n                    // correct for baseline and corners spilling out after rotation\n                    quad = costheta * sintheta < 0;\n                    this.xCorr += sintheta * baseline * (quad ? 1 - alignCorrection : alignCorrection);\n                    this.yCorr -= costheta * baseline * (rotation ? (quad ? alignCorrection : 1 - alignCorrection) : 1);\n                    // correct for the length/height of the text\n                    if (nonLeft) {\n                        this.xCorr -= width * alignCorrection * (costheta < 0 ? -1 : 1);\n                        if (rotation) {\n                            this.yCorr -= height * alignCorrection * (sintheta < 0 ? -1 : 1);\n                        }\n                        css(this.element, {\n                            textAlign: align\n                        });\n                    }\n                },\n\n                /**\n                 * Converts a subset of an SVG path definition to its VML counterpart. Takes an array\n                 * as the parameter and returns a string.\n                 */\n                pathToVML: function(value) {\n                    // convert paths\n                    var i = value.length,\n                        path = [];\n\n                    while (i--) {\n\n                        // Multiply by 10 to allow subpixel precision.\n                        // Substracting half a pixel seems to make the coordinates\n                        // align with SVG, but this hasn't been tested thoroughly\n                        if (isNumber(value[i])) {\n                            path[i] = Math.round(value[i] * 10) - 5;\n                        } else if (value[i] === 'Z') { // close the path\n                            path[i] = 'x';\n                        } else {\n                            path[i] = value[i];\n\n                            // When the start X and end X coordinates of an arc are too close,\n                            // they are rounded to the same value above. In this case, substract or\n                            // add 1 from the end X and Y positions. #186, #760, #1371, #1410.\n                            if (value.isArc && (value[i] === 'wa' || value[i] === 'at')) {\n                                // Start and end X\n                                if (path[i + 5] === path[i + 7]) {\n                                    path[i + 7] += value[i + 7] > value[i + 5] ? 1 : -1;\n                                }\n                                // Start and end Y\n                                if (path[i + 6] === path[i + 8]) {\n                                    path[i + 8] += value[i + 8] > value[i + 6] ? 1 : -1;\n                                }\n                            }\n                        }\n                    }\n\n\n                    // Loop up again to handle path shortcuts (#2132)\n                    /*while (i++ < path.length) {\n                    \tif (path[i] === 'H') { // horizontal line to\n                    \t\tpath[i] = 'L';\n                    \t\tpath.splice(i + 2, 0, path[i - 1]);\n                    \t} else if (path[i] === 'V') { // vertical line to\n                    \t\tpath[i] = 'L';\n                    \t\tpath.splice(i + 1, 0, path[i - 2]);\n                    \t}\n                    }*/\n                    return path.join(' ') || 'x';\n                },\n\n                /**\n                 * Set the element's clipping to a predefined rectangle\n                 *\n                 * @param {String} id The id of the clip rectangle\n                 */\n                clip: function(clipRect) {\n                    var wrapper = this,\n                        clipMembers,\n                        cssRet;\n\n                    if (clipRect) {\n                        clipMembers = clipRect.members;\n                        erase(clipMembers, wrapper); // Ensure unique list of elements (#1258)\n                        clipMembers.push(wrapper);\n                        wrapper.destroyClip = function() {\n                            erase(clipMembers, wrapper);\n                        };\n                        cssRet = clipRect.getCSS(wrapper);\n\n                    } else {\n                        if (wrapper.destroyClip) {\n                            wrapper.destroyClip();\n                        }\n                        cssRet = {\n                            clip: wrapper.docMode8 ? 'inherit' : 'rect(auto)'\n                        }; // #1214\n                    }\n\n                    return wrapper.css(cssRet);\n\n                },\n\n                /**\n                 * Set styles for the element\n                 * @param {Object} styles\n                 */\n                css: SVGElement.prototype.htmlCss,\n\n                /**\n                 * Removes a child either by removeChild or move to garbageBin.\n                 * Issue 490; in VML removeChild results in Orphaned nodes according to sIEve, discardElement does not.\n                 */\n                safeRemoveChild: function(element) {\n                    // discardElement will detach the node from its parent before attaching it\n                    // to the garbage bin. Therefore it is important that the node is attached and have parent.\n                    if (element.parentNode) {\n                        discardElement(element);\n                    }\n                },\n\n                /**\n                 * Extend element.destroy by removing it from the clip members array\n                 */\n                destroy: function() {\n                    if (this.destroyClip) {\n                        this.destroyClip();\n                    }\n\n                    return SVGElement.prototype.destroy.apply(this);\n                },\n\n                /**\n                 * Add an event listener. VML override for normalizing event parameters.\n                 * @param {String} eventType\n                 * @param {Function} handler\n                 */\n                on: function(eventType, handler) {\n                    // simplest possible event model for internal use\n                    this.element['on' + eventType] = function() {\n                        var evt = win.event;\n                        evt.target = evt.srcElement;\n                        handler(evt);\n                    };\n                    return this;\n                },\n\n                /**\n                 * In stacked columns, cut off the shadows so that they don't overlap\n                 */\n                cutOffPath: function(path, length) {\n\n                    var len;\n\n                    path = path.split(/[ ,]/); // The extra comma tricks the trailing comma remover in \"gulp scripts\" task\n                    len = path.length;\n\n                    if (len === 9 || len === 11) {\n                        path[len - 4] = path[len - 2] = pInt(path[len - 2]) - 10 * length;\n                    }\n                    return path.join(' ');\n                },\n\n                /**\n                 * Apply a drop shadow by copying elements and giving them different strokes\n                 * @param {Boolean|Object} shadowOptions\n                 */\n                shadow: function(shadowOptions, group, cutOff) {\n                    var shadows = [],\n                        i,\n                        element = this.element,\n                        renderer = this.renderer,\n                        shadow,\n                        elemStyle = element.style,\n                        markup,\n                        path = element.path,\n                        strokeWidth,\n                        modifiedPath,\n                        shadowWidth,\n                        shadowElementOpacity;\n\n                    // some times empty paths are not strings\n                    if (path && typeof path.value !== 'string') {\n                        path = 'x';\n                    }\n                    modifiedPath = path;\n\n                    if (shadowOptions) {\n                        shadowWidth = pick(shadowOptions.width, 3);\n                        shadowElementOpacity = (shadowOptions.opacity || 0.15) / shadowWidth;\n                        for (i = 1; i <= 3; i++) {\n\n                            strokeWidth = (shadowWidth * 2) + 1 - (2 * i);\n\n                            // Cut off shadows for stacked column items\n                            if (cutOff) {\n                                modifiedPath = this.cutOffPath(path.value, strokeWidth + 0.5);\n                            }\n\n                            markup = ['<shape isShadow=\"true\" strokeweight=\"', strokeWidth,\n                                '\" filled=\"false\" path=\"', modifiedPath,\n                                '\" coordsize=\"10 10\" style=\"', element.style.cssText, '\" />'\n                            ];\n\n                            shadow = createElement(renderer.prepVML(markup),\n                                null, {\n                                    left: pInt(elemStyle.left) + pick(shadowOptions.offsetX, 1),\n                                    top: pInt(elemStyle.top) + pick(shadowOptions.offsetY, 1)\n                                }\n                            );\n                            if (cutOff) {\n                                shadow.cutOff = strokeWidth + 1;\n                            }\n\n                            // apply the opacity\n                            markup = [\n                                '<stroke color=\"',\n                                shadowOptions.color || '#000000',\n                                '\" opacity=\"', shadowElementOpacity * i, '\"/>'\n                            ];\n                            createElement(renderer.prepVML(markup), null, null, shadow);\n\n\n                            // insert it\n                            if (group) {\n                                group.element.appendChild(shadow);\n                            } else {\n                                element.parentNode.insertBefore(shadow, element);\n                            }\n\n                            // record it\n                            shadows.push(shadow);\n\n                        }\n\n                        this.shadows = shadows;\n                    }\n                    return this;\n                },\n                updateShadows: noop, // Used in SVG only\n\n                setAttr: function(key, value) {\n                    if (this.docMode8) { // IE8 setAttribute bug\n                        this.element[key] = value;\n                    } else {\n                        this.element.setAttribute(key, value);\n                    }\n                },\n                classSetter: function(value) {\n                    // IE8 Standards mode has problems retrieving the className unless set like this.\n                    // IE8 Standards can't set the class name before the element is appended.\n                    (this.added ? this.element : this).className = value;\n                },\n                dashstyleSetter: function(value, key, element) {\n                    var strokeElem = element.getElementsByTagName('stroke')[0] ||\n                        createElement(this.renderer.prepVML(['<stroke/>']), null, null, element);\n                    strokeElem[key] = value || 'solid';\n                    this[key] = value;\n                    /* because changing stroke-width will change the dash length\n\t\t\t\tand cause an epileptic effect */\n                },\n                dSetter: function(value, key, element) {\n                    var i,\n                        shadows = this.shadows;\n                    value = value || [];\n                    this.d = value.join && value.join(' '); // used in getter for animation\n\n                    element.path = value = this.pathToVML(value);\n\n                    // update shadows\n                    if (shadows) {\n                        i = shadows.length;\n                        while (i--) {\n                            shadows[i].path = shadows[i].cutOff ? this.cutOffPath(value, shadows[i].cutOff) : value;\n                        }\n                    }\n                    this.setAttr(key, value);\n                },\n                fillSetter: function(value, key, element) {\n                    var nodeName = element.nodeName;\n                    if (nodeName === 'SPAN') { // text color\n                        element.style.color = value;\n                    } else if (nodeName !== 'IMG') { // #1336\n                        element.filled = value !== 'none';\n                        this.setAttr('fillcolor', this.renderer.color(value, element, key, this));\n                    }\n                },\n                'fill-opacitySetter': function(value, key, element) {\n                    createElement(\n                        this.renderer.prepVML(['<', key.split('-')[0], ' opacity=\"', value, '\"/>']),\n                        null,\n                        null,\n                        element\n                    );\n                },\n                opacitySetter: noop, // Don't bother - animation is too slow and filters introduce artifacts\n                rotationSetter: function(value, key, element) {\n                    var style = element.style;\n                    this[key] = style[key] = value; // style is for #1873\n\n                    // Correction for the 1x1 size of the shape container. Used in gauge needles.\n                    style.left = -Math.round(Math.sin(value * deg2rad) + 1) + 'px';\n                    style.top = Math.round(Math.cos(value * deg2rad)) + 'px';\n                },\n                strokeSetter: function(value, key, element) {\n                    this.setAttr('strokecolor', this.renderer.color(value, element, key, this));\n                },\n                'stroke-widthSetter': function(value, key, element) {\n                    element.stroked = !!value; // VML \"stroked\" attribute\n                    this[key] = value; // used in getter, issue #113\n                    if (isNumber(value)) {\n                        value += 'px';\n                    }\n                    this.setAttr('strokeweight', value);\n                },\n                titleSetter: function(value, key) {\n                    this.setAttr(key, value);\n                },\n                visibilitySetter: function(value, key, element) {\n\n                    // Handle inherited visibility\n                    if (value === 'inherit') {\n                        value = 'visible';\n                    }\n\n                    // Let the shadow follow the main element\n                    if (this.shadows) {\n                        each(this.shadows, function(shadow) {\n                            shadow.style[key] = value;\n                        });\n                    }\n\n                    // Instead of toggling the visibility CSS property, move the div out of the viewport.\n                    // This works around #61 and #586\n                    if (element.nodeName === 'DIV') {\n                        value = value === 'hidden' ? '-999em' : 0;\n\n                        // In order to redraw, IE7 needs the div to be visible when tucked away\n                        // outside the viewport. So the visibility is actually opposite of\n                        // the expected value. This applies to the tooltip only.\n                        if (!this.docMode8) {\n                            element.style[key] = value ? 'visible' : 'hidden';\n                        }\n                        key = 'top';\n                    }\n                    element.style[key] = value;\n                },\n                xSetter: function(value, key, element) {\n                    this[key] = value; // used in getter\n\n                    if (key === 'x') {\n                        key = 'left';\n                    } else if (key === 'y') {\n                        key = 'top';\n                    }\n                    /* else {\n                    \t\t\t\tvalue = Math.max(0, value); // don't set width or height below zero (#311)\n                    \t\t\t}*/\n\n                    // clipping rectangle special\n                    if (this.updateClipping) {\n                        this[key] = value; // the key is now 'left' or 'top' for 'x' and 'y'\n                        this.updateClipping();\n                    } else {\n                        // normal\n                        element.style[key] = value;\n                    }\n                },\n                zIndexSetter: function(value, key, element) {\n                    element.style[key] = value;\n                }\n            };\n            VMLElement['stroke-opacitySetter'] = VMLElement['fill-opacitySetter'];\n            H.VMLElement = VMLElement = extendClass(SVGElement, VMLElement);\n\n            // Some shared setters\n            VMLElement.prototype.ySetter =\n                VMLElement.prototype.widthSetter =\n                VMLElement.prototype.heightSetter =\n                VMLElement.prototype.xSetter;\n\n\n            /**\n             * The VML renderer\n             */\n            VMLRendererExtension = { // inherit SVGRenderer\n\n                Element: VMLElement,\n                isIE8: win.navigator.userAgent.indexOf('MSIE 8.0') > -1,\n\n\n                /**\n                 * Initialize the VMLRenderer\n                 * @param {Object} container\n                 * @param {Number} width\n                 * @param {Number} height\n                 */\n                init: function(container, width, height) {\n                    var renderer = this,\n                        boxWrapper,\n                        box,\n                        css;\n\n                    renderer.alignedObjects = [];\n\n                    boxWrapper = renderer.createElement('div')\n                        .css({\n                            position: 'relative'\n                        });\n                    box = boxWrapper.element;\n                    container.appendChild(boxWrapper.element);\n\n\n                    // generate the containing box\n                    renderer.isVML = true;\n                    renderer.box = box;\n                    renderer.boxWrapper = boxWrapper;\n                    renderer.gradients = {};\n                    renderer.cache = {}; // Cache for numerical bounding boxes\n                    renderer.cacheKeys = [];\n                    renderer.imgCount = 0;\n\n\n                    renderer.setSize(width, height, false);\n\n                    // The only way to make IE6 and IE7 print is to use a global namespace. However,\n                    // with IE8 the only way to make the dynamic shapes visible in screen and print mode\n                    // seems to be to add the xmlns attribute and the behaviour style inline.\n                    if (!doc.namespaces.hcv) {\n\n                        doc.namespaces.add('hcv', 'urn:schemas-microsoft-com:vml');\n\n                        // Setup default CSS (#2153, #2368, #2384)\n                        css = 'hcv\\\\:fill, hcv\\\\:path, hcv\\\\:shape, hcv\\\\:stroke' +\n                            '{ behavior:url(#default#VML); display: inline-block; } ';\n                        try {\n                            doc.createStyleSheet().cssText = css;\n                        } catch (e) {\n                            doc.styleSheets[0].cssText += css;\n                        }\n\n                    }\n                },\n\n\n                /**\n                 * Detect whether the renderer is hidden. This happens when one of the parent elements\n                 * has display: none\n                 */\n                isHidden: function() {\n                    return !this.box.offsetWidth;\n                },\n\n                /**\n                 * Define a clipping rectangle. In VML it is accomplished by storing the values\n                 * for setting the CSS style to all associated members.\n                 *\n                 * @param {Number} x\n                 * @param {Number} y\n                 * @param {Number} width\n                 * @param {Number} height\n                 */\n                clipRect: function(x, y, width, height) {\n\n                    // create a dummy element\n                    var clipRect = this.createElement(),\n                        isObj = isObject(x);\n\n                    // mimic a rectangle with its style object for automatic updating in attr\n                    return extend(clipRect, {\n                        members: [],\n                        count: 0,\n                        left: (isObj ? x.x : x) + 1,\n                        top: (isObj ? x.y : y) + 1,\n                        width: (isObj ? x.width : width) - 1,\n                        height: (isObj ? x.height : height) - 1,\n                        getCSS: function(wrapper) {\n                            var element = wrapper.element,\n                                nodeName = element.nodeName,\n                                isShape = nodeName === 'shape',\n                                inverted = wrapper.inverted,\n                                rect = this,\n                                top = rect.top - (isShape ? element.offsetTop : 0),\n                                left = rect.left,\n                                right = left + rect.width,\n                                bottom = top + rect.height,\n                                ret = {\n                                    clip: 'rect(' +\n                                        Math.round(inverted ? left : top) + 'px,' +\n                                        Math.round(inverted ? bottom : right) + 'px,' +\n                                        Math.round(inverted ? right : bottom) + 'px,' +\n                                        Math.round(inverted ? top : left) + 'px)'\n                                };\n\n                            // issue 74 workaround\n                            if (!inverted && wrapper.docMode8 && nodeName === 'DIV') {\n                                extend(ret, {\n                                    width: right + 'px',\n                                    height: bottom + 'px'\n                                });\n                            }\n                            return ret;\n                        },\n\n                        // used in attr and animation to update the clipping of all members\n                        updateClipping: function() {\n                            each(clipRect.members, function(member) {\n                                // Member.element is falsy on deleted series, like in\n                                // stock/members/series-remove demo. Should be removed\n                                // from members, but this will do.\n                                if (member.element) {\n                                    member.css(clipRect.getCSS(member));\n                                }\n                            });\n                        }\n                    });\n\n                },\n\n\n                /**\n                 * Take a color and return it if it's a string, make it a gradient if it's a\n                 * gradient configuration object, and apply opacity.\n                 *\n                 * @param {Object} color The color or config object\n                 */\n                color: function(color, elem, prop, wrapper) {\n                    var renderer = this,\n                        colorObject,\n                        regexRgba = /^rgba/,\n                        markup,\n                        fillType,\n                        ret = 'none';\n\n                    // Check for linear or radial gradient\n                    if (color && color.linearGradient) {\n                        fillType = 'gradient';\n                    } else if (color && color.radialGradient) {\n                        fillType = 'pattern';\n                    }\n\n\n                    if (fillType) {\n\n                        var stopColor,\n                            stopOpacity,\n                            gradient = color.linearGradient || color.radialGradient,\n                            x1,\n                            y1,\n                            x2,\n                            y2,\n                            opacity1,\n                            opacity2,\n                            color1,\n                            color2,\n                            fillAttr = '',\n                            stops = color.stops,\n                            firstStop,\n                            lastStop,\n                            colors = [],\n                            addFillNode = function() {\n                                // Add the fill subnode. When colors attribute is used, the meanings of opacity and o:opacity2\n                                // are reversed.\n                                markup = ['<fill colors=\"' + colors.join(',') +\n                                    '\" opacity=\"', opacity2, '\" o:opacity2=\"',\n                                    opacity1, '\" type=\"', fillType, '\" ', fillAttr,\n                                    'focus=\"100%\" method=\"any\" />'\n                                ];\n                                createElement(renderer.prepVML(markup), null, null, elem);\n                            };\n\n                        // Extend from 0 to 1\n                        firstStop = stops[0];\n                        lastStop = stops[stops.length - 1];\n                        if (firstStop[0] > 0) {\n                            stops.unshift([\n                                0,\n                                firstStop[1]\n                            ]);\n                        }\n                        if (lastStop[0] < 1) {\n                            stops.push([\n                                1,\n                                lastStop[1]\n                            ]);\n                        }\n\n                        // Compute the stops\n                        each(stops, function(stop, i) {\n                            if (regexRgba.test(stop[1])) {\n                                colorObject = H.color(stop[1]);\n                                stopColor = colorObject.get('rgb');\n                                stopOpacity = colorObject.get('a');\n                            } else {\n                                stopColor = stop[1];\n                                stopOpacity = 1;\n                            }\n\n                            // Build the color attribute\n                            colors.push((stop[0] * 100) + '% ' + stopColor);\n\n                            // Only start and end opacities are allowed, so we use the first and the last\n                            if (!i) {\n                                opacity1 = stopOpacity;\n                                color2 = stopColor;\n                            } else {\n                                opacity2 = stopOpacity;\n                                color1 = stopColor;\n                            }\n                        });\n\n                        // Apply the gradient to fills only.\n                        if (prop === 'fill') {\n\n                            // Handle linear gradient angle\n                            if (fillType === 'gradient') {\n                                x1 = gradient.x1 || gradient[0] || 0;\n                                y1 = gradient.y1 || gradient[1] || 0;\n                                x2 = gradient.x2 || gradient[2] || 0;\n                                y2 = gradient.y2 || gradient[3] || 0;\n                                fillAttr = 'angle=\"' + (90 - Math.atan(\n                                    (y2 - y1) / // y vector\n                                    (x2 - x1) // x vector\n                                ) * 180 / Math.PI) + '\"';\n\n                                addFillNode();\n\n                                // Radial (circular) gradient\n                            } else {\n\n                                var r = gradient.r,\n                                    sizex = r * 2,\n                                    sizey = r * 2,\n                                    cx = gradient.cx,\n                                    cy = gradient.cy,\n                                    radialReference = elem.radialReference,\n                                    bBox,\n                                    applyRadialGradient = function() {\n                                        if (radialReference) {\n                                            bBox = wrapper.getBBox();\n                                            cx += (radialReference[0] - bBox.x) / bBox.width - 0.5;\n                                            cy += (radialReference[1] - bBox.y) / bBox.height - 0.5;\n                                            sizex *= radialReference[2] / bBox.width;\n                                            sizey *= radialReference[2] / bBox.height;\n                                        }\n                                        fillAttr = 'src=\"' + H.getOptions().global.VMLRadialGradientURL + '\" ' +\n                                            'size=\"' + sizex + ',' + sizey + '\" ' +\n                                            'origin=\"0.5,0.5\" ' +\n                                            'position=\"' + cx + ',' + cy + '\" ' +\n                                            'color2=\"' + color2 + '\" ';\n\n                                        addFillNode();\n                                    };\n\n                                // Apply radial gradient\n                                if (wrapper.added) {\n                                    applyRadialGradient();\n                                } else {\n                                    // We need to know the bounding box to get the size and position right\n                                    wrapper.onAdd = applyRadialGradient;\n                                }\n\n                                // The fill element's color attribute is broken in IE8 standards mode, so we\n                                // need to set the parent shape's fillcolor attribute instead.\n                                ret = color1;\n                            }\n\n                            // Gradients are not supported for VML stroke, return the first color. #722.\n                        } else {\n                            ret = stopColor;\n                        }\n\n                        // If the color is an rgba color, split it and add a fill node\n                        // to hold the opacity component\n                    } else if (regexRgba.test(color) && elem.tagName !== 'IMG') {\n\n                        colorObject = H.color(color);\n\n                        wrapper[prop + '-opacitySetter'](colorObject.get('a'), prop, elem);\n\n                        ret = colorObject.get('rgb');\n\n\n                    } else {\n                        var propNodes = elem.getElementsByTagName(prop); // 'stroke' or 'fill' node\n                        if (propNodes.length) {\n                            propNodes[0].opacity = 1;\n                            propNodes[0].type = 'solid';\n                        }\n                        ret = color;\n                    }\n\n                    return ret;\n                },\n\n                /**\n                 * Take a VML string and prepare it for either IE8 or IE6/IE7.\n                 * @param {Array} markup A string array of the VML markup to prepare\n                 */\n                prepVML: function(markup) {\n                    var vmlStyle = 'display:inline-block;behavior:url(#default#VML);',\n                        isIE8 = this.isIE8;\n\n                    markup = markup.join('');\n\n                    if (isIE8) { // add xmlns and style inline\n                        markup = markup.replace('/>', ' xmlns=\"urn:schemas-microsoft-com:vml\" />');\n                        if (markup.indexOf('style=\"') === -1) {\n                            markup = markup.replace('/>', ' style=\"' + vmlStyle + '\" />');\n                        } else {\n                            markup = markup.replace('style=\"', 'style=\"' + vmlStyle);\n                        }\n\n                    } else { // add namespace\n                        markup = markup.replace('<', '<hcv:');\n                    }\n\n                    return markup;\n                },\n\n                /**\n                 * Create rotated and aligned text\n                 * @param {String} str\n                 * @param {Number} x\n                 * @param {Number} y\n                 */\n                text: SVGRenderer.prototype.html,\n\n                /**\n                 * Create and return a path element\n                 * @param {Array} path\n                 */\n                path: function(path) {\n                    var attr = {\n                        // subpixel precision down to 0.1 (width and height = 1px)\n                        coordsize: '10 10'\n                    };\n                    if (isArray(path)) {\n                        attr.d = path;\n                    } else if (isObject(path)) { // attributes\n                        extend(attr, path);\n                    }\n                    // create the shape\n                    return this.createElement('shape').attr(attr);\n                },\n\n                /**\n                 * Create and return a circle element. In VML circles are implemented as\n                 * shapes, which is faster than v:oval\n                 * @param {Number} x\n                 * @param {Number} y\n                 * @param {Number} r\n                 */\n                circle: function(x, y, r) {\n                    var circle = this.symbol('circle');\n                    if (isObject(x)) {\n                        r = x.r;\n                        y = x.y;\n                        x = x.x;\n                    }\n                    circle.isCircle = true; // Causes x and y to mean center (#1682)\n                    circle.r = r;\n                    return circle.attr({\n                        x: x,\n                        y: y\n                    });\n                },\n\n                /**\n                 * Create a group using an outer div and an inner v:group to allow rotating\n                 * and flipping. A simple v:group would have problems with positioning\n                 * child HTML elements and CSS clip.\n                 *\n                 * @param {String} name The name of the group\n                 */\n                g: function(name) {\n                    var wrapper,\n                        attribs;\n\n                    // set the class name\n                    if (name) {\n                        attribs = {\n                            'className': 'highcharts-' + name,\n                            'class': 'highcharts-' + name\n                        };\n                    }\n\n                    // the div to hold HTML and clipping\n                    wrapper = this.createElement('div').attr(attribs);\n\n                    return wrapper;\n                },\n\n                /**\n                 * VML override to create a regular HTML image\n                 * @param {String} src\n                 * @param {Number} x\n                 * @param {Number} y\n                 * @param {Number} width\n                 * @param {Number} height\n                 */\n                image: function(src, x, y, width, height) {\n                    var obj = this.createElement('img')\n                        .attr({\n                            src: src\n                        });\n\n                    if (arguments.length > 1) {\n                        obj.attr({\n                            x: x,\n                            y: y,\n                            width: width,\n                            height: height\n                        });\n                    }\n                    return obj;\n                },\n\n                /**\n                 * For rectangles, VML uses a shape for rect to overcome bugs and rotation problems\n                 */\n                createElement: function(nodeName) {\n                    return nodeName === 'rect' ?\n                        this.symbol(nodeName) :\n                        SVGRenderer.prototype.createElement.call(this, nodeName);\n                },\n\n                /**\n                 * In the VML renderer, each child of an inverted div (group) is inverted\n                 * @param {Object} element\n                 * @param {Object} parentNode\n                 */\n                invertChild: function(element, parentNode) {\n                    var ren = this,\n                        parentStyle = parentNode.style,\n                        imgStyle = element.tagName === 'IMG' && element.style; // #1111\n\n                    css(element, {\n                        flip: 'x',\n                        left: pInt(parentStyle.width) - (imgStyle ? pInt(imgStyle.top) : 1),\n                        top: pInt(parentStyle.height) - (imgStyle ? pInt(imgStyle.left) : 1),\n                        rotation: -90\n                    });\n\n                    // Recursively invert child elements, needed for nested composite\n                    // shapes like box plots and error bars. #1680, #1806.\n                    each(element.childNodes, function(child) {\n                        ren.invertChild(child, element);\n                    });\n                },\n\n                /**\n                 * Symbol definitions that override the parent SVG renderer's symbols\n                 *\n                 */\n                symbols: {\n                    // VML specific arc function\n                    arc: function(x, y, w, h, options) {\n                        var start = options.start,\n                            end = options.end,\n                            radius = options.r || w || h,\n                            innerRadius = options.innerR,\n                            cosStart = Math.cos(start),\n                            sinStart = Math.sin(start),\n                            cosEnd = Math.cos(end),\n                            sinEnd = Math.sin(end),\n                            ret;\n\n                        if (end - start === 0) { // no angle, don't show it.\n                            return ['x'];\n                        }\n\n                        ret = [\n                            'wa', // clockwise arc to\n                            x - radius, // left\n                            y - radius, // top\n                            x + radius, // right\n                            y + radius, // bottom\n                            x + radius * cosStart, // start x\n                            y + radius * sinStart, // start y\n                            x + radius * cosEnd, // end x\n                            y + radius * sinEnd // end y\n                        ];\n\n                        if (options.open && !innerRadius) {\n                            ret.push(\n                                'e',\n                                'M',\n                                x, // - innerRadius,\n                                y // - innerRadius\n                            );\n                        }\n\n                        ret.push(\n                            'at', // anti clockwise arc to\n                            x - innerRadius, // left\n                            y - innerRadius, // top\n                            x + innerRadius, // right\n                            y + innerRadius, // bottom\n                            x + innerRadius * cosEnd, // start x\n                            y + innerRadius * sinEnd, // start y\n                            x + innerRadius * cosStart, // end x\n                            y + innerRadius * sinStart, // end y\n                            'x', // finish path\n                            'e' // close\n                        );\n\n                        ret.isArc = true;\n                        return ret;\n\n                    },\n                    // Add circle symbol path. This performs significantly faster than v:oval.\n                    circle: function(x, y, w, h, wrapper) {\n\n                        if (wrapper && defined(wrapper.r)) {\n                            w = h = 2 * wrapper.r;\n                        }\n\n                        // Center correction, #1682\n                        if (wrapper && wrapper.isCircle) {\n                            x -= w / 2;\n                            y -= h / 2;\n                        }\n\n                        // Return the path\n                        return [\n                            'wa', // clockwisearcto\n                            x, // left\n                            y, // top\n                            x + w, // right\n                            y + h, // bottom\n                            x + w, // start x\n                            y + h / 2, // start y\n                            x + w, // end x\n                            y + h / 2, // end y\n                            //'x', // finish path\n                            'e' // close\n                        ];\n                    },\n                    /**\n                     * Add rectangle symbol path which eases rotation and omits arcsize problems\n                     * compared to the built-in VML roundrect shape. When borders are not rounded,\n                     * use the simpler square path, else use the callout path without the arrow.\n                     */\n                    rect: function(x, y, w, h, options) {\n                        return SVGRenderer.prototype.symbols[!defined(options) || !options.r ? 'square' : 'callout'].call(0, x, y, w, h, options);\n                    }\n                }\n            };\n            H.VMLRenderer = VMLRenderer = function() {\n                this.init.apply(this, arguments);\n            };\n            VMLRenderer.prototype = merge(SVGRenderer.prototype, VMLRendererExtension);\n\n            // general renderer\n            H.Renderer = VMLRenderer;\n        }\n\n        // This method is used with exporting in old IE, when emulating SVG (see #2314)\n        SVGRenderer.prototype.measureSpanWidth = function(text, styles) {\n            var measuringSpan = doc.createElement('span'),\n                offsetWidth,\n                textNode = doc.createTextNode(text);\n\n            measuringSpan.appendChild(textNode);\n            css(measuringSpan, styles);\n            this.box.appendChild(measuringSpan);\n            offsetWidth = measuringSpan.offsetWidth;\n            discardElement(measuringSpan); // #2463\n            return offsetWidth;\n        };\n\n\n        /* ****************************************************************************\n         *                                                                            *\n         * END OF INTERNET EXPLORER <= 8 SPECIFIC CODE                                *\n         *                                                                            *\n         *****************************************************************************/\n\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var color = H.color,\n            each = H.each,\n            getTZOffset = H.getTZOffset,\n            isTouchDevice = H.isTouchDevice,\n            merge = H.merge,\n            pick = H.pick,\n            svg = H.svg,\n            win = H.win;\n\n        /* ****************************************************************************\n         * Handle the options                                                         *\n         *****************************************************************************/\n        H.defaultOptions = {\n\n            colors: '#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1'.split(' '),\n\n            symbols: ['circle', 'diamond', 'square', 'triangle', 'triangle-down'],\n            lang: {\n                loading: 'Loading...',\n                months: [\n                    'January', 'February', 'March', 'April', 'May', 'June', 'July',\n                    'August', 'September', 'October', 'November', 'December'\n                ],\n                shortMonths: [\n                    'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul',\n                    'Aug', 'Sep', 'Oct', 'Nov', 'Dec'\n                ],\n                weekdays: [\n                    'Sunday', 'Monday', 'Tuesday', 'Wednesday',\n                    'Thursday', 'Friday', 'Saturday'\n                ],\n                // invalidDate: '',\n                decimalPoint: '.',\n                numericSymbols: ['k', 'M', 'G', 'T', 'P', 'E'], // SI prefixes used in axis labels\n                resetZoom: 'Reset zoom',\n                resetZoomTitle: 'Reset zoom level 1:1',\n                thousandsSep: ' '\n            },\n            global: {\n                useUTC: true,\n                //timezoneOffset: 0,\n\n                VMLRadialGradientURL: 'http://code.highcharts.com/5.0.10/gfx/vml-radial-gradient.png'\n\n            },\n            chart: {\n                //animation: true,\n                //alignTicks: false,\n                //reflow: true,\n                //className: null,\n                //events: { load, selection },\n                //margin: [null],\n                //marginTop: null,\n                //marginRight: null,\n                //marginBottom: null,\n                //marginLeft: null,\n                borderRadius: 0,\n\n                defaultSeriesType: 'line',\n                ignoreHiddenSeries: true,\n                //inverted: false,\n                spacing: [10, 10, 15, 10],\n                //spacingTop: 10,\n                //spacingRight: 10,\n                //spacingBottom: 15,\n                //spacingLeft: 10,\n                //zoomType: ''\n                resetZoomButton: {\n                    theme: {\n                        zIndex: 20\n                    },\n                    position: {\n                        align: 'right',\n                        x: -10,\n                        //verticalAlign: 'top',\n                        y: 10\n                    }\n                    // relativeTo: 'plot'\n                },\n                width: null,\n                height: null,\n\n\n                borderColor: '#335cad',\n                //borderWidth: 0,\n                //style: {\n                //\tfontFamily: '\"Lucida Grande\", \"Lucida Sans Unicode\", Verdana, Arial, Helvetica, sans-serif', // default font\n                //\tfontSize: '12px'\n                //},\n                backgroundColor: '#ffffff',\n                //plotBackgroundColor: null,\n                plotBorderColor: '#cccccc'\n                //plotBorderWidth: 0,\n                //plotShadow: false\n\n            },\n            title: {\n                text: 'Chart title',\n                align: 'center',\n                // floating: false,\n                margin: 15,\n                // x: 0,\n                // verticalAlign: 'top',\n                // y: null,\n                // style: {}, // defined inline\n                widthAdjust: -44\n\n            },\n            subtitle: {\n                text: '',\n                align: 'center',\n                // floating: false\n                // x: 0,\n                // verticalAlign: 'top',\n                // y: null,\n                // style: {}, // defined inline\n                widthAdjust: -44\n            },\n\n            plotOptions: {},\n            labels: {\n                //items: [],\n                style: {\n                    //font: defaultFont,\n                    position: 'absolute',\n                    color: '#333333'\n                }\n            },\n            legend: {\n                enabled: true,\n                align: 'center',\n                //floating: false,\n                layout: 'horizontal',\n                labelFormatter: function() {\n                    return this.name;\n                },\n                //borderWidth: 0,\n                borderColor: '#999999',\n                borderRadius: 0,\n                navigation: {\n\n                    activeColor: '#003399',\n                    inactiveColor: '#cccccc'\n\n                    // animation: true,\n                    // arrowSize: 12\n                    // style: {} // text styles\n                },\n                // margin: 20,\n                // reversed: false,\n                // backgroundColor: null,\n                /*style: {\n                \tpadding: '5px'\n                },*/\n\n                itemStyle: {\n                    color: '#333333',\n                    fontSize: '12px',\n                    fontWeight: 'bold'\n                },\n                itemHoverStyle: {\n                    //cursor: 'pointer', removed as of #601\n                    color: '#000000'\n                },\n                itemHiddenStyle: {\n                    color: '#cccccc'\n                },\n                shadow: false,\n\n                itemCheckboxStyle: {\n                    position: 'absolute',\n                    width: '13px', // for IE precision\n                    height: '13px'\n                },\n                // itemWidth: undefined,\n                squareSymbol: true,\n                // symbolRadius: 0,\n                // symbolWidth: 16,\n                symbolPadding: 5,\n                verticalAlign: 'bottom',\n                // width: undefined,\n                x: 0,\n                y: 0,\n                title: {\n                    //text: null,\n\n                    style: {\n                        fontWeight: 'bold'\n                    }\n\n                }\n            },\n\n            loading: {\n                // hideDuration: 100,\n                // showDuration: 0,\n\n                labelStyle: {\n                    fontWeight: 'bold',\n                    position: 'relative',\n                    top: '45%'\n                },\n                style: {\n                    position: 'absolute',\n                    backgroundColor: '#ffffff',\n                    opacity: 0.5,\n                    textAlign: 'center'\n                }\n\n            },\n\n            tooltip: {\n                enabled: true,\n                animation: svg,\n                //crosshairs: null,\n                borderRadius: 3,\n                dateTimeLabelFormats: {\n                    millisecond: '%A, %b %e, %H:%M:%S.%L',\n                    second: '%A, %b %e, %H:%M:%S',\n                    minute: '%A, %b %e, %H:%M',\n                    hour: '%A, %b %e, %H:%M',\n                    day: '%A, %b %e, %Y',\n                    week: 'Week from %A, %b %e, %Y',\n                    month: '%B %Y',\n                    year: '%Y'\n                },\n                footerFormat: '',\n                //formatter: defaultFormatter,\n                /* todo: em font-size when finished comparing against HC4\n                headerFormat: '<span style=\"font-size: 0.85em\">{point.key}</span><br/>',\n                */\n                padding: 8,\n\n                //shape: 'callout',\n                //shared: false,\n                snap: isTouchDevice ? 25 : 10,\n\n                backgroundColor: color('#f7f7f7').setOpacity(0.85).get(),\n                borderWidth: 1,\n                headerFormat: '<span style=\"font-size: 10px\">{point.key}</span><br/>',\n                pointFormat: '<span style=\"color:{point.color}\">\\u25CF</span> {series.name}: <b>{point.y}</b><br/>',\n                shadow: true,\n                style: {\n                    color: '#333333',\n                    cursor: 'default',\n                    fontSize: '12px',\n                    pointerEvents: 'none', // #1686 http://caniuse.com/#feat=pointer-events\n                    whiteSpace: 'nowrap'\n                }\n\n                //xDateFormat: '%A, %b %e, %Y',\n                //valueDecimals: null,\n                //valuePrefix: '',\n                //valueSuffix: ''\n            },\n\n            credits: {\n                enabled: true,\n                href: 'http://www.highcharts.com',\n                position: {\n                    align: 'right',\n                    x: -10,\n                    verticalAlign: 'bottom',\n                    y: -5\n                },\n\n                style: {\n                    cursor: 'pointer',\n                    color: '#999999',\n                    fontSize: '9px'\n                },\n\n                text: 'Highcharts.com'\n            }\n        };\n\n\n\n        /**\n         * Sets the getTimezoneOffset function. If the timezone option is set, a default\n         * getTimezoneOffset function with that timezone is returned. If not, the\n         * specified getTimezoneOffset function is returned. If neither are specified,\n         * undefined is returned.\n         * @return {function} a getTimezoneOffset function or undefined\n         */\n        function getTimezoneOffsetOption() {\n            var globalOptions = H.defaultOptions.global,\n                moment = win.moment;\n\n            if (globalOptions.timezone) {\n                if (!moment) {\n                    // getTimezoneOffset-function stays undefined because it depends on\n                    // Moment.js\n                    H.error(25);\n\n                } else {\n                    return function(timestamp) {\n                        return -moment.tz(\n                            timestamp,\n                            globalOptions.timezone\n                        ).utcOffset();\n                    };\n                }\n            }\n\n            // If not timezone is set, look for the getTimezoneOffset callback\n            return globalOptions.useUTC && globalOptions.getTimezoneOffset;\n        }\n\n        /**\n         * Set the time methods globally based on the useUTC option. Time method can be\n         *   either local time or UTC (default). It is called internally on initiating\n         *   Highcharts and after running `Highcharts.setOptions`.\n         *\n         * @private\n         */\n        function setTimeMethods() {\n            var globalOptions = H.defaultOptions.global,\n                Date,\n                useUTC = globalOptions.useUTC,\n                GET = useUTC ? 'getUTC' : 'get',\n                SET = useUTC ? 'setUTC' : 'set';\n\n            H.Date = Date = globalOptions.Date || win.Date; // Allow using a different Date class\n            Date.hcTimezoneOffset = useUTC && globalOptions.timezoneOffset;\n            Date.hcGetTimezoneOffset = getTimezoneOffsetOption();\n            Date.hcMakeTime = function(year, month, date, hours, minutes, seconds) {\n                var d;\n                if (useUTC) {\n                    d = Date.UTC.apply(0, arguments);\n                    d += getTZOffset(d);\n                } else {\n                    d = new Date(\n                        year,\n                        month,\n                        pick(date, 1),\n                        pick(hours, 0),\n                        pick(minutes, 0),\n                        pick(seconds, 0)\n                    ).getTime();\n                }\n                return d;\n            };\n            each(['Minutes', 'Hours', 'Day', 'Date', 'Month', 'FullYear'], function(s) {\n                Date['hcGet' + s] = GET + s;\n            });\n            each(['Milliseconds', 'Seconds', 'Minutes', 'Hours', 'Date', 'Month', 'FullYear'], function(s) {\n                Date['hcSet' + s] = SET + s;\n            });\n        }\n\n        /**\n         * Merge the default options with custom options and return the new options structure\n         * @param {Object} options The new custom options\n         */\n        H.setOptions = function(options) {\n\n            // Copy in the default options\n            H.defaultOptions = merge(true, H.defaultOptions, options);\n\n            // Apply UTC\n            setTimeMethods();\n\n            return H.defaultOptions;\n        };\n\n        /**\n         * Get the updated default options. Until 3.0.7, merely exposing defaultOptions for outside modules\n         * wasn't enough because the setOptions method created a new object.\n         */\n        H.getOptions = function() {\n            return H.defaultOptions;\n        };\n\n\n        // Series defaults\n        H.defaultPlotOptions = H.defaultOptions.plotOptions;\n\n        // set the default time methods\n        setTimeMethods();\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var arrayMax = H.arrayMax,\n            arrayMin = H.arrayMin,\n            defined = H.defined,\n            destroyObjectProperties = H.destroyObjectProperties,\n            each = H.each,\n            erase = H.erase,\n            merge = H.merge,\n            pick = H.pick;\n        /*\n         * The object wrapper for plot lines and plot bands\n         * @param {Object} options\n         */\n        H.PlotLineOrBand = function(axis, options) {\n            this.axis = axis;\n\n            if (options) {\n                this.options = options;\n                this.id = options.id;\n            }\n        };\n\n        H.PlotLineOrBand.prototype = {\n\n            /**\n             * Render the plot line or plot band. If it is already existing,\n             * move it.\n             */\n            render: function() {\n                var plotLine = this,\n                    axis = plotLine.axis,\n                    horiz = axis.horiz,\n                    options = plotLine.options,\n                    optionsLabel = options.label,\n                    label = plotLine.label,\n                    to = options.to,\n                    from = options.from,\n                    value = options.value,\n                    isBand = defined(from) && defined(to),\n                    isLine = defined(value),\n                    svgElem = plotLine.svgElem,\n                    isNew = !svgElem,\n                    path = [],\n                    addEvent,\n                    eventType,\n                    color = options.color,\n                    zIndex = pick(options.zIndex, 0),\n                    events = options.events,\n                    attribs = {\n                        'class': 'highcharts-plot-' + (isBand ? 'band ' : 'line ') + (options.className || '')\n                    },\n                    groupAttribs = {},\n                    renderer = axis.chart.renderer,\n                    groupName = isBand ? 'bands' : 'lines',\n                    group,\n                    log2lin = axis.log2lin;\n\n                // logarithmic conversion\n                if (axis.isLog) {\n                    from = log2lin(from);\n                    to = log2lin(to);\n                    value = log2lin(value);\n                }\n\n\n                // Set the presentational attributes\n                if (isLine) {\n                    attribs = {\n                        stroke: color,\n                        'stroke-width': options.width\n                    };\n                    if (options.dashStyle) {\n                        attribs.dashstyle = options.dashStyle;\n                    }\n\n                } else if (isBand) { // plot band\n                    if (color) {\n                        attribs.fill = color;\n                    }\n                    if (options.borderWidth) {\n                        attribs.stroke = options.borderColor;\n                        attribs['stroke-width'] = options.borderWidth;\n                    }\n                }\n\n\n                // Grouping and zIndex\n                groupAttribs.zIndex = zIndex;\n                groupName += '-' + zIndex;\n\n                group = axis.plotLinesAndBandsGroups[groupName];\n                if (!group) {\n                    axis.plotLinesAndBandsGroups[groupName] = group = renderer.g('plot-' + groupName)\n                        .attr(groupAttribs).add();\n                }\n\n                // Create the path\n                if (isNew) {\n                    plotLine.svgElem = svgElem =\n                        renderer\n                        .path()\n                        .attr(attribs).add(group);\n                }\n\n\n                // Set the path or return\n                if (isLine) {\n                    path = axis.getPlotLinePath(value, svgElem.strokeWidth());\n                } else if (isBand) { // plot band\n                    path = axis.getPlotBandPath(from, to, options);\n                } else {\n                    return;\n                }\n\n\n                // common for lines and bands\n                if (isNew && path && path.length) {\n                    svgElem.attr({\n                        d: path\n                    });\n\n                    // events\n                    if (events) {\n                        addEvent = function(eventType) {\n                            svgElem.on(eventType, function(e) {\n                                events[eventType].apply(plotLine, [e]);\n                            });\n                        };\n                        for (eventType in events) {\n                            addEvent(eventType);\n                        }\n                    }\n                } else if (svgElem) {\n                    if (path) {\n                        svgElem.show();\n                        svgElem.animate({\n                            d: path\n                        });\n                    } else {\n                        svgElem.hide();\n                        if (label) {\n                            plotLine.label = label = label.destroy();\n                        }\n                    }\n                }\n\n                // the plot band/line label\n                if (optionsLabel && defined(optionsLabel.text) && path && path.length &&\n                    axis.width > 0 && axis.height > 0 && !path.flat) {\n                    // apply defaults\n                    optionsLabel = merge({\n                        align: horiz && isBand && 'center',\n                        x: horiz ? !isBand && 4 : 10,\n                        verticalAlign: !horiz && isBand && 'middle',\n                        y: horiz ? isBand ? 16 : 10 : isBand ? 6 : -4,\n                        rotation: horiz && !isBand && 90\n                    }, optionsLabel);\n\n                    this.renderLabel(optionsLabel, path, isBand, zIndex);\n\n                } else if (label) { // move out of sight\n                    label.hide();\n                }\n\n                // chainable\n                return plotLine;\n            },\n\n            /**\n             * Render and align label for plot line or band.\n             */\n            renderLabel: function(optionsLabel, path, isBand, zIndex) {\n                var plotLine = this,\n                    label = plotLine.label,\n                    renderer = plotLine.axis.chart.renderer,\n                    attribs,\n                    xs,\n                    ys,\n                    x,\n                    y;\n\n                // add the SVG element\n                if (!label) {\n                    attribs = {\n                        align: optionsLabel.textAlign || optionsLabel.align,\n                        rotation: optionsLabel.rotation,\n                        'class': 'highcharts-plot-' + (isBand ? 'band' : 'line') + '-label ' + (optionsLabel.className || '')\n                    };\n\n                    attribs.zIndex = zIndex;\n\n                    plotLine.label = label = renderer.text(\n                            optionsLabel.text,\n                            0,\n                            0,\n                            optionsLabel.useHTML\n                        )\n                        .attr(attribs)\n                        .add();\n\n\n                    label.css(optionsLabel.style);\n\n                }\n\n                // get the bounding box and align the label\n                // #3000 changed to better handle choice between plotband or plotline\n                xs = [path[1], path[4], (isBand ? path[6] : path[1])];\n                ys = [path[2], path[5], (isBand ? path[7] : path[2])];\n                x = arrayMin(xs);\n                y = arrayMin(ys);\n\n                label.align(optionsLabel, false, {\n                    x: x,\n                    y: y,\n                    width: arrayMax(xs) - x,\n                    height: arrayMax(ys) - y\n                });\n                label.show();\n            },\n\n            /**\n             * Remove the plot line or band\n             */\n            destroy: function() {\n                // remove it from the lookup\n                erase(this.axis.plotLinesAndBands, this);\n\n                delete this.axis;\n                destroyObjectProperties(this);\n            }\n        };\n\n        /**\n         * Object with members for extending the Axis prototype\n         * @todo Extend directly instead of adding object to Highcharts first\n         */\n\n        H.AxisPlotLineOrBandExtension = {\n\n            /**\n             * Create the path for a plot band\n             */\n            getPlotBandPath: function(from, to) {\n                var toPath = this.getPlotLinePath(to, null, null, true),\n                    path = this.getPlotLinePath(from, null, null, true),\n                    // #4964 check if chart is inverted or plotband is on yAxis \n                    horiz = this.horiz,\n                    plus = 1,\n                    outside =\n                    (from < this.min && to < this.min) ||\n                    (from > this.max && to > this.max);\n\n                if (path && toPath) {\n\n                    // Flat paths don't need labels (#3836)\n                    if (outside) {\n                        path.flat = path.toString() === toPath.toString();\n                        plus = 0;\n                    }\n\n                    // Add 1 pixel, when coordinates are the same\n                    path.push(\n                        horiz && toPath[4] === path[4] ? toPath[4] + plus : toPath[4], !horiz && toPath[5] === path[5] ? toPath[5] + plus : toPath[5],\n                        horiz && toPath[1] === path[1] ? toPath[1] + plus : toPath[1], !horiz && toPath[2] === path[2] ? toPath[2] + plus : toPath[2]\n                    );\n                } else { // outside the axis area\n                    path = null;\n                }\n\n                return path;\n            },\n\n            addPlotBand: function(options) {\n                return this.addPlotBandOrLine(options, 'plotBands');\n            },\n\n            addPlotLine: function(options) {\n                return this.addPlotBandOrLine(options, 'plotLines');\n            },\n\n            /**\n             * Add a plot band or plot line after render time\n             *\n             * @param options {Object} The plotBand or plotLine configuration object\n             */\n            addPlotBandOrLine: function(options, coll) {\n                var obj = new H.PlotLineOrBand(this, options).render(),\n                    userOptions = this.userOptions;\n\n                if (obj) { // #2189\n                    // Add it to the user options for exporting and Axis.update\n                    if (coll) {\n                        userOptions[coll] = userOptions[coll] || [];\n                        userOptions[coll].push(options);\n                    }\n                    this.plotLinesAndBands.push(obj);\n                }\n\n                return obj;\n            },\n\n            /**\n             * Remove a plot band or plot line from the chart by id\n             * @param {Object} id\n             */\n            removePlotBandOrLine: function(id) {\n                var plotLinesAndBands = this.plotLinesAndBands,\n                    options = this.options,\n                    userOptions = this.userOptions,\n                    i = plotLinesAndBands.length;\n                while (i--) {\n                    if (plotLinesAndBands[i].id === id) {\n                        plotLinesAndBands[i].destroy();\n                    }\n                }\n                each([options.plotLines || [], userOptions.plotLines || [], options.plotBands || [], userOptions.plotBands || []], function(arr) {\n                    i = arr.length;\n                    while (i--) {\n                        if (arr[i].id === id) {\n                            erase(arr, arr[i]);\n                        }\n                    }\n                });\n            }\n        };\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var correctFloat = H.correctFloat,\n            defined = H.defined,\n            destroyObjectProperties = H.destroyObjectProperties,\n            isNumber = H.isNumber,\n            merge = H.merge,\n            pick = H.pick,\n            deg2rad = H.deg2rad;\n\n        /**\n         * The Tick class\n         */\n        H.Tick = function(axis, pos, type, noLabel) {\n            this.axis = axis;\n            this.pos = pos;\n            this.type = type || '';\n            this.isNew = true;\n\n            if (!type && !noLabel) {\n                this.addLabel();\n            }\n        };\n\n        H.Tick.prototype = {\n            /**\n             * Write the tick label\n             */\n            addLabel: function() {\n                var tick = this,\n                    axis = tick.axis,\n                    options = axis.options,\n                    chart = axis.chart,\n                    categories = axis.categories,\n                    names = axis.names,\n                    pos = tick.pos,\n                    labelOptions = options.labels,\n                    str,\n                    tickPositions = axis.tickPositions,\n                    isFirst = pos === tickPositions[0],\n                    isLast = pos === tickPositions[tickPositions.length - 1],\n                    value = categories ?\n                    pick(categories[pos], names[pos], pos) :\n                    pos,\n                    label = tick.label,\n                    tickPositionInfo = tickPositions.info,\n                    dateTimeLabelFormat;\n\n                // Set the datetime label format. If a higher rank is set for this position, use that. If not,\n                // use the general format.\n                if (axis.isDatetimeAxis && tickPositionInfo) {\n                    dateTimeLabelFormat =\n                        options.dateTimeLabelFormats[\n                            tickPositionInfo.higherRanks[pos] || tickPositionInfo.unitName\n                        ];\n                }\n                // set properties for access in render method\n                tick.isFirst = isFirst;\n                tick.isLast = isLast;\n\n                // get the string\n                str = axis.labelFormatter.call({\n                    axis: axis,\n                    chart: chart,\n                    isFirst: isFirst,\n                    isLast: isLast,\n                    dateTimeLabelFormat: dateTimeLabelFormat,\n                    value: axis.isLog ? correctFloat(axis.lin2log(value)) : value\n                });\n\n                // prepare CSS\n                //css = width && { width: Math.max(1, Math.round(width - 2 * (labelOptions.padding || 10))) + 'px' };\n\n                // first call\n                if (!defined(label)) {\n\n                    tick.label = label =\n                        defined(str) && labelOptions.enabled ?\n                        chart.renderer.text(\n                            str,\n                            0,\n                            0,\n                            labelOptions.useHTML\n                        )\n\n                        // without position absolute, IE export sometimes is wrong\n                        .css(merge(labelOptions.style))\n\n                        .add(axis.labelGroup) :\n                        null;\n                    tick.labelLength = label && label.getBBox().width; // Un-rotated length\n                    tick.rotation = 0; // Base value to detect change for new calls to getBBox\n\n                    // update\n                } else if (label) {\n                    label.attr({\n                        text: str\n                    });\n                }\n            },\n\n            /**\n             * Get the offset height or width of the label\n             */\n            getLabelSize: function() {\n                return this.label ?\n                    this.label.getBBox()[this.axis.horiz ? 'height' : 'width'] :\n                    0;\n            },\n\n            /**\n             * Handle the label overflow by adjusting the labels to the left and right edge, or\n             * hide them if they collide into the neighbour label.\n             */\n            handleOverflow: function(xy) {\n                var axis = this.axis,\n                    pxPos = xy.x,\n                    chartWidth = axis.chart.chartWidth,\n                    spacing = axis.chart.spacing,\n                    leftBound = pick(axis.labelLeft, Math.min(axis.pos, spacing[3])),\n                    rightBound = pick(axis.labelRight, Math.max(axis.pos + axis.len, chartWidth - spacing[1])),\n                    label = this.label,\n                    rotation = this.rotation,\n                    factor = {\n                        left: 0,\n                        center: 0.5,\n                        right: 1\n                    }[axis.labelAlign],\n                    labelWidth = label.getBBox().width,\n                    slotWidth = axis.getSlotWidth(),\n                    modifiedSlotWidth = slotWidth,\n                    xCorrection = factor,\n                    goRight = 1,\n                    leftPos,\n                    rightPos,\n                    textWidth,\n                    css = {};\n\n                // Check if the label overshoots the chart spacing box. If it does, move it.\n                // If it now overshoots the slotWidth, add ellipsis.\n                if (!rotation) {\n                    leftPos = pxPos - factor * labelWidth;\n                    rightPos = pxPos + (1 - factor) * labelWidth;\n\n                    if (leftPos < leftBound) {\n                        modifiedSlotWidth = xy.x + modifiedSlotWidth * (1 - factor) - leftBound;\n                    } else if (rightPos > rightBound) {\n                        modifiedSlotWidth = rightBound - xy.x + modifiedSlotWidth * factor;\n                        goRight = -1;\n                    }\n\n                    modifiedSlotWidth = Math.min(slotWidth, modifiedSlotWidth); // #4177\n                    if (modifiedSlotWidth < slotWidth && axis.labelAlign === 'center') {\n                        xy.x += goRight * (slotWidth - modifiedSlotWidth - xCorrection *\n                            (slotWidth - Math.min(labelWidth, modifiedSlotWidth)));\n                    }\n                    // If the label width exceeds the available space, set a text width to be\n                    // picked up below. Also, if a width has been set before, we need to set a new\n                    // one because the reported labelWidth will be limited by the box (#3938).\n                    if (labelWidth > modifiedSlotWidth || (axis.autoRotation && (label.styles || {}).width)) {\n                        textWidth = modifiedSlotWidth;\n                    }\n\n                    // Add ellipsis to prevent rotated labels to be clipped against the edge of the chart\n                } else if (rotation < 0 && pxPos - factor * labelWidth < leftBound) {\n                    textWidth = Math.round(pxPos / Math.cos(rotation * deg2rad) - leftBound);\n                } else if (rotation > 0 && pxPos + factor * labelWidth > rightBound) {\n                    textWidth = Math.round((chartWidth - pxPos) / Math.cos(rotation * deg2rad));\n                }\n\n                if (textWidth) {\n                    css.width = textWidth;\n                    if (!(axis.options.labels.style || {}).textOverflow) {\n                        css.textOverflow = 'ellipsis';\n                    }\n                    label.css(css);\n                }\n            },\n\n            /**\n             * Get the x and y position for ticks and labels\n             */\n            getPosition: function(horiz, pos, tickmarkOffset, old) {\n                var axis = this.axis,\n                    chart = axis.chart,\n                    cHeight = (old && chart.oldChartHeight) || chart.chartHeight;\n\n                return {\n                    x: horiz ?\n                        axis.translate(pos + tickmarkOffset, null, null, old) + axis.transB : axis.left + axis.offset +\n                        (axis.opposite ?\n                            ((old && chart.oldChartWidth) || chart.chartWidth) - axis.right - axis.left :\n                            0\n                        ),\n\n                    y: horiz ?\n                        cHeight - axis.bottom + axis.offset - (axis.opposite ? axis.height : 0) : cHeight - axis.translate(pos + tickmarkOffset, null, null, old) - axis.transB\n                };\n\n            },\n\n            /**\n             * Get the x, y position of the tick label\n             */\n            getLabelPosition: function(x, y, label, horiz, labelOptions, tickmarkOffset, index, step) {\n                var axis = this.axis,\n                    transA = axis.transA,\n                    reversed = axis.reversed,\n                    staggerLines = axis.staggerLines,\n                    rotCorr = axis.tickRotCorr || {\n                        x: 0,\n                        y: 0\n                    },\n                    yOffset = labelOptions.y,\n                    line;\n\n                if (!defined(yOffset)) {\n                    if (axis.side === 0) {\n                        yOffset = label.rotation ? -8 : -label.getBBox().height;\n                    } else if (axis.side === 2) {\n                        yOffset = rotCorr.y + 8;\n                    } else {\n                        // #3140, #3140\n                        yOffset = Math.cos(label.rotation * deg2rad) * (rotCorr.y - label.getBBox(false, 0).height / 2);\n                    }\n                }\n\n                x = x + labelOptions.x + rotCorr.x - (tickmarkOffset && horiz ?\n                    tickmarkOffset * transA * (reversed ? -1 : 1) : 0);\n                y = y + yOffset - (tickmarkOffset && !horiz ?\n                    tickmarkOffset * transA * (reversed ? 1 : -1) : 0);\n\n                // Correct for staggered labels\n                if (staggerLines) {\n                    line = (index / (step || 1) % staggerLines);\n                    if (axis.opposite) {\n                        line = staggerLines - line - 1;\n                    }\n                    y += line * (axis.labelOffset / staggerLines);\n                }\n\n                return {\n                    x: x,\n                    y: Math.round(y)\n                };\n            },\n\n            /**\n             * Extendible method to return the path of the marker\n             */\n            getMarkPath: function(x, y, tickLength, tickWidth, horiz, renderer) {\n                return renderer.crispLine([\n                    'M',\n                    x,\n                    y,\n                    'L',\n                    x + (horiz ? 0 : -tickLength),\n                    y + (horiz ? tickLength : 0)\n                ], tickWidth);\n            },\n\n            /**\n             * Renders the gridLine.\n             * @param  {Boolean} old         Whether or not the tick is old\n             * @param  {number} opacity      The opacity of the grid line\n             * @param  {number} reverseCrisp Modifier for avoiding overlapping 1 or -1\n             * @return {undefined}\n             */\n            renderGridLine: function(old, opacity, reverseCrisp) {\n                var tick = this,\n                    axis = tick.axis,\n                    options = axis.options,\n                    gridLine = tick.gridLine,\n                    gridLinePath,\n                    attribs = {},\n                    pos = tick.pos,\n                    type = tick.type,\n                    tickmarkOffset = axis.tickmarkOffset,\n                    renderer = axis.chart.renderer;\n\n\n                var gridPrefix = type ? type + 'Grid' : 'grid',\n                    gridLineWidth = options[gridPrefix + 'LineWidth'],\n                    gridLineColor = options[gridPrefix + 'LineColor'],\n                    dashStyle = options[gridPrefix + 'LineDashStyle'];\n\n\n                if (!gridLine) {\n\n                    attribs.stroke = gridLineColor;\n                    attribs['stroke-width'] = gridLineWidth;\n                    if (dashStyle) {\n                        attribs.dashstyle = dashStyle;\n                    }\n\n                    if (!type) {\n                        attribs.zIndex = 1;\n                    }\n                    if (old) {\n                        attribs.opacity = 0;\n                    }\n                    tick.gridLine = gridLine = renderer.path()\n                        .attr(attribs)\n                        .addClass(\n                            'highcharts-' + (type ? type + '-' : '') + 'grid-line'\n                        )\n                        .add(axis.gridGroup);\n                }\n\n                // If the parameter 'old' is set, the current call will be followed\n                // by another call, therefore do not do any animations this time\n                if (!old && gridLine) {\n                    gridLinePath = axis.getPlotLinePath(\n                        pos + tickmarkOffset,\n                        gridLine.strokeWidth() * reverseCrisp,\n                        old, true\n                    );\n                    if (gridLinePath) {\n                        gridLine[tick.isNew ? 'attr' : 'animate']({\n                            d: gridLinePath,\n                            opacity: opacity\n                        });\n                    }\n                }\n            },\n\n            /**\n             * Renders the tick mark.\n             * @param  {Object} xy           The position vector of the mark\n             * @param  {number} xy.x         The x position of the mark\n             * @param  {number} xy.y         The y position of the mark\n             * @param  {number} opacity      The opacity of the mark\n             * @param  {number} reverseCrisp Modifier for avoiding overlapping 1 or -1\n             * @return {undefined}\n             */\n            renderMark: function(xy, opacity, reverseCrisp) {\n                var tick = this,\n                    axis = tick.axis,\n                    options = axis.options,\n                    renderer = axis.chart.renderer,\n                    type = tick.type,\n                    tickPrefix = type ? type + 'Tick' : 'tick',\n                    tickSize = axis.tickSize(tickPrefix),\n                    mark = tick.mark,\n                    isNewMark = !mark,\n                    x = xy.x,\n                    y = xy.y;\n\n\n                var tickWidth = pick(\n                        options[tickPrefix + 'Width'], !type && axis.isXAxis ? 1 : 0\n                    ), // X axis defaults to 1\n                    tickColor = options[tickPrefix + 'Color'];\n\n\n                if (tickSize) {\n\n                    // negate the length\n                    if (axis.opposite) {\n                        tickSize[0] = -tickSize[0];\n                    }\n\n                    // First time, create it\n                    if (isNewMark) {\n                        tick.mark = mark = renderer.path()\n                            .addClass('highcharts-' + (type ? type + '-' : '') + 'tick')\n                            .add(axis.axisGroup);\n\n\n                        mark.attr({\n                            stroke: tickColor,\n                            'stroke-width': tickWidth\n                        });\n\n                    }\n                    mark[isNewMark ? 'attr' : 'animate']({\n                        d: tick.getMarkPath(\n                            x,\n                            y,\n                            tickSize[0],\n                            mark.strokeWidth() * reverseCrisp,\n                            axis.horiz,\n                            renderer),\n                        opacity: opacity\n                    });\n\n                }\n            },\n\n            /**\n             * Renders the tick label.\n             * Note: The label should already be created in init(), so it should only\n             * have to be moved into place.\n             * @param  {Object} xy      The position vector of the label\n             * @param  {number} xy.x    The x position of the label\n             * @param  {number} xy.y    The y position of the label\n             * @param  {Boolean} old    Whether or not the tick is old\n             * @param  {number} opacity The opacity of the label\n             * @param  {number} index   The index of the tick\n             * @return {undefined}\n             */\n            renderLabel: function(xy, old, opacity, index) {\n                var tick = this,\n                    axis = tick.axis,\n                    horiz = axis.horiz,\n                    options = axis.options,\n                    label = tick.label,\n                    labelOptions = options.labels,\n                    step = labelOptions.step,\n                    tickmarkOffset = axis.tickmarkOffset,\n                    show = true,\n                    x = xy.x,\n                    y = xy.y;\n                if (label && isNumber(x)) {\n                    label.xy = xy = tick.getLabelPosition(\n                        x,\n                        y,\n                        label,\n                        horiz,\n                        labelOptions,\n                        tickmarkOffset,\n                        index,\n                        step\n                    );\n\n                    // Apply show first and show last. If the tick is both first and\n                    // last, it is a single centered tick, in which case we show the\n                    // label anyway (#2100).\n                    if (\n                        (\n                            tick.isFirst &&\n                            !tick.isLast &&\n                            !pick(options.showFirstLabel, 1)\n                        ) ||\n                        (\n                            tick.isLast &&\n                            !tick.isFirst &&\n                            !pick(options.showLastLabel, 1)\n                        )\n                    ) {\n                        show = false;\n\n                        // Handle label overflow and show or hide accordingly\n                    } else if (horiz && !axis.isRadial && !labelOptions.step &&\n                        !labelOptions.rotation && !old && opacity !== 0) {\n                        tick.handleOverflow(xy);\n                    }\n\n                    // apply step\n                    if (step && index % step) {\n                        // show those indices dividable by step\n                        show = false;\n                    }\n\n                    // Set the new position, and show or hide\n                    if (show && isNumber(xy.y)) {\n                        xy.opacity = opacity;\n                        label[tick.isNew ? 'attr' : 'animate'](xy);\n                    } else {\n                        label.attr('y', -9999); // #1338\n                    }\n                    tick.isNew = false;\n                }\n            },\n\n            /**\n             * Put everything in place\n             *\n             * @param index {Number}\n             * @param old {Boolean} Use old coordinates to prepare an animation into new\n             *                      position\n             */\n            render: function(index, old, opacity) {\n                var tick = this,\n                    axis = tick.axis,\n                    horiz = axis.horiz,\n                    pos = tick.pos,\n                    tickmarkOffset = axis.tickmarkOffset,\n                    xy = tick.getPosition(horiz, pos, tickmarkOffset, old),\n                    x = xy.x,\n                    y = xy.y,\n                    reverseCrisp = ((horiz && x === axis.pos + axis.len) ||\n                        (!horiz && y === axis.pos)) ? -1 : 1; // #1480, #1687\n\n                opacity = pick(opacity, 1);\n                this.isActive = true;\n\n                // Create the grid line\n                this.renderGridLine(old, opacity, reverseCrisp);\n\n                // create the tick mark\n                this.renderMark(xy, opacity, reverseCrisp);\n\n                // the label is created on init - now move it into place\n                this.renderLabel(xy, old, opacity, index);\n            },\n\n            /**\n             * Destructor for the tick prototype\n             */\n            destroy: function() {\n                destroyObjectProperties(this, this.axis);\n            }\n        };\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n\n        var addEvent = H.addEvent,\n            animObject = H.animObject,\n            arrayMax = H.arrayMax,\n            arrayMin = H.arrayMin,\n            AxisPlotLineOrBandExtension = H.AxisPlotLineOrBandExtension,\n            color = H.color,\n            correctFloat = H.correctFloat,\n            defaultOptions = H.defaultOptions,\n            defined = H.defined,\n            deg2rad = H.deg2rad,\n            destroyObjectProperties = H.destroyObjectProperties,\n            each = H.each,\n            extend = H.extend,\n            fireEvent = H.fireEvent,\n            format = H.format,\n            getMagnitude = H.getMagnitude,\n            grep = H.grep,\n            inArray = H.inArray,\n            isArray = H.isArray,\n            isNumber = H.isNumber,\n            isString = H.isString,\n            merge = H.merge,\n            normalizeTickInterval = H.normalizeTickInterval,\n            pick = H.pick,\n            PlotLineOrBand = H.PlotLineOrBand,\n            removeEvent = H.removeEvent,\n            splat = H.splat,\n            syncTimeout = H.syncTimeout,\n            Tick = H.Tick;\n\n        /**\n         * Create a new axis object.\n         * @constructor Axis\n         * @param {Object} chart\n         * @param {Object} options\n         */\n        H.Axis = function() {\n            this.init.apply(this, arguments);\n        };\n\n        H.Axis.prototype = {\n\n            /**\n             * Default options for the X axis - the Y axis has extended defaults\n             */\n            defaultOptions: {\n                // allowDecimals: null,\n                // alternateGridColor: null,\n                // categories: [],\n                dateTimeLabelFormats: {\n                    millisecond: '%H:%M:%S.%L',\n                    second: '%H:%M:%S',\n                    minute: '%H:%M',\n                    hour: '%H:%M',\n                    day: '%e. %b',\n                    week: '%e. %b',\n                    month: '%b \\'%y',\n                    year: '%Y'\n                },\n                endOnTick: false,\n                // reversed: false,\n\n                labels: {\n                    enabled: true,\n                    // rotation: 0,\n                    // align: 'center',\n                    // step: null,\n\n                    style: {\n                        color: '#666666',\n                        cursor: 'default',\n                        fontSize: '11px'\n                    },\n\n                    x: 0\n                    //y: undefined\n                    /*formatter: function () {\n                    \treturn this.value;\n                    },*/\n                },\n                //linkedTo: null,\n                //max: undefined,\n                //min: undefined,\n                minPadding: 0.01,\n                maxPadding: 0.01,\n                //minRange: null,\n                //minorTickInterval: null,\n                minorTickLength: 2,\n                minorTickPosition: 'outside', // inside or outside\n                //opposite: false,\n                //offset: 0,\n                //plotBands: [{\n                //\tevents: {},\n                //\tzIndex: 1,\n                //\tlabels: { align, x, verticalAlign, y, style, rotation, textAlign }\n                //}],\n                //plotLines: [{\n                //\tevents: {}\n                //  dashStyle: {}\n                //\tzIndex:\n                //\tlabels: { align, x, verticalAlign, y, style, rotation, textAlign }\n                //}],\n                //reversed: false,\n                // showFirstLabel: true,\n                // showLastLabel: true,\n                startOfWeek: 1,\n                startOnTick: false,\n                //tickInterval: null,\n                tickLength: 10,\n                tickmarkPlacement: 'between', // on or between\n                tickPixelInterval: 100,\n                tickPosition: 'outside',\n                title: {\n                    //text: null,\n                    align: 'middle', // low, middle or high\n                    //margin: 0 for horizontal, 10 for vertical axes,\n                    //rotation: 0,\n                    //side: 'outside',\n\n                    style: {\n                        color: '#666666'\n                    }\n\n                    //x: 0,\n                    //y: 0\n                },\n                type: 'linear', // linear, logarithmic or datetime\n                //visible: true\n\n                minorGridLineColor: '#f2f2f2',\n                // minorGridLineDashStyle: null,\n                minorGridLineWidth: 1,\n                minorTickColor: '#999999',\n                //minorTickWidth: 0,\n                lineColor: '#ccd6eb',\n                lineWidth: 1,\n                gridLineColor: '#e6e6e6',\n                // gridLineDashStyle: 'solid',\n                // gridLineWidth: 0,\n                tickColor: '#ccd6eb'\n                // tickWidth: 1\n\n            },\n\n            /**\n             * This options set extends the defaultOptions for Y axes\n             */\n            defaultYAxisOptions: {\n                endOnTick: true,\n                tickPixelInterval: 72,\n                showLastLabel: true,\n                labels: {\n                    x: -8\n                },\n                maxPadding: 0.05,\n                minPadding: 0.05,\n                startOnTick: true,\n                title: {\n                    rotation: 270,\n                    text: 'Values'\n                },\n                stackLabels: {\n                    enabled: false,\n                    //align: dynamic,\n                    //y: dynamic,\n                    //x: dynamic,\n                    //verticalAlign: dynamic,\n                    //textAlign: dynamic,\n                    //rotation: 0,\n                    formatter: function() {\n                        return H.numberFormat(this.total, -1);\n                    },\n\n                    style: {\n                        fontSize: '11px',\n                        fontWeight: 'bold',\n                        color: '#000000',\n                        textOutline: '1px contrast'\n                    }\n\n                },\n\n                gridLineWidth: 1,\n                lineWidth: 0\n                // tickWidth: 0\n\n            },\n\n            /**\n             * These options extend the defaultOptions for left axes\n             */\n            defaultLeftAxisOptions: {\n                labels: {\n                    x: -15\n                },\n                title: {\n                    rotation: 270\n                }\n            },\n\n            /**\n             * These options extend the defaultOptions for right axes\n             */\n            defaultRightAxisOptions: {\n                labels: {\n                    x: 15\n                },\n                title: {\n                    rotation: 90\n                }\n            },\n\n            /**\n             * These options extend the defaultOptions for bottom axes\n             */\n            defaultBottomAxisOptions: {\n                labels: {\n                    autoRotation: [-45],\n                    x: 0\n                    // overflow: undefined,\n                    // staggerLines: null\n                },\n                title: {\n                    rotation: 0\n                }\n            },\n            /**\n             * These options extend the defaultOptions for top axes\n             */\n            defaultTopAxisOptions: {\n                labels: {\n                    autoRotation: [-45],\n                    x: 0\n                    // overflow: undefined\n                    // staggerLines: null\n                },\n                title: {\n                    rotation: 0\n                }\n            },\n\n            /**\n             * Initialize the axis\n             */\n            init: function(chart, userOptions) {\n\n\n                var isXAxis = userOptions.isX,\n                    axis = this;\n\n                axis.chart = chart;\n\n                // Flag, is the axis horizontal\n                axis.horiz = chart.inverted ? !isXAxis : isXAxis;\n\n                // Flag, isXAxis\n                axis.isXAxis = isXAxis;\n                axis.coll = axis.coll || (isXAxis ? 'xAxis' : 'yAxis');\n\n                axis.opposite = userOptions.opposite; // needed in setOptions\n                axis.side = userOptions.side || (axis.horiz ?\n                    (axis.opposite ? 0 : 2) : // top : bottom\n                    (axis.opposite ? 1 : 3)); // right : left\n\n                axis.setOptions(userOptions);\n\n\n                var options = this.options,\n                    type = options.type,\n                    isDatetimeAxis = type === 'datetime';\n\n                axis.labelFormatter = options.labels.formatter || axis.defaultLabelFormatter; // can be overwritten by dynamic format\n\n\n                // Flag, stagger lines or not\n                axis.userOptions = userOptions;\n\n                //axis.axisTitleMargin = undefined,// = options.title.margin,\n                axis.minPixelPadding = 0;\n\n                axis.reversed = options.reversed;\n                axis.visible = options.visible !== false;\n                axis.zoomEnabled = options.zoomEnabled !== false;\n\n                // Initial categories\n                axis.hasNames = type === 'category' || options.categories === true;\n                axis.categories = options.categories || axis.hasNames;\n                axis.names = axis.names || []; // Preserve on update (#3830)\n\n                // Elements\n                //axis.axisGroup = undefined;\n                //axis.gridGroup = undefined;\n                //axis.axisTitle = undefined;\n                //axis.axisLine = undefined;\n\n                // Placeholder for plotlines and plotbands groups\n                axis.plotLinesAndBandsGroups = {};\n\n                // Shorthand types\n                axis.isLog = type === 'logarithmic';\n                axis.isDatetimeAxis = isDatetimeAxis;\n                axis.positiveValuesOnly = axis.isLog && !axis.allowNegativeLog;\n\n                // Flag, if axis is linked to another axis\n                axis.isLinked = defined(options.linkedTo);\n                // Linked axis.\n                //axis.linkedParent = undefined;\n\n                // Tick positions\n                //axis.tickPositions = undefined; // array containing predefined positions\n                // Tick intervals\n                //axis.tickInterval = undefined;\n                //axis.minorTickInterval = undefined;\n\n\n                // Major ticks\n                axis.ticks = {};\n                axis.labelEdge = [];\n                // Minor ticks\n                axis.minorTicks = {};\n\n                // List of plotLines/Bands\n                axis.plotLinesAndBands = [];\n\n                // Alternate bands\n                axis.alternateBands = {};\n\n                // Axis metrics\n                //axis.left = undefined;\n                //axis.top = undefined;\n                //axis.width = undefined;\n                //axis.height = undefined;\n                //axis.bottom = undefined;\n                //axis.right = undefined;\n                //axis.transA = undefined;\n                //axis.transB = undefined;\n                //axis.oldTransA = undefined;\n                axis.len = 0;\n                //axis.oldMin = undefined;\n                //axis.oldMax = undefined;\n                //axis.oldUserMin = undefined;\n                //axis.oldUserMax = undefined;\n                //axis.oldAxisLength = undefined;\n                axis.minRange = axis.userMinRange = options.minRange || options.maxZoom;\n                axis.range = options.range;\n                axis.offset = options.offset || 0;\n\n\n                // Dictionary for stacks\n                axis.stacks = {};\n                axis.oldStacks = {};\n                axis.stacksTouched = 0;\n\n                // Min and max in the data\n                //axis.dataMin = undefined,\n                //axis.dataMax = undefined,\n\n                // The axis range\n                axis.max = null;\n                axis.min = null;\n\n                // User set min and max\n                //axis.userMin = undefined,\n                //axis.userMax = undefined,\n\n                // Crosshair options\n                axis.crosshair = pick(options.crosshair, splat(chart.options.tooltip.crosshairs)[isXAxis ? 0 : 1], false);\n                // Run Axis\n\n                var eventType,\n                    events = axis.options.events;\n\n                // Register\n                if (inArray(axis, chart.axes) === -1) { // don't add it again on Axis.update()\n                    if (isXAxis) { // #2713\n                        chart.axes.splice(chart.xAxis.length, 0, axis);\n                    } else {\n                        chart.axes.push(axis);\n                    }\n\n                    chart[axis.coll].push(axis);\n                }\n\n                axis.series = axis.series || []; // populated by Series\n\n                // inverted charts have reversed xAxes as default\n                if (chart.inverted && isXAxis && axis.reversed === undefined) {\n                    axis.reversed = true;\n                }\n\n                axis.removePlotBand = axis.removePlotBandOrLine;\n                axis.removePlotLine = axis.removePlotBandOrLine;\n\n\n                // register event listeners\n                for (eventType in events) {\n                    addEvent(axis, eventType, events[eventType]);\n                }\n\n                // extend logarithmic axis\n                axis.lin2log = options.linearToLogConverter || axis.lin2log;\n                if (axis.isLog) {\n                    axis.val2lin = axis.log2lin;\n                    axis.lin2val = axis.lin2log;\n                }\n            },\n\n            /**\n             * Merge and set options\n             */\n            setOptions: function(userOptions) {\n                this.options = merge(\n                    this.defaultOptions,\n                    this.coll === 'yAxis' && this.defaultYAxisOptions, [this.defaultTopAxisOptions, this.defaultRightAxisOptions,\n                        this.defaultBottomAxisOptions, this.defaultLeftAxisOptions\n                    ][this.side],\n                    merge(\n                        defaultOptions[this.coll], // if set in setOptions (#1053)\n                        userOptions\n                    )\n                );\n            },\n\n            /**\n             * The default label formatter. The context is a special config object for the label.\n             */\n            defaultLabelFormatter: function() {\n                var axis = this.axis,\n                    value = this.value,\n                    categories = axis.categories,\n                    dateTimeLabelFormat = this.dateTimeLabelFormat,\n                    lang = defaultOptions.lang,\n                    numericSymbols = lang.numericSymbols,\n                    numSymMagnitude = lang.numericSymbolMagnitude || 1000,\n                    i = numericSymbols && numericSymbols.length,\n                    multi,\n                    ret,\n                    formatOption = axis.options.labels.format,\n\n                    // make sure the same symbol is added for all labels on a linear axis\n                    numericSymbolDetector = axis.isLog ? Math.abs(value) : axis.tickInterval;\n\n                if (formatOption) {\n                    ret = format(formatOption, this);\n\n                } else if (categories) {\n                    ret = value;\n\n                } else if (dateTimeLabelFormat) { // datetime axis\n                    ret = H.dateFormat(dateTimeLabelFormat, value);\n\n                } else if (i && numericSymbolDetector >= 1000) {\n                    // Decide whether we should add a numeric symbol like k (thousands) or M (millions).\n                    // If we are to enable this in tooltip or other places as well, we can move this\n                    // logic to the numberFormatter and enable it by a parameter.\n                    while (i-- && ret === undefined) {\n                        multi = Math.pow(numSymMagnitude, i + 1);\n                        if (numericSymbolDetector >= multi && (value * 10) % multi === 0 && numericSymbols[i] !== null && value !== 0) { // #5480\n                            ret = H.numberFormat(value / multi, -1) + numericSymbols[i];\n                        }\n                    }\n                }\n\n                if (ret === undefined) {\n                    if (Math.abs(value) >= 10000) { // add thousands separators\n                        ret = H.numberFormat(value, -1);\n                    } else { // small numbers\n                        ret = H.numberFormat(value, -1, undefined, ''); // #2466\n                    }\n                }\n\n                return ret;\n            },\n\n            /**\n             * Get the minimum and maximum for the series of each axis\n             */\n            getSeriesExtremes: function() {\n                var axis = this,\n                    chart = axis.chart;\n                axis.hasVisibleSeries = false;\n\n                // Reset properties in case we're redrawing (#3353)\n                axis.dataMin = axis.dataMax = axis.threshold = null;\n                axis.softThreshold = !axis.isXAxis;\n\n                if (axis.buildStacks) {\n                    axis.buildStacks();\n                }\n\n                // loop through this axis' series\n                each(axis.series, function(series) {\n\n                    if (series.visible || !chart.options.chart.ignoreHiddenSeries) {\n\n                        var seriesOptions = series.options,\n                            xData,\n                            threshold = seriesOptions.threshold,\n                            seriesDataMin,\n                            seriesDataMax;\n\n                        axis.hasVisibleSeries = true;\n\n                        // Validate threshold in logarithmic axes\n                        if (axis.positiveValuesOnly && threshold <= 0) {\n                            threshold = null;\n                        }\n\n                        // Get dataMin and dataMax for X axes\n                        if (axis.isXAxis) {\n                            xData = series.xData;\n                            if (xData.length) {\n                                // If xData contains values which is not numbers, then filter them out.\n                                // To prevent performance hit, we only do this after we have already\n                                // found seriesDataMin because in most cases all data is valid. #5234.\n                                seriesDataMin = arrayMin(xData);\n                                if (!isNumber(seriesDataMin) && !(seriesDataMin instanceof Date)) { // Date for #5010\n                                    xData = grep(xData, function(x) {\n                                        return isNumber(x);\n                                    });\n                                    seriesDataMin = arrayMin(xData); // Do it again with valid data\n                                }\n\n                                axis.dataMin = Math.min(pick(axis.dataMin, xData[0]), seriesDataMin);\n                                axis.dataMax = Math.max(pick(axis.dataMax, xData[0]), arrayMax(xData));\n\n                            }\n\n                            // Get dataMin and dataMax for Y axes, as well as handle stacking and processed data\n                        } else {\n\n                            // Get this particular series extremes\n                            series.getExtremes();\n                            seriesDataMax = series.dataMax;\n                            seriesDataMin = series.dataMin;\n\n                            // Get the dataMin and dataMax so far. If percentage is used, the min and max are\n                            // always 0 and 100. If seriesDataMin and seriesDataMax is null, then series\n                            // doesn't have active y data, we continue with nulls\n                            if (defined(seriesDataMin) && defined(seriesDataMax)) {\n                                axis.dataMin = Math.min(pick(axis.dataMin, seriesDataMin), seriesDataMin);\n                                axis.dataMax = Math.max(pick(axis.dataMax, seriesDataMax), seriesDataMax);\n                            }\n\n                            // Adjust to threshold\n                            if (defined(threshold)) {\n                                axis.threshold = threshold;\n                            }\n                            // If any series has a hard threshold, it takes precedence\n                            if (!seriesOptions.softThreshold || axis.positiveValuesOnly) {\n                                axis.softThreshold = false;\n                            }\n                        }\n                    }\n                });\n            },\n\n            /**\n             * Translate from axis value to pixel position on the chart, or back\n             *\n             */\n            translate: function(val, backwards, cvsCoord, old, handleLog, pointPlacement) {\n                var axis = this.linkedParent || this, // #1417\n                    sign = 1,\n                    cvsOffset = 0,\n                    localA = old ? axis.oldTransA : axis.transA,\n                    localMin = old ? axis.oldMin : axis.min,\n                    returnValue,\n                    minPixelPadding = axis.minPixelPadding,\n                    doPostTranslate = (axis.isOrdinal || axis.isBroken || (axis.isLog && handleLog)) && axis.lin2val;\n\n                if (!localA) {\n                    localA = axis.transA;\n                }\n\n                // In vertical axes, the canvas coordinates start from 0 at the top like in\n                // SVG.\n                if (cvsCoord) {\n                    sign *= -1; // canvas coordinates inverts the value\n                    cvsOffset = axis.len;\n                }\n\n                // Handle reversed axis\n                if (axis.reversed) {\n                    sign *= -1;\n                    cvsOffset -= sign * (axis.sector || axis.len);\n                }\n\n                // From pixels to value\n                if (backwards) { // reverse translation\n\n                    val = val * sign + cvsOffset;\n                    val -= minPixelPadding;\n                    returnValue = val / localA + localMin; // from chart pixel to value\n                    if (doPostTranslate) { // log and ordinal axes\n                        returnValue = axis.lin2val(returnValue);\n                    }\n\n                    // From value to pixels\n                } else {\n                    if (doPostTranslate) { // log and ordinal axes\n                        val = axis.val2lin(val);\n                    }\n                    returnValue = sign * (val - localMin) * localA + cvsOffset +\n                        (sign * minPixelPadding) +\n                        (isNumber(pointPlacement) ? localA * pointPlacement : 0);\n                }\n\n                return returnValue;\n            },\n\n            /**\n             * Utility method to translate an axis value to pixel position.\n             * @param {Number} value A value in terms of axis units\n             * @param {Boolean} paneCoordinates Whether to return the pixel coordinate relative to the chart\n             *        or just the axis/pane itself.\n             */\n            toPixels: function(value, paneCoordinates) {\n                return this.translate(value, false, !this.horiz, null, true) + (paneCoordinates ? 0 : this.pos);\n            },\n\n            /**\n             * Utility method to translate a pixel position in to an axis value.\n             * @param {Number} pixel The pixel value coordinate\n             * @param {Boolean} paneCoordiantes Whether the input pixel is relative to the chart or just the\n             *        axis/pane itself.\n             */\n            toValue: function(pixel, paneCoordinates) {\n                return this.translate(pixel - (paneCoordinates ? 0 : this.pos), true, !this.horiz, null, true);\n            },\n\n            /**\n             * Create the path for a plot line that goes from the given value on\n             * this axis, across the plot to the opposite side\n             * @param {Number} value\n             * @param {Number} lineWidth Used for calculation crisp line\n             * @param {Number] old Use old coordinates (for resizing and rescaling)\n             */\n            getPlotLinePath: function(value, lineWidth, old, force, translatedValue) {\n                var axis = this,\n                    chart = axis.chart,\n                    axisLeft = axis.left,\n                    axisTop = axis.top,\n                    x1,\n                    y1,\n                    x2,\n                    y2,\n                    cHeight = (old && chart.oldChartHeight) || chart.chartHeight,\n                    cWidth = (old && chart.oldChartWidth) || chart.chartWidth,\n                    skip,\n                    transB = axis.transB,\n                    /**\n                     * Check if x is between a and b. If not, either move to a/b or skip,\n                     * depending on the force parameter.\n                     */\n                    between = function(x, a, b) {\n                        if (x < a || x > b) {\n                            if (force) {\n                                x = Math.min(Math.max(a, x), b);\n                            } else {\n                                skip = true;\n                            }\n                        }\n                        return x;\n                    };\n\n                translatedValue = pick(translatedValue, axis.translate(value, null, null, old));\n                x1 = x2 = Math.round(translatedValue + transB);\n                y1 = y2 = Math.round(cHeight - translatedValue - transB);\n                if (!isNumber(translatedValue)) { // no min or max\n                    skip = true;\n\n                } else if (axis.horiz) {\n                    y1 = axisTop;\n                    y2 = cHeight - axis.bottom;\n                    x1 = x2 = between(x1, axisLeft, axisLeft + axis.width);\n                } else {\n                    x1 = axisLeft;\n                    x2 = cWidth - axis.right;\n                    y1 = y2 = between(y1, axisTop, axisTop + axis.height);\n                }\n                return skip && !force ?\n                    null :\n                    chart.renderer.crispLine(['M', x1, y1, 'L', x2, y2], lineWidth || 1);\n            },\n\n            /**\n             * Set the tick positions of a linear axis to round values like whole tens or every five.\n             */\n            getLinearTickPositions: function(tickInterval, min, max) {\n                var pos,\n                    lastPos,\n                    roundedMin = correctFloat(Math.floor(min / tickInterval) * tickInterval),\n                    roundedMax = correctFloat(Math.ceil(max / tickInterval) * tickInterval),\n                    tickPositions = [];\n\n                // For single points, add a tick regardless of the relative position\n                // (#2662, #6274)\n                if (this.single) {\n                    return [min];\n                }\n\n                // Populate the intermediate values\n                pos = roundedMin;\n                while (pos <= roundedMax) {\n\n                    // Place the tick on the rounded value\n                    tickPositions.push(pos);\n\n                    // Always add the raw tickInterval, not the corrected one.\n                    pos = correctFloat(pos + tickInterval);\n\n                    // If the interval is not big enough in the current min - max range to actually increase\n                    // the loop variable, we need to break out to prevent endless loop. Issue #619\n                    if (pos === lastPos) {\n                        break;\n                    }\n\n                    // Record the last value\n                    lastPos = pos;\n                }\n                return tickPositions;\n            },\n\n            /**\n             * Return the minor tick positions. For logarithmic axes, reuse the same logic\n             * as for major ticks.\n             */\n            getMinorTickPositions: function() {\n                var axis = this,\n                    options = axis.options,\n                    tickPositions = axis.tickPositions,\n                    minorTickInterval = axis.minorTickInterval,\n                    minorTickPositions = [],\n                    pos,\n                    pointRangePadding = axis.pointRangePadding || 0,\n                    min = axis.min - pointRangePadding, // #1498\n                    max = axis.max + pointRangePadding, // #1498\n                    range = max - min;\n\n                // If minor ticks get too dense, they are hard to read, and may cause long running script. So we don't draw them.\n                if (range && range / minorTickInterval < axis.len / 3) { // #3875\n\n                    if (axis.isLog) {\n                        // For each interval in the major ticks, compute the minor ticks\n                        // separately.\n                        each(this.paddedTicks, function(pos, i, paddedTicks) {\n                            if (i) {\n                                minorTickPositions.push.apply(\n                                    minorTickPositions,\n                                    axis.getLogTickPositions(\n                                        minorTickInterval,\n                                        paddedTicks[i - 1],\n                                        paddedTicks[i],\n                                        true\n                                    )\n                                );\n                            }\n                        });\n\n                    } else if (axis.isDatetimeAxis && options.minorTickInterval === 'auto') { // #1314\n                        minorTickPositions = minorTickPositions.concat(\n                            axis.getTimeTicks(\n                                axis.normalizeTimeTickInterval(minorTickInterval),\n                                min,\n                                max,\n                                options.startOfWeek\n                            )\n                        );\n                    } else {\n                        for (\n                            pos = min + (tickPositions[0] - min) % minorTickInterval; pos <= max; pos += minorTickInterval\n                        ) {\n                            // Very, very, tight grid lines (#5771)\n                            if (pos === minorTickPositions[0]) {\n                                break;\n                            }\n                            minorTickPositions.push(pos);\n                        }\n                    }\n                }\n\n                if (minorTickPositions.length !== 0) {\n                    axis.trimTicks(minorTickPositions); // #3652 #3743 #1498 #6330\n                }\n                return minorTickPositions;\n            },\n\n            /**\n             * Adjust the min and max for the minimum range. Keep in mind that the series data is\n             * not yet processed, so we don't have information on data cropping and grouping, or\n             * updated axis.pointRange or series.pointRange. The data can't be processed until\n             * we have finally established min and max.\n             */\n            adjustForMinRange: function() {\n                var axis = this,\n                    options = axis.options,\n                    min = axis.min,\n                    max = axis.max,\n                    zoomOffset,\n                    spaceAvailable = axis.dataMax - axis.dataMin >= axis.minRange,\n                    closestDataRange,\n                    i,\n                    distance,\n                    xData,\n                    loopLength,\n                    minArgs,\n                    maxArgs,\n                    minRange;\n\n                // Set the automatic minimum range based on the closest point distance\n                if (axis.isXAxis && axis.minRange === undefined && !axis.isLog) {\n\n                    if (defined(options.min) || defined(options.max)) {\n                        axis.minRange = null; // don't do this again\n\n                    } else {\n\n                        // Find the closest distance between raw data points, as opposed to\n                        // closestPointRange that applies to processed points (cropped and grouped)\n                        each(axis.series, function(series) {\n                            xData = series.xData;\n                            loopLength = series.xIncrement ? 1 : xData.length - 1;\n                            for (i = loopLength; i > 0; i--) {\n                                distance = xData[i] - xData[i - 1];\n                                if (closestDataRange === undefined || distance < closestDataRange) {\n                                    closestDataRange = distance;\n                                }\n                            }\n                        });\n                        axis.minRange = Math.min(closestDataRange * 5, axis.dataMax - axis.dataMin);\n                    }\n                }\n\n                // if minRange is exceeded, adjust\n                if (max - min < axis.minRange) {\n                    minRange = axis.minRange;\n                    zoomOffset = (minRange - max + min) / 2;\n\n                    // if min and max options have been set, don't go beyond it\n                    minArgs = [min - zoomOffset, pick(options.min, min - zoomOffset)];\n                    if (spaceAvailable) { // if space is available, stay within the data range\n                        minArgs[2] = axis.isLog ? axis.log2lin(axis.dataMin) : axis.dataMin;\n                    }\n                    min = arrayMax(minArgs);\n\n                    maxArgs = [min + minRange, pick(options.max, min + minRange)];\n                    if (spaceAvailable) { // if space is availabe, stay within the data range\n                        maxArgs[2] = axis.isLog ? axis.log2lin(axis.dataMax) : axis.dataMax;\n                    }\n\n                    max = arrayMin(maxArgs);\n\n                    // now if the max is adjusted, adjust the min back\n                    if (max - min < minRange) {\n                        minArgs[0] = max - minRange;\n                        minArgs[1] = pick(options.min, max - minRange);\n                        min = arrayMax(minArgs);\n                    }\n                }\n\n                // Record modified extremes\n                axis.min = min;\n                axis.max = max;\n            },\n\n            /**\n             * Find the closestPointRange across all series\n             */\n            getClosest: function() {\n                var ret;\n\n                if (this.categories) {\n                    ret = 1;\n                } else {\n                    each(this.series, function(series) {\n                        var seriesClosest = series.closestPointRange,\n                            visible = series.visible ||\n                            !series.chart.options.chart.ignoreHiddenSeries;\n\n                        if (!series.noSharedTooltip &&\n                            defined(seriesClosest) &&\n                            visible\n                        ) {\n                            ret = defined(ret) ?\n                                Math.min(ret, seriesClosest) :\n                                seriesClosest;\n                        }\n                    });\n                }\n                return ret;\n            },\n\n            /**\n             * When a point name is given and no x, search for the name in the existing categories,\n             * or if categories aren't provided, search names or create a new category (#2522).\n             */\n            nameToX: function(point) {\n                var explicitCategories = isArray(this.categories),\n                    names = explicitCategories ? this.categories : this.names,\n                    nameX = point.options.x,\n                    x;\n\n                point.series.requireSorting = false;\n\n                if (!defined(nameX)) {\n                    nameX = this.options.uniqueNames === false ?\n                        point.series.autoIncrement() :\n                        inArray(point.name, names);\n                }\n                if (nameX === -1) { // The name is not found in currenct categories\n                    if (!explicitCategories) {\n                        x = names.length;\n                    }\n                } else {\n                    x = nameX;\n                }\n\n                // Write the last point's name to the names array\n                if (x !== undefined) {\n                    this.names[x] = point.name;\n                }\n\n                return x;\n            },\n\n            /**\n             * When changes have been done to series data, update the axis.names.\n             */\n            updateNames: function() {\n                var axis = this;\n\n                if (this.names.length > 0) {\n                    this.names.length = 0;\n                    this.minRange = undefined;\n                    each(this.series || [], function(series) {\n\n                        // Reset incrementer (#5928)\n                        series.xIncrement = null;\n\n                        // When adding a series, points are not yet generated\n                        if (!series.points || series.isDirtyData) {\n                            series.processData();\n                            series.generatePoints();\n                        }\n\n                        each(series.points, function(point, i) {\n                            var x;\n                            if (point.options) {\n                                x = axis.nameToX(point);\n                                if (x !== undefined && x !== point.x) {\n                                    point.x = x;\n                                    series.xData[i] = x;\n                                }\n                            }\n                        });\n                    });\n                }\n            },\n\n            /**\n             * Update translation information\n             */\n            setAxisTranslation: function(saveOld) {\n                var axis = this,\n                    range = axis.max - axis.min,\n                    pointRange = axis.axisPointRange || 0,\n                    closestPointRange,\n                    minPointOffset = 0,\n                    pointRangePadding = 0,\n                    linkedParent = axis.linkedParent,\n                    ordinalCorrection,\n                    hasCategories = !!axis.categories,\n                    transA = axis.transA,\n                    isXAxis = axis.isXAxis;\n\n                // Adjust translation for padding. Y axis with categories need to go through the same (#1784).\n                if (isXAxis || hasCategories || pointRange) {\n\n                    // Get the closest points\n                    closestPointRange = axis.getClosest();\n\n                    if (linkedParent) {\n                        minPointOffset = linkedParent.minPointOffset;\n                        pointRangePadding = linkedParent.pointRangePadding;\n                    } else {\n                        each(axis.series, function(series) {\n                            var seriesPointRange = hasCategories ?\n                                1 :\n                                (isXAxis ?\n                                    pick(series.options.pointRange, closestPointRange, 0) :\n                                    (axis.axisPointRange || 0)), // #2806\n                                pointPlacement = series.options.pointPlacement;\n\n                            pointRange = Math.max(pointRange, seriesPointRange);\n\n                            if (!axis.single) {\n                                // minPointOffset is the value padding to the left of the axis in order to make\n                                // room for points with a pointRange, typically columns. When the pointPlacement option\n                                // is 'between' or 'on', this padding does not apply.\n                                minPointOffset = Math.max(\n                                    minPointOffset,\n                                    isString(pointPlacement) ? 0 : seriesPointRange / 2\n                                );\n\n                                // Determine the total padding needed to the length of the axis to make room for the\n                                // pointRange. If the series' pointPlacement is 'on', no padding is added.\n                                pointRangePadding = Math.max(\n                                    pointRangePadding,\n                                    pointPlacement === 'on' ? 0 : seriesPointRange\n                                );\n                            }\n                        });\n                    }\n\n                    // Record minPointOffset and pointRangePadding\n                    ordinalCorrection = axis.ordinalSlope && closestPointRange ? axis.ordinalSlope / closestPointRange : 1; // #988, #1853\n                    axis.minPointOffset = minPointOffset = minPointOffset * ordinalCorrection;\n                    axis.pointRangePadding = pointRangePadding = pointRangePadding * ordinalCorrection;\n\n                    // pointRange means the width reserved for each point, like in a column chart\n                    axis.pointRange = Math.min(pointRange, range);\n\n                    // closestPointRange means the closest distance between points. In columns\n                    // it is mostly equal to pointRange, but in lines pointRange is 0 while closestPointRange\n                    // is some other value\n                    if (isXAxis) {\n                        axis.closestPointRange = closestPointRange;\n                    }\n                }\n\n                // Secondary values\n                if (saveOld) {\n                    axis.oldTransA = transA;\n                }\n                axis.translationSlope = axis.transA = transA =\n                    axis.options.staticScale ||\n                    axis.len / ((range + pointRangePadding) || 1);\n                axis.transB = axis.horiz ? axis.left : axis.bottom; // translation addend\n                axis.minPixelPadding = transA * minPointOffset;\n            },\n\n            minFromRange: function() {\n                return this.max - this.range;\n            },\n\n            /**\n             * Set the tick positions to round values and optionally extend the extremes\n             * to the nearest tick\n             */\n            setTickInterval: function(secondPass) {\n                var axis = this,\n                    chart = axis.chart,\n                    options = axis.options,\n                    isLog = axis.isLog,\n                    log2lin = axis.log2lin,\n                    isDatetimeAxis = axis.isDatetimeAxis,\n                    isXAxis = axis.isXAxis,\n                    isLinked = axis.isLinked,\n                    maxPadding = options.maxPadding,\n                    minPadding = options.minPadding,\n                    length,\n                    linkedParentExtremes,\n                    tickIntervalOption = options.tickInterval,\n                    minTickInterval,\n                    tickPixelIntervalOption = options.tickPixelInterval,\n                    categories = axis.categories,\n                    threshold = axis.threshold,\n                    softThreshold = axis.softThreshold,\n                    thresholdMin,\n                    thresholdMax,\n                    hardMin,\n                    hardMax;\n\n                if (!isDatetimeAxis && !categories && !isLinked) {\n                    this.getTickAmount();\n                }\n\n                // Min or max set either by zooming/setExtremes or initial options\n                hardMin = pick(axis.userMin, options.min);\n                hardMax = pick(axis.userMax, options.max);\n\n                // Linked axis gets the extremes from the parent axis\n                if (isLinked) {\n                    axis.linkedParent = chart[axis.coll][options.linkedTo];\n                    linkedParentExtremes = axis.linkedParent.getExtremes();\n                    axis.min = pick(linkedParentExtremes.min, linkedParentExtremes.dataMin);\n                    axis.max = pick(linkedParentExtremes.max, linkedParentExtremes.dataMax);\n                    if (options.type !== axis.linkedParent.options.type) {\n                        H.error(11, 1); // Can't link axes of different type\n                    }\n\n                    // Initial min and max from the extreme data values\n                } else {\n\n                    // Adjust to hard threshold\n                    if (!softThreshold && defined(threshold)) {\n                        if (axis.dataMin >= threshold) {\n                            thresholdMin = threshold;\n                            minPadding = 0;\n                        } else if (axis.dataMax <= threshold) {\n                            thresholdMax = threshold;\n                            maxPadding = 0;\n                        }\n                    }\n\n                    axis.min = pick(hardMin, thresholdMin, axis.dataMin);\n                    axis.max = pick(hardMax, thresholdMax, axis.dataMax);\n\n                }\n\n                if (isLog) {\n                    if (\n                        axis.positiveValuesOnly &&\n                        !secondPass &&\n                        Math.min(axis.min, pick(axis.dataMin, axis.min)) <= 0\n                    ) { // #978\n                        H.error(10, 1); // Can't plot negative values on log axis\n                    }\n                    // The correctFloat cures #934, float errors on full tens. But it\n                    // was too aggressive for #4360 because of conversion back to lin,\n                    // therefore use precision 15.\n                    axis.min = correctFloat(log2lin(axis.min), 15);\n                    axis.max = correctFloat(log2lin(axis.max), 15);\n                }\n\n                // handle zoomed range\n                if (axis.range && defined(axis.max)) {\n                    axis.userMin = axis.min = hardMin = Math.max(axis.min, axis.minFromRange()); // #618\n                    axis.userMax = hardMax = axis.max;\n\n                    axis.range = null; // don't use it when running setExtremes\n                }\n\n                // Hook for Highstock Scroller. Consider combining with beforePadding.\n                fireEvent(axis, 'foundExtremes');\n\n                // Hook for adjusting this.min and this.max. Used by bubble series.\n                if (axis.beforePadding) {\n                    axis.beforePadding();\n                }\n\n                // adjust min and max for the minimum range\n                axis.adjustForMinRange();\n\n                // Pad the values to get clear of the chart's edges. To avoid tickInterval taking the padding\n                // into account, we do this after computing tick interval (#1337).\n                if (!categories && !axis.axisPointRange && !axis.usePercentage && !isLinked && defined(axis.min) && defined(axis.max)) {\n                    length = axis.max - axis.min;\n                    if (length) {\n                        if (!defined(hardMin) && minPadding) {\n                            axis.min -= length * minPadding;\n                        }\n                        if (!defined(hardMax) && maxPadding) {\n                            axis.max += length * maxPadding;\n                        }\n                    }\n                }\n\n                // Handle options for floor, ceiling, softMin and softMax (#6359)\n                if (isNumber(options.softMin)) {\n                    axis.min = Math.min(axis.min, options.softMin);\n                }\n                if (isNumber(options.softMax)) {\n                    axis.max = Math.max(axis.max, options.softMax);\n                }\n                if (isNumber(options.floor)) {\n                    axis.min = Math.max(axis.min, options.floor);\n                }\n                if (isNumber(options.ceiling)) {\n                    axis.max = Math.min(axis.max, options.ceiling);\n                }\n\n\n                // When the threshold is soft, adjust the extreme value only if\n                // the data extreme and the padded extreme land on either side of the threshold. For example,\n                // a series of [0, 1, 2, 3] would make the yAxis add a tick for -1 because of the\n                // default minPadding and startOnTick options. This is prevented by the softThreshold\n                // option.\n                if (softThreshold && defined(axis.dataMin)) {\n                    threshold = threshold || 0;\n                    if (!defined(hardMin) && axis.min < threshold && axis.dataMin >= threshold) {\n                        axis.min = threshold;\n                    } else if (!defined(hardMax) && axis.max > threshold && axis.dataMax <= threshold) {\n                        axis.max = threshold;\n                    }\n                }\n\n\n                // get tickInterval\n                if (axis.min === axis.max || axis.min === undefined || axis.max === undefined) {\n                    axis.tickInterval = 1;\n                } else if (isLinked && !tickIntervalOption &&\n                    tickPixelIntervalOption === axis.linkedParent.options.tickPixelInterval) {\n                    axis.tickInterval = tickIntervalOption = axis.linkedParent.tickInterval;\n                } else {\n                    axis.tickInterval = pick(\n                        tickIntervalOption,\n                        this.tickAmount ? ((axis.max - axis.min) / Math.max(this.tickAmount - 1, 1)) : undefined,\n                        categories ? // for categoried axis, 1 is default, for linear axis use tickPix\n                        1 :\n                        // don't let it be more than the data range\n                        (axis.max - axis.min) * tickPixelIntervalOption / Math.max(axis.len, tickPixelIntervalOption)\n                    );\n                }\n\n                // Now we're finished detecting min and max, crop and group series data. This\n                // is in turn needed in order to find tick positions in ordinal axes.\n                if (isXAxis && !secondPass) {\n                    each(axis.series, function(series) {\n                        series.processData(axis.min !== axis.oldMin || axis.max !== axis.oldMax);\n                    });\n                }\n\n                // set the translation factor used in translate function\n                axis.setAxisTranslation(true);\n\n                // hook for ordinal axes and radial axes\n                if (axis.beforeSetTickPositions) {\n                    axis.beforeSetTickPositions();\n                }\n\n                // hook for extensions, used in Highstock ordinal axes\n                if (axis.postProcessTickInterval) {\n                    axis.tickInterval = axis.postProcessTickInterval(axis.tickInterval);\n                }\n\n                // In column-like charts, don't cramp in more ticks than there are points (#1943, #4184)\n                if (axis.pointRange && !tickIntervalOption) {\n                    axis.tickInterval = Math.max(axis.pointRange, axis.tickInterval);\n                }\n\n                // Before normalizing the tick interval, handle minimum tick interval. This applies only if tickInterval is not defined.\n                minTickInterval = pick(options.minTickInterval, axis.isDatetimeAxis && axis.closestPointRange);\n                if (!tickIntervalOption && axis.tickInterval < minTickInterval) {\n                    axis.tickInterval = minTickInterval;\n                }\n\n                // for linear axes, get magnitude and normalize the interval\n                if (!isDatetimeAxis && !isLog && !tickIntervalOption) {\n                    axis.tickInterval = normalizeTickInterval(\n                        axis.tickInterval,\n                        null,\n                        getMagnitude(axis.tickInterval),\n                        // If the tick interval is between 0.5 and 5 and the axis max is in the order of\n                        // thousands, chances are we are dealing with years. Don't allow decimals. #3363.\n                        pick(options.allowDecimals, !(axis.tickInterval > 0.5 && axis.tickInterval < 5 && axis.max > 1000 && axis.max < 9999)), !!this.tickAmount\n                    );\n                }\n\n                // Prevent ticks from getting so close that we can't draw the labels\n                if (!this.tickAmount) {\n                    axis.tickInterval = axis.unsquish();\n                }\n\n                this.setTickPositions();\n            },\n\n            /**\n             * Now we have computed the normalized tickInterval, get the tick positions\n             */\n            setTickPositions: function() {\n\n                var options = this.options,\n                    tickPositions,\n                    tickPositionsOption = options.tickPositions,\n                    tickPositioner = options.tickPositioner,\n                    startOnTick = options.startOnTick,\n                    endOnTick = options.endOnTick;\n\n                // Set the tickmarkOffset\n                this.tickmarkOffset = (this.categories && options.tickmarkPlacement === 'between' &&\n                    this.tickInterval === 1) ? 0.5 : 0; // #3202\n\n\n                // get minorTickInterval\n                this.minorTickInterval = options.minorTickInterval === 'auto' && this.tickInterval ?\n                    this.tickInterval / 5 : options.minorTickInterval;\n\n                // When there is only one point, or all points have the same value on\n                // this axis, then min and max are equal and tickPositions.length is 0\n                // or 1. In this case, add some padding in order to center the point,\n                // but leave it with one tick. #1337.\n                this.single = this.min === this.max && defined(this.min) &&\n                    !this.tickAmount && options.allowDecimals !== false;\n\n                // Find the tick positions\n                this.tickPositions = tickPositions = tickPositionsOption && tickPositionsOption.slice(); // Work on a copy (#1565)\n                if (!tickPositions) {\n\n                    if (this.isDatetimeAxis) {\n                        tickPositions = this.getTimeTicks(\n                            this.normalizeTimeTickInterval(this.tickInterval, options.units),\n                            this.min,\n                            this.max,\n                            options.startOfWeek,\n                            this.ordinalPositions,\n                            this.closestPointRange,\n                            true\n                        );\n                    } else if (this.isLog) {\n                        tickPositions = this.getLogTickPositions(this.tickInterval, this.min, this.max);\n                    } else {\n                        tickPositions = this.getLinearTickPositions(this.tickInterval, this.min, this.max);\n                    }\n\n                    // Too dense ticks, keep only the first and last (#4477)\n                    if (tickPositions.length > this.len) {\n                        tickPositions = [tickPositions[0], tickPositions.pop()];\n                    }\n\n                    this.tickPositions = tickPositions;\n\n                    // Run the tick positioner callback, that allows modifying auto tick positions.\n                    if (tickPositioner) {\n                        tickPositioner = tickPositioner.apply(this, [this.min, this.max]);\n                        if (tickPositioner) {\n                            this.tickPositions = tickPositions = tickPositioner;\n                        }\n                    }\n\n                }\n\n                // Reset min/max or remove extremes based on start/end on tick\n                this.paddedTicks = tickPositions.slice(0); // Used for logarithmic minor\n                this.trimTicks(tickPositions, startOnTick, endOnTick);\n                if (!this.isLinked) {\n\n                    // Substract half a unit (#2619, #2846, #2515, #3390)\n                    if (this.single) {\n                        this.min -= 0.5;\n                        this.max += 0.5;\n                    }\n                    if (!tickPositionsOption && !tickPositioner) {\n                        this.adjustTickAmount();\n                    }\n                }\n            },\n\n            /**\n             * Handle startOnTick and endOnTick by either adapting to padding min/max or rounded min/max\n             */\n            trimTicks: function(tickPositions, startOnTick, endOnTick) {\n                var roundedMin = tickPositions[0],\n                    roundedMax = tickPositions[tickPositions.length - 1],\n                    minPointOffset = this.minPointOffset || 0;\n\n                if (!this.isLinked) {\n                    if (startOnTick && roundedMin !== -Infinity) { // #6502\n                        this.min = roundedMin;\n                    } else {\n                        while (this.min - minPointOffset > tickPositions[0]) {\n                            tickPositions.shift();\n                        }\n                    }\n\n                    if (endOnTick) {\n                        this.max = roundedMax;\n                    } else {\n                        while (this.max + minPointOffset < tickPositions[tickPositions.length - 1]) {\n                            tickPositions.pop();\n                        }\n                    }\n\n                    // If no tick are left, set one tick in the middle (#3195)\n                    if (tickPositions.length === 0 && defined(roundedMin)) {\n                        tickPositions.push((roundedMax + roundedMin) / 2);\n                    }\n                }\n            },\n\n            /**\n             * Check if there are multiple axes in the same pane\n             * @returns {Boolean} There are other axes\n             */\n            alignToOthers: function() {\n                var others = {}, // Whether there is another axis to pair with this one\n                    hasOther,\n                    options = this.options;\n\n                if (\n                    // Only if alignTicks is true\n                    this.chart.options.chart.alignTicks !== false &&\n                    options.alignTicks !== false &&\n\n                    // Don't try to align ticks on a log axis, they are not evenly\n                    // spaced (#6021)\n                    !this.isLog\n                ) {\n                    each(this.chart[this.coll], function(axis) {\n                        var otherOptions = axis.options,\n                            horiz = axis.horiz,\n                            key = [\n                                horiz ? otherOptions.left : otherOptions.top,\n                                otherOptions.width,\n                                otherOptions.height,\n                                otherOptions.pane\n                            ].join(',');\n\n\n                        if (axis.series.length) { // #4442\n                            if (others[key]) {\n                                hasOther = true; // #4201\n                            } else {\n                                others[key] = 1;\n                            }\n                        }\n                    });\n                }\n                return hasOther;\n            },\n\n            /**\n             * Set the max ticks of either the x and y axis collection\n             */\n            getTickAmount: function() {\n                var options = this.options,\n                    tickAmount = options.tickAmount,\n                    tickPixelInterval = options.tickPixelInterval;\n\n                if (!defined(options.tickInterval) && this.len < tickPixelInterval && !this.isRadial &&\n                    !this.isLog && options.startOnTick && options.endOnTick) {\n                    tickAmount = 2;\n                }\n\n                if (!tickAmount && this.alignToOthers()) {\n                    // Add 1 because 4 tick intervals require 5 ticks (including first and last)\n                    tickAmount = Math.ceil(this.len / tickPixelInterval) + 1;\n                }\n\n                // For tick amounts of 2 and 3, compute five ticks and remove the intermediate ones. This\n                // prevents the axis from adding ticks that are too far away from the data extremes.\n                if (tickAmount < 4) {\n                    this.finalTickAmt = tickAmount;\n                    tickAmount = 5;\n                }\n\n                this.tickAmount = tickAmount;\n            },\n\n            /**\n             * When using multiple axes, adjust the number of ticks to match the highest\n             * number of ticks in that group\n             */\n            adjustTickAmount: function() {\n                var tickInterval = this.tickInterval,\n                    tickPositions = this.tickPositions,\n                    tickAmount = this.tickAmount,\n                    finalTickAmt = this.finalTickAmt,\n                    currentTickAmount = tickPositions && tickPositions.length,\n                    i,\n                    len;\n\n                if (currentTickAmount < tickAmount) {\n                    while (tickPositions.length < tickAmount) {\n                        tickPositions.push(correctFloat(\n                            tickPositions[tickPositions.length - 1] + tickInterval\n                        ));\n                    }\n                    this.transA *= (currentTickAmount - 1) / (tickAmount - 1);\n                    this.max = tickPositions[tickPositions.length - 1];\n\n                    // We have too many ticks, run second pass to try to reduce ticks\n                } else if (currentTickAmount > tickAmount) {\n                    this.tickInterval *= 2;\n                    this.setTickPositions();\n                }\n\n                // The finalTickAmt property is set in getTickAmount\n                if (defined(finalTickAmt)) {\n                    i = len = tickPositions.length;\n                    while (i--) {\n                        if (\n                            (finalTickAmt === 3 && i % 2 === 1) || // Remove every other tick\n                            (finalTickAmt <= 2 && i > 0 && i < len - 1) // Remove all but first and last\n                        ) {\n                            tickPositions.splice(i, 1);\n                        }\n                    }\n                    this.finalTickAmt = undefined;\n                }\n            },\n\n            /**\n             * Set the scale based on data min and max, user set min and max or options\n             *\n             */\n            setScale: function() {\n                var axis = this,\n                    isDirtyData,\n                    isDirtyAxisLength;\n\n                axis.oldMin = axis.min;\n                axis.oldMax = axis.max;\n                axis.oldAxisLength = axis.len;\n\n                // set the new axisLength\n                axis.setAxisSize();\n                //axisLength = horiz ? axisWidth : axisHeight;\n                isDirtyAxisLength = axis.len !== axis.oldAxisLength;\n\n                // is there new data?\n                each(axis.series, function(series) {\n                    if (series.isDirtyData || series.isDirty ||\n                        series.xAxis.isDirty) { // when x axis is dirty, we need new data extremes for y as well\n                        isDirtyData = true;\n                    }\n                });\n\n                // do we really need to go through all this?\n                if (isDirtyAxisLength || isDirtyData || axis.isLinked || axis.forceRedraw ||\n                    axis.userMin !== axis.oldUserMin || axis.userMax !== axis.oldUserMax || axis.alignToOthers()) {\n\n                    if (axis.resetStacks) {\n                        axis.resetStacks();\n                    }\n\n                    axis.forceRedraw = false;\n\n                    // get data extremes if needed\n                    axis.getSeriesExtremes();\n\n                    // get fixed positions based on tickInterval\n                    axis.setTickInterval();\n\n                    // record old values to decide whether a rescale is necessary later on (#540)\n                    axis.oldUserMin = axis.userMin;\n                    axis.oldUserMax = axis.userMax;\n\n                    // Mark as dirty if it is not already set to dirty and extremes have changed. #595.\n                    if (!axis.isDirty) {\n                        axis.isDirty = isDirtyAxisLength || axis.min !== axis.oldMin || axis.max !== axis.oldMax;\n                    }\n                } else if (axis.cleanStacks) {\n                    axis.cleanStacks();\n                }\n            },\n\n            /**\n             * Set the extremes and optionally redraw\n             * @param {Number} newMin\n             * @param {Number} newMax\n             * @param {Boolean} redraw\n             * @param {Boolean|Object} animation Whether to apply animation, and optionally animation\n             *    configuration\n             * @param {Object} eventArguments\n             *\n             */\n            setExtremes: function(newMin, newMax, redraw, animation, eventArguments) {\n                var axis = this,\n                    chart = axis.chart;\n\n                redraw = pick(redraw, true); // defaults to true\n\n                each(axis.series, function(serie) {\n                    delete serie.kdTree;\n                });\n\n                // Extend the arguments with min and max\n                eventArguments = extend(eventArguments, {\n                    min: newMin,\n                    max: newMax\n                });\n\n                // Fire the event\n                fireEvent(axis, 'setExtremes', eventArguments, function() { // the default event handler\n\n                    axis.userMin = newMin;\n                    axis.userMax = newMax;\n                    axis.eventArgs = eventArguments;\n\n                    if (redraw) {\n                        chart.redraw(animation);\n                    }\n                });\n            },\n\n            /**\n             * Overridable method for zooming chart. Pulled out in a separate method to allow overriding\n             * in stock charts.\n             */\n            zoom: function(newMin, newMax) {\n                var dataMin = this.dataMin,\n                    dataMax = this.dataMax,\n                    options = this.options,\n                    min = Math.min(dataMin, pick(options.min, dataMin)),\n                    max = Math.max(dataMax, pick(options.max, dataMax));\n\n                if (newMin !== this.min || newMax !== this.max) { // #5790\n\n                    // Prevent pinch zooming out of range. Check for defined is for #1946. #1734.\n                    if (!this.allowZoomOutside) {\n                        // #6014, sometimes newMax will be smaller than min (or newMin will be larger than max).\n                        if (defined(dataMin)) {\n                            if (newMin < min) {\n                                newMin = min;\n                            }\n                            if (newMin > max) {\n                                newMin = max;\n                            }\n                        }\n                        if (defined(dataMax)) {\n                            if (newMax < min) {\n                                newMax = min;\n                            }\n                            if (newMax > max) {\n                                newMax = max;\n                            }\n                        }\n                    }\n\n                    // In full view, displaying the reset zoom button is not required\n                    this.displayBtn = newMin !== undefined || newMax !== undefined;\n\n                    // Do it\n                    this.setExtremes(\n                        newMin,\n                        newMax,\n                        false,\n                        undefined, {\n                            trigger: 'zoom'\n                        }\n                    );\n                }\n\n                return true;\n            },\n\n            /**\n             * Update the axis metrics\n             */\n            setAxisSize: function() {\n                var chart = this.chart,\n                    options = this.options,\n                    offsets = options.offsets || [0, 0, 0, 0], // top / right / bottom / left\n                    horiz = this.horiz,\n                    width = pick(options.width, chart.plotWidth - offsets[3] + offsets[1]),\n                    height = pick(options.height, chart.plotHeight - offsets[0] + offsets[2]),\n                    top = pick(options.top, chart.plotTop + offsets[0]),\n                    left = pick(options.left, chart.plotLeft + offsets[3]),\n                    percentRegex = /%$/;\n\n                // Check for percentage based input values. Rounding fixes problems with\n                // column overflow and plot line filtering (#4898, #4899)\n                if (percentRegex.test(height)) {\n                    height = Math.round(parseFloat(height) / 100 * chart.plotHeight);\n                }\n                if (percentRegex.test(top)) {\n                    top = Math.round(parseFloat(top) / 100 * chart.plotHeight + chart.plotTop);\n                }\n\n                // Expose basic values to use in Series object and navigator\n                this.left = left;\n                this.top = top;\n                this.width = width;\n                this.height = height;\n                this.bottom = chart.chartHeight - height - top;\n                this.right = chart.chartWidth - width - left;\n\n                // Direction agnostic properties\n                this.len = Math.max(horiz ? width : height, 0); // Math.max fixes #905\n                this.pos = horiz ? left : top; // distance from SVG origin\n            },\n\n            /**\n             * Get the actual axis extremes\n             */\n            getExtremes: function() {\n                var axis = this,\n                    isLog = axis.isLog,\n                    lin2log = axis.lin2log;\n\n                return {\n                    min: isLog ? correctFloat(lin2log(axis.min)) : axis.min,\n                    max: isLog ? correctFloat(lin2log(axis.max)) : axis.max,\n                    dataMin: axis.dataMin,\n                    dataMax: axis.dataMax,\n                    userMin: axis.userMin,\n                    userMax: axis.userMax\n                };\n            },\n\n            /**\n             * Get the zero plane either based on zero or on the min or max value.\n             * Used in bar and area plots\n             */\n            getThreshold: function(threshold) {\n                var axis = this,\n                    isLog = axis.isLog,\n                    lin2log = axis.lin2log,\n                    realMin = isLog ? lin2log(axis.min) : axis.min,\n                    realMax = isLog ? lin2log(axis.max) : axis.max;\n\n                if (threshold === null) {\n                    threshold = realMin;\n                } else if (realMin > threshold) {\n                    threshold = realMin;\n                } else if (realMax < threshold) {\n                    threshold = realMax;\n                }\n\n                return axis.translate(threshold, 0, 1, 0, 1);\n            },\n\n            /**\n             * Compute auto alignment for the axis label based on which side the axis is on\n             * and the given rotation for the label\n             */\n            autoLabelAlign: function(rotation) {\n                var ret,\n                    angle = (pick(rotation, 0) - (this.side * 90) + 720) % 360;\n\n                if (angle > 15 && angle < 165) {\n                    ret = 'right';\n                } else if (angle > 195 && angle < 345) {\n                    ret = 'left';\n                } else {\n                    ret = 'center';\n                }\n                return ret;\n            },\n\n            /**\n             * Get the tick length and width for the axis.\n             * @param   {String} prefix 'tick' or 'minorTick'\n             * @returns {Array}        An array of tickLength and tickWidth\n             */\n            tickSize: function(prefix) {\n                var options = this.options,\n                    tickLength = options[prefix + 'Length'],\n                    tickWidth = pick(options[prefix + 'Width'], prefix === 'tick' && this.isXAxis ? 1 : 0); // X axis defaults to 1\n\n                if (tickWidth && tickLength) {\n                    // Negate the length\n                    if (options[prefix + 'Position'] === 'inside') {\n                        tickLength = -tickLength;\n                    }\n                    return [tickLength, tickWidth];\n                }\n\n            },\n\n            /**\n             * Return the size of the labels\n             */\n            labelMetrics: function() {\n                return this.chart.renderer.fontMetrics(\n                    this.options.labels.style && this.options.labels.style.fontSize,\n                    this.ticks[0] && this.ticks[0].label\n                );\n            },\n\n            /**\n             * Prevent the ticks from getting so close we can't draw the labels. On a horizontal\n             * axis, this is handled by rotating the labels, removing ticks and adding ellipsis.\n             * On a vertical axis remove ticks and add ellipsis.\n             */\n            unsquish: function() {\n                var labelOptions = this.options.labels,\n                    horiz = this.horiz,\n                    tickInterval = this.tickInterval,\n                    newTickInterval = tickInterval,\n                    slotSize = this.len / (((this.categories ? 1 : 0) + this.max - this.min) / tickInterval),\n                    rotation,\n                    rotationOption = labelOptions.rotation,\n                    labelMetrics = this.labelMetrics(),\n                    step,\n                    bestScore = Number.MAX_VALUE,\n                    autoRotation,\n                    // Return the multiple of tickInterval that is needed to avoid collision\n                    getStep = function(spaceNeeded) {\n                        var step = spaceNeeded / (slotSize || 1);\n                        step = step > 1 ? Math.ceil(step) : 1;\n                        return step * tickInterval;\n                    };\n\n                if (horiz) {\n                    autoRotation = !labelOptions.staggerLines && !labelOptions.step && ( // #3971\n                        defined(rotationOption) ? [rotationOption] :\n                        slotSize < pick(labelOptions.autoRotationLimit, 80) && labelOptions.autoRotation\n                    );\n\n                    if (autoRotation) {\n\n                        // Loop over the given autoRotation options, and determine which gives the best score. The\n                        // best score is that with the lowest number of steps and a rotation closest to horizontal.\n                        each(autoRotation, function(rot) {\n                            var score;\n\n                            if (rot === rotationOption || (rot && rot >= -90 && rot <= 90)) { // #3891\n\n                                step = getStep(Math.abs(labelMetrics.h / Math.sin(deg2rad * rot)));\n\n                                score = step + Math.abs(rot / 360);\n\n                                if (score < bestScore) {\n                                    bestScore = score;\n                                    rotation = rot;\n                                    newTickInterval = step;\n                                }\n                            }\n                        });\n                    }\n\n                } else if (!labelOptions.step) { // #4411\n                    newTickInterval = getStep(labelMetrics.h);\n                }\n\n                this.autoRotation = autoRotation;\n                this.labelRotation = pick(rotation, rotationOption);\n\n                return newTickInterval;\n            },\n\n            /**\n             * Get the general slot width for this axis. This may change between the pre-render (from Axis.getOffset) \n             * and the final tick rendering and placement (#5086).\n             */\n            getSlotWidth: function() {\n                var chart = this.chart,\n                    horiz = this.horiz,\n                    labelOptions = this.options.labels,\n                    slotCount = Math.max(this.tickPositions.length - (this.categories ? 0 : 1), 1),\n                    marginLeft = chart.margin[3];\n\n                return (\n                    horiz &&\n                    (labelOptions.step || 0) < 2 &&\n                    !labelOptions.rotation && // #4415\n                    ((this.staggerLines || 1) * this.len) / slotCount\n                ) || (!horiz && (\n                    (marginLeft && (marginLeft - chart.spacing[3])) ||\n                    chart.chartWidth * 0.33\n                )); // #1580, #1931\n\n            },\n\n            /**\n             * Render the axis labels and determine whether ellipsis or rotation need to be applied\n             */\n            renderUnsquish: function() {\n                var chart = this.chart,\n                    renderer = chart.renderer,\n                    tickPositions = this.tickPositions,\n                    ticks = this.ticks,\n                    labelOptions = this.options.labels,\n                    horiz = this.horiz,\n                    slotWidth = this.getSlotWidth(),\n                    innerWidth = Math.max(1, Math.round(slotWidth - 2 * (labelOptions.padding || 5))),\n                    attr = {},\n                    labelMetrics = this.labelMetrics(),\n                    textOverflowOption = labelOptions.style && labelOptions.style.textOverflow,\n                    css,\n                    maxLabelLength = 0,\n                    label,\n                    i,\n                    pos;\n\n                // Set rotation option unless it is \"auto\", like in gauges\n                if (!isString(labelOptions.rotation)) {\n                    attr.rotation = labelOptions.rotation || 0; // #4443\n                }\n\n                // Get the longest label length\n                each(tickPositions, function(tick) {\n                    tick = ticks[tick];\n                    if (tick && tick.labelLength > maxLabelLength) {\n                        maxLabelLength = tick.labelLength;\n                    }\n                });\n                this.maxLabelLength = maxLabelLength;\n\n\n                // Handle auto rotation on horizontal axis\n                if (this.autoRotation) {\n\n                    // Apply rotation only if the label is too wide for the slot, and\n                    // the label is wider than its height.\n                    if (maxLabelLength > innerWidth && maxLabelLength > labelMetrics.h) {\n                        attr.rotation = this.labelRotation;\n                    } else {\n                        this.labelRotation = 0;\n                    }\n\n                    // Handle word-wrap or ellipsis on vertical axis\n                } else if (slotWidth) {\n                    // For word-wrap or ellipsis\n                    css = {\n                        width: innerWidth + 'px'\n                    };\n\n                    if (!textOverflowOption) {\n                        css.textOverflow = 'clip';\n\n                        // On vertical axis, only allow word wrap if there is room for more lines.\n                        i = tickPositions.length;\n                        while (!horiz && i--) {\n                            pos = tickPositions[i];\n                            label = ticks[pos].label;\n                            if (label) {\n                                // Reset ellipsis in order to get the correct bounding box (#4070)\n                                if (label.styles && label.styles.textOverflow === 'ellipsis') {\n                                    label.css({\n                                        textOverflow: 'clip'\n                                    });\n\n                                    // Set the correct width in order to read the bounding box height (#4678, #5034)\n                                } else if (ticks[pos].labelLength > slotWidth) {\n                                    label.css({\n                                        width: slotWidth + 'px'\n                                    });\n                                }\n\n                                if (label.getBBox().height > this.len / tickPositions.length - (labelMetrics.h - labelMetrics.f)) {\n                                    label.specCss = {\n                                        textOverflow: 'ellipsis'\n                                    };\n                                }\n                            }\n                        }\n                    }\n                }\n\n\n                // Add ellipsis if the label length is significantly longer than ideal\n                if (attr.rotation) {\n                    css = {\n                        width: (maxLabelLength > chart.chartHeight * 0.5 ? chart.chartHeight * 0.33 : chart.chartHeight) + 'px'\n                    };\n                    if (!textOverflowOption) {\n                        css.textOverflow = 'ellipsis';\n                    }\n                }\n\n                // Set the explicit or automatic label alignment\n                this.labelAlign = labelOptions.align || this.autoLabelAlign(this.labelRotation);\n                if (this.labelAlign) {\n                    attr.align = this.labelAlign;\n                }\n\n                // Apply general and specific CSS\n                each(tickPositions, function(pos) {\n                    var tick = ticks[pos],\n                        label = tick && tick.label;\n                    if (label) {\n                        label.attr(attr); // This needs to go before the CSS in old IE (#4502)\n                        if (css) {\n                            label.css(merge(css, label.specCss));\n                        }\n                        delete label.specCss;\n                        tick.rotation = attr.rotation;\n                    }\n                });\n\n                // Note: Why is this not part of getLabelPosition?\n                this.tickRotCorr = renderer.rotCorr(labelMetrics.b, this.labelRotation || 0, this.side !== 0);\n            },\n\n            /**\n             * Return true if the axis has associated data\n             */\n            hasData: function() {\n                return this.hasVisibleSeries || (defined(this.min) && defined(this.max) && !!this.tickPositions);\n            },\n\n            /**\n             * Adds the title defined in axis.options.title.\n             * @param {Boolean} display - whether or not to display the title\n             */\n            addTitle: function(display) {\n                var axis = this,\n                    renderer = axis.chart.renderer,\n                    horiz = axis.horiz,\n                    opposite = axis.opposite,\n                    options = axis.options,\n                    axisTitleOptions = options.title,\n                    textAlign;\n\n                if (!axis.axisTitle) {\n                    textAlign = axisTitleOptions.textAlign;\n                    if (!textAlign) {\n                        textAlign = (horiz ? {\n                            low: 'left',\n                            middle: 'center',\n                            high: 'right'\n                        } : {\n                            low: opposite ? 'right' : 'left',\n                            middle: 'center',\n                            high: opposite ? 'left' : 'right'\n                        })[axisTitleOptions.align];\n                    }\n                    axis.axisTitle = renderer.text(\n                            axisTitleOptions.text,\n                            0,\n                            0,\n                            axisTitleOptions.useHTML\n                        )\n                        .attr({\n                            zIndex: 7,\n                            rotation: axisTitleOptions.rotation || 0,\n                            align: textAlign\n                        })\n                        .addClass('highcharts-axis-title')\n\n                        .css(axisTitleOptions.style)\n\n                        .add(axis.axisGroup);\n                    axis.axisTitle.isNew = true;\n                }\n\n                // hide or show the title depending on whether showEmpty is set\n                axis.axisTitle[display ? 'show' : 'hide'](true);\n            },\n\n            /**\n             * Generates a tick for initial positioning.\n             * @param  {number} pos - The tick position in axis values.\n             * @param  {number} i - The index of the tick in axis.tickPositions.\n             */\n            generateTick: function(pos) {\n                var ticks = this.ticks;\n\n                if (!ticks[pos]) {\n                    ticks[pos] = new Tick(this, pos);\n                } else {\n                    ticks[pos].addLabel(); // update labels depending on tick interval\n                }\n            },\n\n            /**\n             * Render the tick labels to a preliminary position to get their sizes\n             */\n            getOffset: function() {\n                var axis = this,\n                    chart = axis.chart,\n                    renderer = chart.renderer,\n                    options = axis.options,\n                    tickPositions = axis.tickPositions,\n                    ticks = axis.ticks,\n                    horiz = axis.horiz,\n                    side = axis.side,\n                    invertedSide = chart.inverted ? [1, 0, 3, 2][side] : side,\n                    hasData,\n                    showAxis,\n                    titleOffset = 0,\n                    titleOffsetOption,\n                    titleMargin = 0,\n                    axisTitleOptions = options.title,\n                    labelOptions = options.labels,\n                    labelOffset = 0, // reset\n                    labelOffsetPadded,\n                    axisOffset = chart.axisOffset,\n                    clipOffset = chart.clipOffset,\n                    clip,\n                    directionFactor = [-1, 1, 1, -1][side],\n                    n,\n                    className = options.className,\n                    axisParent = axis.axisParent, // Used in color axis\n                    lineHeightCorrection,\n                    tickSize = this.tickSize('tick');\n\n                // For reuse in Axis.render\n                hasData = axis.hasData();\n                axis.showAxis = showAxis = hasData || pick(options.showEmpty, true);\n\n                // Set/reset staggerLines\n                axis.staggerLines = axis.horiz && labelOptions.staggerLines;\n\n                // Create the axisGroup and gridGroup elements on first iteration\n                if (!axis.axisGroup) {\n                    axis.gridGroup = renderer.g('grid')\n                        .attr({\n                            zIndex: options.gridZIndex || 1\n                        })\n                        .addClass('highcharts-' + this.coll.toLowerCase() + '-grid ' + (className || ''))\n                        .add(axisParent);\n                    axis.axisGroup = renderer.g('axis')\n                        .attr({\n                            zIndex: options.zIndex || 2\n                        })\n                        .addClass('highcharts-' + this.coll.toLowerCase() + ' ' + (className || ''))\n                        .add(axisParent);\n                    axis.labelGroup = renderer.g('axis-labels')\n                        .attr({\n                            zIndex: labelOptions.zIndex || 7\n                        })\n                        .addClass('highcharts-' + axis.coll.toLowerCase() + '-labels ' + (className || ''))\n                        .add(axisParent);\n                }\n\n                if (hasData || axis.isLinked) {\n\n                    // Generate ticks\n                    each(tickPositions, function(pos, i) {\n                        // i is not used here, but may be used in overrides\n                        axis.generateTick(pos, i);\n                    });\n\n                    axis.renderUnsquish();\n\n\n                    // Left side must be align: right and right side must have align: left for labels\n                    if (labelOptions.reserveSpace !== false && (side === 0 || side === 2 || {\n                            1: 'left',\n                            3: 'right'\n                        }[side] === axis.labelAlign || axis.labelAlign === 'center')) {\n                        each(tickPositions, function(pos) {\n\n                            // get the highest offset\n                            labelOffset = Math.max(\n                                ticks[pos].getLabelSize(),\n                                labelOffset\n                            );\n                        });\n                    }\n\n                    if (axis.staggerLines) {\n                        labelOffset *= axis.staggerLines;\n                        axis.labelOffset = labelOffset * (axis.opposite ? -1 : 1);\n                    }\n\n\n                } else { // doesn't have data\n                    for (n in ticks) {\n                        ticks[n].destroy();\n                        delete ticks[n];\n                    }\n                }\n\n                if (axisTitleOptions && axisTitleOptions.text && axisTitleOptions.enabled !== false) {\n                    axis.addTitle(showAxis);\n\n                    if (showAxis) {\n                        titleOffset = axis.axisTitle.getBBox()[horiz ? 'height' : 'width'];\n                        titleOffsetOption = axisTitleOptions.offset;\n                        titleMargin = defined(titleOffsetOption) ? 0 : pick(axisTitleOptions.margin, horiz ? 5 : 10);\n                    }\n                }\n\n                // Render the axis line\n                axis.renderLine();\n\n                // handle automatic or user set offset\n                axis.offset = directionFactor * pick(options.offset, axisOffset[side]);\n\n                axis.tickRotCorr = axis.tickRotCorr || {\n                    x: 0,\n                    y: 0\n                }; // polar\n                if (side === 0) {\n                    lineHeightCorrection = -axis.labelMetrics().h;\n                } else if (side === 2) {\n                    lineHeightCorrection = axis.tickRotCorr.y;\n                } else {\n                    lineHeightCorrection = 0;\n                }\n\n                // Find the padded label offset\n                labelOffsetPadded = Math.abs(labelOffset) + titleMargin;\n                if (labelOffset) {\n                    labelOffsetPadded -= lineHeightCorrection;\n                    labelOffsetPadded += directionFactor * (horiz ? pick(labelOptions.y, axis.tickRotCorr.y + directionFactor * 8) : labelOptions.x);\n                }\n                axis.axisTitleMargin = pick(titleOffsetOption, labelOffsetPadded);\n\n                axisOffset[side] = Math.max(\n                    axisOffset[side],\n                    axis.axisTitleMargin + titleOffset + directionFactor * axis.offset,\n                    labelOffsetPadded, // #3027\n                    hasData && tickPositions.length && tickSize ?\n                    tickSize[0] + directionFactor * axis.offset :\n                    0 // #4866\n                );\n\n                // Decide the clipping needed to keep the graph inside the plot area and axis lines\n                clip = options.offset ? 0 : Math.floor(axis.axisLine.strokeWidth() / 2) * 2; // #4308, #4371\n                clipOffset[invertedSide] = Math.max(clipOffset[invertedSide], clip);\n            },\n\n            /**\n             * Get the path for the axis line\n             */\n            getLinePath: function(lineWidth) {\n                var chart = this.chart,\n                    opposite = this.opposite,\n                    offset = this.offset,\n                    horiz = this.horiz,\n                    lineLeft = this.left + (opposite ? this.width : 0) + offset,\n                    lineTop = chart.chartHeight - this.bottom - (opposite ? this.height : 0) + offset;\n\n                if (opposite) {\n                    lineWidth *= -1; // crispify the other way - #1480, #1687\n                }\n\n                return chart.renderer\n                    .crispLine([\n                        'M',\n                        horiz ?\n                        this.left :\n                        lineLeft,\n                        horiz ?\n                        lineTop :\n                        this.top,\n                        'L',\n                        horiz ?\n                        chart.chartWidth - this.right :\n                        lineLeft,\n                        horiz ?\n                        lineTop :\n                        chart.chartHeight - this.bottom\n                    ], lineWidth);\n            },\n\n            /**\n             * Render the axis line\n             */\n            renderLine: function() {\n                if (!this.axisLine) {\n                    this.axisLine = this.chart.renderer.path()\n                        .addClass('highcharts-axis-line')\n                        .add(this.axisGroup);\n\n\n                    this.axisLine.attr({\n                        stroke: this.options.lineColor,\n                        'stroke-width': this.options.lineWidth,\n                        zIndex: 7\n                    });\n\n                }\n            },\n\n            /**\n             * Position the title\n             */\n            getTitlePosition: function() {\n                // compute anchor points for each of the title align options\n                var horiz = this.horiz,\n                    axisLeft = this.left,\n                    axisTop = this.top,\n                    axisLength = this.len,\n                    axisTitleOptions = this.options.title,\n                    margin = horiz ? axisLeft : axisTop,\n                    opposite = this.opposite,\n                    offset = this.offset,\n                    xOption = axisTitleOptions.x || 0,\n                    yOption = axisTitleOptions.y || 0,\n                    fontSize = this.chart.renderer.fontMetrics(axisTitleOptions.style && axisTitleOptions.style.fontSize, this.axisTitle).f,\n\n                    // the position in the length direction of the axis\n                    alongAxis = {\n                        low: margin + (horiz ? 0 : axisLength),\n                        middle: margin + axisLength / 2,\n                        high: margin + (horiz ? axisLength : 0)\n                    }[axisTitleOptions.align],\n\n                    // the position in the perpendicular direction of the axis\n                    offAxis = (horiz ? axisTop + this.height : axisLeft) +\n                    (horiz ? 1 : -1) * // horizontal axis reverses the margin\n                    (opposite ? -1 : 1) * // so does opposite axes\n                    this.axisTitleMargin +\n                    (this.side === 2 ? fontSize : 0);\n\n                return {\n                    x: horiz ?\n                        alongAxis + xOption : offAxis + (opposite ? this.width : 0) + offset + xOption,\n                    y: horiz ?\n                        offAxis + yOption - (opposite ? this.height : 0) + offset : alongAxis + yOption\n                };\n            },\n\n            /**\n             * Render a minor tick into the given position. If a minor tick already \n             * exists in this position, move it.\n             * @param  {number} pos - The position in axis values.\n             */\n            renderMinorTick: function(pos) {\n                var slideInTicks = this.chart.hasRendered && isNumber(this.oldMin),\n                    minorTicks = this.minorTicks;\n\n                if (!minorTicks[pos]) {\n                    minorTicks[pos] = new Tick(this, pos, 'minor');\n                }\n\n                // Render new ticks in old position\n                if (slideInTicks && minorTicks[pos].isNew) {\n                    minorTicks[pos].render(null, true);\n                }\n\n                minorTicks[pos].render(null, false, 1);\n            },\n\n            /**\n             * Render a major tick into the given position. If a tick already exists\n             * in this position, move it.\n             * @param  {number} pos - The position in axis values\n             * @param  {number} i - The tick index\n             */\n            renderTick: function(pos, i) {\n                var isLinked = this.isLinked,\n                    ticks = this.ticks,\n                    slideInTicks = this.chart.hasRendered && isNumber(this.oldMin);\n\n                // Linked axes need an extra check to find out if\n                if (!isLinked || (pos >= this.min && pos <= this.max)) {\n\n                    if (!ticks[pos]) {\n                        ticks[pos] = new Tick(this, pos);\n                    }\n\n                    // render new ticks in old position\n                    if (slideInTicks && ticks[pos].isNew) {\n                        ticks[pos].render(i, true, 0.1);\n                    }\n\n                    ticks[pos].render(i);\n                }\n            },\n\n            /**\n             * Render the axis\n             */\n            render: function() {\n                var axis = this,\n                    chart = axis.chart,\n                    renderer = chart.renderer,\n                    options = axis.options,\n                    isLog = axis.isLog,\n                    lin2log = axis.lin2log,\n                    isLinked = axis.isLinked,\n                    tickPositions = axis.tickPositions,\n                    axisTitle = axis.axisTitle,\n                    ticks = axis.ticks,\n                    minorTicks = axis.minorTicks,\n                    alternateBands = axis.alternateBands,\n                    stackLabelOptions = options.stackLabels,\n                    alternateGridColor = options.alternateGridColor,\n                    tickmarkOffset = axis.tickmarkOffset,\n                    axisLine = axis.axisLine,\n                    showAxis = axis.showAxis,\n                    animation = animObject(renderer.globalAnimation),\n                    from,\n                    to;\n\n                // Reset\n                axis.labelEdge.length = 0;\n                //axis.justifyToPlot = overflow === 'justify';\n                axis.overlap = false;\n\n                // Mark all elements inActive before we go over and mark the active ones\n                each([ticks, minorTicks, alternateBands], function(coll) {\n                    var pos;\n                    for (pos in coll) {\n                        coll[pos].isActive = false;\n                    }\n                });\n\n                // If the series has data draw the ticks. Else only the line and title\n                if (axis.hasData() || isLinked) {\n\n                    // minor ticks\n                    if (axis.minorTickInterval && !axis.categories) {\n                        each(axis.getMinorTickPositions(), function(pos) {\n                            axis.renderMinorTick(pos);\n                        });\n                    }\n\n                    // Major ticks. Pull out the first item and render it last so that\n                    // we can get the position of the neighbour label. #808.\n                    if (tickPositions.length) { // #1300\n                        each(tickPositions, function(pos, i) {\n                            axis.renderTick(pos, i);\n                        });\n                        // In a categorized axis, the tick marks are displayed between labels. So\n                        // we need to add a tick mark and grid line at the left edge of the X axis.\n                        if (tickmarkOffset && (axis.min === 0 || axis.single)) {\n                            if (!ticks[-1]) {\n                                ticks[-1] = new Tick(axis, -1, null, true);\n                            }\n                            ticks[-1].render(-1);\n                        }\n\n                    }\n\n                    // alternate grid color\n                    if (alternateGridColor) {\n                        each(tickPositions, function(pos, i) {\n                            to = tickPositions[i + 1] !== undefined ? tickPositions[i + 1] + tickmarkOffset : axis.max - tickmarkOffset;\n                            if (i % 2 === 0 && pos < axis.max && to <= axis.max + (chart.polar ? -tickmarkOffset : tickmarkOffset)) { // #2248, #4660\n                                if (!alternateBands[pos]) {\n                                    alternateBands[pos] = new PlotLineOrBand(axis);\n                                }\n                                from = pos + tickmarkOffset; // #949\n                                alternateBands[pos].options = {\n                                    from: isLog ? lin2log(from) : from,\n                                    to: isLog ? lin2log(to) : to,\n                                    color: alternateGridColor\n                                };\n                                alternateBands[pos].render();\n                                alternateBands[pos].isActive = true;\n                            }\n                        });\n                    }\n\n                    // custom plot lines and bands\n                    if (!axis._addedPlotLB) { // only first time\n                        each((options.plotLines || []).concat(options.plotBands || []), function(plotLineOptions) {\n                            axis.addPlotBandOrLine(plotLineOptions);\n                        });\n                        axis._addedPlotLB = true;\n                    }\n\n                } // end if hasData\n\n                // Remove inactive ticks\n                each([ticks, minorTicks, alternateBands], function(coll) {\n                    var pos,\n                        i,\n                        forDestruction = [],\n                        delay = animation.duration,\n                        destroyInactiveItems = function() {\n                            i = forDestruction.length;\n                            while (i--) {\n                                // When resizing rapidly, the same items may be destroyed in different timeouts,\n                                // or the may be reactivated\n                                if (coll[forDestruction[i]] && !coll[forDestruction[i]].isActive) {\n                                    coll[forDestruction[i]].destroy();\n                                    delete coll[forDestruction[i]];\n                                }\n                            }\n\n                        };\n\n                    for (pos in coll) {\n\n                        if (!coll[pos].isActive) {\n                            // Render to zero opacity\n                            coll[pos].render(pos, false, 0);\n                            coll[pos].isActive = false;\n                            forDestruction.push(pos);\n                        }\n                    }\n\n                    // When the objects are finished fading out, destroy them\n                    syncTimeout(\n                        destroyInactiveItems,\n                        coll === alternateBands || !chart.hasRendered || !delay ? 0 : delay\n                    );\n                });\n\n                // Set the axis line path\n                if (axisLine) {\n                    axisLine[axisLine.isPlaced ? 'animate' : 'attr']({\n                        d: this.getLinePath(axisLine.strokeWidth())\n                    });\n                    axisLine.isPlaced = true;\n\n                    // Show or hide the line depending on options.showEmpty\n                    axisLine[showAxis ? 'show' : 'hide'](true);\n                }\n\n                if (axisTitle && showAxis) {\n\n                    axisTitle[axisTitle.isNew ? 'attr' : 'animate'](\n                        axis.getTitlePosition()\n                    );\n                    axisTitle.isNew = false;\n                }\n\n                // Stacked totals:\n                if (stackLabelOptions && stackLabelOptions.enabled) {\n                    axis.renderStackTotals();\n                }\n                // End stacked totals\n\n                axis.isDirty = false;\n            },\n\n            /**\n             * Redraw the axis to reflect changes in the data or axis extremes\n             */\n            redraw: function() {\n\n                if (this.visible) {\n                    // render the axis\n                    this.render();\n\n                    // move plot lines and bands\n                    each(this.plotLinesAndBands, function(plotLine) {\n                        plotLine.render();\n                    });\n                }\n\n                // mark associated series as dirty and ready for redraw\n                each(this.series, function(series) {\n                    series.isDirty = true;\n                });\n\n            },\n\n            // Properties to survive after destroy, needed for Axis.update (#4317,\n            // #5773, #5881).\n            keepProps: ['extKey', 'hcEvents', 'names', 'series', 'userMax', 'userMin'],\n\n            /**\n             * Destroys an Axis instance.\n             */\n            destroy: function(keepEvents) {\n                var axis = this,\n                    stacks = axis.stacks,\n                    stackKey,\n                    plotLinesAndBands = axis.plotLinesAndBands,\n                    plotGroup,\n                    i,\n                    n;\n\n                // Remove the events\n                if (!keepEvents) {\n                    removeEvent(axis);\n                }\n\n                // Destroy each stack total\n                for (stackKey in stacks) {\n                    destroyObjectProperties(stacks[stackKey]);\n\n                    stacks[stackKey] = null;\n                }\n\n                // Destroy collections\n                each([axis.ticks, axis.minorTicks, axis.alternateBands], function(coll) {\n                    destroyObjectProperties(coll);\n                });\n                if (plotLinesAndBands) {\n                    i = plotLinesAndBands.length;\n                    while (i--) { // #1975\n                        plotLinesAndBands[i].destroy();\n                    }\n                }\n\n                // Destroy local variables\n                each(['stackTotalGroup', 'axisLine', 'axisTitle', 'axisGroup', 'gridGroup', 'labelGroup', 'cross'], function(prop) {\n                    if (axis[prop]) {\n                        axis[prop] = axis[prop].destroy();\n                    }\n                });\n\n                // Destroy each generated group for plotlines and plotbands\n                for (plotGroup in axis.plotLinesAndBandsGroups) {\n                    axis.plotLinesAndBandsGroups[plotGroup] = axis.plotLinesAndBandsGroups[plotGroup].destroy();\n                }\n\n                // Delete all properties and fall back to the prototype.\n                for (n in axis) {\n                    if (axis.hasOwnProperty(n) && inArray(n, axis.keepProps) === -1) {\n                        delete axis[n];\n                    }\n                }\n            },\n\n            /**\n             * Draw the crosshair\n             * \n             * @param  {Object} e The event arguments from the modified pointer event\n             * @param  {Object} point The Point object\n             */\n            drawCrosshair: function(e, point) {\n\n                var path,\n                    options = this.crosshair,\n                    snap = pick(options.snap, true),\n                    pos,\n                    categorized,\n                    graphic = this.cross;\n\n                // Use last available event when updating non-snapped crosshairs without\n                // mouse interaction (#5287)\n                if (!e) {\n                    e = this.cross && this.cross.e;\n                }\n\n                if (\n                    // Disabled in options\n                    !this.crosshair ||\n                    // Snap\n                    ((defined(point) || !snap) === false)\n                ) {\n                    this.hideCrosshair();\n                } else {\n\n                    // Get the path\n                    if (!snap) {\n                        pos = e && (this.horiz ? e.chartX - this.pos : this.len - e.chartY + this.pos);\n                    } else if (defined(point)) {\n                        pos = this.isXAxis ? point.plotX : this.len - point.plotY; // #3834\n                    }\n\n                    if (defined(pos)) {\n                        path = this.getPlotLinePath(\n                            // First argument, value, only used on radial\n                            point && (this.isXAxis ? point.x : pick(point.stackY, point.y)),\n                            null,\n                            null,\n                            null,\n                            pos // Translated position\n                        ) || null; // #3189\n                    }\n\n                    if (!defined(path)) {\n                        this.hideCrosshair();\n                        return;\n                    }\n\n                    categorized = this.categories && !this.isRadial;\n\n                    // Draw the cross\n                    if (!graphic) {\n                        this.cross = graphic = this.chart.renderer\n                            .path()\n                            .addClass('highcharts-crosshair highcharts-crosshair-' +\n                                (categorized ? 'category ' : 'thin ') + options.className)\n                            .attr({\n                                zIndex: pick(options.zIndex, 2)\n                            })\n                            .add();\n\n\n                        // Presentational attributes\n                        graphic.attr({\n                            'stroke': options.color || (categorized ? color('#ccd6eb').setOpacity(0.25).get() : '#cccccc'),\n                            'stroke-width': pick(options.width, 1)\n                        });\n                        if (options.dashStyle) {\n                            graphic.attr({\n                                dashstyle: options.dashStyle\n                            });\n                        }\n\n\n                    }\n\n                    graphic.show().attr({\n                        d: path\n                    });\n\n                    if (categorized && !options.width) {\n                        graphic.attr({\n                            'stroke-width': this.transA\n                        });\n                    }\n                    this.cross.e = e;\n                }\n            },\n\n            /**\n             *\tHide the crosshair.\n             */\n            hideCrosshair: function() {\n                if (this.cross) {\n                    this.cross.hide();\n                }\n            }\n        }; // end Axis\n\n        extend(H.Axis.prototype, AxisPlotLineOrBandExtension);\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var Axis = H.Axis,\n            Date = H.Date,\n            dateFormat = H.dateFormat,\n            defaultOptions = H.defaultOptions,\n            defined = H.defined,\n            each = H.each,\n            extend = H.extend,\n            getMagnitude = H.getMagnitude,\n            getTZOffset = H.getTZOffset,\n            normalizeTickInterval = H.normalizeTickInterval,\n            pick = H.pick,\n            timeUnits = H.timeUnits;\n        /**\n         * Set the tick positions to a time unit that makes sense, for example\n         * on the first of each month or on every Monday. Return an array\n         * with the time positions. Used in datetime axes as well as for grouping\n         * data on a datetime axis.\n         *\n         * @param {Object} normalizedInterval The interval in axis values (ms) and the count\n         * @param {Number} min The minimum in axis values\n         * @param {Number} max The maximum in axis values\n         * @param {Number} startOfWeek\n         */\n        Axis.prototype.getTimeTicks = function(normalizedInterval, min, max, startOfWeek) {\n            var tickPositions = [],\n                i,\n                higherRanks = {},\n                useUTC = defaultOptions.global.useUTC,\n                minYear, // used in months and years as a basis for Date.UTC()\n                minDate = new Date(min - Math.abs(getTZOffset(min))), // #6278\n                makeTime = Date.hcMakeTime,\n                interval = normalizedInterval.unitRange,\n                count = normalizedInterval.count,\n                variableDayLength;\n\n            if (defined(min)) { // #1300\n                minDate[Date.hcSetMilliseconds](interval >= timeUnits.second ? 0 : // #3935\n                    count * Math.floor(minDate.getMilliseconds() / count)); // #3652, #3654\n\n                if (interval >= timeUnits.second) { // second\n                    minDate[Date.hcSetSeconds](interval >= timeUnits.minute ? 0 : // #3935\n                        count * Math.floor(minDate.getSeconds() / count));\n                }\n\n                if (interval >= timeUnits.minute) { // minute\n                    minDate[Date.hcSetMinutes](interval >= timeUnits.hour ? 0 :\n                        count * Math.floor(minDate[Date.hcGetMinutes]() / count));\n                }\n\n                if (interval >= timeUnits.hour) { // hour\n                    minDate[Date.hcSetHours](interval >= timeUnits.day ? 0 :\n                        count * Math.floor(minDate[Date.hcGetHours]() / count));\n                }\n\n                if (interval >= timeUnits.day) { // day\n                    minDate[Date.hcSetDate](interval >= timeUnits.month ? 1 :\n                        count * Math.floor(minDate[Date.hcGetDate]() / count));\n                }\n\n                if (interval >= timeUnits.month) { // month\n                    minDate[Date.hcSetMonth](interval >= timeUnits.year ? 0 :\n                        count * Math.floor(minDate[Date.hcGetMonth]() / count));\n                    minYear = minDate[Date.hcGetFullYear]();\n                }\n\n                if (interval >= timeUnits.year) { // year\n                    minYear -= minYear % count;\n                    minDate[Date.hcSetFullYear](minYear);\n                }\n\n                // week is a special case that runs outside the hierarchy\n                if (interval === timeUnits.week) {\n                    // get start of current week, independent of count\n                    minDate[Date.hcSetDate](minDate[Date.hcGetDate]() - minDate[Date.hcGetDay]() +\n                        pick(startOfWeek, 1));\n                }\n\n\n                // Get basics for variable time spans\n                minYear = minDate[Date.hcGetFullYear]();\n                var minMonth = minDate[Date.hcGetMonth](),\n                    minDateDate = minDate[Date.hcGetDate](),\n                    minHours = minDate[Date.hcGetHours]();\n\n\n                // Handle local timezone offset\n                if (Date.hcTimezoneOffset || Date.hcGetTimezoneOffset) {\n\n                    // Detect whether we need to take the DST crossover into\n                    // consideration. If we're crossing over DST, the day length may be\n                    // 23h or 25h and we need to compute the exact clock time for each\n                    // tick instead of just adding hours. This comes at a cost, so first\n                    // we found out if it is needed. #4951.\n                    variableDayLength =\n                        (!useUTC || !!Date.hcGetTimezoneOffset) &&\n                        (\n                            // Long range, assume we're crossing over.\n                            max - min > 4 * timeUnits.month ||\n                            // Short range, check if min and max are in different time \n                            // zones.\n                            getTZOffset(min) !== getTZOffset(max)\n                        );\n\n                    // Adjust minDate to the offset date\n                    minDate = minDate.getTime();\n                    minDate = new Date(minDate + getTZOffset(minDate));\n                }\n\n\n                // Iterate and add tick positions at appropriate values\n                var time = minDate.getTime();\n                i = 1;\n                while (time < max) {\n                    tickPositions.push(time);\n\n                    // if the interval is years, use Date.UTC to increase years\n                    if (interval === timeUnits.year) {\n                        time = makeTime(minYear + i * count, 0);\n\n                        // if the interval is months, use Date.UTC to increase months\n                    } else if (interval === timeUnits.month) {\n                        time = makeTime(minYear, minMonth + i * count);\n\n                        // if we're using global time, the interval is not fixed as it jumps\n                        // one hour at the DST crossover\n                    } else if (variableDayLength && (interval === timeUnits.day || interval === timeUnits.week)) {\n                        time = makeTime(minYear, minMonth, minDateDate +\n                            i * count * (interval === timeUnits.day ? 1 : 7));\n\n                    } else if (variableDayLength && interval === timeUnits.hour) {\n                        time = makeTime(minYear, minMonth, minDateDate, minHours + i * count);\n\n                        // else, the interval is fixed and we use simple addition\n                    } else {\n                        time += interval * count;\n                    }\n\n                    i++;\n                }\n\n                // push the last time\n                tickPositions.push(time);\n\n\n                // Handle higher ranks. Mark new days if the time is on midnight\n                // (#950, #1649, #1760, #3349). Use a reasonable dropout threshold to \n                // prevent looping over dense data grouping (#6156).\n                if (interval <= timeUnits.hour && tickPositions.length < 10000) {\n                    each(tickPositions, function(time) {\n                        if (\n                            // Speed optimization, no need to run dateFormat unless\n                            // we're on a full or half hour\n                            time % 1800000 === 0 &&\n                            // Check for local or global midnight\n                            dateFormat('%H%M%S%L', time) === '000000000'\n                        ) {\n                            higherRanks[time] = 'day';\n                        }\n                    });\n                }\n            }\n\n\n            // record information on the chosen unit - for dynamic label formatter\n            tickPositions.info = extend(normalizedInterval, {\n                higherRanks: higherRanks,\n                totalRange: interval * count\n            });\n\n            return tickPositions;\n        };\n\n        /**\n         * Get a normalized tick interval for dates. Returns a configuration object with\n         * unit range (interval), count and name. Used to prepare data for getTimeTicks.\n         * Previously this logic was part of getTimeTicks, but as getTimeTicks now runs\n         * of segments in stock charts, the normalizing logic was extracted in order to\n         * prevent it for running over again for each segment having the same interval.\n         * #662, #697.\n         */\n        Axis.prototype.normalizeTimeTickInterval = function(tickInterval, unitsOption) {\n            var units = unitsOption || [\n                    [\n                        'millisecond', // unit name\n                        [1, 2, 5, 10, 20, 25, 50, 100, 200, 500] // allowed multiples\n                    ],\n                    [\n                        'second', [1, 2, 5, 10, 15, 30]\n                    ],\n                    [\n                        'minute', [1, 2, 5, 10, 15, 30]\n                    ],\n                    [\n                        'hour', [1, 2, 3, 4, 6, 8, 12]\n                    ],\n                    [\n                        'day', [1, 2]\n                    ],\n                    [\n                        'week', [1, 2]\n                    ],\n                    [\n                        'month', [1, 2, 3, 4, 6]\n                    ],\n                    [\n                        'year',\n                        null\n                    ]\n                ],\n                unit = units[units.length - 1], // default unit is years\n                interval = timeUnits[unit[0]],\n                multiples = unit[1],\n                count,\n                i;\n\n            // loop through the units to find the one that best fits the tickInterval\n            for (i = 0; i < units.length; i++) {\n                unit = units[i];\n                interval = timeUnits[unit[0]];\n                multiples = unit[1];\n\n\n                if (units[i + 1]) {\n                    // lessThan is in the middle between the highest multiple and the next unit.\n                    var lessThan = (interval * multiples[multiples.length - 1] +\n                        timeUnits[units[i + 1][0]]) / 2;\n\n                    // break and keep the current unit\n                    if (tickInterval <= lessThan) {\n                        break;\n                    }\n                }\n            }\n\n            // prevent 2.5 years intervals, though 25, 250 etc. are allowed\n            if (interval === timeUnits.year && tickInterval < 5 * interval) {\n                multiples = [1, 2, 5];\n            }\n\n            // get the count\n            count = normalizeTickInterval(\n                tickInterval / interval,\n                multiples,\n                unit[0] === 'year' ? Math.max(getMagnitude(tickInterval / interval), 1) : 1 // #1913, #2360\n            );\n\n            return {\n                unitRange: interval,\n                count: count,\n                unitName: unit[0]\n            };\n        };\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var Axis = H.Axis,\n            getMagnitude = H.getMagnitude,\n            map = H.map,\n            normalizeTickInterval = H.normalizeTickInterval,\n            pick = H.pick;\n        /**\n         * Methods defined on the Axis prototype\n         */\n\n        /**\n         * Set the tick positions of a logarithmic axis\n         */\n        Axis.prototype.getLogTickPositions = function(interval, min, max, minor) {\n            var axis = this,\n                options = axis.options,\n                axisLength = axis.len,\n                lin2log = axis.lin2log,\n                log2lin = axis.log2lin,\n                // Since we use this method for both major and minor ticks,\n                // use a local variable and return the result\n                positions = [];\n\n            // Reset\n            if (!minor) {\n                axis._minorAutoInterval = null;\n            }\n\n            // First case: All ticks fall on whole logarithms: 1, 10, 100 etc.\n            if (interval >= 0.5) {\n                interval = Math.round(interval);\n                positions = axis.getLinearTickPositions(interval, min, max);\n\n                // Second case: We need intermediary ticks. For example\n                // 1, 2, 4, 6, 8, 10, 20, 40 etc.\n            } else if (interval >= 0.08) {\n                var roundedMin = Math.floor(min),\n                    intermediate,\n                    i,\n                    j,\n                    len,\n                    pos,\n                    lastPos,\n                    break2;\n\n                if (interval > 0.3) {\n                    intermediate = [1, 2, 4];\n                } else if (interval > 0.15) { // 0.2 equals five minor ticks per 1, 10, 100 etc\n                    intermediate = [1, 2, 4, 6, 8];\n                } else { // 0.1 equals ten minor ticks per 1, 10, 100 etc\n                    intermediate = [1, 2, 3, 4, 5, 6, 7, 8, 9];\n                }\n\n                for (i = roundedMin; i < max + 1 && !break2; i++) {\n                    len = intermediate.length;\n                    for (j = 0; j < len && !break2; j++) {\n                        pos = log2lin(lin2log(i) * intermediate[j]);\n                        if (pos > min && (!minor || lastPos <= max) && lastPos !== undefined) { // #1670, lastPos is #3113\n                            positions.push(lastPos);\n                        }\n\n                        if (lastPos > max) {\n                            break2 = true;\n                        }\n                        lastPos = pos;\n                    }\n                }\n\n                // Third case: We are so deep in between whole logarithmic values that\n                // we might as well handle the tick positions like a linear axis. For\n                // example 1.01, 1.02, 1.03, 1.04.\n            } else {\n                var realMin = lin2log(min),\n                    realMax = lin2log(max),\n                    tickIntervalOption = options[minor ? 'minorTickInterval' : 'tickInterval'],\n                    filteredTickIntervalOption = tickIntervalOption === 'auto' ? null : tickIntervalOption,\n                    tickPixelIntervalOption = options.tickPixelInterval / (minor ? 5 : 1),\n                    totalPixelLength = minor ? axisLength / axis.tickPositions.length : axisLength;\n\n                interval = pick(\n                    filteredTickIntervalOption,\n                    axis._minorAutoInterval,\n                    (realMax - realMin) * tickPixelIntervalOption / (totalPixelLength || 1)\n                );\n\n                interval = normalizeTickInterval(\n                    interval,\n                    null,\n                    getMagnitude(interval)\n                );\n\n                positions = map(axis.getLinearTickPositions(\n                    interval,\n                    realMin,\n                    realMax\n                ), log2lin);\n\n                if (!minor) {\n                    axis._minorAutoInterval = interval / 5;\n                }\n            }\n\n            // Set the axis-level tickInterval variable\n            if (!minor) {\n                axis.tickInterval = interval;\n            }\n            return positions;\n        };\n\n        Axis.prototype.log2lin = function(num) {\n            return Math.log(num) / Math.LN10;\n        };\n\n        Axis.prototype.lin2log = function(num) {\n            return Math.pow(10, num);\n        };\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var dateFormat = H.dateFormat,\n            each = H.each,\n            extend = H.extend,\n            format = H.format,\n            isNumber = H.isNumber,\n            map = H.map,\n            merge = H.merge,\n            pick = H.pick,\n            splat = H.splat,\n            syncTimeout = H.syncTimeout,\n            timeUnits = H.timeUnits;\n        /**\n         * The tooltip object\n         * @param {Object} chart The chart instance\n         * @param {Object} options Tooltip options\n         */\n        H.Tooltip = function() {\n            this.init.apply(this, arguments);\n        };\n\n        H.Tooltip.prototype = {\n\n            init: function(chart, options) {\n\n                // Save the chart and options\n                this.chart = chart;\n                this.options = options;\n\n                // Keep track of the current series\n                //this.currentSeries = undefined;\n\n                // List of crosshairs\n                this.crosshairs = [];\n\n                // Current values of x and y when animating\n                this.now = {\n                    x: 0,\n                    y: 0\n                };\n\n                // The tooltip is initially hidden\n                this.isHidden = true;\n\n\n\n                // Public property for getting the shared state.\n                this.split = options.split && !chart.inverted;\n                this.shared = options.shared || this.split;\n\n            },\n\n            /**\n             * Destroy the single tooltips in a split tooltip.\n             * If the tooltip is active then it is not destroyed, unless forced to.\n             * @param  {boolean} force Force destroy all tooltips.\n             * @return {undefined}\n             */\n            cleanSplit: function(force) {\n                each(this.chart.series, function(series) {\n                    var tt = series && series.tt;\n                    if (tt) {\n                        if (!tt.isActive || force) {\n                            series.tt = tt.destroy();\n                        } else {\n                            tt.isActive = false;\n                        }\n                    }\n                });\n            },\n\n\n\n\n            /**\n             * Create the Tooltip label element if it doesn't exist, then return the\n             * label.\n             */\n            getLabel: function() {\n\n                var renderer = this.chart.renderer,\n                    options = this.options;\n\n                if (!this.label) {\n                    // Create the label\n                    if (this.split) {\n                        this.label = renderer.g('tooltip');\n                    } else {\n                        this.label = renderer.label(\n                                '',\n                                0,\n                                0,\n                                options.shape || 'callout',\n                                null,\n                                null,\n                                options.useHTML,\n                                null,\n                                'tooltip'\n                            )\n                            .attr({\n                                padding: options.padding,\n                                r: options.borderRadius\n                            });\n\n\n                        this.label\n                            .attr({\n                                'fill': options.backgroundColor,\n                                'stroke-width': options.borderWidth\n                            })\n                            // #2301, #2657\n                            .css(options.style)\n                            .shadow(options.shadow);\n\n                    }\n\n\n\n                    this.label\n                        .attr({\n                            zIndex: 8\n                        })\n                        .add();\n                }\n                return this.label;\n            },\n\n            update: function(options) {\n                this.destroy();\n                this.init(this.chart, merge(true, this.options, options));\n            },\n\n            /**\n             * Destroy the tooltip and its elements.\n             */\n            destroy: function() {\n                // Destroy and clear local variables\n                if (this.label) {\n                    this.label = this.label.destroy();\n                }\n                if (this.split && this.tt) {\n                    this.cleanSplit(this.chart, true);\n                    this.tt = this.tt.destroy();\n                }\n                clearTimeout(this.hideTimer);\n                clearTimeout(this.tooltipTimeout);\n            },\n\n            /**\n             * Provide a soft movement for the tooltip\n             *\n             * @param {Number} x\n             * @param {Number} y\n             * @private\n             */\n            move: function(x, y, anchorX, anchorY) {\n                var tooltip = this,\n                    now = tooltip.now,\n                    animate = tooltip.options.animation !== false && !tooltip.isHidden &&\n                    // When we get close to the target position, abort animation and land on the right place (#3056)\n                    (Math.abs(x - now.x) > 1 || Math.abs(y - now.y) > 1),\n                    skipAnchor = tooltip.followPointer || tooltip.len > 1;\n\n                // Get intermediate values for animation\n                extend(now, {\n                    x: animate ? (2 * now.x + x) / 3 : x,\n                    y: animate ? (now.y + y) / 2 : y,\n                    anchorX: skipAnchor ? undefined : animate ? (2 * now.anchorX + anchorX) / 3 : anchorX,\n                    anchorY: skipAnchor ? undefined : animate ? (now.anchorY + anchorY) / 2 : anchorY\n                });\n\n                // Move to the intermediate value\n                tooltip.getLabel().attr(now);\n\n\n                // Run on next tick of the mouse tracker\n                if (animate) {\n\n                    // Never allow two timeouts\n                    clearTimeout(this.tooltipTimeout);\n\n                    // Set the fixed interval ticking for the smooth tooltip\n                    this.tooltipTimeout = setTimeout(function() {\n                        // The interval function may still be running during destroy,\n                        // so check that the chart is really there before calling.\n                        if (tooltip) {\n                            tooltip.move(x, y, anchorX, anchorY);\n                        }\n                    }, 32);\n\n                }\n            },\n\n            /**\n             * Hide the tooltip\n             */\n            hide: function(delay) {\n                var tooltip = this;\n                clearTimeout(this.hideTimer); // disallow duplicate timers (#1728, #1766)\n                delay = pick(delay, this.options.hideDelay, 500);\n                if (!this.isHidden) {\n                    this.hideTimer = syncTimeout(function() {\n                        tooltip.getLabel()[delay ? 'fadeOut' : 'hide']();\n                        tooltip.isHidden = true;\n                    }, delay);\n                }\n            },\n\n            /**\n             * Extendable method to get the anchor position of the tooltip\n             * from a point or set of points\n             */\n            getAnchor: function(points, mouseEvent) {\n                var ret,\n                    chart = this.chart,\n                    inverted = chart.inverted,\n                    plotTop = chart.plotTop,\n                    plotLeft = chart.plotLeft,\n                    plotX = 0,\n                    plotY = 0,\n                    yAxis,\n                    xAxis;\n\n                points = splat(points);\n\n                // Pie uses a special tooltipPos\n                ret = points[0].tooltipPos;\n\n                // When tooltip follows mouse, relate the position to the mouse\n                if (this.followPointer && mouseEvent) {\n                    if (mouseEvent.chartX === undefined) {\n                        mouseEvent = chart.pointer.normalize(mouseEvent);\n                    }\n                    ret = [\n                        mouseEvent.chartX - chart.plotLeft,\n                        mouseEvent.chartY - plotTop\n                    ];\n                }\n                // When shared, use the average position\n                if (!ret) {\n                    each(points, function(point) {\n                        yAxis = point.series.yAxis;\n                        xAxis = point.series.xAxis;\n                        plotX += point.plotX + (!inverted && xAxis ? xAxis.left - plotLeft : 0);\n                        plotY += (point.plotLow ? (point.plotLow + point.plotHigh) / 2 : point.plotY) +\n                            (!inverted && yAxis ? yAxis.top - plotTop : 0); // #1151\n                    });\n\n                    plotX /= points.length;\n                    plotY /= points.length;\n\n                    ret = [\n                        inverted ? chart.plotWidth - plotY : plotX,\n                        this.shared && !inverted && points.length > 1 && mouseEvent ?\n                        mouseEvent.chartY - plotTop : // place shared tooltip next to the mouse (#424)\n                        inverted ? chart.plotHeight - plotX : plotY\n                    ];\n                }\n\n                return map(ret, Math.round);\n            },\n\n            /**\n             * Place the tooltip in a chart without spilling over\n             * and not covering the point it self.\n             */\n            getPosition: function(boxWidth, boxHeight, point) {\n\n                var chart = this.chart,\n                    distance = this.distance,\n                    ret = {},\n                    h = point.h || 0, // #4117\n                    swapped,\n                    first = ['y', chart.chartHeight, boxHeight,\n                        point.plotY + chart.plotTop, chart.plotTop,\n                        chart.plotTop + chart.plotHeight\n                    ],\n                    second = ['x', chart.chartWidth, boxWidth,\n                        point.plotX + chart.plotLeft, chart.plotLeft,\n                        chart.plotLeft + chart.plotWidth\n                    ],\n                    // The far side is right or bottom\n                    preferFarSide = !this.followPointer && pick(point.ttBelow, !chart.inverted === !!point.negative), // #4984\n                    /**\n                     * Handle the preferred dimension. When the preferred dimension is tooltip\n                     * on top or bottom of the point, it will look for space there.\n                     */\n                    firstDimension = function(dim, outerSize, innerSize, point, min, max) {\n                        var roomLeft = innerSize < point - distance,\n                            roomRight = point + distance + innerSize < outerSize,\n                            alignedLeft = point - distance - innerSize,\n                            alignedRight = point + distance;\n\n                        if (preferFarSide && roomRight) {\n                            ret[dim] = alignedRight;\n                        } else if (!preferFarSide && roomLeft) {\n                            ret[dim] = alignedLeft;\n                        } else if (roomLeft) {\n                            ret[dim] = Math.min(max - innerSize, alignedLeft - h < 0 ? alignedLeft : alignedLeft - h);\n                        } else if (roomRight) {\n                            ret[dim] = Math.max(\n                                min,\n                                alignedRight + h + innerSize > outerSize ?\n                                alignedRight :\n                                alignedRight + h\n                            );\n                        } else {\n                            return false;\n                        }\n                    },\n                    /**\n                     * Handle the secondary dimension. If the preferred dimension is tooltip\n                     * on top or bottom of the point, the second dimension is to align the tooltip\n                     * above the point, trying to align center but allowing left or right\n                     * align within the chart box.\n                     */\n                    secondDimension = function(dim, outerSize, innerSize, point) {\n                        var retVal;\n\n                        // Too close to the edge, return false and swap dimensions\n                        if (point < distance || point > outerSize - distance) {\n                            retVal = false;\n                            // Align left/top\n                        } else if (point < innerSize / 2) {\n                            ret[dim] = 1;\n                            // Align right/bottom\n                        } else if (point > outerSize - innerSize / 2) {\n                            ret[dim] = outerSize - innerSize - 2;\n                            // Align center\n                        } else {\n                            ret[dim] = point - innerSize / 2;\n                        }\n                        return retVal;\n                    },\n                    /**\n                     * Swap the dimensions\n                     */\n                    swap = function(count) {\n                        var temp = first;\n                        first = second;\n                        second = temp;\n                        swapped = count;\n                    },\n                    run = function() {\n                        if (firstDimension.apply(0, first) !== false) {\n                            if (secondDimension.apply(0, second) === false && !swapped) {\n                                swap(true);\n                                run();\n                            }\n                        } else if (!swapped) {\n                            swap(true);\n                            run();\n                        } else {\n                            ret.x = ret.y = 0;\n                        }\n                    };\n\n                // Under these conditions, prefer the tooltip on the side of the point\n                if (chart.inverted || this.len > 1) {\n                    swap();\n                }\n                run();\n\n                return ret;\n\n            },\n\n            /**\n             * In case no user defined formatter is given, this will be used. Note that the context\n             * here is an object holding point, series, x, y etc.\n             *\n             * @returns {String|Array<String>}\n             */\n            defaultFormatter: function(tooltip) {\n                var items = this.points || splat(this),\n                    s;\n\n                // Build the header\n                s = [tooltip.tooltipFooterHeaderFormatter(items[0])];\n\n                // build the values\n                s = s.concat(tooltip.bodyFormatter(items));\n\n                // footer\n                s.push(tooltip.tooltipFooterHeaderFormatter(items[0], true));\n\n                return s;\n            },\n\n            /**\n             * Refresh the tooltip's text and position.\n             * @param {Object|Array} pointOrPoints Rither a point or an array of points\n             */\n            refresh: function(pointOrPoints, mouseEvent) {\n                var tooltip = this,\n                    label,\n                    options = tooltip.options,\n                    x,\n                    y,\n                    point = pointOrPoints,\n                    anchor,\n                    textConfig = {},\n                    text,\n                    pointConfig = [],\n                    formatter = options.formatter || tooltip.defaultFormatter,\n                    shared = tooltip.shared,\n                    currentSeries;\n\n                clearTimeout(this.hideTimer);\n\n                // get the reference point coordinates (pie charts use tooltipPos)\n                tooltip.followPointer = splat(point)[0].series.tooltipOptions.followPointer;\n                anchor = tooltip.getAnchor(point, mouseEvent);\n                x = anchor[0];\n                y = anchor[1];\n\n                // shared tooltip, array is sent over\n                if (shared && !(point.series && point.series.noSharedTooltip)) {\n                    each(point, function(item) {\n                        item.setState('hover');\n\n                        pointConfig.push(item.getLabelConfig());\n                    });\n\n                    textConfig = {\n                        x: point[0].category,\n                        y: point[0].y\n                    };\n                    textConfig.points = pointConfig;\n                    point = point[0];\n\n                    // single point tooltip\n                } else {\n                    textConfig = point.getLabelConfig();\n                }\n                this.len = pointConfig.length; // #6128\n                text = formatter.call(textConfig, tooltip);\n\n                // register the current series\n                currentSeries = point.series;\n                this.distance = pick(currentSeries.tooltipOptions.distance, 16);\n\n                // update the inner HTML\n                if (text === false) {\n                    this.hide();\n                } else {\n\n                    label = tooltip.getLabel();\n\n                    // show it\n                    if (tooltip.isHidden) {\n                        label.attr({\n                            opacity: 1\n                        }).show();\n                    }\n\n                    // update text\n                    if (tooltip.split) {\n                        this.renderSplit(text, pointOrPoints);\n                    } else {\n                        label.attr({\n                            text: text && text.join ? text.join('') : text\n                        });\n\n                        // Set the stroke color of the box to reflect the point\n                        label.removeClass(/highcharts-color-[\\d]+/g)\n                            .addClass('highcharts-color-' + pick(point.colorIndex, currentSeries.colorIndex));\n\n\n                        label.attr({\n                            stroke: options.borderColor || point.color || currentSeries.color || '#666666'\n                        });\n\n\n                        tooltip.updatePosition({\n                            plotX: x,\n                            plotY: y,\n                            negative: point.negative,\n                            ttBelow: point.ttBelow,\n                            h: anchor[2] || 0\n                        });\n                    }\n\n                    this.isHidden = false;\n                }\n            },\n\n            /**\n             * Render the split tooltip. Loops over each point's text and adds\n             * a label next to the point, then uses the distribute function to \n             * find best non-overlapping positions.\n             */\n            renderSplit: function(labels, points) {\n                var tooltip = this,\n                    boxes = [],\n                    chart = this.chart,\n                    ren = chart.renderer,\n                    rightAligned = true,\n                    options = this.options,\n                    headerHeight,\n                    tooltipLabel = this.getLabel();\n\n                // Create the individual labels for header and points, ignore footer\n                each(labels.slice(0, points.length + 1), function(str, i) {\n                    var point = points[i - 1] ||\n                        // Item 0 is the header. Instead of this, we could also use the crosshair label\n                        {\n                            isHeader: true,\n                            plotX: points[0].plotX\n                        },\n                        owner = point.series || tooltip,\n                        tt = owner.tt,\n                        series = point.series || {},\n                        colorClass = 'highcharts-color-' + pick(point.colorIndex, series.colorIndex, 'none'),\n                        target,\n                        x,\n                        bBox,\n                        boxWidth;\n\n                    // Store the tooltip referance on the series\n                    if (!tt) {\n                        owner.tt = tt = ren.label(null, null, null, 'callout')\n                            .addClass('highcharts-tooltip-box ' + colorClass)\n                            .attr({\n                                'padding': options.padding,\n                                'r': options.borderRadius,\n\n                                'fill': options.backgroundColor,\n                                'stroke': point.color || series.color || '#333333',\n                                'stroke-width': options.borderWidth\n\n                            })\n                            .add(tooltipLabel);\n                    }\n\n                    tt.isActive = true;\n                    tt.attr({\n                        text: str\n                    });\n\n                    tt.css(options.style);\n\n\n                    // Get X position now, so we can move all to the other side in case of overflow\n                    bBox = tt.getBBox();\n                    boxWidth = bBox.width + tt.strokeWidth();\n                    if (point.isHeader) {\n                        headerHeight = bBox.height;\n                        x = Math.max(\n                            0, // No left overflow\n                            Math.min(\n                                point.plotX + chart.plotLeft - boxWidth / 2,\n                                chart.chartWidth - boxWidth // No right overflow (#5794)\n                            )\n                        );\n                    } else {\n                        x = point.plotX + chart.plotLeft - pick(options.distance, 16) -\n                            boxWidth;\n                    }\n\n\n                    // If overflow left, we don't use this x in the next loop\n                    if (x < 0) {\n                        rightAligned = false;\n                    }\n\n                    // Prepare for distribution\n                    target = (point.series && point.series.yAxis && point.series.yAxis.pos) + (point.plotY || 0);\n                    target -= chart.plotTop;\n                    boxes.push({\n                        target: point.isHeader ? chart.plotHeight + headerHeight : target,\n                        rank: point.isHeader ? 1 : 0,\n                        size: owner.tt.getBBox().height + 1,\n                        point: point,\n                        x: x,\n                        tt: tt\n                    });\n                });\n\n                // Clean previous run (for missing points)\n                this.cleanSplit();\n\n                // Distribute and put in place\n                H.distribute(boxes, chart.plotHeight + headerHeight);\n                each(boxes, function(box) {\n                    var point = box.point,\n                        series = point.series;\n\n                    // Put the label in place\n                    box.tt.attr({\n                        visibility: box.pos === undefined ? 'hidden' : 'inherit',\n                        x: (rightAligned || point.isHeader ?\n                            box.x :\n                            point.plotX + chart.plotLeft + pick(options.distance, 16)),\n                        y: box.pos + chart.plotTop,\n                        anchorX: point.isHeader ?\n                            point.plotX + chart.plotLeft : point.plotX + series.xAxis.pos,\n                        anchorY: point.isHeader ?\n                            box.pos + chart.plotTop - 15 : point.plotY + series.yAxis.pos\n                    });\n                });\n            },\n\n            /**\n             * Find the new position and perform the move\n             */\n            updatePosition: function(point) {\n                var chart = this.chart,\n                    label = this.getLabel(),\n                    pos = (this.options.positioner || this.getPosition).call(\n                        this,\n                        label.width,\n                        label.height,\n                        point\n                    );\n\n                // do the move\n                this.move(\n                    Math.round(pos.x),\n                    Math.round(pos.y || 0), // can be undefined (#3977) \n                    point.plotX + chart.plotLeft,\n                    point.plotY + chart.plotTop\n                );\n            },\n\n            /**\n             * Get the optimal date format for a point, based on a range.\n             * @param  {number} range - The time range\n             * @param  {number|Date} date - The date of the point in question\n             * @param  {number} startOfWeek - An integer representing the first day of\n             * the week, where 0 is Sunday\n             * @param  {Object} dateTimeLabelFormats - A map of time units to formats\n             * @return {string} - the optimal date format for a point\n             */\n            getDateFormat: function(range, date, startOfWeek, dateTimeLabelFormats) {\n                var dateStr = dateFormat('%m-%d %H:%M:%S.%L', date),\n                    format,\n                    n,\n                    blank = '01-01 00:00:00.000',\n                    strpos = {\n                        millisecond: 15,\n                        second: 12,\n                        minute: 9,\n                        hour: 6,\n                        day: 3\n                    },\n                    lastN = 'millisecond'; // for sub-millisecond data, #4223\n                for (n in timeUnits) {\n\n                    // If the range is exactly one week and we're looking at a Sunday/Monday, go for the week format\n                    if (range === timeUnits.week && +dateFormat('%w', date) === startOfWeek &&\n                        dateStr.substr(6) === blank.substr(6)) {\n                        n = 'week';\n                        break;\n                    }\n\n                    // The first format that is too great for the range\n                    if (timeUnits[n] > range) {\n                        n = lastN;\n                        break;\n                    }\n\n                    // If the point is placed every day at 23:59, we need to show\n                    // the minutes as well. #2637.\n                    if (strpos[n] && dateStr.substr(strpos[n]) !== blank.substr(strpos[n])) {\n                        break;\n                    }\n\n                    // Weeks are outside the hierarchy, only apply them on Mondays/Sundays like in the first condition\n                    if (n !== 'week') {\n                        lastN = n;\n                    }\n                }\n\n                if (n) {\n                    format = dateTimeLabelFormats[n];\n                }\n\n                return format;\n            },\n\n            /**\n             * Get the best X date format based on the closest point range on the axis.\n             */\n            getXDateFormat: function(point, options, xAxis) {\n                var xDateFormat,\n                    dateTimeLabelFormats = options.dateTimeLabelFormats,\n                    closestPointRange = xAxis && xAxis.closestPointRange;\n\n                if (closestPointRange) {\n                    xDateFormat = this.getDateFormat(\n                        closestPointRange,\n                        point.x,\n                        xAxis.options.startOfWeek,\n                        dateTimeLabelFormats\n                    );\n                } else {\n                    xDateFormat = dateTimeLabelFormats.day;\n                }\n\n                return xDateFormat || dateTimeLabelFormats.year; // #2546, 2581\n            },\n\n            /**\n             * Format the footer/header of the tooltip\n             * #3397: abstraction to enable formatting of footer and header\n             */\n            tooltipFooterHeaderFormatter: function(labelConfig, isFooter) {\n                var footOrHead = isFooter ? 'footer' : 'header',\n                    series = labelConfig.series,\n                    tooltipOptions = series.tooltipOptions,\n                    xDateFormat = tooltipOptions.xDateFormat,\n                    xAxis = series.xAxis,\n                    isDateTime = xAxis && xAxis.options.type === 'datetime' && isNumber(labelConfig.key),\n                    formatString = tooltipOptions[footOrHead + 'Format'];\n\n                // Guess the best date format based on the closest point distance (#568, #3418)\n                if (isDateTime && !xDateFormat) {\n                    xDateFormat = this.getXDateFormat(labelConfig, tooltipOptions, xAxis);\n                }\n\n                // Insert the footer date format if any\n                if (isDateTime && xDateFormat) {\n                    formatString = formatString.replace('{point.key}', '{point.key:' + xDateFormat + '}');\n                }\n\n                return format(formatString, {\n                    point: labelConfig,\n                    series: series\n                });\n            },\n\n            /**\n             * Build the body (lines) of the tooltip by iterating over the items and returning one entry for each item,\n             * abstracting this functionality allows to easily overwrite and extend it.\n             */\n            bodyFormatter: function(items) {\n                return map(items, function(item) {\n                    var tooltipOptions = item.series.tooltipOptions;\n                    return (tooltipOptions.pointFormatter || item.point.tooltipFormatter)\n                        .call(item.point, tooltipOptions.pointFormat);\n                });\n            }\n\n        };\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var addEvent = H.addEvent,\n            attr = H.attr,\n            charts = H.charts,\n            color = H.color,\n            css = H.css,\n            defined = H.defined,\n            doc = H.doc,\n            each = H.each,\n            extend = H.extend,\n            fireEvent = H.fireEvent,\n            offset = H.offset,\n            pick = H.pick,\n            removeEvent = H.removeEvent,\n            splat = H.splat,\n            Tooltip = H.Tooltip,\n            win = H.win;\n\n        /**\n         * The mouse tracker object. All methods starting with \"on\" are primary DOM\n         * event handlers. Subsequent methods should be named differently from what they\n         * are doing.\n         *\n         * @constructor Pointer\n         * @param {Object} chart The Chart instance\n         * @param {Object} options The root options object\n         */\n        H.Pointer = function(chart, options) {\n            this.init(chart, options);\n        };\n\n        H.Pointer.prototype = {\n            /**\n             * Initialize Pointer\n             */\n            init: function(chart, options) {\n\n                // Store references\n                this.options = options;\n                this.chart = chart;\n\n                // Do we need to handle click on a touch device?\n                this.runChartClick = options.chart.events && !!options.chart.events.click;\n\n                this.pinchDown = [];\n                this.lastValidTouch = {};\n\n                if (Tooltip && options.tooltip.enabled) {\n                    chart.tooltip = new Tooltip(chart, options.tooltip);\n                    this.followTouchMove = pick(options.tooltip.followTouchMove, true);\n                }\n\n                this.setDOMEvents();\n            },\n\n            /**\n             * Resolve the zoomType option, this is reset on all touch start and mouse\n             * down events.\n             */\n            zoomOption: function(e) {\n                var chart = this.chart,\n                    options = chart.options.chart,\n                    zoomType = options.zoomType || '',\n                    inverted = chart.inverted,\n                    zoomX,\n                    zoomY;\n\n                // Look for the pinchType option\n                if (/touch/.test(e.type)) {\n                    zoomType = pick(options.pinchType, zoomType);\n                }\n\n                this.zoomX = zoomX = /x/.test(zoomType);\n                this.zoomY = zoomY = /y/.test(zoomType);\n                this.zoomHor = (zoomX && !inverted) || (zoomY && inverted);\n                this.zoomVert = (zoomY && !inverted) || (zoomX && inverted);\n                this.hasZoom = zoomX || zoomY;\n            },\n\n            /**\n             * Add crossbrowser support for chartX and chartY\n             * @param {Object} e The event object in standard browsers\n             */\n            normalize: function(e, chartPosition) {\n                var chartX,\n                    chartY,\n                    ePos;\n\n                // IE normalizing\n                e = e || win.event;\n                if (!e.target) {\n                    e.target = e.srcElement;\n                }\n\n                // iOS (#2757)\n                ePos = e.touches ? (e.touches.length ? e.touches.item(0) : e.changedTouches[0]) : e;\n\n                // Get mouse position\n                if (!chartPosition) {\n                    this.chartPosition = chartPosition = offset(this.chart.container);\n                }\n\n                // chartX and chartY\n                if (ePos.pageX === undefined) { // IE < 9. #886.\n                    chartX = Math.max(e.x, e.clientX - chartPosition.left); // #2005, #2129: the second case is \n                    // for IE10 quirks mode within framesets\n                    chartY = e.y;\n                } else {\n                    chartX = ePos.pageX - chartPosition.left;\n                    chartY = ePos.pageY - chartPosition.top;\n                }\n\n                return extend(e, {\n                    chartX: Math.round(chartX),\n                    chartY: Math.round(chartY)\n                });\n            },\n\n            /**\n             * Get the click position in terms of axis values.\n             *\n             * @param {Object} e A pointer event\n             */\n            getCoordinates: function(e) {\n                var coordinates = {\n                    xAxis: [],\n                    yAxis: []\n                };\n\n                each(this.chart.axes, function(axis) {\n                    coordinates[axis.isXAxis ? 'xAxis' : 'yAxis'].push({\n                        axis: axis,\n                        value: axis.toValue(e[axis.horiz ? 'chartX' : 'chartY'])\n                    });\n                });\n                return coordinates;\n            },\n            /**\n             * Collects the points closest to a mouseEvent\n             * @param  {Array} series Array of series to gather points from\n             * @param  {Boolean} shared True if shared tooltip, otherwise false\n             * @param  {Object} e Mouse event which possess a position to compare against\n             * @return {Array} KDPoints sorted by distance\n             */\n            getKDPoints: function(series, shared, e) {\n                var kdpoints = [],\n                    noSharedTooltip,\n                    directTouch,\n                    kdpointT,\n                    i;\n\n                // Find nearest points on all series\n                each(series, function(s) {\n                    // Skip hidden series\n                    noSharedTooltip = s.noSharedTooltip && shared;\n                    directTouch = !shared && s.directTouch;\n                    if (s.visible && !directTouch && pick(s.options.enableMouseTracking, true)) { // #3821\n                        // #3828\n                        kdpointT = s.searchPoint(\n                            e, !noSharedTooltip && s.options.findNearestPointBy.indexOf('y') < 0\n                        );\n                        if (kdpointT && kdpointT.series) { // Point.series becomes null when reset and before redraw (#5197)\n                            kdpoints.push(kdpointT);\n                        }\n                    }\n                });\n\n                // Sort kdpoints by distance to mouse pointer\n                kdpoints.sort(function(p1, p2) {\n                    var isCloserX = p1.distX - p2.distX,\n                        isCloser = p1.dist - p2.dist,\n                        isAbove =\n                        (p2.series.group && p2.series.group.zIndex) -\n                        (p1.series.group && p1.series.group.zIndex),\n                        result;\n\n                    // We have two points which are not in the same place on xAxis and shared tooltip:\n                    if (isCloserX !== 0 && shared) { // #5721\n                        result = isCloserX;\n                        // Points are not exactly in the same place on x/yAxis:\n                    } else if (isCloser !== 0) {\n                        result = isCloser;\n                        // The same xAxis and yAxis position, sort by z-index:\n                    } else if (isAbove !== 0) {\n                        result = isAbove;\n                        // The same zIndex, sort by array index:\n                    } else {\n                        result = p1.series.index > p2.series.index ? -1 : 1;\n                    }\n                    return result;\n                });\n\n                // Remove points with different x-positions, required for shared tooltip and crosshairs (#4645):\n                if (shared && kdpoints[0] && !kdpoints[0].series.noSharedTooltip) {\n                    i = kdpoints.length;\n                    while (i--) {\n                        if (kdpoints[i].x !== kdpoints[0].x || kdpoints[i].series.noSharedTooltip) {\n                            kdpoints.splice(i, 1);\n                        }\n                    }\n                }\n                return kdpoints;\n            },\n            getPointFromEvent: function(e) {\n                var target = e.target,\n                    point;\n\n                while (target && !point) {\n                    point = target.point;\n                    target = target.parentNode;\n                }\n                return point;\n            },\n\n            getHoverData: function(existingHoverPoint, existingHoverSeries, series, isDirectTouch, shared, e) {\n                var hoverPoint = existingHoverPoint,\n                    hoverSeries = existingHoverSeries,\n                    searchSeries,\n                    hoverPoints;\n\n                // If it has a hoverPoint and that series requires direct touch (like columns, #3899), or we're on\n                // a noSharedTooltip series among shared tooltip series (#4546), use the hoverPoint . Otherwise,\n                // search the k-d tree.\n                // Handle shared tooltip or cases where a series is not yet hovered\n                if (isDirectTouch) {\n                    if (shared) {\n                        hoverPoints = [];\n                        each(series, function(s) {\n                            // Skip hidden series\n                            var noSharedTooltip = s.noSharedTooltip && shared,\n                                directTouch = !shared && s.directTouch,\n                                kdpointT;\n                            if (s.visible && !noSharedTooltip && !directTouch && pick(s.options.enableMouseTracking, true)) { // #3821\n                                kdpointT = s.searchKDTree({\n                                    clientX: hoverPoint.clientX,\n                                    plotY: hoverPoint.plotY\n                                }, !noSharedTooltip && s.kdDimensions === 1);\n                                if (kdpointT && kdpointT.series) { // Point.series becomes null when reset and before redraw (#5197)\n                                    hoverPoints.push(kdpointT);\n                                }\n                            }\n                        });\n                        // If kdTree is not built\n                        if (hoverPoints.length === 0) {\n                            hoverPoints = [hoverPoint];\n                        }\n                    } else {\n                        hoverPoints = [hoverPoint];\n                    }\n                    // When the hovered series has stickyTracking false.\n                } else if (hoverSeries && !hoverSeries.stickyTracking) {\n                    if (!shared) {\n                        series = [hoverSeries];\n                    }\n                    hoverPoints = this.getKDPoints(series, shared, e);\n                    hoverPoint = H.find(hoverPoints, function(p) {\n                        return p.series === hoverSeries;\n                    });\n                    // When the hoverSeries has stickyTracking or there is no series hovered.\n                } else {\n                    // Avoid series with stickyTracking\n                    searchSeries = H.grep(series, function(s) {\n                        return s.stickyTracking;\n                    });\n                    hoverPoints = this.getKDPoints(searchSeries, shared, e);\n                    hoverPoint = hoverPoints[0];\n                    hoverSeries = hoverPoint && hoverPoint.series;\n                    // If \n                    if (shared) {\n                        hoverPoints = this.getKDPoints(series, shared, e);\n                    }\n                }\n                // Keep the order of series in tooltip\n                // Must be done after assigning of hoverPoint\n                hoverPoints.sort(function(p1, p2) {\n                    return p1.series.index - p2.series.index;\n                });\n\n                return {\n                    hoverPoint: hoverPoint,\n                    hoverSeries: hoverSeries,\n                    hoverPoints: hoverPoints\n                };\n            },\n            /**\n             * With line type charts with a single tracker, get the point closest to the mouse.\n             * Run Point.onMouseOver and display tooltip for the point or points.\n             */\n            runPointActions: function(e, p) {\n                var pointer = this,\n                    chart = pointer.chart,\n                    series = chart.series,\n                    tooltip = chart.tooltip,\n                    shared = tooltip ? tooltip.shared : false,\n                    hoverPoint = p || chart.hoverPoint,\n                    hoverSeries = hoverPoint && hoverPoint.series || chart.hoverSeries,\n                    // onMouseOver or already hovering a series with directTouch\n                    isDirectTouch = !!p || (!shared && hoverSeries && hoverSeries.directTouch),\n                    hoverData = this.getHoverData(hoverPoint, hoverSeries, series, isDirectTouch, shared, e),\n                    useSharedTooltip,\n                    followPointer,\n                    anchor,\n                    points;\n\n                // Update variables from hoverData.\n                hoverPoint = hoverData.hoverPoint;\n                hoverSeries = hoverData.hoverSeries;\n                followPointer = hoverSeries && hoverSeries.tooltipOptions.followPointer;\n                useSharedTooltip = shared && hoverPoint && !hoverPoint.series.noSharedTooltip;\n                points = (useSharedTooltip ?\n                    hoverData.hoverPoints :\n                    (hoverPoint ? [hoverPoint] : [])\n                );\n\n                // Refresh tooltip for kdpoint if new hover point or tooltip was hidden // #3926, #4200\n                if (\n                    hoverPoint &&\n                    // !(hoverSeries && hoverSeries.directTouch) &&\n                    (hoverPoint !== chart.hoverPoint || (tooltip && tooltip.isHidden))\n                ) {\n                    each(chart.hoverPoints || [], function(p) {\n                        if (H.inArray(p, points) === -1) {\n                            p.setState();\n                        }\n                    });\n                    // Do mouseover on all points (#3919, #3985, #4410, #5622)\n                    each(points || [], function(p) {\n                        p.setState('hover');\n                    });\n                    // set normal state to previous series\n                    if (chart.hoverSeries !== hoverSeries) {\n                        hoverSeries.onMouseOver();\n                    }\n\n                    // If tracking is on series in stead of on each point, \n                    // fire mouseOver on hover point. \n                    if (hoverSeries && !hoverSeries.directTouch) { // #4448\n                        if (chart.hoverPoint) {\n                            chart.hoverPoint.firePointEvent('mouseOut');\n                        }\n                        hoverPoint.firePointEvent('mouseOver');\n                    }\n                    chart.hoverPoints = points;\n                    chart.hoverPoint = hoverPoint;\n                    // Draw tooltip if necessary\n                    if (tooltip) {\n                        tooltip.refresh(useSharedTooltip ? points : hoverPoint, e);\n                    }\n                    // Update positions (regardless of kdpoint or hoverPoint)\n                } else if (followPointer && tooltip && !tooltip.isHidden) {\n                    anchor = tooltip.getAnchor([{}], e);\n                    tooltip.updatePosition({\n                        plotX: anchor[0],\n                        plotY: anchor[1]\n                    });\n                }\n\n                // Start the event listener to pick up the tooltip and crosshairs\n                if (!pointer.unDocMouseMove) {\n                    pointer.unDocMouseMove = addEvent(doc, 'mousemove', function(e) {\n                        var chart = charts[H.hoverChartIndex];\n                        if (chart) {\n                            chart.pointer.onDocumentMouseMove(e);\n                        }\n                    });\n                }\n\n                // Draw crosshairs (#4927, #5269 #5066, #5658)\n                each(chart.axes, function drawAxisCrosshair(axis) {\n                    // Snap is true. For each hover point, loop over the axes and draw a\n                    // crosshair if that point belongs to the axis.\n                    // @todo Consider only one crosshair per axis.\n                    if (pick(axis.crosshair.snap, true)) {\n                        each(points, function(p) {\n                            if (p.series[axis.coll] === axis) {\n                                axis.drawCrosshair(e, p);\n                            }\n                        });\n                    } else {\n                        axis.drawCrosshair(e);\n                    }\n                });\n            },\n\n            /**\n             * Reset the tracking by hiding the tooltip, the hover series state and the hover point\n             *\n             * @param allowMove {Boolean} Instead of destroying the tooltip altogether, allow moving it if possible\n             */\n            reset: function(allowMove, delay) {\n                var pointer = this,\n                    chart = pointer.chart,\n                    hoverSeries = chart.hoverSeries,\n                    hoverPoint = chart.hoverPoint,\n                    hoverPoints = chart.hoverPoints,\n                    tooltip = chart.tooltip,\n                    tooltipPoints = tooltip && tooltip.shared ? hoverPoints : hoverPoint;\n\n                // Check if the points have moved outside the plot area (#1003, #4736, #5101)\n                if (allowMove && tooltipPoints) {\n                    each(splat(tooltipPoints), function(point) {\n                        if (point.series.isCartesian && point.plotX === undefined) {\n                            allowMove = false;\n                        }\n                    });\n                }\n\n                // Just move the tooltip, #349\n                if (allowMove) {\n                    if (tooltip && tooltipPoints) {\n                        tooltip.refresh(tooltipPoints);\n                        if (hoverPoint) { // #2500\n                            hoverPoint.setState(hoverPoint.state, true);\n                            each(chart.axes, function(axis) {\n                                if (axis.crosshair) {\n                                    axis.drawCrosshair(null, hoverPoint);\n                                }\n                            });\n                        }\n                    }\n\n                    // Full reset\n                } else {\n\n                    if (hoverPoint) {\n                        hoverPoint.onMouseOut();\n                    }\n\n                    if (hoverPoints) {\n                        each(hoverPoints, function(point) {\n                            point.setState();\n                        });\n                    }\n\n                    if (hoverSeries) {\n                        hoverSeries.onMouseOut();\n                    }\n\n                    if (tooltip) {\n                        tooltip.hide(delay);\n                    }\n\n                    if (pointer.unDocMouseMove) {\n                        pointer.unDocMouseMove = pointer.unDocMouseMove();\n                    }\n\n                    // Remove crosshairs\n                    each(chart.axes, function(axis) {\n                        axis.hideCrosshair();\n                    });\n\n                    pointer.hoverX = chart.hoverPoints = chart.hoverPoint = null;\n                }\n            },\n\n            /**\n             * Scale series groups to a certain scale and translation\n             */\n            scaleGroups: function(attribs, clip) {\n\n                var chart = this.chart,\n                    seriesAttribs;\n\n                // Scale each series\n                each(chart.series, function(series) {\n                    seriesAttribs = attribs || series.getPlotBox(); // #1701\n                    if (series.xAxis && series.xAxis.zoomEnabled && series.group) {\n                        series.group.attr(seriesAttribs);\n                        if (series.markerGroup) {\n                            series.markerGroup.attr(seriesAttribs);\n                            series.markerGroup.clip(clip ? chart.clipRect : null);\n                        }\n                        if (series.dataLabelsGroup) {\n                            series.dataLabelsGroup.attr(seriesAttribs);\n                        }\n                    }\n                });\n\n                // Clip\n                chart.clipRect.attr(clip || chart.clipBox);\n            },\n\n            /**\n             * Start a drag operation\n             */\n            dragStart: function(e) {\n                var chart = this.chart;\n\n                // Record the start position\n                chart.mouseIsDown = e.type;\n                chart.cancelClick = false;\n                chart.mouseDownX = this.mouseDownX = e.chartX;\n                chart.mouseDownY = this.mouseDownY = e.chartY;\n            },\n\n            /**\n             * Perform a drag operation in response to a mousemove event while the mouse is down\n             */\n            drag: function(e) {\n\n                var chart = this.chart,\n                    chartOptions = chart.options.chart,\n                    chartX = e.chartX,\n                    chartY = e.chartY,\n                    zoomHor = this.zoomHor,\n                    zoomVert = this.zoomVert,\n                    plotLeft = chart.plotLeft,\n                    plotTop = chart.plotTop,\n                    plotWidth = chart.plotWidth,\n                    plotHeight = chart.plotHeight,\n                    clickedInside,\n                    size,\n                    selectionMarker = this.selectionMarker,\n                    mouseDownX = this.mouseDownX,\n                    mouseDownY = this.mouseDownY,\n                    panKey = chartOptions.panKey && e[chartOptions.panKey + 'Key'];\n\n                // If the device supports both touch and mouse (like IE11), and we are touch-dragging\n                // inside the plot area, don't handle the mouse event. #4339.\n                if (selectionMarker && selectionMarker.touch) {\n                    return;\n                }\n\n                // If the mouse is outside the plot area, adjust to cooordinates\n                // inside to prevent the selection marker from going outside\n                if (chartX < plotLeft) {\n                    chartX = plotLeft;\n                } else if (chartX > plotLeft + plotWidth) {\n                    chartX = plotLeft + plotWidth;\n                }\n\n                if (chartY < plotTop) {\n                    chartY = plotTop;\n                } else if (chartY > plotTop + plotHeight) {\n                    chartY = plotTop + plotHeight;\n                }\n\n                // determine if the mouse has moved more than 10px\n                this.hasDragged = Math.sqrt(\n                    Math.pow(mouseDownX - chartX, 2) +\n                    Math.pow(mouseDownY - chartY, 2)\n                );\n\n                if (this.hasDragged > 10) {\n                    clickedInside = chart.isInsidePlot(mouseDownX - plotLeft, mouseDownY - plotTop);\n\n                    // make a selection\n                    if (chart.hasCartesianSeries && (this.zoomX || this.zoomY) && clickedInside && !panKey) {\n                        if (!selectionMarker) {\n                            this.selectionMarker = selectionMarker = chart.renderer.rect(\n                                    plotLeft,\n                                    plotTop,\n                                    zoomHor ? 1 : plotWidth,\n                                    zoomVert ? 1 : plotHeight,\n                                    0\n                                )\n                                .attr({\n\n                                    fill: chartOptions.selectionMarkerFill || color('#335cad').setOpacity(0.25).get(),\n\n                                    'class': 'highcharts-selection-marker',\n                                    'zIndex': 7\n                                })\n                                .add();\n                        }\n                    }\n\n                    // adjust the width of the selection marker\n                    if (selectionMarker && zoomHor) {\n                        size = chartX - mouseDownX;\n                        selectionMarker.attr({\n                            width: Math.abs(size),\n                            x: (size > 0 ? 0 : size) + mouseDownX\n                        });\n                    }\n                    // adjust the height of the selection marker\n                    if (selectionMarker && zoomVert) {\n                        size = chartY - mouseDownY;\n                        selectionMarker.attr({\n                            height: Math.abs(size),\n                            y: (size > 0 ? 0 : size) + mouseDownY\n                        });\n                    }\n\n                    // panning\n                    if (clickedInside && !selectionMarker && chartOptions.panning) {\n                        chart.pan(e, chartOptions.panning);\n                    }\n                }\n            },\n\n            /**\n             * On mouse up or touch end across the entire document, drop the selection.\n             */\n            drop: function(e) {\n                var pointer = this,\n                    chart = this.chart,\n                    hasPinched = this.hasPinched;\n\n                if (this.selectionMarker) {\n                    var selectionData = {\n                            originalEvent: e, // #4890\n                            xAxis: [],\n                            yAxis: []\n                        },\n                        selectionBox = this.selectionMarker,\n                        selectionLeft = selectionBox.attr ? selectionBox.attr('x') : selectionBox.x,\n                        selectionTop = selectionBox.attr ? selectionBox.attr('y') : selectionBox.y,\n                        selectionWidth = selectionBox.attr ? selectionBox.attr('width') : selectionBox.width,\n                        selectionHeight = selectionBox.attr ? selectionBox.attr('height') : selectionBox.height,\n                        runZoom;\n\n                    // a selection has been made\n                    if (this.hasDragged || hasPinched) {\n\n                        // record each axis' min and max\n                        each(chart.axes, function(axis) {\n                            if (axis.zoomEnabled && defined(axis.min) && (hasPinched || pointer[{\n                                    xAxis: 'zoomX',\n                                    yAxis: 'zoomY'\n                                }[axis.coll]])) { // #859, #3569\n                                var horiz = axis.horiz,\n                                    minPixelPadding = e.type === 'touchend' ? axis.minPixelPadding : 0, // #1207, #3075\n                                    selectionMin = axis.toValue((horiz ? selectionLeft : selectionTop) + minPixelPadding),\n                                    selectionMax = axis.toValue((horiz ? selectionLeft + selectionWidth : selectionTop + selectionHeight) - minPixelPadding);\n\n                                selectionData[axis.coll].push({\n                                    axis: axis,\n                                    min: Math.min(selectionMin, selectionMax), // for reversed axes\n                                    max: Math.max(selectionMin, selectionMax)\n                                });\n                                runZoom = true;\n                            }\n                        });\n                        if (runZoom) {\n                            fireEvent(chart, 'selection', selectionData, function(args) {\n                                chart.zoom(extend(args, hasPinched ? {\n                                    animation: false\n                                } : null));\n                            });\n                        }\n\n                    }\n                    this.selectionMarker = this.selectionMarker.destroy();\n\n                    // Reset scaling preview\n                    if (hasPinched) {\n                        this.scaleGroups();\n                    }\n                }\n\n                // Reset all\n                if (chart) { // it may be destroyed on mouse up - #877\n                    css(chart.container, {\n                        cursor: chart._cursor\n                    });\n                    chart.cancelClick = this.hasDragged > 10; // #370\n                    chart.mouseIsDown = this.hasDragged = this.hasPinched = false;\n                    this.pinchDown = [];\n                }\n            },\n\n            onContainerMouseDown: function(e) {\n\n                e = this.normalize(e);\n\n                this.zoomOption(e);\n\n                // issue #295, dragging not always working in Firefox\n                if (e.preventDefault) {\n                    e.preventDefault();\n                }\n\n                this.dragStart(e);\n            },\n\n\n\n            onDocumentMouseUp: function(e) {\n                if (charts[H.hoverChartIndex]) {\n                    charts[H.hoverChartIndex].pointer.drop(e);\n                }\n            },\n\n            /**\n             * Special handler for mouse move that will hide the tooltip when the mouse leaves the plotarea.\n             * Issue #149 workaround. The mouseleave event does not always fire.\n             */\n            onDocumentMouseMove: function(e) {\n                var chart = this.chart,\n                    chartPosition = this.chartPosition;\n\n                e = this.normalize(e, chartPosition);\n\n                // If we're outside, hide the tooltip\n                if (chartPosition && !this.inClass(e.target, 'highcharts-tracker') &&\n                    !chart.isInsidePlot(e.chartX - chart.plotLeft, e.chartY - chart.plotTop)) {\n                    this.reset();\n                }\n            },\n\n            /**\n             * When mouse leaves the container, hide the tooltip.\n             */\n            onContainerMouseLeave: function(e) {\n                var chart = charts[H.hoverChartIndex];\n                if (chart && (e.relatedTarget || e.toElement)) { // #4886, MS Touch end fires mouseleave but with no related target\n                    chart.pointer.reset();\n                    chart.pointer.chartPosition = null; // also reset the chart position, used in #149 fix\n                }\n            },\n\n            // The mousemove, touchmove and touchstart event handler\n            onContainerMouseMove: function(e) {\n\n                var chart = this.chart;\n\n                if (!defined(H.hoverChartIndex) || !charts[H.hoverChartIndex] || !charts[H.hoverChartIndex].mouseIsDown) {\n                    H.hoverChartIndex = chart.index;\n                }\n\n                e = this.normalize(e);\n                e.returnValue = false; // #2251, #3224\n\n                if (chart.mouseIsDown === 'mousedown') {\n                    this.drag(e);\n                }\n\n                // Show the tooltip and run mouse over events (#977)\n                if ((this.inClass(e.target, 'highcharts-tracker') ||\n                        chart.isInsidePlot(e.chartX - chart.plotLeft, e.chartY - chart.plotTop)) && !chart.openMenu) {\n                    this.runPointActions(e);\n                }\n            },\n\n            /**\n             * Utility to detect whether an element has, or has a parent with, a specific\n             * class name. Used on detection of tracker objects and on deciding whether\n             * hovering the tooltip should cause the active series to mouse out.\n             */\n            inClass: function(element, className) {\n                var elemClassName;\n                while (element) {\n                    elemClassName = attr(element, 'class');\n                    if (elemClassName) {\n                        if (elemClassName.indexOf(className) !== -1) {\n                            return true;\n                        }\n                        if (elemClassName.indexOf('highcharts-container') !== -1) {\n                            return false;\n                        }\n                    }\n                    element = element.parentNode;\n                }\n            },\n\n            onTrackerMouseOut: function(e) {\n                var series = this.chart.hoverSeries,\n                    relatedTarget = e.relatedTarget || e.toElement;\n\n                if (series && relatedTarget && !series.stickyTracking &&\n                    !this.inClass(relatedTarget, 'highcharts-tooltip') &&\n                    (!this.inClass(relatedTarget, 'highcharts-series-' + series.index) || // #2499, #4465\n                        !this.inClass(relatedTarget, 'highcharts-tracker') // #5553\n                    )\n                ) {\n                    series.onMouseOut();\n                }\n            },\n\n            onContainerClick: function(e) {\n                var chart = this.chart,\n                    hoverPoint = chart.hoverPoint,\n                    plotLeft = chart.plotLeft,\n                    plotTop = chart.plotTop;\n\n                e = this.normalize(e);\n\n                if (!chart.cancelClick) {\n\n                    // On tracker click, fire the series and point events. #783, #1583\n                    if (hoverPoint && this.inClass(e.target, 'highcharts-tracker')) {\n\n                        // the series click event\n                        fireEvent(hoverPoint.series, 'click', extend(e, {\n                            point: hoverPoint\n                        }));\n\n                        // the point click event\n                        if (chart.hoverPoint) { // it may be destroyed (#1844)\n                            hoverPoint.firePointEvent('click', e);\n                        }\n\n                        // When clicking outside a tracker, fire a chart event\n                    } else {\n                        extend(e, this.getCoordinates(e));\n\n                        // fire a click event in the chart\n                        if (chart.isInsidePlot(e.chartX - plotLeft, e.chartY - plotTop)) {\n                            fireEvent(chart, 'click', e);\n                        }\n                    }\n\n\n                }\n            },\n\n            /**\n             * Set the JS DOM events on the container and document. This method should contain\n             * a one-to-one assignment between methods and their handlers. Any advanced logic should\n             * be moved to the handler reflecting the event's name.\n             */\n            setDOMEvents: function() {\n\n                var pointer = this,\n                    container = pointer.chart.container;\n\n                container.onmousedown = function(e) {\n                    pointer.onContainerMouseDown(e);\n                };\n                container.onmousemove = function(e) {\n                    pointer.onContainerMouseMove(e);\n                };\n                container.onclick = function(e) {\n                    pointer.onContainerClick(e);\n                };\n                addEvent(container, 'mouseleave', pointer.onContainerMouseLeave);\n                if (H.chartCount === 1) {\n                    addEvent(doc, 'mouseup', pointer.onDocumentMouseUp);\n                }\n                if (H.hasTouch) {\n                    container.ontouchstart = function(e) {\n                        pointer.onContainerTouchStart(e);\n                    };\n                    container.ontouchmove = function(e) {\n                        pointer.onContainerTouchMove(e);\n                    };\n                    if (H.chartCount === 1) {\n                        addEvent(doc, 'touchend', pointer.onDocumentTouchEnd);\n                    }\n                }\n\n            },\n\n            /**\n             * Destroys the Pointer object and disconnects DOM events.\n             */\n            destroy: function() {\n                var prop;\n\n                if (this.unDocMouseMove) {\n                    this.unDocMouseMove();\n                }\n\n                removeEvent(\n                    this.chart.container,\n                    'mouseleave',\n                    this.onContainerMouseLeave\n                );\n                if (!H.chartCount) {\n                    removeEvent(doc, 'mouseup', this.onDocumentMouseUp);\n                    removeEvent(doc, 'touchend', this.onDocumentTouchEnd);\n                }\n\n                // memory and CPU leak\n                clearInterval(this.tooltipTimeout);\n\n                for (prop in this) {\n                    this[prop] = null;\n                }\n            }\n        };\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var charts = H.charts,\n            each = H.each,\n            extend = H.extend,\n            map = H.map,\n            noop = H.noop,\n            pick = H.pick,\n            Pointer = H.Pointer;\n\n        /* Support for touch devices */\n        extend(Pointer.prototype, /** @lends Pointer.prototype */ {\n\n            /**\n             * Run translation operations\n             */\n            pinchTranslate: function(pinchDown, touches, transform, selectionMarker, clip, lastValidTouch) {\n                if (this.zoomHor) {\n                    this.pinchTranslateDirection(true, pinchDown, touches, transform, selectionMarker, clip, lastValidTouch);\n                }\n                if (this.zoomVert) {\n                    this.pinchTranslateDirection(false, pinchDown, touches, transform, selectionMarker, clip, lastValidTouch);\n                }\n            },\n\n            /**\n             * Run translation operations for each direction (horizontal and vertical) independently\n             */\n            pinchTranslateDirection: function(horiz, pinchDown, touches, transform,\n                selectionMarker, clip, lastValidTouch, forcedScale) {\n                var chart = this.chart,\n                    xy = horiz ? 'x' : 'y',\n                    XY = horiz ? 'X' : 'Y',\n                    sChartXY = 'chart' + XY,\n                    wh = horiz ? 'width' : 'height',\n                    plotLeftTop = chart['plot' + (horiz ? 'Left' : 'Top')],\n                    selectionWH,\n                    selectionXY,\n                    clipXY,\n                    scale = forcedScale || 1,\n                    inverted = chart.inverted,\n                    bounds = chart.bounds[horiz ? 'h' : 'v'],\n                    singleTouch = pinchDown.length === 1,\n                    touch0Start = pinchDown[0][sChartXY],\n                    touch0Now = touches[0][sChartXY],\n                    touch1Start = !singleTouch && pinchDown[1][sChartXY],\n                    touch1Now = !singleTouch && touches[1][sChartXY],\n                    outOfBounds,\n                    transformScale,\n                    scaleKey,\n                    setScale = function() {\n                        // Don't zoom if fingers are too close on this axis\n                        if (!singleTouch && Math.abs(touch0Start - touch1Start) > 20) {\n                            scale = forcedScale || Math.abs(touch0Now - touch1Now) / Math.abs(touch0Start - touch1Start);\n                        }\n\n                        clipXY = ((plotLeftTop - touch0Now) / scale) + touch0Start;\n                        selectionWH = chart['plot' + (horiz ? 'Width' : 'Height')] / scale;\n                    };\n\n                // Set the scale, first pass\n                setScale();\n\n                selectionXY = clipXY; // the clip position (x or y) is altered if out of bounds, the selection position is not\n\n                // Out of bounds\n                if (selectionXY < bounds.min) {\n                    selectionXY = bounds.min;\n                    outOfBounds = true;\n                } else if (selectionXY + selectionWH > bounds.max) {\n                    selectionXY = bounds.max - selectionWH;\n                    outOfBounds = true;\n                }\n\n                // Is the chart dragged off its bounds, determined by dataMin and dataMax?\n                if (outOfBounds) {\n\n                    // Modify the touchNow position in order to create an elastic drag movement. This indicates\n                    // to the user that the chart is responsive but can't be dragged further.\n                    touch0Now -= 0.8 * (touch0Now - lastValidTouch[xy][0]);\n                    if (!singleTouch) {\n                        touch1Now -= 0.8 * (touch1Now - lastValidTouch[xy][1]);\n                    }\n\n                    // Set the scale, second pass to adapt to the modified touchNow positions\n                    setScale();\n\n                } else {\n                    lastValidTouch[xy] = [touch0Now, touch1Now];\n                }\n\n                // Set geometry for clipping, selection and transformation\n                if (!inverted) {\n                    clip[xy] = clipXY - plotLeftTop;\n                    clip[wh] = selectionWH;\n                }\n                scaleKey = inverted ? (horiz ? 'scaleY' : 'scaleX') : 'scale' + XY;\n                transformScale = inverted ? 1 / scale : scale;\n\n                selectionMarker[wh] = selectionWH;\n                selectionMarker[xy] = selectionXY;\n                transform[scaleKey] = scale;\n                transform['translate' + XY] = (transformScale * plotLeftTop) + (touch0Now - (transformScale * touch0Start));\n            },\n\n            /**\n             * Handle touch events with two touches\n             */\n            pinch: function(e) {\n\n                var self = this,\n                    chart = self.chart,\n                    pinchDown = self.pinchDown,\n                    touches = e.touches,\n                    touchesLength = touches.length,\n                    lastValidTouch = self.lastValidTouch,\n                    hasZoom = self.hasZoom,\n                    selectionMarker = self.selectionMarker,\n                    transform = {},\n                    fireClickEvent = touchesLength === 1 && ((self.inClass(e.target, 'highcharts-tracker') &&\n                        chart.runTrackerClick) || self.runChartClick),\n                    clip = {};\n\n                // Don't initiate panning until the user has pinched. This prevents us from\n                // blocking page scrolling as users scroll down a long page (#4210).\n                if (touchesLength > 1) {\n                    self.initiated = true;\n                }\n\n                // On touch devices, only proceed to trigger click if a handler is defined\n                if (hasZoom && self.initiated && !fireClickEvent) {\n                    e.preventDefault();\n                }\n\n                // Normalize each touch\n                map(touches, function(e) {\n                    return self.normalize(e);\n                });\n\n                // Register the touch start position\n                if (e.type === 'touchstart') {\n                    each(touches, function(e, i) {\n                        pinchDown[i] = {\n                            chartX: e.chartX,\n                            chartY: e.chartY\n                        };\n                    });\n                    lastValidTouch.x = [pinchDown[0].chartX, pinchDown[1] && pinchDown[1].chartX];\n                    lastValidTouch.y = [pinchDown[0].chartY, pinchDown[1] && pinchDown[1].chartY];\n\n                    // Identify the data bounds in pixels\n                    each(chart.axes, function(axis) {\n                        if (axis.zoomEnabled) {\n                            var bounds = chart.bounds[axis.horiz ? 'h' : 'v'],\n                                minPixelPadding = axis.minPixelPadding,\n                                min = axis.toPixels(pick(axis.options.min, axis.dataMin)),\n                                max = axis.toPixels(pick(axis.options.max, axis.dataMax)),\n                                absMin = Math.min(min, max),\n                                absMax = Math.max(min, max);\n\n                            // Store the bounds for use in the touchmove handler\n                            bounds.min = Math.min(axis.pos, absMin - minPixelPadding);\n                            bounds.max = Math.max(axis.pos + axis.len, absMax + minPixelPadding);\n                        }\n                    });\n                    self.res = true; // reset on next move\n\n                    // Optionally move the tooltip on touchmove\n                } else if (self.followTouchMove && touchesLength === 1) {\n                    this.runPointActions(self.normalize(e));\n\n                    // Event type is touchmove, handle panning and pinching\n                } else if (pinchDown.length) { // can be 0 when releasing, if touchend fires first\n\n\n                    // Set the marker\n                    if (!selectionMarker) {\n                        self.selectionMarker = selectionMarker = extend({\n                            destroy: noop,\n                            touch: true\n                        }, chart.plotBox);\n                    }\n\n                    self.pinchTranslate(pinchDown, touches, transform, selectionMarker, clip, lastValidTouch);\n\n                    self.hasPinched = hasZoom;\n\n                    // Scale and translate the groups to provide visual feedback during pinching\n                    self.scaleGroups(transform, clip);\n\n                    if (self.res) {\n                        self.res = false;\n                        this.reset(false, 0);\n                    }\n                }\n            },\n\n            /**\n             * General touch handler shared by touchstart and touchmove.\n             */\n            touch: function(e, start) {\n                var chart = this.chart,\n                    hasMoved,\n                    pinchDown,\n                    isInside;\n\n                if (chart.index !== H.hoverChartIndex) {\n                    this.onContainerMouseLeave({\n                        relatedTarget: true\n                    });\n                }\n                H.hoverChartIndex = chart.index;\n\n                if (e.touches.length === 1) {\n\n                    e = this.normalize(e);\n\n                    isInside = chart.isInsidePlot(\n                        e.chartX - chart.plotLeft,\n                        e.chartY - chart.plotTop\n                    );\n                    if (isInside && !chart.openMenu) {\n\n                        // Run mouse events and display tooltip etc\n                        if (start) {\n                            this.runPointActions(e);\n                        }\n\n                        // Android fires touchmove events after the touchstart even if the\n                        // finger hasn't moved, or moved only a pixel or two. In iOS however,\n                        // the touchmove doesn't fire unless the finger moves more than ~4px.\n                        // So we emulate this behaviour in Android by checking how much it\n                        // moved, and cancelling on small distances. #3450.\n                        if (e.type === 'touchmove') {\n                            pinchDown = this.pinchDown;\n                            hasMoved = pinchDown[0] ? Math.sqrt( // #5266\n                                Math.pow(pinchDown[0].chartX - e.chartX, 2) +\n                                Math.pow(pinchDown[0].chartY - e.chartY, 2)\n                            ) >= 4 : false;\n                        }\n\n                        if (pick(hasMoved, true)) {\n                            this.pinch(e);\n                        }\n\n                    } else if (start) {\n                        // Hide the tooltip on touching outside the plot area (#1203)\n                        this.reset();\n                    }\n\n                } else if (e.touches.length === 2) {\n                    this.pinch(e);\n                }\n            },\n\n            onContainerTouchStart: function(e) {\n                this.zoomOption(e);\n                this.touch(e, true);\n            },\n\n            onContainerTouchMove: function(e) {\n                this.touch(e);\n            },\n\n            onDocumentTouchEnd: function(e) {\n                if (charts[H.hoverChartIndex]) {\n                    charts[H.hoverChartIndex].pointer.drop(e);\n                }\n            }\n\n        });\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var addEvent = H.addEvent,\n            charts = H.charts,\n            css = H.css,\n            doc = H.doc,\n            extend = H.extend,\n            noop = H.noop,\n            Pointer = H.Pointer,\n            removeEvent = H.removeEvent,\n            win = H.win,\n            wrap = H.wrap;\n\n        if (win.PointerEvent || win.MSPointerEvent) {\n\n            // The touches object keeps track of the points being touched at all times\n            var touches = {},\n                hasPointerEvent = !!win.PointerEvent,\n                getWebkitTouches = function() {\n                    var key,\n                        fake = [];\n                    fake.item = function(i) {\n                        return this[i];\n                    };\n                    for (key in touches) {\n                        if (touches.hasOwnProperty(key)) {\n                            fake.push({\n                                pageX: touches[key].pageX,\n                                pageY: touches[key].pageY,\n                                target: touches[key].target\n                            });\n                        }\n                    }\n                    return fake;\n                },\n                translateMSPointer = function(e, method, wktype, func) {\n                    var p;\n                    if ((e.pointerType === 'touch' || e.pointerType === e.MSPOINTER_TYPE_TOUCH) && charts[H.hoverChartIndex]) {\n                        func(e);\n                        p = charts[H.hoverChartIndex].pointer;\n                        p[method]({\n                            type: wktype,\n                            target: e.currentTarget,\n                            preventDefault: noop,\n                            touches: getWebkitTouches()\n                        });\n                    }\n                };\n\n            /**\n             * Extend the Pointer prototype with methods for each event handler and more\n             */\n            extend(Pointer.prototype, /** @lends Pointer.prototype */ {\n                onContainerPointerDown: function(e) {\n                    translateMSPointer(e, 'onContainerTouchStart', 'touchstart', function(e) {\n                        touches[e.pointerId] = {\n                            pageX: e.pageX,\n                            pageY: e.pageY,\n                            target: e.currentTarget\n                        };\n                    });\n                },\n                onContainerPointerMove: function(e) {\n                    translateMSPointer(e, 'onContainerTouchMove', 'touchmove', function(e) {\n                        touches[e.pointerId] = {\n                            pageX: e.pageX,\n                            pageY: e.pageY\n                        };\n                        if (!touches[e.pointerId].target) {\n                            touches[e.pointerId].target = e.currentTarget;\n                        }\n                    });\n                },\n                onDocumentPointerUp: function(e) {\n                    translateMSPointer(e, 'onDocumentTouchEnd', 'touchend', function(e) {\n                        delete touches[e.pointerId];\n                    });\n                },\n\n                /**\n                 * Add or remove the MS Pointer specific events\n                 */\n                batchMSEvents: function(fn) {\n                    fn(this.chart.container, hasPointerEvent ? 'pointerdown' : 'MSPointerDown', this.onContainerPointerDown);\n                    fn(this.chart.container, hasPointerEvent ? 'pointermove' : 'MSPointerMove', this.onContainerPointerMove);\n                    fn(doc, hasPointerEvent ? 'pointerup' : 'MSPointerUp', this.onDocumentPointerUp);\n                }\n            });\n\n            // Disable default IE actions for pinch and such on chart element\n            wrap(Pointer.prototype, 'init', function(proceed, chart, options) {\n                proceed.call(this, chart, options);\n                if (this.hasZoom) { // #4014\n                    css(chart.container, {\n                        '-ms-touch-action': 'none',\n                        'touch-action': 'none'\n                    });\n                }\n            });\n\n            // Add IE specific touch events to chart\n            wrap(Pointer.prototype, 'setDOMEvents', function(proceed) {\n                proceed.apply(this);\n                if (this.hasZoom || this.followTouchMove) {\n                    this.batchMSEvents(addEvent);\n                }\n            });\n            // Destroy MS events also\n            wrap(Pointer.prototype, 'destroy', function(proceed) {\n                this.batchMSEvents(removeEvent);\n                proceed.call(this);\n            });\n        }\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var Legend,\n\n            addEvent = H.addEvent,\n            css = H.css,\n            discardElement = H.discardElement,\n            defined = H.defined,\n            each = H.each,\n            isFirefox = H.isFirefox,\n            marginNames = H.marginNames,\n            merge = H.merge,\n            pick = H.pick,\n            setAnimation = H.setAnimation,\n            stableSort = H.stableSort,\n            win = H.win,\n            wrap = H.wrap;\n        /**\n         * The overview of the chart's series.\n         * @class\n         */\n        Legend = H.Legend = function(chart, options) {\n            this.init(chart, options);\n        };\n\n        Legend.prototype = {\n\n            /**\n             * Initialize the legend\n             */\n            init: function(chart, options) {\n\n                this.chart = chart;\n\n                this.setOptions(options);\n\n                if (options.enabled) {\n\n                    // Render it\n                    this.render();\n\n                    // move checkboxes\n                    addEvent(this.chart, 'endResize', function() {\n                        this.legend.positionCheckboxes();\n                    });\n                }\n            },\n\n            setOptions: function(options) {\n\n                var padding = pick(options.padding, 8);\n\n                this.options = options;\n\n\n                this.itemStyle = options.itemStyle;\n                this.itemHiddenStyle = merge(this.itemStyle, options.itemHiddenStyle);\n\n                this.itemMarginTop = options.itemMarginTop || 0;\n                this.padding = padding;\n                this.initialItemY = padding - 5; // 5 is pixels above the text\n                this.maxItemWidth = 0;\n                this.itemHeight = 0;\n                this.symbolWidth = pick(options.symbolWidth, 16);\n                this.pages = [];\n\n            },\n\n            /**\n             * Update the legend with new options. Equivalent to running chart.update\n             * with a legend configuration option.\n             * @param {Object} options Legend options\n             * @param {Boolean} redraw Whether to redraw the chart, defaults to true.\n             */\n            update: function(options, redraw) {\n                var chart = this.chart;\n\n                this.setOptions(merge(true, this.options, options));\n                this.destroy();\n                chart.isDirtyLegend = chart.isDirtyBox = true;\n                if (pick(redraw, true)) {\n                    chart.redraw();\n                }\n            },\n\n            /**\n             * Set the colors for the legend item\n             * @param {Object} item A Series or Point instance\n             * @param {Object} visible Dimmed or colored\n             */\n            colorizeItem: function(item, visible) {\n                item.legendGroup[visible ? 'removeClass' : 'addClass'](\n                    'highcharts-legend-item-hidden'\n                );\n\n\n                var legend = this,\n                    options = legend.options,\n                    legendItem = item.legendItem,\n                    legendLine = item.legendLine,\n                    legendSymbol = item.legendSymbol,\n                    hiddenColor = legend.itemHiddenStyle.color,\n                    textColor = visible ? options.itemStyle.color : hiddenColor,\n                    symbolColor = visible ? (item.color || hiddenColor) : hiddenColor,\n                    markerOptions = item.options && item.options.marker,\n                    symbolAttr = {\n                        fill: symbolColor\n                    },\n                    key;\n\n                if (legendItem) {\n                    legendItem.css({\n                        fill: textColor,\n                        color: textColor // #1553, oldIE\n                    });\n                }\n                if (legendLine) {\n                    legendLine.attr({\n                        stroke: symbolColor\n                    });\n                }\n\n                if (legendSymbol) {\n\n                    // Apply marker options\n                    if (markerOptions && legendSymbol.isMarker) { // #585\n                        //symbolAttr.stroke = symbolColor;\n                        symbolAttr = item.pointAttribs();\n                        if (!visible) {\n                            for (key in symbolAttr) {\n                                symbolAttr[key] = hiddenColor;\n                            }\n                        }\n                    }\n\n                    legendSymbol.attr(symbolAttr);\n                }\n\n            },\n\n            /**\n             * Position the legend item\n             * @param {Object} item A Series or Point instance\n             */\n            positionItem: function(item) {\n                var legend = this,\n                    options = legend.options,\n                    symbolPadding = options.symbolPadding,\n                    ltr = !options.rtl,\n                    legendItemPos = item._legendItemPos,\n                    itemX = legendItemPos[0],\n                    itemY = legendItemPos[1],\n                    checkbox = item.checkbox,\n                    legendGroup = item.legendGroup;\n\n                if (legendGroup && legendGroup.element) {\n                    legendGroup.translate(\n                        ltr ?\n                        itemX :\n                        legend.legendWidth - itemX - 2 * symbolPadding - 4,\n                        itemY\n                    );\n                }\n\n                if (checkbox) {\n                    checkbox.x = itemX;\n                    checkbox.y = itemY;\n                }\n            },\n\n            /**\n             * Destroy a single legend item\n             * @param {Object} item The series or point\n             */\n            destroyItem: function(item) {\n                var checkbox = item.checkbox;\n\n                // destroy SVG elements\n                each(\n                    ['legendItem', 'legendLine', 'legendSymbol', 'legendGroup'],\n                    function(key) {\n                        if (item[key]) {\n                            item[key] = item[key].destroy();\n                        }\n                    }\n                );\n\n                if (checkbox) {\n                    discardElement(item.checkbox);\n                }\n            },\n\n            /**\n             * Destroys the legend.\n             */\n            destroy: function() {\n                function destroyItems(key) {\n                    if (this[key]) {\n                        this[key] = this[key].destroy();\n                    }\n                }\n\n                // Destroy items\n                each(this.getAllItems(), function(item) {\n                    each(['legendItem', 'legendGroup'], destroyItems, item);\n                });\n\n                // Destroy legend elements\n                each([\n                    'clipRect',\n                    'up',\n                    'down',\n                    'pager',\n                    'nav',\n                    'box',\n                    'title',\n                    'group'\n                ], destroyItems, this);\n                this.display = null; // Reset in .render on update.\n            },\n\n            /**\n             * Position the checkboxes after the width is determined\n             */\n            positionCheckboxes: function(scrollOffset) {\n                var alignAttr = this.group && this.group.alignAttr,\n                    translateY,\n                    clipHeight = this.clipHeight || this.legendHeight,\n                    titleHeight = this.titleHeight;\n\n                if (alignAttr) {\n                    translateY = alignAttr.translateY;\n                    each(this.allItems, function(item) {\n                        var checkbox = item.checkbox,\n                            top;\n\n                        if (checkbox) {\n                            top = translateY + titleHeight + checkbox.y +\n                                (scrollOffset || 0) + 3;\n                            css(checkbox, {\n                                left: (alignAttr.translateX + item.checkboxOffset +\n                                    checkbox.x - 20) + 'px',\n                                top: top + 'px',\n                                display: top > translateY - 6 && top < translateY +\n                                    clipHeight - 6 ? '' : 'none'\n                            });\n                        }\n                    });\n                }\n            },\n\n            /**\n             * Render the legend title on top of the legend\n             */\n            renderTitle: function() {\n                var options = this.options,\n                    padding = this.padding,\n                    titleOptions = options.title,\n                    titleHeight = 0,\n                    bBox;\n\n                if (titleOptions.text) {\n                    if (!this.title) {\n                        this.title = this.chart.renderer.label(\n                                titleOptions.text,\n                                padding - 3,\n                                padding - 4,\n                                null,\n                                null,\n                                null,\n                                null,\n                                null,\n                                'legend-title'\n                            )\n                            .attr({\n                                zIndex: 1\n                            })\n\n                            .css(titleOptions.style)\n\n                            .add(this.group);\n                    }\n                    bBox = this.title.getBBox();\n                    titleHeight = bBox.height;\n                    this.offsetWidth = bBox.width; // #1717\n                    this.contentGroup.attr({\n                        translateY: titleHeight\n                    });\n                }\n                this.titleHeight = titleHeight;\n            },\n\n            /**\n             * Set the legend item text\n             */\n            setText: function(item) {\n                var options = this.options;\n                item.legendItem.attr({\n                    text: options.labelFormat ?\n                        H.format(options.labelFormat, item) : options.labelFormatter.call(item)\n                });\n            },\n\n            /**\n             * Render a single specific legend item\n             * @param {Object} item A series or point\n             */\n            renderItem: function(item) {\n                var legend = this,\n                    chart = legend.chart,\n                    renderer = chart.renderer,\n                    options = legend.options,\n                    horizontal = options.layout === 'horizontal',\n                    symbolWidth = legend.symbolWidth,\n                    symbolPadding = options.symbolPadding,\n\n                    itemStyle = legend.itemStyle,\n                    itemHiddenStyle = legend.itemHiddenStyle,\n\n                    padding = legend.padding,\n                    itemDistance = horizontal ? pick(options.itemDistance, 20) : 0,\n                    ltr = !options.rtl,\n                    itemHeight,\n                    widthOption = options.width,\n                    itemMarginBottom = options.itemMarginBottom || 0,\n                    itemMarginTop = legend.itemMarginTop,\n                    bBox,\n                    itemWidth,\n                    li = item.legendItem,\n                    isSeries = !item.series,\n                    series = !isSeries && item.series.drawLegendSymbol ?\n                    item.series :\n                    item,\n                    seriesOptions = series.options,\n                    showCheckbox = legend.createCheckboxForItem &&\n                    seriesOptions &&\n                    seriesOptions.showCheckbox,\n                    useHTML = options.useHTML,\n                    fontSize = 12,\n                    itemClassName = item.options.className;\n\n                if (!li) { // generate it once, later move it\n\n                    // Generate the group box, a group to hold the symbol and text. Text\n                    // is to be appended in Legend class.\n                    item.legendGroup = renderer.g('legend-item')\n                        .addClass(\n                            'highcharts-' + series.type + '-series ' +\n                            'highcharts-color-' + item.colorIndex +\n                            (itemClassName ? ' ' + itemClassName : '') +\n                            (isSeries ? ' highcharts-series-' + item.index : '')\n                        )\n                        .attr({\n                            zIndex: 1\n                        })\n                        .add(legend.scrollGroup);\n\n                    // Generate the list item text and add it to the group\n                    item.legendItem = li = renderer.text(\n                            '',\n                            ltr ? symbolWidth + symbolPadding : -symbolPadding,\n                            legend.baseline || 0,\n                            useHTML\n                        )\n\n                        // merge to prevent modifying original (#1021)\n                        .css(merge(item.visible ? itemStyle : itemHiddenStyle))\n\n                        .attr({\n                            align: ltr ? 'left' : 'right',\n                            zIndex: 2\n                        })\n                        .add(item.legendGroup);\n\n                    // Get the baseline for the first item - the font size is equal for\n                    // all\n                    if (!legend.baseline) {\n\n                        fontSize = itemStyle.fontSize;\n\n                        legend.fontMetrics = renderer.fontMetrics(\n                            fontSize,\n                            li\n                        );\n                        legend.baseline = legend.fontMetrics.f + 3 + itemMarginTop;\n                        li.attr('y', legend.baseline);\n                    }\n\n                    // Draw the legend symbol inside the group box\n                    legend.symbolHeight = options.symbolHeight || legend.fontMetrics.f;\n                    series.drawLegendSymbol(legend, item);\n\n                    if (legend.setItemEvents) {\n                        legend.setItemEvents(item, li, useHTML);\n                    }\n\n                    // add the HTML checkbox on top\n                    if (showCheckbox) {\n                        legend.createCheckboxForItem(item);\n                    }\n                }\n\n                // Colorize the items\n                legend.colorizeItem(item, item.visible);\n\n                // Always update the text\n                legend.setText(item);\n\n                // calculate the positions for the next line\n                bBox = li.getBBox();\n\n                itemWidth = item.checkboxOffset =\n                    options.itemWidth ||\n                    item.legendItemWidth ||\n                    symbolWidth + symbolPadding + bBox.width + itemDistance +\n                    (showCheckbox ? 20 : 0);\n                legend.itemHeight = itemHeight = Math.round(\n                    item.legendItemHeight || bBox.height || legend.symbolHeight\n                );\n\n                // If the item exceeds the width, start a new line\n                if (\n                    horizontal &&\n                    legend.itemX - padding + itemWidth > (\n                        widthOption || (\n                            chart.spacingBox.width - 2 * padding - options.x\n                        )\n                    )\n                ) {\n                    legend.itemX = padding;\n                    legend.itemY += itemMarginTop + legend.lastLineHeight +\n                        itemMarginBottom;\n                    legend.lastLineHeight = 0; // reset for next line (#915, #3976)\n                }\n\n                // If the item exceeds the height, start a new column\n                /*if (!horizontal && legend.itemY + options.y +\n                \t\titemHeight > chart.chartHeight - spacingTop - spacingBottom) {\n                \tlegend.itemY = legend.initialItemY;\n                \tlegend.itemX += legend.maxItemWidth;\n                \tlegend.maxItemWidth = 0;\n                }*/\n\n                // Set the edge positions\n                legend.maxItemWidth = Math.max(legend.maxItemWidth, itemWidth);\n                legend.lastItemY = itemMarginTop + legend.itemY + itemMarginBottom;\n                legend.lastLineHeight = Math.max( // #915\n                    itemHeight,\n                    legend.lastLineHeight\n                );\n\n                // cache the position of the newly generated or reordered items\n                item._legendItemPos = [legend.itemX, legend.itemY];\n\n                // advance\n                if (horizontal) {\n                    legend.itemX += itemWidth;\n\n                } else {\n                    legend.itemY += itemMarginTop + itemHeight + itemMarginBottom;\n                    legend.lastLineHeight = itemHeight;\n                }\n\n                // the width of the widest item\n                legend.offsetWidth = widthOption || Math.max(\n                    (horizontal ? legend.itemX - padding - itemDistance : itemWidth) +\n                    padding,\n                    legend.offsetWidth\n                );\n            },\n\n            /**\n             * Get all items, which is one item per series for normal series and one\n             * item per point for pie series.\n             */\n            getAllItems: function() {\n                var allItems = [];\n                each(this.chart.series, function(series) {\n                    var seriesOptions = series && series.options;\n\n                    // Handle showInLegend. If the series is linked to another series,\n                    // defaults to false.\n                    if (series && pick(\n                            seriesOptions.showInLegend, !defined(seriesOptions.linkedTo) ? undefined : false, true\n                        )) {\n\n                        // Use points or series for the legend item depending on\n                        // legendType\n                        allItems = allItems.concat(\n                            series.legendItems ||\n                            (\n                                seriesOptions.legendType === 'point' ?\n                                series.data :\n                                series\n                            )\n                        );\n                    }\n                });\n                return allItems;\n            },\n\n            /**\n             * Adjust the chart margins by reserving space for the legend on only one\n             * side of the chart. If the position is set to a corner, top or bottom is\n             * reserved for horizontal legends and left or right for vertical ones.\n             */\n            adjustMargins: function(margin, spacing) {\n                var chart = this.chart,\n                    options = this.options,\n                    // Use the first letter of each alignment option in order to detect\n                    // the side. (#4189 - use charAt(x) notation instead of [x] for IE7)\n                    alignment = options.align.charAt(0) +\n                    options.verticalAlign.charAt(0) +\n                    options.layout.charAt(0);\n\n                if (!options.floating) {\n\n                    each([\n                        /(lth|ct|rth)/,\n                        /(rtv|rm|rbv)/,\n                        /(rbh|cb|lbh)/,\n                        /(lbv|lm|ltv)/\n                    ], function(alignments, side) {\n                        if (alignments.test(alignment) && !defined(margin[side])) {\n                            // Now we have detected on which side of the chart we should\n                            // reserve space for the legend\n                            chart[marginNames[side]] = Math.max(\n                                chart[marginNames[side]],\n                                (\n                                    chart.legend[\n                                        (side + 1) % 2 ? 'legendHeight' : 'legendWidth'\n                                    ] + [1, -1, -1, 1][side] * options[\n                                        (side % 2) ? 'x' : 'y'\n                                    ] +\n                                    pick(options.margin, 12) +\n                                    spacing[side]\n                                )\n                            );\n                        }\n                    });\n                }\n            },\n\n            /**\n             * Render the legend. This method can be called both before and after\n             * chart.render. If called after, it will only rearrange items instead\n             * of creating new ones.\n             */\n            render: function() {\n                var legend = this,\n                    chart = legend.chart,\n                    renderer = chart.renderer,\n                    legendGroup = legend.group,\n                    allItems,\n                    display,\n                    legendWidth,\n                    legendHeight,\n                    box = legend.box,\n                    options = legend.options,\n                    padding = legend.padding;\n\n                legend.itemX = padding;\n                legend.itemY = legend.initialItemY;\n                legend.offsetWidth = 0;\n                legend.lastItemY = 0;\n\n                if (!legendGroup) {\n                    legend.group = legendGroup = renderer.g('legend')\n                        .attr({\n                            zIndex: 7\n                        })\n                        .add();\n                    legend.contentGroup = renderer.g()\n                        .attr({\n                            zIndex: 1\n                        }) // above background\n                        .add(legendGroup);\n                    legend.scrollGroup = renderer.g()\n                        .add(legend.contentGroup);\n                }\n\n                legend.renderTitle();\n\n                // add each series or point\n                allItems = legend.getAllItems();\n\n                // sort by legendIndex\n                stableSort(allItems, function(a, b) {\n                    return ((a.options && a.options.legendIndex) || 0) -\n                        ((b.options && b.options.legendIndex) || 0);\n                });\n\n                // reversed legend\n                if (options.reversed) {\n                    allItems.reverse();\n                }\n\n                legend.allItems = allItems;\n                legend.display = display = !!allItems.length;\n\n                // render the items\n                legend.lastLineHeight = 0;\n                each(allItems, function(item) {\n                    legend.renderItem(item);\n                });\n\n                // Get the box\n                legendWidth = (options.width || legend.offsetWidth) + padding;\n                legendHeight = legend.lastItemY + legend.lastLineHeight +\n                    legend.titleHeight;\n                legendHeight = legend.handleOverflow(legendHeight);\n                legendHeight += padding;\n\n                // Draw the border and/or background\n                if (!box) {\n                    legend.box = box = renderer.rect()\n                        .addClass('highcharts-legend-box')\n                        .attr({\n                            r: options.borderRadius\n                        })\n                        .add(legendGroup);\n                    box.isNew = true;\n                }\n\n\n                // Presentational\n                box\n                    .attr({\n                        stroke: options.borderColor,\n                        'stroke-width': options.borderWidth || 0,\n                        fill: options.backgroundColor || 'none'\n                    })\n                    .shadow(options.shadow);\n\n\n                if (legendWidth > 0 && legendHeight > 0) {\n                    box[box.isNew ? 'attr' : 'animate'](\n                        box.crisp({\n                            x: 0,\n                            y: 0,\n                            width: legendWidth,\n                            height: legendHeight\n                        }, box.strokeWidth())\n                    );\n                    box.isNew = false;\n                }\n\n                // hide the border if no items\n                box[display ? 'show' : 'hide']();\n\n\n\n                legend.legendWidth = legendWidth;\n                legend.legendHeight = legendHeight;\n\n                // Now that the legend width and height are established, put the items\n                // in the final position\n                each(allItems, function(item) {\n                    legend.positionItem(item);\n                });\n\n                // 1.x compatibility: positioning based on style\n                /*var props = ['left', 'right', 'top', 'bottom'],\n                \tprop,\n                \ti = 4;\n                while (i--) {\n                \tprop = props[i];\n                \tif (options.style[prop] && options.style[prop] !== 'auto') {\n                \t\toptions[i < 2 ? 'align' : 'verticalAlign'] = prop;\n                \t\toptions[i < 2 ? 'x' : 'y'] = \n                \t\t\tpInt(options.style[prop]) * (i % 2 ? -1 : 1);\n                \t}\n                }*/\n\n                if (display) {\n                    legendGroup.align(merge(options, {\n                        width: legendWidth,\n                        height: legendHeight\n                    }), true, 'spacingBox');\n                }\n\n                if (!chart.isResizing) {\n                    this.positionCheckboxes();\n                }\n            },\n\n            /**\n             * Set up the overflow handling by adding navigation with up and down arrows\n             * below the legend.\n             */\n            handleOverflow: function(legendHeight) {\n                var legend = this,\n                    chart = this.chart,\n                    renderer = chart.renderer,\n                    options = this.options,\n                    optionsY = options.y,\n                    alignTop = options.verticalAlign === 'top',\n                    padding = this.padding,\n                    spaceHeight = chart.spacingBox.height +\n                    (alignTop ? -optionsY : optionsY) - padding,\n                    maxHeight = options.maxHeight,\n                    clipHeight,\n                    clipRect = this.clipRect,\n                    navOptions = options.navigation,\n                    animation = pick(navOptions.animation, true),\n                    arrowSize = navOptions.arrowSize || 12,\n                    nav = this.nav,\n                    pages = this.pages,\n                    lastY,\n                    allItems = this.allItems,\n                    clipToHeight = function(height) {\n                        if (height) {\n                            clipRect.attr({\n                                height: height\n                            });\n                        } else if (clipRect) { // Reset (#5912)\n                            legend.clipRect = clipRect.destroy();\n                            legend.contentGroup.clip();\n                        }\n\n                        // useHTML\n                        if (legend.contentGroup.div) {\n                            legend.contentGroup.div.style.clip = height ?\n                                'rect(' + padding + 'px,9999px,' +\n                                (padding + height) + 'px,0)' :\n                                'auto';\n                        }\n                    };\n\n\n                // Adjust the height\n                if (\n                    options.layout === 'horizontal' &&\n                    options.verticalAlign !== 'middle' &&\n                    !options.floating\n                ) {\n                    spaceHeight /= 2;\n                }\n                if (maxHeight) {\n                    spaceHeight = Math.min(spaceHeight, maxHeight);\n                }\n\n                // Reset the legend height and adjust the clipping rectangle\n                pages.length = 0;\n                if (legendHeight > spaceHeight && navOptions.enabled !== false) {\n\n                    this.clipHeight = clipHeight =\n                        Math.max(spaceHeight - 20 - this.titleHeight - padding, 0);\n                    this.currentPage = pick(this.currentPage, 1);\n                    this.fullHeight = legendHeight;\n\n                    // Fill pages with Y positions so that the top of each a legend item\n                    // defines the scroll top for each page (#2098)\n                    each(allItems, function(item, i) {\n                        var y = item._legendItemPos[1],\n                            h = Math.round(item.legendItem.getBBox().height),\n                            len = pages.length;\n\n                        if (!len || (y - pages[len - 1] > clipHeight &&\n                                (lastY || y) !== pages[len - 1])) {\n                            pages.push(lastY || y);\n                            len++;\n                        }\n\n                        if (i === allItems.length - 1 &&\n                            y + h - pages[len - 1] > clipHeight) {\n                            pages.push(y);\n                        }\n                        if (y !== lastY) {\n                            lastY = y;\n                        }\n                    });\n\n                    // Only apply clipping if needed. Clipping causes blurred legend in\n                    // PDF export (#1787)\n                    if (!clipRect) {\n                        clipRect = legend.clipRect =\n                            renderer.clipRect(0, padding, 9999, 0);\n                        legend.contentGroup.clip(clipRect);\n                    }\n\n                    clipToHeight(clipHeight);\n\n                    // Add navigation elements\n                    if (!nav) {\n                        this.nav = nav = renderer.g()\n                            .attr({\n                                zIndex: 1\n                            })\n                            .add(this.group);\n\n                        this.up = renderer\n                            .symbol(\n                                'triangle',\n                                0,\n                                0,\n                                arrowSize,\n                                arrowSize\n                            )\n                            .on('click', function() {\n                                legend.scroll(-1, animation);\n                            })\n                            .add(nav);\n\n                        this.pager = renderer.text('', 15, 10)\n                            .addClass('highcharts-legend-navigation')\n\n                            .css(navOptions.style)\n\n                            .add(nav);\n\n                        this.down = renderer\n                            .symbol(\n                                'triangle-down',\n                                0,\n                                0,\n                                arrowSize,\n                                arrowSize\n                            )\n                            .on('click', function() {\n                                legend.scroll(1, animation);\n                            })\n                            .add(nav);\n                    }\n\n                    // Set initial position\n                    legend.scroll(0);\n\n                    legendHeight = spaceHeight;\n\n                    // Reset\n                } else if (nav) {\n                    clipToHeight();\n                    this.nav = nav.destroy(); // #6322\n                    this.scrollGroup.attr({\n                        translateY: 1\n                    });\n                    this.clipHeight = 0; // #1379\n                }\n\n                return legendHeight;\n            },\n\n            /**\n             * Scroll the legend by a number of pages\n             * @param {Object} scrollBy\n             * @param {Object} animation\n             */\n            scroll: function(scrollBy, animation) {\n                var pages = this.pages,\n                    pageCount = pages.length,\n                    currentPage = this.currentPage + scrollBy,\n                    clipHeight = this.clipHeight,\n                    navOptions = this.options.navigation,\n                    pager = this.pager,\n                    padding = this.padding,\n                    scrollOffset;\n\n                // When resizing while looking at the last page\n                if (currentPage > pageCount) {\n                    currentPage = pageCount;\n                }\n\n                if (currentPage > 0) {\n\n                    if (animation !== undefined) {\n                        setAnimation(animation, this.chart);\n                    }\n\n                    this.nav.attr({\n                        translateX: padding,\n                        translateY: clipHeight + this.padding + 7 + this.titleHeight,\n                        visibility: 'visible'\n                    });\n                    this.up.attr({\n                        'class': currentPage === 1 ?\n                            'highcharts-legend-nav-inactive' : 'highcharts-legend-nav-active'\n                    });\n                    pager.attr({\n                        text: currentPage + '/' + pageCount\n                    });\n                    this.down.attr({\n                        'x': 18 + this.pager.getBBox().width, // adjust to text width\n                        'class': currentPage === pageCount ?\n                            'highcharts-legend-nav-inactive' : 'highcharts-legend-nav-active'\n                    });\n\n\n                    this.up\n                        .attr({\n                            fill: currentPage === 1 ?\n                                navOptions.inactiveColor : navOptions.activeColor\n                        })\n                        .css({\n                            cursor: currentPage === 1 ? 'default' : 'pointer'\n                        });\n                    this.down\n                        .attr({\n                            fill: currentPage === pageCount ?\n                                navOptions.inactiveColor : navOptions.activeColor\n                        })\n                        .css({\n                            cursor: currentPage === pageCount ? 'default' : 'pointer'\n                        });\n\n\n                    scrollOffset = -pages[currentPage - 1] + this.initialItemY;\n\n                    this.scrollGroup.animate({\n                        translateY: scrollOffset\n                    });\n\n                    this.currentPage = currentPage;\n                    this.positionCheckboxes(scrollOffset);\n                }\n\n            }\n\n        };\n\n        /*\n         * LegendSymbolMixin\n         */\n\n        H.LegendSymbolMixin = {\n\n            /**\n             * Get the series' symbol in the legend\n             *\n             * @param {Object} legend The legend object\n             * @param {Object} item The series (this) or point\n             */\n            drawRectangle: function(legend, item) {\n                var options = legend.options,\n                    symbolHeight = legend.symbolHeight,\n                    square = options.squareSymbol,\n                    symbolWidth = square ? symbolHeight : legend.symbolWidth;\n\n                item.legendSymbol = this.chart.renderer.rect(\n                        square ? (legend.symbolWidth - symbolHeight) / 2 : 0,\n                        legend.baseline - symbolHeight + 1, // #3988\n                        symbolWidth,\n                        symbolHeight,\n                        pick(legend.options.symbolRadius, symbolHeight / 2)\n                    )\n                    .addClass('highcharts-point')\n                    .attr({\n                        zIndex: 3\n                    }).add(item.legendGroup);\n\n            },\n\n            /**\n             * Get the series' symbol in the legend. This method should be overridable\n             * to create custom symbols through\n             * Highcharts.seriesTypes[type].prototype.drawLegendSymbols.\n             *\n             * @param {Object} legend The legend object\n             */\n            drawLineMarker: function(legend) {\n\n                var options = this.options,\n                    markerOptions = options.marker,\n                    radius,\n                    legendSymbol,\n                    symbolWidth = legend.symbolWidth,\n                    symbolHeight = legend.symbolHeight,\n                    generalRadius = symbolHeight / 2,\n                    renderer = this.chart.renderer,\n                    legendItemGroup = this.legendGroup,\n                    verticalCenter = legend.baseline -\n                    Math.round(legend.fontMetrics.b * 0.3),\n                    attr = {};\n\n                // Draw the line\n\n                attr = {\n                    'stroke-width': options.lineWidth || 0\n                };\n                if (options.dashStyle) {\n                    attr.dashstyle = options.dashStyle;\n                }\n\n\n                this.legendLine = renderer.path([\n                        'M',\n                        0,\n                        verticalCenter,\n                        'L',\n                        symbolWidth,\n                        verticalCenter\n                    ])\n                    .addClass('highcharts-graph')\n                    .attr(attr)\n                    .add(legendItemGroup);\n\n                // Draw the marker\n                if (markerOptions && markerOptions.enabled !== false) {\n\n                    // Do not allow the marker to be larger than the symbolHeight\n                    radius = Math.min(\n                        pick(markerOptions.radius, generalRadius),\n                        generalRadius\n                    );\n\n                    // Restrict symbol markers size\n                    if (this.symbol.indexOf('url') === 0) {\n                        markerOptions = merge(markerOptions, {\n                            width: symbolHeight,\n                            height: symbolHeight\n                        });\n                        radius = 0;\n                    }\n\n                    this.legendSymbol = legendSymbol = renderer.symbol(\n                            this.symbol,\n                            (symbolWidth / 2) - radius,\n                            verticalCenter - radius,\n                            2 * radius,\n                            2 * radius,\n                            markerOptions\n                        )\n                        .addClass('highcharts-point')\n                        .add(legendItemGroup);\n                    legendSymbol.isMarker = true;\n                }\n            }\n        };\n\n        // Workaround for #2030, horizontal legend items not displaying in IE11 Preview,\n        // and for #2580, a similar drawing flaw in Firefox 26.\n        // Explore if there's a general cause for this. The problem may be related\n        // to nested group elements, as the legend item texts are within 4 group\n        // elements.\n        if (/Trident\\/7\\.0/.test(win.navigator.userAgent) || isFirefox) {\n            wrap(Legend.prototype, 'positionItem', function(proceed, item) {\n                var legend = this,\n                    // If chart destroyed in sync, this is undefined (#2030)\n                    runPositionItem = function() {\n                        if (item._legendItemPos) {\n                            proceed.call(legend, item);\n                        }\n                    };\n\n                // Do it now, for export and to get checkbox placement\n                runPositionItem();\n\n                // Do it after to work around the core issue\n                setTimeout(runPositionItem);\n            });\n        }\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var addEvent = H.addEvent,\n            animate = H.animate,\n            animObject = H.animObject,\n            attr = H.attr,\n            doc = H.doc,\n            Axis = H.Axis, // @todo add as requirement\n            createElement = H.createElement,\n            defaultOptions = H.defaultOptions,\n            discardElement = H.discardElement,\n            charts = H.charts,\n            css = H.css,\n            defined = H.defined,\n            each = H.each,\n            extend = H.extend,\n            find = H.find,\n            fireEvent = H.fireEvent,\n            getStyle = H.getStyle,\n            grep = H.grep,\n            isNumber = H.isNumber,\n            isObject = H.isObject,\n            isString = H.isString,\n            Legend = H.Legend, // @todo add as requirement\n            marginNames = H.marginNames,\n            merge = H.merge,\n            Pointer = H.Pointer, // @todo add as requirement\n            pick = H.pick,\n            pInt = H.pInt,\n            removeEvent = H.removeEvent,\n            seriesTypes = H.seriesTypes,\n            splat = H.splat,\n            svg = H.svg,\n            syncTimeout = H.syncTimeout,\n            win = H.win,\n            Renderer = H.Renderer;\n        /**\n         * The Chart class.\n         * @class Highcharts.Chart\n         * @memberOf Highcharts\n         * @param {String|HTMLDOMElement} renderTo - The DOM element to render to, or its\n         * id.\n         * @param {ChartOptions} options - The chart options structure.\n         * @param {Function} callback - Function to run when the chart has loaded.\n         */\n        var Chart = H.Chart = function() {\n            this.getArgs.apply(this, arguments);\n        };\n\n        H.chart = function(a, b, c) {\n            return new Chart(a, b, c);\n        };\n\n        Chart.prototype = {\n\n            /**\n             * Hook for modules\n             */\n            callbacks: [],\n\n            /**\n             * Handle the arguments passed to the constructor\n             * @returns {Array} Arguments without renderTo\n             */\n            getArgs: function() {\n                var args = [].slice.call(arguments);\n\n                // Remove the optional first argument, renderTo, and\n                // set it on this.\n                if (isString(args[0]) || args[0].nodeName) {\n                    this.renderTo = args.shift();\n                }\n                this.init(args[0], args[1]);\n            },\n\n            /**\n             * Initialize the chart\n             */\n            init: function(userOptions, callback) {\n\n                // Handle regular options\n                var options,\n                    seriesOptions = userOptions.series; // skip merging data points to increase performance\n\n                userOptions.series = null;\n                options = merge(defaultOptions, userOptions); // do the merge\n                options.series = userOptions.series = seriesOptions; // set back the series data\n                this.userOptions = userOptions;\n\n                var optionsChart = options.chart;\n\n                var chartEvents = optionsChart.events;\n\n                this.margin = [];\n                this.spacing = [];\n\n                //this.runChartClick = chartEvents && !!chartEvents.click;\n                this.bounds = {\n                    h: {},\n                    v: {}\n                }; // Pixel data bounds for touch zoom\n\n                this.callback = callback;\n                this.isResizing = 0;\n                this.options = options;\n                //chartTitleOptions = undefined;\n                //chartSubtitleOptions = undefined;\n\n                this.axes = [];\n                this.series = [];\n                this.hasCartesianSeries = optionsChart.showAxes;\n                //this.axisOffset = undefined;\n                //this.inverted = undefined;\n                //this.loadingShown = undefined;\n                //this.container = undefined;\n                //this.chartWidth = undefined;\n                //this.chartHeight = undefined;\n                //this.marginRight = undefined;\n                //this.marginBottom = undefined;\n                //this.containerWidth = undefined;\n                //this.containerHeight = undefined;\n                //this.oldChartWidth = undefined;\n                //this.oldChartHeight = undefined;\n\n                //this.renderTo = undefined;\n                //this.renderToClone = undefined;\n\n                //this.spacingBox = undefined\n\n                //this.legend = undefined;\n\n                // Elements\n                //this.chartBackground = undefined;\n                //this.plotBackground = undefined;\n                //this.plotBGImage = undefined;\n                //this.plotBorder = undefined;\n                //this.loadingDiv = undefined;\n                //this.loadingSpan = undefined;\n\n                var chart = this,\n                    eventType;\n\n                // Add the chart to the global lookup\n                chart.index = charts.length;\n                charts.push(chart);\n                H.chartCount++;\n\n                // Chart event handlers\n                if (chartEvents) {\n                    for (eventType in chartEvents) {\n                        addEvent(chart, eventType, chartEvents[eventType]);\n                    }\n                }\n\n                chart.xAxis = [];\n                chart.yAxis = [];\n\n                chart.pointCount = chart.colorCounter = chart.symbolCounter = 0;\n\n                chart.firstRender();\n            },\n\n            /**\n             * Initialize an individual series, called internally before render time\n             */\n            initSeries: function(options) {\n                var chart = this,\n                    optionsChart = chart.options.chart,\n                    type = options.type || optionsChart.type || optionsChart.defaultSeriesType,\n                    series,\n                    Constr = seriesTypes[type];\n\n                // No such series type\n                if (!Constr) {\n                    H.error(17, true);\n                }\n\n                series = new Constr();\n                series.init(this, options);\n                return series;\n            },\n\n            /**\n             * Order all series above a given index. When series are added and ordered\n             * by configuration, only the last series is handled (#248, #1123, #2456,\n             * #6112). This function is called on series initialization and destroy.\n             *\n             * @param {number} fromIndex - If this is given, only the series above this\n             *    index are handled.\n             */\n            orderSeries: function(fromIndex) {\n                var series = this.series,\n                    i = fromIndex || 0;\n                for (; i < series.length; i++) {\n                    if (series[i]) {\n                        series[i].index = i;\n                        series[i].name = series[i].name ||\n                            'Series ' + (series[i].index + 1);\n                    }\n                }\n            },\n\n            /**\n             * Check whether a given point is within the plot area\n             *\n             * @param {Number} plotX Pixel x relative to the plot area\n             * @param {Number} plotY Pixel y relative to the plot area\n             * @param {Boolean} inverted Whether the chart is inverted\n             */\n            isInsidePlot: function(plotX, plotY, inverted) {\n                var x = inverted ? plotY : plotX,\n                    y = inverted ? plotX : plotY;\n\n                return x >= 0 &&\n                    x <= this.plotWidth &&\n                    y >= 0 &&\n                    y <= this.plotHeight;\n            },\n\n            /**\n             * Redraw legend, axes or series based on updated data\n             *\n             * @param {Boolean|Object} animation Whether to apply animation, and optionally animation\n             *\tconfiguration\n             */\n            redraw: function(animation) {\n                var chart = this,\n                    axes = chart.axes,\n                    series = chart.series,\n                    pointer = chart.pointer,\n                    legend = chart.legend,\n                    redrawLegend = chart.isDirtyLegend,\n                    hasStackedSeries,\n                    hasDirtyStacks,\n                    hasCartesianSeries = chart.hasCartesianSeries,\n                    isDirtyBox = chart.isDirtyBox,\n                    i,\n                    serie,\n                    renderer = chart.renderer,\n                    isHiddenChart = renderer.isHidden(),\n                    afterRedraw = [];\n\n                // Handle responsive rules, not only on resize (#6130)\n                if (chart.setResponsive) {\n                    chart.setResponsive(false);\n                }\n\n                H.setAnimation(animation, chart);\n\n                if (isHiddenChart) {\n                    chart.cloneRenderTo();\n                }\n\n                // Adjust title layout (reflow multiline text)\n                chart.layOutTitles();\n\n                // link stacked series\n                i = series.length;\n                while (i--) {\n                    serie = series[i];\n\n                    if (serie.options.stacking) {\n                        hasStackedSeries = true;\n\n                        if (serie.isDirty) {\n                            hasDirtyStacks = true;\n                            break;\n                        }\n                    }\n                }\n                if (hasDirtyStacks) { // mark others as dirty\n                    i = series.length;\n                    while (i--) {\n                        serie = series[i];\n                        if (serie.options.stacking) {\n                            serie.isDirty = true;\n                        }\n                    }\n                }\n\n                // Handle updated data in the series\n                each(series, function(serie) {\n                    if (serie.isDirty) {\n                        if (serie.options.legendType === 'point') {\n                            if (serie.updateTotals) {\n                                serie.updateTotals();\n                            }\n                            redrawLegend = true;\n                        }\n                    }\n                    if (serie.isDirtyData) {\n                        fireEvent(serie, 'updatedData');\n                    }\n                });\n\n                // handle added or removed series\n                if (redrawLegend && legend.options.enabled) { // series or pie points are added or removed\n                    // draw legend graphics\n                    legend.render();\n\n                    chart.isDirtyLegend = false;\n                }\n\n                // reset stacks\n                if (hasStackedSeries) {\n                    chart.getStacks();\n                }\n\n\n                if (hasCartesianSeries) {\n                    // set axes scales\n                    each(axes, function(axis) {\n                        axis.updateNames();\n                        axis.setScale();\n                    });\n                }\n\n                chart.getMargins(); // #3098\n\n                if (hasCartesianSeries) {\n                    // If one axis is dirty, all axes must be redrawn (#792, #2169)\n                    each(axes, function(axis) {\n                        if (axis.isDirty) {\n                            isDirtyBox = true;\n                        }\n                    });\n\n                    // redraw axes\n                    each(axes, function(axis) {\n\n                        // Fire 'afterSetExtremes' only if extremes are set\n                        var key = axis.min + ',' + axis.max;\n                        if (axis.extKey !== key) { // #821, #4452\n                            axis.extKey = key;\n                            afterRedraw.push(function() { // prevent a recursive call to chart.redraw() (#1119)\n                                fireEvent(axis, 'afterSetExtremes', extend(axis.eventArgs, axis.getExtremes())); // #747, #751\n                                delete axis.eventArgs;\n                            });\n                        }\n                        if (isDirtyBox || hasStackedSeries) {\n                            axis.redraw();\n                        }\n                    });\n                }\n\n                // the plot areas size has changed\n                if (isDirtyBox) {\n                    chart.drawChartBox();\n                }\n\n                // Fire an event before redrawing series, used by the boost module to\n                // clear previous series renderings.\n                fireEvent(chart, 'predraw');\n\n                // redraw affected series\n                each(series, function(serie) {\n                    if ((isDirtyBox || serie.isDirty) && serie.visible) {\n                        serie.redraw();\n                    }\n                    // Set it here, otherwise we will have unlimited 'updatedData' calls\n                    // for a hidden series after setData(). Fixes #6012\n                    serie.isDirtyData = false;\n                });\n\n                // move tooltip or reset\n                if (pointer) {\n                    pointer.reset(true);\n                }\n\n                // redraw if canvas\n                renderer.draw();\n\n                // Fire the events\n                fireEvent(chart, 'redraw');\n                fireEvent(chart, 'render');\n\n                if (isHiddenChart) {\n                    chart.cloneRenderTo(true);\n                }\n\n                // Fire callbacks that are put on hold until after the redraw\n                each(afterRedraw, function(callback) {\n                    callback.call();\n                });\n            },\n\n            /**\n             * Get an axis, series or point object by id.\n             * @param id {String} The id as given in the configuration options\n             */\n            get: function(id) {\n\n                var ret,\n                    series = this.series,\n                    i;\n\n                function itemById(item) {\n                    return item.id === id || (item.options && item.options.id === id);\n                }\n\n                ret =\n                    // Search axes\n                    find(this.axes, itemById) ||\n\n                    // Search series\n                    find(this.series, itemById);\n\n                // Search points\n                for (i = 0; !ret && i < series.length; i++) {\n                    ret = find(series[i].points || [], itemById);\n                }\n\n                return ret;\n            },\n\n            /**\n             * Create the Axis instances based on the config options\n             */\n            getAxes: function() {\n                var chart = this,\n                    options = this.options,\n                    xAxisOptions = options.xAxis = splat(options.xAxis || {}),\n                    yAxisOptions = options.yAxis = splat(options.yAxis || {}),\n                    optionsArray;\n\n                // make sure the options are arrays and add some members\n                each(xAxisOptions, function(axis, i) {\n                    axis.index = i;\n                    axis.isX = true;\n                });\n\n                each(yAxisOptions, function(axis, i) {\n                    axis.index = i;\n                });\n\n                // concatenate all axis options into one array\n                optionsArray = xAxisOptions.concat(yAxisOptions);\n\n                each(optionsArray, function(axisOptions) {\n                    new Axis(chart, axisOptions); // eslint-disable-line no-new\n                });\n            },\n\n\n            /**\n             * Get the currently selected points from all series\n             */\n            getSelectedPoints: function() {\n                var points = [];\n                each(this.series, function(serie) {\n                    points = points.concat(grep(serie.points || [], function(point) {\n                        return point.selected;\n                    }));\n                });\n                return points;\n            },\n\n            /**\n             * Get the currently selected series\n             */\n            getSelectedSeries: function() {\n                return grep(this.series, function(serie) {\n                    return serie.selected;\n                });\n            },\n\n            /**\n             * Show the title and subtitle of the chart\n             *\n             * @param titleOptions {Object} New title options\n             * @param subtitleOptions {Object} New subtitle options\n             *\n             */\n            setTitle: function(titleOptions, subtitleOptions, redraw) {\n                var chart = this,\n                    options = chart.options,\n                    chartTitleOptions,\n                    chartSubtitleOptions;\n\n                chartTitleOptions = options.title = merge(\n\n                    // Default styles\n                    {\n                        style: {\n                            color: '#333333',\n                            fontSize: options.isStock ? '16px' : '18px' // #2944\n                        }\n                    },\n\n                    options.title,\n                    titleOptions\n                );\n                chartSubtitleOptions = options.subtitle = merge(\n\n                    // Default styles\n                    {\n                        style: {\n                            color: '#666666'\n                        }\n                    },\n\n                    options.subtitle,\n                    subtitleOptions\n                );\n\n                // add title and subtitle\n                each([\n                    ['title', titleOptions, chartTitleOptions],\n                    ['subtitle', subtitleOptions, chartSubtitleOptions]\n                ], function(arr, i) {\n                    var name = arr[0],\n                        title = chart[name],\n                        titleOptions = arr[1],\n                        chartTitleOptions = arr[2];\n\n                    if (title && titleOptions) {\n                        chart[name] = title = title.destroy(); // remove old\n                    }\n\n                    if (chartTitleOptions && chartTitleOptions.text && !title) {\n                        chart[name] = chart.renderer.text(\n                                chartTitleOptions.text,\n                                0,\n                                0,\n                                chartTitleOptions.useHTML\n                            )\n                            .attr({\n                                align: chartTitleOptions.align,\n                                'class': 'highcharts-' + name,\n                                zIndex: chartTitleOptions.zIndex || 4\n                            })\n                            .add();\n\n                        // Update methods, shortcut to Chart.setTitle\n                        chart[name].update = function(o) {\n                            chart.setTitle(!i && o, i && o);\n                        };\n\n\n                        // Presentational\n                        chart[name].css(chartTitleOptions.style);\n\n\n                    }\n                });\n                chart.layOutTitles(redraw);\n            },\n\n            /**\n             * Lay out the chart titles and cache the full offset height for use\n             * in getMargins\n             */\n            layOutTitles: function(redraw) {\n                var titleOffset = 0,\n                    requiresDirtyBox,\n                    renderer = this.renderer,\n                    spacingBox = this.spacingBox;\n\n                // Lay out the title and the subtitle respectively\n                each(['title', 'subtitle'], function(key) {\n                    var title = this[key],\n                        titleOptions = this.options[key],\n                        titleSize;\n\n                    if (title) {\n\n                        titleSize = titleOptions.style.fontSize;\n\n                        titleSize = renderer.fontMetrics(titleSize, title).b;\n\n                        title\n                            .css({\n                                width: (titleOptions.width ||\n                                    spacingBox.width + titleOptions.widthAdjust) + 'px'\n                            })\n                            .align(extend({\n                                y: titleOffset + titleSize + (key === 'title' ? -3 : 2)\n                            }, titleOptions), false, 'spacingBox');\n\n                        if (!titleOptions.floating && !titleOptions.verticalAlign) {\n                            titleOffset = Math.ceil(\n                                titleOffset +\n                                // Skip the cache for HTML (#3481)\n                                title.getBBox(titleOptions.useHTML).height\n                            );\n                        }\n                    }\n                }, this);\n\n                requiresDirtyBox = this.titleOffset !== titleOffset;\n                this.titleOffset = titleOffset; // used in getMargins\n\n                if (!this.isDirtyBox && requiresDirtyBox) {\n                    this.isDirtyBox = requiresDirtyBox;\n                    // Redraw if necessary (#2719, #2744)\n                    if (this.hasRendered && pick(redraw, true) && this.isDirtyBox) {\n                        this.redraw();\n                    }\n                }\n            },\n\n            /**\n             * Get chart width and height according to options and container size\n             */\n            getChartSize: function() {\n                var chart = this,\n                    optionsChart = chart.options.chart,\n                    widthOption = optionsChart.width,\n                    heightOption = optionsChart.height,\n                    renderTo = chart.renderToClone || chart.renderTo;\n\n                // Get inner width and height\n                if (!defined(widthOption)) {\n                    chart.containerWidth = getStyle(renderTo, 'width');\n                }\n                if (!defined(heightOption)) {\n                    chart.containerHeight = getStyle(renderTo, 'height');\n                }\n\n                chart.chartWidth = Math.max( // #1393\n                    0,\n                    widthOption || chart.containerWidth || 600 // #1460\n                );\n                chart.chartHeight = Math.max(\n                    0,\n                    H.relativeLength(\n                        heightOption,\n                        chart.chartWidth\n                    ) || chart.containerHeight || 400\n                );\n            },\n\n            /**\n             * Create a clone of the chart's renderTo div and place it outside the viewport to allow\n             * size computation on chart.render and chart.redraw\n             */\n            cloneRenderTo: function(revert) {\n                var clone = this.renderToClone,\n                    container = this.container;\n\n                // Destroy the clone and bring the container back to the real renderTo div\n                if (revert) {\n                    if (clone) {\n                        while (clone.childNodes.length) { // #5231\n                            this.renderTo.appendChild(clone.firstChild);\n                        }\n                        discardElement(clone);\n                        delete this.renderToClone;\n                    }\n\n                    // Set up the clone\n                } else {\n                    if (container && container.parentNode === this.renderTo) {\n                        this.renderTo.removeChild(container); // do not clone this\n                    }\n                    this.renderToClone = clone = this.renderTo.cloneNode(0);\n                    css(clone, {\n                        position: 'absolute',\n                        top: '-9999px',\n                        display: 'block' // #833\n                    });\n                    if (clone.style.setProperty) { // #2631\n                        clone.style.setProperty('display', 'block', 'important');\n                    }\n                    doc.body.appendChild(clone);\n                    if (container) {\n                        clone.appendChild(container);\n                    }\n                }\n            },\n\n            /**\n             * Setter for the chart class name\n             */\n            setClassName: function(className) {\n                this.container.className = 'highcharts-container ' + (className || '');\n            },\n\n            /**\n             * Get the containing element, determine the size and create the inner container\n             * div to hold the chart\n             */\n            getContainer: function() {\n                var chart = this,\n                    container,\n                    options = chart.options,\n                    optionsChart = options.chart,\n                    chartWidth,\n                    chartHeight,\n                    renderTo = chart.renderTo,\n                    indexAttrName = 'data-highcharts-chart',\n                    oldChartIndex,\n                    Ren,\n                    containerId = H.uniqueKey(),\n                    containerStyle,\n                    key;\n\n                if (!renderTo) {\n                    chart.renderTo = renderTo = optionsChart.renderTo;\n                }\n\n                if (isString(renderTo)) {\n                    chart.renderTo = renderTo = doc.getElementById(renderTo);\n                }\n\n                // Display an error if the renderTo is wrong\n                if (!renderTo) {\n                    H.error(13, true);\n                }\n\n                // If the container already holds a chart, destroy it. The check for hasRendered is there\n                // because web pages that are saved to disk from the browser, will preserve the data-highcharts-chart\n                // attribute and the SVG contents, but not an interactive chart. So in this case,\n                // charts[oldChartIndex] will point to the wrong chart if any (#2609).\n                oldChartIndex = pInt(attr(renderTo, indexAttrName));\n                if (isNumber(oldChartIndex) && charts[oldChartIndex] && charts[oldChartIndex].hasRendered) {\n                    charts[oldChartIndex].destroy();\n                }\n\n                // Make a reference to the chart from the div\n                attr(renderTo, indexAttrName, chart.index);\n\n                // remove previous chart\n                renderTo.innerHTML = '';\n\n                // If the container doesn't have an offsetWidth, it has or is a child of\n                // a node that has display:none. We need to temporarily move it out to a\n                // visible state to determine the size, else the legend and tooltips\n                // won't render properly. The skipClone option is used in sparklines as\n                // a micro optimization, saving about 1-2 ms each chart.\n                if (!optionsChart.skipClone && !renderTo.offsetWidth) {\n                    chart.cloneRenderTo();\n                }\n\n                // get the width and height\n                chart.getChartSize();\n                chartWidth = chart.chartWidth;\n                chartHeight = chart.chartHeight;\n\n                // Create the inner container\n\n                containerStyle = extend({\n                    position: 'relative',\n                    overflow: 'hidden', // needed for context menu (avoid scrollbars) and\n                    // content overflow in IE\n                    width: chartWidth + 'px',\n                    height: chartHeight + 'px',\n                    textAlign: 'left',\n                    lineHeight: 'normal', // #427\n                    zIndex: 0, // #1072\n                    '-webkit-tap-highlight-color': 'rgba(0,0,0,0)'\n                }, optionsChart.style);\n\n                chart.container = container = createElement(\n                    'div', {\n                        id: containerId\n                    },\n                    containerStyle,\n                    chart.renderToClone || renderTo\n                );\n\n                // cache the cursor (#1650)\n                chart._cursor = container.style.cursor;\n\n                // Initialize the renderer\n                Ren = H[optionsChart.renderer] || Renderer;\n                chart.renderer = new Ren(\n                    container,\n                    chartWidth,\n                    chartHeight,\n                    null,\n                    optionsChart.forExport,\n                    options.exporting && options.exporting.allowHTML\n                );\n\n\n                chart.setClassName(optionsChart.className);\n\n                chart.renderer.setStyle(optionsChart.style);\n\n\n                // Add a reference to the charts index\n                chart.renderer.chartIndex = chart.index;\n            },\n\n            /**\n             * Calculate margins by rendering axis labels in a preliminary position. Title,\n             * subtitle and legend have already been rendered at this stage, but will be\n             * moved into their final positions\n             */\n            getMargins: function(skipAxes) {\n                var chart = this,\n                    spacing = chart.spacing,\n                    margin = chart.margin,\n                    titleOffset = chart.titleOffset;\n\n                chart.resetMargins();\n\n                // Adjust for title and subtitle\n                if (titleOffset && !defined(margin[0])) {\n                    chart.plotTop = Math.max(chart.plotTop, titleOffset + chart.options.title.margin + spacing[0]);\n                }\n\n                // Adjust for legend\n                if (chart.legend.display) {\n                    chart.legend.adjustMargins(margin, spacing);\n                }\n\n                // adjust for scroller\n                if (chart.extraMargin) {\n                    chart[chart.extraMargin.type] = (chart[chart.extraMargin.type] || 0) + chart.extraMargin.value;\n                }\n                if (chart.extraTopMargin) {\n                    chart.plotTop += chart.extraTopMargin;\n                }\n                if (!skipAxes) {\n                    this.getAxisMargins();\n                }\n            },\n\n            getAxisMargins: function() {\n\n                var chart = this,\n                    axisOffset = chart.axisOffset = [0, 0, 0, 0], // top, right, bottom, left\n                    margin = chart.margin;\n\n                // pre-render axes to get labels offset width\n                if (chart.hasCartesianSeries) {\n                    each(chart.axes, function(axis) {\n                        if (axis.visible) {\n                            axis.getOffset();\n                        }\n                    });\n                }\n\n                // Add the axis offsets\n                each(marginNames, function(m, side) {\n                    if (!defined(margin[side])) {\n                        chart[m] += axisOffset[side];\n                    }\n                });\n\n                chart.setChartSize();\n\n            },\n\n            /**\n             * Resize the chart to its container if size is not explicitly set\n             */\n            reflow: function(e) {\n                var chart = this,\n                    optionsChart = chart.options.chart,\n                    renderTo = chart.renderTo,\n                    hasUserWidth = defined(optionsChart.width),\n                    width = optionsChart.width || getStyle(renderTo, 'width'),\n                    height = optionsChart.height || getStyle(renderTo, 'height'),\n                    target = e ? e.target : win;\n\n                // Width and height checks for display:none. Target is doc in IE8 and Opera,\n                // win in Firefox, Chrome and IE9.\n                if (!hasUserWidth && !chart.isPrinting && width && height && (target === win || target === doc)) { // #1093\n                    if (width !== chart.containerWidth || height !== chart.containerHeight) {\n                        clearTimeout(chart.reflowTimeout);\n                        // When called from window.resize, e is set, else it's called directly (#2224)\n                        chart.reflowTimeout = syncTimeout(function() {\n                            if (chart.container) { // It may have been destroyed in the meantime (#1257)\n                                chart.setSize(undefined, undefined, false);\n                            }\n                        }, e ? 100 : 0);\n                    }\n                    chart.containerWidth = width;\n                    chart.containerHeight = height;\n                }\n            },\n\n            /**\n             * Add the event handlers necessary for auto resizing\n             */\n            initReflow: function() {\n                var chart = this,\n                    unbind;\n\n                unbind = addEvent(win, 'resize', function(e) {\n                    chart.reflow(e);\n                });\n                addEvent(chart, 'destroy', unbind);\n\n                // The following will add listeners to re-fit the chart before and after\n                // printing (#2284). However it only works in WebKit. Should have worked\n                // in Firefox, but not supported in IE.\n                /*\n                if (win.matchMedia) {\n                \twin.matchMedia('print').addListener(function reflow() {\n                \t\tchart.reflow();\n                \t});\n                }\n                */\n            },\n\n            /**\n             * Resize the chart to a given width and height\n             * @param {Number} width\n             * @param {Number} height\n             * @param {Object|Boolean} animation\n             */\n            setSize: function(width, height, animation) {\n                var chart = this,\n                    renderer = chart.renderer,\n                    globalAnimation;\n\n                // Handle the isResizing counter\n                chart.isResizing += 1;\n\n                // set the animation for the current process\n                H.setAnimation(animation, chart);\n\n                chart.oldChartHeight = chart.chartHeight;\n                chart.oldChartWidth = chart.chartWidth;\n                if (width !== undefined) {\n                    chart.options.chart.width = width;\n                }\n                if (height !== undefined) {\n                    chart.options.chart.height = height;\n                }\n                chart.getChartSize();\n\n                // Resize the container with the global animation applied if enabled (#2503)\n\n                globalAnimation = renderer.globalAnimation;\n                (globalAnimation ? animate : css)(chart.container, {\n                    width: chart.chartWidth + 'px',\n                    height: chart.chartHeight + 'px'\n                }, globalAnimation);\n\n\n                chart.setChartSize(true);\n                renderer.setSize(chart.chartWidth, chart.chartHeight, animation);\n\n                // handle axes\n                each(chart.axes, function(axis) {\n                    axis.isDirty = true;\n                    axis.setScale();\n                });\n\n                chart.isDirtyLegend = true; // force legend redraw\n                chart.isDirtyBox = true; // force redraw of plot and chart border\n\n                chart.layOutTitles(); // #2857\n                chart.getMargins();\n\n                chart.redraw(animation);\n\n\n                chart.oldChartHeight = null;\n                fireEvent(chart, 'resize');\n\n                // Fire endResize and set isResizing back. If animation is disabled, fire without delay\n                syncTimeout(function() {\n                    if (chart) {\n                        fireEvent(chart, 'endResize', null, function() {\n                            chart.isResizing -= 1;\n                        });\n                    }\n                }, animObject(globalAnimation).duration);\n            },\n\n            /**\n             * Set the public chart properties. This is done before and after the pre-render\n             * to determine margin sizes\n             */\n            setChartSize: function(skipAxes) {\n                var chart = this,\n                    inverted = chart.inverted,\n                    renderer = chart.renderer,\n                    chartWidth = chart.chartWidth,\n                    chartHeight = chart.chartHeight,\n                    optionsChart = chart.options.chart,\n                    spacing = chart.spacing,\n                    clipOffset = chart.clipOffset,\n                    clipX,\n                    clipY,\n                    plotLeft,\n                    plotTop,\n                    plotWidth,\n                    plotHeight,\n                    plotBorderWidth;\n\n                chart.plotLeft = plotLeft = Math.round(chart.plotLeft);\n                chart.plotTop = plotTop = Math.round(chart.plotTop);\n                chart.plotWidth = plotWidth = Math.max(0, Math.round(chartWidth - plotLeft - chart.marginRight));\n                chart.plotHeight = plotHeight = Math.max(0, Math.round(chartHeight - plotTop - chart.marginBottom));\n\n                chart.plotSizeX = inverted ? plotHeight : plotWidth;\n                chart.plotSizeY = inverted ? plotWidth : plotHeight;\n\n                chart.plotBorderWidth = optionsChart.plotBorderWidth || 0;\n\n                // Set boxes used for alignment\n                chart.spacingBox = renderer.spacingBox = {\n                    x: spacing[3],\n                    y: spacing[0],\n                    width: chartWidth - spacing[3] - spacing[1],\n                    height: chartHeight - spacing[0] - spacing[2]\n                };\n                chart.plotBox = renderer.plotBox = {\n                    x: plotLeft,\n                    y: plotTop,\n                    width: plotWidth,\n                    height: plotHeight\n                };\n\n                plotBorderWidth = 2 * Math.floor(chart.plotBorderWidth / 2);\n                clipX = Math.ceil(Math.max(plotBorderWidth, clipOffset[3]) / 2);\n                clipY = Math.ceil(Math.max(plotBorderWidth, clipOffset[0]) / 2);\n                chart.clipBox = {\n                    x: clipX,\n                    y: clipY,\n                    width: Math.floor(chart.plotSizeX - Math.max(plotBorderWidth, clipOffset[1]) / 2 - clipX),\n                    height: Math.max(0, Math.floor(chart.plotSizeY - Math.max(plotBorderWidth, clipOffset[2]) / 2 - clipY))\n                };\n\n                if (!skipAxes) {\n                    each(chart.axes, function(axis) {\n                        axis.setAxisSize();\n                        axis.setAxisTranslation();\n                    });\n                }\n            },\n\n            /**\n             * Initial margins before auto size margins are applied\n             */\n            resetMargins: function() {\n                var chart = this,\n                    chartOptions = chart.options.chart;\n\n                // Create margin and spacing array\n                each(['margin', 'spacing'], function splashArrays(target) {\n                    var value = chartOptions[target],\n                        values = isObject(value) ? value : [value, value, value, value];\n\n                    each(['Top', 'Right', 'Bottom', 'Left'], function(sideName, side) {\n                        chart[target][side] = pick(chartOptions[target + sideName], values[side]);\n                    });\n                });\n\n                // Set margin names like chart.plotTop, chart.plotLeft, chart.marginRight, chart.marginBottom.\n                each(marginNames, function(m, side) {\n                    chart[m] = pick(chart.margin[side], chart.spacing[side]);\n                });\n                chart.axisOffset = [0, 0, 0, 0]; // top, right, bottom, left\n                chart.clipOffset = [0, 0, 0, 0];\n            },\n\n            /**\n             * Draw the borders and backgrounds for chart and plot area\n             */\n            drawChartBox: function() {\n                var chart = this,\n                    optionsChart = chart.options.chart,\n                    renderer = chart.renderer,\n                    chartWidth = chart.chartWidth,\n                    chartHeight = chart.chartHeight,\n                    chartBackground = chart.chartBackground,\n                    plotBackground = chart.plotBackground,\n                    plotBorder = chart.plotBorder,\n                    chartBorderWidth,\n\n                    plotBGImage = chart.plotBGImage,\n                    chartBackgroundColor = optionsChart.backgroundColor,\n                    plotBackgroundColor = optionsChart.plotBackgroundColor,\n                    plotBackgroundImage = optionsChart.plotBackgroundImage,\n\n                    mgn,\n                    bgAttr,\n                    plotLeft = chart.plotLeft,\n                    plotTop = chart.plotTop,\n                    plotWidth = chart.plotWidth,\n                    plotHeight = chart.plotHeight,\n                    plotBox = chart.plotBox,\n                    clipRect = chart.clipRect,\n                    clipBox = chart.clipBox,\n                    verb = 'animate';\n\n                // Chart area\n                if (!chartBackground) {\n                    chart.chartBackground = chartBackground = renderer.rect()\n                        .addClass('highcharts-background')\n                        .add();\n                    verb = 'attr';\n                }\n\n\n                // Presentational\n                chartBorderWidth = optionsChart.borderWidth || 0;\n                mgn = chartBorderWidth + (optionsChart.shadow ? 8 : 0);\n\n                bgAttr = {\n                    fill: chartBackgroundColor || 'none'\n                };\n\n                if (chartBorderWidth || chartBackground['stroke-width']) { // #980\n                    bgAttr.stroke = optionsChart.borderColor;\n                    bgAttr['stroke-width'] = chartBorderWidth;\n                }\n                chartBackground\n                    .attr(bgAttr)\n                    .shadow(optionsChart.shadow);\n\n                chartBackground[verb]({\n                    x: mgn / 2,\n                    y: mgn / 2,\n                    width: chartWidth - mgn - chartBorderWidth % 2,\n                    height: chartHeight - mgn - chartBorderWidth % 2,\n                    r: optionsChart.borderRadius\n                });\n\n                // Plot background\n                verb = 'animate';\n                if (!plotBackground) {\n                    verb = 'attr';\n                    chart.plotBackground = plotBackground = renderer.rect()\n                        .addClass('highcharts-plot-background')\n                        .add();\n                }\n                plotBackground[verb](plotBox);\n\n\n                // Presentational attributes for the background\n                plotBackground\n                    .attr({\n                        fill: plotBackgroundColor || 'none'\n                    })\n                    .shadow(optionsChart.plotShadow);\n\n                // Create the background image\n                if (plotBackgroundImage) {\n                    if (!plotBGImage) {\n                        chart.plotBGImage = renderer.image(plotBackgroundImage, plotLeft, plotTop, plotWidth, plotHeight)\n                            .add();\n                    } else {\n                        plotBGImage.animate(plotBox);\n                    }\n                }\n\n\n                // Plot clip\n                if (!clipRect) {\n                    chart.clipRect = renderer.clipRect(clipBox);\n                } else {\n                    clipRect.animate({\n                        width: clipBox.width,\n                        height: clipBox.height\n                    });\n                }\n\n                // Plot area border\n                verb = 'animate';\n                if (!plotBorder) {\n                    verb = 'attr';\n                    chart.plotBorder = plotBorder = renderer.rect()\n                        .addClass('highcharts-plot-border')\n                        .attr({\n                            zIndex: 1 // Above the grid\n                        })\n                        .add();\n                }\n\n\n                // Presentational\n                plotBorder.attr({\n                    stroke: optionsChart.plotBorderColor,\n                    'stroke-width': optionsChart.plotBorderWidth || 0,\n                    fill: 'none'\n                });\n\n\n                plotBorder[verb](plotBorder.crisp({\n                    x: plotLeft,\n                    y: plotTop,\n                    width: plotWidth,\n                    height: plotHeight\n                }, -plotBorder.strokeWidth())); //#3282 plotBorder should be negative;\n\n                // reset\n                chart.isDirtyBox = false;\n            },\n\n            /**\n             * Detect whether a certain chart property is needed based on inspecting its options\n             * and series. This mainly applies to the chart.inverted property, and in extensions to\n             * the chart.angular and chart.polar properties.\n             */\n            propFromSeries: function() {\n                var chart = this,\n                    optionsChart = chart.options.chart,\n                    klass,\n                    seriesOptions = chart.options.series,\n                    i,\n                    value;\n\n\n                each(['inverted', 'angular', 'polar'], function(key) {\n\n                    // The default series type's class\n                    klass = seriesTypes[optionsChart.type || optionsChart.defaultSeriesType];\n\n                    // Get the value from available chart-wide properties\n                    value =\n                        optionsChart[key] || // It is set in the options\n                        (klass && klass.prototype[key]); // The default series class requires it\n\n                    // 4. Check if any the chart's series require it\n                    i = seriesOptions && seriesOptions.length;\n                    while (!value && i--) {\n                        klass = seriesTypes[seriesOptions[i].type];\n                        if (klass && klass.prototype[key]) {\n                            value = true;\n                        }\n                    }\n\n                    // Set the chart property\n                    chart[key] = value;\n                });\n\n            },\n\n            /**\n             * Link two or more series together. This is done initially from Chart.render,\n             * and after Chart.addSeries and Series.remove.\n             */\n            linkSeries: function() {\n                var chart = this,\n                    chartSeries = chart.series;\n\n                // Reset links\n                each(chartSeries, function(series) {\n                    series.linkedSeries.length = 0;\n                });\n\n                // Apply new links\n                each(chartSeries, function(series) {\n                    var linkedTo = series.options.linkedTo;\n                    if (isString(linkedTo)) {\n                        if (linkedTo === ':previous') {\n                            linkedTo = chart.series[series.index - 1];\n                        } else {\n                            linkedTo = chart.get(linkedTo);\n                        }\n                        if (linkedTo && linkedTo.linkedParent !== series) { // #3341 avoid mutual linking\n                            linkedTo.linkedSeries.push(series);\n                            series.linkedParent = linkedTo;\n                            series.visible = pick(series.options.visible, linkedTo.options.visible, series.visible); // #3879\n                        }\n                    }\n                });\n            },\n\n            /**\n             * Render series for the chart\n             */\n            renderSeries: function() {\n                each(this.series, function(serie) {\n                    serie.translate();\n                    serie.render();\n                });\n            },\n\n            /**\n             * Render labels for the chart\n             */\n            renderLabels: function() {\n                var chart = this,\n                    labels = chart.options.labels;\n                if (labels.items) {\n                    each(labels.items, function(label) {\n                        var style = extend(labels.style, label.style),\n                            x = pInt(style.left) + chart.plotLeft,\n                            y = pInt(style.top) + chart.plotTop + 12;\n\n                        // delete to prevent rewriting in IE\n                        delete style.left;\n                        delete style.top;\n\n                        chart.renderer.text(\n                                label.html,\n                                x,\n                                y\n                            )\n                            .attr({\n                                zIndex: 2\n                            })\n                            .css(style)\n                            .add();\n\n                    });\n                }\n            },\n\n            /**\n             * Render all graphics for the chart\n             */\n            render: function() {\n                var chart = this,\n                    axes = chart.axes,\n                    renderer = chart.renderer,\n                    options = chart.options,\n                    tempWidth,\n                    tempHeight,\n                    redoHorizontal,\n                    redoVertical;\n\n                // Title\n                chart.setTitle();\n\n\n                // Legend\n                chart.legend = new Legend(chart, options.legend);\n\n                // Get stacks\n                if (chart.getStacks) {\n                    chart.getStacks();\n                }\n\n                // Get chart margins\n                chart.getMargins(true);\n                chart.setChartSize();\n\n                // Record preliminary dimensions for later comparison\n                tempWidth = chart.plotWidth;\n                tempHeight = chart.plotHeight = chart.plotHeight - 21; // 21 is the most common correction for X axis labels\n\n                // Get margins by pre-rendering axes\n                each(axes, function(axis) {\n                    axis.setScale();\n                });\n                chart.getAxisMargins();\n\n                // If the plot area size has changed significantly, calculate tick positions again\n                redoHorizontal = tempWidth / chart.plotWidth > 1.1;\n                redoVertical = tempHeight / chart.plotHeight > 1.05; // Height is more sensitive\n\n                if (redoHorizontal || redoVertical) {\n\n                    each(axes, function(axis) {\n                        if ((axis.horiz && redoHorizontal) || (!axis.horiz && redoVertical)) {\n                            axis.setTickInterval(true); // update to reflect the new margins\n                        }\n                    });\n                    chart.getMargins(); // second pass to check for new labels\n                }\n\n                // Draw the borders and backgrounds\n                chart.drawChartBox();\n\n\n                // Axes\n                if (chart.hasCartesianSeries) {\n                    each(axes, function(axis) {\n                        if (axis.visible) {\n                            axis.render();\n                        }\n                    });\n                }\n\n                // The series\n                if (!chart.seriesGroup) {\n                    chart.seriesGroup = renderer.g('series-group')\n                        .attr({\n                            zIndex: 3\n                        })\n                        .add();\n                }\n                chart.renderSeries();\n\n                // Labels\n                chart.renderLabels();\n\n                // Credits\n                chart.addCredits();\n\n                // Handle responsiveness\n                if (chart.setResponsive) {\n                    chart.setResponsive();\n                }\n\n                // Set flag\n                chart.hasRendered = true;\n\n            },\n\n            /**\n             * Show chart credits based on config options\n             */\n            addCredits: function(credits) {\n                var chart = this;\n\n                credits = merge(true, this.options.credits, credits);\n                if (credits.enabled && !this.credits) {\n                    this.credits = this.renderer.text(\n                            credits.text + (this.mapCredits || ''),\n                            0,\n                            0\n                        )\n                        .addClass('highcharts-credits')\n                        .on('click', function() {\n                            if (credits.href) {\n                                win.location.href = credits.href;\n                            }\n                        })\n                        .attr({\n                            align: credits.position.align,\n                            zIndex: 8\n                        })\n\n                        .css(credits.style)\n\n                        .add()\n                        .align(credits.position);\n\n                    // Dynamically update\n                    this.credits.update = function(options) {\n                        chart.credits = chart.credits.destroy();\n                        chart.addCredits(options);\n                    };\n                }\n            },\n\n            /**\n             * Clean up memory usage\n             */\n            destroy: function() {\n                var chart = this,\n                    axes = chart.axes,\n                    series = chart.series,\n                    container = chart.container,\n                    i,\n                    parentNode = container && container.parentNode;\n\n                // fire the chart.destoy event\n                fireEvent(chart, 'destroy');\n\n                // Delete the chart from charts lookup array\n                charts[chart.index] = undefined;\n                H.chartCount--;\n                chart.renderTo.removeAttribute('data-highcharts-chart');\n\n                // remove events\n                removeEvent(chart);\n\n                // ==== Destroy collections:\n                // Destroy axes\n                i = axes.length;\n                while (i--) {\n                    axes[i] = axes[i].destroy();\n                }\n\n                // Destroy scroller & scroller series before destroying base series\n                if (this.scroller && this.scroller.destroy) {\n                    this.scroller.destroy();\n                }\n\n                // Destroy each series\n                i = series.length;\n                while (i--) {\n                    series[i] = series[i].destroy();\n                }\n\n                // ==== Destroy chart properties:\n                each([\n                    'title', 'subtitle', 'chartBackground', 'plotBackground',\n                    'plotBGImage', 'plotBorder', 'seriesGroup', 'clipRect', 'credits',\n                    'pointer', 'rangeSelector', 'legend', 'resetZoomButton', 'tooltip',\n                    'renderer'\n                ], function(name) {\n                    var prop = chart[name];\n\n                    if (prop && prop.destroy) {\n                        chart[name] = prop.destroy();\n                    }\n                });\n\n                // remove container and all SVG\n                if (container) { // can break in IE when destroyed before finished loading\n                    container.innerHTML = '';\n                    removeEvent(container);\n                    if (parentNode) {\n                        discardElement(container);\n                    }\n\n                }\n\n                // clean it all up\n                for (i in chart) {\n                    delete chart[i];\n                }\n\n            },\n\n\n            /**\n             * VML namespaces can't be added until after complete. Listening\n             * for Perini's doScroll hack is not enough.\n             */\n            isReadyToRender: function() {\n                var chart = this;\n\n                // Note: win == win.top is required\n                if ((!svg && (win == win.top && doc.readyState !== 'complete'))) { // eslint-disable-line eqeqeq\n                    doc.attachEvent('onreadystatechange', function() {\n                        doc.detachEvent('onreadystatechange', chart.firstRender);\n                        if (doc.readyState === 'complete') {\n                            chart.firstRender();\n                        }\n                    });\n                    return false;\n                }\n                return true;\n            },\n\n            /**\n             * Prepare for first rendering after all data are loaded\n             */\n            firstRender: function() {\n                var chart = this,\n                    options = chart.options;\n\n                // Check whether the chart is ready to render\n                if (!chart.isReadyToRender()) {\n                    return;\n                }\n\n                // Create the container\n                chart.getContainer();\n\n                // Run an early event after the container and renderer are established\n                fireEvent(chart, 'init');\n\n\n                chart.resetMargins();\n                chart.setChartSize();\n\n                // Set the common chart properties (mainly invert) from the given series\n                chart.propFromSeries();\n\n                // get axes\n                chart.getAxes();\n\n                // Initialize the series\n                each(options.series || [], function(serieOptions) {\n                    chart.initSeries(serieOptions);\n                });\n\n                chart.linkSeries();\n\n                // Run an event after axes and series are initialized, but before render. At this stage,\n                // the series data is indexed and cached in the xData and yData arrays, so we can access\n                // those before rendering. Used in Highstock.\n                fireEvent(chart, 'beforeRender');\n\n                // depends on inverted and on margins being set\n                if (Pointer) {\n                    chart.pointer = new Pointer(chart, options);\n                }\n\n                chart.render();\n\n                // Fire the load event if there are no external images\n                if (!chart.renderer.imgCount && chart.onload) {\n                    chart.onload();\n                }\n\n                // If the chart was rendered outside the top container, put it back in (#3679)\n                chart.cloneRenderTo(true);\n\n            },\n\n            /** \n             * On chart load\n             */\n            onload: function() {\n\n                // Run callbacks\n                each([this.callback].concat(this.callbacks), function(fn) {\n                    if (fn && this.index !== undefined) { // Chart destroyed in its own callback (#3600)\n                        fn.apply(this, [this]);\n                    }\n                }, this);\n\n                fireEvent(this, 'load');\n                fireEvent(this, 'render');\n\n\n                // Set up auto resize, check for not destroyed (#6068)\n                if (defined(this.index) && this.options.chart.reflow !== false) {\n                    this.initReflow();\n                }\n\n                // Don't run again\n                this.onload = null;\n            }\n\n        }; // end Chart\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var Point,\n\n            each = H.each,\n            extend = H.extend,\n            erase = H.erase,\n            fireEvent = H.fireEvent,\n            format = H.format,\n            isArray = H.isArray,\n            isNumber = H.isNumber,\n            pick = H.pick,\n            removeEvent = H.removeEvent;\n\n        /**\n         * The Point object. The point objects are generated from the series.data \n         * configuration objects or raw numbers. They can be accessed from the\n         * Series.points array.\n         * @constructor Point\n         */\n        Point = H.Point = function() {};\n        Point.prototype = {\n\n            /**\n             * Initialize the point. Called internally based on the series.data option.\n             * @function #init\n             * @memberOf Point\n             * @param {Object} series The series object containing this point.\n             * @param {Object} options The data in either number, array or object\n             *        format.\n             * @param {Number} x Optionally, the X value of the.\n             * @returns {Object} The Point instance.\n             */\n            init: function(series, options, x) {\n\n                var point = this,\n                    colors,\n                    colorCount = series.chart.options.chart.colorCount,\n                    colorIndex;\n\n                point.series = series;\n\n                point.color = series.color; // #3445\n\n                point.applyOptions(options, x);\n\n                if (series.options.colorByPoint) {\n\n                    colors = series.options.colors || series.chart.options.colors;\n                    point.color = point.color || colors[series.colorCounter];\n                    colorCount = colors.length;\n\n                    colorIndex = series.colorCounter;\n                    series.colorCounter++;\n                    // loop back to zero\n                    if (series.colorCounter === colorCount) {\n                        series.colorCounter = 0;\n                    }\n                } else {\n                    colorIndex = series.colorIndex;\n                }\n                point.colorIndex = pick(point.colorIndex, colorIndex);\n\n                series.chart.pointCount++;\n                return point;\n            },\n            /**\n             * Apply the options containing the x and y data and possible some extra\n             * properties. Called on point init or from point.update.\n             *\n             * @function #applyOptions\n             * @memberOf Point\n             * @param {Object} options The point options as defined in series.data.\n             * @param {Number} x Optionally, the X value.\n             * @returns {Object} The Point instance.\n             */\n            applyOptions: function(options, x) {\n                var point = this,\n                    series = point.series,\n                    pointValKey = series.options.pointValKey || series.pointValKey;\n\n                options = Point.prototype.optionsToObject.call(this, options);\n\n                // copy options directly to point\n                extend(point, options);\n                point.options = point.options ? extend(point.options, options) : options;\n\n                // Since options are copied into the Point instance, some accidental options must be shielded (#5681)\n                if (options.group) {\n                    delete point.group;\n                }\n\n                // For higher dimension series types. For instance, for ranges, point.y is mapped to point.low.\n                if (pointValKey) {\n                    point.y = point[pointValKey];\n                }\n                point.isNull = pick(\n                    point.isValid && !point.isValid(),\n                    point.x === null || !isNumber(point.y, true)\n                ); // #3571, check for NaN\n\n                // The point is initially selected by options (#5777)\n                if (point.selected) {\n                    point.state = 'select';\n                }\n\n                // If no x is set by now, get auto incremented value. All points must have an\n                // x value, however the y value can be null to create a gap in the series\n                if ('name' in point && x === undefined && series.xAxis && series.xAxis.hasNames) {\n                    point.x = series.xAxis.nameToX(point);\n                }\n                if (point.x === undefined && series) {\n                    if (x === undefined) {\n                        point.x = series.autoIncrement(point);\n                    } else {\n                        point.x = x;\n                    }\n                }\n\n                return point;\n            },\n\n            /**\n             * Transform number or array configs into objects\n             */\n            optionsToObject: function(options) {\n                var ret = {},\n                    series = this.series,\n                    keys = series.options.keys,\n                    pointArrayMap = keys || series.pointArrayMap || ['y'],\n                    valueCount = pointArrayMap.length,\n                    firstItemType,\n                    i = 0,\n                    j = 0;\n\n                if (isNumber(options) || options === null) {\n                    ret[pointArrayMap[0]] = options;\n\n                } else if (isArray(options)) {\n                    // with leading x value\n                    if (!keys && options.length > valueCount) {\n                        firstItemType = typeof options[0];\n                        if (firstItemType === 'string') {\n                            ret.name = options[0];\n                        } else if (firstItemType === 'number') {\n                            ret.x = options[0];\n                        }\n                        i++;\n                    }\n                    while (j < valueCount) {\n                        if (!keys || options[i] !== undefined) { // Skip undefined positions for keys\n                            ret[pointArrayMap[j]] = options[i];\n                        }\n                        i++;\n                        j++;\n                    }\n                } else if (typeof options === 'object') {\n                    ret = options;\n\n                    // This is the fastest way to detect if there are individual point dataLabels that need\n                    // to be considered in drawDataLabels. These can only occur in object configs.\n                    if (options.dataLabels) {\n                        series._hasPointLabels = true;\n                    }\n\n                    // Same approach as above for markers\n                    if (options.marker) {\n                        series._hasPointMarkers = true;\n                    }\n                }\n                return ret;\n            },\n\n            /**\n             * Get the CSS class names for individual points\n             * @returns {String} The class name\n             */\n            getClassName: function() {\n                return 'highcharts-point' +\n                    (this.selected ? ' highcharts-point-select' : '') +\n                    (this.negative ? ' highcharts-negative' : '') +\n                    (this.isNull ? ' highcharts-null-point' : '') +\n                    (this.colorIndex !== undefined ? ' highcharts-color-' +\n                        this.colorIndex : '') +\n                    (this.options.className ? ' ' + this.options.className : '') +\n                    (this.zone && this.zone.className ? ' ' +\n                        this.zone.className.replace('highcharts-negative', '') : '');\n            },\n\n            /**\n             * Return the zone that the point belongs to\n             */\n            getZone: function() {\n                var series = this.series,\n                    zones = series.zones,\n                    zoneAxis = series.zoneAxis || 'y',\n                    i = 0,\n                    zone;\n\n                zone = zones[i];\n                while (this[zoneAxis] >= zone.value) {\n                    zone = zones[++i];\n                }\n\n                if (zone && zone.color && !this.options.color) {\n                    this.color = zone.color;\n                }\n\n                return zone;\n            },\n\n            /**\n             * Destroy a point to clear memory. Its reference still stays in series.data.\n             */\n            destroy: function() {\n                var point = this,\n                    series = point.series,\n                    chart = series.chart,\n                    hoverPoints = chart.hoverPoints,\n                    prop;\n\n                chart.pointCount--;\n\n                if (hoverPoints) {\n                    point.setState();\n                    erase(hoverPoints, point);\n                    if (!hoverPoints.length) {\n                        chart.hoverPoints = null;\n                    }\n\n                }\n                if (point === chart.hoverPoint) {\n                    point.onMouseOut();\n                }\n\n                // remove all events\n                if (point.graphic || point.dataLabel) { // removeEvent and destroyElements are performance expensive\n                    removeEvent(point);\n                    point.destroyElements();\n                }\n\n                if (point.legendItem) { // pies have legend items\n                    chart.legend.destroyItem(point);\n                }\n\n                for (prop in point) {\n                    point[prop] = null;\n                }\n\n\n            },\n\n            /**\n             * Destroy SVG elements associated with the point\n             */\n            destroyElements: function() {\n                var point = this,\n                    props = ['graphic', 'dataLabel', 'dataLabelUpper', 'connector', 'shadowGroup'],\n                    prop,\n                    i = 6;\n                while (i--) {\n                    prop = props[i];\n                    if (point[prop]) {\n                        point[prop] = point[prop].destroy();\n                    }\n                }\n            },\n\n            /**\n             * Return the configuration hash needed for the data label and tooltip formatters\n             */\n            getLabelConfig: function() {\n                return {\n                    x: this.category,\n                    y: this.y,\n                    color: this.color,\n                    colorIndex: this.colorIndex,\n                    key: this.name || this.category,\n                    series: this.series,\n                    point: this,\n                    percentage: this.percentage,\n                    total: this.total || this.stackTotal\n                };\n            },\n\n            /**\n             * Extendable method for formatting each point's tooltip line\n             *\n             * @return {String} A string to be concatenated in to the common tooltip text\n             */\n            tooltipFormatter: function(pointFormat) {\n\n                // Insert options for valueDecimals, valuePrefix, and valueSuffix\n                var series = this.series,\n                    seriesTooltipOptions = series.tooltipOptions,\n                    valueDecimals = pick(seriesTooltipOptions.valueDecimals, ''),\n                    valuePrefix = seriesTooltipOptions.valuePrefix || '',\n                    valueSuffix = seriesTooltipOptions.valueSuffix || '';\n\n                // Loop over the point array map and replace unformatted values with sprintf formatting markup\n                each(series.pointArrayMap || ['y'], function(key) {\n                    key = '{point.' + key; // without the closing bracket\n                    if (valuePrefix || valueSuffix) {\n                        pointFormat = pointFormat.replace(key + '}', valuePrefix + key + '}' + valueSuffix);\n                    }\n                    pointFormat = pointFormat.replace(key + '}', key + ':,.' + valueDecimals + 'f}');\n                });\n\n                return format(pointFormat, {\n                    point: this,\n                    series: this.series\n                });\n            },\n\n            /**\n             * Fire an event on the Point object.\n             * @param {String} eventType\n             * @param {Object} eventArgs Additional event arguments\n             * @param {Function} defaultFunction Default event handler\n             */\n            firePointEvent: function(eventType, eventArgs, defaultFunction) {\n                var point = this,\n                    series = this.series,\n                    seriesOptions = series.options;\n\n                // load event handlers on demand to save time on mouseover/out\n                if (seriesOptions.point.events[eventType] || (point.options && point.options.events && point.options.events[eventType])) {\n                    this.importEvents();\n                }\n\n                // add default handler if in selection mode\n                if (eventType === 'click' && seriesOptions.allowPointSelect) {\n                    defaultFunction = function(event) {\n                        // Control key is for Windows, meta (= Cmd key) for Mac, Shift for Opera\n                        if (point.select) { // Could be destroyed by prior event handlers (#2911)\n                            point.select(null, event.ctrlKey || event.metaKey || event.shiftKey);\n                        }\n                    };\n                }\n\n                fireEvent(this, eventType, eventArgs, defaultFunction);\n            },\n            visible: true\n        };\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var addEvent = H.addEvent,\n            animObject = H.animObject,\n            arrayMax = H.arrayMax,\n            arrayMin = H.arrayMin,\n            correctFloat = H.correctFloat,\n            Date = H.Date,\n            defaultOptions = H.defaultOptions,\n            defaultPlotOptions = H.defaultPlotOptions,\n            defined = H.defined,\n            each = H.each,\n            erase = H.erase,\n            extend = H.extend,\n            fireEvent = H.fireEvent,\n            grep = H.grep,\n            isArray = H.isArray,\n            isNumber = H.isNumber,\n            isString = H.isString,\n            LegendSymbolMixin = H.LegendSymbolMixin, // @todo add as a requirement\n            merge = H.merge,\n            pick = H.pick,\n            Point = H.Point, // @todo  add as a requirement\n            removeEvent = H.removeEvent,\n            splat = H.splat,\n            SVGElement = H.SVGElement,\n            syncTimeout = H.syncTimeout,\n            win = H.win;\n\n        /**\n         * The base function which all other series types inherit from. The data in the series is stored\n         * in various arrays.\n         *\n         * - First, series.options.data contains all the original config options for\n         * each point whether added by options or methods like series.addPoint.\n         * - Next, series.data contains those values converted to points, but in case the series data length\n         * exceeds the cropThreshold, or if the data is grouped, series.data doesn't contain all the points. It\n         * only contains the points that have been created on demand.\n         * - Then there's series.points that contains all currently visible point objects. In case of cropping,\n         * the cropped-away points are not part of this array. The series.points array starts at series.cropStart\n         * compared to series.data and series.options.data. If however the series data is grouped, these can't\n         * be correlated one to one.\n         * - series.xData and series.processedXData contain clean x values, equivalent to series.data and series.points.\n         * - series.yData and series.processedYData contain clean y values, equivalent to series.data and series.points.\n         *\n         * @constructor Series\n         * @param {Object} chart - The chart instance.\n         * @param {Object} options - The series options.\n         */\n        H.Series = H.seriesType('line', null, { // base series options\n\n            //cursor: 'default',\n            //dashStyle: null,\n            //linecap: 'round',\n            lineWidth: 2,\n            //shadow: false,\n\n            allowPointSelect: false,\n            showCheckbox: false,\n            animation: {\n                duration: 1000\n            },\n            //clip: true,\n            //connectNulls: false,\n            //enableMouseTracking: true,\n            events: {},\n            //legendIndex: 0,\n            // stacking: null,\n            marker: {\n\n                lineWidth: 0,\n                lineColor: '#ffffff',\n                //fillColor: null,\n\n                //enabled: true,\n                //symbol: null,\n                radius: 4,\n                states: { // states for a single point\n                    hover: {\n                        animation: {\n                            duration: 50\n                        },\n                        enabled: true,\n                        radiusPlus: 2,\n\n                        lineWidthPlus: 1\n\n                    },\n\n                    select: {\n                        fillColor: '#cccccc',\n                        lineColor: '#000000',\n                        lineWidth: 2\n                    }\n\n                }\n            },\n            point: {\n                events: {}\n            },\n            dataLabels: {\n                align: 'center',\n                // defer: true,\n                // enabled: false,\n                formatter: function() {\n                    return this.y === null ? '' : H.numberFormat(this.y, -1);\n                },\n\n                style: {\n                    fontSize: '11px',\n                    fontWeight: 'bold',\n                    color: 'contrast',\n                    textOutline: '1px contrast'\n                },\n                // backgroundColor: undefined,\n                // borderColor: undefined,\n                // borderWidth: undefined,\n                // shadow: false\n\n                verticalAlign: 'bottom', // above singular point\n                x: 0,\n                y: 0,\n                // borderRadius: undefined,\n                padding: 5\n            },\n            cropThreshold: 300, // draw points outside the plot area when the number of points is less than this\n            pointRange: 0,\n            //pointStart: 0,\n            //pointInterval: 1,\n            //showInLegend: null, // auto: true for standalone series, false for linked series\n            softThreshold: true,\n            states: { // states for the entire series\n                hover: {\n                    //enabled: false,\n                    animation: {\n                        duration: 50\n                    },\n                    lineWidthPlus: 1,\n                    marker: {\n                        // lineWidth: base + 1,\n                        // radius: base + 1\n                    },\n                    halo: {\n                        size: 10,\n\n                        opacity: 0.25\n\n                    }\n                },\n                select: {\n                    marker: {}\n                }\n            },\n            stickyTracking: true,\n            //tooltip: {\n            //pointFormat: '<span style=\"color:{point.color}\">\\u25CF</span> {series.name}: <b>{point.y}</b>'\n            //valueDecimals: null,\n            //xDateFormat: '%A, %b %e, %Y',\n            //valuePrefix: '',\n            //ySuffix: ''\n            //}\n            turboThreshold: 1000,\n            // zIndex: null\n            findNearestPointBy: 'x'\n\n        }, /** @lends Series.prototype */ {\n            isCartesian: true,\n            pointClass: Point,\n            sorted: true, // requires the data to be sorted\n            requireSorting: true,\n            directTouch: false,\n            axisTypes: ['xAxis', 'yAxis'],\n            colorCounter: 0,\n            parallelArrays: ['x', 'y'], // each point's x and y values are stored in this.xData and this.yData\n            coll: 'series',\n            init: function(chart, options) {\n                var series = this,\n                    eventType,\n                    events,\n                    chartSeries = chart.series,\n                    lastSeries;\n\n                series.chart = chart;\n                series.options = options = series.setOptions(options); // merge with plotOptions\n                series.linkedSeries = [];\n\n                // bind the axes\n                series.bindAxes();\n\n                // set some variables\n                extend(series, {\n                    name: options.name,\n                    state: '',\n                    visible: options.visible !== false, // true by default\n                    selected: options.selected === true // false by default\n                });\n\n                // register event listeners\n                events = options.events;\n                for (eventType in events) {\n                    addEvent(series, eventType, events[eventType]);\n                }\n                if (\n                    (events && events.click) ||\n                    (options.point && options.point.events && options.point.events.click) ||\n                    options.allowPointSelect\n                ) {\n                    chart.runTrackerClick = true;\n                }\n\n                series.getColor();\n                series.getSymbol();\n\n                // Set the data\n                each(series.parallelArrays, function(key) {\n                    series[key + 'Data'] = [];\n                });\n                series.setData(options.data, false);\n\n                // Mark cartesian\n                if (series.isCartesian) {\n                    chart.hasCartesianSeries = true;\n                }\n\n                // Get the index and register the series in the chart. The index is one\n                // more than the current latest series index (#5960).\n                if (chartSeries.length) {\n                    lastSeries = chartSeries[chartSeries.length - 1];\n                }\n                series._i = pick(lastSeries && lastSeries._i, -1) + 1;\n\n                // Insert the series and re-order all series above the insertion point.\n                chart.orderSeries(this.insert(chartSeries));\n            },\n\n            /**\n             * Insert the series in a collection with other series, either the chart\n             * series or yAxis series, in the correct order according to the index \n             * option.\n             * @param  {Array} collection A collection of series.\n             * @returns {Number} The index of the series in the collection.\n             */\n            insert: function(collection) {\n                var indexOption = this.options.index,\n                    i;\n\n                // Insert by index option\n                if (isNumber(indexOption)) {\n                    i = collection.length;\n                    while (i--) {\n                        // Loop down until the interted element has higher index\n                        if (indexOption >=\n                            pick(collection[i].options.index, collection[i]._i)) {\n                            collection.splice(i + 1, 0, this);\n                            break;\n                        }\n                    }\n                    if (i === -1) {\n                        collection.unshift(this);\n                    }\n                    i = i + 1;\n\n                    // Or just push it to the end\n                } else {\n                    collection.push(this);\n                }\n                return pick(i, collection.length - 1);\n            },\n\n            /**\n             * Set the xAxis and yAxis properties of cartesian series, and register the\n             * series in the `axis.series` array.\n             *\n             * @function #bindAxes\n             * @memberOf Series\n             * @returns {void}\n             */\n            bindAxes: function() {\n                var series = this,\n                    seriesOptions = series.options,\n                    chart = series.chart,\n                    axisOptions;\n\n                each(series.axisTypes || [], function(AXIS) { // repeat for xAxis and yAxis\n\n                    each(chart[AXIS], function(axis) { // loop through the chart's axis objects\n                        axisOptions = axis.options;\n\n                        // apply if the series xAxis or yAxis option mathches the number of the\n                        // axis, or if undefined, use the first axis\n                        if ((seriesOptions[AXIS] === axisOptions.index) ||\n                            (seriesOptions[AXIS] !== undefined && seriesOptions[AXIS] === axisOptions.id) ||\n                            (seriesOptions[AXIS] === undefined && axisOptions.index === 0)) {\n\n                            // register this series in the axis.series lookup\n                            series.insert(axis.series);\n\n                            // set this series.xAxis or series.yAxis reference\n                            series[AXIS] = axis;\n\n                            // mark dirty for redraw\n                            axis.isDirty = true;\n                        }\n                    });\n\n                    // The series needs an X and an Y axis\n                    if (!series[AXIS] && series.optionalAxis !== AXIS) {\n                        H.error(18, true);\n                    }\n\n                });\n            },\n\n            /**\n             * For simple series types like line and column, the data values are held in arrays like\n             * xData and yData for quick lookup to find extremes and more. For multidimensional series\n             * like bubble and map, this can be extended with arrays like zData and valueData by\n             * adding to the series.parallelArrays array.\n             */\n            updateParallelArrays: function(point, i) {\n                var series = point.series,\n                    args = arguments,\n                    fn = isNumber(i) ?\n                    // Insert the value in the given position\n                    function(key) {\n                        var val = key === 'y' && series.toYData ? series.toYData(point) : point[key];\n                        series[key + 'Data'][i] = val;\n                    } :\n                    // Apply the method specified in i with the following arguments as arguments\n                    function(key) {\n                        Array.prototype[i].apply(series[key + 'Data'], Array.prototype.slice.call(args, 2));\n                    };\n\n                each(series.parallelArrays, fn);\n            },\n\n            /**\n             * Return an auto incremented x value based on the pointStart and pointInterval options.\n             * This is only used if an x value is not given for the point that calls autoIncrement.\n             */\n            autoIncrement: function() {\n\n                var options = this.options,\n                    xIncrement = this.xIncrement,\n                    date,\n                    pointInterval,\n                    pointIntervalUnit = options.pointIntervalUnit;\n\n                xIncrement = pick(xIncrement, options.pointStart, 0);\n\n                this.pointInterval = pointInterval = pick(this.pointInterval, options.pointInterval, 1);\n\n                // Added code for pointInterval strings\n                if (pointIntervalUnit) {\n                    date = new Date(xIncrement);\n\n                    if (pointIntervalUnit === 'day') {\n                        date = +date[Date.hcSetDate](date[Date.hcGetDate]() + pointInterval);\n                    } else if (pointIntervalUnit === 'month') {\n                        date = +date[Date.hcSetMonth](date[Date.hcGetMonth]() + pointInterval);\n                    } else if (pointIntervalUnit === 'year') {\n                        date = +date[Date.hcSetFullYear](date[Date.hcGetFullYear]() + pointInterval);\n                    }\n                    pointInterval = date - xIncrement;\n\n                }\n\n                this.xIncrement = xIncrement + pointInterval;\n                return xIncrement;\n            },\n\n            /**\n             * Set the series options by merging from the options tree\n             * @param {Object} itemOptions\n             */\n            setOptions: function(itemOptions) {\n                var chart = this.chart,\n                    chartOptions = chart.options,\n                    plotOptions = chartOptions.plotOptions,\n                    userOptions = chart.userOptions || {},\n                    userPlotOptions = userOptions.plotOptions || {},\n                    typeOptions = plotOptions[this.type],\n                    options,\n                    zones;\n\n                this.userOptions = itemOptions;\n\n                // General series options take precedence over type options because otherwise, default\n                // type options like column.animation would be overwritten by the general option.\n                // But issues have been raised here (#3881), and the solution may be to distinguish\n                // between default option and userOptions like in the tooltip below.\n                options = merge(\n                    typeOptions,\n                    plotOptions.series,\n                    itemOptions\n                );\n\n                // The tooltip options are merged between global and series specific options\n                this.tooltipOptions = merge(\n                    defaultOptions.tooltip,\n                    defaultOptions.plotOptions[this.type].tooltip,\n                    userOptions.tooltip,\n                    userPlotOptions.series && userPlotOptions.series.tooltip,\n                    userPlotOptions[this.type] && userPlotOptions[this.type].tooltip,\n                    itemOptions.tooltip\n                );\n\n                // When shared tooltip, stickyTracking is true by default,\n                // unless user says otherwise.\n                this.stickyTracking = pick(\n                    itemOptions.stickyTracking,\n                    userPlotOptions[this.type] && userPlotOptions[this.type].stickyTracking,\n                    userPlotOptions.series && userPlotOptions.series.stickyTracking,\n                    (\n                        this.tooltipOptions.shared && !this.noSharedTooltip ?\n                        true :\n                        options.stickyTracking\n                    )\n                );\n\n                // Delete marker object if not allowed (#1125)\n                if (typeOptions.marker === null) {\n                    delete options.marker;\n                }\n\n                // Handle color zones\n                this.zoneAxis = options.zoneAxis;\n                zones = this.zones = (options.zones || []).slice();\n                if ((options.negativeColor || options.negativeFillColor) && !options.zones) {\n                    zones.push({\n                        value: options[this.zoneAxis + 'Threshold'] || options.threshold || 0,\n                        className: 'highcharts-negative',\n\n                        color: options.negativeColor,\n                        fillColor: options.negativeFillColor\n\n                    });\n                }\n                if (zones.length) { // Push one extra zone for the rest\n                    if (defined(zones[zones.length - 1].value)) {\n                        zones.push({\n\n                            color: this.color,\n                            fillColor: this.fillColor\n\n                        });\n                    }\n                }\n                return options;\n            },\n\n            getCyclic: function(prop, value, defaults) {\n                var i,\n                    chart = this.chart,\n                    userOptions = this.userOptions,\n                    indexName = prop + 'Index',\n                    counterName = prop + 'Counter',\n                    len = defaults ? defaults.length : pick(\n                        chart.options.chart[prop + 'Count'],\n                        chart[prop + 'Count']\n                    ),\n                    setting;\n\n                if (!value) {\n                    // Pick up either the colorIndex option, or the _colorIndex after Series.update()\n                    setting = pick(userOptions[indexName], userOptions['_' + indexName]);\n                    if (defined(setting)) { // after Series.update()\n                        i = setting;\n                    } else {\n                        // #6138\n                        if (!chart.series.length) {\n                            chart[counterName] = 0;\n                        }\n                        userOptions['_' + indexName] = i = chart[counterName] % len;\n                        chart[counterName] += 1;\n                    }\n                    if (defaults) {\n                        value = defaults[i];\n                    }\n                }\n                // Set the colorIndex\n                if (i !== undefined) {\n                    this[indexName] = i;\n                }\n                this[prop] = value;\n            },\n\n            /**\n             * Get the series' color\n             */\n\n            getColor: function() {\n                if (this.options.colorByPoint) {\n                    this.options.color = null; // #4359, selected slice got series.color even when colorByPoint was set.\n                } else {\n                    this.getCyclic('color', this.options.color || defaultPlotOptions[this.type].color, this.chart.options.colors);\n                }\n            },\n\n            /**\n             * Get the series' symbol\n             */\n            getSymbol: function() {\n                var seriesMarkerOption = this.options.marker;\n\n                this.getCyclic('symbol', seriesMarkerOption.symbol, this.chart.options.symbols);\n            },\n\n            drawLegendSymbol: LegendSymbolMixin.drawLineMarker,\n\n            /**\n             * Replace the series data with a new set of data\n             * @param {Object} data\n             * @param {Object} redraw\n             */\n            setData: function(data, redraw, animation, updatePoints) {\n                var series = this,\n                    oldData = series.points,\n                    oldDataLength = (oldData && oldData.length) || 0,\n                    dataLength,\n                    options = series.options,\n                    chart = series.chart,\n                    firstPoint = null,\n                    xAxis = series.xAxis,\n                    i,\n                    turboThreshold = options.turboThreshold,\n                    pt,\n                    xData = this.xData,\n                    yData = this.yData,\n                    pointArrayMap = series.pointArrayMap,\n                    valueCount = pointArrayMap && pointArrayMap.length;\n\n                data = data || [];\n                dataLength = data.length;\n                redraw = pick(redraw, true);\n\n                // If the point count is the same as is was, just run Point.update which is\n                // cheaper, allows animation, and keeps references to points.\n                if (updatePoints !== false && dataLength && oldDataLength === dataLength && !series.cropped && !series.hasGroupedData && series.visible) {\n                    each(data, function(point, i) {\n                        // .update doesn't exist on a linked, hidden series (#3709)\n                        if (oldData[i].update && point !== options.data[i]) {\n                            oldData[i].update(point, false, null, false);\n                        }\n                    });\n\n                } else {\n\n                    // Reset properties\n                    series.xIncrement = null;\n\n                    series.colorCounter = 0; // for series with colorByPoint (#1547)\n\n                    // Update parallel arrays\n                    each(this.parallelArrays, function(key) {\n                        series[key + 'Data'].length = 0;\n                    });\n\n                    // In turbo mode, only one- or twodimensional arrays of numbers are allowed. The\n                    // first value is tested, and we assume that all the rest are defined the same\n                    // way. Although the 'for' loops are similar, they are repeated inside each\n                    // if-else conditional for max performance.\n                    if (turboThreshold && dataLength > turboThreshold) {\n\n                        // find the first non-null point\n                        i = 0;\n                        while (firstPoint === null && i < dataLength) {\n                            firstPoint = data[i];\n                            i++;\n                        }\n\n\n                        if (isNumber(firstPoint)) { // assume all points are numbers\n                            for (i = 0; i < dataLength; i++) {\n                                xData[i] = this.autoIncrement();\n                                yData[i] = data[i];\n                            }\n                        } else if (isArray(firstPoint)) { // assume all points are arrays\n                            if (valueCount) { // [x, low, high] or [x, o, h, l, c]\n                                for (i = 0; i < dataLength; i++) {\n                                    pt = data[i];\n                                    xData[i] = pt[0];\n                                    yData[i] = pt.slice(1, valueCount + 1);\n                                }\n                            } else { // [x, y]\n                                for (i = 0; i < dataLength; i++) {\n                                    pt = data[i];\n                                    xData[i] = pt[0];\n                                    yData[i] = pt[1];\n                                }\n                            }\n                        } else {\n                            H.error(12); // Highcharts expects configs to be numbers or arrays in turbo mode\n                        }\n                    } else {\n                        for (i = 0; i < dataLength; i++) {\n                            if (data[i] !== undefined) { // stray commas in oldIE\n                                pt = {\n                                    series: series\n                                };\n                                series.pointClass.prototype.applyOptions.apply(pt, [data[i]]);\n                                series.updateParallelArrays(pt, i);\n                            }\n                        }\n                    }\n\n                    // Forgetting to cast strings to numbers is a common caveat when handling CSV or JSON\n                    if (isString(yData[0])) {\n                        H.error(14, true);\n                    }\n\n                    series.data = [];\n                    series.options.data = series.userOptions.data = data;\n\n                    // destroy old points\n                    i = oldDataLength;\n                    while (i--) {\n                        if (oldData[i] && oldData[i].destroy) {\n                            oldData[i].destroy();\n                        }\n                    }\n\n                    // reset minRange (#878)\n                    if (xAxis) {\n                        xAxis.minRange = xAxis.userMinRange;\n                    }\n\n                    // redraw\n                    series.isDirty = chart.isDirtyBox = true;\n                    series.isDirtyData = !!oldData;\n                    animation = false;\n                }\n\n                // Typically for pie series, points need to be processed and generated\n                // prior to rendering the legend\n                if (options.legendType === 'point') {\n                    this.processData();\n                    this.generatePoints();\n                }\n\n                if (redraw) {\n                    chart.redraw(animation);\n                }\n            },\n\n            /**\n             * Process the data by cropping away unused data points if the series is longer\n             * than the crop threshold. This saves computing time for large series.\n             */\n            processData: function(force) {\n                var series = this,\n                    processedXData = series.xData, // copied during slice operation below\n                    processedYData = series.yData,\n                    dataLength = processedXData.length,\n                    croppedData,\n                    cropStart = 0,\n                    cropped,\n                    distance,\n                    closestPointRange,\n                    xAxis = series.xAxis,\n                    i, // loop variable\n                    options = series.options,\n                    cropThreshold = options.cropThreshold,\n                    getExtremesFromAll = series.getExtremesFromAll || options.getExtremesFromAll, // #4599\n                    isCartesian = series.isCartesian,\n                    xExtremes,\n                    val2lin = xAxis && xAxis.val2lin,\n                    isLog = xAxis && xAxis.isLog,\n                    min,\n                    max;\n\n                // If the series data or axes haven't changed, don't go through this. Return false to pass\n                // the message on to override methods like in data grouping.\n                if (isCartesian && !series.isDirty && !xAxis.isDirty && !series.yAxis.isDirty && !force) {\n                    return false;\n                }\n\n                if (xAxis) {\n                    xExtremes = xAxis.getExtremes(); // corrected for log axis (#3053)\n                    min = xExtremes.min;\n                    max = xExtremes.max;\n                }\n\n                // optionally filter out points outside the plot area\n                if (isCartesian && series.sorted && !getExtremesFromAll && (!cropThreshold || dataLength > cropThreshold || series.forceCrop)) {\n\n                    // it's outside current extremes\n                    if (processedXData[dataLength - 1] < min || processedXData[0] > max) {\n                        processedXData = [];\n                        processedYData = [];\n\n                        // only crop if it's actually spilling out\n                    } else if (processedXData[0] < min || processedXData[dataLength - 1] > max) {\n                        croppedData = this.cropData(series.xData, series.yData, min, max);\n                        processedXData = croppedData.xData;\n                        processedYData = croppedData.yData;\n                        cropStart = croppedData.start;\n                        cropped = true;\n                    }\n                }\n\n\n                // Find the closest distance between processed points\n                i = processedXData.length || 1;\n                while (--i) {\n                    distance = isLog ?\n                        val2lin(processedXData[i]) - val2lin(processedXData[i - 1]) :\n                        processedXData[i] - processedXData[i - 1];\n\n                    if (distance > 0 && (closestPointRange === undefined || distance < closestPointRange)) {\n                        closestPointRange = distance;\n\n                        // Unsorted data is not supported by the line tooltip, as well as data grouping and\n                        // navigation in Stock charts (#725) and width calculation of columns (#1900)\n                    } else if (distance < 0 && series.requireSorting) {\n                        H.error(15);\n                    }\n                }\n\n                // Record the properties\n                series.cropped = cropped; // undefined or true\n                series.cropStart = cropStart;\n                series.processedXData = processedXData;\n                series.processedYData = processedYData;\n\n                series.closestPointRange = closestPointRange;\n\n            },\n\n            /**\n             * Iterate over xData and crop values between min and max. Returns object containing crop start/end\n             * cropped xData with corresponding part of yData, dataMin and dataMax within the cropped range\n             */\n            cropData: function(xData, yData, min, max) {\n                var dataLength = xData.length,\n                    cropStart = 0,\n                    cropEnd = dataLength,\n                    cropShoulder = pick(this.cropShoulder, 1), // line-type series need one point outside\n                    i,\n                    j;\n\n                // iterate up to find slice start\n                for (i = 0; i < dataLength; i++) {\n                    if (xData[i] >= min) {\n                        cropStart = Math.max(0, i - cropShoulder);\n                        break;\n                    }\n                }\n\n                // proceed to find slice end\n                for (j = i; j < dataLength; j++) {\n                    if (xData[j] > max) {\n                        cropEnd = j + cropShoulder;\n                        break;\n                    }\n                }\n\n                return {\n                    xData: xData.slice(cropStart, cropEnd),\n                    yData: yData.slice(cropStart, cropEnd),\n                    start: cropStart,\n                    end: cropEnd\n                };\n            },\n\n\n            /**\n             * Generate the data point after the data has been processed by cropping away\n             * unused points and optionally grouped in Highcharts Stock.\n             */\n            generatePoints: function() {\n                var series = this,\n                    options = series.options,\n                    dataOptions = options.data,\n                    data = series.data,\n                    dataLength,\n                    processedXData = series.processedXData,\n                    processedYData = series.processedYData,\n                    PointClass = series.pointClass,\n                    processedDataLength = processedXData.length,\n                    cropStart = series.cropStart || 0,\n                    cursor,\n                    hasGroupedData = series.hasGroupedData,\n                    point,\n                    points = [],\n                    i;\n\n                if (!data && !hasGroupedData) {\n                    var arr = [];\n                    arr.length = dataOptions.length;\n                    data = series.data = arr;\n                }\n\n                for (i = 0; i < processedDataLength; i++) {\n                    cursor = cropStart + i;\n                    if (!hasGroupedData) {\n                        point = data[cursor];\n                        if (!point && dataOptions[cursor] !== undefined) { // #970\n                            data[cursor] = point = (new PointClass()).init(series, dataOptions[cursor], processedXData[i]);\n                        }\n                    } else {\n                        // splat the y data in case of ohlc data array\n                        point = (new PointClass()).init(series, [processedXData[i]].concat(splat(processedYData[i])));\n                        point.dataGroup = series.groupMap[i];\n                    }\n                    if (point) { // #6279\n                        point.index = cursor; // For faster access in Point.update\n                        points[i] = point;\n                    }\n                }\n\n                // Hide cropped-away points - this only runs when the number of points is above cropThreshold, or when\n                // swithching view from non-grouped data to grouped data (#637)\n                if (data && (processedDataLength !== (dataLength = data.length) || hasGroupedData)) {\n                    for (i = 0; i < dataLength; i++) {\n                        if (i === cropStart && !hasGroupedData) { // when has grouped data, clear all points\n                            i += processedDataLength;\n                        }\n                        if (data[i]) {\n                            data[i].destroyElements();\n                            data[i].plotX = undefined; // #1003\n                        }\n                    }\n                }\n\n                series.data = data;\n                series.points = points;\n            },\n\n            /**\n             * Calculate Y extremes for visible data\n             */\n            getExtremes: function(yData) {\n                var xAxis = this.xAxis,\n                    yAxis = this.yAxis,\n                    xData = this.processedXData,\n                    yDataLength,\n                    activeYData = [],\n                    activeCounter = 0,\n                    xExtremes = xAxis.getExtremes(), // #2117, need to compensate for log X axis\n                    xMin = xExtremes.min,\n                    xMax = xExtremes.max,\n                    validValue,\n                    withinRange,\n                    x,\n                    y,\n                    i,\n                    j;\n\n                yData = yData || this.stackedYData || this.processedYData || [];\n                yDataLength = yData.length;\n\n                for (i = 0; i < yDataLength; i++) {\n\n                    x = xData[i];\n                    y = yData[i];\n\n                    // For points within the visible range, including the first point outside the\n                    // visible range, consider y extremes\n                    validValue = (isNumber(y, true) || isArray(y)) && (!yAxis.positiveValuesOnly || (y.length || y > 0));\n                    withinRange = this.getExtremesFromAll || this.options.getExtremesFromAll || this.cropped ||\n                        ((xData[i] || x) >= xMin && (xData[i] || x) <= xMax);\n\n                    if (validValue && withinRange) {\n\n                        j = y.length;\n                        if (j) { // array, like ohlc or range data\n                            while (j--) {\n                                if (y[j] !== null) {\n                                    activeYData[activeCounter++] = y[j];\n                                }\n                            }\n                        } else {\n                            activeYData[activeCounter++] = y;\n                        }\n                    }\n                }\n\n                this.dataMin = arrayMin(activeYData);\n                this.dataMax = arrayMax(activeYData);\n            },\n\n            /**\n             * Translate data points from raw data values to chart specific positioning\n             * data needed later in drawPoints, drawGraph and drawTracker.\n             *\n             * @function #translate\n             * @memberOf Series\n             * @returns {void}\n             */\n            translate: function() {\n                if (!this.processedXData) { // hidden series\n                    this.processData();\n                }\n                this.generatePoints();\n                var series = this,\n                    options = series.options,\n                    stacking = options.stacking,\n                    xAxis = series.xAxis,\n                    categories = xAxis.categories,\n                    yAxis = series.yAxis,\n                    points = series.points,\n                    dataLength = points.length,\n                    hasModifyValue = !!series.modifyValue,\n                    i,\n                    pointPlacement = options.pointPlacement,\n                    dynamicallyPlaced = pointPlacement === 'between' || isNumber(pointPlacement),\n                    threshold = options.threshold,\n                    stackThreshold = options.startFromThreshold ? threshold : 0,\n                    plotX,\n                    plotY,\n                    lastPlotX,\n                    stackIndicator,\n                    closestPointRangePx = Number.MAX_VALUE;\n\n                // Point placement is relative to each series pointRange (#5889)\n                if (pointPlacement === 'between') {\n                    pointPlacement = 0.5;\n                }\n                if (isNumber(pointPlacement)) {\n                    pointPlacement *= pick(options.pointRange || xAxis.pointRange);\n                }\n\n                // Translate each point\n                for (i = 0; i < dataLength; i++) {\n                    var point = points[i],\n                        xValue = point.x,\n                        yValue = point.y,\n                        yBottom = point.low,\n                        stack = stacking && yAxis.stacks[(series.negStacks && yValue < (stackThreshold ? 0 : threshold) ? '-' : '') + series.stackKey],\n                        pointStack,\n                        stackValues;\n\n                    // Discard disallowed y values for log axes (#3434)\n                    if (yAxis.positiveValuesOnly && yValue !== null && yValue <= 0) {\n                        point.isNull = true;\n                    }\n\n                    // Get the plotX translation\n                    point.plotX = plotX = correctFloat( // #5236\n                        Math.min(Math.max(-1e5, xAxis.translate(\n                            xValue,\n                            0,\n                            0,\n                            0,\n                            1,\n                            pointPlacement,\n                            this.type === 'flags'\n                        )), 1e5) // #3923\n                    );\n\n                    // Calculate the bottom y value for stacked series\n                    if (stacking && series.visible && !point.isNull && stack && stack[xValue]) {\n                        stackIndicator = series.getStackIndicator(stackIndicator, xValue, series.index);\n                        pointStack = stack[xValue];\n                        stackValues = pointStack.points[stackIndicator.key];\n                        yBottom = stackValues[0];\n                        yValue = stackValues[1];\n\n                        if (yBottom === stackThreshold && stackIndicator.key === stack[xValue].base) {\n                            yBottom = pick(threshold, yAxis.min);\n                        }\n                        if (yAxis.positiveValuesOnly && yBottom <= 0) { // #1200, #1232\n                            yBottom = null;\n                        }\n\n                        point.total = point.stackTotal = pointStack.total;\n                        point.percentage = pointStack.total && (point.y / pointStack.total * 100);\n                        point.stackY = yValue;\n\n                        // Place the stack label\n                        pointStack.setOffset(series.pointXOffset || 0, series.barW || 0);\n\n                    }\n\n                    // Set translated yBottom or remove it\n                    point.yBottom = defined(yBottom) ?\n                        yAxis.translate(yBottom, 0, 1, 0, 1) :\n                        null;\n\n                    // general hook, used for Highstock compare mode\n                    if (hasModifyValue) {\n                        yValue = series.modifyValue(yValue, point);\n                    }\n\n                    // Set the the plotY value, reset it for redraws\n                    point.plotY = plotY = (typeof yValue === 'number' && yValue !== Infinity) ?\n                        Math.min(Math.max(-1e5, yAxis.translate(yValue, 0, 1, 0, 1)), 1e5) : // #3201\n                        undefined;\n\n                    point.isInside = plotY !== undefined && plotY >= 0 && plotY <= yAxis.len && // #3519\n                        plotX >= 0 && plotX <= xAxis.len;\n\n\n                    // Set client related positions for mouse tracking\n                    point.clientX = dynamicallyPlaced ? correctFloat(xAxis.translate(xValue, 0, 0, 0, 1, pointPlacement)) : plotX; // #1514, #5383, #5518\n\n                    point.negative = point.y < (threshold || 0);\n\n                    // some API data\n                    point.category = categories && categories[point.x] !== undefined ?\n                        categories[point.x] : point.x;\n\n                    // Determine auto enabling of markers (#3635, #5099)\n                    if (!point.isNull) {\n                        if (lastPlotX !== undefined) {\n                            closestPointRangePx = Math.min(closestPointRangePx, Math.abs(plotX - lastPlotX));\n                        }\n                        lastPlotX = plotX;\n                    }\n\n                    // Find point zone\n                    point.zone = this.zones.length && point.getZone();\n                }\n                series.closestPointRangePx = closestPointRangePx;\n            },\n\n            /**\n             * Return the series points with null points filtered out\n             */\n            getValidPoints: function(points, insideOnly) {\n                var chart = this.chart;\n                return grep(points || this.points || [], function isValidPoint(point) { // #3916, #5029\n                    if (insideOnly && !chart.isInsidePlot(point.plotX, point.plotY, chart.inverted)) { // #5085\n                        return false;\n                    }\n                    return !point.isNull;\n                });\n            },\n\n            /**\n             * Set the clipping for the series. For animated series it is called twice, first to initiate\n             * animating the clip then the second time without the animation to set the final clip.\n             */\n            setClip: function(animation) {\n                var chart = this.chart,\n                    options = this.options,\n                    renderer = chart.renderer,\n                    inverted = chart.inverted,\n                    seriesClipBox = this.clipBox,\n                    clipBox = seriesClipBox || chart.clipBox,\n                    sharedClipKey = this.sharedClipKey || ['_sharedClip', animation && animation.duration, animation && animation.easing, clipBox.height, options.xAxis, options.yAxis].join(','), // #4526\n                    clipRect = chart[sharedClipKey],\n                    markerClipRect = chart[sharedClipKey + 'm'];\n\n                // If a clipping rectangle with the same properties is currently present in the chart, use that.\n                if (!clipRect) {\n\n                    // When animation is set, prepare the initial positions\n                    if (animation) {\n                        clipBox.width = 0;\n\n                        chart[sharedClipKey + 'm'] = markerClipRect = renderer.clipRect(-99, // include the width of the first marker\n                            inverted ? -chart.plotLeft : -chart.plotTop,\n                            99,\n                            inverted ? chart.chartWidth : chart.chartHeight\n                        );\n                    }\n                    chart[sharedClipKey] = clipRect = renderer.clipRect(clipBox);\n                    // Create hashmap for series indexes\n                    clipRect.count = {\n                        length: 0\n                    };\n\n                }\n                if (animation) {\n                    if (!clipRect.count[this.index]) {\n                        clipRect.count[this.index] = true;\n                        clipRect.count.length += 1;\n                    }\n                }\n\n                if (options.clip !== false) {\n                    this.group.clip(animation || seriesClipBox ? clipRect : chart.clipRect);\n                    this.markerGroup.clip(markerClipRect);\n                    this.sharedClipKey = sharedClipKey;\n                }\n\n                // Remove the shared clipping rectangle when all series are shown\n                if (!animation) {\n                    if (clipRect.count[this.index]) {\n                        delete clipRect.count[this.index];\n                        clipRect.count.length -= 1;\n                    }\n\n                    if (clipRect.count.length === 0 && sharedClipKey && chart[sharedClipKey]) {\n                        if (!seriesClipBox) {\n                            chart[sharedClipKey] = chart[sharedClipKey].destroy();\n                        }\n                        if (chart[sharedClipKey + 'm']) {\n                            chart[sharedClipKey + 'm'] = chart[sharedClipKey + 'm'].destroy();\n                        }\n                    }\n                }\n            },\n\n            /**\n             * Animate in the series\n             */\n            animate: function(init) {\n                var series = this,\n                    chart = series.chart,\n                    clipRect,\n                    animation = animObject(series.options.animation),\n                    sharedClipKey;\n\n                // Initialize the animation. Set up the clipping rectangle.\n                if (init) {\n\n                    series.setClip(animation);\n\n                    // Run the animation\n                } else {\n                    sharedClipKey = this.sharedClipKey;\n                    clipRect = chart[sharedClipKey];\n                    if (clipRect) {\n                        clipRect.animate({\n                            width: chart.plotSizeX\n                        }, animation);\n                    }\n                    if (chart[sharedClipKey + 'm']) {\n                        chart[sharedClipKey + 'm'].animate({\n                            width: chart.plotSizeX + 99\n                        }, animation);\n                    }\n\n                    // Delete this function to allow it only once\n                    series.animate = null;\n\n                }\n            },\n\n            /**\n             * This runs after animation to land on the final plot clipping\n             */\n            afterAnimate: function() {\n                this.setClip();\n                fireEvent(this, 'afterAnimate');\n            },\n\n            /**\n             * Draw the markers.\n             *\n             * @function #drawPoints\n             * @memberOf Series\n             * @returns {void}\n             */\n            drawPoints: function() {\n                var series = this,\n                    points = series.points,\n                    chart = series.chart,\n                    plotY,\n                    i,\n                    point,\n                    symbol,\n                    graphic,\n                    options = series.options,\n                    seriesMarkerOptions = options.marker,\n                    pointMarkerOptions,\n                    hasPointMarker,\n                    enabled,\n                    isInside,\n                    markerGroup = series.markerGroup,\n                    xAxis = series.xAxis,\n                    markerAttribs,\n                    globallyEnabled = pick(\n                        seriesMarkerOptions.enabled,\n                        xAxis.isRadial ? true : null,\n                        // Use larger or equal as radius is null in bubbles (#6321)\n                        series.closestPointRangePx >= 2 * seriesMarkerOptions.radius\n                    );\n\n                if (seriesMarkerOptions.enabled !== false || series._hasPointMarkers) {\n\n                    for (i = 0; i < points.length; i++) {\n                        point = points[i];\n                        plotY = point.plotY;\n                        graphic = point.graphic;\n                        pointMarkerOptions = point.marker || {};\n                        hasPointMarker = !!point.marker;\n                        enabled = (globallyEnabled && pointMarkerOptions.enabled === undefined) || pointMarkerOptions.enabled;\n                        isInside = point.isInside;\n\n                        // only draw the point if y is defined\n                        if (enabled && isNumber(plotY) && point.y !== null) {\n\n                            // Shortcuts\n                            symbol = pick(pointMarkerOptions.symbol, series.symbol);\n                            point.hasImage = symbol.indexOf('url') === 0;\n\n                            markerAttribs = series.markerAttribs(\n                                point,\n                                point.selected && 'select'\n                            );\n\n                            if (graphic) { // update\n                                graphic[isInside ? 'show' : 'hide'](true) // Since the marker group isn't clipped, each individual marker must be toggled\n                                    .animate(markerAttribs);\n                            } else if (isInside && (markerAttribs.width > 0 || point.hasImage)) {\n                                point.graphic = graphic = chart.renderer.symbol(\n                                        symbol,\n                                        markerAttribs.x,\n                                        markerAttribs.y,\n                                        markerAttribs.width,\n                                        markerAttribs.height,\n                                        hasPointMarker ? pointMarkerOptions : seriesMarkerOptions\n                                    )\n                                    .add(markerGroup);\n                            }\n\n\n                            // Presentational attributes\n                            if (graphic) {\n                                graphic.attr(series.pointAttribs(point, point.selected && 'select'));\n                            }\n\n\n                            if (graphic) {\n                                graphic.addClass(point.getClassName(), true);\n                            }\n\n                        } else if (graphic) {\n                            point.graphic = graphic.destroy(); // #1269\n                        }\n                    }\n                }\n\n            },\n\n            /**\n             * Get non-presentational attributes for the point.\n             */\n            markerAttribs: function(point, state) {\n                var seriesMarkerOptions = this.options.marker,\n                    seriesStateOptions,\n                    pointMarkerOptions = point.marker || {},\n                    pointStateOptions,\n                    radius = pick(\n                        pointMarkerOptions.radius,\n                        seriesMarkerOptions.radius\n                    ),\n                    attribs;\n\n                // Handle hover and select states\n                if (state) {\n                    seriesStateOptions = seriesMarkerOptions.states[state];\n                    pointStateOptions = pointMarkerOptions.states &&\n                        pointMarkerOptions.states[state];\n\n                    radius = pick(\n                        pointStateOptions && pointStateOptions.radius,\n                        seriesStateOptions && seriesStateOptions.radius,\n                        radius + (seriesStateOptions && seriesStateOptions.radiusPlus || 0)\n                    );\n                }\n\n                if (point.hasImage) {\n                    radius = 0; // and subsequently width and height is not set\n                }\n\n                attribs = {\n                    x: Math.floor(point.plotX) - radius, // Math.floor for #1843\n                    y: point.plotY - radius\n                };\n\n                if (radius) {\n                    attribs.width = attribs.height = 2 * radius;\n                }\n\n                return attribs;\n\n            },\n\n\n            /**\n             * Get presentational attributes for marker-based series (line, spline, scatter, bubble, mappoint...)\n             */\n            pointAttribs: function(point, state) {\n                var seriesMarkerOptions = this.options.marker,\n                    seriesStateOptions,\n                    pointOptions = point && point.options,\n                    pointMarkerOptions = (pointOptions && pointOptions.marker) || {},\n                    pointStateOptions,\n                    color = this.color,\n                    pointColorOption = pointOptions && pointOptions.color,\n                    pointColor = point && point.color,\n                    strokeWidth = pick(\n                        pointMarkerOptions.lineWidth,\n                        seriesMarkerOptions.lineWidth\n                    ),\n                    zoneColor = point && point.zone && point.zone.color,\n                    fill,\n                    stroke;\n\n                color = pointColorOption || zoneColor || pointColor || color;\n                fill = pointMarkerOptions.fillColor || seriesMarkerOptions.fillColor || color;\n                stroke = pointMarkerOptions.lineColor || seriesMarkerOptions.lineColor || color;\n\n                // Handle hover and select states\n                if (state) {\n                    seriesStateOptions = seriesMarkerOptions.states[state];\n                    pointStateOptions = (pointMarkerOptions.states && pointMarkerOptions.states[state]) || {};\n                    strokeWidth = pick(\n                        pointStateOptions.lineWidth,\n                        seriesStateOptions.lineWidth,\n                        strokeWidth + pick(\n                            pointStateOptions.lineWidthPlus,\n                            seriesStateOptions.lineWidthPlus,\n                            0\n                        )\n                    );\n                    fill = pointStateOptions.fillColor || seriesStateOptions.fillColor || fill;\n                    stroke = pointStateOptions.lineColor || seriesStateOptions.lineColor || stroke;\n                }\n\n                return {\n                    'stroke': stroke,\n                    'stroke-width': strokeWidth,\n                    'fill': fill\n                };\n            },\n\n            /**\n             * Clear DOM objects and free up memory\n             */\n            destroy: function() {\n                var series = this,\n                    chart = series.chart,\n                    issue134 = /AppleWebKit\\/533/.test(win.navigator.userAgent),\n                    destroy,\n                    i,\n                    data = series.data || [],\n                    point,\n                    prop,\n                    axis;\n\n                // add event hook\n                fireEvent(series, 'destroy');\n\n                // remove all events\n                removeEvent(series);\n\n                // erase from axes\n                each(series.axisTypes || [], function(AXIS) {\n                    axis = series[AXIS];\n                    if (axis && axis.series) {\n                        erase(axis.series, series);\n                        axis.isDirty = axis.forceRedraw = true;\n                    }\n                });\n\n                // remove legend items\n                if (series.legendItem) {\n                    series.chart.legend.destroyItem(series);\n                }\n\n                // destroy all points with their elements\n                i = data.length;\n                while (i--) {\n                    point = data[i];\n                    if (point && point.destroy) {\n                        point.destroy();\n                    }\n                }\n                series.points = null;\n\n                // Clear the animation timeout if we are destroying the series during initial animation\n                clearTimeout(series.animationTimeout);\n\n                // Destroy all SVGElements associated to the series\n                for (prop in series) {\n                    if (series[prop] instanceof SVGElement && !series[prop].survive) { // Survive provides a hook for not destroying\n\n                        // issue 134 workaround\n                        destroy = issue134 && prop === 'group' ?\n                            'hide' :\n                            'destroy';\n\n                        series[prop][destroy]();\n                    }\n                }\n\n                // remove from hoverSeries\n                if (chart.hoverSeries === series) {\n                    chart.hoverSeries = null;\n                }\n                erase(chart.series, series);\n                chart.orderSeries();\n\n                // clear all members\n                for (prop in series) {\n                    delete series[prop];\n                }\n            },\n\n            /**\n             * Get the graph path\n             */\n            getGraphPath: function(points, nullsAsZeroes, connectCliffs) {\n                var series = this,\n                    options = series.options,\n                    step = options.step,\n                    reversed,\n                    graphPath = [],\n                    xMap = [],\n                    gap;\n\n                points = points || series.points;\n\n                // Bottom of a stack is reversed\n                reversed = points.reversed;\n                if (reversed) {\n                    points.reverse();\n                }\n                // Reverse the steps (#5004)\n                step = {\n                    right: 1,\n                    center: 2\n                }[step] || (step && 3);\n                if (step && reversed) {\n                    step = 4 - step;\n                }\n\n                // Remove invalid points, especially in spline (#5015)\n                if (options.connectNulls && !nullsAsZeroes && !connectCliffs) {\n                    points = this.getValidPoints(points);\n                }\n\n                // Build the line\n                each(points, function(point, i) {\n\n                    var plotX = point.plotX,\n                        plotY = point.plotY,\n                        lastPoint = points[i - 1],\n                        pathToPoint; // the path to this point from the previous\n\n                    if ((point.leftCliff || (lastPoint && lastPoint.rightCliff)) && !connectCliffs) {\n                        gap = true; // ... and continue\n                    }\n\n                    // Line series, nullsAsZeroes is not handled\n                    if (point.isNull && !defined(nullsAsZeroes) && i > 0) {\n                        gap = !options.connectNulls;\n\n                        // Area series, nullsAsZeroes is set\n                    } else if (point.isNull && !nullsAsZeroes) {\n                        gap = true;\n\n                    } else {\n\n                        if (i === 0 || gap) {\n                            pathToPoint = ['M', point.plotX, point.plotY];\n\n                        } else if (series.getPointSpline) { // generate the spline as defined in the SplineSeries object\n\n                            pathToPoint = series.getPointSpline(points, point, i);\n\n                        } else if (step) {\n\n                            if (step === 1) { // right\n                                pathToPoint = [\n                                    'L',\n                                    lastPoint.plotX,\n                                    plotY\n                                ];\n\n                            } else if (step === 2) { // center\n                                pathToPoint = [\n                                    'L',\n                                    (lastPoint.plotX + plotX) / 2,\n                                    lastPoint.plotY,\n                                    'L',\n                                    (lastPoint.plotX + plotX) / 2,\n                                    plotY\n                                ];\n\n                            } else {\n                                pathToPoint = [\n                                    'L',\n                                    plotX,\n                                    lastPoint.plotY\n                                ];\n                            }\n                            pathToPoint.push('L', plotX, plotY);\n\n                        } else {\n                            // normal line to next point\n                            pathToPoint = [\n                                'L',\n                                plotX,\n                                plotY\n                            ];\n                        }\n\n                        // Prepare for animation. When step is enabled, there are two path nodes for each x value.\n                        xMap.push(point.x);\n                        if (step) {\n                            xMap.push(point.x);\n                        }\n\n                        graphPath.push.apply(graphPath, pathToPoint);\n                        gap = false;\n                    }\n                });\n\n                graphPath.xMap = xMap;\n                series.graphPath = graphPath;\n\n                return graphPath;\n\n            },\n\n            /**\n             * Draw the actual graph\n             */\n            drawGraph: function() {\n                var series = this,\n                    options = this.options,\n                    graphPath = (this.gappedPath || this.getGraphPath).call(this),\n                    props = [\n                        [\n                            'graph',\n                            'highcharts-graph',\n\n                            options.lineColor || this.color,\n                            options.dashStyle\n\n                        ]\n                    ];\n\n                // Add the zone properties if any\n                each(this.zones, function(zone, i) {\n                    props.push([\n                        'zone-graph-' + i,\n                        'highcharts-graph highcharts-zone-graph-' + i + ' ' + (zone.className || ''),\n\n                        zone.color || series.color,\n                        zone.dashStyle || options.dashStyle\n\n                    ]);\n                });\n\n                // Draw the graph\n                each(props, function(prop, i) {\n                    var graphKey = prop[0],\n                        graph = series[graphKey],\n                        attribs;\n\n                    if (graph) {\n                        graph.endX = graphPath.xMap;\n                        graph.animate({\n                            d: graphPath\n                        });\n\n                    } else if (graphPath.length) { // #1487\n\n                        series[graphKey] = series.chart.renderer.path(graphPath)\n                            .addClass(prop[1])\n                            .attr({\n                                zIndex: 1\n                            }) // #1069\n                            .add(series.group);\n\n\n                        attribs = {\n                            'stroke': prop[2],\n                            'stroke-width': options.lineWidth,\n                            'fill': (series.fillGraph && series.color) || 'none' // Polygon series use filled graph\n                        };\n\n                        if (prop[3]) {\n                            attribs.dashstyle = prop[3];\n                        } else if (options.linecap !== 'square') {\n                            attribs['stroke-linecap'] = attribs['stroke-linejoin'] = 'round';\n                        }\n\n                        graph = series[graphKey]\n                            .attr(attribs)\n                            .shadow((i < 2) && options.shadow); // add shadow to normal series (0) or to first zone (1) #3932\n\n                    }\n\n                    // Helpers for animation\n                    if (graph) {\n                        graph.startX = graphPath.xMap;\n                        //graph.shiftUnit = options.step ? 2 : 1;\n                        graph.isArea = graphPath.isArea; // For arearange animation\n                    }\n                });\n            },\n\n            /**\n             * Clip the graphs into the positive and negative coloured graphs\n             */\n            applyZones: function() {\n                var series = this,\n                    chart = this.chart,\n                    renderer = chart.renderer,\n                    zones = this.zones,\n                    translatedFrom,\n                    translatedTo,\n                    clips = this.clips || [],\n                    clipAttr,\n                    graph = this.graph,\n                    area = this.area,\n                    chartSizeMax = Math.max(chart.chartWidth, chart.chartHeight),\n                    axis = this[(this.zoneAxis || 'y') + 'Axis'],\n                    extremes,\n                    reversed,\n                    inverted = chart.inverted,\n                    horiz,\n                    pxRange,\n                    pxPosMin,\n                    pxPosMax,\n                    ignoreZones = false;\n\n                if (zones.length && (graph || area) && axis && axis.min !== undefined) {\n                    reversed = axis.reversed;\n                    horiz = axis.horiz;\n                    // The use of the Color Threshold assumes there are no gaps\n                    // so it is safe to hide the original graph and area\n                    if (graph) {\n                        graph.hide();\n                    }\n                    if (area) {\n                        area.hide();\n                    }\n\n                    // Create the clips\n                    extremes = axis.getExtremes();\n                    each(zones, function(threshold, i) {\n\n                        translatedFrom = reversed ?\n                            (horiz ? chart.plotWidth : 0) :\n                            (horiz ? 0 : axis.toPixels(extremes.min));\n                        translatedFrom = Math.min(Math.max(pick(translatedTo, translatedFrom), 0), chartSizeMax);\n                        translatedTo = Math.min(Math.max(Math.round(axis.toPixels(pick(threshold.value, extremes.max), true)), 0), chartSizeMax);\n\n                        if (ignoreZones) {\n                            translatedFrom = translatedTo = axis.toPixels(extremes.max);\n                        }\n\n                        pxRange = Math.abs(translatedFrom - translatedTo);\n                        pxPosMin = Math.min(translatedFrom, translatedTo);\n                        pxPosMax = Math.max(translatedFrom, translatedTo);\n                        if (axis.isXAxis) {\n                            clipAttr = {\n                                x: inverted ? pxPosMax : pxPosMin,\n                                y: 0,\n                                width: pxRange,\n                                height: chartSizeMax\n                            };\n                            if (!horiz) {\n                                clipAttr.x = chart.plotHeight - clipAttr.x;\n                            }\n                        } else {\n                            clipAttr = {\n                                x: 0,\n                                y: inverted ? pxPosMax : pxPosMin,\n                                width: chartSizeMax,\n                                height: pxRange\n                            };\n                            if (horiz) {\n                                clipAttr.y = chart.plotWidth - clipAttr.y;\n                            }\n                        }\n\n\n                        /// VML SUPPPORT\n                        if (inverted && renderer.isVML) {\n                            if (axis.isXAxis) {\n                                clipAttr = {\n                                    x: 0,\n                                    y: reversed ? pxPosMin : pxPosMax,\n                                    height: clipAttr.width,\n                                    width: chart.chartWidth\n                                };\n                            } else {\n                                clipAttr = {\n                                    x: clipAttr.y - chart.plotLeft - chart.spacingBox.x,\n                                    y: 0,\n                                    width: clipAttr.height,\n                                    height: chart.chartHeight\n                                };\n                            }\n                        }\n                        /// END OF VML SUPPORT\n\n\n                        if (clips[i]) {\n                            clips[i].animate(clipAttr);\n                        } else {\n                            clips[i] = renderer.clipRect(clipAttr);\n\n                            if (graph) {\n                                series['zone-graph-' + i].clip(clips[i]);\n                            }\n\n                            if (area) {\n                                series['zone-area-' + i].clip(clips[i]);\n                            }\n                        }\n                        // if this zone extends out of the axis, ignore the others\n                        ignoreZones = threshold.value > extremes.max;\n                    });\n                    this.clips = clips;\n                }\n            },\n\n            /**\n             * Initialize and perform group inversion on series.group and series.markerGroup\n             */\n            invertGroups: function(inverted) {\n                var series = this,\n                    chart = series.chart,\n                    remover;\n\n                function setInvert() {\n                    each(['group', 'markerGroup'], function(groupName) {\n                        if (series[groupName]) {\n\n                            // VML/HTML needs explicit attributes for flipping\n                            if (chart.renderer.isVML) {\n                                series[groupName].attr({\n                                    width: series.yAxis.len,\n                                    height: series.xAxis.len\n                                });\n                            }\n\n                            series[groupName].width = series.yAxis.len;\n                            series[groupName].height = series.xAxis.len;\n                            series[groupName].invert(inverted);\n                        }\n                    });\n                }\n\n                // Pie, go away (#1736)\n                if (!series.xAxis) {\n                    return;\n                }\n\n                // A fixed size is needed for inversion to work\n                remover = addEvent(chart, 'resize', setInvert);\n                addEvent(series, 'destroy', remover);\n\n                // Do it now\n                setInvert(inverted); // do it now\n\n                // On subsequent render and redraw, just do setInvert without setting up events again\n                series.invertGroups = setInvert;\n            },\n\n            /**\n             * General abstraction for creating plot groups like series.group, series.dataLabelsGroup and\n             * series.markerGroup. On subsequent calls, the group will only be adjusted to the updated plot size.\n             */\n            plotGroup: function(prop, name, visibility, zIndex, parent) {\n                var group = this[prop],\n                    isNew = !group;\n\n                // Generate it on first call\n                if (isNew) {\n                    this[prop] = group = this.chart.renderer.g(name)\n                        .attr({\n                            zIndex: zIndex || 0.1 // IE8 and pointer logic use this\n                        })\n                        .add(parent);\n\n                    group.addClass('highcharts-series-' + this.index + ' highcharts-' + this.type + '-series highcharts-color-' + this.colorIndex +\n                        ' ' + (this.options.className || ''));\n                }\n\n                // Place it on first and subsequent (redraw) calls\n                group.attr({\n                    visibility: visibility\n                })[isNew ? 'attr' : 'animate'](this.getPlotBox());\n                return group;\n            },\n\n            /**\n             * Get the translation and scale for the plot area of this series\n             */\n            getPlotBox: function() {\n                var chart = this.chart,\n                    xAxis = this.xAxis,\n                    yAxis = this.yAxis;\n\n                // Swap axes for inverted (#2339)\n                if (chart.inverted) {\n                    xAxis = yAxis;\n                    yAxis = this.xAxis;\n                }\n                return {\n                    translateX: xAxis ? xAxis.left : chart.plotLeft,\n                    translateY: yAxis ? yAxis.top : chart.plotTop,\n                    scaleX: 1, // #1623\n                    scaleY: 1\n                };\n            },\n\n            /**\n             * Render the graph and markers\n             */\n            render: function() {\n                var series = this,\n                    chart = series.chart,\n                    group,\n                    options = series.options,\n                    // Animation doesn't work in IE8 quirks when the group div is hidden,\n                    // and looks bad in other oldIE\n                    animDuration = !!series.animate && chart.renderer.isSVG && animObject(options.animation).duration,\n                    visibility = series.visible ? 'inherit' : 'hidden', // #2597\n                    zIndex = options.zIndex,\n                    hasRendered = series.hasRendered,\n                    chartSeriesGroup = chart.seriesGroup,\n                    inverted = chart.inverted;\n\n                // the group\n                group = series.plotGroup(\n                    'group',\n                    'series',\n                    visibility,\n                    zIndex,\n                    chartSeriesGroup\n                );\n\n                series.markerGroup = series.plotGroup(\n                    'markerGroup',\n                    'markers',\n                    visibility,\n                    zIndex,\n                    chartSeriesGroup\n                );\n\n                // initiate the animation\n                if (animDuration) {\n                    series.animate(true);\n                }\n\n                // SVGRenderer needs to know this before drawing elements (#1089, #1795)\n                group.inverted = series.isCartesian ? inverted : false;\n\n                // draw the graph if any\n                if (series.drawGraph) {\n                    series.drawGraph();\n                    series.applyZones();\n                }\n\n                /*\t\teach(series.points, function (point) {\n                \t\t\tif (point.redraw) {\n                \t\t\t\tpoint.redraw();\n                \t\t\t}\n                \t\t});*/\n\n                // draw the data labels (inn pies they go before the points)\n                if (series.drawDataLabels) {\n                    series.drawDataLabels();\n                }\n\n                // draw the points\n                if (series.visible) {\n                    series.drawPoints();\n                }\n\n\n                // draw the mouse tracking area\n                if (series.drawTracker && series.options.enableMouseTracking !== false) {\n                    series.drawTracker();\n                }\n\n                // Handle inverted series and tracker groups\n                series.invertGroups(inverted);\n\n                // Initial clipping, must be defined after inverting groups for VML. Applies to columns etc. (#3839).\n                if (options.clip !== false && !series.sharedClipKey && !hasRendered) {\n                    group.clip(chart.clipRect);\n                }\n\n                // Run the animation\n                if (animDuration) {\n                    series.animate();\n                }\n\n                // Call the afterAnimate function on animation complete (but don't overwrite the animation.complete option\n                // which should be available to the user).\n                if (!hasRendered) {\n                    series.animationTimeout = syncTimeout(function() {\n                        series.afterAnimate();\n                    }, animDuration);\n                }\n\n                series.isDirty = false; // means data is in accordance with what you see\n                // (See #322) series.isDirty = series.isDirtyData = false; // means data is in accordance with what you see\n                series.hasRendered = true;\n            },\n\n            /**\n             * Redraw the series after an update in the axes.\n             */\n            redraw: function() {\n                var series = this,\n                    chart = series.chart,\n                    wasDirty = series.isDirty || series.isDirtyData, // cache it here as it is set to false in render, but used after\n                    group = series.group,\n                    xAxis = series.xAxis,\n                    yAxis = series.yAxis;\n\n                // reposition on resize\n                if (group) {\n                    if (chart.inverted) {\n                        group.attr({\n                            width: chart.plotWidth,\n                            height: chart.plotHeight\n                        });\n                    }\n\n                    group.animate({\n                        translateX: pick(xAxis && xAxis.left, chart.plotLeft),\n                        translateY: pick(yAxis && yAxis.top, chart.plotTop)\n                    });\n                }\n\n                series.translate();\n                series.render();\n                if (wasDirty) { // #3868, #3945\n                    delete this.kdTree;\n                }\n            },\n\n            /**\n             * KD Tree && PointSearching Implementation\n             */\n\n            kdAxisArray: ['clientX', 'plotY'],\n\n            searchPoint: function(e, compareX) {\n                var series = this,\n                    xAxis = series.xAxis,\n                    yAxis = series.yAxis,\n                    inverted = series.chart.inverted;\n\n                return this.searchKDTree({\n                    clientX: inverted ? xAxis.len - e.chartY + xAxis.pos : e.chartX - xAxis.pos,\n                    plotY: inverted ? yAxis.len - e.chartX + yAxis.pos : e.chartY - yAxis.pos\n                }, compareX);\n            },\n\n            /**\n             * Build the k-d-tree that is used by mouse and touch interaction to get the\n             * closest point. Line-like series typically have a one-dimensional tree \n             * where points are searched along the X axis, while scatter-like series\n             * typically search in two dimensions, X and Y.\n             */\n            buildKDTree: function() {\n\n                // Prevent multiple k-d-trees from being built simultaneously (#6235)\n                this.buildingKdTree = true;\n\n                var series = this,\n                    dimensions = series.options.findNearestPointBy.indexOf('y') > -1 ?\n                    2 : 1;\n\n                // Internal function\n                function _kdtree(points, depth, dimensions) {\n                    var axis,\n                        median,\n                        length = points && points.length;\n\n                    if (length) {\n\n                        // alternate between the axis\n                        axis = series.kdAxisArray[depth % dimensions];\n\n                        // sort point array\n                        points.sort(function(a, b) {\n                            return a[axis] - b[axis];\n                        });\n\n                        median = Math.floor(length / 2);\n\n                        // build and return nod\n                        return {\n                            point: points[median],\n                            left: _kdtree(points.slice(0, median), depth + 1, dimensions),\n                            right: _kdtree(points.slice(median + 1), depth + 1, dimensions)\n                        };\n\n                    }\n                }\n\n                // Start the recursive build process with a clone of the points array and null points filtered out (#3873)\n                function startRecursive() {\n                    series.kdTree = _kdtree(\n                        series.getValidPoints(\n                            null, !series.directTouch // For line-type series restrict to plot area, but column-type series not (#3916, #4511)\n                        ),\n                        dimensions,\n                        dimensions\n                    );\n                    series.buildingKdTree = false;\n                }\n                delete series.kdTree;\n\n                // For testing tooltips, don't build async\n                syncTimeout(startRecursive, series.options.kdNow ? 0 : 1);\n            },\n\n            searchKDTree: function(point, compareX) {\n                var series = this,\n                    kdX = this.kdAxisArray[0],\n                    kdY = this.kdAxisArray[1],\n                    kdComparer = compareX ? 'distX' : 'dist',\n                    kdDimensions = series.options.findNearestPointBy.indexOf('y') > -1 ?\n                    2 : 1;\n\n                // Set the one and two dimensional distance on the point object\n                function setDistance(p1, p2) {\n                    var x = (defined(p1[kdX]) && defined(p2[kdX])) ? Math.pow(p1[kdX] - p2[kdX], 2) : null,\n                        y = (defined(p1[kdY]) && defined(p2[kdY])) ? Math.pow(p1[kdY] - p2[kdY], 2) : null,\n                        r = (x || 0) + (y || 0);\n\n                    p2.dist = defined(r) ? Math.sqrt(r) : Number.MAX_VALUE;\n                    p2.distX = defined(x) ? Math.sqrt(x) : Number.MAX_VALUE;\n                }\n\n                function _search(search, tree, depth, dimensions) {\n                    var point = tree.point,\n                        axis = series.kdAxisArray[depth % dimensions],\n                        tdist,\n                        sideA,\n                        sideB,\n                        ret = point,\n                        nPoint1,\n                        nPoint2;\n\n                    setDistance(search, point);\n\n                    // Pick side based on distance to splitting point\n                    tdist = search[axis] - point[axis];\n                    sideA = tdist < 0 ? 'left' : 'right';\n                    sideB = tdist < 0 ? 'right' : 'left';\n\n                    // End of tree\n                    if (tree[sideA]) {\n                        nPoint1 = _search(search, tree[sideA], depth + 1, dimensions);\n\n                        ret = (nPoint1[kdComparer] < ret[kdComparer] ? nPoint1 : point);\n                    }\n                    if (tree[sideB]) {\n                        // compare distance to current best to splitting point to decide wether to check side B or not\n                        if (Math.sqrt(tdist * tdist) < ret[kdComparer]) {\n                            nPoint2 = _search(search, tree[sideB], depth + 1, dimensions);\n                            ret = (nPoint2[kdComparer] < ret[kdComparer] ? nPoint2 : ret);\n                        }\n                    }\n\n                    return ret;\n                }\n\n                if (!this.kdTree && !this.buildingKdTree) {\n                    this.buildKDTree();\n                }\n\n                if (this.kdTree) {\n                    return _search(point, this.kdTree, kdDimensions, kdDimensions);\n                }\n            }\n\n        }); // end Series prototype\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var Axis = H.Axis,\n            Chart = H.Chart,\n            correctFloat = H.correctFloat,\n            defined = H.defined,\n            destroyObjectProperties = H.destroyObjectProperties,\n            each = H.each,\n            format = H.format,\n            pick = H.pick,\n            Series = H.Series;\n\n        /**\n         * The class for stacks. Each stack, on a specific X value and either negative\n         * or positive, has its own stack item.\n         *\n         * @class\n         */\n        function StackItem(axis, options, isNegative, x, stackOption) {\n\n            var inverted = axis.chart.inverted;\n\n            this.axis = axis;\n\n            // Tells if the stack is negative\n            this.isNegative = isNegative;\n\n            // Save the options to be able to style the label\n            this.options = options;\n\n            // Save the x value to be able to position the label later\n            this.x = x;\n\n            // Initialize total value\n            this.total = null;\n\n            // This will keep each points' extremes stored by series.index and point \n            // index\n            this.points = {};\n\n            // Save the stack option on the series configuration object, and whether to \n            // treat it as percent\n            this.stack = stackOption;\n            this.leftCliff = 0;\n            this.rightCliff = 0;\n\n            // The align options and text align varies on whether the stack is negative \n            // and if the chart is inverted or not.\n            // First test the user supplied value, then use the dynamic.\n            this.alignOptions = {\n                align: options.align ||\n                    (inverted ? (isNegative ? 'left' : 'right') : 'center'),\n                verticalAlign: options.verticalAlign ||\n                    (inverted ? 'middle' : (isNegative ? 'bottom' : 'top')),\n                y: pick(options.y, inverted ? 4 : (isNegative ? 14 : -6)),\n                x: pick(options.x, inverted ? (isNegative ? -6 : 6) : 0)\n            };\n\n            this.textAlign = options.textAlign ||\n                (inverted ? (isNegative ? 'right' : 'left') : 'center');\n        }\n\n        StackItem.prototype = {\n            destroy: function() {\n                destroyObjectProperties(this, this.axis);\n            },\n\n            /**\n             * Renders the stack total label and adds it to the stack label group.\n             */\n            render: function(group) {\n                var options = this.options,\n                    formatOption = options.format,\n                    str = formatOption ?\n                    format(formatOption, this) :\n                    options.formatter.call(this); // format the text in the label\n\n                // Change the text to reflect the new total and set visibility to hidden\n                // in case the serie is hidden\n                if (this.label) {\n                    this.label.attr({\n                        text: str,\n                        visibility: 'hidden'\n                    });\n                    // Create new label\n                } else {\n                    this.label =\n                        this.axis.chart.renderer.text(str, null, null, options.useHTML)\n                        .css(options.style)\n                        .attr({\n                            align: this.textAlign,\n                            rotation: options.rotation,\n                            visibility: 'hidden' // hidden until setOffset is called\n                        })\n                        .add(group); // add to the labels-group\n                }\n            },\n\n            /**\n             * Sets the offset that the stack has from the x value and repositions the\n             * label.\n             */\n            setOffset: function(xOffset, xWidth) {\n                var stackItem = this,\n                    axis = stackItem.axis,\n                    chart = axis.chart,\n                    inverted = chart.inverted,\n                    reversed = axis.reversed,\n                    neg = (this.isNegative && !reversed) ||\n                    (!this.isNegative && reversed), // #4056\n                    // stack value translated mapped to chart coordinates\n                    y = axis.translate(\n                        axis.usePercentage ? 100 : this.total,\n                        0,\n                        0,\n                        0,\n                        1\n                    ),\n                    yZero = axis.translate(0), // stack origin\n                    h = Math.abs(y - yZero), // stack height\n                    x = chart.xAxis[0].translate(this.x) + xOffset, // stack x position\n                    plotHeight = chart.plotHeight,\n                    stackBox = { // this is the box for the complete stack\n                        x: inverted ? (neg ? y : y - h) : x,\n                        y: inverted ?\n                            plotHeight - x - xWidth : (neg ? (plotHeight - y - h) :\n                                plotHeight - y),\n                        width: inverted ? h : xWidth,\n                        height: inverted ? xWidth : h\n                    },\n                    label = this.label,\n                    alignAttr;\n\n                if (label) {\n                    // Align the label to the box\n                    label.align(this.alignOptions, null, stackBox);\n\n                    // Set visibility (#678)\n                    alignAttr = label.alignAttr;\n                    label[\n                        this.options.crop === false || chart.isInsidePlot(\n                            alignAttr.x,\n                            alignAttr.y\n                        ) ? 'show' : 'hide'](true);\n                }\n            }\n        };\n\n        /**\n         * Generate stacks for each series and calculate stacks total values\n         */\n        Chart.prototype.getStacks = function() {\n            var chart = this;\n\n            // reset stacks for each yAxis\n            each(chart.yAxis, function(axis) {\n                if (axis.stacks && axis.hasVisibleSeries) {\n                    axis.oldStacks = axis.stacks;\n                }\n            });\n\n            each(chart.series, function(series) {\n                if (series.options.stacking && (series.visible === true ||\n                        chart.options.chart.ignoreHiddenSeries === false)) {\n                    series.stackKey = series.type + pick(series.options.stack, '');\n                }\n            });\n        };\n\n\n        // Stacking methods defined on the Axis prototype\n\n        /**\n         * Build the stacks from top down\n         */\n        Axis.prototype.buildStacks = function() {\n            var axisSeries = this.series,\n                series,\n                reversedStacks = pick(this.options.reversedStacks, true),\n                len = axisSeries.length,\n                i;\n            if (!this.isXAxis) {\n                this.usePercentage = false;\n                i = len;\n                while (i--) {\n                    axisSeries[reversedStacks ? i : len - i - 1].setStackedPoints();\n                }\n\n                i = len;\n                while (i--) {\n                    series = axisSeries[reversedStacks ? i : len - i - 1];\n                    if (series.setStackCliffs) {\n                        series.setStackCliffs();\n                    }\n                }\n                // Loop up again to compute percent stack\n                if (this.usePercentage) {\n                    for (i = 0; i < len; i++) {\n                        axisSeries[i].setPercentStacks();\n                    }\n                }\n            }\n        };\n\n        Axis.prototype.renderStackTotals = function() {\n            var axis = this,\n                chart = axis.chart,\n                renderer = chart.renderer,\n                stacks = axis.stacks,\n                stackKey,\n                oneStack,\n                stackCategory,\n                stackTotalGroup = axis.stackTotalGroup;\n\n            // Create a separate group for the stack total labels\n            if (!stackTotalGroup) {\n                axis.stackTotalGroup = stackTotalGroup =\n                    renderer.g('stack-labels')\n                    .attr({\n                        visibility: 'visible',\n                        zIndex: 6\n                    })\n                    .add();\n            }\n\n            // plotLeft/Top will change when y axis gets wider so we need to translate\n            // the stackTotalGroup at every render call. See bug #506 and #516\n            stackTotalGroup.translate(chart.plotLeft, chart.plotTop);\n\n            // Render each stack total\n            for (stackKey in stacks) {\n                oneStack = stacks[stackKey];\n                for (stackCategory in oneStack) {\n                    oneStack[stackCategory].render(stackTotalGroup);\n                }\n            }\n        };\n\n        /**\n         * Set all the stacks to initial states and destroy unused ones.\n         */\n        Axis.prototype.resetStacks = function() {\n            var stacks = this.stacks,\n                type,\n                i;\n            if (!this.isXAxis) {\n                for (type in stacks) {\n                    for (i in stacks[type]) {\n\n                        // Clean up memory after point deletion (#1044, #4320)\n                        if (stacks[type][i].touched < this.stacksTouched) {\n                            stacks[type][i].destroy();\n                            delete stacks[type][i];\n\n                            // Reset stacks\n                        } else {\n                            stacks[type][i].total = null;\n                            stacks[type][i].cum = null;\n                        }\n                    }\n                }\n            }\n        };\n\n        Axis.prototype.cleanStacks = function() {\n            var stacks, type, i;\n\n            if (!this.isXAxis) {\n                if (this.oldStacks) {\n                    stacks = this.stacks = this.oldStacks;\n                }\n\n                // reset stacks\n                for (type in stacks) {\n                    for (i in stacks[type]) {\n                        stacks[type][i].cum = stacks[type][i].total;\n                    }\n                }\n            }\n        };\n\n\n        // Stacking methods defnied for Series prototype\n\n        /**\n         * Adds series' points value to corresponding stack\n         */\n        Series.prototype.setStackedPoints = function() {\n            if (!this.options.stacking || (this.visible !== true &&\n                    this.chart.options.chart.ignoreHiddenSeries !== false)) {\n                return;\n            }\n\n            var series = this,\n                xData = series.processedXData,\n                yData = series.processedYData,\n                stackedYData = [],\n                yDataLength = yData.length,\n                seriesOptions = series.options,\n                threshold = seriesOptions.threshold,\n                stackThreshold = seriesOptions.startFromThreshold ? threshold : 0,\n                stackOption = seriesOptions.stack,\n                stacking = seriesOptions.stacking,\n                stackKey = series.stackKey,\n                negKey = '-' + stackKey,\n                negStacks = series.negStacks,\n                yAxis = series.yAxis,\n                stacks = yAxis.stacks,\n                oldStacks = yAxis.oldStacks,\n                stackIndicator,\n                isNegative,\n                stack,\n                other,\n                key,\n                pointKey,\n                i,\n                x,\n                y;\n\n\n            yAxis.stacksTouched += 1;\n\n            // loop over the non-null y values and read them into a local array\n            for (i = 0; i < yDataLength; i++) {\n                x = xData[i];\n                y = yData[i];\n                stackIndicator = series.getStackIndicator(\n                    stackIndicator,\n                    x,\n                    series.index\n                );\n                pointKey = stackIndicator.key;\n                // Read stacked values into a stack based on the x value,\n                // the sign of y and the stack key. Stacking is also handled for null\n                // values (#739)\n                isNegative = negStacks && y < (stackThreshold ? 0 : threshold);\n                key = isNegative ? negKey : stackKey;\n\n                // Create empty object for this stack if it doesn't exist yet\n                if (!stacks[key]) {\n                    stacks[key] = {};\n                }\n\n                // Initialize StackItem for this x\n                if (!stacks[key][x]) {\n                    if (oldStacks[key] && oldStacks[key][x]) {\n                        stacks[key][x] = oldStacks[key][x];\n                        stacks[key][x].total = null;\n                    } else {\n                        stacks[key][x] = new StackItem(\n                            yAxis,\n                            yAxis.options.stackLabels,\n                            isNegative,\n                            x,\n                            stackOption\n                        );\n                    }\n                }\n\n                // If the StackItem doesn't exist, create it first\n                stack = stacks[key][x];\n                if (y !== null) {\n                    stack.points[pointKey] = stack.points[series.index] = [pick(stack.cum, stackThreshold)];\n\n                    // Record the base of the stack\n                    if (!defined(stack.cum)) {\n                        stack.base = pointKey;\n                    }\n                    stack.touched = yAxis.stacksTouched;\n\n\n                    // In area charts, if there are multiple points on the same X value,\n                    // let the area fill the full span of those points\n                    if (stackIndicator.index > 0 && series.singleStacks === false) {\n                        stack.points[pointKey][0] =\n                            stack.points[series.index + ',' + x + ',0'][0];\n                    }\n                }\n\n                // Add value to the stack total\n                if (stacking === 'percent') {\n\n                    // Percent stacked column, totals are the same for the positive and\n                    // negative stacks\n                    other = isNegative ? stackKey : negKey;\n                    if (negStacks && stacks[other] && stacks[other][x]) {\n                        other = stacks[other][x];\n                        stack.total = other.total =\n                            Math.max(other.total, stack.total) + Math.abs(y) || 0;\n\n                        // Percent stacked areas\n                    } else {\n                        stack.total = correctFloat(stack.total + (Math.abs(y) || 0));\n                    }\n                } else {\n                    stack.total = correctFloat(stack.total + (y || 0));\n                }\n\n                stack.cum = pick(stack.cum, stackThreshold) + (y || 0);\n\n                if (y !== null) {\n                    stack.points[pointKey].push(stack.cum);\n                    stackedYData[i] = stack.cum;\n                }\n\n            }\n\n            if (stacking === 'percent') {\n                yAxis.usePercentage = true;\n            }\n\n            this.stackedYData = stackedYData; // To be used in getExtremes\n\n            // Reset old stacks\n            yAxis.oldStacks = {};\n        };\n\n        /**\n         * Iterate over all stacks and compute the absolute values to percent\n         */\n        Series.prototype.setPercentStacks = function() {\n            var series = this,\n                stackKey = series.stackKey,\n                stacks = series.yAxis.stacks,\n                processedXData = series.processedXData,\n                stackIndicator;\n\n            each([stackKey, '-' + stackKey], function(key) {\n                var i = processedXData.length,\n                    x,\n                    stack,\n                    pointExtremes,\n                    totalFactor;\n\n                while (i--) {\n                    x = processedXData[i];\n                    stackIndicator = series.getStackIndicator(\n                        stackIndicator,\n                        x,\n                        series.index,\n                        key\n                    );\n                    stack = stacks[key] && stacks[key][x];\n                    pointExtremes = stack && stack.points[stackIndicator.key];\n                    if (pointExtremes) {\n                        totalFactor = stack.total ? 100 / stack.total : 0;\n                        // Y bottom value\n                        pointExtremes[0] = correctFloat(pointExtremes[0] * totalFactor);\n                        // Y value\n                        pointExtremes[1] = correctFloat(pointExtremes[1] * totalFactor);\n                        series.stackedYData[i] = pointExtremes[1];\n                    }\n                }\n            });\n        };\n\n        /**\n         * Get stack indicator, according to it's x-value, to determine points with the\n         * same x-value\n         */\n        Series.prototype.getStackIndicator = function(stackIndicator, x, index, key) {\n            // Update stack indicator, when:\n            // first point in a stack || x changed || stack type (negative vs positive)\n            // changed:\n            if (!defined(stackIndicator) || stackIndicator.x !== x ||\n                (key && stackIndicator.key !== key)) {\n                stackIndicator = {\n                    x: x,\n                    index: 0,\n                    key: key\n                };\n            } else {\n                stackIndicator.index++;\n            }\n\n            stackIndicator.key = [index, x, stackIndicator.index].join(',');\n\n            return stackIndicator;\n        };\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var addEvent = H.addEvent,\n            animate = H.animate,\n            Axis = H.Axis,\n            Chart = H.Chart,\n            createElement = H.createElement,\n            css = H.css,\n            defined = H.defined,\n            each = H.each,\n            erase = H.erase,\n            extend = H.extend,\n            fireEvent = H.fireEvent,\n            inArray = H.inArray,\n            isNumber = H.isNumber,\n            isObject = H.isObject,\n            merge = H.merge,\n            pick = H.pick,\n            Point = H.Point,\n            Series = H.Series,\n            seriesTypes = H.seriesTypes,\n            setAnimation = H.setAnimation,\n            splat = H.splat;\n\n        // Extend the Chart prototype for dynamic methods\n        extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {\n\n            /**\n             * Add a series dynamically after  time\n             *\n             * @param {Object} options The config options\n             * @param {Boolean} redraw Whether to redraw the chart after adding. Defaults to true.\n             * @param {Boolean|Object} animation Whether to apply animation, and optionally animation\n             *    configuration\n             *\n             * @return {Object} series The newly created series object\n             */\n            addSeries: function(options, redraw, animation) {\n                var series,\n                    chart = this;\n\n                if (options) {\n                    redraw = pick(redraw, true); // defaults to true\n\n                    fireEvent(chart, 'addSeries', {\n                        options: options\n                    }, function() {\n                        series = chart.initSeries(options);\n\n                        chart.isDirtyLegend = true; // the series array is out of sync with the display\n                        chart.linkSeries();\n                        if (redraw) {\n                            chart.redraw(animation);\n                        }\n                    });\n                }\n\n                return series;\n            },\n\n            /**\n             * Add an axis to the chart\n             * @param {Object} options The axis option\n             * @param {Boolean} isX Whether it is an X axis or a value axis\n             */\n            addAxis: function(options, isX, redraw, animation) {\n                var key = isX ? 'xAxis' : 'yAxis',\n                    chartOptions = this.options,\n                    userOptions = merge(options, {\n                        index: this[key].length,\n                        isX: isX\n                    });\n\n                new Axis(this, userOptions); // eslint-disable-line no-new\n\n                // Push the new axis options to the chart options\n                chartOptions[key] = splat(chartOptions[key] || {});\n                chartOptions[key].push(userOptions);\n\n                if (pick(redraw, true)) {\n                    this.redraw(animation);\n                }\n            },\n\n            /**\n             * Dim the chart and show a loading text or symbol\n             * @param {String} str An optional text to show in the loading label instead of the default one\n             */\n            showLoading: function(str) {\n                var chart = this,\n                    options = chart.options,\n                    loadingDiv = chart.loadingDiv,\n                    loadingOptions = options.loading,\n                    setLoadingSize = function() {\n                        if (loadingDiv) {\n                            css(loadingDiv, {\n                                left: chart.plotLeft + 'px',\n                                top: chart.plotTop + 'px',\n                                width: chart.plotWidth + 'px',\n                                height: chart.plotHeight + 'px'\n                            });\n                        }\n                    };\n\n                // create the layer at the first call\n                if (!loadingDiv) {\n                    chart.loadingDiv = loadingDiv = createElement('div', {\n                        className: 'highcharts-loading highcharts-loading-hidden'\n                    }, null, chart.container);\n\n                    chart.loadingSpan = createElement(\n                        'span', {\n                            className: 'highcharts-loading-inner'\n                        },\n                        null,\n                        loadingDiv\n                    );\n                    addEvent(chart, 'redraw', setLoadingSize); // #1080\n                }\n\n                loadingDiv.className = 'highcharts-loading';\n\n                // Update text\n                chart.loadingSpan.innerHTML = str || options.lang.loading;\n\n\n                // Update visuals\n                css(loadingDiv, extend(loadingOptions.style, {\n                    zIndex: 10\n                }));\n                css(chart.loadingSpan, loadingOptions.labelStyle);\n\n                // Show it\n                if (!chart.loadingShown) {\n                    css(loadingDiv, {\n                        opacity: 0,\n                        display: ''\n                    });\n                    animate(loadingDiv, {\n                        opacity: loadingOptions.style.opacity || 0.5\n                    }, {\n                        duration: loadingOptions.showDuration || 0\n                    });\n                }\n\n\n                chart.loadingShown = true;\n                setLoadingSize();\n            },\n\n            /**\n             * Hide the loading layer\n             */\n            hideLoading: function() {\n                var options = this.options,\n                    loadingDiv = this.loadingDiv;\n\n                if (loadingDiv) {\n                    loadingDiv.className = 'highcharts-loading highcharts-loading-hidden';\n\n                    animate(loadingDiv, {\n                        opacity: 0\n                    }, {\n                        duration: options.loading.hideDuration || 100,\n                        complete: function() {\n                            css(loadingDiv, {\n                                display: 'none'\n                            });\n                        }\n                    });\n\n                }\n                this.loadingShown = false;\n            },\n\n            /** \n             * These properties cause isDirtyBox to be set to true when updating. Can be extended from plugins.\n             */\n            propsRequireDirtyBox: ['backgroundColor', 'borderColor', 'borderWidth', 'margin', 'marginTop', 'marginRight',\n                'marginBottom', 'marginLeft', 'spacing', 'spacingTop', 'spacingRight', 'spacingBottom', 'spacingLeft',\n                'borderRadius', 'plotBackgroundColor', 'plotBackgroundImage', 'plotBorderColor', 'plotBorderWidth',\n                'plotShadow', 'shadow'\n            ],\n\n            /** \n             * These properties cause all series to be updated when updating. Can be\n             * extended from plugins.\n             */\n            propsRequireUpdateSeries: ['chart.inverted', 'chart.polar',\n                'chart.ignoreHiddenSeries', 'chart.type', 'colors', 'plotOptions'\n            ],\n\n            /**\n             * Chart.update function that takes the whole options stucture.\n             */\n            update: function(options, redraw) {\n                var key,\n                    adders = {\n                        credits: 'addCredits',\n                        title: 'setTitle',\n                        subtitle: 'setSubtitle'\n                    },\n                    optionsChart = options.chart,\n                    updateAllAxes,\n                    updateAllSeries,\n                    newWidth,\n                    newHeight;\n\n                // If the top-level chart option is present, some special updates are required\t\t\n                if (optionsChart) {\n                    merge(true, this.options.chart, optionsChart);\n\n                    // Setter function\n                    if ('className' in optionsChart) {\n                        this.setClassName(optionsChart.className);\n                    }\n\n                    if ('inverted' in optionsChart || 'polar' in optionsChart) {\n                        // Parse options.chart.inverted and options.chart.polar together\n                        // with the available series.\n                        this.propFromSeries();\n                        updateAllAxes = true;\n                    }\n\n                    if ('alignTicks' in optionsChart) { // #6452\n                        updateAllAxes = true;\n                    }\n\n                    for (key in optionsChart) {\n                        if (optionsChart.hasOwnProperty(key)) {\n                            if (inArray('chart.' + key, this.propsRequireUpdateSeries) !== -1) {\n                                updateAllSeries = true;\n                            }\n                            // Only dirty box\n                            if (inArray(key, this.propsRequireDirtyBox) !== -1) {\n                                this.isDirtyBox = true;\n                            }\n\n                        }\n                    }\n\n\n                    if ('style' in optionsChart) {\n                        this.renderer.setStyle(optionsChart.style);\n                    }\n\n                }\n\n                // Some option stuctures correspond one-to-one to chart objects that have\n                // update methods, for example\n                // options.credits => chart.credits\n                // options.legend => chart.legend\n                // options.title => chart.title\n                // options.tooltip => chart.tooltip\n                // options.subtitle => chart.subtitle\n                // options.mapNavigation => chart.mapNavigation\n                // options.navigator => chart.navigator\n                // options.scrollbar => chart.scrollbar\n                for (key in options) {\n                    if (this[key] && typeof this[key].update === 'function') {\n                        this[key].update(options[key], false);\n\n                        // If a one-to-one object does not exist, look for an adder function\n                    } else if (typeof this[adders[key]] === 'function') {\n                        this[adders[key]](options[key]);\n                    }\n\n                    if (key !== 'chart' && inArray(key, this.propsRequireUpdateSeries) !== -1) {\n                        updateAllSeries = true;\n                    }\n                }\n\n\n                if (options.colors) {\n                    this.options.colors = options.colors;\n                }\n\n\n                if (options.plotOptions) {\n                    merge(true, this.options.plotOptions, options.plotOptions);\n                }\n\n                // Setters for collections. For axes and series, each item is referred\n                // by an id. If the id is not found, it defaults to the corresponding\n                // item in the collection, so setting one series without an id, will\n                // update the first series in the chart. Setting two series without\n                // an id will update the first and the second respectively (#6019)\n                // chart.update and responsive.\n                each(['xAxis', 'yAxis', 'series', 'colorAxis', 'pane'], function(coll) {\n                    if (options[coll]) {\n                        each(splat(options[coll]), function(newOptions, i) {\n                            var item = (\n                                defined(newOptions.id) &&\n                                this.get(newOptions.id)\n                            ) || this[coll][i];\n                            if (item && item.coll === coll) {\n                                item.update(newOptions, false);\n                            }\n                        }, this);\n                    }\n                }, this);\n\n                if (updateAllAxes) {\n                    each(this.axes, function(axis) {\n                        axis.update({}, false);\n                    });\n                }\n\n                // Certain options require the whole series structure to be thrown away\n                // and rebuilt\n                if (updateAllSeries) {\n                    each(this.series, function(series) {\n                        series.update({}, false);\n                    });\n                }\n\n                // For loading, just update the options, do not redraw\n                if (options.loading) {\n                    merge(true, this.options.loading, options.loading);\n                }\n\n                // Update size. Redraw is forced.\n                newWidth = optionsChart && optionsChart.width;\n                newHeight = optionsChart && optionsChart.height;\n                if ((isNumber(newWidth) && newWidth !== this.chartWidth) ||\n                    (isNumber(newHeight) && newHeight !== this.chartHeight)) {\n                    this.setSize(newWidth, newHeight);\n                } else if (pick(redraw, true)) {\n                    this.redraw();\n                }\n            },\n\n            /**\n             * Setter function to allow use from chart.update\n             */\n            setSubtitle: function(options) {\n                this.setTitle(undefined, options);\n            }\n\n\n        });\n\n        // extend the Point prototype for dynamic methods\n        extend(Point.prototype, /** @lends Point.prototype */ {\n            /**\n             * Point.update with new options (typically x/y data) and optionally redraw the series.\n             *\n             * @param {Object} options Point options as defined in the series.data array\n             * @param {Boolean} redraw Whether to redraw the chart or wait for an explicit call\n             * @param {Boolean|Object} animation Whether to apply animation, and optionally animation\n             *    configuration\n             */\n            update: function(options, redraw, animation, runEvent) {\n                var point = this,\n                    series = point.series,\n                    graphic = point.graphic,\n                    i,\n                    chart = series.chart,\n                    seriesOptions = series.options;\n\n                redraw = pick(redraw, true);\n\n                function update() {\n\n                    point.applyOptions(options);\n\n                    // Update visuals\n                    if (point.y === null && graphic) { // #4146\n                        point.graphic = graphic.destroy();\n                    }\n                    if (isObject(options, true)) {\n                        // Destroy so we can get new elements\n                        if (graphic && graphic.element) {\n                            if (options && options.marker && options.marker.symbol) {\n                                point.graphic = graphic.destroy();\n                            }\n                        }\n                        if (options && options.dataLabels && point.dataLabel) { // #2468\n                            point.dataLabel = point.dataLabel.destroy();\n                        }\n                    }\n\n                    // record changes in the parallel arrays\n                    i = point.index;\n                    series.updateParallelArrays(point, i);\n\n                    // Record the options to options.data. If the old or the new config\n                    // is an object, use point options, otherwise use raw options\n                    // (#4701, #4916).\n                    seriesOptions.data[i] = (\n                            isObject(seriesOptions.data[i], true) ||\n                            isObject(options, true)\n                        ) ?\n                        point.options :\n                        options;\n\n                    // redraw\n                    series.isDirty = series.isDirtyData = true;\n                    if (!series.fixedBox && series.hasCartesianSeries) { // #1906, #2320\n                        chart.isDirtyBox = true;\n                    }\n\n                    if (seriesOptions.legendType === 'point') { // #1831, #1885\n                        chart.isDirtyLegend = true;\n                    }\n                    if (redraw) {\n                        chart.redraw(animation);\n                    }\n                }\n\n                // Fire the event with a default handler of doing the update\n                if (runEvent === false) { // When called from setData\n                    update();\n                } else {\n                    point.firePointEvent('update', {\n                        options: options\n                    }, update);\n                }\n            },\n\n            /**\n             * Remove a point and optionally redraw the series and if necessary the axes\n             * @param {Boolean} redraw Whether to redraw the chart or wait for an explicit call\n             * @param {Boolean|Object} animation Whether to apply animation, and optionally animation\n             *    configuration\n             */\n            remove: function(redraw, animation) {\n                this.series.removePoint(inArray(this, this.series.data), redraw, animation);\n            }\n        });\n\n        // Extend the series prototype for dynamic methods\n        extend(Series.prototype, /** @lends Series.prototype */ {\n            /**\n             * Add a point dynamically after chart load time\n             * @param {Object} options Point options as given in series.data\n             * @param {Boolean} redraw Whether to redraw the chart or wait for an explicit call\n             * @param {Boolean} shift If shift is true, a point is shifted off the start\n             *    of the series as one is appended to the end.\n             * @param {Boolean|AnimationOptions} animation Whether to apply animation, and optionally animation\n             *    configuration\n             */\n            addPoint: function(options, redraw, shift, animation) {\n                var series = this,\n                    seriesOptions = series.options,\n                    data = series.data,\n                    chart = series.chart,\n                    xAxis = series.xAxis,\n                    names = xAxis && xAxis.hasNames && xAxis.names,\n                    dataOptions = seriesOptions.data,\n                    point,\n                    isInTheMiddle,\n                    xData = series.xData,\n                    i,\n                    x;\n\n                // Optional redraw, defaults to true\n                redraw = pick(redraw, true);\n\n                // Get options and push the point to xData, yData and series.options. In series.generatePoints\n                // the Point instance will be created on demand and pushed to the series.data array.\n                point = {\n                    series: series\n                };\n                series.pointClass.prototype.applyOptions.apply(point, [options]);\n                x = point.x;\n\n                // Get the insertion point\n                i = xData.length;\n                if (series.requireSorting && x < xData[i - 1]) {\n                    isInTheMiddle = true;\n                    while (i && xData[i - 1] > x) {\n                        i--;\n                    }\n                }\n\n                series.updateParallelArrays(point, 'splice', i, 0, 0); // insert undefined item\n                series.updateParallelArrays(point, i); // update it\n\n                if (names && point.name) {\n                    names[x] = point.name;\n                }\n                dataOptions.splice(i, 0, options);\n\n                if (isInTheMiddle) {\n                    series.data.splice(i, 0, null);\n                    series.processData();\n                }\n\n                // Generate points to be added to the legend (#1329)\n                if (seriesOptions.legendType === 'point') {\n                    series.generatePoints();\n                }\n\n                // Shift the first point off the parallel arrays\n                if (shift) {\n                    if (data[0] && data[0].remove) {\n                        data[0].remove(false);\n                    } else {\n                        data.shift();\n                        series.updateParallelArrays(point, 'shift');\n\n                        dataOptions.shift();\n                    }\n                }\n\n                // redraw\n                series.isDirty = true;\n                series.isDirtyData = true;\n\n                if (redraw) {\n                    chart.redraw(animation); // Animation is set anyway on redraw, #5665\n                }\n            },\n\n            /**\n             * Remove a point (rendered or not), by index\n             */\n            removePoint: function(i, redraw, animation) {\n\n                var series = this,\n                    data = series.data,\n                    point = data[i],\n                    points = series.points,\n                    chart = series.chart,\n                    remove = function() {\n\n                        if (points && points.length === data.length) { // #4935\n                            points.splice(i, 1);\n                        }\n                        data.splice(i, 1);\n                        series.options.data.splice(i, 1);\n                        series.updateParallelArrays(point || {\n                            series: series\n                        }, 'splice', i, 1);\n\n                        if (point) {\n                            point.destroy();\n                        }\n\n                        // redraw\n                        series.isDirty = true;\n                        series.isDirtyData = true;\n                        if (redraw) {\n                            chart.redraw();\n                        }\n                    };\n\n                setAnimation(animation, chart);\n                redraw = pick(redraw, true);\n\n                // Fire the event with a default handler of removing the point\n                if (point) {\n                    point.firePointEvent('remove', null, remove);\n                } else {\n                    remove();\n                }\n            },\n\n            /**\n             * Remove a series and optionally redraw the chart\n             *\n             * @param {Boolean} redraw Whether to redraw the chart or wait for an explicit call\n             * @param {Boolean|Object} animation Whether to apply animation, and optionally animation\n             *    configuration\n             */\n            remove: function(redraw, animation, withEvent) {\n                var series = this,\n                    chart = series.chart;\n\n                function remove() {\n\n                    // Destroy elements\n                    series.destroy();\n\n                    // Redraw\n                    chart.isDirtyLegend = chart.isDirtyBox = true;\n                    chart.linkSeries();\n\n                    if (pick(redraw, true)) {\n                        chart.redraw(animation);\n                    }\n                }\n\n                // Fire the event with a default handler of removing the point\n                if (withEvent !== false) {\n                    fireEvent(series, 'remove', null, remove);\n                } else {\n                    remove();\n                }\n            },\n\n            /**\n             * Series.update with a new set of options\n             */\n            update: function(newOptions, redraw) {\n                var series = this,\n                    chart = this.chart,\n                    // must use user options when changing type because this.options is merged\n                    // in with type specific plotOptions\n                    oldOptions = this.userOptions,\n                    oldType = this.oldType || this.type,\n                    newType = newOptions.type || oldOptions.type || chart.options.chart.type,\n                    proto = seriesTypes[oldType].prototype,\n                    preserve = ['group', 'markerGroup', 'dataLabelsGroup'],\n                    n;\n\n                // If we're changing type or zIndex, create new groups (#3380, #3404)\n                if ((newType && newType !== oldType) || newOptions.zIndex !== undefined) {\n                    preserve.length = 0;\n                }\n\n                // Make sure groups are not destroyed (#3094)\n                each(preserve, function(prop) {\n                    preserve[prop] = series[prop];\n                    delete series[prop];\n                });\n\n                // Do the merge, with some forced options\n                newOptions = merge(oldOptions, {\n                    animation: false,\n                    index: this.index,\n                    pointStart: this.xData[0] // when updating after addPoint\n                }, {\n                    data: this.options.data\n                }, newOptions);\n\n                // Destroy the series and delete all properties. Reinsert all methods\n                // and properties from the new type prototype (#2270, #3719)\n                this.remove(false, null, false);\n                for (n in proto) {\n                    this[n] = undefined;\n                }\n                extend(this, seriesTypes[newType || oldType].prototype);\n\n                // Re-register groups (#3094)\n                each(preserve, function(prop) {\n                    series[prop] = preserve[prop];\n                });\n\n                this.init(chart, newOptions);\n                this.oldType = oldType;\n                chart.linkSeries(); // Links are lost in this.remove (#3028)\n                if (pick(redraw, true)) {\n                    chart.redraw(false);\n                }\n            }\n        });\n\n        // Extend the Axis.prototype for dynamic methods\n        extend(Axis.prototype, /** @lends Axis.prototype */ {\n\n            /**\n             * Axis.update with a new options structure\n             */\n            update: function(newOptions, redraw) {\n                var chart = this.chart;\n\n                newOptions = chart.options[this.coll][this.options.index] = merge(this.userOptions, newOptions);\n\n                this.destroy(true);\n\n                this.init(chart, extend(newOptions, {\n                    events: undefined\n                }));\n\n                chart.isDirtyBox = true;\n                if (pick(redraw, true)) {\n                    chart.redraw();\n                }\n            },\n\n            /**\n             * Remove the axis from the chart\n             */\n            remove: function(redraw) {\n                var chart = this.chart,\n                    key = this.coll, // xAxis or yAxis\n                    axisSeries = this.series,\n                    i = axisSeries.length;\n\n                // Remove associated series (#2687)\n                while (i--) {\n                    if (axisSeries[i]) {\n                        axisSeries[i].remove(false);\n                    }\n                }\n\n                // Remove the axis\n                erase(chart.axes, this);\n                erase(chart[key], this);\n                chart.options[key].splice(this.options.index, 1);\n                each(chart[key], function(axis, i) { // Re-index, #1706\n                    axis.options.index = i;\n                });\n                this.destroy();\n                chart.isDirtyBox = true;\n\n                if (pick(redraw, true)) {\n                    chart.redraw();\n                }\n            },\n\n            /**\n             * Update the axis title by options\n             */\n            setTitle: function(newTitleOptions, redraw) {\n                this.update({\n                    title: newTitleOptions\n                }, redraw);\n            },\n\n            /**\n             * Set new axis categories and optionally redraw\n             * @param {Array} categories\n             * @param {Boolean} redraw\n             */\n            setCategories: function(categories, redraw) {\n                this.update({\n                    categories: categories\n                }, redraw);\n            }\n\n        });\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var color = H.color,\n            each = H.each,\n            LegendSymbolMixin = H.LegendSymbolMixin,\n            map = H.map,\n            pick = H.pick,\n            Series = H.Series,\n            seriesType = H.seriesType;\n\n        /**\n         * Area series type.\n         * @constructor seriesTypes.area\n         * @extends {Series}\n         */\n        seriesType('area', 'line', {\n            softThreshold: false,\n            threshold: 0\n            // trackByArea: false,\n            // lineColor: null, // overrides color, but lets fillColor be unaltered\n            // fillOpacity: 0.75,\n            // fillColor: null\n        }, /** @lends seriesTypes.area.prototype */ {\n            singleStacks: false,\n            /** \n             * Return an array of stacked points, where null and missing points are replaced by \n             * dummy points in order for gaps to be drawn correctly in stacks.\n             */\n            getStackPoints: function() {\n                var series = this,\n                    segment = [],\n                    keys = [],\n                    xAxis = this.xAxis,\n                    yAxis = this.yAxis,\n                    stack = yAxis.stacks[this.stackKey],\n                    pointMap = {},\n                    points = this.points,\n                    seriesIndex = series.index,\n                    yAxisSeries = yAxis.series,\n                    seriesLength = yAxisSeries.length,\n                    visibleSeries,\n                    upOrDown = pick(yAxis.options.reversedStacks, true) ? 1 : -1,\n                    i,\n                    x;\n\n                if (this.options.stacking) {\n                    // Create a map where we can quickly look up the points by their X value.\n                    for (i = 0; i < points.length; i++) {\n                        pointMap[points[i].x] = points[i];\n                    }\n\n                    // Sort the keys (#1651)\n                    for (x in stack) {\n                        if (stack[x].total !== null) { // nulled after switching between grouping and not (#1651, #2336)\n                            keys.push(x);\n                        }\n                    }\n                    keys.sort(function(a, b) {\n                        return a - b;\n                    });\n\n                    visibleSeries = map(yAxisSeries, function() {\n                        return this.visible;\n                    });\n\n                    each(keys, function(x, idx) {\n                        var y = 0,\n                            stackPoint,\n                            stackedValues;\n\n                        if (pointMap[x] && !pointMap[x].isNull) {\n                            segment.push(pointMap[x]);\n\n                            // Find left and right cliff. -1 goes left, 1 goes right.\n                            each([-1, 1], function(direction) {\n                                var nullName = direction === 1 ? 'rightNull' : 'leftNull',\n                                    cliffName = direction === 1 ? 'rightCliff' : 'leftCliff',\n                                    cliff = 0,\n                                    otherStack = stack[keys[idx + direction]];\n\n                                // If there is a stack next to this one, to the left or to the right...\n                                if (otherStack) {\n                                    i = seriesIndex;\n                                    while (i >= 0 && i < seriesLength) { // Can go either up or down, depending on reversedStacks\n                                        stackPoint = otherStack.points[i];\n                                        if (!stackPoint) {\n                                            // If the next point in this series is missing, mark the point\n                                            // with point.leftNull or point.rightNull = true.\n                                            if (i === seriesIndex) {\n                                                pointMap[x][nullName] = true;\n\n                                                // If there are missing points in the next stack in any of the \n                                                // series below this one, we need to substract the missing values\n                                                // and add a hiatus to the left or right.\n                                            } else if (visibleSeries[i]) {\n                                                stackedValues = stack[x].points[i];\n                                                if (stackedValues) {\n                                                    cliff -= stackedValues[1] - stackedValues[0];\n                                                }\n                                            }\n                                        }\n                                        // When reversedStacks is true, loop up, else loop down\n                                        i += upOrDown;\n                                    }\n                                }\n                                pointMap[x][cliffName] = cliff;\n                            });\n\n\n                            // There is no point for this X value in this series, so we \n                            // insert a dummy point in order for the areas to be drawn\n                            // correctly.\n                        } else {\n\n                            // Loop down the stack to find the series below this one that has\n                            // a value (#1991)\n                            i = seriesIndex;\n                            while (i >= 0 && i < seriesLength) {\n                                stackPoint = stack[x].points[i];\n                                if (stackPoint) {\n                                    y = stackPoint[1];\n                                    break;\n                                }\n                                // When reversedStacks is true, loop up, else loop down\n                                i += upOrDown;\n                            }\n                            y = yAxis.translate(y, 0, 1, 0, 1); // #6272\n                            segment.push({\n                                isNull: true,\n                                plotX: xAxis.translate(x, 0, 0, 0, 1), // #6272\n                                x: x,\n                                plotY: y,\n                                yBottom: y\n                            });\n                        }\n                    });\n\n                }\n\n                return segment;\n            },\n\n            getGraphPath: function(points) {\n                var getGraphPath = Series.prototype.getGraphPath,\n                    graphPath,\n                    options = this.options,\n                    stacking = options.stacking,\n                    yAxis = this.yAxis,\n                    topPath,\n                    //topPoints = [],\n                    bottomPath,\n                    bottomPoints = [],\n                    graphPoints = [],\n                    seriesIndex = this.index,\n                    i,\n                    areaPath,\n                    plotX,\n                    stacks = yAxis.stacks[this.stackKey],\n                    threshold = options.threshold,\n                    translatedThreshold = yAxis.getThreshold(options.threshold),\n                    isNull,\n                    yBottom,\n                    connectNulls = options.connectNulls || stacking === 'percent',\n                    /**\n                     * To display null points in underlying stacked series, this series graph must be \n                     * broken, and the area also fall down to fill the gap left by the null point. #2069\n                     */\n                    addDummyPoints = function(i, otherI, side) {\n                        var point = points[i],\n                            stackedValues = stacking && stacks[point.x].points[seriesIndex],\n                            nullVal = point[side + 'Null'] || 0,\n                            cliffVal = point[side + 'Cliff'] || 0,\n                            top,\n                            bottom,\n                            isNull = true;\n\n                        if (cliffVal || nullVal) {\n\n                            top = (nullVal ? stackedValues[0] : stackedValues[1]) + cliffVal;\n                            bottom = stackedValues[0] + cliffVal;\n                            isNull = !!nullVal;\n\n                        } else if (!stacking && points[otherI] && points[otherI].isNull) {\n                            top = bottom = threshold;\n                        }\n\n                        // Add to the top and bottom line of the area\n                        if (top !== undefined) {\n                            graphPoints.push({\n                                plotX: plotX,\n                                plotY: top === null ? translatedThreshold : yAxis.getThreshold(top),\n                                isNull: isNull,\n                                isCliff: true\n                            });\n                            bottomPoints.push({\n                                plotX: plotX,\n                                plotY: bottom === null ? translatedThreshold : yAxis.getThreshold(bottom),\n                                doCurve: false // #1041, gaps in areaspline areas\n                            });\n                        }\n                    };\n\n                // Find what points to use\n                points = points || this.points;\n\n                // Fill in missing points\n                if (stacking) {\n                    points = this.getStackPoints();\n                }\n\n                for (i = 0; i < points.length; i++) {\n                    isNull = points[i].isNull;\n                    plotX = pick(points[i].rectPlotX, points[i].plotX);\n                    yBottom = pick(points[i].yBottom, translatedThreshold);\n\n                    if (!isNull || connectNulls) {\n\n                        if (!connectNulls) {\n                            addDummyPoints(i, i - 1, 'left');\n                        }\n\n                        if (!(isNull && !stacking && connectNulls)) { // Skip null point when stacking is false and connectNulls true\n                            graphPoints.push(points[i]);\n                            bottomPoints.push({\n                                x: i,\n                                plotX: plotX,\n                                plotY: yBottom\n                            });\n                        }\n\n                        if (!connectNulls) {\n                            addDummyPoints(i, i + 1, 'right');\n                        }\n                    }\n                }\n\n                topPath = getGraphPath.call(this, graphPoints, true, true);\n\n                bottomPoints.reversed = true;\n                bottomPath = getGraphPath.call(this, bottomPoints, true, true);\n                if (bottomPath.length) {\n                    bottomPath[0] = 'L';\n                }\n\n                areaPath = topPath.concat(bottomPath);\n                graphPath = getGraphPath.call(this, graphPoints, false, connectNulls); // TODO: don't set leftCliff and rightCliff when connectNulls?\n\n                areaPath.xMap = topPath.xMap;\n                this.areaPath = areaPath;\n\n                return graphPath;\n            },\n\n            /**\n             * Draw the graph and the underlying area. This method calls the Series base\n             * function and adds the area. The areaPath is calculated in the getSegmentPath\n             * method called from Series.prototype.drawGraph.\n             */\n            drawGraph: function() {\n\n                // Define or reset areaPath\n                this.areaPath = [];\n\n                // Call the base method\n                Series.prototype.drawGraph.apply(this);\n\n                // Define local variables\n                var series = this,\n                    areaPath = this.areaPath,\n                    options = this.options,\n                    zones = this.zones,\n                    props = [\n                        [\n                            'area',\n                            'highcharts-area',\n\n                            this.color,\n                            options.fillColor\n\n                        ]\n                    ]; // area name, main color, fill color\n\n                each(zones, function(zone, i) {\n                    props.push([\n                        'zone-area-' + i,\n                        'highcharts-area highcharts-zone-area-' + i + ' ' + zone.className,\n\n                        zone.color || series.color,\n                        zone.fillColor || options.fillColor\n\n                    ]);\n                });\n\n                each(props, function(prop) {\n                    var areaKey = prop[0],\n                        area = series[areaKey];\n\n                    // Create or update the area\n                    if (area) { // update\n                        area.endX = areaPath.xMap;\n                        area.animate({\n                            d: areaPath\n                        });\n\n                    } else { // create\n                        area = series[areaKey] = series.chart.renderer.path(areaPath)\n                            .addClass(prop[1])\n                            .attr({\n\n                                fill: pick(\n                                    prop[3],\n                                    color(prop[2]).setOpacity(pick(options.fillOpacity, 0.75)).get()\n                                ),\n\n                                zIndex: 0 // #1069\n                            }).add(series.group);\n                        area.isArea = true;\n                    }\n                    area.startX = areaPath.xMap;\n                    area.shiftUnit = options.step ? 2 : 1;\n                });\n            },\n\n            drawLegendSymbol: LegendSymbolMixin.drawRectangle\n        });\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var pick = H.pick,\n            seriesType = H.seriesType;\n\n        /**\n         * Spline series type.\n         * @constructor seriesTypes.spline\n         * @extends {Series}\n         */\n        seriesType('spline', 'line', {}, /** @lends seriesTypes.spline.prototype */ {\n            /**\n             * Get the spline segment from a given point's previous neighbour to the given point\n             */\n            getPointSpline: function(points, point, i) {\n                var smoothing = 1.5, // 1 means control points midway between points, 2 means 1/3 from the point, 3 is 1/4 etc\n                    denom = smoothing + 1,\n                    plotX = point.plotX,\n                    plotY = point.plotY,\n                    lastPoint = points[i - 1],\n                    nextPoint = points[i + 1],\n                    leftContX,\n                    leftContY,\n                    rightContX,\n                    rightContY,\n                    ret;\n\n                function doCurve(otherPoint) {\n                    return otherPoint &&\n                        !otherPoint.isNull &&\n                        otherPoint.doCurve !== false &&\n                        !point.isCliff; // #6387, area splines next to null\n                }\n\n                // Find control points\n                if (doCurve(lastPoint) && doCurve(nextPoint)) {\n                    var lastX = lastPoint.plotX,\n                        lastY = lastPoint.plotY,\n                        nextX = nextPoint.plotX,\n                        nextY = nextPoint.plotY,\n                        correction = 0;\n\n                    leftContX = (smoothing * plotX + lastX) / denom;\n                    leftContY = (smoothing * plotY + lastY) / denom;\n                    rightContX = (smoothing * plotX + nextX) / denom;\n                    rightContY = (smoothing * plotY + nextY) / denom;\n\n                    // Have the two control points make a straight line through main point\n                    if (rightContX !== leftContX) { // #5016, division by zero\n                        correction = ((rightContY - leftContY) * (rightContX - plotX)) /\n                            (rightContX - leftContX) + plotY - rightContY;\n                    }\n\n                    leftContY += correction;\n                    rightContY += correction;\n\n                    // to prevent false extremes, check that control points are between\n                    // neighbouring points' y values\n                    if (leftContY > lastY && leftContY > plotY) {\n                        leftContY = Math.max(lastY, plotY);\n                        rightContY = 2 * plotY - leftContY; // mirror of left control point\n                    } else if (leftContY < lastY && leftContY < plotY) {\n                        leftContY = Math.min(lastY, plotY);\n                        rightContY = 2 * plotY - leftContY;\n                    }\n                    if (rightContY > nextY && rightContY > plotY) {\n                        rightContY = Math.max(nextY, plotY);\n                        leftContY = 2 * plotY - rightContY;\n                    } else if (rightContY < nextY && rightContY < plotY) {\n                        rightContY = Math.min(nextY, plotY);\n                        leftContY = 2 * plotY - rightContY;\n                    }\n\n                    // record for drawing in next point\n                    point.rightContX = rightContX;\n                    point.rightContY = rightContY;\n\n\n                }\n\n                // Visualize control points for debugging\n                /*\n                if (leftContX) {\n                \tthis.chart.renderer.circle(leftContX + this.chart.plotLeft, leftContY + this.chart.plotTop, 2)\n                \t\t.attr({\n                \t\t\tstroke: 'red',\n                \t\t\t'stroke-width': 2,\n                \t\t\tfill: 'none',\n                \t\t\tzIndex: 9\n                \t\t})\n                \t\t.add();\n                \tthis.chart.renderer.path(['M', leftContX + this.chart.plotLeft, leftContY + this.chart.plotTop,\n                \t\t'L', plotX + this.chart.plotLeft, plotY + this.chart.plotTop])\n                \t\t.attr({\n                \t\t\tstroke: 'red',\n                \t\t\t'stroke-width': 2,\n                \t\t\tzIndex: 9\n                \t\t})\n                \t\t.add();\n                }\n                if (rightContX) {\n                \tthis.chart.renderer.circle(rightContX + this.chart.plotLeft, rightContY + this.chart.plotTop, 2)\n                \t\t.attr({\n                \t\t\tstroke: 'green',\n                \t\t\t'stroke-width': 2,\n                \t\t\tfill: 'none',\n                \t\t\tzIndex: 9\n                \t\t})\n                \t\t.add();\n                \tthis.chart.renderer.path(['M', rightContX + this.chart.plotLeft, rightContY + this.chart.plotTop,\n                \t\t'L', plotX + this.chart.plotLeft, plotY + this.chart.plotTop])\n                \t\t.attr({\n                \t\t\tstroke: 'green',\n                \t\t\t'stroke-width': 2,\n                \t\t\tzIndex: 9\n                \t\t})\n                \t\t.add();\n                }\n                // */\n                ret = [\n                    'C',\n                    pick(lastPoint.rightContX, lastPoint.plotX),\n                    pick(lastPoint.rightContY, lastPoint.plotY),\n                    pick(leftContX, plotX),\n                    pick(leftContY, plotY),\n                    plotX,\n                    plotY\n                ];\n                lastPoint.rightContX = lastPoint.rightContY = null; // reset for updating series later\n                return ret;\n            }\n        });\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var areaProto = H.seriesTypes.area.prototype,\n            defaultPlotOptions = H.defaultPlotOptions,\n            LegendSymbolMixin = H.LegendSymbolMixin,\n            seriesType = H.seriesType;\n        /**\n         * AreaSplineSeries object\n         */\n        seriesType('areaspline', 'spline', defaultPlotOptions.area, {\n            getStackPoints: areaProto.getStackPoints,\n            getGraphPath: areaProto.getGraphPath,\n            setStackCliffs: areaProto.setStackCliffs,\n            drawGraph: areaProto.drawGraph,\n            drawLegendSymbol: LegendSymbolMixin.drawRectangle\n        });\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var animObject = H.animObject,\n            color = H.color,\n            each = H.each,\n            extend = H.extend,\n            isNumber = H.isNumber,\n            LegendSymbolMixin = H.LegendSymbolMixin,\n            merge = H.merge,\n            noop = H.noop,\n            pick = H.pick,\n            Series = H.Series,\n            seriesType = H.seriesType,\n            svg = H.svg;\n        /**\n         * The column series type.\n         *\n         * @constructor seriesTypes.column\n         * @augments Series\n         */\n        seriesType('column', 'line', {\n            borderRadius: 0,\n            //colorByPoint: undefined,\n            crisp: true,\n            groupPadding: 0.2,\n            //grouping: true,\n            marker: null, // point options are specified in the base options\n            pointPadding: 0.1,\n            //pointWidth: null,\n            minPointLength: 0,\n            cropThreshold: 50, // when there are more points, they will not animate out of the chart on xAxis.setExtremes\n            pointRange: null, // null means auto, meaning 1 in a categorized axis and least distance between points if not categories\n            states: {\n                hover: {\n                    halo: false,\n\n                    brightness: 0.1,\n                    shadow: false\n\n                },\n\n                select: {\n                    color: '#cccccc',\n                    borderColor: '#000000',\n                    shadow: false\n                }\n\n            },\n            dataLabels: {\n                align: null, // auto\n                verticalAlign: null, // auto\n                y: null\n            },\n            softThreshold: false,\n            startFromThreshold: true, // false doesn't work well: http://jsfiddle.net/highcharts/hz8fopan/14/\n            stickyTracking: false,\n            tooltip: {\n                distance: 6\n            },\n            threshold: 0,\n\n            borderColor: '#ffffff'\n            // borderWidth: 1\n\n\n        }, /** @lends seriesTypes.column.prototype */ {\n            cropShoulder: 0,\n            directTouch: true, // When tooltip is not shared, this series (and derivatives) requires direct touch/hover. KD-tree does not apply.\n            trackerGroups: ['group', 'dataLabelsGroup'],\n            negStacks: true, // use separate negative stacks, unlike area stacks where a negative\n            // point is substracted from previous (#1910)\n\n            /**\n             * Initialize the series. Extends the basic Series.init method by\n             * marking other series of the same type as dirty.\n             *\n             * @function #init\n             * @memberOf seriesTypes.column\n             * @returns {void}\n             */\n            init: function() {\n                Series.prototype.init.apply(this, arguments);\n\n                var series = this,\n                    chart = series.chart;\n\n                // if the series is added dynamically, force redraw of other\n                // series affected by a new column\n                if (chart.hasRendered) {\n                    each(chart.series, function(otherSeries) {\n                        if (otherSeries.type === series.type) {\n                            otherSeries.isDirty = true;\n                        }\n                    });\n                }\n            },\n\n            /**\n             * Return the width and x offset of the columns adjusted for grouping, groupPadding, pointPadding,\n             * pointWidth etc.\n             */\n            getColumnMetrics: function() {\n\n                var series = this,\n                    options = series.options,\n                    xAxis = series.xAxis,\n                    yAxis = series.yAxis,\n                    reversedXAxis = xAxis.reversed,\n                    stackKey,\n                    stackGroups = {},\n                    columnCount = 0;\n\n                // Get the total number of column type series.\n                // This is called on every series. Consider moving this logic to a\n                // chart.orderStacks() function and call it on init, addSeries and removeSeries\n                if (options.grouping === false) {\n                    columnCount = 1;\n                } else {\n                    each(series.chart.series, function(otherSeries) {\n                        var otherOptions = otherSeries.options,\n                            otherYAxis = otherSeries.yAxis,\n                            columnIndex;\n                        if (otherSeries.type === series.type && otherSeries.visible &&\n                            yAxis.len === otherYAxis.len && yAxis.pos === otherYAxis.pos) { // #642, #2086\n                            if (otherOptions.stacking) {\n                                stackKey = otherSeries.stackKey;\n                                if (stackGroups[stackKey] === undefined) {\n                                    stackGroups[stackKey] = columnCount++;\n                                }\n                                columnIndex = stackGroups[stackKey];\n                            } else if (otherOptions.grouping !== false) { // #1162\n                                columnIndex = columnCount++;\n                            }\n                            otherSeries.columnIndex = columnIndex;\n                        }\n                    });\n                }\n\n                var categoryWidth = Math.min(\n                        Math.abs(xAxis.transA) * (xAxis.ordinalSlope || options.pointRange || xAxis.closestPointRange || xAxis.tickInterval || 1), // #2610\n                        xAxis.len // #1535\n                    ),\n                    groupPadding = categoryWidth * options.groupPadding,\n                    groupWidth = categoryWidth - 2 * groupPadding,\n                    pointOffsetWidth = groupWidth / (columnCount || 1),\n                    pointWidth = Math.min(\n                        options.maxPointWidth || xAxis.len,\n                        pick(options.pointWidth, pointOffsetWidth * (1 - 2 * options.pointPadding))\n                    ),\n                    pointPadding = (pointOffsetWidth - pointWidth) / 2,\n                    colIndex = (series.columnIndex || 0) + (reversedXAxis ? 1 : 0), // #1251, #3737\n                    pointXOffset = pointPadding + (groupPadding + colIndex *\n                        pointOffsetWidth - (categoryWidth / 2)) *\n                    (reversedXAxis ? -1 : 1);\n\n                // Save it for reading in linked series (Error bars particularly)\n                series.columnMetrics = {\n                    width: pointWidth,\n                    offset: pointXOffset\n                };\n                return series.columnMetrics;\n\n            },\n\n            /**\n             * Make the columns crisp. The edges are rounded to the nearest full pixel.\n             */\n            crispCol: function(x, y, w, h) {\n                var chart = this.chart,\n                    borderWidth = this.borderWidth,\n                    xCrisp = -(borderWidth % 2 ? 0.5 : 0),\n                    yCrisp = borderWidth % 2 ? 0.5 : 1,\n                    right,\n                    bottom,\n                    fromTop;\n\n                if (chart.inverted && chart.renderer.isVML) {\n                    yCrisp += 1;\n                }\n\n                // Horizontal. We need to first compute the exact right edge, then round it\n                // and compute the width from there.\n                if (this.options.crisp) {\n                    right = Math.round(x + w) + xCrisp;\n                    x = Math.round(x) + xCrisp;\n                    w = right - x;\n                }\n\n                // Vertical\n                bottom = Math.round(y + h) + yCrisp;\n                fromTop = Math.abs(y) <= 0.5 && bottom > 0.5; // #4504, #4656\n                y = Math.round(y) + yCrisp;\n                h = bottom - y;\n\n                // Top edges are exceptions\n                if (fromTop && h) { // #5146\n                    y -= 1;\n                    h += 1;\n                }\n\n                return {\n                    x: x,\n                    y: y,\n                    width: w,\n                    height: h\n                };\n            },\n\n            /**\n             * Translate each point to the plot area coordinate system and find shape positions\n             */\n            translate: function() {\n                var series = this,\n                    chart = series.chart,\n                    options = series.options,\n                    dense = series.dense = series.closestPointRange * series.xAxis.transA < 2,\n                    borderWidth = series.borderWidth = pick(\n                        options.borderWidth,\n                        dense ? 0 : 1 // #3635\n                    ),\n                    yAxis = series.yAxis,\n                    threshold = options.threshold,\n                    translatedThreshold = series.translatedThreshold = yAxis.getThreshold(threshold),\n                    minPointLength = pick(options.minPointLength, 5),\n                    metrics = series.getColumnMetrics(),\n                    pointWidth = metrics.width,\n                    seriesBarW = series.barW = Math.max(pointWidth, 1 + 2 * borderWidth), // postprocessed for border width\n                    pointXOffset = series.pointXOffset = metrics.offset;\n\n                if (chart.inverted) {\n                    translatedThreshold -= 0.5; // #3355\n                }\n\n                // When the pointPadding is 0, we want the columns to be packed tightly, so we allow individual\n                // columns to have individual sizes. When pointPadding is greater, we strive for equal-width\n                // columns (#2694).\n                if (options.pointPadding) {\n                    seriesBarW = Math.ceil(seriesBarW);\n                }\n\n                Series.prototype.translate.apply(series);\n\n                // Record the new values\n                each(series.points, function(point) {\n                    var yBottom = pick(point.yBottom, translatedThreshold),\n                        safeDistance = 999 + Math.abs(yBottom),\n                        plotY = Math.min(Math.max(-safeDistance, point.plotY), yAxis.len + safeDistance), // Don't draw too far outside plot area (#1303, #2241, #4264)\n                        barX = point.plotX + pointXOffset,\n                        barW = seriesBarW,\n                        barY = Math.min(plotY, yBottom),\n                        up,\n                        barH = Math.max(plotY, yBottom) - barY;\n\n                    // Handle options.minPointLength\n                    if (Math.abs(barH) < minPointLength) {\n                        if (minPointLength) {\n                            barH = minPointLength;\n                            up = (!yAxis.reversed && !point.negative) || (yAxis.reversed && point.negative);\n                            barY = Math.abs(barY - translatedThreshold) > minPointLength ? // stacked\n                                yBottom - minPointLength : // keep position\n                                translatedThreshold - (up ? minPointLength : 0); // #1485, #4051\n                        }\n                    }\n\n                    // Cache for access in polar\n                    point.barX = barX;\n                    point.pointWidth = pointWidth;\n\n                    // Fix the tooltip on center of grouped columns (#1216, #424, #3648)\n                    point.tooltipPos = chart.inverted ? [yAxis.len + yAxis.pos - chart.plotLeft - plotY, series.xAxis.len - barX - barW / 2, barH] : [barX + barW / 2, plotY + yAxis.pos - chart.plotTop, barH];\n\n                    // Register shape type and arguments to be used in drawPoints\n                    point.shapeType = 'rect';\n                    point.shapeArgs = series.crispCol.apply(\n                        series,\n                        point.isNull ? [point.plotX, yAxis.len / 2, 0, 0] : // #3169, drilldown from null must have a position to work from\n                        [barX, barY, barW, barH]\n                    );\n                });\n\n            },\n\n            getSymbol: noop,\n\n            /**\n             * Use a solid rectangle like the area series types\n             */\n            drawLegendSymbol: LegendSymbolMixin.drawRectangle,\n\n\n            /**\n             * Columns have no graph\n             */\n            drawGraph: function() {\n                this.group[this.dense ? 'addClass' : 'removeClass']('highcharts-dense-data');\n            },\n\n\n            /**\n             * Get presentational attributes\n             */\n            pointAttribs: function(point, state) {\n                var options = this.options,\n                    stateOptions,\n                    ret,\n                    p2o = this.pointAttrToOptions || {},\n                    strokeOption = p2o.stroke || 'borderColor',\n                    strokeWidthOption = p2o['stroke-width'] || 'borderWidth',\n                    fill = (point && point.color) || this.color,\n                    stroke = point[strokeOption] || options[strokeOption] ||\n                    this.color || fill, // set to fill when borderColor null\n                    strokeWidth = point[strokeWidthOption] ||\n                    options[strokeWidthOption] || this[strokeWidthOption] || 0,\n                    dashstyle = options.dashStyle,\n                    zone,\n                    brightness;\n\n                // Handle zone colors\n                if (point && this.zones.length) {\n                    zone = point.getZone();\n                    fill = (zone && zone.color) || point.options.color || this.color; // When zones are present, don't use point.color (#4267)\n                }\n\n                // Select or hover states\n                if (state) {\n                    stateOptions = merge(\n                        options.states[state],\n                        point.options.states && point.options.states[state] || {} // #6401\n                    );\n                    brightness = stateOptions.brightness;\n                    fill = stateOptions.color ||\n                        (brightness !== undefined && color(fill).brighten(stateOptions.brightness).get()) ||\n                        fill;\n                    stroke = stateOptions[strokeOption] || stroke;\n                    strokeWidth = stateOptions[strokeWidthOption] || strokeWidth;\n                    dashstyle = stateOptions.dashStyle || dashstyle;\n                }\n\n                ret = {\n                    'fill': fill,\n                    'stroke': stroke,\n                    'stroke-width': strokeWidth\n                };\n                if (options.borderRadius) {\n                    ret.r = options.borderRadius;\n                }\n\n                if (dashstyle) {\n                    ret.dashstyle = dashstyle;\n                }\n\n                return ret;\n            },\n\n\n            /**\n             * Draw the columns. For bars, the series.group is rotated, so the same coordinates\n             * apply for columns and bars. This method is inherited by scatter series.\n             *\n             */\n            drawPoints: function() {\n                var series = this,\n                    chart = this.chart,\n                    options = series.options,\n                    renderer = chart.renderer,\n                    animationLimit = options.animationLimit || 250,\n                    shapeArgs;\n\n                // draw the columns\n                each(series.points, function(point) {\n                    var plotY = point.plotY,\n                        graphic = point.graphic;\n\n                    if (isNumber(plotY) && point.y !== null) {\n                        shapeArgs = point.shapeArgs;\n\n                        if (graphic) { // update\n                            graphic[chart.pointCount < animationLimit ? 'animate' : 'attr'](\n                                merge(shapeArgs)\n                            );\n\n                        } else {\n                            point.graphic = graphic = renderer[point.shapeType](shapeArgs)\n                                .add(point.group || series.group);\n                        }\n\n\n                        // Presentational\n                        graphic\n                            .attr(series.pointAttribs(point, point.selected && 'select'))\n                            .shadow(options.shadow, null, options.stacking && !options.borderRadius);\n\n\n                        graphic.addClass(point.getClassName(), true);\n\n\n                    } else if (graphic) {\n                        point.graphic = graphic.destroy(); // #1269\n                    }\n                });\n            },\n\n            /**\n             * Animate the column heights one by one from zero\n             * @param {Boolean} init Whether to initialize the animation or run it\n             */\n            animate: function(init) {\n                var series = this,\n                    yAxis = this.yAxis,\n                    options = series.options,\n                    inverted = this.chart.inverted,\n                    attr = {},\n                    translatedThreshold;\n\n                if (svg) { // VML is too slow anyway\n                    if (init) {\n                        attr.scaleY = 0.001;\n                        translatedThreshold = Math.min(yAxis.pos + yAxis.len, Math.max(yAxis.pos, yAxis.toPixels(options.threshold)));\n                        if (inverted) {\n                            attr.translateX = translatedThreshold - yAxis.len;\n                        } else {\n                            attr.translateY = translatedThreshold;\n                        }\n                        series.group.attr(attr);\n\n                    } else { // run the animation\n\n                        attr[inverted ? 'translateX' : 'translateY'] = yAxis.pos;\n                        series.group.animate(attr, extend(animObject(series.options.animation), {\n                            // Do the scale synchronously to ensure smooth updating (#5030)\n                            step: function(val, fx) {\n                                series.group.attr({\n                                    scaleY: Math.max(0.001, fx.pos) // #5250\n                                });\n                            }\n                        }));\n\n                        // delete this function to allow it only once\n                        series.animate = null;\n                    }\n                }\n            },\n\n            /**\n             * Remove this series from the chart\n             */\n            remove: function() {\n                var series = this,\n                    chart = series.chart;\n\n                // column and bar series affects other series of the same type\n                // as they are either stacked or grouped\n                if (chart.hasRendered) {\n                    each(chart.series, function(otherSeries) {\n                        if (otherSeries.type === series.type) {\n                            otherSeries.isDirty = true;\n                        }\n                    });\n                }\n\n                Series.prototype.remove.apply(series, arguments);\n            }\n        });\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n\n        var seriesType = H.seriesType;\n\n        /**\n         * The Bar series class\n         */\n        seriesType('bar', 'column', null, {\n            inverted: true\n        });\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var Series = H.Series,\n            seriesType = H.seriesType;\n        /**\n         * The scatter series type\n         */\n        seriesType('scatter', 'line', {\n            lineWidth: 0,\n            findNearestPointBy: 'xy',\n            marker: {\n                enabled: true // Overrides auto-enabling in line series (#3647)\n            },\n            tooltip: {\n\n                headerFormat: '<span style=\"color:{point.color}\">\\u25CF</span> ' +\n                    '<span style=\"font-size: 0.85em\"> {series.name}</span><br/>',\n\n                pointFormat: 'x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>'\n            }\n\n            // Prototype members\n        }, {\n            sorted: false,\n            requireSorting: false,\n            noSharedTooltip: true,\n            trackerGroups: ['group', 'markerGroup', 'dataLabelsGroup'],\n            takeOrdinalPosition: false, // #2342\n            drawGraph: function() {\n                if (this.options.lineWidth) {\n                    Series.prototype.drawGraph.call(this);\n                }\n            }\n        });\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var pick = H.pick,\n            relativeLength = H.relativeLength;\n\n        H.CenteredSeriesMixin = {\n            /**\n             * Get the center of the pie based on the size and center options relative to the\n             * plot area. Borrowed by the polar and gauge series types.\n             */\n            getCenter: function() {\n\n                var options = this.options,\n                    chart = this.chart,\n                    slicingRoom = 2 * (options.slicedOffset || 0),\n                    handleSlicingRoom,\n                    plotWidth = chart.plotWidth - 2 * slicingRoom,\n                    plotHeight = chart.plotHeight - 2 * slicingRoom,\n                    centerOption = options.center,\n                    positions = [pick(centerOption[0], '50%'), pick(centerOption[1], '50%'), options.size || '100%', options.innerSize || 0],\n                    smallestSize = Math.min(plotWidth, plotHeight),\n                    i,\n                    value;\n\n                for (i = 0; i < 4; ++i) {\n                    value = positions[i];\n                    handleSlicingRoom = i < 2 || (i === 2 && /%$/.test(value));\n\n                    // i == 0: centerX, relative to width\n                    // i == 1: centerY, relative to height\n                    // i == 2: size, relative to smallestSize\n                    // i == 3: innerSize, relative to size\n                    positions[i] = relativeLength(value, [plotWidth, plotHeight, smallestSize, positions[2]][i]) +\n                        (handleSlicingRoom ? slicingRoom : 0);\n\n                }\n                // innerSize cannot be larger than size (#3632)\n                if (positions[3] > positions[2]) {\n                    positions[3] = positions[2];\n                }\n                return positions;\n            }\n        };\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var addEvent = H.addEvent,\n            CenteredSeriesMixin = H.CenteredSeriesMixin,\n            defined = H.defined,\n            each = H.each,\n            extend = H.extend,\n            inArray = H.inArray,\n            LegendSymbolMixin = H.LegendSymbolMixin,\n            noop = H.noop,\n            pick = H.pick,\n            Point = H.Point,\n            Series = H.Series,\n            seriesType = H.seriesType,\n            seriesTypes = H.seriesTypes,\n            setAnimation = H.setAnimation;\n\n        /**\n         * The pie series type.\n         *\n         * @constructor seriesTypes.pie\n         * @augments Series\n         */\n        seriesType('pie', 'line', {\n            center: [null, null],\n            clip: false,\n            colorByPoint: true, // always true for pies\n            dataLabels: {\n                // align: null,\n                // connectorWidth: 1,\n                // connectorColor: point.color,\n                // connectorPadding: 5,\n                distance: 30,\n                enabled: true,\n                formatter: function() { // #2945\n                    return this.y === null ? undefined : this.point.name;\n                },\n                // softConnector: true,\n                x: 0\n                // y: 0\n            },\n            ignoreHiddenPoint: true,\n            //innerSize: 0,\n            legendType: 'point',\n            marker: null, // point options are specified in the base options\n            size: null,\n            showInLegend: false,\n            slicedOffset: 10,\n            stickyTracking: false,\n            tooltip: {\n                followPointer: true\n            },\n\n            borderColor: '#ffffff',\n            borderWidth: 1,\n            states: {\n                hover: {\n                    brightness: 0.1,\n                    shadow: false\n                }\n            }\n\n\n        }, /** @lends seriesTypes.pie.prototype */ {\n            isCartesian: false,\n            requireSorting: false,\n            directTouch: true,\n            noSharedTooltip: true,\n            trackerGroups: ['group', 'dataLabelsGroup'],\n            axisTypes: [],\n            pointAttribs: seriesTypes.column.prototype.pointAttribs,\n            /**\n             * Animate the pies in\n             */\n            animate: function(init) {\n                var series = this,\n                    points = series.points,\n                    startAngleRad = series.startAngleRad;\n\n                if (!init) {\n                    each(points, function(point) {\n                        var graphic = point.graphic,\n                            args = point.shapeArgs;\n\n                        if (graphic) {\n                            // start values\n                            graphic.attr({\n                                r: point.startR || (series.center[3] / 2), // animate from inner radius (#779)\n                                start: startAngleRad,\n                                end: startAngleRad\n                            });\n\n                            // animate\n                            graphic.animate({\n                                r: args.r,\n                                start: args.start,\n                                end: args.end\n                            }, series.options.animation);\n                        }\n                    });\n\n                    // delete this function to allow it only once\n                    series.animate = null;\n                }\n            },\n\n            /**\n             * Recompute total chart sum and update percentages of points.\n             */\n            updateTotals: function() {\n                var i,\n                    total = 0,\n                    points = this.points,\n                    len = points.length,\n                    point,\n                    ignoreHiddenPoint = this.options.ignoreHiddenPoint;\n\n                // Get the total sum\n                for (i = 0; i < len; i++) {\n                    point = points[i];\n                    // Disallow negative values (#1530, #3623, #5322)\n                    if (point.y < 0) {\n                        point.y = null;\n                    }\n                    total += (ignoreHiddenPoint && !point.visible) ? 0 : point.y;\n                }\n                this.total = total;\n\n                // Set each point's properties\n                for (i = 0; i < len; i++) {\n                    point = points[i];\n                    point.percentage = (total > 0 && (point.visible || !ignoreHiddenPoint)) ? point.y / total * 100 : 0;\n                    point.total = total;\n                }\n            },\n\n            /**\n             * Extend the generatePoints method by adding total and percentage properties to each point\n             */\n            generatePoints: function() {\n                Series.prototype.generatePoints.call(this);\n                this.updateTotals();\n            },\n\n            /**\n             * Do translation for pie slices\n             */\n            translate: function(positions) {\n                this.generatePoints();\n\n                var series = this,\n                    cumulative = 0,\n                    precision = 1000, // issue #172\n                    options = series.options,\n                    slicedOffset = options.slicedOffset,\n                    connectorOffset = slicedOffset + (options.borderWidth || 0),\n                    start,\n                    end,\n                    angle,\n                    startAngle = options.startAngle || 0,\n                    startAngleRad = series.startAngleRad = Math.PI / 180 * (startAngle - 90),\n                    endAngleRad = series.endAngleRad = Math.PI / 180 * ((pick(options.endAngle, startAngle + 360)) - 90),\n                    circ = endAngleRad - startAngleRad, //2 * Math.PI,\n                    points = series.points,\n                    radiusX, // the x component of the radius vector for a given point\n                    radiusY,\n                    labelDistance = options.dataLabels.distance,\n                    ignoreHiddenPoint = options.ignoreHiddenPoint,\n                    i,\n                    len = points.length,\n                    point;\n\n                // Get positions - either an integer or a percentage string must be given.\n                // If positions are passed as a parameter, we're in a recursive loop for adjusting\n                // space for data labels.\n                if (!positions) {\n                    series.center = positions = series.getCenter();\n                }\n\n                // utility for getting the x value from a given y, used for anticollision logic in data labels\n                series.getX = function(y, left) {\n\n                    angle = Math.asin(Math.min((y - positions[1]) / (positions[2] / 2 + labelDistance), 1));\n\n                    return positions[0] +\n                        (left ? -1 : 1) *\n                        (Math.cos(angle) * (positions[2] / 2 + labelDistance));\n                };\n\n                // Calculate the geometry for each point\n                for (i = 0; i < len; i++) {\n\n                    point = points[i];\n\n                    // set start and end angle\n                    start = startAngleRad + (cumulative * circ);\n                    if (!ignoreHiddenPoint || point.visible) {\n                        cumulative += point.percentage / 100;\n                    }\n                    end = startAngleRad + (cumulative * circ);\n\n                    // set the shape\n                    point.shapeType = 'arc';\n                    point.shapeArgs = {\n                        x: positions[0],\n                        y: positions[1],\n                        r: positions[2] / 2,\n                        innerR: positions[3] / 2,\n                        start: Math.round(start * precision) / precision,\n                        end: Math.round(end * precision) / precision\n                    };\n\n                    // The angle must stay within -90 and 270 (#2645)\n                    angle = (end + start) / 2;\n                    if (angle > 1.5 * Math.PI) {\n                        angle -= 2 * Math.PI;\n                    } else if (angle < -Math.PI / 2) {\n                        angle += 2 * Math.PI;\n                    }\n\n                    // Center for the sliced out slice\n                    point.slicedTranslation = {\n                        translateX: Math.round(Math.cos(angle) * slicedOffset),\n                        translateY: Math.round(Math.sin(angle) * slicedOffset)\n                    };\n\n                    // set the anchor point for tooltips\n                    radiusX = Math.cos(angle) * positions[2] / 2;\n                    radiusY = Math.sin(angle) * positions[2] / 2;\n                    point.tooltipPos = [\n                        positions[0] + radiusX * 0.7,\n                        positions[1] + radiusY * 0.7\n                    ];\n\n                    point.half = angle < -Math.PI / 2 || angle > Math.PI / 2 ? 1 : 0;\n                    point.angle = angle;\n\n                    // set the anchor point for data labels\n                    connectorOffset = Math.min(connectorOffset, labelDistance / 5); // #1678\n                    point.labelPos = [\n                        positions[0] + radiusX + Math.cos(angle) * labelDistance, // first break of connector\n                        positions[1] + radiusY + Math.sin(angle) * labelDistance, // a/a\n                        positions[0] + radiusX + Math.cos(angle) * connectorOffset, // second break, right outside pie\n                        positions[1] + radiusY + Math.sin(angle) * connectorOffset, // a/a\n                        positions[0] + radiusX, // landing point for connector\n                        positions[1] + radiusY, // a/a\n                        labelDistance < 0 ? // alignment\n                        'center' :\n                        point.half ? 'right' : 'left', // alignment\n                        angle // center angle\n                    ];\n\n                }\n            },\n\n            drawGraph: null,\n\n            /**\n             * Draw the data points\n             */\n            drawPoints: function() {\n                var series = this,\n                    chart = series.chart,\n                    renderer = chart.renderer,\n                    groupTranslation,\n                    //center,\n                    graphic,\n                    //group,\n                    pointAttr,\n                    shapeArgs;\n\n\n                var shadow = series.options.shadow;\n                if (shadow && !series.shadowGroup) {\n                    series.shadowGroup = renderer.g('shadow')\n                        .add(series.group);\n                }\n\n\n                // draw the slices\n                each(series.points, function(point) {\n                    if (point.y !== null) {\n                        graphic = point.graphic;\n                        shapeArgs = point.shapeArgs;\n\n\n                        // If the point is sliced, use special translation, else use\n                        // plot area traslation\n                        groupTranslation = point.getTranslate();\n\n\n                        // Put the shadow behind all points\n                        var shadowGroup = point.shadowGroup;\n                        if (shadow && !shadowGroup) {\n                            shadowGroup = point.shadowGroup = renderer.g('shadow')\n                                .add(series.shadowGroup);\n                        }\n\n                        if (shadowGroup) {\n                            shadowGroup.attr(groupTranslation);\n                        }\n                        pointAttr = series.pointAttribs(point, point.selected && 'select');\n\n\n                        // Draw the slice\n                        if (graphic) {\n                            graphic\n                                .setRadialReference(series.center)\n\n                                .attr(pointAttr)\n\n                                .animate(extend(shapeArgs, groupTranslation));\n                        } else {\n\n                            point.graphic = graphic = renderer[point.shapeType](shapeArgs)\n                                .setRadialReference(series.center)\n                                .attr(groupTranslation)\n                                .add(series.group);\n\n                            if (!point.visible) {\n                                graphic.attr({\n                                    visibility: 'hidden'\n                                });\n                            }\n\n\n                            graphic\n                                .attr(pointAttr)\n                                .attr({\n                                    'stroke-linejoin': 'round'\n                                })\n                                .shadow(shadow, shadowGroup);\n\n                        }\n\n                        graphic.addClass(point.getClassName());\n\n                    }\n                });\n\n            },\n\n\n            searchPoint: noop,\n\n            /**\n             * Utility for sorting data labels\n             */\n            sortByAngle: function(points, sign) {\n                points.sort(function(a, b) {\n                    return a.angle !== undefined && (b.angle - a.angle) * sign;\n                });\n            },\n\n            /**\n             * Use a simple symbol from LegendSymbolMixin\n             */\n            drawLegendSymbol: LegendSymbolMixin.drawRectangle,\n\n            /**\n             * Use the getCenter method from drawLegendSymbol\n             */\n            getCenter: CenteredSeriesMixin.getCenter,\n\n            /**\n             * Pies don't have point marker symbols\n             */\n            getSymbol: noop\n\n\n            /**\n             * @constructor seriesTypes.pie.prototype.pointClass\n             * @extends {Point}\n             */\n        }, /** @lends seriesTypes.pie.prototype.pointClass.prototype */ {\n            /**\n             * Initiate the pie slice\n             */\n            init: function() {\n\n                Point.prototype.init.apply(this, arguments);\n\n                var point = this,\n                    toggleSlice;\n\n                point.name = pick(point.name, 'Slice');\n\n                // add event listener for select\n                toggleSlice = function(e) {\n                    point.slice(e.type === 'select');\n                };\n                addEvent(point, 'select', toggleSlice);\n                addEvent(point, 'unselect', toggleSlice);\n\n                return point;\n            },\n\n            /**\n             * Toggle the visibility of the pie slice\n             * @param {Boolean} vis Whether to show the slice or not. If undefined, the\n             *    visibility is toggled\n             */\n            setVisible: function(vis, redraw) {\n                var point = this,\n                    series = point.series,\n                    chart = series.chart,\n                    ignoreHiddenPoint = series.options.ignoreHiddenPoint;\n\n                redraw = pick(redraw, ignoreHiddenPoint);\n\n                if (vis !== point.visible) {\n\n                    // If called without an argument, toggle visibility\n                    point.visible = point.options.visible = vis = vis === undefined ? !point.visible : vis;\n                    series.options.data[inArray(point, series.data)] = point.options; // update userOptions.data\n\n                    // Show and hide associated elements. This is performed regardless of redraw or not,\n                    // because chart.redraw only handles full series.\n                    each(['graphic', 'dataLabel', 'connector', 'shadowGroup'], function(key) {\n                        if (point[key]) {\n                            point[key][vis ? 'show' : 'hide'](true);\n                        }\n                    });\n\n                    if (point.legendItem) {\n                        chart.legend.colorizeItem(point, vis);\n                    }\n\n                    // #4170, hide halo after hiding point\n                    if (!vis && point.state === 'hover') {\n                        point.setState('');\n                    }\n\n                    // Handle ignore hidden slices\n                    if (ignoreHiddenPoint) {\n                        series.isDirty = true;\n                    }\n\n                    if (redraw) {\n                        chart.redraw();\n                    }\n                }\n            },\n\n            /**\n             * Set or toggle whether the slice is cut out from the pie\n             * @param {Boolean} sliced When undefined, the slice state is toggled\n             * @param {Boolean} redraw Whether to redraw the chart. True by default.\n             */\n            slice: function(sliced, redraw, animation) {\n                var point = this,\n                    series = point.series,\n                    chart = series.chart;\n\n                setAnimation(animation, chart);\n\n                // redraw is true by default\n                redraw = pick(redraw, true);\n\n                // if called without an argument, toggle\n                point.sliced = point.options.sliced = sliced = defined(sliced) ? sliced : !point.sliced;\n                series.options.data[inArray(point, series.data)] = point.options; // update userOptions.data\n\n                point.graphic.animate(this.getTranslate());\n\n\n                if (point.shadowGroup) {\n                    point.shadowGroup.animate(this.getTranslate());\n                }\n\n            },\n\n            getTranslate: function() {\n                return this.sliced ? this.slicedTranslation : {\n                    translateX: 0,\n                    translateY: 0\n                };\n            },\n\n            haloPath: function(size) {\n                var shapeArgs = this.shapeArgs;\n\n                return this.sliced || !this.visible ? [] :\n                    this.series.chart.renderer.symbols.arc(\n                        shapeArgs.x,\n                        shapeArgs.y,\n                        shapeArgs.r + size,\n                        shapeArgs.r + size, {\n                            innerR: this.shapeArgs.r,\n                            start: shapeArgs.start,\n                            end: shapeArgs.end\n                        }\n                    );\n            }\n        });\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var addEvent = H.addEvent,\n            arrayMax = H.arrayMax,\n            defined = H.defined,\n            each = H.each,\n            extend = H.extend,\n            format = H.format,\n            map = H.map,\n            merge = H.merge,\n            noop = H.noop,\n            pick = H.pick,\n            relativeLength = H.relativeLength,\n            Series = H.Series,\n            seriesTypes = H.seriesTypes,\n            stableSort = H.stableSort;\n\n\n        /**\n         * Generatl distribution algorithm for distributing labels of differing size along a\n         * confined length in two dimensions. The algorithm takes an array of objects containing\n         * a size, a target and a rank. It will place the labels as close as possible to their \n         * targets, skipping the lowest ranked labels if necessary.\n         */\n        H.distribute = function(boxes, len) {\n\n            var i,\n                overlapping = true,\n                origBoxes = boxes, // Original array will be altered with added .pos\n                restBoxes = [], // The outranked overshoot\n                box,\n                target,\n                total = 0;\n\n            function sortByTarget(a, b) {\n                return a.target - b.target;\n            }\n\n            // If the total size exceeds the len, remove those boxes with the lowest rank\n            i = boxes.length;\n            while (i--) {\n                total += boxes[i].size;\n            }\n\n            // Sort by rank, then slice away overshoot\n            if (total > len) {\n                stableSort(boxes, function(a, b) {\n                    return (b.rank || 0) - (a.rank || 0);\n                });\n                i = 0;\n                total = 0;\n                while (total <= len) {\n                    total += boxes[i].size;\n                    i++;\n                }\n                restBoxes = boxes.splice(i - 1, boxes.length);\n            }\n\n            // Order by target\n            stableSort(boxes, sortByTarget);\n\n\n            // So far we have been mutating the original array. Now\n            // create a copy with target arrays\n            boxes = map(boxes, function(box) {\n                return {\n                    size: box.size,\n                    targets: [box.target]\n                };\n            });\n\n            while (overlapping) {\n                // Initial positions: target centered in box\n                i = boxes.length;\n                while (i--) {\n                    box = boxes[i];\n                    // Composite box, average of targets\n                    target = (Math.min.apply(0, box.targets) + Math.max.apply(0, box.targets)) / 2;\n                    box.pos = Math.min(Math.max(0, target - box.size / 2), len - box.size);\n                }\n\n                // Detect overlap and join boxes\n                i = boxes.length;\n                overlapping = false;\n                while (i--) {\n                    if (i > 0 && boxes[i - 1].pos + boxes[i - 1].size > boxes[i].pos) { // Overlap\n                        boxes[i - 1].size += boxes[i].size; // Add this size to the previous box\n                        boxes[i - 1].targets = boxes[i - 1].targets.concat(boxes[i].targets);\n\n                        // Overlapping right, push left\n                        if (boxes[i - 1].pos + boxes[i - 1].size > len) {\n                            boxes[i - 1].pos = len - boxes[i - 1].size;\n                        }\n                        boxes.splice(i, 1); // Remove this item\n                        overlapping = true;\n                    }\n                }\n            }\n\n            // Now the composite boxes are placed, we need to put the original boxes within them\n            i = 0;\n            each(boxes, function(box) {\n                var posInCompositeBox = 0;\n                each(box.targets, function() {\n                    origBoxes[i].pos = box.pos + posInCompositeBox;\n                    posInCompositeBox += origBoxes[i].size;\n                    i++;\n                });\n            });\n\n            // Add the rest (hidden) boxes and sort by target\n            origBoxes.push.apply(origBoxes, restBoxes);\n            stableSort(origBoxes, sortByTarget);\n        };\n\n\n        /**\n         * Draw the data labels\n         */\n        Series.prototype.drawDataLabels = function() {\n            var series = this,\n                seriesOptions = series.options,\n                options = seriesOptions.dataLabels,\n                points = series.points,\n                pointOptions,\n                generalOptions,\n                hasRendered = series.hasRendered || 0,\n                str,\n                dataLabelsGroup,\n                defer = pick(options.defer, true),\n                renderer = series.chart.renderer;\n\n            if (options.enabled || series._hasPointLabels) {\n\n                // Process default alignment of data labels for columns\n                if (series.dlProcessOptions) {\n                    series.dlProcessOptions(options);\n                }\n\n                // Create a separate group for the data labels to avoid rotation\n                dataLabelsGroup = series.plotGroup(\n                    'dataLabelsGroup',\n                    'data-labels',\n                    defer && !hasRendered ? 'hidden' : 'visible', // #5133\n                    options.zIndex || 6\n                );\n\n                if (defer) {\n                    dataLabelsGroup.attr({\n                        opacity: +hasRendered\n                    }); // #3300\n                    if (!hasRendered) {\n                        addEvent(series, 'afterAnimate', function() {\n                            if (series.visible) { // #2597, #3023, #3024\n                                dataLabelsGroup.show(true);\n                            }\n                            dataLabelsGroup[seriesOptions.animation ? 'animate' : 'attr']({\n                                opacity: 1\n                            }, {\n                                duration: 200\n                            });\n                        });\n                    }\n                }\n\n                // Make the labels for each point\n                generalOptions = options;\n                each(points, function(point) {\n                    var enabled,\n                        dataLabel = point.dataLabel,\n                        labelConfig,\n                        attr,\n                        name,\n                        rotation,\n                        connector = point.connector,\n                        isNew = !dataLabel,\n                        style;\n                    // Determine if each data label is enabled\n                    // @note dataLabelAttribs (like pointAttribs) would eradicate\n                    // the need for dlOptions, and simplify the section below.\n                    pointOptions = point.dlOptions || (point.options && point.options.dataLabels); // dlOptions is used in treemaps\n                    enabled = pick(pointOptions && pointOptions.enabled, generalOptions.enabled) && point.y !== null; // #2282, #4641\n                    if (enabled) {\n                        // Create individual options structure that can be extended without\n                        // affecting others\n                        options = merge(generalOptions, pointOptions);\n                        labelConfig = point.getLabelConfig();\n                        str = options.format ?\n                            format(options.format, labelConfig) :\n                            options.formatter.call(labelConfig, options);\n                        style = options.style;\n                        rotation = options.rotation;\n\n                        // Determine the color\n                        style.color = pick(options.color, style.color, series.color, '#000000');\n                        // Get automated contrast color\n                        if (style.color === 'contrast') {\n                            point.contrastColor = renderer.getContrast(point.color || series.color);\n                            style.color = options.inside || options.distance < 0 || !!seriesOptions.stacking ?\n                                point.contrastColor : '#000000';\n                        }\n                        if (seriesOptions.cursor) {\n                            style.cursor = seriesOptions.cursor;\n                        }\n\n\n                        attr = {\n                            //align: align,\n\n                            fill: options.backgroundColor,\n                            stroke: options.borderColor,\n                            'stroke-width': options.borderWidth,\n\n                            r: options.borderRadius || 0,\n                            rotation: rotation,\n                            padding: options.padding,\n                            zIndex: 1\n                        };\n\n                        // Remove unused attributes (#947)\n                        for (name in attr) {\n                            if (attr[name] === undefined) {\n                                delete attr[name];\n                            }\n                        }\n                    }\n                    // If the point is outside the plot area, destroy it. #678, #820\n                    if (dataLabel && (!enabled || !defined(str))) {\n                        point.dataLabel = dataLabel = dataLabel.destroy();\n                        if (connector) {\n                            point.connector = connector.destroy();\n                        }\n                        // Individual labels are disabled if the are explicitly disabled\n                        // in the point options, or if they fall outside the plot area.\n                    } else if (enabled && defined(str)) {\n                        // create new label\n                        if (!dataLabel) {\n                            dataLabel = point.dataLabel = renderer[rotation ? 'text' : 'label']( // labels don't support rotation\n                                str,\n                                0, -9999,\n                                options.shape,\n                                null,\n                                null,\n                                options.useHTML,\n                                null,\n                                'data-label'\n                            );\n                            dataLabel.addClass(\n                                'highcharts-data-label-color-' + point.colorIndex +\n                                ' ' + (options.className || '') +\n                                (options.useHTML ? 'highcharts-tracker' : '') // #3398\n                            );\n                        } else {\n                            attr.text = str;\n                        }\n                        dataLabel.attr(attr);\n\n                        // Styles must be applied before add in order to read text bounding box\n                        dataLabel.css(style).shadow(options.shadow);\n\n\n                        if (!dataLabel.added) {\n                            dataLabel.add(dataLabelsGroup);\n                        }\n                        // Now the data label is created and placed at 0,0, so we need to align it\n                        series.alignDataLabel(point, dataLabel, options, null, isNew);\n                    }\n                });\n            }\n        };\n\n        /**\n         * Align each individual data label\n         */\n        Series.prototype.alignDataLabel = function(point, dataLabel, options, alignTo, isNew) {\n            var chart = this.chart,\n                inverted = chart.inverted,\n                plotX = pick(point.plotX, -9999),\n                plotY = pick(point.plotY, -9999),\n                bBox = dataLabel.getBBox(),\n                fontSize,\n                baseline,\n                rotation = options.rotation,\n                normRotation,\n                negRotation,\n                align = options.align,\n                rotCorr, // rotation correction\n                // Math.round for rounding errors (#2683), alignTo to allow column labels (#2700)\n                visible =\n                this.visible &&\n                (\n                    point.series.forceDL ||\n                    chart.isInsidePlot(plotX, Math.round(plotY), inverted) ||\n                    (\n                        alignTo && chart.isInsidePlot(\n                            plotX,\n                            inverted ? alignTo.x + 1 : alignTo.y + alignTo.height - 1,\n                            inverted\n                        )\n                    )\n                ),\n                alignAttr, // the final position;\n                justify = pick(options.overflow, 'justify') === 'justify';\n\n            if (visible) {\n\n\n                fontSize = options.style.fontSize;\n\n\n                baseline = chart.renderer.fontMetrics(fontSize, dataLabel).b;\n\n                // The alignment box is a singular point\n                alignTo = extend({\n                    x: inverted ? chart.plotWidth - plotY : plotX,\n                    y: Math.round(inverted ? chart.plotHeight - plotX : plotY),\n                    width: 0,\n                    height: 0\n                }, alignTo);\n\n                // Add the text size for alignment calculation\n                extend(options, {\n                    width: bBox.width,\n                    height: bBox.height\n                });\n\n                // Allow a hook for changing alignment in the last moment, then do the alignment\n                if (rotation) {\n                    justify = false; // Not supported for rotated text\n                    rotCorr = chart.renderer.rotCorr(baseline, rotation); // #3723\n                    alignAttr = {\n                        x: alignTo.x + options.x + alignTo.width / 2 + rotCorr.x,\n                        y: alignTo.y + options.y + {\n                            top: 0,\n                            middle: 0.5,\n                            bottom: 1\n                        }[options.verticalAlign] * alignTo.height\n                    };\n                    dataLabel[isNew ? 'attr' : 'animate'](alignAttr)\n                        .attr({ // #3003\n                            align: align\n                        });\n\n                    // Compensate for the rotated label sticking out on the sides\n                    normRotation = (rotation + 720) % 360;\n                    negRotation = normRotation > 180 && normRotation < 360;\n\n                    if (align === 'left') {\n                        alignAttr.y -= negRotation ? bBox.height : 0;\n                    } else if (align === 'center') {\n                        alignAttr.x -= bBox.width / 2;\n                        alignAttr.y -= bBox.height / 2;\n                    } else if (align === 'right') {\n                        alignAttr.x -= bBox.width;\n                        alignAttr.y -= negRotation ? 0 : bBox.height;\n                    }\n\n\n                } else {\n                    dataLabel.align(options, null, alignTo);\n                    alignAttr = dataLabel.alignAttr;\n                }\n\n                // Handle justify or crop\n                if (justify) {\n                    point.isLabelJustified = this.justifyDataLabel(\n                        dataLabel,\n                        options,\n                        alignAttr,\n                        bBox,\n                        alignTo,\n                        isNew\n                    );\n\n                    // Now check that the data label is within the plot area\n                } else if (pick(options.crop, true)) {\n                    visible = chart.isInsidePlot(alignAttr.x, alignAttr.y) && chart.isInsidePlot(alignAttr.x + bBox.width, alignAttr.y + bBox.height);\n                }\n\n                // When we're using a shape, make it possible with a connector or an arrow pointing to thie point\n                if (options.shape && !rotation) {\n                    dataLabel.attr({\n                        anchorX: point.plotX,\n                        anchorY: point.plotY\n                    });\n                }\n            }\n\n            // Show or hide based on the final aligned position\n            if (!visible) {\n                dataLabel.attr({\n                    y: -9999\n                });\n                dataLabel.placed = false; // don't animate back in\n            }\n\n        };\n\n        /**\n         * If data labels fall partly outside the plot area, align them back in, in a way that\n         * doesn't hide the point.\n         */\n        Series.prototype.justifyDataLabel = function(dataLabel, options, alignAttr, bBox, alignTo, isNew) {\n            var chart = this.chart,\n                align = options.align,\n                verticalAlign = options.verticalAlign,\n                off,\n                justified,\n                padding = dataLabel.box ? 0 : (dataLabel.padding || 0);\n\n            // Off left\n            off = alignAttr.x + padding;\n            if (off < 0) {\n                if (align === 'right') {\n                    options.align = 'left';\n                } else {\n                    options.x = -off;\n                }\n                justified = true;\n            }\n\n            // Off right\n            off = alignAttr.x + bBox.width - padding;\n            if (off > chart.plotWidth) {\n                if (align === 'left') {\n                    options.align = 'right';\n                } else {\n                    options.x = chart.plotWidth - off;\n                }\n                justified = true;\n            }\n\n            // Off top\n            off = alignAttr.y + padding;\n            if (off < 0) {\n                if (verticalAlign === 'bottom') {\n                    options.verticalAlign = 'top';\n                } else {\n                    options.y = -off;\n                }\n                justified = true;\n            }\n\n            // Off bottom\n            off = alignAttr.y + bBox.height - padding;\n            if (off > chart.plotHeight) {\n                if (verticalAlign === 'top') {\n                    options.verticalAlign = 'bottom';\n                } else {\n                    options.y = chart.plotHeight - off;\n                }\n                justified = true;\n            }\n\n            if (justified) {\n                dataLabel.placed = !isNew;\n                dataLabel.align(options, null, alignTo);\n            }\n\n            return justified;\n        };\n\n        /**\n         * Override the base drawDataLabels method by pie specific functionality\n         */\n        if (seriesTypes.pie) {\n            seriesTypes.pie.prototype.drawDataLabels = function() {\n                var series = this,\n                    data = series.data,\n                    point,\n                    chart = series.chart,\n                    options = series.options.dataLabels,\n                    connectorPadding = pick(options.connectorPadding, 10),\n                    connectorWidth = pick(options.connectorWidth, 1),\n                    plotWidth = chart.plotWidth,\n                    plotHeight = chart.plotHeight,\n                    connector,\n                    distanceOption = options.distance,\n                    seriesCenter = series.center,\n                    radius = seriesCenter[2] / 2,\n                    centerY = seriesCenter[1],\n                    outside = distanceOption > 0,\n                    dataLabel,\n                    dataLabelWidth,\n                    labelPos,\n                    labelHeight,\n                    halves = [ // divide the points into right and left halves for anti collision\n                        [], // right\n                        [] // left\n                    ],\n                    x,\n                    y,\n                    visibility,\n                    j,\n                    overflow = [0, 0, 0, 0]; // top, right, bottom, left\n\n                // get out if not enabled\n                if (!series.visible || (!options.enabled && !series._hasPointLabels)) {\n                    return;\n                }\n\n                // Reset all labels that have been shortened\n                each(data, function(point) {\n                    if (point.dataLabel && point.visible && point.dataLabel.shortened) {\n                        point.dataLabel\n                            .attr({\n                                width: 'auto'\n                            }).css({\n                                width: 'auto',\n                                textOverflow: 'clip'\n                            });\n                        point.dataLabel.shortened = false;\n                    }\n                });\n\n\n                // run parent method\n                Series.prototype.drawDataLabels.apply(series);\n\n                each(data, function(point) {\n                    if (point.dataLabel && point.visible) { // #407, #2510\n\n                        // Arrange points for detection collision\n                        halves[point.half].push(point);\n\n                        // Reset positions (#4905)\n                        point.dataLabel._pos = null;\n                    }\n                });\n\n                /* Loop over the points in each half, starting from the top and bottom\n                 * of the pie to detect overlapping labels.\n                 */\n                each(halves, function(points, i) {\n\n                    var top,\n                        bottom,\n                        length = points.length,\n                        positions,\n                        naturalY,\n                        sideOverflow,\n                        size;\n\n                    if (!length) {\n                        return;\n                    }\n\n                    // Sort by angle\n                    series.sortByAngle(points, i - 0.5);\n\n                    // Only do anti-collision when we are outside the pie and have connectors (#856)\n                    if (distanceOption > 0) {\n                        top = Math.max(0, centerY - radius - distanceOption);\n                        bottom = Math.min(centerY + radius + distanceOption, chart.plotHeight);\n                        positions = map(points, function(point) {\n                            if (point.dataLabel) {\n                                size = point.dataLabel.getBBox().height || 21;\n                                return {\n                                    target: point.labelPos[1] - top + size / 2,\n                                    size: size,\n                                    rank: point.y\n                                };\n                            }\n                        });\n                        H.distribute(positions, bottom + size - top);\n                    }\n\n                    // now the used slots are sorted, fill them up sequentially\n                    for (j = 0; j < length; j++) {\n\n                        point = points[j];\n                        labelPos = point.labelPos;\n                        dataLabel = point.dataLabel;\n                        visibility = point.visible === false ? 'hidden' : 'inherit';\n                        naturalY = labelPos[1];\n\n                        if (positions) {\n                            if (positions[j].pos === undefined) {\n                                visibility = 'hidden';\n                            } else {\n                                labelHeight = positions[j].size;\n                                y = top + positions[j].pos;\n                            }\n\n                        } else {\n                            y = naturalY;\n                        }\n\n                        // get the x - use the natural x position for labels near the top and bottom, to prevent the top\n                        // and botton slice connectors from touching each other on either side\n                        if (options.justify) {\n                            x = seriesCenter[0] + (i ? -1 : 1) * (radius + distanceOption);\n                        } else {\n                            x = series.getX(y < top + 2 || y > bottom - 2 ? naturalY : y, i);\n                        }\n\n\n                        // Record the placement and visibility\n                        dataLabel._attr = {\n                            visibility: visibility,\n                            align: labelPos[6]\n                        };\n                        dataLabel._pos = {\n                            x: x + options.x +\n                                ({\n                                    left: connectorPadding,\n                                    right: -connectorPadding\n                                }[labelPos[6]] || 0),\n                            y: y + options.y - 10 // 10 is for the baseline (label vs text)\n                        };\n                        labelPos.x = x;\n                        labelPos.y = y;\n\n\n                        // Detect overflowing data labels\n                        if (series.options.size === null) {\n                            dataLabelWidth = dataLabel.getBBox().width;\n\n                            sideOverflow = null;\n                            // Overflow left\n                            if (x - dataLabelWidth < connectorPadding) {\n                                sideOverflow = Math.round(\n                                    dataLabelWidth - x + connectorPadding\n                                );\n                                overflow[3] = Math.max(sideOverflow, overflow[3]);\n\n                                // Overflow right\n                            } else if (x + dataLabelWidth > plotWidth - connectorPadding) {\n                                sideOverflow = Math.round(\n                                    x + dataLabelWidth - plotWidth + connectorPadding\n                                );\n                                overflow[1] = Math.max(sideOverflow, overflow[1]);\n                            }\n\n                            // Overflow top\n                            if (y - labelHeight / 2 < 0) {\n                                overflow[0] = Math.max(\n                                    Math.round(-y + labelHeight / 2),\n                                    overflow[0]\n                                );\n\n                                // Overflow left\n                            } else if (y + labelHeight / 2 > plotHeight) {\n                                overflow[2] = Math.max(\n                                    Math.round(y + labelHeight / 2 - plotHeight),\n                                    overflow[2]\n                                );\n                            }\n                            dataLabel.sideOverflow = sideOverflow;\n                        }\n                    } // for each point\n                }); // for each half\n\n                // Do not apply the final placement and draw the connectors until we have verified\n                // that labels are not spilling over.\n                if (arrayMax(overflow) === 0 || this.verifyDataLabelOverflow(overflow)) {\n\n                    // Place the labels in the final position\n                    this.placeDataLabels();\n\n                    // Draw the connectors\n                    if (outside && connectorWidth) {\n                        each(this.points, function(point) {\n                            var isNew;\n\n                            connector = point.connector;\n                            dataLabel = point.dataLabel;\n\n                            if (dataLabel && dataLabel._pos && point.visible) {\n                                visibility = dataLabel._attr.visibility;\n\n                                isNew = !connector;\n\n                                if (isNew) {\n                                    point.connector = connector = chart.renderer.path()\n                                        .addClass('highcharts-data-label-connector highcharts-color-' + point.colorIndex)\n                                        .add(series.dataLabelsGroup);\n\n\n                                    connector.attr({\n                                        'stroke-width': connectorWidth,\n                                        'stroke': options.connectorColor || point.color || '#666666'\n                                    });\n\n                                }\n                                connector[isNew ? 'attr' : 'animate']({\n                                    d: series.connectorPath(point.labelPos)\n                                });\n                                connector.attr('visibility', visibility);\n\n                            } else if (connector) {\n                                point.connector = connector.destroy();\n                            }\n                        });\n                    }\n                }\n            };\n\n            /**\n             * Extendable method for getting the path of the connector between the data label\n             * and the pie slice.\n             */\n            seriesTypes.pie.prototype.connectorPath = function(labelPos) {\n                var x = labelPos.x,\n                    y = labelPos.y;\n                return pick(this.options.dataLabels.softConnector, true) ? [\n                    'M',\n                    x + (labelPos[6] === 'left' ? 5 : -5), y, // end of the string at the label\n                    'C',\n                    x, y, // first break, next to the label\n                    2 * labelPos[2] - labelPos[4], 2 * labelPos[3] - labelPos[5],\n                    labelPos[2], labelPos[3], // second break\n                    'L',\n                    labelPos[4], labelPos[5] // base\n                ] : [\n                    'M',\n                    x + (labelPos[6] === 'left' ? 5 : -5), y, // end of the string at the label\n                    'L',\n                    labelPos[2], labelPos[3], // second break\n                    'L',\n                    labelPos[4], labelPos[5] // base\n                ];\n            };\n\n            /**\n             * Perform the final placement of the data labels after we have verified that they\n             * fall within the plot area.\n             */\n            seriesTypes.pie.prototype.placeDataLabels = function() {\n                each(this.points, function(point) {\n                    var dataLabel = point.dataLabel,\n                        _pos;\n                    if (dataLabel && point.visible) {\n                        _pos = dataLabel._pos;\n                        if (_pos) {\n\n                            // Shorten data labels with ellipsis if they still overflow\n                            // after the pie has reached minSize (#223).\n                            if (dataLabel.sideOverflow) {\n                                dataLabel._attr.width =\n                                    dataLabel.getBBox().width - dataLabel.sideOverflow;\n                                dataLabel.css({\n                                    width: dataLabel._attr.width + 'px',\n                                    textOverflow: 'ellipsis'\n                                });\n                                dataLabel.shortened = true;\n                            }\n\n                            dataLabel.attr(dataLabel._attr);\n                            dataLabel[dataLabel.moved ? 'animate' : 'attr'](_pos);\n                            dataLabel.moved = true;\n                        } else if (dataLabel) {\n                            dataLabel.attr({\n                                y: -9999\n                            });\n                        }\n                    }\n                }, this);\n            };\n\n            seriesTypes.pie.prototype.alignDataLabel = noop;\n\n            /**\n             * Verify whether the data labels are allowed to draw, or we should run more translation and data\n             * label positioning to keep them inside the plot area. Returns true when data labels are ready\n             * to draw.\n             */\n            seriesTypes.pie.prototype.verifyDataLabelOverflow = function(overflow) {\n\n                var center = this.center,\n                    options = this.options,\n                    centerOption = options.center,\n                    minSize = options.minSize || 80,\n                    newSize = minSize,\n                    ret;\n\n                // Handle horizontal size and center\n                if (centerOption[0] !== null) { // Fixed center\n                    newSize = Math.max(center[2] - Math.max(overflow[1], overflow[3]), minSize);\n\n                } else { // Auto center\n                    newSize = Math.max(\n                        center[2] - overflow[1] - overflow[3], // horizontal overflow\n                        minSize\n                    );\n                    center[0] += (overflow[3] - overflow[1]) / 2; // horizontal center\n                }\n\n                // Handle vertical size and center\n                if (centerOption[1] !== null) { // Fixed center\n                    newSize = Math.max(Math.min(newSize, center[2] - Math.max(overflow[0], overflow[2])), minSize);\n\n                } else { // Auto center\n                    newSize = Math.max(\n                        Math.min(\n                            newSize,\n                            center[2] - overflow[0] - overflow[2] // vertical overflow\n                        ),\n                        minSize\n                    );\n                    center[1] += (overflow[0] - overflow[2]) / 2; // vertical center\n                }\n\n                // If the size must be decreased, we need to run translate and drawDataLabels again\n                if (newSize < center[2]) {\n                    center[2] = newSize;\n                    center[3] = Math.min(relativeLength(options.innerSize || 0, newSize), newSize); // #3632\n                    this.translate(center);\n\n                    if (this.drawDataLabels) {\n                        this.drawDataLabels();\n                    }\n                    // Else, return true to indicate that the pie and its labels is within the plot area\n                } else {\n                    ret = true;\n                }\n                return ret;\n            };\n        }\n\n        if (seriesTypes.column) {\n\n            /**\n             * Override the basic data label alignment by adjusting for the position of the column\n             */\n            seriesTypes.column.prototype.alignDataLabel = function(point, dataLabel, options, alignTo, isNew) {\n                var inverted = this.chart.inverted,\n                    series = point.series,\n                    dlBox = point.dlBox || point.shapeArgs, // data label box for alignment\n                    below = pick(point.below, point.plotY > pick(this.translatedThreshold, series.yAxis.len)), // point.below is used in range series\n                    inside = pick(options.inside, !!this.options.stacking), // draw it inside the box?\n                    overshoot;\n\n                // Align to the column itself, or the top of it\n                if (dlBox) { // Area range uses this method but not alignTo\n                    alignTo = merge(dlBox);\n\n                    if (alignTo.y < 0) {\n                        alignTo.height += alignTo.y;\n                        alignTo.y = 0;\n                    }\n                    overshoot = alignTo.y + alignTo.height - series.yAxis.len;\n                    if (overshoot > 0) {\n                        alignTo.height -= overshoot;\n                    }\n\n                    if (inverted) {\n                        alignTo = {\n                            x: series.yAxis.len - alignTo.y - alignTo.height,\n                            y: series.xAxis.len - alignTo.x - alignTo.width,\n                            width: alignTo.height,\n                            height: alignTo.width\n                        };\n                    }\n\n                    // Compute the alignment box\n                    if (!inside) {\n                        if (inverted) {\n                            alignTo.x += below ? 0 : alignTo.width;\n                            alignTo.width = 0;\n                        } else {\n                            alignTo.y += below ? alignTo.height : 0;\n                            alignTo.height = 0;\n                        }\n                    }\n                }\n\n\n                // When alignment is undefined (typically columns and bars), display the individual\n                // point below or above the point depending on the threshold\n                options.align = pick(\n                    options.align, !inverted || inside ? 'center' : below ? 'right' : 'left'\n                );\n                options.verticalAlign = pick(\n                    options.verticalAlign,\n                    inverted || inside ? 'middle' : below ? 'top' : 'bottom'\n                );\n\n                // Call the parent method\n                Series.prototype.alignDataLabel.call(this, point, dataLabel, options, alignTo, isNew);\n\n                // If label was justified and we have contrast, set it:\n                if (point.isLabelJustified && point.contrastColor) {\n                    point.dataLabel.css({\n                        color: point.contrastColor\n                    });\n                }\n            };\n        }\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2009-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        /**\n         * Highcharts module to hide overlapping data labels. This module is included in\n         * Highcharts.\n         */\n        var Chart = H.Chart,\n            each = H.each,\n            pick = H.pick,\n            addEvent = H.addEvent;\n\n        // Collect potensial overlapping data labels. Stack labels probably don't need\n        // to be considered because they are usually accompanied by data labels that lie\n        // inside the columns.\n        Chart.prototype.callbacks.push(function(chart) {\n            function collectAndHide() {\n                var labels = [];\n\n                each(chart.series || [], function(series) {\n                    var dlOptions = series.options.dataLabels,\n                        // Range series have two collections\n                        collections = series.dataLabelCollections || ['dataLabel'];\n\n                    if (\n                        (dlOptions.enabled || series._hasPointLabels) &&\n                        !dlOptions.allowOverlap &&\n                        series.visible\n                    ) { // #3866\n                        each(collections, function(coll) {\n                            each(series.points, function(point) {\n                                if (point[coll]) {\n                                    point[coll].labelrank = pick(\n                                        point.labelrank,\n                                        point.shapeArgs && point.shapeArgs.height\n                                    ); // #4118\n                                    labels.push(point[coll]);\n                                }\n                            });\n                        });\n                    }\n                });\n                chart.hideOverlappingLabels(labels);\n            }\n\n            // Do it now ...\n            collectAndHide();\n\n            // ... and after each chart redraw\n            addEvent(chart, 'redraw', collectAndHide);\n\n        });\n\n        /**\n         * Hide overlapping labels. Labels are moved and faded in and out on zoom to\n         * provide a smooth visual imression.\n         */\n        Chart.prototype.hideOverlappingLabels = function(labels) {\n\n            var len = labels.length,\n                label,\n                i,\n                j,\n                label1,\n                label2,\n                isIntersecting,\n                pos1,\n                pos2,\n                parent1,\n                parent2,\n                padding,\n                intersectRect = function(x1, y1, w1, h1, x2, y2, w2, h2) {\n                    return !(\n                        x2 > x1 + w1 ||\n                        x2 + w2 < x1 ||\n                        y2 > y1 + h1 ||\n                        y2 + h2 < y1\n                    );\n                };\n\n            // Mark with initial opacity\n            for (i = 0; i < len; i++) {\n                label = labels[i];\n                if (label) {\n                    label.oldOpacity = label.opacity;\n                    label.newOpacity = 1;\n                }\n            }\n\n            // Prevent a situation in a gradually rising slope, that each label will\n            // hide the previous one because the previous one always has lower rank.\n            labels.sort(function(a, b) {\n                return (b.labelrank || 0) - (a.labelrank || 0);\n            });\n\n            // Detect overlapping labels\n            for (i = 0; i < len; i++) {\n                label1 = labels[i];\n\n                for (j = i + 1; j < len; ++j) {\n                    label2 = labels[j];\n                    if (\n                        label1 && label2 &&\n                        label1 !== label2 && // #6465, polar chart with connectEnds\n                        label1.placed && label2.placed &&\n                        label1.newOpacity !== 0 && label2.newOpacity !== 0\n                    ) {\n                        pos1 = label1.alignAttr;\n                        pos2 = label2.alignAttr;\n                        // Different panes have different positions\n                        parent1 = label1.parentGroup;\n                        parent2 = label2.parentGroup;\n                        // Substract the padding if no background or border (#4333)\n                        padding = 2 * (label1.box ? 0 : label1.padding);\n                        isIntersecting = intersectRect(\n                            pos1.x + parent1.translateX,\n                            pos1.y + parent1.translateY,\n                            label1.width - padding,\n                            label1.height - padding,\n                            pos2.x + parent2.translateX,\n                            pos2.y + parent2.translateY,\n                            label2.width - padding,\n                            label2.height - padding\n                        );\n\n                        if (isIntersecting) {\n                            (label1.labelrank < label2.labelrank ? label1 : label2)\n                            .newOpacity = 0;\n                        }\n                    }\n                }\n            }\n\n            // Hide or show\n            each(labels, function(label) {\n                var complete,\n                    newOpacity;\n\n                if (label) {\n                    newOpacity = label.newOpacity;\n\n                    if (label.oldOpacity !== newOpacity && label.placed) {\n\n                        // Make sure the label is completely hidden to avoid catching\n                        // clicks (#4362)\n                        if (newOpacity) {\n                            label.show(true);\n                        } else {\n                            complete = function() {\n                                label.hide();\n                            };\n                        }\n\n                        // Animate or set the opacity\t\t\t\t\t\n                        label.alignAttr.opacity = newOpacity;\n                        label[label.isOld ? 'animate' : 'attr'](\n                            label.alignAttr,\n                            null,\n                            complete\n                        );\n\n                    }\n                    label.isOld = true;\n                }\n            });\n        };\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var addEvent = H.addEvent,\n            Chart = H.Chart,\n            createElement = H.createElement,\n            css = H.css,\n            defaultOptions = H.defaultOptions,\n            defaultPlotOptions = H.defaultPlotOptions,\n            each = H.each,\n            extend = H.extend,\n            fireEvent = H.fireEvent,\n            hasTouch = H.hasTouch,\n            inArray = H.inArray,\n            isObject = H.isObject,\n            Legend = H.Legend,\n            merge = H.merge,\n            pick = H.pick,\n            Point = H.Point,\n            Series = H.Series,\n            seriesTypes = H.seriesTypes,\n            svg = H.svg,\n            TrackerMixin;\n\n        /**\n         * TrackerMixin for points and graphs.\n         *\n         * @mixin\n         */\n        TrackerMixin = H.TrackerMixin = {\n\n            /**\n             * Draw the tracker for a point.\n             */\n            drawTrackerPoint: function() {\n                var series = this,\n                    chart = series.chart,\n                    pointer = chart.pointer,\n                    onMouseOver = function(e) {\n                        var point = pointer.getPointFromEvent(e);\n\n                        // undefined on graph in scatterchart\n                        if (point !== undefined) {\n                            point.onMouseOver(e);\n                        }\n                    };\n\n                // Add reference to the point\n                each(series.points, function(point) {\n                    if (point.graphic) {\n                        point.graphic.element.point = point;\n                    }\n                    if (point.dataLabel) {\n                        if (point.dataLabel.div) {\n                            point.dataLabel.div.point = point;\n                        } else {\n                            point.dataLabel.element.point = point;\n                        }\n                    }\n                });\n\n                // Add the event listeners, we need to do this only once\n                if (!series._hasTracking) {\n                    each(series.trackerGroups, function(key) {\n                        if (series[key]) { // we don't always have dataLabelsGroup\n                            series[key]\n                                .addClass('highcharts-tracker')\n                                .on('mouseover', onMouseOver)\n                                .on('mouseout', function(e) {\n                                    pointer.onTrackerMouseOut(e);\n                                });\n                            if (hasTouch) {\n                                series[key].on('touchstart', onMouseOver);\n                            }\n\n\n                            if (series.options.cursor) {\n                                series[key]\n                                    .css(css)\n                                    .css({\n                                        cursor: series.options.cursor\n                                    });\n                            }\n\n                        }\n                    });\n                    series._hasTracking = true;\n                }\n            },\n\n            /**\n             * Draw the tracker object that sits above all data labels and markers to\n             * track mouse events on the graph or points. For the line type charts\n             * the tracker uses the same graphPath, but with a greater stroke width\n             * for better control.\n             */\n            drawTrackerGraph: function() {\n                var series = this,\n                    options = series.options,\n                    trackByArea = options.trackByArea,\n                    trackerPath = [].concat(trackByArea ? series.areaPath : series.graphPath),\n                    trackerPathLength = trackerPath.length,\n                    chart = series.chart,\n                    pointer = chart.pointer,\n                    renderer = chart.renderer,\n                    snap = chart.options.tooltip.snap,\n                    tracker = series.tracker,\n                    i,\n                    onMouseOver = function() {\n                        if (chart.hoverSeries !== series) {\n                            series.onMouseOver();\n                        }\n                    },\n                    /*\n                     * Empirical lowest possible opacities for TRACKER_FILL for an element to stay invisible but clickable\n                     * IE6: 0.002\n                     * IE7: 0.002\n                     * IE8: 0.002\n                     * IE9: 0.00000000001 (unlimited)\n                     * IE10: 0.0001 (exporting only)\n                     * FF: 0.00000000001 (unlimited)\n                     * Chrome: 0.000001\n                     * Safari: 0.000001\n                     * Opera: 0.00000000001 (unlimited)\n                     */\n                    TRACKER_FILL = 'rgba(192,192,192,' + (svg ? 0.0001 : 0.002) + ')';\n\n                // Extend end points. A better way would be to use round linecaps,\n                // but those are not clickable in VML.\n                if (trackerPathLength && !trackByArea) {\n                    i = trackerPathLength + 1;\n                    while (i--) {\n                        if (trackerPath[i] === 'M') { // extend left side\n                            trackerPath.splice(i + 1, 0, trackerPath[i + 1] - snap, trackerPath[i + 2], 'L');\n                        }\n                        if ((i && trackerPath[i] === 'M') || i === trackerPathLength) { // extend right side\n                            trackerPath.splice(i, 0, 'L', trackerPath[i - 2] + snap, trackerPath[i - 1]);\n                        }\n                    }\n                }\n\n                // handle single points\n                /*for (i = 0; i < singlePoints.length; i++) {\n                \tsinglePoint = singlePoints[i];\n                \ttrackerPath.push(M, singlePoint.plotX - snap, singlePoint.plotY,\n                \tL, singlePoint.plotX + snap, singlePoint.plotY);\n                }*/\n\n                // draw the tracker\n                if (tracker) {\n                    tracker.attr({\n                        d: trackerPath\n                    });\n                } else if (series.graph) { // create\n\n                    series.tracker = renderer.path(trackerPath)\n                        .attr({\n                            'stroke-linejoin': 'round', // #1225\n                            visibility: series.visible ? 'visible' : 'hidden',\n                            stroke: TRACKER_FILL,\n                            fill: trackByArea ? TRACKER_FILL : 'none',\n                            'stroke-width': series.graph.strokeWidth() + (trackByArea ? 0 : 2 * snap),\n                            zIndex: 2\n                        })\n                        .add(series.group);\n\n                    // The tracker is added to the series group, which is clipped, but is covered\n                    // by the marker group. So the marker group also needs to capture events.\n                    each([series.tracker, series.markerGroup], function(tracker) {\n                        tracker.addClass('highcharts-tracker')\n                            .on('mouseover', onMouseOver)\n                            .on('mouseout', function(e) {\n                                pointer.onTrackerMouseOut(e);\n                            });\n\n\n                        if (options.cursor) {\n                            tracker.css({\n                                cursor: options.cursor\n                            });\n                        }\n\n\n                        if (hasTouch) {\n                            tracker.on('touchstart', onMouseOver);\n                        }\n                    });\n                }\n            }\n        };\n        /* End TrackerMixin */\n\n\n        /**\n         * Add tracking event listener to the series group, so the point graphics\n         * themselves act as trackers\n         */\n\n        if (seriesTypes.column) {\n            seriesTypes.column.prototype.drawTracker = TrackerMixin.drawTrackerPoint;\n        }\n\n        if (seriesTypes.pie) {\n            seriesTypes.pie.prototype.drawTracker = TrackerMixin.drawTrackerPoint;\n        }\n\n        if (seriesTypes.scatter) {\n            seriesTypes.scatter.prototype.drawTracker = TrackerMixin.drawTrackerPoint;\n        }\n\n        /*\n         * Extend Legend for item events\n         */\n        extend(Legend.prototype, {\n\n            setItemEvents: function(item, legendItem, useHTML) {\n                var legend = this,\n                    boxWrapper = legend.chart.renderer.boxWrapper,\n                    activeClass = 'highcharts-legend-' + (item.series ? 'point' : 'series') + '-active';\n\n                // Set the events on the item group, or in case of useHTML, the item itself (#1249)\n                (useHTML ? legendItem : item.legendGroup).on('mouseover', function() {\n                        item.setState('hover');\n\n                        // A CSS class to dim or hide other than the hovered series\n                        boxWrapper.addClass(activeClass);\n\n\n                        legendItem.css(legend.options.itemHoverStyle);\n\n                    })\n                    .on('mouseout', function() {\n\n                        legendItem.css(item.visible ? legend.itemStyle : legend.itemHiddenStyle);\n\n\n                        // A CSS class to dim or hide other than the hovered series\n                        boxWrapper.removeClass(activeClass);\n\n                        item.setState();\n                    })\n                    .on('click', function(event) {\n                        var strLegendItemClick = 'legendItemClick',\n                            fnLegendItemClick = function() {\n                                if (item.setVisible) {\n                                    item.setVisible();\n                                }\n                            };\n\n                        // Pass over the click/touch event. #4.\n                        event = {\n                            browserEvent: event\n                        };\n\n                        // click the name or symbol\n                        if (item.firePointEvent) { // point\n                            item.firePointEvent(strLegendItemClick, event, fnLegendItemClick);\n                        } else {\n                            fireEvent(item, strLegendItemClick, event, fnLegendItemClick);\n                        }\n                    });\n            },\n\n            createCheckboxForItem: function(item) {\n                var legend = this;\n\n                item.checkbox = createElement('input', {\n                    type: 'checkbox',\n                    checked: item.selected,\n                    defaultChecked: item.selected // required by IE7\n                }, legend.options.itemCheckboxStyle, legend.chart.container);\n\n                addEvent(item.checkbox, 'click', function(event) {\n                    var target = event.target;\n                    fireEvent(\n                        item.series || item,\n                        'checkboxClick', { // #3712\n                            checked: target.checked,\n                            item: item\n                        },\n                        function() {\n                            item.select();\n                        }\n                    );\n                });\n            }\n        });\n\n\n\n        // Add pointer cursor to legend itemstyle in defaultOptions\n        defaultOptions.legend.itemStyle.cursor = 'pointer';\n\n\n\n        /*\n         * Extend the Chart object with interaction\n         */\n\n        extend(Chart.prototype, /** @lends Chart.prototype */ {\n            /**\n             * Display the zoom button\n             */\n            showResetZoom: function() {\n                var chart = this,\n                    lang = defaultOptions.lang,\n                    btnOptions = chart.options.chart.resetZoomButton,\n                    theme = btnOptions.theme,\n                    states = theme.states,\n                    alignTo = btnOptions.relativeTo === 'chart' ? null : 'plotBox';\n\n                function zoomOut() {\n                    chart.zoomOut();\n                }\n\n                this.resetZoomButton = chart.renderer.button(lang.resetZoom, null, null, zoomOut, theme, states && states.hover)\n                    .attr({\n                        align: btnOptions.position.align,\n                        title: lang.resetZoomTitle\n                    })\n                    .addClass('highcharts-reset-zoom')\n                    .add()\n                    .align(btnOptions.position, false, alignTo);\n\n            },\n\n            /**\n             * Zoom out to 1:1\n             */\n            zoomOut: function() {\n                var chart = this;\n                fireEvent(chart, 'selection', {\n                    resetSelection: true\n                }, function() {\n                    chart.zoom();\n                });\n            },\n\n            /**\n             * Zoom into a given portion of the chart given by axis coordinates\n             * @param {Object} event\n             */\n            zoom: function(event) {\n                var chart = this,\n                    hasZoomed,\n                    pointer = chart.pointer,\n                    displayButton = false,\n                    resetZoomButton;\n\n                // If zoom is called with no arguments, reset the axes\n                if (!event || event.resetSelection) {\n                    each(chart.axes, function(axis) {\n                        hasZoomed = axis.zoom();\n                    });\n                } else { // else, zoom in on all axes\n                    each(event.xAxis.concat(event.yAxis), function(axisData) {\n                        var axis = axisData.axis,\n                            isXAxis = axis.isXAxis;\n\n                        // don't zoom more than minRange\n                        if (pointer[isXAxis ? 'zoomX' : 'zoomY']) {\n                            hasZoomed = axis.zoom(axisData.min, axisData.max);\n                            if (axis.displayBtn) {\n                                displayButton = true;\n                            }\n                        }\n                    });\n                }\n\n                // Show or hide the Reset zoom button\n                resetZoomButton = chart.resetZoomButton;\n                if (displayButton && !resetZoomButton) {\n                    chart.showResetZoom();\n                } else if (!displayButton && isObject(resetZoomButton)) {\n                    chart.resetZoomButton = resetZoomButton.destroy();\n                }\n\n\n                // Redraw\n                if (hasZoomed) {\n                    chart.redraw(\n                        pick(chart.options.chart.animation, event && event.animation, chart.pointCount < 100) // animation\n                    );\n                }\n            },\n\n            /**\n             * Pan the chart by dragging the mouse across the pane. This function is called\n             * on mouse move, and the distance to pan is computed from chartX compared to\n             * the first chartX position in the dragging operation.\n             */\n            pan: function(e, panning) {\n\n                var chart = this,\n                    hoverPoints = chart.hoverPoints,\n                    doRedraw;\n\n                // remove active points for shared tooltip\n                if (hoverPoints) {\n                    each(hoverPoints, function(point) {\n                        point.setState();\n                    });\n                }\n\n                each(panning === 'xy' ? [1, 0] : [1], function(isX) { // xy is used in maps\n                    var axis = chart[isX ? 'xAxis' : 'yAxis'][0],\n                        horiz = axis.horiz,\n                        mousePos = e[horiz ? 'chartX' : 'chartY'],\n                        mouseDown = horiz ? 'mouseDownX' : 'mouseDownY',\n                        startPos = chart[mouseDown],\n                        halfPointRange = (axis.pointRange || 0) / 2,\n                        extremes = axis.getExtremes(),\n                        panMin = axis.toValue(startPos - mousePos, true) +\n                        halfPointRange,\n                        panMax = axis.toValue(startPos + axis.len - mousePos, true) -\n                        halfPointRange,\n                        flipped = panMax < panMin,\n                        newMin = flipped ? panMax : panMin,\n                        newMax = flipped ? panMin : panMax,\n                        paddedMin = axis.toValue(\n                            axis.toPixels(extremes.min) - axis.minPixelPadding\n                        ),\n                        paddedMax = axis.toValue(\n                            axis.toPixels(extremes.max) + axis.minPixelPadding\n                        ),\n                        distMin = Math.min(extremes.dataMin, paddedMin) - newMin,\n                        distMax = newMax - Math.max(extremes.dataMax, paddedMax);\n\n                    // Negative distMin and distMax means that we're still inside the\n                    // data range.\n                    if (axis.series.length && distMin < 0 && distMax < 0) {\n                        axis.setExtremes(\n                            newMin,\n                            newMax,\n                            false,\n                            false, {\n                                trigger: 'pan'\n                            }\n                        );\n                        doRedraw = true;\n                    }\n\n                    chart[mouseDown] = mousePos; // set new reference for next run\n                });\n\n                if (doRedraw) {\n                    chart.redraw(false);\n                }\n                css(chart.container, {\n                    cursor: 'move'\n                });\n            }\n        });\n\n        /*\n         * Extend the Point object with interaction\n         */\n        extend(Point.prototype, /** @lends Point.prototype */ {\n            /**\n             * Toggle the selection status of a point\n             * @param {Boolean} selected Whether to select or unselect the point.\n             * @param {Boolean} accumulate Whether to add to the previous selection. By default,\n             *\t\t this happens if the control key (Cmd on Mac) was pressed during clicking.\n             */\n            select: function(selected, accumulate) {\n                var point = this,\n                    series = point.series,\n                    chart = series.chart;\n\n                selected = pick(selected, !point.selected);\n\n                // fire the event with the default handler\n                point.firePointEvent(selected ? 'select' : 'unselect', {\n                    accumulate: accumulate\n                }, function() {\n                    point.selected = point.options.selected = selected;\n                    series.options.data[inArray(point, series.data)] = point.options;\n\n                    point.setState(selected && 'select');\n\n                    // unselect all other points unless Ctrl or Cmd + click\n                    if (!accumulate) {\n                        each(chart.getSelectedPoints(), function(loopPoint) {\n                            if (loopPoint.selected && loopPoint !== point) {\n                                loopPoint.selected = loopPoint.options.selected = false;\n                                series.options.data[inArray(loopPoint, series.data)] = loopPoint.options;\n                                loopPoint.setState('');\n                                loopPoint.firePointEvent('unselect');\n                            }\n                        });\n                    }\n                });\n            },\n\n            /**\n             * Runs on mouse over the point\n             * \n             * @param {Object} e The event arguments\n             */\n            onMouseOver: function(e) {\n                var point = this,\n                    series = point.series,\n                    chart = series.chart,\n                    pointer = chart.pointer;\n                point.firePointEvent('mouseOver');\n                pointer.runPointActions(e, point);\n            },\n\n            /**\n             * Runs on mouse out from the point\n             */\n            onMouseOut: function() {\n                var point = this,\n                    chart = point.series.chart;\n                point.firePointEvent('mouseOut');\n                each(chart.hoverPoints || [], function(p) {\n                    p.setState();\n                });\n                chart.hoverPoints = chart.hoverPoint = null;\n            },\n\n            /**\n             * Import events from the series' and point's options. Only do it on\n             * demand, to save processing time on hovering.\n             */\n            importEvents: function() {\n                if (!this.hasImportedEvents) {\n                    var point = this,\n                        options = merge(point.series.options.point, point.options),\n                        events = options.events,\n                        eventType;\n\n                    point.events = events;\n\n                    for (eventType in events) {\n                        addEvent(point, eventType, events[eventType]);\n                    }\n                    this.hasImportedEvents = true;\n\n                }\n            },\n\n            /**\n             * Set the point's state\n             * @param {String} state\n             */\n            setState: function(state, move) {\n                var point = this,\n                    plotX = Math.floor(point.plotX), // #4586\n                    plotY = point.plotY,\n                    series = point.series,\n                    stateOptions = series.options.states[state] || {},\n                    markerOptions = defaultPlotOptions[series.type].marker &&\n                    series.options.marker,\n                    normalDisabled = markerOptions && markerOptions.enabled === false,\n                    markerStateOptions = (markerOptions && markerOptions.states &&\n                        markerOptions.states[state]) || {},\n                    stateDisabled = markerStateOptions.enabled === false,\n                    stateMarkerGraphic = series.stateMarkerGraphic,\n                    pointMarker = point.marker || {},\n                    chart = series.chart,\n                    halo = series.halo,\n                    haloOptions,\n                    markerAttribs,\n                    hasMarkers = markerOptions && series.markerAttribs,\n                    newSymbol;\n\n                state = state || ''; // empty string\n\n                if (\n                    // already has this state\n                    (state === point.state && !move) ||\n                    // selected points don't respond to hover\n                    (point.selected && state !== 'select') ||\n                    // series' state options is disabled\n                    (stateOptions.enabled === false) ||\n                    // general point marker's state options is disabled\n                    (state && (stateDisabled || (normalDisabled && markerStateOptions.enabled === false))) ||\n                    // individual point marker's state options is disabled\n                    (state && pointMarker.states && pointMarker.states[state] && pointMarker.states[state].enabled === false) // #1610\n\n                ) {\n                    return;\n                }\n\n                if (hasMarkers) {\n                    markerAttribs = series.markerAttribs(point, state);\n                }\n\n                // Apply hover styles to the existing point\n                if (point.graphic) {\n\n                    if (point.state) {\n                        point.graphic.removeClass('highcharts-point-' + point.state);\n                    }\n                    if (state) {\n                        point.graphic.addClass('highcharts-point-' + state);\n                    }\n\n                    /*attribs = radius ? { // new symbol attributes (#507, #612)\n                    \tx: plotX - radius,\n                    \ty: plotY - radius,\n                    \twidth: 2 * radius,\n                    \theight: 2 * radius\n                    } : {};*/\n\n\n                    //attribs = merge(series.pointAttribs(point, state), attribs);\n                    point.graphic.attr(series.pointAttribs(point, state));\n\n\n                    if (markerAttribs) {\n                        point.graphic.animate(\n                            markerAttribs,\n                            pick(\n                                chart.options.chart.animation, // Turn off globally\n                                markerStateOptions.animation,\n                                markerOptions.animation\n                            )\n                        );\n                    }\n\n                    // Zooming in from a range with no markers to a range with markers\n                    if (stateMarkerGraphic) {\n                        stateMarkerGraphic.hide();\n                    }\n                } else {\n                    // if a graphic is not applied to each point in the normal state, create a shared\n                    // graphic for the hover state\n                    if (state && markerStateOptions) {\n                        newSymbol = pointMarker.symbol || series.symbol;\n\n                        // If the point has another symbol than the previous one, throw away the\n                        // state marker graphic and force a new one (#1459)\n                        if (stateMarkerGraphic && stateMarkerGraphic.currentSymbol !== newSymbol) {\n                            stateMarkerGraphic = stateMarkerGraphic.destroy();\n                        }\n\n                        // Add a new state marker graphic\n                        if (!stateMarkerGraphic) {\n                            if (newSymbol) {\n                                series.stateMarkerGraphic = stateMarkerGraphic = chart.renderer.symbol(\n                                        newSymbol,\n                                        markerAttribs.x,\n                                        markerAttribs.y,\n                                        markerAttribs.width,\n                                        markerAttribs.height\n                                    )\n                                    .add(series.markerGroup);\n                                stateMarkerGraphic.currentSymbol = newSymbol;\n                            }\n\n                            // Move the existing graphic\n                        } else {\n                            stateMarkerGraphic[move ? 'animate' : 'attr']({ // #1054\n                                x: markerAttribs.x,\n                                y: markerAttribs.y\n                            });\n                        }\n\n                        if (stateMarkerGraphic) {\n                            stateMarkerGraphic.attr(series.pointAttribs(point, state));\n                        }\n\n                    }\n\n                    if (stateMarkerGraphic) {\n                        stateMarkerGraphic[state && chart.isInsidePlot(plotX, plotY, chart.inverted) ? 'show' : 'hide'](); // #2450\n                        stateMarkerGraphic.element.point = point; // #4310\n                    }\n                }\n\n                // Show me your halo\n                haloOptions = stateOptions.halo;\n                if (haloOptions && haloOptions.size) {\n                    if (!halo) {\n                        series.halo = halo = chart.renderer.path()\n                            // #5818, #5903\n                            .add(hasMarkers ? series.markerGroup : series.group);\n                    }\n                    halo[move ? 'animate' : 'attr']({\n                        d: point.haloPath(haloOptions.size)\n                    });\n                    halo.attr({\n                        'class': 'highcharts-halo highcharts-color-' +\n                            pick(point.colorIndex, series.colorIndex)\n                    });\n                    halo.point = point; // #6055\n\n\n                    halo.attr(extend({\n                        'fill': point.color || series.color,\n                        'fill-opacity': haloOptions.opacity,\n                        'zIndex': -1 // #4929, IE8 added halo above everything\n                    }, haloOptions.attributes));\n\n\n                } else if (halo && halo.point && halo.point.haloPath) {\n                    // Animate back to 0 on the current halo point (#6055)\n                    halo.animate({\n                        d: halo.point.haloPath(0)\n                    });\n                }\n\n                point.state = state;\n            },\n\n            /**\n             * Get the circular path definition for the halo\n             * @param  {Number} size The radius of the circular halo.\n             * @returns {Array} The path definition\n             */\n            haloPath: function(size) {\n                var series = this.series,\n                    chart = series.chart;\n\n                return chart.renderer.symbols.circle(\n                    Math.floor(this.plotX) - size,\n                    this.plotY - size,\n                    size * 2,\n                    size * 2\n                );\n            }\n        });\n\n        /*\n         * Extend the Series object with interaction\n         */\n\n        extend(Series.prototype, /** @lends Series.prototype */ {\n            /**\n             * Series mouse over handler\n             */\n            onMouseOver: function() {\n                var series = this,\n                    chart = series.chart,\n                    hoverSeries = chart.hoverSeries;\n\n                // set normal state to previous series\n                if (hoverSeries && hoverSeries !== series) {\n                    hoverSeries.onMouseOut();\n                }\n\n                // trigger the event, but to save processing time,\n                // only if defined\n                if (series.options.events.mouseOver) {\n                    fireEvent(series, 'mouseOver');\n                }\n\n                // hover this\n                series.setState('hover');\n                chart.hoverSeries = series;\n            },\n\n            /**\n             * Series mouse out handler\n             */\n            onMouseOut: function() {\n                // trigger the event only if listeners exist\n                var series = this,\n                    options = series.options,\n                    chart = series.chart,\n                    tooltip = chart.tooltip,\n                    hoverPoint = chart.hoverPoint;\n\n                chart.hoverSeries = null; // #182, set to null before the mouseOut event fires\n\n                // trigger mouse out on the point, which must be in this series\n                if (hoverPoint) {\n                    hoverPoint.onMouseOut();\n                }\n\n                // fire the mouse out event\n                if (series && options.events.mouseOut) {\n                    fireEvent(series, 'mouseOut');\n                }\n\n\n                // hide the tooltip\n                if (tooltip && !series.stickyTracking && (!tooltip.shared || series.noSharedTooltip)) {\n                    tooltip.hide();\n                }\n\n                // set normal state\n                series.setState();\n            },\n\n            /**\n             * Set the state of the graph\n             */\n            setState: function(state) {\n                var series = this,\n                    options = series.options,\n                    graph = series.graph,\n                    stateOptions = options.states,\n                    lineWidth = options.lineWidth,\n                    attribs,\n                    i = 0;\n\n                state = state || '';\n\n                if (series.state !== state) {\n\n                    // Toggle class names\n                    each([\n                        series.group,\n                        series.markerGroup,\n                        series.dataLabelsGroup\n                    ], function(group) {\n                        if (group) {\n                            // Old state\n                            if (series.state) {\n                                group.removeClass('highcharts-series-' + series.state);\n                            }\n                            // New state\n                            if (state) {\n                                group.addClass('highcharts-series-' + state);\n                            }\n                        }\n                    });\n\n                    series.state = state;\n\n\n\n                    if (stateOptions[state] && stateOptions[state].enabled === false) {\n                        return;\n                    }\n\n                    if (state) {\n                        lineWidth = stateOptions[state].lineWidth || lineWidth + (stateOptions[state].lineWidthPlus || 0); // #4035\n                    }\n\n                    if (graph && !graph.dashstyle) { // hover is turned off for dashed lines in VML\n                        attribs = {\n                            'stroke-width': lineWidth\n                        };\n\n                        // Animate the graph stroke-width. By default a quick animation\n                        // to hover, slower to un-hover.\n                        graph.animate(\n                            attribs,\n                            pick(\n                                series.chart.options.chart.animation,\n                                stateOptions[state] && stateOptions[state].animation\n                            )\n                        );\n                        while (series['zone-graph-' + i]) {\n                            series['zone-graph-' + i].attr(attribs);\n                            i = i + 1;\n                        }\n                    }\n\n                }\n            },\n\n            /**\n             * Set the visibility of the graph\n             *\n             * @param vis {Boolean} True to show the series, false to hide. If undefined,\n             *\t\t\t\tthe visibility is toggled.\n             */\n            setVisible: function(vis, redraw) {\n                var series = this,\n                    chart = series.chart,\n                    legendItem = series.legendItem,\n                    showOrHide,\n                    ignoreHiddenSeries = chart.options.chart.ignoreHiddenSeries,\n                    oldVisibility = series.visible;\n\n                // if called without an argument, toggle visibility\n                series.visible = vis = series.options.visible = series.userOptions.visible = vis === undefined ? !oldVisibility : vis; // #5618\n                showOrHide = vis ? 'show' : 'hide';\n\n                // show or hide elements\n                each(['group', 'dataLabelsGroup', 'markerGroup', 'tracker', 'tt'], function(key) {\n                    if (series[key]) {\n                        series[key][showOrHide]();\n                    }\n                });\n\n\n                // hide tooltip (#1361)\n                if (chart.hoverSeries === series || (chart.hoverPoint && chart.hoverPoint.series) === series) {\n                    series.onMouseOut();\n                }\n\n\n                if (legendItem) {\n                    chart.legend.colorizeItem(series, vis);\n                }\n\n\n                // rescale or adapt to resized chart\n                series.isDirty = true;\n                // in a stack, all other series are affected\n                if (series.options.stacking) {\n                    each(chart.series, function(otherSeries) {\n                        if (otherSeries.options.stacking && otherSeries.visible) {\n                            otherSeries.isDirty = true;\n                        }\n                    });\n                }\n\n                // show or hide linked series\n                each(series.linkedSeries, function(otherSeries) {\n                    otherSeries.setVisible(vis, false);\n                });\n\n                if (ignoreHiddenSeries) {\n                    chart.isDirtyBox = true;\n                }\n                if (redraw !== false) {\n                    chart.redraw();\n                }\n\n                fireEvent(series, showOrHide);\n            },\n\n            /**\n             * Show the graph\n             */\n            show: function() {\n                this.setVisible(true);\n            },\n\n            /**\n             * Hide the graph\n             */\n            hide: function() {\n                this.setVisible(false);\n            },\n\n\n            /**\n             * Set the selected state of the graph\n             *\n             * @param selected {Boolean} True to select the series, false to unselect. If\n             *\t\t\t\tundefined, the selection state is toggled.\n             */\n            select: function(selected) {\n                var series = this;\n                // if called without an argument, toggle\n                series.selected = selected = (selected === undefined) ? !series.selected : selected;\n\n                if (series.checkbox) {\n                    series.checkbox.checked = selected;\n                }\n\n                fireEvent(series, selected ? 'select' : 'unselect');\n            },\n\n            drawTracker: TrackerMixin.drawTrackerGraph\n        });\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var Chart = H.Chart,\n            each = H.each,\n            inArray = H.inArray,\n            isArray = H.isArray,\n            isObject = H.isObject,\n            pick = H.pick,\n            splat = H.splat;\n\n        /**\n         * Update the chart based on the current chart/document size and options for\n         * responsiveness.\n         */\n        Chart.prototype.setResponsive = function(redraw) {\n            var options = this.options.responsive,\n                ruleIds = [],\n                currentResponsive = this.currentResponsive,\n                currentRuleIds;\n\n            if (options && options.rules) {\n                each(options.rules, function(rule) {\n                    if (rule._id === undefined) {\n                        rule._id = H.uniqueKey();\n                    }\n\n                    this.matchResponsiveRule(rule, ruleIds, redraw);\n                }, this);\n            }\n\n            // Merge matching rules\n            var mergedOptions = H.merge.apply(0, H.map(ruleIds, function(ruleId) {\n                return H.find(options.rules, function(rule) {\n                    return rule._id === ruleId;\n                }).chartOptions;\n            }));\n\n            // Stringified key for the rules that currently apply.\n            ruleIds = ruleIds.toString() || undefined;\n            currentRuleIds = currentResponsive && currentResponsive.ruleIds;\n\n\n            // Changes in what rules apply\n            if (ruleIds !== currentRuleIds) {\n\n                // Undo previous rules. Before we apply a new set of rules, we need to\n                // roll back completely to base options (#6291).\n                if (currentResponsive) {\n                    this.update(currentResponsive.undoOptions, redraw);\n                }\n\n                if (ruleIds) {\n                    // Get undo-options for matching rules\n                    this.currentResponsive = {\n                        ruleIds: ruleIds,\n                        mergedOptions: mergedOptions,\n                        undoOptions: this.currentOptions(mergedOptions)\n                    };\n\n                    this.update(mergedOptions, redraw);\n\n                } else {\n                    this.currentResponsive = undefined;\n                }\n            }\n        };\n\n        /**\n         * Handle a single responsiveness rule\n         */\n        Chart.prototype.matchResponsiveRule = function(rule, matches) {\n            var condition = rule.condition,\n                fn = condition.callback || function() {\n                    return this.chartWidth <= pick(condition.maxWidth, Number.MAX_VALUE) &&\n                        this.chartHeight <= pick(condition.maxHeight, Number.MAX_VALUE) &&\n                        this.chartWidth >= pick(condition.minWidth, 0) &&\n                        this.chartHeight >= pick(condition.minHeight, 0);\n                };\n\n            if (fn.call(this)) {\n                matches.push(rule._id);\n            }\n\n        };\n\n        /**\n         * Get the current values for a given set of options. Used before we update\n         * the chart with a new responsiveness rule.\n         * TODO: Restore axis options (by id?)\n         */\n        Chart.prototype.currentOptions = function(options) {\n\n            var ret = {};\n\n            /**\n             * Recurse over a set of options and its current values,\n             * and store the current values in the ret object.\n             */\n            function getCurrent(options, curr, ret, depth) {\n                var key, i;\n                for (key in options) {\n                    if (!depth && inArray(key, ['series', 'xAxis', 'yAxis']) > -1) {\n                        options[key] = splat(options[key]);\n\n                        ret[key] = [];\n\n                        // Iterate over collections like series, xAxis or yAxis and map\n                        // the items by index.\n                        for (i = 0; i < options[key].length; i++) {\n                            if (curr[key][i]) { // Item exists in current data (#6347)\n                                ret[key][i] = {};\n                                getCurrent(\n                                    options[key][i],\n                                    curr[key][i],\n                                    ret[key][i],\n                                    depth + 1\n                                );\n                            }\n                        }\n                    } else if (isObject(options[key])) {\n                        ret[key] = isArray(options[key]) ? [] : {};\n                        getCurrent(\n                            options[key],\n                            curr[key] || {},\n                            ret[key],\n                            depth + 1\n                        );\n                    } else {\n                        ret[key] = curr[key] || null;\n                    }\n                }\n            }\n\n            getCurrent(options, this.options, ret, 0);\n            return ret;\n        };\n\n    }(Highcharts));\n    var Highcharts = (function(Highcharts) {\n\n        return Highcharts;\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var addEvent = H.addEvent,\n            Axis = H.Axis,\n            Chart = H.Chart,\n            css = H.css,\n            dateFormat = H.dateFormat,\n            defined = H.defined,\n            each = H.each,\n            extend = H.extend,\n            noop = H.noop,\n            Series = H.Series,\n            timeUnits = H.timeUnits,\n            wrap = H.wrap;\n\n        /* ****************************************************************************\n         * Start ordinal axis logic                                                   *\n         *****************************************************************************/\n\n\n        wrap(Series.prototype, 'init', function(proceed) {\n            var series = this,\n                xAxis;\n\n            // call the original function\n            proceed.apply(this, Array.prototype.slice.call(arguments, 1));\n\n            xAxis = series.xAxis;\n\n            // Destroy the extended ordinal index on updated data\n            if (xAxis && xAxis.options.ordinal) {\n                addEvent(series, 'updatedData', function() {\n                    delete xAxis.ordinalIndex;\n                });\n            }\n        });\n\n        /**\n         * In an ordinal axis, there might be areas with dense consentrations of points, then large\n         * gaps between some. Creating equally distributed ticks over this entire range\n         * may lead to a huge number of ticks that will later be removed. So instead, break the\n         * positions up in segments, find the tick positions for each segment then concatenize them.\n         * This method is used from both data grouping logic and X axis tick position logic.\n         */\n        wrap(Axis.prototype, 'getTimeTicks', function(proceed, normalizedInterval, min, max, startOfWeek, positions, closestDistance, findHigherRanks) {\n\n            var start = 0,\n                end,\n                segmentPositions,\n                higherRanks = {},\n                hasCrossedHigherRank,\n                info,\n                posLength,\n                outsideMax,\n                groupPositions = [],\n                lastGroupPosition = -Number.MAX_VALUE,\n                tickPixelIntervalOption = this.options.tickPixelInterval;\n\n            // The positions are not always defined, for example for ordinal positions when data\n            // has regular interval (#1557, #2090)\n            if ((!this.options.ordinal && !this.options.breaks) || !positions || positions.length < 3 || min === undefined) {\n                return proceed.call(this, normalizedInterval, min, max, startOfWeek);\n            }\n\n            // Analyze the positions array to split it into segments on gaps larger than 5 times\n            // the closest distance. The closest distance is already found at this point, so\n            // we reuse that instead of computing it again.\n            posLength = positions.length;\n\n            for (end = 0; end < posLength; end++) {\n\n                outsideMax = end && positions[end - 1] > max;\n\n                if (positions[end] < min) { // Set the last position before min\n                    start = end;\n                }\n\n                if (end === posLength - 1 || positions[end + 1] - positions[end] > closestDistance * 5 || outsideMax) {\n\n                    // For each segment, calculate the tick positions from the getTimeTicks utility\n                    // function. The interval will be the same regardless of how long the segment is.\n                    if (positions[end] > lastGroupPosition) { // #1475\n\n                        segmentPositions = proceed.call(this, normalizedInterval, positions[start], positions[end], startOfWeek);\n\n                        // Prevent duplicate groups, for example for multiple segments within one larger time frame (#1475)\n                        while (segmentPositions.length && segmentPositions[0] <= lastGroupPosition) {\n                            segmentPositions.shift();\n                        }\n                        if (segmentPositions.length) {\n                            lastGroupPosition = segmentPositions[segmentPositions.length - 1];\n                        }\n\n                        groupPositions = groupPositions.concat(segmentPositions);\n                    }\n                    // Set start of next segment\n                    start = end + 1;\n                }\n\n                if (outsideMax) {\n                    break;\n                }\n            }\n\n            // Get the grouping info from the last of the segments. The info is the same for\n            // all segments.\n            info = segmentPositions.info;\n\n            // Optionally identify ticks with higher rank, for example when the ticks\n            // have crossed midnight.\n            if (findHigherRanks && info.unitRange <= timeUnits.hour) {\n                end = groupPositions.length - 1;\n\n                // Compare points two by two\n                for (start = 1; start < end; start++) {\n                    if (dateFormat('%d', groupPositions[start]) !== dateFormat('%d', groupPositions[start - 1])) {\n                        higherRanks[groupPositions[start]] = 'day';\n                        hasCrossedHigherRank = true;\n                    }\n                }\n\n                // If the complete array has crossed midnight, we want to mark the first\n                // positions also as higher rank\n                if (hasCrossedHigherRank) {\n                    higherRanks[groupPositions[0]] = 'day';\n                }\n                info.higherRanks = higherRanks;\n            }\n\n            // Save the info\n            groupPositions.info = info;\n\n\n\n            // Don't show ticks within a gap in the ordinal axis, where the space between\n            // two points is greater than a portion of the tick pixel interval\n            if (findHigherRanks && defined(tickPixelIntervalOption)) { // check for squashed ticks\n\n                var length = groupPositions.length,\n                    i = length,\n                    itemToRemove,\n                    translated,\n                    translatedArr = [],\n                    lastTranslated,\n                    medianDistance,\n                    distance,\n                    distances = [];\n\n                // Find median pixel distance in order to keep a reasonably even distance between\n                // ticks (#748)\n                while (i--) {\n                    translated = this.translate(groupPositions[i]);\n                    if (lastTranslated) {\n                        distances[i] = lastTranslated - translated;\n                    }\n                    translatedArr[i] = lastTranslated = translated;\n                }\n                distances.sort();\n                medianDistance = distances[Math.floor(distances.length / 2)];\n                if (medianDistance < tickPixelIntervalOption * 0.6) {\n                    medianDistance = null;\n                }\n\n                // Now loop over again and remove ticks where needed\n                i = groupPositions[length - 1] > max ? length - 1 : length; // #817\n                lastTranslated = undefined;\n                while (i--) {\n                    translated = translatedArr[i];\n                    distance = Math.abs(lastTranslated - translated);\n                    // #4175 - when axis is reversed, the distance, is negative but \n                    // tickPixelIntervalOption positive, so we need to compare the same values\n\n                    // Remove ticks that are closer than 0.6 times the pixel interval from the one to the right,\n                    // but not if it is close to the median distance (#748).\n                    if (lastTranslated && distance < tickPixelIntervalOption * 0.8 &&\n                        (medianDistance === null || distance < medianDistance * 0.8)) {\n\n                        // Is this a higher ranked position with a normal position to the right?\n                        if (higherRanks[groupPositions[i]] && !higherRanks[groupPositions[i + 1]]) {\n\n                            // Yes: remove the lower ranked neighbour to the right\n                            itemToRemove = i + 1;\n                            lastTranslated = translated; // #709\n\n                        } else {\n\n                            // No: remove this one\n                            itemToRemove = i;\n                        }\n\n                        groupPositions.splice(itemToRemove, 1);\n\n                    } else {\n                        lastTranslated = translated;\n                    }\n                }\n            }\n            return groupPositions;\n        });\n\n        // Extend the Axis prototype\n        extend(Axis.prototype, /** @lends Axis.prototype */ {\n\n            /**\n             * Calculate the ordinal positions before tick positions are calculated.\n             */\n            beforeSetTickPositions: function() {\n                var axis = this,\n                    len,\n                    ordinalPositions = [],\n                    useOrdinal = false,\n                    dist,\n                    extremes = axis.getExtremes(),\n                    min = extremes.min,\n                    max = extremes.max,\n                    minIndex,\n                    maxIndex,\n                    slope,\n                    hasBreaks = axis.isXAxis && !!axis.options.breaks,\n                    isOrdinal = axis.options.ordinal,\n                    ignoreHiddenSeries = axis.chart.options.chart.ignoreHiddenSeries,\n                    i;\n\n                // apply the ordinal logic\n                if (isOrdinal || hasBreaks) { // #4167 YAxis is never ordinal ?\n\n                    each(axis.series, function(series, i) {\n\n                        if ((!ignoreHiddenSeries || series.visible !== false) && (series.takeOrdinalPosition !== false || hasBreaks)) {\n\n                            // concatenate the processed X data into the existing positions, or the empty array\n                            ordinalPositions = ordinalPositions.concat(series.processedXData);\n                            len = ordinalPositions.length;\n\n                            // remove duplicates (#1588)\n                            ordinalPositions.sort(function(a, b) {\n                                return a - b; // without a custom function it is sorted as strings\n                            });\n\n                            if (len) {\n                                i = len - 1;\n                                while (i--) {\n                                    if (ordinalPositions[i] === ordinalPositions[i + 1]) {\n                                        ordinalPositions.splice(i, 1);\n                                    }\n                                }\n                            }\n                        }\n\n                    });\n\n                    // cache the length\n                    len = ordinalPositions.length;\n\n                    // Check if we really need the overhead of mapping axis data against the ordinal positions.\n                    // If the series consist of evenly spaced data any way, we don't need any ordinal logic.\n                    if (len > 2) { // two points have equal distance by default\n                        dist = ordinalPositions[1] - ordinalPositions[0];\n                        i = len - 1;\n                        while (i-- && !useOrdinal) {\n                            if (ordinalPositions[i + 1] - ordinalPositions[i] !== dist) {\n                                useOrdinal = true;\n                            }\n                        }\n\n                        // When zooming in on a week, prevent axis padding for weekends even though the data within\n                        // the week is evenly spaced.\n                        if (!axis.options.keepOrdinalPadding && (ordinalPositions[0] - min > dist || max - ordinalPositions[ordinalPositions.length - 1] > dist)) {\n                            useOrdinal = true;\n                        }\n                    }\n\n                    // Record the slope and offset to compute the linear values from the array index.\n                    // Since the ordinal positions may exceed the current range, get the start and\n                    // end positions within it (#719, #665b)\n                    if (useOrdinal) {\n\n                        // Register\n                        axis.ordinalPositions = ordinalPositions;\n\n                        // This relies on the ordinalPositions being set. Use Math.max\n                        // and Math.min to prevent padding on either sides of the data.\n                        minIndex = axis.ordinal2lin( // #5979\n                            Math.max(\n                                min,\n                                ordinalPositions[0]\n                            ),\n                            true\n                        );\n                        maxIndex = Math.max(axis.ordinal2lin(\n                            Math.min(\n                                max,\n                                ordinalPositions[ordinalPositions.length - 1]\n                            ),\n                            true\n                        ), 1); // #3339\n\n                        // Set the slope and offset of the values compared to the indices in the ordinal positions\n                        axis.ordinalSlope = slope = (max - min) / (maxIndex - minIndex);\n                        axis.ordinalOffset = min - (minIndex * slope);\n\n                    } else {\n                        axis.ordinalPositions = axis.ordinalSlope = axis.ordinalOffset = undefined;\n                    }\n                }\n                axis.isOrdinal = isOrdinal && useOrdinal; // #3818, #4196, #4926\n                axis.groupIntervalFactor = null; // reset for next run\n            },\n            /**\n             * Translate from a linear axis value to the corresponding ordinal axis position. If there\n             * are no gaps in the ordinal axis this will be the same. The translated value is the value\n             * that the point would have if the axis were linear, using the same min and max.\n             *\n             * @param Number val The axis value\n             * @param Boolean toIndex Whether to return the index in the ordinalPositions or the new value\n             */\n            val2lin: function(val, toIndex) {\n                var axis = this,\n                    ordinalPositions = axis.ordinalPositions,\n                    ret;\n\n                if (!ordinalPositions) {\n                    ret = val;\n\n                } else {\n\n                    var ordinalLength = ordinalPositions.length,\n                        i,\n                        distance,\n                        ordinalIndex;\n\n                    // first look for an exact match in the ordinalpositions array\n                    i = ordinalLength;\n                    while (i--) {\n                        if (ordinalPositions[i] === val) {\n                            ordinalIndex = i;\n                            break;\n                        }\n                    }\n\n                    // if that failed, find the intermediate position between the two nearest values\n                    i = ordinalLength - 1;\n                    while (i--) {\n                        if (val > ordinalPositions[i] || i === 0) { // interpolate\n                            distance = (val - ordinalPositions[i]) / (ordinalPositions[i + 1] - ordinalPositions[i]); // something between 0 and 1\n                            ordinalIndex = i + distance;\n                            break;\n                        }\n                    }\n                    ret = toIndex ?\n                        ordinalIndex :\n                        axis.ordinalSlope * (ordinalIndex || 0) + axis.ordinalOffset;\n                }\n                return ret;\n            },\n            /**\n             * Translate from linear (internal) to axis value\n             *\n             * @param Number val The linear abstracted value\n             * @param Boolean fromIndex Translate from an index in the ordinal positions rather than a value\n             */\n            lin2val: function(val, fromIndex) {\n                var axis = this,\n                    ordinalPositions = axis.ordinalPositions,\n                    ret;\n\n                if (!ordinalPositions) { // the visible range contains only equally spaced values\n                    ret = val;\n\n                } else {\n\n                    var ordinalSlope = axis.ordinalSlope,\n                        ordinalOffset = axis.ordinalOffset,\n                        i = ordinalPositions.length - 1,\n                        linearEquivalentLeft,\n                        linearEquivalentRight,\n                        distance;\n\n\n                    // Handle the case where we translate from the index directly, used only\n                    // when panning an ordinal axis\n                    if (fromIndex) {\n\n                        if (val < 0) { // out of range, in effect panning to the left\n                            val = ordinalPositions[0];\n                        } else if (val > i) { // out of range, panning to the right\n                            val = ordinalPositions[i];\n                        } else { // split it up\n                            i = Math.floor(val);\n                            distance = val - i; // the decimal\n                        }\n\n                        // Loop down along the ordinal positions. When the linear equivalent of i matches\n                        // an ordinal position, interpolate between the left and right values.\n                    } else {\n                        while (i--) {\n                            linearEquivalentLeft = (ordinalSlope * i) + ordinalOffset;\n                            if (val >= linearEquivalentLeft) {\n                                linearEquivalentRight = (ordinalSlope * (i + 1)) + ordinalOffset;\n                                distance = (val - linearEquivalentLeft) / (linearEquivalentRight - linearEquivalentLeft); // something between 0 and 1\n                                break;\n                            }\n                        }\n                    }\n\n                    // If the index is within the range of the ordinal positions, return the associated\n                    // or interpolated value. If not, just return the value\n                    return distance !== undefined && ordinalPositions[i] !== undefined ?\n                        ordinalPositions[i] + (distance ? distance * (ordinalPositions[i + 1] - ordinalPositions[i]) : 0) :\n                        val;\n                }\n                return ret;\n            },\n            /**\n             * Get the ordinal positions for the entire data set. This is necessary in chart panning\n             * because we need to find out what points or data groups are available outside the\n             * visible range. When a panning operation starts, if an index for the given grouping\n             * does not exists, it is created and cached. This index is deleted on updated data, so\n             * it will be regenerated the next time a panning operation starts.\n             */\n            getExtendedPositions: function() {\n                var axis = this,\n                    chart = axis.chart,\n                    grouping = axis.series[0].currentDataGrouping,\n                    ordinalIndex = axis.ordinalIndex,\n                    key = grouping ? grouping.count + grouping.unitName : 'raw',\n                    extremes = axis.getExtremes(),\n                    fakeAxis,\n                    fakeSeries;\n\n                // If this is the first time, or the ordinal index is deleted by updatedData,\n                // create it.\n                if (!ordinalIndex) {\n                    ordinalIndex = axis.ordinalIndex = {};\n                }\n\n\n                if (!ordinalIndex[key]) {\n\n                    // Create a fake axis object where the extended ordinal positions are emulated\n                    fakeAxis = {\n                        series: [],\n                        chart: chart,\n                        getExtremes: function() {\n                            return {\n                                min: extremes.dataMin,\n                                max: extremes.dataMax\n                            };\n                        },\n                        options: {\n                            ordinal: true\n                        },\n                        val2lin: Axis.prototype.val2lin, // #2590\n                        ordinal2lin: Axis.prototype.ordinal2lin // #6276\n                    };\n\n                    // Add the fake series to hold the full data, then apply processData to it\n                    each(axis.series, function(series) {\n                        fakeSeries = {\n                            xAxis: fakeAxis,\n                            xData: series.xData,\n                            chart: chart,\n                            destroyGroupedData: noop\n                        };\n                        fakeSeries.options = {\n                            dataGrouping: grouping ? {\n                                enabled: true,\n                                forced: true,\n                                approximation: 'open', // doesn't matter which, use the fastest\n                                units: [\n                                    [grouping.unitName, [grouping.count]]\n                                ]\n                            } : {\n                                enabled: false\n                            }\n                        };\n                        series.processData.apply(fakeSeries);\n\n                        fakeAxis.series.push(fakeSeries);\n                    });\n\n                    // Run beforeSetTickPositions to compute the ordinalPositions\n                    axis.beforeSetTickPositions.apply(fakeAxis);\n\n                    // Cache it\n                    ordinalIndex[key] = fakeAxis.ordinalPositions;\n                }\n                return ordinalIndex[key];\n            },\n\n            /**\n             * Find the factor to estimate how wide the plot area would have been if ordinal\n             * gaps were included. This value is used to compute an imagined plot width in order\n             * to establish the data grouping interval.\n             *\n             * A real world case is the intraday-candlestick\n             * example. Without this logic, it would show the correct data grouping when viewing\n             * a range within each day, but once moving the range to include the gap between two\n             * days, the interval would include the cut-away night hours and the data grouping\n             * would be wrong. So the below method tries to compensate by identifying the most\n             * common point interval, in this case days.\n             *\n             * An opposite case is presented in issue #718. We have a long array of daily data,\n             * then one point is appended one hour after the last point. We expect the data grouping\n             * not to change.\n             *\n             * In the future, if we find cases where this estimation doesn't work optimally, we\n             * might need to add a second pass to the data grouping logic, where we do another run\n             * with a greater interval if the number of data groups is more than a certain fraction\n             * of the desired group count.\n             */\n            getGroupIntervalFactor: function(xMin, xMax, series) {\n                var i,\n                    processedXData = series.processedXData,\n                    len = processedXData.length,\n                    distances = [],\n                    median,\n                    groupIntervalFactor = this.groupIntervalFactor;\n\n                // Only do this computation for the first series, let the other inherit it (#2416)\n                if (!groupIntervalFactor) {\n\n                    // Register all the distances in an array\n                    for (i = 0; i < len - 1; i++) {\n                        distances[i] = processedXData[i + 1] - processedXData[i];\n                    }\n\n                    // Sort them and find the median\n                    distances.sort(function(a, b) {\n                        return a - b;\n                    });\n                    median = distances[Math.floor(len / 2)];\n\n                    // Compensate for series that don't extend through the entire axis extent. #1675.\n                    xMin = Math.max(xMin, processedXData[0]);\n                    xMax = Math.min(xMax, processedXData[len - 1]);\n\n                    this.groupIntervalFactor = groupIntervalFactor = (len * median) / (xMax - xMin);\n                }\n\n                // Return the factor needed for data grouping\n                return groupIntervalFactor;\n            },\n\n            /**\n             * Make the tick intervals closer because the ordinal gaps make the ticks spread out or cluster\n             */\n            postProcessTickInterval: function(tickInterval) {\n                // Problem: http://jsfiddle.net/highcharts/FQm4E/1/\n                // This is a case where this algorithm doesn't work optimally. In this case, the\n                // tick labels are spread out per week, but all the gaps reside within weeks. So\n                // we have a situation where the labels are courser than the ordinal gaps, and\n                // thus the tick interval should not be altered\n                var ordinalSlope = this.ordinalSlope,\n                    ret;\n\n\n                if (ordinalSlope) {\n                    if (!this.options.breaks) {\n                        ret = tickInterval / (ordinalSlope / this.closestPointRange);\n                    } else {\n                        ret = this.closestPointRange;\n                    }\n                } else {\n                    ret = tickInterval;\n                }\n                return ret;\n            }\n        });\n\n        // Record this to prevent overwriting by broken-axis module (#5979)\n        Axis.prototype.ordinal2lin = Axis.prototype.val2lin;\n\n        // Extending the Chart.pan method for ordinal axes\n        wrap(Chart.prototype, 'pan', function(proceed, e) {\n            var chart = this,\n                xAxis = chart.xAxis[0],\n                chartX = e.chartX,\n                runBase = false;\n\n            if (xAxis.options.ordinal && xAxis.series.length) {\n\n                var mouseDownX = chart.mouseDownX,\n                    extremes = xAxis.getExtremes(),\n                    dataMax = extremes.dataMax,\n                    min = extremes.min,\n                    max = extremes.max,\n                    trimmedRange,\n                    hoverPoints = chart.hoverPoints,\n                    closestPointRange = xAxis.closestPointRange,\n                    pointPixelWidth = xAxis.translationSlope * (xAxis.ordinalSlope || closestPointRange),\n                    movedUnits = (mouseDownX - chartX) / pointPixelWidth, // how many ordinal units did we move?\n                    extendedAxis = {\n                        ordinalPositions: xAxis.getExtendedPositions()\n                    }, // get index of all the chart's points\n                    ordinalPositions,\n                    searchAxisLeft,\n                    lin2val = xAxis.lin2val,\n                    val2lin = xAxis.val2lin,\n                    searchAxisRight;\n\n                if (!extendedAxis.ordinalPositions) { // we have an ordinal axis, but the data is equally spaced\n                    runBase = true;\n\n                } else if (Math.abs(movedUnits) > 1) {\n\n                    // Remove active points for shared tooltip\n                    if (hoverPoints) {\n                        each(hoverPoints, function(point) {\n                            point.setState();\n                        });\n                    }\n\n                    if (movedUnits < 0) {\n                        searchAxisLeft = extendedAxis;\n                        searchAxisRight = xAxis.ordinalPositions ? xAxis : extendedAxis;\n                    } else {\n                        searchAxisLeft = xAxis.ordinalPositions ? xAxis : extendedAxis;\n                        searchAxisRight = extendedAxis;\n                    }\n\n                    // In grouped data series, the last ordinal position represents the grouped data, which is\n                    // to the left of the real data max. If we don't compensate for this, we will be allowed\n                    // to pan grouped data series passed the right of the plot area.\n                    ordinalPositions = searchAxisRight.ordinalPositions;\n                    if (dataMax > ordinalPositions[ordinalPositions.length - 1]) {\n                        ordinalPositions.push(dataMax);\n                    }\n\n                    // Get the new min and max values by getting the ordinal index for the current extreme,\n                    // then add the moved units and translate back to values. This happens on the\n                    // extended ordinal positions if the new position is out of range, else it happens\n                    // on the current x axis which is smaller and faster.\n                    chart.fixedRange = max - min;\n                    trimmedRange = xAxis.toFixedRange(null, null,\n                        lin2val.apply(searchAxisLeft, [\n                            val2lin.apply(searchAxisLeft, [min, true]) + movedUnits, // the new index\n                            true // translate from index\n                        ]),\n                        lin2val.apply(searchAxisRight, [\n                            val2lin.apply(searchAxisRight, [max, true]) + movedUnits, // the new index\n                            true // translate from index\n                        ])\n                    );\n\n                    // Apply it if it is within the available data range\n                    if (trimmedRange.min >= Math.min(extremes.dataMin, min) && trimmedRange.max <= Math.max(dataMax, max)) {\n                        xAxis.setExtremes(trimmedRange.min, trimmedRange.max, true, false, {\n                            trigger: 'pan'\n                        });\n                    }\n\n                    chart.mouseDownX = chartX; // set new reference for next run\n                    css(chart.container, {\n                        cursor: 'move'\n                    });\n                }\n\n            } else {\n                runBase = true;\n            }\n\n            // revert to the linear chart.pan version\n            if (runBase) {\n                // call the original function\n                proceed.apply(this, Array.prototype.slice.call(arguments, 1));\n            }\n        });\n\n\n\n        /**\n         * Extend getGraphPath by identifying gaps in the ordinal data so that we can draw a gap in the\n         * line or area\n         */\n        Series.prototype.gappedPath = function() {\n            var gapSize = this.options.gapSize,\n                points = this.points.slice(),\n                i = points.length - 1;\n\n            if (gapSize && i > 0) { // #5008\n\n                // extension for ordinal breaks\n                while (i--) {\n                    if (points[i + 1].x - points[i].x > this.closestPointRange * gapSize) {\n                        points.splice( // insert after this one\n                            i + 1,\n                            0, {\n                                isNull: true\n                            }\n                        );\n                    }\n                }\n            }\n\n            // Call base method\n            //return proceed.call(this, points, a, b);\n            return this.getGraphPath(points);\n        };\n\n        /* ****************************************************************************\n         * End ordinal axis logic                                                   *\n         *****************************************************************************/\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2009-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n\n        var pick = H.pick,\n            wrap = H.wrap,\n            each = H.each,\n            extend = H.extend,\n            isArray = H.isArray,\n            fireEvent = H.fireEvent,\n            Axis = H.Axis,\n            Series = H.Series;\n\n        function stripArguments() {\n            return Array.prototype.slice.call(arguments, 1);\n        }\n\n        extend(Axis.prototype, {\n            isInBreak: function(brk, val) {\n                var ret,\n                    repeat = brk.repeat || Infinity,\n                    from = brk.from,\n                    length = brk.to - brk.from,\n                    test = (val >= from ? (val - from) % repeat : repeat - ((from - val) % repeat));\n\n                if (!brk.inclusive) {\n                    ret = test < length && test !== 0;\n                } else {\n                    ret = test <= length;\n                }\n                return ret;\n            },\n\n            isInAnyBreak: function(val, testKeep) {\n\n                var breaks = this.options.breaks,\n                    i = breaks && breaks.length,\n                    inbrk,\n                    keep,\n                    ret;\n\n\n                if (i) {\n\n                    while (i--) {\n                        if (this.isInBreak(breaks[i], val)) {\n                            inbrk = true;\n                            if (!keep) {\n                                keep = pick(breaks[i].showPoints, this.isXAxis ? false : true);\n                            }\n                        }\n                    }\n\n                    if (inbrk && testKeep) {\n                        ret = inbrk && !keep;\n                    } else {\n                        ret = inbrk;\n                    }\n                }\n                return ret;\n            }\n        });\n\n        wrap(Axis.prototype, 'setTickPositions', function(proceed) {\n            proceed.apply(this, Array.prototype.slice.call(arguments, 1));\n\n            if (this.options.breaks) {\n                var axis = this,\n                    tickPositions = this.tickPositions,\n                    info = this.tickPositions.info,\n                    newPositions = [],\n                    i;\n\n                for (i = 0; i < tickPositions.length; i++) {\n                    if (!axis.isInAnyBreak(tickPositions[i])) {\n                        newPositions.push(tickPositions[i]);\n                    }\n                }\n\n                this.tickPositions = newPositions;\n                this.tickPositions.info = info;\n            }\n        });\n\n        wrap(Axis.prototype, 'init', function(proceed, chart, userOptions) {\n            var axis = this,\n                breaks;\n            // Force Axis to be not-ordinal when breaks are defined\n            if (userOptions.breaks && userOptions.breaks.length) {\n                userOptions.ordinal = false;\n            }\n            proceed.call(this, chart, userOptions);\n            breaks = this.options.breaks;\n            axis.isBroken = (isArray(breaks) && !!breaks.length);\n            if (axis.isBroken) {\n                axis.val2lin = function(val) {\n                    var nval = val,\n                        brk,\n                        i;\n\n                    for (i = 0; i < axis.breakArray.length; i++) {\n                        brk = axis.breakArray[i];\n                        if (brk.to <= val) {\n                            nval -= brk.len;\n                        } else if (brk.from >= val) {\n                            break;\n                        } else if (axis.isInBreak(brk, val)) {\n                            nval -= (val - brk.from);\n                            break;\n                        }\n                    }\n\n                    return nval;\n                };\n\n                axis.lin2val = function(val) {\n                    var nval = val,\n                        brk,\n                        i;\n\n                    for (i = 0; i < axis.breakArray.length; i++) {\n                        brk = axis.breakArray[i];\n                        if (brk.from >= nval) {\n                            break;\n                        } else if (brk.to < nval) {\n                            nval += brk.len;\n                        } else if (axis.isInBreak(brk, nval)) {\n                            nval += brk.len;\n                        }\n                    }\n                    return nval;\n                };\n\n                axis.setExtremes = function(newMin, newMax, redraw, animation, eventArguments) {\n                    // If trying to set extremes inside a break, extend it to before and after the break ( #3857 )\n                    while (this.isInAnyBreak(newMin)) {\n                        newMin -= this.closestPointRange;\n                    }\n                    while (this.isInAnyBreak(newMax)) {\n                        newMax -= this.closestPointRange;\n                    }\n                    Axis.prototype.setExtremes.call(this, newMin, newMax, redraw, animation, eventArguments);\n                };\n\n                axis.setAxisTranslation = function(saveOld) {\n                    Axis.prototype.setAxisTranslation.call(this, saveOld);\n\n                    var breaks = axis.options.breaks,\n                        breakArrayT = [], // Temporary one\n                        breakArray = [],\n                        length = 0,\n                        inBrk,\n                        repeat,\n                        brk,\n                        min = axis.userMin || axis.min,\n                        max = axis.userMax || axis.max,\n                        pointRangePadding = pick(axis.pointRangePadding, 0),\n                        start,\n                        i,\n                        j;\n\n                    // Min & max check (#4247)\n                    for (i in breaks) {\n                        brk = breaks[i];\n                        repeat = brk.repeat || Infinity;\n                        if (axis.isInBreak(brk, min)) {\n                            min += (brk.to % repeat) - (min % repeat);\n                        }\n                        if (axis.isInBreak(brk, max)) {\n                            max -= (max % repeat) - (brk.from % repeat);\n                        }\n                    }\n\n                    // Construct an array holding all breaks in the axis\n                    for (i in breaks) {\n                        brk = breaks[i];\n                        start = brk.from;\n                        repeat = brk.repeat || Infinity;\n\n                        while (start - repeat > min) {\n                            start -= repeat;\n                        }\n                        while (start < min) {\n                            start += repeat;\n                        }\n\n                        for (j = start; j < max; j += repeat) {\n                            breakArrayT.push({\n                                value: j,\n                                move: 'in'\n                            });\n                            breakArrayT.push({\n                                value: j + (brk.to - brk.from),\n                                move: 'out',\n                                size: brk.breakSize\n                            });\n                        }\n                    }\n\n                    breakArrayT.sort(function(a, b) {\n                        var ret;\n                        if (a.value === b.value) {\n                            ret = (a.move === 'in' ? 0 : 1) - (b.move === 'in' ? 0 : 1);\n                        } else {\n                            ret = a.value - b.value;\n                        }\n                        return ret;\n                    });\n\n                    // Simplify the breaks\n                    inBrk = 0;\n                    start = min;\n\n                    for (i in breakArrayT) {\n                        brk = breakArrayT[i];\n                        inBrk += (brk.move === 'in' ? 1 : -1);\n\n                        if (inBrk === 1 && brk.move === 'in') {\n                            start = brk.value;\n                        }\n                        if (inBrk === 0) {\n                            breakArray.push({\n                                from: start,\n                                to: brk.value,\n                                len: brk.value - start - (brk.size || 0)\n                            });\n                            length += brk.value - start - (brk.size || 0);\n                        }\n                    }\n\n                    axis.breakArray = breakArray;\n\n                    // Used with staticScale, and below, the actual axis length when\n                    // breaks are substracted.\n                    axis.unitLength = max - min - length + pointRangePadding;\n\n                    fireEvent(axis, 'afterBreaks');\n\n                    if (axis.options.staticScale) {\n                        axis.transA = axis.options.staticScale;\n                    } else {\n                        axis.transA *= (max - axis.min + pointRangePadding) /\n                            axis.unitLength;\n                    }\n\n                    if (pointRangePadding) {\n                        axis.minPixelPadding = axis.transA * axis.minPointOffset;\n                    }\n\n                    axis.min = min;\n                    axis.max = max;\n                };\n            }\n        });\n\n        wrap(Series.prototype, 'generatePoints', function(proceed) {\n\n            proceed.apply(this, stripArguments(arguments));\n\n            var series = this,\n                xAxis = series.xAxis,\n                yAxis = series.yAxis,\n                points = series.points,\n                point,\n                i = points.length,\n                connectNulls = series.options.connectNulls,\n                nullGap;\n\n\n            if (xAxis && yAxis && (xAxis.options.breaks || yAxis.options.breaks)) {\n                while (i--) {\n                    point = points[i];\n\n                    nullGap = point.y === null && connectNulls === false; // respect nulls inside the break (#4275)\n                    if (!nullGap && (xAxis.isInAnyBreak(point.x, true) || yAxis.isInAnyBreak(point.y, true))) {\n                        points.splice(i, 1);\n                        if (this.data[i]) {\n                            this.data[i].destroyElements(); // removes the graphics for this point if they exist\n                        }\n                    }\n                }\n            }\n\n        });\n\n        function drawPointsWrapped(proceed) {\n            proceed.apply(this);\n            this.drawBreaks(this.xAxis, ['x']);\n            this.drawBreaks(this.yAxis, pick(this.pointArrayMap, ['y']));\n        }\n\n        H.Series.prototype.drawBreaks = function(axis, keys) {\n            var series = this,\n                points = series.points,\n                breaks,\n                threshold,\n                eventName,\n                y;\n\n            if (!axis) {\n                return; // #5950\n            }\n\n            each(keys, function(key) {\n                breaks = axis.breakArray || [];\n                threshold = axis.isXAxis ? axis.min : pick(series.options.threshold, axis.min);\n                each(points, function(point) {\n                    y = pick(point['stack' + key.toUpperCase()], point[key]);\n                    each(breaks, function(brk) {\n                        eventName = false;\n\n                        if ((threshold < brk.from && y > brk.to) || (threshold > brk.from && y < brk.from)) {\n                            eventName = 'pointBreak';\n                        } else if ((threshold < brk.from && y > brk.from && y < brk.to) || (threshold > brk.from && y > brk.to && y < brk.from)) { // point falls inside the break\n                            eventName = 'pointInBreak';\n                        }\n                        if (eventName) {\n                            fireEvent(axis, eventName, {\n                                point: point,\n                                brk: brk\n                            });\n                        }\n                    });\n                });\n            });\n        };\n\n        wrap(H.seriesTypes.column.prototype, 'drawPoints', drawPointsWrapped);\n        wrap(H.Series.prototype, 'drawPoints', drawPointsWrapped);\n\n    }(Highcharts));\n    (function() {\n\n\n    }());\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var arrayMax = H.arrayMax,\n            arrayMin = H.arrayMin,\n            Axis = H.Axis,\n            defaultPlotOptions = H.defaultPlotOptions,\n            defined = H.defined,\n            each = H.each,\n            extend = H.extend,\n            format = H.format,\n            isNumber = H.isNumber,\n            merge = H.merge,\n            pick = H.pick,\n            Point = H.Point,\n            Series = H.Series,\n            Tooltip = H.Tooltip,\n            wrap = H.wrap;\n\n        /* ****************************************************************************\n         * Start data grouping module\t\t\t\t\t\t\t\t\t\t\t\t *\n         ******************************************************************************/\n\n        var seriesProto = Series.prototype,\n            baseProcessData = seriesProto.processData,\n            baseGeneratePoints = seriesProto.generatePoints,\n            baseDestroy = seriesProto.destroy,\n\n            commonOptions = {\n                approximation: 'average', // average, open, high, low, close, sum\n                //enabled: null, // (true for stock charts, false for basic),\n                //forced: undefined,\n                groupPixelWidth: 2,\n                // the first one is the point or start value, the second is the start value if we're dealing with range,\n                // the third one is the end value if dealing with a range\n                dateTimeLabelFormats: {\n                    millisecond: ['%A, %b %e, %H:%M:%S.%L', '%A, %b %e, %H:%M:%S.%L', '-%H:%M:%S.%L'],\n                    second: ['%A, %b %e, %H:%M:%S', '%A, %b %e, %H:%M:%S', '-%H:%M:%S'],\n                    minute: ['%A, %b %e, %H:%M', '%A, %b %e, %H:%M', '-%H:%M'],\n                    hour: ['%A, %b %e, %H:%M', '%A, %b %e, %H:%M', '-%H:%M'],\n                    day: ['%A, %b %e, %Y', '%A, %b %e', '-%A, %b %e, %Y'],\n                    week: ['Week from %A, %b %e, %Y', '%A, %b %e', '-%A, %b %e, %Y'],\n                    month: ['%B %Y', '%B', '-%B %Y'],\n                    year: ['%Y', '%Y', '-%Y']\n                }\n                // smoothed = false, // enable this for navigator series only\n            },\n\n            specificOptions = { // extends common options\n                line: {},\n                spline: {},\n                area: {},\n                areaspline: {},\n                column: {\n                    approximation: 'sum',\n                    groupPixelWidth: 10\n                },\n                arearange: {\n                    approximation: 'range'\n                },\n                areasplinerange: {\n                    approximation: 'range'\n                },\n                columnrange: {\n                    approximation: 'range',\n                    groupPixelWidth: 10\n                },\n                candlestick: {\n                    approximation: 'ohlc',\n                    groupPixelWidth: 10\n                },\n                ohlc: {\n                    approximation: 'ohlc',\n                    groupPixelWidth: 5\n                }\n            },\n\n            // units are defined in a separate array to allow complete overriding in case of a user option\n            defaultDataGroupingUnits = H.defaultDataGroupingUnits = [\n                [\n                    'millisecond', // unit name\n                    [1, 2, 5, 10, 20, 25, 50, 100, 200, 500] // allowed multiples\n                ],\n                [\n                    'second', [1, 2, 5, 10, 15, 30]\n                ],\n                [\n                    'minute', [1, 2, 5, 10, 15, 30]\n                ],\n                [\n                    'hour', [1, 2, 3, 4, 6, 8, 12]\n                ],\n                [\n                    'day', [1]\n                ],\n                [\n                    'week', [1]\n                ],\n                [\n                    'month', [1, 3, 6]\n                ],\n                [\n                    'year',\n                    null\n                ]\n            ],\n\n\n            /**\n             * Define the available approximation types. The data grouping approximations takes an array\n             * or numbers as the first parameter. In case of ohlc, four arrays are sent in as four parameters.\n             * Each array consists only of numbers. In case null values belong to the group, the property\n             * .hasNulls will be set to true on the array.\n             */\n            approximations = {\n                sum: function(arr) {\n                    var len = arr.length,\n                        ret;\n\n                    // 1. it consists of nulls exclusively\n                    if (!len && arr.hasNulls) {\n                        ret = null;\n                        // 2. it has a length and real values\n                    } else if (len) {\n                        ret = 0;\n                        while (len--) {\n                            ret += arr[len];\n                        }\n                    }\n                    // 3. it has zero length, so just return undefined\n                    // => doNothing()\n\n                    return ret;\n                },\n                average: function(arr) {\n                    var len = arr.length,\n                        ret = approximations.sum(arr);\n\n                    // If we have a number, return it divided by the length. If not, return\n                    // null or undefined based on what the sum method finds.\n                    if (isNumber(ret) && len) {\n                        ret = ret / len;\n                    }\n\n                    return ret;\n                },\n                open: function(arr) {\n                    return arr.length ? arr[0] : (arr.hasNulls ? null : undefined);\n                },\n                high: function(arr) {\n                    return arr.length ? arrayMax(arr) : (arr.hasNulls ? null : undefined);\n                },\n                low: function(arr) {\n                    return arr.length ? arrayMin(arr) : (arr.hasNulls ? null : undefined);\n                },\n                close: function(arr) {\n                    return arr.length ? arr[arr.length - 1] : (arr.hasNulls ? null : undefined);\n                },\n                // ohlc and range are special cases where a multidimensional array is input and an array is output\n                ohlc: function(open, high, low, close) {\n                    open = approximations.open(open);\n                    high = approximations.high(high);\n                    low = approximations.low(low);\n                    close = approximations.close(close);\n\n                    if (isNumber(open) || isNumber(high) || isNumber(low) || isNumber(close)) {\n                        return [open, high, low, close];\n                    }\n                    // else, return is undefined\n                },\n                range: function(low, high) {\n                    low = approximations.low(low);\n                    high = approximations.high(high);\n\n                    if (isNumber(low) || isNumber(high)) {\n                        return [low, high];\n                    }\n                    // else, return is undefined\n                }\n            };\n\n\n        /**\n         * Takes parallel arrays of x and y data and groups the data into intervals defined by groupPositions, a collection\n         * of starting x values for each group.\n         */\n        seriesProto.groupData = function(xData, yData, groupPositions, approximation) {\n            var series = this,\n                data = series.data,\n                dataOptions = series.options.data,\n                groupedXData = [],\n                groupedYData = [],\n                groupMap = [],\n                dataLength = xData.length,\n                pointX,\n                pointY,\n                groupedY,\n                handleYData = !!yData, // when grouping the fake extended axis for panning, we don't need to consider y\n                values = [\n                    [],\n                    [],\n                    [],\n                    []\n                ],\n                approximationFn = typeof approximation === 'function' ? approximation : approximations[approximation],\n                pointArrayMap = series.pointArrayMap,\n                pointArrayMapLength = pointArrayMap && pointArrayMap.length,\n                i,\n                pos = 0,\n                start = 0;\n\n            // Start with the first point within the X axis range (#2696)\n            for (i = 0; i <= dataLength; i++) {\n                if (xData[i] >= groupPositions[0]) {\n                    break;\n                }\n            }\n\n            for (i; i <= dataLength; i++) {\n\n                // when a new group is entered, summarize and initiate the previous group\n                while ((groupPositions[pos + 1] !== undefined && xData[i] >= groupPositions[pos + 1]) ||\n                    i === dataLength) { // get the last group\n\n                    // get group x and y\n                    pointX = groupPositions[pos];\n                    series.dataGroupInfo = {\n                        start: start,\n                        length: values[0].length\n                    };\n                    groupedY = approximationFn.apply(series, values);\n\n                    // push the grouped data\n                    if (groupedY !== undefined) {\n                        groupedXData.push(pointX);\n                        groupedYData.push(groupedY);\n                        groupMap.push(series.dataGroupInfo);\n                    }\n\n                    // reset the aggregate arrays\n                    start = i;\n                    values[0] = [];\n                    values[1] = [];\n                    values[2] = [];\n                    values[3] = [];\n\n                    // Advance on the group positions\n                    pos += 1;\n\n                    // don't loop beyond the last group\n                    if (i === dataLength) {\n                        break;\n                    }\n                }\n\n                // break out\n                if (i === dataLength) {\n                    break;\n                }\n\n                // for each raw data point, push it to an array that contains all values for this specific group\n                if (pointArrayMap) {\n\n                    var index = series.cropStart + i,\n                        point = (data && data[index]) || series.pointClass.prototype.applyOptions.apply({\n                            series: series\n                        }, [dataOptions[index]]),\n                        j,\n                        val;\n\n                    for (j = 0; j < pointArrayMapLength; j++) {\n                        val = point[pointArrayMap[j]];\n                        if (isNumber(val)) {\n                            values[j].push(val);\n                        } else if (val === null) {\n                            values[j].hasNulls = true;\n                        }\n                    }\n\n                } else {\n                    pointY = handleYData ? yData[i] : null;\n\n                    if (isNumber(pointY)) {\n                        values[0].push(pointY);\n                    } else if (pointY === null) {\n                        values[0].hasNulls = true;\n                    }\n                }\n            }\n\n            return [groupedXData, groupedYData, groupMap];\n        };\n\n        /**\n         * Extend the basic processData method, that crops the data to the current zoom\n         * range, with data grouping logic.\n         */\n        seriesProto.processData = function() {\n            var series = this,\n                chart = series.chart,\n                options = series.options,\n                dataGroupingOptions = options.dataGrouping,\n                groupingEnabled = series.allowDG !== false && dataGroupingOptions &&\n                pick(dataGroupingOptions.enabled, chart.options.isStock),\n                visible = series.visible || !chart.options.chart.ignoreHiddenSeries,\n                hasGroupedData,\n                skip;\n\n            // run base method\n            series.forceCrop = groupingEnabled; // #334\n            series.groupPixelWidth = null; // #2110\n            series.hasProcessed = true; // #2692\n\n            // skip if processData returns false or if grouping is disabled (in that order)\n            skip = baseProcessData.apply(series, arguments) === false || !groupingEnabled;\n            if (!skip) {\n                series.destroyGroupedData();\n\n                var i,\n                    processedXData = series.processedXData,\n                    processedYData = series.processedYData,\n                    plotSizeX = chart.plotSizeX,\n                    xAxis = series.xAxis,\n                    ordinal = xAxis.options.ordinal,\n                    groupPixelWidth = series.groupPixelWidth = xAxis.getGroupPixelWidth && xAxis.getGroupPixelWidth();\n\n                // Execute grouping if the amount of points is greater than the limit defined in groupPixelWidth\n                if (groupPixelWidth) {\n                    hasGroupedData = true;\n\n                    series.isDirty = true; // force recreation of point instances in series.translate, #5699\n\n                    var extremes = xAxis.getExtremes(),\n                        xMin = extremes.min,\n                        xMax = extremes.max,\n                        groupIntervalFactor = (ordinal && xAxis.getGroupIntervalFactor(xMin, xMax, series)) || 1,\n                        interval = (groupPixelWidth * (xMax - xMin) / plotSizeX) * groupIntervalFactor,\n                        groupPositions = xAxis.getTimeTicks(\n                            xAxis.normalizeTimeTickInterval(interval, dataGroupingOptions.units || defaultDataGroupingUnits),\n                            Math.min(xMin, processedXData[0]), // Processed data may extend beyond axis (#4907)\n                            Math.max(xMax, processedXData[processedXData.length - 1]),\n                            xAxis.options.startOfWeek,\n                            processedXData,\n                            series.closestPointRange\n                        ),\n                        groupedData = seriesProto.groupData.apply(series, [processedXData, processedYData, groupPositions, dataGroupingOptions.approximation]),\n                        groupedXData = groupedData[0],\n                        groupedYData = groupedData[1];\n\n                    // prevent the smoothed data to spill out left and right, and make\n                    // sure data is not shifted to the left\n                    if (dataGroupingOptions.smoothed) {\n                        i = groupedXData.length - 1;\n                        groupedXData[i] = Math.min(groupedXData[i], xMax);\n                        while (i-- && i > 0) {\n                            groupedXData[i] += interval / 2;\n                        }\n                        groupedXData[0] = Math.max(groupedXData[0], xMin);\n                    }\n\n                    // record what data grouping values were used\n                    series.currentDataGrouping = groupPositions.info;\n                    series.closestPointRange = groupPositions.info.totalRange;\n                    series.groupMap = groupedData[2];\n\n                    // Make sure the X axis extends to show the first group (#2533)\n                    // But only for visible series (#5493, #6393)\n                    if (defined(groupedXData[0]) && groupedXData[0] < xAxis.dataMin && visible) {\n                        if (xAxis.min === xAxis.dataMin) {\n                            xAxis.min = groupedXData[0];\n                        }\n                        xAxis.dataMin = groupedXData[0];\n                    }\n\n                    // set series props\n                    series.processedXData = groupedXData;\n                    series.processedYData = groupedYData;\n                } else {\n                    series.currentDataGrouping = series.groupMap = null;\n                }\n                series.hasGroupedData = hasGroupedData;\n            }\n        };\n\n        /**\n         * Destroy the grouped data points. #622, #740\n         */\n        seriesProto.destroyGroupedData = function() {\n\n            var groupedData = this.groupedData;\n\n            // clear previous groups\n            each(groupedData || [], function(point, i) {\n                if (point) {\n                    groupedData[i] = point.destroy ? point.destroy() : null;\n                }\n            });\n            this.groupedData = null;\n        };\n\n        /**\n         * Override the generatePoints method by adding a reference to grouped data\n         */\n        seriesProto.generatePoints = function() {\n\n            baseGeneratePoints.apply(this);\n\n            // record grouped data in order to let it be destroyed the next time processData runs\n            this.destroyGroupedData(); // #622\n            this.groupedData = this.hasGroupedData ? this.points : null;\n        };\n\n        /**\n         * Override point prototype to throw a warning when trying to update grouped points\n         */\n        wrap(Point.prototype, 'update', function(proceed) {\n            if (this.dataGroup) {\n                H.error(24);\n            } else {\n                proceed.apply(this, [].slice.call(arguments, 1));\n            }\n        });\n\n        /**\n         * Extend the original method, make the tooltip's header reflect the grouped range\n         */\n        wrap(Tooltip.prototype, 'tooltipFooterHeaderFormatter', function(proceed, labelConfig, isFooter) {\n            var tooltip = this,\n                series = labelConfig.series,\n                options = series.options,\n                tooltipOptions = series.tooltipOptions,\n                dataGroupingOptions = options.dataGrouping,\n                xDateFormat = tooltipOptions.xDateFormat,\n                xDateFormatEnd,\n                xAxis = series.xAxis,\n                dateFormat = H.dateFormat,\n                currentDataGrouping,\n                dateTimeLabelFormats,\n                labelFormats,\n                formattedKey;\n\n            // apply only to grouped series\n            if (xAxis && xAxis.options.type === 'datetime' && dataGroupingOptions && isNumber(labelConfig.key)) {\n\n                // set variables\n                currentDataGrouping = series.currentDataGrouping;\n                dateTimeLabelFormats = dataGroupingOptions.dateTimeLabelFormats;\n\n                // if we have grouped data, use the grouping information to get the right format\n                if (currentDataGrouping) {\n                    labelFormats = dateTimeLabelFormats[currentDataGrouping.unitName];\n                    if (currentDataGrouping.count === 1) {\n                        xDateFormat = labelFormats[0];\n                    } else {\n                        xDateFormat = labelFormats[1];\n                        xDateFormatEnd = labelFormats[2];\n                    }\n                    // if not grouped, and we don't have set the xDateFormat option, get the best fit,\n                    // so if the least distance between points is one minute, show it, but if the\n                    // least distance is one day, skip hours and minutes etc.\n                } else if (!xDateFormat && dateTimeLabelFormats) {\n                    xDateFormat = tooltip.getXDateFormat(labelConfig, tooltipOptions, xAxis);\n                }\n\n                // now format the key\n                formattedKey = dateFormat(xDateFormat, labelConfig.key);\n                if (xDateFormatEnd) {\n                    formattedKey += dateFormat(xDateFormatEnd, labelConfig.key + currentDataGrouping.totalRange - 1);\n                }\n\n                // return the replaced format\n                return format(tooltipOptions[(isFooter ? 'footer' : 'header') + 'Format'], {\n                    point: extend(labelConfig.point, {\n                        key: formattedKey\n                    }),\n                    series: series\n                });\n\n            }\n\n            // else, fall back to the regular formatter\n            return proceed.call(tooltip, labelConfig, isFooter);\n        });\n\n        /**\n         * Extend the series destroyer\n         */\n        seriesProto.destroy = function() {\n            var series = this,\n                groupedData = series.groupedData || [],\n                i = groupedData.length;\n\n            while (i--) {\n                if (groupedData[i]) {\n                    groupedData[i].destroy();\n                }\n            }\n            baseDestroy.apply(series);\n        };\n\n\n        // Handle default options for data grouping. This must be set at runtime because some series types are\n        // defined after this.\n        wrap(seriesProto, 'setOptions', function(proceed, itemOptions) {\n\n            var options = proceed.call(this, itemOptions),\n                type = this.type,\n                plotOptions = this.chart.options.plotOptions,\n                defaultOptions = defaultPlotOptions[type].dataGrouping;\n\n            if (specificOptions[type]) { // #1284\n                if (!defaultOptions) {\n                    defaultOptions = merge(commonOptions, specificOptions[type]);\n                }\n\n                options.dataGrouping = merge(\n                    defaultOptions,\n                    plotOptions.series && plotOptions.series.dataGrouping, // #1228\n                    plotOptions[type].dataGrouping, // Set by the StockChart constructor\n                    itemOptions.dataGrouping\n                );\n            }\n\n            if (this.chart.options.isStock) {\n                this.requireSorting = true;\n            }\n\n            return options;\n        });\n\n\n        /**\n         * When resetting the scale reset the hasProccessed flag to avoid taking previous data grouping\n         * of neighbour series into accound when determining group pixel width (#2692).\n         */\n        wrap(Axis.prototype, 'setScale', function(proceed) {\n            proceed.call(this);\n            each(this.series, function(series) {\n                series.hasProcessed = false;\n            });\n        });\n\n        /**\n         * Get the data grouping pixel width based on the greatest defined individual width\n         * of the axis' series, and if whether one of the axes need grouping.\n         */\n        Axis.prototype.getGroupPixelWidth = function() {\n\n            var series = this.series,\n                len = series.length,\n                i,\n                groupPixelWidth = 0,\n                doGrouping = false,\n                dataLength,\n                dgOptions;\n\n            // If multiple series are compared on the same x axis, give them the same\n            // group pixel width (#334)\n            i = len;\n            while (i--) {\n                dgOptions = series[i].options.dataGrouping;\n                if (dgOptions) {\n                    groupPixelWidth = Math.max(groupPixelWidth, dgOptions.groupPixelWidth);\n\n                }\n            }\n\n            // If one of the series needs grouping, apply it to all (#1634)\n            i = len;\n            while (i--) {\n                dgOptions = series[i].options.dataGrouping;\n\n                if (dgOptions && series[i].hasProcessed) { // #2692\n\n                    dataLength = (series[i].processedXData || series[i].data).length;\n\n                    // Execute grouping if the amount of points is greater than the limit defined in groupPixelWidth\n                    if (series[i].groupPixelWidth || dataLength > (this.chart.plotSizeX / groupPixelWidth) || (dataLength && dgOptions.forced)) {\n                        doGrouping = true;\n                    }\n                }\n            }\n\n            return doGrouping ? groupPixelWidth : 0;\n        };\n\n        /**\n         * Force data grouping on all the axis' series.\n         */\n        Axis.prototype.setDataGrouping = function(dataGrouping, redraw) {\n            var i;\n\n            redraw = pick(redraw, true);\n\n            if (!dataGrouping) {\n                dataGrouping = {\n                    forced: false,\n                    units: null\n                };\n            }\n\n            // Axis is instantiated, update all series\n            if (this instanceof Axis) {\n                i = this.series.length;\n                while (i--) {\n                    this.series[i].update({\n                        dataGrouping: dataGrouping\n                    }, false);\n                }\n\n                // Axis not yet instanciated, alter series options\n            } else {\n                each(this.chart.options.series, function(seriesOptions) {\n                    seriesOptions.dataGrouping = dataGrouping;\n                }, false);\n            }\n\n            if (redraw) {\n                this.chart.redraw();\n            }\n        };\n\n\n\n        /* ****************************************************************************\n         * End data grouping module\t\t\t\t\t\t\t\t\t\t\t\t   *\n         ******************************************************************************/\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var each = H.each,\n            Point = H.Point,\n            seriesType = H.seriesType,\n            seriesTypes = H.seriesTypes;\n\n        /**\n         * The ohlc series type.\n         *\n         * @constructor seriesTypes.ohlc\n         * @augments seriesTypes.column\n         */\n        seriesType('ohlc', 'column', {\n            lineWidth: 1,\n            tooltip: {\n\n                pointFormat: '<span style=\"color:{point.color}\">\\u25CF</span> <b> {series.name}</b><br/>' +\n                    'Open: {point.open}<br/>' +\n                    'High: {point.high}<br/>' +\n                    'Low: {point.low}<br/>' +\n                    'Close: {point.close}<br/>'\n\n            },\n            threshold: null,\n\n            states: {\n                hover: {\n                    lineWidth: 3\n                }\n            },\n            stickyTracking: true\n            //upColor: undefined\n\n\n        }, /** @lends seriesTypes.ohlc */ {\n            directTouch: false,\n            pointArrayMap: ['open', 'high', 'low', 'close'], // array point configs are mapped to this\n            toYData: function(point) { // return a plain array for speedy calculation\n                return [point.open, point.high, point.low, point.close];\n            },\n            pointValKey: 'high',\n\n\n            pointAttrToOptions: {\n                'stroke': 'color',\n                'stroke-width': 'lineWidth'\n            },\n\n            /**\n             * Postprocess mapping between options and SVG attributes\n             */\n            pointAttribs: function(point, state) {\n                var attribs = seriesTypes.column.prototype.pointAttribs.call(\n                        this,\n                        point,\n                        state\n                    ),\n                    options = this.options;\n\n                delete attribs.fill;\n\n                if (!point.options.color &&\n                    options.upColor &&\n                    point.open < point.close\n                ) {\n                    attribs.stroke = options.upColor;\n                }\n\n                return attribs;\n            },\n\n\n            /**\n             * Translate data points from raw values x and y to plotX and plotY\n             */\n            translate: function() {\n                var series = this,\n                    yAxis = series.yAxis,\n                    hasModifyValue = !!series.modifyValue,\n                    translated = ['plotOpen', 'plotHigh', 'plotLow', 'plotClose', 'yBottom']; // translate OHLC for\n\n                seriesTypes.column.prototype.translate.apply(series);\n\n                // Do the translation\n                each(series.points, function(point) {\n                    each([point.open, point.high, point.low, point.close, point.low], function(value, i) {\n                        if (value !== null) {\n                            if (hasModifyValue) {\n                                value = series.modifyValue(value);\n                            }\n                            point[translated[i]] = yAxis.toPixels(value, true);\n                        }\n                    });\n                });\n            },\n\n            /**\n             * Draw the data points\n             */\n            drawPoints: function() {\n                var series = this,\n                    points = series.points,\n                    chart = series.chart;\n\n\n                each(points, function(point) {\n                    var plotOpen,\n                        plotClose,\n                        crispCorr,\n                        halfWidth,\n                        path,\n                        graphic = point.graphic,\n                        crispX,\n                        isNew = !graphic;\n\n                    if (point.plotY !== undefined) {\n\n                        // Create and/or update the graphic\n                        if (!graphic) {\n                            point.graphic = graphic = chart.renderer.path()\n                                .add(series.group);\n                        }\n\n\n                        graphic.attr(series.pointAttribs(point, point.selected && 'select')); // #3897\n\n\n                        // crisp vector coordinates\n                        crispCorr = (graphic.strokeWidth() % 2) / 2;\n                        crispX = Math.round(point.plotX) - crispCorr; // #2596\n                        halfWidth = Math.round(point.shapeArgs.width / 2);\n\n                        // the vertical stem\n                        path = [\n                            'M',\n                            crispX, Math.round(point.yBottom),\n                            'L',\n                            crispX, Math.round(point.plotY)\n                        ];\n\n                        // open\n                        if (point.open !== null) {\n                            plotOpen = Math.round(point.plotOpen) + crispCorr;\n                            path.push(\n                                'M',\n                                crispX,\n                                plotOpen,\n                                'L',\n                                crispX - halfWidth,\n                                plotOpen\n                            );\n                        }\n\n                        // close\n                        if (point.close !== null) {\n                            plotClose = Math.round(point.plotClose) + crispCorr;\n                            path.push(\n                                'M',\n                                crispX,\n                                plotClose,\n                                'L',\n                                crispX + halfWidth,\n                                plotClose\n                            );\n                        }\n\n                        graphic[isNew ? 'attr' : 'animate']({\n                                d: path\n                            })\n                            .addClass(point.getClassName(), true);\n\n                    }\n\n\n                });\n\n            },\n\n            animate: null // Disable animation\n\n            /**\n             * @constructor seriesTypes.ohlc.prototype.pointClass\n             * @extends {Point}\n             */\n        }, /** @lends seriesTypes.ohlc.prototype.pointClass.prototype */ {\n            /**\n             * Extend the parent method by adding up or down to the class name.\n             */\n            getClassName: function() {\n                return Point.prototype.getClassName.call(this) +\n                    (this.open < this.close ? ' highcharts-point-up' : ' highcharts-point-down');\n            }\n        });\n        /* ****************************************************************************\n         * End OHLC series code\t\t\t\t\t\t\t\t\t\t\t\t\t   *\n         *****************************************************************************/\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var defaultPlotOptions = H.defaultPlotOptions,\n            each = H.each,\n            merge = H.merge,\n            seriesType = H.seriesType,\n            seriesTypes = H.seriesTypes;\n\n        /**\n         * The candlestick series type.\n         *\n         * @constructor seriesTypes.candlestick\n         * @augments seriesTypes.ohlc\n         */\n        seriesType('candlestick', 'ohlc', merge(defaultPlotOptions.column, {\n            states: {\n                hover: {\n                    lineWidth: 2\n                }\n            },\n            tooltip: defaultPlotOptions.ohlc.tooltip,\n            threshold: null,\n\n            lineColor: '#000000',\n            lineWidth: 1,\n            upColor: '#ffffff',\n            stickyTracking: true\n            // upLineColor: null\n\n\n        }), /** @lends seriesTypes.candlestick */ {\n\n            /**\n             * Postprocess mapping between options and SVG attributes\n             */\n            pointAttribs: function(point, state) {\n                var attribs = seriesTypes.column.prototype.pointAttribs.call(this, point, state),\n                    options = this.options,\n                    isUp = point.open < point.close,\n                    stroke = options.lineColor || this.color,\n                    stateOptions;\n\n                attribs['stroke-width'] = options.lineWidth;\n\n                attribs.fill = point.options.color || (isUp ? (options.upColor || this.color) : this.color);\n                attribs.stroke = point.lineColor || (isUp ? (options.upLineColor || stroke) : stroke);\n\n                // Select or hover states\n                if (state) {\n                    stateOptions = options.states[state];\n                    attribs.fill = stateOptions.color || attribs.fill;\n                    attribs.stroke = stateOptions.lineColor || attribs.stroke;\n                    attribs['stroke-width'] =\n                        stateOptions.lineWidth || attribs['stroke-width'];\n                }\n\n\n                return attribs;\n            },\n\n            /**\n             * Draw the data points\n             */\n            drawPoints: function() {\n                var series = this, //state = series.state,\n                    points = series.points,\n                    chart = series.chart;\n\n\n                each(points, function(point) {\n\n                    var graphic = point.graphic,\n                        plotOpen,\n                        plotClose,\n                        topBox,\n                        bottomBox,\n                        hasTopWhisker,\n                        hasBottomWhisker,\n                        crispCorr,\n                        crispX,\n                        path,\n                        halfWidth,\n                        isNew = !graphic;\n\n                    if (point.plotY !== undefined) {\n\n                        if (!graphic) {\n                            point.graphic = graphic = chart.renderer.path()\n                                .add(series.group);\n                        }\n\n\n                        graphic\n                            .attr(series.pointAttribs(point, point.selected && 'select')) // #3897\n                            .shadow(series.options.shadow);\n\n\n                        // Crisp vector coordinates\n                        crispCorr = (graphic.strokeWidth() % 2) / 2;\n                        crispX = Math.round(point.plotX) - crispCorr; // #2596\n                        plotOpen = point.plotOpen;\n                        plotClose = point.plotClose;\n                        topBox = Math.min(plotOpen, plotClose);\n                        bottomBox = Math.max(plotOpen, plotClose);\n                        halfWidth = Math.round(point.shapeArgs.width / 2);\n                        hasTopWhisker = Math.round(topBox) !== Math.round(point.plotY);\n                        hasBottomWhisker = bottomBox !== point.yBottom;\n                        topBox = Math.round(topBox) + crispCorr;\n                        bottomBox = Math.round(bottomBox) + crispCorr;\n\n                        // Create the path. Due to a bug in Chrome 49, the path is first instanciated\n                        // with no values, then the values pushed. For unknown reasons, instanciated\n                        // the path array with all the values would lead to a crash when updating\n                        // frequently (#5193).\n                        path = [];\n                        path.push(\n                            'M',\n                            crispX - halfWidth, bottomBox,\n                            'L',\n                            crispX - halfWidth, topBox,\n                            'L',\n                            crispX + halfWidth, topBox,\n                            'L',\n                            crispX + halfWidth, bottomBox,\n                            'Z', // Use a close statement to ensure a nice rectangle #2602\n                            'M',\n                            crispX, topBox,\n                            'L',\n                            crispX, hasTopWhisker ? Math.round(point.plotY) : topBox, // #460, #2094\n                            'M',\n                            crispX, bottomBox,\n                            'L',\n                            crispX, hasBottomWhisker ? Math.round(point.yBottom) : bottomBox // #460, #2094\n                        );\n\n                        graphic[isNew ? 'attr' : 'animate']({\n                                d: path\n                            })\n                            .addClass(point.getClassName(), true);\n\n                    }\n                });\n\n            }\n\n\n        });\n\n        /* ****************************************************************************\n         * End Candlestick series code\t\t\t\t\t\t\t\t\t\t\t\t*\n         *****************************************************************************/\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var addEvent = H.addEvent,\n            each = H.each,\n            merge = H.merge,\n            noop = H.noop,\n            Renderer = H.Renderer,\n            Series = H.Series,\n            seriesType = H.seriesType,\n            seriesTypes = H.seriesTypes,\n            SVGRenderer = H.SVGRenderer,\n            TrackerMixin = H.TrackerMixin,\n            VMLRenderer = H.VMLRenderer,\n            symbols = SVGRenderer.prototype.symbols,\n            stableSort = H.stableSort;\n\n        /**\n         * The flags series type.\n         *\n         * @constructor seriesTypes.flags\n         * @augments seriesTypes.column\n         */\n        seriesType('flags', 'column', {\n            pointRange: 0, // #673\n            //radius: 2,\n            shape: 'flag',\n            stackDistance: 12,\n            textAlign: 'center',\n            tooltip: {\n                pointFormat: '{point.text}<br/>'\n            },\n            threshold: null,\n            y: -30,\n\n            fillColor: '#ffffff',\n            // lineColor: color,\n            lineWidth: 1,\n            states: {\n                hover: {\n                    lineColor: '#000000',\n                    fillColor: '#ccd6eb'\n                }\n            },\n            style: {\n                fontSize: '11px',\n                fontWeight: 'bold'\n            }\n\n\n        }, /** @lends seriesTypes.flags.prototype */ {\n            sorted: false,\n            noSharedTooltip: true,\n            allowDG: false,\n            takeOrdinalPosition: false, // #1074\n            trackerGroups: ['markerGroup'],\n            forceCrop: true,\n            /**\n             * Inherit the initialization from base Series.\n             */\n            init: Series.prototype.init,\n\n\n            /**\n             * Get presentational attributes\n             */\n            pointAttribs: function(point, state) {\n                var options = this.options,\n                    color = (point && point.color) || this.color,\n                    lineColor = options.lineColor,\n                    lineWidth = (point && point.lineWidth),\n                    fill = (point && point.fillColor) || options.fillColor;\n\n                if (state) {\n                    fill = options.states[state].fillColor;\n                    lineColor = options.states[state].lineColor;\n                    lineWidth = options.states[state].lineWidth;\n                }\n\n                return {\n                    'fill': fill || color,\n                    'stroke': lineColor || color,\n                    'stroke-width': lineWidth || options.lineWidth || 0\n                };\n            },\n\n\n            /**\n             * Extend the translate method by placing the point on the related series\n             */\n            translate: function() {\n\n                seriesTypes.column.prototype.translate.apply(this);\n\n                var series = this,\n                    options = series.options,\n                    chart = series.chart,\n                    points = series.points,\n                    cursor = points.length - 1,\n                    point,\n                    lastPoint,\n                    optionsOnSeries = options.onSeries,\n                    onSeries = optionsOnSeries && chart.get(optionsOnSeries),\n                    onKey = options.onKey || 'y',\n                    step = onSeries && onSeries.options.step,\n                    onData = onSeries && onSeries.points,\n                    i = onData && onData.length,\n                    xAxis = series.xAxis,\n                    yAxis = series.yAxis,\n                    xAxisExt = xAxis.getExtremes(),\n                    xOffset = 0,\n                    leftPoint,\n                    lastX,\n                    rightPoint,\n                    currentDataGrouping;\n\n                // relate to a master series\n                if (onSeries && onSeries.visible && i) {\n                    xOffset = (onSeries.pointXOffset || 0) + (onSeries.barW || 0) / 2;\n                    currentDataGrouping = onSeries.currentDataGrouping;\n                    lastX = onData[i - 1].x + (currentDataGrouping ? currentDataGrouping.totalRange : 0); // #2374\n\n                    // sort the data points\n                    stableSort(points, function(a, b) {\n                        return (a.x - b.x);\n                    });\n\n                    onKey = 'plot' + onKey[0].toUpperCase() + onKey.substr(1);\n                    while (i-- && points[cursor]) {\n                        point = points[cursor];\n                        leftPoint = onData[i];\n                        if (leftPoint.x <= point.x && leftPoint[onKey] !== undefined) {\n                            if (point.x <= lastX) { // #803\n\n                                point.plotY = leftPoint[onKey];\n\n                                // interpolate between points, #666\n                                if (leftPoint.x < point.x && !step) {\n                                    rightPoint = onData[i + 1];\n                                    if (rightPoint && rightPoint[onKey] !== undefined) {\n                                        point.plotY +=\n                                            ((point.x - leftPoint.x) / (rightPoint.x - leftPoint.x)) * // the distance ratio, between 0 and 1\n                                            (rightPoint[onKey] - leftPoint[onKey]); // the y distance\n                                    }\n                                }\n                            }\n                            cursor--;\n                            i++; // check again for points in the same x position\n                            if (cursor < 0) {\n                                break;\n                            }\n                        }\n                    }\n                }\n\n                // Add plotY position and handle stacking\n                each(points, function(point, i) {\n\n                    var stackIndex;\n\n                    // Undefined plotY means the point is either on axis, outside series\n                    // range or hidden series. If the series is outside the range of the\n                    // x axis it should fall through with an undefined plotY, but then\n                    // we must remove the shapeArgs (#847).\n                    if (point.plotY === undefined) {\n                        if (point.x >= xAxisExt.min && point.x <= xAxisExt.max) {\n                            // we're inside xAxis range\n                            point.plotY = chart.chartHeight - xAxis.bottom -\n                                (xAxis.opposite ? xAxis.height : 0) +\n                                xAxis.offset - yAxis.top; // #3517\n                        } else {\n                            point.shapeArgs = {}; // 847\n                        }\n                    }\n                    point.plotX += xOffset; // #2049\n                    // if multiple flags appear at the same x, order them into a stack\n                    lastPoint = points[i - 1];\n                    if (lastPoint && lastPoint.plotX === point.plotX) {\n                        if (lastPoint.stackIndex === undefined) {\n                            lastPoint.stackIndex = 0;\n                        }\n                        stackIndex = lastPoint.stackIndex + 1;\n                    }\n                    point.stackIndex = stackIndex; // #3639\n                });\n\n\n            },\n\n            /**\n             * Draw the markers\n             */\n            drawPoints: function() {\n                var series = this,\n                    points = series.points,\n                    chart = series.chart,\n                    renderer = chart.renderer,\n                    plotX,\n                    plotY,\n                    options = series.options,\n                    optionsY = options.y,\n                    shape,\n                    i,\n                    point,\n                    graphic,\n                    stackIndex,\n                    anchorX,\n                    anchorY,\n                    outsideRight,\n                    yAxis = series.yAxis;\n\n                i = points.length;\n                while (i--) {\n                    point = points[i];\n                    outsideRight = point.plotX > series.xAxis.len;\n                    plotX = point.plotX;\n                    stackIndex = point.stackIndex;\n                    shape = point.options.shape || options.shape;\n                    plotY = point.plotY;\n\n                    if (plotY !== undefined) {\n                        plotY = point.plotY + optionsY - (stackIndex !== undefined && stackIndex * options.stackDistance);\n                    }\n                    anchorX = stackIndex ? undefined : point.plotX; // skip connectors for higher level stacked points\n                    anchorY = stackIndex ? undefined : point.plotY;\n\n                    graphic = point.graphic;\n\n                    // Only draw the point if y is defined and the flag is within the visible area\n                    if (plotY !== undefined && plotX >= 0 && !outsideRight) {\n\n                        // Create the flag\n                        if (!graphic) {\n                            graphic = point.graphic = renderer.label(\n                                    '',\n                                    null,\n                                    null,\n                                    shape,\n                                    null,\n                                    null,\n                                    options.useHTML\n                                )\n\n                                .attr(series.pointAttribs(point))\n                                .css(merge(options.style, point.style))\n\n                                .attr({\n                                    align: shape === 'flag' ? 'left' : 'center',\n                                    width: options.width,\n                                    height: options.height,\n                                    'text-align': options.textAlign\n                                })\n                                .addClass('highcharts-point')\n                                .add(series.markerGroup);\n\n                            // Add reference to the point for tracker (#6303)\n                            if (point.graphic.div) {\n                                point.graphic.div.point = point;\n                            }\n\n\n                            graphic.shadow(options.shadow);\n\n                        }\n\n                        if (plotX > 0) { // #3119\n                            plotX -= graphic.strokeWidth() % 2; // #4285\n                        }\n\n                        // Plant the flag\n                        graphic.attr({\n                            text: point.options.title || options.title || 'A',\n                            x: plotX,\n                            y: plotY,\n                            anchorX: anchorX,\n                            anchorY: anchorY\n                        });\n\n                        // Set the tooltip anchor position\n                        point.tooltipPos = chart.inverted ? [yAxis.len + yAxis.pos - chart.plotLeft - plotY, series.xAxis.len - plotX] : [plotX, plotY + yAxis.pos - chart.plotTop]; // #6327\n\n                    } else if (graphic) {\n                        point.graphic = graphic.destroy();\n                    }\n\n                }\n\n                // Might be a mix of SVG and HTML and we need events for both (#6303)\n                if (options.useHTML) {\n                    H.wrap(series.markerGroup, 'on', function(proceed) {\n                        return H.SVGElement.prototype.on.apply(\n                            proceed.apply(this, [].slice.call(arguments, 1)), // for HTML\n                            [].slice.call(arguments, 1)); // and for SVG\n                    });\n                }\n\n            },\n\n            /**\n             * Extend the column trackers with listeners to expand and contract stacks\n             */\n            drawTracker: function() {\n                var series = this,\n                    points = series.points;\n\n                TrackerMixin.drawTrackerPoint.apply(this);\n\n                // Bring each stacked flag up on mouse over, this allows readability of vertically\n                // stacked elements as well as tight points on the x axis. #1924.\n                each(points, function(point) {\n                    var graphic = point.graphic;\n                    if (graphic) {\n                        addEvent(graphic.element, 'mouseover', function() {\n\n                            // Raise this point\n                            if (point.stackIndex > 0 && !point.raised) {\n                                point._y = graphic.y;\n                                graphic.attr({\n                                    y: point._y - 8\n                                });\n                                point.raised = true;\n                            }\n\n                            // Revert other raised points\n                            each(points, function(otherPoint) {\n                                if (otherPoint !== point && otherPoint.raised && otherPoint.graphic) {\n                                    otherPoint.graphic.attr({\n                                        y: otherPoint._y\n                                    });\n                                    otherPoint.raised = false;\n                                }\n                            });\n                        });\n                    }\n                });\n            },\n\n            animate: noop, // Disable animation\n            buildKDTree: noop,\n            setClip: noop\n\n        });\n\n        // create the flag icon with anchor\n        symbols.flag = function(x, y, w, h, options) {\n            var anchorX = (options && options.anchorX) || x,\n                anchorY = (options && options.anchorY) || y;\n\n            return [\n                'M', anchorX, anchorY,\n                'L', x, y + h,\n                x, y,\n                x + w, y,\n                x + w, y + h,\n                x, y + h,\n                'Z'\n            ];\n        };\n\n        // create the circlepin and squarepin icons with anchor\n        each(['circle', 'square'], function(shape) {\n            symbols[shape + 'pin'] = function(x, y, w, h, options) {\n\n                var anchorX = options && options.anchorX,\n                    anchorY = options && options.anchorY,\n                    path,\n                    labelTopOrBottomY;\n\n                // For single-letter flags, make sure circular flags are not taller than their width\n                if (shape === 'circle' && h > w) {\n                    x -= Math.round((h - w) / 2);\n                    w = h;\n                }\n\n                path = symbols[shape](x, y, w, h);\n\n                if (anchorX && anchorY) {\n                    // if the label is below the anchor, draw the connecting line from the top edge of the label\n                    // otherwise start drawing from the bottom edge\n                    labelTopOrBottomY = (y > anchorY) ? y : y + h;\n                    path.push('M', anchorX, labelTopOrBottomY, 'L', anchorX, anchorY);\n                }\n\n                return path;\n            };\n        });\n\n\n        // The symbol callbacks are generated on the SVGRenderer object in all browsers. Even\n        // VML browsers need this in order to generate shapes in export. Now share\n        // them with the VMLRenderer.\n        if (Renderer === VMLRenderer) {\n            each(['flag', 'circlepin', 'squarepin'], function(shape) {\n                VMLRenderer.prototype.symbols[shape] = symbols[shape];\n            });\n        }\n\n        /* ****************************************************************************\n         * End Flags series code\t\t\t\t\t\t\t\t\t\t\t\t\t  *\n         *****************************************************************************/\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var addEvent = H.addEvent,\n            Axis = H.Axis,\n            correctFloat = H.correctFloat,\n            defaultOptions = H.defaultOptions,\n            defined = H.defined,\n            destroyObjectProperties = H.destroyObjectProperties,\n            doc = H.doc,\n            each = H.each,\n            fireEvent = H.fireEvent,\n            hasTouch = H.hasTouch,\n            isTouchDevice = H.isTouchDevice,\n            merge = H.merge,\n            pick = H.pick,\n            removeEvent = H.removeEvent,\n            svg = H.svg,\n            wrap = H.wrap,\n            swapXY;\n\n        var defaultScrollbarOptions = {\n            //enabled: true\n            height: isTouchDevice ? 20 : 14,\n            // trackBorderRadius: 0\n            barBorderRadius: 0,\n            buttonBorderRadius: 0,\n            liveRedraw: svg && !isTouchDevice,\n            margin: 10,\n            minWidth: 6,\n            //showFull: true,\n            //size: null,\n            step: 0.2,\n            zIndex: 3,\n\n            barBackgroundColor: '#cccccc',\n            barBorderWidth: 1,\n            barBorderColor: '#cccccc',\n            buttonArrowColor: '#333333',\n            buttonBackgroundColor: '#e6e6e6',\n            buttonBorderColor: '#cccccc',\n            buttonBorderWidth: 1,\n            rifleColor: '#333333',\n            trackBackgroundColor: '#f2f2f2',\n            trackBorderColor: '#f2f2f2',\n            trackBorderWidth: 1\n\n        };\n\n        defaultOptions.scrollbar = merge(true, defaultScrollbarOptions, defaultOptions.scrollbar);\n\n        /**\n         * When we have vertical scrollbar, rifles and arrow in buttons should be rotated.\n         * The same method is used in Navigator's handles, to rotate them.\n         * @param {Array} path - path to be rotated\n         * @param {Boolean} vertical - if vertical scrollbar, swap x-y values\n         */\n        H.swapXY = swapXY = function(path, vertical) {\n            var i,\n                len = path.length,\n                temp;\n\n            if (vertical) {\n                for (i = 0; i < len; i += 3) {\n                    temp = path[i + 1];\n                    path[i + 1] = path[i + 2];\n                    path[i + 2] = temp;\n                }\n            }\n\n            return path;\n        };\n\n        /**\n         * A reusable scrollbar, internally used in Highstock's navigator and optionally\n         * on individual axes.\n         *\n         * @class\n         * @param {Object} renderer\n         * @param {Object} options\n         * @param {Object} chart\n         */\n        function Scrollbar(renderer, options, chart) { // docs\n            this.init(renderer, options, chart);\n        }\n\n        Scrollbar.prototype = {\n\n            init: function(renderer, options, chart) {\n\n                this.scrollbarButtons = [];\n\n                this.renderer = renderer;\n\n                this.userOptions = options;\n                this.options = merge(defaultScrollbarOptions, options);\n\n                this.chart = chart;\n\n                this.size = pick(this.options.size, this.options.height); // backward compatibility\n\n                // Init\n                if (options.enabled) {\n                    this.render();\n                    this.initEvents();\n                    this.addEvents();\n                }\n            },\n\n            /**\n             * Render scrollbar with all required items.\n             */\n            render: function() {\n                var scroller = this,\n                    renderer = scroller.renderer,\n                    options = scroller.options,\n                    size = scroller.size,\n                    group;\n\n                // Draw the scrollbar group\n                scroller.group = group = renderer.g('scrollbar').attr({\n                    zIndex: options.zIndex,\n                    translateY: -99999\n                }).add();\n\n                // Draw the scrollbar track:\n                scroller.track = renderer.rect()\n                    .addClass('highcharts-scrollbar-track')\n                    .attr({\n                        x: 0,\n                        r: options.trackBorderRadius || 0,\n                        height: size,\n                        width: size\n                    }).add(group);\n\n\n                scroller.track.attr({\n                    fill: options.trackBackgroundColor,\n                    stroke: options.trackBorderColor,\n                    'stroke-width': options.trackBorderWidth\n                });\n\n                this.trackBorderWidth = scroller.track.strokeWidth();\n                scroller.track.attr({\n                    y: -this.trackBorderWidth % 2 / 2\n                });\n\n\n                // Draw the scrollbar itself\n                scroller.scrollbarGroup = renderer.g().add(group);\n\n                scroller.scrollbar = renderer.rect()\n                    .addClass('highcharts-scrollbar-thumb')\n                    .attr({\n                        height: size,\n                        width: size,\n                        r: options.barBorderRadius || 0\n                    }).add(scroller.scrollbarGroup);\n\n                scroller.scrollbarRifles = renderer.path(\n                        swapXY([\n                            'M', -3, size / 4,\n                            'L', -3, 2 * size / 3,\n                            'M',\n                            0, size / 4,\n                            'L',\n                            0, 2 * size / 3,\n                            'M',\n                            3, size / 4,\n                            'L',\n                            3, 2 * size / 3\n                        ], options.vertical))\n                    .addClass('highcharts-scrollbar-rifles')\n                    .add(scroller.scrollbarGroup);\n\n\n                scroller.scrollbar.attr({\n                    fill: options.barBackgroundColor,\n                    stroke: options.barBorderColor,\n                    'stroke-width': options.barBorderWidth\n                });\n                scroller.scrollbarRifles.attr({\n                    stroke: options.rifleColor,\n                    'stroke-width': 1\n                });\n\n                scroller.scrollbarStrokeWidth = scroller.scrollbar.strokeWidth();\n                scroller.scrollbarGroup.translate(-scroller.scrollbarStrokeWidth % 2 / 2, -scroller.scrollbarStrokeWidth % 2 / 2);\n\n                // Draw the buttons:\n                scroller.drawScrollbarButton(0);\n                scroller.drawScrollbarButton(1);\n            },\n\n            /**\n             * Position the scrollbar, method called from a parent with defined dimensions\n             * @param {Number} x - x-position on the chart\n             * @param {Number} y - y-position on the chart\n             * @param {Number} width - width of the scrollbar\n             * @param {Number} height - height of the scorllbar\n             */\n            position: function(x, y, width, height) {\n                var scroller = this,\n                    options = scroller.options,\n                    vertical = options.vertical,\n                    xOffset = height,\n                    yOffset = 0,\n                    method = scroller.rendered ? 'animate' : 'attr';\n\n                scroller.x = x;\n                scroller.y = y + this.trackBorderWidth;\n                scroller.width = width; // width with buttons\n                scroller.height = height;\n                scroller.xOffset = xOffset;\n                scroller.yOffset = yOffset;\n\n                // If Scrollbar is a vertical type, swap options:\n                if (vertical) {\n                    scroller.width = scroller.yOffset = width = yOffset = scroller.size;\n                    scroller.xOffset = xOffset = 0;\n                    scroller.barWidth = height - width * 2; // width without buttons\n                    scroller.x = x = x + scroller.options.margin;\n                } else {\n                    scroller.height = scroller.xOffset = height = xOffset = scroller.size;\n                    scroller.barWidth = width - height * 2; // width without buttons\n                    scroller.y = scroller.y + scroller.options.margin;\n                }\n\n                // Set general position for a group:\n                scroller.group[method]({\n                    translateX: x,\n                    translateY: scroller.y\n                });\n\n                // Resize background/track:\n                scroller.track[method]({\n                    width: width,\n                    height: height\n                });\n\n                // Move right/bottom button ot it's place:\n                scroller.scrollbarButtons[1][method]({\n                    translateX: vertical ? 0 : width - xOffset,\n                    translateY: vertical ? height - yOffset : 0\n                });\n            },\n\n            /**\n             * Draw the scrollbar buttons with arrows\n             * @param {Number} index 0 is left, 1 is right\n             */\n            drawScrollbarButton: function(index) {\n                var scroller = this,\n                    renderer = scroller.renderer,\n                    scrollbarButtons = scroller.scrollbarButtons,\n                    options = scroller.options,\n                    size = scroller.size,\n                    group,\n                    tempElem;\n\n                group = renderer.g().add(scroller.group);\n                scrollbarButtons.push(group);\n\n                // Create a rectangle for the scrollbar button\n                tempElem = renderer.rect()\n                    .addClass('highcharts-scrollbar-button')\n                    .add(group);\n\n\n                // Presentational attributes\n                tempElem.attr({\n                    stroke: options.buttonBorderColor,\n                    'stroke-width': options.buttonBorderWidth,\n                    fill: options.buttonBackgroundColor\n                });\n\n\n                // Place the rectangle based on the rendered stroke width\n                tempElem.attr(tempElem.crisp({\n                    x: -0.5,\n                    y: -0.5,\n                    width: size + 1, // +1 to compensate for crispifying in rect method\n                    height: size + 1,\n                    r: options.buttonBorderRadius\n                }, tempElem.strokeWidth()));\n\n                // Button arrow\n                tempElem = renderer\n                    .path(swapXY([\n                        'M',\n                        size / 2 + (index ? -1 : 1),\n                        size / 2 - 3,\n                        'L',\n                        size / 2 + (index ? -1 : 1),\n                        size / 2 + 3,\n                        'L',\n                        size / 2 + (index ? 2 : -2),\n                        size / 2\n                    ], options.vertical))\n                    .addClass('highcharts-scrollbar-arrow')\n                    .add(scrollbarButtons[index]);\n\n\n                tempElem.attr({\n                    fill: options.buttonArrowColor\n                });\n\n            },\n\n            /**\n             * Set scrollbar size, with a given scale.\n             * @param {Number} from - scale (0-1) where bar should start\n             * @param {Number} to - scale (0-1) where bar should end\n             */\n            setRange: function(from, to) {\n                var scroller = this,\n                    options = scroller.options,\n                    vertical = options.vertical,\n                    minWidth = options.minWidth,\n                    fullWidth = scroller.barWidth,\n                    fromPX,\n                    toPX,\n                    newPos,\n                    newSize,\n                    newRiflesPos,\n                    method = this.rendered && !this.hasDragged ? 'animate' : 'attr';\n\n                if (!defined(fullWidth)) {\n                    return;\n                }\n\n                from = Math.max(from, 0);\n                fromPX = Math.ceil(fullWidth * from);\n                toPX = fullWidth * Math.min(to, 1);\n                scroller.calculatedWidth = newSize = correctFloat(toPX - fromPX);\n\n                // We need to recalculate position, if minWidth is used\n                if (newSize < minWidth) {\n                    fromPX = (fullWidth - minWidth + newSize) * from;\n                    newSize = minWidth;\n                }\n                newPos = Math.floor(fromPX + scroller.xOffset + scroller.yOffset);\n                newRiflesPos = newSize / 2 - 0.5; // -0.5 -> rifle line width / 2\n\n                // Store current position:\n                scroller.from = from;\n                scroller.to = to;\n\n                if (!vertical) {\n                    scroller.scrollbarGroup[method]({\n                        translateX: newPos\n                    });\n                    scroller.scrollbar[method]({\n                        width: newSize\n                    });\n                    scroller.scrollbarRifles[method]({\n                        translateX: newRiflesPos\n                    });\n                    scroller.scrollbarLeft = newPos;\n                    scroller.scrollbarTop = 0;\n                } else {\n                    scroller.scrollbarGroup[method]({\n                        translateY: newPos\n                    });\n                    scroller.scrollbar[method]({\n                        height: newSize\n                    });\n                    scroller.scrollbarRifles[method]({\n                        translateY: newRiflesPos\n                    });\n                    scroller.scrollbarTop = newPos;\n                    scroller.scrollbarLeft = 0;\n                }\n\n                if (newSize <= 12) {\n                    scroller.scrollbarRifles.hide();\n                } else {\n                    scroller.scrollbarRifles.show(true);\n                }\n\n                // Show or hide the scrollbar based on the showFull setting\n                if (options.showFull === false) {\n                    if (from <= 0 && to >= 1) {\n                        scroller.group.hide();\n                    } else {\n                        scroller.group.show();\n                    }\n                }\n\n                scroller.rendered = true;\n            },\n\n            /**\n             * Init events methods, so we have an access to the Scrollbar itself\n             */\n            initEvents: function() {\n                var scroller = this;\n                /**\n                 * Event handler for the mouse move event.\n                 */\n                scroller.mouseMoveHandler = function(e) {\n                    var normalizedEvent = scroller.chart.pointer.normalize(e),\n                        options = scroller.options,\n                        direction = options.vertical ? 'chartY' : 'chartX',\n                        initPositions = scroller.initPositions,\n                        scrollPosition,\n                        chartPosition,\n                        change;\n\n                    // In iOS, a mousemove event with e.pageX === 0 is fired when holding the finger\n                    // down in the center of the scrollbar. This should be ignored.\n                    if (scroller.grabbedCenter && (!e.touches || e.touches[0][direction] !== 0)) { // #4696, scrollbar failed on Android\n                        chartPosition = scroller.cursorToScrollbarPosition(normalizedEvent)[direction];\n                        scrollPosition = scroller[direction];\n\n                        change = chartPosition - scrollPosition;\n\n                        scroller.hasDragged = true;\n                        scroller.updatePosition(initPositions[0] + change, initPositions[1] + change);\n\n                        if (scroller.hasDragged) {\n                            fireEvent(scroller, 'changed', {\n                                from: scroller.from,\n                                to: scroller.to,\n                                trigger: 'scrollbar',\n                                DOMType: e.type,\n                                DOMEvent: e\n                            });\n                        }\n                    }\n                };\n\n                /**\n                 * Event handler for the mouse up event.\n                 */\n                scroller.mouseUpHandler = function(e) {\n                    if (scroller.hasDragged) {\n                        fireEvent(scroller, 'changed', {\n                            from: scroller.from,\n                            to: scroller.to,\n                            trigger: 'scrollbar',\n                            DOMType: e.type,\n                            DOMEvent: e\n                        });\n                    }\n                    scroller.grabbedCenter = scroller.hasDragged = scroller.chartX = scroller.chartY = null;\n                };\n\n                scroller.mouseDownHandler = function(e) {\n                    var normalizedEvent = scroller.chart.pointer.normalize(e),\n                        mousePosition = scroller.cursorToScrollbarPosition(normalizedEvent);\n\n                    scroller.chartX = mousePosition.chartX;\n                    scroller.chartY = mousePosition.chartY;\n                    scroller.initPositions = [scroller.from, scroller.to];\n\n                    scroller.grabbedCenter = true;\n                };\n\n                scroller.buttonToMinClick = function(e) {\n                    var range = correctFloat(scroller.to - scroller.from) * scroller.options.step;\n                    scroller.updatePosition(correctFloat(scroller.from - range), correctFloat(scroller.to - range));\n                    fireEvent(scroller, 'changed', {\n                        from: scroller.from,\n                        to: scroller.to,\n                        trigger: 'scrollbar',\n                        DOMEvent: e\n                    });\n                };\n\n                scroller.buttonToMaxClick = function(e) {\n                    var range = (scroller.to - scroller.from) * scroller.options.step;\n                    scroller.updatePosition(scroller.from + range, scroller.to + range);\n                    fireEvent(scroller, 'changed', {\n                        from: scroller.from,\n                        to: scroller.to,\n                        trigger: 'scrollbar',\n                        DOMEvent: e\n                    });\n                };\n\n                scroller.trackClick = function(e) {\n                    var normalizedEvent = scroller.chart.pointer.normalize(e),\n                        range = scroller.to - scroller.from,\n                        top = scroller.y + scroller.scrollbarTop,\n                        left = scroller.x + scroller.scrollbarLeft;\n\n                    if ((scroller.options.vertical && normalizedEvent.chartY > top) ||\n                        (!scroller.options.vertical && normalizedEvent.chartX > left)) {\n                        // On the top or on the left side of the track:\n                        scroller.updatePosition(scroller.from + range, scroller.to + range);\n                    } else {\n                        // On the bottom or the right side of the track:\n                        scroller.updatePosition(scroller.from - range, scroller.to - range);\n                    }\n\n                    fireEvent(scroller, 'changed', {\n                        from: scroller.from,\n                        to: scroller.to,\n                        trigger: 'scrollbar',\n                        DOMEvent: e\n                    });\n                };\n            },\n\n            /**\n             * Get normalized (0-1) cursor position over the scrollbar\n             * @param {Event} normalizedEvent - normalized event, with chartX and chartY values\n             * @return {Object} Local position {chartX, chartY}\n             */\n            cursorToScrollbarPosition: function(normalizedEvent) {\n                var scroller = this,\n                    options = scroller.options,\n                    minWidthDifference = options.minWidth > scroller.calculatedWidth ? options.minWidth : 0; // minWidth distorts translation\n\n                return {\n                    chartX: (normalizedEvent.chartX - scroller.x - scroller.xOffset) / (scroller.barWidth - minWidthDifference),\n                    chartY: (normalizedEvent.chartY - scroller.y - scroller.yOffset) / (scroller.barWidth - minWidthDifference)\n                };\n            },\n\n            /**\n             * Update position option in the Scrollbar, with normalized 0-1 scale\n             */\n            updatePosition: function(from, to) {\n                if (to > 1) {\n                    from = correctFloat(1 - correctFloat(to - from));\n                    to = 1;\n                }\n\n                if (from < 0) {\n                    to = correctFloat(to - from);\n                    from = 0;\n                }\n\n                this.from = from;\n                this.to = to;\n            },\n\n            /**\n             * Update the scrollbar with new options\n             */\n            update: function(options) {\n                this.destroy();\n                this.init(this.chart.renderer, merge(true, this.options, options), this.chart);\n            },\n\n            /**\n             * Set up the mouse and touch events for the Scrollbar\n             */\n            addEvents: function() {\n                var buttonsOrder = this.options.inverted ? [1, 0] : [0, 1],\n                    buttons = this.scrollbarButtons,\n                    bar = this.scrollbarGroup.element,\n                    track = this.track.element,\n                    mouseDownHandler = this.mouseDownHandler,\n                    mouseMoveHandler = this.mouseMoveHandler,\n                    mouseUpHandler = this.mouseUpHandler,\n                    _events;\n\n                // Mouse events\n                _events = [\n                    [buttons[buttonsOrder[0]].element, 'click', this.buttonToMinClick],\n                    [buttons[buttonsOrder[1]].element, 'click', this.buttonToMaxClick],\n                    [track, 'click', this.trackClick],\n                    [bar, 'mousedown', mouseDownHandler],\n                    [doc, 'mousemove', mouseMoveHandler],\n                    [doc, 'mouseup', mouseUpHandler]\n                ];\n\n                // Touch events\n                if (hasTouch) {\n                    _events.push(\n                        [bar, 'touchstart', mouseDownHandler], [doc, 'touchmove', mouseMoveHandler], [doc, 'touchend', mouseUpHandler]\n                    );\n                }\n\n                // Add them all\n                each(_events, function(args) {\n                    addEvent.apply(null, args);\n                });\n                this._events = _events;\n            },\n\n            /**\n             * Removes the event handlers attached previously with addEvents.\n             */\n            removeEvents: function() {\n                each(this._events, function(args) {\n                    removeEvent.apply(null, args);\n                });\n                this._events = undefined;\n            },\n\n            /**\n             * Destroys allocated elements.\n             */\n            destroy: function() {\n\n                var scroller = this.chart.scroller;\n\n                // Disconnect events added in addEvents\n                this.removeEvents();\n\n                // Destroy properties\n                each(['track', 'scrollbarRifles', 'scrollbar', 'scrollbarGroup', 'group'], function(prop) {\n                    if (this[prop] && this[prop].destroy) {\n                        this[prop] = this[prop].destroy();\n                    }\n                }, this);\n\n                if (scroller && this === scroller.scrollbar) { // #6421, chart may have more scrollbars\n                    scroller.scrollbar = null;\n\n                    // Destroy elements in collection\n                    destroyObjectProperties(scroller.scrollbarButtons);\n                }\n            }\n        };\n\n        /**\n         * Wrap axis initialization and create scrollbar if enabled:\n         */\n        wrap(Axis.prototype, 'init', function(proceed) {\n            var axis = this;\n            proceed.apply(axis, Array.prototype.slice.call(arguments, 1));\n\n            if (axis.options.scrollbar && axis.options.scrollbar.enabled) {\n                // Predefined options:\n                axis.options.scrollbar.vertical = !axis.horiz;\n                axis.options.startOnTick = axis.options.endOnTick = false;\n\n                axis.scrollbar = new Scrollbar(axis.chart.renderer, axis.options.scrollbar, axis.chart);\n\n                addEvent(axis.scrollbar, 'changed', function(e) {\n                    var unitedMin = Math.min(pick(axis.options.min, axis.min), axis.min, axis.dataMin),\n                        unitedMax = Math.max(pick(axis.options.max, axis.max), axis.max, axis.dataMax),\n                        range = unitedMax - unitedMin,\n                        to,\n                        from;\n\n                    if ((axis.horiz && !axis.reversed) || (!axis.horiz && axis.reversed)) {\n                        to = unitedMin + range * this.to;\n                        from = unitedMin + range * this.from;\n                    } else {\n                        // y-values in browser are reversed, but this also applies for reversed horizontal axis:\n                        to = unitedMin + range * (1 - this.from);\n                        from = unitedMin + range * (1 - this.to);\n                    }\n\n                    axis.setExtremes(from, to, true, false, e);\n                });\n            }\n        });\n\n        /**\n         * Wrap rendering axis, and update scrollbar if one is created:\n         */\n        wrap(Axis.prototype, 'render', function(proceed) {\n            var axis = this,\n                scrollMin = Math.min(pick(axis.options.min, axis.min), axis.min, axis.dataMin),\n                scrollMax = Math.max(pick(axis.options.max, axis.max), axis.max, axis.dataMax),\n                scrollbar = axis.scrollbar,\n                offsetsIndex,\n                from,\n                to;\n\n            proceed.apply(axis, Array.prototype.slice.call(arguments, 1));\n\n            if (scrollbar) {\n\n                if (axis.horiz) {\n                    scrollbar.position(\n                        axis.left,\n                        axis.top + axis.height + 2 + axis.chart.scrollbarsOffsets[1] +\n                        (axis.opposite ? 0 : axis.axisTitleMargin + axis.offset),\n                        axis.width,\n                        axis.height\n                    );\n                    offsetsIndex = 1;\n                } else {\n                    scrollbar.position(\n                        axis.left + axis.width + 2 + axis.chart.scrollbarsOffsets[0] +\n                        (axis.opposite ? axis.axisTitleMargin + axis.offset : 0),\n                        axis.top,\n                        axis.width,\n                        axis.height\n                    );\n                    offsetsIndex = 0;\n                }\n\n                if ((!axis.opposite && !axis.horiz) || (axis.opposite && axis.horiz)) {\n                    axis.chart.scrollbarsOffsets[offsetsIndex] +=\n                        axis.scrollbar.size + axis.scrollbar.options.margin;\n                }\n\n                if (isNaN(scrollMin) || isNaN(scrollMax) || !defined(axis.min) || !defined(axis.max)) {\n                    scrollbar.setRange(0, 0); // default action: when there is not extremes on the axis, but scrollbar exists, make it full size\n                } else {\n                    from = (axis.min - scrollMin) / (scrollMax - scrollMin);\n                    to = (axis.max - scrollMin) / (scrollMax - scrollMin);\n\n                    if ((axis.horiz && !axis.reversed) || (!axis.horiz && axis.reversed)) {\n                        scrollbar.setRange(from, to);\n                    } else {\n                        scrollbar.setRange(1 - to, 1 - from); // inverse vertical axis\n                    }\n                }\n            }\n        });\n\n        /**\n         * Make space for a scrollbar\n         */\n        wrap(Axis.prototype, 'getOffset', function(proceed) {\n            var axis = this,\n                index = axis.horiz ? 2 : 1,\n                scrollbar = axis.scrollbar;\n\n            proceed.apply(axis, Array.prototype.slice.call(arguments, 1));\n\n            if (scrollbar) {\n                axis.chart.scrollbarsOffsets = [0, 0]; // reset scrollbars offsets\n                axis.chart.axisOffset[index] += scrollbar.size + scrollbar.options.margin;\n            }\n        });\n\n        /**\n         * Destroy scrollbar when connected to the specific axis\n         */\n        wrap(Axis.prototype, 'destroy', function(proceed) {\n            if (this.scrollbar) {\n                this.scrollbar = this.scrollbar.destroy();\n            }\n\n            proceed.apply(this, Array.prototype.slice.call(arguments, 1));\n        });\n\n        H.Scrollbar = Scrollbar;\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        /* ****************************************************************************\n         * Start Navigator code\t\t\t\t\t\t\t\t\t\t\t\t\t\t*\n         *****************************************************************************/\n        var addEvent = H.addEvent,\n            Axis = H.Axis,\n            Chart = H.Chart,\n            color = H.color,\n            defaultDataGroupingUnits = H.defaultDataGroupingUnits,\n            defaultOptions = H.defaultOptions,\n            defined = H.defined,\n            destroyObjectProperties = H.destroyObjectProperties,\n            doc = H.doc,\n            each = H.each,\n            erase = H.erase,\n            error = H.error,\n            extend = H.extend,\n            grep = H.grep,\n            hasTouch = H.hasTouch,\n            isNumber = H.isNumber,\n            isObject = H.isObject,\n            merge = H.merge,\n            pick = H.pick,\n            removeEvent = H.removeEvent,\n            Scrollbar = H.Scrollbar,\n            Series = H.Series,\n            seriesTypes = H.seriesTypes,\n            wrap = H.wrap,\n            swapXY = H.swapXY,\n\n            units = [].concat(defaultDataGroupingUnits), // copy\n            defaultSeriesType,\n\n            // Finding the min or max of a set of variables where we don't know if they are defined,\n            // is a pattern that is repeated several places in Highcharts. Consider making this\n            // a global utility method.\n            numExt = function(extreme) {\n                var numbers = grep(arguments, isNumber);\n                if (numbers.length) {\n                    return Math[extreme].apply(0, numbers);\n                }\n            };\n\n        // add more resolution to units\n        units[4] = ['day', [1, 2, 3, 4]]; // allow more days\n        units[5] = ['week', [1, 2, 3]]; // allow more weeks\n\n        defaultSeriesType = seriesTypes.areaspline === undefined ? 'line' : 'areaspline';\n\n        extend(defaultOptions, {\n            navigator: {\n                //enabled: true,\n                height: 40,\n                margin: 25,\n                maskInside: true,\n\n                handles: {\n                    backgroundColor: '#f2f2f2',\n                    borderColor: '#999999'\n                },\n                maskFill: color('#6685c2').setOpacity(0.3).get(),\n                outlineColor: '#cccccc',\n                outlineWidth: 1,\n\n                series: {\n                    type: defaultSeriesType,\n\n                    color: '#335cad',\n                    fillOpacity: 0.05,\n                    lineWidth: 1,\n\n                    compare: null,\n                    dataGrouping: {\n                        approximation: 'average',\n                        enabled: true,\n                        groupPixelWidth: 2,\n                        smoothed: true,\n                        units: units\n                    },\n                    dataLabels: {\n                        enabled: false,\n                        zIndex: 2 // #1839\n                    },\n                    id: 'highcharts-navigator-series',\n                    className: 'highcharts-navigator-series',\n                    lineColor: null, // Allow color setting while disallowing default candlestick setting (#4602)\n                    marker: {\n                        enabled: false\n                    },\n                    pointRange: 0,\n                    shadow: false,\n                    threshold: null\n                },\n                //top: undefined,\n                //opposite: undefined,\n                xAxis: {\n                    className: 'highcharts-navigator-xaxis',\n                    tickLength: 0,\n\n                    lineWidth: 0,\n                    gridLineColor: '#e6e6e6',\n                    gridLineWidth: 1,\n\n                    tickPixelInterval: 200,\n                    labels: {\n                        align: 'left',\n\n                        style: {\n                            color: '#999999'\n                        },\n\n                        x: 3,\n                        y: -4\n                    },\n                    crosshair: false\n                },\n                yAxis: {\n                    className: 'highcharts-navigator-yaxis',\n\n                    gridLineWidth: 0,\n\n                    startOnTick: false,\n                    endOnTick: false,\n                    minPadding: 0.1,\n                    maxPadding: 0.1,\n                    labels: {\n                        enabled: false\n                    },\n                    crosshair: false,\n                    title: {\n                        text: null\n                    },\n                    tickLength: 0,\n                    tickWidth: 0\n                }\n            }\n        });\n\n        /**\n         * The Navigator class\n         * @param {Object} chart - Chart object\n         * @class\n         */\n        function Navigator(chart) {\n            this.init(chart);\n        }\n\n        Navigator.prototype = {\n            /**\n             * Draw one of the handles on the side of the zoomed range in the navigator\n             * @param {Number} x The x center for the handle\n             * @param {Number} index 0 for left and 1 for right\n             * @param {Boolean} inverted flag for chart.inverted\n             * @param {String} verb use 'animate' or 'attr'\n             */\n            drawHandle: function(x, index, inverted, verb) {\n                var navigator = this;\n\n                // Place it\n                navigator.handles[index][verb](inverted ? {\n                    translateX: Math.round(navigator.left + navigator.height / 2 - 8),\n                    translateY: Math.round(navigator.top + parseInt(x, 10) + 0.5)\n                } : {\n                    translateX: Math.round(navigator.left + parseInt(x, 10)),\n                    translateY: Math.round(navigator.top + navigator.height / 2 - 8)\n                });\n            },\n\n            /**\n             * Draw one of the handles on the side of the zoomed range in the navigator\n             * @param {Boolean} inverted flag for chart.inverted\n             * @returns {Array} Path to be used in a handle\n             */\n            getHandlePath: function(inverted) {\n                return swapXY([\n                    'M', -4.5, 0.5,\n                    'L',\n                    3.5, 0.5,\n                    'L',\n                    3.5, 15.5,\n                    'L', -4.5, 15.5,\n                    'L', -4.5, 0.5,\n                    'M', -1.5, 4,\n                    'L', -1.5, 12,\n                    'M',\n                    0.5, 4,\n                    'L',\n                    0.5, 12\n                ], inverted);\n            },\n            /**\n             * Render outline around the zoomed range\n             * @param {Number} zoomedMin in pixels position where zoomed range starts\n             * @param {Number} zoomedMax in pixels position where zoomed range ends\n             * @param {Boolean} inverted flag if chart is inverted\n             * @param {String} verb use 'animate' or 'attr'\n             */\n            drawOutline: function(zoomedMin, zoomedMax, inverted, verb) {\n                var navigator = this,\n                    maskInside = navigator.navigatorOptions.maskInside,\n                    outlineWidth = navigator.outline.strokeWidth(),\n                    halfOutline = outlineWidth / 2,\n                    outlineCorrection = (outlineWidth % 2) / 2, // #5800\n                    outlineHeight = navigator.outlineHeight,\n                    scrollbarHeight = navigator.scrollbarHeight,\n                    navigatorSize = navigator.size,\n                    left = navigator.left - scrollbarHeight,\n                    navigatorTop = navigator.top,\n                    verticalMin,\n                    path;\n\n                if (inverted) {\n                    left -= halfOutline;\n                    verticalMin = navigatorTop + zoomedMax + outlineCorrection;\n                    zoomedMax = navigatorTop + zoomedMin + outlineCorrection;\n\n                    path = [\n                        'M',\n                        left + outlineHeight,\n                        navigatorTop - scrollbarHeight - outlineCorrection, // top edge\n                        'L',\n                        left + outlineHeight,\n                        verticalMin, // top right of zoomed range\n                        'L',\n                        left,\n                        verticalMin, // top left of z.r.\n                        'L',\n                        left,\n                        zoomedMax, // bottom left of z.r.\n                        'L',\n                        left + outlineHeight,\n                        zoomedMax, // bottom right of z.r.\n                        'L',\n                        left + outlineHeight,\n                        navigatorTop + navigatorSize + scrollbarHeight // bottom edge\n                    ].concat(maskInside ? [\n                        'M',\n                        left + outlineHeight,\n                        verticalMin - halfOutline, // upper left of zoomed range\n                        'L',\n                        left + outlineHeight,\n                        zoomedMax + halfOutline // upper right of z.r.\n                    ] : []);\n                } else {\n                    zoomedMin += left + scrollbarHeight - outlineCorrection;\n                    zoomedMax += left + scrollbarHeight - outlineCorrection;\n                    navigatorTop += halfOutline;\n\n                    path = [\n                        'M',\n                        left,\n                        navigatorTop, // left\n                        'L',\n                        zoomedMin,\n                        navigatorTop, // upper left of zoomed range\n                        'L',\n                        zoomedMin,\n                        navigatorTop + outlineHeight, // lower left of z.r.\n                        'L',\n                        zoomedMax,\n                        navigatorTop + outlineHeight, // lower right of z.r.\n                        'L',\n                        zoomedMax,\n                        navigatorTop, // upper right of z.r.\n                        'L',\n                        left + navigatorSize + scrollbarHeight * 2,\n                        navigatorTop // right\n                    ].concat(maskInside ? [\n                        'M',\n                        zoomedMin - halfOutline,\n                        navigatorTop, // upper left of zoomed range\n                        'L',\n                        zoomedMax + halfOutline,\n                        navigatorTop // upper right of z.r.\n                    ] : []);\n                }\n                navigator.outline[verb]({\n                    d: path\n                });\n            },\n\n            /**\n             * Render outline around the zoomed range\n             * @param {Number} zoomedMin in pixels position where zoomed range starts\n             * @param {Number} zoomedMax in pixels position where zoomed range ends\n             * @param {Boolean} inverted flag if chart is inverted\n             * @param {String} verb use 'animate' or 'attr'\n             */\n            drawMasks: function(zoomedMin, zoomedMax, inverted, verb) {\n                var navigator = this,\n                    left = navigator.left,\n                    top = navigator.top,\n                    navigatorHeight = navigator.height,\n                    height,\n                    width,\n                    x,\n                    y;\n\n                // Determine rectangle position & size \n                // According to (non)inverted position:\n                if (inverted) {\n                    x = [left, left, left];\n                    y = [top, top + zoomedMin, top + zoomedMax];\n                    width = [navigatorHeight, navigatorHeight, navigatorHeight];\n                    height = [\n                        zoomedMin,\n                        zoomedMax - zoomedMin,\n                        navigator.size - zoomedMax\n                    ];\n                } else {\n                    x = [left, left + zoomedMin, left + zoomedMax];\n                    y = [top, top, top];\n                    width = [\n                        zoomedMin,\n                        zoomedMax - zoomedMin,\n                        navigator.size - zoomedMax\n                    ];\n                    height = [navigatorHeight, navigatorHeight, navigatorHeight];\n                }\n                each(navigator.shades, function(shade, i) {\n                    shade[verb]({\n                        x: x[i],\n                        y: y[i],\n                        width: width[i],\n                        height: height[i]\n                    });\n                });\n            },\n\n            /**\n             * Generate DOM elements for a navigator:\n             * - main navigator group\n             * - all shades\n             * - outline\n             * - handles\n             */\n            renderElements: function() {\n                var navigator = this,\n                    navigatorOptions = navigator.navigatorOptions,\n                    maskInside = navigatorOptions.maskInside,\n                    chart = navigator.chart,\n                    inverted = chart.inverted,\n                    renderer = chart.renderer,\n                    navigatorGroup;\n\n                // Create the main navigator group\n                navigator.navigatorGroup = navigatorGroup = renderer.g('navigator')\n                    .attr({\n                        zIndex: 8,\n                        visibility: 'hidden'\n                    })\n                    .add();\n\n\n\n                var mouseCursor = {\n                    cursor: inverted ? 'ns-resize' : 'ew-resize'\n                };\n\n\n                // Create masks, each mask will get events and fill:\n                each([!maskInside, maskInside, !maskInside], function(hasMask, index) {\n                    navigator.shades[index] = renderer.rect()\n                        .addClass('highcharts-navigator-mask' +\n                            (index === 1 ? '-inside' : '-outside'))\n\n                        .attr({\n                            fill: hasMask ? navigatorOptions.maskFill : 'transparent'\n                        })\n                        .css(index === 1 && mouseCursor)\n\n                        .add(navigatorGroup);\n                });\n\n                // Create the outline:\n                navigator.outline = renderer.path()\n                    .addClass('highcharts-navigator-outline')\n\n                    .attr({\n                        'stroke-width': navigatorOptions.outlineWidth,\n                        stroke: navigatorOptions.outlineColor\n                    })\n\n                    .add(navigatorGroup);\n\n                // Create the handlers:\n                each([0, 1], function(index) {\n                    navigator.handles[index] = renderer\n                        .path(navigator.getHandlePath(inverted))\n                        // zIndex = 6 for right handle, 7 for left.\n                        // Can't be 10, because of the tooltip in inverted chart #2908\n                        .attr({\n                            zIndex: 7 - index\n                        })\n                        .addClass(\n                            'highcharts-navigator-handle highcharts-navigator-handle-' + ['left', 'right'][index]\n                        ).add(navigatorGroup);\n\n\n                    var handlesOptions = navigatorOptions.handles;\n                    navigator.handles[index]\n                        .attr({\n                            fill: handlesOptions.backgroundColor,\n                            stroke: handlesOptions.borderColor,\n                            'stroke-width': 1\n                        })\n                        .css(mouseCursor);\n\n                });\n            },\n\n            /**\n             * Update navigator\n             * @param {Object} options Options to merge in when updating navigator\n             */\n            update: function(options) {\n                this.destroy();\n                var chartOptions = this.chart.options;\n                merge(true, chartOptions.navigator, this.options, options);\n                this.init(this.chart);\n            },\n\n            /**\n             * Render the navigator\n             * @param {Number} min X axis value minimum\n             * @param {Number} max X axis value maximum\n             * @param {Number} pxMin Pixel value minimum\n             * @param {Number} pxMax Pixel value maximum\n             */\n            render: function(min, max, pxMin, pxMax) {\n                var navigator = this,\n                    chart = navigator.chart,\n                    navigatorWidth,\n                    scrollbarLeft,\n                    scrollbarTop,\n                    scrollbarHeight = navigator.scrollbarHeight,\n                    navigatorSize,\n                    xAxis = navigator.xAxis,\n                    navigatorEnabled = navigator.navigatorEnabled,\n                    zoomedMin,\n                    zoomedMax,\n                    rendered = navigator.rendered,\n                    inverted = chart.inverted,\n                    verb,\n                    newMin,\n                    newMax,\n                    minRange = chart.xAxis[0].minRange;\n\n                // Don't redraw while moving the handles (#4703).\n                if (this.hasDragged && !defined(pxMin)) {\n                    return;\n                }\n\n                // Don't render the navigator until we have data (#486, #4202, #5172).\n                if (!isNumber(min) || !isNumber(max)) {\n                    // However, if navigator was already rendered, we may need to resize\n                    // it. For example hidden series, but visible navigator (#6022).\n                    if (rendered) {\n                        pxMin = 0;\n                        pxMax = xAxis.width;\n                    } else {\n                        return;\n                    }\n                }\n\n                navigator.left = pick(\n                    xAxis.left,\n                    // in case of scrollbar only, without navigator\n                    chart.plotLeft + scrollbarHeight + (inverted ? chart.plotWidth : 0)\n                );\n\n                navigator.size = zoomedMax = navigatorSize = pick(\n                    xAxis.len,\n                    (inverted ? chart.plotHeight : chart.plotWidth) - 2 * scrollbarHeight\n                );\n\n                if (inverted) {\n                    navigatorWidth = scrollbarHeight;\n                } else {\n                    navigatorWidth = navigatorSize + 2 * scrollbarHeight;\n                }\n\n                // Get the pixel position of the handles\n                pxMin = pick(pxMin, xAxis.toPixels(min, true));\n                pxMax = pick(pxMax, xAxis.toPixels(max, true));\n\n                if (!isNumber(pxMin) || Math.abs(pxMin) === Infinity) { // Verify (#1851, #2238)\n                    pxMin = 0;\n                    pxMax = navigatorWidth;\n                }\n\n                // Are we below the minRange? (#2618, #6191)\n                newMin = xAxis.toValue(pxMin, true);\n                newMax = xAxis.toValue(pxMax, true);\n                if (Math.abs(newMax - newMin) < minRange) {\n                    if (this.grabbedLeft) {\n                        pxMin = xAxis.toPixels(newMax - minRange, true);\n                    } else if (this.grabbedRight) {\n                        pxMax = xAxis.toPixels(newMin + minRange, true);\n                    } else {\n                        return;\n                    }\n                }\n\n                // Handles are allowed to cross, but never exceed the plot area\n                navigator.zoomedMax = Math.min(Math.max(pxMin, pxMax, 0), zoomedMax);\n                navigator.zoomedMin = Math.min(\n                    Math.max(\n                        navigator.fixedWidth ?\n                        navigator.zoomedMax - navigator.fixedWidth :\n                        Math.min(pxMin, pxMax),\n                        0\n                    ),\n                    zoomedMax\n                );\n\n                navigator.range = navigator.zoomedMax - navigator.zoomedMin;\n\n                zoomedMax = Math.round(navigator.zoomedMax);\n                zoomedMin = Math.round(navigator.zoomedMin);\n\n                if (navigatorEnabled) {\n                    navigator.navigatorGroup.attr({\n                        visibility: 'visible'\n                    });\n                    // Place elements\n                    verb = rendered && !navigator.hasDragged ? 'animate' : 'attr';\n\n                    navigator.drawMasks(zoomedMin, zoomedMax, inverted, verb);\n                    navigator.drawOutline(zoomedMin, zoomedMax, inverted, verb);\n                    navigator.drawHandle(zoomedMin, 0, inverted, verb);\n                    navigator.drawHandle(zoomedMax, 1, inverted, verb);\n                }\n\n                if (navigator.scrollbar) {\n                    if (inverted) {\n                        scrollbarTop = navigator.top - scrollbarHeight;\n                        scrollbarLeft = navigator.left - scrollbarHeight +\n                            (navigatorEnabled ? 0 : navigator.height);\n                        scrollbarHeight = navigatorSize + 2 * scrollbarHeight;\n                    } else {\n                        scrollbarTop = navigator.top +\n                            (navigatorEnabled ? navigator.height : -scrollbarHeight);\n                        scrollbarLeft = navigator.left - scrollbarHeight;\n                    }\n                    // Reposition scrollbar\n                    navigator.scrollbar.position(\n                        scrollbarLeft,\n                        scrollbarTop,\n                        navigatorWidth,\n                        scrollbarHeight\n                    );\n                    // Keep scale 0-1\n                    navigator.scrollbar.setRange(\n                        // Use real value, not rounded because range can be very small (#1716)\n                        navigator.zoomedMin / navigatorSize,\n                        navigator.zoomedMax / navigatorSize\n                    );\n                }\n                navigator.rendered = true;\n            },\n\n            /**\n             * Set up the mouse and touch events for the navigator\n             */\n            addMouseEvents: function() {\n                var navigator = this,\n                    chart = navigator.chart,\n                    container = chart.container,\n                    eventsToUnbind = [],\n                    mouseMoveHandler,\n                    mouseUpHandler;\n\n                /**\n                 * Create mouse events' handlers.\n                 * Make them as separate functions to enable wrapping them:\n                 */\n                navigator.mouseMoveHandler = mouseMoveHandler = function(e) {\n                    navigator.onMouseMove(e);\n                };\n                navigator.mouseUpHandler = mouseUpHandler = function(e) {\n                    navigator.onMouseUp(e);\n                };\n\n                // Add shades and handles mousedown events\n                eventsToUnbind = navigator.getPartsEvents('mousedown');\n                // Add mouse move and mouseup events. These are bind to doc/container,\n                // because Navigator.grabbedSomething flags are stored in mousedown events:\n                eventsToUnbind.push(\n                    addEvent(container, 'mousemove', mouseMoveHandler),\n                    addEvent(doc, 'mouseup', mouseUpHandler)\n                );\n\n                // Touch events\n                if (hasTouch) {\n                    eventsToUnbind.push(\n                        addEvent(container, 'touchmove', mouseMoveHandler),\n                        addEvent(doc, 'touchend', mouseUpHandler)\n                    );\n                    eventsToUnbind.concat(navigator.getPartsEvents('touchstart'));\n                }\n\n                navigator.eventsToUnbind = eventsToUnbind;\n\n                // Data events\n                if (navigator.series && navigator.series[0]) {\n                    eventsToUnbind.push(\n                        addEvent(navigator.series[0].xAxis, 'foundExtremes', function() {\n                            chart.navigator.modifyNavigatorAxisExtremes();\n                        })\n                    );\n                }\n            },\n\n            /**\n             * Generate events for handles and masks\n             * @param {String} eventName Event name handler, 'mousedown' or 'touchstart'\n             * @returns {Array} An array of arrays: [DOMElement, eventName, callback].\n             */\n            getPartsEvents: function(eventName) {\n                var navigator = this,\n                    events = [];\n                each(['shades', 'handles'], function(name) {\n                    each(navigator[name], function(navigatorItem, index) {\n                        events.push(\n                            addEvent(\n                                navigatorItem.element,\n                                eventName,\n                                function(e) {\n                                    navigator[name + 'Mousedown'](e, index);\n                                }\n                            )\n                        );\n                    });\n                });\n                return events;\n            },\n\n            /**\n             * Mousedown on a shaded mask, either:\n             * - will be stored for future drag&drop \n             * - will directly shift to a new range\n             *\n             * @param {Object} e Mouse event\n             * @param {Number} index Index of a mask in Navigator.shades array\n             */\n            shadesMousedown: function(e, index) {\n                e = this.chart.pointer.normalize(e);\n\n                var navigator = this,\n                    chart = navigator.chart,\n                    xAxis = navigator.xAxis,\n                    zoomedMin = navigator.zoomedMin,\n                    navigatorPosition = navigator.left,\n                    navigatorSize = navigator.size,\n                    range = navigator.range,\n                    chartX = e.chartX,\n                    fixedMax,\n                    ext,\n                    left;\n\n                // For inverted chart, swap some options:\n                if (chart.inverted) {\n                    chartX = e.chartY;\n                    navigatorPosition = navigator.top;\n                }\n\n                if (index === 1) {\n                    // Store information for drag&drop\n                    navigator.grabbedCenter = chartX;\n                    navigator.fixedWidth = range;\n                    navigator.dragOffset = chartX - zoomedMin;\n                } else {\n                    // Shift the range by clicking on shaded areas\n                    left = chartX - navigatorPosition - range / 2;\n                    if (index === 0) {\n                        left = Math.max(0, left);\n                    } else if (index === 2 && left + range >= navigatorSize) {\n                        left = navigatorSize - range;\n                        fixedMax = navigator.getUnionExtremes().dataMax; // #2293, #3543\n                    }\n                    if (left !== zoomedMin) { // it has actually moved\n                        navigator.fixedWidth = range; // #1370\n\n                        ext = xAxis.toFixedRange(left, left + range, null, fixedMax);\n                        chart.xAxis[0].setExtremes(\n                            Math.min(ext.min, ext.max),\n                            Math.max(ext.min, ext.max),\n                            true,\n                            null, // auto animation\n                            {\n                                trigger: 'navigator'\n                            }\n                        );\n                    }\n                }\n            },\n\n            /**\n             * Mousedown on a handle mask.\n             * Will store necessary information for drag&drop.\n             *\n             * @param {Object} e Mouse event\n             * @param {Number} index Index of a handle in Navigator.handles array\n             */\n            handlesMousedown: function(e, index) {\n                e = this.chart.pointer.normalize(e);\n\n                var navigator = this,\n                    chart = navigator.chart,\n                    baseXAxis = chart.xAxis[0],\n                    // For reversed axes, min and max are chagned,\n                    // so the other extreme should be stored\n                    reverse = (chart.inverted && !baseXAxis.reversed) ||\n                    (!chart.inverted && baseXAxis.reversed);\n\n                if (index === 0) {\n                    // Grab the left handle\n                    navigator.grabbedLeft = true;\n                    navigator.otherHandlePos = navigator.zoomedMax;\n                    navigator.fixedExtreme = reverse ? baseXAxis.min : baseXAxis.max;\n                } else {\n                    // Grab the right handle\n                    navigator.grabbedRight = true;\n                    navigator.otherHandlePos = navigator.zoomedMin;\n                    navigator.fixedExtreme = reverse ? baseXAxis.max : baseXAxis.min;\n                }\n\n                chart.fixedRange = null;\n            },\n            /**\n             * Mouse move event based on x/y mouse position.\n             * @param {Object} e Mouse event\n             */\n            onMouseMove: function(e) {\n                var navigator = this,\n                    chart = navigator.chart,\n                    left = navigator.left,\n                    navigatorSize = navigator.navigatorSize,\n                    range = navigator.range,\n                    dragOffset = navigator.dragOffset,\n                    inverted = chart.inverted,\n                    chartX;\n\n\n                // In iOS, a mousemove event with e.pageX === 0 is fired when holding the finger\n                // down in the center of the scrollbar. This should be ignored.\n                if (!e.touches || e.touches[0].pageX !== 0) { // #4696, scrollbar failed on Android\n\n                    e = chart.pointer.normalize(e);\n                    chartX = e.chartX;\n\n                    // Swap some options for inverted chart\n                    if (inverted) {\n                        left = navigator.top;\n                        chartX = e.chartY;\n                    }\n\n                    // Drag left handle or top handle\n                    if (navigator.grabbedLeft) {\n                        navigator.hasDragged = true;\n                        navigator.render(\n                            0,\n                            0,\n                            chartX - left,\n                            navigator.otherHandlePos\n                        );\n                        // Drag right handle or bottom handle\n                    } else if (navigator.grabbedRight) {\n                        navigator.hasDragged = true;\n                        navigator.render(\n                            0,\n                            0,\n                            navigator.otherHandlePos,\n                            chartX - left\n                        );\n                        // Drag scrollbar or open area in navigator\n                    } else if (navigator.grabbedCenter) {\n                        navigator.hasDragged = true;\n                        if (chartX < dragOffset) { // outside left\n                            chartX = dragOffset;\n                        } else if (chartX > navigatorSize + dragOffset - range) { // outside right\n                            chartX = navigatorSize + dragOffset - range;\n                        }\n\n                        navigator.render(\n                            0,\n                            0,\n                            chartX - dragOffset,\n                            chartX - dragOffset + range\n                        );\n                    }\n                    if (navigator.hasDragged && navigator.scrollbar && navigator.scrollbar.options.liveRedraw) {\n                        e.DOMType = e.type; // DOMType is for IE8 because it can't read type async\n                        setTimeout(function() {\n                            navigator.onMouseUp(e);\n                        }, 0);\n                    }\n                }\n            },\n\n            /**\n             * Mouse up event based on x/y mouse position.\n             * @param {Object} e Mouse event\n             */\n            onMouseUp: function(e) {\n                var navigator = this,\n                    chart = navigator.chart,\n                    xAxis = navigator.xAxis,\n                    scrollbar = navigator.scrollbar,\n                    fixedMin,\n                    fixedMax,\n                    ext,\n                    DOMEvent = e.DOMEvent || e;\n\n                if (\n                    // MouseUp is called for both, navigator and scrollbar (that order),\n                    // which causes calling afterSetExtremes twice. Prevent first call\n                    // by checking if scrollbar is going to set new extremes (#6334)\n                    (navigator.hasDragged && (!scrollbar || !scrollbar.hasDragged)) ||\n                    e.trigger === 'scrollbar'\n                ) {\n                    // When dragging one handle, make sure the other one doesn't change\n                    if (navigator.zoomedMin === navigator.otherHandlePos) {\n                        fixedMin = navigator.fixedExtreme;\n                    } else if (navigator.zoomedMax === navigator.otherHandlePos) {\n                        fixedMax = navigator.fixedExtreme;\n                    }\n                    // Snap to right edge (#4076)\n                    if (navigator.zoomedMax === navigator.size) {\n                        fixedMax = navigator.getUnionExtremes().dataMax;\n                    }\n                    ext = xAxis.toFixedRange(\n                        navigator.zoomedMin,\n                        navigator.zoomedMax,\n                        fixedMin,\n                        fixedMax\n                    );\n\n                    if (defined(ext.min)) {\n                        chart.xAxis[0].setExtremes(\n                            Math.min(ext.min, ext.max),\n                            Math.max(ext.min, ext.max),\n                            true,\n                            navigator.hasDragged ? false : null, // Run animation when clicking buttons, scrollbar track etc, but not when dragging handles or scrollbar\n                            {\n                                trigger: 'navigator',\n                                triggerOp: 'navigator-drag',\n                                DOMEvent: DOMEvent // #1838\n                            }\n                        );\n                    }\n                }\n\n                if (e.DOMType !== 'mousemove') {\n                    navigator.grabbedLeft = navigator.grabbedRight =\n                        navigator.grabbedCenter = navigator.fixedWidth =\n                        navigator.fixedExtreme = navigator.otherHandlePos =\n                        navigator.hasDragged = navigator.dragOffset = null;\n                }\n            },\n\n            /**\n             * Removes the event handlers attached previously with addEvents.\n             */\n            removeEvents: function() {\n                if (this.eventsToUnbind) {\n                    each(this.eventsToUnbind, function(unbind) {\n                        unbind();\n                    });\n                    this.eventsToUnbind = undefined;\n                }\n                this.removeBaseSeriesEvents();\n            },\n\n            /**\n             * Remove data events.\n             */\n            removeBaseSeriesEvents: function() {\n                var baseSeries = this.baseSeries || [];\n                if (this.navigatorEnabled && baseSeries[0] && this.navigatorOptions.adaptToUpdatedData !== false) {\n                    each(baseSeries, function(series) {\n                        removeEvent(series, 'updatedData', this.updatedDataHandler);\n                    }, this);\n\n                    // We only listen for extremes-events on the first baseSeries\n                    if (baseSeries[0].xAxis) {\n                        removeEvent(baseSeries[0].xAxis, 'foundExtremes', this.modifyBaseAxisExtremes);\n                    }\n                }\n            },\n\n            /**\n             * Initiate the Navigator object\n             */\n            init: function(chart) {\n                var chartOptions = chart.options,\n                    navigatorOptions = chartOptions.navigator,\n                    navigatorEnabled = navigatorOptions.enabled,\n                    scrollbarOptions = chartOptions.scrollbar,\n                    scrollbarEnabled = scrollbarOptions.enabled,\n                    height = navigatorEnabled ? navigatorOptions.height : 0,\n                    scrollbarHeight = scrollbarEnabled ? scrollbarOptions.height : 0;\n\n                this.handles = [];\n                this.shades = [];\n\n                this.chart = chart;\n                this.setBaseSeries();\n\n                this.height = height;\n                this.scrollbarHeight = scrollbarHeight;\n                this.scrollbarEnabled = scrollbarEnabled;\n                this.navigatorEnabled = navigatorEnabled;\n                this.navigatorOptions = navigatorOptions;\n                this.scrollbarOptions = scrollbarOptions;\n                this.outlineHeight = height + scrollbarHeight;\n\n                this.opposite = pick(navigatorOptions.opposite, !navigatorEnabled && chart.inverted); // #6262\n\n                var navigator = this,\n                    baseSeries = navigator.baseSeries,\n                    xAxisIndex = chart.xAxis.length,\n                    yAxisIndex = chart.yAxis.length,\n                    baseXaxis = baseSeries && baseSeries[0] && baseSeries[0].xAxis || chart.xAxis[0];\n\n                // Make room for the navigator, can be placed around the chart:\n                chart.extraMargin = {\n                    type: navigator.opposite ? 'plotTop' : 'marginBottom',\n                    value: (navigatorEnabled || !chart.inverted ? navigator.outlineHeight : 0) + navigatorOptions.margin\n                };\n                if (chart.inverted) {\n                    chart.extraMargin.type = navigator.opposite ? 'marginRight' : 'plotLeft';\n                }\n                chart.isDirtyBox = true;\n\n                if (navigator.navigatorEnabled) {\n                    // an x axis is required for scrollbar also\n                    navigator.xAxis = new Axis(chart, merge({\n                        // inherit base xAxis' break and ordinal options\n                        breaks: baseXaxis.options.breaks,\n                        ordinal: baseXaxis.options.ordinal\n                    }, navigatorOptions.xAxis, {\n                        id: 'navigator-x-axis',\n                        yAxis: 'navigator-y-axis',\n                        isX: true,\n                        type: 'datetime',\n                        index: xAxisIndex,\n                        offset: 0,\n                        keepOrdinalPadding: true, // #2436\n                        startOnTick: false,\n                        endOnTick: false,\n                        minPadding: 0,\n                        maxPadding: 0,\n                        zoomEnabled: false\n                    }, chart.inverted ? {\n                        offsets: [scrollbarHeight, 0, -scrollbarHeight, 0],\n                        width: height\n                    } : {\n                        offsets: [0, -scrollbarHeight, 0, scrollbarHeight],\n                        height: height\n                    }));\n\n                    navigator.yAxis = new Axis(chart, merge(navigatorOptions.yAxis, {\n                        id: 'navigator-y-axis',\n                        alignTicks: false,\n                        offset: 0,\n                        index: yAxisIndex,\n                        zoomEnabled: false\n                    }, chart.inverted ? {\n                        width: height\n                    } : {\n                        height: height\n                    }));\n\n                    // If we have a base series, initialize the navigator series\n                    if (baseSeries || navigatorOptions.series.data) {\n                        navigator.addBaseSeries();\n\n                        // If not, set up an event to listen for added series\n                    } else if (chart.series.length === 0) {\n\n                        wrap(chart, 'redraw', function(proceed, animation) {\n                            // We've got one, now add it as base and reset chart.redraw\n                            if (chart.series.length > 0 && !navigator.series) {\n                                navigator.setBaseSeries();\n                                chart.redraw = proceed; // reset\n                            }\n                            proceed.call(chart, animation);\n                        });\n                    }\n\n                    // Render items, so we can bind events to them:\n                    navigator.renderElements();\n                    // Add mouse events\n                    navigator.addMouseEvents();\n\n                    // in case of scrollbar only, fake an x axis to get translation\n                } else {\n                    navigator.xAxis = {\n                        translate: function(value, reverse) {\n                            var axis = chart.xAxis[0],\n                                ext = axis.getExtremes(),\n                                scrollTrackWidth = axis.len - 2 * scrollbarHeight,\n                                min = numExt('min', axis.options.min, ext.dataMin),\n                                valueRange = numExt('max', axis.options.max, ext.dataMax) - min;\n\n                            return reverse ?\n                                // from pixel to value\n                                (value * valueRange / scrollTrackWidth) + min :\n                                // from value to pixel\n                                scrollTrackWidth * (value - min) / valueRange;\n                        },\n                        toPixels: function(value) {\n                            return this.translate(value);\n                        },\n                        toValue: function(value) {\n                            return this.translate(value, true);\n                        },\n                        toFixedRange: Axis.prototype.toFixedRange,\n                        fake: true\n                    };\n                }\n\n\n                // Initialize the scrollbar\n                if (chart.options.scrollbar.enabled) {\n                    chart.scrollbar = navigator.scrollbar = new Scrollbar(\n                        chart.renderer,\n                        merge(chart.options.scrollbar, {\n                            margin: navigator.navigatorEnabled ? 0 : 10,\n                            vertical: chart.inverted\n                        }),\n                        chart\n                    );\n                    addEvent(navigator.scrollbar, 'changed', function(e) {\n                        var range = navigator.size,\n                            to = range * this.to,\n                            from = range * this.from;\n\n                        navigator.hasDragged = navigator.scrollbar.hasDragged;\n                        navigator.render(0, 0, from, to);\n\n                        if (chart.options.scrollbar.liveRedraw || e.DOMType !== 'mousemove') {\n                            setTimeout(function() {\n                                navigator.onMouseUp(e);\n                            });\n                        }\n                    });\n                }\n\n                // Add data events\n                navigator.addBaseSeriesEvents();\n                // Add redraw events\n                navigator.addChartEvents();\n            },\n\n            /**\n             * Get the union data extremes of the chart - the outer data extremes of the base\n             * X axis and the navigator axis.\n             * @param {boolean} returnFalseOnNoBaseSeries - as the param says.\n             */\n            getUnionExtremes: function(returnFalseOnNoBaseSeries) {\n                var baseAxis = this.chart.xAxis[0],\n                    navAxis = this.xAxis,\n                    navAxisOptions = navAxis.options,\n                    baseAxisOptions = baseAxis.options,\n                    ret;\n\n                if (!returnFalseOnNoBaseSeries || baseAxis.dataMin !== null) {\n                    ret = {\n                        dataMin: pick( // #4053\n                            navAxisOptions && navAxisOptions.min,\n                            numExt(\n                                'min',\n                                baseAxisOptions.min,\n                                baseAxis.dataMin,\n                                navAxis.dataMin,\n                                navAxis.min\n                            )\n                        ),\n                        dataMax: pick(\n                            navAxisOptions && navAxisOptions.max,\n                            numExt(\n                                'max',\n                                baseAxisOptions.max,\n                                baseAxis.dataMax,\n                                navAxis.dataMax,\n                                navAxis.max\n                            )\n                        )\n                    };\n                }\n                return ret;\n            },\n\n            /**\n             * Set the base series. With a bit of modification we should be able to make\n             * this an API method to be called from the outside\n             * @param {Object} baseSeriesOptions - series options for a navigator\n             */\n            setBaseSeries: function(baseSeriesOptions) {\n                var chart = this.chart,\n                    baseSeries;\n\n                baseSeriesOptions = baseSeriesOptions || chart.options && chart.options.navigator.baseSeries || 0;\n\n                // If we're resetting, remove the existing series\n                if (this.series) {\n                    this.removeBaseSeriesEvents();\n                    each(this.series, function(s) {\n                        s.destroy();\n                    });\n                }\n\n                baseSeries = this.baseSeries = [];\n\n                // Iterate through series and add the ones that should be shown in navigator\n                each(chart.series || [], function(series, i) {\n                    if (series.options.showInNavigator || (i === baseSeriesOptions || series.options.id === baseSeriesOptions) &&\n                        series.options.showInNavigator !== false) {\n                        baseSeries.push(series);\n                    }\n                });\n\n                // When run after render, this.xAxis already exists\n                if (this.xAxis && !this.xAxis.fake) {\n                    this.addBaseSeries();\n                }\n            },\n\n            /*\n             * Add base series to the navigator.\n             */\n            addBaseSeries: function() {\n                var navigator = this,\n                    chart = navigator.chart,\n                    navigatorSeries = navigator.series = [],\n                    baseSeries = navigator.baseSeries,\n                    baseOptions,\n                    mergedNavSeriesOptions,\n                    chartNavigatorOptions = navigator.navigatorOptions.series,\n                    baseNavigatorOptions,\n                    navSeriesMixin = {\n                        enableMouseTracking: false,\n                        index: null, // #6162\n                        group: 'nav', // for columns\n                        padXAxis: false,\n                        xAxis: 'navigator-x-axis',\n                        yAxis: 'navigator-y-axis',\n                        showInLegend: false,\n                        stacking: false, // #4823\n                        isInternal: true,\n                        visible: true\n                    };\n\n                // Go through each base series and merge the options to create new series\n                if (baseSeries) {\n                    each(baseSeries, function(base, i) {\n                        navSeriesMixin.name = 'Navigator ' + (i + 1);\n\n                        baseOptions = base.options || {};\n                        baseNavigatorOptions = baseOptions.navigatorOptions || {};\n                        mergedNavSeriesOptions = merge(baseOptions, navSeriesMixin, chartNavigatorOptions, baseNavigatorOptions);\n\n                        // Merge data separately. Do a slice to avoid mutating the navigator options from base series (#4923).\n                        var navigatorSeriesData = baseNavigatorOptions.data || chartNavigatorOptions.data;\n                        navigator.hasNavigatorData = navigator.hasNavigatorData || !!navigatorSeriesData;\n                        mergedNavSeriesOptions.data = navigatorSeriesData || baseOptions.data && baseOptions.data.slice(0);\n\n                        // Add the series\n                        base.navigatorSeries = chart.initSeries(mergedNavSeriesOptions);\n                        navigatorSeries.push(base.navigatorSeries);\n                    });\n                } else {\n                    // No base series, build from mixin and chart wide options\n                    mergedNavSeriesOptions = merge(chartNavigatorOptions, navSeriesMixin);\n                    mergedNavSeriesOptions.data = chartNavigatorOptions.data;\n                    navigator.hasNavigatorData = !!mergedNavSeriesOptions.data;\n                    navigatorSeries.push(chart.initSeries(mergedNavSeriesOptions));\n                }\n\n                this.addBaseSeriesEvents();\n            },\n\n            /**\n             * Add data events.\n             * For example when main series is updated we need to recalculate extremes\n             */\n            addBaseSeriesEvents: function() {\n                var navigator = this,\n                    baseSeries = navigator.baseSeries || [];\n\n                // Bind modified extremes event to first base's xAxis only. In event of > 1 base-xAxes, the navigator will ignore those.\n                if (baseSeries[0] && baseSeries[0].xAxis) {\n                    addEvent(baseSeries[0].xAxis, 'foundExtremes', this.modifyBaseAxisExtremes);\n                }\n\n                if (this.navigatorOptions.adaptToUpdatedData !== false) {\n                    // Respond to updated data in the base series.\n                    // Abort if lazy-loading data from the server.\n                    each(baseSeries, function(base) {\n                        if (base.xAxis) {\n                            addEvent(base, 'updatedData', this.updatedDataHandler);\n                        }\n\n                        // Handle series removal\n                        addEvent(base, 'remove', function() {\n                            if (this.navigatorSeries) {\n                                erase(navigator.series, this.navigatorSeries);\n                                this.navigatorSeries.remove(false);\n                                delete this.navigatorSeries;\n                            }\n                        });\n                    }, this);\n                }\n            },\n\n            /**\n             * Set the navigator x axis extremes to reflect the total. The navigator extremes\n             * should always be the extremes of the union of all series in the chart as\n             * well as the navigator series.\n             */\n            modifyNavigatorAxisExtremes: function() {\n                var xAxis = this.xAxis,\n                    unionExtremes;\n\n                if (xAxis.getExtremes) {\n                    unionExtremes = this.getUnionExtremes(true);\n                    if (unionExtremes && (unionExtremes.dataMin !== xAxis.min || unionExtremes.dataMax !== xAxis.max)) {\n                        xAxis.min = unionExtremes.dataMin;\n                        xAxis.max = unionExtremes.dataMax;\n                    }\n                }\n            },\n\n            /**\n             * Hook to modify the base axis extremes with information from the Navigator\n             */\n            modifyBaseAxisExtremes: function() {\n                var baseXAxis = this,\n                    navigator = baseXAxis.chart.navigator,\n                    baseExtremes = baseXAxis.getExtremes(),\n                    baseMin = baseExtremes.min,\n                    baseMax = baseExtremes.max,\n                    baseDataMin = baseExtremes.dataMin,\n                    baseDataMax = baseExtremes.dataMax,\n                    range = baseMax - baseMin,\n                    stickToMin = navigator.stickToMin,\n                    stickToMax = navigator.stickToMax,\n                    newMax,\n                    newMin,\n                    navigatorSeries = navigator.series && navigator.series[0],\n                    hasSetExtremes = !!baseXAxis.setExtremes,\n\n                    // When the extremes have been set by range selector button, don't stick to min or max.\n                    // The range selector buttons will handle the extremes. (#5489)\n                    unmutable = baseXAxis.eventArgs && baseXAxis.eventArgs.trigger === 'rangeSelectorButton';\n\n                if (!unmutable) {\n\n                    // If the zoomed range is already at the min, move it to the right as new data\n                    // comes in\n                    if (stickToMin) {\n                        newMin = baseDataMin;\n                        newMax = newMin + range;\n                    }\n\n                    // If the zoomed range is already at the max, move it to the right as new data\n                    // comes in\n                    if (stickToMax) {\n                        newMax = baseDataMax;\n                        if (!stickToMin) { // if stickToMin is true, the new min value is set above\n                            newMin = Math.max(\n                                newMax - range,\n                                navigatorSeries && navigatorSeries.xData ?\n                                navigatorSeries.xData[0] : -Number.MAX_VALUE\n                            );\n                        }\n                    }\n\n                    // Update the extremes\n                    if (hasSetExtremes && (stickToMin || stickToMax)) {\n                        if (isNumber(newMin)) {\n                            baseXAxis.min = baseXAxis.userMin = newMin;\n                            baseXAxis.max = baseXAxis.userMax = newMax;\n                        }\n                    }\n                }\n\n                // Reset\n                navigator.stickToMin = navigator.stickToMax = null;\n            },\n\n            /**\n             * Handler for updated data on the base series. When data is modified, the navigator series\n             * must reflect it. This is called from the Chart.redraw function before axis and series\n             * extremes are computed.\n             */\n            updatedDataHandler: function() {\n                var navigator = this.chart.navigator,\n                    baseSeries = this,\n                    navigatorSeries = this.navigatorSeries;\n\n                // Detect whether the zoomed area should stick to the minimum or maximum. If the current\n                // axis minimum falls outside the new updated dataset, we must adjust.\n                navigator.stickToMin = isNumber(baseSeries.xAxis.min) && (baseSeries.xAxis.min <= baseSeries.xData[0]);\n                // If the scrollbar is scrolled all the way to the right, keep right as new data \n                // comes in.\n                navigator.stickToMax = Math.round(navigator.zoomedMax) >= Math.round(navigator.size);\n\n                // Set the navigator series data to the new data of the base series\n                if (navigatorSeries && !navigator.hasNavigatorData) {\n                    navigatorSeries.options.pointStart = baseSeries.xData[0];\n                    navigatorSeries.setData(baseSeries.options.data, false, null, false); // #5414\n                }\n            },\n\n            /**\n             * Add chart events, like redrawing navigator, when chart requires that.\n             */\n            addChartEvents: function() {\n                addEvent(this.chart, 'redraw', function() {\n                    // Move the scrollbar after redraw, like after data updata even if axes don't redraw\n                    var navigator = this.navigator,\n                        xAxis = navigator && (\n                            navigator.baseSeries &&\n                            navigator.baseSeries[0] &&\n                            navigator.baseSeries[0].xAxis ||\n                            navigator.scrollbar && this.xAxis[0]\n                        ); // #5709\n\n                    if (xAxis) {\n                        navigator.render(xAxis.min, xAxis.max);\n                    }\n                });\n            },\n\n            /**\n             * Destroys allocated elements.\n             */\n            destroy: function() {\n\n                // Disconnect events added in addEvents\n                this.removeEvents();\n\n                if (this.xAxis) {\n                    erase(this.chart.xAxis, this.xAxis);\n                    erase(this.chart.axes, this.xAxis);\n                }\n                if (this.yAxis) {\n                    erase(this.chart.yAxis, this.yAxis);\n                    erase(this.chart.axes, this.yAxis);\n                }\n                // Destroy series\n                each(this.series || [], function(s) {\n                    if (s.destroy) {\n                        s.destroy();\n                    }\n                });\n\n                // Destroy properties\n                each([\n                    'series', 'xAxis', 'yAxis', 'shades', 'outline', 'scrollbarTrack',\n                    'scrollbarRifles', 'scrollbarGroup', 'scrollbar', 'navigatorGroup',\n                    'rendered'\n                ], function(prop) {\n                    if (this[prop] && this[prop].destroy) {\n                        this[prop].destroy();\n                    }\n                    this[prop] = null;\n                }, this);\n\n                // Destroy elements in collection\n                each([this.handles], function(coll) {\n                    destroyObjectProperties(coll);\n                }, this);\n            }\n        };\n\n        H.Navigator = Navigator;\n\n        /**\n         * For Stock charts, override selection zooming with some special features because\n         * X axis zooming is already allowed by the Navigator and Range selector.\n         */\n        wrap(Axis.prototype, 'zoom', function(proceed, newMin, newMax) {\n            var chart = this.chart,\n                chartOptions = chart.options,\n                zoomType = chartOptions.chart.zoomType,\n                previousZoom,\n                navigator = chartOptions.navigator,\n                rangeSelector = chartOptions.rangeSelector,\n                ret;\n\n            if (this.isXAxis && ((navigator && navigator.enabled) ||\n                    (rangeSelector && rangeSelector.enabled))) {\n\n                // For x only zooming, fool the chart.zoom method not to create the zoom button\n                // because the property already exists\n                if (zoomType === 'x') {\n                    chart.resetZoomButton = 'blocked';\n\n                    // For y only zooming, ignore the X axis completely\n                } else if (zoomType === 'y') {\n                    ret = false;\n\n                    // For xy zooming, record the state of the zoom before zoom selection, then when\n                    // the reset button is pressed, revert to this state\n                } else if (zoomType === 'xy') {\n                    previousZoom = this.previousZoom;\n                    if (defined(newMin)) {\n                        this.previousZoom = [this.min, this.max];\n                    } else if (previousZoom) {\n                        newMin = previousZoom[0];\n                        newMax = previousZoom[1];\n                        delete this.previousZoom;\n                    }\n                }\n\n            }\n            return ret !== undefined ? ret : proceed.call(this, newMin, newMax);\n        });\n\n        // Initialize navigator for stock charts\n        wrap(Chart.prototype, 'init', function(proceed, options, callback) {\n\n            addEvent(this, 'beforeRender', function() {\n                var options = this.options;\n                if (options.navigator.enabled || options.scrollbar.enabled) {\n                    this.scroller = this.navigator = new Navigator(this);\n                }\n            });\n\n            proceed.call(this, options, callback);\n\n        });\n\n        /**\n         * For stock charts, extend the Chart.setChartSize method so that we can set the final top position\n         * of the navigator once the height of the chart, including the legend, is determined. #367.\n         * We can't use Chart.getMargins, because labels offsets are not calculated yet.\n         */\n        wrap(Chart.prototype, 'setChartSize', function(proceed) {\n\n            var legend = this.legend,\n                navigator = this.navigator,\n                scrollbarHeight,\n                legendOptions,\n                xAxis,\n                yAxis;\n\n            proceed.apply(this, [].slice.call(arguments, 1));\n\n            if (navigator) {\n                legendOptions = legend.options;\n                xAxis = navigator.xAxis;\n                yAxis = navigator.yAxis;\n                scrollbarHeight = navigator.scrollbarHeight;\n\n                // Compute the top position\n                if (this.inverted) {\n                    navigator.left = navigator.opposite ?\n                        this.chartWidth - scrollbarHeight - navigator.height :\n                        this.spacing[3] + scrollbarHeight;\n                    navigator.top = this.plotTop + scrollbarHeight;\n                } else {\n                    navigator.left = this.plotLeft + scrollbarHeight;\n                    navigator.top = navigator.navigatorOptions.top ||\n                        this.chartHeight - navigator.height - scrollbarHeight - this.spacing[2] -\n                        (legendOptions.verticalAlign === 'bottom' && legendOptions.enabled && !legendOptions.floating ?\n                            legend.legendHeight + pick(legendOptions.margin, 10) : 0);\n                }\n\n                if (xAxis && yAxis) { // false if navigator is disabled (#904)\n\n                    if (this.inverted) {\n                        xAxis.options.left = yAxis.options.left = navigator.left;\n                    } else {\n                        xAxis.options.top = yAxis.options.top = navigator.top;\n                    }\n\n                    xAxis.setAxisSize();\n                    yAxis.setAxisSize();\n                }\n            }\n        });\n\n        // Pick up badly formatted point options to addPoint\n        wrap(Series.prototype, 'addPoint', function(proceed, options, redraw, shift, animation) {\n            var turboThreshold = this.options.turboThreshold;\n            if (turboThreshold && this.xData.length > turboThreshold && isObject(options, true) && this.chart.navigator) {\n                error(20, true);\n            }\n            proceed.call(this, options, redraw, shift, animation);\n        });\n\n        // Handle adding new series\n        wrap(Chart.prototype, 'addSeries', function(proceed, options, redraw, animation) {\n            var series = proceed.call(this, options, false, animation);\n            if (this.navigator) {\n                this.navigator.setBaseSeries(); // Recompute which series should be shown in navigator, and add them\n            }\n            if (pick(redraw, true)) {\n                this.redraw();\n            }\n            return series;\n        });\n\n        // Handle updating series\n        wrap(Series.prototype, 'update', function(proceed, newOptions, redraw) {\n            proceed.call(this, newOptions, false);\n            if (this.chart.navigator) {\n                this.chart.navigator.setBaseSeries();\n            }\n            if (pick(redraw, true)) {\n                this.chart.redraw();\n            }\n        });\n\n        Chart.prototype.callbacks.push(function(chart) {\n            var extremes,\n                navigator = chart.navigator;\n\n            // Initiate the navigator\n            if (navigator) {\n                extremes = chart.xAxis[0].getExtremes();\n                navigator.render(extremes.min, extremes.max);\n            }\n        });\n\n        /* ****************************************************************************\n         * End Navigator code\t\t\t\t\t\t\t\t\t\t\t\t\t\t  *\n         *****************************************************************************/\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var addEvent = H.addEvent,\n            Axis = H.Axis,\n            Chart = H.Chart,\n            css = H.css,\n            createElement = H.createElement,\n            dateFormat = H.dateFormat,\n            defaultOptions = H.defaultOptions,\n            useUTC = defaultOptions.global.useUTC,\n            defined = H.defined,\n            destroyObjectProperties = H.destroyObjectProperties,\n            discardElement = H.discardElement,\n            each = H.each,\n            extend = H.extend,\n            fireEvent = H.fireEvent,\n            HCDate = H.Date,\n            isNumber = H.isNumber,\n            merge = H.merge,\n            pick = H.pick,\n            pInt = H.pInt,\n            splat = H.splat,\n            wrap = H.wrap;\n\n        /* ****************************************************************************\n         * Start Range Selector code\t\t\t\t\t\t\t\t\t\t\t\t  *\n         *****************************************************************************/\n        extend(defaultOptions, {\n            rangeSelector: {\n                // allButtonsEnabled: false,\n                // enabled: true,\n                // buttons: {Object}\n                // buttonSpacing: 0,\n                buttonTheme: {\n                    'stroke-width': 0,\n                    width: 28,\n                    height: 18,\n                    padding: 2,\n                    zIndex: 7 // #484, #852\n                },\n                height: 35, // reserved space for buttons and input\n                inputPosition: {\n                    align: 'right'\n                },\n                // inputDateFormat: '%b %e, %Y',\n                // inputEditDateFormat: '%Y-%m-%d',\n                // inputEnabled: true,\n                // selected: undefined,\n\n                // inputStyle: {},\n                labelStyle: {\n                    color: '#666666'\n                }\n\n            }\n        });\n        defaultOptions.lang = merge(defaultOptions.lang, {\n            rangeSelectorZoom: 'Zoom',\n            rangeSelectorFrom: 'From',\n            rangeSelectorTo: 'To'\n        });\n\n        /**\n         * The range selector.\n         * @class\n         * @param {Object} chart\n         */\n        function RangeSelector(chart) {\n\n            // Run RangeSelector\n            this.init(chart);\n        }\n\n        RangeSelector.prototype = {\n            /**\n             * The method to run when one of the buttons in the range selectors is clicked\n             * @param {Number} i The index of the button\n             * @param {Object} rangeOptions\n             * @param {Boolean} redraw\n             */\n            clickButton: function(i, redraw) {\n                var rangeSelector = this,\n                    chart = rangeSelector.chart,\n                    rangeOptions = rangeSelector.buttonOptions[i],\n                    baseAxis = chart.xAxis[0],\n                    unionExtremes = (chart.scroller && chart.scroller.getUnionExtremes()) || baseAxis || {},\n                    dataMin = unionExtremes.dataMin,\n                    dataMax = unionExtremes.dataMax,\n                    newMin,\n                    newMax = baseAxis && Math.round(Math.min(baseAxis.max, pick(dataMax, baseAxis.max))), // #1568\n                    type = rangeOptions.type,\n                    baseXAxisOptions,\n                    range = rangeOptions._range,\n                    rangeMin,\n                    minSetting,\n                    rangeSetting,\n                    ctx,\n                    ytdExtremes,\n                    dataGrouping = rangeOptions.dataGrouping;\n\n                if (dataMin === null || dataMax === null) { // chart has no data, base series is removed\n                    return;\n                }\n\n                // Set the fixed range before range is altered\n                chart.fixedRange = range;\n\n                // Apply dataGrouping associated to button\n                if (dataGrouping) {\n                    this.forcedDataGrouping = true;\n                    Axis.prototype.setDataGrouping.call(baseAxis || {\n                        chart: this.chart\n                    }, dataGrouping, false);\n                }\n\n                // Apply range\n                if (type === 'month' || type === 'year') {\n                    if (!baseAxis) {\n                        // This is set to the user options and picked up later when the axis is instantiated\n                        // so that we know the min and max.\n                        range = rangeOptions;\n                    } else {\n                        ctx = {\n                            range: rangeOptions,\n                            max: newMax,\n                            dataMin: dataMin,\n                            dataMax: dataMax\n                        };\n                        newMin = baseAxis.minFromRange.call(ctx);\n                        if (isNumber(ctx.newMax)) {\n                            newMax = ctx.newMax;\n                        }\n                    }\n\n                    // Fixed times like minutes, hours, days\n                } else if (range) {\n                    newMin = Math.max(newMax - range, dataMin);\n                    newMax = Math.min(newMin + range, dataMax);\n\n                } else if (type === 'ytd') {\n\n                    // On user clicks on the buttons, or a delayed action running from the beforeRender\n                    // event (below), the baseAxis is defined.\n                    if (baseAxis) {\n                        // When \"ytd\" is the pre-selected button for the initial view, its calculation\n                        // is delayed and rerun in the beforeRender event (below). When the series\n                        // are initialized, but before the chart is rendered, we have access to the xData\n                        // array (#942).\n                        if (dataMax === undefined) {\n                            dataMin = Number.MAX_VALUE;\n                            dataMax = Number.MIN_VALUE;\n                            each(chart.series, function(series) {\n                                var xData = series.xData; // reassign it to the last item\n                                dataMin = Math.min(xData[0], dataMin);\n                                dataMax = Math.max(xData[xData.length - 1], dataMax);\n                            });\n                            redraw = false;\n                        }\n                        ytdExtremes = rangeSelector.getYTDExtremes(dataMax, dataMin, useUTC);\n                        newMin = rangeMin = ytdExtremes.min;\n                        newMax = ytdExtremes.max;\n\n                        // \"ytd\" is pre-selected. We don't yet have access to processed point and extremes data\n                        // (things like pointStart and pointInterval are missing), so we delay the process (#942)\n                    } else {\n                        addEvent(chart, 'beforeRender', function() {\n                            rangeSelector.clickButton(i);\n                        });\n                        return;\n                    }\n                } else if (type === 'all' && baseAxis) {\n                    newMin = dataMin;\n                    newMax = dataMax;\n                }\n                rangeSelector.setSelected(i);\n\n                // Update the chart\n                if (!baseAxis) {\n                    // Axis not yet instanciated. Temporarily set min and range\n                    // options and remove them on chart load (#4317).\n                    baseXAxisOptions = splat(chart.options.xAxis)[0];\n                    rangeSetting = baseXAxisOptions.range;\n                    baseXAxisOptions.range = range;\n                    minSetting = baseXAxisOptions.min;\n                    baseXAxisOptions.min = rangeMin;\n                    addEvent(chart, 'load', function resetMinAndRange() {\n                        baseXAxisOptions.range = rangeSetting;\n                        baseXAxisOptions.min = minSetting;\n                    });\n                } else {\n                    // Existing axis object. Set extremes after render time.\n                    baseAxis.setExtremes(\n                        newMin,\n                        newMax,\n                        pick(redraw, 1),\n                        null, // auto animation\n                        {\n                            trigger: 'rangeSelectorButton',\n                            rangeSelectorButton: rangeOptions\n                        }\n                    );\n                }\n            },\n\n            /**\n             * Set the selected option. This method only sets the internal flag, it doesn't\n             * update the buttons or the actual zoomed range.\n             */\n            setSelected: function(selected) {\n                this.selected = this.options.selected = selected;\n            },\n\n            /**\n             * The default buttons for pre-selecting time frames\n             */\n            defaultButtons: [{\n                type: 'month',\n                count: 1,\n                text: '1m'\n            }, {\n                type: 'month',\n                count: 3,\n                text: '3m'\n            }, {\n                type: 'month',\n                count: 6,\n                text: '6m'\n            }, {\n                type: 'ytd',\n                text: 'YTD'\n            }, {\n                type: 'year',\n                count: 1,\n                text: '1y'\n            }, {\n                type: 'all',\n                text: 'All'\n            }],\n\n            /**\n             * Initialize the range selector\n             */\n            init: function(chart) {\n                var rangeSelector = this,\n                    options = chart.options.rangeSelector,\n                    buttonOptions = options.buttons || [].concat(rangeSelector.defaultButtons),\n                    selectedOption = options.selected,\n                    blurInputs = function() {\n                        var minInput = rangeSelector.minInput,\n                            maxInput = rangeSelector.maxInput;\n                        if (minInput && minInput.blur) { //#3274 in some case blur is not defined\n                            fireEvent(minInput, 'blur'); //#3274\n                        }\n                        if (maxInput && maxInput.blur) { //#3274 in some case blur is not defined\n                            fireEvent(maxInput, 'blur'); //#3274\n                        }\n                    };\n\n                rangeSelector.chart = chart;\n                rangeSelector.options = options;\n                rangeSelector.buttons = [];\n\n                chart.extraTopMargin = options.height;\n                rangeSelector.buttonOptions = buttonOptions;\n\n                this.unMouseDown = addEvent(chart.container, 'mousedown', blurInputs);\n                this.unResize = addEvent(chart, 'resize', blurInputs);\n\n                // Extend the buttonOptions with actual range\n                each(buttonOptions, rangeSelector.computeButtonRange);\n\n                // zoomed range based on a pre-selected button index\n                if (selectedOption !== undefined && buttonOptions[selectedOption]) {\n                    this.clickButton(selectedOption, false);\n                }\n\n\n                addEvent(chart, 'load', function() {\n                    // If a data grouping is applied to the current button, release it when extremes change\n                    addEvent(chart.xAxis[0], 'setExtremes', function(e) {\n                        if (this.max - this.min !== chart.fixedRange && e.trigger !== 'rangeSelectorButton' &&\n                            e.trigger !== 'updatedData' && rangeSelector.forcedDataGrouping) {\n                            this.setDataGrouping(false, false);\n                        }\n                    });\n                });\n            },\n\n            /**\n             * Dynamically update the range selector buttons after a new range has been set\n             */\n            updateButtonStates: function() {\n                var rangeSelector = this,\n                    chart = this.chart,\n                    baseAxis = chart.xAxis[0],\n                    actualRange = Math.round(baseAxis.max - baseAxis.min),\n                    hasNoData = !baseAxis.hasVisibleSeries,\n                    day = 24 * 36e5, // A single day in milliseconds\n                    unionExtremes = (chart.scroller && chart.scroller.getUnionExtremes()) || baseAxis,\n                    dataMin = unionExtremes.dataMin,\n                    dataMax = unionExtremes.dataMax,\n                    ytdExtremes = rangeSelector.getYTDExtremes(dataMax, dataMin, useUTC),\n                    ytdMin = ytdExtremes.min,\n                    ytdMax = ytdExtremes.max,\n                    selected = rangeSelector.selected,\n                    selectedExists = isNumber(selected),\n                    allButtonsEnabled = rangeSelector.options.allButtonsEnabled,\n                    buttons = rangeSelector.buttons;\n\n                each(rangeSelector.buttonOptions, function(rangeOptions, i) {\n                    var range = rangeOptions._range,\n                        type = rangeOptions.type,\n                        count = rangeOptions.count || 1,\n                        button = buttons[i],\n                        state = 0,\n                        disable,\n                        select,\n                        isSelected = i === selected,\n                        // Disable buttons where the range exceeds what is allowed in the current view\n                        isTooGreatRange = range > dataMax - dataMin,\n                        // Disable buttons where the range is smaller than the minimum range\n                        isTooSmallRange = range < baseAxis.minRange,\n                        // Do not select the YTD button if not explicitly told so\n                        isYTDButNotSelected = false,\n                        // Disable the All button if we're already showing all\n                        isAllButAlreadyShowingAll = false,\n                        isSameRange = range === actualRange;\n                    // Months and years have a variable range so we check the extremes\n                    if (\n                        (type === 'month' || type === 'year') &&\n                        (actualRange >= {\n                            month: 28,\n                            year: 365\n                        }[type] * day * count) &&\n                        (actualRange <= {\n                            month: 31,\n                            year: 366\n                        }[type] * day * count)\n                    ) {\n                        isSameRange = true;\n                    } else if (type === 'ytd') {\n                        isSameRange = (ytdMax - ytdMin) === actualRange;\n                        isYTDButNotSelected = !isSelected;\n                    } else if (type === 'all') {\n                        isSameRange = baseAxis.max - baseAxis.min >= dataMax - dataMin;\n                        isAllButAlreadyShowingAll = !isSelected && selectedExists && isSameRange;\n                    }\n                    // The new zoom area happens to match the range for a button - mark it selected.\n                    // This happens when scrolling across an ordinal gap. It can be seen in the intraday\n                    // demos when selecting 1h and scroll across the night gap.\n                    disable = (!allButtonsEnabled &&\n                        (\n                            isTooGreatRange ||\n                            isTooSmallRange ||\n                            isAllButAlreadyShowingAll ||\n                            hasNoData\n                        )\n                    );\n                    select = (\n                        (isSelected && isSameRange) ||\n                        (isSameRange && !selectedExists && !isYTDButNotSelected)\n                    );\n\n                    if (disable) {\n                        state = 3;\n                    } else if (select) {\n                        selectedExists = true; // Only one button can be selected\n                        state = 2;\n                    }\n\n                    // If state has changed, update the button\n                    if (button.state !== state) {\n                        button.setState(state);\n                    }\n                });\n            },\n\n            /**\n             * Compute and cache the range for an individual button\n             */\n            computeButtonRange: function(rangeOptions) {\n                var type = rangeOptions.type,\n                    count = rangeOptions.count || 1,\n\n                    // these time intervals have a fixed number of milliseconds, as opposed\n                    // to month, ytd and year\n                    fixedTimes = {\n                        millisecond: 1,\n                        second: 1000,\n                        minute: 60 * 1000,\n                        hour: 3600 * 1000,\n                        day: 24 * 3600 * 1000,\n                        week: 7 * 24 * 3600 * 1000\n                    };\n\n                // Store the range on the button object\n                if (fixedTimes[type]) {\n                    rangeOptions._range = fixedTimes[type] * count;\n                } else if (type === 'month' || type === 'year') {\n                    rangeOptions._range = {\n                        month: 30,\n                        year: 365\n                    }[type] * 24 * 36e5 * count;\n                }\n            },\n\n            /**\n             * Set the internal and displayed value of a HTML input for the dates\n             * @param {String} name\n             * @param {Number} time\n             */\n            setInputValue: function(name, time) {\n                var options = this.chart.options.rangeSelector,\n                    input = this[name + 'Input'];\n\n                if (defined(time)) {\n                    input.previousValue = input.HCTime;\n                    input.HCTime = time;\n                }\n\n                input.value = dateFormat(\n                    options.inputEditDateFormat || '%Y-%m-%d',\n                    input.HCTime\n                );\n                this[name + 'DateBox'].attr({\n                    text: dateFormat(options.inputDateFormat || '%b %e, %Y', input.HCTime)\n                });\n            },\n\n            showInput: function(name) {\n                var inputGroup = this.inputGroup,\n                    dateBox = this[name + 'DateBox'];\n\n                css(this[name + 'Input'], {\n                    left: (inputGroup.translateX + dateBox.x) + 'px',\n                    top: inputGroup.translateY + 'px',\n                    width: (dateBox.width - 2) + 'px',\n                    height: (dateBox.height - 2) + 'px',\n                    border: '2px solid silver'\n                });\n            },\n\n            hideInput: function(name) {\n                css(this[name + 'Input'], {\n                    border: 0,\n                    width: '1px',\n                    height: '1px'\n                });\n                this.setInputValue(name);\n            },\n\n            /**\n             * Draw either the 'from' or the 'to' HTML input box of the range selector\n             * @param {Object} name\n             */\n            drawInput: function(name) {\n                var rangeSelector = this,\n                    chart = rangeSelector.chart,\n                    chartStyle = chart.renderer.style || {},\n                    renderer = chart.renderer,\n                    options = chart.options.rangeSelector,\n                    lang = defaultOptions.lang,\n                    div = rangeSelector.div,\n                    isMin = name === 'min',\n                    input,\n                    label,\n                    dateBox,\n                    inputGroup = this.inputGroup;\n\n                function updateExtremes() {\n                    var inputValue = input.value,\n                        value = (options.inputDateParser || Date.parse)(inputValue),\n                        chartAxis = chart.xAxis[0],\n                        dataAxis = chart.scroller && chart.scroller.xAxis ? chart.scroller.xAxis : chartAxis,\n                        dataMin = dataAxis.dataMin,\n                        dataMax = dataAxis.dataMax;\n                    if (value !== input.previousValue) {\n                        input.previousValue = value;\n                        // If the value isn't parsed directly to a value by the browser's Date.parse method,\n                        // like YYYY-MM-DD in IE, try parsing it a different way\n                        if (!isNumber(value)) {\n                            value = inputValue.split('-');\n                            value = Date.UTC(pInt(value[0]), pInt(value[1]) - 1, pInt(value[2]));\n                        }\n\n                        if (isNumber(value)) {\n\n                            // Correct for timezone offset (#433)\n                            if (!useUTC) {\n                                value = value + new Date().getTimezoneOffset() * 60 * 1000;\n                            }\n\n                            // Validate the extremes. If it goes beyound the data min or max, use the\n                            // actual data extreme (#2438).\n                            if (isMin) {\n                                if (value > rangeSelector.maxInput.HCTime) {\n                                    value = undefined;\n                                } else if (value < dataMin) {\n                                    value = dataMin;\n                                }\n                            } else {\n                                if (value < rangeSelector.minInput.HCTime) {\n                                    value = undefined;\n                                } else if (value > dataMax) {\n                                    value = dataMax;\n                                }\n                            }\n\n                            // Set the extremes\n                            if (value !== undefined) {\n                                chartAxis.setExtremes(\n                                    isMin ? value : chartAxis.min,\n                                    isMin ? chartAxis.max : value,\n                                    undefined,\n                                    undefined, {\n                                        trigger: 'rangeSelectorInput'\n                                    }\n                                );\n                            }\n                        }\n                    }\n                }\n\n                // Create the text label\n                this[name + 'Label'] = label = renderer.label(lang[isMin ? 'rangeSelectorFrom' : 'rangeSelectorTo'], this.inputGroup.offset)\n                    .addClass('highcharts-range-label')\n                    .attr({\n                        padding: 2\n                    })\n                    .add(inputGroup);\n                inputGroup.offset += label.width + 5;\n\n                // Create an SVG label that shows updated date ranges and and records click events that\n                // bring in the HTML input.\n                this[name + 'DateBox'] = dateBox = renderer.label('', inputGroup.offset)\n                    .addClass('highcharts-range-input')\n                    .attr({\n                        padding: 2,\n                        width: options.inputBoxWidth || 90,\n                        height: options.inputBoxHeight || 17,\n                        stroke: options.inputBoxBorderColor || '#cccccc',\n                        'stroke-width': 1,\n                        'text-align': 'center'\n                    })\n                    .on('click', function() {\n                        rangeSelector.showInput(name); // If it is already focused, the onfocus event doesn't fire (#3713)\n                        rangeSelector[name + 'Input'].focus();\n                    })\n                    .add(inputGroup);\n                inputGroup.offset += dateBox.width + (isMin ? 10 : 0);\n\n\n                // Create the HTML input element. This is rendered as 1x1 pixel then set to the right size\n                // when focused.\n                this[name + 'Input'] = input = createElement('input', {\n                    name: name,\n                    className: 'highcharts-range-selector',\n                    type: 'text'\n                }, {\n                    top: chart.plotTop + 'px' // prevent jump on focus in Firefox\n                }, div);\n\n\n                // Styles\n                label.css(merge(chartStyle, options.labelStyle));\n\n                dateBox.css(merge({\n                    color: '#333333'\n                }, chartStyle, options.inputStyle));\n\n                css(input, extend({\n                    position: 'absolute',\n                    border: 0,\n                    width: '1px', // Chrome needs a pixel to see it\n                    height: '1px',\n                    padding: 0,\n                    textAlign: 'center',\n                    fontSize: chartStyle.fontSize,\n                    fontFamily: chartStyle.fontFamily,\n                    left: '-9em' // #4798\n                }, options.inputStyle));\n\n\n                // Blow up the input box\n                input.onfocus = function() {\n                    rangeSelector.showInput(name);\n                };\n                // Hide away the input box\n                input.onblur = function() {\n                    rangeSelector.hideInput(name);\n                };\n\n                // handle changes in the input boxes\n                input.onchange = updateExtremes;\n\n                input.onkeypress = function(event) {\n                    // IE does not fire onchange on enter\n                    if (event.keyCode === 13) {\n                        updateExtremes();\n                    }\n                };\n            },\n\n            /**\n             * Get the position of the range selector buttons and inputs. This can be overridden from outside for custom positioning.\n             */\n            getPosition: function() {\n                var chart = this.chart,\n                    options = chart.options.rangeSelector,\n                    buttonTop = pick((options.buttonPosition || {}).y, chart.plotTop - chart.axisOffset[0] - options.height);\n\n                return {\n                    buttonTop: buttonTop,\n                    inputTop: buttonTop - 10\n                };\n            },\n            /**\n             * Get the extremes of YTD. \n             * Will choose dataMax if its value is lower than the current timestamp.\n             * Will choose dataMin if its value is higher than the timestamp for\n             * \tthe start of current year.\n             * @param  {number} dataMax\n             * @param  {number} dataMin\n             * @return {object} Returns min and max for the YTD\n             */\n            getYTDExtremes: function(dataMax, dataMin, useUTC) {\n                var min,\n                    now = new HCDate(dataMax),\n                    year = now[HCDate.hcGetFullYear](),\n                    startOfYear = useUTC ? HCDate.UTC(year, 0, 1) : +new HCDate(year, 0, 1); // eslint-disable-line new-cap\n                min = Math.max(dataMin || 0, startOfYear);\n                now = now.getTime();\n                return {\n                    max: Math.min(dataMax || now, now),\n                    min: min\n                };\n            },\n\n            /**\n             * Render the range selector including the buttons and the inputs. The first time render\n             * is called, the elements are created and positioned. On subsequent calls, they are\n             * moved and updated.\n             * @param {Number} min X axis minimum\n             * @param {Number} max X axis maximum\n             */\n            render: function(min, max) {\n\n                var rangeSelector = this,\n                    chart = rangeSelector.chart,\n                    renderer = chart.renderer,\n                    container = chart.container,\n                    chartOptions = chart.options,\n                    navButtonOptions = chartOptions.exporting && chartOptions.exporting.enabled !== false &&\n                    chartOptions.navigation && chartOptions.navigation.buttonOptions,\n                    options = chartOptions.rangeSelector,\n                    buttons = rangeSelector.buttons,\n                    lang = defaultOptions.lang,\n                    div = rangeSelector.div,\n                    inputGroup = rangeSelector.inputGroup,\n                    buttonTheme = options.buttonTheme,\n                    buttonPosition = options.buttonPosition || {},\n                    inputEnabled = options.inputEnabled,\n                    states = buttonTheme && buttonTheme.states,\n                    plotLeft = chart.plotLeft,\n                    buttonLeft,\n                    pos = this.getPosition(),\n                    buttonGroup = rangeSelector.group,\n                    buttonBBox,\n                    rendered = rangeSelector.rendered;\n\n                if (options.enabled === false) {\n                    return;\n                }\n\n                // create the elements\n                if (!rendered) {\n\n                    rangeSelector.group = buttonGroup = renderer.g('range-selector-buttons').add();\n\n                    rangeSelector.zoomText = renderer.text(lang.rangeSelectorZoom, pick(buttonPosition.x, plotLeft), 15)\n                        .css(options.labelStyle)\n                        .add(buttonGroup);\n\n                    // button starting position\n                    buttonLeft = pick(buttonPosition.x, plotLeft) + rangeSelector.zoomText.getBBox().width + 5;\n\n                    each(rangeSelector.buttonOptions, function(rangeOptions, i) {\n                        buttons[i] = renderer.button(\n                                rangeOptions.text,\n                                buttonLeft,\n                                0,\n                                function() {\n                                    rangeSelector.clickButton(i);\n                                    rangeSelector.isActive = true;\n                                },\n                                buttonTheme,\n                                states && states.hover,\n                                states && states.select,\n                                states && states.disabled\n                            )\n                            .attr({\n                                'text-align': 'center'\n                            })\n                            .add(buttonGroup);\n\n                        // increase button position for the next button\n                        buttonLeft += buttons[i].width + pick(options.buttonSpacing, 5);\n                    });\n\n                    // first create a wrapper outside the container in order to make\n                    // the inputs work and make export correct\n                    if (inputEnabled !== false) {\n                        rangeSelector.div = div = createElement('div', null, {\n                            position: 'relative',\n                            height: 0,\n                            zIndex: 1 // above container\n                        });\n\n                        container.parentNode.insertBefore(div, container);\n\n                        // Create the group to keep the inputs\n                        rangeSelector.inputGroup = inputGroup = renderer.g('input-group')\n                            .add();\n                        inputGroup.offset = 0;\n\n                        rangeSelector.drawInput('min');\n                        rangeSelector.drawInput('max');\n                    }\n                }\n                rangeSelector.updateButtonStates();\n\n                // Set or update the group position\n                buttonGroup[rendered ? 'animate' : 'attr']({\n                    translateY: pos.buttonTop\n                });\n\n                if (inputEnabled !== false) {\n\n                    // Update the alignment to the updated spacing box\n                    inputGroup.align(extend({\n                        y: pos.inputTop,\n                        width: inputGroup.offset,\n                        // Detect collision with the exporting buttons\n                        x: navButtonOptions && (pos.inputTop < (navButtonOptions.y || 0) + navButtonOptions.height - chart.spacing[0]) ?\n                            -40 : 0\n                    }, options.inputPosition), true, chart.spacingBox);\n\n                    // Hide if overlapping - inputEnabled is null or undefined\n                    if (!defined(inputEnabled)) {\n                        buttonBBox = buttonGroup.getBBox();\n                        inputGroup[inputGroup.alignAttr.translateX < buttonBBox.x + buttonBBox.width + 10 ? 'hide' : 'show']();\n                    }\n\n                    // Set or reset the input values\n                    rangeSelector.setInputValue('min', min);\n                    rangeSelector.setInputValue('max', max);\n                }\n\n                rangeSelector.rendered = true;\n            },\n\n            /**\n             * Update the range selector with new options\n             */\n            update: function(options) {\n                var chart = this.chart;\n                merge(true, chart.options.rangeSelector, options);\n                this.destroy();\n                this.init(chart);\n            },\n\n            /**\n             * Destroys allocated elements.\n             */\n            destroy: function() {\n                var minInput = this.minInput,\n                    maxInput = this.maxInput,\n                    key;\n\n                this.unMouseDown();\n                this.unResize();\n\n                // Destroy elements in collections\n                destroyObjectProperties(this.buttons);\n\n                // Clear input element events\n                if (minInput) {\n                    minInput.onfocus = minInput.onblur = minInput.onchange = null;\n                }\n                if (maxInput) {\n                    maxInput.onfocus = maxInput.onblur = maxInput.onchange = null;\n                }\n\n                // Destroy HTML and SVG elements\n                for (key in this) {\n                    if (this[key] && key !== 'chart') {\n                        if (this[key].destroy) { // SVGElement\n                            this[key].destroy();\n                        } else if (this[key].nodeType) { // HTML element\n                            discardElement(this[key]);\n                        }\n                    }\n                    if (this[key] !== RangeSelector.prototype[key]) {\n                        this[key] = null;\n                    }\n                }\n            }\n        };\n\n        /**\n         * Add logic to normalize the zoomed range in order to preserve the pressed state of range selector buttons\n         */\n        Axis.prototype.toFixedRange = function(pxMin, pxMax, fixedMin, fixedMax) {\n            var fixedRange = this.chart && this.chart.fixedRange,\n                newMin = pick(fixedMin, this.translate(pxMin, true, !this.horiz)),\n                newMax = pick(fixedMax, this.translate(pxMax, true, !this.horiz)),\n                changeRatio = fixedRange && (newMax - newMin) / fixedRange;\n\n            // If the difference between the fixed range and the actual requested range is\n            // too great, the user is dragging across an ordinal gap, and we need to release\n            // the range selector button.\n            if (changeRatio > 0.7 && changeRatio < 1.3) {\n                if (fixedMax) {\n                    newMin = newMax - fixedRange;\n                } else {\n                    newMax = newMin + fixedRange;\n                }\n            }\n            if (!isNumber(newMin)) { // #1195\n                newMin = newMax = undefined;\n            }\n\n            return {\n                min: newMin,\n                max: newMax\n            };\n        };\n\n        /**\n         * Get the axis min value based on the range option and the current max. For\n         * stock charts this is extended via the {@link RangeSelector} so that if the\n         * selected range is a multiple of months or years, it is compensated for\n         * various month lengths.\n         * \n         * @return {number} The new minimum value.\n         */\n        Axis.prototype.minFromRange = function() {\n            var rangeOptions = this.range,\n                type = rangeOptions.type,\n                timeName = {\n                    month: 'Month',\n                    year: 'FullYear'\n                }[type],\n                min,\n                max = this.max,\n                dataMin,\n                range,\n                // Get the true range from a start date\n                getTrueRange = function(base, count) {\n                    var date = new Date(base);\n                    date['set' + timeName](date['get' + timeName]() + count);\n                    return date.getTime() - base;\n                };\n\n            if (isNumber(rangeOptions)) {\n                min = max - rangeOptions;\n                range = rangeOptions;\n            } else {\n                min = max + getTrueRange(max, -rangeOptions.count);\n\n                // Let the fixedRange reflect initial settings (#5930)\n                if (this.chart) {\n                    this.chart.fixedRange = max - min;\n                }\n            }\n\n            dataMin = pick(this.dataMin, Number.MIN_VALUE);\n            if (!isNumber(min)) {\n                min = dataMin;\n            }\n            if (min <= dataMin) {\n                min = dataMin;\n                if (range === undefined) { // #4501\n                    range = getTrueRange(min, rangeOptions.count);\n                }\n                this.newMax = Math.min(min + range, this.dataMax);\n            }\n            if (!isNumber(max)) {\n                min = undefined;\n            }\n            return min;\n\n        };\n\n        // Initialize scroller for stock charts\n        wrap(Chart.prototype, 'init', function(proceed, options, callback) {\n\n            addEvent(this, 'init', function() {\n                if (this.options.rangeSelector.enabled) {\n                    this.rangeSelector = new RangeSelector(this);\n                }\n            });\n\n            proceed.call(this, options, callback);\n\n        });\n\n        Chart.prototype.callbacks.push(function(chart) {\n            var extremes,\n                rangeSelector = chart.rangeSelector,\n                unbindRender,\n                unbindSetExtremes;\n\n            function renderRangeSelector() {\n                extremes = chart.xAxis[0].getExtremes();\n                if (isNumber(extremes.min)) {\n                    rangeSelector.render(extremes.min, extremes.max);\n                }\n            }\n\n            if (rangeSelector) {\n                // redraw the scroller on setExtremes\n                unbindSetExtremes = addEvent(\n                    chart.xAxis[0],\n                    'afterSetExtremes',\n                    function(e) {\n                        rangeSelector.render(e.min, e.max);\n                    }\n                );\n\n                // redraw the scroller chart resize\n                unbindRender = addEvent(chart, 'redraw', renderRangeSelector);\n\n                // do it now\n                renderRangeSelector();\n            }\n\n            // Remove resize/afterSetExtremes at chart destroy\n            addEvent(chart, 'destroy', function destroyEvents() {\n                if (rangeSelector) {\n                    unbindRender();\n                    unbindSetExtremes();\n                }\n            });\n        });\n\n\n        H.RangeSelector = RangeSelector;\n\n        /* ****************************************************************************\n         * End Range Selector code\t\t\t\t\t\t\t\t\t\t\t\t\t*\n         *****************************************************************************/\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var arrayMax = H.arrayMax,\n            arrayMin = H.arrayMin,\n            Axis = H.Axis,\n            Chart = H.Chart,\n            defined = H.defined,\n            each = H.each,\n            extend = H.extend,\n            format = H.format,\n            inArray = H.inArray,\n            isNumber = H.isNumber,\n            isString = H.isString,\n            map = H.map,\n            merge = H.merge,\n            pick = H.pick,\n            Point = H.Point,\n            Renderer = H.Renderer,\n            Series = H.Series,\n            splat = H.splat,\n            SVGRenderer = H.SVGRenderer,\n            VMLRenderer = H.VMLRenderer,\n            wrap = H.wrap,\n\n\n            seriesProto = Series.prototype,\n            seriesInit = seriesProto.init,\n            seriesProcessData = seriesProto.processData,\n            pointTooltipFormatter = Point.prototype.tooltipFormatter;\n        /**\n         * A wrapper for Chart with all the default values for a Stock chart\n         */\n        H.StockChart = H.stockChart = function(a, b, c) {\n            var hasRenderToArg = isString(a) || a.nodeName,\n                options = arguments[hasRenderToArg ? 1 : 0],\n                seriesOptions = options.series, // to increase performance, don't merge the data\n                defaultOptions = H.getOptions(),\n                opposite,\n\n                // Always disable startOnTick:true on the main axis when the navigator\n                // is enabled (#1090)\n                navigatorEnabled = pick(\n                    options.navigator && options.navigator.enabled,\n                    defaultOptions.navigator.enabled,\n                    true\n                ),\n                disableStartOnTick = navigatorEnabled ? {\n                    startOnTick: false,\n                    endOnTick: false\n                } : null,\n\n                lineOptions = {\n\n                    marker: {\n                        enabled: false,\n                        radius: 2\n                    }\n                    // gapSize: 0\n                },\n                columnOptions = {\n                    shadow: false,\n                    borderWidth: 0\n                };\n\n            // apply X axis options to both single and multi y axes\n            options.xAxis = map(splat(options.xAxis || {}), function(xAxisOptions) {\n                return merge({ // defaults\n                        minPadding: 0,\n                        maxPadding: 0,\n                        ordinal: true,\n                        title: {\n                            text: null\n                        },\n                        labels: {\n                            overflow: 'justify'\n                        },\n                        showLastLabel: true\n                    },\n                    defaultOptions.xAxis, // #3802\n                    xAxisOptions, // user options\n                    { // forced options\n                        type: 'datetime',\n                        categories: null\n                    },\n                    disableStartOnTick\n                );\n            });\n\n            // apply Y axis options to both single and multi y axes\n            options.yAxis = map(splat(options.yAxis || {}), function(yAxisOptions) {\n                opposite = pick(yAxisOptions.opposite, true);\n                return merge({ // defaults\n                        labels: {\n                            y: -2\n                        },\n                        opposite: opposite,\n                        showLastLabel: false,\n                        title: {\n                            text: null\n                        }\n                    },\n                    defaultOptions.yAxis, // #3802\n                    yAxisOptions // user options\n                );\n            });\n\n            options.series = null;\n\n            options = merge({\n                    chart: {\n                        panning: true,\n                        pinchType: 'x'\n                    },\n                    navigator: {\n                        enabled: navigatorEnabled\n                    },\n                    scrollbar: {\n                        // #4988 - check if setOptions was called\n                        enabled: pick(defaultOptions.scrollbar.enabled, true)\n                    },\n                    rangeSelector: {\n                        // #4988 - check if setOptions was called\n                        enabled: pick(defaultOptions.rangeSelector.enabled, true)\n                    },\n                    title: {\n                        text: null\n                    },\n                    tooltip: {\n                        shared: true,\n                        crosshairs: true\n                    },\n                    legend: {\n                        enabled: false\n                    },\n\n                    plotOptions: {\n                        line: lineOptions,\n                        spline: lineOptions,\n                        area: lineOptions,\n                        areaspline: lineOptions,\n                        arearange: lineOptions,\n                        areasplinerange: lineOptions,\n                        column: columnOptions,\n                        columnrange: columnOptions,\n                        candlestick: columnOptions,\n                        ohlc: columnOptions\n                    }\n\n                },\n\n                options, // user's options\n\n                { // forced options\n                    isStock: true // internal flag\n                }\n            );\n\n            options.series = seriesOptions;\n\n            return hasRenderToArg ?\n                new Chart(a, options, c) :\n                new Chart(options, b);\n        };\n\n        // Override the automatic label alignment so that the first Y axis' labels\n        // are drawn on top of the grid line, and subsequent axes are drawn outside\n        wrap(Axis.prototype, 'autoLabelAlign', function(proceed) {\n            var chart = this.chart,\n                options = this.options,\n                panes = chart._labelPanes = chart._labelPanes || {},\n                key,\n                labelOptions = this.options.labels;\n            if (this.chart.options.isStock && this.coll === 'yAxis') {\n                key = options.top + ',' + options.height;\n                if (!panes[key] && labelOptions.enabled) { // do it only for the first Y axis of each pane\n                    if (labelOptions.x === 15) { // default\n                        labelOptions.x = 0;\n                    }\n                    if (labelOptions.align === undefined) {\n                        labelOptions.align = 'right';\n                    }\n                    panes[key] = this;\n                    return 'right';\n                }\n            }\n            return proceed.call(this, [].slice.call(arguments, 1));\n        });\n\n        // Clear axis from label panes (#6071)\n        wrap(Axis.prototype, 'destroy', function(proceed) {\n            var chart = this.chart,\n                key = this.options && (this.options.top + ',' + this.options.height);\n\n            if (key && chart._labelPanes && chart._labelPanes[key] === this) {\n                delete chart._labelPanes[key];\n            }\n\n            return proceed.call(this, Array.prototype.slice.call(arguments, 1));\n        });\n\n        // Override getPlotLinePath to allow for multipane charts\n        wrap(Axis.prototype, 'getPlotLinePath', function(proceed, value, lineWidth, old, force, translatedValue) {\n            var axis = this,\n                series = (this.isLinked && !this.series ? this.linkedParent.series : this.series),\n                chart = axis.chart,\n                renderer = chart.renderer,\n                axisLeft = axis.left,\n                axisTop = axis.top,\n                x1,\n                y1,\n                x2,\n                y2,\n                result = [],\n                axes = [], //#3416 need a default array\n                axes2,\n                uniqueAxes,\n                transVal;\n\n            /**\n             * Return the other axis based on either the axis option or on related series.\n             */\n            function getAxis(coll) {\n                var otherColl = coll === 'xAxis' ? 'yAxis' : 'xAxis',\n                    opt = axis.options[otherColl];\n\n                // Other axis indexed by number\n                if (isNumber(opt)) {\n                    return [chart[otherColl][opt]];\n                }\n\n                // Other axis indexed by id (like navigator)\n                if (isString(opt)) {\n                    return [chart.get(opt)];\n                }\n\n                // Auto detect based on existing series\n                return map(series, function(s) {\n                    return s[otherColl];\n                });\n            }\n\n            // Ignore in case of color Axis. #3360, #3524\n            if (axis.coll === 'colorAxis') {\n                return proceed.apply(this, [].slice.call(arguments, 1));\n            }\n\n            // Get the related axes based on series\n            axes = getAxis(axis.coll);\n\n            // Get the related axes based options.*Axis setting #2810\n            axes2 = (axis.isXAxis ? chart.yAxis : chart.xAxis);\n            each(axes2, function(A) {\n                if (defined(A.options.id) ? A.options.id.indexOf('navigator') === -1 : true) {\n                    var a = (A.isXAxis ? 'yAxis' : 'xAxis'),\n                        rax = (defined(A.options[a]) ? chart[a][A.options[a]] : chart[a][0]);\n\n                    if (axis === rax) {\n                        axes.push(A);\n                    }\n                }\n            });\n\n\n            // Remove duplicates in the axes array. If there are no axes in the axes array,\n            // we are adding an axis without data, so we need to populate this with grid\n            // lines (#2796).\n            uniqueAxes = axes.length ? [] : [axis.isXAxis ? chart.yAxis[0] : chart.xAxis[0]]; //#3742\n            each(axes, function(axis2) {\n                if (inArray(axis2, uniqueAxes) === -1) {\n                    uniqueAxes.push(axis2);\n                }\n            });\n\n            transVal = pick(translatedValue, axis.translate(value, null, null, old));\n            if (isNumber(transVal)) {\n                if (axis.horiz) {\n                    each(uniqueAxes, function(axis2) {\n                        var skip;\n\n                        y1 = axis2.pos;\n                        y2 = y1 + axis2.len;\n                        x1 = x2 = Math.round(transVal + axis.transB);\n\n                        if (x1 < axisLeft || x1 > axisLeft + axis.width) { // outside plot area\n                            if (force) {\n                                x1 = x2 = Math.min(Math.max(axisLeft, x1), axisLeft + axis.width);\n                            } else {\n                                skip = true;\n                            }\n                        }\n                        if (!skip) {\n                            result.push('M', x1, y1, 'L', x2, y2);\n                        }\n                    });\n                } else {\n                    each(uniqueAxes, function(axis2) {\n                        var skip;\n\n                        x1 = axis2.pos;\n                        x2 = x1 + axis2.len;\n                        y1 = y2 = Math.round(axisTop + axis.height - transVal);\n\n                        if (y1 < axisTop || y1 > axisTop + axis.height) { // outside plot area\n                            if (force) {\n                                y1 = y2 = Math.min(Math.max(axisTop, y1), axis.top + axis.height);\n                            } else {\n                                skip = true;\n                            }\n                        }\n                        if (!skip) {\n                            result.push('M', x1, y1, 'L', x2, y2);\n                        }\n                    });\n                }\n            }\n            return result.length > 0 ?\n                renderer.crispPolyLine(result, lineWidth || 1) :\n                null; //#3557 getPlotLinePath in regular Highcharts also returns null\n        });\n\n        // Override getPlotBandPath to allow for multipane charts\n        Axis.prototype.getPlotBandPath = function(from, to) {\n            var toPath = this.getPlotLinePath(to, null, null, true),\n                path = this.getPlotLinePath(from, null, null, true),\n                result = [],\n                i;\n\n            if (path && toPath) {\n                if (path.toString() === toPath.toString()) {\n                    // #6166\n                    result = path;\n                    result.flat = true;\n                } else {\n                    // Go over each subpath\n                    for (i = 0; i < path.length; i += 6) {\n                        result.push(\n                            'M', path[i + 1], path[i + 2],\n                            'L', path[i + 4], path[i + 5],\n                            toPath[i + 4], toPath[i + 5],\n                            toPath[i + 1], toPath[i + 2],\n                            'z'\n                        );\n                    }\n                }\n            } else { // outside the axis area\n                result = null;\n            }\n\n            return result;\n        };\n\n        // Function to crisp a line with multiple segments\n        SVGRenderer.prototype.crispPolyLine = function(points, width) {\n            // points format: ['M', 0, 0, 'L', 100, 0]\t\t\n            // normalize to a crisp line\n            var i;\n            for (i = 0; i < points.length; i = i + 6) {\n                if (points[i + 1] === points[i + 4]) {\n                    // Substract due to #1129. Now bottom and left axis gridlines behave the same.\n                    points[i + 1] = points[i + 4] = Math.round(points[i + 1]) - (width % 2 / 2);\n                }\n                if (points[i + 2] === points[i + 5]) {\n                    points[i + 2] = points[i + 5] = Math.round(points[i + 2]) + (width % 2 / 2);\n                }\n            }\n            return points;\n        };\n\n        if (Renderer === VMLRenderer) {\n            VMLRenderer.prototype.crispPolyLine = SVGRenderer.prototype.crispPolyLine;\n        }\n\n\n        // Wrapper to hide the label\n        wrap(Axis.prototype, 'hideCrosshair', function(proceed, i) {\n\n            proceed.call(this, i);\n\n            if (this.crossLabel) {\n                this.crossLabel = this.crossLabel.hide();\n            }\n        });\n\n        // Wrapper to draw the label\n        wrap(Axis.prototype, 'drawCrosshair', function(proceed, e, point) {\n\n            // Draw the crosshair\n            proceed.call(this, e, point);\n\n            // Check if the label has to be drawn\n            if (!defined(this.crosshair.label) || !this.crosshair.label.enabled || !this.cross) {\n                return;\n            }\n\n            var chart = this.chart,\n                options = this.options.crosshair.label, // the label's options\n                horiz = this.horiz, // axis orientation\n                opposite = this.opposite, // axis position\n                left = this.left, // left position\n                top = this.top, // top position\n                crossLabel = this.crossLabel, // reference to the svgElement\n                posx,\n                posy,\n                crossBox,\n                formatOption = options.format,\n                formatFormat = '',\n                limit,\n                align,\n                tickInside = this.options.tickPosition === 'inside',\n                snap = this.crosshair.snap !== false,\n                value,\n                offset = 0;\n\n            // Use last available event (#5287)\n            if (!e) {\n                e = this.cross && this.cross.e;\n            }\n\n            align = (horiz ? 'center' : opposite ?\n                (this.labelAlign === 'right' ? 'right' : 'left') :\n                (this.labelAlign === 'left' ? 'left' : 'center'));\n\n            // If the label does not exist yet, create it.\n            if (!crossLabel) {\n                crossLabel = this.crossLabel = chart.renderer.label(null, null, null, options.shape || 'callout')\n                    .addClass('highcharts-crosshair-label' +\n                        (this.series[0] && ' highcharts-color-' + this.series[0].colorIndex))\n                    .attr({\n                        align: options.align || align,\n                        padding: pick(options.padding, 8),\n                        r: pick(options.borderRadius, 3),\n                        zIndex: 2\n                    })\n                    .add(this.labelGroup);\n\n\n                // Presentational\n                crossLabel\n                    .attr({\n                        fill: options.backgroundColor ||\n                            (this.series[0] && this.series[0].color) || '#666666',\n                        stroke: options.borderColor || '',\n                        'stroke-width': options.borderWidth || 0\n                    })\n                    .css(extend({\n                        color: '#ffffff',\n                        fontWeight: 'normal',\n                        fontSize: '11px',\n                        textAlign: 'center'\n                    }, options.style));\n\n            }\n\n            if (horiz) {\n                posx = snap ? point.plotX + left : e.chartX;\n                posy = top + (opposite ? 0 : this.height);\n            } else {\n                posx = opposite ? this.width + left : 0;\n                posy = snap ? point.plotY + top : e.chartY;\n            }\n\n            if (!formatOption && !options.formatter) {\n                if (this.isDatetimeAxis) {\n                    formatFormat = '%b %d, %Y';\n                }\n                formatOption = '{value' + (formatFormat ? ':' + formatFormat : '') + '}';\n            }\n\n            // Show the label\n            value = snap ? point[this.isXAxis ? 'x' : 'y'] : this.toValue(horiz ? e.chartX : e.chartY);\n            crossLabel.attr({\n                text: formatOption ? format(formatOption, {\n                    value: value\n                }) : options.formatter.call(this, value),\n                x: posx,\n                y: posy,\n                visibility: 'visible'\n            });\n\n            crossBox = crossLabel.getBBox();\n\n            // now it is placed we can correct its position\n            if (horiz) {\n                if ((tickInside && !opposite) || (!tickInside && opposite)) {\n                    posy = crossLabel.y - crossBox.height;\n                }\n            } else {\n                posy = crossLabel.y - (crossBox.height / 2);\n            }\n\n            // check the edges\n            if (horiz) {\n                limit = {\n                    left: left - crossBox.x,\n                    right: left + this.width - crossBox.x\n                };\n            } else {\n                limit = {\n                    left: this.labelAlign === 'left' ? left : 0,\n                    right: this.labelAlign === 'right' ? left + this.width : chart.chartWidth\n                };\n            }\n\n            // left edge\n            if (crossLabel.translateX < limit.left) {\n                offset = limit.left - crossLabel.translateX;\n            }\n            // right edge\n            if (crossLabel.translateX + crossBox.width >= limit.right) {\n                offset = -(crossLabel.translateX + crossBox.width - limit.right);\n            }\n\n            // show the crosslabel\n            crossLabel.attr({\n                x: posx + offset,\n                y: posy,\n                // First set x and y, then anchorX and anchorY, when box is actually calculated, #5702\n                anchorX: horiz ? posx : (this.opposite ? 0 : chart.chartWidth),\n                anchorY: horiz ? (this.opposite ? chart.chartHeight : 0) : posy + crossBox.height / 2\n            });\n        });\n\n        /* ****************************************************************************\n         * Start value compare logic\t\t\t\t\t\t\t\t\t\t\t\t  *\n         *****************************************************************************/\n\n        /**\n         * Extend series.init by adding a method to modify the y value used for plotting\n         * on the y axis. This method is called both from the axis when finding dataMin\n         * and dataMax, and from the series.translate method.\n         */\n        seriesProto.init = function() {\n\n            // Call base method\n            seriesInit.apply(this, arguments);\n\n            // Set comparison mode\n            this.setCompare(this.options.compare);\n        };\n\n        /**\n         * The setCompare method can be called also from the outside after render time\n         */\n        seriesProto.setCompare = function(compare) {\n\n            // Set or unset the modifyValue method\n            this.modifyValue = (compare === 'value' || compare === 'percent') ? function(value, point) {\n                var compareValue = this.compareValue;\n\n                if (value !== undefined && compareValue !== undefined) { // #2601, #5814\n\n                    // Get the modified value\n                    if (compare === 'value') {\n                        value -= compareValue;\n\n                        // Compare percent\n                    } else {\n                        value = 100 * (value / compareValue) -\n                            (this.options.compareBase === 100 ? 0 : 100);\n                    }\n\n                    // record for tooltip etc.\n                    if (point) {\n                        point.change = value;\n                    }\n\n                    return value;\n                }\n            } : null;\n\n            // Survive to export, #5485\n            this.userOptions.compare = compare;\n\n            // Mark dirty\n            if (this.chart.hasRendered) {\n                this.isDirty = true;\n            }\n\n        };\n\n        /**\n         * Extend series.processData by finding the first y value in the plot area,\n         * used for comparing the following values\n         */\n        seriesProto.processData = function() {\n            var series = this,\n                i,\n                keyIndex = -1,\n                processedXData,\n                processedYData,\n                length,\n                compareValue;\n\n            // call base method\n            seriesProcessData.apply(this, arguments);\n\n            if (series.xAxis && series.processedYData) { // not pies\n\n                // local variables\n                processedXData = series.processedXData;\n                processedYData = series.processedYData;\n                length = processedYData.length;\n\n                // For series with more than one value (range, OHLC etc), compare against\n                // close or the pointValKey (#4922, #3112)\n                if (series.pointArrayMap) {\n                    // Use close if present (#3112)\n                    keyIndex = inArray('close', series.pointArrayMap);\n                    if (keyIndex === -1) {\n                        keyIndex = inArray(series.pointValKey || 'y', series.pointArrayMap);\n                    }\n                }\n\n                // find the first value for comparison\n                for (i = 0; i < length - 1; i++) {\n                    compareValue = keyIndex > -1 ?\n                        processedYData[i][keyIndex] :\n                        processedYData[i];\n                    if (isNumber(compareValue) && processedXData[i + 1] >= series.xAxis.min && compareValue !== 0) {\n                        series.compareValue = compareValue;\n                        break;\n                    }\n                }\n            }\n        };\n\n        /**\n         * Modify series extremes\n         */\n        wrap(seriesProto, 'getExtremes', function(proceed) {\n            var extremes;\n\n            proceed.apply(this, [].slice.call(arguments, 1));\n\n            if (this.modifyValue) {\n                extremes = [this.modifyValue(this.dataMin), this.modifyValue(this.dataMax)];\n                this.dataMin = arrayMin(extremes);\n                this.dataMax = arrayMax(extremes);\n            }\n        });\n\n        /**\n         * Add a utility method, setCompare, to the Y axis\n         */\n        Axis.prototype.setCompare = function(compare, redraw) {\n            if (!this.isXAxis) {\n                each(this.series, function(series) {\n                    series.setCompare(compare);\n                });\n                if (pick(redraw, true)) {\n                    this.chart.redraw();\n                }\n            }\n        };\n\n        /**\n         * Extend the tooltip formatter by adding support for the point.change variable\n         * as well as the changeDecimals option\n         */\n        Point.prototype.tooltipFormatter = function(pointFormat) {\n            var point = this;\n\n            pointFormat = pointFormat.replace(\n                '{point.change}',\n                (point.change > 0 ? '+' : '') +\n                H.numberFormat(point.change, pick(point.series.tooltipOptions.changeDecimals, 2))\n            );\n\n            return pointTooltipFormatter.apply(this, [pointFormat]);\n        };\n\n        /* ****************************************************************************\n         * End value compare logic\t\t\t\t\t\t\t\t\t\t\t\t\t*\n         *****************************************************************************/\n\n\n        /**\n         * Extend the Series prototype to create a separate series clip box. This is\n         * related to using multiple panes, and a future pane logic should incorporate\n         * this feature (#2754).\n         */\n        wrap(Series.prototype, 'render', function(proceed) {\n            // Only do this on not 3d (#2939, #5904) nor polar (#6057) charts, and only\n            // if the series type handles clipping in the animate method (#2975).\n            if (!(this.chart.is3d && this.chart.is3d()) &&\n                !this.chart.polar &&\n                this.xAxis &&\n                !this.xAxis.isRadial // Gauge, #6192\n            ) {\n\n                // First render, initial clip box\n                if (!this.clipBox && this.animate) {\n                    this.clipBox = merge(this.chart.clipBox);\n                    this.clipBox.width = this.xAxis.len;\n                    this.clipBox.height = this.yAxis.len;\n\n                    // On redrawing, resizing etc, update the clip rectangle\n                } else if (this.chart[this.sharedClipKey]) {\n                    this.chart[this.sharedClipKey].attr({\n                        width: this.xAxis.len,\n                        height: this.yAxis.len\n                    });\n                    // #3111\n                } else if (this.clipBox) {\n                    this.clipBox.width = this.xAxis.len;\n                    this.clipBox.height = this.yAxis.len;\n                }\n            }\n            proceed.call(this);\n        });\n\n    }(Highcharts));\n    (function() {\n\n\n    }());\n    return Highcharts\n}));\n","/**\n * @license Highcharts JS v5.0.10 (2017-03-31)\n * Highcharts Drilldown module\n * \n * Author: Torstein Honsi\n * License: www.highcharts.com/license\n *\n */\n'use strict';\n(function(factory) {\n    if (typeof module === 'object' && module.exports) {\n        module.exports = factory;\n    } else {\n        factory(Highcharts);\n    }\n}(function(Highcharts) {\n    (function(H) {\n        /**\n         * Highcharts Drilldown module\n         * \n         * Author: Torstein Honsi\n         * License: www.highcharts.com/license\n         *\n         */\n\n\n        var noop = H.noop,\n            color = H.color,\n            defaultOptions = H.defaultOptions,\n            each = H.each,\n            extend = H.extend,\n            format = H.format,\n            pick = H.pick,\n            wrap = H.wrap,\n            Chart = H.Chart,\n            seriesTypes = H.seriesTypes,\n            PieSeries = seriesTypes.pie,\n            ColumnSeries = seriesTypes.column,\n            Tick = H.Tick,\n            fireEvent = H.fireEvent,\n            inArray = H.inArray,\n            ddSeriesId = 1;\n\n        // Utilities\n        /*\n         * Return an intermediate color between two colors, according to pos where 0\n         * is the from color and 1 is the to color. This method is copied from ColorAxis.js\n         * and should always be kept updated, until we get AMD support.\n         */\n        function tweenColors(from, to, pos) {\n            // Check for has alpha, because rgba colors perform worse due to lack of\n            // support in WebKit.\n            var hasAlpha,\n                ret;\n\n            // Unsupported color, return to-color (#3920)\n            if (!to.rgba.length || !from.rgba.length) {\n                ret = to.input || 'none';\n\n                // Interpolate\n            } else {\n                from = from.rgba;\n                to = to.rgba;\n                hasAlpha = (to[3] !== 1 || from[3] !== 1);\n                ret = (hasAlpha ? 'rgba(' : 'rgb(') +\n                    Math.round(to[0] + (from[0] - to[0]) * (1 - pos)) + ',' +\n                    Math.round(to[1] + (from[1] - to[1]) * (1 - pos)) + ',' +\n                    Math.round(to[2] + (from[2] - to[2]) * (1 - pos)) +\n                    (hasAlpha ? (',' + (to[3] + (from[3] - to[3]) * (1 - pos))) : '') + ')';\n            }\n            return ret;\n        }\n        /**\n         * Handle animation of the color attributes directly\n         */\n        each(['fill', 'stroke'], function(prop) {\n            H.Fx.prototype[prop + 'Setter'] = function() {\n                this.elem.attr(\n                    prop,\n                    tweenColors(color(this.start), color(this.end), this.pos),\n                    null,\n                    true\n                );\n            };\n        });\n\n        // Add language\n        extend(defaultOptions.lang, {\n            drillUpText: '◁ Back to {series.name}'\n        });\n        defaultOptions.drilldown = {\n\n            activeAxisLabelStyle: {\n                cursor: 'pointer',\n                color: '#003399',\n                fontWeight: 'bold',\n                textDecoration: 'underline'\n            },\n            activeDataLabelStyle: {\n                cursor: 'pointer',\n                color: '#003399',\n                fontWeight: 'bold',\n                textDecoration: 'underline'\n            },\n\n            animation: {\n                duration: 500\n            },\n            drillUpButton: {\n                position: {\n                    align: 'right',\n                    x: -10,\n                    y: 10\n                }\n                // relativeTo: 'plotBox'\n                // theme\n            }\n        };\n\n        /**\n         * A general fadeIn method\n         */\n        H.SVGRenderer.prototype.Element.prototype.fadeIn = function(animation) {\n            this\n                .attr({\n                    opacity: 0.1,\n                    visibility: 'inherit'\n                })\n                .animate({\n                    opacity: pick(this.newOpacity, 1) // newOpacity used in maps\n                }, animation || {\n                    duration: 250\n                });\n        };\n\n        Chart.prototype.addSeriesAsDrilldown = function(point, ddOptions) {\n            this.addSingleSeriesAsDrilldown(point, ddOptions);\n            this.applyDrilldown();\n        };\n        Chart.prototype.addSingleSeriesAsDrilldown = function(point, ddOptions) {\n            var oldSeries = point.series,\n                xAxis = oldSeries.xAxis,\n                yAxis = oldSeries.yAxis,\n                newSeries,\n                pointIndex,\n                levelSeries = [],\n                levelSeriesOptions = [],\n                level,\n                levelNumber,\n                last,\n                colorProp;\n\n\n\n            colorProp = {\n                color: point.color || oldSeries.color\n            };\n\n\n            if (!this.drilldownLevels) {\n                this.drilldownLevels = [];\n            }\n\n            levelNumber = oldSeries.options._levelNumber || 0;\n\n            // See if we can reuse the registered series from last run\n            last = this.drilldownLevels[this.drilldownLevels.length - 1];\n            if (last && last.levelNumber !== levelNumber) {\n                last = undefined;\n            }\n\n            ddOptions = extend(extend({\n                _ddSeriesId: ddSeriesId++\n            }, colorProp), ddOptions);\n            pointIndex = inArray(point, oldSeries.points);\n\n            // Record options for all current series\n            each(oldSeries.chart.series, function(series) {\n                if (series.xAxis === xAxis && !series.isDrilling) {\n                    series.options._ddSeriesId = series.options._ddSeriesId || ddSeriesId++;\n                    series.options._colorIndex = series.userOptions._colorIndex;\n                    series.options._levelNumber = series.options._levelNumber || levelNumber; // #3182\n\n                    if (last) {\n                        levelSeries = last.levelSeries;\n                        levelSeriesOptions = last.levelSeriesOptions;\n                    } else {\n                        levelSeries.push(series);\n                        levelSeriesOptions.push(series.options);\n                    }\n                }\n            });\n\n            // Add a record of properties for each drilldown level\n            level = extend({\n                levelNumber: levelNumber,\n                seriesOptions: oldSeries.options,\n                levelSeriesOptions: levelSeriesOptions,\n                levelSeries: levelSeries,\n                shapeArgs: point.shapeArgs,\n                bBox: point.graphic ? point.graphic.getBBox() : {}, // no graphic in line series with markers disabled\n                color: point.isNull ? new H.Color(color).setOpacity(0).get() : color,\n                lowerSeriesOptions: ddOptions,\n                pointOptions: oldSeries.options.data[pointIndex],\n                pointIndex: pointIndex,\n                oldExtremes: {\n                    xMin: xAxis && xAxis.userMin,\n                    xMax: xAxis && xAxis.userMax,\n                    yMin: yAxis && yAxis.userMin,\n                    yMax: yAxis && yAxis.userMax\n                }\n            }, colorProp);\n\n            // Push it to the lookup array\n            this.drilldownLevels.push(level);\n\n            newSeries = level.lowerSeries = this.addSeries(ddOptions, false);\n            newSeries.options._levelNumber = levelNumber + 1;\n            if (xAxis) {\n                xAxis.oldPos = xAxis.pos;\n                xAxis.userMin = xAxis.userMax = null;\n                yAxis.userMin = yAxis.userMax = null;\n            }\n\n            // Run fancy cross-animation on supported and equal types\n            if (oldSeries.type === newSeries.type) {\n                newSeries.animate = newSeries.animateDrilldown || noop;\n                newSeries.options.animation = true;\n            }\n        };\n\n        Chart.prototype.applyDrilldown = function() {\n            var drilldownLevels = this.drilldownLevels,\n                levelToRemove;\n\n            if (drilldownLevels && drilldownLevels.length > 0) { // #3352, async loading\n                levelToRemove = drilldownLevels[drilldownLevels.length - 1].levelNumber;\n                each(this.drilldownLevels, function(level) {\n                    if (level.levelNumber === levelToRemove) {\n                        each(level.levelSeries, function(series) {\n                            if (series.options && series.options._levelNumber === levelToRemove) { // Not removed, not added as part of a multi-series drilldown\n                                series.remove(false);\n                            }\n                        });\n                    }\n                });\n            }\n\n            this.redraw();\n            this.showDrillUpButton();\n        };\n\n        Chart.prototype.getDrilldownBackText = function() {\n            var drilldownLevels = this.drilldownLevels,\n                lastLevel;\n            if (drilldownLevels && drilldownLevels.length > 0) { // #3352, async loading\n                lastLevel = drilldownLevels[drilldownLevels.length - 1];\n                lastLevel.series = lastLevel.seriesOptions;\n                return format(this.options.lang.drillUpText, lastLevel);\n            }\n\n        };\n\n        Chart.prototype.showDrillUpButton = function() {\n            var chart = this,\n                backText = this.getDrilldownBackText(),\n                buttonOptions = chart.options.drilldown.drillUpButton,\n                attr,\n                states;\n\n\n            if (!this.drillUpButton) {\n                attr = buttonOptions.theme;\n                states = attr && attr.states;\n\n                this.drillUpButton = this.renderer.button(\n                        backText,\n                        null,\n                        null,\n                        function() {\n                            chart.drillUp();\n                        },\n                        attr,\n                        states && states.hover,\n                        states && states.select\n                    )\n                    .addClass('highcharts-drillup-button')\n                    .attr({\n                        align: buttonOptions.position.align,\n                        zIndex: 7\n                    })\n                    .add()\n                    .align(buttonOptions.position, false, buttonOptions.relativeTo || 'plotBox');\n            } else {\n                this.drillUpButton.attr({\n                        text: backText\n                    })\n                    .align();\n            }\n        };\n\n        Chart.prototype.drillUp = function() {\n            var chart = this,\n                drilldownLevels = chart.drilldownLevels,\n                levelNumber = drilldownLevels[drilldownLevels.length - 1].levelNumber,\n                i = drilldownLevels.length,\n                chartSeries = chart.series,\n                seriesI,\n                level,\n                oldSeries,\n                newSeries,\n                oldExtremes,\n                addSeries = function(seriesOptions) {\n                    var addedSeries;\n                    each(chartSeries, function(series) {\n                        if (series.options._ddSeriesId === seriesOptions._ddSeriesId) {\n                            addedSeries = series;\n                        }\n                    });\n\n                    addedSeries = addedSeries || chart.addSeries(seriesOptions, false);\n                    if (addedSeries.type === oldSeries.type && addedSeries.animateDrillupTo) {\n                        addedSeries.animate = addedSeries.animateDrillupTo;\n                    }\n                    if (seriesOptions === level.seriesOptions) {\n                        newSeries = addedSeries;\n                    }\n                };\n\n            while (i--) {\n\n                level = drilldownLevels[i];\n                if (level.levelNumber === levelNumber) {\n                    drilldownLevels.pop();\n\n                    // Get the lower series by reference or id\n                    oldSeries = level.lowerSeries;\n                    if (!oldSeries.chart) { // #2786\n                        seriesI = chartSeries.length; // #2919\n                        while (seriesI--) {\n                            if (chartSeries[seriesI].options.id === level.lowerSeriesOptions.id &&\n                                chartSeries[seriesI].options._levelNumber === levelNumber + 1) { // #3867\n                                oldSeries = chartSeries[seriesI];\n                                break;\n                            }\n                        }\n                    }\n                    oldSeries.xData = []; // Overcome problems with minRange (#2898)\n\n                    each(level.levelSeriesOptions, addSeries);\n\n                    fireEvent(chart, 'drillup', {\n                        seriesOptions: level.seriesOptions\n                    });\n\n                    if (newSeries.type === oldSeries.type) {\n                        newSeries.drilldownLevel = level;\n                        newSeries.options.animation = chart.options.drilldown.animation;\n\n                        if (oldSeries.animateDrillupFrom && oldSeries.chart) { // #2919\n                            oldSeries.animateDrillupFrom(level);\n                        }\n                    }\n                    newSeries.options._levelNumber = levelNumber;\n\n                    oldSeries.remove(false);\n\n                    // Reset the zoom level of the upper series\n                    if (newSeries.xAxis) {\n                        oldExtremes = level.oldExtremes;\n                        newSeries.xAxis.setExtremes(oldExtremes.xMin, oldExtremes.xMax, false);\n                        newSeries.yAxis.setExtremes(oldExtremes.yMin, oldExtremes.yMax, false);\n                    }\n                }\n            }\n\n            // Fire a once-off event after all series have been drilled up (#5158)\n            fireEvent(chart, 'drillupall');\n\n            this.redraw();\n\n            if (this.drilldownLevels.length === 0) {\n                this.drillUpButton = this.drillUpButton.destroy();\n            } else {\n                this.drillUpButton.attr({\n                        text: this.getDrilldownBackText()\n                    })\n                    .align();\n            }\n\n            this.ddDupes.length = []; // #3315\n        };\n\n\n        ColumnSeries.prototype.supportsDrilldown = true;\n\n        /**\n         * When drilling up, keep the upper series invisible until the lower series has\n         * moved into place\n         */\n        ColumnSeries.prototype.animateDrillupTo = function(init) {\n            if (!init) {\n                var newSeries = this,\n                    level = newSeries.drilldownLevel;\n\n                // First hide all items before animating in again\n                each(this.points, function(point) {\n                    var dataLabel = point.dataLabel;\n\n                    if (point.graphic) { // #3407\n                        point.graphic.hide();\n                    }\n\n                    if (dataLabel) {\n                        // The data label is initially hidden, make sure it is not faded\n                        // in (#6127)\n                        dataLabel.hidden = dataLabel.attr('visibility') === 'hidden';\n\n                        if (!dataLabel.hidden) {\n                            dataLabel.hide();\n                            if (point.connector) {\n                                point.connector.hide();\n                            }\n                        }\n                    }\n                });\n\n\n                // Do dummy animation on first point to get to complete\n                setTimeout(function() {\n                    if (newSeries.points) { // May be destroyed in the meantime, #3389\n                        each(newSeries.points, function(point, i) {\n                            // Fade in other points\t\t\t  \n                            var verb =\n                                i === (level && level.pointIndex) ? 'show' : 'fadeIn',\n                                inherit = verb === 'show' ? true : undefined,\n                                dataLabel = point.dataLabel;\n\n\n                            if (point.graphic) { // #3407\n                                point.graphic[verb](inherit);\n                            }\n\n                            if (dataLabel && !dataLabel.hidden) { // #6127\n                                dataLabel[verb](inherit);\n                                if (point.connector) {\n                                    point.connector[verb](inherit);\n                                }\n                            }\n                        });\n                    }\n                }, Math.max(this.chart.options.drilldown.animation.duration - 50, 0));\n\n                // Reset\n                this.animate = noop;\n            }\n\n        };\n\n        ColumnSeries.prototype.animateDrilldown = function(init) {\n            var series = this,\n                drilldownLevels = this.chart.drilldownLevels,\n                animateFrom,\n                animationOptions = this.chart.options.drilldown.animation,\n                xAxis = this.xAxis;\n\n            if (!init) {\n                each(drilldownLevels, function(level) {\n                    if (series.options._ddSeriesId === level.lowerSeriesOptions._ddSeriesId) {\n                        animateFrom = level.shapeArgs;\n\n                        // Add the point colors to animate from\n                        animateFrom.fill = level.color;\n\n                    }\n                });\n\n                animateFrom.x += (pick(xAxis.oldPos, xAxis.pos) - xAxis.pos);\n\n                each(this.points, function(point) {\n                    var animateTo = point.shapeArgs;\n\n\n                    // Add the point colors to animate to\n                    animateTo.fill = point.color;\n\n\n                    if (point.graphic) {\n                        point.graphic\n                            .attr(animateFrom)\n                            .animate(\n                                extend(point.shapeArgs, {\n                                    fill: point.color || series.color\n                                }),\n                                animationOptions\n                            );\n                    }\n                    if (point.dataLabel) {\n                        point.dataLabel.fadeIn(animationOptions);\n                    }\n                });\n                this.animate = null;\n            }\n\n        };\n\n        /**\n         * When drilling up, pull out the individual point graphics from the lower series\n         * and animate them into the origin point in the upper series.\n         */\n        ColumnSeries.prototype.animateDrillupFrom = function(level) {\n            var animationOptions = this.chart.options.drilldown.animation,\n                group = this.group,\n                series = this;\n\n            // Cancel mouse events on the series group (#2787)\n            each(series.trackerGroups, function(key) {\n                if (series[key]) { // we don't always have dataLabelsGroup\n                    series[key].on('mouseover');\n                }\n            });\n\n\n            delete this.group;\n            each(this.points, function(point) {\n                var graphic = point.graphic,\n                    animateTo = level.shapeArgs,\n                    complete = function() {\n                        graphic.destroy();\n                        if (group) {\n                            group = group.destroy();\n                        }\n                    };\n\n                if (graphic) {\n\n                    delete point.graphic;\n\n\n                    animateTo.fill = level.color;\n\n\n                    if (animationOptions) {\n                        graphic.animate(\n                            animateTo,\n                            H.merge(animationOptions, {\n                                complete: complete\n                            })\n                        );\n                    } else {\n                        graphic.attr(animateTo);\n                        complete();\n                    }\n                }\n            });\n        };\n\n        if (PieSeries) {\n            extend(PieSeries.prototype, {\n                supportsDrilldown: true,\n                animateDrillupTo: ColumnSeries.prototype.animateDrillupTo,\n                animateDrillupFrom: ColumnSeries.prototype.animateDrillupFrom,\n\n                animateDrilldown: function(init) {\n                    var level = this.chart.drilldownLevels[this.chart.drilldownLevels.length - 1],\n                        animationOptions = this.chart.options.drilldown.animation,\n                        animateFrom = level.shapeArgs,\n                        start = animateFrom.start,\n                        angle = animateFrom.end - start,\n                        startAngle = angle / this.points.length;\n\n                    if (!init) {\n                        each(this.points, function(point, i) {\n                            var animateTo = point.shapeArgs;\n\n\n                            animateFrom.fill = level.color;\n                            animateTo.fill = point.color;\n\n\n                            if (point.graphic) {\n                                point.graphic\n                                    .attr(H.merge(animateFrom, {\n                                        start: start + i * startAngle,\n                                        end: start + (i + 1) * startAngle\n                                    }))[animationOptions ? 'animate' : 'attr'](\n                                        animateTo,\n                                        animationOptions\n                                    );\n                            }\n                        });\n                        this.animate = null;\n                    }\n                }\n            });\n        }\n\n        H.Point.prototype.doDrilldown = function(_holdRedraw, category, originalEvent) {\n            var series = this.series,\n                chart = series.chart,\n                drilldown = chart.options.drilldown,\n                i = (drilldown.series || []).length,\n                seriesOptions;\n\n            if (!chart.ddDupes) {\n                chart.ddDupes = [];\n            }\n\n            while (i-- && !seriesOptions) {\n                if (drilldown.series[i].id === this.drilldown && inArray(this.drilldown, chart.ddDupes) === -1) {\n                    seriesOptions = drilldown.series[i];\n                    chart.ddDupes.push(this.drilldown);\n                }\n            }\n\n            // Fire the event. If seriesOptions is undefined, the implementer can check for \n            // seriesOptions, and call addSeriesAsDrilldown async if necessary.\n            fireEvent(chart, 'drilldown', {\n                point: this,\n                seriesOptions: seriesOptions,\n                category: category,\n                originalEvent: originalEvent,\n                points: category !== undefined && this.series.xAxis.getDDPoints(category).slice(0)\n            }, function(e) {\n                var chart = e.point.series && e.point.series.chart,\n                    seriesOptions = e.seriesOptions;\n                if (chart && seriesOptions) {\n                    if (_holdRedraw) {\n                        chart.addSingleSeriesAsDrilldown(e.point, seriesOptions);\n                    } else {\n                        chart.addSeriesAsDrilldown(e.point, seriesOptions);\n                    }\n                }\n            });\n\n\n        };\n\n        /**\n         * Drill down to a given category. This is the same as clicking on an axis label.\n         */\n        H.Axis.prototype.drilldownCategory = function(x, e) {\n            var key,\n                point,\n                ddPointsX = this.getDDPoints(x);\n            for (key in ddPointsX) {\n                point = ddPointsX[key];\n                if (point && point.series && point.series.visible && point.doDrilldown) { // #3197\n                    point.doDrilldown(true, x, e);\n                }\n            }\n            this.chart.applyDrilldown();\n        };\n\n        /**\n         * Return drillable points for this specific X value\n         */\n        H.Axis.prototype.getDDPoints = function(x) {\n            var ret = [];\n            each(this.series, function(series) {\n                var i,\n                    xData = series.xData,\n                    points = series.points;\n\n                for (i = 0; i < xData.length; i++) {\n                    if (xData[i] === x && series.options.data[i] && series.options.data[i].drilldown) {\n                        ret.push(points ? points[i] : true);\n                        break;\n                    }\n                }\n            });\n            return ret;\n        };\n\n\n        /**\n         * Make a tick label drillable, or remove drilling on update\n         */\n        Tick.prototype.drillable = function() {\n            var pos = this.pos,\n                label = this.label,\n                axis = this.axis,\n                isDrillable = axis.coll === 'xAxis' && axis.getDDPoints,\n                ddPointsX = isDrillable && axis.getDDPoints(pos);\n\n            if (isDrillable) {\n                if (label && ddPointsX.length) {\n                    label.drillable = true;\n\n\n                    if (!label.basicStyles) {\n                        label.basicStyles = H.merge(label.styles);\n                    }\n\n\n                    label\n                        .addClass('highcharts-drilldown-axis-label')\n\n                        .css(axis.chart.options.drilldown.activeAxisLabelStyle)\n\n                        .on('click', function(e) {\n                            axis.drilldownCategory(pos, e);\n                        });\n\n                } else if (label && label.drillable) {\n\n\n                    label.styles = {}; // reset for full overwrite of styles\n                    label.css(label.basicStyles);\n\n\n                    label.on('click', null); // #3806\t\t\t\n                    label.removeClass('highcharts-drilldown-axis-label');\n                }\n            }\n        };\n\n        /**\n         * Always keep the drillability updated (#3951)\n         */\n        wrap(Tick.prototype, 'addLabel', function(proceed) {\n            proceed.call(this);\n            this.drillable();\n        });\n\n\n        /**\n         * On initialization of each point, identify its label and make it clickable. Also, provide a\n         * list of points associated to that label.\n         */\n        wrap(H.Point.prototype, 'init', function(proceed, series, options, x) {\n            var point = proceed.call(this, series, options, x),\n                xAxis = series.xAxis,\n                tick = xAxis && xAxis.ticks[x];\n\n            if (point.drilldown) {\n\n                // Add the click event to the point \n                H.addEvent(point, 'click', function(e) {\n                    if (series.xAxis && series.chart.options.drilldown.allowPointDrilldown === false) {\n                        series.xAxis.drilldownCategory(point.x, e); // #5822, x changed\n                    } else {\n                        point.doDrilldown(undefined, undefined, e);\n                    }\n                });\n                /*wrap(point, 'importEvents', function (proceed) { // wrapping importEvents makes point.click event work\n                \tif (!this.hasImportedEvents) {\n                \t\tproceed.call(this);\n                \t\tH.addEvent(this, 'click', function () {\n                \t\t\tthis.doDrilldown();\n                \t\t});\n                \t}\n                });*/\n\n            }\n\n            // Add or remove click handler and style on the tick label\n            if (tick) {\n                tick.drillable();\n            }\n\n            return point;\n        });\n\n        wrap(H.Series.prototype, 'drawDataLabels', function(proceed) {\n            var css = this.chart.options.drilldown.activeDataLabelStyle,\n                renderer = this.chart.renderer;\n\n            proceed.call(this);\n\n            each(this.points, function(point) {\n                var pointCSS = {};\n                if (point.drilldown && point.dataLabel) {\n                    if (css.color === 'contrast') {\n                        pointCSS.color = renderer.getContrast(point.color || this.color);\n                    }\n                    point.dataLabel\n                        .addClass('highcharts-drilldown-data-label');\n\n\n                    point.dataLabel\n                        .css(css)\n                        .css(pointCSS);\n\n                }\n            }, this);\n        });\n\n        // Mark the trackers with a pointer \n        var type,\n            drawTrackerWrapper = function(proceed) {\n                proceed.call(this);\n                each(this.points, function(point) {\n                    if (point.drilldown && point.graphic) {\n                        point.graphic.addClass('highcharts-drilldown-point');\n\n\n                        point.graphic.css({\n                            cursor: 'pointer'\n                        });\n\n                    }\n                });\n            };\n        for (type in seriesTypes) {\n            if (seriesTypes[type].prototype.supportsDrilldown) {\n                wrap(seriesTypes[type].prototype, 'drawTracker', drawTrackerWrapper);\n            }\n        }\n\n    }(Highcharts));\n}));\n","/**\n * @license Highcharts JS v5.0.10 (2017-03-31)\n * Data module\n *\n * (c) 2012-2017 Torstein Honsi\n *\n * License: www.highcharts.com/license\n */\n'use strict';\n(function(factory) {\n    if (typeof module === 'object' && module.exports) {\n        module.exports = factory;\n    } else {\n        factory(Highcharts);\n    }\n}(function(Highcharts) {\n    (function(Highcharts) {\n        /**\n         * Data module\n         *\n         * (c) 2012-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n\n        /* global jQuery */\n\n        // Utilities\n        var win = Highcharts.win,\n            doc = win.document,\n            each = Highcharts.each,\n            pick = Highcharts.pick,\n            inArray = Highcharts.inArray,\n            isNumber = Highcharts.isNumber,\n            splat = Highcharts.splat,\n            SeriesBuilder;\n\n\n        // The Data constructor\n        var Data = function(dataOptions, chartOptions) {\n            this.init(dataOptions, chartOptions);\n        };\n\n        // Set the prototype properties\n        Highcharts.extend(Data.prototype, {\n\n            /**\n             * Initialize the Data object with the given options\n             */\n            init: function(options, chartOptions) {\n                this.options = options;\n                this.chartOptions = chartOptions;\n                this.columns = options.columns || this.rowsToColumns(options.rows) || [];\n                this.firstRowAsNames = pick(options.firstRowAsNames, true);\n                this.decimalRegex = options.decimalPoint && new RegExp('^(-?[0-9]+)' + options.decimalPoint + '([0-9]+)$');\n\n                // This is a two-dimensional array holding the raw, trimmed string values\n                // with the same organisation as the columns array. It makes it possible\n                // for example to revert from interpreted timestamps to string-based\n                // categories.\n                this.rawColumns = [];\n\n                // No need to parse or interpret anything\n                if (this.columns.length) {\n                    this.dataFound();\n\n                    // Parse and interpret\n                } else {\n\n                    // Parse a CSV string if options.csv is given\n                    this.parseCSV();\n\n                    // Parse a HTML table if options.table is given\n                    this.parseTable();\n\n                    // Parse a Google Spreadsheet \n                    this.parseGoogleSpreadsheet();\n                }\n\n            },\n\n            /**\n             * Get the column distribution. For example, a line series takes a single column for \n             * Y values. A range series takes two columns for low and high values respectively,\n             * and an OHLC series takes four columns.\n             */\n            getColumnDistribution: function() {\n                var chartOptions = this.chartOptions,\n                    options = this.options,\n                    xColumns = [],\n                    getValueCount = function(type) {\n                        return (Highcharts.seriesTypes[type || 'line'].prototype.pointArrayMap || [0]).length;\n                    },\n                    getPointArrayMap = function(type) {\n                        return Highcharts.seriesTypes[type || 'line'].prototype.pointArrayMap;\n                    },\n                    globalType = chartOptions && chartOptions.chart && chartOptions.chart.type,\n                    individualCounts = [],\n                    seriesBuilders = [],\n                    seriesIndex = 0,\n                    i;\n\n                each((chartOptions && chartOptions.series) || [], function(series) {\n                    individualCounts.push(getValueCount(series.type || globalType));\n                });\n\n                // Collect the x-column indexes from seriesMapping\n                each((options && options.seriesMapping) || [], function(mapping) {\n                    xColumns.push(mapping.x || 0);\n                });\n\n                // If there are no defined series with x-columns, use the first column as x column\n                if (xColumns.length === 0) {\n                    xColumns.push(0);\n                }\n\n                // Loop all seriesMappings and constructs SeriesBuilders from\n                // the mapping options.\n                each((options && options.seriesMapping) || [], function(mapping) {\n                    var builder = new SeriesBuilder(),\n                        name,\n                        numberOfValueColumnsNeeded = individualCounts[seriesIndex] || getValueCount(globalType),\n                        seriesArr = (chartOptions && chartOptions.series) || [],\n                        series = seriesArr[seriesIndex] || {},\n                        pointArrayMap = getPointArrayMap(series.type || globalType) || ['y'];\n\n                    // Add an x reader from the x property or from an undefined column\n                    // if the property is not set. It will then be auto populated later.\n                    builder.addColumnReader(mapping.x, 'x');\n\n                    // Add all column mappings\n                    for (name in mapping) {\n                        if (mapping.hasOwnProperty(name) && name !== 'x') {\n                            builder.addColumnReader(mapping[name], name);\n                        }\n                    }\n\n                    // Add missing columns\n                    for (i = 0; i < numberOfValueColumnsNeeded; i++) {\n                        if (!builder.hasReader(pointArrayMap[i])) {\n                            //builder.addNextColumnReader(pointArrayMap[i]);\n                            // Create and add a column reader for the next free column index\n                            builder.addColumnReader(undefined, pointArrayMap[i]);\n                        }\n                    }\n\n                    seriesBuilders.push(builder);\n                    seriesIndex++;\n                });\n\n                var globalPointArrayMap = getPointArrayMap(globalType);\n                if (globalPointArrayMap === undefined) {\n                    globalPointArrayMap = ['y'];\n                }\n\n                this.valueCount = {\n                    global: getValueCount(globalType),\n                    xColumns: xColumns,\n                    individual: individualCounts,\n                    seriesBuilders: seriesBuilders,\n                    globalPointArrayMap: globalPointArrayMap\n                };\n            },\n\n            /**\n             * When the data is parsed into columns, either by CSV, table, GS or direct input,\n             * continue with other operations.\n             */\n            dataFound: function() {\n\n                if (this.options.switchRowsAndColumns) {\n                    this.columns = this.rowsToColumns(this.columns);\n                }\n\n                // Interpret the info about series and columns\n                this.getColumnDistribution();\n\n                // Interpret the values into right types\n                this.parseTypes();\n\n                // Handle columns if a handleColumns callback is given\n                if (this.parsed() !== false) {\n\n                    // Complete if a complete callback is given\n                    this.complete();\n                }\n\n            },\n\n            /**\n             * Parse a CSV input string\n             */\n            parseCSV: function() {\n                var self = this,\n                    options = this.options,\n                    csv = options.csv,\n                    columns = this.columns,\n                    startRow = options.startRow || 0,\n                    endRow = options.endRow || Number.MAX_VALUE,\n                    startColumn = options.startColumn || 0,\n                    endColumn = options.endColumn || Number.MAX_VALUE,\n                    itemDelimiter,\n                    lines,\n                    activeRowNo = 0;\n\n                if (csv) {\n\n                    lines = csv\n                        .replace(/\\r\\n/g, '\\n') // Unix\n                        .replace(/\\r/g, '\\n') // Mac\n                        .split(options.lineDelimiter || '\\n');\n\n                    itemDelimiter = options.itemDelimiter || (csv.indexOf('\\t') !== -1 ? '\\t' : ',');\n\n                    each(lines, function(line, rowNo) {\n                        var trimmed = self.trim(line),\n                            isComment = trimmed.indexOf('#') === 0,\n                            isBlank = trimmed === '',\n                            items;\n\n                        if (rowNo >= startRow && rowNo <= endRow && !isComment && !isBlank) {\n                            items = line.split(itemDelimiter);\n                            each(items, function(item, colNo) {\n                                if (colNo >= startColumn && colNo <= endColumn) {\n                                    if (!columns[colNo - startColumn]) {\n                                        columns[colNo - startColumn] = [];\n                                    }\n\n                                    columns[colNo - startColumn][activeRowNo] = item;\n                                }\n                            });\n                            activeRowNo += 1;\n                        }\n                    });\n\n                    this.dataFound();\n                }\n            },\n\n            /**\n             * Parse a HTML table\n             */\n            parseTable: function() {\n                var options = this.options,\n                    table = options.table,\n                    columns = this.columns,\n                    startRow = options.startRow || 0,\n                    endRow = options.endRow || Number.MAX_VALUE,\n                    startColumn = options.startColumn || 0,\n                    endColumn = options.endColumn || Number.MAX_VALUE;\n\n                if (table) {\n\n                    if (typeof table === 'string') {\n                        table = doc.getElementById(table);\n                    }\n\n                    each(table.getElementsByTagName('tr'), function(tr, rowNo) {\n                        if (rowNo >= startRow && rowNo <= endRow) {\n                            each(tr.children, function(item, colNo) {\n                                if ((item.tagName === 'TD' || item.tagName === 'TH') && colNo >= startColumn && colNo <= endColumn) {\n                                    if (!columns[colNo - startColumn]) {\n                                        columns[colNo - startColumn] = [];\n                                    }\n\n                                    columns[colNo - startColumn][rowNo - startRow] = item.innerHTML;\n                                }\n                            });\n                        }\n                    });\n\n                    this.dataFound(); // continue\n                }\n            },\n\n            /**\n             */\n            parseGoogleSpreadsheet: function() {\n                var self = this,\n                    options = this.options,\n                    googleSpreadsheetKey = options.googleSpreadsheetKey,\n                    columns = this.columns,\n                    startRow = options.startRow || 0,\n                    endRow = options.endRow || Number.MAX_VALUE,\n                    startColumn = options.startColumn || 0,\n                    endColumn = options.endColumn || Number.MAX_VALUE,\n                    gr, // google row\n                    gc; // google column\n\n                if (googleSpreadsheetKey) {\n                    jQuery.ajax({\n                        dataType: 'json',\n                        url: 'https://spreadsheets.google.com/feeds/cells/' +\n                            googleSpreadsheetKey + '/' + (options.googleSpreadsheetWorksheet || 'od6') +\n                            '/public/values?alt=json-in-script&callback=?',\n                        error: options.error,\n                        success: function(json) {\n                            // Prepare the data from the spreadsheat\n                            var cells = json.feed.entry,\n                                cell,\n                                cellCount = cells.length,\n                                colCount = 0,\n                                rowCount = 0,\n                                i;\n\n                            // First, find the total number of columns and rows that \n                            // are actually filled with data\n                            for (i = 0; i < cellCount; i++) {\n                                cell = cells[i];\n                                colCount = Math.max(colCount, cell.gs$cell.col);\n                                rowCount = Math.max(rowCount, cell.gs$cell.row);\n                            }\n\n                            // Set up arrays containing the column data\n                            for (i = 0; i < colCount; i++) {\n                                if (i >= startColumn && i <= endColumn) {\n                                    // Create new columns with the length of either end-start or rowCount\n                                    columns[i - startColumn] = [];\n\n                                    // Setting the length to avoid jslint warning\n                                    columns[i - startColumn].length = Math.min(rowCount, endRow - startRow);\n                                }\n                            }\n\n                            // Loop over the cells and assign the value to the right\n                            // place in the column arrays\n                            for (i = 0; i < cellCount; i++) {\n                                cell = cells[i];\n                                gr = cell.gs$cell.row - 1; // rows start at 1\n                                gc = cell.gs$cell.col - 1; // columns start at 1\n\n                                // If both row and col falls inside start and end\n                                // set the transposed cell value in the newly created columns\n                                if (gc >= startColumn && gc <= endColumn &&\n                                    gr >= startRow && gr <= endRow) {\n                                    columns[gc - startColumn][gr - startRow] = cell.content.$t;\n                                }\n                            }\n\n                            // Insert null for empty spreadsheet cells (#5298)\n                            each(columns, function(column) {\n                                for (i = 0; i < column.length; i++) {\n                                    if (column[i] === undefined) {\n                                        column[i] = null;\n                                    }\n                                }\n                            });\n\n                            self.dataFound();\n                        }\n                    });\n                }\n            },\n\n            /**\n             * Trim a string from whitespace\n             */\n            trim: function(str, inside) {\n                if (typeof str === 'string') {\n                    str = str.replace(/^\\s+|\\s+$/g, '');\n\n                    // Clear white space insdie the string, like thousands separators\n                    if (inside && /^[0-9\\s]+$/.test(str)) {\n                        str = str.replace(/\\s/g, '');\n                    }\n\n                    if (this.decimalRegex) {\n                        str = str.replace(this.decimalRegex, '$1.$2');\n                    }\n                }\n                return str;\n            },\n\n            /**\n             * Parse numeric cells in to number types and date types in to true dates.\n             */\n            parseTypes: function() {\n                var columns = this.columns,\n                    col = columns.length;\n\n                while (col--) {\n                    this.parseColumn(columns[col], col);\n                }\n\n            },\n\n            /**\n             * Parse a single column. Set properties like .isDatetime and .isNumeric.\n             */\n            parseColumn: function(column, col) {\n                var rawColumns = this.rawColumns,\n                    columns = this.columns,\n                    row = column.length,\n                    val,\n                    floatVal,\n                    trimVal,\n                    trimInsideVal,\n                    firstRowAsNames = this.firstRowAsNames,\n                    isXColumn = inArray(col, this.valueCount.xColumns) !== -1,\n                    dateVal,\n                    backup = [],\n                    diff,\n                    chartOptions = this.chartOptions,\n                    descending,\n                    columnTypes = this.options.columnTypes || [],\n                    columnType = columnTypes[col],\n                    forceCategory = isXColumn && ((chartOptions && chartOptions.xAxis && splat(chartOptions.xAxis)[0].type === 'category') || columnType === 'string');\n\n                if (!rawColumns[col]) {\n                    rawColumns[col] = [];\n                }\n                while (row--) {\n                    val = backup[row] || column[row];\n\n                    trimVal = this.trim(val);\n                    trimInsideVal = this.trim(val, true);\n                    floatVal = parseFloat(trimInsideVal);\n\n                    // Set it the first time\n                    if (rawColumns[col][row] === undefined) {\n                        rawColumns[col][row] = trimVal;\n                    }\n\n                    // Disable number or date parsing by setting the X axis type to category\n                    if (forceCategory || (row === 0 && firstRowAsNames)) {\n                        column[row] = trimVal;\n\n                    } else if (+trimInsideVal === floatVal) { // is numeric\n\n                        column[row] = floatVal;\n\n                        // If the number is greater than milliseconds in a year, assume datetime\n                        if (floatVal > 365 * 24 * 3600 * 1000 && columnType !== 'float') {\n                            column.isDatetime = true;\n                        } else {\n                            column.isNumeric = true;\n                        }\n\n                        if (column[row + 1] !== undefined) {\n                            descending = floatVal > column[row + 1];\n                        }\n\n                        // String, continue to determine if it is a date string or really a string\n                    } else {\n                        dateVal = this.parseDate(val);\n                        // Only allow parsing of dates if this column is an x-column\n                        if (isXColumn && isNumber(dateVal) && columnType !== 'float') { // is date\n                            backup[row] = val;\n                            column[row] = dateVal;\n                            column.isDatetime = true;\n\n                            // Check if the dates are uniformly descending or ascending. If they \n                            // are not, chances are that they are a different time format, so check\n                            // for alternative.\n                            if (column[row + 1] !== undefined) {\n                                diff = dateVal > column[row + 1];\n                                if (diff !== descending && descending !== undefined) {\n                                    if (this.alternativeFormat) {\n                                        this.dateFormat = this.alternativeFormat;\n                                        row = column.length;\n                                        this.alternativeFormat = this.dateFormats[this.dateFormat].alternative;\n                                    } else {\n                                        column.unsorted = true;\n                                    }\n                                }\n                                descending = diff;\n                            }\n\n                        } else { // string\n                            column[row] = trimVal === '' ? null : trimVal;\n                            if (row !== 0 && (column.isDatetime || column.isNumeric)) {\n                                column.mixed = true;\n                            }\n                        }\n                    }\n                }\n\n                // If strings are intermixed with numbers or dates in a parsed column, it is an indication\n                // that parsing went wrong or the data was not intended to display as numbers or dates and \n                // parsing is too aggressive. Fall back to categories. Demonstrated in the \n                // highcharts/demo/column-drilldown sample.\n                if (isXColumn && column.mixed) {\n                    columns[col] = rawColumns[col];\n                }\n\n                // If the 0 column is date or number and descending, reverse all columns. \n                if (isXColumn && descending && this.options.sort) {\n                    for (col = 0; col < columns.length; col++) {\n                        columns[col].reverse();\n                        if (firstRowAsNames) {\n                            columns[col].unshift(columns[col].pop());\n                        }\n                    }\n                }\n            },\n\n            /**\n             * A collection of available date formats, extendable from the outside to support\n             * custom date formats.\n             */\n            dateFormats: {\n                'YYYY-mm-dd': {\n                    regex: /^([0-9]{4})[\\-\\/\\.]([0-9]{2})[\\-\\/\\.]([0-9]{2})$/,\n                    parser: function(match) {\n                        return Date.UTC(+match[1], match[2] - 1, +match[3]);\n                    }\n                },\n                'dd/mm/YYYY': {\n                    regex: /^([0-9]{1,2})[\\-\\/\\.]([0-9]{1,2})[\\-\\/\\.]([0-9]{4})$/,\n                    parser: function(match) {\n                        return Date.UTC(+match[3], match[2] - 1, +match[1]);\n                    },\n                    alternative: 'mm/dd/YYYY' // different format with the same regex\n                },\n                'mm/dd/YYYY': {\n                    regex: /^([0-9]{1,2})[\\-\\/\\.]([0-9]{1,2})[\\-\\/\\.]([0-9]{4})$/,\n                    parser: function(match) {\n                        return Date.UTC(+match[3], match[1] - 1, +match[2]);\n                    }\n                },\n                'dd/mm/YY': {\n                    regex: /^([0-9]{1,2})[\\-\\/\\.]([0-9]{1,2})[\\-\\/\\.]([0-9]{2})$/,\n                    parser: function(match) {\n                        return Date.UTC(+match[3] + 2000, match[2] - 1, +match[1]);\n                    },\n                    alternative: 'mm/dd/YY' // different format with the same regex\n                },\n                'mm/dd/YY': {\n                    regex: /^([0-9]{1,2})[\\-\\/\\.]([0-9]{1,2})[\\-\\/\\.]([0-9]{2})$/,\n                    parser: function(match) {\n                        return Date.UTC(+match[3] + 2000, match[1] - 1, +match[2]);\n                    }\n                }\n            },\n\n            /**\n             * Parse a date and return it as a number. Overridable through options.parseDate.\n             */\n            parseDate: function(val) {\n                var parseDate = this.options.parseDate,\n                    ret,\n                    key,\n                    format,\n                    dateFormat = this.options.dateFormat || this.dateFormat,\n                    match;\n\n                if (parseDate) {\n                    ret = parseDate(val);\n\n                } else if (typeof val === 'string') {\n                    // Auto-detect the date format the first time\n                    if (!dateFormat) {\n                        for (key in this.dateFormats) {\n                            format = this.dateFormats[key];\n                            match = val.match(format.regex);\n                            if (match) {\n                                this.dateFormat = dateFormat = key;\n                                this.alternativeFormat = format.alternative;\n                                ret = format.parser(match);\n                                break;\n                            }\n                        }\n                        // Next time, use the one previously found\n                    } else {\n                        format = this.dateFormats[dateFormat];\n                        match = val.match(format.regex);\n                        if (match) {\n                            ret = format.parser(match);\n                        }\n                    }\n                    // Fall back to Date.parse\t\t\n                    if (!match) {\n                        match = Date.parse(val);\n                        // External tools like Date.js and MooTools extend Date object and\n                        // returns a date.\n                        if (typeof match === 'object' && match !== null && match.getTime) {\n                            ret = match.getTime() - match.getTimezoneOffset() * 60000;\n\n                            // Timestamp\n                        } else if (isNumber(match)) {\n                            ret = match - (new Date(match)).getTimezoneOffset() * 60000;\n                        }\n                    }\n                }\n                return ret;\n            },\n\n            /**\n             * Reorganize rows into columns\n             */\n            rowsToColumns: function(rows) {\n                var row,\n                    rowsLength,\n                    col,\n                    colsLength,\n                    columns;\n\n                if (rows) {\n                    columns = [];\n                    rowsLength = rows.length;\n                    for (row = 0; row < rowsLength; row++) {\n                        colsLength = rows[row].length;\n                        for (col = 0; col < colsLength; col++) {\n                            if (!columns[col]) {\n                                columns[col] = [];\n                            }\n                            columns[col][row] = rows[row][col];\n                        }\n                    }\n                }\n                return columns;\n            },\n\n            /**\n             * A hook for working directly on the parsed columns\n             */\n            parsed: function() {\n                if (this.options.parsed) {\n                    return this.options.parsed.call(this, this.columns);\n                }\n            },\n\n            getFreeIndexes: function(numberOfColumns, seriesBuilders) {\n                var s,\n                    i,\n                    freeIndexes = [],\n                    freeIndexValues = [],\n                    referencedIndexes;\n\n                // Add all columns as free\n                for (i = 0; i < numberOfColumns; i = i + 1) {\n                    freeIndexes.push(true);\n                }\n\n                // Loop all defined builders and remove their referenced columns\n                for (s = 0; s < seriesBuilders.length; s = s + 1) {\n                    referencedIndexes = seriesBuilders[s].getReferencedColumnIndexes();\n\n                    for (i = 0; i < referencedIndexes.length; i = i + 1) {\n                        freeIndexes[referencedIndexes[i]] = false;\n                    }\n                }\n\n                // Collect the values for the free indexes\n                for (i = 0; i < freeIndexes.length; i = i + 1) {\n                    if (freeIndexes[i]) {\n                        freeIndexValues.push(i);\n                    }\n                }\n\n                return freeIndexValues;\n            },\n\n            /**\n             * If a complete callback function is provided in the options, interpret the \n             * columns into a Highcharts options object.\n             */\n            complete: function() {\n\n                var columns = this.columns,\n                    xColumns = [],\n                    type,\n                    options = this.options,\n                    series,\n                    data,\n                    i,\n                    j,\n                    r,\n                    seriesIndex,\n                    chartOptions,\n                    allSeriesBuilders = [],\n                    builder,\n                    freeIndexes,\n                    typeCol,\n                    index;\n\n                xColumns.length = columns.length;\n                if (options.complete || options.afterComplete) {\n\n                    // Get the names and shift the top row\n                    for (i = 0; i < columns.length; i++) {\n                        if (this.firstRowAsNames) {\n                            columns[i].name = columns[i].shift();\n                        }\n                    }\n\n                    // Use the next columns for series\n                    series = [];\n                    freeIndexes = this.getFreeIndexes(columns.length, this.valueCount.seriesBuilders);\n\n                    // Populate defined series\n                    for (seriesIndex = 0; seriesIndex < this.valueCount.seriesBuilders.length; seriesIndex++) {\n                        builder = this.valueCount.seriesBuilders[seriesIndex];\n\n                        // If the builder can be populated with remaining columns, then add it to allBuilders\n                        if (builder.populateColumns(freeIndexes)) {\n                            allSeriesBuilders.push(builder);\n                        }\n                    }\n\n                    // Populate dynamic series\n                    while (freeIndexes.length > 0) {\n                        builder = new SeriesBuilder();\n                        builder.addColumnReader(0, 'x');\n\n                        // Mark index as used (not free)\n                        index = inArray(0, freeIndexes);\n                        if (index !== -1) {\n                            freeIndexes.splice(index, 1);\n                        }\n\n                        for (i = 0; i < this.valueCount.global; i++) {\n                            // Create and add a column reader for the next free column index\n                            builder.addColumnReader(undefined, this.valueCount.globalPointArrayMap[i]);\n                        }\n\n                        // If the builder can be populated with remaining columns, then add it to allBuilders\n                        if (builder.populateColumns(freeIndexes)) {\n                            allSeriesBuilders.push(builder);\n                        }\n                    }\n\n                    // Get the data-type from the first series x column\n                    if (allSeriesBuilders.length > 0 && allSeriesBuilders[0].readers.length > 0) {\n                        typeCol = columns[allSeriesBuilders[0].readers[0].columnIndex];\n                        if (typeCol !== undefined) {\n                            if (typeCol.isDatetime) {\n                                type = 'datetime';\n                            } else if (!typeCol.isNumeric) {\n                                type = 'category';\n                            }\n                        }\n                    }\n                    // Axis type is category, then the \"x\" column should be called \"name\"\n                    if (type === 'category') {\n                        for (seriesIndex = 0; seriesIndex < allSeriesBuilders.length; seriesIndex++) {\n                            builder = allSeriesBuilders[seriesIndex];\n                            for (r = 0; r < builder.readers.length; r++) {\n                                if (builder.readers[r].configName === 'x') {\n                                    builder.readers[r].configName = 'name';\n                                }\n                            }\n                        }\n                    }\n\n                    // Read data for all builders\n                    for (seriesIndex = 0; seriesIndex < allSeriesBuilders.length; seriesIndex++) {\n                        builder = allSeriesBuilders[seriesIndex];\n\n                        // Iterate down the cells of each column and add data to the series\n                        data = [];\n                        for (j = 0; j < columns[0].length; j++) {\n                            data[j] = builder.read(columns, j);\n                        }\n\n                        // Add the series\n                        series[seriesIndex] = {\n                            data: data\n                        };\n                        if (builder.name) {\n                            series[seriesIndex].name = builder.name;\n                        }\n                        if (type === 'category') {\n                            series[seriesIndex].turboThreshold = 0;\n                        }\n                    }\n\n\n\n                    // Do the callback\n                    chartOptions = {\n                        series: series\n                    };\n                    if (type) {\n                        chartOptions.xAxis = {\n                            type: type\n                        };\n                        if (type === 'category') {\n                            chartOptions.xAxis.uniqueNames = false;\n                        }\n                    }\n\n                    if (options.complete) {\n                        options.complete(chartOptions);\n                    }\n\n                    // The afterComplete hook is used internally to avoid conflict with the externally\n                    // available complete option.\n                    if (options.afterComplete) {\n                        options.afterComplete(chartOptions);\n                    }\n                }\n            }\n        });\n\n        // Register the Data prototype and data function on Highcharts\n        Highcharts.Data = Data;\n        Highcharts.data = function(options, chartOptions) {\n            return new Data(options, chartOptions);\n        };\n\n        // Extend Chart.init so that the Chart constructor accepts a new configuration\n        // option group, data.\n        Highcharts.wrap(Highcharts.Chart.prototype, 'init', function(proceed, userOptions, callback) {\n            var chart = this;\n\n            if (userOptions && userOptions.data) {\n                Highcharts.data(Highcharts.extend(userOptions.data, {\n\n                    afterComplete: function(dataOptions) {\n                        var i, series;\n\n                        // Merge series configs\n                        if (userOptions.hasOwnProperty('series')) {\n                            if (typeof userOptions.series === 'object') {\n                                i = Math.max(userOptions.series.length, dataOptions.series.length);\n                                while (i--) {\n                                    series = userOptions.series[i] || {};\n                                    userOptions.series[i] = Highcharts.merge(series, dataOptions.series[i]);\n                                }\n                            } else { // Allow merging in dataOptions.series (#2856)\n                                delete userOptions.series;\n                            }\n                        }\n\n                        // Do the merge\n                        userOptions = Highcharts.merge(dataOptions, userOptions);\n\n                        proceed.call(chart, userOptions, callback);\n                    }\n                }), userOptions);\n            } else {\n                proceed.call(chart, userOptions, callback);\n            }\n        });\n\n        /**\n         * Creates a new SeriesBuilder. A SeriesBuilder consists of a number\n         * of ColumnReaders that reads columns and give them a name.\n         * Ex: A series builder can be constructed to read column 3 as 'x' and\n         * column 7 and 8 as 'y1' and 'y2'.\n         * The output would then be points/rows of the form {x: 11, y1: 22, y2: 33}\n         * \n         * The name of the builder is taken from the second column. In the above\n         * example it would be the column with index 7.\n         * @constructor\n         */\n        SeriesBuilder = function() {\n            this.readers = [];\n            this.pointIsArray = true;\n        };\n\n        /**\n         * Populates readers with column indexes. A reader can be added without\n         * a specific index and for those readers the index is taken sequentially\n         * from the free columns (this is handled by the ColumnCursor instance).\n         * @returns {boolean}\n         */\n        SeriesBuilder.prototype.populateColumns = function(freeIndexes) {\n            var builder = this,\n                enoughColumns = true;\n\n            // Loop each reader and give it an index if its missing.\n            // The freeIndexes.shift() will return undefined if there\n            // are no more columns.\n            each(builder.readers, function(reader) {\n                if (reader.columnIndex === undefined) {\n                    reader.columnIndex = freeIndexes.shift();\n                }\n            });\n\n            // Now, all readers should have columns mapped. If not\n            // then return false to signal that this series should\n            // not be added.\n            each(builder.readers, function(reader) {\n                if (reader.columnIndex === undefined) {\n                    enoughColumns = false;\n                }\n            });\n\n            return enoughColumns;\n        };\n\n        /**\n         * Reads a row from the dataset and returns a point or array depending\n         * on the names of the readers.\n         * @param columns\n         * @param rowIndex\n         * @returns {Array | Object}\n         */\n        SeriesBuilder.prototype.read = function(columns, rowIndex) {\n            var builder = this,\n                pointIsArray = builder.pointIsArray,\n                point = pointIsArray ? [] : {},\n                columnIndexes;\n\n            // Loop each reader and ask it to read its value.\n            // Then, build an array or point based on the readers names.\n            each(builder.readers, function(reader) {\n                var value = columns[reader.columnIndex][rowIndex];\n                if (pointIsArray) {\n                    point.push(value);\n                } else {\n                    point[reader.configName] = value;\n                }\n            });\n\n            // The name comes from the first column (excluding the x column)\n            if (this.name === undefined && builder.readers.length >= 2) {\n                columnIndexes = builder.getReferencedColumnIndexes();\n                if (columnIndexes.length >= 2) {\n                    // remove the first one (x col)\n                    columnIndexes.shift();\n\n                    // Sort the remaining\n                    columnIndexes.sort();\n\n                    // Now use the lowest index as name column\n                    this.name = columns[columnIndexes.shift()].name;\n                }\n            }\n\n            return point;\n        };\n\n        /**\n         * Creates and adds ColumnReader from the given columnIndex and configName.\n         * ColumnIndex can be undefined and in that case the reader will be given\n         * an index when columns are populated.\n         * @param columnIndex {Number | undefined}\n         * @param configName\n         */\n        SeriesBuilder.prototype.addColumnReader = function(columnIndex, configName) {\n            this.readers.push({\n                columnIndex: columnIndex,\n                configName: configName\n            });\n\n            if (!(configName === 'x' || configName === 'y' || configName === undefined)) {\n                this.pointIsArray = false;\n            }\n        };\n\n        /**\n         * Returns an array of column indexes that the builder will use when\n         * reading data.\n         * @returns {Array}\n         */\n        SeriesBuilder.prototype.getReferencedColumnIndexes = function() {\n            var i,\n                referencedColumnIndexes = [],\n                columnReader;\n\n            for (i = 0; i < this.readers.length; i = i + 1) {\n                columnReader = this.readers[i];\n                if (columnReader.columnIndex !== undefined) {\n                    referencedColumnIndexes.push(columnReader.columnIndex);\n                }\n            }\n\n            return referencedColumnIndexes;\n        };\n\n        /**\n         * Returns true if the builder has a reader for the given configName.\n         * @param configName\n         * @returns {boolean}\n         */\n        SeriesBuilder.prototype.hasReader = function(configName) {\n            var i, columnReader;\n            for (i = 0; i < this.readers.length; i = i + 1) {\n                columnReader = this.readers[i];\n                if (columnReader.configName === configName) {\n                    return true;\n                }\n            }\n            // Else return undefined\n        };\n\n    }(Highcharts));\n}));\n","/* globals Ember, Proxy, define */\n(function() {\n  'use strict';\n\n  var HAS_NATIVE_PROXY = typeof Proxy === 'function';\n\n  var SAFE_LOOKUP_FACTORY_METHOD = '_lookupFactory';\n  function factoryFor(fullName, options) {\n    var factory = this[SAFE_LOOKUP_FACTORY_METHOD](fullName, options);\n\n    if (!factory) {\n      return;\n    }\n\n    var FactoryManager = {\n      class: factory,\n      create: function() {\n        return this.class.create.apply(this.class, arguments);\n      }\n    };\n\n    Ember.runInDebug(function() {\n      if (HAS_NATIVE_PROXY) {\n        var validator = {\n          get: function(obj, prop) {\n            if (prop !== 'class' && prop !== 'create') {\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 = FactoryManager;\n        var proxiedManager = {\n          class: m.class,\n          create: function(props) {\n            return m.create(props);\n          }\n        };\n\n        FactoryManager = new Proxy(proxiedManager, validator);\n      }\n    });\n\n    return FactoryManager;\n  }\n\n  if (typeof define === 'function') {\n    define('ember-factory-for-polyfill/vendor/ember-factory-for-polyfill/index', ['exports'], function(exports) {\n      exports._factoryFor = factoryFor;\n\n      exports._updateSafeLookupFactoryMethod = function(methodName) {\n        SAFE_LOOKUP_FACTORY_METHOD = methodName;\n      };\n\n      return exports;\n    });\n  }\n\n  var FactoryForMixin = Ember.Mixin.create({\n    factoryFor: factoryFor\n  });\n\n  // added in Ember 2.8\n  if (Ember.ApplicationInstance) {\n    // augment the main application's \"owner\"\n    Ember.ApplicationInstance.reopen(FactoryForMixin);\n  } else {\n    // in Ember < 2.8 the Ember.ApplicationInstance is not\n    // exposed globally, so we have to monkey patch the\n    // `Ember.Application#buildInstance` method to ensure\n    // that the built instance has a `factoryFor` method\n    // this gives us support for Ember 2.3 - 2.7\n    Ember.Application.reopen({\n      buildInstance: function(_options) {\n        var options = _options || {};\n        options.factoryFor = factoryFor;\n\n        var instance = this._super(options);\n\n        return instance;\n      }\n    });\n  }\n\n  // added in Ember 2.3\n  if (Ember._ContainerProxyMixin) {\n    // supports ember-test-helpers's build-registry (and other tooling that use\n    // Ember._ContainerProxyMixin to emulate an \"owner\")\n    var ContainerProxyMixinWithFactoryFor = Ember.Mixin.create(Ember._ContainerProxyMixin, FactoryForMixin);\n    Ember._ContainerProxyMixin = ContainerProxyMixinWithFactoryFor;\n  }\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","/* globals Ember, Proxy, define */\n(function() {\n  'use strict';\n\n  var HAS_NATIVE_PROXY = typeof Proxy === 'function';\n\n  var SAFE_LOOKUP_FACTORY_METHOD = '_lookupFactory';\n  function factoryFor(fullName, options) {\n    var factory = this[SAFE_LOOKUP_FACTORY_METHOD](fullName, options);\n\n    if (!factory) {\n      return;\n    }\n\n    var FactoryManager = {\n      class: factory,\n      create: function() {\n        return this.class.create.apply(this.class, arguments);\n      }\n    };\n\n    Ember.runInDebug(function() {\n      if (HAS_NATIVE_PROXY) {\n        var validator = {\n          get: function(obj, prop) {\n            if (prop !== 'class' && prop !== 'create') {\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 = FactoryManager;\n        var proxiedManager = {\n          class: m.class,\n          create: function(props) {\n            return m.create(props);\n          }\n        };\n\n        FactoryManager = new Proxy(proxiedManager, validator);\n      }\n    });\n\n    return FactoryManager;\n  }\n\n  if (typeof define === 'function') {\n    define('ember-factory-for-polyfill/vendor/ember-factory-for-polyfill/index', ['exports'], function(exports) {\n      exports._factoryFor = factoryFor;\n\n      exports._updateSafeLookupFactoryMethod = function(methodName) {\n        SAFE_LOOKUP_FACTORY_METHOD = methodName;\n      };\n\n      return exports;\n    });\n  }\n\n  var FactoryForMixin = Ember.Mixin.create({\n    factoryFor: factoryFor\n  });\n\n  // added in Ember 2.8\n  if (Ember.ApplicationInstance) {\n    // augment the main application's \"owner\"\n    Ember.ApplicationInstance.reopen(FactoryForMixin);\n  } else {\n    // in Ember < 2.8 the Ember.ApplicationInstance is not\n    // exposed globally, so we have to monkey patch the\n    // `Ember.Application#buildInstance` method to ensure\n    // that the built instance has a `factoryFor` method\n    // this gives us support for Ember 2.3 - 2.7\n    Ember.Application.reopen({\n      buildInstance: function(_options) {\n        var options = _options || {};\n        options.factoryFor = factoryFor;\n\n        var instance = this._super(options);\n\n        return instance;\n      }\n    });\n  }\n\n  // added in Ember 2.3\n  if (Ember._ContainerProxyMixin) {\n    // supports ember-test-helpers's build-registry (and other tooling that use\n    // Ember._ContainerProxyMixin to emulate an \"owner\")\n    var ContainerProxyMixinWithFactoryFor = Ember.Mixin.create(Ember._ContainerProxyMixin, FactoryForMixin);\n    Ember._ContainerProxyMixin = ContainerProxyMixinWithFactoryFor;\n  }\n})();\n","/* globals Ember, Proxy, define */\n(function() {\n  'use strict';\n\n  var HAS_NATIVE_PROXY = typeof Proxy === 'function';\n\n  var SAFE_LOOKUP_FACTORY_METHOD = '_lookupFactory';\n  function factoryFor(fullName, options) {\n    var factory = this[SAFE_LOOKUP_FACTORY_METHOD](fullName, options);\n\n    if (!factory) {\n      return;\n    }\n\n    var FactoryManager = {\n      class: factory,\n      create: function() {\n        return this.class.create.apply(this.class, arguments);\n      }\n    };\n\n    Ember.runInDebug(function() {\n      if (HAS_NATIVE_PROXY) {\n        var validator = {\n          get: function(obj, prop) {\n            if (prop !== 'class' && prop !== 'create') {\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 = FactoryManager;\n        var proxiedManager = {\n          class: m.class,\n          create: function(props) {\n            return m.create(props);\n          }\n        };\n\n        FactoryManager = new Proxy(proxiedManager, validator);\n      }\n    });\n\n    return FactoryManager;\n  }\n\n  if (typeof define === 'function') {\n    define('ember-factory-for-polyfill/vendor/ember-factory-for-polyfill/index', ['exports'], function(exports) {\n      exports._factoryFor = factoryFor;\n\n      exports._updateSafeLookupFactoryMethod = function(methodName) {\n        SAFE_LOOKUP_FACTORY_METHOD = methodName;\n      };\n\n      return exports;\n    });\n  }\n\n  var FactoryForMixin = Ember.Mixin.create({\n    factoryFor: factoryFor\n  });\n\n  // added in Ember 2.8\n  if (Ember.ApplicationInstance) {\n    // augment the main application's \"owner\"\n    Ember.ApplicationInstance.reopen(FactoryForMixin);\n  } else {\n    // in Ember < 2.8 the Ember.ApplicationInstance is not\n    // exposed globally, so we have to monkey patch the\n    // `Ember.Application#buildInstance` method to ensure\n    // that the built instance has a `factoryFor` method\n    // this gives us support for Ember 2.3 - 2.7\n    Ember.Application.reopen({\n      buildInstance: function(_options) {\n        var options = _options || {};\n        options.factoryFor = factoryFor;\n\n        var instance = this._super(options);\n\n        return instance;\n      }\n    });\n  }\n\n  // added in Ember 2.3\n  if (Ember._ContainerProxyMixin) {\n    // supports ember-test-helpers's build-registry (and other tooling that use\n    // Ember._ContainerProxyMixin to emulate an \"owner\")\n    var ContainerProxyMixinWithFactoryFor = Ember.Mixin.create(Ember._ContainerProxyMixin, FactoryForMixin);\n    Ember._ContainerProxyMixin = ContainerProxyMixinWithFactoryFor;\n  }\n})();\n","/* globals Ember, Proxy, define */\n(function() {\n  'use strict';\n\n  var HAS_NATIVE_PROXY = typeof Proxy === 'function';\n\n  var SAFE_LOOKUP_FACTORY_METHOD = '_lookupFactory';\n  function factoryFor(fullName, options) {\n    var factory = this[SAFE_LOOKUP_FACTORY_METHOD](fullName, options);\n\n    if (!factory) {\n      return;\n    }\n\n    var FactoryManager = {\n      class: factory,\n      create: function() {\n        return this.class.create.apply(this.class, arguments);\n      }\n    };\n\n    Ember.runInDebug(function() {\n      if (HAS_NATIVE_PROXY) {\n        var validator = {\n          get: function(obj, prop) {\n            if (prop !== 'class' && prop !== 'create') {\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 = FactoryManager;\n        var proxiedManager = {\n          class: m.class,\n          create: function(props) {\n            return m.create(props);\n          }\n        };\n\n        FactoryManager = new Proxy(proxiedManager, validator);\n      }\n    });\n\n    return FactoryManager;\n  }\n\n  if (typeof define === 'function') {\n    define('ember-factory-for-polyfill/vendor/ember-factory-for-polyfill/index', ['exports'], function(exports) {\n      exports._factoryFor = factoryFor;\n\n      exports._updateSafeLookupFactoryMethod = function(methodName) {\n        SAFE_LOOKUP_FACTORY_METHOD = methodName;\n      };\n\n      return exports;\n    });\n  }\n\n  var FactoryForMixin = Ember.Mixin.create({\n    factoryFor: factoryFor\n  });\n\n  // added in Ember 2.8\n  if (Ember.ApplicationInstance) {\n    // augment the main application's \"owner\"\n    Ember.ApplicationInstance.reopen(FactoryForMixin);\n  } else {\n    // in Ember < 2.8 the Ember.ApplicationInstance is not\n    // exposed globally, so we have to monkey patch the\n    // `Ember.Application#buildInstance` method to ensure\n    // that the built instance has a `factoryFor` method\n    // this gives us support for Ember 2.3 - 2.7\n    Ember.Application.reopen({\n      buildInstance: function(_options) {\n        var options = _options || {};\n        options.factoryFor = factoryFor;\n\n        var instance = this._super(options);\n\n        return instance;\n      }\n    });\n  }\n\n  // added in Ember 2.3\n  if (Ember._ContainerProxyMixin) {\n    // supports ember-test-helpers's build-registry (and other tooling that use\n    // Ember._ContainerProxyMixin to emulate an \"owner\")\n    var ContainerProxyMixinWithFactoryFor = Ember.Mixin.create(Ember._ContainerProxyMixin, FactoryForMixin);\n    Ember._ContainerProxyMixin = ContainerProxyMixinWithFactoryFor;\n  }\n})();\n","(function (global) {\n  define('ember-network/fetch', [ 'ember', 'exports' ], function(Ember, self) {\n    'use strict';\n\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  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  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\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 list = this.map[name]\n    if (!list) {\n      list = []\n      this.map[name] = list\n    }\n    list.push(value)\n  }\n\n  Headers.prototype['delete'] = function(name) {\n    delete this.map[normalizeName(name)]\n  }\n\n  Headers.prototype.get = function(name) {\n    var values = this.map[normalizeName(name)]\n    return values ? values[0] : null\n  }\n\n  Headers.prototype.getAll = function(name) {\n    return this.map[normalizeName(name)] || []\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    Object.getOwnPropertyNames(this.map).forEach(function(name) {\n      this.map[name].forEach(function(value) {\n        callback.call(thisArg, value, name, this)\n      }, this)\n    }, this)\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    reader.readAsArrayBuffer(blob)\n    return fileReaderReady(reader)\n  }\n\n  function readBlobAsText(blob) {\n    var reader = new FileReader()\n    reader.readAsText(blob)\n    return fileReaderReady(reader)\n  }\n\n  var support = {\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  function Body() {\n    this.bodyUsed = false\n\n\n    this._initBody = function(body) {\n      this._bodyInit = body\n      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 (!body) {\n        this._bodyText = ''\n      } else if (support.arrayBuffer && ArrayBuffer.prototype.isPrototypeOf(body)) {\n        // Only support ArrayBuffers for POST method.\n        // Receiving ArrayBuffers happens via Blobs, instead.\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        }\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._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        return this.blob().then(readBlobAsArrayBuffer)\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._bodyFormData) {\n          throw new Error('could not read FormData body as text')\n        } else {\n          return Promise.resolve(this._bodyText)\n        }\n      }\n    } else {\n      this.text = function() {\n        var rejected = consumed(this)\n        return rejected ? rejected : 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    if (Request.prototype.isPrototypeOf(input)) {\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) {\n        body = input._bodyInit\n        input.bodyUsed = true\n      }\n    } else {\n      this.url = 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)\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 headers(xhr) {\n    var head = new Headers()\n    var pairs = (xhr.getAllResponseHeaders() || '').trim().split('\\n')\n    pairs.forEach(function(header) {\n      var split = header.trim().split(':')\n      var key = split.shift().trim()\n      var value = split.join(':').trim()\n      head.append(key, value)\n    })\n    return head\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 = options.status\n    this.ok = this.status >= 200 && this.status < 300\n    this.statusText = options.statusText\n    this.headers = options.headers instanceof Headers ? options.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\n      if (Request.prototype.isPrototypeOf(input) && !init) {\n        request = input\n      } else {\n        request = new Request(input, init)\n      }\n\n      var xhr = new XMLHttpRequest()\n\n      function responseURL() {\n        if ('responseURL' in xhr) {\n          return xhr.responseURL\n        }\n\n        // Avoid security warnings on getResponseHeader when not allowed by CORS\n        if (/^X-Request-URL:/m.test(xhr.getAllResponseHeaders())) {\n          return xhr.getResponseHeader('X-Request-URL')\n        }\n\n        return\n      }\n\n      xhr.onload = function() {\n        var status = (xhr.status === 1223) ? 204 : xhr.status\n        if (status < 100 || status > 599) {\n          reject(new TypeError('Network request failed'))\n          return\n        }\n        var options = {\n          status: status,\n          statusText: xhr.statusText,\n          headers: headers(xhr),\n          url: responseURL()\n        }\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    self['default'] = self.fetch;\n  });\n\n  define('fetch/ajax', [ 'fetch', 'exports' ], function(fetch, exports) {\n    'use strict';\n\n    exports['default'] = function() {\n      return fetch['default'].apply(fetch, arguments).then(function(request) {\n        return request.json();\n      });\n    };\n  });\n}(typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : this));\n","Ember.libraries.register('Ember Simple Auth', '1.2.2');","/*! tether 1.4.7 */\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();\n  } else {\n    root.Tether = factory();\n  }\n}(this, function() {\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  try {\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  } catch (err) {\n    // Ignore \"Access is denied\" in IE11/Edge\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|overlay)/.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 === 'object' && typeof performance.now === 'function') {\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 (typeof window.devicePixelRatio === 'number' && devicePixelRatio % 1 === 0) {\n            xPos = Math.round(xPos * devicePixelRatio) / devicePixelRatio;\n            yPos = Math.round(yPos * devicePixelRatio) / devicePixelRatio;\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          if (this.element.parentNode !== this.options.bodyElement) {\n            this.options.bodyElement.appendChild(this.element);\n          }\n        } else {\n          var isFullscreenElement = function isFullscreenElement(e) {\n            var d = e.ownerDocument;\n            var fe = d.fullscreenElement || d.webkitFullscreenElement || d.mozFullScreenElement || d.msFullscreenElement;\n            return fe === e;\n          };\n\n          var offsetParentIsBody = true;\n\n          var currentNode = this.element.parentNode;\n          while (currentNode && currentNode.nodeType === 1 && currentNode.tagName !== 'BODY' && !isFullscreenElement(currentNode)) {\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","/*!jQuery Knob*/\n/**\n * Downward compatible, touchable dial\n *\n * Version: 1.2.11\n * Requires: jQuery v1.7+\n *\n * Copyright (c) 2012 Anthony Terrien\n * Under MIT License (http://www.opensource.org/licenses/mit-license.php)\n *\n * Thanks to vor, eskimoblood, spiffistan, FabrizioC\n */\n(function (factory) {\n    if (typeof exports === 'object') {\n        // CommonJS\n        module.exports = factory(require('jquery'));\n    } else if (typeof define === 'function' && define.amd) {\n        // AMD. Register as an anonymous module.\n        define(['jquery'], factory);\n    } else {\n        // Browser globals\n        factory(jQuery);\n    }\n}(function ($) {\n\n    /**\n     * Kontrol library\n     */\n    \"use strict\";\n\n    /**\n     * Definition of globals and core\n     */\n    var k = {}, // kontrol\n        max = Math.max,\n        min = Math.min;\n\n    k.c = {};\n    k.c.d = $(document);\n    k.c.t = function (e) {\n        return e.originalEvent.touches.length - 1;\n    };\n\n    /**\n     * Kontrol Object\n     *\n     * Definition of an abstract UI control\n     *\n     * Each concrete component must call this one.\n     * <code>\n     * k.o.call(this);\n     * </code>\n     */\n    k.o = function () {\n        var s = this;\n\n        this.o = null; // array of options\n        this.$ = null; // jQuery wrapped element\n        this.i = null; // mixed HTMLInputElement or array of HTMLInputElement\n        this.g = null; // deprecated 2D graphics context for 'pre-rendering'\n        this.v = null; // value ; mixed array or integer\n        this.cv = null; // change value ; not commited value\n        this.x = 0; // canvas x position\n        this.y = 0; // canvas y position\n        this.w = 0; // canvas width\n        this.h = 0; // canvas height\n        this.$c = null; // jQuery canvas element\n        this.c = null; // rendered canvas context\n        this.t = 0; // touches index\n        this.isInit = false;\n        this.fgColor = null; // main color\n        this.pColor = null; // previous color\n        this.dH = null; // draw hook\n        this.cH = null; // change hook\n        this.eH = null; // cancel hook\n        this.rH = null; // release hook\n        this.scale = 1; // scale factor\n        this.relative = false;\n        this.relativeWidth = false;\n        this.relativeHeight = false;\n        this.$div = null; // component div\n\n        this.run = function () {\n            var cf = function (e, conf) {\n                var k;\n                for (k in conf) {\n                    s.o[k] = conf[k];\n                }\n                s._carve().init();\n                s._configure()\n                 ._draw();\n            };\n\n            if (this.$.data('kontroled')) return;\n            this.$.data('kontroled', true);\n\n            this.extend();\n            this.o = $.extend({\n                    // Config\n                    min: this.$.data('min') !== undefined ? this.$.data('min') : 0,\n                    max: this.$.data('max') !== undefined ? this.$.data('max') : 100,\n                    stopper: true,\n                    readOnly: this.$.data('readonly') || (this.$.attr('readonly') === 'readonly'),\n\n                    // UI\n                    cursor: this.$.data('cursor') === true && 30\n                            || this.$.data('cursor') || 0,\n                    thickness: this.$.data('thickness')\n                               && Math.max(Math.min(this.$.data('thickness'), 1), 0.01)\n                               || 0.35,\n                    lineCap: this.$.data('linecap') || 'butt',\n                    width: this.$.data('width') || 200,\n                    height: this.$.data('height') || 200,\n                    displayInput: this.$.data('displayinput') == null || this.$.data('displayinput'),\n                    displayPrevious: this.$.data('displayprevious'),\n                    fgColor: this.$.data('fgcolor') || '#87CEEB',\n                    inputColor: this.$.data('inputcolor'),\n                    font: this.$.data('font') || 'Arial',\n                    fontWeight: this.$.data('font-weight') || 'bold',\n                    inline: false,\n                    step: this.$.data('step') || 1,\n                    rotation: this.$.data('rotation'),\n\n                    // Hooks\n                    draw: null, // function () {}\n                    change: null, // function (value) {}\n                    cancel: null, // function () {}\n                    release: null, // function (value) {}\n\n                    // Output formatting, allows to add unit: %, ms ...\n                    format: function(v) {\n                        return v;\n                    },\n                    parse: function (v) {\n                        return parseFloat(v);\n                    }\n                }, this.o\n            );\n\n            // finalize options\n            this.o.flip = this.o.rotation === 'anticlockwise' || this.o.rotation === 'acw';\n            if (!this.o.inputColor) {\n                this.o.inputColor = this.o.fgColor;\n            }\n\n            // routing value\n            if (this.$.is('fieldset')) {\n\n                // fieldset = array of integer\n                this.v = {};\n                this.i = this.$.find('input');\n                this.i.each(function(k) {\n                    var $this = $(this);\n                    s.i[k] = $this;\n                    s.v[k] = s.o.parse($this.val());\n\n                    $this.bind(\n                        'change blur',\n                        function () {\n                            var val = {};\n                            val[k] = $this.val();\n                            s.val(s._validate(val));\n                        }\n                    );\n                });\n                this.$.find('legend').remove();\n            } else {\n\n                // input = integer\n                this.i = this.$;\n                this.v = this.o.parse(this.$.val());\n                this.v === '' && (this.v = this.o.min);\n                this.$.bind(\n                    'change blur',\n                    function () {\n                        s.val(s._validate(s.o.parse(s.$.val())));\n                    }\n                );\n\n            }\n\n            !this.o.displayInput && this.$.hide();\n\n            // adds needed DOM elements (canvas, div)\n            this.$c = $(document.createElement('canvas')).attr({\n                width: this.o.width,\n                height: this.o.height\n            });\n\n            // wraps all elements in a div\n            // add to DOM before Canvas init is triggered\n            this.$div = $('<div style=\"'\n                + (this.o.inline ? 'display:inline;' : '')\n                + 'width:' + this.o.width + 'px;height:' + this.o.height + 'px;'\n                + '\"></div>');\n\n            this.$.wrap(this.$div).before(this.$c);\n            this.$div = this.$.parent();\n\n            if (typeof G_vmlCanvasManager !== 'undefined') {\n                G_vmlCanvasManager.initElement(this.$c[0]);\n            }\n\n            this.c = this.$c[0].getContext ? this.$c[0].getContext('2d') : null;\n\n            if (!this.c) {\n                throw {\n                    name:        \"CanvasNotSupportedException\",\n                    message:     \"Canvas not supported. Please use excanvas on IE8.0.\",\n                    toString:    function(){return this.name + \": \" + this.message}\n                }\n            }\n\n            // hdpi support\n            this.scale = (window.devicePixelRatio || 1) / (\n                            this.c.webkitBackingStorePixelRatio ||\n                            this.c.mozBackingStorePixelRatio ||\n                            this.c.msBackingStorePixelRatio ||\n                            this.c.oBackingStorePixelRatio ||\n                            this.c.backingStorePixelRatio || 1\n                         );\n\n            // detects relative width / height\n            this.relativeWidth =  this.o.width % 1 !== 0\n                                  && this.o.width.indexOf('%');\n            this.relativeHeight = this.o.height % 1 !== 0\n                                  && this.o.height.indexOf('%');\n            this.relative = this.relativeWidth || this.relativeHeight;\n\n            // computes size and carves the component\n            this._carve();\n\n            // prepares props for transaction\n            if (this.v instanceof Object) {\n                this.cv = {};\n                this.copy(this.v, this.cv);\n            } else {\n                this.cv = this.v;\n            }\n\n            // binds configure event\n            this.$\n                .bind(\"configure\", cf)\n                .parent()\n                .bind(\"configure\", cf);\n\n            // finalize init\n            this._listen()\n                ._configure()\n                ._xy()\n                .init();\n\n            this.isInit = true;\n\n            this.$.val(this.o.format(this.v));\n            this._draw();\n\n            return this;\n        };\n\n        this._carve = function() {\n            if (this.relative) {\n                var w = this.relativeWidth ?\n                        this.$div.parent().width() *\n                        parseInt(this.o.width) / 100\n                        : this.$div.parent().width(),\n                    h = this.relativeHeight ?\n                        this.$div.parent().height() *\n                        parseInt(this.o.height) / 100\n                        : this.$div.parent().height();\n\n                // apply relative\n                this.w = this.h = Math.min(w, h);\n            } else {\n                this.w = this.o.width;\n                this.h = this.o.height;\n            }\n\n            // finalize div\n            this.$div.css({\n                'width': this.w + 'px',\n                'height': this.h + 'px'\n            });\n\n            // finalize canvas with computed width\n            this.$c.attr({\n                width: this.w,\n                height: this.h\n            });\n\n            // scaling\n            if (this.scale !== 1) {\n                this.$c[0].width = this.$c[0].width * this.scale;\n                this.$c[0].height = this.$c[0].height * this.scale;\n                this.$c.width(this.w);\n                this.$c.height(this.h);\n            }\n\n            return this;\n        }\n\n        this._draw = function () {\n\n            // canvas pre-rendering\n            var d = true;\n\n            s.g = s.c;\n\n            s.clear();\n\n            s.dH && (d = s.dH());\n\n            d !== false && s.draw();\n        };\n\n        this._touch = function (e) {\n            var touchMove = function (e) {\n                var v = s.xy2val(\n                            e.originalEvent.touches[s.t].pageX,\n                            e.originalEvent.touches[s.t].pageY\n                        );\n\n                if (v == s.cv) return;\n\n                if (s.cH && s.cH(v) === false) return;\n\n                s.change(s._validate(v));\n                s._draw();\n            };\n\n            // get touches index\n            this.t = k.c.t(e);\n\n            // First touch\n            touchMove(e);\n\n            // Touch events listeners\n            k.c.d\n                .bind(\"touchmove.k\", touchMove)\n                .bind(\n                    \"touchend.k\",\n                    function () {\n                        k.c.d.unbind('touchmove.k touchend.k');\n                        s.val(s.cv);\n                    }\n                );\n\n            return this;\n        };\n\n        this._mouse = function (e) {\n            var mouseMove = function (e) {\n                var v = s.xy2val(e.pageX, e.pageY);\n\n                if (v == s.cv) return;\n\n                if (s.cH && (s.cH(v) === false)) return;\n\n                s.change(s._validate(v));\n                s._draw();\n            };\n\n            // First click\n            mouseMove(e);\n\n            // Mouse events listeners\n            k.c.d\n                .bind(\"mousemove.k\", mouseMove)\n                .bind(\n                    // Escape key cancel current change\n                    \"keyup.k\",\n                    function (e) {\n                        if (e.keyCode === 27) {\n                            k.c.d.unbind(\"mouseup.k mousemove.k keyup.k\");\n\n                            if (s.eH && s.eH() === false)\n                                return;\n\n                            s.cancel();\n                        }\n                    }\n                )\n                .bind(\n                    \"mouseup.k\",\n                    function (e) {\n                        k.c.d.unbind('mousemove.k mouseup.k keyup.k');\n                        s.val(s.cv);\n                    }\n                );\n\n            return this;\n        };\n\n        this._xy = function () {\n            var o = this.$c.offset();\n            this.x = o.left;\n            this.y = o.top;\n\n            return this;\n        };\n\n        this._listen = function () {\n            if (!this.o.readOnly) {\n                this.$c\n                    .bind(\n                        \"mousedown\",\n                        function (e) {\n                            e.preventDefault();\n                            s._xy()._mouse(e);\n                        }\n                    )\n                    .bind(\n                        \"touchstart\",\n                        function (e) {\n                            e.preventDefault();\n                            s._xy()._touch(e);\n                        }\n                    );\n\n                this.listen();\n            } else {\n                this.$.attr('readonly', 'readonly');\n            }\n\n            if (this.relative) {\n                $(window).resize(function() {\n                    s._carve().init();\n                    s._draw();\n                });\n            }\n\n            return this;\n        };\n\n        this._configure = function () {\n\n            // Hooks\n            if (this.o.draw) this.dH = this.o.draw;\n            if (this.o.change) this.cH = this.o.change;\n            if (this.o.cancel) this.eH = this.o.cancel;\n            if (this.o.release) this.rH = this.o.release;\n\n            if (this.o.displayPrevious) {\n                this.pColor = this.h2rgba(this.o.fgColor, \"0.4\");\n                this.fgColor = this.h2rgba(this.o.fgColor, \"0.6\");\n            } else {\n                this.fgColor = this.o.fgColor;\n            }\n\n            return this;\n        };\n\n        this._clear = function () {\n            this.$c[0].width = this.$c[0].width;\n        };\n\n        this._validate = function (v) {\n            var val = (~~ (((v < 0) ? -0.5 : 0.5) + (v/this.o.step))) * this.o.step;\n            return Math.round(val * 100) / 100;\n        };\n\n        // Abstract methods\n        this.listen = function () {}; // on start, one time\n        this.extend = function () {}; // each time configure triggered\n        this.init = function () {}; // each time configure triggered\n        this.change = function (v) {}; // on change\n        this.val = function (v) {}; // on release\n        this.xy2val = function (x, y) {}; //\n        this.draw = function () {}; // on change / on release\n        this.clear = function () { this._clear(); };\n\n        // Utils\n        this.h2rgba = function (h, a) {\n            var rgb;\n            h = h.substring(1,7)\n            rgb = [\n                parseInt(h.substring(0,2), 16),\n                parseInt(h.substring(2,4), 16),\n                parseInt(h.substring(4,6), 16)\n            ];\n\n            return \"rgba(\" + rgb[0] + \",\" + rgb[1] + \",\" + rgb[2] + \",\" + a + \")\";\n        };\n\n        this.copy = function (f, t) {\n            for (var i in f) {\n                t[i] = f[i];\n            }\n        };\n    };\n\n\n    /**\n     * k.Dial\n     */\n    k.Dial = function () {\n        k.o.call(this);\n\n        this.startAngle = null;\n        this.xy = null;\n        this.radius = null;\n        this.lineWidth = null;\n        this.cursorExt = null;\n        this.w2 = null;\n        this.PI2 = 2*Math.PI;\n\n        this.extend = function () {\n            this.o = $.extend({\n                bgColor: this.$.data('bgcolor') || '#EEEEEE',\n                angleOffset: this.$.data('angleoffset') || 0,\n                angleArc: this.$.data('anglearc') || 360,\n                inline: true\n            }, this.o);\n        };\n\n        this.val = function (v, triggerRelease) {\n            if (null != v) {\n\n                // reverse format\n                v = this.o.parse(v);\n\n                if (triggerRelease !== false\n                    && v != this.v\n                    && this.rH\n                    && this.rH(v) === false) { return; }\n\n                this.cv = this.o.stopper ? max(min(v, this.o.max), this.o.min) : v;\n                this.v = this.cv;\n                this.$.val(this.o.format(this.v));\n                this._draw();\n            } else {\n                return this.v;\n            }\n        };\n\n        this.xy2val = function (x, y) {\n            var a, ret;\n\n            a = Math.atan2(\n                        x - (this.x + this.w2),\n                        - (y - this.y - this.w2)\n                    ) - this.angleOffset;\n\n            if (this.o.flip) {\n                a = this.angleArc - a - this.PI2;\n            }\n\n            if (this.angleArc != this.PI2 && (a < 0) && (a > -0.5)) {\n\n                // if isset angleArc option, set to min if .5 under min\n                a = 0;\n            } else if (a < 0) {\n                a += this.PI2;\n            }\n\n            ret = (a * (this.o.max - this.o.min) / this.angleArc) + this.o.min;\n\n            this.o.stopper && (ret = max(min(ret, this.o.max), this.o.min));\n\n            return ret;\n        };\n\n        this.listen = function () {\n\n            // bind MouseWheel\n            var s = this, mwTimerStop,\n                mwTimerRelease,\n                mw = function (e) {\n                    e.preventDefault();\n\n                    var ori = e.originalEvent,\n                        deltaX = ori.detail || ori.wheelDeltaX,\n                        deltaY = ori.detail || ori.wheelDeltaY,\n                        v = s._validate(s.o.parse(s.$.val()))\n                            + (\n                                deltaX > 0 || deltaY > 0\n                                ? s.o.step\n                                : deltaX < 0 || deltaY < 0 ? -s.o.step : 0\n                              );\n\n                    v = max(min(v, s.o.max), s.o.min);\n\n                    s.val(v, false);\n\n                    if (s.rH) {\n                        // Handle mousewheel stop\n                        clearTimeout(mwTimerStop);\n                        mwTimerStop = setTimeout(function () {\n                            s.rH(v);\n                            mwTimerStop = null;\n                        }, 100);\n\n                        // Handle mousewheel releases\n                        if (!mwTimerRelease) {\n                            mwTimerRelease = setTimeout(function () {\n                                if (mwTimerStop)\n                                    s.rH(v);\n                                mwTimerRelease = null;\n                            }, 200);\n                        }\n                    }\n                },\n                kval,\n                to,\n                m = 1,\n                kv = {\n                    37: -s.o.step,\n                    38: s.o.step,\n                    39: s.o.step,\n                    40: -s.o.step\n                };\n\n            this.$\n                .bind(\n                    \"keydown\",\n                    function (e) {\n                        var kc = e.keyCode;\n\n                        // numpad support\n                        if (kc >= 96 && kc <= 105) {\n                            kc = e.keyCode = kc - 48;\n                        }\n\n                        kval = parseInt(String.fromCharCode(kc));\n\n                        if (isNaN(kval)) {\n                            (kc !== 13)                     // enter\n                            && kc !== 8                     // bs\n                            && kc !== 9                     // tab\n                            && kc !== 189                   // -\n                            && (kc !== 190\n                                || s.$.val().match(/\\./))   // . allowed once\n                            && e.preventDefault();\n\n                            // arrows\n                            if ($.inArray(kc,[37,38,39,40]) > -1) {\n                                e.preventDefault();\n\n                                var v = s.o.parse(s.$.val()) + kv[kc] * m;\n                                s.o.stopper && (v = max(min(v, s.o.max), s.o.min));\n\n                                s.change(s._validate(v));\n                                s._draw();\n\n                                // long time keydown speed-up\n                                to = window.setTimeout(function () {\n                                    m *= 2;\n                                }, 30);\n                            }\n                        }\n                    }\n                )\n                .bind(\n                    \"keyup\",\n                    function (e) {\n                        if (isNaN(kval)) {\n                            if (to) {\n                                window.clearTimeout(to);\n                                to = null;\n                                m = 1;\n                                s.val(s.$.val());\n                            }\n                        } else {\n                            // kval postcond\n                            (s.$.val() > s.o.max && s.$.val(s.o.max))\n                            || (s.$.val() < s.o.min && s.$.val(s.o.min));\n                        }\n                    }\n                );\n\n            this.$c.bind(\"mousewheel DOMMouseScroll\", mw);\n            this.$.bind(\"mousewheel DOMMouseScroll\", mw)\n        };\n\n        this.init = function () {\n            if (this.v < this.o.min\n                || this.v > this.o.max) { this.v = this.o.min; }\n\n            this.$.val(this.v);\n            this.w2 = this.w / 2;\n            this.cursorExt = this.o.cursor / 100;\n            this.xy = this.w2 * this.scale;\n            this.lineWidth = this.xy * this.o.thickness;\n            this.lineCap = this.o.lineCap;\n            this.radius = this.xy - this.lineWidth / 2;\n\n            this.o.angleOffset\n            && (this.o.angleOffset = isNaN(this.o.angleOffset) ? 0 : this.o.angleOffset);\n\n            this.o.angleArc\n            && (this.o.angleArc = isNaN(this.o.angleArc) ? this.PI2 : this.o.angleArc);\n\n            // deg to rad\n            this.angleOffset = this.o.angleOffset * Math.PI / 180;\n            this.angleArc = this.o.angleArc * Math.PI / 180;\n\n            // compute start and end angles\n            this.startAngle = 1.5 * Math.PI + this.angleOffset;\n            this.endAngle = 1.5 * Math.PI + this.angleOffset + this.angleArc;\n\n            var s = max(\n                String(Math.abs(this.o.max)).length,\n                String(Math.abs(this.o.min)).length,\n                2\n            ) + 2;\n\n            this.o.displayInput\n                && this.i.css({\n                        'width' : ((this.w / 2 + 4) >> 0) + 'px',\n                        'height' : ((this.w / 3) >> 0) + 'px',\n                        'position' : 'absolute',\n                        'vertical-align' : 'middle',\n                        'margin-top' : ((this.w / 3) >> 0) + 'px',\n                        'margin-left' : '-' + ((this.w * 3 / 4 + 2) >> 0) + 'px',\n                        'border' : 0,\n                        'background' : 'none',\n                        'font' : this.o.fontWeight + ' ' + ((this.w / s) >> 0) + 'px ' + this.o.font,\n                        'text-align' : 'center',\n                        'color' : this.o.inputColor || this.o.fgColor,\n                        'padding' : '0px',\n                        '-webkit-appearance': 'none'\n                        }) || this.i.css({\n                            'width': '0px',\n                            'visibility': 'hidden'\n                        });\n        };\n\n        this.change = function (v) {\n            this.cv = v;\n            this.$.val(this.o.format(v));\n        };\n\n        this.angle = function (v) {\n            return (v - this.o.min) * this.angleArc / (this.o.max - this.o.min);\n        };\n\n        this.arc = function (v) {\n          var sa, ea;\n          v = this.angle(v);\n          if (this.o.flip) {\n              sa = this.endAngle + 0.00001;\n              ea = sa - v - 0.00001;\n          } else {\n              sa = this.startAngle - 0.00001;\n              ea = sa + v + 0.00001;\n          }\n          this.o.cursor\n              && (sa = ea - this.cursorExt)\n              && (ea = ea + this.cursorExt);\n\n          return {\n              s: sa,\n              e: ea,\n              d: this.o.flip && !this.o.cursor\n          };\n        };\n\n        this.draw = function () {\n            var c = this.g,                 // context\n                a = this.arc(this.cv),      // Arc\n                pa,                         // Previous arc\n                r = 1;\n\n            c.lineWidth = this.lineWidth;\n            c.lineCap = this.lineCap;\n\n            if (this.o.bgColor !== \"none\") {\n                c.beginPath();\n                    c.strokeStyle = this.o.bgColor;\n                    c.arc(this.xy, this.xy, this.radius, this.endAngle - 0.00001, this.startAngle + 0.00001, true);\n                c.stroke();\n            }\n\n            if (this.o.displayPrevious) {\n                pa = this.arc(this.v);\n                c.beginPath();\n                c.strokeStyle = this.pColor;\n                c.arc(this.xy, this.xy, this.radius, pa.s, pa.e, pa.d);\n                c.stroke();\n                r = this.cv == this.v;\n            }\n\n            c.beginPath();\n            c.strokeStyle = r ? this.o.fgColor : this.fgColor ;\n            c.arc(this.xy, this.xy, this.radius, a.s, a.e, a.d);\n            c.stroke();\n        };\n\n        this.cancel = function () {\n            this.val(this.v);\n        };\n    };\n\n    $.fn.dial = $.fn.knob = function (o) {\n        return this.each(\n            function () {\n                var d = new k.Dial();\n                d.o = o;\n                d.$ = $(this);\n                d.run();\n            }\n        ).parent();\n    };\n\n}));\n","/*! Copyright (c) 2011 Piotr Rochala (http://rocha.la)\n * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)\n * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.\n *\n * Version: 1.3.8\n *\n */\n(function(e){e.fn.extend({slimScroll:function(f){var a=e.extend({width:\"auto\",height:\"250px\",size:\"7px\",color:\"#000\",position:\"right\",distance:\"1px\",start:\"top\",opacity:.4,alwaysVisible:!1,disableFadeOut:!1,railVisible:!1,railColor:\"#333\",railOpacity:.2,railDraggable:!0,railClass:\"slimScrollRail\",barClass:\"slimScrollBar\",wrapperClass:\"slimScrollDiv\",allowPageScroll:!1,wheelStep:20,touchScrollStep:200,borderRadius:\"7px\",railBorderRadius:\"7px\"},f);this.each(function(){function v(d){if(r){d=d||window.event;\nvar c=0;d.wheelDelta&&(c=-d.wheelDelta/120);d.detail&&(c=d.detail/3);e(d.target||d.srcTarget||d.srcElement).closest(\".\"+a.wrapperClass).is(b.parent())&&n(c,!0);d.preventDefault&&!k&&d.preventDefault();k||(d.returnValue=!1)}}function n(d,g,e){k=!1;var f=b.outerHeight()-c.outerHeight();g&&(g=parseInt(c.css(\"top\"))+d*parseInt(a.wheelStep)/100*c.outerHeight(),g=Math.min(Math.max(g,0),f),g=0<d?Math.ceil(g):Math.floor(g),c.css({top:g+\"px\"}));l=parseInt(c.css(\"top\"))/(b.outerHeight()-c.outerHeight());g=\nl*(b[0].scrollHeight-b.outerHeight());e&&(g=d,d=g/b[0].scrollHeight*b.outerHeight(),d=Math.min(Math.max(d,0),f),c.css({top:d+\"px\"}));b.scrollTop(g);b.trigger(\"slimscrolling\",~~g);w();p()}function x(){u=Math.max(b.outerHeight()/b[0].scrollHeight*b.outerHeight(),30);c.css({height:u+\"px\"});var a=u==b.outerHeight()?\"none\":\"block\";c.css({display:a})}function w(){x();clearTimeout(B);l==~~l?(k=a.allowPageScroll,C!=l&&b.trigger(\"slimscroll\",0==~~l?\"top\":\"bottom\")):k=!1;C=l;u>=b.outerHeight()?k=!0:(c.stop(!0,\n!0).fadeIn(\"fast\"),a.railVisible&&m.stop(!0,!0).fadeIn(\"fast\"))}function p(){a.alwaysVisible||(B=setTimeout(function(){a.disableFadeOut&&r||y||z||(c.fadeOut(\"slow\"),m.fadeOut(\"slow\"))},1E3))}var r,y,z,B,A,u,l,C,k=!1,b=e(this);if(b.parent().hasClass(a.wrapperClass)){var q=b.scrollTop(),c=b.siblings(\".\"+a.barClass),m=b.siblings(\".\"+a.railClass);x();if(e.isPlainObject(f)){if(\"height\"in f&&\"auto\"==f.height){b.parent().css(\"height\",\"auto\");b.css(\"height\",\"auto\");var h=b.parent().parent().height();b.parent().css(\"height\",\nh);b.css(\"height\",h)}else\"height\"in f&&(h=f.height,b.parent().css(\"height\",h),b.css(\"height\",h));if(\"scrollTo\"in f)q=parseInt(a.scrollTo);else if(\"scrollBy\"in f)q+=parseInt(a.scrollBy);else if(\"destroy\"in f){c.remove();m.remove();b.unwrap();return}n(q,!1,!0)}}else if(!(e.isPlainObject(f)&&\"destroy\"in f)){a.height=\"auto\"==a.height?b.parent().height():a.height;q=e(\"<div></div>\").addClass(a.wrapperClass).css({position:\"relative\",overflow:\"hidden\",width:a.width,height:a.height});b.css({overflow:\"hidden\",\nwidth:a.width,height:a.height});var m=e(\"<div></div>\").addClass(a.railClass).css({width:a.size,height:\"100%\",position:\"absolute\",top:0,display:a.alwaysVisible&&a.railVisible?\"block\":\"none\",\"border-radius\":a.railBorderRadius,background:a.railColor,opacity:a.railOpacity,zIndex:90}),c=e(\"<div></div>\").addClass(a.barClass).css({background:a.color,width:a.size,position:\"absolute\",top:0,opacity:a.opacity,display:a.alwaysVisible?\"block\":\"none\",\"border-radius\":a.borderRadius,BorderRadius:a.borderRadius,MozBorderRadius:a.borderRadius,\nWebkitBorderRadius:a.borderRadius,zIndex:99}),h=\"right\"==a.position?{right:a.distance}:{left:a.distance};m.css(h);c.css(h);b.wrap(q);b.parent().append(c);b.parent().append(m);a.railDraggable&&c.bind(\"mousedown\",function(a){var b=e(document);z=!0;t=parseFloat(c.css(\"top\"));pageY=a.pageY;b.bind(\"mousemove.slimscroll\",function(a){currTop=t+a.pageY-pageY;c.css(\"top\",currTop);n(0,c.position().top,!1)});b.bind(\"mouseup.slimscroll\",function(a){z=!1;p();b.unbind(\".slimscroll\")});return!1}).bind(\"selectstart.slimscroll\",\nfunction(a){a.stopPropagation();a.preventDefault();return!1});m.hover(function(){w()},function(){p()});c.hover(function(){y=!0},function(){y=!1});b.hover(function(){r=!0;w();p()},function(){r=!1;p()});b.bind(\"touchstart\",function(a,b){a.originalEvent.touches.length&&(A=a.originalEvent.touches[0].pageY)});b.bind(\"touchmove\",function(b){k||b.originalEvent.preventDefault();b.originalEvent.touches.length&&(n((A-b.originalEvent.touches[0].pageY)/a.touchScrollStep,!0),A=b.originalEvent.touches[0].pageY)});\nx();\"bottom\"===a.start?(c.css({top:b.outerHeight()-c.outerHeight()}),n(0,!0)):\"top\"!==a.start&&(n(e(a.start).position().top,null,!0),a.alwaysVisible||c.hide());window.addEventListener?(this.addEventListener(\"DOMMouseScroll\",v,!1),this.addEventListener(\"mousewheel\",v,!1)):document.attachEvent(\"onmousewheel\",v)}});return this}});e.fn.extend({slimscroll:e.fn.slimScroll})})(jQuery);","// ag-grid-enterprise v9.0.3\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"agGrid\"] = factory();\n\telse\n\t\troot[\"agGrid\"] = factory();\n})(this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n\n\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(1);\n\n\t// add in exports for ag-Grid-Enterprise\n\tvar populateClientExports = __webpack_require__(164).populateClientExports;\n\tpopulateClientExports(exports);\n\n\t// also add in in exports for ag-Grid-Standard, as it's webpack, we want both packed up\n\tvar populateStandardExports = __webpack_require__(3).populateClientExports;\n\tpopulateStandardExports(exports);\n\n\t__webpack_require__(165);\n\t__webpack_require__(169);\n\t__webpack_require__(171);\n\t__webpack_require__(173);\n\t__webpack_require__(175);\n\t__webpack_require__(177);\n\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar main_1 = __webpack_require__(2);\n\tvar enterpriseMenu_1 = __webpack_require__(125);\n\tvar rangeController_1 = __webpack_require__(133);\n\tvar clipboardService_1 = __webpack_require__(132);\n\tvar groupStage_1 = __webpack_require__(135);\n\tvar aggregationStage_1 = __webpack_require__(136);\n\tvar enterpriseBoot_1 = __webpack_require__(139);\n\tvar statusBar_1 = __webpack_require__(148);\n\tvar contextMenu_1 = __webpack_require__(150);\n\tvar viewportRowModel_1 = __webpack_require__(151);\n\tvar pivotColumnsPanel_1 = __webpack_require__(152);\n\tvar toolPanelComp_1 = __webpack_require__(155);\n\tvar rowGroupCompFactory_1 = __webpack_require__(159);\n\tvar licenseManager_1 = __webpack_require__(146);\n\tvar md5_1 = __webpack_require__(147);\n\tvar pivotStage_1 = __webpack_require__(137);\n\tvar pivotColDefService_1 = __webpack_require__(138);\n\tvar aggFuncService_1 = __webpack_require__(134);\n\tvar pivotCompFactory_1 = __webpack_require__(160);\n\tvar menuItemMapper_1 = __webpack_require__(131);\n\tvar excelCreator_1 = __webpack_require__(161);\n\tvar excelXmlFactory_1 = __webpack_require__(162);\n\tvar enterpriseRowModel_1 = __webpack_require__(163);\n\tvar rowModelTypes = { viewport: viewportRowModel_1.ViewportRowModel, enterprise: enterpriseRowModel_1.EnterpriseRowModel };\n\tmain_1.Grid.setEnterpriseBeans([toolPanelComp_1.ToolPanelComp, enterpriseMenu_1.EnterpriseMenuFactory, excelCreator_1.ExcelCreator, excelXmlFactory_1.ExcelXmlFactory, rowGroupCompFactory_1.RowGroupCompFactory, pivotCompFactory_1.PivotCompFactory,\n\t    pivotColumnsPanel_1.PivotColumnsPanel, rangeController_1.RangeController, clipboardService_1.ClipboardService, pivotStage_1.PivotStage, pivotColDefService_1.PivotColDefService,\n\t    contextMenu_1.ContextMenuFactory, groupStage_1.GroupStage, aggregationStage_1.AggregationStage, enterpriseBoot_1.EnterpriseBoot, aggFuncService_1.AggFuncService,\n\t    statusBar_1.StatusBar, licenseManager_1.LicenseManager, md5_1.MD5, menuItemMapper_1.MenuItemMapper], rowModelTypes);\n\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t////////// MAKE SURE YOU EDIT main-webpack.js IF EDITING THIS FILE!!!\n\n\tvar populateClientExports = __webpack_require__(3).populateClientExports;\n\tpopulateClientExports(exports);\n\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar grid_1 = __webpack_require__(4);\n\tvar gridApi_1 = __webpack_require__(13);\n\tvar events_1 = __webpack_require__(12);\n\tvar componentUtil_1 = __webpack_require__(11);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar agGridNg1_1 = __webpack_require__(120);\n\tvar agGridWebComponent_1 = __webpack_require__(121);\n\tvar gridCell_1 = __webpack_require__(37);\n\tvar rowNode_1 = __webpack_require__(30);\n\tvar originalColumnGroup_1 = __webpack_require__(20);\n\tvar columnGroup_1 = __webpack_require__(17);\n\tvar column_1 = __webpack_require__(18);\n\tvar focusedCellController_1 = __webpack_require__(36);\n\tvar functions_1 = __webpack_require__(104);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar balancedColumnTreeBuilder_1 = __webpack_require__(22);\n\tvar columnKeyCreator_1 = __webpack_require__(23);\n\tvar columnUtils_1 = __webpack_require__(19);\n\tvar displayedGroupCreator_1 = __webpack_require__(24);\n\tvar groupInstanceIdCreator_1 = __webpack_require__(102);\n\tvar context_1 = __webpack_require__(8);\n\tvar dragAndDropService_1 = __webpack_require__(88);\n\tvar dragService_1 = __webpack_require__(34);\n\tvar filterManager_1 = __webpack_require__(48);\n\tvar numberFilter_1 = __webpack_require__(54);\n\tvar textFilter_1 = __webpack_require__(50);\n\tvar gridPanel_1 = __webpack_require__(27);\n\tvar mouseEventService_1 = __webpack_require__(35);\n\tvar cssClassApplier_1 = __webpack_require__(93);\n\tvar headerContainer_1 = __webpack_require__(87);\n\tvar headerRenderer_1 = __webpack_require__(86);\n\tvar headerTemplateLoader_1 = __webpack_require__(91);\n\tvar horizontalDragService_1 = __webpack_require__(92);\n\tvar moveColumnController_1 = __webpack_require__(99);\n\tvar renderedHeaderCell_1 = __webpack_require__(90);\n\tvar standardMenu_1 = __webpack_require__(106);\n\tvar borderLayout_1 = __webpack_require__(33);\n\tvar tabbedLayout_1 = __webpack_require__(122);\n\tvar verticalStack_1 = __webpack_require__(123);\n\tvar autoWidthCalculator_1 = __webpack_require__(25);\n\tvar renderedRow_1 = __webpack_require__(44);\n\tvar rowRenderer_1 = __webpack_require__(26);\n\tvar filterStage_1 = __webpack_require__(107);\n\tvar flattenStage_1 = __webpack_require__(111);\n\tvar sortStage_1 = __webpack_require__(109);\n\tvar floatingRowModel_1 = __webpack_require__(29);\n\tvar component_1 = __webpack_require__(52);\n\tvar cellNavigationService_1 = __webpack_require__(85);\n\tvar columnChangeEvent_1 = __webpack_require__(101);\n\tvar constants_1 = __webpack_require__(10);\n\tvar csvCreator_1 = __webpack_require__(14);\n\tvar downloader_1 = __webpack_require__(105);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar expressionService_1 = __webpack_require__(21);\n\tvar gridCore_1 = __webpack_require__(47);\n\tvar logger_1 = __webpack_require__(7);\n\tvar masterSlaveService_1 = __webpack_require__(28);\n\tvar selectionController_1 = __webpack_require__(31);\n\tvar sortController_1 = __webpack_require__(61);\n\tvar svgFactory_1 = __webpack_require__(58);\n\tvar templateService_1 = __webpack_require__(43);\n\tvar utils_1 = __webpack_require__(9);\n\tvar valueService_1 = __webpack_require__(32);\n\tvar popupService_1 = __webpack_require__(49);\n\tvar gridRow_1 = __webpack_require__(38);\n\tvar inMemoryRowModel_1 = __webpack_require__(115);\n\tvar infiniteRowModel_1 = __webpack_require__(112);\n\tvar animateSlideCellRenderer_1 = __webpack_require__(76);\n\tvar cellEditorFactory_1 = __webpack_require__(68);\n\tvar popupEditorWrapper_1 = __webpack_require__(71);\n\tvar popupSelectCellEditor_1 = __webpack_require__(73);\n\tvar popupTextCellEditor_1 = __webpack_require__(72);\n\tvar selectCellEditor_1 = __webpack_require__(70);\n\tvar textCellEditor_1 = __webpack_require__(69);\n\tvar largeTextCellEditor_1 = __webpack_require__(74);\n\tvar cellRendererFactory_1 = __webpack_require__(75);\n\tvar groupCellRenderer_1 = __webpack_require__(78);\n\tvar cellRendererService_1 = __webpack_require__(79);\n\tvar valueFormatterService_1 = __webpack_require__(80);\n\tvar checkboxSelectionComponent_1 = __webpack_require__(81);\n\tvar componentAnnotations_1 = __webpack_require__(53);\n\tvar agCheckbox_1 = __webpack_require__(95);\n\tvar bodyDropPivotTarget_1 = __webpack_require__(100);\n\tvar bodyDropTarget_1 = __webpack_require__(98);\n\tvar focusService_1 = __webpack_require__(46);\n\tvar setLeftFeature_1 = __webpack_require__(64);\n\tvar renderedCell_1 = __webpack_require__(45);\n\tvar headerRowComp_1 = __webpack_require__(89);\n\tvar animateShowChangeCellRenderer_1 = __webpack_require__(77);\n\tvar inMemoryNodeManager_1 = __webpack_require__(116);\n\tvar infiniteCache_1 = __webpack_require__(113);\n\tvar infiniteBlock_1 = __webpack_require__(114);\n\tvar baseFrameworkFactory_1 = __webpack_require__(117);\n\tvar methodNotImplementedException_1 = __webpack_require__(82);\n\tvar touchListener_1 = __webpack_require__(59);\n\tvar scrollVisibleService_1 = __webpack_require__(39);\n\tvar xmlFactory_1 = __webpack_require__(118);\n\tvar beanStub_1 = __webpack_require__(40);\n\tvar gridSerializer_1 = __webpack_require__(15);\n\tvar stylingService_1 = __webpack_require__(83);\n\tvar baseFilter_1 = __webpack_require__(51);\n\tvar dateFilter_1 = __webpack_require__(55);\n\tvar simpleHttpRequest_1 = __webpack_require__(124);\n\tfunction populateClientExports(exports) {\n\t    // columnController\n\t    exports.BalancedColumnTreeBuilder = balancedColumnTreeBuilder_1.BalancedColumnTreeBuilder;\n\t    exports.ColumnController = columnController_1.ColumnController;\n\t    exports.ColumnKeyCreator = columnKeyCreator_1.ColumnKeyCreator;\n\t    exports.ColumnUtils = columnUtils_1.ColumnUtils;\n\t    exports.DisplayedGroupCreator = displayedGroupCreator_1.DisplayedGroupCreator;\n\t    exports.GroupInstanceIdCreator = groupInstanceIdCreator_1.GroupInstanceIdCreator;\n\t    // components\n\t    exports.ComponentUtil = componentUtil_1.ComponentUtil;\n\t    exports.initialiseAgGridWithAngular1 = agGridNg1_1.initialiseAgGridWithAngular1;\n\t    exports.initialiseAgGridWithWebComponents = agGridWebComponent_1.initialiseAgGridWithWebComponents;\n\t    // context\n\t    exports.BeanStub = beanStub_1.BeanStub;\n\t    exports.Context = context_1.Context;\n\t    exports.Autowired = context_1.Autowired;\n\t    exports.PostConstruct = context_1.PostConstruct;\n\t    exports.PreConstruct = context_1.PreConstruct;\n\t    exports.PreDestroy = context_1.PreDestroy;\n\t    exports.Optional = context_1.Optional;\n\t    exports.Bean = context_1.Bean;\n\t    exports.Qualifier = context_1.Qualifier;\n\t    exports.Listener = componentAnnotations_1.Listener;\n\t    exports.QuerySelector = componentAnnotations_1.QuerySelector;\n\t    // dragAndDrop\n\t    exports.HDirection = dragAndDropService_1.HDirection;\n\t    exports.VDirection = dragAndDropService_1.VDirection;\n\t    exports.DragAndDropService = dragAndDropService_1.DragAndDropService;\n\t    exports.DragService = dragService_1.DragService;\n\t    exports.DragSourceType = dragAndDropService_1.DragSourceType;\n\t    // entities\n\t    exports.Column = column_1.Column;\n\t    exports.ColumnGroup = columnGroup_1.ColumnGroup;\n\t    exports.GridCell = gridCell_1.GridCell;\n\t    exports.GridRow = gridRow_1.GridRow;\n\t    exports.OriginalColumnGroup = originalColumnGroup_1.OriginalColumnGroup;\n\t    exports.RowNode = rowNode_1.RowNode;\n\t    // filter\n\t    exports.BaseFilter = baseFilter_1.BaseFilter;\n\t    exports.DateFilter = dateFilter_1.DateFilter;\n\t    exports.FilterManager = filterManager_1.FilterManager;\n\t    exports.NumberFilter = numberFilter_1.NumberFilter;\n\t    exports.TextFilter = textFilter_1.TextFilter;\n\t    // gridPanel\n\t    exports.GridPanel = gridPanel_1.GridPanel;\n\t    exports.ScrollVisibleService = scrollVisibleService_1.ScrollVisibleService;\n\t    exports.MouseEventService = mouseEventService_1.MouseEventService;\n\t    // headerRendering\n\t    exports.BodyDropPivotTarget = bodyDropPivotTarget_1.BodyDropPivotTarget;\n\t    exports.BodyDropTarget = bodyDropTarget_1.BodyDropTarget;\n\t    exports.CssClassApplier = cssClassApplier_1.CssClassApplier;\n\t    exports.HeaderContainer = headerContainer_1.HeaderContainer;\n\t    exports.HeaderRenderer = headerRenderer_1.HeaderRenderer;\n\t    exports.HeaderRowComp = headerRowComp_1.HeaderRowComp;\n\t    exports.HeaderTemplateLoader = headerTemplateLoader_1.HeaderTemplateLoader;\n\t    exports.HorizontalDragService = horizontalDragService_1.HorizontalDragService;\n\t    exports.MoveColumnController = moveColumnController_1.MoveColumnController;\n\t    exports.RenderedHeaderCell = renderedHeaderCell_1.RenderedHeaderCell;\n\t    exports.StandardMenuFactory = standardMenu_1.StandardMenuFactory;\n\t    // layout\n\t    exports.BorderLayout = borderLayout_1.BorderLayout;\n\t    exports.TabbedLayout = tabbedLayout_1.TabbedLayout;\n\t    exports.VerticalStack = verticalStack_1.VerticalStack;\n\t    // misc\n\t    exports.FocusService = focusService_1.FocusService;\n\t    exports.MethodNotImplementedException = methodNotImplementedException_1.MethodNotImplementedException;\n\t    exports.simpleHttpRequest = simpleHttpRequest_1.simpleHttpRequest;\n\t    // rendering / cellEditors\n\t    exports.LargeTextCellEditor = largeTextCellEditor_1.LargeTextCellEditor;\n\t    exports.PopupEditorWrapper = popupEditorWrapper_1.PopupEditorWrapper;\n\t    exports.PopupSelectCellEditor = popupSelectCellEditor_1.PopupSelectCellEditor;\n\t    exports.PopupTextCellEditor = popupTextCellEditor_1.PopupTextCellEditor;\n\t    exports.SelectCellEditor = selectCellEditor_1.SelectCellEditor;\n\t    exports.TextCellEditor = textCellEditor_1.TextCellEditor;\n\t    // rendering / cellRenderers\n\t    exports.AnimateShowChangeCellRenderer = animateShowChangeCellRenderer_1.AnimateShowChangeCellRenderer;\n\t    exports.AnimateSlideCellRenderer = animateSlideCellRenderer_1.AnimateSlideCellRenderer;\n\t    exports.GroupCellRenderer = groupCellRenderer_1.GroupCellRenderer;\n\t    // features\n\t    exports.SetLeftFeature = setLeftFeature_1.SetLeftFeature;\n\t    // rendering\n\t    exports.AutoWidthCalculator = autoWidthCalculator_1.AutoWidthCalculator;\n\t    exports.CellEditorFactory = cellEditorFactory_1.CellEditorFactory;\n\t    exports.RenderedHeaderCell = renderedHeaderCell_1.RenderedHeaderCell;\n\t    exports.CellRendererFactory = cellRendererFactory_1.CellRendererFactory;\n\t    exports.CellRendererService = cellRendererService_1.CellRendererService;\n\t    exports.CheckboxSelectionComponent = checkboxSelectionComponent_1.CheckboxSelectionComponent;\n\t    exports.RenderedCell = renderedCell_1.RenderedCell;\n\t    exports.RenderedRow = renderedRow_1.RenderedRow;\n\t    exports.RowRenderer = rowRenderer_1.RowRenderer;\n\t    exports.ValueFormatterService = valueFormatterService_1.ValueFormatterService;\n\t    // rowControllers/inMemory\n\t    exports.FilterStage = filterStage_1.FilterStage;\n\t    exports.FlattenStage = flattenStage_1.FlattenStage;\n\t    exports.InMemoryRowModel = inMemoryRowModel_1.InMemoryRowModel;\n\t    exports.SortStage = sortStage_1.SortStage;\n\t    exports.InMemoryNodeManager = inMemoryNodeManager_1.InMemoryNodeManager;\n\t    // rowControllers\n\t    exports.FloatingRowModel = floatingRowModel_1.FloatingRowModel;\n\t    exports.InfiniteRowModel = infiniteRowModel_1.InfiniteRowModel;\n\t    exports.RowNodeCache = infiniteCache_1.RowNodeCache;\n\t    exports.InfiniteCache = infiniteCache_1.InfiniteCache;\n\t    exports.RowNodeBlock = infiniteBlock_1.RowNodeBlock;\n\t    exports.InfiniteBlock = infiniteBlock_1.InfiniteBlock;\n\t    // styling\n\t    exports.StylingService = stylingService_1.StylingService;\n\t    // widgets\n\t    exports.AgCheckbox = agCheckbox_1.AgCheckbox;\n\t    exports.Component = component_1.Component;\n\t    exports.PopupService = popupService_1.PopupService;\n\t    exports.Listener = componentAnnotations_1.Listener;\n\t    exports.QuerySelector = componentAnnotations_1.QuerySelector;\n\t    exports.TouchListener = touchListener_1.TouchListener;\n\t    // root\n\t    exports.BaseFrameworkFactory = baseFrameworkFactory_1.BaseFrameworkFactory;\n\t    exports.CellNavigationService = cellNavigationService_1.CellNavigationService;\n\t    exports.ColumnChangeEvent = columnChangeEvent_1.ColumnChangeEvent;\n\t    exports.Constants = constants_1.Constants;\n\t    exports.CsvCreator = csvCreator_1.CsvCreator;\n\t    exports.Downloader = downloader_1.Downloader;\n\t    exports.Events = events_1.Events;\n\t    exports.EventService = eventService_1.EventService;\n\t    exports.ExpressionService = expressionService_1.ExpressionService;\n\t    exports.FocusedCellController = focusedCellController_1.FocusedCellController;\n\t    exports.defaultGroupComparator = functions_1.defaultGroupComparator;\n\t    exports.Grid = grid_1.Grid;\n\t    exports.GridApi = gridApi_1.GridApi;\n\t    exports.GridCore = gridCore_1.GridCore;\n\t    exports.GridOptionsWrapper = gridOptionsWrapper_1.GridOptionsWrapper;\n\t    exports.Logger = logger_1.Logger;\n\t    exports.MasterSlaveService = masterSlaveService_1.MasterSlaveService;\n\t    exports.SelectionController = selectionController_1.SelectionController;\n\t    exports.CheckboxSelectionComponent = checkboxSelectionComponent_1.CheckboxSelectionComponent;\n\t    exports.SortController = sortController_1.SortController;\n\t    exports.SvgFactory = svgFactory_1.SvgFactory;\n\t    exports.TemplateService = templateService_1.TemplateService;\n\t    exports.Utils = utils_1.Utils;\n\t    exports._ = utils_1._;\n\t    exports.NumberSequence = utils_1.NumberSequence;\n\t    exports.ValueService = valueService_1.ValueService;\n\t    exports.XmlFactory = xmlFactory_1.XmlFactory;\n\t    exports.GridSerializer = gridSerializer_1.GridSerializer;\n\t    exports.BaseGridSerializingSession = gridSerializer_1.BaseGridSerializingSession;\n\t    exports.RowType = gridSerializer_1.RowType;\n\t}\n\texports.populateClientExports = populateClientExports;\n\n\n/***/ }),\n/* 4 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar floatingRowModel_1 = __webpack_require__(29);\n\tvar selectionController_1 = __webpack_require__(31);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar rowRenderer_1 = __webpack_require__(26);\n\tvar headerRenderer_1 = __webpack_require__(86);\n\tvar filterManager_1 = __webpack_require__(48);\n\tvar valueService_1 = __webpack_require__(32);\n\tvar masterSlaveService_1 = __webpack_require__(28);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar gridPanel_1 = __webpack_require__(27);\n\tvar gridApi_1 = __webpack_require__(13);\n\tvar headerTemplateLoader_1 = __webpack_require__(91);\n\tvar balancedColumnTreeBuilder_1 = __webpack_require__(22);\n\tvar displayedGroupCreator_1 = __webpack_require__(24);\n\tvar expressionService_1 = __webpack_require__(21);\n\tvar templateService_1 = __webpack_require__(43);\n\tvar popupService_1 = __webpack_require__(49);\n\tvar logger_1 = __webpack_require__(7);\n\tvar columnUtils_1 = __webpack_require__(19);\n\tvar autoWidthCalculator_1 = __webpack_require__(25);\n\tvar horizontalDragService_1 = __webpack_require__(92);\n\tvar context_1 = __webpack_require__(8);\n\tvar csvCreator_1 = __webpack_require__(14);\n\tvar gridCore_1 = __webpack_require__(47);\n\tvar standardMenu_1 = __webpack_require__(106);\n\tvar dragAndDropService_1 = __webpack_require__(88);\n\tvar dragService_1 = __webpack_require__(34);\n\tvar sortController_1 = __webpack_require__(61);\n\tvar focusedCellController_1 = __webpack_require__(36);\n\tvar mouseEventService_1 = __webpack_require__(35);\n\tvar cellNavigationService_1 = __webpack_require__(85);\n\tvar utils_1 = __webpack_require__(9);\n\tvar filterStage_1 = __webpack_require__(107);\n\tvar sortStage_1 = __webpack_require__(109);\n\tvar flattenStage_1 = __webpack_require__(111);\n\tvar focusService_1 = __webpack_require__(46);\n\tvar cellEditorFactory_1 = __webpack_require__(68);\n\tvar events_1 = __webpack_require__(12);\n\tvar infiniteRowModel_1 = __webpack_require__(112);\n\tvar inMemoryRowModel_1 = __webpack_require__(115);\n\tvar cellRendererFactory_1 = __webpack_require__(75);\n\tvar cellRendererService_1 = __webpack_require__(79);\n\tvar valueFormatterService_1 = __webpack_require__(80);\n\tvar agCheckbox_1 = __webpack_require__(95);\n\tvar baseFrameworkFactory_1 = __webpack_require__(117);\n\tvar scrollVisibleService_1 = __webpack_require__(39);\n\tvar downloader_1 = __webpack_require__(105);\n\tvar xmlFactory_1 = __webpack_require__(118);\n\tvar gridSerializer_1 = __webpack_require__(15);\n\tvar stylingService_1 = __webpack_require__(83);\n\tvar columnHoverService_1 = __webpack_require__(84);\n\tvar columnAnimationService_1 = __webpack_require__(65);\n\tvar componentProvider_1 = __webpack_require__(56);\n\tvar serverPaginationService_1 = __webpack_require__(67);\n\tvar sortService_1 = __webpack_require__(110);\n\tvar filterService_1 = __webpack_require__(108);\n\tvar rowNodeFactory_1 = __webpack_require__(119);\n\tvar autoGroupColService_1 = __webpack_require__(103);\n\tvar paginationProxy_1 = __webpack_require__(42);\n\tvar Grid = (function () {\n\t    function Grid(eGridDiv, gridOptions, params) {\n\t        if (!eGridDiv) {\n\t            console.error('ag-Grid: no div element provided to the grid');\n\t        }\n\t        if (!gridOptions) {\n\t            console.error('ag-Grid: no gridOptions provided to the grid');\n\t        }\n\t        var rowModelClass = this.getRowModelClass(gridOptions);\n\t        var enterprise = utils_1.Utils.exists(Grid.enterpriseBeans);\n\t        var frameworkFactory = params ? params.frameworkFactory : null;\n\t        if (utils_1.Utils.missing(frameworkFactory)) {\n\t            frameworkFactory = new baseFrameworkFactory_1.BaseFrameworkFactory();\n\t        }\n\t        var overrideBeans = [];\n\t        if (Grid.enterpriseBeans) {\n\t            overrideBeans = overrideBeans.concat(Grid.enterpriseBeans);\n\t        }\n\t        if (Grid.frameworkBeans) {\n\t            overrideBeans = overrideBeans.concat(Grid.frameworkBeans);\n\t        }\n\t        var seed = {\n\t            enterprise: enterprise,\n\t            gridOptions: gridOptions,\n\t            eGridDiv: eGridDiv,\n\t            $scope: params ? params.$scope : null,\n\t            $compile: params ? params.$compile : null,\n\t            quickFilterOnScope: params ? params.quickFilterOnScope : null,\n\t            globalEventListener: params ? params.globalEventListener : null,\n\t            frameworkFactory: frameworkFactory\n\t        };\n\t        if (params && params.seedBeanInstances) {\n\t            utils_1.Utils.assign(seed, params.seedBeanInstances);\n\t        }\n\t        var contextParams = {\n\t            overrideBeans: overrideBeans,\n\t            seed: seed,\n\t            beans: [rowModelClass, paginationProxy_1.PaginationAutoPageSizeService, gridApi_1.GridApi, componentProvider_1.ComponentProvider, cellRendererFactory_1.CellRendererFactory, horizontalDragService_1.HorizontalDragService, headerTemplateLoader_1.HeaderTemplateLoader, floatingRowModel_1.FloatingRowModel, dragService_1.DragService,\n\t                displayedGroupCreator_1.DisplayedGroupCreator, eventService_1.EventService, gridOptionsWrapper_1.GridOptionsWrapper, selectionController_1.SelectionController,\n\t                filterManager_1.FilterManager, columnController_1.ColumnController, paginationProxy_1.PaginationProxy, rowRenderer_1.RowRenderer,\n\t                headerRenderer_1.HeaderRenderer, expressionService_1.ExpressionService, balancedColumnTreeBuilder_1.BalancedColumnTreeBuilder, csvCreator_1.CsvCreator, downloader_1.Downloader, xmlFactory_1.XmlFactory,\n\t                gridSerializer_1.GridSerializer, templateService_1.TemplateService, gridPanel_1.GridPanel, popupService_1.PopupService, valueService_1.ValueService, masterSlaveService_1.MasterSlaveService,\n\t                logger_1.LoggerFactory, columnUtils_1.ColumnUtils, autoWidthCalculator_1.AutoWidthCalculator, popupService_1.PopupService, gridCore_1.GridCore, standardMenu_1.StandardMenuFactory,\n\t                dragAndDropService_1.DragAndDropService, sortController_1.SortController, columnController_1.ColumnApi, focusedCellController_1.FocusedCellController, mouseEventService_1.MouseEventService,\n\t                cellNavigationService_1.CellNavigationService, filterStage_1.FilterStage, sortStage_1.SortStage, flattenStage_1.FlattenStage, focusService_1.FocusService, filterService_1.FilterService, rowNodeFactory_1.RowNodeFactory,\n\t                cellEditorFactory_1.CellEditorFactory, cellRendererService_1.CellRendererService, valueFormatterService_1.ValueFormatterService, stylingService_1.StylingService, scrollVisibleService_1.ScrollVisibleService,\n\t                columnHoverService_1.ColumnHoverService, columnAnimationService_1.ColumnAnimationService, serverPaginationService_1.ServerPaginationService, sortService_1.SortService, autoGroupColService_1.AutoGroupColService],\n\t            components: [\n\t                { componentName: 'AgCheckbox', theClass: agCheckbox_1.AgCheckbox }\n\t            ],\n\t            debug: !!gridOptions.debug\n\t        };\n\t        this.context = new context_1.Context(contextParams, new logger_1.Logger('Context', contextParams.debug));\n\t        var eventService = this.context.getBean('eventService');\n\t        var readyEvent = {\n\t            api: gridOptions.api,\n\t            columnApi: gridOptions.columnApi\n\t        };\n\t        eventService.dispatchEvent(events_1.Events.EVENT_GRID_READY, readyEvent);\n\t        if (gridOptions.debug) {\n\t            console.log('ag-Grid -> initialised successfully, enterprise = ' + enterprise);\n\t        }\n\t    }\n\t    Grid.setEnterpriseBeans = function (enterpriseBeans, rowModelClasses) {\n\t        this.enterpriseBeans = enterpriseBeans;\n\t        // the enterprise can inject additional row models. this is how it injects the viewportRowModel\n\t        utils_1.Utils.iterateObject(rowModelClasses, function (key, value) { return Grid.RowModelClasses[key] = value; });\n\t    };\n\t    Grid.setFrameworkBeans = function (frameworkBeans) {\n\t        this.frameworkBeans = frameworkBeans;\n\t    };\n\t    Grid.prototype.getRowModelClass = function (gridOptions) {\n\t        var rowModelType = gridOptions.rowModelType;\n\t        if (utils_1.Utils.exists(rowModelType)) {\n\t            var rowModelClass = Grid.RowModelClasses[rowModelType];\n\t            if (utils_1.Utils.exists(rowModelClass)) {\n\t                return rowModelClass;\n\t            }\n\t            else {\n\t                console.error('ag-Grid: count not find matching row model for rowModelType ' + rowModelType);\n\t                if (rowModelType === 'viewport') {\n\t                    console.error('ag-Grid: rowModelType viewport is only available in ag-Grid Enterprise');\n\t                }\n\t            }\n\t        }\n\t        return inMemoryRowModel_1.InMemoryRowModel;\n\t    };\n\t    ;\n\t    Grid.prototype.destroy = function () {\n\t        this.context.destroy();\n\t    };\n\t    return Grid;\n\t}());\n\t// the default is InMemoryRowModel, which is also used for pagination.\n\t// the enterprise adds viewport to this list.\n\tGrid.RowModelClasses = {\n\t    virtual: infiniteRowModel_1.InfiniteRowModel,\n\t    infinite: infiniteRowModel_1.InfiniteRowModel,\n\t    pagination: inMemoryRowModel_1.InMemoryRowModel,\n\t    normal: inMemoryRowModel_1.InMemoryRowModel\n\t};\n\texports.Grid = Grid;\n\n\n/***/ }),\n/* 5 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar __param = (this && this.__param) || function (paramIndex, decorator) {\n\t    return function (target, key) { decorator(target, key, paramIndex); }\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar eventService_1 = __webpack_require__(6);\n\tvar constants_1 = __webpack_require__(10);\n\tvar componentUtil_1 = __webpack_require__(11);\n\tvar gridApi_1 = __webpack_require__(13);\n\tvar context_1 = __webpack_require__(8);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar utils_1 = __webpack_require__(9);\n\tvar DEFAULT_ROW_HEIGHT = 25;\n\tvar DEFAULT_VIEWPORT_ROW_MODEL_PAGE_SIZE = 5;\n\tvar DEFAULT_VIEWPORT_ROW_MODEL_BUFFER_SIZE = 5;\n\tfunction isTrue(value) {\n\t    return value === true || value === 'true';\n\t}\n\tfunction zeroOrGreater(value, defaultValue) {\n\t    if (value >= 0) {\n\t        return value;\n\t    }\n\t    else {\n\t        // zero gets returned if number is missing or the wrong type\n\t        return defaultValue;\n\t    }\n\t}\n\tfunction oneOrGreater(value, defaultValue) {\n\t    if (value > 0) {\n\t        return value;\n\t    }\n\t    else {\n\t        // zero gets returned if number is missing or the wrong type\n\t        return defaultValue;\n\t    }\n\t}\n\tvar GridOptionsWrapper = GridOptionsWrapper_1 = (function () {\n\t    function GridOptionsWrapper() {\n\t        this.propertyEventService = new eventService_1.EventService();\n\t        this.domDataKey = '__AG_' + Math.random().toString();\n\t    }\n\t    GridOptionsWrapper.prototype.agWire = function (gridApi, columnApi) {\n\t        this.gridOptions.api = gridApi;\n\t        this.gridOptions.columnApi = columnApi;\n\t        this.checkForDeprecated();\n\t    };\n\t    GridOptionsWrapper.prototype.destroy = function () {\n\t        // need to remove these, as we don't own the lifecycle of the gridOptions, we need to\n\t        // remove the references in case the user keeps the grid options, we want the rest\n\t        // of the grid to be picked up by the garbage collector\n\t        this.gridOptions.api = null;\n\t        this.gridOptions.columnApi = null;\n\t    };\n\t    GridOptionsWrapper.prototype.init = function () {\n\t        this.eventService.addGlobalListener(this.globalEventHandler.bind(this));\n\t        this.setupFrameworkComponents();\n\t        if (this.isGroupSelectsChildren() && this.isSuppressParentsInRowNodes()) {\n\t            console.warn('ag-Grid: groupSelectsChildren does not work wth suppressParentsInRowNodes, this selection method needs the part in rowNode to work');\n\t        }\n\t        if (this.isGroupSelectsChildren() && !this.isRowSelectionMulti()) {\n\t            console.warn('ag-Grid: rowSelectionMulti must be true for groupSelectsChildren to make sense');\n\t        }\n\t        if (this.isGroupRemoveSingleChildren() && this.isGroupHideOpenParents()) {\n\t            console.warn('ag-Grid: groupRemoveSingleChildren and groupHideOpenParents do not work with each other, you need to pick one. And don\\'t ask us how to us these together on our support forum either you will get the same answer!');\n\t        }\n\t    };\n\t    GridOptionsWrapper.prototype.setupFrameworkComponents = function () {\n\t        this.fullWidthCellRenderer = this.frameworkFactory.gridOptionsFullWidthCellRenderer(this.gridOptions);\n\t        this.groupRowRenderer = this.frameworkFactory.gridOptionsGroupRowRenderer(this.gridOptions);\n\t        this.groupRowInnerRenderer = this.frameworkFactory.gridOptionsGroupRowInnerRenderer(this.gridOptions);\n\t    };\n\t    GridOptionsWrapper.prototype.getDomDataKey = function () {\n\t        return this.domDataKey;\n\t    };\n\t    // the cellRenderers come from the instances for this class, not from gridOptions, which allows\n\t    // the baseFrameworkFactory to replace with framework specific ones\n\t    GridOptionsWrapper.prototype.getFullWidthCellRenderer = function () { return this.fullWidthCellRenderer; };\n\t    GridOptionsWrapper.prototype.getGroupRowRenderer = function () { return this.groupRowRenderer; };\n\t    GridOptionsWrapper.prototype.getGroupRowInnerRenderer = function () { return this.groupRowInnerRenderer; };\n\t    GridOptionsWrapper.prototype.isEnterprise = function () { return this.enterprise; };\n\t    GridOptionsWrapper.prototype.isRowSelection = function () { return this.gridOptions.rowSelection === \"single\" || this.gridOptions.rowSelection === \"multiple\"; };\n\t    GridOptionsWrapper.prototype.isRowDeselection = function () { return isTrue(this.gridOptions.rowDeselection); };\n\t    GridOptionsWrapper.prototype.isRowSelectionMulti = function () { return this.gridOptions.rowSelection === 'multiple'; };\n\t    GridOptionsWrapper.prototype.getContext = function () { return this.gridOptions.context; };\n\t    GridOptionsWrapper.prototype.isPivotMode = function () { return isTrue(this.gridOptions.pivotMode); };\n\t    GridOptionsWrapper.prototype.isRowModelServerPagination = function () { return this.gridOptions.rowModelType === constants_1.Constants.ROW_MODEL_TYPE_PAGINATION; };\n\t    GridOptionsWrapper.prototype.isRowModelInfinite = function () {\n\t        return this.gridOptions.rowModelType === constants_1.Constants.ROW_MODEL_TYPE_VIRTUAL_DEPRECATED\n\t            || this.gridOptions.rowModelType === constants_1.Constants.ROW_MODEL_TYPE_INFINITE;\n\t    };\n\t    GridOptionsWrapper.prototype.isRowModelViewport = function () { return this.gridOptions.rowModelType === constants_1.Constants.ROW_MODEL_TYPE_VIEWPORT; };\n\t    GridOptionsWrapper.prototype.isRowModelEnterprise = function () { return this.gridOptions.rowModelType === constants_1.Constants.ROW_MODEL_TYPE_ENTERPRISE; };\n\t    GridOptionsWrapper.prototype.isRowModelDefault = function () {\n\t        return !(this.isRowModelServerPagination() ||\n\t            this.isRowModelInfinite() ||\n\t            this.isRowModelViewport());\n\t    };\n\t    GridOptionsWrapper.prototype.isFullRowEdit = function () { return this.gridOptions.editType === 'fullRow'; };\n\t    GridOptionsWrapper.prototype.isSuppressFocusAfterRefresh = function () { return isTrue(this.gridOptions.suppressFocusAfterRefresh); };\n\t    GridOptionsWrapper.prototype.isShowToolPanel = function () { return isTrue(this.gridOptions.showToolPanel); };\n\t    GridOptionsWrapper.prototype.isToolPanelSuppressRowGroups = function () { return isTrue(this.gridOptions.toolPanelSuppressRowGroups); };\n\t    GridOptionsWrapper.prototype.isToolPanelSuppressValues = function () { return isTrue(this.gridOptions.toolPanelSuppressValues); };\n\t    GridOptionsWrapper.prototype.isToolPanelSuppressPivots = function () {\n\t        // never allow pivot mode when using enterprise model\n\t        if (this.isRowModelEnterprise()) {\n\t            return true;\n\t        }\n\t        // otherwise, let user decide\n\t        return isTrue(this.gridOptions.toolPanelSuppressPivots);\n\t    };\n\t    GridOptionsWrapper.prototype.isToolPanelSuppressPivotMode = function () {\n\t        // never allow pivot mode when using enterprise model\n\t        if (this.isRowModelEnterprise()) {\n\t            return true;\n\t        }\n\t        // otherwise, let user decide\n\t        return isTrue(this.gridOptions.toolPanelSuppressPivotMode);\n\t    };\n\t    GridOptionsWrapper.prototype.isSuppressTouch = function () { return isTrue(this.gridOptions.suppressTouch); };\n\t    GridOptionsWrapper.prototype.isEnableCellChangeFlash = function () { return isTrue(this.gridOptions.enableCellChangeFlash); };\n\t    GridOptionsWrapper.prototype.isGroupSelectsChildren = function () { return isTrue(this.gridOptions.groupSelectsChildren); };\n\t    GridOptionsWrapper.prototype.isGroupSelectsFiltered = function () { return isTrue(this.gridOptions.groupSelectsFiltered); };\n\t    GridOptionsWrapper.prototype.isGroupHideOpenParents = function () { return isTrue(this.gridOptions.groupHideOpenParents); };\n\t    GridOptionsWrapper.prototype.isGroupMultiAutoColumn = function () { return isTrue(this.gridOptions.groupMultiAutoColumn); };\n\t    GridOptionsWrapper.prototype.isGroupRemoveSingleChildren = function () { return isTrue(this.gridOptions.groupRemoveSingleChildren); };\n\t    GridOptionsWrapper.prototype.isGroupIncludeFooter = function () { return isTrue(this.gridOptions.groupIncludeFooter); };\n\t    GridOptionsWrapper.prototype.isGroupSuppressBlankHeader = function () { return isTrue(this.gridOptions.groupSuppressBlankHeader); };\n\t    GridOptionsWrapper.prototype.isSuppressRowClickSelection = function () { return isTrue(this.gridOptions.suppressRowClickSelection); };\n\t    GridOptionsWrapper.prototype.isSuppressCellSelection = function () { return isTrue(this.gridOptions.suppressCellSelection); };\n\t    GridOptionsWrapper.prototype.isSuppressMultiSort = function () { return isTrue(this.gridOptions.suppressMultiSort); };\n\t    GridOptionsWrapper.prototype.isGroupSuppressAutoColumn = function () { return isTrue(this.gridOptions.groupSuppressAutoColumn); };\n\t    GridOptionsWrapper.prototype.isSuppressDragLeaveHidesColumns = function () { return isTrue(this.gridOptions.suppressDragLeaveHidesColumns); };\n\t    GridOptionsWrapper.prototype.isSuppressScrollOnNewData = function () { return isTrue(this.gridOptions.suppressScrollOnNewData); };\n\t    GridOptionsWrapper.prototype.isForPrint = function () { return isTrue(this.gridOptions.forPrint); };\n\t    GridOptionsWrapper.prototype.isSuppressHorizontalScroll = function () { return isTrue(this.gridOptions.suppressHorizontalScroll); };\n\t    GridOptionsWrapper.prototype.isSuppressLoadingOverlay = function () { return isTrue(this.gridOptions.suppressLoadingOverlay); };\n\t    GridOptionsWrapper.prototype.isSuppressNoRowsOverlay = function () { return isTrue(this.gridOptions.suppressNoRowsOverlay); };\n\t    GridOptionsWrapper.prototype.isSuppressFieldDotNotation = function () { return isTrue(this.gridOptions.suppressFieldDotNotation); };\n\t    GridOptionsWrapper.prototype.getFloatingTopRowData = function () { return this.gridOptions.floatingTopRowData; };\n\t    GridOptionsWrapper.prototype.getFloatingBottomRowData = function () { return this.gridOptions.floatingBottomRowData; };\n\t    GridOptionsWrapper.prototype.isFunctionsPassive = function () { return isTrue(this.gridOptions.functionsPassive); };\n\t    GridOptionsWrapper.prototype.isSuppressRowHoverClass = function () { return isTrue(this.gridOptions.suppressRowHoverClass); };\n\t    GridOptionsWrapper.prototype.isSuppressTabbing = function () { return isTrue(this.gridOptions.suppressTabbing); };\n\t    GridOptionsWrapper.prototype.getQuickFilterText = function () { return this.gridOptions.quickFilterText; };\n\t    GridOptionsWrapper.prototype.isUnSortIcon = function () { return isTrue(this.gridOptions.unSortIcon); };\n\t    GridOptionsWrapper.prototype.isSuppressMenuHide = function () { return isTrue(this.gridOptions.suppressMenuHide); };\n\t    GridOptionsWrapper.prototype.getRowStyle = function () { return this.gridOptions.rowStyle; };\n\t    GridOptionsWrapper.prototype.getRowClass = function () { return this.gridOptions.rowClass; };\n\t    GridOptionsWrapper.prototype.getRowStyleFunc = function () { return this.gridOptions.getRowStyle; };\n\t    GridOptionsWrapper.prototype.getRowClassFunc = function () { return this.gridOptions.getRowClass; };\n\t    GridOptionsWrapper.prototype.getDoesDataFlowerFunc = function () { return this.gridOptions.doesDataFlower; };\n\t    GridOptionsWrapper.prototype.getIsFullWidthCellFunc = function () { return this.gridOptions.isFullWidthCell; };\n\t    GridOptionsWrapper.prototype.getFullWidthCellRendererParams = function () { return this.gridOptions.fullWidthCellRendererParams; };\n\t    GridOptionsWrapper.prototype.isEmbedFullWidthRows = function () { return isTrue(this.gridOptions.embedFullWidthRows); };\n\t    GridOptionsWrapper.prototype.getBusinessKeyForNodeFunc = function () { return this.gridOptions.getBusinessKeyForNode; };\n\t    GridOptionsWrapper.prototype.getHeaderCellRenderer = function () { return this.gridOptions.headerCellRenderer; };\n\t    GridOptionsWrapper.prototype.getApi = function () { return this.gridOptions.api; };\n\t    GridOptionsWrapper.prototype.getColumnApi = function () { return this.gridOptions.columnApi; };\n\t    GridOptionsWrapper.prototype.isEnableColResize = function () { return isTrue(this.gridOptions.enableColResize); };\n\t    GridOptionsWrapper.prototype.isSingleClickEdit = function () { return isTrue(this.gridOptions.singleClickEdit); };\n\t    GridOptionsWrapper.prototype.isSuppressClickEdit = function () { return isTrue(this.gridOptions.suppressClickEdit); };\n\t    GridOptionsWrapper.prototype.isStopEditingWhenGridLosesFocus = function () { return isTrue(this.gridOptions.stopEditingWhenGridLosesFocus); };\n\t    GridOptionsWrapper.prototype.getGroupDefaultExpanded = function () { return this.gridOptions.groupDefaultExpanded; };\n\t    GridOptionsWrapper.prototype.getAutoSizePadding = function () { return this.gridOptions.autoSizePadding; };\n\t    GridOptionsWrapper.prototype.getMaxConcurrentDatasourceRequests = function () { return this.gridOptions.maxConcurrentDatasourceRequests; };\n\t    GridOptionsWrapper.prototype.getMaxPagesInCache = function () { return this.gridOptions.maxPagesInCache; };\n\t    GridOptionsWrapper.prototype.getPaginationOverflowSize = function () { return this.gridOptions.paginationOverflowSize; };\n\t    GridOptionsWrapper.prototype.getPaginationPageSize = function () { return this.gridOptions.paginationPageSize; };\n\t    GridOptionsWrapper.prototype.getInfiniteBlockSize = function () { return this.gridOptions.infiniteBlockSize; };\n\t    GridOptionsWrapper.prototype.getInfiniteInitialRowCount = function () { return this.gridOptions.infiniteInitialRowCount; };\n\t    GridOptionsWrapper.prototype.getPaginationStartPage = function () { return this.gridOptions.paginationStartPage; };\n\t    GridOptionsWrapper.prototype.isSuppressPaginationPanel = function () { return isTrue(this.gridOptions.suppressPaginationPanel); };\n\t    GridOptionsWrapper.prototype.getRowData = function () { return this.gridOptions.rowData; };\n\t    GridOptionsWrapper.prototype.isGroupUseEntireRow = function () { return isTrue(this.gridOptions.groupUseEntireRow); };\n\t    GridOptionsWrapper.prototype.isEnableRtl = function () { return isTrue(this.gridOptions.enableRtl); };\n\t    GridOptionsWrapper.prototype.getGroupColumnDef = function () { return this.gridOptions.groupColumnDef; };\n\t    GridOptionsWrapper.prototype.isGroupSuppressRow = function () { return isTrue(this.gridOptions.groupSuppressRow); };\n\t    GridOptionsWrapper.prototype.getRowGroupPanelShow = function () { return this.gridOptions.rowGroupPanelShow; };\n\t    GridOptionsWrapper.prototype.getPivotPanelShow = function () { return this.gridOptions.pivotPanelShow; };\n\t    GridOptionsWrapper.prototype.isAngularCompileRows = function () { return isTrue(this.gridOptions.angularCompileRows); };\n\t    GridOptionsWrapper.prototype.isAngularCompileFilters = function () { return isTrue(this.gridOptions.angularCompileFilters); };\n\t    GridOptionsWrapper.prototype.isAngularCompileHeaders = function () { return isTrue(this.gridOptions.angularCompileHeaders); };\n\t    GridOptionsWrapper.prototype.isDebug = function () { return isTrue(this.gridOptions.debug); };\n\t    GridOptionsWrapper.prototype.getColumnDefs = function () { return this.gridOptions.columnDefs; };\n\t    GridOptionsWrapper.prototype.getDatasource = function () { return this.gridOptions.datasource; };\n\t    GridOptionsWrapper.prototype.getViewportDatasource = function () { return this.gridOptions.viewportDatasource; };\n\t    GridOptionsWrapper.prototype.getEnterpriseDatasource = function () { return this.gridOptions.enterpriseDatasource; };\n\t    GridOptionsWrapper.prototype.isEnableSorting = function () { return isTrue(this.gridOptions.enableSorting) || isTrue(this.gridOptions.enableServerSideSorting); };\n\t    GridOptionsWrapper.prototype.isEnableCellExpressions = function () { return isTrue(this.gridOptions.enableCellExpressions); };\n\t    GridOptionsWrapper.prototype.isEnableGroupEdit = function () { return isTrue(this.gridOptions.enableGroupEdit); };\n\t    GridOptionsWrapper.prototype.isSuppressMiddleClickScrolls = function () { return isTrue(this.gridOptions.suppressMiddleClickScrolls); };\n\t    GridOptionsWrapper.prototype.isSuppressPreventDefaultOnMouseWheel = function () { return isTrue(this.gridOptions.suppressPreventDefaultOnMouseWheel); };\n\t    GridOptionsWrapper.prototype.isSuppressColumnVirtualisation = function () { return isTrue(this.gridOptions.suppressColumnVirtualisation); };\n\t    GridOptionsWrapper.prototype.isSuppressContextMenu = function () { return isTrue(this.gridOptions.suppressContextMenu); };\n\t    GridOptionsWrapper.prototype.isAllowContextMenuWithControlKey = function () { return isTrue(this.gridOptions.allowContextMenuWithControlKey); };\n\t    GridOptionsWrapper.prototype.isSuppressCopyRowsToClipboard = function () { return isTrue(this.gridOptions.suppressCopyRowsToClipboard); };\n\t    GridOptionsWrapper.prototype.isEnableFilter = function () { return isTrue(this.gridOptions.enableFilter) || isTrue(this.gridOptions.enableServerSideFilter); };\n\t    GridOptionsWrapper.prototype.isPagination = function () { return isTrue(this.gridOptions.pagination); };\n\t    // these are deprecated, should remove them when we take out server side pagination\n\t    GridOptionsWrapper.prototype.isEnableServerSideFilter = function () { return this.gridOptions.enableServerSideFilter; };\n\t    GridOptionsWrapper.prototype.isEnableServerSideSorting = function () { return isTrue(this.gridOptions.enableServerSideSorting); };\n\t    GridOptionsWrapper.prototype.isSuppressScrollLag = function () { return isTrue(this.gridOptions.suppressScrollLag); };\n\t    GridOptionsWrapper.prototype.isSuppressMovableColumns = function () { return isTrue(this.gridOptions.suppressMovableColumns); };\n\t    GridOptionsWrapper.prototype.isAnimateRows = function () { return isTrue(this.gridOptions.animateRows); };\n\t    GridOptionsWrapper.prototype.isSuppressColumnMoveAnimation = function () { return isTrue(this.gridOptions.suppressColumnMoveAnimation); };\n\t    GridOptionsWrapper.prototype.isSuppressMenuColumnPanel = function () { return isTrue(this.gridOptions.suppressMenuColumnPanel); };\n\t    GridOptionsWrapper.prototype.isSuppressMenuFilterPanel = function () { return isTrue(this.gridOptions.suppressMenuFilterPanel); };\n\t    GridOptionsWrapper.prototype.isSuppressUseColIdForGroups = function () { return isTrue(this.gridOptions.suppressUseColIdForGroups); };\n\t    GridOptionsWrapper.prototype.isSuppressAggFuncInHeader = function () { return isTrue(this.gridOptions.suppressAggFuncInHeader); };\n\t    GridOptionsWrapper.prototype.isSuppressMenuMainPanel = function () { return isTrue(this.gridOptions.suppressMenuMainPanel); };\n\t    GridOptionsWrapper.prototype.isEnableRangeSelection = function () { return isTrue(this.gridOptions.enableRangeSelection); };\n\t    GridOptionsWrapper.prototype.isPaginationAutoPageSize = function () { return isTrue(this.gridOptions.paginationAutoPageSize); };\n\t    GridOptionsWrapper.prototype.isRememberGroupStateWhenNewData = function () { return isTrue(this.gridOptions.rememberGroupStateWhenNewData); };\n\t    GridOptionsWrapper.prototype.getIcons = function () { return this.gridOptions.icons; };\n\t    GridOptionsWrapper.prototype.getAggFuncs = function () { return this.gridOptions.aggFuncs; };\n\t    GridOptionsWrapper.prototype.getIsScrollLag = function () { return this.gridOptions.isScrollLag; };\n\t    GridOptionsWrapper.prototype.getSortingOrder = function () { return this.gridOptions.sortingOrder; };\n\t    GridOptionsWrapper.prototype.getSlaveGrids = function () { return this.gridOptions.slaveGrids; };\n\t    GridOptionsWrapper.prototype.getGroupRowRendererParams = function () { return this.gridOptions.groupRowRendererParams; };\n\t    GridOptionsWrapper.prototype.getOverlayLoadingTemplate = function () { return this.gridOptions.overlayLoadingTemplate; };\n\t    GridOptionsWrapper.prototype.getOverlayNoRowsTemplate = function () { return this.gridOptions.overlayNoRowsTemplate; };\n\t    GridOptionsWrapper.prototype.isSuppressAutoSize = function () { return isTrue(this.gridOptions.suppressAutoSize); };\n\t    GridOptionsWrapper.prototype.isSuppressParentsInRowNodes = function () { return isTrue(this.gridOptions.suppressParentsInRowNodes); };\n\t    GridOptionsWrapper.prototype.isEnableStatusBar = function () { return isTrue(this.gridOptions.enableStatusBar); };\n\t    GridOptionsWrapper.prototype.isFunctionsReadOnly = function () { return isTrue(this.gridOptions.functionsReadOnly); };\n\t    GridOptionsWrapper.prototype.isFloatingFilter = function () { return this.gridOptions.floatingFilter; };\n\t    // public isFloatingFilter(): boolean { return true; }\n\t    GridOptionsWrapper.prototype.getDefaultColDef = function () { return this.gridOptions.defaultColDef; };\n\t    GridOptionsWrapper.prototype.getDefaultColGroupDef = function () { return this.gridOptions.defaultColGroupDef; };\n\t    GridOptionsWrapper.prototype.getDefaultExportParams = function () { return this.gridOptions.defaultExportParams; };\n\t    GridOptionsWrapper.prototype.getHeaderCellTemplate = function () { return this.gridOptions.headerCellTemplate; };\n\t    GridOptionsWrapper.prototype.getHeaderCellTemplateFunc = function () { return this.gridOptions.getHeaderCellTemplate; };\n\t    GridOptionsWrapper.prototype.getNodeChildDetailsFunc = function () { return this.gridOptions.getNodeChildDetails; };\n\t    GridOptionsWrapper.prototype.getGroupRowAggNodesFunc = function () { return this.gridOptions.groupRowAggNodes; };\n\t    GridOptionsWrapper.prototype.getContextMenuItemsFunc = function () { return this.gridOptions.getContextMenuItems; };\n\t    GridOptionsWrapper.prototype.getMainMenuItemsFunc = function () { return this.gridOptions.getMainMenuItems; };\n\t    GridOptionsWrapper.prototype.getRowNodeIdFunc = function () { return this.gridOptions.getRowNodeId; };\n\t    GridOptionsWrapper.prototype.getNavigateToNextCellFunc = function () { return this.gridOptions.navigateToNextCell; };\n\t    GridOptionsWrapper.prototype.getTabToNextCellFunc = function () { return this.gridOptions.tabToNextCell; };\n\t    GridOptionsWrapper.prototype.getProcessSecondaryColDefFunc = function () { return this.gridOptions.processSecondaryColDef; };\n\t    GridOptionsWrapper.prototype.getProcessSecondaryColGroupDefFunc = function () { return this.gridOptions.processSecondaryColGroupDef; };\n\t    GridOptionsWrapper.prototype.getSendToClipboardFunc = function () { return this.gridOptions.sendToClipboard; };\n\t    GridOptionsWrapper.prototype.getProcessCellForClipboardFunc = function () { return this.gridOptions.processCellForClipboard; };\n\t    GridOptionsWrapper.prototype.getProcessCellFromClipboardFunc = function () { return this.gridOptions.processCellFromClipboard; };\n\t    GridOptionsWrapper.prototype.getViewportRowModelPageSize = function () { return oneOrGreater(this.gridOptions.viewportRowModelPageSize, DEFAULT_VIEWPORT_ROW_MODEL_PAGE_SIZE); };\n\t    GridOptionsWrapper.prototype.getViewportRowModelBufferSize = function () { return zeroOrGreater(this.gridOptions.viewportRowModelBufferSize, DEFAULT_VIEWPORT_ROW_MODEL_BUFFER_SIZE); };\n\t    // public getCellRenderers(): {[key: string]: {new(): ICellRenderer} | ICellRendererFunc} { return this.gridOptions.cellRenderers; }\n\t    // public getCellEditors(): {[key: string]: {new(): ICellEditor}} { return this.gridOptions.cellEditors; }\n\t    GridOptionsWrapper.prototype.setProperty = function (key, value) {\n\t        var gridOptionsNoType = this.gridOptions;\n\t        var previousValue = gridOptionsNoType[key];\n\t        if (previousValue !== value) {\n\t            gridOptionsNoType[key] = value;\n\t            this.propertyEventService.dispatchEvent(key, { currentValue: value, previousValue: previousValue });\n\t        }\n\t    };\n\t    GridOptionsWrapper.prototype.addEventListener = function (key, listener) {\n\t        this.propertyEventService.addEventListener(key, listener);\n\t    };\n\t    GridOptionsWrapper.prototype.removeEventListener = function (key, listener) {\n\t        this.propertyEventService.removeEventListener(key, listener);\n\t    };\n\t    GridOptionsWrapper.prototype.executeProcessRowPostCreateFunc = function (params) {\n\t        if (this.gridOptions.processRowPostCreate) {\n\t            this.gridOptions.processRowPostCreate(params);\n\t        }\n\t    };\n\t    // properties\n\t    GridOptionsWrapper.prototype.getHeaderHeight = function () {\n\t        if (typeof this.gridOptions.headerHeight === 'number') {\n\t            return this.gridOptions.headerHeight;\n\t        }\n\t        else {\n\t            return 25;\n\t        }\n\t    };\n\t    GridOptionsWrapper.prototype.isExternalFilterPresent = function () {\n\t        if (typeof this.gridOptions.isExternalFilterPresent === 'function') {\n\t            return this.gridOptions.isExternalFilterPresent();\n\t        }\n\t        else {\n\t            return false;\n\t        }\n\t    };\n\t    GridOptionsWrapper.prototype.doesExternalFilterPass = function (node) {\n\t        if (typeof this.gridOptions.doesExternalFilterPass === 'function') {\n\t            return this.gridOptions.doesExternalFilterPass(node);\n\t        }\n\t        else {\n\t            return false;\n\t        }\n\t    };\n\t    GridOptionsWrapper.prototype.getDocument = function () {\n\t        // if user is providing document, we use the users one,\n\t        // otherwise we use the document on the global namespace.\n\t        var result;\n\t        if (utils_1.Utils.exists(this.gridOptions.getDocument)) {\n\t            result = this.gridOptions.getDocument();\n\t        }\n\t        if (utils_1.Utils.exists(result)) {\n\t            return result;\n\t        }\n\t        else {\n\t            return document;\n\t        }\n\t    };\n\t    GridOptionsWrapper.prototype.getLayoutInterval = function () {\n\t        if (typeof this.gridOptions.layoutInterval === 'number') {\n\t            return this.gridOptions.layoutInterval;\n\t        }\n\t        else {\n\t            return constants_1.Constants.LAYOUT_INTERVAL;\n\t        }\n\t    };\n\t    GridOptionsWrapper.prototype.getMinColWidth = function () {\n\t        if (this.gridOptions.minColWidth > GridOptionsWrapper_1.MIN_COL_WIDTH) {\n\t            return this.gridOptions.minColWidth;\n\t        }\n\t        else {\n\t            return GridOptionsWrapper_1.MIN_COL_WIDTH;\n\t        }\n\t    };\n\t    GridOptionsWrapper.prototype.getMaxColWidth = function () {\n\t        if (this.gridOptions.maxColWidth > GridOptionsWrapper_1.MIN_COL_WIDTH) {\n\t            return this.gridOptions.maxColWidth;\n\t        }\n\t        else {\n\t            return null;\n\t        }\n\t    };\n\t    GridOptionsWrapper.prototype.getColWidth = function () {\n\t        if (typeof this.gridOptions.colWidth !== 'number' || this.gridOptions.colWidth < GridOptionsWrapper_1.MIN_COL_WIDTH) {\n\t            return 200;\n\t        }\n\t        else {\n\t            return this.gridOptions.colWidth;\n\t        }\n\t    };\n\t    GridOptionsWrapper.prototype.getRowBuffer = function () {\n\t        if (typeof this.gridOptions.rowBuffer === 'number') {\n\t            if (this.gridOptions.rowBuffer < 0) {\n\t                console.warn('ag-Grid: rowBuffer should not be negative');\n\t            }\n\t            return this.gridOptions.rowBuffer;\n\t        }\n\t        else {\n\t            return constants_1.Constants.ROW_BUFFER_SIZE;\n\t        }\n\t    };\n\t    // the user might be using some non-standard scrollbar, eg a scrollbar that has zero\n\t    // width and overlays (like the Safari scrollbar, but presented in Chrome). so we\n\t    // allow the user to provide the scroll width before we work it out.\n\t    GridOptionsWrapper.prototype.getScrollbarWidth = function () {\n\t        var scrollbarWidth = this.gridOptions.scrollbarWidth;\n\t        if (typeof scrollbarWidth !== 'number' || scrollbarWidth < 0) {\n\t            scrollbarWidth = utils_1.Utils.getScrollbarWidth();\n\t        }\n\t        return scrollbarWidth;\n\t    };\n\t    GridOptionsWrapper.prototype.checkForDeprecated = function () {\n\t        // casting to generic object, so typescript compiles even though\n\t        // we are looking for attributes that don't exist\n\t        var options = this.gridOptions;\n\t        if (options.suppressUnSort) {\n\t            console.warn('ag-grid: as of v1.12.4 suppressUnSort is not used. Please use sortOrder instead.');\n\t        }\n\t        if (options.suppressDescSort) {\n\t            console.warn('ag-grid: as of v1.12.4 suppressDescSort is not used. Please use sortOrder instead.');\n\t        }\n\t        if (options.groupAggFields) {\n\t            console.warn('ag-grid: as of v3 groupAggFields is not used. Please add appropriate agg fields to your columns.');\n\t        }\n\t        if (options.groupHidePivotColumns) {\n\t            console.warn('ag-grid: as of v3 groupHidePivotColumns is not used as pivot columns are now called rowGroup columns. Please refer to the documentation');\n\t        }\n\t        if (options.groupKeys) {\n\t            console.warn('ag-grid: as of v3 groupKeys is not used. You need to set rowGroupIndex on the columns to group. Please refer to the documentation');\n\t        }\n\t        if (options.ready || options.onReady) {\n\t            console.warn('ag-grid: as of v3.3 ready event is now called gridReady, so the callback should be onGridReady');\n\t        }\n\t        if (typeof options.groupDefaultExpanded === 'boolean') {\n\t            console.warn('ag-grid: groupDefaultExpanded can no longer be boolean. for groupDefaultExpanded=true, use groupDefaultExpanded=9999 instead, to expand all the groups');\n\t        }\n\t        if (options.onRowDeselected || options.rowDeselected) {\n\t            console.warn('ag-grid: since version 3.4 event rowDeselected no longer exists, please check the docs');\n\t        }\n\t        if (options.rowsAlreadyGrouped) {\n\t            console.warn('ag-grid: since version 3.4 rowsAlreadyGrouped no longer exists, please use getNodeChildDetails() instead');\n\t        }\n\t        if (options.groupAggFunction) {\n\t            console.warn('ag-grid: since version 4.3.x groupAggFunction is now called groupRowAggNodes');\n\t        }\n\t        if (options.checkboxSelection) {\n\t            console.warn('ag-grid: since version 8.0.x checkboxSelection is not supported as a grid option. ' +\n\t                'If you want this on all columns, use defaultColDef instead and set it there');\n\t        }\n\t        if (this.gridOptions.rowModelType === constants_1.Constants.ROW_MODEL_TYPE_VIRTUAL_DEPRECATED) {\n\t            console.warn('ag-grid: since version 8.3.x row model type \"virtual\" is now called \"infinite\", ' +\n\t                'the grid will still work, but please change the property to use \"infinite\"');\n\t        }\n\t        if (options.paginationInitialRowCount) {\n\t            console.warn('ag-grid: since version 9.0.x paginationInitialRowCount is now called infiniteInitialRowCount');\n\t        }\n\t        if (options.infinitePageSize) {\n\t            console.warn('ag-grid: since version 9.0.x infinitePageSize is now called infiniteBlockSize');\n\t        }\n\t    };\n\t    GridOptionsWrapper.prototype.getLocaleTextFunc = function () {\n\t        if (this.gridOptions.localeTextFunc) {\n\t            return this.gridOptions.localeTextFunc;\n\t        }\n\t        var that = this;\n\t        return function (key, defaultValue) {\n\t            var localeText = that.gridOptions.localeText;\n\t            if (localeText && localeText[key]) {\n\t                return localeText[key];\n\t            }\n\t            else {\n\t                return defaultValue;\n\t            }\n\t        };\n\t    };\n\t    // responsible for calling the onXXX functions on gridOptions\n\t    GridOptionsWrapper.prototype.globalEventHandler = function (eventName, event) {\n\t        var callbackMethodName = componentUtil_1.ComponentUtil.getCallbackForEvent(eventName);\n\t        if (typeof this.gridOptions[callbackMethodName] === 'function') {\n\t            this.gridOptions[callbackMethodName](event);\n\t        }\n\t    };\n\t    // we don't allow dynamic row height for virtual paging\n\t    GridOptionsWrapper.prototype.getRowHeightAsNumber = function () {\n\t        var rowHeight = this.gridOptions.rowHeight;\n\t        if (utils_1.Utils.missing(rowHeight)) {\n\t            return DEFAULT_ROW_HEIGHT;\n\t        }\n\t        else if (this.isNumeric(this.gridOptions.rowHeight)) {\n\t            return this.gridOptions.rowHeight;\n\t        }\n\t        else {\n\t            console.warn('ag-Grid row height must be a number if not using standard row model');\n\t            return DEFAULT_ROW_HEIGHT;\n\t        }\n\t    };\n\t    GridOptionsWrapper.prototype.getRowHeightForNode = function (rowNode) {\n\t        // check the function first, in case use set both function and\n\t        // number, when using virtual pagination then function can be\n\t        // used for floating rows and the number for the body rows.\n\t        if (typeof this.gridOptions.getRowHeight === 'function') {\n\t            var params = {\n\t                node: rowNode,\n\t                data: rowNode.data,\n\t                api: this.gridOptions.api,\n\t                context: this.gridOptions.context\n\t            };\n\t            return this.gridOptions.getRowHeight(params);\n\t        }\n\t        else if (this.isNumeric(this.gridOptions.rowHeight)) {\n\t            return this.gridOptions.rowHeight;\n\t        }\n\t        else {\n\t            return DEFAULT_ROW_HEIGHT;\n\t        }\n\t    };\n\t    GridOptionsWrapper.prototype.isNumeric = function (value) {\n\t        return !isNaN(value) && typeof value === 'number';\n\t    };\n\t    return GridOptionsWrapper;\n\t}());\n\tGridOptionsWrapper.MIN_COL_WIDTH = 10;\n\tGridOptionsWrapper.PROP_HEADER_HEIGHT = 'headerHeight';\n\t__decorate([\n\t    context_1.Autowired('gridOptions'),\n\t    __metadata(\"design:type\", Object)\n\t], GridOptionsWrapper.prototype, \"gridOptions\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", columnController_1.ColumnController)\n\t], GridOptionsWrapper.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], GridOptionsWrapper.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('enterprise'),\n\t    __metadata(\"design:type\", Boolean)\n\t], GridOptionsWrapper.prototype, \"enterprise\", void 0);\n\t__decorate([\n\t    context_1.Autowired('frameworkFactory'),\n\t    __metadata(\"design:type\", Object)\n\t], GridOptionsWrapper.prototype, \"frameworkFactory\", void 0);\n\t__decorate([\n\t    __param(0, context_1.Qualifier('gridApi')), __param(1, context_1.Qualifier('columnApi')),\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", [gridApi_1.GridApi, columnController_1.ColumnApi]),\n\t    __metadata(\"design:returntype\", void 0)\n\t], GridOptionsWrapper.prototype, \"agWire\", null);\n\t__decorate([\n\t    context_1.PreDestroy,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], GridOptionsWrapper.prototype, \"destroy\", null);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], GridOptionsWrapper.prototype, \"init\", null);\n\tGridOptionsWrapper = GridOptionsWrapper_1 = __decorate([\n\t    context_1.Bean('gridOptionsWrapper')\n\t], GridOptionsWrapper);\n\texports.GridOptionsWrapper = GridOptionsWrapper;\n\tvar GridOptionsWrapper_1;\n\n\n/***/ }),\n/* 6 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar __param = (this && this.__param) || function (paramIndex, decorator) {\n\t    return function (target, key) { decorator(target, key, paramIndex); }\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar logger_1 = __webpack_require__(7);\n\tvar utils_1 = __webpack_require__(9);\n\tvar context_1 = __webpack_require__(8);\n\tvar context_2 = __webpack_require__(8);\n\tvar EventService = EventService_1 = (function () {\n\t    function EventService() {\n\t        this.allListeners = {};\n\t        this.globalListeners = [];\n\t    }\n\t    EventService.prototype.agWire = function (loggerFactory, globalEventListener) {\n\t        if (globalEventListener === void 0) { globalEventListener = null; }\n\t        this.logger = loggerFactory.create('EventService');\n\t        if (globalEventListener) {\n\t            this.addGlobalListener(globalEventListener);\n\t        }\n\t    };\n\t    EventService.prototype.getListenerList = function (eventType) {\n\t        var listenerList = this.allListeners[eventType];\n\t        if (!listenerList) {\n\t            listenerList = [];\n\t            this.allListeners[eventType] = listenerList;\n\t        }\n\t        return listenerList;\n\t    };\n\t    EventService.prototype.addEventListener = function (eventType, listener) {\n\t        var listenerList = this.getListenerList(eventType);\n\t        if (listenerList.indexOf(listener) < 0) {\n\t            listenerList.push(listener);\n\t        }\n\t    };\n\t    // for some events, it's important that the model gets to hear about them before the view,\n\t    // as the model may need to update before the view works on the info. if you register\n\t    // via this method, you get notified before the view parts\n\t    EventService.prototype.addModalPriorityEventListener = function (eventType, listener) {\n\t        this.addEventListener(eventType + EventService_1.PRIORITY, listener);\n\t    };\n\t    EventService.prototype.addGlobalListener = function (listener) {\n\t        this.globalListeners.push(listener);\n\t    };\n\t    EventService.prototype.removeEventListener = function (eventType, listener) {\n\t        var listenerList = this.getListenerList(eventType);\n\t        utils_1.Utils.removeFromArray(listenerList, listener);\n\t    };\n\t    EventService.prototype.removeGlobalListener = function (listener) {\n\t        utils_1.Utils.removeFromArray(this.globalListeners, listener);\n\t    };\n\t    // why do we pass the type here? the type is in ColumnChangeEvent, so unless the\n\t    // type is not in other types of events???\n\t    EventService.prototype.dispatchEvent = function (eventType, event) {\n\t        if (!event) {\n\t            event = {};\n\t        }\n\t        // console.log(`dispatching ${eventType}: ${event}`);\n\t        // this allows the columnController to get events before anyone else\n\t        var p1ListenerList = this.getListenerList(eventType + EventService_1.PRIORITY);\n\t        p1ListenerList.forEach(function (listener) {\n\t            listener(event);\n\t        });\n\t        var listenerList = this.getListenerList(eventType);\n\t        listenerList.forEach(function (listener) {\n\t            listener(event);\n\t        });\n\t        this.globalListeners.forEach(function (listener) {\n\t            listener(eventType, event);\n\t        });\n\t    };\n\t    return EventService;\n\t}());\n\t// this is an old idea niall had, should really take it out, was to do with ordering who gets to process\n\t// events first, to give model and service objects preference over the view\n\tEventService.PRIORITY = '-P1';\n\t__decorate([\n\t    __param(0, context_2.Qualifier('loggerFactory')),\n\t    __param(1, context_2.Qualifier('globalEventListener')),\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", [logger_1.LoggerFactory,\n\t        Function]),\n\t    __metadata(\"design:returntype\", void 0)\n\t], EventService.prototype, \"agWire\", null);\n\tEventService = EventService_1 = __decorate([\n\t    context_1.Bean('eventService')\n\t], EventService);\n\texports.EventService = EventService;\n\tvar EventService_1;\n\n\n/***/ }),\n/* 7 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar __param = (this && this.__param) || function (paramIndex, decorator) {\n\t    return function (target, key) { decorator(target, key, paramIndex); }\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar context_1 = __webpack_require__(8);\n\tvar context_2 = __webpack_require__(8);\n\tvar LoggerFactory = (function () {\n\t    function LoggerFactory() {\n\t    }\n\t    LoggerFactory.prototype.setBeans = function (gridOptionsWrapper) {\n\t        this.logging = gridOptionsWrapper.isDebug();\n\t    };\n\t    LoggerFactory.prototype.create = function (name) {\n\t        return new Logger(name, this.logging);\n\t    };\n\t    return LoggerFactory;\n\t}());\n\t__decorate([\n\t    __param(0, context_2.Qualifier('gridOptionsWrapper')),\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", [gridOptionsWrapper_1.GridOptionsWrapper]),\n\t    __metadata(\"design:returntype\", void 0)\n\t], LoggerFactory.prototype, \"setBeans\", null);\n\tLoggerFactory = __decorate([\n\t    context_1.Bean('loggerFactory')\n\t], LoggerFactory);\n\texports.LoggerFactory = LoggerFactory;\n\tvar Logger = (function () {\n\t    function Logger(name, logging) {\n\t        this.name = name;\n\t        this.logging = logging;\n\t    }\n\t    Logger.prototype.log = function (message) {\n\t        if (this.logging) {\n\t            console.log('ag-Grid.' + this.name + ': ' + message);\n\t        }\n\t    };\n\t    return Logger;\n\t}());\n\texports.Logger = Logger;\n\n\n/***/ }),\n/* 8 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar utils_1 = __webpack_require__(9);\n\tvar Context = (function () {\n\t    function Context(params, logger) {\n\t        this.beans = {};\n\t        this.componentsMappedByName = {};\n\t        this.destroyed = false;\n\t        if (!params || !params.beans) {\n\t            return;\n\t        }\n\t        this.contextParams = params;\n\t        this.logger = logger;\n\t        this.logger.log('>> creating ag-Application Context');\n\t        this.setupComponents();\n\t        this.createBeans();\n\t        var beans = utils_1.Utils.mapObject(this.beans, function (beanEntry) { return beanEntry.beanInstance; });\n\t        this.wireBeans(beans);\n\t        this.logger.log('>> ag-Application Context ready - component is alive');\n\t    }\n\t    Context.prototype.setupComponents = function () {\n\t        var _this = this;\n\t        if (this.contextParams.components) {\n\t            this.contextParams.components.forEach(function (componentMeta) { return _this.addComponent(componentMeta); });\n\t        }\n\t    };\n\t    Context.prototype.addComponent = function (componentMeta) {\n\t        // get name of the class as a string\n\t        // var className = _.getNameOfClass(ComponentClass);\n\t        // insert a dash after every capital letter\n\t        // var classEscaped = className.replace(/([A-Z])/g, \"-$1\").toLowerCase();\n\t        var classEscaped = componentMeta.componentName.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();\n\t        // put all to upper case\n\t        var classUpperCase = classEscaped.toUpperCase();\n\t        // finally store\n\t        this.componentsMappedByName[classUpperCase] = componentMeta.theClass;\n\t    };\n\t    Context.prototype.createComponent = function (element) {\n\t        var key = element.nodeName;\n\t        if (this.componentsMappedByName && this.componentsMappedByName[key]) {\n\t            var newComponent = new this.componentsMappedByName[key];\n\t            this.wireBean(newComponent);\n\t            this.copyAttributesFromNode(element, newComponent.getGui());\n\t            newComponent.attributesSet();\n\t            return newComponent;\n\t        }\n\t        else {\n\t            return null;\n\t        }\n\t    };\n\t    Context.prototype.copyAttributesFromNode = function (fromNode, toNode) {\n\t        if (fromNode.attributes) {\n\t            var count = fromNode.attributes.length;\n\t            for (var i = 0; i < count; i++) {\n\t                var attr = fromNode.attributes[i];\n\t                toNode.setAttribute(attr.name, attr.value);\n\t            }\n\t        }\n\t    };\n\t    Context.prototype.wireBean = function (bean) {\n\t        if (!bean)\n\t            throw Error(\"Can't wire to bean since it is null\");\n\t        this.wireBeans([bean]);\n\t    };\n\t    Context.prototype.wireBeans = function (beans) {\n\t        this.autoWireBeans(beans);\n\t        this.methodWireBeans(beans);\n\t        this.preConstruct(beans);\n\t        this.postConstruct(beans);\n\t    };\n\t    Context.prototype.createBeans = function () {\n\t        var _this = this;\n\t        // register all normal beans\n\t        this.contextParams.beans.forEach(this.createBeanEntry.bind(this));\n\t        // register override beans, these will overwrite beans above of same name\n\t        if (this.contextParams.overrideBeans) {\n\t            this.contextParams.overrideBeans.forEach(this.createBeanEntry.bind(this));\n\t        }\n\t        // instantiate all beans - overridden beans will be left out\n\t        utils_1.Utils.iterateObject(this.beans, function (key, beanEntry) {\n\t            var constructorParamsMeta;\n\t            if (beanEntry.bean.prototype.__agBeanMetaData\n\t                && beanEntry.bean.prototype.__agBeanMetaData.autowireMethods\n\t                && beanEntry.bean.prototype.__agBeanMetaData.autowireMethods.agConstructor) {\n\t                constructorParamsMeta = beanEntry.bean.prototype.__agBeanMetaData.autowireMethods.agConstructor;\n\t            }\n\t            var constructorParams = _this.getBeansForParameters(constructorParamsMeta, beanEntry.beanName);\n\t            var newInstance = applyToConstructor(beanEntry.bean, constructorParams);\n\t            beanEntry.beanInstance = newInstance;\n\t            _this.logger.log('bean ' + _this.getBeanName(newInstance) + ' created');\n\t        });\n\t    };\n\t    Context.prototype.createBeanEntry = function (Bean) {\n\t        var metaData = Bean.prototype.__agBeanMetaData;\n\t        if (!metaData) {\n\t            var beanName;\n\t            if (Bean.prototype.constructor) {\n\t                beanName = Bean.prototype.constructor.name;\n\t            }\n\t            else {\n\t                beanName = '' + Bean;\n\t            }\n\t            console.error('context item ' + beanName + ' is not a bean');\n\t            return;\n\t        }\n\t        var beanEntry = {\n\t            bean: Bean,\n\t            beanInstance: null,\n\t            beanName: metaData.beanName\n\t        };\n\t        this.beans[metaData.beanName] = beanEntry;\n\t    };\n\t    Context.prototype.autoWireBeans = function (beans) {\n\t        var _this = this;\n\t        beans.forEach(function (bean) { return _this.autoWireBean(bean); });\n\t    };\n\t    Context.prototype.methodWireBeans = function (beans) {\n\t        var _this = this;\n\t        beans.forEach(function (bean) {\n\t            if (!bean)\n\t                throw Error(\"Can't wire to bean since it is null\");\n\t            return _this.methodWireBean(bean);\n\t        });\n\t    };\n\t    Context.prototype.autoWireBean = function (bean) {\n\t        var _this = this;\n\t        if (!bean\n\t            || !bean.__agBeanMetaData\n\t            || !bean.__agBeanMetaData.agClassAttributes) {\n\t            return;\n\t        }\n\t        var attributes = bean.__agBeanMetaData.agClassAttributes;\n\t        if (!attributes) {\n\t            return;\n\t        }\n\t        var beanName = this.getBeanName(bean);\n\t        attributes.forEach(function (attribute) {\n\t            var otherBean = _this.lookupBeanInstance(beanName, attribute.beanName, attribute.optional);\n\t            bean[attribute.attributeName] = otherBean;\n\t        });\n\t    };\n\t    Context.prototype.getBeanName = function (bean) {\n\t        var constructorString = bean.constructor.toString();\n\t        var beanName = constructorString.substring(9, constructorString.indexOf('('));\n\t        return beanName;\n\t    };\n\t    Context.prototype.methodWireBean = function (bean) {\n\t        var _this = this;\n\t        var autowiredMethods;\n\t        if (bean.__agBeanMetaData) {\n\t            autowiredMethods = bean.__agBeanMetaData.autowireMethods;\n\t        }\n\t        utils_1.Utils.iterateObject(autowiredMethods, function (methodName, wireParams) {\n\t            // skip constructor, as this is dealt with elsewhere\n\t            if (methodName === 'agConstructor') {\n\t                return;\n\t            }\n\t            var beanName = _this.getBeanName(bean);\n\t            var initParams = _this.getBeansForParameters(wireParams, beanName);\n\t            bean[methodName].apply(bean, initParams);\n\t        });\n\t    };\n\t    Context.prototype.getBeansForParameters = function (parameters, beanName) {\n\t        var _this = this;\n\t        var beansList = [];\n\t        if (parameters) {\n\t            utils_1.Utils.iterateObject(parameters, function (paramIndex, otherBeanName) {\n\t                var otherBean = _this.lookupBeanInstance(beanName, otherBeanName);\n\t                beansList[Number(paramIndex)] = otherBean;\n\t            });\n\t        }\n\t        return beansList;\n\t    };\n\t    Context.prototype.lookupBeanInstance = function (wiringBean, beanName, optional) {\n\t        if (optional === void 0) { optional = false; }\n\t        if (beanName === 'context') {\n\t            return this;\n\t        }\n\t        else if (this.contextParams.seed && this.contextParams.seed.hasOwnProperty(beanName)) {\n\t            return this.contextParams.seed[beanName];\n\t        }\n\t        else {\n\t            var beanEntry = this.beans[beanName];\n\t            if (beanEntry) {\n\t                return beanEntry.beanInstance;\n\t            }\n\t            if (!optional) {\n\t                console.error('ag-Grid: unable to find bean reference ' + beanName + ' while initialising ' + wiringBean);\n\t            }\n\t            return null;\n\t        }\n\t    };\n\t    Context.prototype.postConstruct = function (beans) {\n\t        beans.forEach(function (bean) {\n\t            // try calling init methods\n\t            if (bean.__agBeanMetaData && bean.__agBeanMetaData.postConstructMethods) {\n\t                bean.__agBeanMetaData.postConstructMethods.forEach(function (methodName) { return bean[methodName](); });\n\t            }\n\t        });\n\t    };\n\t    Context.prototype.preConstruct = function (beans) {\n\t        beans.forEach(function (bean) {\n\t            // try calling init methods\n\t            if (bean.__agBeanMetaData && bean.__agBeanMetaData.preConstructMethods) {\n\t                bean.__agBeanMetaData.preConstructMethods.forEach(function (methodName) { return bean[methodName](); });\n\t            }\n\t        });\n\t    };\n\t    Context.prototype.getBean = function (name) {\n\t        return this.lookupBeanInstance('getBean', name, true);\n\t    };\n\t    Context.prototype.destroy = function () {\n\t        // should only be able to destroy once\n\t        if (this.destroyed) {\n\t            return;\n\t        }\n\t        this.logger.log('>> Shutting down ag-Application Context');\n\t        // try calling destroy methods\n\t        utils_1.Utils.iterateObject(this.beans, function (key, beanEntry) {\n\t            var bean = beanEntry.beanInstance;\n\t            if (bean.__agBeanMetaData && bean.__agBeanMetaData.preDestroyMethods) {\n\t                bean.__agBeanMetaData.preDestroyMethods.forEach(function (methodName) { return bean[methodName](); });\n\t            }\n\t        });\n\t        this.destroyed = true;\n\t        this.logger.log('>> ag-Application Context shut down - component is dead');\n\t    };\n\t    return Context;\n\t}());\n\texports.Context = Context;\n\t// taken from: http://stackoverflow.com/questions/3362471/how-can-i-call-a-javascript-constructor-using-call-or-apply\n\t// allows calling 'apply' on a constructor\n\tfunction applyToConstructor(constructor, argArray) {\n\t    var args = [null].concat(argArray);\n\t    var factoryFunction = constructor.bind.apply(constructor, args);\n\t    return new factoryFunction();\n\t}\n\tfunction PreConstruct(target, methodName, descriptor) {\n\t    var props = getOrCreateProps(target);\n\t    if (!props.postConstructMethods) {\n\t        props.preConstructMethods = [];\n\t    }\n\t    props.preConstructMethods.push(methodName);\n\t}\n\texports.PreConstruct = PreConstruct;\n\tfunction PostConstruct(target, methodName, descriptor) {\n\t    var props = getOrCreateProps(target);\n\t    if (!props.postConstructMethods) {\n\t        props.postConstructMethods = [];\n\t    }\n\t    props.postConstructMethods.push(methodName);\n\t}\n\texports.PostConstruct = PostConstruct;\n\tfunction PreDestroy(target, methodName, descriptor) {\n\t    var props = getOrCreateProps(target);\n\t    if (!props.preDestroyMethods) {\n\t        props.preDestroyMethods = [];\n\t    }\n\t    props.preDestroyMethods.push(methodName);\n\t}\n\texports.PreDestroy = PreDestroy;\n\tfunction Bean(beanName) {\n\t    return function (classConstructor) {\n\t        var props = getOrCreateProps(classConstructor.prototype);\n\t        props.beanName = beanName;\n\t    };\n\t}\n\texports.Bean = Bean;\n\tfunction Autowired(name) {\n\t    return autowiredFunc.bind(this, name, false);\n\t}\n\texports.Autowired = Autowired;\n\tfunction Optional(name) {\n\t    return autowiredFunc.bind(this, name, true);\n\t}\n\texports.Optional = Optional;\n\tfunction autowiredFunc(name, optional, classPrototype, methodOrAttributeName, index) {\n\t    if (name === null) {\n\t        console.error('ag-Grid: Autowired name should not be null');\n\t        return;\n\t    }\n\t    if (typeof index === 'number') {\n\t        console.error('ag-Grid: Autowired should be on an attribute');\n\t        return;\n\t    }\n\t    // it's an attribute on the class\n\t    var props = getOrCreateProps(classPrototype);\n\t    if (!props.agClassAttributes) {\n\t        props.agClassAttributes = [];\n\t    }\n\t    props.agClassAttributes.push({\n\t        attributeName: methodOrAttributeName,\n\t        beanName: name,\n\t        optional: optional\n\t    });\n\t}\n\tfunction Qualifier(name) {\n\t    return function (classPrototype, methodOrAttributeName, index) {\n\t        var props;\n\t        if (typeof index === 'number') {\n\t            // it's a parameter on a method\n\t            var methodName;\n\t            if (methodOrAttributeName) {\n\t                props = getOrCreateProps(classPrototype);\n\t                methodName = methodOrAttributeName;\n\t            }\n\t            else {\n\t                props = getOrCreateProps(classPrototype.prototype);\n\t                methodName = 'agConstructor';\n\t            }\n\t            if (!props.autowireMethods) {\n\t                props.autowireMethods = {};\n\t            }\n\t            if (!props.autowireMethods[methodName]) {\n\t                props.autowireMethods[methodName] = {};\n\t            }\n\t            props.autowireMethods[methodName][index] = name;\n\t        }\n\t    };\n\t}\n\texports.Qualifier = Qualifier;\n\tfunction getOrCreateProps(target) {\n\t    var props = target.__agBeanMetaData;\n\t    if (!props) {\n\t        props = {};\n\t        target.__agBeanMetaData = props;\n\t    }\n\t    return props;\n\t}\n\n\n/***/ }),\n/* 9 */\n/***/ (function(module, exports) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar FUNCTION_STRIP_COMMENTS = /((\\/\\/.*$)|(\\/\\*[\\s\\S]*?\\*\\/))/mg;\n\tvar FUNCTION_ARGUMENT_NAMES = /([^\\s,]+)/g;\n\t// util class, only used when debugging, for printing time to console\n\tvar Timer = (function () {\n\t    function Timer() {\n\t        this.timestamp = new Date().getTime();\n\t    }\n\t    Timer.prototype.print = function (msg) {\n\t        var duration = (new Date().getTime()) - this.timestamp;\n\t        console.log(msg + \" = \" + duration);\n\t        this.timestamp = new Date().getTime();\n\t    };\n\t    return Timer;\n\t}());\n\texports.Timer = Timer;\n\t/** HTML Escapes. */\n\tvar HTML_ESCAPES = {\n\t    '&': '&amp;',\n\t    '<': '&lt;',\n\t    '>': '&gt;',\n\t    '\"': '&quot;',\n\t    \"'\": '&#39;'\n\t};\n\tvar reUnescapedHtml = /[&<>\"']/g;\n\tvar Utils = (function () {\n\t    function Utils() {\n\t    }\n\t    // returns true if the event is close to the original event by X pixels either vertically or horizontally.\n\t    // we only start dragging after X pixels so this allows us to know if we should start dragging yet.\n\t    Utils.areEventsNear = function (e1, e2, pixelCount) {\n\t        // by default, we wait 4 pixels before starting the drag\n\t        if (pixelCount === 0) {\n\t            return false;\n\t        }\n\t        var diffX = Math.abs(e1.clientX - e2.clientX);\n\t        var diffY = Math.abs(e1.clientY - e2.clientY);\n\t        return Math.max(diffX, diffY) <= pixelCount;\n\t    };\n\t    Utils.shallowCompare = function (arr1, arr2) {\n\t        // if both are missing, then they are the same\n\t        if (this.missing(arr1) && this.missing(arr2)) {\n\t            return true;\n\t        }\n\t        // if one is present, but other is missing, then then are different\n\t        if (this.missing(arr1) || this.missing(arr2)) {\n\t            return false;\n\t        }\n\t        if (arr1.length !== arr2.length) {\n\t            return false;\n\t        }\n\t        for (var i = 0; i < arr1.length; i++) {\n\t            if (arr1[i] !== arr2[i]) {\n\t                return false;\n\t            }\n\t        }\n\t        return true;\n\t    };\n\t    Utils.getNameOfClass = function (TheClass) {\n\t        var funcNameRegex = /function (.{1,})\\(/;\n\t        var funcAsString = TheClass.toString();\n\t        var results = (funcNameRegex).exec(funcAsString);\n\t        return (results && results.length > 1) ? results[1] : \"\";\n\t    };\n\t    Utils.values = function (object) {\n\t        var result = [];\n\t        this.iterateObject(object, function (key, value) {\n\t            result.push(value);\n\t        });\n\t        return result;\n\t    };\n\t    Utils.getValueUsingField = function (data, field, fieldContainsDots) {\n\t        if (!field || !data) {\n\t            return;\n\t        }\n\t        // if no '.', then it's not a deep value\n\t        if (!fieldContainsDots) {\n\t            return data[field];\n\t        }\n\t        else {\n\t            // otherwise it is a deep value, so need to dig for it\n\t            var fields = field.split('.');\n\t            var currentObject = data;\n\t            for (var i = 0; i < fields.length; i++) {\n\t                currentObject = currentObject[fields[i]];\n\t                if (this.missing(currentObject)) {\n\t                    return null;\n\t                }\n\t            }\n\t            return currentObject;\n\t        }\n\t    };\n\t    Utils.getScrollLeft = function (element, rtl) {\n\t        var scrollLeft = element.scrollLeft;\n\t        if (rtl) {\n\t            // Absolute value - for FF that reports RTL scrolls in negative numbers\n\t            scrollLeft = Math.abs(scrollLeft);\n\t            // Get Chrome and Safari to return the same value as well\n\t            if (this.isBrowserSafari() || this.isBrowserChrome()) {\n\t                scrollLeft = element.scrollWidth - element.clientWidth - scrollLeft;\n\t            }\n\t        }\n\t        return scrollLeft;\n\t    };\n\t    Utils.cleanNumber = function (value) {\n\t        if (typeof value === 'string') {\n\t            value = parseInt(value);\n\t        }\n\t        if (typeof value === 'number') {\n\t            value = Math.floor(value);\n\t        }\n\t        else {\n\t            value = null;\n\t        }\n\t        return value;\n\t    };\n\t    Utils.setScrollLeft = function (element, value, rtl) {\n\t        if (rtl) {\n\t            // Chrome and Safari when doing RTL have the END position of the scroll as zero, not the start\n\t            if (this.isBrowserSafari() || this.isBrowserChrome()) {\n\t                value = element.scrollWidth - element.clientWidth - value;\n\t            }\n\t            // Firefox uses negative numbers when doing RTL scrolling\n\t            if (this.isBrowserFirefox()) {\n\t                value *= -1;\n\t            }\n\t        }\n\t        element.scrollLeft = value;\n\t    };\n\t    Utils.iterateObject = function (object, callback) {\n\t        if (this.missing(object)) {\n\t            return;\n\t        }\n\t        var keys = Object.keys(object);\n\t        for (var i = 0; i < keys.length; i++) {\n\t            var key = keys[i];\n\t            var value = object[key];\n\t            callback(key, value);\n\t        }\n\t    };\n\t    Utils.cloneObject = function (object) {\n\t        var copy = {};\n\t        var keys = Object.keys(object);\n\t        for (var i = 0; i < keys.length; i++) {\n\t            var key = keys[i];\n\t            var value = object[key];\n\t            copy[key] = value;\n\t        }\n\t        return copy;\n\t    };\n\t    Utils.map = function (array, callback) {\n\t        var result = [];\n\t        for (var i = 0; i < array.length; i++) {\n\t            var item = array[i];\n\t            var mappedItem = callback(item);\n\t            result.push(mappedItem);\n\t        }\n\t        return result;\n\t    };\n\t    Utils.mapObject = function (object, callback) {\n\t        var result = [];\n\t        Utils.iterateObject(object, function (key, value) {\n\t            result.push(callback(value));\n\t        });\n\t        return result;\n\t    };\n\t    Utils.forEach = function (array, callback) {\n\t        if (!array) {\n\t            return;\n\t        }\n\t        for (var i = 0; i < array.length; i++) {\n\t            var value = array[i];\n\t            callback(value, i);\n\t        }\n\t    };\n\t    Utils.filter = function (array, callback) {\n\t        var result = [];\n\t        array.forEach(function (item) {\n\t            if (callback(item)) {\n\t                result.push(item);\n\t            }\n\t        });\n\t        return result;\n\t    };\n\t    Utils.mergeDeep = function (object, source) {\n\t        if (this.exists(source)) {\n\t            this.iterateObject(source, function (key, value) {\n\t                var currentValue = object[key];\n\t                var target = source[key];\n\t                if (currentValue == null) {\n\t                    object[key] = value;\n\t                }\n\t                if (typeof currentValue === 'object') {\n\t                    if (target) {\n\t                        Utils.mergeDeep(object[key], target);\n\t                    }\n\t                }\n\t                if (target) {\n\t                    object[key] = target;\n\t                }\n\t            });\n\t        }\n\t    };\n\t    Utils.assign = function (object, source) {\n\t        if (this.exists(source)) {\n\t            this.iterateObject(source, function (key, value) {\n\t                object[key] = value;\n\t            });\n\t        }\n\t    };\n\t    Utils.parseYyyyMmDdToDate = function (yyyyMmDd, separator) {\n\t        try {\n\t            if (!yyyyMmDd)\n\t                return null;\n\t            if (yyyyMmDd.indexOf(separator) === -1)\n\t                return null;\n\t            var fields = yyyyMmDd.split(separator);\n\t            if (fields.length != 3)\n\t                return null;\n\t            return new Date(Number(fields[0]), Number(fields[1]) - 1, Number(fields[2]));\n\t        }\n\t        catch (e) {\n\t            return null;\n\t        }\n\t    };\n\t    Utils.serializeDateToYyyyMmDd = function (date, separator) {\n\t        if (!date)\n\t            return null;\n\t        return date.getFullYear() + separator + Utils.pad(date.getMonth() + 1, 2) + separator + Utils.pad(date.getDate(), 2);\n\t    };\n\t    Utils.pad = function (num, totalStringSize) {\n\t        var asString = num + \"\";\n\t        while (asString.length < totalStringSize)\n\t            asString = \"0\" + asString;\n\t        return asString;\n\t    };\n\t    Utils.pushAll = function (target, source) {\n\t        if (this.missing(source) || this.missing(target)) {\n\t            return;\n\t        }\n\t        source.forEach(function (func) { return target.push(func); });\n\t    };\n\t    Utils.getFunctionParameters = function (func) {\n\t        var fnStr = func.toString().replace(FUNCTION_STRIP_COMMENTS, '');\n\t        var result = fnStr.slice(fnStr.indexOf('(') + 1, fnStr.indexOf(')')).match(FUNCTION_ARGUMENT_NAMES);\n\t        if (result === null) {\n\t            return [];\n\t        }\n\t        else {\n\t            return result;\n\t        }\n\t    };\n\t    Utils.find = function (collection, predicate, value) {\n\t        if (collection === null || collection === undefined) {\n\t            return null;\n\t        }\n\t        if (!Array.isArray(collection)) {\n\t            var objToArray = this.values(collection);\n\t            return this.find(objToArray, predicate, value);\n\t        }\n\t        var collectionAsArray = collection;\n\t        var firstMatchingItem;\n\t        for (var i = 0; i < collectionAsArray.length; i++) {\n\t            var item = collectionAsArray[i];\n\t            if (typeof predicate === 'string') {\n\t                if (item[predicate] === value) {\n\t                    firstMatchingItem = item;\n\t                    break;\n\t                }\n\t            }\n\t            else {\n\t                var callback = predicate;\n\t                if (callback(item)) {\n\t                    firstMatchingItem = item;\n\t                    break;\n\t                }\n\t            }\n\t        }\n\t        return firstMatchingItem;\n\t    };\n\t    Utils.toStrings = function (array) {\n\t        return this.map(array, function (item) {\n\t            if (item === undefined || item === null || !item.toString) {\n\t                return null;\n\t            }\n\t            else {\n\t                return item.toString();\n\t            }\n\t        });\n\t    };\n\t    Utils.iterateArray = function (array, callback) {\n\t        for (var index = 0; index < array.length; index++) {\n\t            var value = array[index];\n\t            callback(value, index);\n\t        }\n\t    };\n\t    //Returns true if it is a DOM node\n\t    //taken from: http://stackoverflow.com/questions/384286/javascript-isdom-how-do-you-check-if-a-javascript-object-is-a-dom-object\n\t    Utils.isNode = function (o) {\n\t        return (typeof Node === \"function\" ? o instanceof Node :\n\t            o && typeof o === \"object\" && typeof o.nodeType === \"number\" && typeof o.nodeName === \"string\");\n\t    };\n\t    //Returns true if it is a DOM element\n\t    //taken from: http://stackoverflow.com/questions/384286/javascript-isdom-how-do-you-check-if-a-javascript-object-is-a-dom-object\n\t    Utils.isElement = function (o) {\n\t        return (typeof HTMLElement === \"function\" ? o instanceof HTMLElement :\n\t            o && typeof o === \"object\" && o !== null && o.nodeType === 1 && typeof o.nodeName === \"string\");\n\t    };\n\t    Utils.isNodeOrElement = function (o) {\n\t        return this.isNode(o) || this.isElement(o);\n\t    };\n\t    //adds all type of change listeners to an element, intended to be a text field\n\t    Utils.addChangeListener = function (element, listener) {\n\t        element.addEventListener(\"changed\", listener);\n\t        element.addEventListener(\"paste\", listener);\n\t        element.addEventListener(\"input\", listener);\n\t        // IE doesn't fire changed for special keys (eg delete, backspace), so need to\n\t        // listen for this further ones\n\t        element.addEventListener(\"keydown\", listener);\n\t        element.addEventListener(\"keyup\", listener);\n\t    };\n\t    //if value is undefined, null or blank, returns null, otherwise returns the value\n\t    Utils.makeNull = function (value) {\n\t        if (value === null || value === undefined || value === \"\") {\n\t            return null;\n\t        }\n\t        else {\n\t            return value;\n\t        }\n\t    };\n\t    Utils.missing = function (value) {\n\t        return !this.exists(value);\n\t    };\n\t    Utils.missingOrEmpty = function (value) {\n\t        return this.missing(value) || value.length === 0;\n\t    };\n\t    Utils.missingOrEmptyObject = function (value) {\n\t        return this.missing(value) || Object.keys(value).length === 0;\n\t    };\n\t    Utils.exists = function (value) {\n\t        if (value === null || value === undefined || value === '') {\n\t            return false;\n\t        }\n\t        else {\n\t            return true;\n\t        }\n\t    };\n\t    Utils.anyExists = function (values) {\n\t        if (values) {\n\t            for (var i = 0; i < values.length; i++) {\n\t                if (this.exists(values[i])) {\n\t                    return true;\n\t                }\n\t            }\n\t        }\n\t        return false;\n\t    };\n\t    Utils.existsAndNotEmpty = function (value) {\n\t        return this.exists(value) && value.length > 0;\n\t    };\n\t    Utils.removeAllChildren = function (node) {\n\t        if (node) {\n\t            while (node.hasChildNodes()) {\n\t                node.removeChild(node.lastChild);\n\t            }\n\t        }\n\t    };\n\t    Utils.removeElement = function (parent, cssSelector) {\n\t        this.removeFromParent(parent.querySelector(cssSelector));\n\t    };\n\t    Utils.removeFromParent = function (node) {\n\t        if (node && node.parentNode) {\n\t            node.parentNode.removeChild(node);\n\t        }\n\t    };\n\t    Utils.isVisible = function (element) {\n\t        return (element.offsetParent !== null);\n\t    };\n\t    /**\n\t     * loads the template and returns it as an element. makes up for no simple way in\n\t     * the dom api to load html directly, eg we cannot do this: document.createElement(template)\n\t     */\n\t    Utils.loadTemplate = function (template) {\n\t        var tempDiv = document.createElement(\"div\");\n\t        tempDiv.innerHTML = template;\n\t        return tempDiv.firstChild;\n\t    };\n\t    Utils.addOrRemoveCssClass = function (element, className, addOrRemove) {\n\t        if (addOrRemove) {\n\t            this.addCssClass(element, className);\n\t        }\n\t        else {\n\t            this.removeCssClass(element, className);\n\t        }\n\t    };\n\t    Utils.callIfPresent = function (func) {\n\t        if (func) {\n\t            func();\n\t        }\n\t    };\n\t    Utils.addCssClass = function (element, className) {\n\t        var _this = this;\n\t        if (!className || className.length === 0) {\n\t            return;\n\t        }\n\t        if (className.indexOf(' ') >= 0) {\n\t            className.split(' ').forEach(function (value) { return _this.addCssClass(element, value); });\n\t            return;\n\t        }\n\t        if (element.classList) {\n\t            element.classList.add(className);\n\t        }\n\t        else {\n\t            if (element.className && element.className.length > 0) {\n\t                var cssClasses = element.className.split(' ');\n\t                if (cssClasses.indexOf(className) < 0) {\n\t                    cssClasses.push(className);\n\t                    element.className = cssClasses.join(' ');\n\t                }\n\t            }\n\t            else {\n\t                element.className = className;\n\t            }\n\t        }\n\t    };\n\t    Utils.containsClass = function (element, className) {\n\t        if (element.classList) {\n\t            // for modern browsers\n\t            return element.classList.contains(className);\n\t        }\n\t        else if (element.className) {\n\t            // for older browsers, check against the string of class names\n\t            // if only one class, can check for exact match\n\t            var onlyClass = element.className === className;\n\t            // if many classes, check for class name, we have to pad with ' ' to stop other\n\t            // class names that are a substring of this class\n\t            var contains = element.className.indexOf(' ' + className + ' ') >= 0;\n\t            // the padding above then breaks when it's the first or last class names\n\t            var startsWithClass = element.className.indexOf(className + ' ') === 0;\n\t            var endsWithClass = element.className.lastIndexOf(' ' + className) === (element.className.length - className.length - 1);\n\t            return onlyClass || contains || startsWithClass || endsWithClass;\n\t        }\n\t        else {\n\t            // if item is not a node\n\t            return false;\n\t        }\n\t    };\n\t    Utils.getElementAttribute = function (element, attributeName) {\n\t        if (element.attributes) {\n\t            if (element.attributes[attributeName]) {\n\t                var attribute = element.attributes[attributeName];\n\t                return attribute.value;\n\t            }\n\t            else {\n\t                return null;\n\t            }\n\t        }\n\t        else {\n\t            return null;\n\t        }\n\t    };\n\t    Utils.offsetHeight = function (element) {\n\t        return element && element.clientHeight ? element.clientHeight : 0;\n\t    };\n\t    Utils.offsetWidth = function (element) {\n\t        return element && element.clientWidth ? element.clientWidth : 0;\n\t    };\n\t    Utils.removeCssClass = function (element, className) {\n\t        if (element.className && element.className.length > 0) {\n\t            var cssClasses = element.className.split(' ');\n\t            var index = cssClasses.indexOf(className);\n\t            if (index >= 0) {\n\t                cssClasses.splice(index, 1);\n\t                element.className = cssClasses.join(' ');\n\t            }\n\t        }\n\t    };\n\t    Utils.removeRepeatsFromArray = function (array, object) {\n\t        if (!array) {\n\t            return;\n\t        }\n\t        for (var index = array.length - 2; index >= 0; index--) {\n\t            var thisOneMatches = array[index] === object;\n\t            var nextOneMatches = array[index + 1] === object;\n\t            if (thisOneMatches && nextOneMatches) {\n\t                array.splice(index + 1, 1);\n\t            }\n\t        }\n\t    };\n\t    Utils.removeFromArray = function (array, object) {\n\t        if (array.indexOf(object) >= 0) {\n\t            array.splice(array.indexOf(object), 1);\n\t        }\n\t    };\n\t    Utils.removeAllFromArray = function (array, toRemove) {\n\t        toRemove.forEach(function (item) {\n\t            if (array.indexOf(item) >= 0) {\n\t                array.splice(array.indexOf(item), 1);\n\t            }\n\t        });\n\t    };\n\t    Utils.insertIntoArray = function (array, object, toIndex) {\n\t        array.splice(toIndex, 0, object);\n\t    };\n\t    Utils.insertArrayIntoArray = function (dest, src, toIndex) {\n\t        if (this.missing(dest) || this.missing(src)) {\n\t            return;\n\t        }\n\t        // put items in backwards, otherwise inserted items end up in reverse order\n\t        for (var i = src.length - 1; i >= 0; i--) {\n\t            var item = src[i];\n\t            this.insertIntoArray(dest, item, toIndex);\n\t        }\n\t    };\n\t    Utils.moveInArray = function (array, objectsToMove, toIndex) {\n\t        var _this = this;\n\t        // first take out it items from the array\n\t        objectsToMove.forEach(function (obj) {\n\t            _this.removeFromArray(array, obj);\n\t        });\n\t        // now add the objects, in same order as provided to us, that means we start at the end\n\t        // as the objects will be pushed to the right as they are inserted\n\t        objectsToMove.slice().reverse().forEach(function (obj) {\n\t            _this.insertIntoArray(array, obj, toIndex);\n\t        });\n\t    };\n\t    Utils.defaultComparator = function (valueA, valueB) {\n\t        var valueAMissing = valueA === null || valueA === undefined;\n\t        var valueBMissing = valueB === null || valueB === undefined;\n\t        if (valueAMissing && valueBMissing) {\n\t            return 0;\n\t        }\n\t        if (valueAMissing) {\n\t            return -1;\n\t        }\n\t        if (valueBMissing) {\n\t            return 1;\n\t        }\n\t        if (typeof valueA === \"string\") {\n\t            try {\n\t                // using local compare also allows chinese comparisons\n\t                return valueA.localeCompare(valueB);\n\t            }\n\t            catch (e) {\n\t                // if something wrong with localeCompare, eg not supported\n\t                // by browser, then just continue without using it\n\t            }\n\t        }\n\t        if (valueA < valueB) {\n\t            return -1;\n\t        }\n\t        else if (valueA > valueB) {\n\t            return 1;\n\t        }\n\t        else {\n\t            return 0;\n\t        }\n\t    };\n\t    Utils.compareArrays = function (array1, array2) {\n\t        if (this.missing(array1) && this.missing(array2)) {\n\t            return true;\n\t        }\n\t        if (this.missing(array1) || this.missing(array2)) {\n\t            return false;\n\t        }\n\t        if (array1.length !== array2.length) {\n\t            return false;\n\t        }\n\t        for (var i = 0; i < array1.length; i++) {\n\t            if (array1[i] !== array2[i]) {\n\t                return false;\n\t            }\n\t        }\n\t        return true;\n\t    };\n\t    Utils.toStringOrNull = function (value) {\n\t        if (this.exists(value) && value.toString) {\n\t            return value.toString();\n\t        }\n\t        else {\n\t            return null;\n\t        }\n\t    };\n\t    Utils.formatWidth = function (width) {\n\t        if (typeof width === \"number\") {\n\t            return width + \"px\";\n\t        }\n\t        else {\n\t            return width;\n\t        }\n\t    };\n\t    Utils.formatNumberTwoDecimalPlacesAndCommas = function (value) {\n\t        if (typeof value !== 'number') {\n\t            return '';\n\t        }\n\t        // took this from: http://blog.tompawlak.org/number-currency-formatting-javascript\n\t        return (Math.round(value * 100) / 100).toString().replace(/(\\d)(?=(\\d{3})+(?!\\d))/g, \"$1,\");\n\t    };\n\t    // the native method number.toLocaleString(undefined, {minimumFractionDigits: 0}) puts in decimal places in IE,\n\t    // so we use this method instead\n\t    Utils.formatNumberCommas = function (value) {\n\t        if (typeof value !== 'number') {\n\t            return '';\n\t        }\n\t        // took this from: http://blog.tompawlak.org/number-currency-formatting-javascript\n\t        return value.toString().replace(/(\\d)(?=(\\d{3})+(?!\\d))/g, \"$1,\");\n\t    };\n\t    Utils.prependDC = function (parent, documentFragment) {\n\t        if (this.exists(parent.firstChild)) {\n\t            parent.insertBefore(documentFragment, parent.firstChild);\n\t        }\n\t        else {\n\t            parent.appendChild(documentFragment);\n\t        }\n\t    };\n\t    // static prepend(parent: HTMLElement, child: HTMLElement): void {\n\t    //     if (this.exists(parent.firstChild)) {\n\t    //         parent.insertBefore(child, parent.firstChild);\n\t    //     } else {\n\t    //         parent.appendChild(child);\n\t    //     }\n\t    // }\n\t    /**\n\t     * If icon provided, use this (either a string, or a function callback).\n\t     * if not, then use the second parameter, which is the svgFactory function\n\t     */\n\t    Utils.createIcon = function (iconName, gridOptionsWrapper, column, svgFactoryFunc) {\n\t        var eResult = document.createElement('span');\n\t        eResult.appendChild(this.createIconNoSpan(iconName, gridOptionsWrapper, column, svgFactoryFunc));\n\t        return eResult;\n\t    };\n\t    Utils.createIconNoSpan = function (iconName, gridOptionsWrapper, column, svgFactoryFunc) {\n\t        var userProvidedIcon;\n\t        // check col for icon first\n\t        if (column && column.getColDef().icons) {\n\t            userProvidedIcon = column.getColDef().icons[iconName];\n\t        }\n\t        // it not in col, try grid options\n\t        if (!userProvidedIcon && gridOptionsWrapper.getIcons()) {\n\t            userProvidedIcon = gridOptionsWrapper.getIcons()[iconName];\n\t        }\n\t        // now if user provided, use it\n\t        if (userProvidedIcon) {\n\t            var rendererResult;\n\t            if (typeof userProvidedIcon === 'function') {\n\t                rendererResult = userProvidedIcon();\n\t            }\n\t            else if (typeof userProvidedIcon === 'string') {\n\t                rendererResult = userProvidedIcon;\n\t            }\n\t            else {\n\t                throw 'icon from grid options needs to be a string or a function';\n\t            }\n\t            if (typeof rendererResult === 'string') {\n\t                return this.loadTemplate(rendererResult);\n\t            }\n\t            else if (this.isNodeOrElement(rendererResult)) {\n\t                return rendererResult;\n\t            }\n\t            else {\n\t                throw 'iconRenderer should return back a string or a dom object';\n\t            }\n\t        }\n\t        else {\n\t            // otherwise we use the built in icon\n\t            if (svgFactoryFunc) {\n\t                return svgFactoryFunc();\n\t            }\n\t            else {\n\t                return null;\n\t            }\n\t        }\n\t    };\n\t    Utils.addStylesToElement = function (eElement, styles) {\n\t        if (!styles) {\n\t            return;\n\t        }\n\t        Object.keys(styles).forEach(function (key) {\n\t            eElement.style[key] = styles[key];\n\t        });\n\t    };\n\t    Utils.isHorizontalScrollShowing = function (element) {\n\t        return element.clientWidth < element.scrollWidth;\n\t    };\n\t    Utils.isVerticalScrollShowing = function (element) {\n\t        return element.clientHeight < element.scrollHeight;\n\t    };\n\t    Utils.getScrollbarWidth = function () {\n\t        var outer = document.createElement(\"div\");\n\t        outer.style.visibility = \"hidden\";\n\t        outer.style.width = \"100px\";\n\t        outer.style.msOverflowStyle = \"scrollbar\"; // needed for WinJS apps\n\t        document.body.appendChild(outer);\n\t        var widthNoScroll = outer.offsetWidth;\n\t        // force scrollbars\n\t        outer.style.overflow = \"scroll\";\n\t        // add innerdiv\n\t        var inner = document.createElement(\"div\");\n\t        inner.style.width = \"100%\";\n\t        outer.appendChild(inner);\n\t        var widthWithScroll = inner.offsetWidth;\n\t        // remove divs\n\t        outer.parentNode.removeChild(outer);\n\t        return widthNoScroll - widthWithScroll;\n\t    };\n\t    Utils.isKeyPressed = function (event, keyToCheck) {\n\t        var pressedKey = event.which || event.keyCode;\n\t        return pressedKey === keyToCheck;\n\t    };\n\t    Utils.setVisible = function (element, visible) {\n\t        this.addOrRemoveCssClass(element, 'ag-hidden', !visible);\n\t    };\n\t    Utils.setHidden = function (element, hidden) {\n\t        this.addOrRemoveCssClass(element, 'ag-visibility-hidden', hidden);\n\t    };\n\t    Utils.isBrowserIE = function () {\n\t        if (this.isIE === undefined) {\n\t            this.isIE = false || !!document.documentMode; // At least IE6\n\t        }\n\t        return this.isIE;\n\t    };\n\t    Utils.isBrowserEdge = function () {\n\t        if (this.isEdge === undefined) {\n\t            this.isEdge = !this.isBrowserIE() && !!window.StyleMedia;\n\t        }\n\t        return this.isEdge;\n\t    };\n\t    Utils.isBrowserSafari = function () {\n\t        if (this.isSafari === undefined) {\n\t            var anyWindow = window;\n\t            // taken from https://github.com/ceolter/ag-grid/issues/550\n\t            this.isSafari = Object.prototype.toString.call(anyWindow.HTMLElement).indexOf('Constructor') > 0\n\t                || (function (p) { return p.toString() === \"[object SafariRemoteNotification]\"; })(!anyWindow.safari || anyWindow.safari.pushNotification);\n\t        }\n\t        return this.isSafari;\n\t    };\n\t    Utils.isBrowserChrome = function () {\n\t        if (this.isChrome === undefined) {\n\t            var anyWindow = window;\n\t            this.isChrome = !!anyWindow.chrome && !!anyWindow.chrome.webstore;\n\t        }\n\t        return this.isChrome;\n\t    };\n\t    Utils.isBrowserFirefox = function () {\n\t        if (this.isFirefox === undefined) {\n\t            var anyWindow = window;\n\t            this.isFirefox = typeof anyWindow.InstallTrigger !== 'undefined';\n\t            ;\n\t        }\n\t        return this.isFirefox;\n\t    };\n\t    // srcElement is only available in IE. In all other browsers it is target\n\t    // http://stackoverflow.com/questions/5301643/how-can-i-make-event-srcelement-work-in-firefox-and-what-does-it-mean\n\t    Utils.getTarget = function (event) {\n\t        var eventNoType = event;\n\t        return eventNoType.target || eventNoType.srcElement;\n\t    };\n\t    // taken from: http://stackoverflow.com/questions/1038727/how-to-get-browser-width-using-javascript-code\n\t    Utils.getBodyWidth = function () {\n\t        if (document.body) {\n\t            return document.body.clientWidth;\n\t        }\n\t        if (window.innerHeight) {\n\t            return window.innerWidth;\n\t        }\n\t        if (document.documentElement && document.documentElement.clientWidth) {\n\t            return document.documentElement.clientWidth;\n\t        }\n\t        return -1;\n\t    };\n\t    // taken from: http://stackoverflow.com/questions/1038727/how-to-get-browser-width-using-javascript-code\n\t    Utils.getBodyHeight = function () {\n\t        if (document.body) {\n\t            return document.body.clientHeight;\n\t        }\n\t        if (window.innerHeight) {\n\t            return window.innerHeight;\n\t        }\n\t        if (document.documentElement && document.documentElement.clientHeight) {\n\t            return document.documentElement.clientHeight;\n\t        }\n\t        return -1;\n\t    };\n\t    Utils.setCheckboxState = function (eCheckbox, state) {\n\t        if (typeof state === 'boolean') {\n\t            eCheckbox.checked = state;\n\t            eCheckbox.indeterminate = false;\n\t        }\n\t        else {\n\t            // isNodeSelected returns back undefined if it's a group and the children\n\t            // are a mix of selected and unselected\n\t            eCheckbox.indeterminate = true;\n\t        }\n\t    };\n\t    Utils.traverseNodesWithKey = function (nodes, callback) {\n\t        var keyParts = [];\n\t        recursiveSearchNodes(nodes);\n\t        function recursiveSearchNodes(nodes) {\n\t            nodes.forEach(function (node) {\n\t                if (node.group) {\n\t                    keyParts.push(node.key);\n\t                    var key = keyParts.join('|');\n\t                    callback(node, key);\n\t                    recursiveSearchNodes(node.childrenAfterGroup);\n\t                    keyParts.pop();\n\t                }\n\t            });\n\t        }\n\t    };\n\t    /**\n\t     * From http://stackoverflow.com/questions/9716468/is-there-any-function-like-isnumeric-in-javascript-to-validate-numbers\n\t     */\n\t    Utils.isNumeric = function (value) {\n\t        return !isNaN(parseFloat(value)) && isFinite(value);\n\t    };\n\t    Utils.escape = function (toEscape) {\n\t        if (toEscape === null)\n\t            return null;\n\t        if (!toEscape.replace)\n\t            return toEscape;\n\t        return toEscape.replace(reUnescapedHtml, function (chr) { return HTML_ESCAPES[chr]; });\n\t    };\n\t    // Taken from here: https://github.com/facebook/fixed-data-table/blob/master/src/vendor_upstream/dom/normalizeWheel.js\n\t    /**\n\t     * Mouse wheel (and 2-finger trackpad) support on the web sucks.  It is\n\t     * complicated, thus this doc is long and (hopefully) detailed enough to answer\n\t     * your questions.\n\t     *\n\t     * If you need to react to the mouse wheel in a predictable way, this code is\n\t     * like your bestest friend. * hugs *\n\t     *\n\t     * As of today, there are 4 DOM event types you can listen to:\n\t     *\n\t     *   'wheel'                -- Chrome(31+), FF(17+), IE(9+)\n\t     *   'mousewheel'           -- Chrome, IE(6+), Opera, Safari\n\t     *   'MozMousePixelScroll'  -- FF(3.5 only!) (2010-2013) -- don't bother!\n\t     *   'DOMMouseScroll'       -- FF(0.9.7+) since 2003\n\t     *\n\t     * So what to do?  The is the best:\n\t     *\n\t     *   normalizeWheel.getEventType();\n\t     *\n\t     * In your event callback, use this code to get sane interpretation of the\n\t     * deltas.  This code will return an object with properties:\n\t     *\n\t     *   spinX   -- normalized spin speed (use for zoom) - x plane\n\t     *   spinY   -- \" - y plane\n\t     *   pixelX  -- normalized distance (to pixels) - x plane\n\t     *   pixelY  -- \" - y plane\n\t     *\n\t     * Wheel values are provided by the browser assuming you are using the wheel to\n\t     * scroll a web page by a number of lines or pixels (or pages).  Values can vary\n\t     * significantly on different platforms and browsers, forgetting that you can\n\t     * scroll at different speeds.  Some devices (like trackpads) emit more events\n\t     * at smaller increments with fine granularity, and some emit massive jumps with\n\t     * linear speed or acceleration.\n\t     *\n\t     * This code does its best to normalize the deltas for you:\n\t     *\n\t     *   - spin is trying to normalize how far the wheel was spun (or trackpad\n\t     *     dragged).  This is super useful for zoom support where you want to\n\t     *     throw away the chunky scroll steps on the PC and make those equal to\n\t     *     the slow and smooth tiny steps on the Mac. Key data: This code tries to\n\t     *     resolve a single slow step on a wheel to 1.\n\t     *\n\t     *   - pixel is normalizing the desired scroll delta in pixel units.  You'll\n\t     *     get the crazy differences between browsers, but at least it'll be in\n\t     *     pixels!\n\t     *\n\t     *   - positive value indicates scrolling DOWN/RIGHT, negative UP/LEFT.  This\n\t     *     should translate to positive value zooming IN, negative zooming OUT.\n\t     *     This matches the newer 'wheel' event.\n\t     *\n\t     * Why are there spinX, spinY (or pixels)?\n\t     *\n\t     *   - spinX is a 2-finger side drag on the trackpad, and a shift + wheel turn\n\t     *     with a mouse.  It results in side-scrolling in the browser by default.\n\t     *\n\t     *   - spinY is what you expect -- it's the classic axis of a mouse wheel.\n\t     *\n\t     *   - I dropped spinZ/pixelZ.  It is supported by the DOM 3 'wheel' event and\n\t     *     probably is by browsers in conjunction with fancy 3D controllers .. but\n\t     *     you know.\n\t     *\n\t     * Implementation info:\n\t     *\n\t     * Examples of 'wheel' event if you scroll slowly (down) by one step with an\n\t     * average mouse:\n\t     *\n\t     *   OS X + Chrome  (mouse)     -    4   pixel delta  (wheelDelta -120)\n\t     *   OS X + Safari  (mouse)     -  N/A   pixel delta  (wheelDelta  -12)\n\t     *   OS X + Firefox (mouse)     -    0.1 line  delta  (wheelDelta  N/A)\n\t     *   Win8 + Chrome  (mouse)     -  100   pixel delta  (wheelDelta -120)\n\t     *   Win8 + Firefox (mouse)     -    3   line  delta  (wheelDelta -120)\n\t     *\n\t     * On the trackpad:\n\t     *\n\t     *   OS X + Chrome  (trackpad)  -    2   pixel delta  (wheelDelta   -6)\n\t     *   OS X + Firefox (trackpad)  -    1   pixel delta  (wheelDelta  N/A)\n\t     *\n\t     * On other/older browsers.. it's more complicated as there can be multiple and\n\t     * also missing delta values.\n\t     *\n\t     * The 'wheel' event is more standard:\n\t     *\n\t     * http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents\n\t     *\n\t     * The basics is that it includes a unit, deltaMode (pixels, lines, pages), and\n\t     * deltaX, deltaY and deltaZ.  Some browsers provide other values to maintain\n\t     * backward compatibility with older events.  Those other values help us\n\t     * better normalize spin speed.  Example of what the browsers provide:\n\t     *\n\t     *                          | event.wheelDelta | event.detail\n\t     *        ------------------+------------------+--------------\n\t     *          Safari v5/OS X  |       -120       |       0\n\t     *          Safari v5/Win7  |       -120       |       0\n\t     *         Chrome v17/OS X  |       -120       |       0\n\t     *         Chrome v17/Win7  |       -120       |       0\n\t     *                IE9/Win7  |       -120       |   undefined\n\t     *         Firefox v4/OS X  |     undefined    |       1\n\t     *         Firefox v4/Win7  |     undefined    |       3\n\t     *\n\t     */\n\t    Utils.normalizeWheel = function (event) {\n\t        var PIXEL_STEP = 10;\n\t        var LINE_HEIGHT = 40;\n\t        var PAGE_HEIGHT = 800;\n\t        // spinX, spinY\n\t        var sX = 0;\n\t        var sY = 0;\n\t        // pixelX, pixelY\n\t        var pX = 0;\n\t        var pY = 0;\n\t        // Legacy\n\t        if ('detail' in event) {\n\t            sY = event.detail;\n\t        }\n\t        if ('wheelDelta' in event) {\n\t            sY = -event.wheelDelta / 120;\n\t        }\n\t        if ('wheelDeltaY' in event) {\n\t            sY = -event.wheelDeltaY / 120;\n\t        }\n\t        if ('wheelDeltaX' in event) {\n\t            sX = -event.wheelDeltaX / 120;\n\t        }\n\t        // side scrolling on FF with DOMMouseScroll\n\t        if ('axis' in event && event.axis === event.HORIZONTAL_AXIS) {\n\t            sX = sY;\n\t            sY = 0;\n\t        }\n\t        pX = sX * PIXEL_STEP;\n\t        pY = sY * PIXEL_STEP;\n\t        if ('deltaY' in event) {\n\t            pY = event.deltaY;\n\t        }\n\t        if ('deltaX' in event) {\n\t            pX = event.deltaX;\n\t        }\n\t        if ((pX || pY) && event.deltaMode) {\n\t            if (event.deltaMode == 1) {\n\t                pX *= LINE_HEIGHT;\n\t                pY *= LINE_HEIGHT;\n\t            }\n\t            else {\n\t                pX *= PAGE_HEIGHT;\n\t                pY *= PAGE_HEIGHT;\n\t            }\n\t        }\n\t        // Fall-back if spin cannot be determined\n\t        if (pX && !sX) {\n\t            sX = (pX < 1) ? -1 : 1;\n\t        }\n\t        if (pY && !sY) {\n\t            sY = (pY < 1) ? -1 : 1;\n\t        }\n\t        return { spinX: sX,\n\t            spinY: sY,\n\t            pixelX: pX,\n\t            pixelY: pY };\n\t    };\n\t    return Utils;\n\t}());\n\texports.Utils = Utils;\n\tvar NumberSequence = (function () {\n\t    function NumberSequence(initValue, step) {\n\t        if (initValue === void 0) { initValue = 0; }\n\t        if (step === void 0) { step = 1; }\n\t        this.nextValue = initValue;\n\t        this.step = step;\n\t    }\n\t    NumberSequence.prototype.next = function () {\n\t        var valToReturn = this.nextValue;\n\t        this.nextValue += this.step;\n\t        return valToReturn;\n\t    };\n\t    return NumberSequence;\n\t}());\n\texports.NumberSequence = NumberSequence;\n\texports._ = Utils;\n\n\n/***/ }),\n/* 10 */\n/***/ (function(module, exports) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar Constants = (function () {\n\t    function Constants() {\n\t    }\n\t    return Constants;\n\t}());\n\tConstants.STEP_EVERYTHING = 0;\n\tConstants.STEP_FILTER = 1;\n\tConstants.STEP_SORT = 2;\n\tConstants.STEP_MAP = 3;\n\tConstants.STEP_AGGREGATE = 4;\n\tConstants.STEP_PIVOT = 5;\n\tConstants.STEP_PAGINATE = 6;\n\tConstants.STEP_SET_HEIGHTS = 7;\n\tConstants.ROW_BUFFER_SIZE = 10;\n\tConstants.LAYOUT_INTERVAL = 500;\n\tConstants.KEY_BACKSPACE = 8;\n\tConstants.KEY_TAB = 9;\n\tConstants.KEY_ENTER = 13;\n\tConstants.KEY_SHIFT = 16;\n\tConstants.KEY_ESCAPE = 27;\n\tConstants.KEY_SPACE = 32;\n\tConstants.KEY_LEFT = 37;\n\tConstants.KEY_UP = 38;\n\tConstants.KEY_RIGHT = 39;\n\tConstants.KEY_DOWN = 40;\n\tConstants.KEY_DELETE = 46;\n\tConstants.KEY_A = 65;\n\tConstants.KEY_C = 67;\n\tConstants.KEY_V = 86;\n\tConstants.KEY_D = 68;\n\tConstants.KEY_F2 = 113;\n\tConstants.KEY_PAGE_UP = 33;\n\tConstants.KEY_PAGE_DOWN = 34;\n\tConstants.KEY_PAGE_HOME = 36;\n\tConstants.KEY_PAGE_END = 35;\n\tConstants.KEY_PAGE_UP_NAME = 'pageUp';\n\tConstants.KEY_PAGE_DOWN_NAME = 'pageDown';\n\tConstants.KEY_PAGE_HOME_NAME = 'home';\n\tConstants.KEY_PAGE_END_NAME = 'end';\n\tConstants.KEY_CTRL_UP_NAME = 'ctrlUp';\n\tConstants.KEY_CTRL_LEFT_NAME = 'ctrlLeft';\n\tConstants.KEY_CTRL_RIGHT_NAME = 'ctrlRight';\n\tConstants.KEY_CTRL_DOWN_NAME = 'ctrlDown';\n\tConstants.ROW_MODEL_TYPE_PAGINATION = 'pagination';\n\tConstants.ROW_MODEL_TYPE_VIRTUAL_DEPRECATED = 'virtual';\n\tConstants.ROW_MODEL_TYPE_INFINITE = 'infinite';\n\tConstants.ROW_MODEL_TYPE_VIEWPORT = 'viewport';\n\tConstants.ROW_MODEL_TYPE_NORMAL = 'normal';\n\tConstants.ROW_MODEL_TYPE_ENTERPRISE = 'enterprise';\n\tConstants.ALWAYS = 'always';\n\tConstants.ONLY_WHEN_GROUPING = 'onlyWhenGrouping';\n\tConstants.FLOATING_TOP = 'top';\n\tConstants.FLOATING_BOTTOM = 'bottom';\n\tConstants.VERTICAL_SCROLL_KEYS_ID = 'verticalScrollKeys';\n\tConstants.HORIZONTAL_SCROLL_KEYS_ID = 'horizontalScrollKeys';\n\tConstants.DIAGONAL_SCROLL_KEYS_ID = 'diagonalScrollKeys';\n\tConstants.VERTICAL_SCROLL_KEYS = {\n\t    id: Constants.VERTICAL_SCROLL_KEYS_ID,\n\t    bindings: [{\n\t            id: Constants.KEY_PAGE_UP_NAME,\n\t            ctlRequired: false,\n\t            altRequired: false,\n\t            keyCode: Constants.KEY_PAGE_UP\n\t        }, {\n\t            id: Constants.KEY_PAGE_DOWN_NAME,\n\t            ctlRequired: false,\n\t            altRequired: false,\n\t            keyCode: Constants.KEY_PAGE_DOWN\n\t        }, {\n\t            id: Constants.KEY_CTRL_UP_NAME,\n\t            ctlRequired: true,\n\t            altRequired: false,\n\t            keyCode: Constants.KEY_UP\n\t        }, {\n\t            id: Constants.KEY_CTRL_DOWN_NAME,\n\t            ctlRequired: true,\n\t            altRequired: false,\n\t            keyCode: Constants.KEY_DOWN\n\t        }]\n\t};\n\tConstants.HORIZONTAL_SCROLL_KEYS = {\n\t    id: Constants.HORIZONTAL_SCROLL_KEYS_ID,\n\t    bindings: [{\n\t            id: Constants.KEY_CTRL_LEFT_NAME,\n\t            ctlRequired: true,\n\t            altRequired: false,\n\t            keyCode: Constants.KEY_LEFT\n\t        }, {\n\t            id: Constants.KEY_CTRL_RIGHT_NAME,\n\t            ctlRequired: true,\n\t            altRequired: false,\n\t            keyCode: Constants.KEY_RIGHT\n\t        }]\n\t};\n\tConstants.DIAGONAL_SCROLL_KEYS = {\n\t    id: Constants.DIAGONAL_SCROLL_KEYS_ID,\n\t    bindings: [{\n\t            id: Constants.KEY_PAGE_HOME_NAME,\n\t            ctlRequired: false,\n\t            altRequired: false,\n\t            keyCode: Constants.KEY_PAGE_HOME\n\t        }, {\n\t            id: Constants.KEY_PAGE_END_NAME,\n\t            ctlRequired: false,\n\t            altRequired: false,\n\t            keyCode: Constants.KEY_PAGE_END\n\t        }]\n\t};\n\texports.Constants = Constants;\n\n\n/***/ }),\n/* 11 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar events_1 = __webpack_require__(12);\n\tvar utils_1 = __webpack_require__(9);\n\tvar ComponentUtil = (function () {\n\t    function ComponentUtil() {\n\t    }\n\t    ComponentUtil.getEventCallbacks = function () {\n\t        if (!ComponentUtil.EVENT_CALLBACKS) {\n\t            ComponentUtil.EVENT_CALLBACKS = [];\n\t            ComponentUtil.EVENTS.forEach(function (eventName) {\n\t                ComponentUtil.EVENT_CALLBACKS.push(ComponentUtil.getCallbackForEvent(eventName));\n\t            });\n\t        }\n\t        return ComponentUtil.EVENT_CALLBACKS;\n\t    };\n\t    ComponentUtil.copyAttributesToGridOptions = function (gridOptions, component) {\n\t        checkForDeprecated(component);\n\t        // create empty grid options if none were passed\n\t        if (typeof gridOptions !== 'object') {\n\t            gridOptions = {};\n\t        }\n\t        // to allow array style lookup in TypeScript, take type away from 'this' and 'gridOptions'\n\t        var pGridOptions = gridOptions;\n\t        // add in all the simple properties\n\t        ComponentUtil.ARRAY_PROPERTIES\n\t            .concat(ComponentUtil.STRING_PROPERTIES)\n\t            .concat(ComponentUtil.OBJECT_PROPERTIES)\n\t            .concat(ComponentUtil.FUNCTION_PROPERTIES)\n\t            .forEach(function (key) {\n\t            if (typeof (component)[key] !== 'undefined') {\n\t                pGridOptions[key] = component[key];\n\t            }\n\t        });\n\t        ComponentUtil.BOOLEAN_PROPERTIES.forEach(function (key) {\n\t            if (typeof (component)[key] !== 'undefined') {\n\t                pGridOptions[key] = ComponentUtil.toBoolean(component[key]);\n\t            }\n\t        });\n\t        ComponentUtil.NUMBER_PROPERTIES.forEach(function (key) {\n\t            if (typeof (component)[key] !== 'undefined') {\n\t                pGridOptions[key] = ComponentUtil.toNumber(component[key]);\n\t            }\n\t        });\n\t        ComponentUtil.getEventCallbacks().forEach(function (funcName) {\n\t            if (typeof (component)[funcName] !== 'undefined') {\n\t                pGridOptions[funcName] = component[funcName];\n\t            }\n\t        });\n\t        return gridOptions;\n\t    };\n\t    ComponentUtil.getCallbackForEvent = function (eventName) {\n\t        if (!eventName || eventName.length < 2) {\n\t            return eventName;\n\t        }\n\t        else {\n\t            return 'on' + eventName[0].toUpperCase() + eventName.substr(1);\n\t        }\n\t    };\n\t    // change this method, the caller should know if it's initialised or not, plus 'initialised'\n\t    // is not relevant for all component types. maybe pass in the api and columnApi instead???\n\t    ComponentUtil.processOnChange = function (changes, gridOptions, api, columnApi) {\n\t        //if (!component._initialised || !changes) { return; }\n\t        if (!changes) {\n\t            return;\n\t        }\n\t        checkForDeprecated(changes);\n\t        // to allow array style lookup in TypeScript, take type away from 'this' and 'gridOptions'\n\t        var pGridOptions = gridOptions;\n\t        // check if any change for the simple types, and if so, then just copy in the new value\n\t        ComponentUtil.ARRAY_PROPERTIES\n\t            .concat(ComponentUtil.OBJECT_PROPERTIES)\n\t            .concat(ComponentUtil.STRING_PROPERTIES)\n\t            .forEach(function (key) {\n\t            if (changes[key]) {\n\t                pGridOptions[key] = changes[key].currentValue;\n\t            }\n\t        });\n\t        ComponentUtil.BOOLEAN_PROPERTIES.forEach(function (key) {\n\t            if (changes[key]) {\n\t                pGridOptions[key] = ComponentUtil.toBoolean(changes[key].currentValue);\n\t            }\n\t        });\n\t        ComponentUtil.NUMBER_PROPERTIES.forEach(function (key) {\n\t            if (changes[key]) {\n\t                pGridOptions[key] = ComponentUtil.toNumber(changes[key].currentValue);\n\t            }\n\t        });\n\t        ComponentUtil.getEventCallbacks().forEach(function (funcName) {\n\t            if (changes[funcName]) {\n\t                pGridOptions[funcName] = changes[funcName].currentValue;\n\t            }\n\t        });\n\t        if (changes.showToolPanel) {\n\t            api.showToolPanel(ComponentUtil.toBoolean(changes.showToolPanel.currentValue));\n\t        }\n\t        if (changes.quickFilterText) {\n\t            api.setQuickFilter(changes.quickFilterText.currentValue);\n\t        }\n\t        if (changes.rowData) {\n\t            api.setRowData(changes.rowData.currentValue);\n\t        }\n\t        if (changes.floatingTopRowData) {\n\t            api.setFloatingTopRowData(changes.floatingTopRowData.currentValue);\n\t        }\n\t        if (changes.floatingBottomRowData) {\n\t            api.setFloatingBottomRowData(changes.floatingBottomRowData.currentValue);\n\t        }\n\t        if (changes.columnDefs) {\n\t            api.setColumnDefs(changes.columnDefs.currentValue);\n\t        }\n\t        if (changes.datasource) {\n\t            api.setDatasource(changes.datasource.currentValue);\n\t        }\n\t        if (changes.headerHeight) {\n\t            api.setHeaderHeight(ComponentUtil.toNumber(changes.headerHeight.currentValue));\n\t        }\n\t        if (changes.paginationPageSize) {\n\t            api.paginationSetPageSize(ComponentUtil.toNumber(changes.paginationPageSize.currentValue));\n\t        }\n\t        if (changes.pivotMode) {\n\t            columnApi.setPivotMode(ComponentUtil.toBoolean(changes.pivotMode.currentValue));\n\t        }\n\t        api.dispatchEvent(events_1.Events.EVENT_COMPONENT_STATE_CHANGED, changes);\n\t    };\n\t    ComponentUtil.toBoolean = function (value) {\n\t        if (typeof value === 'boolean') {\n\t            return value;\n\t        }\n\t        else if (typeof value === 'string') {\n\t            // for boolean, compare to empty String to allow attributes appearing with\n\t            // not value to be treated as 'true'\n\t            return value.toUpperCase() === 'TRUE' || value == '';\n\t        }\n\t        else {\n\t            return false;\n\t        }\n\t    };\n\t    ComponentUtil.toNumber = function (value) {\n\t        if (typeof value === 'number') {\n\t            return value;\n\t        }\n\t        else if (typeof value === 'string') {\n\t            return Number(value);\n\t        }\n\t        else {\n\t            return undefined;\n\t        }\n\t    };\n\t    return ComponentUtil;\n\t}());\n\t// all the events are populated in here AFTER this class (at the bottom of the file).\n\tComponentUtil.EVENTS = [];\n\tComponentUtil.STRING_PROPERTIES = [\n\t    'sortingOrder', 'rowClass', 'rowSelection', 'overlayLoadingTemplate',\n\t    'overlayNoRowsTemplate', 'headerCellTemplate', 'quickFilterText', 'rowModelType',\n\t    'editType'\n\t];\n\tComponentUtil.OBJECT_PROPERTIES = [\n\t    'rowStyle', 'context', 'groupColumnDef', 'localeText', 'icons', 'datasource', 'enterpriseDatasource', 'viewportDatasource',\n\t    'groupRowRendererParams', 'aggFuncs', 'fullWidthCellRendererParams', 'defaultColGroupDef', 'defaultColDef', 'defaultExportParams'\n\t    //,'cellRenderers','cellEditors'\n\t];\n\tComponentUtil.ARRAY_PROPERTIES = [\n\t    'slaveGrids', 'rowData', 'floatingTopRowData', 'floatingBottomRowData', 'columnDefs', 'excelStyles'\n\t];\n\tComponentUtil.NUMBER_PROPERTIES = [\n\t    'rowHeight', 'rowBuffer', 'colWidth', 'headerHeight', 'groupDefaultExpanded',\n\t    'minColWidth', 'maxColWidth', 'viewportRowModelPageSize', 'viewportRowModelBufferSize',\n\t    'layoutInterval', 'autoSizePadding', 'maxPagesInCache', 'maxConcurrentDatasourceRequests',\n\t    'paginationOverflowSize', 'paginationPageSize', 'infiniteBlockSize', 'infiniteInitialRowCount',\n\t    'scrollbarWidth', 'paginationStartPage', 'infiniteBlockSize'\n\t];\n\tComponentUtil.BOOLEAN_PROPERTIES = [\n\t    'toolPanelSuppressRowGroups', 'toolPanelSuppressValues', 'toolPanelSuppressPivots', 'toolPanelSuppressPivotMode',\n\t    'suppressRowClickSelection', 'suppressCellSelection', 'suppressHorizontalScroll', 'debug',\n\t    'enableColResize', 'enableCellExpressions', 'enableSorting', 'enableServerSideSorting',\n\t    'enableFilter', 'enableServerSideFilter', 'angularCompileRows', 'angularCompileFilters',\n\t    'angularCompileHeaders', 'groupSuppressAutoColumn', 'groupSelectsChildren',\n\t    'groupIncludeFooter', 'groupUseEntireRow', 'groupSuppressRow', 'groupSuppressBlankHeader', 'forPrint',\n\t    'suppressMenuHide', 'rowDeselection', 'unSortIcon', 'suppressMultiSort', 'suppressScrollLag',\n\t    'singleClickEdit', 'suppressLoadingOverlay', 'suppressNoRowsOverlay', 'suppressAutoSize',\n\t    'suppressParentsInRowNodes', 'showToolPanel', 'suppressColumnMoveAnimation', 'suppressMovableColumns',\n\t    'suppressFieldDotNotation', 'enableRangeSelection', 'suppressEnterprise', 'rowGroupPanelShow',\n\t    'pivotPanelShow', 'suppressTouch', 'allowContextMenuWithControlKey',\n\t    'suppressContextMenu', 'suppressMenuFilterPanel', 'suppressMenuMainPanel', 'suppressMenuColumnPanel',\n\t    'enableStatusBar', 'rememberGroupStateWhenNewData', 'enableCellChangeFlash', 'suppressDragLeaveHidesColumns',\n\t    'suppressMiddleClickScrolls', 'suppressPreventDefaultOnMouseWheel', 'suppressUseColIdForGroups',\n\t    'suppressCopyRowsToClipboard', 'pivotMode', 'suppressAggFuncInHeader', 'suppressColumnVirtualisation',\n\t    'suppressFocusAfterRefresh', 'functionsPassive', 'functionsReadOnly', 'suppressRowHoverClass',\n\t    'animateRows', 'groupSelectsFiltered', 'groupRemoveSingleChildren', 'enableRtl', 'suppressClickEdit',\n\t    'enableGroupEdit', 'embedFullWidthRows', 'suppressTabbing', 'suppressPaginationPanel', 'floatingFilter',\n\t    'groupHideOpenParents', 'groupMultiAutoColumn', 'pagination', 'stopEditingWhenGridLosesFocus',\n\t    'paginationAutoPageSize', 'suppressScrollOnNewData'\n\t];\n\tComponentUtil.FUNCTION_PROPERTIES = ['headerCellRenderer', 'localeTextFunc', 'groupRowInnerRenderer', 'groupRowInnerRendererFramework',\n\t    'dateComponent', 'dateComponentFramework', 'groupRowRenderer', 'groupRowRendererFramework', 'isScrollLag', 'isExternalFilterPresent',\n\t    'getRowHeight', 'doesExternalFilterPass', 'getRowClass', 'getRowStyle', 'getHeaderCellTemplate', 'traverseNode',\n\t    'getContextMenuItems', 'getMainMenuItems', 'processRowPostCreate', 'processCellForClipboard',\n\t    'getNodeChildDetails', 'groupRowAggNodes', 'getRowNodeId', 'isFullWidthCell', 'fullWidthCellRenderer',\n\t    'fullWidthCellRendererFramework', 'doesDataFlower', 'processSecondaryColDef', 'processSecondaryColGroupDef',\n\t    'getBusinessKeyForNode', 'sendToClipboard', 'navigateToNextCell', 'tabToNextCell',\n\t    'processCellFromClipboard', 'getDocument'];\n\tComponentUtil.ALL_PROPERTIES = ComponentUtil.ARRAY_PROPERTIES\n\t    .concat(ComponentUtil.OBJECT_PROPERTIES)\n\t    .concat(ComponentUtil.STRING_PROPERTIES)\n\t    .concat(ComponentUtil.NUMBER_PROPERTIES)\n\t    .concat(ComponentUtil.FUNCTION_PROPERTIES)\n\t    .concat(ComponentUtil.BOOLEAN_PROPERTIES);\n\texports.ComponentUtil = ComponentUtil;\n\tutils_1.Utils.iterateObject(events_1.Events, function (key, value) {\n\t    ComponentUtil.EVENTS.push(value);\n\t});\n\tfunction checkForDeprecated(changes) {\n\t    if (changes.ready || changes.onReady) {\n\t        console.warn('ag-grid: as of v3.3 ready event is now called gridReady, so the callback should be onGridReady');\n\t    }\n\t    if (changes.rowDeselected || changes.onRowDeselected) {\n\t        console.warn('ag-grid: as of v3.4 rowDeselected no longer exists. Please check the docs.');\n\t    }\n\t}\n\n\n/***/ }),\n/* 12 */\n/***/ (function(module, exports) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar Events = (function () {\n\t    function Events() {\n\t    }\n\t    return Events;\n\t}());\n\t/** Everything has changed with the columns. Either complete new set of columns set, or user called setState()*/\n\tEvents.EVENT_COLUMN_EVERYTHING_CHANGED = 'columnEverythingChanged';\n\t/** User has set in new columns. */\n\tEvents.EVENT_NEW_COLUMNS_LOADED = 'newColumnsLoaded';\n\t/** The pivot mode flag was changed */\n\tEvents.EVENT_COLUMN_PIVOT_MODE_CHANGED = 'columnPivotModeChanged';\n\t/** A row group column was added, removed or order changed. */\n\tEvents.EVENT_COLUMN_ROW_GROUP_CHANGED = 'columnRowGroupChanged';\n\t/** A pivot column was added, removed or order changed. */\n\tEvents.EVENT_COLUMN_PIVOT_CHANGED = 'columnPivotChanged';\n\t/** The list of grid columns has changed. */\n\tEvents.EVENT_GRID_COLUMNS_CHANGED = 'gridColumnsChanged';\n\t/** A value column was added, removed or agg function was changed. */\n\tEvents.EVENT_COLUMN_VALUE_CHANGED = 'columnValueChanged';\n\t/** A column was moved */\n\tEvents.EVENT_COLUMN_MOVED = 'columnMoved';\n\t/** One or more columns was shown / hidden */\n\tEvents.EVENT_COLUMN_VISIBLE = 'columnVisible';\n\t/** One or more columns was pinned / unpinned*/\n\tEvents.EVENT_COLUMN_PINNED = 'columnPinned';\n\t/** A column group was opened / closed */\n\tEvents.EVENT_COLUMN_GROUP_OPENED = 'columnGroupOpened';\n\t/** One or more columns was resized. If just one, the column in the event is set. */\n\tEvents.EVENT_COLUMN_RESIZED = 'columnResized';\n\t/** The list of displayed columns has changed, can result from columns open / close, column move, pivot, group, etc */\n\tEvents.EVENT_DISPLAYED_COLUMNS_CHANGED = 'displayedColumnsChanged';\n\t/** The list of virtual columns has changed, results from viewport changing */\n\tEvents.EVENT_VIRTUAL_COLUMNS_CHANGED = 'virtualColumnsChanged';\n\t/** A row group was opened / closed */\n\tEvents.EVENT_ROW_GROUP_OPENED = 'rowGroupOpened';\n\t/** The client has set new data into the grid */\n\tEvents.EVENT_ROW_DATA_CHANGED = 'rowDataChanged';\n\t/** The client has set new floating data into the grid */\n\tEvents.EVENT_FLOATING_ROW_DATA_CHANGED = 'floatingRowDataChanged';\n\t/** Range selection has changed */\n\tEvents.EVENT_RANGE_SELECTION_CHANGED = 'rangeSelectionChanged';\n\t/** Model was updated - grid updates the drawn rows when this happens */\n\tEvents.EVENT_MODEL_UPDATED = 'modelUpdated';\n\tEvents.EVENT_CELL_CLICKED = 'cellClicked';\n\tEvents.EVENT_CELL_DOUBLE_CLICKED = 'cellDoubleClicked';\n\tEvents.EVENT_CELL_CONTEXT_MENU = 'cellContextMenu';\n\tEvents.EVENT_CELL_VALUE_CHANGED = 'cellValueChanged';\n\tEvents.EVENT_ROW_VALUE_CHANGED = 'rowValueChanged';\n\tEvents.EVENT_CELL_FOCUSED = 'cellFocused';\n\tEvents.EVENT_ROW_SELECTED = 'rowSelected';\n\tEvents.EVENT_SELECTION_CHANGED = 'selectionChanged';\n\tEvents.EVENT_CELL_MOUSE_OVER = 'cellMouseOver';\n\tEvents.EVENT_CELL_MOUSE_OUT = 'cellMouseOut';\n\tEvents.EVENT_COLUMN_HOVER_CHANGED = 'columnHoverChanged';\n\t/** 3 events for filtering. The grid LISTENS for filterChanged, and does the filter here. The before and after\n\t * are for the client, if it wants to do something before or after the filter getting applied. */\n\tEvents.EVENT_BEFORE_FILTER_CHANGED = 'beforeFilterChanged';\n\tEvents.EVENT_FILTER_CHANGED = 'filterChanged';\n\tEvents.EVENT_AFTER_FILTER_CHANGED = 'afterFilterChanged';\n\t/** Filter was change but not applied. Only useful if apply buttons are used in filters. */\n\tEvents.EVENT_FILTER_MODIFIED = 'filterModified';\n\t/** 3 events for sorting. The grid LISTENS for sortChanged, and does the filter here. The before and after\n\t * are for the client, if it wants to do something before or after the sort getting applied. */\n\tEvents.EVENT_BEFORE_SORT_CHANGED = 'beforeSortChanged';\n\tEvents.EVENT_SORT_CHANGED = 'sortChanged';\n\tEvents.EVENT_AFTER_SORT_CHANGED = 'afterSortChanged';\n\t/** A row was removed from the dom, for any reason. Use to clean up resources (if any) used by the row. */\n\tEvents.EVENT_VIRTUAL_ROW_REMOVED = 'virtualRowRemoved';\n\tEvents.EVENT_ROW_CLICKED = 'rowClicked';\n\tEvents.EVENT_ROW_DOUBLE_CLICKED = 'rowDoubleClicked';\n\t/** Gets called once after the grid has finished initialising. */\n\tEvents.EVENT_GRID_READY = 'gridReady';\n\t/** Width of height of the main grid div has changed. Grid listens for this and does layout of grid if it's\n\t * changed, so always filling the space it was given.  */\n\tEvents.EVENT_GRID_SIZE_CHANGED = 'gridSizeChanged';\n\t/** The indexes of the rows rendered has changed, eg user has scrolled to a new vertical position. */\n\tEvents.EVENT_VIEWPORT_CHANGED = 'viewportChanged';\n\t/** A column drag has started, either resizing a column or moving a column. */\n\tEvents.EVENT_DRAG_STARTED = 'dragStarted';\n\t/** A column drag has stopped */\n\tEvents.EVENT_DRAG_STOPPED = 'dragStopped';\n\tEvents.EVENT_ROW_EDITING_STARTED = 'rowEditingStarted';\n\tEvents.EVENT_ROW_EDITING_STOPPED = 'rowEditingStopped';\n\tEvents.EVENT_CELL_EDITING_STARTED = 'cellEditingStarted';\n\tEvents.EVENT_CELL_EDITING_STOPPED = 'cellEditingStopped';\n\t/** Client added a new row. */\n\tEvents.EVENT_ITEMS_ADDED = 'itemsAdded';\n\t/** Client removed a row. */\n\tEvents.EVENT_ITEMS_REMOVED = 'itemsRemoved';\n\t/** Main body of grid has scrolled, either horizontally or vertically */\n\tEvents.EVENT_BODY_SCROLL = 'bodyScroll';\n\t/** All items from here down are used internally by the grid, not intended for external use. */\n\tEvents.EVENT_FLASH_CELLS = 'flashCells';\n\t/** All the events from here down are experimental, should not be documented or used by ag-Grid customers */\n\tEvents.EVENT_PAGINATION_CHANGED = 'paginationChanged';\n\tEvents.EVENT_BODY_HEIGHT_CHANGED = 'bodyHeightChanged';\n\tEvents.DEPRECATED_EVENT_PAGINATION_RESET = 'paginationReset';\n\tEvents.DEPRECATED_EVENT_PAGINATION_PAGE_LOADED = 'paginationPageLoaded';\n\tEvents.DEPRECATED_EVENT_PAGINATION_PAGE_REQUESTED = 'paginationPageRequested';\n\t// not documented, as it's experimental, don't want people with dependencies on this\n\tEvents.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED = 'displayedColumnsWidthChanged';\n\tEvents.EVENT_SCROLL_VISIBILITY_CHANGED = 'scrollVisibilityChanged';\n\tEvents.EVENT_COMPONENT_STATE_CHANGED = 'componentStateChanged';\n\t// these are used for server side group and agg - only used by CS with Viewport Row Model - intention is\n\t// to design these better around server side functions and then release to general public when fully working with\n\t// all the row models.\n\tEvents.EVENT_COLUMN_ROW_GROUP_CHANGE_REQUEST = 'columnRowGroupChangeRequest';\n\tEvents.EVENT_COLUMN_PIVOT_CHANGE_REQUEST = 'columnPivotChangeRequest';\n\tEvents.EVENT_COLUMN_VALUE_CHANGE_REQUEST = 'columnValueChangeRequest';\n\tEvents.EVENT_COLUMN_AGG_FUNC_CHANGE_REQUEST = 'columnAggFuncChangeRequest';\n\texports.Events = Events;\n\n\n/***/ }),\n/* 13 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar csvCreator_1 = __webpack_require__(14);\n\tvar rowRenderer_1 = __webpack_require__(26);\n\tvar headerRenderer_1 = __webpack_require__(86);\n\tvar filterManager_1 = __webpack_require__(48);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar selectionController_1 = __webpack_require__(31);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar gridPanel_1 = __webpack_require__(27);\n\tvar valueService_1 = __webpack_require__(32);\n\tvar masterSlaveService_1 = __webpack_require__(28);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar floatingRowModel_1 = __webpack_require__(29);\n\tvar constants_1 = __webpack_require__(10);\n\tvar context_1 = __webpack_require__(8);\n\tvar gridCore_1 = __webpack_require__(47);\n\tvar sortController_1 = __webpack_require__(61);\n\tvar focusedCellController_1 = __webpack_require__(36);\n\tvar gridCell_1 = __webpack_require__(37);\n\tvar utils_1 = __webpack_require__(9);\n\tvar cellRendererFactory_1 = __webpack_require__(75);\n\tvar cellEditorFactory_1 = __webpack_require__(68);\n\tvar serverPaginationService_1 = __webpack_require__(67);\n\tvar paginationProxy_1 = __webpack_require__(42);\n\tvar GridApi = (function () {\n\t    function GridApi() {\n\t    }\n\t    GridApi.prototype.init = function () {\n\t        switch (this.rowModel.getType()) {\n\t            case constants_1.Constants.ROW_MODEL_TYPE_NORMAL:\n\t            case constants_1.Constants.ROW_MODEL_TYPE_PAGINATION:\n\t                this.inMemoryRowModel = this.rowModel;\n\t                break;\n\t            case constants_1.Constants.ROW_MODEL_TYPE_INFINITE:\n\t            case constants_1.Constants.ROW_MODEL_TYPE_VIRTUAL_DEPRECATED:\n\t                this.infinitePageRowModel = this.rowModel;\n\t                break;\n\t        }\n\t        if (this.gridOptionsWrapper.isPagination()) {\n\t            this.paginationService = this.paginationProxy;\n\t        }\n\t        else {\n\t            this.paginationService = this.serverPaginationService;\n\t        }\n\t    };\n\t    /** Used internally by grid. Not intended to be used by the client. Interface may change between releases. */\n\t    GridApi.prototype.__getMasterSlaveService = function () {\n\t        return this.masterSlaveService;\n\t    };\n\t    GridApi.prototype.getFirstRenderedRow = function () {\n\t        return this.rowRenderer.getFirstVirtualRenderedRow();\n\t    };\n\t    GridApi.prototype.getLastRenderedRow = function () {\n\t        return this.rowRenderer.getLastVirtualRenderedRow();\n\t    };\n\t    GridApi.prototype.getDataAsCsv = function (params) {\n\t        return this.csvCreator.getDataAsCsv(params);\n\t    };\n\t    GridApi.prototype.exportDataAsCsv = function (params) {\n\t        this.csvCreator.exportDataAsCsv(params);\n\t    };\n\t    GridApi.prototype.getDataAsExcel = function (params) {\n\t        if (!this.excelCreator) {\n\t            console.warn('ag-Grid: Excel export is only available in ag-Grid Enterprise');\n\t        }\n\t        return this.excelCreator.getDataAsExcelXml(params);\n\t    };\n\t    GridApi.prototype.exportDataAsExcel = function (params) {\n\t        if (!this.excelCreator) {\n\t            console.warn('ag-Grid: Excel export is only available in ag-Grid Enterprise');\n\t        }\n\t        this.excelCreator.exportDataAsExcel(params);\n\t    };\n\t    GridApi.prototype.setEnterpriseDatasource = function (datasource) {\n\t        if (this.gridOptionsWrapper.isRowModelEnterprise()) {\n\t            // should really have an IEnterpriseRowModel interface, so we are not casting to any\n\t            this.rowModel.setDatasource(datasource);\n\t        }\n\t        else {\n\t            console.warn(\"ag-Grid: you can only use an enterprise datasource when gridOptions.rowModelType is '\" + constants_1.Constants.ROW_MODEL_TYPE_ENTERPRISE + \"'\");\n\t        }\n\t    };\n\t    GridApi.prototype.setDatasource = function (datasource) {\n\t        if (this.gridOptionsWrapper.isRowModelServerPagination()) {\n\t            this.serverPaginationService.setDatasource(datasource);\n\t        }\n\t        else if (this.gridOptionsWrapper.isRowModelInfinite()) {\n\t            this.rowModel.setDatasource(datasource);\n\t        }\n\t        else {\n\t            console.warn(\"ag-Grid: you can only use a datasource when gridOptions.rowModelType is '\" + constants_1.Constants.ROW_MODEL_TYPE_INFINITE + \"'\");\n\t        }\n\t    };\n\t    GridApi.prototype.setViewportDatasource = function (viewportDatasource) {\n\t        if (this.gridOptionsWrapper.isRowModelViewport()) {\n\t            // this is bad coding, because it's using an interface that's exposed in the enterprise.\n\t            // really we should create an interface in the core for viewportDatasource and let\n\t            // the enterprise implement it, rather than casting to 'any' here\n\t            this.rowModel.setViewportDatasource(viewportDatasource);\n\t        }\n\t        else {\n\t            console.warn(\"ag-Grid: you can only use a viewport datasource when gridOptions.rowModelType is '\" + constants_1.Constants.ROW_MODEL_TYPE_VIEWPORT + \"'\");\n\t        }\n\t    };\n\t    GridApi.prototype.setRowData = function (rowData) {\n\t        if (this.gridOptionsWrapper.isRowModelDefault()) {\n\t            this.selectionController.reset();\n\t            this.inMemoryRowModel.setRowData(rowData, true);\n\t        }\n\t        else {\n\t            console.log('cannot call setRowData unless using normal row model');\n\t        }\n\t    };\n\t    GridApi.prototype.setFloatingTopRowData = function (rows) {\n\t        this.floatingRowModel.setFloatingTopRowData(rows);\n\t    };\n\t    GridApi.prototype.setFloatingBottomRowData = function (rows) {\n\t        this.floatingRowModel.setFloatingBottomRowData(rows);\n\t    };\n\t    GridApi.prototype.getFloatingTopRowCount = function () {\n\t        return this.floatingRowModel.getFloatingTopRowCount();\n\t    };\n\t    GridApi.prototype.getFloatingBottomRowCount = function () {\n\t        return this.floatingRowModel.getFloatingBottomRowCount();\n\t    };\n\t    GridApi.prototype.getFloatingTopRow = function (index) {\n\t        return this.floatingRowModel.getFloatingTopRow(index);\n\t    };\n\t    GridApi.prototype.getFloatingBottomRow = function (index) {\n\t        return this.floatingRowModel.getFloatingBottomRow(index);\n\t    };\n\t    GridApi.prototype.setColumnDefs = function (colDefs) {\n\t        this.columnController.setColumnDefs(colDefs);\n\t    };\n\t    GridApi.prototype.refreshRows = function (rowNodes) {\n\t        this.rowRenderer.refreshRows(rowNodes);\n\t    };\n\t    GridApi.prototype.refreshCells = function (rowNodes, cols, animate) {\n\t        if (animate === void 0) { animate = false; }\n\t        this.rowRenderer.refreshCells(rowNodes, cols, animate);\n\t    };\n\t    GridApi.prototype.rowDataChanged = function (rows) {\n\t        console.log('ag-Grid: rowDataChanged is deprecated, either call refreshView() to refresh everything, or call rowNode.setRowData(newData) to set value on a particular node');\n\t        this.refreshView();\n\t    };\n\t    GridApi.prototype.refreshView = function () {\n\t        this.rowRenderer.refreshView();\n\t    };\n\t    GridApi.prototype.setFunctionsReadOnly = function (readOnly) {\n\t        this.gridOptionsWrapper.setProperty('functionsReadOnly', readOnly);\n\t    };\n\t    GridApi.prototype.softRefreshView = function () {\n\t        this.rowRenderer.softRefreshView();\n\t    };\n\t    GridApi.prototype.refreshGroupRows = function () {\n\t        this.rowRenderer.refreshGroupRows();\n\t    };\n\t    GridApi.prototype.refreshHeader = function () {\n\t        // need to review this - the refreshHeader should also refresh all icons in the header\n\t        this.headerRenderer.refreshHeader();\n\t    };\n\t    GridApi.prototype.isAnyFilterPresent = function () {\n\t        return this.filterManager.isAnyFilterPresent();\n\t    };\n\t    GridApi.prototype.isAdvancedFilterPresent = function () {\n\t        return this.filterManager.isAdvancedFilterPresent();\n\t    };\n\t    GridApi.prototype.isQuickFilterPresent = function () {\n\t        return this.filterManager.isQuickFilterPresent();\n\t    };\n\t    GridApi.prototype.getModel = function () {\n\t        return this.rowModel;\n\t    };\n\t    GridApi.prototype.onGroupExpandedOrCollapsed = function (deprecated_refreshFromIndex) {\n\t        if (utils_1.Utils.missing(this.inMemoryRowModel)) {\n\t            console.log('ag-Grid: cannot call onGroupExpandedOrCollapsed unless using normal row model');\n\t        }\n\t        if (utils_1.Utils.exists(deprecated_refreshFromIndex)) {\n\t            console.log('ag-Grid: api.onGroupExpandedOrCollapsed - refreshFromIndex parameter is not longer used, the grid will refresh all rows');\n\t        }\n\t        // we don't really want the user calling this if one one rowNode was expanded, instead they should be\n\t        // calling rowNode.setExpanded(boolean) - this way we do a 'keepRenderedRows=false' so that the whole\n\t        // grid gets refreshed again - otherwise the row with the rowNodes that were changed won't get updated,\n\t        // and thus the expand icon in the group cell won't get 'opened' or 'closed'.\n\t        this.inMemoryRowModel.refreshModel({ step: constants_1.Constants.STEP_MAP });\n\t    };\n\t    GridApi.prototype.refreshInMemoryRowModel = function () {\n\t        if (utils_1.Utils.missing(this.inMemoryRowModel)) {\n\t            console.log('cannot call refreshInMemoryRowModel unless using normal row model');\n\t        }\n\t        this.inMemoryRowModel.refreshModel({ step: constants_1.Constants.STEP_EVERYTHING });\n\t    };\n\t    GridApi.prototype.expandAll = function () {\n\t        if (utils_1.Utils.missing(this.inMemoryRowModel)) {\n\t            console.log('cannot call expandAll unless using normal row model');\n\t        }\n\t        this.inMemoryRowModel.expandOrCollapseAll(true);\n\t    };\n\t    GridApi.prototype.collapseAll = function () {\n\t        if (utils_1.Utils.missing(this.inMemoryRowModel)) {\n\t            console.log('cannot call collapseAll unless using normal row model');\n\t        }\n\t        this.inMemoryRowModel.expandOrCollapseAll(false);\n\t    };\n\t    GridApi.prototype.addVirtualRowListener = function (eventName, rowIndex, callback) {\n\t        if (typeof eventName !== 'string') {\n\t            console.log('ag-Grid: addVirtualRowListener is deprecated, please use addRenderedRowListener.');\n\t        }\n\t        this.addRenderedRowListener(eventName, rowIndex, callback);\n\t    };\n\t    GridApi.prototype.addRenderedRowListener = function (eventName, rowIndex, callback) {\n\t        if (eventName === 'virtualRowRemoved') {\n\t            console.log('ag-Grid: event virtualRowRemoved is deprecated, now called renderedRowRemoved');\n\t            eventName = '' +\n\t                '';\n\t        }\n\t        if (eventName === 'virtualRowSelected') {\n\t            console.log('ag-Grid: event virtualRowSelected is deprecated, to register for individual row ' +\n\t                'selection events, add a listener directly to the row node.');\n\t        }\n\t        this.rowRenderer.addRenderedRowListener(eventName, rowIndex, callback);\n\t    };\n\t    GridApi.prototype.setQuickFilter = function (newFilter) {\n\t        this.filterManager.setQuickFilter(newFilter);\n\t    };\n\t    GridApi.prototype.selectIndex = function (index, tryMulti, suppressEvents) {\n\t        console.log('ag-Grid: do not use api for selection, call node.setSelected(value) instead');\n\t        if (suppressEvents) {\n\t            console.log('ag-Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');\n\t        }\n\t        this.selectionController.selectIndex(index, tryMulti);\n\t    };\n\t    GridApi.prototype.deselectIndex = function (index, suppressEvents) {\n\t        if (suppressEvents === void 0) { suppressEvents = false; }\n\t        console.log('ag-Grid: do not use api for selection, call node.setSelected(value) instead');\n\t        if (suppressEvents) {\n\t            console.log('ag-Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');\n\t        }\n\t        this.selectionController.deselectIndex(index);\n\t    };\n\t    GridApi.prototype.selectNode = function (node, tryMulti, suppressEvents) {\n\t        if (tryMulti === void 0) { tryMulti = false; }\n\t        if (suppressEvents === void 0) { suppressEvents = false; }\n\t        console.log('ag-Grid: API for selection is deprecated, call node.setSelected(value) instead');\n\t        if (suppressEvents) {\n\t            console.log('ag-Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');\n\t        }\n\t        node.setSelectedParams({ newValue: true, clearSelection: !tryMulti });\n\t    };\n\t    GridApi.prototype.deselectNode = function (node, suppressEvents) {\n\t        if (suppressEvents === void 0) { suppressEvents = false; }\n\t        console.log('ag-Grid: API for selection is deprecated, call node.setSelected(value) instead');\n\t        if (suppressEvents) {\n\t            console.log('ag-Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');\n\t        }\n\t        node.setSelectedParams({ newValue: false });\n\t    };\n\t    GridApi.prototype.selectAll = function () {\n\t        this.selectionController.selectAllRowNodes();\n\t    };\n\t    GridApi.prototype.deselectAll = function () {\n\t        this.selectionController.deselectAllRowNodes();\n\t    };\n\t    GridApi.prototype.selectAllFiltered = function () {\n\t        this.selectionController.selectAllRowNodes(true);\n\t    };\n\t    GridApi.prototype.deselectAllFiltered = function () {\n\t        this.selectionController.deselectAllRowNodes(true);\n\t    };\n\t    GridApi.prototype.recomputeAggregates = function () {\n\t        if (utils_1.Utils.missing(this.inMemoryRowModel)) {\n\t            console.log('cannot call recomputeAggregates unless using normal row model');\n\t        }\n\t        this.inMemoryRowModel.refreshModel({ step: constants_1.Constants.STEP_AGGREGATE });\n\t    };\n\t    GridApi.prototype.sizeColumnsToFit = function () {\n\t        if (this.gridOptionsWrapper.isForPrint()) {\n\t            console.warn('ag-grid: sizeColumnsToFit does not work when forPrint=true');\n\t            return;\n\t        }\n\t        this.gridPanel.sizeColumnsToFit();\n\t    };\n\t    GridApi.prototype.showLoadingOverlay = function () {\n\t        this.gridPanel.showLoadingOverlay();\n\t    };\n\t    GridApi.prototype.showNoRowsOverlay = function () {\n\t        this.gridPanel.showNoRowsOverlay();\n\t    };\n\t    GridApi.prototype.hideOverlay = function () {\n\t        this.gridPanel.hideOverlay();\n\t    };\n\t    GridApi.prototype.isNodeSelected = function (node) {\n\t        console.log('ag-Grid: no need to call api.isNodeSelected(), just call node.isSelected() instead');\n\t        return node.isSelected();\n\t    };\n\t    GridApi.prototype.getSelectedNodesById = function () {\n\t        console.error('ag-Grid: since version 3.4, getSelectedNodesById no longer exists, use getSelectedNodes() instead');\n\t        return null;\n\t    };\n\t    GridApi.prototype.getSelectedNodes = function () {\n\t        return this.selectionController.getSelectedNodes();\n\t    };\n\t    GridApi.prototype.getSelectedRows = function () {\n\t        return this.selectionController.getSelectedRows();\n\t    };\n\t    GridApi.prototype.getBestCostNodeSelection = function () {\n\t        return this.selectionController.getBestCostNodeSelection();\n\t    };\n\t    GridApi.prototype.getRenderedNodes = function () {\n\t        return this.rowRenderer.getRenderedNodes();\n\t    };\n\t    GridApi.prototype.ensureColIndexVisible = function (index) {\n\t        console.warn('ag-Grid: ensureColIndexVisible(index) no longer supported, use ensureColumnVisible(colKey) instead.');\n\t    };\n\t    GridApi.prototype.ensureColumnVisible = function (key) {\n\t        this.gridPanel.ensureColumnVisible(key);\n\t    };\n\t    GridApi.prototype.ensureIndexVisible = function (index) {\n\t        this.gridPanel.ensureIndexVisible(index);\n\t    };\n\t    GridApi.prototype.ensureNodeVisible = function (comparator) {\n\t        this.gridCore.ensureNodeVisible(comparator);\n\t    };\n\t    GridApi.prototype.forEachLeafNode = function (callback) {\n\t        if (utils_1.Utils.missing(this.inMemoryRowModel)) {\n\t            console.log('cannot call forEachNodeAfterFilter unless using normal row model');\n\t        }\n\t        this.inMemoryRowModel.forEachLeafNode(callback);\n\t    };\n\t    GridApi.prototype.forEachNode = function (callback) {\n\t        this.rowModel.forEachNode(callback);\n\t    };\n\t    GridApi.prototype.forEachNodeAfterFilter = function (callback) {\n\t        if (utils_1.Utils.missing(this.inMemoryRowModel)) {\n\t            console.log('cannot call forEachNodeAfterFilter unless using normal row model');\n\t        }\n\t        this.inMemoryRowModel.forEachNodeAfterFilter(callback);\n\t    };\n\t    GridApi.prototype.forEachNodeAfterFilterAndSort = function (callback) {\n\t        if (utils_1.Utils.missing(this.inMemoryRowModel)) {\n\t            console.log('cannot call forEachNodeAfterFilterAndSort unless using normal row model');\n\t        }\n\t        this.inMemoryRowModel.forEachNodeAfterFilterAndSort(callback);\n\t    };\n\t    GridApi.prototype.getFilterApiForColDef = function (colDef) {\n\t        console.warn('ag-grid API method getFilterApiForColDef deprecated, use getFilterApi instead');\n\t        return this.getFilterInstance(colDef);\n\t    };\n\t    GridApi.prototype.getFilterInstance = function (key) {\n\t        var column = this.columnController.getPrimaryColumn(key);\n\t        if (column) {\n\t            return this.filterManager.getFilterComponent(column);\n\t        }\n\t    };\n\t    GridApi.prototype.getFilterApi = function (key) {\n\t        console.warn('ag-Grid: getFilterApi is deprecated, use getFilterInstance instead');\n\t        return this.getFilterInstance(key);\n\t    };\n\t    GridApi.prototype.destroyFilter = function (key) {\n\t        var column = this.columnController.getPrimaryColumn(key);\n\t        if (column) {\n\t            return this.filterManager.destroyFilter(column);\n\t        }\n\t    };\n\t    GridApi.prototype.getColumnDef = function (key) {\n\t        var column = this.columnController.getPrimaryColumn(key);\n\t        if (column) {\n\t            return column.getColDef();\n\t        }\n\t        else {\n\t            return null;\n\t        }\n\t    };\n\t    GridApi.prototype.onFilterChanged = function () {\n\t        this.filterManager.onFilterChanged();\n\t    };\n\t    GridApi.prototype.onSortChanged = function () {\n\t        this.sortController.onSortChanged();\n\t    };\n\t    GridApi.prototype.setSortModel = function (sortModel) {\n\t        this.sortController.setSortModel(sortModel);\n\t    };\n\t    GridApi.prototype.getSortModel = function () {\n\t        return this.sortController.getSortModel();\n\t    };\n\t    GridApi.prototype.setFilterModel = function (model) {\n\t        this.filterManager.setFilterModel(model);\n\t    };\n\t    GridApi.prototype.getFilterModel = function () {\n\t        return this.filterManager.getFilterModel();\n\t    };\n\t    GridApi.prototype.getFocusedCell = function () {\n\t        return this.focusedCellController.getFocusedCell();\n\t    };\n\t    GridApi.prototype.clearFocusedCell = function () {\n\t        return this.focusedCellController.clearFocusedCell();\n\t    };\n\t    GridApi.prototype.setFocusedCell = function (rowIndex, colKey, floating) {\n\t        this.focusedCellController.setFocusedCell(rowIndex, colKey, floating, true);\n\t    };\n\t    GridApi.prototype.setHeaderHeight = function (headerHeight) {\n\t        this.gridOptionsWrapper.setProperty(gridOptionsWrapper_1.GridOptionsWrapper.PROP_HEADER_HEIGHT, headerHeight);\n\t    };\n\t    GridApi.prototype.showToolPanel = function (show) {\n\t        this.gridCore.showToolPanel(show);\n\t    };\n\t    GridApi.prototype.isToolPanelShowing = function () {\n\t        return this.gridCore.isToolPanelShowing();\n\t    };\n\t    GridApi.prototype.doLayout = function () {\n\t        this.gridCore.doLayout();\n\t    };\n\t    GridApi.prototype.resetRowHeights = function () {\n\t        if (utils_1.Utils.exists(this.inMemoryRowModel)) {\n\t            this.inMemoryRowModel.resetRowHeights();\n\t        }\n\t    };\n\t    GridApi.prototype.onRowHeightChanged = function () {\n\t        if (utils_1.Utils.exists(this.inMemoryRowModel)) {\n\t            this.inMemoryRowModel.onRowHeightChanged();\n\t        }\n\t    };\n\t    GridApi.prototype.getValue = function (colKey, rowNode) {\n\t        var column = this.columnController.getPrimaryColumn(colKey);\n\t        if (utils_1.Utils.missing(column)) {\n\t            column = this.columnController.getGridColumn(colKey);\n\t        }\n\t        if (utils_1.Utils.missing(column)) {\n\t            return null;\n\t        }\n\t        else {\n\t            return this.valueService.getValue(column, rowNode);\n\t        }\n\t    };\n\t    GridApi.prototype.addEventListener = function (eventType, listener) {\n\t        this.eventService.addEventListener(eventType, listener);\n\t    };\n\t    GridApi.prototype.addGlobalListener = function (listener) {\n\t        this.eventService.addGlobalListener(listener);\n\t    };\n\t    GridApi.prototype.removeEventListener = function (eventType, listener) {\n\t        this.eventService.removeEventListener(eventType, listener);\n\t    };\n\t    GridApi.prototype.removeGlobalListener = function (listener) {\n\t        this.eventService.removeGlobalListener(listener);\n\t    };\n\t    GridApi.prototype.dispatchEvent = function (eventType, event) {\n\t        this.eventService.dispatchEvent(eventType, event);\n\t    };\n\t    GridApi.prototype.destroy = function () {\n\t        this.context.destroy();\n\t    };\n\t    GridApi.prototype.resetQuickFilter = function () {\n\t        this.rowModel.forEachNode(function (node) { return node.quickFilterAggregateText = null; });\n\t    };\n\t    GridApi.prototype.getRangeSelections = function () {\n\t        if (this.rangeController) {\n\t            return this.rangeController.getCellRanges();\n\t        }\n\t        else {\n\t            console.warn('ag-Grid: cell range selection is only available in ag-Grid Enterprise');\n\t            return null;\n\t        }\n\t    };\n\t    GridApi.prototype.addRangeSelection = function (rangeSelection) {\n\t        if (!this.rangeController) {\n\t            console.warn('ag-Grid: cell range selection is only available in ag-Grid Enterprise');\n\t        }\n\t        this.rangeController.addRange(rangeSelection);\n\t    };\n\t    GridApi.prototype.clearRangeSelection = function () {\n\t        if (!this.rangeController) {\n\t            console.warn('ag-Grid: cell range selection is only available in ag-Grid Enterprise');\n\t        }\n\t        this.rangeController.clearSelection();\n\t    };\n\t    GridApi.prototype.copySelectedRowsToClipboard = function (includeHeader, columnKeys) {\n\t        if (!this.clipboardService) {\n\t            console.warn('ag-Grid: clipboard is only available in ag-Grid Enterprise');\n\t        }\n\t        this.clipboardService.copySelectedRowsToClipboard(includeHeader, columnKeys);\n\t    };\n\t    GridApi.prototype.copySelectedRangeToClipboard = function (includeHeader) {\n\t        if (!this.clipboardService) {\n\t            console.warn('ag-Grid: clipboard is only available in ag-Grid Enterprise');\n\t        }\n\t        this.clipboardService.copySelectedRangeToClipboard(includeHeader);\n\t    };\n\t    GridApi.prototype.copySelectedRangeDown = function () {\n\t        if (!this.clipboardService) {\n\t            console.warn('ag-Grid: clipboard is only available in ag-Grid Enterprise');\n\t        }\n\t        this.clipboardService.copyRangeDown();\n\t    };\n\t    GridApi.prototype.showColumnMenuAfterButtonClick = function (colKey, buttonElement) {\n\t        var column = this.columnController.getPrimaryColumn(colKey);\n\t        this.menuFactory.showMenuAfterButtonClick(column, buttonElement);\n\t    };\n\t    GridApi.prototype.showColumnMenuAfterMouseClick = function (colKey, mouseEvent) {\n\t        var column = this.columnController.getPrimaryColumn(colKey);\n\t        this.menuFactory.showMenuAfterMouseEvent(column, mouseEvent);\n\t    };\n\t    GridApi.prototype.tabToNextCell = function () {\n\t        return this.rowRenderer.tabToNextCell(false);\n\t    };\n\t    GridApi.prototype.tabToPreviousCell = function () {\n\t        return this.rowRenderer.tabToNextCell(true);\n\t    };\n\t    GridApi.prototype.stopEditing = function (cancel) {\n\t        if (cancel === void 0) { cancel = false; }\n\t        this.rowRenderer.stopEditing(cancel);\n\t    };\n\t    GridApi.prototype.startEditingCell = function (params) {\n\t        var column = this.columnController.getGridColumn(params.colKey);\n\t        if (!column) {\n\t            console.warn(\"ag-Grid: no column found for \" + params.colKey);\n\t            return;\n\t        }\n\t        var gridCellDef = { rowIndex: params.rowIndex, floating: null, column: column };\n\t        var gridCell = new gridCell_1.GridCell(gridCellDef);\n\t        this.gridPanel.ensureIndexVisible(params.rowIndex);\n\t        this.rowRenderer.startEditingCell(gridCell, params.keyPress, params.charPress);\n\t    };\n\t    GridApi.prototype.addAggFunc = function (key, aggFunc) {\n\t        if (this.aggFuncService) {\n\t            this.aggFuncService.addAggFunc(key, aggFunc);\n\t        }\n\t    };\n\t    GridApi.prototype.addAggFuncs = function (aggFuncs) {\n\t        if (this.aggFuncService) {\n\t            this.aggFuncService.addAggFuncs(aggFuncs);\n\t        }\n\t    };\n\t    GridApi.prototype.clearAggFuncs = function () {\n\t        if (this.aggFuncService) {\n\t            this.aggFuncService.clear();\n\t        }\n\t    };\n\t    GridApi.prototype.insertItemsAtIndex = function (index, items, skipRefresh) {\n\t        if (skipRefresh === void 0) { skipRefresh = false; }\n\t        this.rowModel.insertItemsAtIndex(index, items, skipRefresh);\n\t    };\n\t    GridApi.prototype.removeItems = function (rowNodes, skipRefresh) {\n\t        if (skipRefresh === void 0) { skipRefresh = false; }\n\t        this.rowModel.removeItems(rowNodes, skipRefresh);\n\t    };\n\t    GridApi.prototype.addItems = function (items, skipRefresh) {\n\t        if (skipRefresh === void 0) { skipRefresh = false; }\n\t        this.rowModel.addItems(items, skipRefresh);\n\t    };\n\t    GridApi.prototype.refreshVirtualPageCache = function () {\n\t        console.warn('ag-Grid: refreshVirtualPageCache() is now called refreshInfinitePageCache(), please call refreshInfinitePageCache() instead');\n\t        this.refreshInfinitePageCache();\n\t    };\n\t    GridApi.prototype.refreshInfinitePageCache = function () {\n\t        if (this.infinitePageRowModel) {\n\t            this.infinitePageRowModel.refreshCache();\n\t        }\n\t        else {\n\t            console.warn(\"ag-Grid: api.refreshVirtualPageCache is only available when rowModelType='virtual'.\");\n\t        }\n\t    };\n\t    GridApi.prototype.purgeVirtualPageCache = function () {\n\t        console.warn('ag-Grid: purgeVirtualPageCache() is now called purgeInfinitePageCache(), please call purgeInfinitePageCache() instead');\n\t        this.purgeInfinitePageCache();\n\t    };\n\t    GridApi.prototype.purgeInfinitePageCache = function () {\n\t        if (this.infinitePageRowModel) {\n\t            this.infinitePageRowModel.purgeCache();\n\t        }\n\t        else {\n\t            console.warn(\"ag-Grid: api.refreshVirtualPageCache is only available when rowModelType='virtual'.\");\n\t        }\n\t    };\n\t    GridApi.prototype.getVirtualRowCount = function () {\n\t        console.warn('ag-Grid: getVirtualRowCount() is now called getInfiniteRowCount(), please call getInfiniteRowCount() instead');\n\t        return this.getInfiniteRowCount();\n\t    };\n\t    GridApi.prototype.getInfiniteRowCount = function () {\n\t        if (this.infinitePageRowModel) {\n\t            return this.infinitePageRowModel.getVirtualRowCount();\n\t        }\n\t        else {\n\t            console.warn(\"ag-Grid: api.getVirtualRowCount is only available when rowModelType='virtual'.\");\n\t        }\n\t    };\n\t    GridApi.prototype.isMaxRowFound = function () {\n\t        if (this.infinitePageRowModel) {\n\t            return this.infinitePageRowModel.isMaxRowFound();\n\t        }\n\t        else {\n\t            console.warn(\"ag-Grid: api.isMaxRowFound is only available when rowModelType='virtual'.\");\n\t        }\n\t    };\n\t    GridApi.prototype.setVirtualRowCount = function (rowCount, maxRowFound) {\n\t        console.warn('ag-Grid: setVirtualRowCount() is now called setInfiniteRowCount(), please call setInfiniteRowCount() instead');\n\t        this.setInfiniteRowCount(rowCount, maxRowFound);\n\t    };\n\t    GridApi.prototype.setInfiniteRowCount = function (rowCount, maxRowFound) {\n\t        if (this.infinitePageRowModel) {\n\t            this.infinitePageRowModel.setVirtualRowCount(rowCount, maxRowFound);\n\t        }\n\t        else {\n\t            console.warn(\"ag-Grid: api.setVirtualRowCount is only available when rowModelType='virtual'.\");\n\t        }\n\t    };\n\t    GridApi.prototype.getVirtualPageState = function () {\n\t        console.warn('ag-Grid: getVirtualPageState() is now called getInfinitePageState(), please call getInfinitePageState() instead');\n\t        return this.getInfinitePageState();\n\t    };\n\t    GridApi.prototype.getInfinitePageState = function () {\n\t        if (this.infinitePageRowModel) {\n\t            return this.infinitePageRowModel.getPageState();\n\t        }\n\t        else {\n\t            console.warn(\"ag-Grid: api.getVirtualPageState is only available when rowModelType='virtual'.\");\n\t        }\n\t    };\n\t    GridApi.prototype.checkGridSize = function () {\n\t        this.gridPanel.setBodyAndHeaderHeights();\n\t    };\n\t    GridApi.prototype.paginationIsLastPageFound = function () {\n\t        return this.paginationService.isLastPageFound();\n\t    };\n\t    GridApi.prototype.paginationGetPageSize = function () {\n\t        return this.paginationService.getPageSize();\n\t    };\n\t    GridApi.prototype.paginationSetPageSize = function (size) {\n\t        this.gridOptionsWrapper.setProperty('paginationPageSize', size);\n\t    };\n\t    GridApi.prototype.paginationGetCurrentPage = function () {\n\t        return this.paginationService.getCurrentPage();\n\t    };\n\t    GridApi.prototype.paginationGetTotalPages = function () {\n\t        return this.paginationService.getTotalPages();\n\t    };\n\t    GridApi.prototype.paginationGetRowCount = function () {\n\t        return this.paginationService.getTotalRowCount();\n\t    };\n\t    GridApi.prototype.paginationGoToNextPage = function () {\n\t        this.paginationService.goToNextPage();\n\t    };\n\t    GridApi.prototype.paginationGoToPreviousPage = function () {\n\t        this.paginationService.goToPreviousPage();\n\t    };\n\t    GridApi.prototype.paginationGoToFirstPage = function () {\n\t        this.paginationService.goToFirstPage();\n\t    };\n\t    GridApi.prototype.paginationGoToLastPage = function () {\n\t        this.paginationService.goToLastPage();\n\t    };\n\t    GridApi.prototype.paginationGoToPage = function (page) {\n\t        this.paginationService.goToPage(page);\n\t    };\n\t    return GridApi;\n\t}());\n\t__decorate([\n\t    context_1.Autowired('csvCreator'),\n\t    __metadata(\"design:type\", csvCreator_1.CsvCreator)\n\t], GridApi.prototype, \"csvCreator\", void 0);\n\t__decorate([\n\t    context_1.Optional('excelCreator'),\n\t    __metadata(\"design:type\", Object)\n\t], GridApi.prototype, \"excelCreator\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridCore'),\n\t    __metadata(\"design:type\", gridCore_1.GridCore)\n\t], GridApi.prototype, \"gridCore\", void 0);\n\t__decorate([\n\t    context_1.Autowired('rowRenderer'),\n\t    __metadata(\"design:type\", rowRenderer_1.RowRenderer)\n\t], GridApi.prototype, \"rowRenderer\", void 0);\n\t__decorate([\n\t    context_1.Autowired('headerRenderer'),\n\t    __metadata(\"design:type\", headerRenderer_1.HeaderRenderer)\n\t], GridApi.prototype, \"headerRenderer\", void 0);\n\t__decorate([\n\t    context_1.Autowired('filterManager'),\n\t    __metadata(\"design:type\", filterManager_1.FilterManager)\n\t], GridApi.prototype, \"filterManager\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", columnController_1.ColumnController)\n\t], GridApi.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('selectionController'),\n\t    __metadata(\"design:type\", selectionController_1.SelectionController)\n\t], GridApi.prototype, \"selectionController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], GridApi.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridPanel'),\n\t    __metadata(\"design:type\", gridPanel_1.GridPanel)\n\t], GridApi.prototype, \"gridPanel\", void 0);\n\t__decorate([\n\t    context_1.Autowired('valueService'),\n\t    __metadata(\"design:type\", valueService_1.ValueService)\n\t], GridApi.prototype, \"valueService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('masterSlaveService'),\n\t    __metadata(\"design:type\", masterSlaveService_1.MasterSlaveService)\n\t], GridApi.prototype, \"masterSlaveService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], GridApi.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('floatingRowModel'),\n\t    __metadata(\"design:type\", floatingRowModel_1.FloatingRowModel)\n\t], GridApi.prototype, \"floatingRowModel\", void 0);\n\t__decorate([\n\t    context_1.Autowired('context'),\n\t    __metadata(\"design:type\", context_1.Context)\n\t], GridApi.prototype, \"context\", void 0);\n\t__decorate([\n\t    context_1.Autowired('rowModel'),\n\t    __metadata(\"design:type\", Object)\n\t], GridApi.prototype, \"rowModel\", void 0);\n\t__decorate([\n\t    context_1.Autowired('sortController'),\n\t    __metadata(\"design:type\", sortController_1.SortController)\n\t], GridApi.prototype, \"sortController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('serverPaginationService'),\n\t    __metadata(\"design:type\", serverPaginationService_1.ServerPaginationService)\n\t], GridApi.prototype, \"serverPaginationService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('paginationProxy'),\n\t    __metadata(\"design:type\", paginationProxy_1.PaginationProxy)\n\t], GridApi.prototype, \"paginationProxy\", void 0);\n\t__decorate([\n\t    context_1.Autowired('focusedCellController'),\n\t    __metadata(\"design:type\", focusedCellController_1.FocusedCellController)\n\t], GridApi.prototype, \"focusedCellController\", void 0);\n\t__decorate([\n\t    context_1.Optional('rangeController'),\n\t    __metadata(\"design:type\", Object)\n\t], GridApi.prototype, \"rangeController\", void 0);\n\t__decorate([\n\t    context_1.Optional('clipboardService'),\n\t    __metadata(\"design:type\", Object)\n\t], GridApi.prototype, \"clipboardService\", void 0);\n\t__decorate([\n\t    context_1.Optional('aggFuncService'),\n\t    __metadata(\"design:type\", Object)\n\t], GridApi.prototype, \"aggFuncService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('menuFactory'),\n\t    __metadata(\"design:type\", Object)\n\t], GridApi.prototype, \"menuFactory\", void 0);\n\t__decorate([\n\t    context_1.Autowired('cellRendererFactory'),\n\t    __metadata(\"design:type\", cellRendererFactory_1.CellRendererFactory)\n\t], GridApi.prototype, \"cellRendererFactory\", void 0);\n\t__decorate([\n\t    context_1.Autowired('cellEditorFactory'),\n\t    __metadata(\"design:type\", cellEditorFactory_1.CellEditorFactory)\n\t], GridApi.prototype, \"cellEditorFactory\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], GridApi.prototype, \"init\", null);\n\tGridApi = __decorate([\n\t    context_1.Bean('gridApi')\n\t], GridApi);\n\texports.GridApi = GridApi;\n\n\n/***/ }),\n/* 14 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar context_1 = __webpack_require__(8);\n\tvar gridSerializer_1 = __webpack_require__(15);\n\tvar downloader_1 = __webpack_require__(105);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar valueService_1 = __webpack_require__(32);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar LINE_SEPARATOR = '\\r\\n';\n\tvar CsvSerializingSession = (function (_super) {\n\t    __extends(CsvSerializingSession, _super);\n\t    function CsvSerializingSession(columnController, valueService, gridOptionsWrapper, processCellCallback, processHeaderCallback, suppressQuotes, columnSeparator) {\n\t        var _this = _super.call(this, columnController, valueService, gridOptionsWrapper, processCellCallback, processHeaderCallback) || this;\n\t        _this.suppressQuotes = suppressQuotes;\n\t        _this.columnSeparator = columnSeparator;\n\t        _this.result = '';\n\t        _this.lineOpened = false;\n\t        return _this;\n\t    }\n\t    CsvSerializingSession.prototype.prepare = function (columnsToExport) {\n\t    };\n\t    CsvSerializingSession.prototype.addCustomHeader = function (customHeader) {\n\t        if (!customHeader)\n\t            return;\n\t        this.result += customHeader + LINE_SEPARATOR;\n\t    };\n\t    CsvSerializingSession.prototype.addCustomFooter = function (customFooter) {\n\t        if (!customFooter)\n\t            return;\n\t        this.result += customFooter + LINE_SEPARATOR;\n\t    };\n\t    CsvSerializingSession.prototype.onNewHeaderGroupingRow = function () {\n\t        if (this.lineOpened)\n\t            this.result += LINE_SEPARATOR;\n\t        return {\n\t            onColumn: this.onNewHeaderGroupingRowColumn.bind(this)\n\t        };\n\t    };\n\t    CsvSerializingSession.prototype.onNewHeaderGroupingRowColumn = function (header, index, span) {\n\t        if (index != 0) {\n\t            this.result += this.columnSeparator;\n\t        }\n\t        this.result += header;\n\t        for (var i = 1; i <= span; i++) {\n\t            this.result += this.columnSeparator + this.putInQuotes(\"\", this.suppressQuotes);\n\t        }\n\t        this.lineOpened = true;\n\t    };\n\t    CsvSerializingSession.prototype.onNewHeaderRow = function () {\n\t        if (this.lineOpened)\n\t            this.result += LINE_SEPARATOR;\n\t        return {\n\t            onColumn: this.onNewHeaderRowColumn.bind(this)\n\t        };\n\t    };\n\t    CsvSerializingSession.prototype.onNewHeaderRowColumn = function (column, index, node) {\n\t        if (index != 0) {\n\t            this.result += this.columnSeparator;\n\t        }\n\t        this.result += this.putInQuotes(this.extractHeaderValue(column), this.suppressQuotes);\n\t        this.lineOpened = true;\n\t    };\n\t    CsvSerializingSession.prototype.onNewBodyRow = function () {\n\t        if (this.lineOpened)\n\t            this.result += LINE_SEPARATOR;\n\t        return {\n\t            onColumn: this.onNewBodyRowColumn.bind(this)\n\t        };\n\t    };\n\t    CsvSerializingSession.prototype.onNewBodyRowColumn = function (column, index, node) {\n\t        if (index != 0) {\n\t            this.result += this.columnSeparator;\n\t        }\n\t        this.result += this.putInQuotes(this.extractRowCellValue(column, index, node), this.suppressQuotes);\n\t        this.lineOpened = true;\n\t    };\n\t    CsvSerializingSession.prototype.putInQuotes = function (value, suppressQuotes) {\n\t        if (suppressQuotes) {\n\t            return value;\n\t        }\n\t        if (value === null || value === undefined) {\n\t            return '\"\"';\n\t        }\n\t        var stringValue;\n\t        if (typeof value === 'string') {\n\t            stringValue = value;\n\t        }\n\t        else if (typeof value.toString === 'function') {\n\t            stringValue = value.toString();\n\t        }\n\t        else {\n\t            console.warn('unknown value type during csv conversion');\n\t            stringValue = '';\n\t        }\n\t        // replace each \" with \"\" (ie two sets of double quotes is how to do double quotes in csv)\n\t        var valueEscaped = stringValue.replace(/\"/g, \"\\\"\\\"\");\n\t        return '\"' + valueEscaped + '\"';\n\t    };\n\t    CsvSerializingSession.prototype.parse = function () {\n\t        return this.result;\n\t    };\n\t    return CsvSerializingSession;\n\t}(gridSerializer_1.BaseGridSerializingSession));\n\texports.CsvSerializingSession = CsvSerializingSession;\n\tvar CsvCreator = (function () {\n\t    function CsvCreator() {\n\t    }\n\t    CsvCreator.prototype.exportDataAsCsv = function (params) {\n\t        var fileNamePresent = params && params.fileName && params.fileName.length !== 0;\n\t        var fileName = fileNamePresent ? params.fileName : 'export.csv';\n\t        var dataAsCsv = this.getDataAsCsv(params);\n\t        this.downloader.download(fileName, dataAsCsv, \"text/csv;charset=utf-8;\");\n\t        return dataAsCsv;\n\t    };\n\t    CsvCreator.prototype.getDataAsCsv = function (params) {\n\t        return this.gridSerializer.serialize(new CsvSerializingSession(this.columnController, this.valueService, this.gridOptionsWrapper, params ? params.processCellCallback : null, params ? params.processHeaderCallback : null, params && params.suppressQuotes, (params && params.columnSeparator) || ','), params);\n\t    };\n\t    return CsvCreator;\n\t}());\n\t__decorate([\n\t    context_1.Autowired('downloader'),\n\t    __metadata(\"design:type\", downloader_1.Downloader)\n\t], CsvCreator.prototype, \"downloader\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridSerializer'),\n\t    __metadata(\"design:type\", gridSerializer_1.GridSerializer)\n\t], CsvCreator.prototype, \"gridSerializer\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", columnController_1.ColumnController)\n\t], CsvCreator.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('valueService'),\n\t    __metadata(\"design:type\", valueService_1.ValueService)\n\t], CsvCreator.prototype, \"valueService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], CsvCreator.prototype, \"gridOptionsWrapper\", void 0);\n\tCsvCreator = __decorate([\n\t    context_1.Bean('csvCreator')\n\t], CsvCreator);\n\texports.CsvCreator = CsvCreator;\n\n\n/***/ }),\n/* 15 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar context_1 = __webpack_require__(8);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar constants_1 = __webpack_require__(10);\n\tvar floatingRowModel_1 = __webpack_require__(29);\n\tvar utils_1 = __webpack_require__(9);\n\tvar selectionController_1 = __webpack_require__(31);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar displayedGroupCreator_1 = __webpack_require__(24);\n\tvar balancedColumnTreeBuilder_1 = __webpack_require__(22);\n\tvar groupInstanceIdCreator_1 = __webpack_require__(102);\n\tvar columnGroup_1 = __webpack_require__(17);\n\tvar BaseGridSerializingSession = (function () {\n\t    function BaseGridSerializingSession(columnController, valueService, gridOptionsWrapper, processCellCallback, processHeaderCallback, cellAndHeaderEscaper) {\n\t        this.columnController = columnController;\n\t        this.valueService = valueService;\n\t        this.gridOptionsWrapper = gridOptionsWrapper;\n\t        this.processCellCallback = processCellCallback;\n\t        this.processHeaderCallback = processHeaderCallback;\n\t        this.cellAndHeaderEscaper = cellAndHeaderEscaper;\n\t    }\n\t    BaseGridSerializingSession.prototype.extractHeaderValue = function (column) {\n\t        var nameForCol = this.getHeaderName(this.processHeaderCallback, column);\n\t        if (nameForCol === null || nameForCol === undefined) {\n\t            nameForCol = '';\n\t        }\n\t        return this.cellAndHeaderEscaper ? this.cellAndHeaderEscaper(nameForCol) : nameForCol;\n\t    };\n\t    BaseGridSerializingSession.prototype.extractRowCellValue = function (column, index, node) {\n\t        var isRowGrouping = this.columnController.getRowGroupColumns().length > 0;\n\t        var valueForCell;\n\t        if (node.group && isRowGrouping && index === 0) {\n\t            valueForCell = this.createValueForGroupNode(node);\n\t        }\n\t        else {\n\t            valueForCell = this.valueService.getValue(column, node);\n\t        }\n\t        valueForCell = this.processCell(node, column, valueForCell, this.processCellCallback);\n\t        if (valueForCell === null || valueForCell === undefined) {\n\t            valueForCell = '';\n\t        }\n\t        return this.cellAndHeaderEscaper ? this.cellAndHeaderEscaper(valueForCell) : valueForCell;\n\t    };\n\t    BaseGridSerializingSession.prototype.getHeaderName = function (callback, column) {\n\t        if (callback) {\n\t            return callback({\n\t                column: column,\n\t                api: this.gridOptionsWrapper.getApi(),\n\t                columnApi: this.gridOptionsWrapper.getColumnApi(),\n\t                context: this.gridOptionsWrapper.getContext()\n\t            });\n\t        }\n\t        else {\n\t            return this.columnController.getDisplayNameForColumn(column, 'csv', true);\n\t        }\n\t    };\n\t    BaseGridSerializingSession.prototype.createValueForGroupNode = function (node) {\n\t        var keys = [node.key];\n\t        while (node.parent) {\n\t            node = node.parent;\n\t            keys.push(node.key);\n\t        }\n\t        return keys.reverse().join(' -> ');\n\t    };\n\t    BaseGridSerializingSession.prototype.processCell = function (rowNode, column, value, processCellCallback) {\n\t        if (processCellCallback) {\n\t            return processCellCallback({\n\t                column: column,\n\t                node: rowNode,\n\t                value: value,\n\t                api: this.gridOptionsWrapper.getApi(),\n\t                columnApi: this.gridOptionsWrapper.getColumnApi(),\n\t                context: this.gridOptionsWrapper.getContext()\n\t            });\n\t        }\n\t        else {\n\t            return value;\n\t        }\n\t    };\n\t    return BaseGridSerializingSession;\n\t}());\n\texports.BaseGridSerializingSession = BaseGridSerializingSession;\n\tvar GridSerializer = (function () {\n\t    function GridSerializer() {\n\t    }\n\t    GridSerializer.prototype.serialize = function (gridSerializingSession, userParams) {\n\t        var baseParams = this.gridOptionsWrapper.getDefaultExportParams();\n\t        var params = {};\n\t        utils_1.Utils.assign(params, baseParams);\n\t        utils_1.Utils.assign(params, userParams);\n\t        var dontSkipRows = function () { return false; };\n\t        var skipGroups = params && params.skipGroups;\n\t        var skipHeader = params && params.skipHeader;\n\t        var columnGroups = params && params.columnGroups;\n\t        var skipFooters = params && params.skipFooters;\n\t        var skipFloatingTop = params && params.skipFloatingTop;\n\t        var skipFloatingBottom = params && params.skipFloatingBottom;\n\t        var includeCustomHeader = params && params.customHeader;\n\t        var includeCustomFooter = params && params.customFooter;\n\t        var allColumns = params && params.allColumns;\n\t        var onlySelected = params && params.onlySelected;\n\t        var columnKeys = params && params.columnKeys;\n\t        var onlySelectedAllPages = params && params.onlySelectedAllPages;\n\t        var rowSkipper = (params && params.shouldRowBeSkipped) || dontSkipRows;\n\t        var api = this.gridOptionsWrapper.getApi();\n\t        var context = this.gridOptionsWrapper.getContext();\n\t        // when in pivot mode, we always render cols on screen, never 'all columns'\n\t        var isPivotMode = this.columnController.isPivotMode();\n\t        var rowModelNormal = this.rowModel.getType() === constants_1.Constants.ROW_MODEL_TYPE_NORMAL;\n\t        var onlySelectedNonStandardModel = !rowModelNormal && onlySelected;\n\t        // we can only export if it's a normal row model - unless we are exporting\n\t        // selected only, as this way we don't use the selected nodes rather than\n\t        // the row model to get the rows\n\t        if (!rowModelNormal && !onlySelected) {\n\t            console.log('ag-Grid: getDataAsCsv is only available for standard row model');\n\t            return '';\n\t        }\n\t        var inMemoryRowModel = this.rowModel;\n\t        var columnsToExport;\n\t        if (utils_1.Utils.existsAndNotEmpty(columnKeys)) {\n\t            columnsToExport = this.columnController.getGridColumns(columnKeys);\n\t        }\n\t        else if (allColumns && !isPivotMode) {\n\t            columnsToExport = this.columnController.getAllPrimaryColumns();\n\t        }\n\t        else {\n\t            columnsToExport = this.columnController.getAllDisplayedColumns();\n\t        }\n\t        if (!columnsToExport || columnsToExport.length === 0) {\n\t            return '';\n\t        }\n\t        gridSerializingSession.prepare(columnsToExport);\n\t        if (includeCustomHeader) {\n\t            gridSerializingSession.addCustomHeader(params.customHeader);\n\t        }\n\t        // first pass, put in the header names of the cols\n\t        if (!skipHeader || columnGroups) {\n\t            var groupInstanceIdCreator = new groupInstanceIdCreator_1.GroupInstanceIdCreator();\n\t            var displayedGroups = this.displayedGroupCreator.createDisplayedGroups(columnsToExport, this.columnController.getGridBalancedTree(), groupInstanceIdCreator);\n\t            if (columnGroups && displayedGroups.length > 0 && displayedGroups[0] instanceof columnGroup_1.ColumnGroup) {\n\t                var gridRowIterator_1 = gridSerializingSession.onNewHeaderGroupingRow();\n\t                var columnIndex_1 = 0;\n\t                displayedGroups.forEach(function (it) {\n\t                    var casted = it;\n\t                    gridRowIterator_1.onColumn(casted.getDefinition().headerName, columnIndex_1++, casted.getChildren().length - 1);\n\t                });\n\t            }\n\t            if (!skipHeader) {\n\t                var gridRowIterator_2 = gridSerializingSession.onNewHeaderRow();\n\t                columnsToExport.forEach(function (column, index) {\n\t                    gridRowIterator_2.onColumn(column, index, null);\n\t                });\n\t            }\n\t        }\n\t        this.floatingRowModel.forEachFloatingTopRow(processRow);\n\t        if (isPivotMode) {\n\t            inMemoryRowModel.forEachPivotNode(processRow);\n\t        }\n\t        else {\n\t            // onlySelectedAllPages: user doing pagination and wants selected items from\n\t            // other pages, so cannot use the standard row model as it won't have rows from\n\t            // other pages.\n\t            // onlySelectedNonStandardModel: if user wants selected in non standard row model\n\t            // (eg viewport) then again rowmodel cannot be used, so need to use selected instead.\n\t            if (onlySelectedAllPages || onlySelectedNonStandardModel) {\n\t                var selectedNodes = this.selectionController.getSelectedNodes();\n\t                selectedNodes.forEach(function (node) {\n\t                    processRow(node);\n\t                });\n\t            }\n\t            else {\n\t                // here is everything else - including standard row model and selected. we don't use\n\t                // the selection model even when just using selected, so that the result is the order\n\t                // of the rows appearing on the screen.\n\t                inMemoryRowModel.forEachNodeAfterFilterAndSort(processRow);\n\t            }\n\t        }\n\t        this.floatingRowModel.forEachFloatingBottomRow(processRow);\n\t        if (includeCustomFooter) {\n\t            gridSerializingSession.addCustomFooter(params.customFooter);\n\t        }\n\t        function processRow(node) {\n\t            if (skipGroups && node.group) {\n\t                return;\n\t            }\n\t            if (skipFooters && node.footer) {\n\t                return;\n\t            }\n\t            if (onlySelected && !node.isSelected()) {\n\t                return;\n\t            }\n\t            if (skipFloatingTop && node.floating === 'top') {\n\t                return;\n\t            }\n\t            if (skipFloatingBottom && node.floating === 'bottom') {\n\t                return;\n\t            }\n\t            // if we are in pivotMode, then the grid will show the root node only\n\t            // if it's not a leaf group\n\t            var nodeIsRootNode = node.level === -1;\n\t            if (nodeIsRootNode && !node.leafGroup) {\n\t                return;\n\t            }\n\t            var shouldRowBeSkipped = rowSkipper({\n\t                node: node,\n\t                api: api,\n\t                context: context\n\t            });\n\t            if (shouldRowBeSkipped)\n\t                return;\n\t            var rowAccumulator = gridSerializingSession.onNewBodyRow();\n\t            columnsToExport.forEach(function (column, index) {\n\t                rowAccumulator.onColumn(column, index, node);\n\t            });\n\t        }\n\t        return gridSerializingSession.parse();\n\t    };\n\t    return GridSerializer;\n\t}());\n\t__decorate([\n\t    context_1.Autowired('displayedGroupCreator'),\n\t    __metadata(\"design:type\", displayedGroupCreator_1.DisplayedGroupCreator)\n\t], GridSerializer.prototype, \"displayedGroupCreator\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", columnController_1.ColumnController)\n\t], GridSerializer.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('rowModel'),\n\t    __metadata(\"design:type\", Object)\n\t], GridSerializer.prototype, \"rowModel\", void 0);\n\t__decorate([\n\t    context_1.Autowired('floatingRowModel'),\n\t    __metadata(\"design:type\", floatingRowModel_1.FloatingRowModel)\n\t], GridSerializer.prototype, \"floatingRowModel\", void 0);\n\t__decorate([\n\t    context_1.Autowired('selectionController'),\n\t    __metadata(\"design:type\", selectionController_1.SelectionController)\n\t], GridSerializer.prototype, \"selectionController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('balancedColumnTreeBuilder'),\n\t    __metadata(\"design:type\", balancedColumnTreeBuilder_1.BalancedColumnTreeBuilder)\n\t], GridSerializer.prototype, \"balancedColumnTreeBuilder\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], GridSerializer.prototype, \"gridOptionsWrapper\", void 0);\n\tGridSerializer = __decorate([\n\t    context_1.Bean(\"gridSerializer\")\n\t], GridSerializer);\n\texports.GridSerializer = GridSerializer;\n\tvar RowType;\n\t(function (RowType) {\n\t    RowType[RowType[\"HEADER_GROUPING\"] = 0] = \"HEADER_GROUPING\";\n\t    RowType[RowType[\"HEADER\"] = 1] = \"HEADER\";\n\t    RowType[RowType[\"BODY\"] = 2] = \"BODY\";\n\t})(RowType = exports.RowType || (exports.RowType = {}));\n\n\n/***/ }),\n/* 16 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar __param = (this && this.__param) || function (paramIndex, decorator) {\n\t    return function (target, key) { decorator(target, key, paramIndex); }\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar utils_1 = __webpack_require__(9);\n\tvar columnGroup_1 = __webpack_require__(17);\n\tvar column_1 = __webpack_require__(18);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar expressionService_1 = __webpack_require__(21);\n\tvar balancedColumnTreeBuilder_1 = __webpack_require__(22);\n\tvar displayedGroupCreator_1 = __webpack_require__(24);\n\tvar autoWidthCalculator_1 = __webpack_require__(25);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar columnUtils_1 = __webpack_require__(19);\n\tvar logger_1 = __webpack_require__(7);\n\tvar events_1 = __webpack_require__(12);\n\tvar columnChangeEvent_1 = __webpack_require__(101);\n\tvar originalColumnGroup_1 = __webpack_require__(20);\n\tvar groupInstanceIdCreator_1 = __webpack_require__(102);\n\tvar context_1 = __webpack_require__(8);\n\tvar gridPanel_1 = __webpack_require__(27);\n\tvar columnAnimationService_1 = __webpack_require__(65);\n\tvar autoGroupColService_1 = __webpack_require__(103);\n\tvar ColumnApi = (function () {\n\t    function ColumnApi() {\n\t    }\n\t    ColumnApi.prototype.sizeColumnsToFit = function (gridWidth) { this._columnController.sizeColumnsToFit(gridWidth); };\n\t    ColumnApi.prototype.setColumnGroupOpened = function (group, newValue, instanceId) { this._columnController.setColumnGroupOpened(group, newValue, instanceId); };\n\t    ColumnApi.prototype.getColumnGroup = function (name, instanceId) { return this._columnController.getColumnGroup(name, instanceId); };\n\t    ColumnApi.prototype.getDisplayNameForColumn = function (column, location) { return this._columnController.getDisplayNameForColumn(column, location); };\n\t    ColumnApi.prototype.getDisplayNameForColumnGroup = function (columnGroup, location) { return this._columnController.getDisplayNameForColumnGroup(columnGroup, location); };\n\t    ColumnApi.prototype.getColumn = function (key) { return this._columnController.getPrimaryColumn(key); };\n\t    ColumnApi.prototype.setColumnState = function (columnState) { return this._columnController.setColumnState(columnState); };\n\t    ColumnApi.prototype.getColumnState = function () { return this._columnController.getColumnState(); };\n\t    ColumnApi.prototype.resetColumnState = function () { this._columnController.resetColumnState(); };\n\t    ColumnApi.prototype.isPinning = function () { return this._columnController.isPinningLeft() || this._columnController.isPinningRight(); };\n\t    ColumnApi.prototype.isPinningLeft = function () { return this._columnController.isPinningLeft(); };\n\t    ColumnApi.prototype.isPinningRight = function () { return this._columnController.isPinningRight(); };\n\t    ColumnApi.prototype.getDisplayedColAfter = function (col) { return this._columnController.getDisplayedColAfter(col); };\n\t    ColumnApi.prototype.getDisplayedColBefore = function (col) { return this._columnController.getDisplayedColBefore(col); };\n\t    ColumnApi.prototype.setColumnVisible = function (key, visible) { this._columnController.setColumnVisible(key, visible); };\n\t    ColumnApi.prototype.setColumnsVisible = function (keys, visible) { this._columnController.setColumnsVisible(keys, visible); };\n\t    ColumnApi.prototype.setColumnPinned = function (key, pinned) { this._columnController.setColumnPinned(key, pinned); };\n\t    ColumnApi.prototype.setColumnsPinned = function (keys, pinned) { this._columnController.setColumnsPinned(keys, pinned); };\n\t    ColumnApi.prototype.getAllColumns = function () { return this._columnController.getAllPrimaryColumns(); };\n\t    ColumnApi.prototype.getAllGridColumns = function () { return this._columnController.getAllGridColumns(); };\n\t    ColumnApi.prototype.getDisplayedLeftColumns = function () { return this._columnController.getDisplayedLeftColumns(); };\n\t    ColumnApi.prototype.getDisplayedCenterColumns = function () { return this._columnController.getDisplayedCenterColumns(); };\n\t    ColumnApi.prototype.getDisplayedRightColumns = function () { return this._columnController.getDisplayedRightColumns(); };\n\t    ColumnApi.prototype.getAllDisplayedColumns = function () { return this._columnController.getAllDisplayedColumns(); };\n\t    ColumnApi.prototype.getAllDisplayedVirtualColumns = function () { return this._columnController.getAllDisplayedVirtualColumns(); };\n\t    ColumnApi.prototype.moveColumn = function (key, toIndex) {\n\t        if (typeof key === 'number') {\n\t            // moveColumn used to take indexes, so this is advising user who hasn't moved to new method name\n\t            console.log('ag-Grid: you are using moveColumn(fromIndex, toIndex) - moveColumn takes a column key and a destination index, not two indexes, to move with indexes use moveColumnByIndex(from,to) instead');\n\t            this._columnController.moveColumnByIndex(key, toIndex);\n\t        }\n\t        else {\n\t            this._columnController.moveColumn(key, toIndex);\n\t        }\n\t    };\n\t    ColumnApi.prototype.moveColumnByIndex = function (fromIndex, toIndex) { this._columnController.moveColumnByIndex(fromIndex, toIndex); };\n\t    ColumnApi.prototype.moveColumns = function (columnsToMoveKeys, toIndex) { this._columnController.moveColumns(columnsToMoveKeys, toIndex); };\n\t    ColumnApi.prototype.moveRowGroupColumn = function (fromIndex, toIndex) { this._columnController.moveRowGroupColumn(fromIndex, toIndex); };\n\t    ColumnApi.prototype.setColumnAggFunc = function (column, aggFunc) { this._columnController.setColumnAggFunc(column, aggFunc); };\n\t    ColumnApi.prototype.setColumnWidth = function (key, newWidth, finished) {\n\t        if (finished === void 0) { finished = true; }\n\t        this._columnController.setColumnWidth(key, newWidth, finished);\n\t    };\n\t    ColumnApi.prototype.setPivotMode = function (pivotMode) { this._columnController.setPivotMode(pivotMode); };\n\t    ColumnApi.prototype.isPivotMode = function () { return this._columnController.isPivotMode(); };\n\t    ColumnApi.prototype.getSecondaryPivotColumn = function (pivotKeys, valueColKey) { return this._columnController.getSecondaryPivotColumn(pivotKeys, valueColKey); };\n\t    ColumnApi.prototype.setValueColumns = function (colKeys) { this._columnController.setValueColumns(colKeys); };\n\t    ColumnApi.prototype.getValueColumns = function () { return this._columnController.getValueColumns(); };\n\t    ColumnApi.prototype.removeValueColumn = function (colKey) { this._columnController.removeValueColumn(colKey); };\n\t    ColumnApi.prototype.removeValueColumns = function (colKeys) { this._columnController.removeValueColumns(colKeys); };\n\t    ColumnApi.prototype.addValueColumn = function (colKey) { this._columnController.addValueColumn(colKey); };\n\t    ColumnApi.prototype.addValueColumns = function (colKeys) { this._columnController.addValueColumns(colKeys); };\n\t    ColumnApi.prototype.setRowGroupColumns = function (colKeys) { this._columnController.setRowGroupColumns(colKeys); };\n\t    ColumnApi.prototype.removeRowGroupColumn = function (colKey) { this._columnController.removeRowGroupColumn(colKey); };\n\t    ColumnApi.prototype.removeRowGroupColumns = function (colKeys) { this._columnController.removeRowGroupColumns(colKeys); };\n\t    ColumnApi.prototype.addRowGroupColumn = function (colKey) { this._columnController.addRowGroupColumn(colKey); };\n\t    ColumnApi.prototype.addRowGroupColumns = function (colKeys) { this._columnController.addRowGroupColumns(colKeys); };\n\t    ColumnApi.prototype.getRowGroupColumns = function () { return this._columnController.getRowGroupColumns(); };\n\t    ColumnApi.prototype.setPivotColumns = function (colKeys) { this._columnController.setPivotColumns(colKeys); };\n\t    ColumnApi.prototype.removePivotColumn = function (colKey) { this._columnController.removePivotColumn(colKey); };\n\t    ColumnApi.prototype.removePivotColumns = function (colKeys) { this._columnController.removePivotColumns(colKeys); };\n\t    ColumnApi.prototype.addPivotColumn = function (colKey) { this._columnController.addPivotColumn(colKey); };\n\t    ColumnApi.prototype.addPivotColumns = function (colKeys) { this._columnController.addPivotColumns(colKeys); };\n\t    ColumnApi.prototype.getPivotColumns = function () { return this._columnController.getPivotColumns(); };\n\t    ColumnApi.prototype.getLeftDisplayedColumnGroups = function () { return this._columnController.getLeftDisplayedColumnGroups(); };\n\t    ColumnApi.prototype.getCenterDisplayedColumnGroups = function () { return this._columnController.getCenterDisplayedColumnGroups(); };\n\t    ColumnApi.prototype.getRightDisplayedColumnGroups = function () { return this._columnController.getRightDisplayedColumnGroups(); };\n\t    ColumnApi.prototype.getAllDisplayedColumnGroups = function () { return this._columnController.getAllDisplayedColumnGroups(); };\n\t    ColumnApi.prototype.autoSizeColumn = function (key) { return this._columnController.autoSizeColumn(key); };\n\t    ColumnApi.prototype.autoSizeColumns = function (keys) { return this._columnController.autoSizeColumns(keys); };\n\t    ColumnApi.prototype.autoSizeAllColumns = function () { this._columnController.autoSizeAllColumns(); };\n\t    ColumnApi.prototype.setSecondaryColumns = function (colDefs) { this._columnController.setSecondaryColumns(colDefs); };\n\t    // below goes through deprecated items, prints message to user, then calls the new version of the same method\n\t    ColumnApi.prototype.columnGroupOpened = function (group, newValue) {\n\t        console.error('ag-Grid: columnGroupOpened no longer exists, use setColumnGroupOpened');\n\t        this.setColumnGroupOpened(group, newValue);\n\t    };\n\t    ColumnApi.prototype.hideColumns = function (colIds, hide) {\n\t        console.error('ag-Grid: hideColumns is deprecated, use setColumnsVisible');\n\t        this._columnController.setColumnsVisible(colIds, !hide);\n\t    };\n\t    ColumnApi.prototype.hideColumn = function (colId, hide) {\n\t        console.error('ag-Grid: hideColumn is deprecated, use setColumnVisible');\n\t        this._columnController.setColumnVisible(colId, !hide);\n\t    };\n\t    ColumnApi.prototype.setState = function (columnState) {\n\t        console.error('ag-Grid: setState is deprecated, use setColumnState');\n\t        return this.setColumnState(columnState);\n\t    };\n\t    ColumnApi.prototype.getState = function () {\n\t        console.error('ag-Grid: getState is deprecated, use getColumnState');\n\t        return this.getColumnState();\n\t    };\n\t    ColumnApi.prototype.resetState = function () {\n\t        console.error('ag-Grid: resetState is deprecated, use resetColumnState');\n\t        this.resetColumnState();\n\t    };\n\t    ColumnApi.prototype.getAggregationColumns = function () {\n\t        console.error('ag-Grid: getAggregationColumns is deprecated, use getValueColumns');\n\t        return this._columnController.getValueColumns();\n\t    };\n\t    ColumnApi.prototype.removeAggregationColumn = function (colKey) {\n\t        console.error('ag-Grid: removeAggregationColumn is deprecated, use removeValueColumn');\n\t        this._columnController.removeValueColumn(colKey);\n\t    };\n\t    ColumnApi.prototype.removeAggregationColumns = function (colKeys) {\n\t        console.error('ag-Grid: removeAggregationColumns is deprecated, use removeValueColumns');\n\t        this._columnController.removeValueColumns(colKeys);\n\t    };\n\t    ColumnApi.prototype.addAggregationColumn = function (colKey) {\n\t        console.error('ag-Grid: addAggregationColumn is deprecated, use addValueColumn');\n\t        this._columnController.addValueColumn(colKey);\n\t    };\n\t    ColumnApi.prototype.addAggregationColumns = function (colKeys) {\n\t        console.error('ag-Grid: addAggregationColumns is deprecated, use addValueColumns');\n\t        this._columnController.addValueColumns(colKeys);\n\t    };\n\t    ColumnApi.prototype.setColumnAggFunction = function (column, aggFunc) {\n\t        console.error('ag-Grid: setColumnAggFunction is deprecated, use setColumnAggFunc');\n\t        this._columnController.setColumnAggFunc(column, aggFunc);\n\t    };\n\t    ColumnApi.prototype.getDisplayNameForCol = function (column) {\n\t        console.error('ag-Grid: getDisplayNameForCol is deprecated, use getDisplayNameForColumn');\n\t        return this.getDisplayNameForColumn(column, null);\n\t    };\n\t    return ColumnApi;\n\t}());\n\t__decorate([\n\t    context_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", ColumnController)\n\t], ColumnApi.prototype, \"_columnController\", void 0);\n\tColumnApi = __decorate([\n\t    context_1.Bean('columnApi')\n\t], ColumnApi);\n\texports.ColumnApi = ColumnApi;\n\tvar ColumnController = (function () {\n\t    function ColumnController() {\n\t        // header row count, based on user provided columns\n\t        this.primaryHeaderRowCount = 0;\n\t        this.secondaryHeaderRowCount = 0;\n\t        this.secondaryColumnsPresent = false;\n\t        // header row count, either above, or based on pivoting if we are pivoting\n\t        this.gridHeaderRowCount = 0;\n\t        // these are the lists used by the rowRenderer to render nodes. almost the leaf nodes of the above\n\t        // displayed trees, however it also takes into account if the groups are open or not.\n\t        this.displayedLeftColumns = [];\n\t        this.displayedRightColumns = [];\n\t        this.displayedCenterColumns = [];\n\t        // all three lists above combined\n\t        this.allDisplayedColumns = [];\n\t        // same as above, except trimmed down to only columns within the viewport\n\t        this.allDisplayedVirtualColumns = [];\n\t        this.rowGroupColumns = [];\n\t        this.valueColumns = [];\n\t        this.pivotColumns = [];\n\t        this.ready = false;\n\t        this.autoGroupsNeedBuilding = false;\n\t        this.pivotMode = false;\n\t        this.bodyWidth = 0;\n\t        this.leftWidth = 0;\n\t        this.rightWidth = 0;\n\t        this.bodyWidthDirty = true;\n\t    }\n\t    ColumnController.prototype.init = function () {\n\t        this.pivotMode = this.gridOptionsWrapper.isPivotMode();\n\t        if (this.gridOptionsWrapper.getColumnDefs()) {\n\t            this.setColumnDefs(this.gridOptionsWrapper.getColumnDefs());\n\t        }\n\t    };\n\t    ColumnController.prototype.setVirtualViewportLeftAndRight = function () {\n\t        if (this.gridOptionsWrapper.isEnableRtl()) {\n\t            this.viewportLeft = this.bodyWidth - this.scrollPosition - this.scrollWidth;\n\t            this.viewportRight = this.bodyWidth - this.scrollPosition;\n\t        }\n\t        else {\n\t            this.viewportLeft = this.scrollPosition;\n\t            this.viewportRight = this.scrollWidth + this.scrollPosition;\n\t        }\n\t    };\n\t    // used by clipboard service, to know what columns to paste into\n\t    ColumnController.prototype.getDisplayedColumnsStartingAt = function (column) {\n\t        var currentColumn = column;\n\t        var result = [];\n\t        while (utils_1.Utils.exists(currentColumn)) {\n\t            result.push(currentColumn);\n\t            currentColumn = this.getDisplayedColAfter(currentColumn);\n\t        }\n\t        return result;\n\t    };\n\t    // checks what columns are currently displayed due to column virtualisation. fires an event\n\t    // if the list of columns has changed.\n\t    // + setColumnWidth(), setVirtualViewportPosition(), setColumnDefs(), sizeColumnsToFit()\n\t    ColumnController.prototype.checkDisplayedVirtualColumns = function () {\n\t        // check displayCenterColumnTree exists first, as it won't exist when grid is initialising\n\t        if (utils_1.Utils.exists(this.displayedCenterColumns)) {\n\t            var hashBefore = this.allDisplayedVirtualColumns.map(function (column) { return column.getId(); }).join('#');\n\t            this.updateVirtualSets();\n\t            var hashAfter = this.allDisplayedVirtualColumns.map(function (column) { return column.getId(); }).join('#');\n\t            if (hashBefore !== hashAfter) {\n\t                this.eventService.dispatchEvent(events_1.Events.EVENT_VIRTUAL_COLUMNS_CHANGED);\n\t            }\n\t        }\n\t    };\n\t    ColumnController.prototype.setVirtualViewportPosition = function (scrollWidth, scrollPosition) {\n\t        if (scrollWidth !== this.scrollWidth || scrollPosition !== this.scrollPosition || this.bodyWidthDirty) {\n\t            this.scrollWidth = scrollWidth;\n\t            this.scrollPosition = scrollPosition;\n\t            // we need to call setVirtualViewportLeftAndRight() at least once after the body width changes,\n\t            // as the viewport can stay the same, but in RTL, if body width changes, we need to work out the\n\t            // virtual columns again\n\t            this.bodyWidthDirty = true;\n\t            this.setVirtualViewportLeftAndRight();\n\t            if (this.ready) {\n\t                this.checkDisplayedVirtualColumns();\n\t            }\n\t        }\n\t    };\n\t    ColumnController.prototype.isPivotMode = function () {\n\t        return this.pivotMode;\n\t    };\n\t    ColumnController.prototype.setPivotMode = function (pivotMode) {\n\t        if (pivotMode === this.pivotMode) {\n\t            return;\n\t        }\n\t        this.pivotMode = pivotMode;\n\t        this.updateDisplayedColumns();\n\t        var event = new columnChangeEvent_1.ColumnChangeEvent(events_1.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED);\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED, event);\n\t    };\n\t    ColumnController.prototype.getSecondaryPivotColumn = function (pivotKeys, valueColKey) {\n\t        if (!this.secondaryColumnsPresent) {\n\t            return null;\n\t        }\n\t        var valueColumnToFind = this.getPrimaryColumn(valueColKey);\n\t        var foundColumn = null;\n\t        this.secondaryColumns.forEach(function (column) {\n\t            var thisPivotKeys = column.getColDef().pivotKeys;\n\t            var pivotValueColumn = column.getColDef().pivotValueColumn;\n\t            var pivotKeyMatches = utils_1.Utils.compareArrays(thisPivotKeys, pivotKeys);\n\t            var pivotValueMatches = pivotValueColumn === valueColumnToFind;\n\t            if (pivotKeyMatches && pivotValueMatches) {\n\t                foundColumn = column;\n\t            }\n\t        });\n\t        return foundColumn;\n\t    };\n\t    ColumnController.prototype.setBeans = function (loggerFactory) {\n\t        this.logger = loggerFactory.create('ColumnController');\n\t    };\n\t    ColumnController.prototype.setFirstRightAndLastLeftPinned = function () {\n\t        var lastLeft;\n\t        var firstRight;\n\t        if (this.gridOptionsWrapper.isEnableRtl()) {\n\t            lastLeft = this.displayedLeftColumns ? this.displayedLeftColumns[0] : null;\n\t            firstRight = this.displayedRightColumns ? this.displayedRightColumns[this.displayedRightColumns.length - 1] : null;\n\t        }\n\t        else {\n\t            lastLeft = this.displayedLeftColumns ? this.displayedLeftColumns[this.displayedLeftColumns.length - 1] : null;\n\t            firstRight = this.displayedRightColumns ? this.displayedRightColumns[0] : null;\n\t        }\n\t        this.gridColumns.forEach(function (column) {\n\t            column.setLastLeftPinned(column === lastLeft);\n\t            column.setFirstRightPinned(column === firstRight);\n\t        });\n\t    };\n\t    ColumnController.prototype.autoSizeColumns = function (keys) {\n\t        // because of column virtualisation, we can only do this function on columns that are\n\t        // actually rendered, as non-rendered columns (outside the viewport and not rendered\n\t        // due to column virtualisation) are not present. this can result in all rendered columns\n\t        // getting narrowed, which in turn introduces more rendered columns on the RHS which\n\t        // did not get autosized in the original run, leaving the visible grid with columns on\n\t        // the LHS sized, but RHS no. so we keep looping through teh visible columns until\n\t        // no more cols are available (rendered) to be resized\n\t        var _this = this;\n\t        // keep track of which cols we have resized in here\n\t        var columnsAutosized = [];\n\t        // initialise with anything except 0 so that while loop executs at least once\n\t        var changesThisTimeAround = -1;\n\t        while (changesThisTimeAround !== 0) {\n\t            changesThisTimeAround = 0;\n\t            this.actionOnGridColumns(keys, function (column) {\n\t                // if already autosized, skip it\n\t                if (columnsAutosized.indexOf(column) >= 0) {\n\t                    return;\n\t                }\n\t                // get how wide this col should be\n\t                var preferredWidth = _this.autoWidthCalculator.getPreferredWidthForColumn(column);\n\t                // preferredWidth = -1 if this col is not on the screen\n\t                if (preferredWidth > 0) {\n\t                    var newWidth = _this.normaliseColumnWidth(column, preferredWidth);\n\t                    column.setActualWidth(newWidth);\n\t                    columnsAutosized.push(column);\n\t                    changesThisTimeAround++;\n\t                }\n\t                return true;\n\t            }, function () {\n\t                return new columnChangeEvent_1.ColumnChangeEvent(events_1.Events.EVENT_COLUMN_RESIZED).withFinished(true);\n\t            });\n\t        }\n\t    };\n\t    ColumnController.prototype.autoSizeColumn = function (key) {\n\t        this.autoSizeColumns([key]);\n\t    };\n\t    ColumnController.prototype.autoSizeAllColumns = function () {\n\t        var allDisplayedColumns = this.getAllDisplayedColumns();\n\t        this.autoSizeColumns(allDisplayedColumns);\n\t    };\n\t    ColumnController.prototype.getColumnsFromTree = function (rootColumns) {\n\t        var result = [];\n\t        recursiveFindColumns(rootColumns);\n\t        return result;\n\t        function recursiveFindColumns(childColumns) {\n\t            for (var i = 0; i < childColumns.length; i++) {\n\t                var child = childColumns[i];\n\t                if (child instanceof column_1.Column) {\n\t                    result.push(child);\n\t                }\n\t                else if (child instanceof originalColumnGroup_1.OriginalColumnGroup) {\n\t                    recursiveFindColumns(child.getChildren());\n\t                }\n\t            }\n\t        }\n\t    };\n\t    ColumnController.prototype.getAllDisplayedColumnGroups = function () {\n\t        if (this.displayedLeftColumnTree && this.displayedRightColumnTree && this.displayedCentreColumnTree) {\n\t            return this.displayedLeftColumnTree\n\t                .concat(this.displayedCentreColumnTree)\n\t                .concat(this.displayedRightColumnTree);\n\t        }\n\t        else {\n\t            return null;\n\t        }\n\t    };\n\t    // + columnSelectPanel\n\t    ColumnController.prototype.getPrimaryColumnTree = function () {\n\t        return this.primaryBalancedTree;\n\t    };\n\t    // + gridPanel -> for resizing the body and setting top margin\n\t    ColumnController.prototype.getHeaderRowCount = function () {\n\t        return this.gridHeaderRowCount;\n\t    };\n\t    // + headerRenderer -> setting pinned body width\n\t    ColumnController.prototype.getLeftDisplayedColumnGroups = function () {\n\t        return this.displayedLeftColumnTree;\n\t    };\n\t    // + headerRenderer -> setting pinned body width\n\t    ColumnController.prototype.getRightDisplayedColumnGroups = function () {\n\t        return this.displayedRightColumnTree;\n\t    };\n\t    // + headerRenderer -> setting pinned body width\n\t    ColumnController.prototype.getCenterDisplayedColumnGroups = function () {\n\t        return this.displayedCentreColumnTree;\n\t    };\n\t    ColumnController.prototype.getDisplayedColumnGroups = function (type) {\n\t        switch (type) {\n\t            case column_1.Column.PINNED_LEFT: return this.getLeftDisplayedColumnGroups();\n\t            case column_1.Column.PINNED_RIGHT: return this.getRightDisplayedColumnGroups();\n\t            default: return this.getCenterDisplayedColumnGroups();\n\t        }\n\t    };\n\t    // gridPanel -> ensureColumnVisible\n\t    ColumnController.prototype.isColumnDisplayed = function (column) {\n\t        return this.getAllDisplayedColumns().indexOf(column) >= 0;\n\t    };\n\t    // + csvCreator\n\t    ColumnController.prototype.getAllDisplayedColumns = function () {\n\t        return this.allDisplayedColumns;\n\t    };\n\t    // + rowRenderer\n\t    ColumnController.prototype.getAllDisplayedVirtualColumns = function () {\n\t        return this.allDisplayedVirtualColumns;\n\t    };\n\t    // used by:\n\t    // + angularGrid -> setting pinned body width\n\t    // todo: this needs to be cached\n\t    ColumnController.prototype.getPinnedLeftContainerWidth = function () {\n\t        return this.getWidthOfColsInList(this.displayedLeftColumns);\n\t    };\n\t    // todo: this needs to be cached\n\t    ColumnController.prototype.getPinnedRightContainerWidth = function () {\n\t        return this.getWidthOfColsInList(this.displayedRightColumns);\n\t    };\n\t    ColumnController.prototype.updatePrimaryColumnList = function (keys, masterList, actionIsAdd, columnCallback, eventType) {\n\t        var _this = this;\n\t        if (utils_1.Utils.missingOrEmpty(keys)) {\n\t            return;\n\t        }\n\t        var atLeastOne = false;\n\t        keys.forEach(function (key) {\n\t            var columnToAdd = _this.getPrimaryColumn(key);\n\t            if (!columnToAdd) {\n\t                return;\n\t            }\n\t            if (actionIsAdd) {\n\t                if (masterList.indexOf(columnToAdd) >= 0) {\n\t                    return;\n\t                }\n\t                masterList.push(columnToAdd);\n\t            }\n\t            else {\n\t                if (masterList.indexOf(columnToAdd) < 0) {\n\t                    return;\n\t                }\n\t                utils_1.Utils.removeFromArray(masterList, columnToAdd);\n\t            }\n\t            columnCallback(columnToAdd);\n\t            atLeastOne = true;\n\t        });\n\t        if (!atLeastOne) {\n\t            return;\n\t        }\n\t        this.updateDisplayedColumns();\n\t        var event = new columnChangeEvent_1.ColumnChangeEvent(eventType).withColumns(masterList);\n\t        this.eventService.dispatchEvent(event.getType(), event);\n\t    };\n\t    ColumnController.prototype.setRowGroupColumns = function (colKeys) {\n\t        this.autoGroupsNeedBuilding = true;\n\t        this.setPrimaryColumnList(colKeys, this.rowGroupColumns, events_1.Events.EVENT_COLUMN_ROW_GROUP_CHANGED, this.setRowGroupActive.bind(this));\n\t    };\n\t    ColumnController.prototype.setRowGroupActive = function (active, column) {\n\t        if (active === column.isRowGroupActive()) {\n\t            return;\n\t        }\n\t        column.setRowGroupActive(active);\n\t        if (!active) {\n\t            column.setVisible(true);\n\t        }\n\t    };\n\t    ColumnController.prototype.addRowGroupColumn = function (key) {\n\t        this.addRowGroupColumns([key]);\n\t    };\n\t    ColumnController.prototype.addRowGroupColumns = function (keys) {\n\t        this.autoGroupsNeedBuilding = true;\n\t        this.updatePrimaryColumnList(keys, this.rowGroupColumns, true, this.setRowGroupActive.bind(this, true), events_1.Events.EVENT_COLUMN_ROW_GROUP_CHANGED);\n\t    };\n\t    ColumnController.prototype.removeRowGroupColumns = function (keys) {\n\t        this.autoGroupsNeedBuilding = true;\n\t        this.updatePrimaryColumnList(keys, this.rowGroupColumns, false, this.setRowGroupActive.bind(this, false), events_1.Events.EVENT_COLUMN_ROW_GROUP_CHANGED);\n\t    };\n\t    ColumnController.prototype.removeRowGroupColumn = function (key) {\n\t        this.removeRowGroupColumns([key]);\n\t    };\n\t    ColumnController.prototype.addPivotColumns = function (keys) {\n\t        this.updatePrimaryColumnList(keys, this.pivotColumns, true, function (column) { return column.setPivotActive(true); }, events_1.Events.EVENT_COLUMN_PIVOT_CHANGED);\n\t    };\n\t    ColumnController.prototype.setPivotColumns = function (colKeys) {\n\t        this.setPrimaryColumnList(colKeys, this.pivotColumns, events_1.Events.EVENT_COLUMN_PIVOT_CHANGED, function (added, column) {\n\t            column.setPivotActive(added);\n\t        });\n\t    };\n\t    ColumnController.prototype.addPivotColumn = function (key) {\n\t        this.addPivotColumns([key]);\n\t    };\n\t    ColumnController.prototype.removePivotColumns = function (keys) {\n\t        this.updatePrimaryColumnList(keys, this.pivotColumns, false, function (column) { return column.setPivotActive(false); }, events_1.Events.EVENT_COLUMN_PIVOT_CHANGED);\n\t    };\n\t    ColumnController.prototype.removePivotColumn = function (key) {\n\t        this.removePivotColumns([key]);\n\t    };\n\t    ColumnController.prototype.setPrimaryColumnList = function (colKeys, masterList, eventName, columnCallback) {\n\t        var _this = this;\n\t        masterList.length = 0;\n\t        if (utils_1.Utils.exists(colKeys)) {\n\t            colKeys.forEach(function (key) {\n\t                var column = _this.getPrimaryColumn(key);\n\t                masterList.push(column);\n\t            });\n\t        }\n\t        this.primaryColumns.forEach(function (column) {\n\t            var added = masterList.indexOf(column) >= 0;\n\t            columnCallback(added, column);\n\t        });\n\t        this.updateDisplayedColumns();\n\t        var event = new columnChangeEvent_1.ColumnChangeEvent(eventName)\n\t            .withColumns(masterList);\n\t        this.eventService.dispatchEvent(event.getType(), event);\n\t    };\n\t    ColumnController.prototype.setValueColumns = function (colKeys) {\n\t        this.setPrimaryColumnList(colKeys, this.valueColumns, events_1.Events.EVENT_COLUMN_VALUE_CHANGED, this.setValueActive.bind(this));\n\t    };\n\t    ColumnController.prototype.setValueActive = function (active, column) {\n\t        if (active === column.isValueActive()) {\n\t            return;\n\t        }\n\t        column.setValueActive(active);\n\t        if (active && !column.getAggFunc()) {\n\t            var defaultAggFunc = this.aggFuncService.getDefaultAggFunc();\n\t            column.setAggFunc(defaultAggFunc);\n\t        }\n\t    };\n\t    ColumnController.prototype.addValueColumns = function (keys) {\n\t        this.updatePrimaryColumnList(keys, this.valueColumns, true, this.setValueActive.bind(this, true), events_1.Events.EVENT_COLUMN_VALUE_CHANGED);\n\t    };\n\t    ColumnController.prototype.addValueColumn = function (colKey) {\n\t        this.addValueColumns([colKey]);\n\t    };\n\t    ColumnController.prototype.removeValueColumn = function (colKey) {\n\t        this.removeValueColumns([colKey]);\n\t    };\n\t    ColumnController.prototype.removeValueColumns = function (keys) {\n\t        this.updatePrimaryColumnList(keys, this.valueColumns, false, this.setValueActive.bind(this, false), events_1.Events.EVENT_COLUMN_VALUE_CHANGED);\n\t    };\n\t    // returns the width we can set to this col, taking into consideration min and max widths\n\t    ColumnController.prototype.normaliseColumnWidth = function (column, newWidth) {\n\t        if (newWidth < column.getMinWidth()) {\n\t            newWidth = column.getMinWidth();\n\t        }\n\t        if (column.isGreaterThanMax(newWidth)) {\n\t            newWidth = column.getMaxWidth();\n\t        }\n\t        return newWidth;\n\t    };\n\t    ColumnController.prototype.getPrimaryOrGridColumn = function (key) {\n\t        var column = this.getPrimaryColumn(key);\n\t        if (column) {\n\t            return column;\n\t        }\n\t        else {\n\t            return this.getGridColumn(key);\n\t        }\n\t    };\n\t    ColumnController.prototype.setColumnWidth = function (key, newWidth, finished) {\n\t        var column = this.getPrimaryOrGridColumn(key);\n\t        if (!column) {\n\t            return;\n\t        }\n\t        newWidth = this.normaliseColumnWidth(column, newWidth);\n\t        var widthChanged = column.getActualWidth() !== newWidth;\n\t        if (widthChanged) {\n\t            column.setActualWidth(newWidth);\n\t            this.setLeftValues();\n\t        }\n\t        this.updateBodyWidths();\n\t        this.checkDisplayedVirtualColumns();\n\t        // check for change first, to avoid unnecessary firing of events\n\t        // however we always fire 'finished' events. this is important\n\t        // when groups are resized, as if the group is changing slowly,\n\t        // eg 1 pixel at a time, then each change will fire change events\n\t        // in all the columns in the group, but only one with get the pixel.\n\t        if (finished || widthChanged) {\n\t            var event_1 = new columnChangeEvent_1.ColumnChangeEvent(events_1.Events.EVENT_COLUMN_RESIZED).withColumn(column).withFinished(finished);\n\t            this.eventService.dispatchEvent(events_1.Events.EVENT_COLUMN_RESIZED, event_1);\n\t        }\n\t    };\n\t    ColumnController.prototype.setColumnAggFunc = function (column, aggFunc) {\n\t        column.setAggFunc(aggFunc);\n\t        var event = new columnChangeEvent_1.ColumnChangeEvent(events_1.Events.EVENT_COLUMN_VALUE_CHANGED).withColumn(column);\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_COLUMN_VALUE_CHANGED, event);\n\t    };\n\t    ColumnController.prototype.moveRowGroupColumn = function (fromIndex, toIndex) {\n\t        var column = this.rowGroupColumns[fromIndex];\n\t        this.rowGroupColumns.splice(fromIndex, 1);\n\t        this.rowGroupColumns.splice(toIndex, 0, column);\n\t        var event = new columnChangeEvent_1.ColumnChangeEvent(events_1.Events.EVENT_COLUMN_ROW_GROUP_CHANGED);\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_COLUMN_ROW_GROUP_CHANGED, event);\n\t    };\n\t    ColumnController.prototype.moveColumns = function (columnsToMoveKeys, toIndex) {\n\t        this.columnAnimationService.start();\n\t        if (toIndex > this.gridColumns.length - columnsToMoveKeys.length) {\n\t            console.warn('ag-Grid: tried to insert columns in invalid location, toIndex = ' + toIndex);\n\t            console.warn('ag-Grid: remember that you should not count the moving columns when calculating the new index');\n\t            return;\n\t        }\n\t        // we want to pull all the columns out first and put them into an ordered list\n\t        var columnsToMove = this.getGridColumns(columnsToMoveKeys);\n\t        var failedRules = !this.doesMovePassRules(columnsToMove, toIndex);\n\t        if (failedRules) {\n\t            return;\n\t        }\n\t        utils_1.Utils.moveInArray(this.gridColumns, columnsToMove, toIndex);\n\t        this.updateDisplayedColumns();\n\t        var event = new columnChangeEvent_1.ColumnChangeEvent(events_1.Events.EVENT_COLUMN_MOVED)\n\t            .withToIndex(toIndex)\n\t            .withColumns(columnsToMove);\n\t        if (columnsToMove.length === 1) {\n\t            event.withColumn(columnsToMove[0]);\n\t        }\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_COLUMN_MOVED, event);\n\t        this.columnAnimationService.finish();\n\t    };\n\t    ColumnController.prototype.doesMovePassRules = function (columnsToMove, toIndex) {\n\t        var allColumnsCopy = this.gridColumns.slice();\n\t        utils_1.Utils.moveInArray(allColumnsCopy, columnsToMove, toIndex);\n\t        // look for broken groups, ie stray columns from groups that should be married\n\t        for (var index = 0; index < (allColumnsCopy.length - 1); index++) {\n\t            var thisColumn = allColumnsCopy[index];\n\t            var nextColumn = allColumnsCopy[index + 1];\n\t            // skip hidden columns\n\t            if (!nextColumn.isVisible()) {\n\t                continue;\n\t            }\n\t            var thisPath = this.columnUtils.getOriginalPathForColumn(thisColumn, this.gridBalancedTree);\n\t            var nextPath = this.columnUtils.getOriginalPathForColumn(nextColumn, this.gridBalancedTree);\n\t            if (!nextPath || !thisPath) {\n\t                console.log('next path is missing');\n\t            }\n\t            // start at the top of the path and work down\n\t            for (var dept = 0; dept < thisPath.length; dept++) {\n\t                var thisOriginalGroup = thisPath[dept];\n\t                var nextOriginalGroup = nextPath[dept];\n\t                var lastColInGroup = thisOriginalGroup !== nextOriginalGroup;\n\t                // a runaway is a column from this group that left the group, and the group has it's children marked as married\n\t                var colGroupDef = thisOriginalGroup.getColGroupDef();\n\t                var marryChildren = colGroupDef && colGroupDef.marryChildren;\n\t                var needToCheckForRunaways = lastColInGroup && marryChildren;\n\t                if (needToCheckForRunaways) {\n\t                    for (var tailIndex = index + 1; tailIndex < allColumnsCopy.length; tailIndex++) {\n\t                        var tailColumn = allColumnsCopy[tailIndex];\n\t                        var tailPath = this.columnUtils.getOriginalPathForColumn(tailColumn, this.gridBalancedTree);\n\t                        var tailOriginalGroup = tailPath[dept];\n\t                        if (tailOriginalGroup === thisOriginalGroup) {\n\t                            return false;\n\t                        }\n\t                    }\n\t                }\n\t            }\n\t        }\n\t        return true;\n\t    };\n\t    ColumnController.prototype.moveColumn = function (key, toIndex) {\n\t        this.moveColumns([key], toIndex);\n\t    };\n\t    ColumnController.prototype.moveColumnByIndex = function (fromIndex, toIndex) {\n\t        var column = this.gridColumns[fromIndex];\n\t        this.moveColumn(column, toIndex);\n\t    };\n\t    // used by:\n\t    // + angularGrid -> for setting body width\n\t    // + rowController -> setting main row widths (when inserting and resizing)\n\t    // need to cache this\n\t    ColumnController.prototype.getBodyContainerWidth = function () {\n\t        return this.bodyWidth;\n\t    };\n\t    ColumnController.prototype.getContainerWidth = function (pinned) {\n\t        switch (pinned) {\n\t            case column_1.Column.PINNED_LEFT: return this.leftWidth;\n\t            case column_1.Column.PINNED_RIGHT: return this.rightWidth;\n\t            default: return this.bodyWidth;\n\t        }\n\t    };\n\t    // after setColumnWidth or updateGroupsAndDisplayedColumns\n\t    ColumnController.prototype.updateBodyWidths = function () {\n\t        var newBodyWidth = this.getWidthOfColsInList(this.displayedCenterColumns);\n\t        var newLeftWidth = this.getWidthOfColsInList(this.displayedLeftColumns);\n\t        var newRightWidth = this.getWidthOfColsInList(this.displayedRightColumns);\n\t        // this is used by virtual col calculation, for RTL only, as a change to body width can impact displayed\n\t        // columns, due to RTL inverting the y coordinates\n\t        this.bodyWidthDirty = this.bodyWidth !== newBodyWidth;\n\t        var atLeastOneChanged = this.bodyWidth !== newBodyWidth || this.leftWidth !== newLeftWidth || this.rightWidth !== newRightWidth;\n\t        if (atLeastOneChanged) {\n\t            this.bodyWidth = newBodyWidth;\n\t            this.leftWidth = newLeftWidth;\n\t            this.rightWidth = newRightWidth;\n\t            // when this fires, it is picked up by the gridPanel, which ends up in\n\t            // gridPanel calling setWidthAndScrollPosition(), which in turn calls setVirtualViewportPosition()\n\t            this.eventService.dispatchEvent(events_1.Events.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED);\n\t        }\n\t    };\n\t    // + rowController\n\t    ColumnController.prototype.getValueColumns = function () {\n\t        return this.valueColumns ? this.valueColumns : [];\n\t    };\n\t    // + rowController\n\t    ColumnController.prototype.getPivotColumns = function () {\n\t        return this.pivotColumns ? this.pivotColumns : [];\n\t    };\n\t    // + inMemoryRowModel\n\t    ColumnController.prototype.isPivotActive = function () {\n\t        return this.pivotColumns && this.pivotColumns.length > 0 && this.pivotMode;\n\t    };\n\t    // + toolPanel\n\t    ColumnController.prototype.getRowGroupColumns = function () {\n\t        return this.rowGroupColumns ? this.rowGroupColumns : [];\n\t    };\n\t    // + rowController -> while inserting rows\n\t    ColumnController.prototype.getDisplayedCenterColumns = function () {\n\t        return this.displayedCenterColumns.slice(0);\n\t    };\n\t    // + rowController -> while inserting rows\n\t    ColumnController.prototype.getDisplayedLeftColumns = function () {\n\t        return this.displayedLeftColumns.slice(0);\n\t    };\n\t    ColumnController.prototype.getDisplayedRightColumns = function () {\n\t        return this.displayedRightColumns.slice(0);\n\t    };\n\t    ColumnController.prototype.getDisplayedColumns = function (type) {\n\t        switch (type) {\n\t            case column_1.Column.PINNED_LEFT: return this.getDisplayedLeftColumns();\n\t            case column_1.Column.PINNED_RIGHT: return this.getDisplayedRightColumns();\n\t            default: return this.getDisplayedCenterColumns();\n\t        }\n\t    };\n\t    // used by:\n\t    // + inMemoryRowController -> sorting, building quick filter text\n\t    // + headerRenderer -> sorting (clearing icon)\n\t    ColumnController.prototype.getAllPrimaryColumns = function () {\n\t        return this.primaryColumns;\n\t    };\n\t    // + moveColumnController\n\t    ColumnController.prototype.getAllGridColumns = function () {\n\t        return this.gridColumns;\n\t    };\n\t    ColumnController.prototype.isEmpty = function () {\n\t        return utils_1.Utils.missingOrEmpty(this.gridColumns);\n\t    };\n\t    ColumnController.prototype.isRowGroupEmpty = function () {\n\t        return utils_1.Utils.missingOrEmpty(this.rowGroupColumns);\n\t    };\n\t    ColumnController.prototype.setColumnVisible = function (key, visible) {\n\t        this.setColumnsVisible([key], visible);\n\t    };\n\t    ColumnController.prototype.setColumnsVisible = function (keys, visible) {\n\t        this.columnAnimationService.start();\n\t        this.actionOnGridColumns(keys, function (column) {\n\t            column.setVisible(visible);\n\t            return true;\n\t        }, function () {\n\t            return new columnChangeEvent_1.ColumnChangeEvent(events_1.Events.EVENT_COLUMN_VISIBLE).withVisible(visible);\n\t        });\n\t        this.columnAnimationService.finish();\n\t    };\n\t    ColumnController.prototype.setColumnPinned = function (key, pinned) {\n\t        this.setColumnsPinned([key], pinned);\n\t    };\n\t    ColumnController.prototype.setColumnsPinned = function (keys, pinned) {\n\t        this.columnAnimationService.start();\n\t        var actualPinned;\n\t        if (pinned === true || pinned === column_1.Column.PINNED_LEFT) {\n\t            actualPinned = column_1.Column.PINNED_LEFT;\n\t        }\n\t        else if (pinned === column_1.Column.PINNED_RIGHT) {\n\t            actualPinned = column_1.Column.PINNED_RIGHT;\n\t        }\n\t        else {\n\t            actualPinned = null;\n\t        }\n\t        this.actionOnGridColumns(keys, function (column) {\n\t            column.setPinned(actualPinned);\n\t            return true;\n\t        }, function () {\n\t            return new columnChangeEvent_1.ColumnChangeEvent(events_1.Events.EVENT_COLUMN_PINNED).withPinned(actualPinned);\n\t        });\n\t        this.columnAnimationService.finish();\n\t    };\n\t    // does an action on a set of columns. provides common functionality for looking up the\n\t    // columns based on key, getting a list of effected columns, and then updated the event\n\t    // with either one column (if it was just one col) or a list of columns\n\t    // used by: autoResize, setVisible, setPinned\n\t    ColumnController.prototype.actionOnGridColumns = function (// the column keys this action will be on\n\t        keys, \n\t        // the action to do - if this returns false, the column was skipped\n\t        // and won't be included in the event\n\t        action, \n\t        // should return back a column event of the right type\n\t        createEvent) {\n\t        var _this = this;\n\t        if (utils_1.Utils.missingOrEmpty(keys)) {\n\t            return;\n\t        }\n\t        var updatedColumns = [];\n\t        keys.forEach(function (key) {\n\t            var column = _this.getGridColumn(key);\n\t            if (!column) {\n\t                return;\n\t            }\n\t            // need to check for false with type (ie !== instead of !=)\n\t            // as not returning anything (undefined) would also be false\n\t            var resultOfAction = action(column);\n\t            if (resultOfAction !== false) {\n\t                updatedColumns.push(column);\n\t            }\n\t        });\n\t        if (updatedColumns.length === 0) {\n\t            return;\n\t        }\n\t        this.updateDisplayedColumns();\n\t        var event = createEvent();\n\t        event.withColumns(updatedColumns);\n\t        if (updatedColumns.length === 1) {\n\t            event.withColumn(updatedColumns[0]);\n\t        }\n\t        this.eventService.dispatchEvent(event.getType(), event);\n\t    };\n\t    ColumnController.prototype.getDisplayedColBefore = function (col) {\n\t        var allDisplayedColumns = this.getAllDisplayedColumns();\n\t        var oldIndex = allDisplayedColumns.indexOf(col);\n\t        if (oldIndex > 0) {\n\t            return allDisplayedColumns[oldIndex - 1];\n\t        }\n\t        else {\n\t            return null;\n\t        }\n\t    };\n\t    // used by:\n\t    // + rowRenderer -> for navigation\n\t    ColumnController.prototype.getDisplayedColAfter = function (col) {\n\t        var allDisplayedColumns = this.getAllDisplayedColumns();\n\t        var oldIndex = allDisplayedColumns.indexOf(col);\n\t        if (oldIndex < (allDisplayedColumns.length - 1)) {\n\t            return allDisplayedColumns[oldIndex + 1];\n\t        }\n\t        else {\n\t            return null;\n\t        }\n\t    };\n\t    ColumnController.prototype.isPinningLeft = function () {\n\t        return this.displayedLeftColumns.length > 0;\n\t    };\n\t    ColumnController.prototype.isPinningRight = function () {\n\t        return this.displayedRightColumns.length > 0;\n\t    };\n\t    ColumnController.prototype.getPrimaryAndSecondaryAndAutoColumns = function () {\n\t        var result = this.primaryColumns ? this.primaryColumns.slice(0) : [];\n\t        if (utils_1.Utils.exists(this.groupAutoColumns)) {\n\t            this.groupAutoColumns.forEach(function (col) { return result.push(col); });\n\t        }\n\t        if (this.secondaryColumnsPresent) {\n\t            this.secondaryColumns.forEach(function (column) { return result.push(column); });\n\t        }\n\t        return result;\n\t    };\n\t    ColumnController.prototype.createStateItemFromColumn = function (column) {\n\t        var rowGroupIndex = column.isRowGroupActive() ? this.rowGroupColumns.indexOf(column) : null;\n\t        var pivotIndex = column.isPivotActive() ? this.pivotColumns.indexOf(column) : null;\n\t        var aggFunc = column.isValueActive() ? column.getAggFunc() : null;\n\t        var resultItem = {\n\t            colId: column.getColId(),\n\t            hide: !column.isVisible(),\n\t            aggFunc: aggFunc,\n\t            width: column.getActualWidth(),\n\t            pivotIndex: pivotIndex,\n\t            pinned: column.getPinned(),\n\t            rowGroupIndex: rowGroupIndex\n\t        };\n\t        return resultItem;\n\t    };\n\t    ColumnController.prototype.getColumnState = function () {\n\t        if (utils_1.Utils.missing(this.primaryColumns)) {\n\t            return [];\n\t        }\n\t        var columnStateList = this.primaryColumns.map(this.createStateItemFromColumn.bind(this));\n\t        if (!this.pivotMode) {\n\t            this.orderColumnStateList(columnStateList);\n\t        }\n\t        return columnStateList;\n\t    };\n\t    ColumnController.prototype.orderColumnStateList = function (columnStateList) {\n\t        var gridColumnIds = this.gridColumns.map(function (column) { return column.getColId(); });\n\t        columnStateList.sort(function (itemA, itemB) {\n\t            var posA = gridColumnIds.indexOf(itemA.colId);\n\t            var posB = gridColumnIds.indexOf(itemB.colId);\n\t            return posA - posB;\n\t        });\n\t    };\n\t    ColumnController.prototype.resetColumnState = function () {\n\t        // we can't use 'allColumns' as the order might of messed up, so get the primary ordered list\n\t        var primaryColumns = this.getColumnsFromTree(this.primaryBalancedTree);\n\t        var state = [];\n\t        if (primaryColumns) {\n\t            primaryColumns.forEach(function (column) {\n\t                state.push({\n\t                    colId: column.getColId(),\n\t                    aggFunc: column.getColDef().aggFunc,\n\t                    hide: column.getColDef().hide,\n\t                    pinned: column.getColDef().pinned,\n\t                    rowGroupIndex: column.getColDef().rowGroupIndex,\n\t                    pivotIndex: column.getColDef().pivotIndex,\n\t                    width: column.getColDef().width\n\t                });\n\t            });\n\t        }\n\t        this.setColumnState(state);\n\t    };\n\t    ColumnController.prototype.setColumnState = function (columnState) {\n\t        var _this = this;\n\t        if (utils_1.Utils.missingOrEmpty(this.primaryColumns)) {\n\t            return false;\n\t        }\n\t        this.autoGroupsNeedBuilding = true;\n\t        // at the end below, this list will have all columns we got no state for\n\t        var columnsWithNoState = this.primaryColumns.slice();\n\t        this.rowGroupColumns = [];\n\t        this.valueColumns = [];\n\t        this.pivotColumns = [];\n\t        var success = true;\n\t        var rowGroupIndexes = {};\n\t        var pivotIndexes = {};\n\t        if (columnState) {\n\t            columnState.forEach(function (stateItem) {\n\t                var column = _this.getPrimaryColumn(stateItem.colId);\n\t                if (!column) {\n\t                    console.warn('ag-grid: column ' + stateItem.colId + ' not found');\n\t                    success = false;\n\t                }\n\t                else {\n\t                    _this.syncColumnWithStateItem(column, stateItem, rowGroupIndexes, pivotIndexes);\n\t                    utils_1.Utils.removeFromArray(columnsWithNoState, column);\n\t                }\n\t            });\n\t        }\n\t        // anything left over, we got no data for, so add in the column as non-value, non-rowGroup and hidden\n\t        columnsWithNoState.forEach(this.syncColumnWithNoState.bind(this));\n\t        // sort the lists according to the indexes that were provided\n\t        this.rowGroupColumns.sort(this.sortColumnListUsingIndexes.bind(this, rowGroupIndexes));\n\t        this.pivotColumns.sort(this.sortColumnListUsingIndexes.bind(this, pivotIndexes));\n\t        this.copyDownGridColumns();\n\t        var orderOfColIds = columnState.map(function (stateItem) { return stateItem.colId; });\n\t        this.gridColumns.sort(function (colA, colB) {\n\t            var indexA = orderOfColIds.indexOf(colA.getId());\n\t            var indexB = orderOfColIds.indexOf(colB.getId());\n\t            return indexA - indexB;\n\t        });\n\t        this.updateDisplayedColumns();\n\t        var event = new columnChangeEvent_1.ColumnChangeEvent(events_1.Events.EVENT_COLUMN_EVERYTHING_CHANGED);\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_COLUMN_EVERYTHING_CHANGED, event);\n\t        return success;\n\t    };\n\t    ColumnController.prototype.sortColumnListUsingIndexes = function (indexes, colA, colB) {\n\t        var indexA = indexes[colA.getId()];\n\t        var indexB = indexes[colB.getId()];\n\t        return indexA - indexB;\n\t    };\n\t    ColumnController.prototype.syncColumnWithNoState = function (column) {\n\t        column.setVisible(false);\n\t        column.setAggFunc(null);\n\t        column.setPinned(null);\n\t        column.setRowGroupActive(false);\n\t        column.setPivotActive(false);\n\t        column.setValueActive(false);\n\t    };\n\t    ColumnController.prototype.syncColumnWithStateItem = function (column, stateItem, rowGroupIndexes, pivotIndexes) {\n\t        // following ensures we are left with boolean true or false, eg converts (null, undefined, 0) all to true\n\t        column.setVisible(!stateItem.hide);\n\t        // sets pinned to 'left' or 'right'\n\t        column.setPinned(stateItem.pinned);\n\t        // if width provided and valid, use it, otherwise stick with the old width\n\t        if (stateItem.width >= this.gridOptionsWrapper.getMinColWidth()) {\n\t            column.setActualWidth(stateItem.width);\n\t        }\n\t        if (typeof stateItem.aggFunc === 'string') {\n\t            column.setAggFunc(stateItem.aggFunc);\n\t            column.setValueActive(true);\n\t            this.valueColumns.push(column);\n\t        }\n\t        else {\n\t            if (utils_1.Utils.exists(stateItem.aggFunc)) {\n\t                console.warn('ag-Grid: stateItem.aggFunc must be a string. if using your own aggregation ' +\n\t                    'functions, register the functions first before using them in get/set state. This is because it is' +\n\t                    'intended for the column state to be stored and retrieved as simple JSON.');\n\t            }\n\t            column.setAggFunc(null);\n\t            column.setValueActive(false);\n\t        }\n\t        if (typeof stateItem.rowGroupIndex === 'number') {\n\t            this.rowGroupColumns.push(column);\n\t            column.setRowGroupActive(true);\n\t            rowGroupIndexes[column.getId()] = stateItem.rowGroupIndex;\n\t        }\n\t        else {\n\t            column.setRowGroupActive(false);\n\t        }\n\t        if (typeof stateItem.pivotIndex === 'number') {\n\t            this.pivotColumns.push(column);\n\t            column.setPivotActive(true);\n\t            pivotIndexes[column.getId()] = stateItem.pivotIndex;\n\t        }\n\t        else {\n\t            column.setPivotActive(false);\n\t        }\n\t    };\n\t    ColumnController.prototype.getGridColumns = function (keys) {\n\t        return this.getColumns(keys, this.getGridColumn.bind(this));\n\t    };\n\t    ColumnController.prototype.getColumns = function (keys, columnLookupCallback) {\n\t        var foundColumns = [];\n\t        if (keys) {\n\t            keys.forEach(function (key) {\n\t                var column = columnLookupCallback(key);\n\t                if (column) {\n\t                    foundColumns.push(column);\n\t                }\n\t            });\n\t        }\n\t        return foundColumns;\n\t    };\n\t    // used by growGroupPanel\n\t    ColumnController.prototype.getColumnWithValidation = function (key) {\n\t        var column = this.getPrimaryColumn(key);\n\t        if (!column) {\n\t            console.warn('ag-Grid: could not find column ' + column);\n\t        }\n\t        return column;\n\t    };\n\t    ColumnController.prototype.getPrimaryColumn = function (key) {\n\t        return this.getColumn(key, this.primaryColumns);\n\t    };\n\t    ColumnController.prototype.getGridColumn = function (key) {\n\t        return this.getColumn(key, this.gridColumns);\n\t    };\n\t    ColumnController.prototype.getColumn = function (key, columnList) {\n\t        if (!key) {\n\t            return null;\n\t        }\n\t        for (var i = 0; i < columnList.length; i++) {\n\t            if (this.columnsMatch(columnList[i], key)) {\n\t                return columnList[i];\n\t            }\n\t        }\n\t        return this.getAutoColumn(key);\n\t    };\n\t    ColumnController.prototype.getAutoColumn = function (key) {\n\t        var _this = this;\n\t        if (!utils_1.Utils.exists(this.groupAutoColumns) || utils_1.Utils.missing(this.groupAutoColumns)) {\n\t            return null;\n\t        }\n\t        return utils_1.Utils.find(this.groupAutoColumns, function (groupCol) {\n\t            return _this.columnsMatch(groupCol, key);\n\t        });\n\t    };\n\t    ColumnController.prototype.columnsMatch = function (column, key) {\n\t        var columnMatches = column === key;\n\t        var colDefMatches = column.getColDef() === key;\n\t        var idMatches = column.getColId() == key;\n\t        return columnMatches || colDefMatches || idMatches;\n\t    };\n\t    ColumnController.prototype.getDisplayNameForColumn = function (column, location, includeAggFunc) {\n\t        if (includeAggFunc === void 0) { includeAggFunc = false; }\n\t        var headerName = this.getHeaderName(column.getColDef(), column, null, location);\n\t        if (includeAggFunc) {\n\t            return this.wrapHeaderNameWithAggFunc(column, headerName);\n\t        }\n\t        else {\n\t            return headerName;\n\t        }\n\t    };\n\t    ColumnController.prototype.getDisplayNameForColumnGroup = function (columnGroup, location) {\n\t        var colGroupDef = columnGroup.getOriginalColumnGroup().getColGroupDef();\n\t        if (colGroupDef) {\n\t            return this.getHeaderName(colGroupDef, null, columnGroup, location);\n\t        }\n\t        else {\n\t            return null;\n\t        }\n\t    };\n\t    // location is where the column is going to appear, ie who is calling us\n\t    ColumnController.prototype.getHeaderName = function (colDef, column, columnGroup, location) {\n\t        var headerValueGetter = colDef.headerValueGetter;\n\t        if (headerValueGetter) {\n\t            var params = {\n\t                colDef: colDef,\n\t                column: column,\n\t                columnGroup: columnGroup,\n\t                location: location,\n\t                api: this.gridOptionsWrapper.getApi(),\n\t                context: this.gridOptionsWrapper.getContext()\n\t            };\n\t            if (typeof headerValueGetter === 'function') {\n\t                // valueGetter is a function, so just call it\n\t                return headerValueGetter(params);\n\t            }\n\t            else if (typeof headerValueGetter === 'string') {\n\t                // valueGetter is an expression, so execute the expression\n\t                return this.expressionService.evaluate(headerValueGetter, params);\n\t            }\n\t            else {\n\t                console.warn('ag-grid: headerValueGetter must be a function or a string');\n\t                return '';\n\t            }\n\t        }\n\t        else {\n\t            return colDef.headerName;\n\t        }\n\t    };\n\t    /*\n\t        private getHeaderGroupName(columnGroup: ColumnGroup): string {\n\t            let colGroupDef = columnGroup.getOriginalColumnGroup().getColGroupDef();\n\t            let headerValueGetter = colGroupDef.headerValueGetter;\n\n\t            if (headerValueGetter) {\n\t                let params = {\n\t                    columnGroup: columnGroup,\n\t                    colDef: colGroupDef,\n\t                    api: this.gridOptionsWrapper.getApi(),\n\t                    context: this.gridOptionsWrapper.getContext()\n\t                };\n\n\t                if (typeof headerValueGetter === 'function') {\n\t                    // valueGetter is a function, so just call it\n\t                    return headerValueGetter(params);\n\t                } else if (typeof headerValueGetter === 'string') {\n\t                    // valueGetter is an expression, so execute the expression\n\t                    return this.expressionService.evaluate(headerValueGetter, params);\n\t                } else {\n\t                    console.warn('ag-grid: headerValueGetter must be a function or a string');\n\t                    return '';\n\t                }\n\t            } else {\n\t                return colGroupDef.headerName;\n\t            }\n\t        }\n\t    */\n\t    ColumnController.prototype.wrapHeaderNameWithAggFunc = function (column, headerName) {\n\t        if (this.gridOptionsWrapper.isSuppressAggFuncInHeader()) {\n\t            return headerName;\n\t        }\n\t        // only columns with aggregation active can have aggregations\n\t        var pivotValueColumn = column.getColDef().pivotValueColumn;\n\t        var pivotActiveOnThisColumn = utils_1.Utils.exists(pivotValueColumn);\n\t        var aggFunc = null;\n\t        var aggFuncFound;\n\t        // otherwise we have a measure that is active, and we are doing aggregation on it\n\t        if (pivotActiveOnThisColumn) {\n\t            aggFunc = pivotValueColumn.getAggFunc();\n\t            aggFuncFound = true;\n\t        }\n\t        else {\n\t            var measureActive = column.isValueActive();\n\t            var aggregationPresent = this.pivotMode || !this.isRowGroupEmpty();\n\t            if (measureActive && aggregationPresent) {\n\t                aggFunc = column.getAggFunc();\n\t                aggFuncFound = true;\n\t            }\n\t            else {\n\t                aggFuncFound = false;\n\t            }\n\t        }\n\t        if (aggFuncFound) {\n\t            var aggFuncString = (typeof aggFunc === 'string') ? aggFunc : 'func';\n\t            return aggFuncString + \"(\" + headerName + \")\";\n\t        }\n\t        else {\n\t            return headerName;\n\t        }\n\t    };\n\t    // returns the group with matching colId and instanceId. If instanceId is missing,\n\t    // matches only on the colId.\n\t    ColumnController.prototype.getColumnGroup = function (colId, instanceId) {\n\t        if (!colId) {\n\t            return null;\n\t        }\n\t        if (colId instanceof columnGroup_1.ColumnGroup) {\n\t            return colId;\n\t        }\n\t        var allColumnGroups = this.getAllDisplayedColumnGroups();\n\t        var checkInstanceId = typeof instanceId === 'number';\n\t        var result = null;\n\t        this.columnUtils.depthFirstAllColumnTreeSearch(allColumnGroups, function (child) {\n\t            if (child instanceof columnGroup_1.ColumnGroup) {\n\t                var columnGroup = child;\n\t                var matched = void 0;\n\t                if (checkInstanceId) {\n\t                    matched = colId === columnGroup.getGroupId() && instanceId === columnGroup.getInstanceId();\n\t                }\n\t                else {\n\t                    matched = colId === columnGroup.getGroupId();\n\t                }\n\t                if (matched) {\n\t                    result = columnGroup;\n\t                }\n\t            }\n\t        });\n\t        return result;\n\t    };\n\t    ColumnController.prototype.setColumnDefs = function (columnDefs) {\n\t        this.autoGroupsNeedBuilding = true;\n\t        var balancedTreeResult = this.balancedColumnTreeBuilder.createBalancedColumnGroups(columnDefs, true);\n\t        this.primaryBalancedTree = balancedTreeResult.balancedTree;\n\t        this.primaryHeaderRowCount = balancedTreeResult.treeDept + 1;\n\t        this.primaryColumns = this.getColumnsFromTree(this.primaryBalancedTree);\n\t        this.extractRowGroupColumns();\n\t        this.extractPivotColumns();\n\t        this.createValueColumns();\n\t        this.copyDownGridColumns();\n\t        this.updateDisplayedColumns();\n\t        this.checkDisplayedVirtualColumns();\n\t        this.ready = true;\n\t        var everythingChangedEvent = new columnChangeEvent_1.ColumnChangeEvent(events_1.Events.EVENT_COLUMN_EVERYTHING_CHANGED);\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_COLUMN_EVERYTHING_CHANGED, everythingChangedEvent);\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_NEW_COLUMNS_LOADED);\n\t    };\n\t    ColumnController.prototype.isReady = function () {\n\t        return this.ready;\n\t    };\n\t    ColumnController.prototype.extractRowGroupColumns = function () {\n\t        var _this = this;\n\t        this.rowGroupColumns.forEach(function (column) { return column.setRowGroupActive(false); });\n\t        this.rowGroupColumns = [];\n\t        // pull out the columns\n\t        this.primaryColumns.forEach(function (column) {\n\t            if (typeof column.getColDef().rowGroupIndex === 'number') {\n\t                _this.rowGroupColumns.push(column);\n\t                column.setRowGroupActive(true);\n\t            }\n\t        });\n\t        // then sort them\n\t        this.rowGroupColumns.sort(function (colA, colB) {\n\t            return colA.getColDef().rowGroupIndex - colB.getColDef().rowGroupIndex;\n\t        });\n\t    };\n\t    ColumnController.prototype.extractPivotColumns = function () {\n\t        var _this = this;\n\t        this.pivotColumns.forEach(function (column) { return column.setPivotActive(false); });\n\t        this.pivotColumns = [];\n\t        // pull out the columns\n\t        this.primaryColumns.forEach(function (column) {\n\t            if (typeof column.getColDef().pivotIndex === 'number') {\n\t                _this.pivotColumns.push(column);\n\t                column.setPivotActive(true);\n\t            }\n\t        });\n\t        // then sort them\n\t        this.pivotColumns.sort(function (colA, colB) {\n\t            return colA.getColDef().pivotIndex - colB.getColDef().pivotIndex;\n\t        });\n\t    };\n\t    // called by headerRenderer - when a header is opened or closed\n\t    ColumnController.prototype.setColumnGroupOpened = function (passedGroup, newValue, instanceId) {\n\t        this.columnAnimationService.start();\n\t        var groupToUse = this.getColumnGroup(passedGroup, instanceId);\n\t        if (!groupToUse) {\n\t            return;\n\t        }\n\t        this.logger.log('columnGroupOpened(' + groupToUse.getGroupId() + ',' + newValue + ')');\n\t        groupToUse.setExpanded(newValue);\n\t        this.updateGroupsAndDisplayedColumns();\n\t        var event = new columnChangeEvent_1.ColumnChangeEvent(events_1.Events.EVENT_COLUMN_GROUP_OPENED).withColumnGroup(groupToUse);\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_COLUMN_GROUP_OPENED, event);\n\t        this.columnAnimationService.finish();\n\t    };\n\t    // used by updateModel\n\t    ColumnController.prototype.getColumnGroupState = function () {\n\t        var groupState = {};\n\t        this.columnUtils.depthFirstDisplayedColumnTreeSearch(this.getAllDisplayedColumnGroups(), function (child) {\n\t            if (child instanceof columnGroup_1.ColumnGroup) {\n\t                var columnGroup = child;\n\t                var key = columnGroup.getGroupId();\n\t                // if more than one instance of the group, we only record the state of the first item\n\t                if (!groupState.hasOwnProperty(key)) {\n\t                    groupState[key] = columnGroup.isExpanded();\n\t                }\n\t            }\n\t        });\n\t        return groupState;\n\t    };\n\t    // used by updateModel\n\t    ColumnController.prototype.setColumnGroupState = function (groupState) {\n\t        this.columnUtils.depthFirstDisplayedColumnTreeSearch(this.getAllDisplayedColumnGroups(), function (child) {\n\t            if (child instanceof columnGroup_1.ColumnGroup) {\n\t                var columnGroup = child;\n\t                var key = columnGroup.getGroupId();\n\t                var shouldExpandGroup = groupState[key] === true && columnGroup.isExpandable();\n\t                if (shouldExpandGroup) {\n\t                    columnGroup.setExpanded(true);\n\t                }\n\t            }\n\t        });\n\t    };\n\t    ColumnController.prototype.calculateColumnsForDisplay = function () {\n\t        var columnsForDisplay;\n\t        if (this.pivotMode && !this.secondaryColumnsPresent) {\n\t            // pivot mode is on, but we are not pivoting, so we only\n\t            // show columns we are aggregating on\n\t            columnsForDisplay = this.createColumnsToDisplayFromValueColumns();\n\t        }\n\t        else {\n\t            // otherwise continue as normal. this can be working on the primary\n\t            // or secondary columns, whatever the gridColumns are set to\n\t            columnsForDisplay = utils_1.Utils.filter(this.gridColumns, function (column) { return column.isVisible(); });\n\t        }\n\t        this.createGroupAutoColumnsIfNeeded();\n\t        if (utils_1.Utils.exists(this.groupAutoColumns)) {\n\t            columnsForDisplay = this.groupAutoColumns.concat(columnsForDisplay);\n\t        }\n\t        return columnsForDisplay;\n\t    };\n\t    ColumnController.prototype.createColumnsToDisplayFromValueColumns = function () {\n\t        var _this = this;\n\t        // make a copy of the value columns, so we have to side effects\n\t        var result = this.valueColumns.slice();\n\t        // order the columns as per the grid columns. having the order is\n\t        // important as without it, reordering of columns would have no impact\n\t        result.sort(function (colA, colB) {\n\t            return _this.gridColumns.indexOf(colA) - _this.gridColumns.indexOf(colB);\n\t        });\n\t        return result;\n\t    };\n\t    ColumnController.prototype.updateDisplayedColumns = function () {\n\t        // save opened / closed state\n\t        var oldGroupState = this.getColumnGroupState();\n\t        var columnsForDisplay = this.calculateColumnsForDisplay();\n\t        this.buildDisplayedTrees(columnsForDisplay);\n\t        // restore opened / closed state\n\t        this.setColumnGroupState(oldGroupState);\n\t        // this is also called when a group is opened or closed\n\t        this.updateGroupsAndDisplayedColumns();\n\t        this.setFirstRightAndLastLeftPinned();\n\t    };\n\t    ColumnController.prototype.isSecondaryColumnsPresent = function () {\n\t        return this.secondaryColumnsPresent;\n\t    };\n\t    ColumnController.prototype.setSecondaryColumns = function (colDefs) {\n\t        var newColsPresent = colDefs && colDefs.length > 0;\n\t        // if not cols passed, and we had to cols anyway, then do nothing\n\t        if (!newColsPresent && !this.secondaryColumnsPresent) {\n\t            return;\n\t        }\n\t        if (newColsPresent) {\n\t            this.processSecondaryColumnDefinitions(colDefs);\n\t            var balancedTreeResult = this.balancedColumnTreeBuilder.createBalancedColumnGroups(colDefs, false);\n\t            this.secondaryBalancedTree = balancedTreeResult.balancedTree;\n\t            this.secondaryHeaderRowCount = balancedTreeResult.treeDept + 1;\n\t            this.secondaryColumns = this.getColumnsFromTree(this.secondaryBalancedTree);\n\t            this.secondaryColumnsPresent = true;\n\t        }\n\t        else {\n\t            this.secondaryBalancedTree = null;\n\t            this.secondaryHeaderRowCount = -1;\n\t            this.secondaryColumns = null;\n\t            this.secondaryColumnsPresent = false;\n\t        }\n\t        this.copyDownGridColumns();\n\t        this.updateDisplayedColumns();\n\t    };\n\t    ColumnController.prototype.processSecondaryColumnDefinitions = function (colDefs) {\n\t        var columnCallback = this.gridOptionsWrapper.getProcessSecondaryColDefFunc();\n\t        var groupCallback = this.gridOptionsWrapper.getProcessSecondaryColGroupDefFunc();\n\t        if (!columnCallback && !groupCallback) {\n\t            return;\n\t        }\n\t        searchForColDefs(colDefs);\n\t        function searchForColDefs(colDefs2) {\n\t            colDefs2.forEach(function (abstractColDef) {\n\t                var isGroup = utils_1.Utils.exists(abstractColDef.children);\n\t                if (isGroup) {\n\t                    var colGroupDef = abstractColDef;\n\t                    if (groupCallback) {\n\t                        groupCallback(colGroupDef);\n\t                    }\n\t                    searchForColDefs(colGroupDef.children);\n\t                }\n\t                else {\n\t                    var colDef = abstractColDef;\n\t                    if (columnCallback) {\n\t                        columnCallback(colDef);\n\t                    }\n\t                }\n\t            });\n\t        }\n\t    };\n\t    // called from: setColumnState, setColumnDefs, setAlternativeColumnDefs\n\t    ColumnController.prototype.copyDownGridColumns = function () {\n\t        if (this.secondaryColumns) {\n\t            this.gridBalancedTree = this.secondaryBalancedTree.slice();\n\t            this.gridHeaderRowCount = this.secondaryHeaderRowCount;\n\t            this.gridColumns = this.secondaryColumns.slice();\n\t        }\n\t        else {\n\t            this.gridBalancedTree = this.primaryBalancedTree.slice();\n\t            this.gridHeaderRowCount = this.primaryHeaderRowCount;\n\t            this.gridColumns = this.primaryColumns.slice();\n\t        }\n\t        this.clearDisplayedColumns();\n\t        var event = new columnChangeEvent_1.ColumnChangeEvent(events_1.Events.EVENT_GRID_COLUMNS_CHANGED);\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_GRID_COLUMNS_CHANGED, event);\n\t    };\n\t    // gets called after we copy down grid columns, to make sure any part of the gui\n\t    // that tries to draw, eg the header, it will get empty lists of columns rather\n\t    // than stale columns. for example, the header will received gridColumnsChanged\n\t    // event, so will try and draw, but it will draw successfully when it acts on the\n\t    // virtualColumnsChanged event\n\t    ColumnController.prototype.clearDisplayedColumns = function () {\n\t        this.displayedLeftColumnTree = [];\n\t        this.displayedRightColumnTree = [];\n\t        this.displayedCentreColumnTree = [];\n\t        this.displayedLeftHeaderRows = {};\n\t        this.displayedRightHeaderRows = {};\n\t        this.displayedCentreHeaderRows = {};\n\t        this.displayedLeftColumns = [];\n\t        this.displayedRightColumns = [];\n\t        this.displayedCenterColumns = [];\n\t        this.allDisplayedColumns = [];\n\t        this.allDisplayedVirtualColumns = [];\n\t    };\n\t    ColumnController.prototype.updateGroupsAndDisplayedColumns = function () {\n\t        this.updateGroups();\n\t        this.updateDisplayedColumnsFromTrees();\n\t        this.updateVirtualSets();\n\t        this.updateBodyWidths();\n\t        // this event is picked up by the gui, headerRenderer and rowRenderer, to recalculate what columns to display\n\t        var event = new columnChangeEvent_1.ColumnChangeEvent(events_1.Events.EVENT_DISPLAYED_COLUMNS_CHANGED);\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_DISPLAYED_COLUMNS_CHANGED, event);\n\t    };\n\t    ColumnController.prototype.updateDisplayedColumnsFromTrees = function () {\n\t        this.addToDisplayedColumns(this.displayedLeftColumnTree, this.displayedLeftColumns);\n\t        this.addToDisplayedColumns(this.displayedCentreColumnTree, this.displayedCenterColumns);\n\t        this.addToDisplayedColumns(this.displayedRightColumnTree, this.displayedRightColumns);\n\t        this.setupAllDisplayedColumns();\n\t        this.setLeftValues();\n\t    };\n\t    ColumnController.prototype.setupAllDisplayedColumns = function () {\n\t        if (this.gridOptionsWrapper.isEnableRtl()) {\n\t            this.allDisplayedColumns = this.displayedRightColumns\n\t                .concat(this.displayedCenterColumns)\n\t                .concat(this.displayedLeftColumns);\n\t        }\n\t        else {\n\t            this.allDisplayedColumns = this.displayedLeftColumns\n\t                .concat(this.displayedCenterColumns)\n\t                .concat(this.displayedRightColumns);\n\t        }\n\t    };\n\t    // sets the left pixel position of each column\n\t    ColumnController.prototype.setLeftValues = function () {\n\t        this.setLeftValuesOfColumns();\n\t        this.setLeftValuesOfGroups();\n\t    };\n\t    ColumnController.prototype.setLeftValuesOfColumns = function () {\n\t        var _this = this;\n\t        // go through each list of displayed columns\n\t        var allColumns = this.primaryColumns.slice(0);\n\t        // let totalColumnWidth = this.getWidthOfColsInList()\n\t        var doingRtl = this.gridOptionsWrapper.isEnableRtl();\n\t        [this.displayedLeftColumns, this.displayedRightColumns, this.displayedCenterColumns].forEach(function (columns) {\n\t            if (doingRtl) {\n\t                // when doing RTL, we start at the top most pixel (ie RHS) and work backwards\n\t                var left_1 = _this.getWidthOfColsInList(columns);\n\t                columns.forEach(function (column) {\n\t                    left_1 -= column.getActualWidth();\n\t                    column.setLeft(left_1);\n\t                });\n\t            }\n\t            else {\n\t                // otherwise normal LTR, we start at zero\n\t                var left_2 = 0;\n\t                columns.forEach(function (column) {\n\t                    column.setLeft(left_2);\n\t                    left_2 += column.getActualWidth();\n\t                });\n\t            }\n\t            utils_1.Utils.removeAllFromArray(allColumns, columns);\n\t        });\n\t        // items left in allColumns are columns not displayed, so remove the left position. this is\n\t        // important for the rows, as if a col is made visible, then taken out, then made visible again,\n\t        // we don't want the animation of the cell floating in from the old position, whatever that was.\n\t        allColumns.forEach(function (column) {\n\t            column.setLeft(null);\n\t        });\n\t    };\n\t    ColumnController.prototype.setLeftValuesOfGroups = function () {\n\t        // a groups left value is the lest left value of it's children\n\t        [this.displayedLeftColumnTree, this.displayedRightColumnTree, this.displayedCentreColumnTree].forEach(function (columns) {\n\t            columns.forEach(function (column) {\n\t                if (column instanceof columnGroup_1.ColumnGroup) {\n\t                    var columnGroup = column;\n\t                    columnGroup.checkLeft();\n\t                }\n\t            });\n\t        });\n\t    };\n\t    ColumnController.prototype.addToDisplayedColumns = function (displayedColumnTree, displayedColumns) {\n\t        displayedColumns.length = 0;\n\t        this.columnUtils.depthFirstDisplayedColumnTreeSearch(displayedColumnTree, function (child) {\n\t            if (child instanceof column_1.Column) {\n\t                displayedColumns.push(child);\n\t            }\n\t        });\n\t    };\n\t    ColumnController.prototype.updateDisplayedCenterVirtualColumns = function () {\n\t        var filteredCenterColumns;\n\t        var skipVirtualisation = this.gridOptionsWrapper.isSuppressColumnVirtualisation() || this.gridOptionsWrapper.isForPrint();\n\t        if (skipVirtualisation) {\n\t            // no virtualisation, so don't filter\n\t            filteredCenterColumns = this.displayedCenterColumns;\n\t        }\n\t        else {\n\t            // filter out what should be visible\n\t            filteredCenterColumns = this.filterOutColumnsWithinViewport(this.displayedCenterColumns);\n\t        }\n\t        this.allDisplayedVirtualColumns = filteredCenterColumns\n\t            .concat(this.displayedLeftColumns)\n\t            .concat(this.displayedRightColumns);\n\t        // return map of virtual col id's, for easy lookup when building the groups.\n\t        // the map will be colId=>true, ie col id's mapping to 'true'.\n\t        var result = {};\n\t        this.allDisplayedVirtualColumns.forEach(function (col) {\n\t            result[col.getId()] = true;\n\t        });\n\t        return result;\n\t    };\n\t    ColumnController.prototype.getVirtualHeaderGroupRow = function (type, dept) {\n\t        var result;\n\t        switch (type) {\n\t            case column_1.Column.PINNED_LEFT:\n\t                result = this.displayedLeftHeaderRows[dept];\n\t                break;\n\t            case column_1.Column.PINNED_RIGHT:\n\t                result = this.displayedRightHeaderRows[dept];\n\t                break;\n\t            default:\n\t                result = this.displayedCentreHeaderRows[dept];\n\t                break;\n\t        }\n\t        if (utils_1.Utils.missing(result)) {\n\t            result = [];\n\t        }\n\t        return result;\n\t    };\n\t    ColumnController.prototype.updateDisplayedVirtualGroups = function (virtualColIds) {\n\t        // go through each group, see if any of it's cols are displayed, and if yes,\n\t        // then this group is included\n\t        this.displayedLeftHeaderRows = {};\n\t        this.displayedRightHeaderRows = {};\n\t        this.displayedCentreHeaderRows = {};\n\t        testGroup(this.displayedLeftColumnTree, this.displayedLeftHeaderRows, 0);\n\t        testGroup(this.displayedRightColumnTree, this.displayedRightHeaderRows, 0);\n\t        testGroup(this.displayedCentreColumnTree, this.displayedCentreHeaderRows, 0);\n\t        function testGroup(children, result, dept) {\n\t            var returnValue = false;\n\t            for (var i = 0; i < children.length; i++) {\n\t                // see if this item is within viewport\n\t                var child = children[i];\n\t                var addThisItem = void 0;\n\t                if (child instanceof column_1.Column) {\n\t                    // for column, test if column is included\n\t                    addThisItem = virtualColIds[child.getId()] === true;\n\t                }\n\t                else {\n\t                    // if group, base decision on children\n\t                    var columnGroup = child;\n\t                    addThisItem = testGroup(columnGroup.getDisplayedChildren(), result, dept + 1);\n\t                }\n\t                if (addThisItem) {\n\t                    returnValue = true;\n\t                    if (!result[dept]) {\n\t                        result[dept] = [];\n\t                    }\n\t                    result[dept].push(child);\n\t                }\n\t            }\n\t            return returnValue;\n\t        }\n\t    };\n\t    ColumnController.prototype.updateVirtualSets = function () {\n\t        var virtualColIds = this.updateDisplayedCenterVirtualColumns();\n\t        this.updateDisplayedVirtualGroups(virtualColIds);\n\t    };\n\t    ColumnController.prototype.filterOutColumnsWithinViewport = function (columns) {\n\t        var _this = this;\n\t        return utils_1.Utils.filter(columns, function (column) {\n\t            // only out if both sides of columns are to the left or to the right of the boundary\n\t            var columnLeft = column.getLeft();\n\t            var columnRight = column.getLeft() + column.getActualWidth();\n\t            var columnToMuchLeft = columnLeft < _this.viewportLeft && columnRight < _this.viewportLeft;\n\t            var columnToMuchRight = columnLeft > _this.viewportRight && columnRight > _this.viewportRight;\n\t            return !columnToMuchLeft && !columnToMuchRight;\n\t        });\n\t    };\n\t    // called from api\n\t    ColumnController.prototype.sizeColumnsToFit = function (gridWidth) {\n\t        var _this = this;\n\t        // avoid divide by zero\n\t        var allDisplayedColumns = this.getAllDisplayedColumns();\n\t        if (gridWidth <= 0 || allDisplayedColumns.length === 0) {\n\t            return;\n\t        }\n\t        var colsToNotSpread = utils_1.Utils.filter(allDisplayedColumns, function (column) {\n\t            return column.getColDef().suppressSizeToFit === true;\n\t        });\n\t        var colsToSpread = utils_1.Utils.filter(allDisplayedColumns, function (column) {\n\t            return column.getColDef().suppressSizeToFit !== true;\n\t        });\n\t        // make a copy of the cols that are going to be resized\n\t        var colsToFireEventFor = colsToSpread.slice(0);\n\t        var finishedResizing = false;\n\t        while (!finishedResizing) {\n\t            finishedResizing = true;\n\t            var availablePixels = gridWidth - this.getWidthOfColsInList(colsToNotSpread);\n\t            if (availablePixels <= 0) {\n\t                // no width, set everything to minimum\n\t                colsToSpread.forEach(function (column) {\n\t                    column.setMinimum();\n\t                });\n\t            }\n\t            else {\n\t                var scale = availablePixels / this.getWidthOfColsInList(colsToSpread);\n\t                // we set the pixels for the last col based on what's left, as otherwise\n\t                // we could be a pixel or two short or extra because of rounding errors.\n\t                var pixelsForLastCol = availablePixels;\n\t                // backwards through loop, as we are removing items as we go\n\t                for (var i = colsToSpread.length - 1; i >= 0; i--) {\n\t                    var column = colsToSpread[i];\n\t                    var newWidth = Math.round(column.getActualWidth() * scale);\n\t                    if (newWidth < column.getMinWidth()) {\n\t                        column.setMinimum();\n\t                        moveToNotSpread(column);\n\t                        finishedResizing = false;\n\t                    }\n\t                    else if (column.isGreaterThanMax(newWidth)) {\n\t                        column.setActualWidth(column.getMaxWidth());\n\t                        moveToNotSpread(column);\n\t                        finishedResizing = false;\n\t                    }\n\t                    else {\n\t                        var onLastCol = i === 0;\n\t                        if (onLastCol) {\n\t                            column.setActualWidth(pixelsForLastCol);\n\t                        }\n\t                        else {\n\t                            column.setActualWidth(newWidth);\n\t                        }\n\t                    }\n\t                    pixelsForLastCol -= newWidth;\n\t                }\n\t            }\n\t        }\n\t        this.setLeftValues();\n\t        this.updateBodyWidths();\n\t        // widths set, refresh the gui\n\t        colsToFireEventFor.forEach(function (column) {\n\t            var event = new columnChangeEvent_1.ColumnChangeEvent(events_1.Events.EVENT_COLUMN_RESIZED).withColumn(column);\n\t            _this.eventService.dispatchEvent(events_1.Events.EVENT_COLUMN_RESIZED, event);\n\t        });\n\t        function moveToNotSpread(column) {\n\t            utils_1.Utils.removeFromArray(colsToSpread, column);\n\t            colsToNotSpread.push(column);\n\t        }\n\t    };\n\t    ColumnController.prototype.buildDisplayedTrees = function (visibleColumns) {\n\t        var leftVisibleColumns = utils_1.Utils.filter(visibleColumns, function (column) {\n\t            return column.getPinned() === 'left';\n\t        });\n\t        var rightVisibleColumns = utils_1.Utils.filter(visibleColumns, function (column) {\n\t            return column.getPinned() === 'right';\n\t        });\n\t        var centerVisibleColumns = utils_1.Utils.filter(visibleColumns, function (column) {\n\t            return column.getPinned() !== 'left' && column.getPinned() !== 'right';\n\t        });\n\t        var groupInstanceIdCreator = new groupInstanceIdCreator_1.GroupInstanceIdCreator();\n\t        this.displayedLeftColumnTree = this.displayedGroupCreator.createDisplayedGroups(leftVisibleColumns, this.gridBalancedTree, groupInstanceIdCreator, this.displayedLeftColumnTree);\n\t        this.displayedRightColumnTree = this.displayedGroupCreator.createDisplayedGroups(rightVisibleColumns, this.gridBalancedTree, groupInstanceIdCreator, this.displayedRightColumnTree);\n\t        this.displayedCentreColumnTree = this.displayedGroupCreator.createDisplayedGroups(centerVisibleColumns, this.gridBalancedTree, groupInstanceIdCreator, this.displayedCentreColumnTree);\n\t    };\n\t    ColumnController.prototype.updateGroups = function () {\n\t        var allGroups = this.getAllDisplayedColumnGroups();\n\t        this.columnUtils.depthFirstAllColumnTreeSearch(allGroups, function (child) {\n\t            if (child instanceof columnGroup_1.ColumnGroup) {\n\t                var group = child;\n\t                group.calculateDisplayedColumns();\n\t            }\n\t        });\n\t    };\n\t    ColumnController.prototype.getGroupAutoColumns = function () {\n\t        return this.groupAutoColumns;\n\t    };\n\t    ColumnController.prototype.createGroupAutoColumnsIfNeeded = function () {\n\t        if (!this.autoGroupsNeedBuilding) {\n\t            return;\n\t        }\n\t        this.autoGroupsNeedBuilding = false;\n\t        // see if we need to insert the default grouping column\n\t        var needAutoColumns = this.rowGroupColumns.length > 0\n\t            && !this.gridOptionsWrapper.isGroupSuppressAutoColumn()\n\t            && !this.gridOptionsWrapper.isGroupUseEntireRow()\n\t            && !this.gridOptionsWrapper.isGroupSuppressRow();\n\t        if (needAutoColumns) {\n\t            this.groupAutoColumns = this.autoGroupColService.createAutoGroupColumns(this.rowGroupColumns);\n\t        }\n\t        else {\n\t            this.groupAutoColumns = null;\n\t        }\n\t    };\n\t    ColumnController.prototype.createValueColumns = function () {\n\t        this.valueColumns.forEach(function (column) { return column.setValueActive(false); });\n\t        this.valueColumns = [];\n\t        // override with columns that have the aggFunc specified explicitly\n\t        for (var i = 0; i < this.primaryColumns.length; i++) {\n\t            var column = this.primaryColumns[i];\n\t            if (column.getColDef().aggFunc) {\n\t                column.setAggFunc(column.getColDef().aggFunc);\n\t                this.valueColumns.push(column);\n\t                column.setValueActive(true);\n\t            }\n\t        }\n\t    };\n\t    ColumnController.prototype.getWidthOfColsInList = function (columnList) {\n\t        var result = 0;\n\t        for (var i = 0; i < columnList.length; i++) {\n\t            result += columnList[i].getActualWidth();\n\t        }\n\t        return result;\n\t    };\n\t    ColumnController.prototype.getGridBalancedTree = function () {\n\t        return this.gridBalancedTree;\n\t    };\n\t    return ColumnController;\n\t}());\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], ColumnController.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('expressionService'),\n\t    __metadata(\"design:type\", expressionService_1.ExpressionService)\n\t], ColumnController.prototype, \"expressionService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('balancedColumnTreeBuilder'),\n\t    __metadata(\"design:type\", balancedColumnTreeBuilder_1.BalancedColumnTreeBuilder)\n\t], ColumnController.prototype, \"balancedColumnTreeBuilder\", void 0);\n\t__decorate([\n\t    context_1.Autowired('displayedGroupCreator'),\n\t    __metadata(\"design:type\", displayedGroupCreator_1.DisplayedGroupCreator)\n\t], ColumnController.prototype, \"displayedGroupCreator\", void 0);\n\t__decorate([\n\t    context_1.Autowired('autoWidthCalculator'),\n\t    __metadata(\"design:type\", autoWidthCalculator_1.AutoWidthCalculator)\n\t], ColumnController.prototype, \"autoWidthCalculator\", void 0);\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], ColumnController.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnUtils'),\n\t    __metadata(\"design:type\", columnUtils_1.ColumnUtils)\n\t], ColumnController.prototype, \"columnUtils\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridPanel'),\n\t    __metadata(\"design:type\", gridPanel_1.GridPanel)\n\t], ColumnController.prototype, \"gridPanel\", void 0);\n\t__decorate([\n\t    context_1.Autowired('context'),\n\t    __metadata(\"design:type\", context_1.Context)\n\t], ColumnController.prototype, \"context\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnAnimationService'),\n\t    __metadata(\"design:type\", columnAnimationService_1.ColumnAnimationService)\n\t], ColumnController.prototype, \"columnAnimationService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('autoGroupColService'),\n\t    __metadata(\"design:type\", autoGroupColService_1.AutoGroupColService)\n\t], ColumnController.prototype, \"autoGroupColService\", void 0);\n\t__decorate([\n\t    context_1.Optional('aggFuncService'),\n\t    __metadata(\"design:type\", Object)\n\t], ColumnController.prototype, \"aggFuncService\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], ColumnController.prototype, \"init\", null);\n\t__decorate([\n\t    __param(0, context_1.Qualifier('loggerFactory')),\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", [logger_1.LoggerFactory]),\n\t    __metadata(\"design:returntype\", void 0)\n\t], ColumnController.prototype, \"setBeans\", null);\n\tColumnController = __decorate([\n\t    context_1.Bean('columnController')\n\t], ColumnController);\n\texports.ColumnController = ColumnController;\n\n\n/***/ }),\n/* 17 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar column_1 = __webpack_require__(18);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar context_1 = __webpack_require__(8);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar ColumnGroup = (function () {\n\t    function ColumnGroup(originalColumnGroup, groupId, instanceId) {\n\t        // depends on the open/closed state of the group, only displaying columns are stored here\n\t        this.displayedChildren = [];\n\t        this.localEventService = new eventService_1.EventService();\n\t        this.groupId = groupId;\n\t        this.instanceId = instanceId;\n\t        this.originalColumnGroup = originalColumnGroup;\n\t    }\n\t    // this is static, a it is used outside of this class\n\t    ColumnGroup.createUniqueId = function (groupId, instanceId) {\n\t        return groupId + '_' + instanceId;\n\t    };\n\t    // as the user is adding and removing columns, the groups are recalculated.\n\t    // this reset clears out all children, ready for children to be added again\n\t    ColumnGroup.prototype.reset = function () {\n\t        this.parent = null;\n\t        this.children = null;\n\t        this.displayedChildren = null;\n\t    };\n\t    ColumnGroup.prototype.getParent = function () {\n\t        return this.parent;\n\t    };\n\t    ColumnGroup.prototype.setParent = function (parent) {\n\t        this.parent = parent;\n\t    };\n\t    ColumnGroup.prototype.getUniqueId = function () {\n\t        return ColumnGroup.createUniqueId(this.groupId, this.instanceId);\n\t    };\n\t    ColumnGroup.prototype.checkLeft = function () {\n\t        // first get all children to setLeft, as it impacts our decision below\n\t        this.displayedChildren.forEach(function (child) {\n\t            if (child instanceof ColumnGroup) {\n\t                child.checkLeft();\n\t            }\n\t        });\n\t        // set our left based on first displayed column\n\t        if (this.displayedChildren.length > 0) {\n\t            if (this.gridOptionsWrapper.isEnableRtl()) {\n\t                var lastChild = this.displayedChildren[this.displayedChildren.length - 1];\n\t                var lastChildLeft = lastChild.getLeft();\n\t                this.setLeft(lastChildLeft);\n\t            }\n\t            else {\n\t                var firstChildLeft = this.displayedChildren[0].getLeft();\n\t                this.setLeft(firstChildLeft);\n\t            }\n\t        }\n\t        else {\n\t            // this should never happen, as if we have no displayed columns, then\n\t            // this groups should not even exist.\n\t            this.setLeft(null);\n\t        }\n\t    };\n\t    ColumnGroup.prototype.getLeft = function () {\n\t        return this.left;\n\t    };\n\t    ColumnGroup.prototype.getOldLeft = function () {\n\t        return this.oldLeft;\n\t    };\n\t    ColumnGroup.prototype.setLeft = function (left) {\n\t        this.oldLeft = left;\n\t        if (this.left !== left) {\n\t            this.left = left;\n\t            this.localEventService.dispatchEvent(ColumnGroup.EVENT_LEFT_CHANGED);\n\t        }\n\t    };\n\t    ColumnGroup.prototype.addEventListener = function (eventType, listener) {\n\t        this.localEventService.addEventListener(eventType, listener);\n\t    };\n\t    ColumnGroup.prototype.removeEventListener = function (eventType, listener) {\n\t        this.localEventService.removeEventListener(eventType, listener);\n\t    };\n\t    // public setMoving(moving: boolean) {\n\t    //     this.getDisplayedLeafColumns().forEach( (column)=> column.setMoving(moving) );\n\t    // }\n\t    //\n\t    // public isMoving(): boolean {\n\t    //     return this.moving;\n\t    // }\n\t    ColumnGroup.prototype.getGroupId = function () {\n\t        return this.groupId;\n\t    };\n\t    ColumnGroup.prototype.getInstanceId = function () {\n\t        return this.instanceId;\n\t    };\n\t    ColumnGroup.prototype.isChildInThisGroupDeepSearch = function (wantedChild) {\n\t        var result = false;\n\t        this.children.forEach(function (foundChild) {\n\t            if (wantedChild === foundChild) {\n\t                result = true;\n\t            }\n\t            if (foundChild instanceof ColumnGroup) {\n\t                if (foundChild.isChildInThisGroupDeepSearch(wantedChild)) {\n\t                    result = true;\n\t                }\n\t            }\n\t        });\n\t        return result;\n\t    };\n\t    ColumnGroup.prototype.getActualWidth = function () {\n\t        var groupActualWidth = 0;\n\t        if (this.displayedChildren) {\n\t            this.displayedChildren.forEach(function (child) {\n\t                groupActualWidth += child.getActualWidth();\n\t            });\n\t        }\n\t        return groupActualWidth;\n\t    };\n\t    ColumnGroup.prototype.getMinWidth = function () {\n\t        var result = 0;\n\t        this.displayedChildren.forEach(function (groupChild) {\n\t            result += groupChild.getMinWidth();\n\t        });\n\t        return result;\n\t    };\n\t    ColumnGroup.prototype.addChild = function (child) {\n\t        if (!this.children) {\n\t            this.children = [];\n\t        }\n\t        this.children.push(child);\n\t    };\n\t    ColumnGroup.prototype.getDisplayedChildren = function () {\n\t        return this.displayedChildren;\n\t    };\n\t    ColumnGroup.prototype.getLeafColumns = function () {\n\t        var result = [];\n\t        this.addLeafColumns(result);\n\t        return result;\n\t    };\n\t    ColumnGroup.prototype.getDisplayedLeafColumns = function () {\n\t        var result = [];\n\t        this.addDisplayedLeafColumns(result);\n\t        return result;\n\t    };\n\t    // why two methods here doing the same thing?\n\t    ColumnGroup.prototype.getDefinition = function () {\n\t        return this.originalColumnGroup.getColGroupDef();\n\t    };\n\t    ColumnGroup.prototype.getColGroupDef = function () {\n\t        return this.originalColumnGroup.getColGroupDef();\n\t    };\n\t    ColumnGroup.prototype.isPadding = function () {\n\t        return this.originalColumnGroup.isPadding();\n\t    };\n\t    ColumnGroup.prototype.isExpandable = function () {\n\t        return this.originalColumnGroup.isExpandable();\n\t    };\n\t    ColumnGroup.prototype.isExpanded = function () {\n\t        return this.originalColumnGroup.isExpanded();\n\t    };\n\t    ColumnGroup.prototype.setExpanded = function (expanded) {\n\t        this.originalColumnGroup.setExpanded(expanded);\n\t    };\n\t    ColumnGroup.prototype.addDisplayedLeafColumns = function (leafColumns) {\n\t        this.displayedChildren.forEach(function (child) {\n\t            if (child instanceof column_1.Column) {\n\t                leafColumns.push(child);\n\t            }\n\t            else if (child instanceof ColumnGroup) {\n\t                child.addDisplayedLeafColumns(leafColumns);\n\t            }\n\t        });\n\t    };\n\t    ColumnGroup.prototype.addLeafColumns = function (leafColumns) {\n\t        this.children.forEach(function (child) {\n\t            if (child instanceof column_1.Column) {\n\t                leafColumns.push(child);\n\t            }\n\t            else if (child instanceof ColumnGroup) {\n\t                child.addLeafColumns(leafColumns);\n\t            }\n\t        });\n\t    };\n\t    ColumnGroup.prototype.getChildren = function () {\n\t        return this.children;\n\t    };\n\t    ColumnGroup.prototype.getColumnGroupShow = function () {\n\t        return this.originalColumnGroup.getColumnGroupShow();\n\t    };\n\t    ColumnGroup.prototype.getOriginalColumnGroup = function () {\n\t        return this.originalColumnGroup;\n\t    };\n\t    ColumnGroup.prototype.calculateDisplayedColumns = function () {\n\t        var _this = this;\n\t        // clear out last time we calculated\n\t        this.displayedChildren = [];\n\t        // it not expandable, everything is visible\n\t        if (!this.originalColumnGroup.isExpandable()) {\n\t            this.displayedChildren = this.children;\n\t        }\n\t        else {\n\t            // and calculate again\n\t            this.children.forEach(function (abstractColumn) {\n\t                var headerGroupShow = abstractColumn.getColumnGroupShow();\n\t                switch (headerGroupShow) {\n\t                    case ColumnGroup.HEADER_GROUP_SHOW_OPEN:\n\t                        // when set to open, only show col if group is open\n\t                        if (_this.originalColumnGroup.isExpanded()) {\n\t                            _this.displayedChildren.push(abstractColumn);\n\t                        }\n\t                        break;\n\t                    case ColumnGroup.HEADER_GROUP_SHOW_CLOSED:\n\t                        // when set to open, only show col if group is open\n\t                        if (!_this.originalColumnGroup.isExpanded()) {\n\t                            _this.displayedChildren.push(abstractColumn);\n\t                        }\n\t                        break;\n\t                    default:\n\t                        // default is always show the column\n\t                        _this.displayedChildren.push(abstractColumn);\n\t                        break;\n\t                }\n\t            });\n\t        }\n\t        this.localEventService.dispatchEvent(ColumnGroup.EVENT_DISPLAYED_CHILDREN_CHANGED);\n\t    };\n\t    return ColumnGroup;\n\t}());\n\tColumnGroup.HEADER_GROUP_SHOW_OPEN = 'open';\n\tColumnGroup.HEADER_GROUP_SHOW_CLOSED = 'closed';\n\tColumnGroup.EVENT_LEFT_CHANGED = 'leftChanged';\n\tColumnGroup.EVENT_DISPLAYED_CHILDREN_CHANGED = 'leftChanged';\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], ColumnGroup.prototype, \"gridOptionsWrapper\", void 0);\n\texports.ColumnGroup = ColumnGroup;\n\n\n/***/ }),\n/* 18 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar eventService_1 = __webpack_require__(6);\n\tvar utils_1 = __webpack_require__(9);\n\tvar context_1 = __webpack_require__(8);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar columnUtils_1 = __webpack_require__(19);\n\t// Wrapper around a user provide column definition. The grid treats the column definition as ready only.\n\t// This class contains all the runtime information about a column, plus some logic (the definition has no logic).\n\t// This class implements both interfaces ColumnGroupChild and OriginalColumnGroupChild as the class can\n\t// appear as a child of either the original tree or the displayed tree. However the relevant group classes\n\t// for each type only implements one, as each group can only appear in it's associated tree (eg OriginalColumnGroup\n\t// can only appear in OriginalColumn tree).\n\tvar Column = (function () {\n\t    function Column(colDef, colId, primary) {\n\t        this.moving = false;\n\t        this.filterActive = false;\n\t        this.eventService = new eventService_1.EventService();\n\t        this.rowGroupActive = false;\n\t        this.pivotActive = false;\n\t        this.aggregationActive = false;\n\t        this.colDef = colDef;\n\t        this.visible = !colDef.hide;\n\t        this.sort = colDef.sort;\n\t        this.sortedAt = colDef.sortedAt;\n\t        this.colId = colId;\n\t        this.primary = primary;\n\t    }\n\t    Column.prototype.setParent = function (parent) {\n\t        this.parent = parent;\n\t    };\n\t    Column.prototype.getParent = function () {\n\t        return this.parent;\n\t    };\n\t    // this is done after constructor as it uses gridOptionsWrapper\n\t    Column.prototype.initialise = function () {\n\t        this.floatingCellRenderer = this.frameworkFactory.colDefFloatingCellRenderer(this.colDef);\n\t        this.cellRenderer = this.frameworkFactory.colDefCellRenderer(this.colDef);\n\t        this.cellEditor = this.frameworkFactory.colDefCellEditor(this.colDef);\n\t        this.filter = this.frameworkFactory.colDefFilter(this.colDef);\n\t        this.setPinned(this.colDef.pinned);\n\t        var minColWidth = this.gridOptionsWrapper.getMinColWidth();\n\t        var maxColWidth = this.gridOptionsWrapper.getMaxColWidth();\n\t        if (this.colDef.minWidth) {\n\t            this.minWidth = this.colDef.minWidth;\n\t        }\n\t        else {\n\t            this.minWidth = minColWidth;\n\t        }\n\t        if (this.colDef.maxWidth) {\n\t            this.maxWidth = this.colDef.maxWidth;\n\t        }\n\t        else {\n\t            this.maxWidth = maxColWidth;\n\t        }\n\t        this.actualWidth = this.columnUtils.calculateColInitialWidth(this.colDef);\n\t        var suppressDotNotation = this.gridOptionsWrapper.isSuppressFieldDotNotation();\n\t        this.fieldContainsDots = utils_1.Utils.exists(this.colDef.field) && this.colDef.field.indexOf('.') >= 0 && !suppressDotNotation;\n\t        this.tooltipFieldContainsDots = utils_1.Utils.exists(this.colDef.tooltipField) && this.colDef.tooltipField.indexOf('.') >= 0 && !suppressDotNotation;\n\t        this.validate();\n\t    };\n\t    Column.prototype.getCellRenderer = function () {\n\t        return this.cellRenderer;\n\t    };\n\t    Column.prototype.getCellEditor = function () {\n\t        return this.cellEditor;\n\t    };\n\t    Column.prototype.getFloatingCellRenderer = function () {\n\t        return this.floatingCellRenderer;\n\t    };\n\t    Column.prototype.getFilter = function () {\n\t        return this.filter;\n\t    };\n\t    Column.prototype.getUniqueId = function () {\n\t        return this.getId();\n\t    };\n\t    Column.prototype.isPrimary = function () {\n\t        return this.primary;\n\t    };\n\t    Column.prototype.isFilterAllowed = function () {\n\t        return this.primary && !this.colDef.suppressFilter;\n\t    };\n\t    Column.prototype.isFieldContainsDots = function () {\n\t        return this.fieldContainsDots;\n\t    };\n\t    Column.prototype.isTooltipFieldContainsDots = function () {\n\t        return this.tooltipFieldContainsDots;\n\t    };\n\t    Column.prototype.validate = function () {\n\t        if (!this.gridOptionsWrapper.isEnterprise()) {\n\t            if (utils_1.Utils.exists(this.colDef.aggFunc)) {\n\t                console.warn('ag-Grid: aggFunc is only valid in ag-Grid-Enterprise');\n\t            }\n\t            if (utils_1.Utils.exists(this.colDef.rowGroupIndex)) {\n\t                console.warn('ag-Grid: rowGroupIndex is only valid in ag-Grid-Enterprise');\n\t            }\n\t        }\n\t        if (utils_1.Utils.exists(this.colDef.width) && typeof this.colDef.width !== 'number') {\n\t            console.warn('ag-Grid: colDef.width should be a number, not ' + typeof this.colDef.width);\n\t        }\n\t    };\n\t    Column.prototype.addEventListener = function (eventType, listener) {\n\t        this.eventService.addEventListener(eventType, listener);\n\t    };\n\t    Column.prototype.removeEventListener = function (eventType, listener) {\n\t        this.eventService.removeEventListener(eventType, listener);\n\t    };\n\t    Column.prototype.createIsColumnFuncParams = function (rowNode) {\n\t        return {\n\t            node: rowNode,\n\t            column: this,\n\t            colDef: this.colDef,\n\t            context: this.gridOptionsWrapper.getContext(),\n\t            api: this.gridOptionsWrapper.getApi(),\n\t            columnApi: this.gridOptionsWrapper.getColumnApi()\n\t        };\n\t    };\n\t    Column.prototype.isSuppressNavigable = function (rowNode) {\n\t        // if boolean set, then just use it\n\t        if (typeof this.colDef.suppressNavigable === 'boolean') {\n\t            return this.colDef.suppressNavigable;\n\t        }\n\t        // if function, then call the function to find out\n\t        if (typeof this.colDef.suppressNavigable === 'function') {\n\t            var params = this.createIsColumnFuncParams(rowNode);\n\t            var suppressNaviableFunc = this.colDef.suppressNavigable;\n\t            return suppressNaviableFunc(params);\n\t        }\n\t        return false;\n\t    };\n\t    Column.prototype.isCellEditable = function (rowNode) {\n\t        // if boolean set, then just use it\n\t        if (typeof this.colDef.editable === 'boolean') {\n\t            return this.colDef.editable;\n\t        }\n\t        // if function, then call the function to find out\n\t        if (typeof this.colDef.editable === 'function') {\n\t            var params = this.createIsColumnFuncParams(rowNode);\n\t            var editableFunc = this.colDef.editable;\n\t            return editableFunc(params);\n\t        }\n\t        return false;\n\t    };\n\t    Column.prototype.setMoving = function (moving) {\n\t        this.moving = moving;\n\t        this.eventService.dispatchEvent(Column.EVENT_MOVING_CHANGED);\n\t    };\n\t    Column.prototype.isMoving = function () {\n\t        return this.moving;\n\t    };\n\t    Column.prototype.getSort = function () {\n\t        return this.sort;\n\t    };\n\t    Column.prototype.setSort = function (sort) {\n\t        if (this.sort !== sort) {\n\t            this.sort = sort;\n\t            this.eventService.dispatchEvent(Column.EVENT_SORT_CHANGED);\n\t        }\n\t    };\n\t    Column.prototype.isSortAscending = function () {\n\t        return this.sort === Column.SORT_ASC;\n\t    };\n\t    Column.prototype.isSortDescending = function () {\n\t        return this.sort === Column.SORT_DESC;\n\t    };\n\t    Column.prototype.isSortNone = function () {\n\t        return utils_1.Utils.missing(this.sort);\n\t    };\n\t    Column.prototype.isSorting = function () {\n\t        return utils_1.Utils.exists(this.sort);\n\t    };\n\t    Column.prototype.getSortedAt = function () {\n\t        return this.sortedAt;\n\t    };\n\t    Column.prototype.setSortedAt = function (sortedAt) {\n\t        this.sortedAt = sortedAt;\n\t    };\n\t    Column.prototype.setAggFunc = function (aggFunc) {\n\t        this.aggFunc = aggFunc;\n\t    };\n\t    Column.prototype.getAggFunc = function () {\n\t        return this.aggFunc;\n\t    };\n\t    Column.prototype.getLeft = function () {\n\t        return this.left;\n\t    };\n\t    Column.prototype.getOldLeft = function () {\n\t        return this.oldLeft;\n\t    };\n\t    Column.prototype.getRight = function () {\n\t        return this.left + this.actualWidth;\n\t    };\n\t    Column.prototype.setLeft = function (left) {\n\t        this.oldLeft = this.left;\n\t        if (this.left !== left) {\n\t            this.left = left;\n\t            this.eventService.dispatchEvent(Column.EVENT_LEFT_CHANGED);\n\t        }\n\t    };\n\t    Column.prototype.isFilterActive = function () {\n\t        return this.filterActive;\n\t    };\n\t    Column.prototype.setFilterActive = function (active) {\n\t        if (this.filterActive !== active) {\n\t            this.filterActive = active;\n\t            this.eventService.dispatchEvent(Column.EVENT_FILTER_ACTIVE_CHANGED);\n\t        }\n\t        this.eventService.dispatchEvent(Column.EVENT_FILTER_CHANGED);\n\t    };\n\t    Column.prototype.setPinned = function (pinned) {\n\t        // pinning is not allowed when doing 'forPrint'\n\t        if (this.gridOptionsWrapper.isForPrint()) {\n\t            return;\n\t        }\n\t        if (pinned === true || pinned === Column.PINNED_LEFT) {\n\t            this.pinned = Column.PINNED_LEFT;\n\t        }\n\t        else if (pinned === Column.PINNED_RIGHT) {\n\t            this.pinned = Column.PINNED_RIGHT;\n\t        }\n\t        else {\n\t            this.pinned = null;\n\t        }\n\t        // console.log(`setColumnsPinned ${this.getColId()} ${this.pinned}`);\n\t    };\n\t    Column.prototype.setFirstRightPinned = function (firstRightPinned) {\n\t        if (this.firstRightPinned !== firstRightPinned) {\n\t            this.firstRightPinned = firstRightPinned;\n\t            this.eventService.dispatchEvent(Column.EVENT_FIRST_RIGHT_PINNED_CHANGED);\n\t        }\n\t    };\n\t    Column.prototype.setLastLeftPinned = function (lastLeftPinned) {\n\t        if (this.lastLeftPinned !== lastLeftPinned) {\n\t            this.lastLeftPinned = lastLeftPinned;\n\t            this.eventService.dispatchEvent(Column.EVENT_LAST_LEFT_PINNED_CHANGED);\n\t        }\n\t    };\n\t    Column.prototype.isFirstRightPinned = function () {\n\t        return this.firstRightPinned;\n\t    };\n\t    Column.prototype.isLastLeftPinned = function () {\n\t        return this.lastLeftPinned;\n\t    };\n\t    Column.prototype.isPinned = function () {\n\t        return this.pinned === Column.PINNED_LEFT || this.pinned === Column.PINNED_RIGHT;\n\t    };\n\t    Column.prototype.isPinnedLeft = function () {\n\t        return this.pinned === Column.PINNED_LEFT;\n\t    };\n\t    Column.prototype.isPinnedRight = function () {\n\t        return this.pinned === Column.PINNED_RIGHT;\n\t    };\n\t    Column.prototype.getPinned = function () {\n\t        return this.pinned;\n\t    };\n\t    Column.prototype.setVisible = function (visible) {\n\t        var newValue = visible === true;\n\t        if (this.visible !== newValue) {\n\t            this.visible = newValue;\n\t            this.eventService.dispatchEvent(Column.EVENT_VISIBLE_CHANGED);\n\t        }\n\t    };\n\t    Column.prototype.isVisible = function () {\n\t        return this.visible;\n\t    };\n\t    Column.prototype.getColDef = function () {\n\t        return this.colDef;\n\t    };\n\t    Column.prototype.getColumnGroupShow = function () {\n\t        return this.colDef.columnGroupShow;\n\t    };\n\t    Column.prototype.getColId = function () {\n\t        return this.colId;\n\t    };\n\t    Column.prototype.getId = function () {\n\t        return this.getColId();\n\t    };\n\t    Column.prototype.getDefinition = function () {\n\t        return this.colDef;\n\t    };\n\t    Column.prototype.getActualWidth = function () {\n\t        return this.actualWidth;\n\t    };\n\t    Column.prototype.setActualWidth = function (actualWidth) {\n\t        if (this.actualWidth !== actualWidth) {\n\t            this.actualWidth = actualWidth;\n\t            this.eventService.dispatchEvent(Column.EVENT_WIDTH_CHANGED);\n\t        }\n\t    };\n\t    Column.prototype.isGreaterThanMax = function (width) {\n\t        if (this.maxWidth) {\n\t            return width > this.maxWidth;\n\t        }\n\t        else {\n\t            return false;\n\t        }\n\t    };\n\t    Column.prototype.getMinWidth = function () {\n\t        return this.minWidth;\n\t    };\n\t    Column.prototype.getMaxWidth = function () {\n\t        return this.maxWidth;\n\t    };\n\t    Column.prototype.setMinimum = function () {\n\t        this.setActualWidth(this.minWidth);\n\t    };\n\t    Column.prototype.setRowGroupActive = function (rowGroup) {\n\t        if (this.rowGroupActive !== rowGroup) {\n\t            this.rowGroupActive = rowGroup;\n\t            this.eventService.dispatchEvent(Column.EVENT_ROW_GROUP_CHANGED, this);\n\t        }\n\t    };\n\t    Column.prototype.isRowGroupActive = function () {\n\t        return this.rowGroupActive;\n\t    };\n\t    Column.prototype.setPivotActive = function (pivot) {\n\t        if (this.pivotActive !== pivot) {\n\t            this.pivotActive = pivot;\n\t            this.eventService.dispatchEvent(Column.EVENT_PIVOT_CHANGED, this);\n\t        }\n\t    };\n\t    Column.prototype.isPivotActive = function () {\n\t        return this.pivotActive;\n\t    };\n\t    Column.prototype.isAnyFunctionActive = function () {\n\t        return this.isPivotActive() || this.isRowGroupActive() || this.isValueActive();\n\t    };\n\t    Column.prototype.isAnyFunctionAllowed = function () {\n\t        return this.isAllowPivot() || this.isAllowRowGroup() || this.isAllowValue();\n\t    };\n\t    Column.prototype.setValueActive = function (value) {\n\t        if (this.aggregationActive !== value) {\n\t            this.aggregationActive = value;\n\t            this.eventService.dispatchEvent(Column.EVENT_VALUE_CHANGED, this);\n\t        }\n\t    };\n\t    Column.prototype.isValueActive = function () {\n\t        return this.aggregationActive;\n\t    };\n\t    Column.prototype.isAllowPivot = function () {\n\t        return this.colDef.enablePivot === true;\n\t    };\n\t    Column.prototype.isAllowValue = function () {\n\t        return this.colDef.enableValue === true;\n\t    };\n\t    Column.prototype.isAllowRowGroup = function () {\n\t        return this.colDef.enableRowGroup === true;\n\t    };\n\t    return Column;\n\t}());\n\t// + renderedHeaderCell - for making header cell transparent when moving\n\tColumn.EVENT_MOVING_CHANGED = 'movingChanged';\n\t// + renderedCell - changing left position\n\tColumn.EVENT_LEFT_CHANGED = 'leftChanged';\n\t// + renderedCell - changing width\n\tColumn.EVENT_WIDTH_CHANGED = 'widthChanged';\n\t// + renderedCell - for changing pinned classes\n\tColumn.EVENT_LAST_LEFT_PINNED_CHANGED = 'lastLeftPinnedChanged';\n\tColumn.EVENT_FIRST_RIGHT_PINNED_CHANGED = 'firstRightPinnedChanged';\n\t// + renderedColumn - for changing visibility icon\n\tColumn.EVENT_VISIBLE_CHANGED = 'visibleChanged';\n\t// + every time the filter changes, used in the floating filters\n\tColumn.EVENT_FILTER_CHANGED = 'filterChanged';\n\t// + renderedHeaderCell - marks the header with filter icon\n\tColumn.EVENT_FILTER_ACTIVE_CHANGED = 'filterActiveChanged';\n\t// + renderedHeaderCell - marks the header with sort icon\n\tColumn.EVENT_SORT_CHANGED = 'sortChanged';\n\t// + toolpanel, for gui updates\n\tColumn.EVENT_ROW_GROUP_CHANGED = 'columnRowGroupChanged';\n\t// + toolpanel, for gui updates\n\tColumn.EVENT_PIVOT_CHANGED = 'columnPivotChanged';\n\t// + toolpanel, for gui updates\n\tColumn.EVENT_VALUE_CHANGED = 'columnValueChanged';\n\tColumn.PINNED_RIGHT = 'right';\n\tColumn.PINNED_LEFT = 'left';\n\tColumn.SORT_ASC = 'asc';\n\tColumn.SORT_DESC = 'desc';\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], Column.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnUtils'),\n\t    __metadata(\"design:type\", columnUtils_1.ColumnUtils)\n\t], Column.prototype, \"columnUtils\", void 0);\n\t__decorate([\n\t    context_1.Autowired('frameworkFactory'),\n\t    __metadata(\"design:type\", Object)\n\t], Column.prototype, \"frameworkFactory\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], Column.prototype, \"initialise\", null);\n\texports.Column = Column;\n\n\n/***/ }),\n/* 19 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar columnGroup_1 = __webpack_require__(17);\n\tvar originalColumnGroup_1 = __webpack_require__(20);\n\tvar context_1 = __webpack_require__(8);\n\tvar context_2 = __webpack_require__(8);\n\t// takes in a list of columns, as specified by the column definitions, and returns column groups\n\tvar ColumnUtils = (function () {\n\t    function ColumnUtils() {\n\t    }\n\t    ColumnUtils.prototype.calculateColInitialWidth = function (colDef) {\n\t        if (!colDef.width) {\n\t            // if no width defined in colDef, use default\n\t            return this.gridOptionsWrapper.getColWidth();\n\t        }\n\t        else if (colDef.width < this.gridOptionsWrapper.getMinColWidth()) {\n\t            // if width in col def to small, set to min width\n\t            return this.gridOptionsWrapper.getMinColWidth();\n\t        }\n\t        else {\n\t            // otherwise use the provided width\n\t            return colDef.width;\n\t        }\n\t    };\n\t    ColumnUtils.prototype.getOriginalPathForColumn = function (column, originalBalancedTree) {\n\t        var result = [];\n\t        var found = false;\n\t        recursePath(originalBalancedTree, 0);\n\t        // we should always find the path, but in case there is a bug somewhere, returning null\n\t        // will make it fail rather than provide a 'hard to track down' bug\n\t        if (found) {\n\t            return result;\n\t        }\n\t        else {\n\t            return null;\n\t        }\n\t        function recursePath(balancedColumnTree, dept) {\n\t            for (var i = 0; i < balancedColumnTree.length; i++) {\n\t                if (found) {\n\t                    // quit the search, so 'result' is kept with the found result\n\t                    return;\n\t                }\n\t                var node = balancedColumnTree[i];\n\t                if (node instanceof originalColumnGroup_1.OriginalColumnGroup) {\n\t                    var nextNode = node;\n\t                    recursePath(nextNode.getChildren(), dept + 1);\n\t                    result[dept] = node;\n\t                }\n\t                else {\n\t                    if (node === column) {\n\t                        found = true;\n\t                    }\n\t                }\n\t            }\n\t        }\n\t    };\n\t    /*    public getPathForColumn(column: Column, allDisplayedColumnGroups: ColumnGroupChild[]): ColumnGroup[] {\n\t            var result: ColumnGroup[] = [];\n\t            var found = false;\n\t    \n\t            recursePath(allDisplayedColumnGroups, 0);\n\t    \n\t            // we should always find the path, but in case there is a bug somewhere, returning null\n\t            // will make it fail rather than provide a 'hard to track down' bug\n\t            if (found) {\n\t                return result;\n\t            } else {\n\t                return null;\n\t            }\n\t    \n\t            function recursePath(balancedColumnTree: ColumnGroupChild[], dept: number): void {\n\t    \n\t                for (var i = 0; i<balancedColumnTree.length; i++) {\n\t                    if (found) {\n\t                        // quit the search, so 'result' is kept with the found result\n\t                        return;\n\t                    }\n\t                    var node = balancedColumnTree[i];\n\t                    if (node instanceof ColumnGroup) {\n\t                        var nextNode = <ColumnGroup> node;\n\t                        recursePath(nextNode.getChildren(), dept+1);\n\t                        result[dept] = node;\n\t                    } else {\n\t                        if (node === column) {\n\t                            found = true;\n\t                        }\n\t                    }\n\t                }\n\t            }\n\t        }*/\n\t    ColumnUtils.prototype.depthFirstOriginalTreeSearch = function (tree, callback) {\n\t        var _this = this;\n\t        if (!tree) {\n\t            return;\n\t        }\n\t        tree.forEach(function (child) {\n\t            if (child instanceof originalColumnGroup_1.OriginalColumnGroup) {\n\t                _this.depthFirstOriginalTreeSearch(child.getChildren(), callback);\n\t            }\n\t            callback(child);\n\t        });\n\t    };\n\t    ColumnUtils.prototype.depthFirstAllColumnTreeSearch = function (tree, callback) {\n\t        var _this = this;\n\t        if (!tree) {\n\t            return;\n\t        }\n\t        tree.forEach(function (child) {\n\t            if (child instanceof columnGroup_1.ColumnGroup) {\n\t                _this.depthFirstAllColumnTreeSearch(child.getChildren(), callback);\n\t            }\n\t            callback(child);\n\t        });\n\t    };\n\t    ColumnUtils.prototype.depthFirstDisplayedColumnTreeSearch = function (tree, callback) {\n\t        var _this = this;\n\t        if (!tree) {\n\t            return;\n\t        }\n\t        tree.forEach(function (child) {\n\t            if (child instanceof columnGroup_1.ColumnGroup) {\n\t                _this.depthFirstDisplayedColumnTreeSearch(child.getDisplayedChildren(), callback);\n\t            }\n\t            callback(child);\n\t        });\n\t    };\n\t    return ColumnUtils;\n\t}());\n\t__decorate([\n\t    context_2.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], ColumnUtils.prototype, \"gridOptionsWrapper\", void 0);\n\tColumnUtils = __decorate([\n\t    context_1.Bean('columnUtils')\n\t], ColumnUtils);\n\texports.ColumnUtils = ColumnUtils;\n\n\n/***/ }),\n/* 20 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar columnGroup_1 = __webpack_require__(17);\n\tvar column_1 = __webpack_require__(18);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar OriginalColumnGroup = (function () {\n\t    function OriginalColumnGroup(colGroupDef, groupId, padding) {\n\t        this.localEventService = new eventService_1.EventService();\n\t        this.expandable = false;\n\t        this.colGroupDef = colGroupDef;\n\t        this.groupId = groupId;\n\t        this.expanded = colGroupDef && !!colGroupDef.openByDefault;\n\t        this.padding = padding;\n\t    }\n\t    OriginalColumnGroup.prototype.isPadding = function () {\n\t        return this.padding;\n\t    };\n\t    OriginalColumnGroup.prototype.setExpanded = function (expanded) {\n\t        this.expanded = expanded;\n\t        this.localEventService.dispatchEvent(OriginalColumnGroup.EVENT_EXPANDED_CHANGED);\n\t    };\n\t    OriginalColumnGroup.prototype.isExpandable = function () {\n\t        return this.expandable;\n\t    };\n\t    OriginalColumnGroup.prototype.isExpanded = function () {\n\t        return this.expanded;\n\t    };\n\t    OriginalColumnGroup.prototype.getGroupId = function () {\n\t        return this.groupId;\n\t    };\n\t    OriginalColumnGroup.prototype.getId = function () {\n\t        return this.getGroupId();\n\t    };\n\t    OriginalColumnGroup.prototype.setChildren = function (children) {\n\t        this.children = children;\n\t    };\n\t    OriginalColumnGroup.prototype.getChildren = function () {\n\t        return this.children;\n\t    };\n\t    OriginalColumnGroup.prototype.getColGroupDef = function () {\n\t        return this.colGroupDef;\n\t    };\n\t    OriginalColumnGroup.prototype.getLeafColumns = function () {\n\t        var result = [];\n\t        this.addLeafColumns(result);\n\t        return result;\n\t    };\n\t    OriginalColumnGroup.prototype.addLeafColumns = function (leafColumns) {\n\t        this.children.forEach(function (child) {\n\t            if (child instanceof column_1.Column) {\n\t                leafColumns.push(child);\n\t            }\n\t            else if (child instanceof OriginalColumnGroup) {\n\t                child.addLeafColumns(leafColumns);\n\t            }\n\t        });\n\t    };\n\t    OriginalColumnGroup.prototype.getColumnGroupShow = function () {\n\t        if (!this.padding) {\n\t            return this.colGroupDef.columnGroupShow;\n\t        }\n\t        else {\n\t            // if this is padding we have exactly only child. we then\n\t            // take the value from the child and push it up, making\n\t            // this group 'invisible'.\n\t            return this.children[0].getColumnGroupShow();\n\t        }\n\t    };\n\t    // need to check that this group has at least one col showing when both expanded and contracted.\n\t    // if not, then we don't allow expanding and contracting on this group\n\t    OriginalColumnGroup.prototype.calculateExpandable = function () {\n\t        // want to make sure the group doesn't disappear when it's open\n\t        var atLeastOneShowingWhenOpen = false;\n\t        // want to make sure the group doesn't disappear when it's closed\n\t        var atLeastOneShowingWhenClosed = false;\n\t        // want to make sure the group has something to show / hide\n\t        var atLeastOneChangeable = false;\n\t        for (var i = 0, j = this.children.length; i < j; i++) {\n\t            var abstractColumn = this.children[i];\n\t            // if the abstractColumn is a grid generated group, there will be no colDef\n\t            var headerGroupShow = abstractColumn.getColumnGroupShow();\n\t            if (headerGroupShow === columnGroup_1.ColumnGroup.HEADER_GROUP_SHOW_OPEN) {\n\t                atLeastOneShowingWhenOpen = true;\n\t                atLeastOneChangeable = true;\n\t            }\n\t            else if (headerGroupShow === columnGroup_1.ColumnGroup.HEADER_GROUP_SHOW_CLOSED) {\n\t                atLeastOneShowingWhenClosed = true;\n\t                atLeastOneChangeable = true;\n\t            }\n\t            else {\n\t                atLeastOneShowingWhenOpen = true;\n\t                atLeastOneShowingWhenClosed = true;\n\t            }\n\t        }\n\t        this.expandable = atLeastOneShowingWhenOpen && atLeastOneShowingWhenClosed && atLeastOneChangeable;\n\t    };\n\t    OriginalColumnGroup.prototype.addEventListener = function (eventType, listener) {\n\t        this.localEventService.addEventListener(eventType, listener);\n\t    };\n\t    OriginalColumnGroup.prototype.removeEventListener = function (eventType, listener) {\n\t        this.localEventService.removeEventListener(eventType, listener);\n\t    };\n\t    return OriginalColumnGroup;\n\t}());\n\tOriginalColumnGroup.EVENT_EXPANDED_CHANGED = 'expandedChanged';\n\texports.OriginalColumnGroup = OriginalColumnGroup;\n\n\n/***/ }),\n/* 21 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar __param = (this && this.__param) || function (paramIndex, decorator) {\n\t    return function (target, key) { decorator(target, key, paramIndex); }\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar logger_1 = __webpack_require__(7);\n\tvar context_1 = __webpack_require__(8);\n\tvar context_2 = __webpack_require__(8);\n\tvar ExpressionService = (function () {\n\t    function ExpressionService() {\n\t        this.expressionToFunctionCache = {};\n\t    }\n\t    ExpressionService.prototype.setBeans = function (loggerFactory) {\n\t        this.logger = loggerFactory.create('ExpressionService');\n\t    };\n\t    ExpressionService.prototype.evaluate = function (expression, params) {\n\t        try {\n\t            var javaScriptFunction = this.createExpressionFunction(expression);\n\t            var result = javaScriptFunction(params.value, params.context, params.node, params.data, params.colDef, params.rowIndex, params.api, params.getValue, params.column, params.columnGroup);\n\t            return result;\n\t        }\n\t        catch (e) {\n\t            // the expression failed, which can happen, as it's the client that\n\t            // provides the expression. so print a nice message\n\t            this.logger.log('Processing of the expression failed');\n\t            this.logger.log('Expression = ' + expression);\n\t            this.logger.log('Exception = ' + e);\n\t            return null;\n\t        }\n\t    };\n\t    ExpressionService.prototype.createExpressionFunction = function (expression) {\n\t        // check cache first\n\t        if (this.expressionToFunctionCache[expression]) {\n\t            return this.expressionToFunctionCache[expression];\n\t        }\n\t        // if not found in cache, return the function\n\t        var functionBody = this.createFunctionBody(expression);\n\t        var theFunction = new Function('x, ctx, node, data, colDef, rowIndex, api, getValue, column, columnGroup', functionBody);\n\t        // store in cache\n\t        this.expressionToFunctionCache[expression] = theFunction;\n\t        return theFunction;\n\t    };\n\t    ExpressionService.prototype.createFunctionBody = function (expression) {\n\t        // if the expression has the 'return' word in it, then use as is,\n\t        // if not, then wrap it with return and ';' to make a function\n\t        if (expression.indexOf('return') >= 0) {\n\t            return expression;\n\t        }\n\t        else {\n\t            return 'return ' + expression + ';';\n\t        }\n\t    };\n\t    return ExpressionService;\n\t}());\n\t__decorate([\n\t    __param(0, context_2.Qualifier('loggerFactory')),\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", [logger_1.LoggerFactory]),\n\t    __metadata(\"design:returntype\", void 0)\n\t], ExpressionService.prototype, \"setBeans\", null);\n\tExpressionService = __decorate([\n\t    context_1.Bean('expressionService')\n\t], ExpressionService);\n\texports.ExpressionService = ExpressionService;\n\n\n/***/ }),\n/* 22 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar __param = (this && this.__param) || function (paramIndex, decorator) {\n\t    return function (target, key) { decorator(target, key, paramIndex); }\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar logger_1 = __webpack_require__(7);\n\tvar columnUtils_1 = __webpack_require__(19);\n\tvar columnKeyCreator_1 = __webpack_require__(23);\n\tvar originalColumnGroup_1 = __webpack_require__(20);\n\tvar column_1 = __webpack_require__(18);\n\tvar context_1 = __webpack_require__(8);\n\tvar context_2 = __webpack_require__(8);\n\tvar context_3 = __webpack_require__(8);\n\tvar context_4 = __webpack_require__(8);\n\tvar utils_1 = __webpack_require__(9);\n\t// takes in a list of columns, as specified by the column definitions, and returns column groups\n\tvar BalancedColumnTreeBuilder = (function () {\n\t    function BalancedColumnTreeBuilder() {\n\t    }\n\t    BalancedColumnTreeBuilder.prototype.setBeans = function (loggerFactory) {\n\t        this.logger = loggerFactory.create('BalancedColumnTreeBuilder');\n\t    };\n\t    BalancedColumnTreeBuilder.prototype.createBalancedColumnGroups = function (abstractColDefs, primaryColumns) {\n\t        // column key creator dishes out unique column id's in a deterministic way,\n\t        // so if we have two grids (that cold be master/slave) with same column definitions,\n\t        // then this ensures the two grids use identical id's.\n\t        var columnKeyCreator = new columnKeyCreator_1.ColumnKeyCreator();\n\t        // create am unbalanced tree that maps the provided definitions\n\t        var unbalancedTree = this.recursivelyCreateColumns(abstractColDefs, 0, columnKeyCreator, primaryColumns);\n\t        var treeDept = this.findMaxDept(unbalancedTree, 0);\n\t        this.logger.log('Number of levels for grouped columns is ' + treeDept);\n\t        var balancedTree = this.balanceColumnTree(unbalancedTree, 0, treeDept, columnKeyCreator);\n\t        this.columnUtils.depthFirstOriginalTreeSearch(balancedTree, function (child) {\n\t            if (child instanceof originalColumnGroup_1.OriginalColumnGroup) {\n\t                child.calculateExpandable();\n\t            }\n\t        });\n\t        return {\n\t            balancedTree: balancedTree,\n\t            treeDept: treeDept\n\t        };\n\t    };\n\t    BalancedColumnTreeBuilder.prototype.balanceColumnTree = function (unbalancedTree, currentDept, columnDept, columnKeyCreator) {\n\t        var _this = this;\n\t        var result = [];\n\t        // go through each child, for groups, recurse a level deeper,\n\t        // for columns we need to pad\n\t        unbalancedTree.forEach(function (child) {\n\t            if (child instanceof originalColumnGroup_1.OriginalColumnGroup) {\n\t                var originalGroup = child;\n\t                var newChildren = _this.balanceColumnTree(originalGroup.getChildren(), currentDept + 1, columnDept, columnKeyCreator);\n\t                originalGroup.setChildren(newChildren);\n\t                result.push(originalGroup);\n\t            }\n\t            else {\n\t                var newChild = child;\n\t                for (var i = columnDept - 1; i >= currentDept; i--) {\n\t                    var newColId = columnKeyCreator.getUniqueKey(null, null);\n\t                    var colGroupDefMerged = _this.createMergedColGroupDef(null);\n\t                    var paddedGroup = new originalColumnGroup_1.OriginalColumnGroup(colGroupDefMerged, newColId, true);\n\t                    paddedGroup.setChildren([newChild]);\n\t                    newChild = paddedGroup;\n\t                }\n\t                result.push(newChild);\n\t            }\n\t        });\n\t        return result;\n\t    };\n\t    BalancedColumnTreeBuilder.prototype.findMaxDept = function (treeChildren, dept) {\n\t        var maxDeptThisLevel = dept;\n\t        for (var i = 0; i < treeChildren.length; i++) {\n\t            var abstractColumn = treeChildren[i];\n\t            if (abstractColumn instanceof originalColumnGroup_1.OriginalColumnGroup) {\n\t                var originalGroup = abstractColumn;\n\t                var newDept = this.findMaxDept(originalGroup.getChildren(), dept + 1);\n\t                if (maxDeptThisLevel < newDept) {\n\t                    maxDeptThisLevel = newDept;\n\t                }\n\t            }\n\t        }\n\t        return maxDeptThisLevel;\n\t    };\n\t    BalancedColumnTreeBuilder.prototype.recursivelyCreateColumns = function (abstractColDefs, level, columnKeyCreator, primaryColumns) {\n\t        var _this = this;\n\t        var result = [];\n\t        if (!abstractColDefs) {\n\t            return result;\n\t        }\n\t        abstractColDefs.forEach(function (abstractColDef) {\n\t            var newGroupOrColumn;\n\t            if (_this.isColumnGroup(abstractColDef)) {\n\t                newGroupOrColumn = _this.createColumnGroup(columnKeyCreator, primaryColumns, abstractColDef, level);\n\t            }\n\t            else {\n\t                newGroupOrColumn = _this.createColumn(columnKeyCreator, primaryColumns, abstractColDef);\n\t            }\n\t            result.push(newGroupOrColumn);\n\t        });\n\t        return result;\n\t    };\n\t    BalancedColumnTreeBuilder.prototype.createColumnGroup = function (columnKeyCreator, primaryColumns, colGroupDef, level) {\n\t        var colGroupDefMerged = this.createMergedColGroupDef(colGroupDef);\n\t        var groupId = columnKeyCreator.getUniqueKey(colGroupDefMerged.groupId, null);\n\t        var originalGroup = new originalColumnGroup_1.OriginalColumnGroup(colGroupDefMerged, groupId, false);\n\t        var children = this.recursivelyCreateColumns(colGroupDefMerged.children, level + 1, columnKeyCreator, primaryColumns);\n\t        originalGroup.setChildren(children);\n\t        return originalGroup;\n\t    };\n\t    BalancedColumnTreeBuilder.prototype.createMergedColGroupDef = function (colGroupDef) {\n\t        var colGroupDefMerged = {};\n\t        utils_1.Utils.assign(colGroupDefMerged, this.gridOptionsWrapper.getDefaultColGroupDef());\n\t        utils_1.Utils.assign(colGroupDefMerged, colGroupDef);\n\t        this.checkForDeprecatedItems(colGroupDefMerged);\n\t        return colGroupDefMerged;\n\t    };\n\t    BalancedColumnTreeBuilder.prototype.createColumn = function (columnKeyCreator, primaryColumns, colDef3) {\n\t        var colDefMerged = {};\n\t        utils_1.Utils.assign(colDefMerged, this.gridOptionsWrapper.getDefaultColDef());\n\t        utils_1.Utils.assign(colDefMerged, colDef3);\n\t        this.checkForDeprecatedItems(colDefMerged);\n\t        var colId = columnKeyCreator.getUniqueKey(colDefMerged.colId, colDefMerged.field);\n\t        var column = new column_1.Column(colDefMerged, colId, primaryColumns);\n\t        this.context.wireBean(column);\n\t        return column;\n\t    };\n\t    BalancedColumnTreeBuilder.prototype.checkForDeprecatedItems = function (colDef) {\n\t        if (colDef) {\n\t            var colDefNoType = colDef; // take out the type, so we can access attributes not defined in the type\n\t            if (colDefNoType.group !== undefined) {\n\t                console.warn('ag-grid: colDef.group is invalid, please check documentation on how to do grouping as it changed in version 3');\n\t            }\n\t            if (colDefNoType.headerGroup !== undefined) {\n\t                console.warn('ag-grid: colDef.headerGroup is invalid, please check documentation on how to do grouping as it changed in version 3');\n\t            }\n\t            if (colDefNoType.headerGroupShow !== undefined) {\n\t                console.warn('ag-grid: colDef.headerGroupShow is invalid, should be columnGroupShow, please check documentation on how to do grouping as it changed in version 3');\n\t            }\n\t            if (colDefNoType.suppressRowGroup !== undefined) {\n\t                console.warn('ag-grid: colDef.suppressRowGroup is deprecated, please use colDef.type instead');\n\t            }\n\t            if (colDefNoType.suppressAggregation !== undefined) {\n\t                console.warn('ag-grid: colDef.suppressAggregation is deprecated, please use colDef.type instead');\n\t            }\n\t            if (colDefNoType.suppressRowGroup || colDefNoType.suppressAggregation) {\n\t                console.warn('ag-grid: colDef.suppressAggregation and colDef.suppressRowGroup are deprecated, use allowRowGroup, allowPivot and allowValue instead');\n\t            }\n\t            if (colDefNoType.displayName) {\n\t                console.warn(\"ag-grid: Found displayName \" + colDefNoType.displayName + \", please use headerName instead, displayName is deprecated.\");\n\t                colDefNoType.headerName = colDefNoType.displayName;\n\t            }\n\t        }\n\t    };\n\t    // if object has children, we assume it's a group\n\t    BalancedColumnTreeBuilder.prototype.isColumnGroup = function (abstractColDef) {\n\t        return abstractColDef.children !== undefined;\n\t    };\n\t    return BalancedColumnTreeBuilder;\n\t}());\n\t__decorate([\n\t    context_3.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], BalancedColumnTreeBuilder.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_3.Autowired('columnUtils'),\n\t    __metadata(\"design:type\", columnUtils_1.ColumnUtils)\n\t], BalancedColumnTreeBuilder.prototype, \"columnUtils\", void 0);\n\t__decorate([\n\t    context_3.Autowired('context'),\n\t    __metadata(\"design:type\", context_4.Context)\n\t], BalancedColumnTreeBuilder.prototype, \"context\", void 0);\n\t__decorate([\n\t    __param(0, context_2.Qualifier('loggerFactory')),\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", [logger_1.LoggerFactory]),\n\t    __metadata(\"design:returntype\", void 0)\n\t], BalancedColumnTreeBuilder.prototype, \"setBeans\", null);\n\tBalancedColumnTreeBuilder = __decorate([\n\t    context_1.Bean('balancedColumnTreeBuilder')\n\t], BalancedColumnTreeBuilder);\n\texports.BalancedColumnTreeBuilder = BalancedColumnTreeBuilder;\n\n\n/***/ }),\n/* 23 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\t// class returns a unique id to use for the column. it checks the existing columns, and if the requested\n\t// id is already taken, it will start appending numbers until it gets a unique id.\n\t// eg, if the col field is 'name', it will try ids: {name, name_1, name_2...}\n\t// if no field or id provided in the col, it will try the ids of natural numbers\n\tvar utils_1 = __webpack_require__(9);\n\tvar ColumnKeyCreator = (function () {\n\t    function ColumnKeyCreator() {\n\t        this.existingKeys = [];\n\t    }\n\t    ColumnKeyCreator.prototype.getUniqueKey = function (colId, colField) {\n\t        // in case user passed in number for colId, convert to string\n\t        colId = utils_1.Utils.toStringOrNull(colId);\n\t        var count = 0;\n\t        while (true) {\n\t            var idToTry;\n\t            if (colId) {\n\t                idToTry = colId;\n\t                if (count !== 0) {\n\t                    idToTry += '_' + count;\n\t                }\n\t            }\n\t            else if (colField) {\n\t                idToTry = colField;\n\t                if (count !== 0) {\n\t                    idToTry += '_' + count;\n\t                }\n\t            }\n\t            else {\n\t                idToTry = '' + count;\n\t            }\n\t            if (this.existingKeys.indexOf(idToTry) < 0) {\n\t                this.existingKeys.push(idToTry);\n\t                return idToTry;\n\t            }\n\t            count++;\n\t        }\n\t    };\n\t    return ColumnKeyCreator;\n\t}());\n\texports.ColumnKeyCreator = ColumnKeyCreator;\n\n\n/***/ }),\n/* 24 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar columnUtils_1 = __webpack_require__(19);\n\tvar columnGroup_1 = __webpack_require__(17);\n\tvar originalColumnGroup_1 = __webpack_require__(20);\n\tvar context_1 = __webpack_require__(8);\n\tvar utils_1 = __webpack_require__(9);\n\tvar context_2 = __webpack_require__(8);\n\t// takes in a list of columns, as specified by the column definitions, and returns column groups\n\tvar DisplayedGroupCreator = (function () {\n\t    function DisplayedGroupCreator() {\n\t    }\n\t    DisplayedGroupCreator.prototype.createDisplayedGroups = function (\n\t        // all displayed columns sorted - this is the columns the grid should show\n\t        sortedVisibleColumns, \n\t        // the tree of columns, as provided by the users, used to know what groups columns roll up into\n\t        balancedColumnTree, \n\t        // create's unique id's for the group\n\t        groupInstanceIdCreator, \n\t        // we try to reuse old groups if we can, to allow gui to do animation\n\t        oldDisplayedGroups) {\n\t        var _this = this;\n\t        var result = [];\n\t        var previousRealPath;\n\t        var previousOriginalPath;\n\t        var oldColumnsMapped = this.mapOldGroupsById(oldDisplayedGroups);\n\t        // go through each column, then do a bottom up comparison to the previous column, and start\n\t        // to share groups if they converge at any point.\n\t        sortedVisibleColumns.forEach(function (currentColumn) {\n\t            var currentOriginalPath = _this.getOriginalPathForColumn(balancedColumnTree, currentColumn);\n\t            var currentRealPath = [];\n\t            var firstColumn = !previousOriginalPath;\n\t            for (var i = 0; i < currentOriginalPath.length; i++) {\n\t                if (firstColumn || currentOriginalPath[i] !== previousOriginalPath[i]) {\n\t                    // new group needed\n\t                    var newGroup = _this.createColumnGroup(currentOriginalPath[i], groupInstanceIdCreator, oldColumnsMapped);\n\t                    currentRealPath[i] = newGroup;\n\t                    // if top level, add to result, otherwise add to parent\n\t                    if (i == 0) {\n\t                        result.push(newGroup);\n\t                    }\n\t                    else {\n\t                        currentRealPath[i - 1].addChild(newGroup);\n\t                    }\n\t                }\n\t                else {\n\t                    // reuse old group\n\t                    currentRealPath[i] = previousRealPath[i];\n\t                }\n\t            }\n\t            var noColumnGroups = currentRealPath.length === 0;\n\t            if (noColumnGroups) {\n\t                // if we are not grouping, then the result of the above is an empty\n\t                // path (no groups), and we just add the column to the root list.\n\t                result.push(currentColumn);\n\t            }\n\t            else {\n\t                var leafGroup = currentRealPath[currentRealPath.length - 1];\n\t                leafGroup.addChild(currentColumn);\n\t            }\n\t            previousRealPath = currentRealPath;\n\t            previousOriginalPath = currentOriginalPath;\n\t        });\n\t        this.setupParentsIntoColumns(result, null);\n\t        return result;\n\t    };\n\t    DisplayedGroupCreator.prototype.createColumnGroup = function (originalGroup, groupInstanceIdCreator, oldColumnsMapped) {\n\t        var groupId = originalGroup.getGroupId();\n\t        var instanceId = groupInstanceIdCreator.getInstanceIdForKey(groupId);\n\t        var uniqueId = columnGroup_1.ColumnGroup.createUniqueId(groupId, instanceId);\n\t        var columnGroup = oldColumnsMapped[uniqueId];\n\t        // if the user is setting new colDefs, it is possible that the id's overlap, and we\n\t        // would have a false match from above. so we double check we are talking about the\n\t        // same original column group.\n\t        if (columnGroup && columnGroup.getOriginalColumnGroup() !== originalGroup) {\n\t            columnGroup = null;\n\t        }\n\t        if (utils_1.Utils.exists(columnGroup)) {\n\t            // clean out the old column group here, as we will be adding children into it again\n\t            columnGroup.reset();\n\t        }\n\t        else {\n\t            columnGroup = new columnGroup_1.ColumnGroup(originalGroup, groupId, instanceId);\n\t            this.context.wireBean(columnGroup);\n\t        }\n\t        return columnGroup;\n\t    };\n\t    // returns back a 2d map of ColumnGroup as follows: groupId -> instanceId -> ColumnGroup\n\t    DisplayedGroupCreator.prototype.mapOldGroupsById = function (displayedGroups) {\n\t        var result = {};\n\t        var recursive = function (columnsOrGroups) {\n\t            columnsOrGroups.forEach(function (columnOrGroup) {\n\t                if (columnOrGroup instanceof columnGroup_1.ColumnGroup) {\n\t                    var columnGroup = columnOrGroup;\n\t                    result[columnOrGroup.getUniqueId()] = columnGroup;\n\t                    recursive(columnGroup.getChildren());\n\t                }\n\t            });\n\t        };\n\t        if (displayedGroups) {\n\t            recursive(displayedGroups);\n\t        }\n\t        return result;\n\t    };\n\t    DisplayedGroupCreator.prototype.setupParentsIntoColumns = function (columnsOrGroups, parent) {\n\t        var _this = this;\n\t        columnsOrGroups.forEach(function (columnsOrGroup) {\n\t            columnsOrGroup.setParent(parent);\n\t            if (columnsOrGroup instanceof columnGroup_1.ColumnGroup) {\n\t                var columnGroup = columnsOrGroup;\n\t                _this.setupParentsIntoColumns(columnGroup.getChildren(), columnGroup);\n\t            }\n\t        });\n\t    };\n\t    DisplayedGroupCreator.prototype.createFakePath = function (balancedColumnTree) {\n\t        var result = [];\n\t        var currentChildren = balancedColumnTree;\n\t        // this while look does search on the balanced tree, so our result is the right length\n\t        var index = 0;\n\t        while (currentChildren && currentChildren[0] && currentChildren[0] instanceof originalColumnGroup_1.OriginalColumnGroup) {\n\t            // putting in a deterministic fake id, in case the API in the future needs to reference the col\n\t            result.push(new originalColumnGroup_1.OriginalColumnGroup(null, 'FAKE_PATH_' + index, true));\n\t            currentChildren = currentChildren[0].getChildren();\n\t            index++;\n\t        }\n\t        return result;\n\t    };\n\t    DisplayedGroupCreator.prototype.getOriginalPathForColumn = function (balancedColumnTree, column) {\n\t        var result = [];\n\t        var found = false;\n\t        recursePath(balancedColumnTree, 0);\n\t        // it's possible we didn't find a path. this happens if the column is generated\n\t        // by the grid, in that the definition didn't come from the client. in this case,\n\t        // we create a fake original path.\n\t        if (found) {\n\t            return result;\n\t        }\n\t        else {\n\t            return this.createFakePath(balancedColumnTree);\n\t        }\n\t        function recursePath(balancedColumnTree, dept) {\n\t            for (var i = 0; i < balancedColumnTree.length; i++) {\n\t                if (found) {\n\t                    // quit the search, so 'result' is kept with the found result\n\t                    return;\n\t                }\n\t                var node = balancedColumnTree[i];\n\t                if (node instanceof originalColumnGroup_1.OriginalColumnGroup) {\n\t                    var nextNode = node;\n\t                    recursePath(nextNode.getChildren(), dept + 1);\n\t                    result[dept] = node;\n\t                }\n\t                else {\n\t                    if (node === column) {\n\t                        found = true;\n\t                    }\n\t                }\n\t            }\n\t        }\n\t    };\n\t    return DisplayedGroupCreator;\n\t}());\n\t__decorate([\n\t    context_2.Autowired('columnUtils'),\n\t    __metadata(\"design:type\", columnUtils_1.ColumnUtils)\n\t], DisplayedGroupCreator.prototype, \"columnUtils\", void 0);\n\t__decorate([\n\t    context_2.Autowired('context'),\n\t    __metadata(\"design:type\", context_1.Context)\n\t], DisplayedGroupCreator.prototype, \"context\", void 0);\n\tDisplayedGroupCreator = __decorate([\n\t    context_1.Bean('displayedGroupCreator')\n\t], DisplayedGroupCreator);\n\texports.DisplayedGroupCreator = DisplayedGroupCreator;\n\n\n/***/ }),\n/* 25 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar rowRenderer_1 = __webpack_require__(26);\n\tvar gridPanel_1 = __webpack_require__(27);\n\tvar context_1 = __webpack_require__(8);\n\tvar context_2 = __webpack_require__(8);\n\tvar headerRenderer_1 = __webpack_require__(86);\n\tvar renderedHeaderCell_1 = __webpack_require__(90);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar headerWrapperComp_1 = __webpack_require__(94);\n\tvar AutoWidthCalculator = (function () {\n\t    function AutoWidthCalculator() {\n\t    }\n\t    // this is the trick: we create a dummy container and clone all the cells\n\t    // into the dummy, then check the dummy's width. then destroy the dummy\n\t    // as we don't need it any more.\n\t    // drawback: only the cells visible on the screen are considered\n\t    AutoWidthCalculator.prototype.getPreferredWidthForColumn = function (column) {\n\t        var eHeaderCell = this.getHeaderCellForColumn(column);\n\t        // cell isn't visible\n\t        if (!eHeaderCell) {\n\t            return -1;\n\t        }\n\t        var eDummyContainer = document.createElement('span');\n\t        // position fixed, so it isn't restricted to the boundaries of the parent\n\t        eDummyContainer.style.position = 'fixed';\n\t        // we put the dummy into the body container, so it will inherit all the\n\t        // css styles that the real cells are inheriting\n\t        var eBodyContainer = this.gridPanel.getBodyContainer();\n\t        eBodyContainer.appendChild(eDummyContainer);\n\t        // get all the cells that are currently displayed (this only brings back\n\t        // rendered cells, rows not rendered due to row visualisation will not be here)\n\t        this.putRowCellsIntoDummyContainer(column, eDummyContainer);\n\t        // also put header cell in\n\t        // we only consider the lowest level cell, not the group cell. in 99% of the time, this\n\t        // will be enough. if we consider groups, then it gets to complicated for what it's worth,\n\t        // as the groups can span columns and this class only considers one column at a time.\n\t        this.cloneItemIntoDummy(eHeaderCell, eDummyContainer);\n\t        // at this point, all the clones are lined up vertically with natural widths. the dummy\n\t        // container will have a width wide enough just to fit the largest.\n\t        var dummyContainerWidth = eDummyContainer.offsetWidth;\n\t        // we are finished with the dummy container, so get rid of it\n\t        eBodyContainer.removeChild(eDummyContainer);\n\t        // we add padding as I found without it, the gui still put '...' after some of the texts\n\t        var autoSizePadding = this.gridOptionsWrapper.getAutoSizePadding();\n\t        if (typeof autoSizePadding !== 'number' || autoSizePadding < 0) {\n\t            autoSizePadding = 4;\n\t        }\n\t        return dummyContainerWidth + autoSizePadding;\n\t    };\n\t    AutoWidthCalculator.prototype.getHeaderCellForColumn = function (column) {\n\t        var comp = null;\n\t        // find the rendered header cell\n\t        this.headerRenderer.forEachHeaderElement(function (headerElement) {\n\t            if (headerElement instanceof renderedHeaderCell_1.RenderedHeaderCell) {\n\t                var currentCell = headerElement;\n\t                if (currentCell.getColumn() === column) {\n\t                    comp = currentCell;\n\t                }\n\t            }\n\t            else if (headerElement instanceof headerWrapperComp_1.HeaderWrapperComp) {\n\t                var headerWrapperComp = headerElement;\n\t                if (headerWrapperComp.getColumn() === column) {\n\t                    comp = headerWrapperComp;\n\t                }\n\t            }\n\t        });\n\t        return comp ? comp.getGui() : null;\n\t    };\n\t    AutoWidthCalculator.prototype.putRowCellsIntoDummyContainer = function (column, eDummyContainer) {\n\t        var _this = this;\n\t        var eOriginalCells = this.rowRenderer.getAllCellsForColumn(column);\n\t        eOriginalCells.forEach(function (eCell, index) {\n\t            _this.cloneItemIntoDummy(eCell, eDummyContainer);\n\t        });\n\t    };\n\t    AutoWidthCalculator.prototype.cloneItemIntoDummy = function (eCell, eDummyContainer) {\n\t        // make a deep clone of the cell\n\t        var eCellClone = eCell.cloneNode(true);\n\t        // the original has a fixed width, we remove this to allow the natural width based on content\n\t        eCellClone.style.width = '';\n\t        // the original has position = absolute, we need to remove this so it's positioned normally\n\t        eCellClone.style.position = 'static';\n\t        eCellClone.style.left = '';\n\t        // we put the cell into a containing div, as otherwise the cells would just line up\n\t        // on the same line, standard flow layout, by putting them into divs, they are laid\n\t        // out one per line\n\t        var eCloneParent = document.createElement('div');\n\t        // table-row, so that each cell is on a row. i also tried display='block', but this\n\t        // didn't work in IE\n\t        eCloneParent.style.display = 'table-row';\n\t        // the twig on the branch, the branch on the tree, the tree in the hole,\n\t        // the hole in the bog, the bog in the clone, the clone in the parent,\n\t        // the parent in the dummy, and the dummy down in the vall-e-ooo, OOOOOOOOO! Oh row the rattling bog....\n\t        eCloneParent.appendChild(eCellClone);\n\t        eDummyContainer.appendChild(eCloneParent);\n\t    };\n\t    return AutoWidthCalculator;\n\t}());\n\t__decorate([\n\t    context_2.Autowired('rowRenderer'),\n\t    __metadata(\"design:type\", rowRenderer_1.RowRenderer)\n\t], AutoWidthCalculator.prototype, \"rowRenderer\", void 0);\n\t__decorate([\n\t    context_2.Autowired('headerRenderer'),\n\t    __metadata(\"design:type\", headerRenderer_1.HeaderRenderer)\n\t], AutoWidthCalculator.prototype, \"headerRenderer\", void 0);\n\t__decorate([\n\t    context_2.Autowired('gridPanel'),\n\t    __metadata(\"design:type\", gridPanel_1.GridPanel)\n\t], AutoWidthCalculator.prototype, \"gridPanel\", void 0);\n\t__decorate([\n\t    context_2.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], AutoWidthCalculator.prototype, \"gridOptionsWrapper\", void 0);\n\tAutoWidthCalculator = __decorate([\n\t    context_1.Bean('autoWidthCalculator')\n\t], AutoWidthCalculator);\n\texports.AutoWidthCalculator = AutoWidthCalculator;\n\n\n/***/ }),\n/* 26 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar __param = (this && this.__param) || function (paramIndex, decorator) {\n\t    return function (target, key) { decorator(target, key, paramIndex); }\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar utils_1 = __webpack_require__(9);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar gridPanel_1 = __webpack_require__(27);\n\tvar expressionService_1 = __webpack_require__(21);\n\tvar templateService_1 = __webpack_require__(43);\n\tvar valueService_1 = __webpack_require__(32);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar floatingRowModel_1 = __webpack_require__(29);\n\tvar renderedRow_1 = __webpack_require__(44);\n\tvar events_1 = __webpack_require__(12);\n\tvar constants_1 = __webpack_require__(10);\n\tvar context_1 = __webpack_require__(8);\n\tvar gridCore_1 = __webpack_require__(47);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar logger_1 = __webpack_require__(7);\n\tvar focusedCellController_1 = __webpack_require__(36);\n\tvar cellNavigationService_1 = __webpack_require__(85);\n\tvar gridCell_1 = __webpack_require__(37);\n\tvar beanStub_1 = __webpack_require__(40);\n\tvar paginationProxy_1 = __webpack_require__(42);\n\tvar RowRenderer = (function (_super) {\n\t    __extends(RowRenderer, _super);\n\t    function RowRenderer() {\n\t        var _this = _super !== null && _super.apply(this, arguments) || this;\n\t        // map of row ids to row objects. keeps track of which elements\n\t        // are rendered for which rows in the dom.\n\t        _this.renderedRows = {};\n\t        _this.renderedTopFloatingRows = [];\n\t        _this.renderedBottomFloatingRows = [];\n\t        // we only allow one refresh at a time, otherwise the internal memory structure here\n\t        // will get messed up. this can happen if the user has a cellRenderer, and inside the\n\t        // renderer they call an API method that results in another pass of the refresh,\n\t        // then it will be trying to draw rows in the middle of a refresh.\n\t        _this.refreshInProgress = false;\n\t        return _this;\n\t    }\n\t    RowRenderer.prototype.agWire = function (loggerFactory) {\n\t        this.logger = loggerFactory.create('RowRenderer');\n\t    };\n\t    RowRenderer.prototype.init = function () {\n\t        this.rowContainers = this.gridPanel.getRowContainers();\n\t        this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_PAGINATION_CHANGED, this.onPageLoaded.bind(this));\n\t        this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_FLOATING_ROW_DATA_CHANGED, this.onFloatingRowDataChanged.bind(this));\n\t        this.refreshView();\n\t    };\n\t    RowRenderer.prototype.onPageLoaded = function (refreshEvent) {\n\t        if (refreshEvent === void 0) { refreshEvent = { animate: false, keepRenderedRows: false, newData: false, newPage: false }; }\n\t        this.onModelUpdated(refreshEvent);\n\t    };\n\t    RowRenderer.prototype.getAllCellsForColumn = function (column) {\n\t        var eCells = [];\n\t        utils_1.Utils.iterateObject(this.renderedRows, callback);\n\t        utils_1.Utils.iterateObject(this.renderedBottomFloatingRows, callback);\n\t        utils_1.Utils.iterateObject(this.renderedTopFloatingRows, callback);\n\t        function callback(key, renderedRow) {\n\t            var eCell = renderedRow.getCellForCol(column);\n\t            if (eCell) {\n\t                eCells.push(eCell);\n\t            }\n\t        }\n\t        return eCells;\n\t    };\n\t    RowRenderer.prototype.refreshAllFloatingRows = function () {\n\t        this.refreshFloatingRows(this.renderedTopFloatingRows, this.floatingRowModel.getFloatingTopRowData(), this.rowContainers.floatingTopPinnedLeft, this.rowContainers.floatingTopPinnedRight, this.rowContainers.floatingTop, this.rowContainers.floatingTopFullWidth);\n\t        this.refreshFloatingRows(this.renderedBottomFloatingRows, this.floatingRowModel.getFloatingBottomRowData(), this.rowContainers.floatingBottomPinnedLeft, this.rowContainers.floatingBottomPinnedRight, this.rowContainers.floatingBottom, this.rowContainers.floatingBottomFullWith);\n\t    };\n\t    RowRenderer.prototype.refreshFloatingRows = function (renderedRows, rowNodes, pinnedLeftContainerComp, pinnedRightContainerComp, bodyContainerComp, fullWidthContainerComp) {\n\t        var _this = this;\n\t        renderedRows.forEach(function (row) {\n\t            row.destroy();\n\t        });\n\t        renderedRows.length = 0;\n\t        // if no cols, don't draw row - can we get rid of this???\n\t        var columns = this.columnController.getAllDisplayedColumns();\n\t        if (utils_1.Utils.missingOrEmpty(columns)) {\n\t            return;\n\t        }\n\t        if (rowNodes) {\n\t            rowNodes.forEach(function (node) {\n\t                var renderedRow = new renderedRow_1.RenderedRow(_this.$scope, _this, bodyContainerComp, fullWidthContainerComp, pinnedLeftContainerComp, pinnedRightContainerComp, node, false);\n\t                _this.context.wireBean(renderedRow);\n\t                renderedRows.push(renderedRow);\n\t            });\n\t        }\n\t    };\n\t    RowRenderer.prototype.onFloatingRowDataChanged = function () {\n\t        this.refreshView();\n\t    };\n\t    RowRenderer.prototype.onModelUpdated = function (refreshEvent) {\n\t        var params = {\n\t            keepRenderedRows: refreshEvent.keepRenderedRows,\n\t            animate: refreshEvent.animate,\n\t            newData: refreshEvent.newData,\n\t            newPage: refreshEvent.newPage\n\t        };\n\t        this.refreshView(params);\n\t        // this.eventService.dispatchEvent(Events.DEPRECATED_EVENT_PAGINATION_PAGE_LOADED);\n\t    };\n\t    // if the row nodes are not rendered, no index is returned\n\t    RowRenderer.prototype.getRenderedIndexesForRowNodes = function (rowNodes) {\n\t        var result = [];\n\t        if (utils_1.Utils.missing(rowNodes)) {\n\t            return result;\n\t        }\n\t        utils_1.Utils.iterateObject(this.renderedRows, function (key, renderedRow) {\n\t            var rowNode = renderedRow.getRowNode();\n\t            if (rowNodes.indexOf(rowNode) >= 0) {\n\t                result.push(key);\n\t            }\n\t        });\n\t        return result;\n\t    };\n\t    RowRenderer.prototype.refreshRows = function (rowNodes) {\n\t        if (!rowNodes || rowNodes.length == 0) {\n\t            return;\n\t        }\n\t        // we only need to be worried about rendered rows, as this method is\n\t        // called to whats rendered. if the row isn't rendered, we don't care\n\t        var indexesToRemove = this.getRenderedIndexesForRowNodes(rowNodes);\n\t        // remove the rows\n\t        this.removeVirtualRows(indexesToRemove);\n\t        // add draw them again\n\t        this.refreshView({\n\t            keepRenderedRows: true\n\t        });\n\t    };\n\t    RowRenderer.prototype.refreshView = function (params) {\n\t        if (params === void 0) { params = {}; }\n\t        this.logger.log('refreshView');\n\t        this.getLockOnRefresh();\n\t        var focusedCell = params.suppressKeepFocus ? null : this.focusedCellController.getFocusCellToUseAfterRefresh();\n\t        if (!this.gridOptionsWrapper.isForPrint()) {\n\t            var containerHeight = this.paginationProxy.getCurrentPageHeight();\n\t            // we need at least 1 pixel for the horizontal scroll to work. so if there are now rows,\n\t            // we still want the scroll to be present, otherwise there would be no way to access the columns\n\t            // on the RHS - and if that was where the filter was that cause no rows to be presented, there\n\t            // is no way to remove the filter.\n\t            if (containerHeight === 0) {\n\t                containerHeight = 1;\n\t            }\n\t            this.rowContainers.body.setHeight(containerHeight);\n\t            this.rowContainers.fullWidth.setHeight(containerHeight);\n\t            this.rowContainers.pinnedLeft.setHeight(containerHeight);\n\t            this.rowContainers.pinnedRight.setHeight(containerHeight);\n\t        }\n\t        var scrollToTop = params.newData || params.newPage;\n\t        var suppressScrollToTop = this.gridOptionsWrapper.isSuppressScrollOnNewData();\n\t        if (scrollToTop && !suppressScrollToTop) {\n\t            this.gridPanel.scrollToTop();\n\t        }\n\t        this.refreshAllVirtualRows(params.keepRenderedRows, params.animate);\n\t        if (!params.onlyBody) {\n\t            this.refreshAllFloatingRows();\n\t        }\n\t        this.restoreFocusedCell(focusedCell);\n\t        this.releaseLockOnRefresh();\n\t    };\n\t    RowRenderer.prototype.getLockOnRefresh = function () {\n\t        if (this.refreshInProgress) {\n\t            throw 'ag-Grid: cannot get grid to draw rows when it is in the middle of drawing rows. ' +\n\t                'Your code probably called a grid API method while the grid was in the render stage. To overcome ' +\n\t                'this, put the API call into a timeout, eg instead of api.refreshView(), ' +\n\t                'call setTimeout(function(){api.refreshView(),0}). To see what part of your code ' +\n\t                'that caused the refresh check this stacktrace.';\n\t        }\n\t        this.refreshInProgress = true;\n\t    };\n\t    RowRenderer.prototype.releaseLockOnRefresh = function () {\n\t        this.refreshInProgress = false;\n\t    };\n\t    // sets the focus to the provided cell, if the cell is provided. this way, the user can call refresh without\n\t    // worry about the focus been lost. this is important when the user is using keyboard navigation to do edits\n\t    // and the cellEditor is calling 'refresh' to get other cells to update (as other cells might depend on the\n\t    // edited cell).\n\t    RowRenderer.prototype.restoreFocusedCell = function (gridCell) {\n\t        if (gridCell) {\n\t            this.focusedCellController.setFocusedCell(gridCell.rowIndex, gridCell.column, gridCell.floating, true);\n\t        }\n\t    };\n\t    RowRenderer.prototype.softRefreshView = function () {\n\t        var focusedCell = this.focusedCellController.getFocusCellToUseAfterRefresh();\n\t        this.forEachRenderedCell(function (renderedCell) {\n\t            if (renderedCell.isVolatile()) {\n\t                renderedCell.refreshCell();\n\t            }\n\t        });\n\t        this.restoreFocusedCell(focusedCell);\n\t    };\n\t    RowRenderer.prototype.stopEditing = function (cancel) {\n\t        if (cancel === void 0) { cancel = false; }\n\t        this.forEachRenderedRow(function (key, renderedRow) {\n\t            renderedRow.stopEditing(cancel);\n\t        });\n\t    };\n\t    RowRenderer.prototype.forEachRenderedCell = function (callback) {\n\t        utils_1.Utils.iterateObject(this.renderedRows, function (key, renderedRow) {\n\t            renderedRow.forEachRenderedCell(callback);\n\t        });\n\t    };\n\t    RowRenderer.prototype.forEachRenderedRow = function (callback) {\n\t        utils_1.Utils.iterateObject(this.renderedRows, callback);\n\t        utils_1.Utils.iterateObject(this.renderedTopFloatingRows, callback);\n\t        utils_1.Utils.iterateObject(this.renderedBottomFloatingRows, callback);\n\t    };\n\t    RowRenderer.prototype.addRenderedRowListener = function (eventName, rowIndex, callback) {\n\t        var renderedRow = this.renderedRows[rowIndex];\n\t        renderedRow.addEventListener(eventName, callback);\n\t    };\n\t    RowRenderer.prototype.refreshCells = function (rowNodes, cols, animate) {\n\t        if (animate === void 0) { animate = false; }\n\t        if (!rowNodes || rowNodes.length == 0) {\n\t            return;\n\t        }\n\t        // we only need to be worried about rendered rows, as this method is\n\t        // called to whats rendered. if the row isn't rendered, we don't care\n\t        utils_1.Utils.iterateObject(this.renderedRows, function (key, renderedRow) {\n\t            var rowNode = renderedRow.getRowNode();\n\t            if (rowNodes.indexOf(rowNode) >= 0) {\n\t                renderedRow.refreshCells(cols, animate);\n\t            }\n\t        });\n\t    };\n\t    RowRenderer.prototype.destroy = function () {\n\t        _super.prototype.destroy.call(this);\n\t        var rowsToRemove = Object.keys(this.renderedRows);\n\t        this.removeVirtualRows(rowsToRemove);\n\t    };\n\t    RowRenderer.prototype.refreshAllVirtualRows = function (keepRenderedRows, animate) {\n\t        var _this = this;\n\t        var rowsToRemove;\n\t        var oldRowsByNodeId = {};\n\t        // never keep rendered rows if doing forPrint, as we do not use 'top' to\n\t        // position the rows in forPrint (use normal flow), so we have to remove\n\t        // all rows and insert them again from scratch\n\t        if (this.gridOptionsWrapper.isForPrint()) {\n\t            keepRenderedRows = false;\n\t        }\n\t        if (keepRenderedRows) {\n\t            rowsToRemove = [];\n\t            utils_1.Utils.iterateObject(this.renderedRows, function (index, renderedRow) {\n\t                var rowNode = renderedRow.getRowNode();\n\t                if (utils_1.Utils.exists(rowNode.id)) {\n\t                    oldRowsByNodeId[rowNode.id] = renderedRow;\n\t                    delete _this.renderedRows[index];\n\t                }\n\t                else {\n\t                    rowsToRemove.push(index);\n\t                }\n\t            });\n\t        }\n\t        else {\n\t            rowsToRemove = Object.keys(this.renderedRows);\n\t        }\n\t        this.removeVirtualRows(rowsToRemove);\n\t        this.drawVirtualRows(oldRowsByNodeId, animate);\n\t    };\n\t    // public - removes the group rows and then redraws them again\n\t    RowRenderer.prototype.refreshGroupRows = function () {\n\t        var _this = this;\n\t        // find all the group rows\n\t        var rowsToRemove = [];\n\t        Object.keys(this.renderedRows).forEach(function (index) {\n\t            var renderedRow = _this.renderedRows[index];\n\t            if (renderedRow.isGroup()) {\n\t                rowsToRemove.push(index);\n\t            }\n\t        });\n\t        // remove the rows\n\t        this.removeVirtualRows(rowsToRemove);\n\t        // and draw them back again\n\t        this.ensureRowsRendered();\n\t    };\n\t    // takes array of row indexes\n\t    RowRenderer.prototype.removeVirtualRows = function (rowsToRemove) {\n\t        var _this = this;\n\t        // if no fromIndex then set to -1, which will refresh everything\n\t        // var realFromIndex = -1;\n\t        rowsToRemove.forEach(function (indexToRemove) {\n\t            var renderedRow = _this.renderedRows[indexToRemove];\n\t            renderedRow.destroy();\n\t            delete _this.renderedRows[indexToRemove];\n\t        });\n\t    };\n\t    // gets called when rows don't change, but viewport does, so after:\n\t    // 1) size of grid changed\n\t    // 2) grid scrolled to new position\n\t    // 3) ensure index visible (which is a scroll)\n\t    RowRenderer.prototype.drawVirtualRowsWithLock = function () {\n\t        this.getLockOnRefresh();\n\t        this.drawVirtualRows();\n\t        this.releaseLockOnRefresh();\n\t    };\n\t    RowRenderer.prototype.drawVirtualRows = function (oldRowsByNodeId, animate) {\n\t        if (animate === void 0) { animate = false; }\n\t        this.workOutFirstAndLastRowsToRender();\n\t        this.ensureRowsRendered(oldRowsByNodeId, animate);\n\t    };\n\t    RowRenderer.prototype.workOutFirstAndLastRowsToRender = function () {\n\t        var newFirst;\n\t        var newLast;\n\t        if (!this.paginationProxy.isRowsToRender()) {\n\t            newFirst = 0;\n\t            newLast = -1; // setting to -1 means nothing in range\n\t        }\n\t        else {\n\t            var pageFirstRow = this.paginationProxy.getPageFirstRow();\n\t            var pageLastRow = this.paginationProxy.getPageLastRow();\n\t            if (this.gridOptionsWrapper.isForPrint()) {\n\t                newFirst = pageFirstRow;\n\t                newLast = pageLastRow;\n\t            }\n\t            else {\n\t                var pixelOffset = this.paginationProxy ? this.paginationProxy.getPixelOffset() : 0;\n\t                var bodyVRange = this.gridPanel.getVerticalPixelRange();\n\t                var topPixel = bodyVRange.top;\n\t                var bottomPixel = bodyVRange.bottom;\n\t                var first = this.paginationProxy.getRowIndexAtPixel(topPixel + pixelOffset);\n\t                var last = this.paginationProxy.getRowIndexAtPixel(bottomPixel + pixelOffset);\n\t                //add in buffer\n\t                var buffer = this.gridOptionsWrapper.getRowBuffer();\n\t                first = first - buffer;\n\t                last = last + buffer;\n\t                // adjust, in case buffer extended actual size\n\t                if (first < pageFirstRow) {\n\t                    first = pageFirstRow;\n\t                }\n\t                if (last > pageLastRow) {\n\t                    last = pageLastRow;\n\t                }\n\t                newFirst = first;\n\t                newLast = last;\n\t            }\n\t        }\n\t        var firstDiffers = newFirst !== this.firstRenderedRow;\n\t        var lastDiffers = newLast !== this.lastRenderedRow;\n\t        if (firstDiffers || lastDiffers) {\n\t            this.firstRenderedRow = newFirst;\n\t            this.lastRenderedRow = newLast;\n\t            var event = { firstRow: newFirst, lastRow: newLast };\n\t            this.eventService.dispatchEvent(events_1.Events.EVENT_VIEWPORT_CHANGED, event);\n\t        }\n\t    };\n\t    RowRenderer.prototype.getFirstVirtualRenderedRow = function () {\n\t        return this.firstRenderedRow;\n\t    };\n\t    RowRenderer.prototype.getLastVirtualRenderedRow = function () {\n\t        return this.lastRenderedRow;\n\t    };\n\t    RowRenderer.prototype.ensureRowsRendered = function (oldRenderedRowsByNodeId, animate) {\n\t        // var timer = new Timer();\n\t        var _this = this;\n\t        if (animate === void 0) { animate = false; }\n\t        // at the end, this array will contain the items we need to remove\n\t        var rowsToRemove = Object.keys(this.renderedRows);\n\t        // add in new rows\n\t        var delayedCreateFunctions = [];\n\t        for (var rowIndex = this.firstRenderedRow; rowIndex <= this.lastRenderedRow; rowIndex++) {\n\t            // see if item already there, and if yes, take it out of the 'to remove' array\n\t            if (rowsToRemove.indexOf(rowIndex.toString()) >= 0) {\n\t                utils_1.Utils.removeFromArray(rowsToRemove, rowIndex.toString());\n\t                continue;\n\t            }\n\t            // check this row actually exists (in case overflow buffer window exceeds real data)\n\t            var node = this.paginationProxy.getRow(rowIndex);\n\t            if (node) {\n\t                var renderedRow = this.getOrCreateRenderedRow(node, oldRenderedRowsByNodeId, animate);\n\t                utils_1.Utils.pushAll(delayedCreateFunctions, renderedRow.getAndClearNextVMTurnFunctions());\n\t                this.renderedRows[rowIndex] = renderedRow;\n\t            }\n\t        }\n\t        setTimeout(function () {\n\t            delayedCreateFunctions.forEach(function (func) { return func(); });\n\t        }, 0);\n\t        // timer.print('creating template');\n\t        // check that none of the rows to remove are editing or focused as:\n\t        // a) if editing, we want to keep them, otherwise the user will loose the context of the edit,\n\t        //    eg user starts editing, enters some text, then scrolls down and then up, next time row rendered\n\t        //    the edit is reset - so we want to keep it rendered.\n\t        // b) if focused, we want ot keep keyboard focus, so if user ctrl+c, it goes to clipboard,\n\t        //    otherwise the user can range select and drag (with focus cell going out of the viewport)\n\t        //    and then ctrl+c, nothing will happen if cell is removed from dom.\n\t        rowsToRemove = utils_1.Utils.filter(rowsToRemove, function (indexStr) {\n\t            var REMOVE_ROW = true;\n\t            var KEEP_ROW = false;\n\t            var renderedRow = _this.renderedRows[indexStr];\n\t            var rowNode = renderedRow.getRowNode();\n\t            var rowHasFocus = _this.focusedCellController.isRowNodeFocused(rowNode);\n\t            var rowIsEditing = renderedRow.isEditing();\n\t            var mightWantToKeepRow = rowHasFocus || rowIsEditing;\n\t            // if we deffo don't want to keep it,\n\t            if (!mightWantToKeepRow) {\n\t                return REMOVE_ROW;\n\t            }\n\t            // editing row, only remove if it is no longer rendered, eg filtered out or new data set.\n\t            // the reason we want to keep is if user is scrolling up and down, we don't want to loose\n\t            // the context of the editing in process.\n\t            var rowNodePresent = _this.paginationProxy.isRowPresent(rowNode);\n\t            return rowNodePresent ? KEEP_ROW : REMOVE_ROW;\n\t        });\n\t        // at this point, everything in our 'rowsToRemove' is an old index that needs to be removed\n\t        this.removeVirtualRows(rowsToRemove);\n\t        // and everything in our oldRenderedRowsByNodeId is an old row that is no longer used\n\t        var delayedDestroyFunctions = [];\n\t        utils_1.Utils.iterateObject(oldRenderedRowsByNodeId, function (nodeId, renderedRow) {\n\t            renderedRow.destroy(animate);\n\t            renderedRow.getAndClearDelayedDestroyFunctions().forEach(function (func) { return delayedDestroyFunctions.push(func); });\n\t            delete oldRenderedRowsByNodeId[nodeId];\n\t        });\n\t        setTimeout(function () {\n\t            delayedDestroyFunctions.forEach(function (func) { return func(); });\n\t        }, 400);\n\t        // timer.print('removing');\n\t        this.rowContainers.body.flushDocumentFragment();\n\t        if (!this.gridOptionsWrapper.isForPrint()) {\n\t            this.rowContainers.pinnedLeft.flushDocumentFragment();\n\t            this.rowContainers.pinnedRight.flushDocumentFragment();\n\t        }\n\t        // if we are doing angular compiling, then do digest the scope here\n\t        if (this.gridOptionsWrapper.isAngularCompileRows()) {\n\t            // we do it in a timeout, in case we are already in an apply\n\t            setTimeout(function () { _this.$scope.$apply(); }, 0);\n\t        }\n\t        // timer.print('total');\n\t    };\n\t    RowRenderer.prototype.getOrCreateRenderedRow = function (rowNode, oldRowsByNodeId, animate) {\n\t        var renderedRow;\n\t        if (utils_1.Utils.exists(oldRowsByNodeId) && oldRowsByNodeId[rowNode.id]) {\n\t            renderedRow = oldRowsByNodeId[rowNode.id];\n\t            delete oldRowsByNodeId[rowNode.id];\n\t        }\n\t        else {\n\t            renderedRow = new renderedRow_1.RenderedRow(this.$scope, this, this.rowContainers.body, this.rowContainers.fullWidth, this.rowContainers.pinnedLeft, this.rowContainers.pinnedRight, rowNode, animate);\n\t            this.context.wireBean(renderedRow);\n\t        }\n\t        return renderedRow;\n\t    };\n\t    RowRenderer.prototype.getRenderedNodes = function () {\n\t        var renderedRows = this.renderedRows;\n\t        return Object.keys(renderedRows).map(function (key) {\n\t            return renderedRows[key].getRowNode();\n\t        });\n\t    };\n\t    // we use index for rows, but column object for columns, as the next column (by index) might not\n\t    // be visible (header grouping) so it's not reliable, so using the column object instead.\n\t    RowRenderer.prototype.navigateToNextCell = function (event, key, rowIndex, column, floating) {\n\t        var previousCell = new gridCell_1.GridCell({ rowIndex: rowIndex, floating: floating, column: column });\n\t        var nextCell = previousCell;\n\t        // we keep searching for a next cell until we find one. this is how the group rows get skipped\n\t        while (true) {\n\t            nextCell = this.cellNavigationService.getNextCellToFocus(key, nextCell);\n\t            if (utils_1.Utils.missing(nextCell)) {\n\t                break;\n\t            }\n\t            var skipGroupRows = this.gridOptionsWrapper.isGroupUseEntireRow();\n\t            if (skipGroupRows) {\n\t                var rowNode = this.paginationProxy.getRow(nextCell.rowIndex);\n\t                if (!rowNode.group) {\n\t                    break;\n\t                }\n\t            }\n\t            else {\n\t                break;\n\t            }\n\t        }\n\t        // allow user to override what cell to go to next\n\t        var userFunc = this.gridOptionsWrapper.getNavigateToNextCellFunc();\n\t        if (utils_1.Utils.exists(userFunc)) {\n\t            var params = {\n\t                key: key,\n\t                previousCellDef: previousCell,\n\t                nextCellDef: nextCell ? nextCell.getGridCellDef() : null,\n\t                event: event\n\t            };\n\t            var nextCellDef = userFunc(params);\n\t            if (utils_1.Utils.exists(nextCellDef)) {\n\t                nextCell = new gridCell_1.GridCell(nextCellDef);\n\t            }\n\t            else {\n\t                nextCell = null;\n\t            }\n\t        }\n\t        // no next cell means we have reached a grid boundary, eg left, right, top or bottom of grid\n\t        if (!nextCell) {\n\t            return;\n\t        }\n\t        // this scrolls the row into view\n\t        if (utils_1.Utils.missing(nextCell.floating)) {\n\t            this.gridPanel.ensureIndexVisible(nextCell.rowIndex);\n\t        }\n\t        if (!nextCell.column.isPinned()) {\n\t            this.gridPanel.ensureColumnVisible(nextCell.column);\n\t        }\n\t        // need to nudge the scrolls for the floating items. otherwise when we set focus on a non-visible\n\t        // floating cell, the scrolls get out of sync\n\t        this.gridPanel.horizontallyScrollHeaderCenterAndFloatingCenter();\n\t        this.focusedCellController.setFocusedCell(nextCell.rowIndex, nextCell.column, nextCell.floating, true);\n\t        if (this.rangeController) {\n\t            var gridCell = new gridCell_1.GridCell({ rowIndex: nextCell.rowIndex, floating: nextCell.floating, column: nextCell.column });\n\t            this.rangeController.setRangeToCell(gridCell);\n\t        }\n\t    };\n\t    RowRenderer.prototype.startEditingCell = function (gridCell, keyPress, charPress) {\n\t        var cell = this.getComponentForCell(gridCell);\n\t        if (cell) {\n\t            cell.startRowOrCellEdit(keyPress, charPress);\n\t        }\n\t    };\n\t    RowRenderer.prototype.getComponentForCell = function (gridCell) {\n\t        var rowComponent;\n\t        switch (gridCell.floating) {\n\t            case constants_1.Constants.FLOATING_TOP:\n\t                rowComponent = this.renderedTopFloatingRows[gridCell.rowIndex];\n\t                break;\n\t            case constants_1.Constants.FLOATING_BOTTOM:\n\t                rowComponent = this.renderedBottomFloatingRows[gridCell.rowIndex];\n\t                break;\n\t            default:\n\t                rowComponent = this.renderedRows[gridCell.rowIndex];\n\t                break;\n\t        }\n\t        if (!rowComponent) {\n\t            return null;\n\t        }\n\t        var cellComponent = rowComponent.getRenderedCellForColumn(gridCell.column);\n\t        return cellComponent;\n\t    };\n\t    RowRenderer.prototype.onTabKeyDown = function (previousRenderedCell, keyboardEvent) {\n\t        var backwards = keyboardEvent.shiftKey;\n\t        var success = this.moveToCellAfter(previousRenderedCell, backwards);\n\t        if (success) {\n\t            keyboardEvent.preventDefault();\n\t        }\n\t    };\n\t    RowRenderer.prototype.tabToNextCell = function (backwards) {\n\t        var focusedCell = this.focusedCellController.getFocusedCell();\n\t        // if no focus, then cannot navigate\n\t        if (utils_1.Utils.missing(focusedCell)) {\n\t            return false;\n\t        }\n\t        var renderedCell = this.getComponentForCell(focusedCell);\n\t        // if cell is not rendered, means user has scrolled away from the cell\n\t        if (utils_1.Utils.missing(renderedCell)) {\n\t            return false;\n\t        }\n\t        var result = this.moveToCellAfter(renderedCell, backwards);\n\t        return result;\n\t    };\n\t    // returns true if moving to next cell was successful\n\t    RowRenderer.prototype.moveToCellAfter = function (previousRenderedCell, backwards) {\n\t        var editing = previousRenderedCell.isEditing();\n\t        var gridCell = previousRenderedCell.getGridCell();\n\t        // find the next cell to start editing\n\t        var nextRenderedCell = this.findNextCellToFocusOn(gridCell, backwards, editing);\n\t        var foundCell = utils_1.Utils.exists(nextRenderedCell);\n\t        // only prevent default if we found a cell. so if user is on last cell and hits tab, then we default\n\t        // to the normal tabbing so user can exit the grid.\n\t        if (foundCell) {\n\t            if (editing) {\n\t                if (this.gridOptionsWrapper.isFullRowEdit()) {\n\t                    this.moveEditToNextRow(previousRenderedCell, nextRenderedCell);\n\t                }\n\t                else {\n\t                    this.moveEditToNextCell(previousRenderedCell, nextRenderedCell);\n\t                }\n\t            }\n\t            else {\n\t                nextRenderedCell.focusCell(true);\n\t            }\n\t            return true;\n\t        }\n\t        else {\n\t            return false;\n\t        }\n\t    };\n\t    RowRenderer.prototype.moveEditToNextCell = function (previousRenderedCell, nextRenderedCell) {\n\t        previousRenderedCell.stopEditing();\n\t        nextRenderedCell.startEditingIfEnabled(null, null, true);\n\t        nextRenderedCell.focusCell(false);\n\t    };\n\t    RowRenderer.prototype.moveEditToNextRow = function (previousRenderedCell, nextRenderedCell) {\n\t        var pGridCell = previousRenderedCell.getGridCell();\n\t        var nGridCell = nextRenderedCell.getGridCell();\n\t        var rowsMatch = (pGridCell.rowIndex === nGridCell.rowIndex)\n\t            && (pGridCell.floating === nGridCell.floating);\n\t        if (rowsMatch) {\n\t            // same row, so we don't start / stop editing, we just move the focus along\n\t            previousRenderedCell.setFocusOutOnEditor();\n\t            nextRenderedCell.setFocusInOnEditor();\n\t        }\n\t        else {\n\t            var pRow = previousRenderedCell.getRenderedRow();\n\t            var nRow = nextRenderedCell.getRenderedRow();\n\t            previousRenderedCell.setFocusOutOnEditor();\n\t            pRow.stopEditing();\n\t            nRow.startRowEditing();\n\t            nextRenderedCell.setFocusInOnEditor();\n\t        }\n\t        nextRenderedCell.focusCell();\n\t    };\n\t    // called by the cell, when tab is pressed while editing.\n\t    // @return: RenderedCell when navigation successful, otherwise null\n\t    RowRenderer.prototype.findNextCellToFocusOn = function (gridCell, backwards, startEditing) {\n\t        var nextCell = gridCell;\n\t        while (true) {\n\t            nextCell = this.cellNavigationService.getNextTabbedCell(nextCell, backwards);\n\t            // allow user to override what cell to go to next\n\t            var userFunc = this.gridOptionsWrapper.getTabToNextCellFunc();\n\t            if (utils_1.Utils.exists(userFunc)) {\n\t                var params = {\n\t                    backwards: backwards,\n\t                    editing: startEditing,\n\t                    previousCellDef: gridCell.getGridCellDef(),\n\t                    nextCellDef: nextCell ? nextCell.getGridCellDef() : null\n\t                };\n\t                var nextCellDef = userFunc(params);\n\t                if (utils_1.Utils.exists(nextCellDef)) {\n\t                    nextCell = new gridCell_1.GridCell(nextCellDef);\n\t                }\n\t                else {\n\t                    nextCell = null;\n\t                }\n\t            }\n\t            // if no 'next cell', means we have got to last cell of grid, so nothing to move to,\n\t            // so bottom right cell going forwards, or top left going backwards\n\t            if (!nextCell) {\n\t                return null;\n\t            }\n\t            // this scrolls the row into view\n\t            var cellIsNotFloating = utils_1.Utils.missing(nextCell.floating);\n\t            if (cellIsNotFloating) {\n\t                this.gridPanel.ensureIndexVisible(nextCell.rowIndex);\n\t            }\n\t            // pinned columns don't scroll, so no need to ensure index visible\n\t            if (!nextCell.column.isPinned()) {\n\t                this.gridPanel.ensureColumnVisible(nextCell.column);\n\t            }\n\t            // need to nudge the scrolls for the floating items. otherwise when we set focus on a non-visible\n\t            // floating cell, the scrolls get out of sync\n\t            this.gridPanel.horizontallyScrollHeaderCenterAndFloatingCenter();\n\t            // we have to call this after ensureColumnVisible - otherwise it could be a virtual column\n\t            // or row that is not currently in view, hence the renderedCell would not exist\n\t            var nextRenderedCell = this.getComponentForCell(nextCell);\n\t            // if next cell is fullWidth row, then no rendered cell,\n\t            // as fullWidth rows have no cells, so we skip it\n\t            if (utils_1.Utils.missing(nextRenderedCell)) {\n\t                continue;\n\t            }\n\t            // if editing, but cell not editable, skip cell\n\t            if (startEditing && !nextRenderedCell.isCellEditable()) {\n\t                continue;\n\t            }\n\t            if (nextRenderedCell.isSuppressNavigable()) {\n\t                continue;\n\t            }\n\t            // by default, when we click a cell, it gets selected into a range, so to keep keyboard navigation\n\t            // consistent, we set into range here also.\n\t            if (this.rangeController) {\n\t                var gridCell_2 = new gridCell_1.GridCell({ rowIndex: nextCell.rowIndex, floating: nextCell.floating, column: nextCell.column });\n\t                this.rangeController.setRangeToCell(gridCell_2);\n\t            }\n\t            // we successfully tabbed onto a grid cell, so return true\n\t            return nextRenderedCell;\n\t        }\n\t    };\n\t    return RowRenderer;\n\t}(beanStub_1.BeanStub));\n\t__decorate([\n\t    context_1.Autowired('paginationProxy'),\n\t    __metadata(\"design:type\", paginationProxy_1.PaginationProxy)\n\t], RowRenderer.prototype, \"paginationProxy\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", columnController_1.ColumnController)\n\t], RowRenderer.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], RowRenderer.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridCore'),\n\t    __metadata(\"design:type\", gridCore_1.GridCore)\n\t], RowRenderer.prototype, \"gridCore\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridPanel'),\n\t    __metadata(\"design:type\", gridPanel_1.GridPanel)\n\t], RowRenderer.prototype, \"gridPanel\", void 0);\n\t__decorate([\n\t    context_1.Autowired('$compile'),\n\t    __metadata(\"design:type\", Object)\n\t], RowRenderer.prototype, \"$compile\", void 0);\n\t__decorate([\n\t    context_1.Autowired('$scope'),\n\t    __metadata(\"design:type\", Object)\n\t], RowRenderer.prototype, \"$scope\", void 0);\n\t__decorate([\n\t    context_1.Autowired('expressionService'),\n\t    __metadata(\"design:type\", expressionService_1.ExpressionService)\n\t], RowRenderer.prototype, \"expressionService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('templateService'),\n\t    __metadata(\"design:type\", templateService_1.TemplateService)\n\t], RowRenderer.prototype, \"templateService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('valueService'),\n\t    __metadata(\"design:type\", valueService_1.ValueService)\n\t], RowRenderer.prototype, \"valueService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], RowRenderer.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('floatingRowModel'),\n\t    __metadata(\"design:type\", floatingRowModel_1.FloatingRowModel)\n\t], RowRenderer.prototype, \"floatingRowModel\", void 0);\n\t__decorate([\n\t    context_1.Autowired('context'),\n\t    __metadata(\"design:type\", context_1.Context)\n\t], RowRenderer.prototype, \"context\", void 0);\n\t__decorate([\n\t    context_1.Autowired('loggerFactory'),\n\t    __metadata(\"design:type\", logger_1.LoggerFactory)\n\t], RowRenderer.prototype, \"loggerFactory\", void 0);\n\t__decorate([\n\t    context_1.Autowired('focusedCellController'),\n\t    __metadata(\"design:type\", focusedCellController_1.FocusedCellController)\n\t], RowRenderer.prototype, \"focusedCellController\", void 0);\n\t__decorate([\n\t    context_1.Optional('rangeController'),\n\t    __metadata(\"design:type\", Object)\n\t], RowRenderer.prototype, \"rangeController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('cellNavigationService'),\n\t    __metadata(\"design:type\", cellNavigationService_1.CellNavigationService)\n\t], RowRenderer.prototype, \"cellNavigationService\", void 0);\n\t__decorate([\n\t    __param(0, context_1.Qualifier('loggerFactory')),\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", [logger_1.LoggerFactory]),\n\t    __metadata(\"design:returntype\", void 0)\n\t], RowRenderer.prototype, \"agWire\", null);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], RowRenderer.prototype, \"init\", null);\n\t__decorate([\n\t    context_1.PreDestroy,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], RowRenderer.prototype, \"destroy\", null);\n\tRowRenderer = __decorate([\n\t    context_1.Bean('rowRenderer')\n\t], RowRenderer);\n\texports.RowRenderer = RowRenderer;\n\n\n/***/ }),\n/* 27 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar __param = (this && this.__param) || function (paramIndex, decorator) {\n\t    return function (target, key) { decorator(target, key, paramIndex); }\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar utils_1 = __webpack_require__(9);\n\tvar masterSlaveService_1 = __webpack_require__(28);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar rowRenderer_1 = __webpack_require__(26);\n\tvar floatingRowModel_1 = __webpack_require__(29);\n\tvar borderLayout_1 = __webpack_require__(33);\n\tvar logger_1 = __webpack_require__(7);\n\tvar context_1 = __webpack_require__(8);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar events_1 = __webpack_require__(12);\n\tvar dragService_1 = __webpack_require__(34);\n\tvar constants_1 = __webpack_require__(10);\n\tvar selectionController_1 = __webpack_require__(31);\n\tvar csvCreator_1 = __webpack_require__(14);\n\tvar mouseEventService_1 = __webpack_require__(35);\n\tvar focusedCellController_1 = __webpack_require__(36);\n\tvar scrollVisibleService_1 = __webpack_require__(39);\n\tvar beanStub_1 = __webpack_require__(40);\n\tvar rowContainerComponent_1 = __webpack_require__(41);\n\tvar paginationProxy_1 = __webpack_require__(42);\n\t// in the html below, it is important that there are no white space between some of the divs, as if there is white space,\n\t// it won't render correctly in safari, as safari renders white space as a gap\n\tvar gridHtml = '<div class=\"ag-root ag-font-style\">' +\n\t    // header\n\t    '<div class=\"ag-header\">' +\n\t    '<div class=\"ag-pinned-left-header\"></div>' +\n\t    '<div class=\"ag-pinned-right-header\"></div>' +\n\t    '<div class=\"ag-header-viewport\">' +\n\t    '<div class=\"ag-header-container\"></div>' +\n\t    '</div>' +\n\t    '<div class=\"ag-header-overlay\"></div>' +\n\t    '</div>' +\n\t    // floating top\n\t    '<div class=\"ag-floating-top\">' +\n\t    '<div class=\"ag-pinned-left-floating-top\"></div>' +\n\t    '<div class=\"ag-pinned-right-floating-top\"></div>' +\n\t    '<div class=\"ag-floating-top-viewport\">' +\n\t    '<div class=\"ag-floating-top-container\"></div>' +\n\t    '</div>' +\n\t    '<div class=\"ag-floating-top-full-width-container\"></div>' +\n\t    '</div>' +\n\t    // floating bottom\n\t    '<div class=\"ag-floating-bottom\">' +\n\t    '<div class=\"ag-pinned-left-floating-bottom\"></div>' +\n\t    '<div class=\"ag-pinned-right-floating-bottom\"></div>' +\n\t    '<div class=\"ag-floating-bottom-viewport\">' +\n\t    '<div class=\"ag-floating-bottom-container\"></div>' +\n\t    '</div>' +\n\t    '<div class=\"ag-floating-bottom-full-width-container\"></div>' +\n\t    '</div>' +\n\t    // body\n\t    '<div class=\"ag-body\">' +\n\t    '<div class=\"ag-pinned-left-cols-viewport\">' +\n\t    '<div class=\"ag-pinned-left-cols-container\"></div>' +\n\t    '</div>' +\n\t    '<div class=\"ag-pinned-right-cols-viewport\">' +\n\t    '<div class=\"ag-pinned-right-cols-container\"></div>' +\n\t    '</div>' +\n\t    '<div class=\"ag-body-viewport-wrapper\">' +\n\t    '<div class=\"ag-body-viewport\">' +\n\t    '<div class=\"ag-body-container\"></div>' +\n\t    '</div>' +\n\t    '</div>' +\n\t    '<div class=\"ag-full-width-viewport\">' +\n\t    '<div class=\"ag-full-width-container\"></div>' +\n\t    '</div>' +\n\t    '</div>' +\n\t    '</div>';\n\tvar gridForPrintHtml = '<div class=\"ag-root ag-font-style\">' +\n\t    // header\n\t    '<div class=\"ag-header-container\"></div>' +\n\t    // floating\n\t    '<div class=\"ag-floating-top-container\"></div>' +\n\t    // body\n\t    '<div class=\"ag-body-container\"></div>' +\n\t    // floating bottom\n\t    '<div class=\"ag-floating-bottom-container\"></div>' +\n\t    '</div>';\n\t// wrapping in outer div, and wrapper, is needed to center the loading icon\n\t// The idea for centering came from here: http://www.vanseodesign.com/css/vertical-centering/\n\tvar mainOverlayTemplate = '<div class=\"ag-overlay-panel\">' +\n\t    '<div class=\"ag-overlay-wrapper ag-overlay-[OVERLAY_NAME]-wrapper\">[OVERLAY_TEMPLATE]</div>' +\n\t    '</div>';\n\tvar defaultLoadingOverlayTemplate = '<span class=\"ag-overlay-loading-center\">[LOADING...]</span>';\n\tvar defaultNoRowsOverlayTemplate = '<span class=\"ag-overlay-no-rows-center\">[NO_ROWS_TO_SHOW]</span>';\n\tvar GridPanel = (function (_super) {\n\t    __extends(GridPanel, _super);\n\t    function GridPanel() {\n\t        var _this = _super !== null && _super.apply(this, arguments) || this;\n\t        _this.requestAnimationFrameExists = typeof requestAnimationFrame === 'function';\n\t        _this.scrollLagCounter = 0;\n\t        _this.scrollLagTicking = false;\n\t        _this.lastLeftPosition = -1;\n\t        _this.lastTopPosition = -1;\n\t        _this.animationThreadCount = 0;\n\t        return _this;\n\t    }\n\t    GridPanel.prototype.agWire = function (loggerFactory) {\n\t        this.logger = loggerFactory.create('GridPanel');\n\t        // makes code below more readable if we pull 'forPrint' out\n\t        this.forPrint = this.gridOptionsWrapper.isForPrint();\n\t        this.scrollWidth = this.gridOptionsWrapper.getScrollbarWidth();\n\t        this.useScrollLag = this.isUseScrollLag();\n\t        this.enableRtl = this.gridOptionsWrapper.isEnableRtl();\n\t        this.loadTemplate();\n\t        this.findElements();\n\t    };\n\t    GridPanel.prototype.getVerticalPixelRange = function () {\n\t        var container = this.getPrimaryScrollViewport();\n\t        var result = {\n\t            top: container.scrollTop,\n\t            bottom: container.scrollTop + container.offsetHeight\n\t        };\n\t        return result;\n\t    };\n\t    // we override this, as the base class is missing the annotation\n\t    GridPanel.prototype.destroy = function () {\n\t        _super.prototype.destroy.call(this);\n\t    };\n\t    GridPanel.prototype.onRowDataChanged = function () {\n\t        this.showOrHideOverlay();\n\t    };\n\t    GridPanel.prototype.showOrHideOverlay = function () {\n\t        if (this.paginationProxy.isEmpty() && !this.gridOptionsWrapper.isSuppressNoRowsOverlay()) {\n\t            this.showNoRowsOverlay();\n\t        }\n\t        else {\n\t            this.hideOverlay();\n\t        }\n\t    };\n\t    GridPanel.prototype.getLayout = function () {\n\t        return this.layout;\n\t    };\n\t    GridPanel.prototype.init = function () {\n\t        this.addEventListeners();\n\t        this.addDragListeners();\n\t        this.layout = new borderLayout_1.BorderLayout({\n\t            overlays: {\n\t                loading: utils_1.Utils.loadTemplate(this.createLoadingOverlayTemplate()),\n\t                noRows: utils_1.Utils.loadTemplate(this.createNoRowsOverlayTemplate())\n\t            },\n\t            center: this.eRoot,\n\t            dontFill: this.forPrint,\n\t            name: 'eGridPanel'\n\t        });\n\t        this.layout.addSizeChangeListener(this.setBodyAndHeaderHeights.bind(this));\n\t        this.layout.addSizeChangeListener(this.setLeftAndRightBounds.bind(this));\n\t        this.addScrollListener();\n\t        if (this.gridOptionsWrapper.isSuppressHorizontalScroll()) {\n\t            this.eBodyViewport.style.overflowX = 'hidden';\n\t        }\n\t        if (this.gridOptionsWrapper.isRowModelDefault() && !this.gridOptionsWrapper.getRowData()) {\n\t            this.showLoadingOverlay();\n\t        }\n\t        this.setPinnedContainersVisible();\n\t        this.setBodyAndHeaderHeights();\n\t        this.disableBrowserDragging();\n\t        this.addShortcutKeyListeners();\n\t        this.addMouseEvents();\n\t        this.addKeyboardEvents();\n\t        this.addBodyViewportListener();\n\t        this.addStopEditingWhenGridLosesFocus();\n\t        if (this.$scope) {\n\t            this.addAngularApplyCheck();\n\t        }\n\t        this.onDisplayedColumnsWidthChanged();\n\t    };\n\t    GridPanel.prototype.addStopEditingWhenGridLosesFocus = function () {\n\t        var _this = this;\n\t        if (this.gridOptionsWrapper.isStopEditingWhenGridLosesFocus()) {\n\t            this.addDestroyableEventListener(this.eBody, 'focusout', function (event) {\n\t                // this is the element the focus is moving to\n\t                var elementWithFocus = event.relatedTarget;\n\t                // see if the element the focus is going to is part of the grid\n\t                var ourBodyFound = false;\n\t                var pointer = elementWithFocus;\n\t                while (utils_1.Utils.exists(pointer)) {\n\t                    pointer = pointer.parentNode;\n\t                    if (pointer === _this.eBody) {\n\t                        ourBodyFound = true;\n\t                    }\n\t                }\n\t                // if it is not part fo the grid, then we have lost focus\n\t                if (!ourBodyFound) {\n\t                    _this.rowRenderer.stopEditing();\n\t                }\n\t            });\n\t        }\n\t    };\n\t    GridPanel.prototype.addAngularApplyCheck = function () {\n\t        var _this = this;\n\t        // this makes sure if we queue up requests, we only execute oe\n\t        var applyTriggered = false;\n\t        var listener = function () {\n\t            // only need to do one apply at a time\n\t            if (applyTriggered) {\n\t                return;\n\t            }\n\t            applyTriggered = true; // mark 'need apply' to true\n\t            setTimeout(function () {\n\t                applyTriggered = false;\n\t                _this.$scope.$apply();\n\t            }, 0);\n\t        };\n\t        // these are the events we need to do an apply after - these are the ones that can end up\n\t        // with columns added or removed\n\t        this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_DISPLAYED_COLUMNS_CHANGED, listener);\n\t        this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_VIRTUAL_COLUMNS_CHANGED, listener);\n\t    };\n\t    // if we do not do this, then the user can select a pic in the grid (eg an image in a custom cell renderer)\n\t    // and then that will start the browser native drag n' drop, which messes up with our own drag and drop.\n\t    GridPanel.prototype.disableBrowserDragging = function () {\n\t        this.eRoot.addEventListener('dragstart', function (event) {\n\t            if (event.target instanceof HTMLImageElement) {\n\t                event.preventDefault();\n\t                return false;\n\t            }\n\t        });\n\t    };\n\t    GridPanel.prototype.addEventListeners = function () {\n\t        this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_DISPLAYED_COLUMNS_CHANGED, this.onDisplayedColumnsChanged.bind(this));\n\t        this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED, this.onDisplayedColumnsWidthChanged.bind(this));\n\t        this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_SCROLL_VISIBILITY_CHANGED, this.onScrollVisibilityChanged.bind(this));\n\t        this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_FLOATING_ROW_DATA_CHANGED, this.setBodyAndHeaderHeights.bind(this));\n\t        this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_ROW_DATA_CHANGED, this.onRowDataChanged.bind(this));\n\t        this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_ITEMS_ADDED, this.onRowDataChanged.bind(this));\n\t        this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_ITEMS_REMOVED, this.onRowDataChanged.bind(this));\n\t        this.addDestroyableEventListener(this.gridOptionsWrapper, gridOptionsWrapper_1.GridOptionsWrapper.PROP_HEADER_HEIGHT, this.setBodyAndHeaderHeights.bind(this));\n\t    };\n\t    GridPanel.prototype.addDragListeners = function () {\n\t        var _this = this;\n\t        if (this.forPrint // no range select when doing 'for print'\n\t            || !this.gridOptionsWrapper.isEnableRangeSelection() // no range selection if no property\n\t            || utils_1.Utils.missing(this.rangeController)) {\n\t            return;\n\t        }\n\t        var containers = [this.ePinnedLeftColsContainer, this.ePinnedRightColsContainer, this.eBodyContainer,\n\t            this.eFloatingTop, this.eFloatingBottom];\n\t        containers.forEach(function (container) {\n\t            var params = {\n\t                dragStartPixels: 0,\n\t                eElement: container,\n\t                onDragStart: _this.rangeController.onDragStart.bind(_this.rangeController),\n\t                onDragStop: _this.rangeController.onDragStop.bind(_this.rangeController),\n\t                onDragging: _this.rangeController.onDragging.bind(_this.rangeController)\n\t            };\n\t            _this.dragService.addDragSource(params);\n\t            _this.addDestroyFunc(function () { return _this.dragService.removeDragSource(params); });\n\t        });\n\t    };\n\t    GridPanel.prototype.addMouseEvents = function () {\n\t        var _this = this;\n\t        var eventNames = ['click', 'mousedown', 'dblclick', 'contextmenu', 'mouseover', 'mouseout'];\n\t        eventNames.forEach(function (eventName) {\n\t            var listener = _this.processMouseEvent.bind(_this, eventName);\n\t            _this.eAllCellContainers.forEach(function (container) {\n\t                container.addEventListener(eventName, listener);\n\t                _this.addDestroyFunc(function () { return container.removeEventListener(eventName, listener); });\n\t            });\n\t        });\n\t    };\n\t    GridPanel.prototype.addKeyboardEvents = function () {\n\t        var _this = this;\n\t        var eventNames = ['keydown', 'keypress'];\n\t        eventNames.forEach(function (eventName) {\n\t            var listener = _this.processKeyboardEvent.bind(_this, eventName);\n\t            _this.eAllCellContainers.forEach(function (container) {\n\t                _this.addDestroyableEventListener(container, eventName, listener);\n\t            });\n\t        });\n\t    };\n\t    GridPanel.prototype.addBodyViewportListener = function () {\n\t        var _this = this;\n\t        // we never add this when doing 'forPrint'\n\t        if (this.gridOptionsWrapper.isForPrint()) {\n\t            return;\n\t        }\n\t        // we want to listen for clicks directly on the eBodyViewport, so the user has a way of showing\n\t        // the context menu if no rows are displayed, or user simply clicks outside of a cell\n\t        var listener = function (mouseEvent) {\n\t            var target = utils_1.Utils.getTarget(mouseEvent);\n\t            if (target === _this.eBodyViewport) {\n\t                // show it\n\t                _this.onContextMenu(mouseEvent);\n\t                _this.preventDefaultOnContextMenu(mouseEvent);\n\t            }\n\t        };\n\t        this.addDestroyableEventListener(this.eBodyViewport, 'contextmenu', listener);\n\t    };\n\t    GridPanel.prototype.getRowForEvent = function (event) {\n\t        var domDataKey = this.gridOptionsWrapper.getDomDataKey();\n\t        var sourceElement = utils_1.Utils.getTarget(event);\n\t        while (sourceElement) {\n\t            var domData = sourceElement[domDataKey];\n\t            if (domData && domData.renderedRow) {\n\t                return domData.renderedRow;\n\t            }\n\t            sourceElement = sourceElement.parentElement;\n\t        }\n\t        return null;\n\t    };\n\t    GridPanel.prototype.processKeyboardEvent = function (eventName, keyboardEvent) {\n\t        var renderedCell = this.mouseEventService.getRenderedCellForEvent(keyboardEvent);\n\t        if (!renderedCell) {\n\t            return;\n\t        }\n\t        switch (eventName) {\n\t            case 'keydown':\n\t                var pageScrollingKeys = [\n\t                    constants_1.Constants.DIAGONAL_SCROLL_KEYS,\n\t                    constants_1.Constants.HORIZONTAL_SCROLL_KEYS,\n\t                    constants_1.Constants.VERTICAL_SCROLL_KEYS\n\t                ];\n\t                var result = testKeyboardBindingGroups(pageScrollingKeys, keyboardEvent);\n\t                if (result) {\n\t                    this.handlePageScrollingKey(result.trappedKeyboardBindingGroup.id, result.trappedKeyboardBinding.id, keyboardEvent);\n\t                }\n\t                else {\n\t                    renderedCell.onKeyDown(keyboardEvent);\n\t                }\n\t                break;\n\t            case 'keypress':\n\t                renderedCell.onKeyPress(keyboardEvent);\n\t                break;\n\t        }\n\t    };\n\t    GridPanel.prototype.handlePageScrollingKey = function (pagingKeyGroup, pagingKey, keyboardEvent) {\n\t        switch (pagingKeyGroup) {\n\t            case constants_1.Constants.DIAGONAL_SCROLL_KEYS_ID:\n\t                this.pageDiagonally(pagingKey);\n\t                break;\n\t            case constants_1.Constants.VERTICAL_SCROLL_KEYS_ID:\n\t                this.pageVertically(pagingKey);\n\t                break;\n\t            case constants_1.Constants.HORIZONTAL_SCROLL_KEYS_ID:\n\t                this.pageHorizontally(pagingKey);\n\t                break;\n\t        }\n\t        //***************************************************************************\n\t        //Stop event defaults and propagation\n\t        keyboardEvent.preventDefault();\n\t    };\n\t    //Either CTL LEFT/RIGHT\n\t    GridPanel.prototype.pageHorizontally = function (pagingKey) {\n\t        //***************************************************************************\n\t        //column to select\n\t        var allColumns = this.columnController.getAllDisplayedColumns();\n\t        var columnToSelect = pagingKey === constants_1.Constants.KEY_CTRL_LEFT_NAME ?\n\t            allColumns[0] :\n\t            allColumns[allColumns.length - 1];\n\t        var horizontalScroll = {\n\t            type: ScrollType.HORIZONTAL,\n\t            columnToScrollTo: columnToSelect,\n\t            columnToFocus: columnToSelect\n\t        };\n\t        this.performScroll(horizontalScroll);\n\t    };\n\t    //Either HOME OR END\n\t    GridPanel.prototype.pageDiagonally = function (pagingKey) {\n\t        //***************************************************************************\n\t        //where to place the newly selected cell cursor after the scroll\n\t        var pageSize = this.getPrimaryScrollViewport().offsetHeight;\n\t        var selectionTopDelta = pagingKey === constants_1.Constants.KEY_PAGE_HOME_NAME ?\n\t            0 :\n\t            pageSize;\n\t        //***************************************************************************\n\t        //where to scroll to\n\t        var rowIndexToScrollTo = pagingKey === constants_1.Constants.KEY_PAGE_HOME_NAME ?\n\t            0 :\n\t            this.paginationProxy.getPageLastRow();\n\t        var rowToScrollTo = this.paginationProxy.getRow(rowIndexToScrollTo);\n\t        //***************************************************************************\n\t        //column to select\n\t        var allColumns = this.columnController.getAllDisplayedColumns();\n\t        var columnToSelect = pagingKey === constants_1.Constants.KEY_PAGE_HOME_NAME ?\n\t            allColumns[0] :\n\t            allColumns[allColumns.length - 1];\n\t        var diagonalScroll = {\n\t            focusedRowTopDelta: selectionTopDelta,\n\t            type: ScrollType.DIAGONAL,\n\t            rowToScrollTo: rowToScrollTo,\n\t            columnToScrollTo: columnToSelect\n\t        };\n\t        this.performScroll(diagonalScroll);\n\t    };\n\t    //EITHER CTRL UP/DOWN or PAGE UP/DOWN\n\t    GridPanel.prototype.pageVertically = function (pagingKey) {\n\t        if (pagingKey === constants_1.Constants.KEY_CTRL_UP_NAME) {\n\t            this.performScroll({\n\t                rowToScrollTo: this.paginationProxy.getRow(0),\n\t                focusedRowTopDelta: 0,\n\t                type: ScrollType.VERTICAL\n\t            });\n\t            return;\n\t        }\n\t        if (pagingKey === constants_1.Constants.KEY_CTRL_DOWN_NAME) {\n\t            this.performScroll({\n\t                rowToScrollTo: this.paginationProxy.getRow(this.paginationProxy.getPageLastRow()),\n\t                focusedRowTopDelta: this.getPrimaryScrollViewport().offsetHeight,\n\t                type: ScrollType.VERTICAL\n\t            });\n\t            return;\n\t        }\n\t        //*********PAGING KEYS******************************************************\n\t        //***************************************************************************\n\t        //where to place the newly selected cell cursor after the scroll\n\t        //  before we move the scroll\n\t        //      a) find the top position of the current selected cell\n\t        //      b) find what is the delta of that compared to the current scroll\n\t        var focusedCell = this.focusedCellController.getFocusedCell();\n\t        var focusedRowNode = this.paginationProxy.getRow(focusedCell.rowIndex);\n\t        var focusedAbsoluteTop = focusedRowNode.rowTop;\n\t        var selectionTopDelta = (focusedAbsoluteTop - this.getPrimaryScrollViewport().scrollTop) - this.paginationProxy.getPixelOffset();\n\t        //***************************************************************************\n\t        //how much to scroll:\n\t        //  a) One entire page from or to\n\t        //  b) the top of the first row in the current view\n\t        //  c) then find what is the row that would appear the first one in the screen and adjust it to its top pos\n\t        //      this will avoid having half printed rows at the top\n\t        var currentPageTopmostPixel = this.getPrimaryScrollViewport().scrollTop;\n\t        var currentPageTopRow = this.paginationProxy.getRowIndexAtPixel(currentPageTopmostPixel + this.paginationProxy.getPixelOffset());\n\t        var currentPageTopmostRow = this.paginationProxy.getRow(currentPageTopRow);\n\t        var viewportSize = this.getPrimaryScrollViewport().offsetHeight;\n\t        var maxPageSize = this.paginationProxy.getCurrentPageHeight();\n\t        var pageSize = maxPageSize < viewportSize ? maxPageSize : viewportSize;\n\t        var currentTopmostRowBottom = currentPageTopmostRow.rowTop + currentPageTopmostRow.rowHeight;\n\t        var toScrollUnadjusted = pagingKey == constants_1.Constants.KEY_PAGE_DOWN_NAME ?\n\t            pageSize + currentTopmostRowBottom :\n\t            currentTopmostRowBottom - pageSize;\n\t        var nextScreenTopmostRow = this.paginationProxy.getRow(this.paginationProxy.getRowIndexAtPixel(toScrollUnadjusted));\n\t        var verticalScroll = {\n\t            rowToScrollTo: nextScreenTopmostRow,\n\t            focusedRowTopDelta: selectionTopDelta,\n\t            type: ScrollType.VERTICAL\n\t        };\n\t        this.performScroll(verticalScroll);\n\t    };\n\t    // gets called by rowRenderer when new data loaded, as it will want to scroll\n\t    // to the top\n\t    GridPanel.prototype.scrollToTop = function () {\n\t        if (!this.forPrint) {\n\t            this.getPrimaryScrollViewport().scrollTop = 0;\n\t        }\n\t    };\n\t    //Performs any scroll\n\t    GridPanel.prototype.performScroll = function (scroll) {\n\t        var verticalScroll;\n\t        var diagonalScroll;\n\t        var horizontalScroll;\n\t        var focusedCellBeforeScrolling = this.focusedCellController.getFocusedCell();\n\t        //***************************************************************************\n\t        // Scroll screen\n\t        var newScrollTop;\n\t        switch (scroll.type) {\n\t            case ScrollType.VERTICAL:\n\t                verticalScroll = scroll;\n\t                this.ensureIndexVisible(verticalScroll.rowToScrollTo.rowIndex);\n\t                newScrollTop = verticalScroll.rowToScrollTo.rowTop - this.paginationProxy.getPixelOffset();\n\t                this.getPrimaryScrollViewport().scrollTop = newScrollTop;\n\t                break;\n\t            case ScrollType.DIAGONAL:\n\t                diagonalScroll = scroll;\n\t                this.ensureIndexVisible(diagonalScroll.rowToScrollTo.rowIndex);\n\t                newScrollTop = diagonalScroll.rowToScrollTo.rowTop - this.paginationProxy.getPixelOffset();\n\t                this.getPrimaryScrollViewport().scrollTop = newScrollTop;\n\t                this.getPrimaryScrollViewport().scrollLeft = diagonalScroll.columnToScrollTo.getLeft();\n\t                break;\n\t            case ScrollType.HORIZONTAL:\n\t                horizontalScroll = scroll;\n\t                this.getPrimaryScrollViewport().scrollLeft = horizontalScroll.columnToScrollTo.getLeft();\n\t                break;\n\t        }\n\t        //***************************************************************************\n\t        // This is needed so that when we try to focus on the cell is actually rendered.\n\t        var refreshViewParams = {\n\t            onlyBody: true,\n\t            suppressKeepFocus: true\n\t        };\n\t        this.rowRenderer.refreshView(refreshViewParams);\n\t        //***************************************************************************\n\t        // New focused cell\n\t        var focusedRowIndex;\n\t        var focusedColumn;\n\t        switch (scroll.type) {\n\t            case ScrollType.VERTICAL:\n\t                focusedRowIndex = this.paginationProxy.getRowIndexAtPixel(newScrollTop + this.paginationProxy.getPixelOffset() + verticalScroll.focusedRowTopDelta);\n\t                focusedColumn = focusedCellBeforeScrolling.column;\n\t                break;\n\t            case ScrollType.DIAGONAL:\n\t                focusedRowIndex = this.paginationProxy.getRowIndexAtPixel(newScrollTop + this.paginationProxy.getPixelOffset() + diagonalScroll.focusedRowTopDelta);\n\t                focusedColumn = diagonalScroll.columnToScrollTo;\n\t                break;\n\t            case ScrollType.HORIZONTAL:\n\t                focusedRowIndex = focusedCellBeforeScrolling.rowIndex;\n\t                focusedColumn = horizontalScroll.columnToScrollTo;\n\t                break;\n\t        }\n\t        this.focusedCellController.setFocusedCell(focusedRowIndex, focusedColumn, null, true);\n\t    };\n\t    GridPanel.prototype.processMouseEvent = function (eventName, mouseEvent) {\n\t        var renderedCell = this.mouseEventService.getRenderedCellForEvent(mouseEvent);\n\t        if (renderedCell) {\n\t            renderedCell.onMouseEvent(eventName, mouseEvent);\n\t        }\n\t        var renderedRow = this.getRowForEvent(mouseEvent);\n\t        if (renderedRow) {\n\t            renderedRow.onMouseEvent(eventName, mouseEvent);\n\t        }\n\t        this.preventDefaultOnContextMenu(mouseEvent);\n\t    };\n\t    GridPanel.prototype.onContextMenu = function (mouseEvent) {\n\t        // to allow us to debug in chrome, we ignore the event if ctrl is pressed.\n\t        // not everyone wants this, so first 'if' below allows to turn this hack off.\n\t        if (!this.gridOptionsWrapper.isAllowContextMenuWithControlKey()) {\n\t            // then do the check\n\t            if (mouseEvent.ctrlKey || mouseEvent.metaKey) {\n\t                return;\n\t            }\n\t        }\n\t        if (this.contextMenuFactory && !this.gridOptionsWrapper.isSuppressContextMenu()) {\n\t            this.contextMenuFactory.showMenu(null, null, null, mouseEvent);\n\t            mouseEvent.preventDefault();\n\t        }\n\t    };\n\t    GridPanel.prototype.preventDefaultOnContextMenu = function (mouseEvent) {\n\t        // if we don't do this, then middle click will never result in a 'click' event, as 'mousedown'\n\t        // will be consumed by the browser to mean 'scroll' (as you can scroll with the middle mouse\n\t        // button in the browser). so this property allows the user to receive middle button clicks if\n\t        // they want.\n\t        if (this.gridOptionsWrapper.isSuppressMiddleClickScrolls() && mouseEvent.which === 2) {\n\t            mouseEvent.preventDefault();\n\t        }\n\t    };\n\t    GridPanel.prototype.addShortcutKeyListeners = function () {\n\t        var _this = this;\n\t        this.eAllCellContainers.forEach(function (container) {\n\t            container.addEventListener('keydown', function (event) {\n\t                // if the cell the event came from is editing, then we do not\n\t                // want to do the default shortcut keys, otherwise the editor\n\t                // (eg a text field) would not be able to do the normal cut/copy/paste\n\t                var renderedCell = _this.mouseEventService.getRenderedCellForEvent(event);\n\t                if (renderedCell && renderedCell.isEditing()) {\n\t                    return;\n\t                }\n\t                if (event.ctrlKey || event.metaKey) {\n\t                    switch (event.which) {\n\t                        case constants_1.Constants.KEY_A: return _this.onCtrlAndA(event);\n\t                        case constants_1.Constants.KEY_C: return _this.onCtrlAndC(event);\n\t                        case constants_1.Constants.KEY_V: return _this.onCtrlAndV(event);\n\t                        case constants_1.Constants.KEY_D: return _this.onCtrlAndD(event);\n\t                    }\n\t                }\n\t            });\n\t        });\n\t    };\n\t    GridPanel.prototype.onCtrlAndA = function (event) {\n\t        if (this.rangeController && this.paginationProxy.isRowsToRender()) {\n\t            var rowEnd;\n\t            var floatingStart;\n\t            var floatingEnd;\n\t            if (this.floatingRowModel.isEmpty(constants_1.Constants.FLOATING_TOP)) {\n\t                floatingStart = null;\n\t            }\n\t            else {\n\t                floatingStart = constants_1.Constants.FLOATING_TOP;\n\t            }\n\t            if (this.floatingRowModel.isEmpty(constants_1.Constants.FLOATING_BOTTOM)) {\n\t                floatingEnd = null;\n\t                rowEnd = this.paginationProxy.getTotalRowCount() - 1;\n\t            }\n\t            else {\n\t                floatingEnd = constants_1.Constants.FLOATING_BOTTOM;\n\t                rowEnd = this.floatingRowModel.getFloatingBottomRowData().length = 1;\n\t            }\n\t            var allDisplayedColumns = this.columnController.getAllDisplayedColumns();\n\t            if (utils_1.Utils.missingOrEmpty(allDisplayedColumns)) {\n\t                return;\n\t            }\n\t            this.rangeController.setRange({\n\t                rowStart: 0,\n\t                floatingStart: floatingStart,\n\t                rowEnd: rowEnd,\n\t                floatingEnd: floatingEnd,\n\t                columnStart: allDisplayedColumns[0],\n\t                columnEnd: allDisplayedColumns[allDisplayedColumns.length - 1]\n\t            });\n\t        }\n\t        event.preventDefault();\n\t        return false;\n\t    };\n\t    GridPanel.prototype.onCtrlAndC = function (event) {\n\t        if (!this.clipboardService) {\n\t            return;\n\t        }\n\t        var focusedCell = this.focusedCellController.getFocusedCell();\n\t        this.clipboardService.copyToClipboard();\n\t        event.preventDefault();\n\t        // the copy operation results in loosing focus on the cell,\n\t        // because of the trickery the copy logic uses with a temporary\n\t        // widget. so we set it back again.\n\t        if (focusedCell) {\n\t            this.focusedCellController.setFocusedCell(focusedCell.rowIndex, focusedCell.column, focusedCell.floating, true);\n\t        }\n\t        return false;\n\t    };\n\t    GridPanel.prototype.onCtrlAndV = function (event) {\n\t        if (!this.rangeController) {\n\t            return;\n\t        }\n\t        this.clipboardService.pasteFromClipboard();\n\t        return false;\n\t    };\n\t    GridPanel.prototype.onCtrlAndD = function (event) {\n\t        if (!this.clipboardService) {\n\t            return;\n\t        }\n\t        this.clipboardService.copyRangeDown();\n\t        event.preventDefault();\n\t        return false;\n\t    };\n\t    GridPanel.prototype.createOverlayTemplate = function (name, defaultTemplate, userProvidedTemplate) {\n\t        var template = mainOverlayTemplate\n\t            .replace('[OVERLAY_NAME]', name);\n\t        if (userProvidedTemplate) {\n\t            template = template.replace('[OVERLAY_TEMPLATE]', userProvidedTemplate);\n\t        }\n\t        else {\n\t            template = template.replace('[OVERLAY_TEMPLATE]', defaultTemplate);\n\t        }\n\t        return template;\n\t    };\n\t    GridPanel.prototype.createLoadingOverlayTemplate = function () {\n\t        var userProvidedTemplate = this.gridOptionsWrapper.getOverlayLoadingTemplate();\n\t        var templateNotLocalised = this.createOverlayTemplate('loading', defaultLoadingOverlayTemplate, userProvidedTemplate);\n\t        var localeTextFunc = this.gridOptionsWrapper.getLocaleTextFunc();\n\t        var templateLocalised = templateNotLocalised.replace('[LOADING...]', localeTextFunc('loadingOoo', 'Loading...'));\n\t        return templateLocalised;\n\t    };\n\t    GridPanel.prototype.createNoRowsOverlayTemplate = function () {\n\t        var userProvidedTemplate = this.gridOptionsWrapper.getOverlayNoRowsTemplate();\n\t        var templateNotLocalised = this.createOverlayTemplate('no-rows', defaultNoRowsOverlayTemplate, userProvidedTemplate);\n\t        var localeTextFunc = this.gridOptionsWrapper.getLocaleTextFunc();\n\t        var templateLocalised = templateNotLocalised.replace('[NO_ROWS_TO_SHOW]', localeTextFunc('noRowsToShow', 'No Rows To Show'));\n\t        return templateLocalised;\n\t    };\n\t    GridPanel.prototype.ensureIndexVisible = function (index) {\n\t        // if for print, everything is always visible\n\t        if (this.gridOptionsWrapper.isForPrint()) {\n\t            return;\n\t        }\n\t        this.logger.log('ensureIndexVisible: ' + index);\n\t        var rowCount = this.paginationProxy.getTotalRowCount();\n\t        if (typeof index !== 'number' || index < 0 || index >= rowCount) {\n\t            console.warn('invalid row index for ensureIndexVisible: ' + index);\n\t            return;\n\t        }\n\t        this.paginationProxy.goToPageWithIndex(index);\n\t        var nodeAtIndex = this.paginationProxy.getRow(index);\n\t        var pixelOffset = this.paginationProxy.getPixelOffset();\n\t        var rowTopPixel = nodeAtIndex.rowTop - pixelOffset;\n\t        var rowBottomPixel = rowTopPixel + nodeAtIndex.rowHeight;\n\t        var vRange = this.getVerticalPixelRange();\n\t        var vRangeTop = vRange.top;\n\t        var vRangeBottom = vRange.bottom;\n\t        var scrollShowing = this.isHorizontalScrollShowing();\n\t        if (scrollShowing) {\n\t            vRangeBottom -= this.scrollWidth;\n\t        }\n\t        var viewportScrolledPastRow = vRangeTop > rowTopPixel;\n\t        var viewportScrolledBeforeRow = vRangeBottom < rowBottomPixel;\n\t        var eViewportToScroll = this.getPrimaryScrollViewport();\n\t        if (viewportScrolledPastRow) {\n\t            // if row is before, scroll up with row at top\n\t            eViewportToScroll.scrollTop = rowTopPixel;\n\t            this.rowRenderer.drawVirtualRowsWithLock();\n\t        }\n\t        else if (viewportScrolledBeforeRow) {\n\t            // if row is below, scroll down with row at bottom\n\t            var viewportHeight = vRangeBottom - vRangeTop;\n\t            var newScrollPosition = rowBottomPixel - viewportHeight;\n\t            eViewportToScroll.scrollTop = newScrollPosition;\n\t            this.rowRenderer.drawVirtualRowsWithLock();\n\t        }\n\t        // otherwise, row is already in view, so do nothing\n\t    };\n\t    GridPanel.prototype.getPrimaryScrollViewport = function () {\n\t        if (this.enableRtl && this.columnController.isPinningLeft()) {\n\t            return this.ePinnedLeftColsViewport;\n\t        }\n\t        else if (!this.enableRtl && this.columnController.isPinningRight()) {\n\t            return this.ePinnedRightColsViewport;\n\t        }\n\t        else {\n\t            return this.eBodyViewport;\n\t        }\n\t    };\n\t    // + moveColumnController\n\t    GridPanel.prototype.getCenterWidth = function () {\n\t        return this.eBodyViewport.clientWidth;\n\t    };\n\t    GridPanel.prototype.isHorizontalScrollShowing = function () {\n\t        var result = utils_1.Utils.isHorizontalScrollShowing(this.eBodyViewport);\n\t        return result;\n\t    };\n\t    GridPanel.prototype.isVerticalScrollShowing = function () {\n\t        if (this.columnController.isPinningRight()) {\n\t            return utils_1.Utils.isVerticalScrollShowing(this.ePinnedRightColsViewport);\n\t        }\n\t        else {\n\t            return utils_1.Utils.isVerticalScrollShowing(this.eBodyViewport);\n\t        }\n\t    };\n\t    GridPanel.prototype.isBodyVerticalScrollShowing = function () {\n\t        // if the scroll is on the pinned panel, then it is never in the center panel.\n\t        // if LRT, then pinning right means scroll NOT on center\n\t        if (!this.enableRtl && this.columnController.isPinningRight()) {\n\t            return false;\n\t        }\n\t        // if RTL, then pinning left means scroll NOT on center\n\t        if (this.enableRtl && this.columnController.isPinningLeft()) {\n\t            return false;\n\t        }\n\t        return utils_1.Utils.isVerticalScrollShowing(this.eBodyViewport);\n\t    };\n\t    // gets called every 500 ms. we use this to set padding on right pinned column\n\t    GridPanel.prototype.periodicallyCheck = function () {\n\t        if (this.forPrint) {\n\t            return;\n\t        }\n\t        this.setBottomPaddingOnPinnedRight();\n\t        this.setMarginOnFullWidthCellContainer();\n\t        this.setScrollShowing();\n\t    };\n\t    GridPanel.prototype.setScrollShowing = function () {\n\t        var params = {\n\t            vBody: false,\n\t            hBody: false,\n\t            vPinnedLeft: false,\n\t            vPinnedRight: false\n\t        };\n\t        if (this.enableRtl) {\n\t            if (this.columnController.isPinningLeft()) {\n\t                params.vPinnedLeft = this.forPrint ? false : utils_1.Utils.isVerticalScrollShowing(this.ePinnedLeftColsViewport);\n\t            }\n\t            else {\n\t                params.vBody = utils_1.Utils.isVerticalScrollShowing(this.eBodyViewport);\n\t            }\n\t        }\n\t        else {\n\t            if (this.columnController.isPinningRight()) {\n\t                params.vPinnedRight = this.forPrint ? false : utils_1.Utils.isVerticalScrollShowing(this.ePinnedRightColsViewport);\n\t            }\n\t            else {\n\t                params.vBody = utils_1.Utils.isVerticalScrollShowing(this.eBodyViewport);\n\t            }\n\t        }\n\t        params.hBody = utils_1.Utils.isHorizontalScrollShowing(this.eBodyViewport);\n\t        this.scrollVisibleService.setScrollsVisible(params);\n\t    };\n\t    // the pinned container needs extra space at the bottom, some blank space, otherwise when\n\t    // vertically scrolled all the way down, the last row will be hidden behind the scrolls.\n\t    // this extra padding allows the last row to be lifted above the bottom scrollbar.\n\t    GridPanel.prototype.setBottomPaddingOnPinnedRight = function () {\n\t        if (this.forPrint) {\n\t            return;\n\t        }\n\t        if (this.columnController.isPinningRight()) {\n\t            var bodyHorizontalScrollShowing = this.eBodyViewport.clientWidth < this.eBodyViewport.scrollWidth;\n\t            if (bodyHorizontalScrollShowing) {\n\t                this.ePinnedRightColsContainer.style.marginBottom = this.scrollWidth + 'px';\n\t            }\n\t            else {\n\t                this.ePinnedRightColsContainer.style.marginBottom = '';\n\t            }\n\t        }\n\t    };\n\t    GridPanel.prototype.setMarginOnFullWidthCellContainer = function () {\n\t        if (this.forPrint) {\n\t            return;\n\t        }\n\t        // if either right or bottom scrollbars are showing, we need to make sure the\n\t        // fullWidthCell panel isn't covering the scrollbars. originally i tried to do this using\n\t        // margin, but the overflow was not getting clipped and going into the margin,\n\t        // so used border instead. dunno why it works, trial and error found the solution.\n\t        if (this.enableRtl) {\n\t            if (this.isVerticalScrollShowing()) {\n\t                this.eFullWidthCellViewport.style.borderLeft = this.scrollWidth + 'px solid transparent';\n\t            }\n\t            else {\n\t                this.eFullWidthCellViewport.style.borderLeft = '';\n\t            }\n\t        }\n\t        else {\n\t            if (this.isVerticalScrollShowing()) {\n\t                this.eFullWidthCellViewport.style.borderRight = this.scrollWidth + 'px solid transparent';\n\t            }\n\t            else {\n\t                this.eFullWidthCellViewport.style.borderRight = '';\n\t            }\n\t        }\n\t        if (this.isHorizontalScrollShowing()) {\n\t            this.eFullWidthCellViewport.style.borderBottom = this.scrollWidth + 'px solid transparent';\n\t        }\n\t        else {\n\t            this.eFullWidthCellViewport.style.borderBottom = '';\n\t        }\n\t    };\n\t    GridPanel.prototype.ensureColumnVisible = function (key) {\n\t        // if for print, everything is always visible\n\t        if (this.gridOptionsWrapper.isForPrint()) {\n\t            return;\n\t        }\n\t        var column = this.columnController.getGridColumn(key);\n\t        if (!column) {\n\t            return;\n\t        }\n\t        if (column.isPinned()) {\n\t            console.warn('calling ensureIndexVisible on a ' + column.getPinned() + ' pinned column doesn\\'t make sense for column ' + column.getColId());\n\t            return;\n\t        }\n\t        if (!this.columnController.isColumnDisplayed(column)) {\n\t            console.warn('column is not currently visible');\n\t            return;\n\t        }\n\t        var colLeftPixel = column.getLeft();\n\t        var colRightPixel = colLeftPixel + column.getActualWidth();\n\t        var viewportWidth = this.eBodyViewport.clientWidth;\n\t        var scrollPosition = this.getBodyViewportScrollLeft();\n\t        var bodyWidth = this.columnController.getBodyContainerWidth();\n\t        var viewportLeftPixel;\n\t        var viewportRightPixel;\n\t        // the logic of working out left and right viewport px is both here and in the ColumnController,\n\t        // need to refactor it out to one place\n\t        if (this.enableRtl) {\n\t            viewportLeftPixel = bodyWidth - scrollPosition - viewportWidth;\n\t            viewportRightPixel = bodyWidth - scrollPosition;\n\t        }\n\t        else {\n\t            viewportLeftPixel = scrollPosition;\n\t            viewportRightPixel = viewportWidth + scrollPosition;\n\t        }\n\t        var viewportScrolledPastCol = viewportLeftPixel > colLeftPixel;\n\t        var viewportScrolledBeforeCol = viewportRightPixel < colRightPixel;\n\t        if (viewportScrolledPastCol) {\n\t            // if viewport's left side is after col's left side, scroll right to pull col into viewport at left\n\t            if (this.enableRtl) {\n\t                var newScrollPosition = bodyWidth - viewportWidth - colLeftPixel;\n\t                this.setBodyViewportScrollLeft(newScrollPosition);\n\t            }\n\t            else {\n\t                this.setBodyViewportScrollLeft(colLeftPixel);\n\t            }\n\t        }\n\t        else if (viewportScrolledBeforeCol) {\n\t            // if viewport's right side is before col's right side, scroll left to pull col into viewport at right\n\t            if (this.enableRtl) {\n\t                var newScrollPosition = bodyWidth - colRightPixel;\n\t                this.setBodyViewportScrollLeft(newScrollPosition);\n\t            }\n\t            else {\n\t                var newScrollPosition = colRightPixel - viewportWidth;\n\t                this.setBodyViewportScrollLeft(newScrollPosition);\n\t            }\n\t        }\n\t        else {\n\t            // otherwise, col is already in view, so do nothing\n\t        }\n\t        // this will happen anyway, as the move will cause a 'scroll' event on the body, however\n\t        // it is possible that the ensureColumnVisible method is called from within ag-Grid and\n\t        // the caller will need to have the columns rendered to continue, which will be before\n\t        // the event has been worked on (which is the case for cell navigation).\n\t        this.setLeftAndRightBounds();\n\t    };\n\t    GridPanel.prototype.showLoadingOverlay = function () {\n\t        if (!this.gridOptionsWrapper.isSuppressLoadingOverlay()) {\n\t            this.layout.showOverlay('loading');\n\t        }\n\t    };\n\t    GridPanel.prototype.showNoRowsOverlay = function () {\n\t        if (!this.gridOptionsWrapper.isSuppressNoRowsOverlay()) {\n\t            this.layout.showOverlay('noRows');\n\t        }\n\t    };\n\t    GridPanel.prototype.hideOverlay = function () {\n\t        this.layout.hideOverlay();\n\t    };\n\t    GridPanel.prototype.getWidthForSizeColsToFit = function () {\n\t        var availableWidth = this.eBody.clientWidth;\n\t        // if pinning right, then the scroll bar can show, however for some reason\n\t        // it overlays the grid and doesn't take space. so we are only interested\n\t        // in the body scroll showing.\n\t        var removeVerticalScrollWidth = this.isVerticalScrollShowing();\n\t        if (removeVerticalScrollWidth) {\n\t            availableWidth -= this.scrollWidth;\n\t        }\n\t        return availableWidth;\n\t    };\n\t    // method will call itself if no available width. this covers if the grid\n\t    // isn't visible, but is just about to be visible.\n\t    GridPanel.prototype.sizeColumnsToFit = function (nextTimeout) {\n\t        var _this = this;\n\t        var availableWidth = this.getWidthForSizeColsToFit();\n\t        if (availableWidth > 0) {\n\t            this.columnController.sizeColumnsToFit(availableWidth);\n\t        }\n\t        else {\n\t            if (nextTimeout === undefined) {\n\t                setTimeout(function () {\n\t                    _this.sizeColumnsToFit(100);\n\t                }, 0);\n\t            }\n\t            else if (nextTimeout === 100) {\n\t                setTimeout(function () {\n\t                    _this.sizeColumnsToFit(-1);\n\t                }, 100);\n\t            }\n\t            else {\n\t                console.log('ag-Grid: tried to call sizeColumnsToFit() but the grid is coming back with ' +\n\t                    'zero width, maybe the grid is not visible yet on the screen?');\n\t            }\n\t        }\n\t    };\n\t    GridPanel.prototype.getBodyContainer = function () {\n\t        return this.eBodyContainer;\n\t    };\n\t    GridPanel.prototype.getDropTargetBodyContainers = function () {\n\t        if (this.forPrint) {\n\t            return [this.eBodyContainer, this.eFloatingTopContainer, this.eFloatingBottomContainer];\n\t        }\n\t        else {\n\t            return [this.eBodyViewport, this.eFloatingTopViewport, this.eFloatingBottomViewport];\n\t        }\n\t    };\n\t    GridPanel.prototype.getBodyViewport = function () {\n\t        return this.eBodyViewport;\n\t    };\n\t    GridPanel.prototype.getDropTargetLeftContainers = function () {\n\t        if (this.forPrint) {\n\t            return [];\n\t        }\n\t        else {\n\t            return [this.ePinnedLeftColsViewport, this.ePinnedLeftFloatingBottom, this.ePinnedLeftFloatingTop];\n\t        }\n\t    };\n\t    GridPanel.prototype.getDropTargetPinnedRightContainers = function () {\n\t        if (this.forPrint) {\n\t            return [];\n\t        }\n\t        else {\n\t            return [this.ePinnedRightColsViewport, this.ePinnedRightFloatingBottom, this.ePinnedRightFloatingTop];\n\t        }\n\t    };\n\t    GridPanel.prototype.getHeaderContainer = function () {\n\t        return this.eHeaderContainer;\n\t    };\n\t    GridPanel.prototype.getHeaderOverlay = function () {\n\t        return this.eHeaderOverlay;\n\t    };\n\t    GridPanel.prototype.getRoot = function () {\n\t        return this.eRoot;\n\t    };\n\t    GridPanel.prototype.getPinnedLeftHeader = function () {\n\t        return this.ePinnedLeftHeader;\n\t    };\n\t    GridPanel.prototype.getPinnedRightHeader = function () {\n\t        return this.ePinnedRightHeader;\n\t    };\n\t    GridPanel.prototype.queryHtmlElement = function (selector) {\n\t        return this.eRoot.querySelector(selector);\n\t    };\n\t    GridPanel.prototype.loadTemplate = function () {\n\t        // the template we use is different when doing 'for print'\n\t        var template = this.forPrint ? gridForPrintHtml : gridHtml;\n\t        this.eRoot = utils_1.Utils.loadTemplate(template);\n\t        // parts of the CSS need to know if we are in 'for print' mode or not,\n\t        // so we add a class to allow applying CSS based on this.\n\t        var scrollClass = this.forPrint ? 'ag-no-scrolls' : 'ag-scrolls';\n\t        utils_1.Utils.addCssClass(this.eRoot, scrollClass);\n\t    };\n\t    GridPanel.prototype.findElements = function () {\n\t        if (this.forPrint) {\n\t            this.eHeaderContainer = this.queryHtmlElement('.ag-header-container');\n\t            this.eBodyContainer = this.queryHtmlElement('.ag-body-container');\n\t            this.eFloatingTopContainer = this.queryHtmlElement('.ag-floating-top-container');\n\t            this.eFloatingBottomContainer = this.queryHtmlElement('.ag-floating-bottom-container');\n\t            this.eAllCellContainers = [this.eBodyContainer, this.eFloatingTopContainer, this.eFloatingBottomContainer];\n\t            var containers = {\n\t                body: new rowContainerComponent_1.RowContainerComponent({ eContainer: this.eBodyContainer, useDocumentFragment: true }),\n\t                fullWidth: null,\n\t                pinnedLeft: null,\n\t                pinnedRight: null,\n\t                floatingTop: new rowContainerComponent_1.RowContainerComponent({ eContainer: this.eFloatingTopContainer }),\n\t                floatingTopPinnedLeft: null,\n\t                floatingTopPinnedRight: null,\n\t                floatingTopFullWidth: null,\n\t                floatingBottom: new rowContainerComponent_1.RowContainerComponent({ eContainer: this.eFloatingBottomContainer }),\n\t                floatingBottomPinnedLeft: null,\n\t                floatingBottomPinnedRight: null,\n\t                floatingBottomFullWith: null\n\t            };\n\t            this.rowContainerComponents = containers;\n\t            // when doing forPrint, we don't have any fullWidth containers, instead we add directly to the main\n\t            // containers. this works in forPrint only as there are no pinned columns (no need for fullWidth to\n\t            // span pinned columns) and the rows are already the full width of the grid (the reason for fullWidth)\n\t            containers.fullWidth = containers.body;\n\t            containers.floatingBottomFullWith = containers.floatingBottom;\n\t            containers.floatingTopFullWidth = containers.floatingTop;\n\t        }\n\t        else {\n\t            this.eBody = this.queryHtmlElement('.ag-body');\n\t            this.eBodyContainer = this.queryHtmlElement('.ag-body-container');\n\t            this.eBodyViewport = this.queryHtmlElement('.ag-body-viewport');\n\t            this.eBodyViewportWrapper = this.queryHtmlElement('.ag-body-viewport-wrapper');\n\t            this.eFullWidthCellContainer = this.queryHtmlElement('.ag-full-width-container');\n\t            this.eFullWidthCellViewport = this.queryHtmlElement('.ag-full-width-viewport');\n\t            this.ePinnedLeftColsContainer = this.queryHtmlElement('.ag-pinned-left-cols-container');\n\t            this.ePinnedRightColsContainer = this.queryHtmlElement('.ag-pinned-right-cols-container');\n\t            this.ePinnedLeftColsViewport = this.queryHtmlElement('.ag-pinned-left-cols-viewport');\n\t            this.ePinnedRightColsViewport = this.queryHtmlElement('.ag-pinned-right-cols-viewport');\n\t            this.ePinnedLeftHeader = this.queryHtmlElement('.ag-pinned-left-header');\n\t            this.ePinnedRightHeader = this.queryHtmlElement('.ag-pinned-right-header');\n\t            this.eHeader = this.queryHtmlElement('.ag-header');\n\t            this.eHeaderContainer = this.queryHtmlElement('.ag-header-container');\n\t            this.eHeaderOverlay = this.queryHtmlElement('.ag-header-overlay');\n\t            this.eHeaderViewport = this.queryHtmlElement('.ag-header-viewport');\n\t            this.eFloatingTop = this.queryHtmlElement('.ag-floating-top');\n\t            this.ePinnedLeftFloatingTop = this.queryHtmlElement('.ag-pinned-left-floating-top');\n\t            this.ePinnedRightFloatingTop = this.queryHtmlElement('.ag-pinned-right-floating-top');\n\t            this.eFloatingTopContainer = this.queryHtmlElement('.ag-floating-top-container');\n\t            this.eFloatingTopViewport = this.queryHtmlElement('.ag-floating-top-viewport');\n\t            this.eFloatingTopFullWidthCellContainer = this.queryHtmlElement('.ag-floating-top-full-width-container');\n\t            this.eFloatingBottom = this.queryHtmlElement('.ag-floating-bottom');\n\t            this.ePinnedLeftFloatingBottom = this.queryHtmlElement('.ag-pinned-left-floating-bottom');\n\t            this.ePinnedRightFloatingBottom = this.queryHtmlElement('.ag-pinned-right-floating-bottom');\n\t            this.eFloatingBottomContainer = this.queryHtmlElement('.ag-floating-bottom-container');\n\t            this.eFloatingBottomViewport = this.queryHtmlElement('.ag-floating-bottom-viewport');\n\t            this.eFloatingBottomFullWidthCellContainer = this.queryHtmlElement('.ag-floating-bottom-full-width-container');\n\t            this.eAllCellContainers = [\n\t                this.ePinnedLeftColsContainer, this.ePinnedRightColsContainer, this.eBodyContainer,\n\t                this.eFloatingTop, this.eFloatingBottom, this.eFullWidthCellContainer\n\t            ];\n\t            this.rowContainerComponents = {\n\t                body: new rowContainerComponent_1.RowContainerComponent({ eContainer: this.eBodyContainer, eViewport: this.eBodyViewport, useDocumentFragment: true }),\n\t                fullWidth: new rowContainerComponent_1.RowContainerComponent({ eContainer: this.eFullWidthCellContainer, hideWhenNoChildren: true, eViewport: this.eFullWidthCellViewport }),\n\t                pinnedLeft: new rowContainerComponent_1.RowContainerComponent({ eContainer: this.ePinnedLeftColsContainer, eViewport: this.ePinnedLeftColsViewport, useDocumentFragment: true }),\n\t                pinnedRight: new rowContainerComponent_1.RowContainerComponent({ eContainer: this.ePinnedRightColsContainer, eViewport: this.ePinnedRightColsViewport, useDocumentFragment: true }),\n\t                floatingTop: new rowContainerComponent_1.RowContainerComponent({ eContainer: this.eFloatingTopContainer }),\n\t                floatingTopPinnedLeft: new rowContainerComponent_1.RowContainerComponent({ eContainer: this.ePinnedLeftFloatingTop }),\n\t                floatingTopPinnedRight: new rowContainerComponent_1.RowContainerComponent({ eContainer: this.ePinnedRightFloatingTop }),\n\t                floatingTopFullWidth: new rowContainerComponent_1.RowContainerComponent({ eContainer: this.eFloatingTopFullWidthCellContainer, hideWhenNoChildren: true }),\n\t                floatingBottom: new rowContainerComponent_1.RowContainerComponent({ eContainer: this.eFloatingBottomContainer }),\n\t                floatingBottomPinnedLeft: new rowContainerComponent_1.RowContainerComponent({ eContainer: this.ePinnedLeftFloatingBottom }),\n\t                floatingBottomPinnedRight: new rowContainerComponent_1.RowContainerComponent({ eContainer: this.ePinnedRightFloatingBottom }),\n\t                floatingBottomFullWith: new rowContainerComponent_1.RowContainerComponent({ eContainer: this.eFloatingBottomFullWidthCellContainer, hideWhenNoChildren: true }),\n\t            };\n\t            this.addMouseWheelEventListeners();\n\t        }\n\t    };\n\t    GridPanel.prototype.getRowContainers = function () {\n\t        return this.rowContainerComponents;\n\t    };\n\t    GridPanel.prototype.addMouseWheelEventListeners = function () {\n\t        // IE9, Chrome, Safari, Opera use 'mousewheel', Firefox uses 'DOMMouseScroll'\n\t        this.addDestroyableEventListener(this.eBodyViewport, 'mousewheel', this.centerMouseWheelListener.bind(this));\n\t        this.addDestroyableEventListener(this.eBodyViewport, 'DOMMouseScroll', this.centerMouseWheelListener.bind(this));\n\t        if (this.enableRtl) {\n\t            this.addDestroyableEventListener(this.ePinnedRightColsViewport, 'mousewheel', this.genericMouseWheelListener.bind(this));\n\t            this.addDestroyableEventListener(this.ePinnedRightColsViewport, 'DOMMouseScroll', this.genericMouseWheelListener.bind(this));\n\t        }\n\t        else {\n\t            this.addDestroyableEventListener(this.ePinnedLeftColsViewport, 'mousewheel', this.genericMouseWheelListener.bind(this));\n\t            this.addDestroyableEventListener(this.ePinnedLeftColsViewport, 'DOMMouseScroll', this.genericMouseWheelListener.bind(this));\n\t        }\n\t    };\n\t    GridPanel.prototype.getHeaderViewport = function () {\n\t        return this.eHeaderViewport;\n\t    };\n\t    GridPanel.prototype.centerMouseWheelListener = function (event) {\n\t        // we are only interested in mimicking the mouse wheel if we are not scrolling on the middle,\n\t        // otherwise the body has scrolls and the mouse wheel works for free\n\t        var bodyVScrollShowing = this.isBodyVerticalScrollActive();\n\t        if (!bodyVScrollShowing) {\n\t            var targetPanel = this.enableRtl ? this.ePinnedLeftColsViewport : this.ePinnedRightColsViewport;\n\t            return this.generalMouseWheelListener(event, targetPanel);\n\t        }\n\t    };\n\t    // used for listening to mouse wheel events on 1) left pinned and also the 2) fullWidthCell components.\n\t    // the fullWidthCell listener is added in renderedRow, hence public.\n\t    GridPanel.prototype.genericMouseWheelListener = function (event) {\n\t        var targetPanel;\n\t        var bodyVScrollActive = this.isBodyVerticalScrollActive();\n\t        if (bodyVScrollActive) {\n\t            targetPanel = this.eBodyViewport;\n\t        }\n\t        else {\n\t            targetPanel = this.enableRtl ? this.ePinnedLeftColsViewport : this.ePinnedRightColsViewport;\n\t        }\n\t        return this.generalMouseWheelListener(event, targetPanel);\n\t    };\n\t    GridPanel.prototype.generalMouseWheelListener = function (event, targetPanel) {\n\t        var wheelEvent = utils_1.Utils.normalizeWheel(event);\n\t        // we need to detect in which direction scroll is happening to allow trackpads scroll horizontally\n\t        // horizontal scroll\n\t        if (Math.abs(wheelEvent.pixelX) > Math.abs(wheelEvent.pixelY)) {\n\t            var newLeftPosition = this.eBodyViewport.scrollLeft + wheelEvent.pixelX;\n\t            this.eBodyViewport.scrollLeft = newLeftPosition;\n\t        }\n\t        else {\n\t            var newTopPosition = targetPanel.scrollTop + wheelEvent.pixelY;\n\t            targetPanel.scrollTop = newTopPosition;\n\t        }\n\t        // allow the option to pass mouse wheel events to the browser\n\t        // https://github.com/ceolter/ag-grid/issues/800\n\t        // in the future, this should be tied in with 'forPrint' option, or have an option 'no vertical scrolls'\n\t        if (!this.gridOptionsWrapper.isSuppressPreventDefaultOnMouseWheel()) {\n\t            // if we don't prevent default, then the whole browser will scroll also as well as the grid\n\t            event.preventDefault();\n\t        }\n\t        return false;\n\t    };\n\t    GridPanel.prototype.onDisplayedColumnsChanged = function () {\n\t        this.setPinnedContainersVisible();\n\t        this.setBodyAndHeaderHeights();\n\t        this.setLeftAndRightBounds();\n\t    };\n\t    GridPanel.prototype.onDisplayedColumnsWidthChanged = function () {\n\t        this.setWidthsOfContainers();\n\t        this.setLeftAndRightBounds();\n\t        if (this.enableRtl) {\n\t            // because RTL is all backwards, a change in the width of the row\n\t            // can cause a change in the scroll position, without a scroll event,\n\t            // because the scroll position in RTL is a function that depends on\n\t            // the width. to be convinced of this, take out this line, enable RTL,\n\t            // scroll all the way to the left and then resize a column\n\t            this.horizontallyScrollHeaderCenterAndFloatingCenter();\n\t        }\n\t    };\n\t    GridPanel.prototype.onScrollVisibilityChanged = function () {\n\t        this.setWidthsOfContainers();\n\t    };\n\t    GridPanel.prototype.setWidthsOfContainers = function () {\n\t        var mainRowWidth = this.columnController.getBodyContainerWidth() + 'px';\n\t        this.eBodyContainer.style.width = mainRowWidth;\n\t        if (this.forPrint) {\n\t            // pinned col doesn't exist when doing forPrint\n\t            return;\n\t        }\n\t        this.eFloatingBottomContainer.style.width = mainRowWidth;\n\t        this.eFloatingTopContainer.style.width = mainRowWidth;\n\t        this.setPinnedLeftWidth();\n\t        this.setPinnedRightWidth();\n\t    };\n\t    GridPanel.prototype.setPinnedLeftWidth = function () {\n\t        var pinnedLeftWidth = this.scrollVisibleService.getPinnedLeftWidth() + 'px';\n\t        var pinnedLeftWidthWithScroll = this.scrollVisibleService.getPinnedLeftWithScrollWidth() + 'px';\n\t        this.ePinnedLeftColsViewport.style.width = pinnedLeftWidthWithScroll;\n\t        this.eBodyViewportWrapper.style.marginLeft = pinnedLeftWidthWithScroll;\n\t        this.ePinnedLeftFloatingBottom.style.width = pinnedLeftWidthWithScroll;\n\t        this.ePinnedLeftFloatingTop.style.width = pinnedLeftWidthWithScroll;\n\t        this.ePinnedLeftColsContainer.style.width = pinnedLeftWidth;\n\t    };\n\t    GridPanel.prototype.setPinnedRightWidth = function () {\n\t        var pinnedRightWidth = this.scrollVisibleService.getPinnedRightWidth() + 'px';\n\t        var pinnedRightWidthWithScroll = this.scrollVisibleService.getPinnedRightWithScrollWidth() + 'px';\n\t        this.ePinnedRightColsViewport.style.width = pinnedRightWidthWithScroll;\n\t        this.eBodyViewportWrapper.style.marginRight = pinnedRightWidthWithScroll;\n\t        this.ePinnedRightFloatingBottom.style.width = pinnedRightWidthWithScroll;\n\t        this.ePinnedRightFloatingTop.style.width = pinnedRightWidthWithScroll;\n\t        this.ePinnedRightColsContainer.style.width = pinnedRightWidth;\n\t    };\n\t    GridPanel.prototype.setPinnedContainersVisible = function () {\n\t        // no need to do this if not using scrolls\n\t        if (this.forPrint) {\n\t            return;\n\t        }\n\t        var changeDetected = false;\n\t        var showLeftPinned = this.columnController.isPinningLeft();\n\t        if (showLeftPinned !== this.pinningLeft) {\n\t            this.pinningLeft = showLeftPinned;\n\t            this.ePinnedLeftHeader.style.display = showLeftPinned ? 'inline-block' : 'none';\n\t            this.ePinnedLeftColsViewport.style.display = showLeftPinned ? 'inline' : 'none';\n\t            changeDetected = true;\n\t        }\n\t        var showRightPinned = this.columnController.isPinningRight();\n\t        if (showRightPinned !== this.pinningRight) {\n\t            this.pinningRight = showRightPinned;\n\t            this.ePinnedRightHeader.style.display = showRightPinned ? 'inline-block' : 'none';\n\t            this.ePinnedRightColsViewport.style.display = showRightPinned ? 'inline' : 'none';\n\t            changeDetected = true;\n\t        }\n\t        if (changeDetected) {\n\t            var bodyVScrollActive = this.isBodyVerticalScrollActive();\n\t            this.eBodyViewport.style.overflowY = bodyVScrollActive ? 'auto' : 'hidden';\n\t            // if we are v scrolling, then one of these will have the scroll position\n\t            var scrollTop = Math.max(this.eBodyViewport.scrollTop, this.ePinnedLeftColsViewport.scrollTop, this.ePinnedRightColsViewport.scrollTop);\n\t            // the body either uses it's scroll (when scrolling) or it's style.top\n\t            // (when following the scroll of a pinned section), so we need to set it\n\t            // back when changing from one to the other\n\t            if (bodyVScrollActive) {\n\t                this.eBodyContainer.style.top = '0px';\n\t            }\n\t            else {\n\t                this.eBodyViewport.scrollTop = 0;\n\t            }\n\t            // when changing the primary scroll viewport, we copy over the scroll position,\n\t            // eg if body was getting scrolled and we were at position 100px, then we start\n\t            // pinning and pinned viewport is now the primary, we need to set it to 100px\n\t            var primaryScrollViewport = this.getPrimaryScrollViewport();\n\t            primaryScrollViewport.scrollTop = scrollTop;\n\t            // this adjusts the scroll position of all the faking panels. they should already\n\t            // be correct except body which has potentially just turned to be fake.\n\t            this.fakeVerticalScroll(scrollTop);\n\t        }\n\t    };\n\t    // init, layoutChanged, floatingDataChanged, headerHeightChanged\n\t    GridPanel.prototype.setBodyAndHeaderHeights = function () {\n\t        if (this.forPrint) {\n\t            // if doing 'for print', then the header and footers are laid\n\t            // out naturally by the browser. it whatever size that's needed to fit.\n\t            return;\n\t        }\n\t        var heightOfContainer = this.layout.getCentreHeight();\n\t        if (!heightOfContainer) {\n\t            return;\n\t        }\n\t        var headerHeight = this.gridOptionsWrapper.getHeaderHeight();\n\t        var numberOfRowsInHeader = this.columnController.getHeaderRowCount();\n\t        var totalHeaderHeight = headerHeight * numberOfRowsInHeader;\n\t        var floatingFilterActive = this.gridOptionsWrapper.isFloatingFilter() && !this.columnController.isPivotMode();\n\t        if (floatingFilterActive) {\n\t            totalHeaderHeight += 20;\n\t        }\n\t        this.eHeader.style['height'] = totalHeaderHeight + 'px';\n\t        // padding top covers the header and the floating rows on top\n\t        var floatingTopHeight = this.floatingRowModel.getFloatingTopTotalHeight();\n\t        var paddingTop = totalHeaderHeight + floatingTopHeight;\n\t        // bottom is just the bottom floating rows\n\t        var floatingBottomHeight = this.floatingRowModel.getFloatingBottomTotalHeight();\n\t        var floatingBottomTop = heightOfContainer - floatingBottomHeight;\n\t        var bodyHeight = heightOfContainer - totalHeaderHeight - floatingBottomHeight - floatingTopHeight;\n\t        this.eBody.style.top = paddingTop + 'px';\n\t        this.eBody.style.height = bodyHeight + 'px';\n\t        this.eFloatingTop.style.top = totalHeaderHeight + 'px';\n\t        this.eFloatingTop.style.height = floatingTopHeight + 'px';\n\t        this.eFloatingBottom.style.height = floatingBottomHeight + 'px';\n\t        this.eFloatingBottom.style.top = floatingBottomTop + 'px';\n\t        this.ePinnedLeftColsViewport.style.height = bodyHeight + 'px';\n\t        this.ePinnedRightColsViewport.style.height = bodyHeight + 'px';\n\t        // bodyHeight property is used by pagination service, that may change number of rows\n\t        // in this page based on the height of the grid\n\t        if (this.bodyHeight !== bodyHeight) {\n\t            this.bodyHeight = bodyHeight;\n\t            this.eventService.dispatchEvent(events_1.Events.EVENT_BODY_HEIGHT_CHANGED);\n\t        }\n\t    };\n\t    GridPanel.prototype.getBodyHeight = function () {\n\t        return this.bodyHeight;\n\t    };\n\t    GridPanel.prototype.setHorizontalScrollPosition = function (hScrollPosition) {\n\t        this.eBodyViewport.scrollLeft = hScrollPosition;\n\t    };\n\t    // tries to scroll by pixels, but returns what the result actually was\n\t    GridPanel.prototype.scrollHorizontally = function (pixels) {\n\t        var oldScrollPosition = this.eBodyViewport.scrollLeft;\n\t        this.setHorizontalScrollPosition(oldScrollPosition + pixels);\n\t        var newScrollPosition = this.eBodyViewport.scrollLeft;\n\t        return newScrollPosition - oldScrollPosition;\n\t    };\n\t    GridPanel.prototype.addScrollListener = function () {\n\t        var _this = this;\n\t        // if printing, then no scrolling, so no point in listening for scroll events\n\t        if (this.forPrint) {\n\t            return;\n\t        }\n\t        var wrapWithDebounce = function (func) {\n\t            if (_this.useScrollLag) {\n\t                return _this.debounce.bind(_this, func);\n\t            }\n\t            else {\n\t                return func;\n\t            }\n\t        };\n\t        var bodyScrollListener = wrapWithDebounce(this.onBodyScroll.bind(this));\n\t        this.addDestroyableEventListener(this.eBodyViewport, 'scroll', bodyScrollListener);\n\t        // below we add two things:\n\t        // pinnedScrollListener -> when pinned panel with scrollbar gets scrolled, it updates body and other pinned\n\t        // suppressScroll -> stops scrolling when pinned panel was moved - which can only happen when user is navigating\n\t        //     in the pinned container, as the pinned col should never scroll. so we rollback the scroll on the pinned.\n\t        var onPinnedLeftVerticalScroll = this.onVerticalScroll.bind(this, this.ePinnedLeftColsViewport);\n\t        var onPinnedRightVerticalScroll = this.onVerticalScroll.bind(this, this.ePinnedRightColsViewport);\n\t        if (this.enableRtl) {\n\t            var pinnedScrollListener = wrapWithDebounce(onPinnedLeftVerticalScroll);\n\t            this.addDestroyableEventListener(this.ePinnedLeftColsViewport, 'scroll', pinnedScrollListener);\n\t            var suppressRightScroll = function () { return _this.ePinnedRightColsViewport.scrollTop = 0; };\n\t            this.addDestroyableEventListener(this.ePinnedRightColsViewport, 'scroll', suppressRightScroll);\n\t        }\n\t        else {\n\t            var pinnedScrollListener = wrapWithDebounce(onPinnedRightVerticalScroll);\n\t            this.addDestroyableEventListener(this.ePinnedRightColsViewport, 'scroll', pinnedScrollListener);\n\t            var suppressLeftScroll = function () { return _this.ePinnedLeftColsViewport.scrollTop = 0; };\n\t            this.addDestroyableEventListener(this.ePinnedLeftColsViewport, 'scroll', suppressLeftScroll);\n\t        }\n\t        var suppressCenterScroll = function () {\n\t            if (_this.getPrimaryScrollViewport() !== _this.eBodyViewport) {\n\t                _this.eBodyViewport.scrollTop = 0;\n\t            }\n\t        };\n\t        this.addDestroyableEventListener(this.eBodyViewport, 'scroll', suppressCenterScroll);\n\t        this.addIEPinFix(onPinnedRightVerticalScroll, onPinnedLeftVerticalScroll);\n\t    };\n\t    GridPanel.prototype.onBodyScroll = function () {\n\t        this.onBodyHorizontalScroll();\n\t        this.onBodyVerticalScroll();\n\t    };\n\t    GridPanel.prototype.onBodyHorizontalScroll = function () {\n\t        var newLeftPosition = this.eBodyViewport.scrollLeft;\n\t        if (newLeftPosition !== this.lastLeftPosition) {\n\t            this.eventService.dispatchEvent(events_1.Events.EVENT_BODY_SCROLL, { direction: 'horizontal' });\n\t            this.lastLeftPosition = newLeftPosition;\n\t            this.horizontallyScrollHeaderCenterAndFloatingCenter();\n\t            this.masterSlaveService.fireHorizontalScrollEvent(newLeftPosition);\n\t            this.setLeftAndRightBounds();\n\t        }\n\t    };\n\t    GridPanel.prototype.onBodyVerticalScroll = function () {\n\t        var bodyVScrollActive = this.isBodyVerticalScrollActive();\n\t        if (bodyVScrollActive) {\n\t            this.onVerticalScroll(this.eBodyViewport);\n\t        }\n\t    };\n\t    GridPanel.prototype.onVerticalScroll = function (sourceElement) {\n\t        var newTopPosition = sourceElement.scrollTop;\n\t        if (newTopPosition !== this.lastTopPosition) {\n\t            this.eventService.dispatchEvent(events_1.Events.EVENT_BODY_SCROLL, { direction: 'vertical' });\n\t            this.lastTopPosition = newTopPosition;\n\t            this.fakeVerticalScroll(newTopPosition);\n\t            this.rowRenderer.drawVirtualRowsWithLock();\n\t        }\n\t    };\n\t    // if LTR, we hide body scroll if pinning right (as scroll is in right pinned),\n\t    // if RTL, we hide body scroll if pinning left (as scroll is in left pinned)\n\t    GridPanel.prototype.isBodyVerticalScrollActive = function () {\n\t        var pinningRight = this.columnController.isPinningRight();\n\t        var pinningLeft = this.columnController.isPinningLeft();\n\t        var centerHasScroll = this.enableRtl ? !pinningLeft : !pinningRight;\n\t        return centerHasScroll;\n\t    };\n\t    // this bit is a fix / hack for IE due to this:\n\t    // https://www.ag-grid.com/forum/showthread.php?tid=4303\n\t    // it gets the left panel to reposition itself after a model change\n\t    GridPanel.prototype.addIEPinFix = function (onPinnedRightScroll, onPinnedLeftScroll) {\n\t        var _this = this;\n\t        var listener = function () {\n\t            if (_this.columnController.isPinningRight()) {\n\t                setTimeout(function () {\n\t                    if (_this.enableRtl) {\n\t                        onPinnedLeftScroll();\n\t                    }\n\t                    else {\n\t                        onPinnedRightScroll();\n\t                    }\n\t                }, 0);\n\t            }\n\t        };\n\t        this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_MODEL_UPDATED, listener);\n\t    };\n\t    // this gets called whenever a change in the viewport, so we can inform column controller it has to work\n\t    // out the virtual columns again. gets called from following locations:\n\t    // + ensureColVisible, scroll, init, layoutChanged, displayedColumnsChanged\n\t    GridPanel.prototype.setLeftAndRightBounds = function () {\n\t        if (this.gridOptionsWrapper.isForPrint()) {\n\t            return;\n\t        }\n\t        var scrollWidth = this.eBodyViewport.clientWidth;\n\t        var scrollPosition = this.getBodyViewportScrollLeft();\n\t        this.columnController.setVirtualViewportPosition(scrollWidth, scrollPosition);\n\t    };\n\t    GridPanel.prototype.isUseScrollLag = function () {\n\t        // if we are in IE or Safari, then we only redraw if there was no scroll event\n\t        // in the 50ms following this scroll event. without this, these browsers have\n\t        // a bad scrolling feel, where the redraws clog the scroll experience\n\t        // (makes the scroll clunky and sticky). this method is like throttling\n\t        // the scroll events.\n\t        // let the user override scroll lag option\n\t        if (this.gridOptionsWrapper.isSuppressScrollLag()) {\n\t            return false;\n\t        }\n\t        else if (this.gridOptionsWrapper.getIsScrollLag()) {\n\t            return this.gridOptionsWrapper.getIsScrollLag()();\n\t        }\n\t        else {\n\t            return utils_1.Utils.isBrowserIE() || utils_1.Utils.isBrowserSafari();\n\t        }\n\t    };\n\t    GridPanel.prototype.debounce = function (callback) {\n\t        var _this = this;\n\t        if (this.requestAnimationFrameExists && utils_1.Utils.isBrowserSafari()) {\n\t            if (!this.scrollLagTicking) {\n\t                this.scrollLagTicking = true;\n\t                requestAnimationFrame(function () {\n\t                    callback();\n\t                    _this.scrollLagTicking = false;\n\t                });\n\t            }\n\t        }\n\t        else {\n\t            this.scrollLagCounter++;\n\t            var scrollLagCounterCopy = this.scrollLagCounter;\n\t            setTimeout(function () {\n\t                if (_this.scrollLagCounter === scrollLagCounterCopy) {\n\t                    callback();\n\t                }\n\t            }, 50);\n\t        }\n\t    };\n\t    GridPanel.prototype.getBodyViewportScrollLeft = function () {\n\t        if (this.forPrint) {\n\t            return 0;\n\t        }\n\t        // we defer to a util, as how you calculated scrollLeft when doing RTL depends on the browser\n\t        return utils_1.Utils.getScrollLeft(this.eBodyViewport, this.enableRtl);\n\t    };\n\t    GridPanel.prototype.setBodyViewportScrollLeft = function (value) {\n\t        if (this.forPrint) {\n\t            return;\n\t        }\n\t        // we defer to a util, as how you calculated scrollLeft when doing RTL depends on the browser\n\t        utils_1.Utils.setScrollLeft(this.eBodyViewport, value, this.enableRtl);\n\t    };\n\t    GridPanel.prototype.horizontallyScrollHeaderCenterAndFloatingCenter = function () {\n\t        var scrollLeft = this.getBodyViewportScrollLeft();\n\t        var offset = this.enableRtl ? scrollLeft : -scrollLeft;\n\t        this.eHeaderContainer.style.left = offset + 'px';\n\t        this.eFloatingBottomContainer.style.left = offset + 'px';\n\t        this.eFloatingTopContainer.style.left = offset + 'px';\n\t    };\n\t    // we say fake scroll as only one panel (left, right or body) has scrolls,\n\t    // the other panels mimic the scroll by getting it's top position updated.\n\t    GridPanel.prototype.fakeVerticalScroll = function (position) {\n\t        if (this.enableRtl) {\n\t            // RTL\n\t            // if pinning left, then body scroll is faking\n\t            var pinningLeft = this.columnController.isPinningLeft();\n\t            if (pinningLeft) {\n\t                this.eBodyContainer.style.top = -position + 'px';\n\t            }\n\t            // right is always faking\n\t            this.ePinnedRightColsContainer.style.top = -position + 'px';\n\t        }\n\t        else {\n\t            // LTR\n\t            // if pinning right, then body scroll is faking\n\t            var pinningRight = this.columnController.isPinningRight();\n\t            if (pinningRight) {\n\t                this.eBodyContainer.style.top = -position + 'px';\n\t            }\n\t            // left is always faking\n\t            this.ePinnedLeftColsContainer.style.top = -position + 'px';\n\t        }\n\t        // always scroll fullWidth container, as this is never responsible for a scroll\n\t        this.eFullWidthCellContainer.style.top = -position + 'px';\n\t    };\n\t    GridPanel.prototype.addScrollEventListener = function (listener) {\n\t        this.eBodyViewport.addEventListener('scroll', listener);\n\t    };\n\t    GridPanel.prototype.removeScrollEventListener = function (listener) {\n\t        this.eBodyViewport.removeEventListener('scroll', listener);\n\t    };\n\t    return GridPanel;\n\t}(beanStub_1.BeanStub));\n\t__decorate([\n\t    context_1.Autowired('masterSlaveService'),\n\t    __metadata(\"design:type\", masterSlaveService_1.MasterSlaveService)\n\t], GridPanel.prototype, \"masterSlaveService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], GridPanel.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", columnController_1.ColumnController)\n\t], GridPanel.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('rowRenderer'),\n\t    __metadata(\"design:type\", rowRenderer_1.RowRenderer)\n\t], GridPanel.prototype, \"rowRenderer\", void 0);\n\t__decorate([\n\t    context_1.Autowired('floatingRowModel'),\n\t    __metadata(\"design:type\", floatingRowModel_1.FloatingRowModel)\n\t], GridPanel.prototype, \"floatingRowModel\", void 0);\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], GridPanel.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('paginationProxy'),\n\t    __metadata(\"design:type\", paginationProxy_1.PaginationProxy)\n\t], GridPanel.prototype, \"paginationProxy\", void 0);\n\t__decorate([\n\t    context_1.Optional('rangeController'),\n\t    __metadata(\"design:type\", Object)\n\t], GridPanel.prototype, \"rangeController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('dragService'),\n\t    __metadata(\"design:type\", dragService_1.DragService)\n\t], GridPanel.prototype, \"dragService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('selectionController'),\n\t    __metadata(\"design:type\", selectionController_1.SelectionController)\n\t], GridPanel.prototype, \"selectionController\", void 0);\n\t__decorate([\n\t    context_1.Optional('clipboardService'),\n\t    __metadata(\"design:type\", Object)\n\t], GridPanel.prototype, \"clipboardService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('csvCreator'),\n\t    __metadata(\"design:type\", csvCreator_1.CsvCreator)\n\t], GridPanel.prototype, \"csvCreator\", void 0);\n\t__decorate([\n\t    context_1.Autowired('mouseEventService'),\n\t    __metadata(\"design:type\", mouseEventService_1.MouseEventService)\n\t], GridPanel.prototype, \"mouseEventService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('focusedCellController'),\n\t    __metadata(\"design:type\", focusedCellController_1.FocusedCellController)\n\t], GridPanel.prototype, \"focusedCellController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('$scope'),\n\t    __metadata(\"design:type\", Object)\n\t], GridPanel.prototype, \"$scope\", void 0);\n\t__decorate([\n\t    context_1.Autowired('scrollVisibleService'),\n\t    __metadata(\"design:type\", scrollVisibleService_1.ScrollVisibleService)\n\t], GridPanel.prototype, \"scrollVisibleService\", void 0);\n\t__decorate([\n\t    context_1.Optional('contextMenuFactory'),\n\t    __metadata(\"design:type\", Object)\n\t], GridPanel.prototype, \"contextMenuFactory\", void 0);\n\t__decorate([\n\t    context_1.Autowired('frameworkFactory'),\n\t    __metadata(\"design:type\", Object)\n\t], GridPanel.prototype, \"frameworkFactory\", void 0);\n\t__decorate([\n\t    __param(0, context_1.Qualifier('loggerFactory')),\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", [logger_1.LoggerFactory]),\n\t    __metadata(\"design:returntype\", void 0)\n\t], GridPanel.prototype, \"agWire\", null);\n\t__decorate([\n\t    context_1.PreDestroy,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], GridPanel.prototype, \"destroy\", null);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], GridPanel.prototype, \"init\", null);\n\tGridPanel = __decorate([\n\t    context_1.Bean('gridPanel')\n\t], GridPanel);\n\texports.GridPanel = GridPanel;\n\tvar ScrollType;\n\t(function (ScrollType) {\n\t    ScrollType[ScrollType[\"HORIZONTAL\"] = 0] = \"HORIZONTAL\";\n\t    ScrollType[ScrollType[\"VERTICAL\"] = 1] = \"VERTICAL\";\n\t    ScrollType[ScrollType[\"DIAGONAL\"] = 2] = \"DIAGONAL\";\n\t})(ScrollType || (ScrollType = {}));\n\tfunction testKeyboardBindingGroups(keyboardBindingGroups, event) {\n\t    for (var i = 0; i < keyboardBindingGroups.length; i++) {\n\t        var keyboardBindingGroup = keyboardBindingGroups[i];\n\t        for (var j = 0; j < keyboardBindingGroup.bindings.length; j++) {\n\t            var keyboardBinding = keyboardBindingGroup.bindings[j];\n\t            if (testKeyboardBinding(keyboardBinding, event)) {\n\t                return {\n\t                    trappedKeyboardBinding: keyboardBinding,\n\t                    trappedKeyboardBindingGroup: keyboardBindingGroup\n\t                };\n\t            }\n\t        }\n\t    }\n\t    return null;\n\t}\n\tfunction testKeyboardBinding(keyboardBinding, event) {\n\t    var key = event.which || event.keyCode;\n\t    return (keyboardBinding.ctlRequired === event.ctrlKey) &&\n\t        (keyboardBinding.keyCode === key) &&\n\t        (keyboardBinding.altRequired === event.altKey);\n\t}\n\n\n/***/ }),\n/* 28 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar __param = (this && this.__param) || function (paramIndex, decorator) {\n\t    return function (target, key) { decorator(target, key, paramIndex); }\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar gridPanel_1 = __webpack_require__(27);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar logger_1 = __webpack_require__(7);\n\tvar events_1 = __webpack_require__(12);\n\tvar context_1 = __webpack_require__(8);\n\tvar context_2 = __webpack_require__(8);\n\tvar context_3 = __webpack_require__(8);\n\tvar context_4 = __webpack_require__(8);\n\tvar MasterSlaveService = (function () {\n\t    function MasterSlaveService() {\n\t        // flag to mark if we are consuming. to avoid cyclic events (ie slave firing back to master\n\t        // while processing a master event) we mark this if consuming an event, and if we are, then\n\t        // we don't fire back any events.\n\t        this.consuming = false;\n\t    }\n\t    MasterSlaveService.prototype.setBeans = function (loggerFactory) {\n\t        this.logger = loggerFactory.create('MasterSlaveService');\n\t    };\n\t    MasterSlaveService.prototype.init = function () {\n\t        this.eventService.addEventListener(events_1.Events.EVENT_COLUMN_MOVED, this.fireColumnEvent.bind(this));\n\t        this.eventService.addEventListener(events_1.Events.EVENT_COLUMN_VISIBLE, this.fireColumnEvent.bind(this));\n\t        this.eventService.addEventListener(events_1.Events.EVENT_COLUMN_PINNED, this.fireColumnEvent.bind(this));\n\t        this.eventService.addEventListener(events_1.Events.EVENT_COLUMN_GROUP_OPENED, this.fireColumnEvent.bind(this));\n\t        this.eventService.addEventListener(events_1.Events.EVENT_COLUMN_RESIZED, this.fireColumnEvent.bind(this));\n\t    };\n\t    // common logic across all the fire methods\n\t    MasterSlaveService.prototype.fireEvent = function (callback) {\n\t        // if we are already consuming, then we are acting on an event from a master,\n\t        // so we don't cause a cyclic firing of events\n\t        if (this.consuming) {\n\t            return;\n\t        }\n\t        // iterate through the slave grids, and pass each slave service to the callback\n\t        var slaveGrids = this.gridOptionsWrapper.getSlaveGrids();\n\t        if (slaveGrids) {\n\t            slaveGrids.forEach(function (slaveGridOptions) {\n\t                if (slaveGridOptions.api) {\n\t                    var slaveService = slaveGridOptions.api.__getMasterSlaveService();\n\t                    callback(slaveService);\n\t                }\n\t            });\n\t        }\n\t    };\n\t    // common logic across all consume methods. very little common logic, however extracting\n\t    // guarantees consistency across the methods.\n\t    MasterSlaveService.prototype.onEvent = function (callback) {\n\t        this.consuming = true;\n\t        callback();\n\t        this.consuming = false;\n\t    };\n\t    MasterSlaveService.prototype.fireColumnEvent = function (event) {\n\t        this.fireEvent(function (slaveService) {\n\t            slaveService.onColumnEvent(event);\n\t        });\n\t    };\n\t    MasterSlaveService.prototype.fireHorizontalScrollEvent = function (horizontalScroll) {\n\t        this.fireEvent(function (slaveService) {\n\t            slaveService.onScrollEvent(horizontalScroll);\n\t        });\n\t    };\n\t    MasterSlaveService.prototype.onScrollEvent = function (horizontalScroll) {\n\t        var _this = this;\n\t        this.onEvent(function () {\n\t            _this.gridPanel.setHorizontalScrollPosition(horizontalScroll);\n\t        });\n\t    };\n\t    MasterSlaveService.prototype.getMasterColumns = function (event) {\n\t        var result = [];\n\t        if (event.getColumn()) {\n\t            result.push(event.getColumn());\n\t        }\n\t        if (event.getColumns()) {\n\t            event.getColumns().forEach(function (column) {\n\t                result.push(column);\n\t            });\n\t        }\n\t        return result;\n\t    };\n\t    MasterSlaveService.prototype.getColumnIds = function (event) {\n\t        var result = [];\n\t        if (event.getColumn()) {\n\t            result.push(event.getColumn().getColId());\n\t        }\n\t        else if (event.getColumns()) {\n\t            event.getColumns().forEach(function (column) {\n\t                result.push(column.getColId());\n\t            });\n\t        }\n\t        return result;\n\t    };\n\t    MasterSlaveService.prototype.onColumnEvent = function (event) {\n\t        var _this = this;\n\t        this.onEvent(function () {\n\t            // the column in the event is from the master grid. need to\n\t            // look up the equivalent from this (slave) grid\n\t            var masterColumn = event.getColumn();\n\t            var slaveColumn;\n\t            if (masterColumn) {\n\t                slaveColumn = _this.columnController.getPrimaryColumn(masterColumn.getColId());\n\t            }\n\t            // if event was with respect to a master column, that is not present in this\n\t            // grid, then we ignore the event\n\t            if (masterColumn && !slaveColumn) {\n\t                return;\n\t            }\n\t            // likewise for column group\n\t            var masterColumnGroup = event.getColumnGroup();\n\t            var slaveColumnGroup;\n\t            if (masterColumnGroup) {\n\t                var colId = masterColumnGroup.getGroupId();\n\t                var instanceId = masterColumnGroup.getInstanceId();\n\t                slaveColumnGroup = _this.columnController.getColumnGroup(colId, instanceId);\n\t            }\n\t            if (masterColumnGroup && !slaveColumnGroup) {\n\t                return;\n\t            }\n\t            // in time, all the methods below should use the column ids, it's a more generic way\n\t            // of handling columns, and also allows for single or multi column events\n\t            var columnIds = _this.getColumnIds(event);\n\t            var masterColumns = _this.getMasterColumns(event);\n\t            switch (event.getType()) {\n\t                case events_1.Events.EVENT_COLUMN_PIVOT_CHANGED:\n\t                    // we cannot support pivoting with master / slave as the columns will be out of sync as the\n\t                    // grids will have columns created based on the row data of the grid.\n\t                    console.warn('ag-Grid: pivoting is not supported with Master / Slave grids. ' +\n\t                        'You can only use one of these features at a time in a grid.');\n\t                    break;\n\t                case events_1.Events.EVENT_COLUMN_MOVED:\n\t                    _this.logger.log('onColumnEvent-> processing ' + event + ' toIndex = ' + event.getToIndex());\n\t                    _this.columnController.moveColumns(columnIds, event.getToIndex());\n\t                    break;\n\t                case events_1.Events.EVENT_COLUMN_VISIBLE:\n\t                    _this.logger.log('onColumnEvent-> processing ' + event + ' visible = ' + event.isVisible());\n\t                    _this.columnController.setColumnsVisible(columnIds, event.isVisible());\n\t                    break;\n\t                case events_1.Events.EVENT_COLUMN_PINNED:\n\t                    _this.logger.log('onColumnEvent-> processing ' + event + ' pinned = ' + event.getPinned());\n\t                    _this.columnController.setColumnsPinned(columnIds, event.getPinned());\n\t                    break;\n\t                case events_1.Events.EVENT_COLUMN_GROUP_OPENED:\n\t                    _this.logger.log('onColumnEvent-> processing ' + event + ' expanded = ' + masterColumnGroup.isExpanded());\n\t                    _this.columnController.setColumnGroupOpened(slaveColumnGroup, masterColumnGroup.isExpanded());\n\t                    break;\n\t                case events_1.Events.EVENT_COLUMN_RESIZED:\n\t                    masterColumns.forEach(function (masterColumn) {\n\t                        _this.logger.log('onColumnEvent-> processing ' + event + ' actualWidth = ' + masterColumn.getActualWidth());\n\t                        _this.columnController.setColumnWidth(masterColumn.getColId(), masterColumn.getActualWidth(), event.isFinished());\n\t                    });\n\t                    break;\n\t            }\n\t        });\n\t    };\n\t    return MasterSlaveService;\n\t}());\n\t__decorate([\n\t    context_3.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], MasterSlaveService.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_3.Autowired('columnController'),\n\t    __metadata(\"design:type\", columnController_1.ColumnController)\n\t], MasterSlaveService.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    context_3.Autowired('gridPanel'),\n\t    __metadata(\"design:type\", gridPanel_1.GridPanel)\n\t], MasterSlaveService.prototype, \"gridPanel\", void 0);\n\t__decorate([\n\t    context_3.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], MasterSlaveService.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    __param(0, context_2.Qualifier('loggerFactory')),\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", [logger_1.LoggerFactory]),\n\t    __metadata(\"design:returntype\", void 0)\n\t], MasterSlaveService.prototype, \"setBeans\", null);\n\t__decorate([\n\t    context_4.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], MasterSlaveService.prototype, \"init\", null);\n\tMasterSlaveService = __decorate([\n\t    context_1.Bean('masterSlaveService')\n\t], MasterSlaveService);\n\texports.MasterSlaveService = MasterSlaveService;\n\n\n/***/ }),\n/* 29 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar rowNode_1 = __webpack_require__(30);\n\tvar context_1 = __webpack_require__(8);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar context_2 = __webpack_require__(8);\n\tvar events_1 = __webpack_require__(12);\n\tvar context_3 = __webpack_require__(8);\n\tvar constants_1 = __webpack_require__(10);\n\tvar utils_1 = __webpack_require__(9);\n\tvar FloatingRowModel = (function () {\n\t    function FloatingRowModel() {\n\t    }\n\t    FloatingRowModel.prototype.init = function () {\n\t        this.setFloatingTopRowData(this.gridOptionsWrapper.getFloatingTopRowData());\n\t        this.setFloatingBottomRowData(this.gridOptionsWrapper.getFloatingBottomRowData());\n\t    };\n\t    FloatingRowModel.prototype.isEmpty = function (floating) {\n\t        var rows = floating === constants_1.Constants.FLOATING_TOP ? this.floatingTopRows : this.floatingBottomRows;\n\t        return utils_1.Utils.missingOrEmpty(rows);\n\t    };\n\t    FloatingRowModel.prototype.isRowsToRender = function (floating) {\n\t        return !this.isEmpty(floating);\n\t    };\n\t    FloatingRowModel.prototype.getRowAtPixel = function (pixel, floating) {\n\t        var rows = floating === constants_1.Constants.FLOATING_TOP ? this.floatingTopRows : this.floatingBottomRows;\n\t        if (utils_1.Utils.missingOrEmpty(rows)) {\n\t            return 0; // this should never happen, just in case, 0 is graceful failure\n\t        }\n\t        for (var i = 0; i < rows.length; i++) {\n\t            var rowNode = rows[i];\n\t            var rowTopPixel = rowNode.rowTop + rowNode.rowHeight - 1;\n\t            // only need to range check against the top pixel, as we are going through the list\n\t            // in order, first row to hit the pixel wins\n\t            if (rowTopPixel >= pixel) {\n\t                return i;\n\t            }\n\t        }\n\t        return rows.length - 1;\n\t    };\n\t    FloatingRowModel.prototype.setFloatingTopRowData = function (rowData) {\n\t        this.floatingTopRows = this.createNodesFromData(rowData, true);\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_FLOATING_ROW_DATA_CHANGED);\n\t    };\n\t    FloatingRowModel.prototype.setFloatingBottomRowData = function (rowData) {\n\t        this.floatingBottomRows = this.createNodesFromData(rowData, false);\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_FLOATING_ROW_DATA_CHANGED);\n\t    };\n\t    FloatingRowModel.prototype.createNodesFromData = function (allData, isTop) {\n\t        var _this = this;\n\t        var rowNodes = [];\n\t        if (allData) {\n\t            var nextRowTop = 0;\n\t            allData.forEach(function (dataItem, index) {\n\t                var rowNode = new rowNode_1.RowNode();\n\t                _this.context.wireBean(rowNode);\n\t                rowNode.data = dataItem;\n\t                rowNode.floating = isTop ? constants_1.Constants.FLOATING_TOP : constants_1.Constants.FLOATING_BOTTOM;\n\t                rowNode.setRowTop(nextRowTop);\n\t                rowNode.setRowHeight(_this.gridOptionsWrapper.getRowHeightForNode(rowNode));\n\t                rowNode.setRowIndex(index);\n\t                nextRowTop += rowNode.rowHeight;\n\t                rowNodes.push(rowNode);\n\t            });\n\t        }\n\t        return rowNodes;\n\t    };\n\t    FloatingRowModel.prototype.getFloatingTopRowData = function () {\n\t        return this.floatingTopRows;\n\t    };\n\t    FloatingRowModel.prototype.getFloatingBottomRowData = function () {\n\t        return this.floatingBottomRows;\n\t    };\n\t    FloatingRowModel.prototype.getFloatingTopTotalHeight = function () {\n\t        return this.getTotalHeight(this.floatingTopRows);\n\t    };\n\t    FloatingRowModel.prototype.getFloatingTopRowCount = function () {\n\t        return this.floatingTopRows ? this.floatingTopRows.length : 0;\n\t    };\n\t    FloatingRowModel.prototype.getFloatingBottomRowCount = function () {\n\t        return this.floatingBottomRows ? this.floatingBottomRows.length : 0;\n\t    };\n\t    FloatingRowModel.prototype.getFloatingTopRow = function (index) {\n\t        return this.floatingTopRows[index];\n\t    };\n\t    FloatingRowModel.prototype.getFloatingBottomRow = function (index) {\n\t        return this.floatingBottomRows[index];\n\t    };\n\t    FloatingRowModel.prototype.forEachFloatingTopRow = function (callback) {\n\t        if (utils_1.Utils.missingOrEmpty(this.floatingTopRows)) {\n\t            return;\n\t        }\n\t        this.floatingTopRows.forEach(callback);\n\t    };\n\t    FloatingRowModel.prototype.forEachFloatingBottomRow = function (callback) {\n\t        if (utils_1.Utils.missingOrEmpty(this.floatingBottomRows)) {\n\t            return;\n\t        }\n\t        this.floatingBottomRows.forEach(callback);\n\t    };\n\t    FloatingRowModel.prototype.getFloatingBottomTotalHeight = function () {\n\t        return this.getTotalHeight(this.floatingBottomRows);\n\t    };\n\t    FloatingRowModel.prototype.getTotalHeight = function (rowNodes) {\n\t        if (!rowNodes || rowNodes.length === 0) {\n\t            return 0;\n\t        }\n\t        else {\n\t            var lastNode = rowNodes[rowNodes.length - 1];\n\t            return lastNode.rowTop + lastNode.rowHeight;\n\t        }\n\t    };\n\t    return FloatingRowModel;\n\t}());\n\t__decorate([\n\t    context_2.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], FloatingRowModel.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_2.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], FloatingRowModel.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    context_2.Autowired('context'),\n\t    __metadata(\"design:type\", context_1.Context)\n\t], FloatingRowModel.prototype, \"context\", void 0);\n\t__decorate([\n\t    context_3.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], FloatingRowModel.prototype, \"init\", null);\n\tFloatingRowModel = __decorate([\n\t    context_1.Bean('floatingRowModel')\n\t], FloatingRowModel);\n\texports.FloatingRowModel = FloatingRowModel;\n\n\n/***/ }),\n/* 30 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar eventService_1 = __webpack_require__(6);\n\tvar events_1 = __webpack_require__(12);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar selectionController_1 = __webpack_require__(31);\n\tvar valueService_1 = __webpack_require__(32);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar context_1 = __webpack_require__(8);\n\tvar constants_1 = __webpack_require__(10);\n\tvar utils_1 = __webpack_require__(9);\n\tvar RowNode = (function () {\n\t    function RowNode() {\n\t        /** Children mapped by the pivot columns */\n\t        this.childrenMapped = {};\n\t        this.selected = false;\n\t    }\n\t    RowNode.prototype.setData = function (data) {\n\t        var oldData = this.data;\n\t        this.data = data;\n\t        var event = { oldData: oldData, newData: data };\n\t        this.dispatchLocalEvent(RowNode.EVENT_DATA_CHANGED, event);\n\t    };\n\t    RowNode.prototype.createDaemonNode = function () {\n\t        var oldNode = new RowNode();\n\t        this.context.wireBean(oldNode);\n\t        // just copy the id and data, this is enough for the node to be used\n\t        // in the selection controller (the selection controller is the only\n\t        // place where daemon nodes can live).\n\t        oldNode.id = this.id;\n\t        oldNode.data = this.data;\n\t        oldNode.daemon = true;\n\t        oldNode.selected = this.selected;\n\t        oldNode.level = this.level;\n\t        return oldNode;\n\t    };\n\t    RowNode.prototype.setDataAndId = function (data, id) {\n\t        var oldNode = utils_1.Utils.exists(this.id) ? this.createDaemonNode() : null;\n\t        var oldData = this.data;\n\t        this.data = data;\n\t        this.setId(id);\n\t        this.selectionController.syncInRowNode(this, oldNode);\n\t        var event = { oldData: oldData, newData: data };\n\t        this.dispatchLocalEvent(RowNode.EVENT_DATA_CHANGED, event);\n\t    };\n\t    RowNode.prototype.setId = function (id) {\n\t        // see if user is providing the id's\n\t        var getRowNodeId = this.gridOptionsWrapper.getRowNodeIdFunc();\n\t        if (getRowNodeId) {\n\t            // if user is providing the id's, then we set the id only after the data has been set.\n\t            // this is important for virtual pagination and viewport, where empty rows exist.\n\t            if (this.data) {\n\t                this.id = getRowNodeId(this.data);\n\t            }\n\t            else {\n\t                // this can happen if user has set blank into the rowNode after the row previously\n\t                // having data. this happens in virtual page row model, when data is delete and\n\t                // the page is refreshed.\n\t                this.id = undefined;\n\t            }\n\t        }\n\t        else {\n\t            this.id = id;\n\t        }\n\t    };\n\t    RowNode.prototype.setLoading = function (loading) {\n\t        if (this.loading === loading) {\n\t            return;\n\t        }\n\t        this.loading = loading;\n\t        if (this.eventService) {\n\t            this.eventService.dispatchEvent(RowNode.EVENT_LOADING_CHANGED);\n\t        }\n\t    };\n\t    RowNode.prototype.clearRowTop = function () {\n\t        this.oldRowTop = this.rowTop;\n\t        this.setRowTop(null);\n\t    };\n\t    RowNode.prototype.setRowTop = function (rowTop) {\n\t        if (this.rowTop === rowTop) {\n\t            return;\n\t        }\n\t        this.rowTop = rowTop;\n\t        if (this.eventService) {\n\t            this.eventService.dispatchEvent(RowNode.EVENT_TOP_CHANGED);\n\t        }\n\t    };\n\t    RowNode.prototype.setRowHeight = function (rowHeight) {\n\t        this.rowHeight = rowHeight;\n\t        if (this.eventService) {\n\t            this.eventService.dispatchEvent(RowNode.EVENT_HEIGHT_CHANGED);\n\t        }\n\t    };\n\t    RowNode.prototype.setRowIndex = function (rowIndex) {\n\t        this.rowIndex = rowIndex;\n\t        if (this.eventService) {\n\t            this.eventService.dispatchEvent(RowNode.EVENT_ROW_INDEX_CHANGED);\n\t        }\n\t    };\n\t    RowNode.prototype.setExpanded = function (expanded) {\n\t        if (this.expanded === expanded) {\n\t            return;\n\t        }\n\t        this.expanded = expanded;\n\t        if (this.eventService) {\n\t            this.eventService.dispatchEvent(RowNode.EVENT_EXPANDED_CHANGED);\n\t        }\n\t        var event = { node: this };\n\t        this.mainEventService.dispatchEvent(events_1.Events.EVENT_ROW_GROUP_OPENED, event);\n\t    };\n\t    RowNode.prototype.dispatchLocalEvent = function (eventName, event) {\n\t        if (this.eventService) {\n\t            this.eventService.dispatchEvent(eventName, event);\n\t        }\n\t    };\n\t    // we also allow editing the value via the editors. when it is done via\n\t    // the editors, no 'cell changed' event gets fired, as it's assumed that\n\t    // the cell knows about the change given it's in charge of the editing.\n\t    // this method is for the client to call, so the cell listens for the change\n\t    // event, and also flashes the cell when the change occurs.\n\t    RowNode.prototype.setDataValue = function (colKey, newValue) {\n\t        var column = this.columnController.getGridColumn(colKey);\n\t        this.valueService.setValue(this, column, newValue);\n\t        var event = { column: column, newValue: newValue };\n\t        this.dispatchLocalEvent(RowNode.EVENT_CELL_CHANGED, event);\n\t    };\n\t    RowNode.prototype.resetQuickFilterAggregateText = function () {\n\t        this.quickFilterAggregateText = null;\n\t    };\n\t    RowNode.prototype.isExpandable = function () {\n\t        return this.group || this.canFlower;\n\t    };\n\t    RowNode.prototype.isSelected = function () {\n\t        // for footers, we just return what our sibling selected state is, as cannot select a footer\n\t        if (this.footer) {\n\t            return this.sibling.isSelected();\n\t        }\n\t        return this.selected;\n\t    };\n\t    RowNode.prototype.depthFirstSearch = function (callback) {\n\t        if (this.childrenAfterGroup) {\n\t            this.childrenAfterGroup.forEach(function (child) { return child.depthFirstSearch(callback); });\n\t        }\n\t        callback(this);\n\t    };\n\t    // + rowController.updateGroupsInSelection()\n\t    RowNode.prototype.calculateSelectedFromChildren = function () {\n\t        var atLeastOneSelected = false;\n\t        var atLeastOneDeSelected = false;\n\t        var atLeastOneMixed = false;\n\t        var newSelectedValue;\n\t        if (this.childrenAfterGroup) {\n\t            for (var i = 0; i < this.childrenAfterGroup.length; i++) {\n\t                var childState = this.childrenAfterGroup[i].isSelected();\n\t                switch (childState) {\n\t                    case true:\n\t                        atLeastOneSelected = true;\n\t                        break;\n\t                    case false:\n\t                        atLeastOneDeSelected = true;\n\t                        break;\n\t                    default:\n\t                        atLeastOneMixed = true;\n\t                        break;\n\t                }\n\t            }\n\t        }\n\t        if (atLeastOneMixed) {\n\t            newSelectedValue = undefined;\n\t        }\n\t        else if (atLeastOneSelected && !atLeastOneDeSelected) {\n\t            newSelectedValue = true;\n\t        }\n\t        else if (!atLeastOneSelected && atLeastOneDeSelected) {\n\t            newSelectedValue = false;\n\t        }\n\t        else {\n\t            newSelectedValue = undefined;\n\t        }\n\t        this.selectThisNode(newSelectedValue);\n\t    };\n\t    RowNode.prototype.calculateSelectedFromChildrenBubbleUp = function () {\n\t        this.calculateSelectedFromChildren();\n\t        if (this.parent) {\n\t            this.parent.calculateSelectedFromChildrenBubbleUp();\n\t        }\n\t    };\n\t    RowNode.prototype.setSelectedInitialValue = function (selected) {\n\t        this.selected = selected;\n\t    };\n\t    RowNode.prototype.setSelected = function (newValue, clearSelection, tailingNodeInSequence) {\n\t        if (clearSelection === void 0) { clearSelection = false; }\n\t        if (tailingNodeInSequence === void 0) { tailingNodeInSequence = false; }\n\t        this.setSelectedParams({\n\t            newValue: newValue,\n\t            clearSelection: clearSelection,\n\t            tailingNodeInSequence: tailingNodeInSequence,\n\t            rangeSelect: false\n\t        });\n\t    };\n\t    RowNode.prototype.isFloating = function () {\n\t        return this.floating === constants_1.Constants.FLOATING_TOP || this.floating === constants_1.Constants.FLOATING_BOTTOM;\n\t    };\n\t    // to make calling code more readable, this is the same method as setSelected except it takes names parameters\n\t    RowNode.prototype.setSelectedParams = function (params) {\n\t        var groupSelectsChildren = this.gridOptionsWrapper.isGroupSelectsChildren();\n\t        var newValue = params.newValue === true;\n\t        var clearSelection = params.clearSelection === true;\n\t        var tailingNodeInSequence = params.tailingNodeInSequence === true;\n\t        var rangeSelect = params.rangeSelect === true;\n\t        // groupSelectsFiltered only makes sense when group selects children\n\t        var groupSelectsFiltered = groupSelectsChildren && (params.groupSelectsFiltered === true);\n\t        if (this.id === undefined) {\n\t            console.warn('ag-Grid: cannot select node until id for node is known');\n\t            return 0;\n\t        }\n\t        if (this.floating) {\n\t            console.log('ag-Grid: cannot select floating rows');\n\t            return 0;\n\t        }\n\t        // if we are a footer, we don't do selection, just pass the info\n\t        // to the sibling (the parent of the group)\n\t        if (this.footer) {\n\t            var count = this.sibling.setSelectedParams(params);\n\t            return count;\n\t        }\n\t        if (rangeSelect) {\n\t            var rowModelNormal = this.rowModel.getType() === constants_1.Constants.ROW_MODEL_TYPE_NORMAL;\n\t            var newRowClicked = this.selectionController.getLastSelectedNode() !== this;\n\t            var allowMultiSelect = this.gridOptionsWrapper.isRowSelectionMulti();\n\t            if (rowModelNormal && newRowClicked && allowMultiSelect) {\n\t                return this.doRowRangeSelection();\n\t            }\n\t        }\n\t        var updatedCount = 0;\n\t        // when groupSelectsFiltered, then this node may end up intermediate despite\n\t        // trying to set it to true / false. this group will be calculated further on\n\t        // down when we call calculatedSelectedForAllGroupNodes(). we need to skip it\n\t        // here, otherwise the updatedCount would include it.\n\t        var skipThisNode = groupSelectsFiltered && this.group;\n\t        if (!skipThisNode) {\n\t            var thisNodeWasSelected = this.selectThisNode(newValue);\n\t            if (thisNodeWasSelected) {\n\t                updatedCount++;\n\t            }\n\t        }\n\t        if (groupSelectsChildren && this.group) {\n\t            updatedCount += this.selectChildNodes(newValue, groupSelectsFiltered);\n\t        }\n\t        // clear other nodes if not doing multi select\n\t        var actionWasOnThisNode = !tailingNodeInSequence;\n\t        if (actionWasOnThisNode) {\n\t            if (newValue && (clearSelection || !this.gridOptionsWrapper.isRowSelectionMulti())) {\n\t                updatedCount += this.selectionController.clearOtherNodes(this);\n\t            }\n\t            // only if we selected something, then update groups and fire events\n\t            if (updatedCount > 0) {\n\t                // update groups\n\t                if (groupSelectsFiltered) {\n\t                    // if the group was selecting filtered, then all nodes above and or below\n\t                    // this node could have check, unchecked or intermediate, so easiest is to\n\t                    // recalculate selected state for all group nodes\n\t                    this.calculatedSelectedForAllGroupNodes();\n\t                }\n\t                else {\n\t                    // if no selecting filtered, then everything below the group node was either\n\t                    // selected or not selected, no intermediate, so no need to check items below\n\t                    // this one, just the parents all the way up to the root\n\t                    if (groupSelectsChildren && this.parent) {\n\t                        this.parent.calculateSelectedFromChildrenBubbleUp();\n\t                    }\n\t                }\n\t                // fire events\n\t                // this is the very end of the 'action node', so we are finished all the updates,\n\t                // include any parent / child changes that this method caused\n\t                this.mainEventService.dispatchEvent(events_1.Events.EVENT_SELECTION_CHANGED);\n\t            }\n\t            // so if user next does shift-select, we know where to start the selection from\n\t            if (newValue) {\n\t                this.selectionController.setLastSelectedNode(this);\n\t            }\n\t        }\n\t        return updatedCount;\n\t    };\n\t    // selects all rows between this node and the last selected node (or the top if this is the first selection).\n\t    // not to be mixed up with 'cell range selection' where you drag the mouse, this is row range selection, by\n\t    // holding down 'shift'.\n\t    RowNode.prototype.doRowRangeSelection = function () {\n\t        var _this = this;\n\t        var lastSelectedNode = this.selectionController.getLastSelectedNode();\n\t        // if lastSelectedNode is missing, we start at the first row\n\t        var firstRowHit = !lastSelectedNode;\n\t        var lastRowHit = false;\n\t        var lastRow;\n\t        var groupsSelectChildren = this.gridOptionsWrapper.isGroupSelectsChildren();\n\t        var updatedCount = 0;\n\t        var inMemoryRowModel = this.rowModel;\n\t        inMemoryRowModel.forEachNodeAfterFilterAndSort(function (rowNode) {\n\t            var lookingForLastRow = firstRowHit && !lastRowHit;\n\t            // check if we need to flip the select switch\n\t            if (!firstRowHit) {\n\t                if (rowNode === lastSelectedNode || rowNode === _this) {\n\t                    firstRowHit = true;\n\t                }\n\t            }\n\t            var skipThisGroupNode = rowNode.group && groupsSelectChildren;\n\t            if (!skipThisGroupNode) {\n\t                var inRange = firstRowHit && !lastRowHit;\n\t                var childOfLastRow = rowNode.isParentOfNode(lastRow);\n\t                var nodeWasSelected = rowNode.selectThisNode(inRange || childOfLastRow);\n\t                if (nodeWasSelected) {\n\t                    updatedCount++;\n\t                }\n\t            }\n\t            if (lookingForLastRow) {\n\t                if (rowNode === lastSelectedNode || rowNode === _this) {\n\t                    lastRowHit = true;\n\t                    if (rowNode === lastSelectedNode) {\n\t                        lastRow = lastSelectedNode;\n\t                    }\n\t                    else {\n\t                        lastRow = _this;\n\t                    }\n\t                }\n\t            }\n\t        });\n\t        if (groupsSelectChildren) {\n\t            this.calculatedSelectedForAllGroupNodes();\n\t        }\n\t        this.mainEventService.dispatchEvent(events_1.Events.EVENT_SELECTION_CHANGED);\n\t        return updatedCount;\n\t    };\n\t    RowNode.prototype.isParentOfNode = function (potentialParent) {\n\t        var parentNode = this.parent;\n\t        while (parentNode) {\n\t            if (parentNode === potentialParent) {\n\t                return true;\n\t            }\n\t            parentNode = parentNode.parent;\n\t        }\n\t        return false;\n\t    };\n\t    RowNode.prototype.calculatedSelectedForAllGroupNodes = function () {\n\t        // we have to make sure we do this dept first, as parent nodes\n\t        // will have dependencies on the children having correct values\n\t        var inMemoryRowModel = this.rowModel;\n\t        inMemoryRowModel.getTopLevelNodes().forEach(function (topLevelNode) {\n\t            if (topLevelNode.group) {\n\t                topLevelNode.depthFirstSearch(function (childNode) {\n\t                    if (childNode.group) {\n\t                        childNode.calculateSelectedFromChildren();\n\t                    }\n\t                });\n\t                topLevelNode.calculateSelectedFromChildren();\n\t            }\n\t        });\n\t    };\n\t    RowNode.prototype.selectThisNode = function (newValue) {\n\t        if (this.selected === newValue) {\n\t            return false;\n\t        }\n\t        this.selected = newValue;\n\t        if (this.eventService) {\n\t            this.dispatchLocalEvent(RowNode.EVENT_ROW_SELECTED);\n\t        }\n\t        var event = { node: this };\n\t        this.mainEventService.dispatchEvent(events_1.Events.EVENT_ROW_SELECTED, event);\n\t        return true;\n\t    };\n\t    RowNode.prototype.selectChildNodes = function (newValue, groupSelectsFiltered) {\n\t        var children = groupSelectsFiltered ? this.childrenAfterFilter : this.childrenAfterGroup;\n\t        var updatedCount = 0;\n\t        if (utils_1.Utils.missing(children)) {\n\t            return;\n\t        }\n\t        for (var i = 0; i < children.length; i++) {\n\t            updatedCount += children[i].setSelectedParams({\n\t                newValue: newValue,\n\t                clearSelection: false,\n\t                tailingNodeInSequence: true\n\t            });\n\t        }\n\t        return updatedCount;\n\t    };\n\t    RowNode.prototype.addEventListener = function (eventType, listener) {\n\t        if (!this.eventService) {\n\t            this.eventService = new eventService_1.EventService();\n\t        }\n\t        this.eventService.addEventListener(eventType, listener);\n\t    };\n\t    RowNode.prototype.removeEventListener = function (eventType, listener) {\n\t        this.eventService.removeEventListener(eventType, listener);\n\t    };\n\t    RowNode.prototype.onMouseEnter = function () {\n\t        this.dispatchLocalEvent(RowNode.EVENT_MOUSE_ENTER);\n\t    };\n\t    RowNode.prototype.onMouseLeave = function () {\n\t        this.dispatchLocalEvent(RowNode.EVENT_MOUSE_LEAVE);\n\t    };\n\t    return RowNode;\n\t}());\n\tRowNode.EVENT_ROW_SELECTED = 'rowSelected';\n\tRowNode.EVENT_DATA_CHANGED = 'dataChanged';\n\tRowNode.EVENT_CELL_CHANGED = 'cellChanged';\n\tRowNode.EVENT_MOUSE_ENTER = 'mouseEnter';\n\tRowNode.EVENT_MOUSE_LEAVE = 'mouseLeave';\n\tRowNode.EVENT_HEIGHT_CHANGED = 'heightChanged';\n\tRowNode.EVENT_TOP_CHANGED = 'topChanged';\n\tRowNode.EVENT_ROW_INDEX_CHANGED = 'rowIndexChanged';\n\tRowNode.EVENT_EXPANDED_CHANGED = 'expandedChanged';\n\tRowNode.EVENT_LOADING_CHANGED = 'loadingChanged';\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], RowNode.prototype, \"mainEventService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], RowNode.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('selectionController'),\n\t    __metadata(\"design:type\", selectionController_1.SelectionController)\n\t], RowNode.prototype, \"selectionController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", columnController_1.ColumnController)\n\t], RowNode.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('valueService'),\n\t    __metadata(\"design:type\", valueService_1.ValueService)\n\t], RowNode.prototype, \"valueService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('rowModel'),\n\t    __metadata(\"design:type\", Object)\n\t], RowNode.prototype, \"rowModel\", void 0);\n\t__decorate([\n\t    context_1.Autowired('context'),\n\t    __metadata(\"design:type\", context_1.Context)\n\t], RowNode.prototype, \"context\", void 0);\n\texports.RowNode = RowNode;\n\n\n/***/ }),\n/* 31 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar __param = (this && this.__param) || function (paramIndex, decorator) {\n\t    return function (target, key) { decorator(target, key, paramIndex); }\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar utils_1 = __webpack_require__(9);\n\tvar context_1 = __webpack_require__(8);\n\tvar context_2 = __webpack_require__(8);\n\tvar logger_1 = __webpack_require__(7);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar events_1 = __webpack_require__(12);\n\tvar context_3 = __webpack_require__(8);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar context_4 = __webpack_require__(8);\n\tvar constants_1 = __webpack_require__(10);\n\tvar SelectionController = (function () {\n\t    function SelectionController() {\n\t    }\n\t    SelectionController.prototype.setBeans = function (loggerFactory) {\n\t        this.logger = loggerFactory.create('SelectionController');\n\t        this.reset();\n\t        if (this.gridOptionsWrapper.isRowModelDefault()) {\n\t            this.eventService.addEventListener(events_1.Events.EVENT_ROW_DATA_CHANGED, this.reset.bind(this));\n\t        }\n\t        else {\n\t            this.logger.log('dont know what to do here');\n\t        }\n\t    };\n\t    SelectionController.prototype.init = function () {\n\t        this.groupSelectsChildren = this.gridOptionsWrapper.isGroupSelectsChildren();\n\t        this.eventService.addEventListener(events_1.Events.EVENT_ROW_SELECTED, this.onRowSelected.bind(this));\n\t    };\n\t    SelectionController.prototype.setLastSelectedNode = function (rowNode) {\n\t        this.lastSelectedNode = rowNode;\n\t    };\n\t    SelectionController.prototype.getLastSelectedNode = function () {\n\t        return this.lastSelectedNode;\n\t    };\n\t    SelectionController.prototype.getSelectedNodes = function () {\n\t        var selectedNodes = [];\n\t        utils_1.Utils.iterateObject(this.selectedNodes, function (key, rowNode) {\n\t            if (rowNode) {\n\t                selectedNodes.push(rowNode);\n\t            }\n\t        });\n\t        return selectedNodes;\n\t    };\n\t    SelectionController.prototype.getSelectedRows = function () {\n\t        var selectedRows = [];\n\t        utils_1.Utils.iterateObject(this.selectedNodes, function (key, rowNode) {\n\t            if (rowNode) {\n\t                selectedRows.push(rowNode.data);\n\t            }\n\t        });\n\t        return selectedRows;\n\t    };\n\t    SelectionController.prototype.removeGroupsFromSelection = function () {\n\t        var _this = this;\n\t        utils_1.Utils.iterateObject(this.selectedNodes, function (key, rowNode) {\n\t            if (rowNode && rowNode.group) {\n\t                _this.selectedNodes[rowNode.id] = undefined;\n\t            }\n\t        });\n\t    };\n\t    // should only be called if groupSelectsChildren=true\n\t    SelectionController.prototype.updateGroupsFromChildrenSelections = function () {\n\t        if (this.rowModel.getType() !== constants_1.Constants.ROW_MODEL_TYPE_NORMAL) {\n\t            console.warn('updateGroupsFromChildrenSelections not available when rowModel is not normal');\n\t        }\n\t        var inMemoryRowModel = this.rowModel;\n\t        inMemoryRowModel.getTopLevelNodes().forEach(function (rowNode) {\n\t            rowNode.depthFirstSearch(function (rowNode) {\n\t                if (rowNode.group) {\n\t                    rowNode.calculateSelectedFromChildren();\n\t                }\n\t            });\n\t        });\n\t    };\n\t    SelectionController.prototype.getNodeForIdIfSelected = function (id) {\n\t        return this.selectedNodes[id];\n\t    };\n\t    SelectionController.prototype.clearOtherNodes = function (rowNodeToKeepSelected) {\n\t        var _this = this;\n\t        var groupsToRefresh = {};\n\t        var updatedCount = 0;\n\t        utils_1.Utils.iterateObject(this.selectedNodes, function (key, otherRowNode) {\n\t            if (otherRowNode && otherRowNode.id !== rowNodeToKeepSelected.id) {\n\t                var rowNode = _this.selectedNodes[otherRowNode.id];\n\t                updatedCount += rowNode.setSelectedParams({ newValue: false, clearSelection: false, tailingNodeInSequence: true });\n\t                if (_this.groupSelectsChildren && otherRowNode.parent) {\n\t                    groupsToRefresh[otherRowNode.parent.id] = otherRowNode.parent;\n\t                }\n\t            }\n\t        });\n\t        utils_1.Utils.iterateObject(groupsToRefresh, function (key, group) {\n\t            group.calculateSelectedFromChildren();\n\t        });\n\t        return updatedCount;\n\t    };\n\t    SelectionController.prototype.onRowSelected = function (event) {\n\t        var rowNode = event.node;\n\t        // we do not store the group rows when the groups select children\n\t        if (this.groupSelectsChildren && rowNode.group) {\n\t            return;\n\t        }\n\t        if (rowNode.isSelected()) {\n\t            this.selectedNodes[rowNode.id] = rowNode;\n\t        }\n\t        else {\n\t            this.selectedNodes[rowNode.id] = undefined;\n\t        }\n\t    };\n\t    SelectionController.prototype.syncInRowNode = function (rowNode, oldNode) {\n\t        this.syncInOldRowNode(rowNode, oldNode);\n\t        this.syncInNewRowNode(rowNode);\n\t    };\n\t    // if the id has changed for the node, then this means the rowNode\n\t    // is getting used for a different data item, which breaks\n\t    // our selectedNodes, as the node now is mapped by the old id\n\t    // which is inconsistent. so to keep the old node as selected,\n\t    // we swap in the clone (with the old id and old data). this means\n\t    // the oldNode is effectively a daemon we keep a reference to,\n\t    // so if client calls api.getSelectedNodes(), it gets the daemon\n\t    // in the result. when the client un-selects, the reference to the\n\t    // daemon is removed. the daemon, because it's an oldNode, is not\n\t    // used by the grid for rendering, it's a copy of what the node used\n\t    // to be like before the id was changed.\n\t    SelectionController.prototype.syncInOldRowNode = function (rowNode, oldNode) {\n\t        var oldNodeHasDifferentId = utils_1.Utils.exists(oldNode) && (rowNode.id !== oldNode.id);\n\t        if (oldNodeHasDifferentId) {\n\t            var oldNodeSelected = utils_1.Utils.exists(this.selectedNodes[oldNode.id]);\n\t            if (oldNodeSelected) {\n\t                this.selectedNodes[oldNode.id] = oldNode;\n\t            }\n\t        }\n\t    };\n\t    SelectionController.prototype.syncInNewRowNode = function (rowNode) {\n\t        if (utils_1.Utils.exists(this.selectedNodes[rowNode.id])) {\n\t            rowNode.setSelectedInitialValue(true);\n\t            this.selectedNodes[rowNode.id] = rowNode;\n\t        }\n\t        else {\n\t            rowNode.setSelectedInitialValue(false);\n\t        }\n\t    };\n\t    SelectionController.prototype.reset = function () {\n\t        this.logger.log('reset');\n\t        this.selectedNodes = {};\n\t        this.lastSelectedNode = null;\n\t    };\n\t    // returns a list of all nodes at 'best cost' - a feature to be used\n\t    // with groups / trees. if a group has all it's children selected,\n\t    // then the group appears in the result, but not the children.\n\t    // Designed for use with 'children' as the group selection type,\n\t    // where groups don't actually appear in the selection normally.\n\t    SelectionController.prototype.getBestCostNodeSelection = function () {\n\t        if (this.rowModel.getType() !== constants_1.Constants.ROW_MODEL_TYPE_NORMAL) {\n\t            console.warn('getBestCostNodeSelection is only avilable when using normal row model');\n\t        }\n\t        var inMemoryRowModel = this.rowModel;\n\t        var topLevelNodes = inMemoryRowModel.getTopLevelNodes();\n\t        if (topLevelNodes === null) {\n\t            console.warn('selectAll not available doing rowModel=virtual');\n\t            return;\n\t        }\n\t        var result = [];\n\t        // recursive function, to find the selected nodes\n\t        function traverse(nodes) {\n\t            for (var i = 0, l = nodes.length; i < l; i++) {\n\t                var node = nodes[i];\n\t                if (node.isSelected()) {\n\t                    result.push(node);\n\t                }\n\t                else {\n\t                    // if not selected, then if it's a group, and the group\n\t                    // has children, continue to search for selections\n\t                    if (node.group && node.children) {\n\t                        traverse(node.children);\n\t                    }\n\t                }\n\t            }\n\t        }\n\t        traverse(topLevelNodes);\n\t        return result;\n\t    };\n\t    SelectionController.prototype.setRowModel = function (rowModel) {\n\t        this.rowModel = rowModel;\n\t    };\n\t    SelectionController.prototype.isEmpty = function () {\n\t        var count = 0;\n\t        utils_1.Utils.iterateObject(this.selectedNodes, function (nodeId, rowNode) {\n\t            if (rowNode) {\n\t                count++;\n\t            }\n\t        });\n\t        return count === 0;\n\t    };\n\t    SelectionController.prototype.deselectAllRowNodes = function (justFiltered) {\n\t        if (justFiltered === void 0) { justFiltered = false; }\n\t        var inMemoryRowModel = this.rowModel;\n\t        var callback = function (rowNode) { return rowNode.selectThisNode(false); };\n\t        // execute on all nodes in the model. if we are doing pagination, only\n\t        // the current page is used, thus if we 'deselect all' while on page 2,\n\t        // any selections on page 1 are left as is.\n\t        if (justFiltered) {\n\t            inMemoryRowModel.forEachNodeAfterFilter(callback);\n\t        }\n\t        else {\n\t            inMemoryRowModel.forEachNode(callback);\n\t        }\n\t        // the above does not clean up the parent rows if they are selected\n\t        if (this.rowModel.getType() === constants_1.Constants.ROW_MODEL_TYPE_NORMAL && this.groupSelectsChildren) {\n\t            this.updateGroupsFromChildrenSelections();\n\t        }\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_SELECTION_CHANGED);\n\t    };\n\t    SelectionController.prototype.selectAllRowNodes = function (justFiltered) {\n\t        if (justFiltered === void 0) { justFiltered = false; }\n\t        if (this.rowModel.getType() !== constants_1.Constants.ROW_MODEL_TYPE_NORMAL) {\n\t            throw \"selectAll only available with normal row model, ie not \" + this.rowModel.getType();\n\t        }\n\t        var inMemoryRowModel = this.rowModel;\n\t        var callback = function (rowNode) { return rowNode.selectThisNode(true); };\n\t        if (justFiltered) {\n\t            inMemoryRowModel.forEachNodeAfterFilter(callback);\n\t        }\n\t        else {\n\t            inMemoryRowModel.forEachNode(callback);\n\t        }\n\t        // the above does not clean up the parent rows if they are selected\n\t        if (this.rowModel.getType() === constants_1.Constants.ROW_MODEL_TYPE_NORMAL && this.groupSelectsChildren) {\n\t            this.updateGroupsFromChildrenSelections();\n\t        }\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_SELECTION_CHANGED);\n\t    };\n\t    // Deprecated method\n\t    SelectionController.prototype.selectNode = function (rowNode, tryMulti) {\n\t        rowNode.setSelectedParams({ newValue: true, clearSelection: !tryMulti });\n\t    };\n\t    // Deprecated method\n\t    SelectionController.prototype.deselectIndex = function (rowIndex) {\n\t        var node = this.rowModel.getRow(rowIndex);\n\t        this.deselectNode(node);\n\t    };\n\t    // Deprecated method\n\t    SelectionController.prototype.deselectNode = function (rowNode) {\n\t        rowNode.setSelectedParams({ newValue: false, clearSelection: false });\n\t    };\n\t    // Deprecated method\n\t    SelectionController.prototype.selectIndex = function (index, tryMulti) {\n\t        var node = this.rowModel.getRow(index);\n\t        this.selectNode(node, tryMulti);\n\t    };\n\t    return SelectionController;\n\t}());\n\t__decorate([\n\t    context_3.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], SelectionController.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    context_3.Autowired('rowModel'),\n\t    __metadata(\"design:type\", Object)\n\t], SelectionController.prototype, \"rowModel\", void 0);\n\t__decorate([\n\t    context_3.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], SelectionController.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    __param(0, context_2.Qualifier('loggerFactory')),\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", [logger_1.LoggerFactory]),\n\t    __metadata(\"design:returntype\", void 0)\n\t], SelectionController.prototype, \"setBeans\", null);\n\t__decorate([\n\t    context_4.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], SelectionController.prototype, \"init\", null);\n\tSelectionController = __decorate([\n\t    context_1.Bean('selectionController')\n\t], SelectionController);\n\texports.SelectionController = SelectionController;\n\n\n/***/ }),\n/* 32 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar expressionService_1 = __webpack_require__(21);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar context_1 = __webpack_require__(8);\n\tvar utils_1 = __webpack_require__(9);\n\tvar events_1 = __webpack_require__(12);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar ValueService = (function () {\n\t    function ValueService() {\n\t        this.initialised = false;\n\t    }\n\t    ValueService.prototype.init = function () {\n\t        this.cellExpressions = this.gridOptionsWrapper.isEnableCellExpressions();\n\t        this.userProvidedTheGroups = utils_1.Utils.exists(this.gridOptionsWrapper.getNodeChildDetailsFunc());\n\t        this.suppressUseColIdForGroups = this.gridOptionsWrapper.isSuppressUseColIdForGroups();\n\t        this.initialised = true;\n\t    };\n\t    ValueService.prototype.getValue = function (column, node) {\n\t        return this.getValueUsingSpecificData(column, node.data, node);\n\t    };\n\t    ValueService.prototype.getValueUsingSpecificData = function (column, data, node) {\n\t        // hack - the grid is getting refreshed before this bean gets initialised, race condition.\n\t        // really should have a way so they get initialised in the right order???\n\t        if (!this.initialised) {\n\t            this.init();\n\t        }\n\t        var colDef = column.getColDef();\n\t        var field = colDef.field;\n\t        var result;\n\t        // if there is a value getter, this gets precedence over a field\n\t        // - need to revisit this, we check 'data' as this is the way for the grid to\n\t        //   not render when on the footer row\n\t        if (data && node.group && !this.userProvidedTheGroups && !this.suppressUseColIdForGroups) {\n\t            result = node.data ? node.data[column.getId()] : undefined;\n\t        }\n\t        else if (colDef.valueGetter) {\n\t            result = this.executeValueGetter(colDef.valueGetter, data, column, node);\n\t        }\n\t        else if (field && data) {\n\t            result = utils_1.Utils.getValueUsingField(data, field, column.isFieldContainsDots());\n\t        }\n\t        else {\n\t            result = undefined;\n\t        }\n\t        // the result could be an expression itself, if we are allowing cell values to be expressions\n\t        if (this.cellExpressions && (typeof result === 'string') && result.indexOf('=') === 0) {\n\t            var cellValueGetter = result.substring(1);\n\t            result = this.executeValueGetter(cellValueGetter, data, column, node);\n\t        }\n\t        return result;\n\t    };\n\t    ValueService.prototype.setValue = function (rowNode, colKey, newValue) {\n\t        var column = this.columnController.getPrimaryColumn(colKey);\n\t        if (!rowNode || !column) {\n\t            return;\n\t        }\n\t        // this will only happen if user is trying to paste into a group row, which doesn't make sense\n\t        // the user should not be trying to paste into group rows\n\t        var data = rowNode.data;\n\t        if (utils_1.Utils.missing(data)) {\n\t            return;\n\t        }\n\t        var field = column.getColDef().field;\n\t        var newValueHandler = column.getColDef().newValueHandler;\n\t        // need either a field or a newValueHandler for this to work\n\t        if (utils_1.Utils.missing(field) && utils_1.Utils.missing(newValueHandler)) {\n\t            console.warn(\"ag-Grid: you need either field or newValueHandler set on colDef for editing to work\");\n\t            return;\n\t        }\n\t        var paramsForCallbacks = {\n\t            node: rowNode,\n\t            data: rowNode.data,\n\t            oldValue: this.getValue(column, rowNode),\n\t            newValue: newValue,\n\t            colDef: column.getColDef(),\n\t            api: this.gridOptionsWrapper.getApi(),\n\t            context: this.gridOptionsWrapper.getContext()\n\t        };\n\t        if (newValueHandler) {\n\t            newValueHandler(paramsForCallbacks);\n\t        }\n\t        else {\n\t            this.setValueUsingField(data, field, newValue, column.isFieldContainsDots());\n\t        }\n\t        // reset quick filter on this row\n\t        rowNode.resetQuickFilterAggregateText();\n\t        paramsForCallbacks.newValue = this.getValue(column, rowNode);\n\t        if (typeof column.getColDef().onCellValueChanged === 'function') {\n\t            column.getColDef().onCellValueChanged(paramsForCallbacks);\n\t        }\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_CELL_VALUE_CHANGED, paramsForCallbacks);\n\t    };\n\t    ValueService.prototype.setValueUsingField = function (data, field, newValue, isFieldContainsDots) {\n\t        // if no '.', then it's not a deep value\n\t        if (!isFieldContainsDots) {\n\t            data[field] = newValue;\n\t        }\n\t        else {\n\t            // otherwise it is a deep value, so need to dig for it\n\t            var fieldPieces = field.split('.');\n\t            var currentObject = data;\n\t            while (fieldPieces.length > 0 && currentObject) {\n\t                var fieldPiece = fieldPieces.shift();\n\t                if (fieldPieces.length === 0) {\n\t                    currentObject[fieldPiece] = newValue;\n\t                }\n\t                else {\n\t                    currentObject = currentObject[fieldPiece];\n\t                }\n\t            }\n\t        }\n\t    };\n\t    ValueService.prototype.executeValueGetter = function (valueGetter, data, column, node) {\n\t        var context = this.gridOptionsWrapper.getContext();\n\t        var api = this.gridOptionsWrapper.getApi();\n\t        var params = {\n\t            data: data,\n\t            node: node,\n\t            colDef: column.getColDef(),\n\t            api: api,\n\t            context: context,\n\t            getValue: this.getValueCallback.bind(this, data, node)\n\t        };\n\t        if (typeof valueGetter === 'function') {\n\t            // valueGetter is a function, so just call it\n\t            return valueGetter(params);\n\t        }\n\t        else if (typeof valueGetter === 'string') {\n\t            // valueGetter is an expression, so execute the expression\n\t            return this.expressionService.evaluate(valueGetter, params);\n\t        }\n\t    };\n\t    ValueService.prototype.getValueCallback = function (data, node, field) {\n\t        var otherColumn = this.columnController.getPrimaryColumn(field);\n\t        if (otherColumn) {\n\t            return this.getValueUsingSpecificData(otherColumn, data, node);\n\t        }\n\t        else {\n\t            return null;\n\t        }\n\t    };\n\t    return ValueService;\n\t}());\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], ValueService.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('expressionService'),\n\t    __metadata(\"design:type\", expressionService_1.ExpressionService)\n\t], ValueService.prototype, \"expressionService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", columnController_1.ColumnController)\n\t], ValueService.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], ValueService.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], ValueService.prototype, \"init\", null);\n\tValueService = __decorate([\n\t    context_1.Bean('valueService')\n\t], ValueService);\n\texports.ValueService = ValueService;\n\n\n/***/ }),\n/* 33 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar utils_1 = __webpack_require__(9);\n\tvar BorderLayout = (function () {\n\t    function BorderLayout(params) {\n\t        this.centerHeightLastTime = -1;\n\t        this.centerWidthLastTime = -1;\n\t        this.centerLeftMarginLastTime = -1;\n\t        this.visibleLastTime = false;\n\t        this.sizeChangeListeners = [];\n\t        this.isLayoutPanel = true;\n\t        this.fullHeight = !params.north && !params.south;\n\t        var template;\n\t        if (!params.dontFill) {\n\t            if (this.fullHeight) {\n\t                template = BorderLayout.TEMPLATE_FULL_HEIGHT;\n\t            }\n\t            else {\n\t                template = BorderLayout.TEMPLATE_NORMAL;\n\t            }\n\t            this.layoutActive = true;\n\t        }\n\t        else {\n\t            template = BorderLayout.TEMPLATE_DONT_FILL;\n\t            this.layoutActive = false;\n\t        }\n\t        this.eGui = utils_1.Utils.loadTemplate(template);\n\t        this.id = 'borderLayout';\n\t        if (params.name) {\n\t            this.id += '_' + params.name;\n\t        }\n\t        this.eGui.setAttribute('id', this.id);\n\t        this.childPanels = [];\n\t        if (params) {\n\t            this.setupPanels(params);\n\t        }\n\t        this.overlays = params.overlays;\n\t        this.setupOverlays();\n\t    }\n\t    BorderLayout.prototype.addSizeChangeListener = function (listener) {\n\t        this.sizeChangeListeners.push(listener);\n\t    };\n\t    BorderLayout.prototype.fireSizeChanged = function () {\n\t        this.sizeChangeListeners.forEach(function (listener) {\n\t            listener();\n\t        });\n\t    };\n\t    BorderLayout.prototype.setupPanels = function (params) {\n\t        this.eNorthWrapper = this.eGui.querySelector('#north');\n\t        this.eSouthWrapper = this.eGui.querySelector('#south');\n\t        this.eEastWrapper = this.eGui.querySelector('#east');\n\t        this.eWestWrapper = this.eGui.querySelector('#west');\n\t        this.eCenterWrapper = this.eGui.querySelector('#center');\n\t        this.eOverlayWrapper = this.eGui.querySelector('#overlay');\n\t        this.eCenterRow = this.eGui.querySelector('#centerRow');\n\t        this.eNorthChildLayout = this.setupPanel(params.north, this.eNorthWrapper);\n\t        this.eSouthChildLayout = this.setupPanel(params.south, this.eSouthWrapper);\n\t        this.eEastChildLayout = this.setupPanel(params.east, this.eEastWrapper);\n\t        this.eWestChildLayout = this.setupPanel(params.west, this.eWestWrapper);\n\t        this.eCenterChildLayout = this.setupPanel(params.center, this.eCenterWrapper);\n\t    };\n\t    BorderLayout.prototype.setupPanel = function (content, ePanel) {\n\t        if (!ePanel) {\n\t            return;\n\t        }\n\t        if (content) {\n\t            if (content.isLayoutPanel) {\n\t                this.childPanels.push(content);\n\t                ePanel.appendChild(content.getGui());\n\t                return content;\n\t            }\n\t            else {\n\t                ePanel.appendChild(content);\n\t                return null;\n\t            }\n\t        }\n\t        else {\n\t            ePanel.parentNode.removeChild(ePanel);\n\t            return null;\n\t        }\n\t    };\n\t    BorderLayout.prototype.getGui = function () {\n\t        return this.eGui;\n\t    };\n\t    // returns true if any item changed size, otherwise returns false\n\t    BorderLayout.prototype.doLayout = function () {\n\t        var _this = this;\n\t        var isVisible = utils_1.Utils.isVisible(this.eGui);\n\t        if (!isVisible) {\n\t            this.visibleLastTime = false;\n\t            return false;\n\t        }\n\t        var atLeastOneChanged = false;\n\t        if (this.visibleLastTime !== isVisible) {\n\t            atLeastOneChanged = true;\n\t        }\n\t        this.visibleLastTime = true;\n\t        var childLayouts = [this.eNorthChildLayout, this.eSouthChildLayout, this.eEastChildLayout, this.eWestChildLayout];\n\t        childLayouts.forEach(function (childLayout) {\n\t            var childChangedSize = _this.layoutChild(childLayout);\n\t            if (childChangedSize) {\n\t                atLeastOneChanged = true;\n\t            }\n\t        });\n\t        if (this.layoutActive) {\n\t            var ourHeightChanged = this.layoutHeight();\n\t            var ourWidthChanged = this.layoutWidth();\n\t            if (ourHeightChanged || ourWidthChanged) {\n\t                atLeastOneChanged = true;\n\t            }\n\t        }\n\t        var centerChanged = this.layoutChild(this.eCenterChildLayout);\n\t        if (centerChanged) {\n\t            atLeastOneChanged = true;\n\t        }\n\t        if (atLeastOneChanged) {\n\t            this.fireSizeChanged();\n\t        }\n\t        return atLeastOneChanged;\n\t    };\n\t    BorderLayout.prototype.layoutChild = function (childPanel) {\n\t        if (childPanel) {\n\t            return childPanel.doLayout();\n\t        }\n\t        else {\n\t            return false;\n\t        }\n\t    };\n\t    BorderLayout.prototype.layoutHeight = function () {\n\t        if (this.fullHeight) {\n\t            return this.layoutHeightFullHeight();\n\t        }\n\t        else {\n\t            return this.layoutHeightNormal();\n\t        }\n\t    };\n\t    // full height never changes the height, because the center is always 100%,\n\t    // however we do check for change, to inform the listeners\n\t    BorderLayout.prototype.layoutHeightFullHeight = function () {\n\t        var centerHeight = utils_1.Utils.offsetHeight(this.eGui);\n\t        if (centerHeight < 0) {\n\t            centerHeight = 0;\n\t        }\n\t        if (this.centerHeightLastTime !== centerHeight) {\n\t            this.centerHeightLastTime = centerHeight;\n\t            return true;\n\t        }\n\t        else {\n\t            return false;\n\t        }\n\t    };\n\t    BorderLayout.prototype.layoutHeightNormal = function () {\n\t        var totalHeight = utils_1.Utils.offsetHeight(this.eGui);\n\t        var northHeight = utils_1.Utils.offsetHeight(this.eNorthWrapper);\n\t        var southHeight = utils_1.Utils.offsetHeight(this.eSouthWrapper);\n\t        var centerHeight = totalHeight - northHeight - southHeight;\n\t        if (centerHeight < 0) {\n\t            centerHeight = 0;\n\t        }\n\t        if (this.centerHeightLastTime !== centerHeight) {\n\t            this.eCenterRow.style.height = centerHeight + 'px';\n\t            this.centerHeightLastTime = centerHeight;\n\t            return true; // return true because there was a change\n\t        }\n\t        else {\n\t            return false;\n\t        }\n\t    };\n\t    BorderLayout.prototype.getCentreHeight = function () {\n\t        return this.centerHeightLastTime;\n\t    };\n\t    BorderLayout.prototype.layoutWidth = function () {\n\t        var totalWidth = utils_1.Utils.offsetWidth(this.eGui);\n\t        var eastWidth = utils_1.Utils.offsetWidth(this.eEastWrapper);\n\t        var westWidth = utils_1.Utils.offsetWidth(this.eWestWrapper);\n\t        var centerWidth = totalWidth - eastWidth - westWidth;\n\t        if (centerWidth < 0) {\n\t            centerWidth = 0;\n\t        }\n\t        var atLeastOneChanged = false;\n\t        if (this.centerLeftMarginLastTime !== westWidth) {\n\t            this.centerLeftMarginLastTime = westWidth;\n\t            this.eCenterWrapper.style.marginLeft = westWidth + 'px';\n\t            atLeastOneChanged = true;\n\t        }\n\t        if (this.centerWidthLastTime !== centerWidth) {\n\t            this.centerWidthLastTime = centerWidth;\n\t            this.eCenterWrapper.style.width = centerWidth + 'px';\n\t            atLeastOneChanged = true;\n\t        }\n\t        return atLeastOneChanged;\n\t    };\n\t    BorderLayout.prototype.setEastVisible = function (visible) {\n\t        if (this.eEastWrapper) {\n\t            this.eEastWrapper.style.display = visible ? '' : 'none';\n\t        }\n\t        this.doLayout();\n\t    };\n\t    BorderLayout.prototype.setupOverlays = function () {\n\t        // if no overlays, just remove the panel\n\t        if (!this.overlays) {\n\t            this.eOverlayWrapper.parentNode.removeChild(this.eOverlayWrapper);\n\t            return;\n\t        }\n\t        this.hideOverlay();\n\t    };\n\t    BorderLayout.prototype.hideOverlay = function () {\n\t        utils_1.Utils.removeAllChildren(this.eOverlayWrapper);\n\t        this.eOverlayWrapper.style.display = 'none';\n\t    };\n\t    BorderLayout.prototype.showOverlay = function (key) {\n\t        var overlay = this.overlays ? this.overlays[key] : null;\n\t        if (overlay) {\n\t            utils_1.Utils.removeAllChildren(this.eOverlayWrapper);\n\t            this.eOverlayWrapper.style.display = '';\n\t            this.eOverlayWrapper.appendChild(overlay);\n\t        }\n\t        else {\n\t            console.log('ag-Grid: unknown overlay');\n\t            this.hideOverlay();\n\t        }\n\t    };\n\t    return BorderLayout;\n\t}());\n\tBorderLayout.TEMPLATE_FULL_HEIGHT = '<div class=\"ag-bl ag-bl-full-height\">' +\n\t    '  <div class=\"ag-bl-west ag-bl-full-height-west\" id=\"west\"></div>' +\n\t    '  <div class=\"ag-bl-east ag-bl-full-height-east\" id=\"east\"></div>' +\n\t    '  <div class=\"ag-bl-center ag-bl-full-height-center\" id=\"center\"></div>' +\n\t    '  <div class=\"ag-bl-overlay\" id=\"overlay\"></div>' +\n\t    '</div>';\n\tBorderLayout.TEMPLATE_NORMAL = '<div class=\"ag-bl ag-bl-normal\">' +\n\t    '  <div id=\"north\"></div>' +\n\t    '  <div class=\"ag-bl-center-row ag-bl-normal-center-row\" id=\"centerRow\">' +\n\t    '    <div class=\"ag-bl-west ag-bl-normal-west\" id=\"west\"></div>' +\n\t    '    <div class=\"ag-bl-east ag-bl-normal-east\" id=\"east\"></div>' +\n\t    '    <div class=\"ag-bl-center ag-bl-normal-center\" id=\"center\"></div>' +\n\t    '  </div>' +\n\t    '  <div id=\"south\"></div>' +\n\t    '  <div class=\"ag-bl-overlay\" id=\"overlay\"></div>' +\n\t    '</div>';\n\tBorderLayout.TEMPLATE_DONT_FILL = '<div class=\"ag-bl ag-bl-dont-fill\">' +\n\t    '  <div id=\"north\"></div>' +\n\t    '  <div id=\"centerRow\">' +\n\t    '    <div id=\"west\"></div>' +\n\t    '    <div id=\"east\"></div>' +\n\t    '    <div id=\"center\"></div>' +\n\t    '  </div>' +\n\t    '  <div id=\"south\"></div>' +\n\t    '  <div class=\"ag-bl-overlay\" id=\"overlay\"></div>' +\n\t    '</div>';\n\texports.BorderLayout = BorderLayout;\n\n\n/***/ }),\n/* 34 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar context_1 = __webpack_require__(8);\n\tvar logger_1 = __webpack_require__(7);\n\tvar utils_1 = __webpack_require__(9);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar events_1 = __webpack_require__(12);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\t/** Adds drag listening onto an element. In ag-Grid this is used twice, first is resizing columns,\n\t * second is moving the columns and column groups around (ie the 'drag' part of Drag and Drop. */\n\tvar DragService = (function () {\n\t    function DragService() {\n\t        this.onMouseUpListener = this.onMouseUp.bind(this);\n\t        this.onMouseMoveListener = this.onMouseMove.bind(this);\n\t        this.onTouchEndListener = this.onTouchUp.bind(this);\n\t        this.onTouchMoveListener = this.onTouchMove.bind(this);\n\t        this.dragEndFunctions = [];\n\t        this.dragSources = [];\n\t    }\n\t    DragService.prototype.init = function () {\n\t        this.logger = this.loggerFactory.create('DragService');\n\t    };\n\t    DragService.prototype.destroy = function () {\n\t        this.dragSources.forEach(this.removeListener.bind(this));\n\t        this.dragSources.length = 0;\n\t    };\n\t    DragService.prototype.removeListener = function (dragSourceAndListener) {\n\t        var element = dragSourceAndListener.dragSource.eElement;\n\t        var mouseDownListener = dragSourceAndListener.mouseDownListener;\n\t        element.removeEventListener('mousedown', mouseDownListener);\n\t        // remove touch listener only if it exists\n\t        if (dragSourceAndListener.touchEnabled) {\n\t            var touchStartListener = dragSourceAndListener.touchStartListener;\n\t            element.removeEventListener('touchstart', touchStartListener);\n\t        }\n\t    };\n\t    DragService.prototype.removeDragSource = function (params) {\n\t        var dragSourceAndListener = utils_1.Utils.find(this.dragSources, function (item) { return item.dragSource === params; });\n\t        if (!dragSourceAndListener) {\n\t            return;\n\t        }\n\t        this.removeListener(dragSourceAndListener);\n\t        utils_1.Utils.removeFromArray(this.dragSources, dragSourceAndListener);\n\t    };\n\t    DragService.prototype.setNoSelectToBody = function (noSelect) {\n\t        var usrDocument = this.gridOptionsWrapper.getDocument();\n\t        var eBody = usrDocument.querySelector('body');\n\t        if (utils_1.Utils.exists(eBody)) {\n\t            utils_1.Utils.addOrRemoveCssClass(eBody, 'ag-body-no-select', noSelect);\n\t        }\n\t    };\n\t    DragService.prototype.addDragSource = function (params, includeTouch) {\n\t        if (includeTouch === void 0) { includeTouch = false; }\n\t        var mouseListener = this.onMouseDown.bind(this, params);\n\t        params.eElement.addEventListener('mousedown', mouseListener);\n\t        var touchListener = null;\n\t        var suppressTouch = this.gridOptionsWrapper.isSuppressTouch();\n\t        var reallyIncludeTouch = includeTouch && !suppressTouch;\n\t        if (reallyIncludeTouch) {\n\t            touchListener = this.onTouchStart.bind(this, params);\n\t            params.eElement.addEventListener('touchstart', touchListener);\n\t        }\n\t        this.dragSources.push({\n\t            dragSource: params,\n\t            mouseDownListener: mouseListener,\n\t            touchStartListener: touchListener,\n\t            touchEnabled: includeTouch\n\t        });\n\t    };\n\t    // gets called whenever mouse down on any drag source\n\t    DragService.prototype.onTouchStart = function (params, touchEvent) {\n\t        var _this = this;\n\t        this.currentDragParams = params;\n\t        this.dragging = false;\n\t        var touch = touchEvent.touches[0];\n\t        this.touchLastTime = touch;\n\t        this.touchStart = touch;\n\t        touchEvent.preventDefault();\n\t        // we temporally add these listeners, for the duration of the drag, they\n\t        // are removed in touch end handling.\n\t        params.eElement.addEventListener('touchmove', this.onTouchMoveListener);\n\t        params.eElement.addEventListener('touchend', this.onTouchEndListener);\n\t        params.eElement.addEventListener('touchcancel', this.onTouchEndListener);\n\t        this.dragEndFunctions.push(function () {\n\t            params.eElement.removeEventListener('touchmove', _this.onTouchMoveListener);\n\t            params.eElement.removeEventListener('touchend', _this.onTouchEndListener);\n\t            params.eElement.removeEventListener('touchcancel', _this.onTouchEndListener);\n\t        });\n\t        // see if we want to start dragging straight away\n\t        if (params.dragStartPixels === 0) {\n\t            this.onCommonMove(touch, this.touchStart);\n\t        }\n\t    };\n\t    // gets called whenever mouse down on any drag source\n\t    DragService.prototype.onMouseDown = function (params, mouseEvent) {\n\t        var _this = this;\n\t        // only interested in left button clicks\n\t        if (mouseEvent.button !== 0) {\n\t            return;\n\t        }\n\t        this.currentDragParams = params;\n\t        this.dragging = false;\n\t        this.mouseEventLastTime = mouseEvent;\n\t        this.mouseStartEvent = mouseEvent;\n\t        var usrDocument = this.gridOptionsWrapper.getDocument();\n\t        // we temporally add these listeners, for the duration of the drag, they\n\t        // are removed in mouseup handling.\n\t        usrDocument.addEventListener('mousemove', this.onMouseMoveListener);\n\t        usrDocument.addEventListener('mouseup', this.onMouseUpListener);\n\t        this.dragEndFunctions.push(function () {\n\t            usrDocument.removeEventListener('mousemove', _this.onMouseMoveListener);\n\t            usrDocument.removeEventListener('mouseup', _this.onMouseUpListener);\n\t        });\n\t        // see if we want to start dragging straight away\n\t        if (params.dragStartPixels === 0) {\n\t            this.onMouseMove(mouseEvent);\n\t        }\n\t    };\n\t    // returns true if the event is close to the original event by X pixels either vertically or horizontally.\n\t    // we only start dragging after X pixels so this allows us to know if we should start dragging yet.\n\t    DragService.prototype.isEventNearStartEvent = function (currentEvent, startEvent) {\n\t        // by default, we wait 4 pixels before starting the drag\n\t        var requiredPixelDiff = utils_1.Utils.exists(this.currentDragParams.dragStartPixels) ? this.currentDragParams.dragStartPixels : 4;\n\t        return utils_1.Utils.areEventsNear(currentEvent, startEvent, requiredPixelDiff);\n\t    };\n\t    DragService.prototype.getFirstActiveTouch = function (touchList) {\n\t        for (var i = 0; i < touchList.length; i++) {\n\t            var matches = touchList[i].identifier === this.touchStart.identifier;\n\t            if (matches) {\n\t                return touchList[i];\n\t            }\n\t        }\n\t        return null;\n\t    };\n\t    DragService.prototype.onCommonMove = function (currentEvent, startEvent) {\n\t        if (!this.dragging) {\n\t            // if mouse hasn't travelled from the start position enough, do nothing\n\t            var toEarlyToDrag = !this.dragging && this.isEventNearStartEvent(currentEvent, startEvent);\n\t            if (toEarlyToDrag) {\n\t                return;\n\t            }\n\t            else {\n\t                // alert(`started`);\n\t                this.dragging = true;\n\t                this.eventService.dispatchEvent(events_1.Events.EVENT_DRAG_STARTED);\n\t                this.currentDragParams.onDragStart(startEvent);\n\t                this.setNoSelectToBody(true);\n\t            }\n\t        }\n\t        this.currentDragParams.onDragging(currentEvent);\n\t    };\n\t    DragService.prototype.onTouchMove = function (touchEvent) {\n\t        var touch = this.getFirstActiveTouch(touchEvent.touches);\n\t        if (!touch) {\n\t            return;\n\t        }\n\t        // this.___statusBar.setInfoText(Math.random() + ' onTouchMove preventDefault stopPropagation');\n\t        this.onCommonMove(touch, this.touchStart);\n\t    };\n\t    // only gets called after a mouse down - as this is only added after mouseDown\n\t    // and is removed when mouseUp happens\n\t    DragService.prototype.onMouseMove = function (mouseEvent) {\n\t        this.onCommonMove(mouseEvent, this.mouseStartEvent);\n\t    };\n\t    DragService.prototype.onTouchUp = function (touchEvent) {\n\t        var touch = this.getFirstActiveTouch(touchEvent.targetTouches);\n\t        // i haven't worked this out yet, but there is no matching touch\n\t        // when we get the touch up event. to get around this, we swap in\n\t        // the last touch. this is a hack to 'get it working' while we\n\t        // figure out what's going on, why we are not getting a touch in\n\t        // current event.\n\t        if (!touch) {\n\t            touch = this.touchLastTime;\n\t        }\n\t        // if mouse was left up before we started to move, then this is a tap.\n\t        // we check this before onUpCommon as onUpCommon resets the dragging\n\t        // var tap = !this.dragging;\n\t        // var tapTarget = this.currentDragParams.eElement;\n\t        this.onUpCommon(touch);\n\t        // if tap, tell user\n\t        // console.log(`${Math.random()} tap = ${tap}`);\n\t        // if (tap) {\n\t        //     tapTarget.click();\n\t        // }\n\t    };\n\t    DragService.prototype.onMouseUp = function (mouseEvent) {\n\t        this.onUpCommon(mouseEvent);\n\t    };\n\t    DragService.prototype.onUpCommon = function (eventOrTouch) {\n\t        if (this.dragging) {\n\t            this.dragging = false;\n\t            this.currentDragParams.onDragStop(eventOrTouch);\n\t            this.eventService.dispatchEvent(events_1.Events.EVENT_DRAG_STOPPED);\n\t        }\n\t        this.setNoSelectToBody(false);\n\t        this.mouseStartEvent = null;\n\t        this.mouseEventLastTime = null;\n\t        this.touchStart = null;\n\t        this.touchLastTime = null;\n\t        this.currentDragParams = null;\n\t        this.dragEndFunctions.forEach(function (func) { return func(); });\n\t        this.dragEndFunctions.length = 0;\n\t    };\n\t    return DragService;\n\t}());\n\t__decorate([\n\t    context_1.Autowired('loggerFactory'),\n\t    __metadata(\"design:type\", logger_1.LoggerFactory)\n\t], DragService.prototype, \"loggerFactory\", void 0);\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], DragService.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], DragService.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], DragService.prototype, \"init\", null);\n\t__decorate([\n\t    context_1.PreDestroy,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], DragService.prototype, \"destroy\", null);\n\tDragService = __decorate([\n\t    context_1.Bean('dragService')\n\t], DragService);\n\texports.DragService = DragService;\n\n\n/***/ }),\n/* 35 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar context_1 = __webpack_require__(8);\n\tvar context_2 = __webpack_require__(8);\n\tvar utils_1 = __webpack_require__(9);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar MouseEventService = (function () {\n\t    function MouseEventService() {\n\t    }\n\t    MouseEventService.prototype.getRenderedCellForEvent = function (event) {\n\t        var domDataKey = this.gridOptionsWrapper.getDomDataKey();\n\t        var sourceElement = utils_1.Utils.getTarget(event);\n\t        while (sourceElement) {\n\t            var domData = sourceElement[domDataKey];\n\t            if (domData && domData.renderedCell) {\n\t                var renderedCell = domData.renderedCell;\n\t                return renderedCell;\n\t            }\n\t            sourceElement = sourceElement.parentElement;\n\t        }\n\t        return null;\n\t    };\n\t    MouseEventService.prototype.getGridCellForEvent = function (event) {\n\t        var renderedCell = this.getRenderedCellForEvent(event);\n\t        return renderedCell ? renderedCell.getGridCell() : null;\n\t    };\n\t    return MouseEventService;\n\t}());\n\t__decorate([\n\t    context_2.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], MouseEventService.prototype, \"gridOptionsWrapper\", void 0);\n\tMouseEventService = __decorate([\n\t    context_1.Bean('mouseEventService')\n\t], MouseEventService);\n\texports.MouseEventService = MouseEventService;\n\n\n/***/ }),\n/* 36 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar context_1 = __webpack_require__(8);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar events_1 = __webpack_require__(12);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar utils_1 = __webpack_require__(9);\n\tvar gridCell_1 = __webpack_require__(37);\n\tvar constants_1 = __webpack_require__(10);\n\tvar FocusedCellController = (function () {\n\t    function FocusedCellController() {\n\t    }\n\t    FocusedCellController.prototype.init = function () {\n\t        this.eventService.addEventListener(events_1.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED, this.clearFocusedCell.bind(this));\n\t        this.eventService.addEventListener(events_1.Events.EVENT_COLUMN_EVERYTHING_CHANGED, this.clearFocusedCell.bind(this));\n\t        this.eventService.addEventListener(events_1.Events.EVENT_COLUMN_GROUP_OPENED, this.clearFocusedCell.bind(this));\n\t        this.eventService.addEventListener(events_1.Events.EVENT_COLUMN_MOVED, this.clearFocusedCell.bind(this));\n\t        this.eventService.addEventListener(events_1.Events.EVENT_COLUMN_PINNED, this.clearFocusedCell.bind(this));\n\t        this.eventService.addEventListener(events_1.Events.EVENT_COLUMN_ROW_GROUP_CHANGED, this.clearFocusedCell.bind(this));\n\t        this.eventService.addEventListener(events_1.Events.EVENT_COLUMN_VISIBLE, this.clearFocusedCell.bind(this));\n\t    };\n\t    FocusedCellController.prototype.clearFocusedCell = function () {\n\t        this.focusedCell = null;\n\t        this.onCellFocused(false);\n\t    };\n\t    FocusedCellController.prototype.getFocusedCell = function () {\n\t        return this.focusedCell;\n\t    };\n\t    // we check if the browser is focusing something, and if it is, and\n\t    // it's the cell we think is focused, then return the cell. so this\n\t    // methods returns the cell if a) we think it has focus and b) the\n\t    // browser thinks it has focus. this then returns nothing if we\n\t    // first focus a cell, then second click outside the grid, as then the\n\t    // grid cell will still be focused as far as the grid is concerned,\n\t    // however the browser focus will have moved somewhere else.\n\t    FocusedCellController.prototype.getFocusCellToUseAfterRefresh = function () {\n\t        if (this.gridOptionsWrapper.isSuppressFocusAfterRefresh()) {\n\t            return null;\n\t        }\n\t        if (!this.focusedCell) {\n\t            return null;\n\t        }\n\t        var browserFocusedCell = this.getGridCellForDomElement(document.activeElement);\n\t        if (!browserFocusedCell) {\n\t            return null;\n\t        }\n\t        var gridFocusId = this.focusedCell.createId();\n\t        var browserFocusId = browserFocusedCell.createId();\n\t        if (gridFocusId === browserFocusId) {\n\t            return this.focusedCell;\n\t        }\n\t        else {\n\t            return null;\n\t        }\n\t    };\n\t    FocusedCellController.prototype.getGridCellForDomElement = function (eBrowserCell) {\n\t        if (!eBrowserCell) {\n\t            return null;\n\t        }\n\t        var column = null;\n\t        var row = null;\n\t        var floating = null;\n\t        var that = this;\n\t        while (eBrowserCell) {\n\t            checkRow(eBrowserCell);\n\t            checkColumn(eBrowserCell);\n\t            eBrowserCell = eBrowserCell.parentNode;\n\t        }\n\t        if (utils_1.Utils.exists(column) && utils_1.Utils.exists(row)) {\n\t            var gridCell = new gridCell_1.GridCell({ rowIndex: row, floating: floating, column: column });\n\t            return gridCell;\n\t        }\n\t        else {\n\t            return null;\n\t        }\n\t        function checkRow(eTarget) {\n\t            // match the column by checking a) it has a valid colId and b) it has the 'ag-cell' class\n\t            var rowId = utils_1.Utils.getElementAttribute(eTarget, 'row');\n\t            if (utils_1.Utils.exists(rowId) && utils_1.Utils.containsClass(eTarget, 'ag-row')) {\n\t                if (rowId.indexOf('ft') === 0) {\n\t                    floating = constants_1.Constants.FLOATING_TOP;\n\t                    rowId = rowId.substr(3);\n\t                }\n\t                else if (rowId.indexOf('fb') === 0) {\n\t                    floating = constants_1.Constants.FLOATING_BOTTOM;\n\t                    rowId = rowId.substr(3);\n\t                }\n\t                else {\n\t                    floating = null;\n\t                }\n\t                row = parseInt(rowId);\n\t            }\n\t        }\n\t        function checkColumn(eTarget) {\n\t            // match the column by checking a) it has a valid colId and b) it has the 'ag-cell' class\n\t            var colId = utils_1.Utils.getElementAttribute(eTarget, 'colid');\n\t            if (utils_1.Utils.exists(colId) && utils_1.Utils.containsClass(eTarget, 'ag-cell')) {\n\t                var foundColumn = that.columnController.getGridColumn(colId);\n\t                if (foundColumn) {\n\t                    column = foundColumn;\n\t                }\n\t            }\n\t        }\n\t    };\n\t    FocusedCellController.prototype.setFocusedCell = function (rowIndex, colKey, floating, forceBrowserFocus) {\n\t        if (forceBrowserFocus === void 0) { forceBrowserFocus = false; }\n\t        if (this.gridOptionsWrapper.isSuppressCellSelection()) {\n\t            return;\n\t        }\n\t        var column = utils_1.Utils.makeNull(this.columnController.getGridColumn(colKey));\n\t        this.focusedCell = new gridCell_1.GridCell({ rowIndex: rowIndex,\n\t            floating: utils_1.Utils.makeNull(floating),\n\t            column: column });\n\t        this.onCellFocused(forceBrowserFocus);\n\t    };\n\t    FocusedCellController.prototype.isCellFocused = function (gridCell) {\n\t        if (utils_1.Utils.missing(this.focusedCell)) {\n\t            return false;\n\t        }\n\t        return this.focusedCell.column === gridCell.column && this.isRowFocused(gridCell.rowIndex, gridCell.floating);\n\t    };\n\t    FocusedCellController.prototype.isRowNodeFocused = function (rowNode) {\n\t        return this.isRowFocused(rowNode.rowIndex, rowNode.floating);\n\t    };\n\t    FocusedCellController.prototype.isAnyCellFocused = function () {\n\t        return !!this.focusedCell;\n\t    };\n\t    FocusedCellController.prototype.isRowFocused = function (rowIndex, floating) {\n\t        if (utils_1.Utils.missing(this.focusedCell)) {\n\t            return false;\n\t        }\n\t        var floatingOrNull = utils_1.Utils.makeNull(floating);\n\t        return this.focusedCell.rowIndex === rowIndex && this.focusedCell.floating === floatingOrNull;\n\t    };\n\t    FocusedCellController.prototype.onCellFocused = function (forceBrowserFocus) {\n\t        var event = {\n\t            rowIndex: null,\n\t            column: null,\n\t            floating: null,\n\t            forceBrowserFocus: forceBrowserFocus\n\t        };\n\t        if (this.focusedCell) {\n\t            event.rowIndex = this.focusedCell.rowIndex;\n\t            event.column = this.focusedCell.column;\n\t            event.floating = this.focusedCell.floating;\n\t        }\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_CELL_FOCUSED, event);\n\t    };\n\t    return FocusedCellController;\n\t}());\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], FocusedCellController.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], FocusedCellController.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", columnController_1.ColumnController)\n\t], FocusedCellController.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], FocusedCellController.prototype, \"init\", null);\n\tFocusedCellController = __decorate([\n\t    context_1.Bean('focusedCellController')\n\t], FocusedCellController);\n\texports.FocusedCellController = FocusedCellController;\n\n\n/***/ }),\n/* 37 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar utils_1 = __webpack_require__(9);\n\tvar gridRow_1 = __webpack_require__(38);\n\tvar GridCell = (function () {\n\t    function GridCell(gridCellDef) {\n\t        this.rowIndex = gridCellDef.rowIndex;\n\t        this.column = gridCellDef.column;\n\t        this.floating = utils_1.Utils.makeNull(gridCellDef.floating);\n\t    }\n\t    GridCell.prototype.getGridCellDef = function () {\n\t        return {\n\t            rowIndex: this.rowIndex,\n\t            column: this.column,\n\t            floating: this.floating\n\t        };\n\t    };\n\t    GridCell.prototype.getGridRow = function () {\n\t        return new gridRow_1.GridRow(this.rowIndex, this.floating);\n\t    };\n\t    GridCell.prototype.toString = function () {\n\t        return \"rowIndex = \" + this.rowIndex + \", floating = \" + this.floating + \", column = \" + (this.column ? this.column.getId() : null);\n\t    };\n\t    GridCell.prototype.createId = function () {\n\t        return this.rowIndex + \".\" + this.floating + \".\" + this.column.getId();\n\t    };\n\t    return GridCell;\n\t}());\n\texports.GridCell = GridCell;\n\n\n/***/ }),\n/* 38 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar constants_1 = __webpack_require__(10);\n\tvar utils_1 = __webpack_require__(9);\n\tvar gridCell_1 = __webpack_require__(37);\n\tvar GridRow = (function () {\n\t    function GridRow(rowIndex, floating) {\n\t        this.rowIndex = rowIndex;\n\t        this.floating = utils_1.Utils.makeNull(floating);\n\t    }\n\t    GridRow.prototype.isFloatingTop = function () {\n\t        return this.floating === constants_1.Constants.FLOATING_TOP;\n\t    };\n\t    GridRow.prototype.isFloatingBottom = function () {\n\t        return this.floating === constants_1.Constants.FLOATING_BOTTOM;\n\t    };\n\t    GridRow.prototype.isNotFloating = function () {\n\t        return !this.isFloatingBottom() && !this.isFloatingTop();\n\t    };\n\t    GridRow.prototype.equals = function (otherSelection) {\n\t        return this.rowIndex === otherSelection.rowIndex\n\t            && this.floating === otherSelection.floating;\n\t    };\n\t    GridRow.prototype.toString = function () {\n\t        return \"rowIndex = \" + this.rowIndex + \", floating = \" + this.floating;\n\t    };\n\t    GridRow.prototype.getGridCell = function (column) {\n\t        var gridCellDef = { rowIndex: this.rowIndex, floating: this.floating, column: column };\n\t        return new gridCell_1.GridCell(gridCellDef);\n\t    };\n\t    // tests if this row selection is before the other row selection\n\t    GridRow.prototype.before = function (otherSelection) {\n\t        var otherFloating = otherSelection.floating;\n\t        switch (this.floating) {\n\t            case constants_1.Constants.FLOATING_TOP:\n\t                // we we are floating top, and other isn't, then we are always before\n\t                if (otherFloating !== constants_1.Constants.FLOATING_TOP) {\n\t                    return true;\n\t                }\n\t                break;\n\t            case constants_1.Constants.FLOATING_BOTTOM:\n\t                // if we are floating bottom, and the other isn't, then we are never before\n\t                if (otherFloating !== constants_1.Constants.FLOATING_BOTTOM) {\n\t                    return false;\n\t                }\n\t                break;\n\t            default:\n\t                // if we are not floating, but the other one is floating...\n\t                if (utils_1.Utils.exists(otherFloating)) {\n\t                    if (otherFloating === constants_1.Constants.FLOATING_TOP) {\n\t                        // we are not floating, other is floating top, we are first\n\t                        return false;\n\t                    }\n\t                    else {\n\t                        // we are not floating, other is floating bottom, we are always first\n\t                        return true;\n\t                    }\n\t                }\n\t                break;\n\t        }\n\t        return this.rowIndex <= otherSelection.rowIndex;\n\t    };\n\t    return GridRow;\n\t}());\n\texports.GridRow = GridRow;\n\n\n/***/ }),\n/* 39 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar context_1 = __webpack_require__(8);\n\tvar utils_1 = __webpack_require__(9);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar events_1 = __webpack_require__(12);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar ScrollVisibleService = (function () {\n\t    function ScrollVisibleService() {\n\t    }\n\t    ScrollVisibleService.prototype.setScrollsVisible = function (params) {\n\t        var atLeastOneDifferent = this.vBody !== params.vBody\n\t            || this.hBody !== params.hBody\n\t            || this.vPinnedLeft !== params.vPinnedLeft\n\t            || this.vPinnedRight !== params.vPinnedRight;\n\t        if (atLeastOneDifferent) {\n\t            this.vBody = params.vBody;\n\t            this.hBody = params.hBody;\n\t            this.vPinnedLeft = params.vPinnedLeft;\n\t            this.vPinnedRight = params.vPinnedRight;\n\t            this.eventService.dispatchEvent(events_1.Events.EVENT_SCROLL_VISIBILITY_CHANGED);\n\t        }\n\t    };\n\t    ScrollVisibleService.prototype.isVBodyShowing = function () {\n\t        return this.vBody;\n\t    };\n\t    ScrollVisibleService.prototype.isHBodyShowing = function () {\n\t        return this.hBody;\n\t    };\n\t    ScrollVisibleService.prototype.isVPinnedLeftShowing = function () {\n\t        return this.vPinnedLeft;\n\t    };\n\t    ScrollVisibleService.prototype.isVPinnedRightShowing = function () {\n\t        return this.vPinnedRight;\n\t    };\n\t    ScrollVisibleService.prototype.getPinnedLeftWidth = function () {\n\t        return this.columnController.getPinnedLeftContainerWidth();\n\t    };\n\t    ScrollVisibleService.prototype.getPinnedLeftWithScrollWidth = function () {\n\t        var result = this.getPinnedLeftWidth();\n\t        if (this.vPinnedLeft) {\n\t            result += utils_1.Utils.getScrollbarWidth();\n\t        }\n\t        return result;\n\t    };\n\t    ScrollVisibleService.prototype.getPinnedRightWidth = function () {\n\t        return this.columnController.getPinnedRightContainerWidth();\n\t    };\n\t    ScrollVisibleService.prototype.getPinnedRightWithScrollWidth = function () {\n\t        var result = this.getPinnedRightWidth();\n\t        if (this.vPinnedRight) {\n\t            result += utils_1.Utils.getScrollbarWidth();\n\t        }\n\t        return result;\n\t    };\n\t    return ScrollVisibleService;\n\t}());\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], ScrollVisibleService.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", columnController_1.ColumnController)\n\t], ScrollVisibleService.prototype, \"columnController\", void 0);\n\tScrollVisibleService = __decorate([\n\t    context_1.Bean('scrollVisibleService')\n\t], ScrollVisibleService);\n\texports.ScrollVisibleService = ScrollVisibleService;\n\n\n/***/ }),\n/* 40 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar eventService_1 = __webpack_require__(6);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar BeanStub = (function () {\n\t    function BeanStub() {\n\t        this.destroyFunctions = [];\n\t    }\n\t    BeanStub.prototype.destroy = function () {\n\t        this.destroyFunctions.forEach(function (func) { return func(); });\n\t        this.destroyFunctions.length = 0;\n\t    };\n\t    BeanStub.prototype.addEventListener = function (eventType, listener) {\n\t        if (!this.localEventService) {\n\t            this.localEventService = new eventService_1.EventService();\n\t        }\n\t        this.localEventService.addEventListener(eventType, listener);\n\t    };\n\t    BeanStub.prototype.removeEventListener = function (eventType, listener) {\n\t        if (this.localEventService) {\n\t            this.localEventService.removeEventListener(eventType, listener);\n\t        }\n\t    };\n\t    BeanStub.prototype.dispatchEventAsync = function (eventType, event) {\n\t        var _this = this;\n\t        setTimeout(function () { return _this.dispatchEvent(eventType, event); }, 0);\n\t    };\n\t    BeanStub.prototype.dispatchEvent = function (eventType, event) {\n\t        if (this.localEventService) {\n\t            this.localEventService.dispatchEvent(eventType, event);\n\t        }\n\t    };\n\t    BeanStub.prototype.addDestroyableEventListener = function (eElement, event, listener) {\n\t        if (eElement instanceof HTMLElement) {\n\t            eElement.addEventListener(event, listener);\n\t        }\n\t        else if (eElement instanceof gridOptionsWrapper_1.GridOptionsWrapper) {\n\t            eElement.addEventListener(event, listener);\n\t        }\n\t        else {\n\t            eElement.addEventListener(event, listener);\n\t        }\n\t        this.destroyFunctions.push(function () {\n\t            if (eElement instanceof HTMLElement) {\n\t                eElement.removeEventListener(event, listener);\n\t            }\n\t            else if (eElement instanceof gridOptionsWrapper_1.GridOptionsWrapper) {\n\t                eElement.removeEventListener(event, listener);\n\t            }\n\t            else {\n\t                eElement.removeEventListener(event, listener);\n\t            }\n\t        });\n\t    };\n\t    BeanStub.prototype.addDestroyFunc = function (func) {\n\t        this.destroyFunctions.push(func);\n\t    };\n\t    return BeanStub;\n\t}());\n\texports.BeanStub = BeanStub;\n\n\n/***/ }),\n/* 41 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar utils_1 = __webpack_require__(9);\n\t/**\n\t * There are many instances of this component covering each of the areas a row can be entered\n\t * eg body, pinned left, fullWidth. The component differs from others in that it's given the\n\t * elements, there is no template. All of the elements are part of the GridPanel.\n\t */\n\tvar RowContainerComponent = (function () {\n\t    function RowContainerComponent(params) {\n\t        this.childCount = 0;\n\t        this.eContainer = params.eContainer;\n\t        this.eViewport = params.eViewport;\n\t        if (params.useDocumentFragment) {\n\t            this.setupDocumentFragment();\n\t        }\n\t        this.hideWhenNoChildren = params.hideWhenNoChildren;\n\t        this.checkVisibility();\n\t    }\n\t    RowContainerComponent.prototype.setupDocumentFragment = function () {\n\t        var browserSupportsDocumentFragment = !!document.createDocumentFragment;\n\t        if (browserSupportsDocumentFragment) {\n\t            this.eDocumentFragment = document.createDocumentFragment();\n\t        }\n\t    };\n\t    RowContainerComponent.prototype.setHeight = function (height) {\n\t        this.eContainer.style.height = height + \"px\";\n\t    };\n\t    RowContainerComponent.prototype.appendRowElement = function (eRow) {\n\t        var eTarget = this.eDocumentFragment ? this.eDocumentFragment : this.eContainer;\n\t        eTarget.appendChild(eRow);\n\t        this.childCount++;\n\t        this.checkVisibility();\n\t    };\n\t    RowContainerComponent.prototype.removeRowElement = function (eRow) {\n\t        this.eContainer.removeChild(eRow);\n\t        this.childCount--;\n\t        this.checkVisibility();\n\t    };\n\t    RowContainerComponent.prototype.flushDocumentFragment = function () {\n\t        if (utils_1.Utils.exists(this.eDocumentFragment)) {\n\t            // we prepend rather than append so that new rows appear under current rows. this way the new\n\t            // rows are not over the current rows which will get animation as they slid to new position\n\t            utils_1.Utils.prependDC(this.eContainer, this.eDocumentFragment);\n\t        }\n\t    };\n\t    RowContainerComponent.prototype.checkVisibility = function () {\n\t        if (!this.hideWhenNoChildren) {\n\t            return;\n\t        }\n\t        var eGui = this.eViewport ? this.eViewport : this.eContainer;\n\t        var visible = this.childCount > 0;\n\t        if (this.visible !== visible) {\n\t            this.visible = visible;\n\t            utils_1.Utils.setVisible(eGui, visible);\n\t        }\n\t    };\n\t    return RowContainerComponent;\n\t}());\n\texports.RowContainerComponent = RowContainerComponent;\n\n\n/***/ }),\n/* 42 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar beanStub_1 = __webpack_require__(40);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar events_1 = __webpack_require__(12);\n\tvar utils_1 = __webpack_require__(9);\n\tvar context_1 = __webpack_require__(8);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar gridPanel_1 = __webpack_require__(27);\n\tvar scrollVisibleService_1 = __webpack_require__(39);\n\tvar RowBounds = (function () {\n\t    function RowBounds() {\n\t    }\n\t    return RowBounds;\n\t}());\n\texports.RowBounds = RowBounds;\n\tvar PaginationAutoPageSizeService = (function (_super) {\n\t    __extends(PaginationAutoPageSizeService, _super);\n\t    function PaginationAutoPageSizeService() {\n\t        return _super !== null && _super.apply(this, arguments) || this;\n\t    }\n\t    PaginationAutoPageSizeService.prototype.notActive = function () {\n\t        return !this.gridOptionsWrapper.isPaginationAutoPageSize();\n\t    };\n\t    PaginationAutoPageSizeService.prototype.postConstruct = function () {\n\t        this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_BODY_HEIGHT_CHANGED, this.onBodyHeightChanged.bind(this));\n\t        this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_SCROLL_VISIBILITY_CHANGED, this.onScrollVisibilityChanged.bind(this));\n\t        this.checkPageSize();\n\t    };\n\t    PaginationAutoPageSizeService.prototype.onScrollVisibilityChanged = function () {\n\t        this.checkPageSize();\n\t    };\n\t    PaginationAutoPageSizeService.prototype.onBodyHeightChanged = function () {\n\t        this.checkPageSize();\n\t    };\n\t    PaginationAutoPageSizeService.prototype.checkPageSize = function () {\n\t        if (this.notActive()) {\n\t            return;\n\t        }\n\t        var rowHeight = this.gridOptionsWrapper.getRowHeightAsNumber();\n\t        var bodyHeight = this.gridPanel.getBodyHeight();\n\t        if (this.scrollVisibleService.isHBodyShowing()) {\n\t            bodyHeight = bodyHeight - this.gridOptionsWrapper.getScrollbarWidth();\n\t        }\n\t        if (bodyHeight > 0) {\n\t            var newPageSize = Math.floor(bodyHeight / rowHeight);\n\t            this.gridOptionsWrapper.setProperty('paginationPageSize', newPageSize);\n\t        }\n\t    };\n\t    return PaginationAutoPageSizeService;\n\t}(beanStub_1.BeanStub));\n\t__decorate([\n\t    context_1.Autowired('gridPanel'),\n\t    __metadata(\"design:type\", gridPanel_1.GridPanel)\n\t], PaginationAutoPageSizeService.prototype, \"gridPanel\", void 0);\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], PaginationAutoPageSizeService.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], PaginationAutoPageSizeService.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('scrollVisibleService'),\n\t    __metadata(\"design:type\", scrollVisibleService_1.ScrollVisibleService)\n\t], PaginationAutoPageSizeService.prototype, \"scrollVisibleService\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], PaginationAutoPageSizeService.prototype, \"postConstruct\", null);\n\tPaginationAutoPageSizeService = __decorate([\n\t    context_1.Bean('paginationAutoPageSizeService')\n\t], PaginationAutoPageSizeService);\n\texports.PaginationAutoPageSizeService = PaginationAutoPageSizeService;\n\tvar PaginationProxy = (function (_super) {\n\t    __extends(PaginationProxy, _super);\n\t    function PaginationProxy() {\n\t        var _this = _super !== null && _super.apply(this, arguments) || this;\n\t        _this.currentPage = 0;\n\t        _this.topRowIndex = 0;\n\t        _this.bottomRowIndex = 0;\n\t        _this.pixelOffset = 0;\n\t        return _this;\n\t    }\n\t    PaginationProxy.prototype.postConstruct = function () {\n\t        this.active = this.gridOptionsWrapper.isPagination();\n\t        this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_MODEL_UPDATED, this.onModelUpdated.bind(this));\n\t        this.addDestroyableEventListener(this.gridOptionsWrapper, 'paginationPageSize', this.onModelUpdated.bind(this));\n\t        this.onModelUpdated();\n\t        var paginationStartPage = this.gridOptionsWrapper.getPaginationStartPage();\n\t        this.currentPage = paginationStartPage ? paginationStartPage : 0;\n\t    };\n\t    PaginationProxy.prototype.isLastRowFound = function () {\n\t        return this.rowModel.isLastRowFound();\n\t    };\n\t    PaginationProxy.prototype.onModelUpdated = function (refreshEvent) {\n\t        this.setIndexesAndBounds();\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_PAGINATION_CHANGED, refreshEvent);\n\t    };\n\t    PaginationProxy.prototype.goToPage = function (page) {\n\t        if (!this.active) {\n\t            return;\n\t        }\n\t        if (this.currentPage === page) {\n\t            return;\n\t        }\n\t        this.currentPage = page;\n\t        var event = { animate: false, keepRenderedRows: false, newData: false, newPage: true };\n\t        this.onModelUpdated(event);\n\t    };\n\t    PaginationProxy.prototype.getPixelOffset = function () {\n\t        return this.pixelOffset;\n\t    };\n\t    PaginationProxy.prototype.getRow = function (index) {\n\t        return this.rowModel.getRow(index);\n\t    };\n\t    PaginationProxy.prototype.getRowIndexAtPixel = function (pixel) {\n\t        return this.rowModel.getRowIndexAtPixel(pixel);\n\t    };\n\t    PaginationProxy.prototype.getCurrentPageHeight = function () {\n\t        if (utils_1._.missing(this.topRowBounds) || utils_1._.missing(this.bottomRowBounds)) {\n\t            return 0;\n\t        }\n\t        return this.bottomRowBounds.rowTop + this.bottomRowBounds.rowHeight - this.topRowBounds.rowTop;\n\t    };\n\t    PaginationProxy.prototype.isRowPresent = function (rowNode) {\n\t        return this.isRowInPage(rowNode);\n\t    };\n\t    PaginationProxy.prototype.isRowInPage = function (rowNode) {\n\t        if (!this.rowModel.isRowPresent(rowNode)) {\n\t            return false;\n\t        }\n\t        var nodeIsInPage = rowNode.rowIndex >= this.topRowIndex && rowNode.rowIndex <= this.bottomRowIndex;\n\t        return nodeIsInPage;\n\t    };\n\t    PaginationProxy.prototype.insertItemsAtIndex = function (index, items, skipRefresh) {\n\t        return this.rowModel.insertItemsAtIndex(index, items, skipRefresh);\n\t    };\n\t    PaginationProxy.prototype.removeItems = function (rowNodes, skipRefresh) {\n\t        this.rowModel.removeItems(rowNodes, skipRefresh);\n\t    };\n\t    PaginationProxy.prototype.addItems = function (items, skipRefresh) {\n\t        this.rowModel.addItems(items, skipRefresh);\n\t    };\n\t    PaginationProxy.prototype.isEmpty = function () {\n\t        return this.rowModel.isEmpty();\n\t    };\n\t    PaginationProxy.prototype.isRowsToRender = function () {\n\t        return this.rowModel.isRowsToRender();\n\t    };\n\t    PaginationProxy.prototype.forEachNode = function (callback) {\n\t        return this.rowModel.forEachNode(callback);\n\t    };\n\t    PaginationProxy.prototype.getType = function () {\n\t        return this.rowModel.getType();\n\t    };\n\t    PaginationProxy.prototype.getRowBounds = function (index) {\n\t        return this.rowModel.getRowBounds(index);\n\t    };\n\t    PaginationProxy.prototype.getPageFirstRow = function () {\n\t        return this.pageSize * this.currentPage;\n\t    };\n\t    PaginationProxy.prototype.getPageLastRow = function () {\n\t        var totalLastRow = (this.pageSize * (this.currentPage + 1)) - 1;\n\t        var pageLastRow = this.rowModel.getPageLastRow();\n\t        if (pageLastRow > totalLastRow) {\n\t            return totalLastRow;\n\t        }\n\t        else {\n\t            return pageLastRow;\n\t        }\n\t    };\n\t    PaginationProxy.prototype.getRowCount = function () {\n\t        return this.rowModel.getRowCount();\n\t    };\n\t    PaginationProxy.prototype.goToPageWithIndex = function (index) {\n\t        if (!this.active) {\n\t            return;\n\t        }\n\t        var pageNumber = Math.floor(index / this.pageSize);\n\t        this.goToPage(pageNumber);\n\t    };\n\t    PaginationProxy.prototype.getTotalRowCount = function () {\n\t        return this.rowModel.getPageLastRow() + 1;\n\t    };\n\t    PaginationProxy.prototype.isLastPageFound = function () {\n\t        return this.rowModel.isLastRowFound();\n\t    };\n\t    PaginationProxy.prototype.getCurrentPage = function () {\n\t        return this.currentPage;\n\t    };\n\t    PaginationProxy.prototype.goToNextPage = function () {\n\t        this.goToPage(this.currentPage + 1);\n\t    };\n\t    PaginationProxy.prototype.goToPreviousPage = function () {\n\t        this.goToPage(this.currentPage - 1);\n\t    };\n\t    PaginationProxy.prototype.goToFirstPage = function () {\n\t        this.goToPage(0);\n\t    };\n\t    PaginationProxy.prototype.goToLastPage = function () {\n\t        var rowCount = this.rowModel.getPageLastRow() + 1;\n\t        var lastPage = Math.floor(rowCount / this.pageSize);\n\t        this.goToPage(lastPage);\n\t    };\n\t    PaginationProxy.prototype.getPageSize = function () {\n\t        return this.pageSize;\n\t    };\n\t    PaginationProxy.prototype.getTotalPages = function () {\n\t        return this.totalPages;\n\t    };\n\t    PaginationProxy.prototype.setPageSize = function () {\n\t        // show put this into super class\n\t        this.pageSize = this.gridOptionsWrapper.getPaginationPageSize();\n\t        if (!(this.pageSize >= 1)) {\n\t            this.pageSize = 100;\n\t        }\n\t    };\n\t    PaginationProxy.prototype.setIndexesAndBounds = function () {\n\t        if (this.active) {\n\t            this.setPageSize();\n\t            var totalRowCount = this.getTotalRowCount();\n\t            this.totalPages = Math.floor((totalRowCount - 1) / this.pageSize) + 1;\n\t            if (this.currentPage >= this.totalPages) {\n\t                this.currentPage = this.totalPages - 1;\n\t            }\n\t            if (!utils_1._.isNumeric(this.currentPage) || this.currentPage < 0) {\n\t                this.currentPage = 0;\n\t            }\n\t            this.topRowIndex = this.pageSize * this.currentPage;\n\t            this.bottomRowIndex = (this.pageSize * (this.currentPage + 1)) - 1;\n\t            var maxRowAllowed = this.rowModel.getPageLastRow();\n\t            if (this.bottomRowIndex > maxRowAllowed) {\n\t                this.bottomRowIndex = maxRowAllowed;\n\t            }\n\t        }\n\t        else {\n\t            this.pageSize = this.rowModel.getPageLastRow() + 1;\n\t            this.totalPages = 1;\n\t            this.currentPage = 0;\n\t            this.topRowIndex = 0;\n\t            this.bottomRowIndex = this.rowModel.getPageLastRow();\n\t        }\n\t        this.topRowBounds = this.rowModel.getRowBounds(this.topRowIndex);\n\t        this.bottomRowBounds = this.rowModel.getRowBounds(this.bottomRowIndex);\n\t        this.pixelOffset = utils_1._.exists(this.topRowBounds) ? this.topRowBounds.rowTop : 0;\n\t    };\n\t    return PaginationProxy;\n\t}(beanStub_1.BeanStub));\n\t__decorate([\n\t    context_1.Autowired('rowModel'),\n\t    __metadata(\"design:type\", Object)\n\t], PaginationProxy.prototype, \"rowModel\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridPanel'),\n\t    __metadata(\"design:type\", gridPanel_1.GridPanel)\n\t], PaginationProxy.prototype, \"gridPanel\", void 0);\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], PaginationProxy.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], PaginationProxy.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], PaginationProxy.prototype, \"postConstruct\", null);\n\tPaginationProxy = __decorate([\n\t    context_1.Bean('paginationProxy')\n\t], PaginationProxy);\n\texports.PaginationProxy = PaginationProxy;\n\n\n/***/ }),\n/* 43 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar context_1 = __webpack_require__(8);\n\tvar context_2 = __webpack_require__(8);\n\tvar TemplateService = (function () {\n\t    function TemplateService() {\n\t        this.templateCache = {};\n\t        this.waitingCallbacks = {};\n\t    }\n\t    // returns the template if it is loaded, or null if it is not loaded\n\t    // but will call the callback when it is loaded\n\t    TemplateService.prototype.getTemplate = function (url, callback) {\n\t        var templateFromCache = this.templateCache[url];\n\t        if (templateFromCache) {\n\t            return templateFromCache;\n\t        }\n\t        var callbackList = this.waitingCallbacks[url];\n\t        var that = this;\n\t        if (!callbackList) {\n\t            // first time this was called, so need a new list for callbacks\n\t            callbackList = [];\n\t            this.waitingCallbacks[url] = callbackList;\n\t            // and also need to do the http request\n\t            var client = new XMLHttpRequest();\n\t            client.onload = function () {\n\t                that.handleHttpResult(this, url);\n\t            };\n\t            client.open(\"GET\", url);\n\t            client.send();\n\t        }\n\t        // add this callback\n\t        if (callback) {\n\t            callbackList.push(callback);\n\t        }\n\t        // caller needs to wait for template to load, so return null\n\t        return null;\n\t    };\n\t    TemplateService.prototype.handleHttpResult = function (httpResult, url) {\n\t        if (httpResult.status !== 200 || httpResult.response === null) {\n\t            console.warn('Unable to get template error ' + httpResult.status + ' - ' + url);\n\t            return;\n\t        }\n\t        // response success, so process it\n\t        // in IE9 the response is in - responseText\n\t        this.templateCache[url] = httpResult.response || httpResult.responseText;\n\t        // inform all listeners that this is now in the cache\n\t        var callbacks = this.waitingCallbacks[url];\n\t        for (var i = 0; i < callbacks.length; i++) {\n\t            var callback = callbacks[i];\n\t            // we could pass the callback the response, however we know the client of this code\n\t            // is the cell renderer, and it passes the 'cellRefresh' method in as the callback\n\t            // which doesn't take any parameters.\n\t            callback();\n\t        }\n\t        if (this.$scope) {\n\t            var that = this;\n\t            setTimeout(function () {\n\t                that.$scope.$apply();\n\t            }, 0);\n\t        }\n\t    };\n\t    return TemplateService;\n\t}());\n\t__decorate([\n\t    context_2.Autowired('$scope'),\n\t    __metadata(\"design:type\", Object)\n\t], TemplateService.prototype, \"$scope\", void 0);\n\tTemplateService = __decorate([\n\t    context_1.Bean('templateService')\n\t], TemplateService);\n\texports.TemplateService = TemplateService;\n\n\n/***/ }),\n/* 44 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar utils_1 = __webpack_require__(9);\n\tvar renderedCell_1 = __webpack_require__(45);\n\tvar rowNode_1 = __webpack_require__(30);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar column_1 = __webpack_require__(18);\n\tvar events_1 = __webpack_require__(12);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar context_1 = __webpack_require__(8);\n\tvar focusedCellController_1 = __webpack_require__(36);\n\tvar constants_1 = __webpack_require__(10);\n\tvar cellRendererService_1 = __webpack_require__(79);\n\tvar cellRendererFactory_1 = __webpack_require__(75);\n\tvar gridPanel_1 = __webpack_require__(27);\n\tvar beanStub_1 = __webpack_require__(40);\n\tvar columnAnimationService_1 = __webpack_require__(65);\n\tvar paginationProxy_1 = __webpack_require__(42);\n\tvar RenderedRow = (function (_super) {\n\t    __extends(RenderedRow, _super);\n\t    function RenderedRow(parentScope, rowRenderer, bodyContainerComp, fullWidthContainerComp, pinnedLeftContainerComp, pinnedRightContainerComp, node, animateIn) {\n\t        var _this = _super.call(this) || this;\n\t        _this.eAllRowContainers = [];\n\t        _this.renderedCells = {};\n\t        // for animations, there are bits we want done in the next VM turn, to all DOM to update first.\n\t        // instead of each row doing a setTimeout(func,0), we put the functions here and the rowRenderer\n\t        // executes them all in one timeout\n\t        _this.nextVmTurnFunctions = [];\n\t        // for animations, these functions get called 400ms after the row is cleared, called by the rowRenderer\n\t        // so each row isn't setting up it's own timeout\n\t        _this.delayedDestroyFunctions = [];\n\t        // these get called before the row is destroyed - they set up the DOM for the remove animation (ie they\n\t        // set the DOM up for the animation), then the delayedDestroyFunctions get called when the animation is\n\t        // complete (ie removes from the dom).\n\t        _this.startRemoveAnimationFunctions = [];\n\t        _this.editingRow = false;\n\t        _this.initialised = false;\n\t        _this.parentScope = parentScope;\n\t        _this.rowRenderer = rowRenderer;\n\t        _this.bodyContainerComp = bodyContainerComp;\n\t        _this.fullWidthContainerComp = fullWidthContainerComp;\n\t        _this.pinnedLeftContainerComp = pinnedLeftContainerComp;\n\t        _this.pinnedRightContainerComp = pinnedRightContainerComp;\n\t        _this.rowNode = node;\n\t        _this.animateIn = animateIn;\n\t        return _this;\n\t    }\n\t    RenderedRow.prototype.setupRowContainers = function (animateInRowTop) {\n\t        var isFullWidthCellFunc = this.gridOptionsWrapper.getIsFullWidthCellFunc();\n\t        var isFullWidthCell = isFullWidthCellFunc ? isFullWidthCellFunc(this.rowNode) : false;\n\t        var isGroupSpanningRow = this.rowNode.group && this.gridOptionsWrapper.isGroupUseEntireRow();\n\t        if (isFullWidthCell) {\n\t            this.setupFullWidthContainers(animateInRowTop);\n\t        }\n\t        else if (isGroupSpanningRow) {\n\t            this.setupFullWidthGroupContainers(animateInRowTop);\n\t        }\n\t        else {\n\t            this.setupNormalContainers(animateInRowTop);\n\t        }\n\t    };\n\t    // we clear so that the functions are never executed twice\n\t    RenderedRow.prototype.getAndClearDelayedDestroyFunctions = function () {\n\t        var result = this.delayedDestroyFunctions;\n\t        this.delayedDestroyFunctions = [];\n\t        return result;\n\t    };\n\t    // we clear so that the functions are never executed twice\n\t    RenderedRow.prototype.getAndClearNextVMTurnFunctions = function () {\n\t        var result = this.nextVmTurnFunctions;\n\t        this.nextVmTurnFunctions = [];\n\t        return result;\n\t    };\n\t    RenderedRow.prototype.addDomData = function (eRowContainer) {\n\t        var domDataKey = this.gridOptionsWrapper.getDomDataKey();\n\t        var gridCellNoType = eRowContainer;\n\t        gridCellNoType[domDataKey] = {\n\t            renderedRow: this\n\t        };\n\t        this.addDestroyFunc(function () { gridCellNoType[domDataKey] = null; });\n\t    };\n\t    RenderedRow.prototype.setupFullWidthContainers = function (animateInRowTop) {\n\t        this.fullWidthRow = true;\n\t        this.fullWidthCellRenderer = this.gridOptionsWrapper.getFullWidthCellRenderer();\n\t        this.fullWidthCellRendererParams = this.gridOptionsWrapper.getFullWidthCellRendererParams();\n\t        if (utils_1.Utils.missing(this.fullWidthCellRenderer)) {\n\t            console.warn(\"ag-Grid: you need to provide a fullWidthCellRenderer if using isFullWidthCell()\");\n\t        }\n\t        this.createFullWidthRow(animateInRowTop);\n\t    };\n\t    RenderedRow.prototype.addMouseWheelListenerToFullWidthRow = function () {\n\t        var mouseWheelListener = this.gridPanel.genericMouseWheelListener.bind(this.gridPanel);\n\t        // IE9, Chrome, Safari, Opera\n\t        this.addDestroyableEventListener(this.eFullWidthRow, 'mousewheel', mouseWheelListener);\n\t        // Firefox\n\t        this.addDestroyableEventListener(this.eFullWidthRow, 'DOMMouseScroll', mouseWheelListener);\n\t    };\n\t    RenderedRow.prototype.setupFullWidthGroupContainers = function (animateInRowTop) {\n\t        this.fullWidthRow = true;\n\t        this.fullWidthCellRenderer = this.gridOptionsWrapper.getGroupRowRenderer();\n\t        this.fullWidthCellRendererParams = this.gridOptionsWrapper.getGroupRowRendererParams();\n\t        if (!this.fullWidthCellRenderer) {\n\t            this.fullWidthCellRenderer = cellRendererFactory_1.CellRendererFactory.GROUP;\n\t            this.fullWidthCellRendererParams = {\n\t                innerRenderer: this.gridOptionsWrapper.getGroupRowInnerRenderer()\n\t            };\n\t        }\n\t        this.createFullWidthRow(animateInRowTop);\n\t    };\n\t    RenderedRow.prototype.createFullWidthRow = function (animateInRowTop) {\n\t        var embedFullWidthRows = this.gridOptionsWrapper.isEmbedFullWidthRows();\n\t        if (embedFullWidthRows) {\n\t            // if embedding the full width, it gets added to the body, left and right\n\t            this.eFullWidthRowBody = this.createRowContainer(this.bodyContainerComp, animateInRowTop);\n\t            this.eFullWidthRowLeft = this.createRowContainer(this.pinnedLeftContainerComp, animateInRowTop);\n\t            this.eFullWidthRowRight = this.createRowContainer(this.pinnedRightContainerComp, animateInRowTop);\n\t            utils_1.Utils.addCssClass(this.eFullWidthRowLeft, 'ag-cell-last-left-pinned');\n\t            utils_1.Utils.addCssClass(this.eFullWidthRowRight, 'ag-cell-first-right-pinned');\n\t        }\n\t        else {\n\t            // otherwise we add to the fullWidth container as normal\n\t            this.eFullWidthRow = this.createRowContainer(this.fullWidthContainerComp, animateInRowTop);\n\t            // and fake the mouse wheel for the fullWidth container\n\t            if (!this.gridOptionsWrapper.isForPrint()) {\n\t                this.addMouseWheelListenerToFullWidthRow();\n\t            }\n\t        }\n\t    };\n\t    RenderedRow.prototype.setupNormalContainers = function (animateInRowTop) {\n\t        this.fullWidthRow = false;\n\t        this.eBodyRow = this.createRowContainer(this.bodyContainerComp, animateInRowTop);\n\t        if (!this.gridOptionsWrapper.isForPrint()) {\n\t            this.ePinnedLeftRow = this.createRowContainer(this.pinnedLeftContainerComp, animateInRowTop);\n\t            this.ePinnedRightRow = this.createRowContainer(this.pinnedRightContainerComp, animateInRowTop);\n\t        }\n\t    };\n\t    RenderedRow.prototype.init = function () {\n\t        var animateInRowTop = this.animateIn && utils_1.Utils.exists(this.rowNode.oldRowTop);\n\t        this.setupRowContainers(animateInRowTop);\n\t        this.scope = this.createChildScopeOrNull(this.rowNode.data);\n\t        if (this.fullWidthRow) {\n\t            this.refreshFullWidthComponent();\n\t        }\n\t        else {\n\t            this.refreshCellsIntoRow();\n\t        }\n\t        this.addGridClasses();\n\t        this.addExpandedAndContractedClasses();\n\t        this.addStyleFromRowStyle();\n\t        this.addStyleFromRowStyleFunc();\n\t        this.addClassesFromRowClass();\n\t        this.addClassesFromRowClassFunc();\n\t        this.addRowIndexes();\n\t        this.addRowIds();\n\t        this.setupTop(animateInRowTop);\n\t        this.setHeight();\n\t        this.addRowSelectedListener();\n\t        this.addCellFocusedListener();\n\t        this.addNodeDataChangedListener();\n\t        this.addColumnListener();\n\t        this.addHoverFunctionality();\n\t        this.gridOptionsWrapper.executeProcessRowPostCreateFunc({\n\t            eRow: this.eBodyRow,\n\t            ePinnedLeftRow: this.ePinnedLeftRow,\n\t            ePinnedRightRow: this.ePinnedRightRow,\n\t            node: this.rowNode,\n\t            api: this.gridOptionsWrapper.getApi(),\n\t            rowIndex: this.rowNode.rowIndex,\n\t            addRenderedRowListener: this.addEventListener.bind(this),\n\t            columnApi: this.gridOptionsWrapper.getColumnApi(),\n\t            context: this.gridOptionsWrapper.getContext()\n\t        });\n\t        this.addDataChangedListener();\n\t        this.initialised = true;\n\t    };\n\t    RenderedRow.prototype.stopRowEditing = function (cancel) {\n\t        this.stopEditing(cancel);\n\t    };\n\t    RenderedRow.prototype.isEditing = function () {\n\t        if (this.gridOptionsWrapper.isFullRowEdit()) {\n\t            // if doing row editing, then the local variable is the one that is used\n\t            return this.editingRow;\n\t        }\n\t        else {\n\t            // if not doing row editing, then the renderedRow has no edit state, so\n\t            // we have to look at the individual cells\n\t            var editingCell = utils_1.Utils.find(this.renderedCells, function (renderedCell) { return renderedCell && renderedCell.isEditing(); });\n\t            return utils_1.Utils.exists(editingCell);\n\t        }\n\t    };\n\t    RenderedRow.prototype.stopEditing = function (cancel) {\n\t        if (cancel === void 0) { cancel = false; }\n\t        this.forEachRenderedCell(function (renderedCell) {\n\t            renderedCell.stopEditing(cancel);\n\t        });\n\t        if (this.editingRow) {\n\t            if (!cancel) {\n\t                var event = {\n\t                    node: this.rowNode,\n\t                    data: this.rowNode.data,\n\t                    api: this.gridOptionsWrapper.getApi(),\n\t                    context: this.gridOptionsWrapper.getContext()\n\t                };\n\t                this.mainEventService.dispatchEvent(events_1.Events.EVENT_ROW_VALUE_CHANGED, event);\n\t            }\n\t            this.setEditingRow(false);\n\t        }\n\t    };\n\t    RenderedRow.prototype.startRowEditing = function (keyPress, charPress, sourceRenderedCell) {\n\t        if (keyPress === void 0) { keyPress = null; }\n\t        if (charPress === void 0) { charPress = null; }\n\t        if (sourceRenderedCell === void 0) { sourceRenderedCell = null; }\n\t        // don't do it if already editing\n\t        if (this.editingRow) {\n\t            return;\n\t        }\n\t        this.forEachRenderedCell(function (renderedCell) {\n\t            var cellStartedEdit = renderedCell === sourceRenderedCell;\n\t            if (cellStartedEdit) {\n\t                renderedCell.startEditingIfEnabled(keyPress, charPress, cellStartedEdit);\n\t            }\n\t            else {\n\t                renderedCell.startEditingIfEnabled(null, null, cellStartedEdit);\n\t            }\n\t        });\n\t        this.setEditingRow(true);\n\t    };\n\t    RenderedRow.prototype.setEditingRow = function (value) {\n\t        this.editingRow = value;\n\t        this.eAllRowContainers.forEach(function (row) { return utils_1.Utils.addOrRemoveCssClass(row, 'ag-row-editing', value); });\n\t        var event = value ? events_1.Events.EVENT_ROW_EDITING_STARTED : events_1.Events.EVENT_ROW_EDITING_STOPPED;\n\t        this.mainEventService.dispatchEvent(event, { node: this.rowNode });\n\t    };\n\t    // because data can change, especially in virtual pagination and viewport row models, need to allow setting\n\t    // styles and classes after the data has changed\n\t    RenderedRow.prototype.addDataChangedListener = function () {\n\t        var _this = this;\n\t        var dataChangedListener = function () {\n\t            _this.addStyleFromRowStyleFunc();\n\t            _this.addClassesFromRowClass();\n\t        };\n\t        this.addDestroyableEventListener(this.rowNode, rowNode_1.RowNode.EVENT_DATA_CHANGED, dataChangedListener);\n\t    };\n\t    RenderedRow.prototype.angular1Compile = function (element) {\n\t        if (this.scope) {\n\t            this.$compile(element)(this.scope);\n\t        }\n\t    };\n\t    RenderedRow.prototype.addColumnListener = function () {\n\t        var columnListener = this.onDisplayedColumnsChanged.bind(this);\n\t        var virtualListener = this.onVirtualColumnsChanged.bind(this);\n\t        var gridColumnsChangedListener = this.onGridColumnsChanged.bind(this);\n\t        this.addDestroyableEventListener(this.mainEventService, events_1.Events.EVENT_DISPLAYED_COLUMNS_CHANGED, columnListener);\n\t        this.addDestroyableEventListener(this.mainEventService, events_1.Events.EVENT_VIRTUAL_COLUMNS_CHANGED, virtualListener);\n\t        this.addDestroyableEventListener(this.mainEventService, events_1.Events.EVENT_COLUMN_RESIZED, columnListener);\n\t        this.addDestroyableEventListener(this.mainEventService, events_1.Events.EVENT_GRID_COLUMNS_CHANGED, gridColumnsChangedListener);\n\t    };\n\t    RenderedRow.prototype.onDisplayedColumnsChanged = function () {\n\t        // if row is a group row that spans, then it's not impacted by column changes, with exception of pinning\n\t        if (this.fullWidthRow) {\n\t            if (this.gridOptionsWrapper.isEmbedFullWidthRows()) {\n\t                var leftMismatch = this.fullWidthPinnedLeftLastTime !== this.columnController.isPinningLeft();\n\t                var rightMismatch = this.fullWidthPinnedRightLastTime !== this.columnController.isPinningRight();\n\t                // if either of the pinned panels has shown / hidden, then need to redraw the fullWidth bits when\n\t                // embedded, as what appears in each section depends on whether we are pinned or not\n\t                if (leftMismatch || rightMismatch) {\n\t                    this.refreshFullWidthComponent();\n\t                }\n\t            }\n\t            else {\n\t                // otherwise nothing, the floating fullWidth containers are not impacted by column changes\n\t            }\n\t        }\n\t        else {\n\t            this.refreshCellsIntoRow();\n\t        }\n\t    };\n\t    RenderedRow.prototype.onVirtualColumnsChanged = function (event) {\n\t        // if row is a group row that spans, then it's not impacted by column changes, with exception of pinning\n\t        if (!this.fullWidthRow) {\n\t            this.refreshCellsIntoRow();\n\t        }\n\t    };\n\t    // when grid columns change, then all cells should be cleaned out,\n\t    // as the new columns could have same id as the previous columns and may conflict\n\t    RenderedRow.prototype.onGridColumnsChanged = function () {\n\t        var allRenderedCellIds = Object.keys(this.renderedCells);\n\t        this.removeRenderedCells(allRenderedCellIds);\n\t    };\n\t    RenderedRow.prototype.isCellInWrongRow = function (renderedCell) {\n\t        var column = renderedCell.getColumn();\n\t        var rowWeWant = this.getRowForColumn(column);\n\t        // if in wrong container, remove it\n\t        var oldRow = renderedCell.getParentRow();\n\t        return oldRow !== rowWeWant;\n\t    };\n\t    // method makes sure the right cells are present, and are in the right container. so when this gets called for\n\t    // the first time, it sets up all the cells. but then over time the cells might appear / dissappear or move\n\t    // container (ie into pinned)\n\t    RenderedRow.prototype.refreshCellsIntoRow = function () {\n\t        var _this = this;\n\t        var displayedVirtualColumns = this.columnController.getAllDisplayedVirtualColumns();\n\t        var displayedColumns = this.columnController.getAllDisplayedColumns();\n\t        var cellsToRemove = Object.keys(this.renderedCells);\n\t        displayedVirtualColumns.forEach(function (column) {\n\t            var renderedCell = _this.getOrCreateCell(column);\n\t            _this.ensureCellInCorrectRow(renderedCell);\n\t            utils_1.Utils.removeFromArray(cellsToRemove, column.getColId());\n\t        });\n\t        // we never remove rendered ones, as this would cause the cells to loose their values while editing\n\t        // as the grid is scrolling horizontally\n\t        cellsToRemove = utils_1.Utils.filter(cellsToRemove, function (indexStr) {\n\t            var REMOVE_CELL = true;\n\t            var KEEP_CELL = false;\n\t            var renderedCell = _this.renderedCells[indexStr];\n\t            if (!renderedCell) {\n\t                return REMOVE_CELL;\n\t            }\n\t            // always remove the cell if it's in the wrong pinned location\n\t            if (_this.isCellInWrongRow(renderedCell)) {\n\t                return REMOVE_CELL;\n\t            }\n\t            // we want to try and keep editing and focused cells\n\t            var editing = renderedCell.isEditing();\n\t            var focused = _this.focusedCellController.isCellFocused(renderedCell.getGridCell());\n\t            var mightWantToKeepCell = editing || focused;\n\t            if (mightWantToKeepCell) {\n\t                var column = renderedCell.getColumn();\n\t                var cellStillDisplayed = displayedColumns.indexOf(column) >= 0;\n\t                return cellStillDisplayed ? KEEP_CELL : REMOVE_CELL;\n\t            }\n\t            else {\n\t                return REMOVE_CELL;\n\t            }\n\t        });\n\t        // remove old cells from gui, but we don't destroy them, we might use them again\n\t        this.removeRenderedCells(cellsToRemove);\n\t    };\n\t    RenderedRow.prototype.removeRenderedCells = function (colIds) {\n\t        var _this = this;\n\t        colIds.forEach(function (key) {\n\t            var renderedCell = _this.renderedCells[key];\n\t            // could be old reference, ie removed cell\n\t            if (utils_1.Utils.missing(renderedCell)) {\n\t                return;\n\t            }\n\t            renderedCell.destroy();\n\t            _this.renderedCells[key] = null;\n\t        });\n\t    };\n\t    RenderedRow.prototype.getRowForColumn = function (column) {\n\t        switch (column.getPinned()) {\n\t            case column_1.Column.PINNED_LEFT: return this.ePinnedLeftRow;\n\t            case column_1.Column.PINNED_RIGHT: return this.ePinnedRightRow;\n\t            default: return this.eBodyRow;\n\t        }\n\t    };\n\t    RenderedRow.prototype.ensureCellInCorrectRow = function (renderedCell) {\n\t        var eRowGui = renderedCell.getGui();\n\t        var column = renderedCell.getColumn();\n\t        var rowWeWant = this.getRowForColumn(column);\n\t        // if in wrong container, remove it\n\t        var oldRow = renderedCell.getParentRow();\n\t        var inWrongRow = oldRow !== rowWeWant;\n\t        if (inWrongRow) {\n\t            // take out from old row\n\t            if (oldRow) {\n\t                oldRow.removeChild(eRowGui);\n\t            }\n\t            rowWeWant.appendChild(eRowGui);\n\t            renderedCell.setParentRow(rowWeWant);\n\t        }\n\t    };\n\t    RenderedRow.prototype.getOrCreateCell = function (column) {\n\t        var colId = column.getColId();\n\t        if (this.renderedCells[colId]) {\n\t            return this.renderedCells[colId];\n\t        }\n\t        else {\n\t            var renderedCell = new renderedCell_1.RenderedCell(column, this.rowNode, this.scope, this);\n\t            this.context.wireBean(renderedCell);\n\t            this.renderedCells[colId] = renderedCell;\n\t            this.angular1Compile(renderedCell.getGui());\n\t            // if we are editing the row, then the cell needs to turn\n\t            // into edit mode\n\t            if (this.editingRow) {\n\t                renderedCell.startEditingIfEnabled();\n\t            }\n\t            return renderedCell;\n\t        }\n\t    };\n\t    RenderedRow.prototype.onRowSelected = function () {\n\t        var selected = this.rowNode.isSelected();\n\t        this.eAllRowContainers.forEach(function (row) { return utils_1.Utils.addOrRemoveCssClass(row, 'ag-row-selected', selected); });\n\t    };\n\t    RenderedRow.prototype.addRowSelectedListener = function () {\n\t        this.addDestroyableEventListener(this.rowNode, rowNode_1.RowNode.EVENT_ROW_SELECTED, this.onRowSelected.bind(this));\n\t    };\n\t    RenderedRow.prototype.onMouseEvent = function (eventName, mouseEvent) {\n\t        switch (eventName) {\n\t            case 'dblclick':\n\t                this.onRowDblClick(mouseEvent);\n\t                break;\n\t            case 'click':\n\t                this.onRowClick(mouseEvent);\n\t                break;\n\t        }\n\t    };\n\t    RenderedRow.prototype.addHoverFunctionality = function () {\n\t        var _this = this;\n\t        // because we are adding listeners to the row, we give the user the choice to not add\n\t        // the hover class, as it slows things down, especially in IE, when you add listeners\n\t        // to each row. we cannot do the trick of adding one listener to the GridPanel (like we\n\t        // do for other mouse events) as these events don't propogate\n\t        if (this.gridOptionsWrapper.isSuppressRowHoverClass()) {\n\t            return;\n\t        }\n\t        var onGuiMouseEnter = this.rowNode.onMouseEnter.bind(this.rowNode);\n\t        var onGuiMouseLeave = this.rowNode.onMouseLeave.bind(this.rowNode);\n\t        this.eAllRowContainers.forEach(function (eRow) {\n\t            _this.addDestroyableEventListener(eRow, 'mouseenter', onGuiMouseEnter);\n\t            _this.addDestroyableEventListener(eRow, 'mouseleave', onGuiMouseLeave);\n\t        });\n\t        var onNodeMouseEnter = this.addHoverClass.bind(this, true);\n\t        var onNodeMouseLeave = this.addHoverClass.bind(this, false);\n\t        this.addDestroyableEventListener(this.rowNode, rowNode_1.RowNode.EVENT_MOUSE_ENTER, onNodeMouseEnter);\n\t        this.addDestroyableEventListener(this.rowNode, rowNode_1.RowNode.EVENT_MOUSE_LEAVE, onNodeMouseLeave);\n\t    };\n\t    RenderedRow.prototype.addHoverClass = function (hover) {\n\t        this.eAllRowContainers.forEach(function (eRow) { return utils_1.Utils.addOrRemoveCssClass(eRow, 'ag-row-hover', hover); });\n\t    };\n\t    RenderedRow.prototype.setRowFocusClasses = function () {\n\t        var rowFocused = this.focusedCellController.isRowFocused(this.rowNode.rowIndex, this.rowNode.floating);\n\t        if (rowFocused !== this.rowFocusedLastTime) {\n\t            this.eAllRowContainers.forEach(function (row) { return utils_1.Utils.addOrRemoveCssClass(row, 'ag-row-focus', rowFocused); });\n\t            this.eAllRowContainers.forEach(function (row) { return utils_1.Utils.addOrRemoveCssClass(row, 'ag-row-no-focus', !rowFocused); });\n\t            this.rowFocusedLastTime = rowFocused;\n\t        }\n\t        if (!rowFocused && this.editingRow) {\n\t            this.stopEditing(false);\n\t        }\n\t    };\n\t    RenderedRow.prototype.addCellFocusedListener = function () {\n\t        this.addDestroyableEventListener(this.mainEventService, events_1.Events.EVENT_CELL_FOCUSED, this.setRowFocusClasses.bind(this));\n\t        this.addDestroyableEventListener(this.mainEventService, events_1.Events.EVENT_PAGINATION_CHANGED, this.onPaginationChanged.bind(this));\n\t        this.addDestroyableEventListener(this.rowNode, rowNode_1.RowNode.EVENT_ROW_INDEX_CHANGED, this.setRowFocusClasses.bind(this));\n\t        this.setRowFocusClasses();\n\t    };\n\t    RenderedRow.prototype.onPaginationChanged = function () {\n\t        // it is possible this row is in the new page, but the page number has changed, which means\n\t        // it needs to reposition itself relative to the new page\n\t        this.onTopChanged();\n\t    };\n\t    RenderedRow.prototype.forEachRenderedCell = function (callback) {\n\t        utils_1.Utils.iterateObject(this.renderedCells, function (key, renderedCell) {\n\t            if (renderedCell) {\n\t                callback(renderedCell);\n\t            }\n\t        });\n\t    };\n\t    RenderedRow.prototype.addNodeDataChangedListener = function () {\n\t        var _this = this;\n\t        var nodeDataChangedListener = function () {\n\t            var animate = false;\n\t            var newData = true;\n\t            _this.forEachRenderedCell(function (renderedCell) { return renderedCell.refreshCell(animate, newData); });\n\t            // check for selected also, as this could be after lazy loading of the row data, in which csae\n\t            // the id might of just gotten set inside the row and the row selected state may of changed\n\t            // as a result. this is what happens when selected rows are loaded in virtual pagination.\n\t            _this.onRowSelected();\n\t        };\n\t        this.addDestroyableEventListener(this.rowNode, rowNode_1.RowNode.EVENT_DATA_CHANGED, nodeDataChangedListener);\n\t    };\n\t    RenderedRow.prototype.onTopChanged = function () {\n\t        // top is not used in forPrint, as the rows are just laid out naturally\n\t        if (this.gridOptionsWrapper.isForPrint()) {\n\t            return;\n\t        }\n\t        // console.log(`top changed for ${this.rowNode.id} = ${this.rowNode.rowTop}`);\n\t        this.setRowTop(this.rowNode.rowTop);\n\t    };\n\t    RenderedRow.prototype.setRowTop = function (pixels) {\n\t        // need to make sure rowTop is not null, as this can happen if the node was once\n\t        // visible (ie parent group was expanded) but is now not visible\n\t        if (utils_1.Utils.exists(pixels)) {\n\t            var pixelsWithOffset = void 0;\n\t            if (this.rowNode.isFloating()) {\n\t                pixelsWithOffset = pixels;\n\t            }\n\t            else {\n\t                pixelsWithOffset = pixels - this.paginationProxy.getPixelOffset();\n\t            }\n\t            var topPx = pixelsWithOffset + \"px\";\n\t            this.eAllRowContainers.forEach(function (row) { return row.style.top = topPx; });\n\t        }\n\t    };\n\t    RenderedRow.prototype.setupTop = function (animateInRowTop) {\n\t        if (this.gridOptionsWrapper.isForPrint()) {\n\t            return;\n\t        }\n\t        var topChangedListener = this.onTopChanged.bind(this);\n\t        this.addDestroyableEventListener(this.rowNode, rowNode_1.RowNode.EVENT_TOP_CHANGED, topChangedListener);\n\t        if (!animateInRowTop) {\n\t            this.onTopChanged();\n\t        }\n\t    };\n\t    RenderedRow.prototype.setHeight = function () {\n\t        var _this = this;\n\t        var setHeightListener = function () {\n\t            // check for exists first - if the user is resetting the row height, then\n\t            // it will be null (or undefined) momentarily until the next time the flatten\n\t            // stage is called where the row will then update again with a new height\n\t            if (utils_1.Utils.exists(_this.rowNode.rowHeight)) {\n\t                var heightPx = _this.rowNode.rowHeight + 'px';\n\t                _this.eAllRowContainers.forEach(function (row) { return row.style.height = heightPx; });\n\t            }\n\t        };\n\t        this.addDestroyableEventListener(this.rowNode, rowNode_1.RowNode.EVENT_HEIGHT_CHANGED, setHeightListener);\n\t        setHeightListener();\n\t    };\n\t    RenderedRow.prototype.addRowIndexes = function () {\n\t        var _this = this;\n\t        var rowIndexListener = function () {\n\t            var rowStr = _this.rowNode.rowIndex.toString();\n\t            if (_this.rowNode.floating === constants_1.Constants.FLOATING_BOTTOM) {\n\t                rowStr = 'fb-' + rowStr;\n\t            }\n\t            else if (_this.rowNode.floating === constants_1.Constants.FLOATING_TOP) {\n\t                rowStr = 'ft-' + rowStr;\n\t            }\n\t            _this.eAllRowContainers.forEach(function (eRow) {\n\t                eRow.setAttribute('row', rowStr);\n\t                var rowIsEven = _this.rowNode.rowIndex % 2 === 0;\n\t                utils_1.Utils.addOrRemoveCssClass(eRow, 'ag-row-even', rowIsEven);\n\t                utils_1.Utils.addOrRemoveCssClass(eRow, 'ag-row-odd', !rowIsEven);\n\t            });\n\t        };\n\t        this.addDestroyableEventListener(this.rowNode, rowNode_1.RowNode.EVENT_ROW_INDEX_CHANGED, rowIndexListener);\n\t        rowIndexListener();\n\t    };\n\t    // adds in row and row-id attributes to the row\n\t    RenderedRow.prototype.addRowIds = function () {\n\t        if (typeof this.gridOptionsWrapper.getBusinessKeyForNodeFunc() === 'function') {\n\t            var businessKey = this.gridOptionsWrapper.getBusinessKeyForNodeFunc()(this.rowNode);\n\t            if (typeof businessKey === 'string' || typeof businessKey === 'number') {\n\t                this.eAllRowContainers.forEach(function (row) { return row.setAttribute('row-id', businessKey); });\n\t            }\n\t        }\n\t    };\n\t    RenderedRow.prototype.addEventListener = function (eventType, listener) {\n\t        if (!this.renderedRowEventService) {\n\t            this.renderedRowEventService = new eventService_1.EventService();\n\t        }\n\t        this.renderedRowEventService.addEventListener(eventType, listener);\n\t    };\n\t    RenderedRow.prototype.removeEventListener = function (eventType, listener) {\n\t        this.renderedRowEventService.removeEventListener(eventType, listener);\n\t    };\n\t    RenderedRow.prototype.getRenderedCellForColumn = function (column) {\n\t        return this.renderedCells[column.getColId()];\n\t    };\n\t    RenderedRow.prototype.getCellForCol = function (column) {\n\t        var renderedCell = this.renderedCells[column.getColId()];\n\t        if (renderedCell) {\n\t            return renderedCell.getGui();\n\t        }\n\t        else {\n\t            return null;\n\t        }\n\t    };\n\t    RenderedRow.prototype.destroy = function (animate) {\n\t        if (animate === void 0) { animate = false; }\n\t        _super.prototype.destroy.call(this);\n\t        // why do we have this method? shouldn't everything below be added as a destroy func beside\n\t        // the corresponding create logic?\n\t        this.destroyScope();\n\t        this.destroyFullWidthComponent();\n\t        this.forEachRenderedCell(function (renderedCell) { return renderedCell.destroy(); });\n\t        if (animate) {\n\t            this.startRemoveAnimationFunctions.forEach(function (func) { return func(); });\n\t        }\n\t        else {\n\t            // we are not animating, so execute the second stage of removal now.\n\t            // we call getAndClear, so that they are only called once\n\t            var delayedDestroyFunctions = this.getAndClearDelayedDestroyFunctions();\n\t            delayedDestroyFunctions.forEach(function (func) { return func(); });\n\t        }\n\t        if (this.renderedRowEventService) {\n\t            this.renderedRowEventService.dispatchEvent(RenderedRow.EVENT_RENDERED_ROW_REMOVED, { node: this.rowNode });\n\t        }\n\t        var event = { node: this.rowNode, rowIndex: this.rowNode.rowIndex };\n\t        this.mainEventService.dispatchEvent(events_1.Events.EVENT_VIRTUAL_ROW_REMOVED, event);\n\t    };\n\t    RenderedRow.prototype.destroyScope = function () {\n\t        if (this.scope) {\n\t            this.scope.$destroy();\n\t            this.scope = null;\n\t        }\n\t    };\n\t    RenderedRow.prototype.isGroup = function () {\n\t        return this.rowNode.group === true;\n\t    };\n\t    RenderedRow.prototype.refreshFullWidthComponent = function () {\n\t        this.destroyFullWidthComponent();\n\t        this.createFullWidthComponent();\n\t    };\n\t    RenderedRow.prototype.createFullWidthComponent = function () {\n\t        this.fullWidthPinnedLeftLastTime = this.columnController.isPinningLeft();\n\t        this.fullWidthPinnedRightLastTime = this.columnController.isPinningRight();\n\t        if (this.eFullWidthRow) {\n\t            var params = this.createFullWidthParams(this.eFullWidthRow, null);\n\t            this.fullWidthRowComponent = this.cellRendererService.useCellRenderer(this.fullWidthCellRenderer, this.eFullWidthRow, params);\n\t            this.angular1Compile(this.eFullWidthRow);\n\t        }\n\t        if (this.eFullWidthRowBody) {\n\t            var params = this.createFullWidthParams(this.eFullWidthRowBody, null);\n\t            this.fullWidthRowComponentBody = this.cellRendererService.useCellRenderer(this.fullWidthCellRenderer, this.eFullWidthRowBody, params);\n\t            this.angular1Compile(this.eFullWidthRowBody);\n\t        }\n\t        if (this.eFullWidthRowLeft) {\n\t            var params = this.createFullWidthParams(this.eFullWidthRowLeft, column_1.Column.PINNED_LEFT);\n\t            this.fullWidthRowComponentLeft = this.cellRendererService.useCellRenderer(this.fullWidthCellRenderer, this.eFullWidthRowLeft, params);\n\t            this.angular1Compile(this.eFullWidthRowLeft);\n\t        }\n\t        if (this.eFullWidthRowRight) {\n\t            var params = this.createFullWidthParams(this.eFullWidthRowRight, column_1.Column.PINNED_RIGHT);\n\t            this.fullWidthRowComponentRight = this.cellRendererService.useCellRenderer(this.fullWidthCellRenderer, this.eFullWidthRowRight, params);\n\t            this.angular1Compile(this.eFullWidthRowRight);\n\t        }\n\t    };\n\t    RenderedRow.prototype.destroyFullWidthComponent = function () {\n\t        if (this.fullWidthRowComponent) {\n\t            if (this.fullWidthRowComponent.destroy) {\n\t                this.fullWidthRowComponent.destroy();\n\t            }\n\t            this.fullWidthRowComponent = null;\n\t        }\n\t        if (this.fullWidthRowComponentBody) {\n\t            if (this.fullWidthRowComponentBody.destroy) {\n\t                this.fullWidthRowComponentBody.destroy();\n\t            }\n\t            this.fullWidthRowComponent = null;\n\t        }\n\t        if (this.fullWidthRowComponentLeft) {\n\t            if (this.fullWidthRowComponentLeft.destroy) {\n\t                this.fullWidthRowComponentLeft.destroy();\n\t            }\n\t            this.fullWidthRowComponentLeft = null;\n\t        }\n\t        if (this.fullWidthRowComponentRight) {\n\t            if (this.fullWidthRowComponentRight.destroy) {\n\t                this.fullWidthRowComponentRight.destroy();\n\t            }\n\t            this.fullWidthRowComponent = null;\n\t        }\n\t        if (this.eFullWidthRow) {\n\t            utils_1.Utils.removeAllChildren(this.eFullWidthRow);\n\t        }\n\t        if (this.eFullWidthRowBody) {\n\t            utils_1.Utils.removeAllChildren(this.eFullWidthRowBody);\n\t        }\n\t        if (this.eFullWidthRowLeft) {\n\t            utils_1.Utils.removeAllChildren(this.eFullWidthRowLeft);\n\t        }\n\t        if (this.eFullWidthRowRight) {\n\t            utils_1.Utils.removeAllChildren(this.eFullWidthRowRight);\n\t        }\n\t    };\n\t    RenderedRow.prototype.createFullWidthParams = function (eRow, pinned) {\n\t        var params = {\n\t            data: this.rowNode.data,\n\t            node: this.rowNode,\n\t            $scope: this.scope,\n\t            rowIndex: this.rowNode.rowIndex,\n\t            api: this.gridOptionsWrapper.getApi(),\n\t            columnApi: this.gridOptionsWrapper.getColumnApi(),\n\t            context: this.gridOptionsWrapper.getContext(),\n\t            eGridCell: eRow,\n\t            eParentOfValue: eRow,\n\t            pinned: pinned,\n\t            addRenderedRowListener: this.addEventListener.bind(this),\n\t            colDef: {\n\t                cellRenderer: this.fullWidthCellRenderer,\n\t                cellRendererParams: this.fullWidthCellRendererParams\n\t            }\n\t        };\n\t        if (this.fullWidthCellRendererParams) {\n\t            utils_1.Utils.assign(params, this.fullWidthCellRendererParams);\n\t        }\n\t        return params;\n\t    };\n\t    RenderedRow.prototype.createChildScopeOrNull = function (data) {\n\t        if (this.gridOptionsWrapper.isAngularCompileRows()) {\n\t            var newChildScope = this.parentScope.$new();\n\t            newChildScope.data = data;\n\t            newChildScope.rowNode = this.rowNode;\n\t            newChildScope.context = this.gridOptionsWrapper.getContext();\n\t            return newChildScope;\n\t        }\n\t        else {\n\t            return null;\n\t        }\n\t    };\n\t    RenderedRow.prototype.addStyleFromRowStyle = function () {\n\t        var rowStyle = this.gridOptionsWrapper.getRowStyle();\n\t        if (rowStyle) {\n\t            if (typeof rowStyle === 'function') {\n\t                console.log('ag-Grid: rowStyle should be an object of key/value styles, not be a function, use getRowStyle() instead');\n\t            }\n\t            else {\n\t                this.eAllRowContainers.forEach(function (row) { return utils_1.Utils.addStylesToElement(row, rowStyle); });\n\t            }\n\t        }\n\t    };\n\t    RenderedRow.prototype.addStyleFromRowStyleFunc = function () {\n\t        var rowStyleFunc = this.gridOptionsWrapper.getRowStyleFunc();\n\t        if (rowStyleFunc) {\n\t            var params = {\n\t                data: this.rowNode.data,\n\t                node: this.rowNode,\n\t                api: this.gridOptionsWrapper.getApi(),\n\t                context: this.gridOptionsWrapper.getContext(),\n\t                $scope: this.scope\n\t            };\n\t            var cssToUseFromFunc = rowStyleFunc(params);\n\t            this.eAllRowContainers.forEach(function (row) { return utils_1.Utils.addStylesToElement(row, cssToUseFromFunc); });\n\t        }\n\t    };\n\t    RenderedRow.prototype.createParams = function () {\n\t        var params = {\n\t            node: this.rowNode,\n\t            data: this.rowNode.data,\n\t            rowIndex: this.rowNode.rowIndex,\n\t            $scope: this.scope,\n\t            context: this.gridOptionsWrapper.getContext(),\n\t            api: this.gridOptionsWrapper.getApi()\n\t        };\n\t        return params;\n\t    };\n\t    RenderedRow.prototype.createEvent = function (event, eventSource) {\n\t        var agEvent = this.createParams();\n\t        agEvent.event = event;\n\t        agEvent.eventSource = eventSource;\n\t        return agEvent;\n\t    };\n\t    RenderedRow.prototype.createRowContainer = function (rowContainerComp, slideRowIn) {\n\t        var _this = this;\n\t        var eRow = document.createElement('div');\n\t        this.addDomData(eRow);\n\t        rowContainerComp.appendRowElement(eRow);\n\t        this.eAllRowContainers.push(eRow);\n\t        this.delayedDestroyFunctions.push(function () {\n\t            rowContainerComp.removeRowElement(eRow);\n\t        });\n\t        this.startRemoveAnimationFunctions.push(function () {\n\t            utils_1.Utils.addCssClass(eRow, 'ag-opacity-zero');\n\t            if (utils_1.Utils.exists(_this.rowNode.rowTop)) {\n\t                var rowTop = _this.roundRowTopToBounds(_this.rowNode.rowTop);\n\t                _this.setRowTop(rowTop);\n\t            }\n\t            // _.prepend(eParent, eRow);\n\t        });\n\t        if (this.animateIn) {\n\t            this.animateRowIn(eRow, slideRowIn);\n\t        }\n\t        return eRow;\n\t    };\n\t    // puts animation into the row by setting start state and then final state in another VM turn\n\t    // (another VM turn so the rendering engine will kick off once with start state, and then transition\n\t    // into the end state)\n\t    RenderedRow.prototype.animateRowIn = function (eRow, slideRowIn) {\n\t        if (slideRowIn) {\n\t            // for sliding the row in, we position the row in it's old position first\n\t            var rowTop = this.roundRowTopToBounds(this.rowNode.oldRowTop);\n\t            this.setRowTop(rowTop);\n\t            // and then update the position to it's new position\n\t            this.nextVmTurnFunctions.push(this.onTopChanged.bind(this));\n\t        }\n\t        else {\n\t            // for fading in, we first set it invisible\n\t            utils_1.Utils.addCssClass(eRow, 'ag-opacity-zero');\n\t            // and then transition to visible\n\t            this.nextVmTurnFunctions.push(function () { return utils_1.Utils.removeCssClass(eRow, 'ag-opacity-zero'); });\n\t        }\n\t    };\n\t    // for animation, we don't want to animate entry or exit to a very far away pixel,\n\t    // otherwise the row would move so fast, it would appear to disappear. so this method\n\t    // moves the row closer to the viewport if it is far away, so the row slide in / out\n\t    // at a speed the user can see.\n\t    RenderedRow.prototype.roundRowTopToBounds = function (rowTop) {\n\t        var range = this.gridPanel.getVerticalPixelRange();\n\t        var minPixel = range.top - 100;\n\t        var maxPixel = range.bottom + 100;\n\t        if (rowTop < minPixel) {\n\t            return minPixel;\n\t        }\n\t        else if (rowTop > maxPixel) {\n\t            return maxPixel;\n\t        }\n\t        else {\n\t            return rowTop;\n\t        }\n\t    };\n\t    RenderedRow.prototype.onRowDblClick = function (event) {\n\t        var agEvent = this.createEvent(event, this);\n\t        this.mainEventService.dispatchEvent(events_1.Events.EVENT_ROW_DOUBLE_CLICKED, agEvent);\n\t    };\n\t    RenderedRow.prototype.onRowClick = function (event) {\n\t        var agEvent = this.createEvent(event, this);\n\t        this.mainEventService.dispatchEvent(events_1.Events.EVENT_ROW_CLICKED, agEvent);\n\t        // ctrlKey for windows, metaKey for Apple\n\t        var multiSelectKeyPressed = event.ctrlKey || event.metaKey;\n\t        var shiftKeyPressed = event.shiftKey;\n\t        // we do not allow selecting groups by clicking (as the click here expands the group)\n\t        // so return if it's a group row\n\t        if (this.rowNode.group) {\n\t            return;\n\t        }\n\t        // we also don't allow selection of floating rows\n\t        if (this.rowNode.floating) {\n\t            return;\n\t        }\n\t        // if no selection method enabled, do nothing\n\t        if (!this.gridOptionsWrapper.isRowSelection()) {\n\t            return;\n\t        }\n\t        // if click selection suppressed, do nothing\n\t        if (this.gridOptionsWrapper.isSuppressRowClickSelection()) {\n\t            return;\n\t        }\n\t        if (this.rowNode.isSelected()) {\n\t            if (multiSelectKeyPressed) {\n\t                if (this.gridOptionsWrapper.isRowDeselection()) {\n\t                    this.rowNode.setSelectedParams({ newValue: false });\n\t                }\n\t            }\n\t            else {\n\t                // selected with no multi key, must make sure anything else is unselected\n\t                this.rowNode.setSelectedParams({ newValue: true, clearSelection: true });\n\t            }\n\t        }\n\t        else {\n\t            this.rowNode.setSelectedParams({ newValue: true, clearSelection: !multiSelectKeyPressed, rangeSelect: shiftKeyPressed });\n\t        }\n\t    };\n\t    RenderedRow.prototype.getRowNode = function () {\n\t        return this.rowNode;\n\t    };\n\t    RenderedRow.prototype.refreshCells = function (cols, animate) {\n\t        if (!cols) {\n\t            return;\n\t        }\n\t        var columnsToRefresh = this.columnController.getGridColumns(cols);\n\t        this.forEachRenderedCell(function (renderedCell) {\n\t            var colForCel = renderedCell.getColumn();\n\t            if (columnsToRefresh.indexOf(colForCel) >= 0) {\n\t                renderedCell.refreshCell(animate);\n\t            }\n\t        });\n\t    };\n\t    RenderedRow.prototype.addClassesFromRowClassFunc = function () {\n\t        var _this = this;\n\t        var classes = [];\n\t        var gridOptionsRowClassFunc = this.gridOptionsWrapper.getRowClassFunc();\n\t        if (gridOptionsRowClassFunc) {\n\t            var params = {\n\t                node: this.rowNode,\n\t                data: this.rowNode.data,\n\t                rowIndex: this.rowNode.rowIndex,\n\t                context: this.gridOptionsWrapper.getContext(),\n\t                api: this.gridOptionsWrapper.getApi()\n\t            };\n\t            var classToUseFromFunc = gridOptionsRowClassFunc(params);\n\t            if (classToUseFromFunc) {\n\t                if (typeof classToUseFromFunc === 'string') {\n\t                    classes.push(classToUseFromFunc);\n\t                }\n\t                else if (Array.isArray(classToUseFromFunc)) {\n\t                    classToUseFromFunc.forEach(function (classItem) {\n\t                        classes.push(classItem);\n\t                    });\n\t                }\n\t            }\n\t        }\n\t        classes.forEach(function (classStr) {\n\t            _this.eAllRowContainers.forEach(function (row) { return utils_1.Utils.addCssClass(row, classStr); });\n\t        });\n\t    };\n\t    RenderedRow.prototype.addGridClasses = function () {\n\t        var _this = this;\n\t        var classes = [];\n\t        classes.push('ag-row');\n\t        classes.push('ag-row-no-focus');\n\t        if (this.gridOptionsWrapper.isAnimateRows()) {\n\t            classes.push('ag-row-animation');\n\t        }\n\t        else {\n\t            classes.push('ag-row-no-animation');\n\t        }\n\t        if (this.rowNode.isSelected()) {\n\t            classes.push('ag-row-selected');\n\t        }\n\t        if (this.rowNode.group) {\n\t            classes.push('ag-row-group');\n\t            // if a group, put the level of the group in\n\t            classes.push('ag-row-level-' + this.rowNode.level);\n\t            if (this.rowNode.footer) {\n\t                classes.push('ag-row-footer');\n\t            }\n\t        }\n\t        else {\n\t            // if a leaf, and a parent exists, put a level of the parent, else put level of 0 for top level item\n\t            if (this.rowNode.parent) {\n\t                classes.push('ag-row-level-' + (this.rowNode.parent.level + 1));\n\t            }\n\t            else {\n\t                classes.push('ag-row-level-0');\n\t            }\n\t        }\n\t        if (this.fullWidthRow) {\n\t            classes.push('ag-full-width-row');\n\t        }\n\t        classes.forEach(function (classStr) {\n\t            _this.eAllRowContainers.forEach(function (row) { return utils_1.Utils.addCssClass(row, classStr); });\n\t        });\n\t    };\n\t    RenderedRow.prototype.addExpandedAndContractedClasses = function () {\n\t        var _this = this;\n\t        var isGroupNode = this.rowNode.group && !this.rowNode.footer;\n\t        if (!isGroupNode) {\n\t            return;\n\t        }\n\t        var listener = function () {\n\t            var expanded = _this.rowNode.expanded;\n\t            _this.eAllRowContainers.forEach(function (row) { return utils_1.Utils.addOrRemoveCssClass(row, 'ag-row-group-expanded', expanded); });\n\t            _this.eAllRowContainers.forEach(function (row) { return utils_1.Utils.addOrRemoveCssClass(row, 'ag-row-group-contracted', !expanded); });\n\t        };\n\t        this.addDestroyableEventListener(this.rowNode, rowNode_1.RowNode.EVENT_EXPANDED_CHANGED, listener);\n\t    };\n\t    RenderedRow.prototype.addClassesFromRowClass = function () {\n\t        var _this = this;\n\t        var classes = [];\n\t        // add in extra classes provided by the config\n\t        var gridOptionsRowClass = this.gridOptionsWrapper.getRowClass();\n\t        if (gridOptionsRowClass) {\n\t            if (typeof gridOptionsRowClass === 'function') {\n\t                console.warn('ag-Grid: rowClass should not be a function, please use getRowClass instead');\n\t            }\n\t            else {\n\t                if (typeof gridOptionsRowClass === 'string') {\n\t                    classes.push(gridOptionsRowClass);\n\t                }\n\t                else if (Array.isArray(gridOptionsRowClass)) {\n\t                    gridOptionsRowClass.forEach(function (classItem) {\n\t                        classes.push(classItem);\n\t                    });\n\t                }\n\t            }\n\t        }\n\t        classes.forEach(function (classStr) {\n\t            _this.eAllRowContainers.forEach(function (row) { return utils_1.Utils.addCssClass(row, classStr); });\n\t        });\n\t    };\n\t    return RenderedRow;\n\t}(beanStub_1.BeanStub));\n\tRenderedRow.EVENT_RENDERED_ROW_REMOVED = 'renderedRowRemoved';\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], RenderedRow.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", columnController_1.ColumnController)\n\t], RenderedRow.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnAnimationService'),\n\t    __metadata(\"design:type\", columnAnimationService_1.ColumnAnimationService)\n\t], RenderedRow.prototype, \"columnAnimationService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('$compile'),\n\t    __metadata(\"design:type\", Object)\n\t], RenderedRow.prototype, \"$compile\", void 0);\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], RenderedRow.prototype, \"mainEventService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('context'),\n\t    __metadata(\"design:type\", context_1.Context)\n\t], RenderedRow.prototype, \"context\", void 0);\n\t__decorate([\n\t    context_1.Autowired('focusedCellController'),\n\t    __metadata(\"design:type\", focusedCellController_1.FocusedCellController)\n\t], RenderedRow.prototype, \"focusedCellController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('cellRendererService'),\n\t    __metadata(\"design:type\", cellRendererService_1.CellRendererService)\n\t], RenderedRow.prototype, \"cellRendererService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridPanel'),\n\t    __metadata(\"design:type\", gridPanel_1.GridPanel)\n\t], RenderedRow.prototype, \"gridPanel\", void 0);\n\t__decorate([\n\t    context_1.Autowired('paginationProxy'),\n\t    __metadata(\"design:type\", paginationProxy_1.PaginationProxy)\n\t], RenderedRow.prototype, \"paginationProxy\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], RenderedRow.prototype, \"init\", null);\n\texports.RenderedRow = RenderedRow;\n\n\n/***/ }),\n/* 45 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar utils_1 = __webpack_require__(9);\n\tvar column_1 = __webpack_require__(18);\n\tvar rowNode_1 = __webpack_require__(30);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar expressionService_1 = __webpack_require__(21);\n\tvar rowRenderer_1 = __webpack_require__(26);\n\tvar templateService_1 = __webpack_require__(43);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar valueService_1 = __webpack_require__(32);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar constants_1 = __webpack_require__(10);\n\tvar events_1 = __webpack_require__(12);\n\tvar context_1 = __webpack_require__(8);\n\tvar gridApi_1 = __webpack_require__(13);\n\tvar focusedCellController_1 = __webpack_require__(36);\n\tvar gridCell_1 = __webpack_require__(37);\n\tvar focusService_1 = __webpack_require__(46);\n\tvar cellEditorFactory_1 = __webpack_require__(68);\n\tvar component_1 = __webpack_require__(52);\n\tvar popupService_1 = __webpack_require__(49);\n\tvar cellRendererFactory_1 = __webpack_require__(75);\n\tvar cellRendererService_1 = __webpack_require__(79);\n\tvar valueFormatterService_1 = __webpack_require__(80);\n\tvar checkboxSelectionComponent_1 = __webpack_require__(81);\n\tvar setLeftFeature_1 = __webpack_require__(64);\n\tvar methodNotImplementedException_1 = __webpack_require__(82);\n\tvar stylingService_1 = __webpack_require__(83);\n\tvar columnHoverService_1 = __webpack_require__(84);\n\tvar columnAnimationService_1 = __webpack_require__(65);\n\tvar RenderedCell = (function (_super) {\n\t    __extends(RenderedCell, _super);\n\t    function RenderedCell(column, node, scope, renderedRow) {\n\t        var _this = _super.call(this, '<div/>') || this;\n\t        // set to null, not false, as we need to set 'ag-cell-no-focus' first time around\n\t        _this.cellFocused = null;\n\t        _this.firstRightPinned = false;\n\t        _this.lastLeftPinned = false;\n\t        // because we reference eGridCell everywhere in this class,\n\t        // we keep a local reference\n\t        _this.eGridCell = _this.getGui();\n\t        _this.column = column;\n\t        _this.node = node;\n\t        _this.scope = scope;\n\t        _this.renderedRow = renderedRow;\n\t        _this.setupGridCell();\n\t        return _this;\n\t    }\n\t    RenderedCell.prototype.createGridCell = function () {\n\t        var gridCellDef = {\n\t            rowIndex: this.node.rowIndex,\n\t            floating: this.node.floating,\n\t            column: this.column\n\t        };\n\t        this.gridCell = new gridCell_1.GridCell(gridCellDef);\n\t    };\n\t    RenderedCell.prototype.setupGridCell = function () {\n\t        var _this = this;\n\t        var listener = function () {\n\t            // when index changes, this influences items that need the index, so we update the\n\t            // grid cell so they are working off the new index.\n\t            _this.createGridCell();\n\t            // when the index of the row changes, ie means the cell may have lost of gained focus\n\t            _this.checkCellFocused();\n\t        };\n\t        this.addDestroyableEventListener(this.node, rowNode_1.RowNode.EVENT_ROW_INDEX_CHANGED, listener);\n\t        this.createGridCell();\n\t    };\n\t    RenderedCell.prototype.getGridCell = function () {\n\t        return this.gridCell;\n\t    };\n\t    RenderedCell.prototype.setFocusInOnEditor = function () {\n\t        if (this.editingCell && this.cellEditor && this.cellEditor.focusIn) {\n\t            this.cellEditor.focusIn();\n\t        }\n\t    };\n\t    RenderedCell.prototype.setFocusOutOnEditor = function () {\n\t        if (this.editingCell && this.cellEditor && this.cellEditor.focusOut) {\n\t            this.cellEditor.focusOut();\n\t        }\n\t    };\n\t    RenderedCell.prototype.destroy = function () {\n\t        _super.prototype.destroy.call(this);\n\t        if (this.eParentRow) {\n\t            this.eParentRow.removeChild(this.getGui());\n\t            this.eParentRow = null;\n\t        }\n\t        if (this.cellEditor && this.cellEditor.destroy) {\n\t            this.cellEditor.destroy();\n\t        }\n\t        if (this.cellRenderer && this.cellRenderer.destroy) {\n\t            this.cellRenderer.destroy();\n\t        }\n\t    };\n\t    RenderedCell.prototype.setPinnedClasses = function () {\n\t        var _this = this;\n\t        var firstPinnedChangedListener = function () {\n\t            if (_this.firstRightPinned !== _this.column.isFirstRightPinned()) {\n\t                _this.firstRightPinned = _this.column.isFirstRightPinned();\n\t                utils_1.Utils.addOrRemoveCssClass(_this.eGridCell, 'ag-cell-first-right-pinned', _this.firstRightPinned);\n\t            }\n\t            if (_this.lastLeftPinned !== _this.column.isLastLeftPinned()) {\n\t                _this.lastLeftPinned = _this.column.isLastLeftPinned();\n\t                utils_1.Utils.addOrRemoveCssClass(_this.eGridCell, 'ag-cell-last-left-pinned', _this.lastLeftPinned);\n\t            }\n\t        };\n\t        this.addDestroyableEventListener(this.column, column_1.Column.EVENT_FIRST_RIGHT_PINNED_CHANGED, firstPinnedChangedListener);\n\t        this.addDestroyableEventListener(this.column, column_1.Column.EVENT_LAST_LEFT_PINNED_CHANGED, firstPinnedChangedListener);\n\t        firstPinnedChangedListener();\n\t    };\n\t    RenderedCell.prototype.getParentRow = function () {\n\t        return this.eParentRow;\n\t    };\n\t    RenderedCell.prototype.setParentRow = function (eParentRow) {\n\t        this.eParentRow = eParentRow;\n\t    };\n\t    RenderedCell.prototype.setupCheckboxSelection = function () {\n\t        // if boolean set, then just use it\n\t        var colDef = this.column.getColDef();\n\t        // never allow selection on floating rows\n\t        if (this.node.floating) {\n\t            this.usingWrapper = false;\n\t        }\n\t        else if (typeof colDef.checkboxSelection === 'boolean') {\n\t            this.usingWrapper = colDef.checkboxSelection;\n\t        }\n\t        else if (typeof colDef.checkboxSelection === 'function') {\n\t            this.usingWrapper = true;\n\t        }\n\t        else {\n\t            this.usingWrapper = false;\n\t        }\n\t    };\n\t    RenderedCell.prototype.getColumn = function () {\n\t        return this.column;\n\t    };\n\t    RenderedCell.prototype.getValue = function () {\n\t        var data = this.getDataForRow();\n\t        return this.valueService.getValueUsingSpecificData(this.column, data, this.node);\n\t    };\n\t    RenderedCell.prototype.getDataForRow = function () {\n\t        if (this.node.footer) {\n\t            // if footer, we always show the data\n\t            return this.node.data;\n\t        }\n\t        else if (this.node.group) {\n\t            // if header and header is expanded, we show data in footer only\n\t            var footersEnabled = this.gridOptionsWrapper.isGroupIncludeFooter();\n\t            var suppressHideHeader = this.gridOptionsWrapper.isGroupSuppressBlankHeader();\n\t            if (this.node.expanded && footersEnabled && !suppressHideHeader) {\n\t                return undefined;\n\t            }\n\t            else {\n\t                return this.node.data;\n\t            }\n\t        }\n\t        else {\n\t            // otherwise it's a normal node, just return data as normal\n\t            return this.node.data;\n\t        }\n\t    };\n\t    RenderedCell.prototype.addRangeSelectedListener = function () {\n\t        var _this = this;\n\t        if (!this.rangeController) {\n\t            return;\n\t        }\n\t        var rangeCountLastTime = 0;\n\t        var rangeSelectedListener = function () {\n\t            var rangeCount = _this.rangeController.getCellRangeCount(_this.gridCell);\n\t            if (rangeCountLastTime !== rangeCount) {\n\t                utils_1.Utils.addOrRemoveCssClass(_this.eGridCell, 'ag-cell-range-selected', rangeCount !== 0);\n\t                utils_1.Utils.addOrRemoveCssClass(_this.eGridCell, 'ag-cell-range-selected-1', rangeCount === 1);\n\t                utils_1.Utils.addOrRemoveCssClass(_this.eGridCell, 'ag-cell-range-selected-2', rangeCount === 2);\n\t                utils_1.Utils.addOrRemoveCssClass(_this.eGridCell, 'ag-cell-range-selected-3', rangeCount === 3);\n\t                utils_1.Utils.addOrRemoveCssClass(_this.eGridCell, 'ag-cell-range-selected-4', rangeCount >= 4);\n\t                rangeCountLastTime = rangeCount;\n\t            }\n\t        };\n\t        this.eventService.addEventListener(events_1.Events.EVENT_RANGE_SELECTION_CHANGED, rangeSelectedListener);\n\t        this.addDestroyFunc(function () {\n\t            _this.eventService.removeEventListener(events_1.Events.EVENT_RANGE_SELECTION_CHANGED, rangeSelectedListener);\n\t        });\n\t        rangeSelectedListener();\n\t    };\n\t    RenderedCell.prototype.addHighlightListener = function () {\n\t        var _this = this;\n\t        if (!this.rangeController) {\n\t            return;\n\t        }\n\t        var clipboardListener = function (event) {\n\t            var cellId = _this.gridCell.createId();\n\t            var shouldFlash = event.cells[cellId];\n\t            if (shouldFlash) {\n\t                _this.animateCellWithHighlight();\n\t            }\n\t        };\n\t        this.eventService.addEventListener(events_1.Events.EVENT_FLASH_CELLS, clipboardListener);\n\t        this.addDestroyFunc(function () {\n\t            _this.eventService.removeEventListener(events_1.Events.EVENT_FLASH_CELLS, clipboardListener);\n\t        });\n\t    };\n\t    RenderedCell.prototype.addChangeListener = function () {\n\t        var _this = this;\n\t        var cellChangeListener = function (event) {\n\t            if (event.column === _this.column) {\n\t                _this.refreshCell();\n\t                _this.animateCellWithDataChanged();\n\t            }\n\t        };\n\t        this.addDestroyableEventListener(this.node, rowNode_1.RowNode.EVENT_CELL_CHANGED, cellChangeListener);\n\t    };\n\t    RenderedCell.prototype.animateCellWithDataChanged = function () {\n\t        if (this.gridOptionsWrapper.isEnableCellChangeFlash() || this.column.getColDef().enableCellChangeFlash) {\n\t            this.animateCell('data-changed');\n\t        }\n\t    };\n\t    RenderedCell.prototype.animateCellWithHighlight = function () {\n\t        this.animateCell('highlight');\n\t    };\n\t    RenderedCell.prototype.animateCell = function (cssName) {\n\t        var _this = this;\n\t        var fullName = 'ag-cell-' + cssName;\n\t        var animationFullName = 'ag-cell-' + cssName + '-animation';\n\t        // we want to highlight the cells, without any animation\n\t        utils_1.Utils.addCssClass(this.eGridCell, fullName);\n\t        utils_1.Utils.removeCssClass(this.eGridCell, animationFullName);\n\t        // then once that is applied, we remove the highlight with animation\n\t        setTimeout(function () {\n\t            utils_1.Utils.removeCssClass(_this.eGridCell, fullName);\n\t            utils_1.Utils.addCssClass(_this.eGridCell, animationFullName);\n\t            setTimeout(function () {\n\t                // and then to leave things as we got them, we remove the animation\n\t                utils_1.Utils.removeCssClass(_this.eGridCell, animationFullName);\n\t            }, 1000);\n\t        }, 500);\n\t    };\n\t    RenderedCell.prototype.addCellFocusedListener = function () {\n\t        var _this = this;\n\t        var cellFocusedListener = this.checkCellFocused.bind(this);\n\t        this.eventService.addEventListener(events_1.Events.EVENT_CELL_FOCUSED, cellFocusedListener);\n\t        this.addDestroyFunc(function () {\n\t            _this.eventService.removeEventListener(events_1.Events.EVENT_CELL_FOCUSED, cellFocusedListener);\n\t        });\n\t        cellFocusedListener();\n\t    };\n\t    RenderedCell.prototype.checkCellFocused = function (event) {\n\t        var cellFocused = this.focusedCellController.isCellFocused(this.gridCell);\n\t        // see if we need to change the classes on this cell\n\t        if (cellFocused !== this.cellFocused) {\n\t            utils_1.Utils.addOrRemoveCssClass(this.eGridCell, 'ag-cell-focus', cellFocused);\n\t            utils_1.Utils.addOrRemoveCssClass(this.eGridCell, 'ag-cell-no-focus', !cellFocused);\n\t            this.cellFocused = cellFocused;\n\t        }\n\t        // if this cell was just focused, see if we need to force browser focus, his can\n\t        // happen if focus is programmatically set.\n\t        if (cellFocused && event && event.forceBrowserFocus) {\n\t            this.eGridCell.focus();\n\t        }\n\t        // if another cell was focused, and we are editing, then stop editing\n\t        var fullRowEdit = this.gridOptionsWrapper.isFullRowEdit();\n\t        if (!cellFocused && !fullRowEdit && this.editingCell) {\n\t            this.stopRowOrCellEdit();\n\t        }\n\t    };\n\t    RenderedCell.prototype.setWidthOnCell = function () {\n\t        var _this = this;\n\t        var widthChangedListener = function () {\n\t            _this.eGridCell.style.width = _this.column.getActualWidth() + \"px\";\n\t        };\n\t        this.column.addEventListener(column_1.Column.EVENT_WIDTH_CHANGED, widthChangedListener);\n\t        this.addDestroyFunc(function () {\n\t            _this.column.removeEventListener(column_1.Column.EVENT_WIDTH_CHANGED, widthChangedListener);\n\t        });\n\t        widthChangedListener();\n\t    };\n\t    RenderedCell.prototype.init = function () {\n\t        this.value = this.getValue();\n\t        this.setupCheckboxSelection();\n\t        this.setWidthOnCell();\n\t        this.setPinnedClasses();\n\t        this.addRangeSelectedListener();\n\t        this.addHighlightListener();\n\t        this.addChangeListener();\n\t        this.addCellFocusedListener();\n\t        this.addColumnHoverListener();\n\t        this.addDomData();\n\t        // this.addSuppressShortcutKeyListenersWhileEditing();\n\t        this.addFeature(this.context, new setLeftFeature_1.SetLeftFeature(this.column, this.eGridCell));\n\t        // only set tab index if cell selection is enabled\n\t        if (!this.gridOptionsWrapper.isSuppressCellSelection()) {\n\t            this.eGridCell.setAttribute(\"tabindex\", \"-1\");\n\t        }\n\t        // these are the grid styles, don't change between soft refreshes\n\t        this.addClasses();\n\t        this.setInlineEditingClass();\n\t        this.createParentOfValue();\n\t        this.populateCell();\n\t    };\n\t    RenderedCell.prototype.addColumnHoverListener = function () {\n\t        this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_COLUMN_HOVER_CHANGED, this.onColumnHover.bind(this));\n\t        this.onColumnHover();\n\t    };\n\t    RenderedCell.prototype.onColumnHover = function () {\n\t        var isHovered = this.columnHoverService.isHovered(this.column);\n\t        utils_1.Utils.addOrRemoveCssClass(this.getGui(), 'ag-column-hover', isHovered);\n\t    };\n\t    RenderedCell.prototype.addDomData = function () {\n\t        var domDataKey = this.gridOptionsWrapper.getDomDataKey();\n\t        var gridCellNoType = this.eGridCell;\n\t        gridCellNoType[domDataKey] = {\n\t            renderedCell: this\n\t        };\n\t        this.addDestroyFunc(function () { return gridCellNoType[domDataKey] = null; });\n\t    };\n\t    RenderedCell.prototype.onEnterKeyDown = function () {\n\t        if (this.editingCell) {\n\t            this.stopRowOrCellEdit();\n\t            this.focusCell(true);\n\t        }\n\t        else {\n\t            this.startRowOrCellEdit(constants_1.Constants.KEY_ENTER);\n\t        }\n\t    };\n\t    RenderedCell.prototype.onF2KeyDown = function () {\n\t        if (!this.editingCell) {\n\t            this.startRowOrCellEdit(constants_1.Constants.KEY_F2);\n\t        }\n\t    };\n\t    RenderedCell.prototype.onEscapeKeyDown = function () {\n\t        if (this.editingCell) {\n\t            this.stopRowOrCellEdit(true);\n\t            this.focusCell(true);\n\t        }\n\t    };\n\t    RenderedCell.prototype.onPopupEditorClosed = function () {\n\t        // we only call stopEditing if we are editing, as\n\t        // it's possible the popup called 'stop editing'\n\t        // before this, eg if 'enter key' was pressed on\n\t        // the editor.\n\t        if (this.editingCell) {\n\t            // note: this only happens when use clicks outside of the grid. if use clicks on another\n\t            // cell, then the editing will have already stopped on this cell\n\t            this.stopRowOrCellEdit();\n\t            // we only focus cell again if this cell is still focused. it is possible\n\t            // it is not focused if the user cancelled the edit by clicking on another\n\t            // cell outside of this one\n\t            if (this.focusedCellController.isCellFocused(this.gridCell)) {\n\t                this.focusCell(true);\n\t            }\n\t        }\n\t    };\n\t    RenderedCell.prototype.isEditing = function () {\n\t        return this.editingCell;\n\t    };\n\t    RenderedCell.prototype.onTabKeyDown = function (event) {\n\t        if (this.gridOptionsWrapper.isSuppressTabbing()) {\n\t            return;\n\t        }\n\t        this.rowRenderer.onTabKeyDown(this, event);\n\t    };\n\t    RenderedCell.prototype.onBackspaceOrDeleteKeyPressed = function (key) {\n\t        if (!this.editingCell) {\n\t            this.startRowOrCellEdit(key);\n\t        }\n\t    };\n\t    RenderedCell.prototype.onSpaceKeyPressed = function (event) {\n\t        if (!this.editingCell && this.gridOptionsWrapper.isRowSelection()) {\n\t            var selected = this.node.isSelected();\n\t            this.node.setSelected(!selected);\n\t        }\n\t        // prevent default as space key, by default, moves browser scroll down\n\t        event.preventDefault();\n\t    };\n\t    RenderedCell.prototype.onNavigationKeyPressed = function (event, key) {\n\t        if (this.editingCell) {\n\t            this.stopRowOrCellEdit();\n\t        }\n\t        this.rowRenderer.navigateToNextCell(event, key, this.gridCell.rowIndex, this.column, this.node.floating);\n\t        // if we don't prevent default, the grid will scroll with the navigation keys\n\t        event.preventDefault();\n\t    };\n\t    RenderedCell.prototype.onKeyPress = function (event) {\n\t        // check this, in case focus is on a (for example) a text field inside the cell,\n\t        // in which cse we should not be listening for these key pressed\n\t        var eventTarget = utils_1.Utils.getTarget(event);\n\t        var eventOnChildComponent = eventTarget !== this.getGui();\n\t        if (eventOnChildComponent) {\n\t            return;\n\t        }\n\t        if (!this.editingCell) {\n\t            var pressedChar = String.fromCharCode(event.charCode);\n\t            if (pressedChar === ' ') {\n\t                this.onSpaceKeyPressed(event);\n\t            }\n\t            else {\n\t                if (RenderedCell.PRINTABLE_CHARACTERS.indexOf(pressedChar) >= 0) {\n\t                    this.startRowOrCellEdit(null, pressedChar);\n\t                    // if we don't prevent default, then the keypress also gets applied to the text field\n\t                    // (at least when doing the default editor), but we need to allow the editor to decide\n\t                    // what it wants to do. we only do this IF editing was started - otherwise it messes\n\t                    // up when the use is not doing editing, but using rendering with text fields in cellRenderer\n\t                    // (as it would block the the user from typing into text fields).\n\t                    event.preventDefault();\n\t                }\n\t            }\n\t        }\n\t    };\n\t    RenderedCell.prototype.onKeyDown = function (event) {\n\t        var key = event.which || event.keyCode;\n\t        switch (key) {\n\t            case constants_1.Constants.KEY_ENTER:\n\t                this.onEnterKeyDown();\n\t                break;\n\t            case constants_1.Constants.KEY_F2:\n\t                this.onF2KeyDown();\n\t                break;\n\t            case constants_1.Constants.KEY_ESCAPE:\n\t                this.onEscapeKeyDown();\n\t                break;\n\t            case constants_1.Constants.KEY_TAB:\n\t                this.onTabKeyDown(event);\n\t                break;\n\t            case constants_1.Constants.KEY_BACKSPACE:\n\t            case constants_1.Constants.KEY_DELETE:\n\t                this.onBackspaceOrDeleteKeyPressed(key);\n\t                break;\n\t            case constants_1.Constants.KEY_DOWN:\n\t            case constants_1.Constants.KEY_UP:\n\t            case constants_1.Constants.KEY_RIGHT:\n\t            case constants_1.Constants.KEY_LEFT:\n\t                this.onNavigationKeyPressed(event, key);\n\t                break;\n\t        }\n\t    };\n\t    RenderedCell.prototype.createCellEditorParams = function (keyPress, charPress, cellStartedEdit) {\n\t        var params = {\n\t            value: this.getValue(),\n\t            keyPress: keyPress,\n\t            charPress: charPress,\n\t            column: this.column,\n\t            rowIndex: this.gridCell.rowIndex,\n\t            node: this.node,\n\t            api: this.gridOptionsWrapper.getApi(),\n\t            cellStartedEdit: cellStartedEdit,\n\t            columnApi: this.gridOptionsWrapper.getColumnApi(),\n\t            context: this.gridOptionsWrapper.getContext(),\n\t            $scope: this.scope,\n\t            onKeyDown: this.onKeyDown.bind(this),\n\t            stopEditing: this.stopEditingAndFocus.bind(this),\n\t            eGridCell: this.eGridCell\n\t        };\n\t        var colDef = this.column.getColDef();\n\t        if (colDef.cellEditorParams) {\n\t            utils_1.Utils.assign(params, colDef.cellEditorParams);\n\t        }\n\t        return params;\n\t    };\n\t    RenderedCell.prototype.createCellEditor = function (keyPress, charPress, cellStartedEdit) {\n\t        var params = this.createCellEditorParams(keyPress, charPress, cellStartedEdit);\n\t        var cellEditor = this.cellEditorFactory.createCellEditor(this.column.getCellEditor(), params);\n\t        return cellEditor;\n\t    };\n\t    // cell editors call this, when they want to stop for reasons other\n\t    // than what we pick up on. eg selecting from a dropdown ends editing.\n\t    RenderedCell.prototype.stopEditingAndFocus = function () {\n\t        this.stopRowOrCellEdit();\n\t        this.focusCell(true);\n\t    };\n\t    // called by rowRenderer when user navigates via tab key\n\t    RenderedCell.prototype.startRowOrCellEdit = function (keyPress, charPress) {\n\t        if (this.gridOptionsWrapper.isFullRowEdit()) {\n\t            this.renderedRow.startRowEditing(keyPress, charPress, this);\n\t        }\n\t        else {\n\t            this.startEditingIfEnabled(keyPress, charPress, true);\n\t        }\n\t    };\n\t    // either called internally if single cell editing, or called by rowRenderer if row editing\n\t    RenderedCell.prototype.startEditingIfEnabled = function (keyPress, charPress, cellStartedEdit) {\n\t        if (keyPress === void 0) { keyPress = null; }\n\t        if (charPress === void 0) { charPress = null; }\n\t        if (cellStartedEdit === void 0) { cellStartedEdit = false; }\n\t        // don't do it if not editable\n\t        if (!this.isCellEditable()) {\n\t            return;\n\t        }\n\t        // don't do it if already editing\n\t        if (this.editingCell) {\n\t            return;\n\t        }\n\t        var cellEditor = this.createCellEditor(keyPress, charPress, cellStartedEdit);\n\t        if (cellEditor.isCancelBeforeStart && cellEditor.isCancelBeforeStart()) {\n\t            if (cellEditor.destroy) {\n\t                cellEditor.destroy();\n\t            }\n\t            return false;\n\t        }\n\t        if (!cellEditor.getGui) {\n\t            console.warn(\"ag-Grid: cellEditor for column \" + this.column.getId() + \" is missing getGui() method\");\n\t            // no getGui, for React guys, see if they attached a react component directly\n\t            if (cellEditor.render) {\n\t                console.warn(\"ag-Grid: we found 'render' on the component, are you trying to set a React renderer but added it as colDef.cellEditor instead of colDef.cellEditorFmk?\");\n\t            }\n\t            return false;\n\t        }\n\t        this.cellEditor = cellEditor;\n\t        this.editingCell = true;\n\t        this.cellEditorInPopup = this.cellEditor.isPopup && this.cellEditor.isPopup();\n\t        this.setInlineEditingClass();\n\t        if (this.cellEditorInPopup) {\n\t            this.addPopupCellEditor();\n\t        }\n\t        else {\n\t            this.addInCellEditor();\n\t        }\n\t        if (cellEditor.afterGuiAttached) {\n\t            cellEditor.afterGuiAttached();\n\t        }\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_CELL_EDITING_STARTED, this.createParams());\n\t        return true;\n\t    };\n\t    RenderedCell.prototype.addInCellEditor = function () {\n\t        utils_1.Utils.removeAllChildren(this.eGridCell);\n\t        this.eGridCell.appendChild(this.cellEditor.getGui());\n\t        if (this.gridOptionsWrapper.isAngularCompileRows()) {\n\t            this.$compile(this.eGridCell)(this.scope);\n\t        }\n\t    };\n\t    RenderedCell.prototype.addPopupCellEditor = function () {\n\t        var _this = this;\n\t        var ePopupGui = this.cellEditor.getGui();\n\t        this.hideEditorPopup = this.popupService.addAsModalPopup(ePopupGui, true, \n\t        // callback for when popup disappears\n\t        function () {\n\t            _this.onPopupEditorClosed();\n\t        });\n\t        this.popupService.positionPopupOverComponent({\n\t            eventSource: this.eGridCell,\n\t            ePopup: ePopupGui,\n\t            keepWithinBounds: true\n\t        });\n\t        if (this.gridOptionsWrapper.isAngularCompileRows()) {\n\t            this.$compile(ePopupGui)(this.scope);\n\t        }\n\t    };\n\t    RenderedCell.prototype.focusCell = function (forceBrowserFocus) {\n\t        if (forceBrowserFocus === void 0) { forceBrowserFocus = false; }\n\t        this.focusedCellController.setFocusedCell(this.gridCell.rowIndex, this.column, this.node.floating, forceBrowserFocus);\n\t    };\n\t    // pass in 'true' to cancel the editing.\n\t    RenderedCell.prototype.stopRowOrCellEdit = function (cancel) {\n\t        if (cancel === void 0) { cancel = false; }\n\t        if (this.gridOptionsWrapper.isFullRowEdit()) {\n\t            this.renderedRow.stopRowEditing(cancel);\n\t        }\n\t        else {\n\t            this.stopEditing(cancel);\n\t        }\n\t    };\n\t    RenderedCell.prototype.stopEditing = function (cancel) {\n\t        if (cancel === void 0) { cancel = false; }\n\t        if (!this.editingCell) {\n\t            return;\n\t        }\n\t        this.editingCell = false;\n\t        if (!cancel) {\n\t            // also have another option here to cancel after editing, so for example user could have a popup editor and\n\t            // it is closed by user clicking outside the editor. then the editor will close automatically (with false\n\t            // passed above) and we need to see if the editor wants to accept the new value.\n\t            var userWantsToCancel = this.cellEditor.isCancelAfterEnd && this.cellEditor.isCancelAfterEnd();\n\t            if (!userWantsToCancel) {\n\t                var newValue = this.cellEditor.getValue();\n\t                this.valueService.setValue(this.node, this.column, newValue);\n\t                this.value = this.getValue();\n\t            }\n\t        }\n\t        if (this.cellEditor.destroy) {\n\t            this.cellEditor.destroy();\n\t        }\n\t        if (this.cellEditorInPopup) {\n\t            this.hideEditorPopup();\n\t            this.hideEditorPopup = null;\n\t        }\n\t        else {\n\t            utils_1.Utils.removeAllChildren(this.eGridCell);\n\t            // put the cell back the way it was before editing\n\t            if (this.usingWrapper) {\n\t                // if wrapper, then put the wrapper back\n\t                this.eGridCell.appendChild(this.eCellWrapper);\n\t            }\n\t            else {\n\t                // if cellRenderer, then put the gui back in. if the renderer has\n\t                // a refresh, it will be called. however if it doesn't, then later\n\t                // the renderer will be destroyed and a new one will be created.\n\t                if (this.cellRenderer) {\n\t                    this.eGridCell.appendChild(this.cellRenderer.getGui());\n\t                }\n\t            }\n\t        }\n\t        this.setInlineEditingClass();\n\t        this.refreshCell();\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_CELL_EDITING_STOPPED, this.createParams());\n\t    };\n\t    RenderedCell.prototype.createParams = function () {\n\t        var params = {\n\t            node: this.node,\n\t            data: this.node.data,\n\t            value: this.value,\n\t            rowIndex: this.gridCell.rowIndex,\n\t            column: this.column,\n\t            colDef: this.column.getColDef(),\n\t            $scope: this.scope,\n\t            context: this.gridOptionsWrapper.getContext(),\n\t            api: this.gridApi,\n\t            columnApi: this.columnApi\n\t        };\n\t        return params;\n\t    };\n\t    RenderedCell.prototype.createEvent = function (event) {\n\t        var agEvent = this.createParams();\n\t        agEvent.event = event;\n\t        return agEvent;\n\t    };\n\t    RenderedCell.prototype.getRenderedRow = function () {\n\t        return this.renderedRow;\n\t    };\n\t    RenderedCell.prototype.isSuppressNavigable = function () {\n\t        return this.column.isSuppressNavigable(this.node);\n\t    };\n\t    RenderedCell.prototype.isCellEditable = function () {\n\t        // only allow editing of groups if the user has this option enabled\n\t        if (this.node.group && !this.gridOptionsWrapper.isEnableGroupEdit()) {\n\t            return false;\n\t        }\n\t        return this.column.isCellEditable(this.node);\n\t    };\n\t    RenderedCell.prototype.onMouseEvent = function (eventName, mouseEvent) {\n\t        switch (eventName) {\n\t            case 'click':\n\t                this.onCellClicked(mouseEvent);\n\t                break;\n\t            case 'mousedown':\n\t                this.onMouseDown();\n\t                break;\n\t            case 'dblclick':\n\t                this.onCellDoubleClicked(mouseEvent);\n\t                break;\n\t            case 'contextmenu':\n\t                this.onContextMenu(mouseEvent);\n\t                break;\n\t            case 'mouseout':\n\t                this.onMouseOut(mouseEvent);\n\t                break;\n\t            case 'mouseover':\n\t                this.onMouseOver(mouseEvent);\n\t                break;\n\t        }\n\t    };\n\t    RenderedCell.prototype.onMouseOut = function (mouseEvent) {\n\t        var agEvent = this.createEvent(mouseEvent);\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_CELL_MOUSE_OUT, agEvent);\n\t    };\n\t    RenderedCell.prototype.onMouseOver = function (mouseEvent) {\n\t        var agEvent = this.createEvent(mouseEvent);\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_CELL_MOUSE_OVER, agEvent);\n\t    };\n\t    RenderedCell.prototype.onContextMenu = function (mouseEvent) {\n\t        // to allow us to debug in chrome, we ignore the event if ctrl is pressed.\n\t        // not everyone wants this, so first 'if' below allows to turn this hack off.\n\t        if (!this.gridOptionsWrapper.isAllowContextMenuWithControlKey()) {\n\t            // then do the check\n\t            if (mouseEvent.ctrlKey || mouseEvent.metaKey) {\n\t                return;\n\t            }\n\t        }\n\t        var colDef = this.column.getColDef();\n\t        var agEvent = this.createEvent(mouseEvent);\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_CELL_CONTEXT_MENU, agEvent);\n\t        if (colDef.onCellContextMenu) {\n\t            colDef.onCellContextMenu(agEvent);\n\t        }\n\t        if (this.contextMenuFactory && !this.gridOptionsWrapper.isSuppressContextMenu()) {\n\t            this.contextMenuFactory.showMenu(this.node, this.column, this.value, mouseEvent);\n\t            mouseEvent.preventDefault();\n\t        }\n\t    };\n\t    RenderedCell.prototype.onCellDoubleClicked = function (mouseEvent) {\n\t        var colDef = this.column.getColDef();\n\t        // always dispatch event to eventService\n\t        var agEvent = this.createEvent(mouseEvent);\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_CELL_DOUBLE_CLICKED, agEvent);\n\t        // check if colDef also wants to handle event\n\t        if (typeof colDef.onCellDoubleClicked === 'function') {\n\t            colDef.onCellDoubleClicked(agEvent);\n\t        }\n\t        var editOnDoubleClick = !this.gridOptionsWrapper.isSingleClickEdit()\n\t            && !this.gridOptionsWrapper.isSuppressClickEdit();\n\t        if (editOnDoubleClick) {\n\t            this.startRowOrCellEdit();\n\t        }\n\t    };\n\t    RenderedCell.prototype.onMouseDown = function () {\n\t        // we pass false to focusCell, as we don't want the cell to focus\n\t        // also get the browser focus. if we did, then the cellRenderer could\n\t        // have a text field in it, for example, and as the user clicks on the\n\t        // text field, the text field, the focus doesn't get to the text\n\t        // field, instead to goes to the div behind, making it impossible to\n\t        // select the text field.\n\t        this.focusCell(false);\n\t        // if it's a right click, then if the cell is already in range,\n\t        // don't change the range, however if the cell is not in a range,\n\t        // we set a new range\n\t        if (this.rangeController) {\n\t            var thisCell = this.gridCell;\n\t            var cellAlreadyInRange = this.rangeController.isCellInAnyRange(thisCell);\n\t            if (!cellAlreadyInRange) {\n\t                this.rangeController.setRangeToCell(thisCell);\n\t            }\n\t        }\n\t    };\n\t    RenderedCell.prototype.onCellClicked = function (mouseEvent) {\n\t        var agEvent = this.createEvent(mouseEvent);\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_CELL_CLICKED, agEvent);\n\t        var colDef = this.column.getColDef();\n\t        if (colDef.onCellClicked) {\n\t            colDef.onCellClicked(agEvent);\n\t        }\n\t        var editOnSingleClick = this.gridOptionsWrapper.isSingleClickEdit()\n\t            && !this.gridOptionsWrapper.isSuppressClickEdit();\n\t        if (editOnSingleClick) {\n\t            this.startRowOrCellEdit();\n\t        }\n\t        this.doIeFocusHack();\n\t    };\n\t    // https://ag-grid.com/forum/showthread.php?tid=4362\n\t    // when in IE or Edge, when you are editing a cell, then click on another cell,\n\t    // the other cell doesn't keep focus, so navigation keys, type to start edit etc\n\t    // don't work. appears that when you update the dom in IE it looses focus\n\t    RenderedCell.prototype.doIeFocusHack = function () {\n\t        if (utils_1.Utils.isBrowserIE() || utils_1.Utils.isBrowserEdge()) {\n\t            if (utils_1.Utils.missing(document.activeElement) || document.activeElement === document.body) {\n\t                // console.log('missing focus');\n\t                this.getGui().focus();\n\t            }\n\t        }\n\t    };\n\t    // if we are editing inline, then we don't have the padding in the cell (set in the themes)\n\t    // to allow the text editor full access to the entire cell\n\t    RenderedCell.prototype.setInlineEditingClass = function () {\n\t        var editingInline = this.editingCell && !this.cellEditorInPopup;\n\t        utils_1.Utils.addOrRemoveCssClass(this.eGridCell, 'ag-cell-inline-editing', editingInline);\n\t        utils_1.Utils.addOrRemoveCssClass(this.eGridCell, 'ag-cell-not-inline-editing', !editingInline);\n\t    };\n\t    RenderedCell.prototype.populateCell = function () {\n\t        // populate\n\t        this.putDataIntoCell();\n\t        // style\n\t        this.addStylesFromColDef();\n\t        this.addClassesFromColDef();\n\t        this.addClassesFromRules();\n\t    };\n\t    RenderedCell.prototype.addStylesFromColDef = function () {\n\t        var colDef = this.column.getColDef();\n\t        if (colDef.cellStyle) {\n\t            var cssToUse;\n\t            if (typeof colDef.cellStyle === 'function') {\n\t                var cellStyleParams = {\n\t                    value: this.value,\n\t                    data: this.node.data,\n\t                    node: this.node,\n\t                    colDef: colDef,\n\t                    column: this.column,\n\t                    $scope: this.scope,\n\t                    context: this.gridOptionsWrapper.getContext(),\n\t                    api: this.gridOptionsWrapper.getApi()\n\t                };\n\t                var cellStyleFunc = colDef.cellStyle;\n\t                cssToUse = cellStyleFunc(cellStyleParams);\n\t            }\n\t            else {\n\t                cssToUse = colDef.cellStyle;\n\t            }\n\t            if (cssToUse) {\n\t                utils_1.Utils.addStylesToElement(this.eGridCell, cssToUse);\n\t            }\n\t        }\n\t    };\n\t    RenderedCell.prototype.addClassesFromColDef = function () {\n\t        var _this = this;\n\t        this.stylingService.processStaticCellClasses(this.column.getColDef(), {\n\t            value: this.value,\n\t            data: this.node.data,\n\t            node: this.node,\n\t            colDef: this.column.getColDef(),\n\t            rowIndex: this.gridCell.rowIndex,\n\t            $scope: this.scope,\n\t            api: this.gridOptionsWrapper.getApi(),\n\t            context: this.gridOptionsWrapper.getContext()\n\t        }, function (className) {\n\t            utils_1.Utils.addCssClass(_this.eGridCell, className);\n\t        });\n\t    };\n\t    RenderedCell.prototype.createParentOfValue = function () {\n\t        if (this.usingWrapper) {\n\t            this.eCellWrapper = document.createElement('span');\n\t            utils_1.Utils.addCssClass(this.eCellWrapper, 'ag-cell-wrapper');\n\t            this.eGridCell.appendChild(this.eCellWrapper);\n\t            var cbSelectionComponent = new checkboxSelectionComponent_1.CheckboxSelectionComponent();\n\t            this.context.wireBean(cbSelectionComponent);\n\t            var visibleFunc = this.column.getColDef().checkboxSelection;\n\t            visibleFunc = typeof visibleFunc === 'function' ? visibleFunc : null;\n\t            cbSelectionComponent.init({ rowNode: this.node, column: this.column, visibleFunc: visibleFunc });\n\t            this.addDestroyFunc(function () { return cbSelectionComponent.destroy(); });\n\t            // eventually we call eSpanWithValue.innerHTML = xxx, so cannot include the checkbox (above) in this span\n\t            this.eSpanWithValue = document.createElement('span');\n\t            utils_1.Utils.addCssClass(this.eSpanWithValue, 'ag-cell-value');\n\t            this.eCellWrapper.appendChild(cbSelectionComponent.getGui());\n\t            this.eCellWrapper.appendChild(this.eSpanWithValue);\n\t            this.eParentOfValue = this.eSpanWithValue;\n\t        }\n\t        else {\n\t            utils_1.Utils.addCssClass(this.eGridCell, 'ag-cell-value');\n\t            this.eParentOfValue = this.eGridCell;\n\t        }\n\t    };\n\t    RenderedCell.prototype.isVolatile = function () {\n\t        return this.column.getColDef().volatile;\n\t    };\n\t    RenderedCell.prototype.refreshCell = function (animate, newData) {\n\t        if (animate === void 0) { animate = false; }\n\t        if (newData === void 0) { newData = false; }\n\t        this.value = this.getValue();\n\t        var refreshFailed = false;\n\t        var that = this;\n\t        // if it's 'new data', then we don't refresh the cellRenderer, even if refresh method is available.\n\t        // this is because if the whole data is new (ie we are showing stock price 'BBA' now and not 'SSD')\n\t        // then we are not showing a movement in the stock price, rather we are showing different stock.\n\t        var attemptRefresh = !newData && this.cellRenderer && this.cellRenderer.refresh;\n\t        if (attemptRefresh) {\n\t            try {\n\t                doRefresh();\n\t            }\n\t            catch (e) {\n\t                if (e instanceof methodNotImplementedException_1.MethodNotImplementedException) {\n\t                    refreshFailed = true;\n\t                }\n\t                else {\n\t                    throw e;\n\t                }\n\t            }\n\t        }\n\t        // we do the replace if not doing refresh, or if refresh was unsuccessful.\n\t        // the refresh can be unsuccessful if we are using a framework (eg ng2 or react) and the framework\n\t        // wrapper has the refresh method, but the underlying component doesn't\n\t        if (!attemptRefresh || refreshFailed) {\n\t            doReplace();\n\t        }\n\t        if (animate) {\n\t            this.animateCellWithDataChanged();\n\t        }\n\t        // need to check rules. note, we ignore colDef classes and styles, these are assumed to be static\n\t        this.addClassesFromRules();\n\t        function doRefresh() {\n\t            // if the cell renderer has a refresh method, we call this instead of doing a refresh\n\t            // note: should pass in params here instead of value?? so that client has formattedValue\n\t            var valueFormatted = that.formatValue(that.value);\n\t            var cellRendererParams = that.column.getColDef().cellRendererParams;\n\t            var params = that.createRendererAndRefreshParams(valueFormatted, cellRendererParams);\n\t            that.cellRenderer.refresh(params);\n\t        }\n\t        function doReplace() {\n\t            // otherwise we rip out the cell and replace it\n\t            utils_1.Utils.removeAllChildren(that.eParentOfValue);\n\t            // remove old renderer component if it exists\n\t            if (that.cellRenderer && that.cellRenderer.destroy) {\n\t                that.cellRenderer.destroy();\n\t            }\n\t            that.cellRenderer = null;\n\t            that.populateCell();\n\t            // if angular compiling, then need to also compile the cell again (angular compiling sucks, please wait...)\n\t            if (that.gridOptionsWrapper.isAngularCompileRows()) {\n\t                that.$compile(that.eGridCell)(that.scope);\n\t            }\n\t        }\n\t    };\n\t    RenderedCell.prototype.addClassesFromRules = function () {\n\t        var _this = this;\n\t        this.stylingService.processCellClassRules(this.column.getColDef(), {\n\t            value: this.value,\n\t            data: this.node.data,\n\t            node: this.node,\n\t            colDef: this.column.getColDef(),\n\t            rowIndex: this.gridCell.rowIndex,\n\t            api: this.gridOptionsWrapper.getApi(),\n\t            context: this.gridOptionsWrapper.getContext()\n\t        }, function (className) {\n\t            utils_1.Utils.addCssClass(_this.eGridCell, className);\n\t        }, function (className) {\n\t            utils_1.Utils.removeCssClass(_this.eGridCell, className);\n\t        });\n\t    };\n\t    RenderedCell.prototype.putDataIntoCell = function () {\n\t        // template gets preference, then cellRenderer, then do it ourselves\n\t        var colDef = this.column.getColDef();\n\t        var cellRenderer = this.column.getCellRenderer();\n\t        var floatingCellRenderer = this.column.getFloatingCellRenderer();\n\t        var valueFormatted = this.valueFormatterService.formatValue(this.column, this.node, this.scope, this.gridCell.rowIndex, this.value);\n\t        if (colDef.template) {\n\t            // template is really only used for angular 1 - as people using ng1 are used to providing templates with\n\t            // bindings in it. in ng2, people will hopefully want to provide components, not templates.\n\t            this.eParentOfValue.innerHTML = colDef.template;\n\t        }\n\t        else if (colDef.templateUrl) {\n\t            // likewise for templateUrl - it's for ng1 really - when we move away from ng1, we can take these out.\n\t            // niall was pro angular 1 when writing template and templateUrl, if writing from scratch now, would\n\t            // not do these, but would follow a pattern that was friendly towards components, not templates.\n\t            var template = this.templateService.getTemplate(colDef.templateUrl, this.refreshCell.bind(this, true));\n\t            if (template) {\n\t                this.eParentOfValue.innerHTML = template;\n\t            }\n\t            // use cell renderer if it exists\n\t        }\n\t        else if (floatingCellRenderer && this.node.floating) {\n\t            // if floating, then give preference to floating cell renderer\n\t            this.useCellRenderer(floatingCellRenderer, colDef.floatingCellRendererParams, valueFormatted);\n\t        }\n\t        else if (cellRenderer) {\n\t            // use normal cell renderer\n\t            this.useCellRenderer(cellRenderer, colDef.cellRendererParams, valueFormatted);\n\t        }\n\t        else {\n\t            // if we insert undefined, then it displays as the string 'undefined', ugly!\n\t            var valueFormattedExits = valueFormatted !== null && valueFormatted !== undefined;\n\t            var valueToRender = valueFormattedExits ? valueFormatted : this.value;\n\t            if (utils_1.Utils.exists(valueToRender) && valueToRender !== '') {\n\t                // not using innerHTML to prevent injection of HTML\n\t                // https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML#Security_considerations\n\t                this.eParentOfValue.textContent = valueToRender.toString();\n\t            }\n\t        }\n\t        if (colDef.tooltipField) {\n\t            var data = this.getDataForRow();\n\t            if (utils_1.Utils.exists(data)) {\n\t                var tooltip = utils_1.Utils.getValueUsingField(data, colDef.tooltipField, this.column.isTooltipFieldContainsDots());\n\t                if (utils_1.Utils.exists(tooltip)) {\n\t                    this.eParentOfValue.setAttribute('title', tooltip);\n\t                }\n\t            }\n\t        }\n\t    };\n\t    RenderedCell.prototype.formatValue = function (value) {\n\t        return this.valueFormatterService.formatValue(this.column, this.node, this.scope, this.gridCell.rowIndex, value);\n\t    };\n\t    RenderedCell.prototype.createRendererAndRefreshParams = function (valueFormatted, cellRendererParams) {\n\t        var params = {\n\t            value: this.value,\n\t            valueFormatted: valueFormatted,\n\t            valueGetter: this.getValue,\n\t            formatValue: this.formatValue.bind(this),\n\t            data: this.node.data,\n\t            node: this.node,\n\t            colDef: this.column.getColDef(),\n\t            column: this.column,\n\t            $scope: this.scope,\n\t            rowIndex: this.gridCell.rowIndex,\n\t            api: this.gridOptionsWrapper.getApi(),\n\t            columnApi: this.gridOptionsWrapper.getColumnApi(),\n\t            context: this.gridOptionsWrapper.getContext(),\n\t            refreshCell: this.refreshCell.bind(this),\n\t            eGridCell: this.eGridCell,\n\t            eParentOfValue: this.eParentOfValue,\n\t            addRenderedRowListener: this.renderedRow.addEventListener.bind(this.renderedRow)\n\t        };\n\t        if (cellRendererParams) {\n\t            utils_1.Utils.assign(params, cellRendererParams);\n\t        }\n\t        return params;\n\t    };\n\t    RenderedCell.prototype.useCellRenderer = function (cellRendererKey, cellRendererParams, valueFormatted) {\n\t        var params = this.createRendererAndRefreshParams(valueFormatted, cellRendererParams);\n\t        this.cellRenderer = this.cellRendererService.useCellRenderer(cellRendererKey, this.eParentOfValue, params);\n\t    };\n\t    RenderedCell.prototype.addClasses = function () {\n\t        utils_1.Utils.addCssClass(this.eGridCell, 'ag-cell');\n\t        this.eGridCell.setAttribute(\"colId\", this.column.getColId());\n\t        if (this.node.group && this.node.footer) {\n\t            utils_1.Utils.addCssClass(this.eGridCell, 'ag-footer-cell');\n\t        }\n\t        if (this.node.group && !this.node.footer) {\n\t            utils_1.Utils.addCssClass(this.eGridCell, 'ag-group-cell');\n\t        }\n\t    };\n\t    return RenderedCell;\n\t}(component_1.Component));\n\tRenderedCell.PRINTABLE_CHARACTERS = 'qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM1234567890!\"£$%^&*()_+-=[];\\'#,./\\|<>?:@~{}';\n\t__decorate([\n\t    context_1.Autowired('context'),\n\t    __metadata(\"design:type\", context_1.Context)\n\t], RenderedCell.prototype, \"context\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnApi'),\n\t    __metadata(\"design:type\", columnController_1.ColumnApi)\n\t], RenderedCell.prototype, \"columnApi\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridApi'),\n\t    __metadata(\"design:type\", gridApi_1.GridApi)\n\t], RenderedCell.prototype, \"gridApi\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], RenderedCell.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('expressionService'),\n\t    __metadata(\"design:type\", expressionService_1.ExpressionService)\n\t], RenderedCell.prototype, \"expressionService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('rowRenderer'),\n\t    __metadata(\"design:type\", rowRenderer_1.RowRenderer)\n\t], RenderedCell.prototype, \"rowRenderer\", void 0);\n\t__decorate([\n\t    context_1.Autowired('$compile'),\n\t    __metadata(\"design:type\", Object)\n\t], RenderedCell.prototype, \"$compile\", void 0);\n\t__decorate([\n\t    context_1.Autowired('templateService'),\n\t    __metadata(\"design:type\", templateService_1.TemplateService)\n\t], RenderedCell.prototype, \"templateService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('valueService'),\n\t    __metadata(\"design:type\", valueService_1.ValueService)\n\t], RenderedCell.prototype, \"valueService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], RenderedCell.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", columnController_1.ColumnController)\n\t], RenderedCell.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnAnimationService'),\n\t    __metadata(\"design:type\", columnAnimationService_1.ColumnAnimationService)\n\t], RenderedCell.prototype, \"columnAnimationService\", void 0);\n\t__decorate([\n\t    context_1.Optional('rangeController'),\n\t    __metadata(\"design:type\", Object)\n\t], RenderedCell.prototype, \"rangeController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('focusedCellController'),\n\t    __metadata(\"design:type\", focusedCellController_1.FocusedCellController)\n\t], RenderedCell.prototype, \"focusedCellController\", void 0);\n\t__decorate([\n\t    context_1.Optional('contextMenuFactory'),\n\t    __metadata(\"design:type\", Object)\n\t], RenderedCell.prototype, \"contextMenuFactory\", void 0);\n\t__decorate([\n\t    context_1.Autowired('focusService'),\n\t    __metadata(\"design:type\", focusService_1.FocusService)\n\t], RenderedCell.prototype, \"focusService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('cellEditorFactory'),\n\t    __metadata(\"design:type\", cellEditorFactory_1.CellEditorFactory)\n\t], RenderedCell.prototype, \"cellEditorFactory\", void 0);\n\t__decorate([\n\t    context_1.Autowired('cellRendererFactory'),\n\t    __metadata(\"design:type\", cellRendererFactory_1.CellRendererFactory)\n\t], RenderedCell.prototype, \"cellRendererFactory\", void 0);\n\t__decorate([\n\t    context_1.Autowired('popupService'),\n\t    __metadata(\"design:type\", popupService_1.PopupService)\n\t], RenderedCell.prototype, \"popupService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('cellRendererService'),\n\t    __metadata(\"design:type\", cellRendererService_1.CellRendererService)\n\t], RenderedCell.prototype, \"cellRendererService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('valueFormatterService'),\n\t    __metadata(\"design:type\", valueFormatterService_1.ValueFormatterService)\n\t], RenderedCell.prototype, \"valueFormatterService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('stylingService'),\n\t    __metadata(\"design:type\", stylingService_1.StylingService)\n\t], RenderedCell.prototype, \"stylingService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnHoverService'),\n\t    __metadata(\"design:type\", columnHoverService_1.ColumnHoverService)\n\t], RenderedCell.prototype, \"columnHoverService\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], RenderedCell.prototype, \"init\", null);\n\texports.RenderedCell = RenderedCell;\n\n\n/***/ }),\n/* 46 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar context_1 = __webpack_require__(8);\n\tvar utils_1 = __webpack_require__(9);\n\tvar gridCore_1 = __webpack_require__(47);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar constants_1 = __webpack_require__(10);\n\tvar gridCell_1 = __webpack_require__(37);\n\t// tracks when focus goes into a cell. cells listen to this, so they know to stop editing\n\t// if focus goes into another cell.\n\t/** THIS IS NOT USED - it was something Niall was working on, but doesn't work well with popup editors */\n\tvar FocusService = (function () {\n\t    function FocusService() {\n\t        this.destroyMethods = [];\n\t        this.listeners = [];\n\t    }\n\t    FocusService.prototype.addListener = function (listener) {\n\t        this.listeners.push(listener);\n\t    };\n\t    FocusService.prototype.removeListener = function (listener) {\n\t        utils_1.Utils.removeFromArray(this.listeners, listener);\n\t    };\n\t    FocusService.prototype.init = function () {\n\t        var focusListener = this.onFocus.bind(this);\n\t        var eRootGui = this.gridCore.getRootGui();\n\t        eRootGui.addEventListener('focus', focusListener, true);\n\t        this.destroyMethods.push(function () {\n\t            eRootGui.removeEventListener('focus', focusListener);\n\t        });\n\t    };\n\t    FocusService.prototype.onFocus = function (focusEvent) {\n\t        var gridCell = this.getCellForFocus(focusEvent);\n\t        if (gridCell) {\n\t            this.informListeners({ gridCell: gridCell });\n\t        }\n\t    };\n\t    FocusService.prototype.getCellForFocus = function (focusEvent) {\n\t        var column = null;\n\t        var row = null;\n\t        var floating = null;\n\t        var that = this;\n\t        var eTarget = focusEvent.target;\n\t        while (eTarget) {\n\t            checkRow(eTarget);\n\t            checkColumn(eTarget);\n\t            eTarget = eTarget.parentNode;\n\t        }\n\t        if (utils_1.Utils.exists(column) && utils_1.Utils.exists(row)) {\n\t            var gridCell = new gridCell_1.GridCell({ rowIndex: row, floating: floating, column: column });\n\t            return gridCell;\n\t        }\n\t        else {\n\t            return null;\n\t        }\n\t        function checkRow(eTarget) {\n\t            // match the column by checking a) it has a valid colId and b) it has the 'ag-cell' class\n\t            var rowId = utils_1.Utils.getElementAttribute(eTarget, 'row');\n\t            if (utils_1.Utils.exists(rowId) && utils_1.Utils.containsClass(eTarget, 'ag-row')) {\n\t                if (rowId.indexOf('ft') === 0) {\n\t                    floating = constants_1.Constants.FLOATING_TOP;\n\t                    rowId = rowId.substr(3);\n\t                }\n\t                else if (rowId.indexOf('fb') === 0) {\n\t                    floating = constants_1.Constants.FLOATING_BOTTOM;\n\t                    rowId = rowId.substr(3);\n\t                }\n\t                else {\n\t                    floating = null;\n\t                }\n\t                row = parseInt(rowId);\n\t            }\n\t        }\n\t        function checkColumn(eTarget) {\n\t            // match the column by checking a) it has a valid colId and b) it has the 'ag-cell' class\n\t            var colId = utils_1.Utils.getElementAttribute(eTarget, 'colid');\n\t            if (utils_1.Utils.exists(colId) && utils_1.Utils.containsClass(eTarget, 'ag-cell')) {\n\t                var foundColumn = that.columnController.getGridColumn(colId);\n\t                if (foundColumn) {\n\t                    column = foundColumn;\n\t                }\n\t            }\n\t        }\n\t    };\n\t    FocusService.prototype.informListeners = function (event) {\n\t        this.listeners.forEach(function (listener) { return listener(event); });\n\t    };\n\t    FocusService.prototype.destroy = function () {\n\t        this.destroyMethods.forEach(function (destroyMethod) { return destroyMethod(); });\n\t    };\n\t    return FocusService;\n\t}());\n\t__decorate([\n\t    context_1.Autowired('gridCore'),\n\t    __metadata(\"design:type\", gridCore_1.GridCore)\n\t], FocusService.prototype, \"gridCore\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", columnController_1.ColumnController)\n\t], FocusService.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], FocusService.prototype, \"init\", null);\n\t__decorate([\n\t    context_1.PreDestroy,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], FocusService.prototype, \"destroy\", null);\n\tFocusService = __decorate([\n\t    context_1.Bean('focusService')\n\t], FocusService);\n\texports.FocusService = FocusService;\n\n\n/***/ }),\n/* 47 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar __param = (this && this.__param) || function (paramIndex, decorator) {\n\t    return function (target, key) { decorator(target, key, paramIndex); }\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar rowRenderer_1 = __webpack_require__(26);\n\tvar filterManager_1 = __webpack_require__(48);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar gridPanel_1 = __webpack_require__(27);\n\tvar logger_1 = __webpack_require__(7);\n\tvar constants_1 = __webpack_require__(10);\n\tvar popupService_1 = __webpack_require__(49);\n\tvar events_1 = __webpack_require__(12);\n\tvar utils_1 = __webpack_require__(9);\n\tvar borderLayout_1 = __webpack_require__(33);\n\tvar context_1 = __webpack_require__(8);\n\tvar focusedCellController_1 = __webpack_require__(36);\n\tvar component_1 = __webpack_require__(52);\n\tvar paginationComp_1 = __webpack_require__(66);\n\tvar GridCore = (function () {\n\t    function GridCore(loggerFactory) {\n\t        this.destroyFunctions = [];\n\t        this.logger = loggerFactory.create('GridCore');\n\t    }\n\t    GridCore.prototype.init = function () {\n\t        var _this = this;\n\t        var eSouthPanel = this.createSouthPanel();\n\t        var eastPanel;\n\t        var westPanel;\n\t        if (this.toolPanel && !this.gridOptionsWrapper.isForPrint()) {\n\t            // if we are doing RTL, then the tool panel appears on the left\n\t            if (this.gridOptionsWrapper.isEnableRtl()) {\n\t                westPanel = this.toolPanel.getGui();\n\t            }\n\t            else {\n\t                eastPanel = this.toolPanel.getGui();\n\t            }\n\t        }\n\t        var createTopPanelGui = this.createNorthPanel();\n\t        this.eRootPanel = new borderLayout_1.BorderLayout({\n\t            center: this.gridPanel.getLayout(),\n\t            east: eastPanel,\n\t            west: westPanel,\n\t            north: createTopPanelGui,\n\t            south: eSouthPanel,\n\t            dontFill: this.gridOptionsWrapper.isForPrint(),\n\t            name: 'eRootPanel'\n\t        });\n\t        // see what the grid options are for default of toolbar\n\t        this.showToolPanel(this.gridOptionsWrapper.isShowToolPanel());\n\t        this.eGridDiv.appendChild(this.eRootPanel.getGui());\n\t        // if using angular, watch for quickFilter changes\n\t        if (this.$scope) {\n\t            this.$scope.$watch(this.quickFilterOnScope, function (newFilter) { return _this.filterManager.setQuickFilter(newFilter); });\n\t        }\n\t        if (!this.gridOptionsWrapper.isForPrint()) {\n\t            this.addWindowResizeListener();\n\t        }\n\t        // important to set rtl before doLayout, as setting the RTL class impacts the scroll position,\n\t        // which doLayout indirectly depends on\n\t        this.addRtlSupport();\n\t        this.doLayout();\n\t        this.finished = false;\n\t        this.periodicallyDoLayout();\n\t        this.eventService.addEventListener(events_1.Events.EVENT_COLUMN_ROW_GROUP_CHANGED, this.onRowGroupChanged.bind(this));\n\t        this.eventService.addEventListener(events_1.Events.EVENT_COLUMN_EVERYTHING_CHANGED, this.onRowGroupChanged.bind(this));\n\t        this.onRowGroupChanged();\n\t        this.logger.log('ready');\n\t    };\n\t    GridCore.prototype.addRtlSupport = function () {\n\t        if (this.gridOptionsWrapper.isEnableRtl()) {\n\t            utils_1.Utils.addCssClass(this.eRootPanel.getGui(), 'ag-rtl');\n\t        }\n\t        else {\n\t            utils_1.Utils.addCssClass(this.eRootPanel.getGui(), 'ag-ltr');\n\t        }\n\t    };\n\t    GridCore.prototype.createNorthPanel = function () {\n\t        var _this = this;\n\t        if (!this.gridOptionsWrapper.isEnterprise()) {\n\t            return null;\n\t        }\n\t        var topPanelGui = document.createElement('div');\n\t        var dropPanelVisibleListener = this.onDropPanelVisible.bind(this);\n\t        this.rowGroupComp = this.rowGroupCompFactory.create();\n\t        this.pivotComp = this.pivotCompFactory.create();\n\t        topPanelGui.appendChild(this.rowGroupComp.getGui());\n\t        topPanelGui.appendChild(this.pivotComp.getGui());\n\t        this.rowGroupComp.addEventListener(component_1.Component.EVENT_VISIBLE_CHANGED, dropPanelVisibleListener);\n\t        this.pivotComp.addEventListener(component_1.Component.EVENT_VISIBLE_CHANGED, dropPanelVisibleListener);\n\t        this.destroyFunctions.push(function () {\n\t            _this.rowGroupComp.removeEventListener(component_1.Component.EVENT_VISIBLE_CHANGED, dropPanelVisibleListener);\n\t            _this.pivotComp.removeEventListener(component_1.Component.EVENT_VISIBLE_CHANGED, dropPanelVisibleListener);\n\t        });\n\t        this.onDropPanelVisible();\n\t        return topPanelGui;\n\t    };\n\t    GridCore.prototype.onDropPanelVisible = function () {\n\t        var bothVisible = this.rowGroupComp.isVisible() && this.pivotComp.isVisible();\n\t        this.rowGroupComp.addOrRemoveCssClass('ag-width-half', bothVisible);\n\t        this.pivotComp.addOrRemoveCssClass('ag-width-half', bothVisible);\n\t    };\n\t    GridCore.prototype.getRootGui = function () {\n\t        return this.eRootPanel.getGui();\n\t    };\n\t    GridCore.prototype.createSouthPanel = function () {\n\t        if (!this.statusBar && this.gridOptionsWrapper.isEnableStatusBar()) {\n\t            console.warn('ag-Grid: status bar is only available in ag-Grid-Enterprise');\n\t        }\n\t        var statusBarEnabled = this.statusBar && this.gridOptionsWrapper.isEnableStatusBar();\n\t        var isPaging = this.gridOptionsWrapper.isPagination() ||\n\t            this.gridOptionsWrapper.isRowModelServerPagination();\n\t        var paginationPanelEnabled = isPaging\n\t            && !this.gridOptionsWrapper.isForPrint()\n\t            && !this.gridOptionsWrapper.isSuppressPaginationPanel();\n\t        if (!statusBarEnabled && !paginationPanelEnabled) {\n\t            return null;\n\t        }\n\t        var eSouthPanel = document.createElement('div');\n\t        if (statusBarEnabled) {\n\t            eSouthPanel.appendChild(this.statusBar.getGui());\n\t        }\n\t        if (paginationPanelEnabled) {\n\t            var paginationComp = new paginationComp_1.PaginationComp();\n\t            this.context.wireBean(paginationComp);\n\t            eSouthPanel.appendChild(paginationComp.getGui());\n\t            this.destroyFunctions.push(paginationComp.destroy.bind(paginationComp));\n\t        }\n\t        return eSouthPanel;\n\t    };\n\t    GridCore.prototype.onRowGroupChanged = function () {\n\t        if (!this.rowGroupComp) {\n\t            return;\n\t        }\n\t        var rowGroupPanelShow = this.gridOptionsWrapper.getRowGroupPanelShow();\n\t        if (rowGroupPanelShow === constants_1.Constants.ALWAYS) {\n\t            this.rowGroupComp.setVisible(true);\n\t        }\n\t        else if (rowGroupPanelShow === constants_1.Constants.ONLY_WHEN_GROUPING) {\n\t            var grouping = !this.columnController.isRowGroupEmpty();\n\t            this.rowGroupComp.setVisible(grouping);\n\t        }\n\t        else {\n\t            this.rowGroupComp.setVisible(false);\n\t        }\n\t        this.eRootPanel.doLayout();\n\t    };\n\t    GridCore.prototype.addWindowResizeListener = function () {\n\t        var eventListener = this.doLayout.bind(this);\n\t        window.addEventListener('resize', eventListener);\n\t        this.destroyFunctions.push(function () { return window.removeEventListener('resize', eventListener); });\n\t    };\n\t    GridCore.prototype.periodicallyDoLayout = function () {\n\t        var _this = this;\n\t        if (!this.finished) {\n\t            var intervalMillis = this.gridOptionsWrapper.getLayoutInterval();\n\t            // if interval is negative, this stops the layout from happening\n\t            if (intervalMillis > 0) {\n\t                this.frameworkFactory.setTimeout(function () {\n\t                    _this.doLayout();\n\t                    _this.gridPanel.periodicallyCheck();\n\t                    _this.periodicallyDoLayout();\n\t                }, intervalMillis);\n\t            }\n\t            else {\n\t                // if user provided negative number, we still do the check every 5 seconds,\n\t                // in case the user turns the number positive again\n\t                this.frameworkFactory.setTimeout(function () {\n\t                    _this.periodicallyDoLayout();\n\t                }, 5000);\n\t            }\n\t        }\n\t    };\n\t    GridCore.prototype.showToolPanel = function (show) {\n\t        if (show && !this.toolPanel) {\n\t            console.warn('ag-Grid: toolPanel is only available in ag-Grid Enterprise');\n\t            this.toolPanelShowing = false;\n\t            return;\n\t        }\n\t        this.toolPanelShowing = show;\n\t        if (this.toolPanel) {\n\t            this.toolPanel.setVisible(show);\n\t            this.eRootPanel.doLayout();\n\t        }\n\t    };\n\t    GridCore.prototype.isToolPanelShowing = function () {\n\t        return this.toolPanelShowing;\n\t    };\n\t    GridCore.prototype.destroy = function () {\n\t        this.finished = true;\n\t        this.eGridDiv.removeChild(this.eRootPanel.getGui());\n\t        this.logger.log('Grid DOM removed');\n\t        this.destroyFunctions.forEach(function (func) { return func(); });\n\t    };\n\t    GridCore.prototype.ensureNodeVisible = function (comparator) {\n\t        if (this.doingVirtualPaging) {\n\t            throw 'Cannot use ensureNodeVisible when doing virtual paging, as we cannot check rows that are not in memory';\n\t        }\n\t        // look for the node index we want to display\n\t        var rowCount = this.rowModel.getPageLastRow() + 1;\n\t        var comparatorIsAFunction = typeof comparator === 'function';\n\t        var indexToSelect = -1;\n\t        // go through all the nodes, find the one we want to show\n\t        for (var i = 0; i < rowCount; i++) {\n\t            var node = this.rowModel.getRow(i);\n\t            if (comparatorIsAFunction) {\n\t                if (comparator(node)) {\n\t                    indexToSelect = i;\n\t                    break;\n\t                }\n\t            }\n\t            else {\n\t                // check object equality against node and data\n\t                if (comparator === node || comparator === node.data) {\n\t                    indexToSelect = i;\n\t                    break;\n\t                }\n\t            }\n\t        }\n\t        if (indexToSelect >= 0) {\n\t            this.gridPanel.ensureIndexVisible(indexToSelect);\n\t        }\n\t    };\n\t    GridCore.prototype.doLayout = function () {\n\t        // need to do layout first, as drawVirtualRows and setPinnedColHeight\n\t        // need to know the result of the resizing of the panels.\n\t        var sizeChanged = this.eRootPanel.doLayout();\n\t        // not sure why, this is a hack, but if size changed, it may need to be called\n\t        // again - as the size change can change whether scrolls are visible or not (i think).\n\t        // to see why, take this second 'doLayout' call out, and see example in docs for\n\t        // width & height, the grid will flicker as it doesn't get laid out correctly with\n\t        // one call to doLayout()\n\t        if (sizeChanged) {\n\t            this.eRootPanel.doLayout();\n\t        }\n\t        // both of the two below should be done in gridPanel, the gridPanel should register 'resize' to the panel\n\t        if (sizeChanged) {\n\t            this.rowRenderer.drawVirtualRowsWithLock();\n\t            var event = {\n\t                clientWidth: this.eRootPanel.getGui().clientWidth,\n\t                clientHeight: this.eRootPanel.getGui().clientHeight\n\t            };\n\t            this.eventService.dispatchEvent(events_1.Events.EVENT_GRID_SIZE_CHANGED, event);\n\t        }\n\t    };\n\t    return GridCore;\n\t}());\n\t__decorate([\n\t    context_1.Autowired('gridOptions'),\n\t    __metadata(\"design:type\", Object)\n\t], GridCore.prototype, \"gridOptions\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], GridCore.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('rowModel'),\n\t    __metadata(\"design:type\", Object)\n\t], GridCore.prototype, \"rowModel\", void 0);\n\t__decorate([\n\t    context_1.Autowired('frameworkFactory'),\n\t    __metadata(\"design:type\", Object)\n\t], GridCore.prototype, \"frameworkFactory\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", columnController_1.ColumnController)\n\t], GridCore.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('rowRenderer'),\n\t    __metadata(\"design:type\", rowRenderer_1.RowRenderer)\n\t], GridCore.prototype, \"rowRenderer\", void 0);\n\t__decorate([\n\t    context_1.Autowired('filterManager'),\n\t    __metadata(\"design:type\", filterManager_1.FilterManager)\n\t], GridCore.prototype, \"filterManager\", void 0);\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], GridCore.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridPanel'),\n\t    __metadata(\"design:type\", gridPanel_1.GridPanel)\n\t], GridCore.prototype, \"gridPanel\", void 0);\n\t__decorate([\n\t    context_1.Autowired('eGridDiv'),\n\t    __metadata(\"design:type\", HTMLElement)\n\t], GridCore.prototype, \"eGridDiv\", void 0);\n\t__decorate([\n\t    context_1.Autowired('$scope'),\n\t    __metadata(\"design:type\", Object)\n\t], GridCore.prototype, \"$scope\", void 0);\n\t__decorate([\n\t    context_1.Autowired('quickFilterOnScope'),\n\t    __metadata(\"design:type\", String)\n\t], GridCore.prototype, \"quickFilterOnScope\", void 0);\n\t__decorate([\n\t    context_1.Autowired('popupService'),\n\t    __metadata(\"design:type\", popupService_1.PopupService)\n\t], GridCore.prototype, \"popupService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('focusedCellController'),\n\t    __metadata(\"design:type\", focusedCellController_1.FocusedCellController)\n\t], GridCore.prototype, \"focusedCellController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('context'),\n\t    __metadata(\"design:type\", context_1.Context)\n\t], GridCore.prototype, \"context\", void 0);\n\t__decorate([\n\t    context_1.Optional('rowGroupCompFactory'),\n\t    __metadata(\"design:type\", Object)\n\t], GridCore.prototype, \"rowGroupCompFactory\", void 0);\n\t__decorate([\n\t    context_1.Optional('pivotCompFactory'),\n\t    __metadata(\"design:type\", Object)\n\t], GridCore.prototype, \"pivotCompFactory\", void 0);\n\t__decorate([\n\t    context_1.Optional('toolPanel'),\n\t    __metadata(\"design:type\", component_1.Component)\n\t], GridCore.prototype, \"toolPanel\", void 0);\n\t__decorate([\n\t    context_1.Optional('statusBar'),\n\t    __metadata(\"design:type\", component_1.Component)\n\t], GridCore.prototype, \"statusBar\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], GridCore.prototype, \"init\", null);\n\t__decorate([\n\t    context_1.PreDestroy,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], GridCore.prototype, \"destroy\", null);\n\tGridCore = __decorate([\n\t    context_1.Bean('gridCore'),\n\t    __param(0, context_1.Qualifier('loggerFactory')),\n\t    __metadata(\"design:paramtypes\", [logger_1.LoggerFactory])\n\t], GridCore);\n\texports.GridCore = GridCore;\n\n\n/***/ }),\n/* 48 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar utils_1 = __webpack_require__(9);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar popupService_1 = __webpack_require__(49);\n\tvar valueService_1 = __webpack_require__(32);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar textFilter_1 = __webpack_require__(50);\n\tvar numberFilter_1 = __webpack_require__(54);\n\tvar context_1 = __webpack_require__(8);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar events_1 = __webpack_require__(12);\n\tvar dateFilter_1 = __webpack_require__(55);\n\tvar componentProvider_1 = __webpack_require__(56);\n\tvar FilterManager = (function () {\n\t    function FilterManager() {\n\t        this.allFilters = {};\n\t        this.quickFilter = null;\n\t        this.availableFilters = {\n\t            'text': textFilter_1.TextFilter,\n\t            'number': numberFilter_1.NumberFilter,\n\t            'date': dateFilter_1.DateFilter\n\t        };\n\t    }\n\t    FilterManager.prototype.init = function () {\n\t        this.eventService.addEventListener(events_1.Events.EVENT_ROW_DATA_CHANGED, this.onNewRowsLoaded.bind(this));\n\t        this.eventService.addEventListener(events_1.Events.EVENT_NEW_COLUMNS_LOADED, this.onNewColumnsLoaded.bind(this));\n\t        this.quickFilter = this.parseQuickFilter(this.gridOptionsWrapper.getQuickFilterText());\n\t        // check this here, in case there is a filter from the start\n\t        this.checkExternalFilter();\n\t    };\n\t    FilterManager.prototype.registerFilter = function (key, Filter) {\n\t        this.availableFilters[key] = Filter;\n\t    };\n\t    FilterManager.prototype.setFilterModel = function (model) {\n\t        var _this = this;\n\t        if (model) {\n\t            // mark the filters as we set them, so any active filters left over we stop\n\t            var modelKeys = Object.keys(model);\n\t            utils_1.Utils.iterateObject(this.allFilters, function (colId, filterWrapper) {\n\t                utils_1.Utils.removeFromArray(modelKeys, colId);\n\t                var newModel = model[colId];\n\t                _this.setModelOnFilterWrapper(filterWrapper.filter, newModel);\n\t            });\n\t            // at this point, processedFields contains data for which we don't have a filter working yet\n\t            utils_1.Utils.iterateArray(modelKeys, function (colId) {\n\t                var column = _this.columnController.getPrimaryColumn(colId);\n\t                if (!column) {\n\t                    console.warn('Warning ag-grid setFilterModel - no column found for colId ' + colId);\n\t                    return;\n\t                }\n\t                var filterWrapper = _this.getOrCreateFilterWrapper(column);\n\t                _this.setModelOnFilterWrapper(filterWrapper.filter, model[colId]);\n\t            });\n\t        }\n\t        else {\n\t            utils_1.Utils.iterateObject(this.allFilters, function (key, filterWrapper) {\n\t                _this.setModelOnFilterWrapper(filterWrapper.filter, null);\n\t            });\n\t        }\n\t        this.onFilterChanged();\n\t    };\n\t    FilterManager.prototype.setModelOnFilterWrapper = function (filter, newModel) {\n\t        if (typeof filter.setModel !== 'function') {\n\t            console.warn('Warning ag-grid - filter missing setModel method, which is needed for setFilterModel');\n\t            return;\n\t        }\n\t        filter.setModel(newModel);\n\t    };\n\t    FilterManager.prototype.getFilterModel = function () {\n\t        var result = {};\n\t        utils_1.Utils.iterateObject(this.allFilters, function (key, filterWrapper) {\n\t            // because user can provide filters, we provide useful error checking and messages\n\t            var filter = filterWrapper.filter;\n\t            if (typeof filter.getModel !== 'function') {\n\t                console.warn('Warning ag-grid - filter API missing getModel method, which is needed for getFilterModel');\n\t                return;\n\t            }\n\t            var model = filter.getModel();\n\t            if (utils_1.Utils.exists(model)) {\n\t                result[key] = model;\n\t            }\n\t        });\n\t        return result;\n\t    };\n\t    // returns true if any advanced filter (ie not quick filter) active\n\t    FilterManager.prototype.isAdvancedFilterPresent = function () {\n\t        return this.advancedFilterPresent;\n\t    };\n\t    FilterManager.prototype.setAdvancedFilterPresent = function () {\n\t        var atLeastOneActive = false;\n\t        utils_1.Utils.iterateObject(this.allFilters, function (key, filterWrapper) {\n\t            if (filterWrapper.filter.isFilterActive()) {\n\t                atLeastOneActive = true;\n\t            }\n\t        });\n\t        this.advancedFilterPresent = atLeastOneActive;\n\t    };\n\t    FilterManager.prototype.updateFilterFlagInColumns = function () {\n\t        utils_1.Utils.iterateObject(this.allFilters, function (key, filterWrapper) {\n\t            var filterActive = filterWrapper.filter.isFilterActive();\n\t            filterWrapper.column.setFilterActive(filterActive);\n\t        });\n\t    };\n\t    // returns true if quickFilter or advancedFilter\n\t    FilterManager.prototype.isAnyFilterPresent = function () {\n\t        return this.isQuickFilterPresent() || this.advancedFilterPresent || this.externalFilterPresent;\n\t    };\n\t    FilterManager.prototype.doesFilterPass = function (node, filterToSkip) {\n\t        var data = node.data;\n\t        var colKeys = Object.keys(this.allFilters);\n\t        for (var i = 0, l = colKeys.length; i < l; i++) {\n\t            var colId = colKeys[i];\n\t            var filterWrapper = this.allFilters[colId];\n\t            // if no filter, always pass\n\t            if (filterWrapper === undefined) {\n\t                continue;\n\t            }\n\t            if (filterWrapper.filter === filterToSkip) {\n\t                continue;\n\t            }\n\t            // don't bother with filters that are not active\n\t            if (!filterWrapper.filter.isFilterActive()) {\n\t                continue;\n\t            }\n\t            if (!filterWrapper.filter.doesFilterPass) {\n\t                console.error('Filter is missing method doesFilterPass');\n\t            }\n\t            var params = {\n\t                node: node,\n\t                data: data\n\t            };\n\t            if (!filterWrapper.filter.doesFilterPass(params)) {\n\t                return false;\n\t            }\n\t        }\n\t        // all filters passed\n\t        return true;\n\t    };\n\t    FilterManager.prototype.parseQuickFilter = function (newFilter) {\n\t        if (utils_1.Utils.missing(newFilter) || newFilter === \"\") {\n\t            return null;\n\t        }\n\t        if (this.gridOptionsWrapper.isRowModelInfinite()) {\n\t            console.warn('ag-grid: cannot do quick filtering when doing virtual paging');\n\t            return null;\n\t        }\n\t        return newFilter.toUpperCase();\n\t    };\n\t    // returns true if it has changed (not just same value again)\n\t    FilterManager.prototype.setQuickFilter = function (newFilter) {\n\t        var parsedFilter = this.parseQuickFilter(newFilter);\n\t        if (this.quickFilter !== parsedFilter) {\n\t            this.quickFilter = parsedFilter;\n\t            this.onFilterChanged();\n\t        }\n\t    };\n\t    FilterManager.prototype.checkExternalFilter = function () {\n\t        this.externalFilterPresent = this.gridOptionsWrapper.isExternalFilterPresent();\n\t    };\n\t    FilterManager.prototype.onFilterChanged = function () {\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_BEFORE_FILTER_CHANGED);\n\t        this.setAdvancedFilterPresent();\n\t        this.updateFilterFlagInColumns();\n\t        this.checkExternalFilter();\n\t        utils_1.Utils.iterateObject(this.allFilters, function (key, filterWrapper) {\n\t            if (filterWrapper.filter.onAnyFilterChanged) {\n\t                filterWrapper.filter.onAnyFilterChanged();\n\t            }\n\t        });\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_FILTER_CHANGED);\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_AFTER_FILTER_CHANGED);\n\t    };\n\t    FilterManager.prototype.isQuickFilterPresent = function () {\n\t        return this.quickFilter !== null;\n\t    };\n\t    FilterManager.prototype.doesRowPassOtherFilters = function (filterToSkip, node) {\n\t        return this.doesRowPassFilter(node, filterToSkip);\n\t    };\n\t    FilterManager.prototype.doesRowPassFilter = function (node, filterToSkip) {\n\t        //first up, check quick filter\n\t        if (this.isQuickFilterPresent()) {\n\t            if (!node.quickFilterAggregateText) {\n\t                this.aggregateRowForQuickFilter(node);\n\t            }\n\t            if (node.quickFilterAggregateText.indexOf(this.quickFilter) < 0) {\n\t                //quick filter fails, so skip item\n\t                return false;\n\t            }\n\t        }\n\t        //secondly, give the client a chance to reject this row\n\t        if (this.externalFilterPresent) {\n\t            if (!this.gridOptionsWrapper.doesExternalFilterPass(node)) {\n\t                return false;\n\t            }\n\t        }\n\t        //lastly, check our internal advanced filter\n\t        if (this.advancedFilterPresent) {\n\t            if (!this.doesFilterPass(node, filterToSkip)) {\n\t                return false;\n\t            }\n\t        }\n\t        //got this far, all filters pass\n\t        return true;\n\t    };\n\t    FilterManager.prototype.aggregateRowForQuickFilter = function (node) {\n\t        var _this = this;\n\t        var stringParts = [];\n\t        var columns = this.columnController.getAllPrimaryColumns();\n\t        columns.forEach(function (column) {\n\t            var value = _this.valueService.getValue(column, node);\n\t            var valueAfterCallback;\n\t            var colDef = column.getColDef();\n\t            if (column.getColDef().getQuickFilterText) {\n\t                var params = {\n\t                    value: value,\n\t                    node: node,\n\t                    data: node.data,\n\t                    column: column,\n\t                    colDef: colDef\n\t                };\n\t                valueAfterCallback = column.getColDef().getQuickFilterText(params);\n\t            }\n\t            else {\n\t                valueAfterCallback = value;\n\t            }\n\t            if (valueAfterCallback && valueAfterCallback !== '') {\n\t                stringParts.push(valueAfterCallback.toString().toUpperCase());\n\t            }\n\t        });\n\t        node.quickFilterAggregateText = stringParts.join('_');\n\t    };\n\t    FilterManager.prototype.onNewRowsLoaded = function () {\n\t        utils_1.Utils.iterateObject(this.allFilters, function (key, filterWrapper) {\n\t            if (filterWrapper.filter.onNewRowsLoaded) {\n\t                filterWrapper.filter.onNewRowsLoaded();\n\t            }\n\t        });\n\t        this.updateFilterFlagInColumns();\n\t        this.setAdvancedFilterPresent();\n\t    };\n\t    FilterManager.prototype.createValueGetter = function (column) {\n\t        var that = this;\n\t        return function valueGetter(node) {\n\t            return that.valueService.getValue(column, node);\n\t        };\n\t    };\n\t    FilterManager.prototype.getFilterComponent = function (column) {\n\t        var filterWrapper = this.getOrCreateFilterWrapper(column);\n\t        return filterWrapper.filter;\n\t    };\n\t    FilterManager.prototype.getOrCreateFilterWrapper = function (column) {\n\t        var filterWrapper = this.allFilters[column.getColId()];\n\t        if (!filterWrapper) {\n\t            filterWrapper = this.createFilterWrapper(column);\n\t            this.allFilters[column.getColId()] = filterWrapper;\n\t        }\n\t        return filterWrapper;\n\t    };\n\t    FilterManager.prototype.createFilterInstance = function (column) {\n\t        var filter = column.getFilter();\n\t        var filterIsComponent = typeof filter === 'function';\n\t        var filterIsName = utils_1.Utils.missing(filter) || typeof filter === 'string';\n\t        var FilterClass;\n\t        if (filterIsComponent) {\n\t            // if user provided a filter, just use it\n\t            FilterClass = filter;\n\t            // now create filter (had to cast to any to get 'new' working)\n\t            this.assertMethodHasNoParameters(FilterClass);\n\t        }\n\t        else if (filterIsName) {\n\t            var filterName = filter;\n\t            FilterClass = this.getFilterFromCache(filterName);\n\t        }\n\t        else {\n\t            console.error('ag-Grid: colDef.filter should be function or a string');\n\t            return null;\n\t        }\n\t        var filterInstance = new FilterClass();\n\t        this.checkFilterHasAllMandatoryMethods(filterInstance, column);\n\t        this.context.wireBean(filterInstance);\n\t        return filterInstance;\n\t    };\n\t    FilterManager.prototype.checkFilterHasAllMandatoryMethods = function (filterInstance, column) {\n\t        // help the user, check the mandatory methods exist\n\t        ['getGui', 'isFilterActive', 'doesFilterPass', 'getModel', 'setModel'].forEach(function (methodName) {\n\t            var methodIsMissing = !filterInstance[methodName];\n\t            if (methodIsMissing) {\n\t                throw \"Filter for column \" + column.getColId() + \" is missing method \" + methodName;\n\t            }\n\t        });\n\t    };\n\t    FilterManager.prototype.createParams = function (filterWrapper) {\n\t        var _this = this;\n\t        var filterChangedCallback = this.onFilterChanged.bind(this);\n\t        var filterModifiedCallback = function () { return _this.eventService.dispatchEvent(events_1.Events.EVENT_FILTER_MODIFIED); };\n\t        var doesRowPassOtherFilters = this.doesRowPassOtherFilters.bind(this, filterWrapper.filter);\n\t        var colDef = filterWrapper.column.getColDef();\n\t        var params = {\n\t            column: filterWrapper.column,\n\t            colDef: colDef,\n\t            rowModel: this.rowModel,\n\t            filterChangedCallback: filterChangedCallback,\n\t            filterModifiedCallback: filterModifiedCallback,\n\t            valueGetter: this.createValueGetter(filterWrapper.column),\n\t            doesRowPassOtherFilter: doesRowPassOtherFilters,\n\t            context: this.gridOptionsWrapper.getContext(),\n\t            $scope: filterWrapper.scope\n\t        };\n\t        if (colDef.filterParams) {\n\t            utils_1.Utils.assign(params, colDef.filterParams);\n\t        }\n\t        return params;\n\t    };\n\t    FilterManager.prototype.createFilterWrapper = function (column) {\n\t        var filterWrapper = {\n\t            column: column,\n\t            filter: null,\n\t            scope: null,\n\t            gui: null\n\t        };\n\t        filterWrapper.filter = this.createFilterInstance(column);\n\t        this.initialiseFilterAndPutIntoGui(filterWrapper);\n\t        return filterWrapper;\n\t    };\n\t    FilterManager.prototype.initialiseFilterAndPutIntoGui = function (filterWrapper) {\n\t        // first up, create child scope if needed\n\t        if (this.gridOptionsWrapper.isAngularCompileFilters()) {\n\t            filterWrapper.scope = this.$scope.$new();\n\t            filterWrapper.scope.context = this.gridOptionsWrapper.getContext();\n\t        }\n\t        var params = this.createParams(filterWrapper);\n\t        filterWrapper.filter.init(params);\n\t        var eFilterGui = document.createElement('div');\n\t        eFilterGui.className = 'ag-filter';\n\t        var guiFromFilter = filterWrapper.filter.getGui();\n\t        // for backwards compatibility with Angular 1 - we\n\t        // used to allow providing back HTML from getGui().\n\t        // once we move away from supporting Angular 1\n\t        // directly, we can change this.\n\t        if (typeof guiFromFilter === 'string') {\n\t            guiFromFilter = utils_1.Utils.loadTemplate(guiFromFilter);\n\t        }\n\t        eFilterGui.appendChild(guiFromFilter);\n\t        if (filterWrapper.scope) {\n\t            filterWrapper.gui = this.$compile(eFilterGui)(filterWrapper.scope)[0];\n\t        }\n\t        else {\n\t            filterWrapper.gui = eFilterGui;\n\t        }\n\t    };\n\t    FilterManager.prototype.getFilterFromCache = function (filterType) {\n\t        var defaultFilterType = this.enterprise ? 'set' : 'text';\n\t        var defaultFilter = this.availableFilters[defaultFilterType];\n\t        if (utils_1.Utils.missing(filterType)) {\n\t            return defaultFilter;\n\t        }\n\t        if (!this.enterprise && filterType === 'set') {\n\t            console.warn('ag-Grid: Set filter is only available in Enterprise ag-Grid');\n\t            filterType = 'text';\n\t        }\n\t        if (this.availableFilters[filterType]) {\n\t            return this.availableFilters[filterType];\n\t        }\n\t        else {\n\t            console.error('ag-Grid: Could not find filter type ' + filterType);\n\t            return this.availableFilters[defaultFilter];\n\t        }\n\t    };\n\t    FilterManager.prototype.onNewColumnsLoaded = function () {\n\t        this.destroy();\n\t    };\n\t    // destroys the filter, so it not longer takes part\n\t    FilterManager.prototype.destroyFilter = function (column) {\n\t        var filterWrapper = this.allFilters[column.getColId()];\n\t        if (filterWrapper) {\n\t            this.disposeFilterWrapper(filterWrapper);\n\t            this.onFilterChanged();\n\t        }\n\t    };\n\t    FilterManager.prototype.disposeFilterWrapper = function (filterWrapper) {\n\t        filterWrapper.filter.setModel(null);\n\t        if (filterWrapper.filter.destroy) {\n\t            filterWrapper.filter.destroy();\n\t        }\n\t        filterWrapper.column.setFilterActive(false);\n\t        delete this.allFilters[filterWrapper.column.getColId()];\n\t    };\n\t    FilterManager.prototype.destroy = function () {\n\t        var _this = this;\n\t        utils_1.Utils.iterateObject(this.allFilters, function (key, filterWrapper) {\n\t            _this.disposeFilterWrapper(filterWrapper);\n\t        });\n\t    };\n\t    FilterManager.prototype.assertMethodHasNoParameters = function (theMethod) {\n\t        var getRowsParams = utils_1.Utils.getFunctionParameters(theMethod);\n\t        if (getRowsParams.length > 0) {\n\t            console.warn('ag-grid: It looks like your filter is of the old type and expecting parameters in the constructor.');\n\t            console.warn('ag-grid: From ag-grid 1.14, the constructor should take no parameters and init() used instead.');\n\t        }\n\t    };\n\t    return FilterManager;\n\t}());\n\t__decorate([\n\t    context_1.Autowired('$compile'),\n\t    __metadata(\"design:type\", Object)\n\t], FilterManager.prototype, \"$compile\", void 0);\n\t__decorate([\n\t    context_1.Autowired('$scope'),\n\t    __metadata(\"design:type\", Object)\n\t], FilterManager.prototype, \"$scope\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], FilterManager.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridCore'),\n\t    __metadata(\"design:type\", Object)\n\t], FilterManager.prototype, \"gridCore\", void 0);\n\t__decorate([\n\t    context_1.Autowired('popupService'),\n\t    __metadata(\"design:type\", popupService_1.PopupService)\n\t], FilterManager.prototype, \"popupService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('valueService'),\n\t    __metadata(\"design:type\", valueService_1.ValueService)\n\t], FilterManager.prototype, \"valueService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", columnController_1.ColumnController)\n\t], FilterManager.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('rowModel'),\n\t    __metadata(\"design:type\", Object)\n\t], FilterManager.prototype, \"rowModel\", void 0);\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], FilterManager.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('enterprise'),\n\t    __metadata(\"design:type\", Boolean)\n\t], FilterManager.prototype, \"enterprise\", void 0);\n\t__decorate([\n\t    context_1.Autowired('context'),\n\t    __metadata(\"design:type\", context_1.Context)\n\t], FilterManager.prototype, \"context\", void 0);\n\t__decorate([\n\t    context_1.Autowired('componentProvider'),\n\t    __metadata(\"design:type\", componentProvider_1.ComponentProvider)\n\t], FilterManager.prototype, \"componentProvider\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], FilterManager.prototype, \"init\", null);\n\t__decorate([\n\t    context_1.PreDestroy,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], FilterManager.prototype, \"destroy\", null);\n\tFilterManager = __decorate([\n\t    context_1.Bean('filterManager')\n\t], FilterManager);\n\texports.FilterManager = FilterManager;\n\n\n/***/ }),\n/* 49 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar utils_1 = __webpack_require__(9);\n\tvar constants_1 = __webpack_require__(10);\n\tvar context_1 = __webpack_require__(8);\n\tvar gridCore_1 = __webpack_require__(47);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar PopupService = (function () {\n\t    function PopupService() {\n\t    }\n\t    // this.popupService.setPopupParent(this.eRootPanel.getGui());\n\t    PopupService.prototype.getPopupParent = function () {\n\t        return this.gridCore.getRootGui();\n\t    };\n\t    PopupService.prototype.positionPopupForMenu = function (params) {\n\t        var sourceRect = params.eventSource.getBoundingClientRect();\n\t        var parentRect = this.getPopupParent().getBoundingClientRect();\n\t        var y = sourceRect.top - parentRect.top;\n\t        y = this.keepYWithinBounds(params, y);\n\t        var minWidth = (params.ePopup.clientWidth > 0) ? params.ePopup.clientWidth : 200;\n\t        var widthOfParent = parentRect.right - parentRect.left;\n\t        var maxX = widthOfParent - minWidth;\n\t        // the x position of the popup depends on RTL or LTR. for normal cases, LTR, we put the child popup\n\t        // to the right, unless it doesn't fit and we then put it to the left. for RTL it's the other way around,\n\t        // we try place it first to the left, and then if not to the right.\n\t        var x;\n\t        if (this.gridOptionsWrapper.isEnableRtl()) {\n\t            // for RTL, try left first\n\t            x = xLeftPosition();\n\t            if (x < 0) {\n\t                x = xRightPosition();\n\t            }\n\t            if (x > maxX) {\n\t                x = 0;\n\t            }\n\t        }\n\t        else {\n\t            // for LTR, try right first\n\t            x = xRightPosition();\n\t            if (x > maxX) {\n\t                x = xLeftPosition();\n\t            }\n\t            if (x < 0) {\n\t                x = 0;\n\t            }\n\t        }\n\t        params.ePopup.style.left = x + \"px\";\n\t        params.ePopup.style.top = y + \"px\";\n\t        function xRightPosition() {\n\t            return sourceRect.right - parentRect.left - 2;\n\t        }\n\t        function xLeftPosition() {\n\t            return sourceRect.left - parentRect.left - minWidth;\n\t        }\n\t    };\n\t    PopupService.prototype.positionPopupUnderMouseEvent = function (params) {\n\t        var parentRect = this.getPopupParent().getBoundingClientRect();\n\t        this.positionPopup({\n\t            ePopup: params.ePopup,\n\t            x: params.mouseEvent.clientX - parentRect.left,\n\t            y: params.mouseEvent.clientY - parentRect.top,\n\t            keepWithinBounds: true\n\t        });\n\t    };\n\t    PopupService.prototype.positionPopupUnderComponent = function (params) {\n\t        var sourceRect = params.eventSource.getBoundingClientRect();\n\t        var parentRect = this.getPopupParent().getBoundingClientRect();\n\t        this.positionPopup({\n\t            ePopup: params.ePopup,\n\t            minWidth: params.minWidth,\n\t            nudgeX: params.nudgeX,\n\t            nudgeY: params.nudgeY,\n\t            x: sourceRect.left - parentRect.left,\n\t            y: sourceRect.top - parentRect.top + sourceRect.height,\n\t            keepWithinBounds: params.keepWithinBounds\n\t        });\n\t    };\n\t    PopupService.prototype.positionPopupOverComponent = function (params) {\n\t        var sourceRect = params.eventSource.getBoundingClientRect();\n\t        var parentRect = this.getPopupParent().getBoundingClientRect();\n\t        this.positionPopup({\n\t            ePopup: params.ePopup,\n\t            minWidth: params.minWidth,\n\t            nudgeX: params.nudgeX,\n\t            nudgeY: params.nudgeY,\n\t            x: sourceRect.left - parentRect.left,\n\t            y: sourceRect.top - parentRect.top,\n\t            keepWithinBounds: params.keepWithinBounds\n\t        });\n\t    };\n\t    PopupService.prototype.positionPopup = function (params) {\n\t        var x = params.x;\n\t        var y = params.y;\n\t        if (params.nudgeX) {\n\t            x += params.nudgeX;\n\t        }\n\t        if (params.nudgeY) {\n\t            y += params.nudgeY;\n\t        }\n\t        // if popup is overflowing to the bottom, move it up\n\t        if (params.keepWithinBounds) {\n\t            x = this.keepXWithinBounds(params, x);\n\t            y = this.keepYWithinBounds(params, y);\n\t        }\n\t        params.ePopup.style.left = x + \"px\";\n\t        params.ePopup.style.top = y + \"px\";\n\t    };\n\t    PopupService.prototype.keepYWithinBounds = function (params, y) {\n\t        var parentRect = this.getPopupParent().getBoundingClientRect();\n\t        var minHeight;\n\t        if (params.ePopup.clientHeight > 0) {\n\t            minHeight = params.ePopup.clientHeight;\n\t        }\n\t        else {\n\t            minHeight = 200;\n\t        }\n\t        var heightOfParent = parentRect.bottom - parentRect.top;\n\t        var maxY = heightOfParent - minHeight - 5;\n\t        if (y > maxY) {\n\t            return maxY;\n\t        }\n\t        else if (y < 0) {\n\t            return 0;\n\t        }\n\t        else {\n\t            return y;\n\t        }\n\t    };\n\t    PopupService.prototype.keepXWithinBounds = function (params, x) {\n\t        var parentRect = this.getPopupParent().getBoundingClientRect();\n\t        var minWidth;\n\t        if (params.minWidth > 0) {\n\t            minWidth = params.minWidth;\n\t        }\n\t        else if (params.ePopup.clientWidth > 0) {\n\t            minWidth = params.ePopup.clientWidth;\n\t        }\n\t        else {\n\t            minWidth = 200;\n\t        }\n\t        var widthOfParent = parentRect.right - parentRect.left;\n\t        var maxX = widthOfParent - minWidth - 5;\n\t        if (x > maxX) {\n\t            return maxX;\n\t        }\n\t        else if (x < 0) {\n\t            return 0;\n\t        }\n\t        else {\n\t            return x;\n\t        }\n\t    };\n\t    //adds an element to a div, but also listens to background checking for clicks,\n\t    //so that when the background is clicked, the child is removed again, giving\n\t    //a model look to popups.\n\t    PopupService.prototype.addAsModalPopup = function (eChild, closeOnEsc, closedCallback) {\n\t        var eBody = document.body;\n\t        if (!eBody) {\n\t            console.warn('ag-grid: could not find the body of the document, document.body is empty');\n\t            return;\n\t        }\n\t        eChild.style.top = '0px';\n\t        eChild.style.left = '0px';\n\t        var popupAlreadyShown = utils_1.Utils.isVisible(eChild);\n\t        if (popupAlreadyShown) {\n\t            return;\n\t        }\n\t        this.getPopupParent().appendChild(eChild);\n\t        var that = this;\n\t        var popupHidden = false;\n\t        // if we add these listeners now, then the current mouse\n\t        // click will be included, which we don't want\n\t        setTimeout(function () {\n\t            if (closeOnEsc) {\n\t                eBody.addEventListener('keydown', hidePopupOnEsc);\n\t            }\n\t            eBody.addEventListener('click', hidePopup);\n\t            eBody.addEventListener('touchstart', hidePopup);\n\t            eBody.addEventListener('contextmenu', hidePopup);\n\t            //eBody.addEventListener('mousedown', hidePopup);\n\t            eChild.addEventListener('click', consumeMouseClick);\n\t            eChild.addEventListener('touchstart', consumeTouchClick);\n\t            //eChild.addEventListener('mousedown', consumeClick);\n\t        }, 0);\n\t        // var timeOfMouseEventOnChild = new Date().getTime();\n\t        var childMouseClick = null;\n\t        var childTouch = null;\n\t        function hidePopupOnEsc(event) {\n\t            var key = event.which || event.keyCode;\n\t            if (key === constants_1.Constants.KEY_ESCAPE) {\n\t                hidePopup(null);\n\t            }\n\t        }\n\t        function hidePopup(event) {\n\t            // we don't hide popup if the event was on the child\n\t            if (event && event === childMouseClick) {\n\t                return;\n\t            }\n\t            if (event && event === childTouch) {\n\t                return;\n\t            }\n\t            // this method should only be called once. the client can have different\n\t            // paths, each one wanting to close, so this method may be called multiple\n\t            // times.\n\t            if (popupHidden) {\n\t                return;\n\t            }\n\t            popupHidden = true;\n\t            that.getPopupParent().removeChild(eChild);\n\t            eBody.removeEventListener('keydown', hidePopupOnEsc);\n\t            //eBody.removeEventListener('mousedown', hidePopupOnEsc);\n\t            eBody.removeEventListener('click', hidePopup);\n\t            eBody.removeEventListener('touchstart', hidePopup);\n\t            eBody.removeEventListener('contextmenu', hidePopup);\n\t            eChild.removeEventListener('click', consumeMouseClick);\n\t            eChild.removeEventListener('touchstart', consumeTouchClick);\n\t            //eChild.removeEventListener('mousedown', consumeClick);\n\t            if (closedCallback) {\n\t                closedCallback();\n\t            }\n\t        }\n\t        function consumeMouseClick(event) {\n\t            childMouseClick = event;\n\t        }\n\t        function consumeTouchClick(event) {\n\t            childTouch = event;\n\t        }\n\t        return hidePopup;\n\t    };\n\t    return PopupService;\n\t}());\n\t__decorate([\n\t    context_1.Autowired('gridCore'),\n\t    __metadata(\"design:type\", gridCore_1.GridCore)\n\t], PopupService.prototype, \"gridCore\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], PopupService.prototype, \"gridOptionsWrapper\", void 0);\n\tPopupService = __decorate([\n\t    context_1.Bean('popupService')\n\t], PopupService);\n\texports.PopupService = PopupService;\n\n\n/***/ }),\n/* 50 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar utils_1 = __webpack_require__(9);\n\tvar baseFilter_1 = __webpack_require__(51);\n\tvar componentAnnotations_1 = __webpack_require__(53);\n\tvar TextFilter = (function (_super) {\n\t    __extends(TextFilter, _super);\n\t    function TextFilter() {\n\t        return _super !== null && _super.apply(this, arguments) || this;\n\t    }\n\t    TextFilter.prototype.modelFromFloatingFilter = function (from) {\n\t        return {\n\t            type: this.filter,\n\t            filter: from,\n\t            filterType: 'text'\n\t        };\n\t    };\n\t    TextFilter.prototype.getApplicableFilterTypes = function () {\n\t        return [baseFilter_1.BaseFilter.EQUALS, baseFilter_1.BaseFilter.NOT_EQUAL, baseFilter_1.BaseFilter.STARTS_WITH, baseFilter_1.BaseFilter.ENDS_WITH,\n\t            baseFilter_1.BaseFilter.CONTAINS, baseFilter_1.BaseFilter.NOT_CONTAINS];\n\t    };\n\t    TextFilter.prototype.bodyTemplate = function () {\n\t        var translate = this.translate.bind(this);\n\t        return \"<div class=\\\"ag-filter-body\\\">\\n            <input class=\\\"ag-filter-filter\\\" id=\\\"filterText\\\" type=\\\"text\\\" placeholder=\\\"\" + translate('filterOoo', 'Filter...') + \"\\\"/>\\n        </div>\";\n\t    };\n\t    TextFilter.prototype.initialiseFilterBodyUi = function () {\n\t        this.addDestroyableEventListener(this.eFilterTextField, 'input', this.onFilterTextFieldChanged.bind(this));\n\t        this.setType(baseFilter_1.BaseFilter.CONTAINS);\n\t    };\n\t    TextFilter.prototype.refreshFilterBodyUi = function () { };\n\t    TextFilter.prototype.afterGuiAttached = function () {\n\t        this.eFilterTextField.focus();\n\t    };\n\t    TextFilter.prototype.filterValues = function () {\n\t        return this.filterText;\n\t    };\n\t    TextFilter.prototype.doesFilterPass = function (params) {\n\t        if (!this.filterText) {\n\t            return true;\n\t        }\n\t        var value = this.filterParams.valueGetter(params.node);\n\t        if (!value) {\n\t            if (this.filter === baseFilter_1.BaseFilter.NOT_EQUAL) {\n\t                // if there is no value, but the filter type was 'not equals',\n\t                // then it should pass, as a missing value is not equal whatever\n\t                // the user is filtering on\n\t                return true;\n\t            }\n\t            else {\n\t                // otherwise it's some type of comparison, to which empty value\n\t                // will always fail\n\t                return false;\n\t            }\n\t        }\n\t        var filterTextLoweCase = this.filterText.toLowerCase();\n\t        var valueLowerCase = value.toString().toLowerCase();\n\t        switch (this.filter) {\n\t            case TextFilter.CONTAINS:\n\t                return valueLowerCase.indexOf(filterTextLoweCase) >= 0;\n\t            case TextFilter.NOT_CONTAINS:\n\t                return valueLowerCase.indexOf(filterTextLoweCase) === -1;\n\t            case TextFilter.EQUALS:\n\t                return valueLowerCase === filterTextLoweCase;\n\t            case TextFilter.NOT_EQUAL:\n\t                return valueLowerCase != filterTextLoweCase;\n\t            case TextFilter.STARTS_WITH:\n\t                return valueLowerCase.indexOf(filterTextLoweCase) === 0;\n\t            case TextFilter.ENDS_WITH:\n\t                var index = valueLowerCase.lastIndexOf(filterTextLoweCase);\n\t                return index >= 0 && index === (valueLowerCase.length - filterTextLoweCase.length);\n\t            default:\n\t                // should never happen\n\t                console.warn('invalid filter type ' + this.filter);\n\t                return false;\n\t        }\n\t    };\n\t    TextFilter.prototype.onFilterTextFieldChanged = function () {\n\t        var filterText = utils_1.Utils.makeNull(this.eFilterTextField.value);\n\t        if (filterText && filterText.trim() === '') {\n\t            filterText = null;\n\t        }\n\t        if (this.filterText !== filterText) {\n\t            var newLowerCase = filterText ? filterText.toLowerCase() : null;\n\t            var previousLowerCase = this.filterText ? this.filterText.toLowerCase() : null;\n\t            this.filterText = filterText;\n\t            if (previousLowerCase !== newLowerCase) {\n\t                this.onFilterChanged();\n\t            }\n\t        }\n\t    };\n\t    TextFilter.prototype.setFilter = function (filter) {\n\t        filter = utils_1.Utils.makeNull(filter);\n\t        if (filter) {\n\t            this.filterText = filter;\n\t            this.eFilterTextField.value = filter;\n\t        }\n\t        else {\n\t            this.filterText = null;\n\t            this.eFilterTextField.value = null;\n\t        }\n\t    };\n\t    TextFilter.prototype.getFilter = function () {\n\t        return this.filterText;\n\t    };\n\t    TextFilter.prototype.resetState = function () {\n\t        this.setFilter(null);\n\t        this.setFilterType(baseFilter_1.BaseFilter.CONTAINS);\n\t    };\n\t    TextFilter.prototype.serialize = function () {\n\t        return {\n\t            type: this.filter,\n\t            filter: this.filterText,\n\t            filterType: 'text'\n\t        };\n\t    };\n\t    TextFilter.prototype.parse = function (model) {\n\t        this.setFilterType(model.type);\n\t        this.setFilter(model.filter);\n\t    };\n\t    TextFilter.prototype.setType = function (filterType) {\n\t        this.setFilterType(filterType);\n\t    };\n\t    return TextFilter;\n\t}(baseFilter_1.ComparableBaseFilter));\n\t__decorate([\n\t    componentAnnotations_1.QuerySelector('#filterText'),\n\t    __metadata(\"design:type\", HTMLInputElement)\n\t], TextFilter.prototype, \"eFilterTextField\", void 0);\n\texports.TextFilter = TextFilter;\n\n\n/***/ }),\n/* 51 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar component_1 = __webpack_require__(52);\n\tvar componentAnnotations_1 = __webpack_require__(53);\n\tvar context_1 = __webpack_require__(8);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar utils_1 = __webpack_require__(9);\n\tvar DEFAULT_TRANSLATIONS = {\n\t    equals: 'Equals',\n\t    notEqual: 'Not equal',\n\t    lessThan: 'Less than',\n\t    greaterThan: 'Greater than',\n\t    inRange: 'In range',\n\t    lessThanOrEqual: 'Less than or equals',\n\t    greaterThanOrEqual: 'Greater than or equals',\n\t    filterOoo: 'Filter...',\n\t    contains: 'Contains',\n\t    notContains: 'Not contains',\n\t    startsWith: 'Starts with',\n\t    endsWith: 'Ends with',\n\t    searchOoo: 'Search...',\n\t    selectAll: 'Select All',\n\t    applyFilter: 'Apply Filter',\n\t    clearFilter: 'Clear Filter'\n\t};\n\t/**\n\t * T(ype) The type of this filter. ie in DateFilter T=Date\n\t * P(arams) The params that this filter can take\n\t * M(model getModel/setModel) The object that this filter serializes to\n\t * F Floating filter params\n\t *\n\t * Contains common logic to ALL filters.. Translation, apply and clear button\n\t * get/setModel context wiring....\n\t */\n\tvar BaseFilter = (function (_super) {\n\t    __extends(BaseFilter, _super);\n\t    function BaseFilter() {\n\t        var _this = _super !== null && _super.apply(this, arguments) || this;\n\t        _this.filter = 'equals';\n\t        return _this;\n\t    }\n\t    BaseFilter.prototype.init = function (params) {\n\t        this.filterParams = params;\n\t        this.clearActive = params.clearButton === true;\n\t        //Allowing for old param property apply, even though is not advertised through the interface\n\t        this.applyActive = ((params.applyButton === true) || (params.apply === true));\n\t        this.newRowsActionKeep = params.newRowsAction === 'keep';\n\t        this.setTemplate(this.generateTemplate());\n\t        utils_1._.setVisible(this.eApplyButton, this.applyActive);\n\t        if (this.applyActive) {\n\t            this.addDestroyableEventListener(this.eApplyButton, \"click\", this.filterParams.filterChangedCallback);\n\t        }\n\t        utils_1._.setVisible(this.eClearButton, this.clearActive);\n\t        if (this.clearActive) {\n\t            this.addDestroyableEventListener(this.eClearButton, \"click\", this.onClearButton.bind(this));\n\t        }\n\t        var anyButtonVisible = this.applyActive || this.clearActive;\n\t        utils_1._.setVisible(this.eButtonsPanel, anyButtonVisible);\n\t        this.instantiate(this.context);\n\t        this.initialiseFilterBodyUi();\n\t        this.refreshFilterBodyUi();\n\t    };\n\t    BaseFilter.prototype.onClearButton = function () {\n\t        this.setModel(null);\n\t        this.onFilterChanged();\n\t    };\n\t    BaseFilter.prototype.floatingFilter = function (from) {\n\t        if (from !== '') {\n\t            var model = this.modelFromFloatingFilter(from);\n\t            this.setModel(model);\n\t        }\n\t        else {\n\t            this.resetState();\n\t        }\n\t        this.onFilterChanged();\n\t    };\n\t    BaseFilter.prototype.onNewRowsLoaded = function () {\n\t        if (!this.newRowsActionKeep) {\n\t            this.resetState();\n\t        }\n\t    };\n\t    BaseFilter.prototype.getModel = function () {\n\t        if (this.isFilterActive()) {\n\t            return this.serialize();\n\t        }\n\t        else {\n\t            return null;\n\t        }\n\t    };\n\t    BaseFilter.prototype.getNullableModel = function () {\n\t        return this.serialize();\n\t    };\n\t    BaseFilter.prototype.setModel = function (model) {\n\t        if (model) {\n\t            this.parse(model);\n\t        }\n\t        else {\n\t            this.resetState();\n\t        }\n\t        this.refreshFilterBodyUi();\n\t    };\n\t    BaseFilter.prototype.doOnFilterChanged = function (applyNow) {\n\t        if (applyNow === void 0) { applyNow = false; }\n\t        this.filterParams.filterModifiedCallback();\n\t        var requiresApplyAndIsApplying = this.applyActive && applyNow;\n\t        var notRequiresApply = !this.applyActive;\n\t        var shouldFilter = notRequiresApply || requiresApplyAndIsApplying;\n\t        if (shouldFilter) {\n\t            this.filterParams.filterChangedCallback();\n\t        }\n\t        this.refreshFilterBodyUi();\n\t    };\n\t    BaseFilter.prototype.onFilterChanged = function () {\n\t        this.doOnFilterChanged();\n\t    };\n\t    BaseFilter.prototype.onFloatingFilterChanged = function (change) {\n\t        //It has to be of the type FloatingFilterWithApplyChange if it gets here\n\t        var casted = change;\n\t        this.setModel(casted.model);\n\t        this.doOnFilterChanged(casted.apply);\n\t    };\n\t    BaseFilter.prototype.generateFilterHeader = function () {\n\t        return '';\n\t    };\n\t    BaseFilter.prototype.generateTemplate = function () {\n\t        var translate = this.translate.bind(this);\n\t        var body = this.bodyTemplate();\n\t        return \"<div>\\n                    \" + this.generateFilterHeader() + \"\\n                    \" + body + \"\\n                    <div class=\\\"ag-filter-apply-panel\\\" id=\\\"applyPanel\\\">\\n                        <button type=\\\"button\\\" id=\\\"clearButton\\\">\" + translate('clearFilter') + \"</button>\\n                        <button type=\\\"button\\\" id=\\\"applyButton\\\">\" + translate('applyFilter') + \"</button>\\n                    </div>\\n                </div>\";\n\t    };\n\t    BaseFilter.prototype.translate = function (toTranslate) {\n\t        var translate = this.gridOptionsWrapper.getLocaleTextFunc();\n\t        return translate(toTranslate, DEFAULT_TRANSLATIONS[toTranslate]);\n\t    };\n\t    return BaseFilter;\n\t}(component_1.Component));\n\tBaseFilter.EQUALS = 'equals';\n\tBaseFilter.NOT_EQUAL = 'notEqual';\n\tBaseFilter.LESS_THAN = 'lessThan';\n\tBaseFilter.LESS_THAN_OR_EQUAL = 'lessThanOrEqual';\n\tBaseFilter.GREATER_THAN = 'greaterThan';\n\tBaseFilter.GREATER_THAN_OR_EQUAL = 'greaterThanOrEqual';\n\tBaseFilter.IN_RANGE = 'inRange';\n\tBaseFilter.CONTAINS = 'contains'; //1;\n\tBaseFilter.NOT_CONTAINS = 'notContains'; //1;\n\tBaseFilter.STARTS_WITH = 'startsWith'; //4;\n\tBaseFilter.ENDS_WITH = 'endsWith'; //5;\n\t__decorate([\n\t    componentAnnotations_1.QuerySelector('#applyPanel'),\n\t    __metadata(\"design:type\", HTMLElement)\n\t], BaseFilter.prototype, \"eButtonsPanel\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.QuerySelector('#applyButton'),\n\t    __metadata(\"design:type\", HTMLElement)\n\t], BaseFilter.prototype, \"eApplyButton\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.QuerySelector('#clearButton'),\n\t    __metadata(\"design:type\", HTMLElement)\n\t], BaseFilter.prototype, \"eClearButton\", void 0);\n\t__decorate([\n\t    context_1.Autowired('context'),\n\t    __metadata(\"design:type\", context_1.Context)\n\t], BaseFilter.prototype, \"context\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], BaseFilter.prototype, \"gridOptionsWrapper\", void 0);\n\texports.BaseFilter = BaseFilter;\n\t/**\n\t * Every filter with a dropdown where the user can specify a comparing type against the filter values\n\t */\n\tvar ComparableBaseFilter = (function (_super) {\n\t    __extends(ComparableBaseFilter, _super);\n\t    function ComparableBaseFilter() {\n\t        return _super !== null && _super.apply(this, arguments) || this;\n\t    }\n\t    ComparableBaseFilter.prototype.init = function (params) {\n\t        _super.prototype.init.call(this, params);\n\t        this.addDestroyableEventListener(this.eTypeSelector, \"change\", this.onFilterTypeChanged.bind(this));\n\t    };\n\t    ComparableBaseFilter.prototype.generateFilterHeader = function () {\n\t        var _this = this;\n\t        var optionsHtml = this.getApplicableFilterTypes().map(function (filterType) {\n\t            var localeFilterName = _this.translate(filterType);\n\t            return \"<option value=\\\"\" + filterType + \"\\\">\" + localeFilterName + \"</option>\";\n\t        });\n\t        return optionsHtml.length <= 0 ?\n\t            '' :\n\t            \"<div>\\n                <select class=\\\"ag-filter-select\\\" id=\\\"filterType\\\">\\n                    \" + optionsHtml.join('') + \"\\n                </select>\\n            </div>\";\n\t    };\n\t    ComparableBaseFilter.prototype.onFilterTypeChanged = function () {\n\t        this.filter = this.eTypeSelector.value;\n\t        this.refreshFilterBodyUi();\n\t        this.onFilterChanged();\n\t    };\n\t    ComparableBaseFilter.prototype.isFilterActive = function () {\n\t        var rawFilterValues = this.filterValues();\n\t        if (this.filter === BaseFilter.IN_RANGE) {\n\t            var filterValueArray = rawFilterValues;\n\t            return filterValueArray[0] != null && filterValueArray[1] != null;\n\t        }\n\t        else {\n\t            return rawFilterValues != null;\n\t        }\n\t    };\n\t    ComparableBaseFilter.prototype.setFilterType = function (filterType) {\n\t        this.filter = filterType;\n\t        this.eTypeSelector.value = filterType;\n\t    };\n\t    return ComparableBaseFilter;\n\t}(BaseFilter));\n\t__decorate([\n\t    componentAnnotations_1.QuerySelector('#filterType'),\n\t    __metadata(\"design:type\", HTMLSelectElement)\n\t], ComparableBaseFilter.prototype, \"eTypeSelector\", void 0);\n\texports.ComparableBaseFilter = ComparableBaseFilter;\n\t/**\n\t * Comparable filter with scalar underlying values (ie numbers and dates. Strings are not scalar so have to extend\n\t * ComparableBaseFilter)\n\t */\n\tvar ScalarBaseFilter = (function (_super) {\n\t    __extends(ScalarBaseFilter, _super);\n\t    function ScalarBaseFilter() {\n\t        return _super !== null && _super.apply(this, arguments) || this;\n\t    }\n\t    ScalarBaseFilter.prototype.doesFilterPass = function (params) {\n\t        var value = this.filterParams.valueGetter(params.node);\n\t        var comparator = this.comparator();\n\t        var rawFilterValues = this.filterValues();\n\t        var from = Array.isArray(rawFilterValues) ? rawFilterValues[0] : rawFilterValues;\n\t        if (!from)\n\t            return true;\n\t        var compareResult = comparator(from, value);\n\t        if (this.filter === BaseFilter.EQUALS) {\n\t            return compareResult === 0;\n\t        }\n\t        if (this.filter === BaseFilter.GREATER_THAN) {\n\t            return compareResult > 0;\n\t        }\n\t        if (this.filter === BaseFilter.GREATER_THAN_OR_EQUAL) {\n\t            return compareResult >= 0;\n\t        }\n\t        if (this.filter === BaseFilter.LESS_THAN_OR_EQUAL) {\n\t            return compareResult <= 0;\n\t        }\n\t        if (this.filter === BaseFilter.LESS_THAN) {\n\t            return compareResult < 0;\n\t        }\n\t        if (this.filter === BaseFilter.NOT_EQUAL) {\n\t            return compareResult != 0;\n\t        }\n\t        //From now on the type is a range and rawFilterValues must be an array!\n\t        var compareToResult = comparator(rawFilterValues[1], value);\n\t        if (this.filter === BaseFilter.IN_RANGE) {\n\t            if (!this.filterParams.inRangeInclusive) {\n\t                return compareResult > 0 && compareToResult < 0;\n\t            }\n\t            else {\n\t                return compareResult >= 0 && compareToResult <= 0;\n\t            }\n\t        }\n\t        throw new Error('Unexpected type of date filter!: ' + this.filter);\n\t    };\n\t    return ScalarBaseFilter;\n\t}(ComparableBaseFilter));\n\texports.ScalarBaseFilter = ScalarBaseFilter;\n\n\n/***/ }),\n/* 52 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar utils_1 = __webpack_require__(9);\n\tvar beanStub_1 = __webpack_require__(40);\n\tvar Component = (function (_super) {\n\t    __extends(Component, _super);\n\t    function Component(template) {\n\t        var _this = _super.call(this) || this;\n\t        _this.childComponents = [];\n\t        _this.annotatedEventListeners = [];\n\t        _this.visible = true;\n\t        if (template) {\n\t            _this.setTemplate(template);\n\t        }\n\t        return _this;\n\t    }\n\t    Component.prototype.instantiate = function (context) {\n\t        this.instantiateRecurse(this.getGui(), context);\n\t    };\n\t    Component.prototype.instantiateRecurse = function (parentNode, context) {\n\t        var childCount = parentNode.childNodes ? parentNode.childNodes.length : 0;\n\t        for (var i = 0; i < childCount; i++) {\n\t            var childNode = parentNode.childNodes[i];\n\t            var newComponent = context.createComponent(childNode);\n\t            if (newComponent) {\n\t                this.swapComponentForNode(newComponent, parentNode, childNode);\n\t            }\n\t            else {\n\t                if (childNode.childNodes) {\n\t                    this.instantiateRecurse(childNode, context);\n\t                }\n\t            }\n\t        }\n\t    };\n\t    Component.prototype.swapComponentForNode = function (newComponent, parentNode, childNode) {\n\t        parentNode.replaceChild(newComponent.getGui(), childNode);\n\t        this.childComponents.push(newComponent);\n\t        this.swapInComponentForQuerySelectors(newComponent, childNode);\n\t    };\n\t    Component.prototype.swapInComponentForQuerySelectors = function (newComponent, childNode) {\n\t        var metaData = this.__agComponentMetaData;\n\t        if (!metaData || !metaData.querySelectors) {\n\t            return;\n\t        }\n\t        var thisNoType = this;\n\t        metaData.querySelectors.forEach(function (querySelector) {\n\t            if (thisNoType[querySelector.attributeName] === childNode) {\n\t                thisNoType[querySelector.attributeName] = newComponent;\n\t            }\n\t        });\n\t    };\n\t    Component.prototype.setTemplate = function (template) {\n\t        var eGui = utils_1.Utils.loadTemplate(template);\n\t        this.setTemplateFromElement(eGui);\n\t    };\n\t    Component.prototype.setTemplateFromElement = function (element) {\n\t        this.eGui = element;\n\t        this.eGui.__agComponent = this;\n\t        this.addAnnotatedEventListeners();\n\t        this.wireQuerySelectors();\n\t    };\n\t    Component.prototype.attributesSet = function () {\n\t    };\n\t    Component.prototype.wireQuerySelectors = function () {\n\t        var _this = this;\n\t        var metaData = this.__agComponentMetaData;\n\t        if (!metaData || !metaData.querySelectors) {\n\t            return;\n\t        }\n\t        if (!this.eGui) {\n\t            return;\n\t        }\n\t        var thisNoType = this;\n\t        metaData.querySelectors.forEach(function (querySelector) {\n\t            var resultOfQuery = _this.eGui.querySelector(querySelector.querySelector);\n\t            if (resultOfQuery) {\n\t                var backingComponent = resultOfQuery.__agComponent;\n\t                if (backingComponent) {\n\t                    thisNoType[querySelector.attributeName] = backingComponent;\n\t                }\n\t                else {\n\t                    thisNoType[querySelector.attributeName] = resultOfQuery;\n\t                }\n\t            }\n\t            else {\n\t                // put debug msg in here if query selector fails???\n\t            }\n\t        });\n\t    };\n\t    Component.prototype.addAnnotatedEventListeners = function () {\n\t        var _this = this;\n\t        this.removeAnnotatedEventListeners();\n\t        var metaData = this.__agComponentMetaData;\n\t        if (!metaData || !metaData.listenerMethods) {\n\t            return;\n\t        }\n\t        if (!this.eGui) {\n\t            return;\n\t        }\n\t        if (!this.annotatedEventListeners) {\n\t            this.annotatedEventListeners = [];\n\t        }\n\t        metaData.listenerMethods.forEach(function (eventListener) {\n\t            var listener = _this[eventListener.methodName].bind(_this);\n\t            _this.eGui.addEventListener(eventListener.eventName, listener);\n\t            _this.annotatedEventListeners.push({ eventName: eventListener.eventName, listener: listener });\n\t        });\n\t    };\n\t    Component.prototype.removeAnnotatedEventListeners = function () {\n\t        var _this = this;\n\t        if (!this.annotatedEventListeners) {\n\t            return;\n\t        }\n\t        if (!this.eGui) {\n\t            return;\n\t        }\n\t        this.annotatedEventListeners.forEach(function (eventListener) {\n\t            _this.eGui.removeEventListener(eventListener.eventName, eventListener.listener);\n\t        });\n\t        this.annotatedEventListeners = null;\n\t    };\n\t    Component.prototype.getGui = function () {\n\t        return this.eGui;\n\t    };\n\t    // this method is for older code, that wants to provide the gui element,\n\t    // it is not intended for this to be in ag-Stack\n\t    Component.prototype.setGui = function (eGui) {\n\t        this.eGui = eGui;\n\t    };\n\t    Component.prototype.queryForHtmlElement = function (cssSelector) {\n\t        return this.eGui.querySelector(cssSelector);\n\t    };\n\t    Component.prototype.queryForHtmlInputElement = function (cssSelector) {\n\t        return this.eGui.querySelector(cssSelector);\n\t    };\n\t    Component.prototype.appendChild = function (newChild) {\n\t        if (utils_1.Utils.isNodeOrElement(newChild)) {\n\t            this.eGui.appendChild(newChild);\n\t        }\n\t        else {\n\t            var childComponent = newChild;\n\t            this.eGui.appendChild(childComponent.getGui());\n\t            this.childComponents.push(childComponent);\n\t        }\n\t    };\n\t    Component.prototype.addFeature = function (context, feature) {\n\t        context.wireBean(feature);\n\t        if (feature.destroy) {\n\t            this.addDestroyFunc(feature.destroy.bind(feature));\n\t        }\n\t    };\n\t    Component.prototype.isVisible = function () {\n\t        return this.visible;\n\t    };\n\t    Component.prototype.setVisible = function (visible) {\n\t        if (visible !== this.visible) {\n\t            this.visible = visible;\n\t            utils_1.Utils.addOrRemoveCssClass(this.eGui, 'ag-hidden', !visible);\n\t            this.dispatchEvent(Component.EVENT_VISIBLE_CHANGED, { visible: this.visible });\n\t        }\n\t    };\n\t    Component.prototype.addOrRemoveCssClass = function (className, addOrRemove) {\n\t        utils_1.Utils.addOrRemoveCssClass(this.eGui, className, addOrRemove);\n\t    };\n\t    Component.prototype.destroy = function () {\n\t        _super.prototype.destroy.call(this);\n\t        this.childComponents.forEach(function (childComponent) { return childComponent.destroy(); });\n\t        this.childComponents.length = 0;\n\t        this.removeAnnotatedEventListeners();\n\t    };\n\t    Component.prototype.addGuiEventListener = function (event, listener) {\n\t        var _this = this;\n\t        this.getGui().addEventListener(event, listener);\n\t        this.addDestroyFunc(function () { return _this.getGui().removeEventListener(event, listener); });\n\t    };\n\t    Component.prototype.addCssClass = function (className) {\n\t        utils_1.Utils.addCssClass(this.getGui(), className);\n\t    };\n\t    Component.prototype.removeCssClass = function (className) {\n\t        utils_1.Utils.removeCssClass(this.getGui(), className);\n\t    };\n\t    Component.prototype.getAttribute = function (key) {\n\t        var eGui = this.getGui();\n\t        if (eGui) {\n\t            return eGui.getAttribute(key);\n\t        }\n\t        else {\n\t            return null;\n\t        }\n\t    };\n\t    Component.prototype.getRefElement = function (refName) {\n\t        return this.queryForHtmlElement('[ref=\"' + refName + '\"]');\n\t    };\n\t    return Component;\n\t}(beanStub_1.BeanStub));\n\tComponent.EVENT_VISIBLE_CHANGED = 'visibleChanged';\n\texports.Component = Component;\n\n\n/***/ }),\n/* 53 */\n/***/ (function(module, exports) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tfunction QuerySelector(selector) {\n\t    return querySelectorFunc.bind(this, selector);\n\t}\n\texports.QuerySelector = QuerySelector;\n\tfunction RefSelector(ref) {\n\t    return querySelectorFunc.bind(this, '[ref=' + ref + ']');\n\t}\n\texports.RefSelector = RefSelector;\n\tfunction querySelectorFunc(selector, classPrototype, methodOrAttributeName, index) {\n\t    if (selector === null) {\n\t        console.error('ag-Grid: QuerySelector selector should not be null');\n\t        return;\n\t    }\n\t    if (typeof index === 'number') {\n\t        console.error('ag-Grid: QuerySelector should be on an attribute');\n\t        return;\n\t    }\n\t    // it's an attribute on the class\n\t    var props = getOrCreateProps(classPrototype);\n\t    if (!props.querySelectors) {\n\t        props.querySelectors = [];\n\t    }\n\t    props.querySelectors.push({\n\t        attributeName: methodOrAttributeName,\n\t        querySelector: selector\n\t    });\n\t}\n\tfunction Listener(eventName) {\n\t    return listenerFunc.bind(this, eventName);\n\t}\n\texports.Listener = Listener;\n\tfunction listenerFunc(eventName, target, methodName, descriptor) {\n\t    if (eventName === null) {\n\t        console.error('ag-Grid: EventListener eventName should not be null');\n\t        return;\n\t    }\n\t    // it's an attribute on the class\n\t    var props = getOrCreateProps(target);\n\t    if (!props.listenerMethods) {\n\t        props.listenerMethods = [];\n\t    }\n\t    props.listenerMethods.push({\n\t        methodName: methodName,\n\t        eventName: eventName\n\t    });\n\t}\n\tfunction getOrCreateProps(target) {\n\t    var props = target.__agComponentMetaData;\n\t    if (!props) {\n\t        props = {};\n\t        target.__agComponentMetaData = props;\n\t    }\n\t    return props;\n\t}\n\n\n/***/ }),\n/* 54 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar utils_1 = __webpack_require__(9);\n\tvar componentAnnotations_1 = __webpack_require__(53);\n\tvar baseFilter_1 = __webpack_require__(51);\n\tvar NumberFilter = (function (_super) {\n\t    __extends(NumberFilter, _super);\n\t    function NumberFilter() {\n\t        return _super !== null && _super.apply(this, arguments) || this;\n\t    }\n\t    NumberFilter.prototype.modelFromFloatingFilter = function (from) {\n\t        return {\n\t            type: this.filter,\n\t            filter: Number(from),\n\t            filterTo: this.filterNumberTo,\n\t            filterType: 'number'\n\t        };\n\t    };\n\t    NumberFilter.prototype.getApplicableFilterTypes = function () {\n\t        return [baseFilter_1.BaseFilter.EQUALS, baseFilter_1.BaseFilter.NOT_EQUAL, baseFilter_1.BaseFilter.LESS_THAN, baseFilter_1.BaseFilter.LESS_THAN_OR_EQUAL,\n\t            baseFilter_1.BaseFilter.GREATER_THAN, baseFilter_1.BaseFilter.GREATER_THAN_OR_EQUAL, baseFilter_1.BaseFilter.IN_RANGE];\n\t    };\n\t    NumberFilter.prototype.bodyTemplate = function () {\n\t        var translate = this.translate.bind(this);\n\t        return \"<div class=\\\"ag-filter-body\\\">\\n            <div>\\n                <input class=\\\"ag-filter-filter\\\" id=\\\"filterText\\\" type=\\\"text\\\" placeholder=\\\"\" + translate('filterOoo') + \"\\\"/>\\n            </div>\\n             <div class=\\\"ag-filter-number-to\\\" id=\\\"filterNumberToPanel\\\">\\n                <input class=\\\"ag-filter-filter\\\" id=\\\"filterToText\\\" type=\\\"text\\\" placeholder=\\\"\" + translate('filterOoo') + \"\\\"/>\\n            </div>\\n        </div>\";\n\t    };\n\t    NumberFilter.prototype.initialiseFilterBodyUi = function () {\n\t        this.filterNumber = null;\n\t        this.setFilterType(NumberFilter.EQUALS);\n\t        this.eFilterTextField = this.getGui().querySelector(\"#filterText\");\n\t        this.addDestroyableEventListener(this.eFilterTextField, \"input\", this.onTextFieldsChanged.bind(this));\n\t        this.addDestroyableEventListener(this.eFilterToTextField, \"input\", this.onTextFieldsChanged.bind(this));\n\t    };\n\t    NumberFilter.prototype.afterGuiAttached = function () {\n\t        this.eFilterTextField.focus();\n\t    };\n\t    NumberFilter.prototype.comparator = function () {\n\t        return function (left, right) {\n\t            if (left === right)\n\t                return 0;\n\t            if (left < right)\n\t                return 1;\n\t            if (left > right)\n\t                return -1;\n\t        };\n\t    };\n\t    NumberFilter.prototype.onTextFieldsChanged = function () {\n\t        var newFilter = this.stringToFloat(this.eFilterTextField.value);\n\t        var newFilterTo = this.stringToFloat(this.eFilterToTextField.value);\n\t        if (this.filterNumber !== newFilter || this.filterNumberTo !== newFilterTo) {\n\t            this.filterNumber = newFilter;\n\t            this.filterNumberTo = newFilterTo;\n\t            this.onFilterChanged();\n\t        }\n\t    };\n\t    NumberFilter.prototype.filterValues = function () {\n\t        return this.filter !== baseFilter_1.BaseFilter.IN_RANGE ?\n\t            this.asNumber(this.filterNumber) :\n\t            [this.asNumber(this.filterNumber), this.asNumber(this.filterNumberTo)];\n\t    };\n\t    NumberFilter.prototype.asNumber = function (value) {\n\t        return utils_1.Utils.isNumeric(value) ? value : null;\n\t    };\n\t    NumberFilter.prototype.stringToFloat = function (value) {\n\t        var filterText = utils_1.Utils.makeNull(value);\n\t        if (filterText && filterText.trim() === '') {\n\t            filterText = null;\n\t        }\n\t        var newFilter;\n\t        if (filterText !== null && filterText !== undefined) {\n\t            newFilter = parseFloat(filterText);\n\t        }\n\t        else {\n\t            newFilter = null;\n\t        }\n\t        return newFilter;\n\t    };\n\t    NumberFilter.prototype.setFilter = function (filter) {\n\t        filter = utils_1.Utils.makeNull(filter);\n\t        if (filter !== null && !(typeof filter === 'number')) {\n\t            filter = parseFloat(filter);\n\t        }\n\t        this.filterNumber = filter;\n\t        this.eFilterTextField.value = filter;\n\t    };\n\t    NumberFilter.prototype.setFilterTo = function (filter) {\n\t        filter = utils_1.Utils.makeNull(filter);\n\t        if (filter !== null && !(typeof filter === 'number')) {\n\t            filter = parseFloat(filter);\n\t        }\n\t        this.filterNumberTo = filter;\n\t        this.eFilterToTextField.value = filter;\n\t    };\n\t    NumberFilter.prototype.getFilter = function () {\n\t        return this.filterNumber;\n\t    };\n\t    NumberFilter.prototype.serialize = function () {\n\t        return {\n\t            type: this.filter,\n\t            filter: this.filterNumber,\n\t            filterTo: this.filterNumberTo,\n\t            filterType: 'number'\n\t        };\n\t    };\n\t    NumberFilter.prototype.parse = function (model) {\n\t        this.setFilterType(model.type);\n\t        this.setFilter(model.filter);\n\t        this.setFilterTo(model.filterTo);\n\t    };\n\t    NumberFilter.prototype.refreshFilterBodyUi = function () {\n\t        var visible = this.filter === NumberFilter.IN_RANGE;\n\t        utils_1.Utils.setVisible(this.eNumberToPanel, visible);\n\t    };\n\t    NumberFilter.prototype.resetState = function () {\n\t        this.setFilterType(baseFilter_1.BaseFilter.EQUALS);\n\t        this.setFilter(null);\n\t        this.setFilterTo(null);\n\t    };\n\t    NumberFilter.prototype.setType = function (filterType) {\n\t        this.setFilterType(filterType);\n\t    };\n\t    return NumberFilter;\n\t}(baseFilter_1.ScalarBaseFilter));\n\tNumberFilter.EQUALS = 'equals'; // 1;\n\tNumberFilter.NOT_EQUAL = 'notEqual'; //2;\n\tNumberFilter.LESS_THAN_OR_EQUAL = 'lessThanOrEqual'; //4;\n\tNumberFilter.GREATER_THAN = 'greaterThan'; //5;\n\tNumberFilter.GREATER_THAN_OR_EQUAL = 'greaterThan'; //6;\n\tNumberFilter.IN_RANGE = 'inRange';\n\tNumberFilter.LESS_THAN = 'lessThan'; //3;\n\t__decorate([\n\t    componentAnnotations_1.QuerySelector('#filterNumberToPanel'),\n\t    __metadata(\"design:type\", HTMLElement)\n\t], NumberFilter.prototype, \"eNumberToPanel\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.QuerySelector('#filterToText'),\n\t    __metadata(\"design:type\", HTMLInputElement)\n\t], NumberFilter.prototype, \"eFilterToTextField\", void 0);\n\texports.NumberFilter = NumberFilter;\n\n\n/***/ }),\n/* 55 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar component_1 = __webpack_require__(52);\n\tvar componentAnnotations_1 = __webpack_require__(53);\n\tvar utils_1 = __webpack_require__(9);\n\tvar baseFilter_1 = __webpack_require__(51);\n\tvar context_1 = __webpack_require__(8);\n\tvar componentProvider_1 = __webpack_require__(56);\n\tvar DateFilter = (function (_super) {\n\t    __extends(DateFilter, _super);\n\t    function DateFilter() {\n\t        return _super !== null && _super.apply(this, arguments) || this;\n\t    }\n\t    DateFilter.prototype.modelFromFloatingFilter = function (from) {\n\t        return {\n\t            dateFrom: from,\n\t            dateTo: this.getDateTo(),\n\t            type: this.filter,\n\t            filterType: 'date'\n\t        };\n\t    };\n\t    DateFilter.prototype.getApplicableFilterTypes = function () {\n\t        return [baseFilter_1.BaseFilter.EQUALS, baseFilter_1.BaseFilter.GREATER_THAN, baseFilter_1.BaseFilter.LESS_THAN, baseFilter_1.BaseFilter.NOT_EQUAL, baseFilter_1.BaseFilter.IN_RANGE];\n\t    };\n\t    DateFilter.prototype.bodyTemplate = function () {\n\t        return \"<div class=\\\"ag-filter-body\\\">\\n                    <div class=\\\"ag-filter-date-from\\\" id=\\\"filterDateFromPanel\\\">\\n                    </div>\\n                    <div class=\\\"ag-filter-date-to\\\" id=\\\"filterDateToPanel\\\">\\n                    </div>\\n                </div>\";\n\t    };\n\t    DateFilter.prototype.initialiseFilterBodyUi = function () {\n\t        var dateComponentParams = {\n\t            onDateChanged: this.onDateChanged.bind(this)\n\t        };\n\t        this.dateToComponent = this.componentProvider.newDateComponent(dateComponentParams);\n\t        this.dateFromComponent = this.componentProvider.newDateComponent(dateComponentParams);\n\t        this.eDateFromPanel.appendChild(this.dateFromComponent.getGui());\n\t        this.eDateToPanel.appendChild(this.dateToComponent.getGui());\n\t        if (this.dateFromComponent.afterGuiAttached) {\n\t            this.dateFromComponent.afterGuiAttached();\n\t        }\n\t        if (this.dateToComponent.afterGuiAttached) {\n\t            this.dateToComponent.afterGuiAttached();\n\t        }\n\t    };\n\t    DateFilter.prototype.onDateChanged = function () {\n\t        this.dateFrom = DateFilter.removeTimezone(this.dateFromComponent.getDate());\n\t        this.dateTo = DateFilter.removeTimezone(this.dateToComponent.getDate());\n\t        this.onFilterChanged();\n\t    };\n\t    DateFilter.prototype.refreshFilterBodyUi = function () {\n\t        var visible = this.filter === baseFilter_1.BaseFilter.IN_RANGE;\n\t        utils_1.Utils.setVisible(this.eDateToPanel, visible);\n\t    };\n\t    DateFilter.prototype.comparator = function () {\n\t        return this.filterParams.comparator ? this.filterParams.comparator : this.defaultComparator.bind(this);\n\t    };\n\t    DateFilter.prototype.defaultComparator = function (filterDate, cellValue) {\n\t        //The default comparator assumes that the cellValue is a date\n\t        var cellAsDate = cellValue;\n\t        if (cellAsDate < filterDate) {\n\t            return -1;\n\t        }\n\t        if (cellAsDate > filterDate) {\n\t            return 1;\n\t        }\n\t        return 0;\n\t    };\n\t    DateFilter.prototype.serialize = function () {\n\t        return {\n\t            dateTo: utils_1.Utils.serializeDateToYyyyMmDd(this.dateToComponent.getDate(), \"-\"),\n\t            dateFrom: utils_1.Utils.serializeDateToYyyyMmDd(this.dateFromComponent.getDate(), \"-\"),\n\t            type: this.filter,\n\t            filterType: 'date'\n\t        };\n\t    };\n\t    DateFilter.prototype.filterValues = function () {\n\t        return this.filter !== baseFilter_1.BaseFilter.IN_RANGE ?\n\t            this.dateFromComponent.getDate() :\n\t            [this.dateFromComponent.getDate(), this.dateToComponent.getDate()];\n\t    };\n\t    // not used by ag-Grid, but exposed as part of the filter API for the client if they want it\n\t    DateFilter.prototype.getDateFrom = function () {\n\t        return utils_1.Utils.serializeDateToYyyyMmDd(this.dateFromComponent.getDate(), \"-\");\n\t    };\n\t    // not used by ag-Grid, but exposed as part of the filter API for the client if they want it\n\t    DateFilter.prototype.getDateTo = function () {\n\t        return utils_1.Utils.serializeDateToYyyyMmDd(this.dateToComponent.getDate(), \"-\");\n\t    };\n\t    // not used by ag-Grid, but exposed as part of the filter API for the client if they want it\n\t    DateFilter.prototype.getFilterType = function () {\n\t        return this.filter;\n\t    };\n\t    DateFilter.prototype.setDateFrom = function (date) {\n\t        this.dateFrom = utils_1.Utils.parseYyyyMmDdToDate(date, \"-\");\n\t        this.dateFromComponent.setDate(this.dateFrom);\n\t    };\n\t    DateFilter.prototype.setDateTo = function (date) {\n\t        this.dateTo = utils_1.Utils.parseYyyyMmDdToDate(date, \"-\");\n\t        this.dateToComponent.setDate(this.dateTo);\n\t    };\n\t    DateFilter.prototype.resetState = function () {\n\t        this.setDateFrom(null);\n\t        this.setDateTo(null);\n\t        this.setFilterType(\"equals\");\n\t    };\n\t    DateFilter.prototype.parse = function (model) {\n\t        this.setDateFrom(model.dateFrom);\n\t        this.setDateTo(model.dateTo);\n\t        this.setFilterType(model.type);\n\t    };\n\t    DateFilter.prototype.setType = function (filterType) {\n\t        this.setFilterType(filterType);\n\t    };\n\t    DateFilter.removeTimezone = function (from) {\n\t        if (!from)\n\t            return null;\n\t        return new Date(from.getFullYear(), from.getMonth(), from.getDate());\n\t    };\n\t    return DateFilter;\n\t}(baseFilter_1.ScalarBaseFilter));\n\t__decorate([\n\t    context_1.Autowired('componentProvider'),\n\t    __metadata(\"design:type\", componentProvider_1.ComponentProvider)\n\t], DateFilter.prototype, \"componentProvider\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.QuerySelector('#filterDateFromPanel'),\n\t    __metadata(\"design:type\", HTMLElement)\n\t], DateFilter.prototype, \"eDateFromPanel\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.QuerySelector('#filterDateToPanel'),\n\t    __metadata(\"design:type\", HTMLElement)\n\t], DateFilter.prototype, \"eDateToPanel\", void 0);\n\texports.DateFilter = DateFilter;\n\tvar DefaultDateComponent = (function (_super) {\n\t    __extends(DefaultDateComponent, _super);\n\t    function DefaultDateComponent() {\n\t        return _super.call(this, \"<input class=\\\"ag-filter-filter\\\" type=\\\"text\\\" placeholder=\\\"yyyy-mm-dd\\\">\") || this;\n\t    }\n\t    DefaultDateComponent.prototype.init = function (params) {\n\t        this.eDateInput = this.getGui();\n\t        if (utils_1.Utils.isBrowserChrome()) {\n\t            this.eDateInput.type = 'date';\n\t        }\n\t        this.listener = params.onDateChanged;\n\t        this.addGuiEventListener('input', this.listener);\n\t    };\n\t    DefaultDateComponent.prototype.getDate = function () {\n\t        return utils_1.Utils.parseYyyyMmDdToDate(this.eDateInput.value, \"-\");\n\t    };\n\t    DefaultDateComponent.prototype.setDate = function (date) {\n\t        this.eDateInput.value = utils_1.Utils.serializeDateToYyyyMmDd(date, \"-\");\n\t    };\n\t    return DefaultDateComponent;\n\t}(component_1.Component));\n\texports.DefaultDateComponent = DefaultDateComponent;\n\n\n/***/ }),\n/* 56 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar context_1 = __webpack_require__(8);\n\tvar headerGroupComp_1 = __webpack_require__(57);\n\tvar headerComp_1 = __webpack_require__(60);\n\tvar dateFilter_1 = __webpack_require__(55);\n\tvar utils_1 = __webpack_require__(9);\n\tvar floatingFilter_1 = __webpack_require__(62);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar floatingFilterWrapper_1 = __webpack_require__(63);\n\tvar filterManager_1 = __webpack_require__(48);\n\tvar ComponentProvider = (function () {\n\t    function ComponentProvider() {\n\t    }\n\t    ComponentProvider.prototype.postContruct = function () {\n\t        this.allComponentConfig = {\n\t            dateComponent: {\n\t                mandatoryMethodList: ['getDate', 'setDate'],\n\t                optionalMethodList: [],\n\t                defaultComponent: dateFilter_1.DefaultDateComponent\n\t            },\n\t            headerComponent: {\n\t                mandatoryMethodList: [],\n\t                optionalMethodList: [],\n\t                defaultComponent: headerComp_1.HeaderComp\n\t            },\n\t            headerGroupComponent: {\n\t                mandatoryMethodList: [],\n\t                optionalMethodList: [],\n\t                defaultComponent: headerGroupComp_1.HeaderGroupComp\n\t            },\n\t            setFloatingFilterComponent: {\n\t                mandatoryMethodList: [],\n\t                optionalMethodList: [],\n\t                defaultComponent: floatingFilter_1.SetFloatingFilterComp\n\t            },\n\t            textFloatingFilterComponent: {\n\t                mandatoryMethodList: [],\n\t                optionalMethodList: [],\n\t                defaultComponent: floatingFilter_1.TextFloatingFilterComp\n\t            },\n\t            numberFloatingFilterComponent: {\n\t                mandatoryMethodList: [],\n\t                optionalMethodList: [],\n\t                defaultComponent: floatingFilter_1.NumberFloatingFilterComp\n\t            },\n\t            dateFloatingFilterComponent: {\n\t                mandatoryMethodList: [],\n\t                optionalMethodList: [],\n\t                defaultComponent: floatingFilter_1.DateFloatingFilterComp\n\t            },\n\t            readModelAsStringFloatingFilterComponent: {\n\t                mandatoryMethodList: [],\n\t                optionalMethodList: [],\n\t                defaultComponent: floatingFilter_1.ReadModelAsStringFloatingFilterComp\n\t            },\n\t            floatingFilterWrapperComponent: {\n\t                mandatoryMethodList: [],\n\t                optionalMethodList: [],\n\t                defaultComponent: floatingFilterWrapper_1.FloatingFilterWrapperComp\n\t            },\n\t            emptyFloatingFilterWrapperComponent: {\n\t                mandatoryMethodList: [],\n\t                optionalMethodList: [],\n\t                defaultComponent: floatingFilterWrapper_1.EmptyFloatingFilterWrapperComp\n\t            },\n\t            floatingFilterComponent: {\n\t                mandatoryMethodList: [],\n\t                optionalMethodList: [],\n\t                defaultComponent: null\n\t            }\n\t        };\n\t    };\n\t    ComponentProvider.prototype.newAgGridComponent = function (holder, componentName, defaultComponentName, mandatory) {\n\t        if (mandatory === void 0) { mandatory = true; }\n\t        var thisComponentConfig = this.allComponentConfig[defaultComponentName];\n\t        if (!thisComponentConfig) {\n\t            if (mandatory) {\n\t                throw Error(\"Invalid component specified, there are no components of type : \" + componentName + \" [\" + defaultComponentName + \"]\");\n\t            }\n\t            return null;\n\t        }\n\t        var DefaultComponent = thisComponentConfig.defaultComponent;\n\t        var CustomAgGridComponent = holder ? holder[componentName] : null;\n\t        var FrameworkComponentRaw = holder ? holder[componentName + \"Framework\"] : null;\n\t        if (CustomAgGridComponent && FrameworkComponentRaw) {\n\t            throw Error(\"You are trying to register: \" + componentName + \" twice.\");\n\t        }\n\t        if (FrameworkComponentRaw && !this.frameworkComponentWrapper) {\n\t            throw Error(\"You are specifying a framework component but you are not using a framework version of ag-grid for : \" + componentName);\n\t        }\n\t        if (!FrameworkComponentRaw) {\n\t            var ComponentToUse = CustomAgGridComponent || DefaultComponent;\n\t            if (!ComponentToUse) {\n\t                if (mandatory) {\n\t                    throw Error(\"Unexpected error loading default component for: \" + componentName + \" default component not found.\");\n\t                }\n\t                else {\n\t                    return null;\n\t                }\n\t            }\n\t            return new ComponentToUse();\n\t        }\n\t        //Using framework component\n\t        return this.frameworkComponentWrapper.wrap(FrameworkComponentRaw, thisComponentConfig.mandatoryMethodList);\n\t    };\n\t    ComponentProvider.prototype.createAgGridComponent = function (holder, componentName, defaultComponentName, agGridParams, mandatory) {\n\t        if (mandatory === void 0) { mandatory = true; }\n\t        var component = this.newAgGridComponent(holder, componentName, defaultComponentName, mandatory);\n\t        if (!component)\n\t            return null;\n\t        var finalParams = this.getParams(holder, componentName, agGridParams);\n\t        this.context.wireBean(component);\n\t        component.init(finalParams);\n\t        return component;\n\t    };\n\t    ComponentProvider.prototype.getParams = function (holder, componentName, agGridParams) {\n\t        var customParams = holder ? holder[componentName + \"Params\"] : null;\n\t        var finalParams = {};\n\t        utils_1._.mergeDeep(finalParams, agGridParams);\n\t        utils_1._.mergeDeep(finalParams, customParams);\n\t        return finalParams;\n\t    };\n\t    ComponentProvider.prototype.newDateComponent = function (params) {\n\t        return this.createAgGridComponent(this.gridOptions, \"dateComponent\", \"dateComponent\", params);\n\t    };\n\t    ComponentProvider.prototype.newHeaderComponent = function (params) {\n\t        return this.createAgGridComponent(params.column.getColDef(), \"headerComponent\", \"headerComponent\", params);\n\t    };\n\t    ComponentProvider.prototype.newHeaderGroupComponent = function (params) {\n\t        return this.createAgGridComponent(params.columnGroup.getColGroupDef(), \"headerGroupComponent\", \"headerGroupComponent\", params);\n\t    };\n\t    ComponentProvider.prototype.newFloatingFilterComponent = function (type, colDef, params) {\n\t        var floatingFilterToInstantiate = type === 'custom' ? 'floatingFilterComponent' : type + \"FloatingFilterComponent\";\n\t        return this.createAgGridComponent(colDef, \"floatingFilterComponent\", floatingFilterToInstantiate, params, false);\n\t    };\n\t    ComponentProvider.prototype.newFloatingFilterWrapperComponent = function (parent, column, params) {\n\t        var _this = this;\n\t        var colDef = column.getColDef();\n\t        if (colDef.suppressFilter) {\n\t            return this.newEmptyFloatingFilterWrapperComponent(column);\n\t        }\n\t        var floatingFilterType;\n\t        if (typeof colDef.filter === 'string') {\n\t            floatingFilterType = colDef.filter;\n\t        }\n\t        else if (!colDef.filter) {\n\t            floatingFilterType = this.gridOptionsWrapper.isEnterprise() ? 'set' : 'text';\n\t        }\n\t        else {\n\t            floatingFilterType = 'custom';\n\t        }\n\t        var floatingFilter = this.newFloatingFilterComponent(floatingFilterType, colDef, params);\n\t        var floatingFilterWrapperComponentParams = {\n\t            column: column,\n\t            floatingFilterComp: floatingFilter,\n\t            suppressFilterButton: this.getParams(colDef, 'floatingFilterComponent', params).suppressFilterButton\n\t        };\n\t        if (!floatingFilter && !parent.getModelAsString) {\n\t            return this.newEmptyFloatingFilterWrapperComponent(column);\n\t        }\n\t        if (!floatingFilter && parent.getModelAsString) {\n\t            var rawModelFn_1 = params.currentParentModel;\n\t            params.currentParentModel = function () {\n\t                var parent = _this.filterManager.getFilterComponent(column);\n\t                return parent.getModelAsString(rawModelFn_1());\n\t            };\n\t            floatingFilterWrapperComponentParams.floatingFilterComp = this.newFloatingFilterComponent('readModelAsString', colDef, params);\n\t        }\n\t        return this.createAgGridComponent(colDef, \"floatingFilterWrapperComponent\", \"floatingFilterWrapperComponent\", floatingFilterWrapperComponentParams);\n\t    };\n\t    ComponentProvider.prototype.newEmptyFloatingFilterWrapperComponent = function (column) {\n\t        var floatingFilterWrapperComponentParams = {\n\t            column: column,\n\t            floatingFilterComp: null\n\t        };\n\t        return this.createAgGridComponent(column.getColDef(), \"floatingFilterWrapperComponent\", \"emptyFloatingFilterWrapperComponent\", floatingFilterWrapperComponentParams);\n\t    };\n\t    return ComponentProvider;\n\t}());\n\t__decorate([\n\t    context_1.Autowired(\"gridOptions\"),\n\t    __metadata(\"design:type\", Object)\n\t], ComponentProvider.prototype, \"gridOptions\", void 0);\n\t__decorate([\n\t    context_1.Autowired(\"gridOptionsWrapper\"),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], ComponentProvider.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('filterManager'),\n\t    __metadata(\"design:type\", filterManager_1.FilterManager)\n\t], ComponentProvider.prototype, \"filterManager\", void 0);\n\t__decorate([\n\t    context_1.Autowired(\"context\"),\n\t    __metadata(\"design:type\", context_1.Context)\n\t], ComponentProvider.prototype, \"context\", void 0);\n\t__decorate([\n\t    context_1.Optional(\"frameworkComponentWrapper\"),\n\t    __metadata(\"design:type\", Object)\n\t], ComponentProvider.prototype, \"frameworkComponentWrapper\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], ComponentProvider.prototype, \"postContruct\", null);\n\tComponentProvider = __decorate([\n\t    context_1.Bean('componentProvider')\n\t], ComponentProvider);\n\texports.ComponentProvider = ComponentProvider;\n\n\n/***/ }),\n/* 57 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar component_1 = __webpack_require__(52);\n\tvar svgFactory_1 = __webpack_require__(58);\n\tvar utils_1 = __webpack_require__(9);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar context_1 = __webpack_require__(8);\n\tvar touchListener_1 = __webpack_require__(59);\n\tvar componentAnnotations_1 = __webpack_require__(53);\n\tvar originalColumnGroup_1 = __webpack_require__(20);\n\tvar svgFactory = svgFactory_1.SvgFactory.getInstance();\n\tvar HeaderGroupComp = (function (_super) {\n\t    __extends(HeaderGroupComp, _super);\n\t    function HeaderGroupComp() {\n\t        return _super.call(this, HeaderGroupComp.TEMPLATE) || this;\n\t    }\n\t    HeaderGroupComp.prototype.init = function (params) {\n\t        this.params = params;\n\t        this.setupLabel();\n\t        this.addGroupExpandIcon();\n\t        if (this.params.columnGroup.isExpandable()) {\n\t            this.setupExpandIcons();\n\t        }\n\t        else {\n\t            this.removeExpandIcons();\n\t        }\n\t    };\n\t    HeaderGroupComp.prototype.setupExpandIcons = function () {\n\t        this.addInIcon('columnGroupOpened', 'agOpened', svgFactory.createGroupExpandedIcon);\n\t        this.addInIcon('columnGroupClosed', 'agClosed', svgFactory.createGroupContractedIcon);\n\t        this.addTouchAndClickListeners(this.eCloseIcon);\n\t        this.addTouchAndClickListeners(this.eOpenIcon);\n\t        this.updateIconVisibilty();\n\t        this.addDestroyableEventListener(this.params.columnGroup.getOriginalColumnGroup(), originalColumnGroup_1.OriginalColumnGroup.EVENT_EXPANDED_CHANGED, this.updateIconVisibilty.bind(this));\n\t    };\n\t    HeaderGroupComp.prototype.addTouchAndClickListeners = function (eElement) {\n\t        var _this = this;\n\t        var expandAction = function () {\n\t            var newExpandedValue = !_this.params.columnGroup.isExpanded();\n\t            _this.columnController.setColumnGroupOpened(_this.params.columnGroup, newExpandedValue);\n\t        };\n\t        var touchListener = new touchListener_1.TouchListener(this.eCloseIcon);\n\t        this.addDestroyableEventListener(touchListener, touchListener_1.TouchListener.EVENT_TAP, expandAction);\n\t        this.addDestroyFunc(function () { return touchListener.destroy(); });\n\t        this.addDestroyableEventListener(eElement, 'click', expandAction);\n\t    };\n\t    HeaderGroupComp.prototype.updateIconVisibilty = function () {\n\t        var expanded = this.params.columnGroup.isExpanded();\n\t        utils_1.Utils.setVisible(this.eOpenIcon, !expanded);\n\t        utils_1.Utils.setVisible(this.eCloseIcon, expanded);\n\t    };\n\t    HeaderGroupComp.prototype.removeExpandIcons = function () {\n\t        utils_1.Utils.setVisible(this.eOpenIcon, false);\n\t        utils_1.Utils.setVisible(this.eCloseIcon, false);\n\t    };\n\t    HeaderGroupComp.prototype.addInIcon = function (iconName, refName, defaultIconFactory) {\n\t        var eIcon = utils_1.Utils.createIconNoSpan(iconName, this.gridOptionsWrapper, null, defaultIconFactory);\n\t        this.getRefElement(refName).appendChild(eIcon);\n\t    };\n\t    HeaderGroupComp.prototype.addGroupExpandIcon = function () {\n\t        if (!this.params.columnGroup.isExpandable()) {\n\t            utils_1.Utils.setVisible(this.eOpenIcon, false);\n\t            utils_1.Utils.setVisible(this.eCloseIcon, false);\n\t            return;\n\t        }\n\t    };\n\t    HeaderGroupComp.prototype.setupLabel = function () {\n\t        // no renderer, default text render\n\t        if (this.params.displayName && this.params.displayName !== '') {\n\t            if (utils_1.Utils.isBrowserSafari()) {\n\t                this.getGui().style.display = 'table-cell';\n\t            }\n\t            var eInnerText = this.getRefElement('agLabel');\n\t            eInnerText.innerHTML = this.params.displayName;\n\t        }\n\t    };\n\t    return HeaderGroupComp;\n\t}(component_1.Component));\n\tHeaderGroupComp.TEMPLATE = \"<div class=\\\"ag-header-group-cell-label\\\">\" +\n\t    \"<span ref=\\\"agLabel\\\" class=\\\"ag-header-group-text\\\"></span>\" +\n\t    \"<span ref=\\\"agOpened\\\" class=\\\"ag-header-icon ag-header-expand-icon ag-header-expand-icon-expanded\\\"></span>\" +\n\t    \"<span ref=\\\"agClosed\\\" class=\\\"ag-header-icon ag-header-expand-icon ag-header-expand-icon-collapsed\\\"></span>\" +\n\t    \"</div>\";\n\t__decorate([\n\t    context_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", columnController_1.ColumnController)\n\t], HeaderGroupComp.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], HeaderGroupComp.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.RefSelector('agOpened'),\n\t    __metadata(\"design:type\", HTMLElement)\n\t], HeaderGroupComp.prototype, \"eOpenIcon\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.RefSelector('agClosed'),\n\t    __metadata(\"design:type\", HTMLElement)\n\t], HeaderGroupComp.prototype, \"eCloseIcon\", void 0);\n\texports.HeaderGroupComp = HeaderGroupComp;\n\n\n/***/ }),\n/* 58 */\n/***/ (function(module, exports) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar SVG_NS = \"http://www.w3.org/2000/svg\";\n\tvar SvgFactory = (function () {\n\t    function SvgFactory() {\n\t    }\n\t    SvgFactory.getInstance = function () {\n\t        if (!this.theInstance) {\n\t            this.theInstance = new SvgFactory();\n\t        }\n\t        return this.theInstance;\n\t    };\n\t    SvgFactory.prototype.createFilterSvg = function () {\n\t        var eSvg = createIconSvg();\n\t        var eFunnel = document.createElementNS(SVG_NS, \"polygon\");\n\t        eFunnel.setAttribute(\"points\", \"0,0 4,4 4,10 6,10 6,4 10,0\");\n\t        eFunnel.setAttribute(\"class\", \"ag-header-icon\");\n\t        eSvg.appendChild(eFunnel);\n\t        return eSvg;\n\t    };\n\t    SvgFactory.prototype.createFilterSvg12 = function () {\n\t        var eSvg = createIconSvg(12);\n\t        var eFunnel = document.createElementNS(SVG_NS, \"polygon\");\n\t        eFunnel.setAttribute(\"points\", \"0,0 5,5 5,12 7,12 7,5 12,0\");\n\t        eFunnel.setAttribute(\"class\", \"ag-header-icon\");\n\t        eSvg.appendChild(eFunnel);\n\t        return eSvg;\n\t    };\n\t    SvgFactory.prototype.createMenuSvg = function () {\n\t        var eSvg = document.createElementNS(SVG_NS, \"svg\");\n\t        var size = \"12\";\n\t        eSvg.setAttribute(\"width\", size);\n\t        eSvg.setAttribute(\"height\", size);\n\t        [\"0\", \"5\", \"10\"].forEach(function (y) {\n\t            var eLine = document.createElementNS(SVG_NS, \"rect\");\n\t            eLine.setAttribute(\"y\", y);\n\t            eLine.setAttribute(\"width\", size);\n\t            eLine.setAttribute(\"height\", \"2\");\n\t            eLine.setAttribute(\"class\", \"ag-header-icon\");\n\t            eSvg.appendChild(eLine);\n\t        });\n\t        return eSvg;\n\t    };\n\t    SvgFactory.prototype.createColumnsSvg12 = function () {\n\t        var eSvg = createIconSvg(12);\n\t        [0, 4, 8].forEach(function (y) {\n\t            [0, 7].forEach(function (x) {\n\t                var eBar = document.createElementNS(SVG_NS, \"rect\");\n\t                eBar.setAttribute(\"y\", y.toString());\n\t                eBar.setAttribute(\"x\", x.toString());\n\t                eBar.setAttribute(\"width\", \"5\");\n\t                eBar.setAttribute(\"height\", \"3\");\n\t                eBar.setAttribute(\"class\", \"ag-header-icon\");\n\t                eSvg.appendChild(eBar);\n\t            });\n\t        });\n\t        return eSvg;\n\t    };\n\t    SvgFactory.prototype.createArrowUpSvg = function () {\n\t        return createPolygonSvg(\"0,10 5,0 10,10\");\n\t    };\n\t    SvgFactory.prototype.createArrowLeftSvg = function () {\n\t        return createPolygonSvg(\"10,0 0,5 10,10\");\n\t    };\n\t    SvgFactory.prototype.createArrowDownSvg = function () {\n\t        return createPolygonSvg(\"0,0 5,10 10,0\");\n\t    };\n\t    SvgFactory.prototype.createArrowRightSvg = function () {\n\t        return createPolygonSvg(\"0,0 10,5 0,10\");\n\t    };\n\t    SvgFactory.prototype.createSmallArrowRightSvg = function () {\n\t        return createPolygonSvg(\"0,0 6,3 0,6\", 6);\n\t    };\n\t    SvgFactory.prototype.createSmallArrowLeftSvg = function () {\n\t        return createPolygonSvg(\"6,0 0,3 6,6\", 6);\n\t    };\n\t    SvgFactory.prototype.createSmallArrowDownSvg = function () {\n\t        return createPolygonSvg(\"0,0 3,6 6,0\", 6);\n\t    };\n\t    //public createOpenSvg() {\n\t    //    return createPlusMinus(true);\n\t    //}\n\t    //\n\t    //public createCloseSvg() {\n\t    //    return createPlusMinus(false);\n\t    //}\n\t    // UnSort Icon SVG\n\t    SvgFactory.prototype.createArrowUpDownSvg = function () {\n\t        var svg = createIconSvg();\n\t        var eAscIcon = document.createElementNS(SVG_NS, \"polygon\");\n\t        eAscIcon.setAttribute(\"points\", '0,4 5,0 10,4');\n\t        svg.appendChild(eAscIcon);\n\t        var eDescIcon = document.createElementNS(SVG_NS, \"polygon\");\n\t        eDescIcon.setAttribute(\"points\", '0,6 5,10 10,6');\n\t        svg.appendChild(eDescIcon);\n\t        return svg;\n\t    };\n\t    //public createFolderOpen(size: number): HTMLElement {\n\t    //    var svg = `<svg width=\"${size}\" height=\"${size}\" viewBox=\"0 0 1792 1792\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M1717 931q0-35-53-35h-1088q-40 0-85.5 21.5t-71.5 52.5l-294 363q-18 24-18 40 0 35 53 35h1088q40 0 86-22t71-53l294-363q18-22 18-39zm-1141-163h768v-160q0-40-28-68t-68-28h-576q-40 0-68-28t-28-68v-64q0-40-28-68t-68-28h-320q-40 0-68 28t-28 68v853l256-315q44-53 116-87.5t140-34.5zm1269 163q0 62-46 120l-295 363q-43 53-116 87.5t-140 34.5h-1088q-92 0-158-66t-66-158v-960q0-92 66-158t158-66h320q92 0 158 66t66 158v32h544q92 0 158 66t66 158v160h192q54 0 99 24.5t67 70.5q15 32 15 68z\"/></svg>`;\n\t    //    return _.loadTemplate(svg);\n\t    //}\n\t    //\n\t    //public createFolderClosed(size: number): HTMLElement {\n\t    //    var svg = `<svg width=\"${size}\" height=\"${size}\" viewBox=\"0 0 1792 1792\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M1600 1312v-704q0-40-28-68t-68-28h-704q-40 0-68-28t-28-68v-64q0-40-28-68t-68-28h-320q-40 0-68 28t-28 68v960q0 40 28 68t68 28h1216q40 0 68-28t28-68zm128-704v704q0 92-66 158t-158 66h-1216q-92 0-158-66t-66-158v-960q0-92 66-158t158-66h320q92 0 158 66t66 158v32h672q92 0 158 66t66 158z\"/></svg>`;\n\t    //    return _.loadTemplate(svg);\n\t    //}\n\t    SvgFactory.getFromCacheOrCreate = function (key, data) {\n\t        // return document.createElement('img');\n\t        var eCachedImg = this.imageCache[key];\n\t        if (!eCachedImg) {\n\t            eCachedImg = document.createElement('img');\n\t            eCachedImg.src = data;\n\t            this.imageCache[key] = eCachedImg;\n\t        }\n\t        return eCachedImg.cloneNode();\n\t    };\n\t    SvgFactory.prototype.createFolderOpen = function () {\n\t        return SvgFactory.getFromCacheOrCreate('FolderOpen', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAZpJREFUeNqkU0tLQkEUPjN3ShAzF66CaNGiaNEviFpLgbSpXf2ACIqgFkELaVFhtAratQ8qokU/oFVbMQtJvWpWGvYwtet9TWfu1QorvOGBb84M5/WdOTOEcw7tCKHBlT8sMIhr4BfLGXC4BrALM8QUoveHG9oPQ/NhwVCQbOjp0C5F6zDiwE7Aed/p5tKWruufTlY8bkqliqVN8wvH6wvhydWd5UYdkYCqqgaKotQTCEewnJuDBSqVmshOrWhKgCJVqeHcKtiGKdqTgGIOQmwGum7AxVUKinXKzX1/1y5Xp6g8gpe8iBxuGZhcKjyXQZIkmBkfczS62YnRQCKX75/b3t8QDNhD8QX83V5Ipe7Bybug2Pt5NJ7A4nEqGOQKT+Bzu0HTDNB1syUYYxCJy0kwzIRogb0rKjAiQVXXHLVQrqqvsZtsFu8hbyXwe73WeMQtO5GonJGxuiyeC+Oa4fF5PEirw9nbx9FdxtN5eMwkzcgRnoeCa9DVM/CvH/R2l+axkz3clQguOFjw1f+FUzEQCqJG2v3OHwIMAOW1JPnAAAJxAAAAAElFTkSuQmCC');\n\t    };\n\t    SvgFactory.prototype.createFolderClosed = function () {\n\t        return SvgFactory.getFromCacheOrCreate('FolderClosed', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAARlJREFUeNqsUz1PwzAUPDtOUASpYKkQVWcQA/+DhbLA32CoKAMSTAwgFsQfQWLoX4GRDFXGIiqiyk4e7wUWmg8phJPOtvzunc6WrYgIXaD06KKhij0eD2uqUxBeDC9OmcNKCYd7ujm7ryodXz5ong6UPpqcP9+O76y1vwS+7yOOY1jr0OttlQyiaB0n148TAyK9XFqkaboiSTEYDNnkDUkyKxkkiSQkzQbwsiyHcBXz+Tv6/W1m+QiSEDT1igTO5RBWYbH4rNwPw/AnQU5ek0EdCj33SgLjHEHYzoAkgfmHBDmZuktsQqHPvxN0MyCbbWjtIQjWWhlIj/QqtT+6QrSz+6ef9DF7VTwFzE2madnu5K2prt/5S4ABADcIlSf6Ag8YAAAAAElFTkSuQmCC');\n\t    };\n\t    SvgFactory.prototype.createColumnIcon = function () {\n\t        return SvgFactory.getFromCacheOrCreate('ColumnIcon', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAOCAYAAAAMn20lAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RTcwQ0JFMzlENjZEMTFFNUFEQ0U5RDRCNjFFRENGMUMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RTcwQ0JFM0FENjZEMTFFNUFEQ0U5RDRCNjFFRENGMUMiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpFNzBDQkUzN0Q2NkQxMUU1QURDRTlENEI2MUVEQ0YxQyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpFNzBDQkUzOEQ2NkQxMUU1QURDRTlENEI2MUVEQ0YxQyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqDOrJYAAABxSURBVHjalJBBDsAgCAQXxXvj2/o/X9Cvmd4lUpV4MXroJMTAuihQSklVMSCysxSBW4uWKzjG6zZLDxrlWis5EVEThoWmi3N+nxAYs2WnXQY34L3HisMWPQlHB+2FPtNW6D/8+ziBRcroOXc0B/wEGABY6TPS1FU0bwAAAABJRU5ErkJggg==');\n\t    };\n\t    SvgFactory.prototype.createColumnsIcon = function () {\n\t        return SvgFactory.getFromCacheOrCreate('ColumnsIcon', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OENFQkI4NDhENzJDMTFFNUJDNEVFRjgwRDI3MkU1Q0EiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OENFQkI4NDlENzJDMTFFNUJDNEVFRjgwRDI3MkU1Q0EiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4Q0VCQjg0NkQ3MkMxMUU1QkM0RUVGODBEMjcyRTVDQSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4Q0VCQjg0N0Q3MkMxMUU1QkM0RUVGODBEMjcyRTVDQSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pj6ozGQAAAAuSURBVHjaYmRgYPjPgBswQml8anBK/idGDQsxNpCghnTAOBoGo2EwGgZgABBgAHbrH/l4grETAAAAAElFTkSuQmCC');\n\t    };\n\t    SvgFactory.prototype.createPinIcon = function () {\n\t        return SvgFactory.getFromCacheOrCreate('PinIcon', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAedJREFUeNqkUktLG1EYPTN31CIN0oWbIAWhKJR0FXcG6gOqkKGKVvEXCKULC91YSBcK7jXgQoIbFxn3ErFgFlIfCxUsQsCoIJYEm9LWNsGmJjPTM+Oo44Aa6IUzd+bec77H+UYyTRP/s5SsLFfCCxEjOhD9CXw64ccXJj7nLleYaMSvaa/+Au9Y73P3RUUBDIuXyaAxGu35A7xnkM57A7icCZXIO8/nkVleRn1/f9cv0xzjfVclFdi9N8ZivfnDQxQKBTwoFvFicLCVQSesJIpHMEY8dSqQWa54Eov1fF9ZQVHXsZNMblhnNE/wPmJPIX1zjOG2+fkgslnozHR2eopLcSIe3yoD48y45FbIxoVJNjimyMehoW3T58PvdBq53V18zeWwFo+vUfyBlCVvj0Li4/M1DnaAUtXCQkNDR4f/294eaoTAwdHRCROMWlzJZfC+1cKcJF07b5o+btWvV1eDyVBouyUcDj5UFDg924tVYtERpz0mCkmSulOp1GQgEIj0yvKPYiKBlwMDQXfPU47walEEmb8z0a5p2qaiKMPEoz6ezQLdM8DWNDDzltym24YthHimquoshSoDicvzZkK9S+h48pjCN4ZhrBPHTptlD0qevezwdCtAHVHrMti4A7rr3eb+E2AAoGnGkgkzpg8AAAAASUVORK5CYII=');\n\t    };\n\t    SvgFactory.prototype.createPlusIcon = function () {\n\t        return SvgFactory.getFromCacheOrCreate('PlusIcon', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAatJREFUeNqkU71KA0EQ/vaiib+lWCiordidpSg+QHwDBSt7n8DGhwhYCPoEgqCCINomARuLVIqgYKFG5f6z68xOzrvzYuXA3P7MzLffN7unjDH4jw3xx91bQXuxU4woNDjUX7VgsFOIH3/BnHgC0J65AzwFjDpZgoG7vb7lMsPDq6MiuK+B+kjGwFpCUjwK1DIQ3/dl0ssVh5TTM0UJP8aBgBKGleSGIWyP0oKYRm3KPSgYJ0Q0EpEgCASA2WmWZQY3kazBmjP9UhBFEbTWAgA0f9W2yHeG+vrd+tqGy5r5xNTT9erSqpvfdxwHN7fXOQZ0QhzH1oWArLsfXXieJ/KTGEZLcbVaTVn9ALTOLk9L+mYX5lxd0Xh6eGyVgspK6APwI8n3x9hmNpORJOuBo5ah8GcTc7dAHmkhNpYQlpHr47Hq2NspA1yEwHkoO/MVYLMmWJNarjEUQBzQw7rPvardFC8tZuOEwwB4p9PHqXgCdm738sUDJPB8mnwKj7qCTtJ527+XyAs6tOf2Bb6SP0OeGxRTVMp2h9nweWMoKS20l3+QT/vwqfZbgAEAUCrnlLQ+w4QAAAAASUVORK5CYII=');\n\t    };\n\t    SvgFactory.prototype.createMinusIcon = function () {\n\t        return SvgFactory.getFromCacheOrCreate('MinusIcon', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKVJREFUeNpi/P//PwMlgImBQjBqAAMDy3JGRgZGBoaZQGxMikZg3J0F4nSWHxC+cUBamvHXr18Zfv36Bca/f/8G43///oExKLphmImJieHagQMQF7QDiSwg/vnzJ8P3799RDPj79y+KRhhmBLr6I1DPNJABtxkYZM4xMFx7uXAhSX5/CtQD0gv0OgMfyCAgZgViZiL1/wXi30D8h3E0KVNuAECAAQDr51qtGxzf1wAAAABJRU5ErkJggg==');\n\t    };\n\t    SvgFactory.prototype.createMoveIcon = function () {\n\t        return SvgFactory.getFromCacheOrCreate('MoveIcon', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAoZJREFUeNpsU81rE0EUf7uzu2lNVJL6Eb0IBWusepqcKm3wEFkvxqDgQbwUtYeeg5cccwj4F7QKChEPipRcdMGDiaAoJAexLYViwYsfbU1JYkx3Zz98b8220Wbg7ez7vXm/mffmN9Kh1G2QGQOmMDiRyYEkSaCoKjDGdAAooOUdxzFsIcDzPPhSvgeO7YDrOLBRmQdlJHULVE0DNRSCvqFjUuHqhWP8+etvhR5m0CeengVhmiAsywdl2Dt03K1wZSrO220XaCaf8AFrQel32s0mrDcaWfovrq3Vc9OTvHj/Tb0Xzh6JxQwNyxtIgPXpqqJk94fDM+1Oh6CaEF4QTiIOGJ/DdQtBObsEmGxbll/rkCyDPDwMzW4XhHD88EH0NcRxDUeX4/qdnsi0s8Aas+kEp8Zg82pMkmpDigKbjSbQTD7hFL94/jin9ZRHBNLo3Wrt+uUkbzQsiEZVMPGKfv76DaawodnahkhY86+PNnXxs77ZgVOjMahWVuufi1NJRZhWvvT0beHGtQn++Nm7en+DzqXO8vfVxX+wsYnT/JWxWEe95P0eILsvkkdPKn4PUEBJmunILab5992PLVU++skoNmOniT7JX2Fkt5GM1EjqbMohXzQmqo7KwCQ6zYKiabu30PpQAnZ0HKSRMcMRwnBddw4ZOO4GLRYKFFdDhrrteTMMdWB9/QTdH8sIp0EKmNT4GWDjGZAPJ3TcrbBv+ibfwtwDqBvzYck/truxYjjLZRDflwLt7JUmEoAymdPV7INa5IXn0Uw+4f8PIqATMLQIWpQ0E/RFTmQ4nLx0B1Zfzrsr5eAmbLQW2hYpHwkcqfegNBJhzwY9sGC4aCZaF81CAvePAAMAcwtApJX/Wo0AAAAASUVORK5CYII=');\n\t    };\n\t    SvgFactory.prototype.createLeftIcon = function () {\n\t        return SvgFactory.getFromCacheOrCreate('LeftIcon', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAe9JREFUeNqkUz1oE2EYfu7uuyRKLCFt6g+4VNQWWod+mQRRR1En0UFOHKoNCMKNju4SEQsOzsFNcRGl4CS42AzaKhKcsqhk0Etj7u+773y/6+USbOLSF5574b33eX+e906L4xh7MaYeC/c/IFcowMznEzDTBGPMoldnqEFtkPy708mIqvHHe0s7BcaYJYSwRwPu9vbYRH1XJI4tEYb2jYtHOHko9LvdxE9cYZQcBoF9+9oJ7jgRQt+HFAJSyv9rkO6UkGvXF3mr9QelkpkUINsYR6T8Jrkay8i+b9+5yfnmppMmSFw6e4yrIynBBsdS3jQ1PH/zeTiBIt+9dZpvbTlZh1+Oh/Z3F33XRUj7R1GUxA3DwMx0EYHnDUUMPe9Rfe1tc26uiL6M8aXno+UH6O7PIShPIapMQx6sQMxW4JbL+MkKCKhwNgGN2FD7Pnz82j63coF/aoc4ekDHtxfrzUniaZrW/FfEBomI9Scv7fnVq7zdBwIqajBWpeTd99d3vgBNCaQSzMOLyJ+6ApSPWxSzD61a/MfThupSjVuvxk2A3sazYYGBGbML0OcvW9rMyeRLFO8eVGXnKyacMiug5ikSplLs05dXzqNQWpbv6/URjpK+m6JH3GhQQI2QI+RTmBO0EwQ/RUBcqe31d/4rwAB0lPTXqN6HzgAAAABJRU5ErkJggg==');\n\t    };\n\t    SvgFactory.prototype.createRightIcon = function () {\n\t        return SvgFactory.getFromCacheOrCreate('RightIcon', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAfBJREFUeNqkUz1s00AU/hwSh1SEhiFCYuhCVSExgHRiYKjEVCEyMMGAsjCxZunesWM7dIgEA8JISPyoUhFDFoZOSE2GgtrSIAYWSEPb1HUS23c+8+7iuE5/JKQ+6fOdz/e+970fG2EY4jyWVo9b819hGEZ8WCgW4z2dV2lZFUJYgnNwz9PwXRebc3cGBMfN6XSQy+eHryyCMuv43dRpBCpSz7b1qlB+cI3RWkEYlv+LQFkgBLxuV8s9OAhQLk0w7vsnSHQKVMhqQuYRSRBouK5AqyXwpHSdvfywUYkKb8UEFIU9fXybOY6A+jbszGAP7O/7RBKg2eR4dH+KvV5ej0k0gaqobXO0214c3acUDnt99Pp9cKqDUqLsx68LuHd3gtU+b1eOCOiSaaZQKJjgMsSOy7EnJcSYCZnLwKbojic1weTVMXz81KhTexeSKdSXqrUzh2X84Qxr9SQmx1P48q6mnTPZrJUs4jMp5QlHlSd1Y203fRGFK8DPV28HzqZpjXShW3+D00bamCrpNU9DuvvcGsjea1rO+nvw39+AxRCGckyO8ciQFG8gPT27ptX8/b4gt1asYGdzRGE6MVCXCJcj5NShbG9B/NnYhttpyMYL5XmTYEdw1KgMFSgJJiEbIXNGPQXBi+CTrzTO+zv/E2AA3Y8Nbp4Kn1sAAAAASUVORK5CYII=');\n\t    };\n\t    SvgFactory.prototype.createColumnVisibleIcon = function () {\n\t        return SvgFactory.getFromCacheOrCreate('ColumnVisibleIcon', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAdhJREFUeNrUk01LAlEUhu845QdRUxZBhIIWtFBso2AwRAVNLqKltHCb63b9A/9AixZCELhyYdAmEyYCBcOlNa1CSQoxog/DMY3x9p5B27Zw1YGH8XrO+55759wROOdsmLCwIWNoAwFh/ugfZQKsAQV4gbNf9woqIAeuQHOgGxgIMNix2Wx7iqIsxmKxWU3TxgqFgpWSsix3fT5fK5VKPedyuftOp5OE7oz60hHsYD8UCh3k83k5k8ksGYYx5XK5rK2WzgiIrPQf5aiGakljakVRjKDrZaPR6Oi6zglVVTlFMnnMZXmdK8o2x674IE+1pCHtCFx2w+GwE9u3drtd81yJRAKdDXZ4eGSuFxb87PHxjg3yVEsaNNolg5NSqTTVbDaX7Agq8Hg8TFWLbGVl0xTY7TY2Our5NfhCQPNAWtFisdSr1WqvWCwawWBwRpKkcZyXadoN83qXmSQ50V1jGxurpnGlUqnH4/FzvItTmoo5ApjQNMIOh2MrEon4o9Gov1arzZXL5XHKBwKBT7fbXU+n07fZbPa23W5f4BVd93o9TgYimATTMHHCbB5PN9ZSf0LmrsEHRDWInvB8w/oFvAv920iFDkBzF/64fHTjvoFOxsL//5h+BBgAwjbgRLl5ImwAAAAASUVORK5CYII=');\n\t    };\n\t    SvgFactory.prototype.createColumnHiddenIcon = function () {\n\t        return SvgFactory.getFromCacheOrCreate('ColumnHiddenIcon', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6N0ZGNDRBMkJENkU3MTFFNUIwOTBGRTc0MTA3OTI2OEYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6N0ZGNDRBMkNENkU3MTFFNUIwOTBGRTc0MTA3OTI2OEYiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3RkY0NEEyOUQ2RTcxMUU1QjA5MEZFNzQxMDc5MjY4RiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3RkY0NEEyQUQ2RTcxMUU1QjA5MEZFNzQxMDc5MjY4RiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjQ0mkwAAACISURBVHjaYvz//z8DJYCJgUIwDAxgKSwspMwAIOYDYlcgtgNiJSBWBGJhIGaHyoHAJyD+CcRvgfg+EN8D4kNAvBtkwGEg1iNgkSCUlgBibSg7D4gvgwywRXKBChArALEIELMCsQBU8Qcg/g3Eb4D4ARDfBeKDMBeAnLcWikkGjKMpcRAYABBgACqXGpPEq63VAAAAAElFTkSuQmCC');\n\t    };\n\t    SvgFactory.prototype.createColumnIndeterminateIcon = function () {\n\t        return SvgFactory.getFromCacheOrCreate('ColumnIndeterminateIcon', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OUY1QTkyNDUxRTkzMTFFNkFEQzVDNjE1NDE4RDlEQUMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OUY1QTkyNDYxRTkzMTFFNkFEQzVDNjE1NDE4RDlEQUMiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5RjVBOTI0MzFFOTMxMUU2QURDNUM2MTU0MThEOURBQyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo5RjVBOTI0NDFFOTMxMUU2QURDNUM2MTU0MThEOURBQyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Por9Q7gAAAGzSURBVHja1JOxSwJRHMffqXcqSoVBQ0FDNN7iIBxO5WA3NYoEjm0u/T2Bkw2ONZlgNEk4Bw6GiGiippmRnp76+n4PbWhpcOoHH57P+36/7/e8n4qUUmxSLrFhbRygoJwPq6tsgRMQB0cgtNINQA0UwCMYrX3rAAUB516v9zIejx+nUqm90WgUDIfDaq1WE9PpdK6q6mc2m+0WCoUX7K/hu+O5TPCBq0gkUiqXy0PbtqVlWXK5XDqwuE4mEzmfzyU11NJDr3C73SZOfeh0OtPxeCyR7oixlzhdVqtV2ev1nCB+Tw219NDrQRtJwzBCaF+bzWbsSGQyGVEsFoWmacLj8YjBYCBisZhIp9MC3Qhq6YEmyQ5OTdO8bTQak263K8m69d+FIOc5tfTQywAvTrmIRqM3pVLptd1uy3q9/nN3slgsZLPZlHxGDbX00Ou8ApfLxbdh+P3+MyTriURC7/f7+7hCsFKpCF3XvwKBQCuXyz3n8/ln/Bb3yH9iOAPcYAfsIiSEsAOsh9hvA99qDizwAVMDphbWd+zfwFBZTSOFfqBxJv4YPk6cDcYMVv7/n+lbgAEAtdcjOjP715MAAAAASUVORK5CYII=');\n\t    };\n\t    SvgFactory.prototype.createGroupIcon = function () {\n\t        return SvgFactory.getFromCacheOrCreate('GroupIcon', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NUVCNUI1OUNENkYwMTFFNThGNjJDNUE3ODIwMEZERDciIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NUVCNUI1OURENkYwMTFFNThGNjJDNUE3ODIwMEZERDciPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo1RUI1QjU5QUQ2RjAxMUU1OEY2MkM1QTc4MjAwRkRENyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo1RUI1QjU5QkQ2RjAxMUU1OEY2MkM1QTc4MjAwRkRENyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PlkCTGoAAACDSURBVHjaYmRgYPjPgBswQun/+BT8X3x5DoZErG4KCj/3/DcMNZMNuRiYGPADRiRX4HYBJV5AB0QrhAGW//8hehgZES6FiaGLYzUAq7sxNf0nxQCsinHFAguegCPKBYxoYfAfWQxNnPgwINJVYMDEQCEYfLHASGoKRQlxPN7BqQggwAAN+SopPnDCwgAAAABJRU5ErkJggg==');\n\t    };\n\t    SvgFactory.prototype.createPivotIcon = function () {\n\t        return SvgFactory.getFromCacheOrCreate('PivotIcon', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAitJREFUeNqcU01rE1EUPfPVJjFqdYw2pJQkNS2hYhQUiwj+AaugKFYUBWutG3HjokgNrroRKYKbglBBFF0o1IW404qClGIDxpYKTQgULZJmmpiYkPnwvmtNspPmweOcmXnnvPPufSOdjsf7AfjR3PiOU6OjV50mh9CqtmVJDlkNjWU3tPXEiA6hlS3Lkm3HQbFYxO5hnTF0pQ3Bwa3MAxc98F9wMd95TsOOswpzoRFa1TJNyaKHtTUD07cNdv9wx6jtNDNW53N369xyOiC0qmmanMAwcjh+/yimrr/D28kjf8WLizjY3c38YzKJw729zKcTCU4gtLUE+Xwejy+94gWfl5agKQr8uo4Eccu2USr48SWVQq5QWE/gcAJZuIgF5XIF5yf7GfcGg9Cos4O3UoiFw2jFLrx+/wtRet+3nkJoOAEbkJtty5g484I+yUivrODekxb4tmuInZhCuFPHyHAXZubnUTXNWgKhlc1qlY+gaZsw9PwkY4fPhxsDXvxcrWL25TE8G+8DFAOxSAQHotG6AWlrRXS52vD08ifGr5kM1+BBPIBkOo3flQpaNA2zCwug+8MGdkMCPoLbvQ0DDw8xRgIBBNvbsUoF6yK+h+pQJpN91JH9PT2NCWS1Ui4rNhtswZubPxi/LS9TTWxemKTK/9t1jtramEBo1Vw226pRvEfj3oaL6v3vVRYaoZXcodA12ePpbOZXtEuljEToprmZprpBvehn4Y8AAwDB0mLL0M405wAAAABJRU5ErkJggg==');\n\t    };\n\t    SvgFactory.prototype.createAggregationIcon = function () {\n\t        return SvgFactory.getFromCacheOrCreate('AggregationIcon', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAMZJREFUeNpi/P//PwMlgImBQjDwBrCgmMYENq8RiLVxqL8KxPX//v1DiIACEYYZGRlBmBOIe4B4PRDrQMUYoGyQGIoebAbADJkAxFuAWA9JXJdYA0CYC4inAPFOINZHlkPWgxKIcFMhQA0aFveB+DbOUERxDhQAbTEC4qNAPBfqEmRx3F6AAhOgojNAvBikGckumDiKHhY0B3ECcTVQQhRIg/B1NNeeB1IgQ7/BXYvmdE6oAnYcPv4NxF+BerAbMDTzAkCAAQChYIl8b86M1gAAAABJRU5ErkJggg==');\n\t    };\n\t    SvgFactory.prototype.createDropNotAllowedIcon = function () {\n\t        return SvgFactory.getFromCacheOrCreate('DropNotAllowedIcon', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MjUyQ0MxNDY0NjBDMTFFNkEzMUVGQUE3NkQzQzU4MjYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MjUyQ0MxNDc0NjBDMTFFNkEzMUVGQUE3NkQzQzU4MjYiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoyNTJDQzE0NDQ2MEMxMUU2QTMxRUZBQTc2RDNDNTgyNiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoyNTJDQzE0NTQ2MEMxMUU2QTMxRUZBQTc2RDNDNTgyNiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PstpFisAAAGLSURBVHjalJNPKERRFMbnvRmKpAnjhURKWXjJLNQsqDE7KxI1NhYU2cjKxtbGZpSNqSFT/qxkYafmLWyU2LElCwYLo0SS8J36rk7XbJz61f33nXPuuec6ad8PWdYHJsEAaOPaDTgGeXCqD0cs8TqYCf21bjIHsmC2nIMCGOT4C3yCV44rQRXPS4BOkNIOchTL4RI4A0fggvtdYAj0g2qeFc10hKlNUXwF1sAOeALfdHCuxMZEsyoOFrjwTK8bTN3YMGvjcf7BzF3RukxHIl2DfSVuALvgQIn3wCJ44zwpDpqY/i2458YouARpzmV9BEyAExWk2RTRARUgxiuMqytsg3nWRCzMgL/PWATtoJfVr+PeHd/70OoJ6bxajotyhYCTmBJv8XVssdRljD0hFoiDDCcyfgcrjFyyxFGwBBI8K5YJ+573iEEriHOjBdSr55KoSbDM4ppekFrlHPWZCupJpcoP4IWCRt7bRA5MK7sqxRQ/irxIDegAPez7qDqbNeJyv1Huvvmf7/wjwABtLlYtICx9HQAAAABJRU5ErkJggg==');\n\t    };\n\t    SvgFactory.prototype.createGroupIcon12 = function () {\n\t        return SvgFactory.getFromCacheOrCreate('GroupIcon12', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MTNFQzE0NTdEOTk1MTFFNUI4MjJGMjBFRDk4MkMxNjAiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MTNFQzE0NThEOTk1MTFFNUI4MjJGMjBFRDk4MkMxNjAiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoxM0VDMTQ1NUQ5OTUxMUU1QjgyMkYyMEVEOTgyQzE2MCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoxM0VDMTQ1NkQ5OTUxMUU1QjgyMkYyMEVEOTgyQzE2MCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PiInRbAAAAEjSURBVHjaYuTi5XqkpKvI9/fXHwZWDlaGZ/eeM7x59raDAQj4pOQrBBUVGP78+MfAzMbE8PLKhU8Mhnb6/6//P/f/8N/d/x8AWUn1cf+BaleCsFPt5P/T/v//3/zj//8JQFrB1vM/I5IN3EAbfgBt+Au0QRBqw3sMG0DiQMwPxFuB2BzKZmLAAViA+BOU/QOI7wPxRyhfCIhT0NT/ZETi7AZiZiD+DOXL6EdlGdkWFzF8evaDgUuIg2F9eiTYBrhuIJ4NxHegfDsgnobuJGQbNgBxMRDfhfLFgDgB3UnInPVALMxAACDbcBGItwDxAyhfCRismejBiuyHiUBsDMQmUL6cSXIJf0hTDsNboEN42RkYJth58TPisV0eaMNFdBsAAgwANVJzd8zQrUcAAAAASUVORK5CYII=');\n\t    };\n\t    SvgFactory.prototype.createCutIcon = function () {\n\t        return SvgFactory.getFromCacheOrCreate('CutIcon', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlRJREFUeNqkU09okmEcfj6ThNRhjUEJDhxDZ1t4sI3lDrKDhESHpC6x6yBoh52GfcdBJDvtElEUdKhOSq1JjF0SabSton9OmIeRxVKIrUgdU5xvv8e+hXXYpRcefv+e5/mh7/tpSin8z9Gi0Sg0TTsv+edarfa+Wq2iUqmgXC6DudVqhd1uh81ma+UWi8Uv3G5ZPJ9MJmGq1+twOBynBOek6T9oG+fkkU8djymVSiGTyWBiYuL6QSb7YvLIp679+D0ej57NZpX8JD0QCPj7+vrgcrnAyJp9zskj3zD928Tr9er5fF5FIhFdiH4aMLJmn/N98R+Dq5qGSUFQwKFs1AuFggqFQrrT6bzIyJp9zoMGn7qWQU6ST4JNQeK3kd/n8+nFYlGFw+HFdDqtWLOfMHjk5wwDjckRwGYGeJVnBMdXgaNrbveJKysr/etu91pHtVo8BnyXWUnwsgHM7wAVX7MJ0cEmjWvW4eGzjpGRXnNnZ8cFeRi9pRI+dnXtjMbj/cLp57rG1tbPH0tLwd3l5QHp3RBU8E7Txr4MDb1V8bh60tOzfhN4vTc9rRYkCm4tGDX7nJNHPnWt/+CFpt1rF9emptScxKfA2DNZwThn9NtNWjoxMH1Tqru+va02NzbK47FY4PHMzJtdYPYD8OChGDCyZp9z8sinrnWXt4E7q4ODRbrelw0x2Xjyn1fImn3OySOfutYt+IDRSeCycAZeAYm7wKLkshR87A1+cILDAss4EDkNXJI8Ows8yin1nENn+5MXNA3hnpHzHBKYjWhqe4lffwkwAMRcPMqRQZ4vAAAAAElFTkSuQmCC');\n\t    };\n\t    SvgFactory.prototype.createCopyIcon = function () {\n\t        return SvgFactory.getFromCacheOrCreate('CopyIcon', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAgBJREFUeNqMk79rFEEcxd/M7V2QAzVFEOMFGwNiIGCjEdIEhYODmEawsFf8G4QQSCPYyqUWCdhY2qSQECSpInvFJYT8Ki6dZO8Sb2P29pfvu+4sm+UKv/AYZna/b95ndla9WFyEUmoewG0Mr+9hGB5EYYhypZIseO0fCHa3sP/LhxVFkazd+by0tOIFAQac+3w5imPYto1Pa2tv+VxR+8bRuv8EevIRxn5uQoszpWI2RjSIBgMMLi/hui76/T6+Li+v8Pkz9k0Wo409pFHAJooUCiWqYlk46nTQ2ttD+/gY75pNPKjVmmfd7gf2vKbu5U0sMWBpzWatNcAkv7n789lZ1GdmMqQ3cbxApIUikg58H5S0JgkSE/L/L1JmoNJmMZEDzCNdK5cxwtFxHHxcXcXTqalm27Zf7rRaRKBBhkAhxcgjiYlUo16HfKlqtYpv29u95Az81EClCFLyaQ0SCib/dtNJ6qsGfDmJnRqoXIKiyVUDz8sSSGy5VnI3ikh5k1KplBnog/V19BxnRCZmV15dGCSdO1wziphcS3rrT7d71zk5Ob8+Pf3eMN4aH3/8qtGYM0hp7iyJbO0bBOrMPTz8kl6OpGoTEzEncwapaCLrRNfu6Wli0Etl6mbfdb0MiYrlXsjZyAUTE0qwOxsbo9aQ3/dGEWlYRRcX5xxG/wowAC8cIjzfyA4lAAAAAElFTkSuQmCC');\n\t    };\n\t    SvgFactory.prototype.createPasteIcon = function () {\n\t        return SvgFactory.getFromCacheOrCreate('PasteIcon', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAadJREFUeNpinGLPAAaMjAxwcJ9Tk+0Bt7YPkCkKFXqt8PXqFsXv13/B1Pz/D6FZENoYZgKxMYgh9OI6i567q5hFUp4kiH9i3qTnT3auqWPgZ/gDVXsWiNPBFk+2hxtwxi0syfjy5csM0vFzGTg42Bj4+XnAEh8/fmH48eMXw9OFyQy6uroMu1bNAxlgAnbB338IJ6hlzWU4uXgJw6FDO4Ga+Rl4eXkZWFlZGb58/crw6eNHBjG7Iga1yAiG7SvmwfWw/P2LMADkraiYaIb79+4xYAOKSkpgNch6UFzwFxgy//79Y5BTUMBqwF+g3H8mJgZkPSgu+Ac04M+/fwz4AAswulBc8Ocfqg1/kGWxAEagAch6WP78RfUCIQOYmJkZ/qC44A+qAb8JeIEZZMkfXC4gwgsQNUgG/CbRC2BXIhvw8AsDgzQnkgEEvACxBMJ++h0YJmufMTA8ABry8xckGkFOxIdBakBqQXpAekGZiXPTSwbeUAEgB5hsObm58acDoJp3nxkYNn1gEANyP4MNAGKxh18ZbsXxsjMQA97/Z7gF0gPEfwACDAB/y9xB1I3/FQAAAABJRU5ErkJggg==');\n\t    };\n\t    SvgFactory.prototype.createMenuIcon = function () {\n\t        return SvgFactory.getFromCacheOrCreate('MenuIcon', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QjM3MUVBMzlERkJEMTFFNUEwMjFFNDJDMDlCMUY3OTciIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QjM3MUVBM0FERkJEMTFFNUEwMjFFNDJDMDlCMUY3OTciPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpCMzcxRUEzN0RGQkQxMUU1QTAyMUU0MkMwOUIxRjc5NyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpCMzcxRUEzOERGQkQxMUU1QTAyMUU0MkMwOUIxRjc5NyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pux7nZcAAAGtSURBVHjalFM9a8JQFL0veYkfYJUQEYuIIF07uToVpGuHOgid3dJN+i+K4C6CXQqFjplcCoKbXZ0EqRUFP/CTxCS9NzTdNOmBx32P3Nx3zj33sXq9/tRqtbRYLCaLomhBANi2La5WK7NSqTRYNpt1LMsCLACO47iLMXY2CoIAm80GZFkGoVQqfWy3WzBNE6gQVveNhmHAbreDYrHYZaPRKKTr+i0ykTDBPnUzgfYEvFkYDAZWoVDQWb/fB9QD6XQajscjBCkQDodhOBzCcrkEVq1WXfoEL9EPlEdSZrMZ8Pl8frVYLO7QgRB+sPx+/GUk4qUGNvOdYSO+JpPJJdHyc8ADnUluIpH45vv9XiFbiFIQC71IjuBe5ZlM5gYlPHLOL7C4AcEgofXbXC7X4PF4vKuqahf+AWJxOBwgEokA6/V67kFRFFcGLU/SqShJkusATSNbr9fQ6XSuU6mUQP3BBIaJZyM6BuPx2Mnn85+sVqu9ttvt+2QyGXgOqInT6RTK5fIbwwl0iFI0Gv2btCA9QPdcOVzTtOdms/mAnnKkaAexES0UcG/hc375EWAA94tOP0vEOEcAAAAASUVORK5CYII=');\n\t    };\n\t    SvgFactory.prototype.createCheckboxCheckedIcon = function () {\n\t        return SvgFactory.getFromCacheOrCreate('CheckboxCheckedIcon', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpFQ0VGQkU3ODM4MTFFNjExQjlCQzhERUVDNkNGMzFDMyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpBRkJCRDU1MTEyM0ExMUU2ODE4MUUyOTNBNTRGQkIxNyIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpBRkJCRDU1MDEyM0ExMUU2ODE4MUUyOTNBNTRGQkIxNyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjIzMkM4M0M1M0MxMUU2MTFCOUJDOERFRUM2Q0YzMUMzIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkVDRUZCRTc4MzgxMUU2MTFCOUJDOERFRUM2Q0YzMUMzIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+riMaEQAAAL5JREFUeNqUks0JhDAQhSd7tgtLMDUIyTXF2IdNWIE3c0ruYg9LtgcPzvpEF8SfHR8MGR75hpcwRERmrjQXCyutDKUQAkuFu2AUpsyiJ1JK0UtycRgGMsbsPBFYVRVZaw/+7Zu895znOY/j+PPWT7oGp2lirTU3TbPz/4IAAGLALeic47Ztlx7RELHrusPAAwgoy7LlrOuay7I8TXIadYOLouC+7+XgBiP2lTbw0crFGAF9ANq1kS75G8xXgAEAiqu9OeWZ/voAAAAASUVORK5CYII=');\n\t    };\n\t    SvgFactory.prototype.createCheckboxCheckedReadOnlyIcon = function () {\n\t        return SvgFactory.getFromCacheOrCreate('CheckboxCheckedReadOnlyIcon', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NTZENDVDNkY0NDVFMTFFNkI1MjZCRkJDQ0FEMUEyNDMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NTZENDVDNzA0NDVFMTFFNkI1MjZCRkJDQ0FEMUEyNDMiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo1NkQ0NUM2RDQ0NUUxMUU2QjUyNkJGQkNDQUQxQTI0MyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo1NkQ0NUM2RTQ0NUUxMUU2QjUyNkJGQkNDQUQxQTI0MyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PiE1TFsAAAGLSURBVHjadJI9a8JQFIbfSFBBakDaDg5O0nay4OSPsEFoCq4JODhUShd3F9emFreKqJOlS6Xg4OB/cIkZijjXwRa/uthzLokESS683I+cJ+fec15pv9/DHfP5/JSmR1KedOEcW6QP0nMqlfp2YyUXJOiWpleSAv/xQzIIfudNyAO9+UHr9Rrtdhuz2SzOMU4sQrQ4o7nF2f3SDIdD1Ot19Ho9ODEtYs454z0p7gdNp1OYpontdot0Ou0ec+wDgyrvlsslxuPxAdpsNmg0GnxFVCoVaJrm/WeewSte9ft9lMtljEYj8YWvNhgMkMvloOs6ZFn2gpeHnaIoohDNZhO73Q7dbhfRaBTVahWJROL4FX+y06frQqGAyWSCTqcDy7KwWq1Qq9WQzWb9nv8VcpqLcDgsrprJZASkqiqKxWJAS/HJ4IvTXCSTSRiGISpYKpUQiUSCjPAknOMxgLRYLGDbtsgci8WOIbbZHbvHaznNMcJJwPV+SbprOSnA5Ddccq4eyeY3kUyvyf8FGAAA/p3KIKgjXwAAAABJRU5ErkJggg==');\n\t    };\n\t    SvgFactory.prototype.createCheckboxUncheckedIcon = function () {\n\t        return SvgFactory.getFromCacheOrCreate('CheckboxUncheckedIcon', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpFQ0VGQkU3ODM4MTFFNjExQjlCQzhERUVDNkNGMzFDMyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo2MkU1Rjk1NDExNDExMUU2ODhEQkMyRTJGOUNGODYyQyIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo2MkU1Rjk1MzExNDExMUU2ODhEQkMyRTJGOUNGODYyQyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjI1MkM4M0M1M0MxMUU2MTFCOUJDOERFRUM2Q0YzMUMzIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkVDRUZCRTc4MzgxMUU2MTFCOUJDOERFRUM2Q0YzMUMzIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+t+CXswAAAFBJREFUeNrsksENwDAIA023a9YGNqlItkixlAFIn1VOMv5wvACAOxOZWUwsB6Gqswp36QivJNhBRHDhI0f8j9jNrCy4O2twNMobT/7QeQUYAFaKU1yE2OfhAAAAAElFTkSuQmCC');\n\t    };\n\t    SvgFactory.prototype.createCheckboxUncheckedReadOnlyIcon = function () {\n\t        return SvgFactory.getFromCacheOrCreate('CheckboxUncheckedReadOnlyIcon', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NjE4MjE1MTc0NDVFMTFFNjgyNzA5QzQ5MjBBRTM0QTkiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NjE4MjE1MTg0NDVFMTFFNjgyNzA5QzQ5MjBBRTM0QTkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo2MTgyMTUxNTQ0NUUxMUU2ODI3MDlDNDkyMEFFMzRBOSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo2MTgyMTUxNjQ0NUUxMUU2ODI3MDlDNDkyMEFFMzRBOSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PoIZc5kAAADFSURBVHjaYvz//z8DDDx69EgESBUBsQ8Qq0GFbwDxJiCeJCcn9wamlhGmEagpGEjNBWJ+BuzgExAnATWvhWuEaloN4jPgByBbQkGaGR8+fCgK5NwBYj4G4gDIZlUmIJFLgiYGqNoCkEY/BtKBD0ijBhka1ZkYyAO/mKDxRCq4xwSNXFLBVlB0iAEZt0mODmBkvgKlCGjkMhCRAECp5xU4cKDJKAyIP+PR9BmWalDSKloi9wUFOSj0gPgWyE9APBE5kQMEGAD0/UBfnjaiGAAAAABJRU5ErkJggg==');\n\t    };\n\t    SvgFactory.prototype.createCheckboxIndeterminateIcon = function () {\n\t        return SvgFactory.getFromCacheOrCreate('CheckboxIndeterminateIcon', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpFQ0VGQkU3ODM4MTFFNjExQjlCQzhERUVDNkNGMzFDMyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpGMjU4MzhGQjEyM0ExMUU2QjAxM0Q2QjZFQ0IzNzM4NiIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpGMjU4MzhGQTEyM0ExMUU2QjAxM0Q2QjZFQ0IzNzM4NiIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjIzMkM4M0M1M0MxMUU2MTFCOUJDOERFRUM2Q0YzMUMzIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkVDRUZCRTc4MzgxMUU2MTFCOUJDOERFRUM2Q0YzMUMzIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+2Xml2QAAAGBJREFUeNpiYGBg8ATiZ0D8n0j8DKqH4dnhw4f/EwtAakF6GEGmAAEDKYCRkZGBiYFMQH+NLNjcjw2ghwMLIQWDx48Do/H5kSNHiNZw9OhREPUCRHiBNJOQyJ+A9AAEGACqkFldNkPUwwAAAABJRU5ErkJggg==');\n\t    };\n\t    SvgFactory.prototype.createCheckboxIndeterminateReadOnlyIcon = function () {\n\t        return SvgFactory.getFromCacheOrCreate('CheckboxIndeterminateReadOnlyIcon', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6Nzg3RjczNTA0NDVFMTFFNkE4Q0NDN0E3NUI3Qjk5QjIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6Nzg3RjczNTE0NDVFMTFFNkE4Q0NDN0E3NUI3Qjk5QjIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3ODdGNzM0RTQ0NUUxMUU2QThDQ0M3QTc1QjdCOTlCMiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3ODdGNzM0RjQ0NUUxMUU2QThDQ0M3QTc1QjdCOTlCMiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PhD2+R8AAADRSURBVHjaYvz//z8DDDx69EgESBUBsQ8Qq0GFbwDxJiCeJCcn9wamlhGmEagpGEjNBWJ+BuzgExAnATWvhWuEaloN4jPgByBbQkGaGR8+fCgK5NwBYj4G4gDIZlUmIJFLgiYGqNoCkEY/BtKBDwuQ0IDx5OXl8aoGegvGVGdiIA/8YoHGkz6aiYTAPSZo5JIKtoKiQwzIuE1ydAAj8xUoRUAjl4GIBABKPa/AgQNNRmFA/BmPps+wVIOSVtESuS8oyEGhB8S3QH4C4onIiRwgwABzikY1hHfO+QAAAABJRU5ErkJggg==');\n\t    };\n\t    SvgFactory.prototype.createGroupExpandedIcon = function () {\n\t        return SvgFactory.getFromCacheOrCreate('GroupExpandedIcon', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAYAAACprHcmAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NzBBODQ4M0ExMjM4MTFFNkFDNEJDMjUzQUJBQ0I2QjkiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NzBBODQ4M0IxMjM4MTFFNkFDNEJDMjUzQUJBQ0I2QjkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3MEE4NDgzODEyMzgxMUU2QUM0QkMyNTNBQkFDQjZCOSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3MEE4NDgzOTEyMzgxMUU2QUM0QkMyNTNBQkFDQjZCOSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PhKAo60AAADVSURBVHjajFC9DkRgEJzzFhqiligURKcjR+UFJK7wGN7jOq+glXgCvSgUCnyVn47GHsVdcURsss3s7OzOPEzTdB3HeTPGeMMw0DQNOI4Dz/PI8xyWZSGO4y4MwxeSJGnruqarGseRNE1r4fv+YSgIwgErioJwpgrggHmeR7Bt+xZ5GAbCNE2/0zvpv78v6bpOUFX1lvK6roQz92dkWZYJiqLcSmOeZ9qDb6uqusx5WRaSJIlBFEUnTdNuC536vifXdaksSwqCgLIsoyiKdnNs23l+BBgAK/54I/P5bhMAAAAASUVORK5CYII=');\n\t    };\n\t    SvgFactory.prototype.createGroupContractedIcon = function () {\n\t        return SvgFactory.getFromCacheOrCreate('GroupContractedIcon', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAYAAACprHcmAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6N0U2QUVBRDYxMjM4MTFFNjk3NjVBRUM0MUJDRjFCODgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6N0U2QUVBRDcxMjM4MTFFNjk3NjVBRUM0MUJDRjFCODgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3RTZBRUFENDEyMzgxMUU2OTc2NUFFQzQxQkNGMUI4OCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3RTZBRUFENTEyMzgxMUU2OTc2NUFFQzQxQkNGMUI4OCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PhjzsKsAAADSSURBVHjajJAvioVgFMXPuAuLYhYMBsVmU54mNyA4wWW4j2luwSq4ArsYDAZ9X/JP0+KZ58CkgTffD264l3MPnPPh+34cRdGXEEL1PA/TNEFRFKiqirZtEQQByrJ85nn+iaqq5nEc+Y5t2+g4zow0TSlD13XEf66/JElChGEoJV7Xldj3/WfRNI0A/sx9v3Fdl7BtW8r5ui6CkpimSViWJSU+joN38fMwDG+F53nSMAwBXdejuq6fr9K5LAvjOGbf98yyjE3TsCiKO5x4/Ty+BRgA3R6JXc/jqsQAAAAASUVORK5CYII=');\n\t    };\n\t    SvgFactory.prototype.createGroupLoadingIcon = function () {\n\t        return SvgFactory.getFromCacheOrCreate('GroupLoadingIcon', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAYAAACprHcmAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6M0I3QUY0MjAwQTM2MTFFNzkzQzNGQUI2NDhCM0RBRTEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6M0I3QUY0MjEwQTM2MTFFNzkzQzNGQUI2NDhCM0RBRTEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDozQjdBRjQxRTBBMzYxMUU3OTNDM0ZBQjY0OEIzREFFMSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDozQjdBRjQxRjBBMzYxMUU3OTNDM0ZBQjY0OEIzREFFMSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Ps9zjP8AAADESURBVHjadNDJCoFRGMbxj4xlyhBJGSNla+0KLNhKYaXIwsbKXbgDd2PjHtjYYUVS/I+exdfBqV9neN8zvMdxvlsOOzTsgFf9BGONQ2gjofkAM/emBV4YwY87UuhpfW3f0legjBYymo/dSVkUNDaJUY2DqMKjuKnlU8wZJ0R+FHxUfG921VXUQf0VN709rfebkx/uEzp4ooKS3mw2de2rpipmjgAuSGKo9ZVJ8rn+e4kNioijhi1iCDt/Wt4Ug6YdeAswAEquIINwlr6iAAAAAElFTkSuQmCC');\n\t    };\n\t    return SvgFactory;\n\t}());\n\tSvgFactory.imageCache = {};\n\texports.SvgFactory = SvgFactory;\n\t// i couldn't figure out how to not make these blurry\n\t/*function createPlusMinus(plus: boolean) {\n\t    var eSvg = document.createElementNS(SVG_NS, \"svg\");\n\t    var size = \"14\";\n\t    eSvg.setAttribute(\"width\", size);\n\t    eSvg.setAttribute(\"height\", size);\n\n\t    var eRect = document.createElementNS(SVG_NS, \"rect\");\n\t    eRect.setAttribute('x', '1');\n\t    eRect.setAttribute('y', '1');\n\t    eRect.setAttribute('width', '12');\n\t    eRect.setAttribute('height', '12');\n\t    eRect.setAttribute('rx', '2');\n\t    eRect.setAttribute('ry', '2');\n\t    eRect.setAttribute('fill', 'none');\n\t    eRect.setAttribute('stroke', 'black');\n\t    eRect.setAttribute('stroke-width', '1');\n\t    eRect.setAttribute('stroke-linecap', 'butt');\n\t    eSvg.appendChild(eRect);\n\n\t    var eLineAcross = document.createElementNS(SVG_NS, \"line\");\n\t    eLineAcross.setAttribute('x1','2');\n\t    eLineAcross.setAttribute('x2','12');\n\t    eLineAcross.setAttribute('y1','7');\n\t    eLineAcross.setAttribute('y2','7');\n\t    eLineAcross.setAttribute('stroke','black');\n\t    eLineAcross.setAttribute('stroke-width', '1');\n\t    eLineAcross.setAttribute('stroke-linecap', 'butt');\n\t    eSvg.appendChild(eLineAcross);\n\n\t    if (plus) {\n\t        var eLineDown = document.createElementNS(SVG_NS, \"line\");\n\t        eLineDown.setAttribute('x1','7');\n\t        eLineDown.setAttribute('x2','7');\n\t        eLineDown.setAttribute('y1','2');\n\t        eLineDown.setAttribute('y2','12');\n\t        eLineDown.setAttribute('stroke','black');\n\t        eLineDown.setAttribute('stroke-width', '1');\n\t        eLineDown.setAttribute('stroke-linecap', 'butt');\n\t        eSvg.appendChild(eLineDown);\n\t    }\n\n\t    return eSvg;\n\t}*/\n\tfunction createPolygonSvg(points, width) {\n\t    var eSvg = createIconSvg(width);\n\t    var eDescIcon = document.createElementNS(SVG_NS, \"polygon\");\n\t    eDescIcon.setAttribute(\"points\", points);\n\t    eSvg.appendChild(eDescIcon);\n\t    return eSvg;\n\t}\n\t// util function for the above\n\tfunction createIconSvg(width) {\n\t    var eSvg = document.createElementNS(SVG_NS, \"svg\");\n\t    if (width > 0) {\n\t        eSvg.setAttribute(\"width\", width);\n\t        eSvg.setAttribute(\"height\", width);\n\t    }\n\t    else {\n\t        eSvg.setAttribute(\"width\", \"10\");\n\t        eSvg.setAttribute(\"height\", \"10\");\n\t    }\n\t    return eSvg;\n\t}\n\tfunction createCircle(fill) {\n\t    var eSvg = createIconSvg();\n\t    var eCircle = document.createElementNS(SVG_NS, \"circle\");\n\t    eCircle.setAttribute(\"cx\", \"5\");\n\t    eCircle.setAttribute(\"cy\", \"5\");\n\t    eCircle.setAttribute(\"r\", \"5\");\n\t    eCircle.setAttribute(\"stroke\", \"black\");\n\t    eCircle.setAttribute(\"stroke-width\", \"2\");\n\t    if (fill) {\n\t        eCircle.setAttribute(\"fill\", \"black\");\n\t    }\n\t    else {\n\t        eCircle.setAttribute(\"fill\", \"none\");\n\t    }\n\t    eSvg.appendChild(eCircle);\n\t    return eSvg;\n\t}\n\n\n/***/ }),\n/* 59 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar eventService_1 = __webpack_require__(6);\n\tvar utils_1 = __webpack_require__(9);\n\tvar TouchListener = (function () {\n\t    function TouchListener(eElement) {\n\t        var _this = this;\n\t        this.destroyFuncs = [];\n\t        this.touching = false;\n\t        this.eventService = new eventService_1.EventService();\n\t        this.eElement = eElement;\n\t        var startListener = this.onTouchStart.bind(this);\n\t        var moveListener = this.onTouchMove.bind(this);\n\t        var endListener = this.onTouchEnd.bind(this);\n\t        this.eElement.addEventListener('touchstart', startListener);\n\t        this.eElement.addEventListener('touchmove', moveListener);\n\t        this.eElement.addEventListener('touchend', endListener);\n\t        this.destroyFuncs.push(function () {\n\t            _this.eElement.addEventListener('touchstart', startListener);\n\t            _this.eElement.addEventListener('touchmove', moveListener);\n\t            _this.eElement.addEventListener('touchend', endListener);\n\t        });\n\t    }\n\t    TouchListener.prototype.getActiveTouch = function (touchList) {\n\t        for (var i = 0; i < touchList.length; i++) {\n\t            var matches = touchList[i].identifier === this.touchStart.identifier;\n\t            if (matches) {\n\t                return touchList[i];\n\t            }\n\t        }\n\t        return null;\n\t    };\n\t    TouchListener.prototype.addEventListener = function (eventType, listener) {\n\t        this.eventService.addEventListener(eventType, listener);\n\t    };\n\t    TouchListener.prototype.removeEventListener = function (eventType, listener) {\n\t        this.eventService.removeEventListener(eventType, listener);\n\t    };\n\t    TouchListener.prototype.onTouchStart = function (touchEvent) {\n\t        var _this = this;\n\t        // only looking at one touch point at any time\n\t        if (this.touching) {\n\t            return;\n\t        }\n\t        this.touchStart = touchEvent.touches[0];\n\t        this.touching = true;\n\t        this.moved = false;\n\t        var touchStartCopy = this.touchStart;\n\t        setTimeout(function () {\n\t            var touchesMatch = _this.touchStart === touchStartCopy;\n\t            if (_this.touching && touchesMatch && !_this.moved) {\n\t                _this.moved = true;\n\t                _this.eventService.dispatchEvent(TouchListener.EVENT_LONG_TAP, _this.touchStart);\n\t            }\n\t        }, 500);\n\t    };\n\t    TouchListener.prototype.onTouchMove = function (touchEvent) {\n\t        if (!this.touching) {\n\t            return;\n\t        }\n\t        var touch = this.getActiveTouch(touchEvent.touches);\n\t        if (!touch) {\n\t            return;\n\t        }\n\t        var eventIsFarAway = !utils_1.Utils.areEventsNear(touch, this.touchStart, 4);\n\t        if (eventIsFarAway) {\n\t            this.moved = true;\n\t        }\n\t    };\n\t    TouchListener.prototype.onTouchEnd = function (touchEvent) {\n\t        if (!this.touching) {\n\t            return;\n\t        }\n\t        if (!this.moved) {\n\t            this.eventService.dispatchEvent(TouchListener.EVENT_TAP, this.touchStart);\n\t        }\n\t        this.touching = false;\n\t    };\n\t    TouchListener.prototype.destroy = function () {\n\t        this.destroyFuncs.forEach(function (func) { return func(); });\n\t    };\n\t    return TouchListener;\n\t}());\n\t// private mostRecentTouch: Touch;\n\tTouchListener.EVENT_TAP = 'tap';\n\tTouchListener.EVENT_LONG_TAP = 'longTap';\n\texports.TouchListener = TouchListener;\n\n\n/***/ }),\n/* 60 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar component_1 = __webpack_require__(52);\n\tvar column_1 = __webpack_require__(18);\n\tvar utils_1 = __webpack_require__(9);\n\tvar context_1 = __webpack_require__(8);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar sortController_1 = __webpack_require__(61);\n\tvar touchListener_1 = __webpack_require__(59);\n\tvar svgFactory_1 = __webpack_require__(58);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar componentAnnotations_1 = __webpack_require__(53);\n\tvar events_1 = __webpack_require__(12);\n\tvar svgFactory = svgFactory_1.SvgFactory.getInstance();\n\tvar HeaderComp = (function (_super) {\n\t    __extends(HeaderComp, _super);\n\t    function HeaderComp() {\n\t        return _super.call(this, HeaderComp.TEMPLATE) || this;\n\t    }\n\t    HeaderComp.prototype.init = function (params) {\n\t        this.params = params;\n\t        this.setupTap();\n\t        this.setupIcons(params.column);\n\t        this.setupMenu();\n\t        this.setupSort();\n\t        this.setupFilterIcon();\n\t        this.setupText(params.displayName);\n\t        this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_SORT_CHANGED, this.setMultiSortOrder.bind(this));\n\t    };\n\t    HeaderComp.prototype.setupText = function (displayName) {\n\t        this.eText.innerHTML = displayName;\n\t    };\n\t    HeaderComp.prototype.setupIcons = function (column) {\n\t        this.addInIcon('sortAscending', this.eSortAsc, column, svgFactory.createArrowUpSvg);\n\t        this.addInIcon('sortDescending', this.eSortDesc, column, svgFactory.createArrowDownSvg);\n\t        this.addInIcon('sortUnSort', this.eSortNone, column, svgFactory.createArrowUpDownSvg);\n\t        this.addInIcon('menu', this.eMenu, column, svgFactory.createMenuSvg);\n\t        this.addInIcon('filter', this.eFilter, column, svgFactory.createFilterSvg);\n\t    };\n\t    HeaderComp.prototype.addInIcon = function (iconName, eParent, column, defaultIconFactory) {\n\t        var eIcon = utils_1.Utils.createIconNoSpan(iconName, this.gridOptionsWrapper, column, defaultIconFactory);\n\t        eParent.appendChild(eIcon);\n\t    };\n\t    HeaderComp.prototype.setupTap = function () {\n\t        var _this = this;\n\t        if (this.gridOptionsWrapper.isSuppressTouch()) {\n\t            return;\n\t        }\n\t        var touchListener = new touchListener_1.TouchListener(this.getGui());\n\t        if (this.params.enableMenu) {\n\t            var longTapListener = function (touch) {\n\t                _this.gridOptionsWrapper.getApi().showColumnMenuAfterMouseClick(_this.params.column, touch);\n\t            };\n\t            this.addDestroyableEventListener(touchListener, touchListener_1.TouchListener.EVENT_LONG_TAP, longTapListener);\n\t        }\n\t        if (this.params.enableSorting) {\n\t            var tapListener = function () {\n\t                _this.sortController.progressSort(_this.params.column, false);\n\t            };\n\t            this.addDestroyableEventListener(touchListener, touchListener_1.TouchListener.EVENT_TAP, tapListener);\n\t        }\n\t        this.addDestroyFunc(function () { return touchListener.destroy(); });\n\t    };\n\t    HeaderComp.prototype.setupMenu = function () {\n\t        var _this = this;\n\t        // if no menu provided in template, do nothing\n\t        if (!this.eMenu) {\n\t            return;\n\t        }\n\t        if (!this.params.enableMenu) {\n\t            utils_1.Utils.removeFromParent(this.eMenu);\n\t            return;\n\t        }\n\t        this.eMenu.addEventListener('click', function () { return _this.showMenu(_this.eMenu); });\n\t        if (!this.gridOptionsWrapper.isSuppressMenuHide()) {\n\t            this.eMenu.style.opacity = '0';\n\t            this.addGuiEventListener('mouseover', function () {\n\t                _this.eMenu.style.opacity = '1';\n\t            });\n\t            this.addGuiEventListener('mouseout', function () {\n\t                _this.eMenu.style.opacity = '0';\n\t            });\n\t        }\n\t        var style = this.eMenu.style;\n\t        style['transition'] = 'opacity 0.2s, border 0.2s';\n\t        style['-webkit-transition'] = 'opacity 0.2s, border 0.2s';\n\t    };\n\t    HeaderComp.prototype.showMenu = function (eventSource) {\n\t        this.menuFactory.showMenuAfterButtonClick(this.params.column, eventSource);\n\t    };\n\t    HeaderComp.prototype.setupSort = function () {\n\t        var _this = this;\n\t        var enableSorting = this.params.enableSorting;\n\t        if (!enableSorting) {\n\t            utils_1.Utils.removeFromParent(this.eSortAsc);\n\t            utils_1.Utils.removeFromParent(this.eSortDesc);\n\t            utils_1.Utils.removeFromParent(this.eSortNone);\n\t            utils_1.Utils.removeFromParent(this.eSortOrder);\n\t            return;\n\t        }\n\t        // add the event on the header, so when clicked, we do sorting\n\t        if (this.eLabel) {\n\t            this.eLabel.addEventListener('click', function (event) {\n\t                _this.params.progressSort(event.shiftKey);\n\t            });\n\t        }\n\t        this.addDestroyableEventListener(this.params.column, column_1.Column.EVENT_SORT_CHANGED, this.onSortChanged.bind(this));\n\t        this.onSortChanged();\n\t    };\n\t    HeaderComp.prototype.onSortChanged = function () {\n\t        utils_1.Utils.addOrRemoveCssClass(this.getGui(), 'ag-header-cell-sorted-asc', this.params.column.isSortAscending());\n\t        utils_1.Utils.addOrRemoveCssClass(this.getGui(), 'ag-header-cell-sorted-desc', this.params.column.isSortDescending());\n\t        utils_1.Utils.addOrRemoveCssClass(this.getGui(), 'ag-header-cell-sorted-none', this.params.column.isSortNone());\n\t        if (this.eSortAsc) {\n\t            utils_1.Utils.addOrRemoveCssClass(this.eSortAsc, 'ag-hidden', !this.params.column.isSortAscending());\n\t        }\n\t        if (this.eSortDesc) {\n\t            utils_1.Utils.addOrRemoveCssClass(this.eSortDesc, 'ag-hidden', !this.params.column.isSortDescending());\n\t        }\n\t        if (this.eSortNone) {\n\t            var alwaysHideNoSort = !this.params.column.getColDef().unSortIcon && !this.gridOptionsWrapper.isUnSortIcon();\n\t            utils_1.Utils.addOrRemoveCssClass(this.eSortNone, 'ag-hidden', alwaysHideNoSort || !this.params.column.isSortNone());\n\t        }\n\t    };\n\t    // we listen here for global sort events, NOT column sort events, as we want to do this\n\t    // when sorting has been set on all column (if we listened just for our col (where we\n\t    // set the asc / desc icons) then it's possible other cols are yet to get their sorting state.\n\t    HeaderComp.prototype.setMultiSortOrder = function () {\n\t        if (!this.eSortOrder) {\n\t            return;\n\t        }\n\t        var col = this.params.column;\n\t        var allColumnsWithSorting = this.sortController.getColumnsWithSortingOrdered();\n\t        var indexThisCol = allColumnsWithSorting.indexOf(col);\n\t        var moreThanOneColSorting = allColumnsWithSorting.length > 1;\n\t        var showIndex = col.isSorting() && moreThanOneColSorting;\n\t        utils_1.Utils.setVisible(this.eSortOrder, showIndex);\n\t        if (indexThisCol >= 0) {\n\t            this.eSortOrder.innerHTML = (indexThisCol + 1).toString();\n\t        }\n\t        else {\n\t            this.eSortOrder.innerHTML = '';\n\t        }\n\t    };\n\t    HeaderComp.prototype.setupFilterIcon = function () {\n\t        if (!this.eFilter) {\n\t            return;\n\t        }\n\t        this.addDestroyableEventListener(this.params.column, column_1.Column.EVENT_FILTER_CHANGED, this.onFilterChanged.bind(this));\n\t        this.onFilterChanged();\n\t    };\n\t    HeaderComp.prototype.onFilterChanged = function () {\n\t        var filterPresent = this.params.column.isFilterActive();\n\t        utils_1.Utils.addOrRemoveCssClass(this.eFilter, 'ag-hidden', !filterPresent);\n\t    };\n\t    return HeaderComp;\n\t}(component_1.Component));\n\tHeaderComp.TEMPLATE = '<div>' +\n\t    '  <span ref=\"eMenu\" class=\"ag-header-icon ag-header-cell-menu-button\"></span>' +\n\t    '  <div ref=\"eLabel\" class=\"ag-header-cell-label\">' +\n\t    '    <span ref=\"eSortOrder\" class=\"ag-header-icon ag-sort-order\"></span>' +\n\t    '    <span ref=\"eSortAsc\" class=\"ag-header-icon ag-sort-ascending-icon\"></span>' +\n\t    '    <span ref=\"eSortDesc\" class=\"ag-header-icon ag-sort-descending-icon\"></span>' +\n\t    '    <span ref=\"eSortNone\" class=\"ag-header-icon ag-sort-none-icon\"></span>' +\n\t    '    <span ref=\"eFilter\" class=\"ag-header-icon ag-filter-icon\"></span>' +\n\t    '    <span ref=\"eText\" class=\"ag-header-cell-text\"></span>' +\n\t    '  </div>' +\n\t    '</div>';\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], HeaderComp.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('sortController'),\n\t    __metadata(\"design:type\", sortController_1.SortController)\n\t], HeaderComp.prototype, \"sortController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('menuFactory'),\n\t    __metadata(\"design:type\", Object)\n\t], HeaderComp.prototype, \"menuFactory\", void 0);\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], HeaderComp.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.RefSelector('eFilter'),\n\t    __metadata(\"design:type\", HTMLElement)\n\t], HeaderComp.prototype, \"eFilter\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.RefSelector('eSortAsc'),\n\t    __metadata(\"design:type\", HTMLElement)\n\t], HeaderComp.prototype, \"eSortAsc\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.RefSelector('eSortDesc'),\n\t    __metadata(\"design:type\", HTMLElement)\n\t], HeaderComp.prototype, \"eSortDesc\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.RefSelector('eSortNone'),\n\t    __metadata(\"design:type\", HTMLElement)\n\t], HeaderComp.prototype, \"eSortNone\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.RefSelector('eSortOrder'),\n\t    __metadata(\"design:type\", HTMLElement)\n\t], HeaderComp.prototype, \"eSortOrder\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.RefSelector('eMenu'),\n\t    __metadata(\"design:type\", HTMLElement)\n\t], HeaderComp.prototype, \"eMenu\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.RefSelector('eLabel'),\n\t    __metadata(\"design:type\", HTMLElement)\n\t], HeaderComp.prototype, \"eLabel\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.RefSelector('eText'),\n\t    __metadata(\"design:type\", HTMLElement)\n\t], HeaderComp.prototype, \"eText\", void 0);\n\texports.HeaderComp = HeaderComp;\n\n\n/***/ }),\n/* 61 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar column_1 = __webpack_require__(18);\n\tvar context_1 = __webpack_require__(8);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar events_1 = __webpack_require__(12);\n\tvar context_2 = __webpack_require__(8);\n\tvar utils_1 = __webpack_require__(9);\n\tvar SortController = SortController_1 = (function () {\n\t    function SortController() {\n\t    }\n\t    SortController.prototype.progressSort = function (column, multiSort) {\n\t        var nextDirection = this.getNextSortDirection(column);\n\t        this.setSortForColumn(column, nextDirection, multiSort);\n\t    };\n\t    SortController.prototype.setSortForColumn = function (column, sort, multiSort) {\n\t        // auto correct - if sort not legal value, then set it to 'no sort' (which is null)\n\t        if (sort !== column_1.Column.SORT_ASC && sort !== column_1.Column.SORT_DESC) {\n\t            sort = null;\n\t        }\n\t        // update sort on current col\n\t        column.setSort(sort);\n\t        // sortedAt used for knowing order of cols when multi-col sort\n\t        if (column.getSort()) {\n\t            var sortedAt = Number(new Date().valueOf());\n\t            column.setSortedAt(sortedAt);\n\t        }\n\t        else {\n\t            column.setSortedAt(null);\n\t        }\n\t        var doingMultiSort = multiSort && !this.gridOptionsWrapper.isSuppressMultiSort();\n\t        // clear sort on all columns except this one, and update the icons\n\t        if (!doingMultiSort) {\n\t            this.clearSortBarThisColumn(column);\n\t        }\n\t        this.dispatchSortChangedEvents();\n\t    };\n\t    // gets called by API, so if data changes, use can call this, which will end up\n\t    // working out the sort order again of the rows.\n\t    SortController.prototype.onSortChanged = function () {\n\t        this.dispatchSortChangedEvents();\n\t    };\n\t    SortController.prototype.dispatchSortChangedEvents = function () {\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_BEFORE_SORT_CHANGED);\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_SORT_CHANGED);\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_AFTER_SORT_CHANGED);\n\t    };\n\t    SortController.prototype.clearSortBarThisColumn = function (columnToSkip) {\n\t        this.columnController.getPrimaryAndSecondaryAndAutoColumns().forEach(function (columnToClear) {\n\t            // Do not clear if either holding shift, or if column in question was clicked\n\t            if (!(columnToClear === columnToSkip)) {\n\t                columnToClear.setSort(null);\n\t            }\n\t        });\n\t    };\n\t    SortController.prototype.getNextSortDirection = function (column) {\n\t        var sortingOrder;\n\t        if (column.getColDef().sortingOrder) {\n\t            sortingOrder = column.getColDef().sortingOrder;\n\t        }\n\t        else if (this.gridOptionsWrapper.getSortingOrder()) {\n\t            sortingOrder = this.gridOptionsWrapper.getSortingOrder();\n\t        }\n\t        else {\n\t            sortingOrder = SortController_1.DEFAULT_SORTING_ORDER;\n\t        }\n\t        if (!Array.isArray(sortingOrder) || sortingOrder.length <= 0) {\n\t            console.warn('ag-grid: sortingOrder must be an array with at least one element, currently it\\'s ' + sortingOrder);\n\t            return;\n\t        }\n\t        var currentIndex = sortingOrder.indexOf(column.getSort());\n\t        var notInArray = currentIndex < 0;\n\t        var lastItemInArray = currentIndex == sortingOrder.length - 1;\n\t        var result;\n\t        if (notInArray || lastItemInArray) {\n\t            result = sortingOrder[0];\n\t        }\n\t        else {\n\t            result = sortingOrder[currentIndex + 1];\n\t        }\n\t        // verify the sort type exists, as the user could provide the sortOrder, need to make sure it's valid\n\t        if (SortController_1.DEFAULT_SORTING_ORDER.indexOf(result) < 0) {\n\t            console.warn('ag-grid: invalid sort type ' + result);\n\t            return null;\n\t        }\n\t        return result;\n\t    };\n\t    // used by the public api, for saving the sort model\n\t    SortController.prototype.getSortModel = function () {\n\t        var columnsWithSorting = this.getColumnsWithSortingOrdered();\n\t        return utils_1.Utils.map(columnsWithSorting, function (column) {\n\t            return {\n\t                colId: column.getColId(),\n\t                sort: column.getSort()\n\t            };\n\t        });\n\t    };\n\t    SortController.prototype.setSortModel = function (sortModel) {\n\t        if (!this.gridOptionsWrapper.isEnableSorting()) {\n\t            console.warn('ag-grid: You are setting the sort model on a grid that does not have sorting enabled');\n\t            return;\n\t        }\n\t        // first up, clear any previous sort\n\t        var sortModelProvided = sortModel && sortModel.length > 0;\n\t        var allColumnsIncludingAuto = this.columnController.getPrimaryAndSecondaryAndAutoColumns();\n\t        allColumnsIncludingAuto.forEach(function (column) {\n\t            var sortForCol = null;\n\t            var sortedAt = -1;\n\t            if (sortModelProvided && !column.getColDef().suppressSorting) {\n\t                for (var j = 0; j < sortModel.length; j++) {\n\t                    var sortModelEntry = sortModel[j];\n\t                    if (typeof sortModelEntry.colId === 'string'\n\t                        && typeof column.getColId() === 'string'\n\t                        && sortModelEntry.colId === column.getColId()) {\n\t                        sortForCol = sortModelEntry.sort;\n\t                        sortedAt = j;\n\t                    }\n\t                }\n\t            }\n\t            if (sortForCol) {\n\t                column.setSort(sortForCol);\n\t                column.setSortedAt(sortedAt);\n\t            }\n\t            else {\n\t                column.setSort(null);\n\t                column.setSortedAt(null);\n\t            }\n\t        });\n\t        this.dispatchSortChangedEvents();\n\t    };\n\t    SortController.prototype.getColumnsWithSortingOrdered = function () {\n\t        // pull out all the columns that have sorting set\n\t        var allColumnsIncludingAuto = this.columnController.getPrimaryAndSecondaryAndAutoColumns();\n\t        var columnsWithSorting = utils_1.Utils.filter(allColumnsIncludingAuto, function (column) { return !!column.getSort(); });\n\t        // put the columns in order of which one got sorted first\n\t        columnsWithSorting.sort(function (a, b) { return a.sortedAt - b.sortedAt; });\n\t        return columnsWithSorting;\n\t    };\n\t    // used by row controller, when doing the sorting\n\t    SortController.prototype.getSortForRowController = function () {\n\t        var columnsWithSorting = this.getColumnsWithSortingOrdered();\n\t        return utils_1.Utils.map(columnsWithSorting, function (column) {\n\t            var ascending = column.getSort() === column_1.Column.SORT_ASC;\n\t            return {\n\t                inverter: ascending ? 1 : -1,\n\t                column: column\n\t            };\n\t        });\n\t    };\n\t    return SortController;\n\t}());\n\tSortController.DEFAULT_SORTING_ORDER = [column_1.Column.SORT_ASC, column_1.Column.SORT_DESC, null];\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], SortController.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", columnController_1.ColumnController)\n\t], SortController.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], SortController.prototype, \"eventService\", void 0);\n\tSortController = SortController_1 = __decorate([\n\t    context_2.Bean('sortController')\n\t], SortController);\n\texports.SortController = SortController;\n\tvar SortController_1;\n\n\n/***/ }),\n/* 62 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar context_1 = __webpack_require__(8);\n\tvar dateFilter_1 = __webpack_require__(55);\n\tvar componentAnnotations_1 = __webpack_require__(53);\n\tvar utils_1 = __webpack_require__(9);\n\tvar componentProvider_1 = __webpack_require__(56);\n\tvar component_1 = __webpack_require__(52);\n\tvar constants_1 = __webpack_require__(10);\n\tvar InputTextFloatingFilterComp = (function (_super) {\n\t    __extends(InputTextFloatingFilterComp, _super);\n\t    function InputTextFloatingFilterComp() {\n\t        return _super.call(this, \"<div><input  ref=\\\"eColumnFloatingFilter\\\" class=\\\"ag-floating-filter-input\\\"></div>\") || this;\n\t    }\n\t    InputTextFloatingFilterComp.prototype.init = function (params) {\n\t        this.onFloatingFilterChanged = params.onFloatingFilterChanged;\n\t        this.currentParentModel = params.currentParentModel;\n\t        this.addDestroyableEventListener(this.eColumnFloatingFilter, 'input', this.syncUpWithParentFilter.bind(this));\n\t        this.addDestroyableEventListener(this.eColumnFloatingFilter, 'keypress', this.checkApply.bind(this));\n\t    };\n\t    InputTextFloatingFilterComp.prototype.onParentModelChanged = function (parentModel) {\n\t        this.eColumnFloatingFilter.value = this.asFloatingFilterText(parentModel);\n\t    };\n\t    InputTextFloatingFilterComp.prototype.syncUpWithParentFilter = function () {\n\t        this.onFloatingFilterChanged({\n\t            model: this.asParentModel(),\n\t            apply: false\n\t        });\n\t    };\n\t    InputTextFloatingFilterComp.prototype.checkApply = function (e) {\n\t        if (utils_1._.isKeyPressed(e, constants_1.Constants.KEY_ENTER)) {\n\t            this.onFloatingFilterChanged({\n\t                model: this.asParentModel(),\n\t                apply: true\n\t            });\n\t        }\n\t    };\n\t    return InputTextFloatingFilterComp;\n\t}(component_1.Component));\n\t__decorate([\n\t    componentAnnotations_1.RefSelector('eColumnFloatingFilter'),\n\t    __metadata(\"design:type\", HTMLInputElement)\n\t], InputTextFloatingFilterComp.prototype, \"eColumnFloatingFilter\", void 0);\n\texports.InputTextFloatingFilterComp = InputTextFloatingFilterComp;\n\tvar TextFloatingFilterComp = (function (_super) {\n\t    __extends(TextFloatingFilterComp, _super);\n\t    function TextFloatingFilterComp() {\n\t        return _super !== null && _super.apply(this, arguments) || this;\n\t    }\n\t    TextFloatingFilterComp.prototype.asFloatingFilterText = function (parentModel) {\n\t        if (!parentModel)\n\t            return '';\n\t        return parentModel.filter;\n\t    };\n\t    TextFloatingFilterComp.prototype.asParentModel = function () {\n\t        var currentParentModel = this.currentParentModel();\n\t        return {\n\t            type: !currentParentModel ? 'contains' : currentParentModel.type,\n\t            filter: this.eColumnFloatingFilter.value,\n\t            filterType: 'text'\n\t        };\n\t    };\n\t    return TextFloatingFilterComp;\n\t}(InputTextFloatingFilterComp));\n\texports.TextFloatingFilterComp = TextFloatingFilterComp;\n\tvar DateFloatingFilterComp = (function (_super) {\n\t    __extends(DateFloatingFilterComp, _super);\n\t    function DateFloatingFilterComp() {\n\t        return _super !== null && _super.apply(this, arguments) || this;\n\t    }\n\t    DateFloatingFilterComp.prototype.init = function (params) {\n\t        this.onFloatingFilterChanged = params.onFloatingFilterChanged;\n\t        this.currentParentModel = params.currentParentModel;\n\t        var dateComponentParams = {\n\t            onDateChanged: this.onDateChanged.bind(this)\n\t        };\n\t        this.dateComponent = this.componentProvider.newDateComponent(dateComponentParams);\n\t        var body = utils_1._.loadTemplate(\"<div></div>\");\n\t        body.appendChild(this.dateComponent.getGui());\n\t        this.setTemplateFromElement(body);\n\t    };\n\t    DateFloatingFilterComp.prototype.onDateChanged = function () {\n\t        var parentModel = this.currentParentModel();\n\t        var rawDate = this.dateComponent.getDate();\n\t        if (!rawDate || typeof rawDate.getMonth !== 'function') {\n\t            this.onFloatingFilterChanged(null);\n\t            return;\n\t        }\n\t        var date = utils_1._.serializeDateToYyyyMmDd(dateFilter_1.DateFilter.removeTimezone(rawDate), \"-\");\n\t        var type = 'equals';\n\t        var dateTo = null;\n\t        if (parentModel) {\n\t            type = parentModel.type;\n\t            dateTo = parentModel.dateTo;\n\t        }\n\t        this.onFloatingFilterChanged({\n\t            model: {\n\t                type: type,\n\t                dateFrom: date,\n\t                dateTo: dateTo,\n\t                filterType: 'date'\n\t            },\n\t            apply: true\n\t        });\n\t    };\n\t    DateFloatingFilterComp.prototype.onParentModelChanged = function (parentModel) {\n\t        if (!parentModel || !parentModel.dateFrom) {\n\t            this.dateComponent.setDate(null);\n\t            return;\n\t        }\n\t        this.dateComponent.setDate(utils_1._.parseYyyyMmDdToDate(parentModel.dateFrom, '-'));\n\t    };\n\t    return DateFloatingFilterComp;\n\t}(component_1.Component));\n\t__decorate([\n\t    context_1.Autowired('componentProvider'),\n\t    __metadata(\"design:type\", componentProvider_1.ComponentProvider)\n\t], DateFloatingFilterComp.prototype, \"componentProvider\", void 0);\n\texports.DateFloatingFilterComp = DateFloatingFilterComp;\n\tvar NumberFloatingFilterComp = (function (_super) {\n\t    __extends(NumberFloatingFilterComp, _super);\n\t    function NumberFloatingFilterComp() {\n\t        return _super !== null && _super.apply(this, arguments) || this;\n\t    }\n\t    NumberFloatingFilterComp.prototype.asFloatingFilterText = function (parentModel) {\n\t        var rawParentModel = this.currentParentModel();\n\t        if (!parentModel && !rawParentModel)\n\t            return '';\n\t        if (!parentModel && rawParentModel && rawParentModel.type !== 'inRange') {\n\t            this.eColumnFloatingFilter.readOnly = false;\n\t            return '';\n\t        }\n\t        if (rawParentModel && rawParentModel.type === 'inRange') {\n\t            this.eColumnFloatingFilter.readOnly = true;\n\t            var number_1 = this.asNumber(rawParentModel.filter);\n\t            var numberTo = this.asNumber(rawParentModel.filterTo);\n\t            return (number_1 ? number_1 + '' : '') +\n\t                '-' +\n\t                (numberTo ? numberTo + '' : '');\n\t        }\n\t        var number = this.asNumber(parentModel.filter);\n\t        this.eColumnFloatingFilter.readOnly = false;\n\t        return number ? number + '' : '';\n\t    };\n\t    NumberFloatingFilterComp.prototype.asParentModel = function () {\n\t        var currentParentModel = this.currentParentModel();\n\t        var filterValueNumber = this.asNumber(this.eColumnFloatingFilter.value);\n\t        var filterValueText = this.eColumnFloatingFilter.value;\n\t        var modelFilterValue = null;\n\t        if (!filterValueNumber && filterValueText === '') {\n\t            modelFilterValue = null;\n\t        }\n\t        else if (!filterValueNumber) {\n\t            modelFilterValue = currentParentModel.filter;\n\t        }\n\t        else {\n\t            modelFilterValue = filterValueNumber;\n\t        }\n\t        return {\n\t            type: !currentParentModel ? 'equals' : currentParentModel.type,\n\t            filter: modelFilterValue,\n\t            filterTo: !currentParentModel ? null : currentParentModel.filterTo,\n\t            filterType: 'number'\n\t        };\n\t    };\n\t    NumberFloatingFilterComp.prototype.asNumber = function (value) {\n\t        var invalidNumber = !value || (!utils_1._.isNumeric(Number(value)));\n\t        return invalidNumber ? null : Number(value);\n\t    };\n\t    return NumberFloatingFilterComp;\n\t}(InputTextFloatingFilterComp));\n\texports.NumberFloatingFilterComp = NumberFloatingFilterComp;\n\tvar SetFloatingFilterComp = (function (_super) {\n\t    __extends(SetFloatingFilterComp, _super);\n\t    function SetFloatingFilterComp() {\n\t        return _super !== null && _super.apply(this, arguments) || this;\n\t    }\n\t    SetFloatingFilterComp.prototype.init = function (params) {\n\t        _super.prototype.init.call(this, params);\n\t        this.eColumnFloatingFilter.readOnly = true;\n\t    };\n\t    SetFloatingFilterComp.prototype.asFloatingFilterText = function (parentModel) {\n\t        if (!parentModel)\n\t            return '';\n\t        var arrayToDisplay = parentModel.length > 10 ? parentModel.slice(0, 10).concat(['...']) : parentModel;\n\t        return \"(\" + parentModel.length + \") \" + arrayToDisplay.join(\",\");\n\t    };\n\t    SetFloatingFilterComp.prototype.asParentModel = function () {\n\t        return this.eColumnFloatingFilter.value ?\n\t            this.eColumnFloatingFilter.value.split(\",\") :\n\t            [];\n\t    };\n\t    return SetFloatingFilterComp;\n\t}(InputTextFloatingFilterComp));\n\texports.SetFloatingFilterComp = SetFloatingFilterComp;\n\tvar ReadModelAsStringFloatingFilterComp = (function (_super) {\n\t    __extends(ReadModelAsStringFloatingFilterComp, _super);\n\t    function ReadModelAsStringFloatingFilterComp() {\n\t        return _super !== null && _super.apply(this, arguments) || this;\n\t    }\n\t    ReadModelAsStringFloatingFilterComp.prototype.init = function (params) {\n\t        _super.prototype.init.call(this, params);\n\t        this.eColumnFloatingFilter.readOnly = true;\n\t    };\n\t    ReadModelAsStringFloatingFilterComp.prototype.onParentModelChanged = function (parentModel) {\n\t        this.eColumnFloatingFilter.value = this.asFloatingFilterText(this.currentParentModel());\n\t    };\n\t    ReadModelAsStringFloatingFilterComp.prototype.asFloatingFilterText = function (parentModel) {\n\t        return parentModel;\n\t    };\n\t    ReadModelAsStringFloatingFilterComp.prototype.asParentModel = function () {\n\t        return null;\n\t    };\n\t    return ReadModelAsStringFloatingFilterComp;\n\t}(InputTextFloatingFilterComp));\n\texports.ReadModelAsStringFloatingFilterComp = ReadModelAsStringFloatingFilterComp;\n\n\n/***/ }),\n/* 63 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar context_1 = __webpack_require__(8);\n\tvar column_1 = __webpack_require__(18);\n\tvar utils_1 = __webpack_require__(9);\n\tvar setLeftFeature_1 = __webpack_require__(64);\n\tvar component_1 = __webpack_require__(52);\n\tvar componentAnnotations_1 = __webpack_require__(53);\n\tvar BaseFilterWrapperComp = (function (_super) {\n\t    __extends(BaseFilterWrapperComp, _super);\n\t    function BaseFilterWrapperComp() {\n\t        return _super !== null && _super.apply(this, arguments) || this;\n\t    }\n\t    BaseFilterWrapperComp.prototype.init = function (params) {\n\t        this.column = params.column;\n\t        var base = utils_1._.loadTemplate(\"<div class=\\\"ag-header-cell\\\"><div class=\\\"ag-floating-filter-body\\\"></div></div>\");\n\t        this.enrichBody(base);\n\t        this.setTemplateFromElement(base);\n\t        this.setupWidth();\n\t        this.addFeature(this.context, new setLeftFeature_1.SetLeftFeature(this.column, this.getGui()));\n\t    };\n\t    BaseFilterWrapperComp.prototype.setupWidth = function () {\n\t        this.addDestroyableEventListener(this.column, column_1.Column.EVENT_WIDTH_CHANGED, this.onColumnWidthChanged.bind(this));\n\t        this.onColumnWidthChanged();\n\t    };\n\t    BaseFilterWrapperComp.prototype.onColumnWidthChanged = function () {\n\t        this.getGui().style.width = this.column.getActualWidth() + 'px';\n\t    };\n\t    return BaseFilterWrapperComp;\n\t}(component_1.Component));\n\t__decorate([\n\t    context_1.Autowired('context'),\n\t    __metadata(\"design:type\", context_1.Context)\n\t], BaseFilterWrapperComp.prototype, \"context\", void 0);\n\texports.BaseFilterWrapperComp = BaseFilterWrapperComp;\n\tvar FloatingFilterWrapperComp = (function (_super) {\n\t    __extends(FloatingFilterWrapperComp, _super);\n\t    function FloatingFilterWrapperComp() {\n\t        return _super !== null && _super.apply(this, arguments) || this;\n\t    }\n\t    FloatingFilterWrapperComp.prototype.init = function (params) {\n\t        this.floatingFilterComp = params.floatingFilterComp;\n\t        this.suppressFilterButton = params.suppressFilterButton;\n\t        _super.prototype.init.call(this, params);\n\t        if (!this.suppressFilterButton) {\n\t            this.addDestroyableEventListener(this.eButtonShowMainFilter, 'click', this.showParentFilter.bind(this));\n\t        }\n\t    };\n\t    FloatingFilterWrapperComp.prototype.enrichBody = function (body) {\n\t        var floatingFilterBody = body.querySelector('.ag-floating-filter-body');\n\t        if (this.suppressFilterButton) {\n\t            floatingFilterBody.appendChild(this.floatingFilterComp.getGui());\n\t            utils_1._.removeCssClass(floatingFilterBody, 'ag-floating-filter-body');\n\t            utils_1._.addCssClass(floatingFilterBody, 'ag-floating-filter-full-body');\n\t        }\n\t        else {\n\t            floatingFilterBody.appendChild(this.floatingFilterComp.getGui());\n\t            body.appendChild(utils_1._.loadTemplate(\"<div class=\\\"ag-floating-filter-button\\\">\\n                    <button ref=\\\"eButtonShowMainFilter\\\">...</button>            \\n            </div>\"));\n\t        }\n\t    };\n\t    FloatingFilterWrapperComp.prototype.onParentModelChanged = function (parentModel) {\n\t        this.floatingFilterComp.onParentModelChanged(parentModel);\n\t    };\n\t    FloatingFilterWrapperComp.prototype.showParentFilter = function () {\n\t        this.menuFactory.showMenuAfterButtonClick(this.column, this.eButtonShowMainFilter, 'filter');\n\t    };\n\t    return FloatingFilterWrapperComp;\n\t}(BaseFilterWrapperComp));\n\t__decorate([\n\t    componentAnnotations_1.RefSelector('eButtonShowMainFilter'),\n\t    __metadata(\"design:type\", HTMLInputElement)\n\t], FloatingFilterWrapperComp.prototype, \"eButtonShowMainFilter\", void 0);\n\t__decorate([\n\t    context_1.Autowired('menuFactory'),\n\t    __metadata(\"design:type\", Object)\n\t], FloatingFilterWrapperComp.prototype, \"menuFactory\", void 0);\n\texports.FloatingFilterWrapperComp = FloatingFilterWrapperComp;\n\tvar EmptyFloatingFilterWrapperComp = (function (_super) {\n\t    __extends(EmptyFloatingFilterWrapperComp, _super);\n\t    function EmptyFloatingFilterWrapperComp() {\n\t        return _super !== null && _super.apply(this, arguments) || this;\n\t    }\n\t    EmptyFloatingFilterWrapperComp.prototype.enrichBody = function (body) {\n\t    };\n\t    EmptyFloatingFilterWrapperComp.prototype.onParentModelChanged = function (parentModel) {\n\t    };\n\t    return EmptyFloatingFilterWrapperComp;\n\t}(BaseFilterWrapperComp));\n\texports.EmptyFloatingFilterWrapperComp = EmptyFloatingFilterWrapperComp;\n\n\n/***/ }),\n/* 64 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar utils_1 = __webpack_require__(9);\n\tvar column_1 = __webpack_require__(18);\n\tvar beanStub_1 = __webpack_require__(40);\n\tvar context_1 = __webpack_require__(8);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar columnAnimationService_1 = __webpack_require__(65);\n\tvar SetLeftFeature = (function (_super) {\n\t    __extends(SetLeftFeature, _super);\n\t    function SetLeftFeature(columnOrGroup, eCell) {\n\t        var _this = _super.call(this) || this;\n\t        _this.columnOrGroup = columnOrGroup;\n\t        _this.eCell = eCell;\n\t        return _this;\n\t    }\n\t    SetLeftFeature.prototype.init = function () {\n\t        this.addDestroyableEventListener(this.columnOrGroup, column_1.Column.EVENT_LEFT_CHANGED, this.onLeftChanged.bind(this));\n\t        this.setLeftFirstTime();\n\t    };\n\t    SetLeftFeature.prototype.setLeftFirstTime = function () {\n\t        var suppressMoveAnimation = this.gridOptionsWrapper.isSuppressColumnMoveAnimation();\n\t        var oldLeftExists = utils_1.Utils.exists(this.columnOrGroup.getOldLeft());\n\t        var animateColumnMove = this.columnAnimationService.isActive() && oldLeftExists && !suppressMoveAnimation;\n\t        if (animateColumnMove) {\n\t            this.animateInLeft();\n\t        }\n\t        else {\n\t            this.onLeftChanged();\n\t        }\n\t    };\n\t    SetLeftFeature.prototype.animateInLeft = function () {\n\t        var _this = this;\n\t        var left = this.columnOrGroup.getLeft();\n\t        var oldLeft = this.columnOrGroup.getOldLeft();\n\t        this.setLeft(oldLeft);\n\t        // we must keep track of the left we want to set to, as this would otherwise lead to a race\n\t        // condition, if the user changed the left value many times in one VM turn, then we want to make\n\t        // make sure the actualLeft we set in the timeout below (in the next VM turn) is the correct left\n\t        // position. eg if user changes column position twice, then setLeft() below executes twice in next\n\t        // VM turn, but only one (the correct one) should get applied.\n\t        this.actualLeft = left;\n\t        this.columnAnimationService.executeNextVMTurn(function () {\n\t            // test this left value is the latest one to be applied, and if not, do nothing\n\t            if (_this.actualLeft === left) {\n\t                _this.setLeft(left);\n\t            }\n\t        });\n\t    };\n\t    SetLeftFeature.prototype.onLeftChanged = function () {\n\t        this.actualLeft = this.columnOrGroup.getLeft();\n\t        this.setLeft(this.actualLeft);\n\t    };\n\t    SetLeftFeature.prototype.setLeft = function (value) {\n\t        // if the value is null, then that means the column is no longer\n\t        // displayed. there is logic in the rendering to fade these columns\n\t        // out, so we don't try and change their left positions.\n\t        if (utils_1.Utils.exists(value)) {\n\t            this.eCell.style.left = value + 'px';\n\t        }\n\t    };\n\t    return SetLeftFeature;\n\t}(beanStub_1.BeanStub));\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], SetLeftFeature.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnAnimationService'),\n\t    __metadata(\"design:type\", columnAnimationService_1.ColumnAnimationService)\n\t], SetLeftFeature.prototype, \"columnAnimationService\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], SetLeftFeature.prototype, \"init\", null);\n\texports.SetLeftFeature = SetLeftFeature;\n\n\n/***/ }),\n/* 65 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar context_1 = __webpack_require__(8);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar gridPanel_1 = __webpack_require__(27);\n\tvar utils_1 = __webpack_require__(9);\n\tvar ColumnAnimationService = (function () {\n\t    function ColumnAnimationService() {\n\t        this.executeNextFuncs = [];\n\t        this.executeLaterFuncs = [];\n\t        this.active = false;\n\t        this.animationThreadCount = 0;\n\t    }\n\t    ColumnAnimationService.prototype.isActive = function () {\n\t        return this.active;\n\t    };\n\t    ColumnAnimationService.prototype.start = function () {\n\t        if (this.active) {\n\t            return;\n\t        }\n\t        if (this.gridOptionsWrapper.isSuppressColumnMoveAnimation()) {\n\t            return;\n\t        }\n\t        // if doing RTL, we don't animate open / close as due to how the pixels are inverted,\n\t        // the animation moves all the row the the right rather than to the left (ie it's the static\n\t        // columns that actually get their coordinates updated)\n\t        if (this.gridOptionsWrapper.isEnableRtl()) {\n\t            return;\n\t        }\n\t        this.ensureAnimationCssClassPresent();\n\t        this.active = true;\n\t    };\n\t    ColumnAnimationService.prototype.finish = function () {\n\t        if (!this.active) {\n\t            return;\n\t        }\n\t        this.flush();\n\t        this.active = false;\n\t    };\n\t    ColumnAnimationService.prototype.executeNextVMTurn = function (func) {\n\t        if (this.active) {\n\t            this.executeNextFuncs.push(func);\n\t        }\n\t        else {\n\t            func();\n\t        }\n\t    };\n\t    ColumnAnimationService.prototype.executeLaterVMTurn = function (func) {\n\t        if (this.active) {\n\t            this.executeLaterFuncs.push(func);\n\t        }\n\t        else {\n\t            func();\n\t        }\n\t    };\n\t    ColumnAnimationService.prototype.ensureAnimationCssClassPresent = function () {\n\t        var _this = this;\n\t        // up the count, so we can tell if someone else has updated the count\n\t        // by the time the 'wait' func executes\n\t        this.animationThreadCount++;\n\t        var animationThreadCountCopy = this.animationThreadCount;\n\t        utils_1.Utils.addCssClass(this.gridPanel.getRoot(), 'ag-column-moving');\n\t        this.executeLaterFuncs.push(function () {\n\t            // only remove the class if this thread was the last one to update it\n\t            if (_this.animationThreadCount === animationThreadCountCopy) {\n\t                utils_1.Utils.removeCssClass(_this.gridPanel.getRoot(), 'ag-column-moving');\n\t            }\n\t        });\n\t    };\n\t    ColumnAnimationService.prototype.flush = function () {\n\t        var nowFuncs = this.executeNextFuncs;\n\t        this.executeNextFuncs = [];\n\t        var waitFuncs = this.executeLaterFuncs;\n\t        this.executeLaterFuncs = [];\n\t        if (nowFuncs.length === 0 && waitFuncs.length === 0) {\n\t            return;\n\t        }\n\t        setTimeout(function () { return nowFuncs.forEach(function (func) { return func(); }); }, 0);\n\t        setTimeout(function () { return waitFuncs.forEach(function (func) { return func(); }); }, 300);\n\t    };\n\t    return ColumnAnimationService;\n\t}());\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], ColumnAnimationService.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridPanel'),\n\t    __metadata(\"design:type\", gridPanel_1.GridPanel)\n\t], ColumnAnimationService.prototype, \"gridPanel\", void 0);\n\tColumnAnimationService = __decorate([\n\t    context_1.Bean('columnAnimationService')\n\t], ColumnAnimationService);\n\texports.ColumnAnimationService = ColumnAnimationService;\n\n\n/***/ }),\n/* 66 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar component_1 = __webpack_require__(52);\n\tvar context_1 = __webpack_require__(8);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar componentAnnotations_1 = __webpack_require__(53);\n\tvar serverPaginationService_1 = __webpack_require__(67);\n\tvar utils_1 = __webpack_require__(9);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar events_1 = __webpack_require__(12);\n\tvar rowRenderer_1 = __webpack_require__(26);\n\tvar paginationProxy_1 = __webpack_require__(42);\n\tvar PaginationComp = (function (_super) {\n\t    __extends(PaginationComp, _super);\n\t    function PaginationComp() {\n\t        return _super.call(this) || this;\n\t    }\n\t    PaginationComp.prototype.postConstruct = function () {\n\t        this.setTemplate(this.getTemplate());\n\t        this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_PAGINATION_CHANGED, this.onPaginationChanged.bind(this));\n\t        this.addDestroyableEventListener(this.btFirst, 'click', this.onBtFirst.bind(this));\n\t        this.addDestroyableEventListener(this.btLast, 'click', this.onBtLast.bind(this));\n\t        this.addDestroyableEventListener(this.btNext, 'click', this.onBtNext.bind(this));\n\t        this.addDestroyableEventListener(this.btPrevious, 'click', this.onBtPrevious.bind(this));\n\t        if (this.gridOptionsWrapper.isPagination()) {\n\t            this.paginationService = this.paginationProxy;\n\t        }\n\t        else {\n\t            this.paginationService = this.serverPaginationService;\n\t        }\n\t        this.onPaginationChanged();\n\t    };\n\t    PaginationComp.prototype.onPaginationChanged = function () {\n\t        this.enableOrDisableButtons();\n\t        this.updateRowLabels();\n\t        this.setCurrentPageLabel();\n\t        this.setTotalLabels();\n\t    };\n\t    PaginationComp.prototype.setCurrentPageLabel = function () {\n\t        var currentPage = this.paginationService.getCurrentPage();\n\t        this.lbCurrent.innerHTML = utils_1._.formatNumberCommas(currentPage + 1);\n\t    };\n\t    PaginationComp.prototype.getTemplate = function () {\n\t        var localeTextFunc = this.gridOptionsWrapper.getLocaleTextFunc();\n\t        var strPage = localeTextFunc('page', 'Page');\n\t        var strTo = localeTextFunc('to', 'to');\n\t        var strOf = localeTextFunc('of', 'of');\n\t        var strFirst = localeTextFunc('first', 'First');\n\t        var strPrevious = localeTextFunc('previous', 'Previous');\n\t        var strNext = localeTextFunc('next', 'Next');\n\t        var strLast = localeTextFunc('last', 'Last');\n\t        return \"<div class=\\\"ag-paging-panel ag-font-style\\\">\\n                <span ref=\\\"eSummaryPanel\\\" class=\\\"ag-paging-row-summary-panel\\\">\\n                    <span ref=\\\"lbFirstRowOnPage\\\"></span> \" + strTo + \" <span ref=\\\"lbLastRowOnPage\\\"></span> \" + strOf + \" <span ref=\\\"lbRecordCount\\\"></span>\\n                </span>\\n                <span class=\\\"ag-paging-page-summary-panel\\\">\\n                    <button class=\\\"ag-paging-button\\\" ref=\\\"btFirst\\\">\" + strFirst + \"</button>\\n                    <button class=\\\"ag-paging-button\\\" ref=\\\"btPrevious\\\">\" + strPrevious + \"</button>\\n                    \" + strPage + \" <span ref=\\\"lbCurrent\\\"></span> \" + strOf + \" <span ref=\\\"lbTotal\\\"></span>\\n                    <button class=\\\"ag-paging-button\\\" ref=\\\"btNext\\\">\" + strNext + \"</button>\\n                    <button class=\\\"ag-paging-button\\\" ref=\\\"btLast\\\">\" + strLast + \"</button>\\n                </span>\\n            </div>\";\n\t    };\n\t    PaginationComp.prototype.onBtNext = function () {\n\t        this.paginationService.goToNextPage();\n\t    };\n\t    PaginationComp.prototype.onBtPrevious = function () {\n\t        this.paginationService.goToPreviousPage();\n\t    };\n\t    PaginationComp.prototype.onBtFirst = function () {\n\t        this.paginationService.goToFirstPage();\n\t    };\n\t    PaginationComp.prototype.onBtLast = function () {\n\t        this.paginationService.goToLastPage();\n\t    };\n\t    PaginationComp.prototype.enableOrDisableButtons = function () {\n\t        var currentPage = this.paginationService.getCurrentPage();\n\t        var maxRowFound = this.paginationService.isLastPageFound();\n\t        var totalPages = this.paginationService.getTotalPages();\n\t        var disablePreviousAndFirst = currentPage === 0;\n\t        this.btPrevious.disabled = disablePreviousAndFirst;\n\t        this.btFirst.disabled = disablePreviousAndFirst;\n\t        var zeroPagesToDisplay = this.isZeroPagesToDisplay();\n\t        var onLastPage = maxRowFound && currentPage === (totalPages - 1);\n\t        var disableNext = onLastPage || zeroPagesToDisplay;\n\t        this.btNext.disabled = disableNext;\n\t        var disableLast = !maxRowFound || zeroPagesToDisplay || currentPage === (totalPages - 1);\n\t        this.btLast.disabled = disableLast;\n\t    };\n\t    PaginationComp.prototype.updateRowLabels = function () {\n\t        var currentPage = this.paginationService.getCurrentPage();\n\t        var pageSize = this.paginationService.getPageSize();\n\t        var maxRowFound = this.paginationService.isLastPageFound();\n\t        var rowCount = this.paginationService.isLastPageFound() ?\n\t            this.paginationService.getTotalRowCount() : null;\n\t        var startRow;\n\t        var endRow;\n\t        if (this.isZeroPagesToDisplay()) {\n\t            startRow = 0;\n\t            endRow = 0;\n\t        }\n\t        else {\n\t            startRow = (pageSize * currentPage) + 1;\n\t            endRow = startRow + pageSize - 1;\n\t            if (maxRowFound && endRow > rowCount) {\n\t                endRow = rowCount;\n\t            }\n\t        }\n\t        this.lbFirstRowOnPage.innerHTML = utils_1._.formatNumberCommas(startRow);\n\t        this.lbLastRowOnPage.innerHTML = utils_1._.formatNumberCommas(endRow);\n\t    };\n\t    PaginationComp.prototype.isZeroPagesToDisplay = function () {\n\t        var maxRowFound = this.paginationService.isLastPageFound();\n\t        var totalPages = this.paginationService.getTotalPages();\n\t        return maxRowFound && totalPages === 0;\n\t    };\n\t    PaginationComp.prototype.setTotalLabels = function () {\n\t        var lastPageFound = this.paginationService.isLastPageFound();\n\t        var totalPages = this.paginationService.getTotalPages();\n\t        var rowCount = this.paginationService.isLastPageFound() ?\n\t            this.paginationService.getTotalRowCount() : null;\n\t        if (lastPageFound) {\n\t            this.lbTotal.innerHTML = utils_1._.formatNumberCommas(totalPages);\n\t            this.lbRecordCount.innerHTML = utils_1._.formatNumberCommas(rowCount);\n\t        }\n\t        else {\n\t            var moreText = this.gridOptionsWrapper.getLocaleTextFunc()('more', 'more');\n\t            this.lbTotal.innerHTML = moreText;\n\t            this.lbRecordCount.innerHTML = moreText;\n\t        }\n\t    };\n\t    return PaginationComp;\n\t}(component_1.Component));\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], PaginationComp.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], PaginationComp.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('serverPaginationService'),\n\t    __metadata(\"design:type\", serverPaginationService_1.ServerPaginationService)\n\t], PaginationComp.prototype, \"serverPaginationService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('paginationProxy'),\n\t    __metadata(\"design:type\", paginationProxy_1.PaginationProxy)\n\t], PaginationComp.prototype, \"paginationProxy\", void 0);\n\t__decorate([\n\t    context_1.Autowired('rowRenderer'),\n\t    __metadata(\"design:type\", rowRenderer_1.RowRenderer)\n\t], PaginationComp.prototype, \"rowRenderer\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.RefSelector('btFirst'),\n\t    __metadata(\"design:type\", HTMLButtonElement)\n\t], PaginationComp.prototype, \"btFirst\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.RefSelector('btPrevious'),\n\t    __metadata(\"design:type\", HTMLButtonElement)\n\t], PaginationComp.prototype, \"btPrevious\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.RefSelector('btNext'),\n\t    __metadata(\"design:type\", HTMLButtonElement)\n\t], PaginationComp.prototype, \"btNext\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.RefSelector('btLast'),\n\t    __metadata(\"design:type\", HTMLButtonElement)\n\t], PaginationComp.prototype, \"btLast\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.RefSelector('lbRecordCount'),\n\t    __metadata(\"design:type\", Object)\n\t], PaginationComp.prototype, \"lbRecordCount\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.RefSelector('lbFirstRowOnPage'),\n\t    __metadata(\"design:type\", Object)\n\t], PaginationComp.prototype, \"lbFirstRowOnPage\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.RefSelector('lbLastRowOnPage'),\n\t    __metadata(\"design:type\", Object)\n\t], PaginationComp.prototype, \"lbLastRowOnPage\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.RefSelector('eSummaryPanel'),\n\t    __metadata(\"design:type\", Object)\n\t], PaginationComp.prototype, \"eSummaryPanel\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.RefSelector('lbCurrent'),\n\t    __metadata(\"design:type\", Object)\n\t], PaginationComp.prototype, \"lbCurrent\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.RefSelector('lbTotal'),\n\t    __metadata(\"design:type\", Object)\n\t], PaginationComp.prototype, \"lbTotal\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], PaginationComp.prototype, \"postConstruct\", null);\n\texports.PaginationComp = PaginationComp;\n\n\n/***/ }),\n/* 67 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar utils_1 = __webpack_require__(9);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar context_1 = __webpack_require__(8);\n\tvar gridPanel_1 = __webpack_require__(27);\n\tvar selectionController_1 = __webpack_require__(31);\n\tvar sortController_1 = __webpack_require__(61);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar events_1 = __webpack_require__(12);\n\tvar filterManager_1 = __webpack_require__(48);\n\tvar constants_1 = __webpack_require__(10);\n\tvar beanStub_1 = __webpack_require__(40);\n\tvar ServerPaginationService = (function (_super) {\n\t    __extends(ServerPaginationService, _super);\n\t    function ServerPaginationService() {\n\t        var _this = _super !== null && _super.apply(this, arguments) || this;\n\t        _this.callVersion = 0;\n\t        _this.pageSize = 100;\n\t        _this.rowCount = 0;\n\t        _this.lastPageFound = false;\n\t        _this.totalPages = 0;\n\t        _this.currentPage = 0;\n\t        return _this;\n\t    }\n\t    ServerPaginationService.prototype.isLastPageFound = function () {\n\t        return this.lastPageFound;\n\t    };\n\t    ServerPaginationService.prototype.getPageSize = function () {\n\t        return this.pageSize;\n\t    };\n\t    ServerPaginationService.prototype.getCurrentPage = function () {\n\t        return this.currentPage;\n\t    };\n\t    ServerPaginationService.prototype.getTotalPages = function () {\n\t        return this.totalPages;\n\t    };\n\t    ServerPaginationService.prototype.getTotalRowCount = function () {\n\t        return this.rowCount;\n\t    };\n\t    ServerPaginationService.prototype.goToNextPage = function () {\n\t        this.goToPage(this.currentPage + 1);\n\t    };\n\t    ServerPaginationService.prototype.goToPreviousPage = function () {\n\t        this.goToPage(this.currentPage - 1);\n\t    };\n\t    ServerPaginationService.prototype.goToFirstPage = function () {\n\t        this.goToPage(0);\n\t    };\n\t    ServerPaginationService.prototype.goToLastPage = function () {\n\t        if (this.lastPageFound) {\n\t            this.goToPage(this.totalPages - 1);\n\t        }\n\t    };\n\t    ServerPaginationService.prototype.goToPage = function (page) {\n\t        if (page < 0) {\n\t            // min page is zero\n\t            this.currentPage = 0;\n\t        }\n\t        else if (this.lastPageFound && page > this.totalPages) {\n\t            // max page is totalPages-1 IF we know the last page\n\t            this.currentPage = this.totalPages - 1;\n\t        }\n\t        else {\n\t            // otherwise take page as is\n\t            this.currentPage = page;\n\t        }\n\t        this.loadPage();\n\t    };\n\t    ServerPaginationService.prototype.init = function () {\n\t        var _this = this;\n\t        // if we are doing pagination, we are guaranteed that the model type\n\t        // is normal. if it is not, then this paginationController service\n\t        // will never be called.\n\t        if (this.rowModel.getType() === constants_1.Constants.ROW_MODEL_TYPE_NORMAL) {\n\t            this.inMemoryRowModel = this.rowModel;\n\t        }\n\t        this.addDestroyableEventListener(this.gridOptionsWrapper, 'paginationPageSize', function () {\n\t            _this.reset(false);\n\t            _this.setPageSize();\n\t        });\n\t        this.setPageSize();\n\t        var paginationEnabled = this.gridOptionsWrapper.isRowModelServerPagination();\n\t        // if not doing pagination, then quite the setup\n\t        if (!paginationEnabled) {\n\t            return;\n\t        }\n\t        if (this.gridOptionsWrapper.isEnableServerSideFilter()) {\n\t            this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_FILTER_CHANGED, this.reset.bind(this, false));\n\t        }\n\t        if (this.gridOptionsWrapper.isEnableServerSideSorting()) {\n\t            this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_SORT_CHANGED, this.reset.bind(this, false));\n\t        }\n\t        this.setDatasource(this.gridOptionsWrapper.getDatasource());\n\t    };\n\t    ServerPaginationService.prototype.setDatasource = function (datasource) {\n\t        this.datasource = datasource;\n\t        if (datasource) {\n\t            this.checkForDeprecated();\n\t            this.reset(true);\n\t        }\n\t    };\n\t    ServerPaginationService.prototype.checkForDeprecated = function () {\n\t        var ds = this.datasource;\n\t        if (utils_1.Utils.exists(ds.pageSize)) {\n\t            console.error('ag-Grid: since version 5.1.x, pageSize is replaced with grid property infinPageSize');\n\t        }\n\t    };\n\t    ServerPaginationService.prototype.setPageSize = function () {\n\t        // copy pageSize, to guard against it changing the the datasource between calls\n\t        this.pageSize = this.gridOptionsWrapper.getPaginationPageSize();\n\t        if (!(this.pageSize >= 1)) {\n\t            this.pageSize = 100;\n\t        }\n\t    };\n\t    ServerPaginationService.prototype.reset = function (freshDatasource) {\n\t        // important to return here, as the user could be setting filter or sort before\n\t        // data-source is set\n\t        if (utils_1.Utils.missing(this.datasource)) {\n\t            return;\n\t        }\n\t        // if user is providing id's, then this means we can keep the selection between datsource hits,\n\t        // as the rows will keep their unique id's even if, for example, server side sorting or filtering\n\t        // is done. if it's a new datasource, then always clear the selection.\n\t        var userGeneratingRows = utils_1.Utils.exists(this.gridOptionsWrapper.getRowNodeIdFunc());\n\t        var resetSelectionController = freshDatasource || !userGeneratingRows;\n\t        if (resetSelectionController) {\n\t            this.selectionController.reset();\n\t        }\n\t        this.setPageSize();\n\t        // see if we know the total number of pages, or if it's 'to be decided'\n\t        if (typeof this.datasource.rowCount === 'number' && this.datasource.rowCount >= 0) {\n\t            this.rowCount = this.datasource.rowCount;\n\t            this.lastPageFound = true;\n\t            this.calculateTotalPages();\n\t        }\n\t        else {\n\t            this.rowCount = 0;\n\t            this.lastPageFound = false;\n\t            this.totalPages = 0;\n\t        }\n\t        this.resetCurrentPage();\n\t        this.eventService.dispatchEvent(events_1.Events.DEPRECATED_EVENT_PAGINATION_RESET);\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_PAGINATION_CHANGED);\n\t        this.loadPage();\n\t    };\n\t    ServerPaginationService.prototype.resetCurrentPage = function () {\n\t        var userFirstPage = this.gridOptionsWrapper.getPaginationStartPage();\n\t        if (userFirstPage > 0) {\n\t            this.currentPage = userFirstPage;\n\t        }\n\t        else {\n\t            this.currentPage = 0;\n\t        }\n\t    };\n\t    ServerPaginationService.prototype.calculateTotalPages = function () {\n\t        this.totalPages = Math.floor((this.rowCount - 1) / this.pageSize) + 1;\n\t    };\n\t    ServerPaginationService.prototype.pageLoaded = function (rows, lastRowIndex) {\n\t        lastRowIndex = utils_1.Utils.cleanNumber(lastRowIndex);\n\t        var firstId = this.currentPage * this.pageSize;\n\t        this.inMemoryRowModel.setRowData(rows, true, firstId);\n\t        // see if we hit the last row\n\t        if (!this.lastPageFound && lastRowIndex >= 0) {\n\t            this.lastPageFound = true;\n\t            this.rowCount = lastRowIndex;\n\t            this.calculateTotalPages();\n\t            // if overshot pages, go back\n\t            if (this.currentPage > this.totalPages) {\n\t                this.currentPage = this.totalPages - 1;\n\t                this.loadPage();\n\t            }\n\t        }\n\t        this.eventService.dispatchEvent(events_1.Events.DEPRECATED_EVENT_PAGINATION_PAGE_LOADED);\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_PAGINATION_CHANGED);\n\t    };\n\t    ServerPaginationService.prototype.loadPage = function () {\n\t        var _this = this;\n\t        var startRow = this.currentPage * this.pageSize;\n\t        var endRow = (this.currentPage + 1) * this.pageSize;\n\t        this.callVersion++;\n\t        var callVersionCopy = this.callVersion;\n\t        var that = this;\n\t        this.gridPanel.showLoadingOverlay();\n\t        var sortModel;\n\t        if (this.gridOptionsWrapper.isEnableServerSideSorting()) {\n\t            sortModel = this.sortController.getSortModel();\n\t        }\n\t        var filterModel;\n\t        if (this.gridOptionsWrapper.isEnableServerSideFilter()) {\n\t            filterModel = this.filterManager.getFilterModel();\n\t        }\n\t        var params = {\n\t            startRow: startRow,\n\t            endRow: endRow,\n\t            successCallback: successCallback,\n\t            failCallback: failCallback,\n\t            sortModel: sortModel,\n\t            filterModel: filterModel,\n\t            context: this.gridOptionsWrapper.getContext()\n\t        };\n\t        // check if old version of datasource used\n\t        var getRowsParams = utils_1.Utils.getFunctionParameters(this.datasource.getRows);\n\t        if (getRowsParams.length > 1) {\n\t            console.warn('ag-grid: It looks like your paging datasource is of the old type, taking more than one parameter.');\n\t            console.warn('ag-grid: From ag-grid 1.9.0, now the getRows takes one parameter. See the documentation for details.');\n\t        }\n\t        // put in timeout, to force result to be async\n\t        setTimeout(function () {\n\t            _this.datasource.getRows(params);\n\t        }, 0);\n\t        this.eventService.dispatchEvent(events_1.Events.DEPRECATED_EVENT_PAGINATION_PAGE_REQUESTED);\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_PAGINATION_CHANGED);\n\t        function successCallback(rows, lastRowIndex) {\n\t            if (that.isCallDaemon(callVersionCopy)) {\n\t                return;\n\t            }\n\t            that.pageLoaded(rows, lastRowIndex);\n\t        }\n\t        function failCallback() {\n\t            if (that.isCallDaemon(callVersionCopy)) {\n\t                return;\n\t            }\n\t            // set in an empty set of rows, this will at\n\t            // least get rid of the loading panel, and\n\t            // stop blocking things\n\t            that.inMemoryRowModel.setRowData([], true);\n\t        }\n\t    };\n\t    ServerPaginationService.prototype.isCallDaemon = function (versionCopy) {\n\t        return versionCopy !== this.callVersion;\n\t    };\n\t    return ServerPaginationService;\n\t}(beanStub_1.BeanStub));\n\t__decorate([\n\t    context_1.Autowired('filterManager'),\n\t    __metadata(\"design:type\", filterManager_1.FilterManager)\n\t], ServerPaginationService.prototype, \"filterManager\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridPanel'),\n\t    __metadata(\"design:type\", gridPanel_1.GridPanel)\n\t], ServerPaginationService.prototype, \"gridPanel\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], ServerPaginationService.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('selectionController'),\n\t    __metadata(\"design:type\", selectionController_1.SelectionController)\n\t], ServerPaginationService.prototype, \"selectionController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('sortController'),\n\t    __metadata(\"design:type\", sortController_1.SortController)\n\t], ServerPaginationService.prototype, \"sortController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], ServerPaginationService.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('rowModel'),\n\t    __metadata(\"design:type\", Object)\n\t], ServerPaginationService.prototype, \"rowModel\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], ServerPaginationService.prototype, \"init\", null);\n\tServerPaginationService = __decorate([\n\t    context_1.Bean('serverPaginationService')\n\t], ServerPaginationService);\n\texports.ServerPaginationService = ServerPaginationService;\n\n\n/***/ }),\n/* 68 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar context_1 = __webpack_require__(8);\n\tvar utils_1 = __webpack_require__(9);\n\tvar textCellEditor_1 = __webpack_require__(69);\n\tvar selectCellEditor_1 = __webpack_require__(70);\n\tvar popupEditorWrapper_1 = __webpack_require__(71);\n\tvar popupTextCellEditor_1 = __webpack_require__(72);\n\tvar popupSelectCellEditor_1 = __webpack_require__(73);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar largeTextCellEditor_1 = __webpack_require__(74);\n\tvar CellEditorFactory = CellEditorFactory_1 = (function () {\n\t    function CellEditorFactory() {\n\t        this.cellEditorMap = {};\n\t    }\n\t    CellEditorFactory.prototype.init = function () {\n\t        this.cellEditorMap[CellEditorFactory_1.TEXT] = textCellEditor_1.TextCellEditor;\n\t        this.cellEditorMap[CellEditorFactory_1.SELECT] = selectCellEditor_1.SelectCellEditor;\n\t        this.cellEditorMap[CellEditorFactory_1.POPUP_TEXT] = popupTextCellEditor_1.PopupTextCellEditor;\n\t        this.cellEditorMap[CellEditorFactory_1.POPUP_SELECT] = popupSelectCellEditor_1.PopupSelectCellEditor;\n\t        this.cellEditorMap[CellEditorFactory_1.LARGE_TEXT] = largeTextCellEditor_1.LargeTextCellEditor;\n\t    };\n\t    CellEditorFactory.prototype.addCellEditor = function (key, cellEditor) {\n\t        this.cellEditorMap[key] = cellEditor;\n\t    };\n\t    // private registerEditorsFromGridOptions(): void {\n\t    //     var userProvidedCellEditors = this.gridOptionsWrapper.getCellEditors();\n\t    //     _.iterateObject(userProvidedCellEditors, (key: string, cellEditor: {new(): ICellEditor})=> {\n\t    //         this.addCellEditor(key, cellEditor);\n\t    //     });\n\t    // }\n\t    CellEditorFactory.prototype.createCellEditor = function (key, params) {\n\t        var CellEditorClass;\n\t        if (utils_1.Utils.missing(key)) {\n\t            CellEditorClass = this.cellEditorMap[CellEditorFactory_1.TEXT];\n\t        }\n\t        else if (typeof key === 'string') {\n\t            CellEditorClass = this.cellEditorMap[key];\n\t            if (utils_1.Utils.missing(CellEditorClass)) {\n\t                console.warn('ag-Grid: unable to find cellEditor for key ' + key);\n\t                CellEditorClass = this.cellEditorMap[CellEditorFactory_1.TEXT];\n\t            }\n\t        }\n\t        else {\n\t            CellEditorClass = key;\n\t        }\n\t        var cellEditor = new CellEditorClass();\n\t        this.context.wireBean(cellEditor);\n\t        // we have to call init first, otherwise when using the frameworks, the wrapper\n\t        // classes won't be set up\n\t        if (cellEditor.init) {\n\t            cellEditor.init(params);\n\t        }\n\t        if (cellEditor.isPopup && cellEditor.isPopup()) {\n\t            if (this.gridOptionsWrapper.isFullRowEdit()) {\n\t                console.warn('ag-Grid: popup cellEditor does not work with fullRowEdit - you cannot use them both ' +\n\t                    '- either turn off fullRowEdit, or stop using popup editors.');\n\t            }\n\t            cellEditor = new popupEditorWrapper_1.PopupEditorWrapper(cellEditor);\n\t            cellEditor.init(params);\n\t        }\n\t        return cellEditor;\n\t    };\n\t    return CellEditorFactory;\n\t}());\n\tCellEditorFactory.TEXT = 'text';\n\tCellEditorFactory.SELECT = 'select';\n\tCellEditorFactory.POPUP_TEXT = 'popupText';\n\tCellEditorFactory.POPUP_SELECT = 'popupSelect';\n\tCellEditorFactory.LARGE_TEXT = 'largeText';\n\t__decorate([\n\t    context_1.Autowired('context'),\n\t    __metadata(\"design:type\", context_1.Context)\n\t], CellEditorFactory.prototype, \"context\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], CellEditorFactory.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], CellEditorFactory.prototype, \"init\", null);\n\tCellEditorFactory = CellEditorFactory_1 = __decorate([\n\t    context_1.Bean('cellEditorFactory')\n\t], CellEditorFactory);\n\texports.CellEditorFactory = CellEditorFactory;\n\tvar CellEditorFactory_1;\n\n\n/***/ }),\n/* 69 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar constants_1 = __webpack_require__(10);\n\tvar component_1 = __webpack_require__(52);\n\tvar utils_1 = __webpack_require__(9);\n\tvar TextCellEditor = (function (_super) {\n\t    __extends(TextCellEditor, _super);\n\t    function TextCellEditor() {\n\t        return _super.call(this, TextCellEditor.TEMPLATE) || this;\n\t    }\n\t    TextCellEditor.prototype.init = function (params) {\n\t        var eInput = this.getGui();\n\t        var startValue;\n\t        // cellStartedEdit is only false if we are doing fullRow editing\n\t        if (params.cellStartedEdit) {\n\t            this.focusAfterAttached = true;\n\t            var keyPressBackspaceOrDelete = params.keyPress === constants_1.Constants.KEY_BACKSPACE\n\t                || params.keyPress === constants_1.Constants.KEY_DELETE;\n\t            if (keyPressBackspaceOrDelete) {\n\t                startValue = '';\n\t            }\n\t            else if (params.charPress) {\n\t                startValue = params.charPress;\n\t            }\n\t            else {\n\t                startValue = params.value;\n\t                if (params.keyPress !== constants_1.Constants.KEY_F2) {\n\t                    this.highlightAllOnFocus = true;\n\t                }\n\t            }\n\t        }\n\t        else {\n\t            this.focusAfterAttached = false;\n\t            startValue = params.value;\n\t        }\n\t        if (utils_1.Utils.exists(startValue)) {\n\t            eInput.value = startValue;\n\t        }\n\t        this.addDestroyableEventListener(eInput, 'keydown', function (event) {\n\t            var isNavigationKey = event.keyCode === constants_1.Constants.KEY_LEFT || event.keyCode === constants_1.Constants.KEY_RIGHT;\n\t            if (isNavigationKey) {\n\t                event.stopPropagation();\n\t            }\n\t        });\n\t    };\n\t    TextCellEditor.prototype.afterGuiAttached = function () {\n\t        if (!this.focusAfterAttached) {\n\t            return;\n\t        }\n\t        var eInput = this.getGui();\n\t        eInput.focus();\n\t        if (this.highlightAllOnFocus) {\n\t            eInput.select();\n\t        }\n\t        else {\n\t            // when we started editing, we want the carot at the end, not the start.\n\t            // this comes into play in two scenarios: a) when user hits F2 and b)\n\t            // when user hits a printable character, then on IE (and only IE) the carot\n\t            // was placed after the first character, thus 'apply' would end up as 'pplea'\n\t            var length = eInput.value ? eInput.value.length : 0;\n\t            if (length > 0) {\n\t                eInput.setSelectionRange(length, length);\n\t            }\n\t        }\n\t    };\n\t    // gets called when tabbing trough cells and in full row edit mode\n\t    TextCellEditor.prototype.focusIn = function () {\n\t        var eInput = this.getGui();\n\t        eInput.focus();\n\t        eInput.select();\n\t    };\n\t    TextCellEditor.prototype.getValue = function () {\n\t        var eInput = this.getGui();\n\t        return eInput.value;\n\t    };\n\t    return TextCellEditor;\n\t}(component_1.Component));\n\tTextCellEditor.TEMPLATE = '<input class=\"ag-cell-edit-input\" type=\"text\"/>';\n\texports.TextCellEditor = TextCellEditor;\n\n\n/***/ }),\n/* 70 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar component_1 = __webpack_require__(52);\n\tvar utils_1 = __webpack_require__(9);\n\tvar constants_1 = __webpack_require__(10);\n\tvar SelectCellEditor = (function (_super) {\n\t    __extends(SelectCellEditor, _super);\n\t    function SelectCellEditor() {\n\t        var _this = _super.call(this, '<div class=\"ag-cell-edit-input\"><select class=\"ag-cell-edit-input\"/></div>') || this;\n\t        _this.eSelect = _this.getGui().querySelector('select');\n\t        return _this;\n\t    }\n\t    SelectCellEditor.prototype.init = function (params) {\n\t        var _this = this;\n\t        this.focusAfterAttached = params.cellStartedEdit;\n\t        if (utils_1.Utils.missing(params.values)) {\n\t            console.log('ag-Grid: no values found for select cellEditor');\n\t            return;\n\t        }\n\t        params.values.forEach(function (value) {\n\t            var option = document.createElement('option');\n\t            option.value = value;\n\t            option.text = value;\n\t            if (params.value === value) {\n\t                option.selected = true;\n\t            }\n\t            _this.eSelect.appendChild(option);\n\t        });\n\t        this.addDestroyableEventListener(this.eSelect, 'change', function () { return params.stopEditing(); });\n\t        this.addDestroyableEventListener(this.eSelect, 'keydown', function (event) {\n\t            var isNavigationKey = event.keyCode === constants_1.Constants.KEY_UP || event.keyCode === constants_1.Constants.KEY_DOWN;\n\t            if (isNavigationKey) {\n\t                event.stopPropagation();\n\t            }\n\t        });\n\t        this.addDestroyableEventListener(this.eSelect, 'mousedown', function (event) {\n\t            event.stopPropagation();\n\t        });\n\t    };\n\t    SelectCellEditor.prototype.afterGuiAttached = function () {\n\t        if (this.focusAfterAttached) {\n\t            this.eSelect.focus();\n\t        }\n\t    };\n\t    SelectCellEditor.prototype.focusIn = function () {\n\t        this.eSelect.focus();\n\t    };\n\t    SelectCellEditor.prototype.getValue = function () {\n\t        return this.eSelect.value;\n\t    };\n\t    return SelectCellEditor;\n\t}(component_1.Component));\n\texports.SelectCellEditor = SelectCellEditor;\n\n\n/***/ }),\n/* 71 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar component_1 = __webpack_require__(52);\n\tvar PopupEditorWrapper = (function (_super) {\n\t    __extends(PopupEditorWrapper, _super);\n\t    function PopupEditorWrapper(cellEditor) {\n\t        var _this = _super.call(this, '<div class=\"ag-popup-editor\"/>') || this;\n\t        _this.getGuiCalledOnChild = false;\n\t        _this.cellEditor = cellEditor;\n\t        _this.addDestroyFunc(function () { return cellEditor.destroy(); });\n\t        _this.addDestroyableEventListener(\n\t        // this needs to be 'super' and not 'this' as if we call 'this',\n\t        // it ends up called 'getGui()' on the child before 'init' was called,\n\t        // which is not good\n\t        _super.prototype.getGui.call(_this), 'keydown', _this.onKeyDown.bind(_this));\n\t        return _this;\n\t    }\n\t    PopupEditorWrapper.prototype.onKeyDown = function (event) {\n\t        this.params.onKeyDown(event);\n\t    };\n\t    PopupEditorWrapper.prototype.getGui = function () {\n\t        // we call getGui() on child here (rather than in the constructor)\n\t        // as we should wait for 'init' to be called on child first.\n\t        if (!this.getGuiCalledOnChild) {\n\t            this.appendChild(this.cellEditor.getGui());\n\t            this.getGuiCalledOnChild = true;\n\t        }\n\t        return _super.prototype.getGui.call(this);\n\t    };\n\t    PopupEditorWrapper.prototype.init = function (params) {\n\t        this.params = params;\n\t    };\n\t    PopupEditorWrapper.prototype.afterGuiAttached = function () {\n\t        if (this.cellEditor.afterGuiAttached) {\n\t            this.cellEditor.afterGuiAttached();\n\t        }\n\t    };\n\t    PopupEditorWrapper.prototype.getValue = function () {\n\t        return this.cellEditor.getValue();\n\t    };\n\t    PopupEditorWrapper.prototype.isPopup = function () {\n\t        return true;\n\t    };\n\t    PopupEditorWrapper.prototype.isCancelBeforeStart = function () {\n\t        if (this.cellEditor.isCancelBeforeStart) {\n\t            return this.cellEditor.isCancelBeforeStart();\n\t        }\n\t    };\n\t    PopupEditorWrapper.prototype.isCancelAfterEnd = function () {\n\t        if (this.cellEditor.isCancelAfterEnd) {\n\t            return this.cellEditor.isCancelAfterEnd();\n\t        }\n\t    };\n\t    PopupEditorWrapper.prototype.focusIn = function () {\n\t        if (this.cellEditor.focusIn) {\n\t            this.cellEditor.focusIn();\n\t        }\n\t    };\n\t    PopupEditorWrapper.prototype.focusOut = function () {\n\t        if (this.cellEditor.focusOut) {\n\t            this.cellEditor.focusOut();\n\t        }\n\t    };\n\t    return PopupEditorWrapper;\n\t}(component_1.Component));\n\texports.PopupEditorWrapper = PopupEditorWrapper;\n\n\n/***/ }),\n/* 72 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar textCellEditor_1 = __webpack_require__(69);\n\tvar PopupTextCellEditor = (function (_super) {\n\t    __extends(PopupTextCellEditor, _super);\n\t    function PopupTextCellEditor() {\n\t        return _super !== null && _super.apply(this, arguments) || this;\n\t    }\n\t    PopupTextCellEditor.prototype.isPopup = function () {\n\t        return true;\n\t    };\n\t    return PopupTextCellEditor;\n\t}(textCellEditor_1.TextCellEditor));\n\texports.PopupTextCellEditor = PopupTextCellEditor;\n\n\n/***/ }),\n/* 73 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar selectCellEditor_1 = __webpack_require__(70);\n\tvar PopupSelectCellEditor = (function (_super) {\n\t    __extends(PopupSelectCellEditor, _super);\n\t    function PopupSelectCellEditor() {\n\t        return _super !== null && _super.apply(this, arguments) || this;\n\t    }\n\t    PopupSelectCellEditor.prototype.isPopup = function () {\n\t        return true;\n\t    };\n\t    return PopupSelectCellEditor;\n\t}(selectCellEditor_1.SelectCellEditor));\n\texports.PopupSelectCellEditor = PopupSelectCellEditor;\n\n\n/***/ }),\n/* 74 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar component_1 = __webpack_require__(52);\n\tvar constants_1 = __webpack_require__(10);\n\tvar utils_1 = __webpack_require__(9);\n\tvar LargeTextCellEditor = (function (_super) {\n\t    __extends(LargeTextCellEditor, _super);\n\t    function LargeTextCellEditor() {\n\t        return _super.call(this, LargeTextCellEditor.TEMPLATE) || this;\n\t    }\n\t    LargeTextCellEditor.prototype.init = function (params) {\n\t        this.params = params;\n\t        this.focusAfterAttached = params.cellStartedEdit;\n\t        this.textarea = document.createElement(\"textarea\");\n\t        this.textarea.maxLength = params.maxLength ? params.maxLength : \"200\";\n\t        this.textarea.cols = params.cols ? params.cols : \"60\";\n\t        this.textarea.rows = params.rows ? params.rows : \"10\";\n\t        if (utils_1.Utils.exists(params.value)) {\n\t            this.textarea.value = params.value.toString();\n\t        }\n\t        this.getGui().querySelector('.ag-large-textarea').appendChild(this.textarea);\n\t        this.addGuiEventListener('keydown', this.onKeyDown.bind(this));\n\t    };\n\t    LargeTextCellEditor.prototype.onKeyDown = function (event) {\n\t        var key = event.which || event.keyCode;\n\t        if (key == constants_1.Constants.KEY_LEFT ||\n\t            key == constants_1.Constants.KEY_UP ||\n\t            key == constants_1.Constants.KEY_RIGHT ||\n\t            key == constants_1.Constants.KEY_DOWN ||\n\t            (event.shiftKey && key == constants_1.Constants.KEY_ENTER)) {\n\t            event.stopPropagation();\n\t        }\n\t    };\n\t    LargeTextCellEditor.prototype.afterGuiAttached = function () {\n\t        if (this.focusAfterAttached) {\n\t            this.textarea.focus();\n\t        }\n\t    };\n\t    LargeTextCellEditor.prototype.getValue = function () {\n\t        return this.textarea.value;\n\t    };\n\t    LargeTextCellEditor.prototype.isPopup = function () {\n\t        return true;\n\t    };\n\t    return LargeTextCellEditor;\n\t}(component_1.Component));\n\tLargeTextCellEditor.TEMPLATE = \n\t// tab index is needed so we can focus, which is needed for keyboard events\n\t'<div class=\"ag-large-text\" tabindex=\"0\">' +\n\t    '<div class=\"ag-large-textarea\"></div>' +\n\t    '</div>';\n\texports.LargeTextCellEditor = LargeTextCellEditor;\n\n\n/***/ }),\n/* 75 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar context_1 = __webpack_require__(8);\n\tvar utils_1 = __webpack_require__(9);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar expressionService_1 = __webpack_require__(21);\n\tvar animateSlideCellRenderer_1 = __webpack_require__(76);\n\tvar animateShowChangeCellRenderer_1 = __webpack_require__(77);\n\tvar groupCellRenderer_1 = __webpack_require__(78);\n\tvar CellRendererFactory = CellRendererFactory_1 = (function () {\n\t    function CellRendererFactory() {\n\t        this.cellRendererMap = {};\n\t    }\n\t    CellRendererFactory.prototype.init = function () {\n\t        this.cellRendererMap[CellRendererFactory_1.ANIMATE_SLIDE] = animateSlideCellRenderer_1.AnimateSlideCellRenderer;\n\t        this.cellRendererMap[CellRendererFactory_1.ANIMATE_SHOW_CHANGE] = animateShowChangeCellRenderer_1.AnimateShowChangeCellRenderer;\n\t        this.cellRendererMap[CellRendererFactory_1.GROUP] = groupCellRenderer_1.GroupCellRenderer;\n\t        // this.registerRenderersFromGridOptions();\n\t    };\n\t    // private registerRenderersFromGridOptions(): void {\n\t    //     var userProvidedCellRenderers = this.gridOptionsWrapper.getCellRenderers();\n\t    //     _.iterateObject(userProvidedCellRenderers, (key: string, cellRenderer: {new(): ICellRenderer} | ICellRendererFunc)=> {\n\t    //         this.addCellRenderer(key, cellRenderer);\n\t    //     });\n\t    // }\n\t    CellRendererFactory.prototype.addCellRenderer = function (key, cellRenderer) {\n\t        this.cellRendererMap[key] = cellRenderer;\n\t    };\n\t    CellRendererFactory.prototype.getCellRenderer = function (key) {\n\t        var result = this.cellRendererMap[key];\n\t        if (utils_1.Utils.missing(result)) {\n\t            console.warn('ag-Grid: unable to find cellRenderer for key ' + key);\n\t            return null;\n\t        }\n\t        return result;\n\t    };\n\t    return CellRendererFactory;\n\t}());\n\tCellRendererFactory.ANIMATE_SLIDE = 'animateSlide';\n\tCellRendererFactory.ANIMATE_SHOW_CHANGE = 'animateShowChange';\n\tCellRendererFactory.GROUP = 'group';\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], CellRendererFactory.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('expressionService'),\n\t    __metadata(\"design:type\", expressionService_1.ExpressionService)\n\t], CellRendererFactory.prototype, \"expressionService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], CellRendererFactory.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], CellRendererFactory.prototype, \"init\", null);\n\tCellRendererFactory = CellRendererFactory_1 = __decorate([\n\t    context_1.Bean('cellRendererFactory')\n\t], CellRendererFactory);\n\texports.CellRendererFactory = CellRendererFactory;\n\tvar CellRendererFactory_1;\n\n\n/***/ }),\n/* 76 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar utils_1 = __webpack_require__(9);\n\tvar component_1 = __webpack_require__(52);\n\tvar AnimateSlideCellRenderer = (function (_super) {\n\t    __extends(AnimateSlideCellRenderer, _super);\n\t    function AnimateSlideCellRenderer() {\n\t        var _this = _super.call(this, AnimateSlideCellRenderer.TEMPLATE) || this;\n\t        _this.refreshCount = 0;\n\t        _this.eCurrent = _this.queryForHtmlElement('.ag-value-slide-current');\n\t        return _this;\n\t    }\n\t    AnimateSlideCellRenderer.prototype.init = function (params) {\n\t        this.params = params;\n\t        this.refresh(params);\n\t    };\n\t    AnimateSlideCellRenderer.prototype.addSlideAnimation = function () {\n\t        var _this = this;\n\t        this.refreshCount++;\n\t        // below we keep checking this, and stop working on the animation\n\t        // if it no longer matches - this means another animation has started\n\t        // and this one is stale.\n\t        var refreshCountCopy = this.refreshCount;\n\t        // if old animation, remove it\n\t        if (this.ePrevious) {\n\t            this.getGui().removeChild(this.ePrevious);\n\t        }\n\t        this.ePrevious = utils_1.Utils.loadTemplate('<span class=\"ag-value-slide-previous ag-value-slide-out\"></span>');\n\t        this.ePrevious.innerHTML = this.eCurrent.innerHTML;\n\t        this.getGui().insertBefore(this.ePrevious, this.eCurrent);\n\t        // having timeout of 0 allows use to skip to the next css turn,\n\t        // so we know the previous css classes have been applied. so the\n\t        // complex set of setTimeout below creates the animation\n\t        setTimeout(function () {\n\t            if (refreshCountCopy !== _this.refreshCount) {\n\t                return;\n\t            }\n\t            utils_1.Utils.addCssClass(_this.ePrevious, 'ag-value-slide-out-end');\n\t        }, 50);\n\t        setTimeout(function () {\n\t            if (refreshCountCopy !== _this.refreshCount) {\n\t                return;\n\t            }\n\t            _this.getGui().removeChild(_this.ePrevious);\n\t            _this.ePrevious = null;\n\t        }, 3000);\n\t    };\n\t    AnimateSlideCellRenderer.prototype.refresh = function (params) {\n\t        var value = params.value;\n\t        if (utils_1.Utils.missing(value)) {\n\t            value = '';\n\t        }\n\t        if (value === this.lastValue) {\n\t            return;\n\t        }\n\t        this.addSlideAnimation();\n\t        this.lastValue = value;\n\t        if (utils_1.Utils.exists(params.valueFormatted)) {\n\t            this.eCurrent.innerHTML = params.valueFormatted;\n\t        }\n\t        else if (utils_1.Utils.exists(params.value)) {\n\t            this.eCurrent.innerHTML = value;\n\t        }\n\t        else {\n\t            this.eCurrent.innerHTML = '';\n\t        }\n\t    };\n\t    return AnimateSlideCellRenderer;\n\t}(component_1.Component));\n\tAnimateSlideCellRenderer.TEMPLATE = '<span>' +\n\t    '<span class=\"ag-value-slide-current\"></span>' +\n\t    '</span>';\n\texports.AnimateSlideCellRenderer = AnimateSlideCellRenderer;\n\n\n/***/ }),\n/* 77 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar utils_1 = __webpack_require__(9);\n\tvar component_1 = __webpack_require__(52);\n\tvar ARROW_UP = '&#65514;';\n\tvar ARROW_DOWN = '&#65516;';\n\tvar AnimateShowChangeCellRenderer = (function (_super) {\n\t    __extends(AnimateShowChangeCellRenderer, _super);\n\t    function AnimateShowChangeCellRenderer() {\n\t        var _this = _super.call(this, AnimateShowChangeCellRenderer.TEMPLATE) || this;\n\t        _this.refreshCount = 0;\n\t        return _this;\n\t    }\n\t    AnimateShowChangeCellRenderer.prototype.init = function (params) {\n\t        this.params = params;\n\t        this.eValue = this.queryForHtmlElement('.ag-value-change-value');\n\t        this.eDelta = this.queryForHtmlElement('.ag-value-change-delta');\n\t        this.refresh(params);\n\t    };\n\t    AnimateShowChangeCellRenderer.prototype.showDelta = function (params, delta) {\n\t        var absDelta = Math.abs(delta);\n\t        var valueFormatted = params.formatValue(absDelta);\n\t        var valueToUse = utils_1.Utils.exists(valueFormatted) ? valueFormatted : absDelta;\n\t        var deltaUp = (delta >= 0);\n\t        if (deltaUp) {\n\t            this.eDelta.innerHTML = ARROW_UP + valueToUse;\n\t        }\n\t        else {\n\t            // because negative, use ABS to remove sign\n\t            this.eDelta.innerHTML = ARROW_DOWN + valueToUse;\n\t        }\n\t        // class makes it green (in ag-fresh)\n\t        utils_1.Utils.addOrRemoveCssClass(this.eDelta, 'ag-value-change-delta-up', deltaUp);\n\t        // class makes it red (in ag-fresh)\n\t        utils_1.Utils.addOrRemoveCssClass(this.eDelta, 'ag-value-change-delta-down', !deltaUp);\n\t    };\n\t    AnimateShowChangeCellRenderer.prototype.setTimerToRemoveDelta = function () {\n\t        var _this = this;\n\t        // the refreshCount makes sure that if the value updates again while\n\t        // the below timer is waiting, then the below timer will realise it\n\t        // is not the most recent and will not try to remove the delta value.\n\t        this.refreshCount++;\n\t        var refreshCountCopy = this.refreshCount;\n\t        setTimeout(function () {\n\t            if (refreshCountCopy === _this.refreshCount) {\n\t                _this.hideDeltaValue();\n\t            }\n\t        }, 2000);\n\t    };\n\t    AnimateShowChangeCellRenderer.prototype.hideDeltaValue = function () {\n\t        utils_1.Utils.removeCssClass(this.eValue, 'ag-value-change-value-highlight');\n\t        this.eDelta.innerHTML = '';\n\t    };\n\t    AnimateShowChangeCellRenderer.prototype.refresh = function (params) {\n\t        var value = params.value;\n\t        if (value === this.lastValue) {\n\t            return;\n\t        }\n\t        if (utils_1.Utils.exists(params.valueFormatted)) {\n\t            this.eValue.innerHTML = params.valueFormatted;\n\t        }\n\t        else if (utils_1.Utils.exists(params.value)) {\n\t            this.eValue.innerHTML = value;\n\t        }\n\t        else {\n\t            this.eValue.innerHTML = '';\n\t        }\n\t        if (typeof value === 'number' && typeof this.lastValue === 'number') {\n\t            var delta = value - this.lastValue;\n\t            this.showDelta(params, delta);\n\t        }\n\t        // highlight the current value, but only if it's not new, otherwise it\n\t        // would get highlighted first time the value is shown\n\t        if (this.lastValue) {\n\t            utils_1.Utils.addCssClass(this.eValue, 'ag-value-change-value-highlight');\n\t        }\n\t        this.setTimerToRemoveDelta();\n\t        this.lastValue = value;\n\t    };\n\t    return AnimateShowChangeCellRenderer;\n\t}(component_1.Component));\n\tAnimateShowChangeCellRenderer.TEMPLATE = '<span>' +\n\t    '<span class=\"ag-value-change-delta\"></span>' +\n\t    '<span class=\"ag-value-change-value\"></span>' +\n\t    '</span>';\n\texports.AnimateShowChangeCellRenderer = AnimateShowChangeCellRenderer;\n\n\n/***/ }),\n/* 78 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar svgFactory_1 = __webpack_require__(58);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar expressionService_1 = __webpack_require__(21);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar constants_1 = __webpack_require__(10);\n\tvar utils_1 = __webpack_require__(9);\n\tvar events_1 = __webpack_require__(12);\n\tvar context_1 = __webpack_require__(8);\n\tvar component_1 = __webpack_require__(52);\n\tvar rowNode_1 = __webpack_require__(30);\n\tvar cellRendererService_1 = __webpack_require__(79);\n\tvar valueFormatterService_1 = __webpack_require__(80);\n\tvar checkboxSelectionComponent_1 = __webpack_require__(81);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar column_1 = __webpack_require__(18);\n\tvar componentAnnotations_1 = __webpack_require__(53);\n\tvar svgFactory = svgFactory_1.SvgFactory.getInstance();\n\tvar GroupCellRenderer = (function (_super) {\n\t    __extends(GroupCellRenderer, _super);\n\t    function GroupCellRenderer() {\n\t        return _super.call(this, GroupCellRenderer.TEMPLATE) || this;\n\t    }\n\t    GroupCellRenderer.prototype.init = function (params) {\n\t        this.setParams(params);\n\t        var groupKeyMismatch = this.isGroupKeyMismatch();\n\t        var embeddedRowMismatch = this.embeddedRowMismatch();\n\t        if (groupKeyMismatch || embeddedRowMismatch) {\n\t            return;\n\t        }\n\t        this.setupComponents();\n\t    };\n\t    GroupCellRenderer.prototype.setParams = function (params) {\n\t        if (this.gridOptionsWrapper.isGroupHideOpenParents()) {\n\t            var nodeToSwapIn = this.isFirstChildOfFirstChild(params.node, params.colDef.field);\n\t            this.nodeWasSwapped = utils_1.Utils.exists(nodeToSwapIn);\n\t            if (this.nodeWasSwapped) {\n\t                var newParams = {};\n\t                utils_1.Utils.assign(newParams, params);\n\t                newParams.node = nodeToSwapIn;\n\t                this.params = newParams;\n\t            }\n\t            else {\n\t                this.params = params;\n\t            }\n\t        }\n\t        else {\n\t            this.nodeWasSwapped = false;\n\t            this.params = params;\n\t        }\n\t    };\n\t    GroupCellRenderer.prototype.setupComponents = function () {\n\t        this.addExpandAndContract();\n\t        this.addCheckboxIfNeeded();\n\t        this.addValueElement();\n\t        this.addPadding();\n\t    };\n\t    GroupCellRenderer.prototype.isFirstChildOfFirstChild = function (rowNode, groupField) {\n\t        var currentRowNode = rowNode;\n\t        // if we are hiding groups, then if we are the first child, of the first child,\n\t        // all the way up to the column we are interested in, then we show the group cell.\n\t        var isCandidate = true;\n\t        var foundFirstChildPath = false;\n\t        var nodeToSwapIn;\n\t        while (isCandidate && !foundFirstChildPath) {\n\t            var parentRowNode = currentRowNode.parent;\n\t            var firstChild = utils_1.Utils.exists(parentRowNode) && currentRowNode.childIndex === 0;\n\t            if (firstChild) {\n\t                if (parentRowNode.field === groupField) {\n\t                    foundFirstChildPath = true;\n\t                    nodeToSwapIn = parentRowNode;\n\t                }\n\t            }\n\t            else {\n\t                isCandidate = false;\n\t            }\n\t            currentRowNode = parentRowNode;\n\t        }\n\t        return foundFirstChildPath ? nodeToSwapIn : null;\n\t    };\n\t    GroupCellRenderer.prototype.isGroupKeyMismatch = function () {\n\t        // if the user only wants to show details for one group in this column,\n\t        // then the group key here says which column we are interested in.\n\t        var restrictToOneGroup = this.params.restrictToOneGroup;\n\t        var skipCheck = this.nodeWasSwapped || !restrictToOneGroup;\n\t        if (skipCheck) {\n\t            return false;\n\t        }\n\t        var groupField = this.params.colDef.field;\n\t        var rowNode = this.params.node;\n\t        return groupField !== rowNode.field;\n\t    };\n\t    // if we are doing embedded full width rows, we only show the renderer when\n\t    // in the body, or if pinning in the pinned section, or if pinning and RTL,\n\t    // in the right section. otherwise we would have the cell repeated in each section.\n\t    GroupCellRenderer.prototype.embeddedRowMismatch = function () {\n\t        if (this.gridOptionsWrapper.isEmbedFullWidthRows()) {\n\t            var pinnedLeftCell = this.params.pinned === column_1.Column.PINNED_LEFT;\n\t            var pinnedRightCell = this.params.pinned === column_1.Column.PINNED_RIGHT;\n\t            var bodyCell = !pinnedLeftCell && !pinnedRightCell;\n\t            if (this.gridOptionsWrapper.isEnableRtl()) {\n\t                if (this.columnController.isPinningLeft()) {\n\t                    return !pinnedRightCell;\n\t                }\n\t                else {\n\t                    return !bodyCell;\n\t                }\n\t            }\n\t            else {\n\t                if (this.columnController.isPinningLeft()) {\n\t                    return !pinnedLeftCell;\n\t                }\n\t                else {\n\t                    return !bodyCell;\n\t                }\n\t            }\n\t        }\n\t        else {\n\t            return false;\n\t        }\n\t    };\n\t    GroupCellRenderer.prototype.addPadding = function () {\n\t        var params = this.params;\n\t        // only do this if an indent - as this overwrites the padding that\n\t        // the theme set, which will make things look 'not aligned' for the\n\t        // first group level.\n\t        var node = params.node;\n\t        var suppressPadding = params.suppressPadding;\n\t        if (!suppressPadding && (node.footer || node.level > 0)) {\n\t            var paddingFactor;\n\t            if (params.colDef && params.padding >= 0) {\n\t                paddingFactor = params.padding;\n\t            }\n\t            else {\n\t                paddingFactor = 10;\n\t            }\n\t            var paddingPx = node.level * paddingFactor;\n\t            var reducedLeafNode = this.columnController.isPivotMode() && params.node.leafGroup;\n\t            if (node.footer) {\n\t                paddingPx += 15;\n\t            }\n\t            else if (!node.isExpandable() || reducedLeafNode) {\n\t                paddingPx += 10;\n\t            }\n\t            if (this.gridOptionsWrapper.isEnableRtl()) {\n\t                // if doing rtl, padding is on the right\n\t                this.getGui().style.paddingRight = paddingPx + 'px';\n\t            }\n\t            else {\n\t                // otherwise it is on the left\n\t                this.getGui().style.paddingLeft = paddingPx + 'px';\n\t            }\n\t        }\n\t    };\n\t    GroupCellRenderer.prototype.addValueElement = function () {\n\t        var params = this.params;\n\t        var rowNode = this.params.node;\n\t        if (params.innerRenderer) {\n\t            this.createFromInnerRenderer();\n\t        }\n\t        else if (rowNode.footer) {\n\t            this.createFooterCell();\n\t        }\n\t        else if (rowNode.group) {\n\t            this.createGroupCell();\n\t            this.addChildCount();\n\t        }\n\t        else {\n\t            this.createLeafCell();\n\t        }\n\t    };\n\t    GroupCellRenderer.prototype.createFromInnerRenderer = function () {\n\t        var innerComponent = this.cellRendererService.useCellRenderer(this.params.innerRenderer, this.eValue, this.params);\n\t        this.addDestroyFunc(function () {\n\t            if (innerComponent && innerComponent.destroy) {\n\t                innerComponent.destroy();\n\t            }\n\t        });\n\t    };\n\t    GroupCellRenderer.prototype.createFooterCell = function () {\n\t        var footerValue;\n\t        var groupName = this.getGroupName();\n\t        var footerValueGetter = this.params.footerValueGetter;\n\t        if (footerValueGetter) {\n\t            // params is same as we were given, except we set the value as the item to display\n\t            var paramsClone = utils_1.Utils.cloneObject(this.params);\n\t            paramsClone.value = groupName;\n\t            if (typeof footerValueGetter === 'function') {\n\t                footerValue = footerValueGetter(paramsClone);\n\t            }\n\t            else if (typeof footerValueGetter === 'string') {\n\t                footerValue = this.expressionService.evaluate(footerValueGetter, paramsClone);\n\t            }\n\t            else {\n\t                console.warn('ag-Grid: footerValueGetter should be either a function or a string (expression)');\n\t            }\n\t        }\n\t        else {\n\t            footerValue = 'Total ' + groupName;\n\t        }\n\t        this.eValue.innerHTML = footerValue;\n\t    };\n\t    GroupCellRenderer.prototype.createGroupCell = function () {\n\t        var params = this.params;\n\t        // pull out the column that the grouping is on\n\t        var rowGroupColumns = this.params.columnApi.getRowGroupColumns();\n\t        // if we are using in memory grid grouping, then we try to look up the column that\n\t        // we did the grouping on. however if it is not possible (happens when user provides\n\t        // the data already grouped) then we just the current col, ie use cellRenderer of current col\n\t        var columnOfGroupedCol = rowGroupColumns[params.node.rowGroupIndex];\n\t        if (utils_1.Utils.missing(columnOfGroupedCol)) {\n\t            columnOfGroupedCol = params.column;\n\t        }\n\t        var groupName = this.getGroupName();\n\t        var valueFormatted = this.valueFormatterService.formatValue(columnOfGroupedCol, params.node, params.scope, params.rowIndex, groupName);\n\t        var groupedColCellRenderer = columnOfGroupedCol.getCellRenderer();\n\t        // reuse the params but change the value\n\t        if (typeof groupedColCellRenderer === 'function') {\n\t            // reuse the params but change the value\n\t            params.value = groupName;\n\t            params.valueFormatted = valueFormatted;\n\t            var colDefOfGroupedCol = columnOfGroupedCol.getColDef();\n\t            var groupedColCellRendererParams = colDefOfGroupedCol ? colDefOfGroupedCol.cellRendererParams : null;\n\t            // because we are talking about the different column to the original, any user provided params\n\t            // are for the wrong column, so need to copy them in again.\n\t            if (groupedColCellRendererParams) {\n\t                utils_1.Utils.assign(params, groupedColCellRenderer);\n\t            }\n\t            this.cellRendererService.useCellRenderer(colDefOfGroupedCol.cellRenderer, this.eValue, params);\n\t        }\n\t        else {\n\t            var valueToRender = utils_1.Utils.exists(valueFormatted) ? valueFormatted : groupName;\n\t            if (utils_1.Utils.exists(valueToRender) && valueToRender !== '') {\n\t                this.eValue.appendChild(document.createTextNode(valueToRender));\n\t            }\n\t        }\n\t    };\n\t    GroupCellRenderer.prototype.addChildCount = function () {\n\t        // only include the child count if it's included, eg if user doing custom aggregation,\n\t        // then this could be left out, or set to -1, ie no child count\n\t        if (this.params.suppressCount) {\n\t            return;\n\t        }\n\t        this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_AFTER_FILTER_CHANGED, this.updateChildCount.bind(this));\n\t        // filtering changes the child count, so need to cater for it\n\t        this.updateChildCount();\n\t    };\n\t    GroupCellRenderer.prototype.updateChildCount = function () {\n\t        var allChildrenCount = this.params.node.allChildrenCount;\n\t        var text = allChildrenCount >= 0 ? \"(\" + allChildrenCount + \")\" : '';\n\t        this.eChildCount.innerHTML = text;\n\t    };\n\t    GroupCellRenderer.prototype.getGroupName = function () {\n\t        var keyMap = this.params.keyMap;\n\t        var rowNodeKey = this.params.node.key;\n\t        if (keyMap && typeof keyMap === 'object') {\n\t            var valueFromMap = keyMap[rowNodeKey];\n\t            if (valueFromMap) {\n\t                return valueFromMap;\n\t            }\n\t            else {\n\t                return rowNodeKey;\n\t            }\n\t        }\n\t        else {\n\t            return rowNodeKey;\n\t        }\n\t    };\n\t    GroupCellRenderer.prototype.createLeafCell = function () {\n\t        if (utils_1.Utils.exists(this.params.value)) {\n\t            this.eValue.innerHTML = this.params.value;\n\t        }\n\t    };\n\t    GroupCellRenderer.prototype.isUserWantsSelected = function () {\n\t        var paramsCheckbox = this.params.checkbox;\n\t        if (typeof paramsCheckbox === 'function') {\n\t            return paramsCheckbox(this.params);\n\t        }\n\t        else {\n\t            return paramsCheckbox === true;\n\t        }\n\t    };\n\t    GroupCellRenderer.prototype.addCheckboxIfNeeded = function () {\n\t        var rowNode = this.params.node;\n\t        var checkboxNeeded = this.isUserWantsSelected()\n\t            && !rowNode.footer\n\t            && !rowNode.floating\n\t            && !rowNode.flower;\n\t        if (checkboxNeeded) {\n\t            var cbSelectionComponent = new checkboxSelectionComponent_1.CheckboxSelectionComponent();\n\t            this.context.wireBean(cbSelectionComponent);\n\t            cbSelectionComponent.init({ rowNode: rowNode });\n\t            this.eCheckbox.appendChild(cbSelectionComponent.getGui());\n\t            this.addDestroyFunc(function () { return cbSelectionComponent.destroy(); });\n\t        }\n\t    };\n\t    GroupCellRenderer.prototype.addExpandAndContract = function () {\n\t        var params = this.params;\n\t        var eGroupCell = params.eGridCell;\n\t        var eExpandedIcon = utils_1.Utils.createIconNoSpan('groupExpanded', this.gridOptionsWrapper, null, svgFactory.createGroupContractedIcon);\n\t        var eContractedIcon = utils_1.Utils.createIconNoSpan('groupContracted', this.gridOptionsWrapper, null, svgFactory.createGroupExpandedIcon);\n\t        var eLoadingIcon = utils_1.Utils.createIconNoSpan('groupLoading', this.gridOptionsWrapper, null, svgFactory.createGroupLoadingIcon);\n\t        this.eExpanded.appendChild(eExpandedIcon);\n\t        this.eContracted.appendChild(eContractedIcon);\n\t        this.eLoading.appendChild(eLoadingIcon);\n\t        var expandOrContractListener = this.onExpandOrContract.bind(this);\n\t        this.addDestroyableEventListener(this.eExpanded, 'click', expandOrContractListener);\n\t        this.addDestroyableEventListener(this.eContracted, 'click', expandOrContractListener);\n\t        this.addDestroyableEventListener(this.eLoading, 'click', expandOrContractListener);\n\t        // if editing groups, then double click is to start editing\n\t        if (!this.gridOptionsWrapper.isEnableGroupEdit()) {\n\t            this.addDestroyableEventListener(eGroupCell, 'dblclick', expandOrContractListener);\n\t        }\n\t        // expand / contract as the user hits enter\n\t        this.addDestroyableEventListener(eGroupCell, 'keydown', this.onKeyDown.bind(this));\n\t        this.addDestroyableEventListener(params.node, rowNode_1.RowNode.EVENT_EXPANDED_CHANGED, this.showExpandAndContractIcons.bind(this));\n\t        this.addDestroyableEventListener(params.node, rowNode_1.RowNode.EVENT_LOADING_CHANGED, this.showExpandAndContractIcons.bind(this));\n\t        this.showExpandAndContractIcons();\n\t    };\n\t    GroupCellRenderer.prototype.onKeyDown = function (event) {\n\t        if (utils_1.Utils.isKeyPressed(event, constants_1.Constants.KEY_ENTER)) {\n\t            this.onExpandOrContract();\n\t            event.preventDefault();\n\t        }\n\t    };\n\t    GroupCellRenderer.prototype.onExpandOrContract = function () {\n\t        var rowNode = this.params.node;\n\t        rowNode.setExpanded(!rowNode.expanded);\n\t        if (this.gridOptionsWrapper.isGroupIncludeFooter()) {\n\t            this.params.api.refreshRows([rowNode]);\n\t        }\n\t    };\n\t    GroupCellRenderer.prototype.showExpandAndContractIcons = function () {\n\t        var rowNode = this.params.node;\n\t        var reducedLeafNode = this.columnController.isPivotMode() && rowNode.leafGroup;\n\t        var expandable = rowNode.isExpandable() && !rowNode.footer && !reducedLeafNode;\n\t        if (expandable) {\n\t            // if expandable, show one based on expand state\n\t            utils_1.Utils.setVisible(this.eContracted, !rowNode.expanded);\n\t            utils_1.Utils.setVisible(this.eExpanded, rowNode.expanded && !rowNode.loading);\n\t            utils_1.Utils.setVisible(this.eLoading, rowNode.expanded && rowNode.loading);\n\t        }\n\t        else {\n\t            // it not expandable, show neither\n\t            utils_1.Utils.setVisible(this.eExpanded, false);\n\t            utils_1.Utils.setVisible(this.eContracted, false);\n\t            utils_1.Utils.setVisible(this.eLoading, false);\n\t        }\n\t    };\n\t    return GroupCellRenderer;\n\t}(component_1.Component));\n\tGroupCellRenderer.TEMPLATE = '<span>' +\n\t    '<span class=\"ag-group-expanded\" ref=\"eExpanded\"></span>' +\n\t    '<span class=\"ag-group-contracted\" ref=\"eContracted\"></span>' +\n\t    '<span class=\"ag-group-loading\" ref=\"eLoading\"></span>' +\n\t    '<span class=\"ag-group-checkbox\" ref=\"eCheckbox\"></span>' +\n\t    '<span class=\"ag-group-value\" ref=\"eValue\"></span>' +\n\t    '<span class=\"ag-group-child-count\" ref=\"eChildCount\"></span>' +\n\t    '</span>';\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], GroupCellRenderer.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('expressionService'),\n\t    __metadata(\"design:type\", expressionService_1.ExpressionService)\n\t], GroupCellRenderer.prototype, \"expressionService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], GroupCellRenderer.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('cellRendererService'),\n\t    __metadata(\"design:type\", cellRendererService_1.CellRendererService)\n\t], GroupCellRenderer.prototype, \"cellRendererService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('valueFormatterService'),\n\t    __metadata(\"design:type\", valueFormatterService_1.ValueFormatterService)\n\t], GroupCellRenderer.prototype, \"valueFormatterService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('context'),\n\t    __metadata(\"design:type\", context_1.Context)\n\t], GroupCellRenderer.prototype, \"context\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", columnController_1.ColumnController)\n\t], GroupCellRenderer.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.RefSelector('eExpanded'),\n\t    __metadata(\"design:type\", HTMLElement)\n\t], GroupCellRenderer.prototype, \"eExpanded\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.RefSelector('eContracted'),\n\t    __metadata(\"design:type\", HTMLElement)\n\t], GroupCellRenderer.prototype, \"eContracted\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.RefSelector('eLoading'),\n\t    __metadata(\"design:type\", HTMLElement)\n\t], GroupCellRenderer.prototype, \"eLoading\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.RefSelector('eCheckbox'),\n\t    __metadata(\"design:type\", HTMLElement)\n\t], GroupCellRenderer.prototype, \"eCheckbox\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.RefSelector('eValue'),\n\t    __metadata(\"design:type\", HTMLElement)\n\t], GroupCellRenderer.prototype, \"eValue\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.RefSelector('eChildCount'),\n\t    __metadata(\"design:type\", HTMLElement)\n\t], GroupCellRenderer.prototype, \"eChildCount\", void 0);\n\texports.GroupCellRenderer = GroupCellRenderer;\n\n\n/***/ }),\n/* 79 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar utils_1 = __webpack_require__(9);\n\tvar context_1 = __webpack_require__(8);\n\tvar cellRendererFactory_1 = __webpack_require__(75);\n\t/** Class to use a cellRenderer. */\n\tvar CellRendererService = (function () {\n\t    function CellRendererService() {\n\t    }\n\t    /** Uses a cellRenderer, and returns the cellRenderer object if it is a class implementing ICellRenderer.\n\t     * @cellRendererKey: The cellRenderer to use. Can be: a) a class that we call 'new' on b) a function we call\n\t     *                   or c) a string that we use to look up the cellRenderer.\n\t     * @params: The params to pass to the cell renderer if it's a function or a class.\n\t     * @eTarget: The DOM element we will put the results of the html element into *\n\t     * @return: If options a, it returns the created class instance */\n\t    CellRendererService.prototype.useCellRenderer = function (cellRendererKey, eTarget, params) {\n\t        var cellRenderer = this.lookUpCellRenderer(cellRendererKey);\n\t        if (utils_1.Utils.missing(cellRenderer)) {\n\t            // this is a bug in users config, they specified a cellRenderer that doesn't exist,\n\t            // the factory already printed to console, so here we just skip\n\t            return;\n\t        }\n\t        var resultFromRenderer;\n\t        var iCellRendererInstance = null;\n\t        this.checkForDeprecatedItems(cellRenderer);\n\t        // we check if the class has the 'getGui' method to know if it's a component\n\t        var rendererIsAComponent = this.doesImplementICellRenderer(cellRenderer);\n\t        // if it's a component, we create and initialise it\n\t        if (rendererIsAComponent) {\n\t            var CellRendererClass = cellRenderer;\n\t            iCellRendererInstance = new CellRendererClass();\n\t            this.context.wireBean(iCellRendererInstance);\n\t            if (iCellRendererInstance.init) {\n\t                iCellRendererInstance.init(params);\n\t            }\n\t            resultFromRenderer = iCellRendererInstance.getGui();\n\t        }\n\t        else {\n\t            // otherwise it's a function, so we just use it\n\t            var cellRendererFunc = cellRenderer;\n\t            resultFromRenderer = cellRendererFunc(params);\n\t        }\n\t        if (resultFromRenderer === null || resultFromRenderer === '') {\n\t            return;\n\t        }\n\t        if (utils_1.Utils.isNodeOrElement(resultFromRenderer)) {\n\t            // a dom node or element was returned, so add child\n\t            eTarget.appendChild(resultFromRenderer);\n\t        }\n\t        else {\n\t            // otherwise assume it was html, so just insert\n\t            eTarget.innerHTML = resultFromRenderer;\n\t        }\n\t        return iCellRendererInstance;\n\t    };\n\t    CellRendererService.prototype.checkForDeprecatedItems = function (cellRenderer) {\n\t        if (cellRenderer && cellRenderer.renderer) {\n\t            console.warn('ag-grid: colDef.cellRenderer should not be an object, it should be a string, function or class. this ' +\n\t                'changed in v4.1.x, please check the documentation on Cell Rendering, or if you are doing grouping, look at the grouping examples.');\n\t        }\n\t    };\n\t    CellRendererService.prototype.doesImplementICellRenderer = function (cellRenderer) {\n\t        // see if the class has a prototype that defines a getGui method. this is very rough,\n\t        // but javascript doesn't have types, so is the only way!\n\t        return cellRenderer.prototype && 'getGui' in cellRenderer.prototype;\n\t    };\n\t    CellRendererService.prototype.lookUpCellRenderer = function (cellRendererKey) {\n\t        if (typeof cellRendererKey === 'string') {\n\t            return this.cellRendererFactory.getCellRenderer(cellRendererKey);\n\t        }\n\t        else {\n\t            return cellRendererKey;\n\t        }\n\t    };\n\t    return CellRendererService;\n\t}());\n\t__decorate([\n\t    context_1.Autowired('cellRendererFactory'),\n\t    __metadata(\"design:type\", cellRendererFactory_1.CellRendererFactory)\n\t], CellRendererService.prototype, \"cellRendererFactory\", void 0);\n\t__decorate([\n\t    context_1.Autowired('context'),\n\t    __metadata(\"design:type\", context_1.Context)\n\t], CellRendererService.prototype, \"context\", void 0);\n\tCellRendererService = __decorate([\n\t    context_1.Bean('cellRendererService')\n\t], CellRendererService);\n\texports.CellRendererService = CellRendererService;\n\n\n/***/ }),\n/* 80 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar context_1 = __webpack_require__(8);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar ValueFormatterService = (function () {\n\t    function ValueFormatterService() {\n\t    }\n\t    ValueFormatterService.prototype.formatValue = function (column, rowNode, $scope, rowIndex, value) {\n\t        var formatter;\n\t        var colDef = column.getColDef();\n\t        // if floating, give preference to the floating formatter\n\t        if (rowNode.floating) {\n\t            formatter = colDef.floatingCellFormatter ? colDef.floatingCellFormatter : colDef.cellFormatter;\n\t        }\n\t        else {\n\t            formatter = colDef.cellFormatter;\n\t        }\n\t        var result = null;\n\t        if (formatter) {\n\t            var params = {\n\t                value: value,\n\t                node: rowNode,\n\t                column: column,\n\t                $scope: $scope,\n\t                rowIndex: rowIndex,\n\t                api: this.gridOptionsWrapper.getApi(),\n\t                context: this.gridOptionsWrapper.getContext()\n\t            };\n\t            result = formatter(params);\n\t        }\n\t        return result;\n\t    };\n\t    return ValueFormatterService;\n\t}());\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], ValueFormatterService.prototype, \"gridOptionsWrapper\", void 0);\n\tValueFormatterService = __decorate([\n\t    context_1.Bean('valueFormatterService')\n\t], ValueFormatterService);\n\texports.ValueFormatterService = ValueFormatterService;\n\n\n/***/ }),\n/* 81 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar component_1 = __webpack_require__(52);\n\tvar rowNode_1 = __webpack_require__(30);\n\tvar utils_1 = __webpack_require__(9);\n\tvar context_1 = __webpack_require__(8);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar svgFactory_1 = __webpack_require__(58);\n\tvar events_1 = __webpack_require__(12);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar gridApi_1 = __webpack_require__(13);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar svgFactory = svgFactory_1.SvgFactory.getInstance();\n\tvar CheckboxSelectionComponent = (function (_super) {\n\t    __extends(CheckboxSelectionComponent, _super);\n\t    function CheckboxSelectionComponent() {\n\t        return _super.call(this, \"<span class=\\\"ag-selection-checkbox\\\"/>\") || this;\n\t    }\n\t    CheckboxSelectionComponent.prototype.createAndAddIcons = function () {\n\t        this.eCheckedIcon = utils_1.Utils.createIconNoSpan('checkboxChecked', this.gridOptionsWrapper, null, svgFactory.createCheckboxCheckedIcon);\n\t        this.eUncheckedIcon = utils_1.Utils.createIconNoSpan('checkboxUnchecked', this.gridOptionsWrapper, null, svgFactory.createCheckboxUncheckedIcon);\n\t        this.eIndeterminateIcon = utils_1.Utils.createIconNoSpan('checkboxIndeterminate', this.gridOptionsWrapper, null, svgFactory.createCheckboxIndeterminateIcon);\n\t        var eGui = this.getGui();\n\t        eGui.appendChild(this.eCheckedIcon);\n\t        eGui.appendChild(this.eUncheckedIcon);\n\t        eGui.appendChild(this.eIndeterminateIcon);\n\t    };\n\t    CheckboxSelectionComponent.prototype.onSelectionChanged = function () {\n\t        var state = this.rowNode.isSelected();\n\t        utils_1.Utils.setVisible(this.eCheckedIcon, state === true);\n\t        utils_1.Utils.setVisible(this.eUncheckedIcon, state === false);\n\t        utils_1.Utils.setVisible(this.eIndeterminateIcon, typeof state !== 'boolean');\n\t    };\n\t    CheckboxSelectionComponent.prototype.onCheckedClicked = function () {\n\t        var groupSelectsFiltered = this.gridOptionsWrapper.isGroupSelectsFiltered();\n\t        var updatedCount = this.rowNode.setSelectedParams({ newValue: false, groupSelectsFiltered: groupSelectsFiltered });\n\t        return updatedCount;\n\t    };\n\t    CheckboxSelectionComponent.prototype.onUncheckedClicked = function (event) {\n\t        var groupSelectsFiltered = this.gridOptionsWrapper.isGroupSelectsFiltered();\n\t        var updatedCount = this.rowNode.setSelectedParams({ newValue: true, rangeSelect: event.shiftKey, groupSelectsFiltered: groupSelectsFiltered });\n\t        return updatedCount;\n\t    };\n\t    CheckboxSelectionComponent.prototype.onIndeterminateClicked = function (event) {\n\t        var result = this.onUncheckedClicked(event);\n\t        if (result === 0) {\n\t            this.onCheckedClicked();\n\t        }\n\t    };\n\t    CheckboxSelectionComponent.prototype.init = function (params) {\n\t        this.createAndAddIcons();\n\t        this.rowNode = params.rowNode;\n\t        this.column = params.column;\n\t        this.visibleFunc = params.visibleFunc;\n\t        this.onSelectionChanged();\n\t        // we don't want the row clicked event to fire when selecting the checkbox, otherwise the row\n\t        // would possibly get selected twice\n\t        this.addGuiEventListener('click', function (event) { return event.stopPropagation(); });\n\t        // likewise we don't want double click on this icon to open a group\n\t        this.addGuiEventListener('dblclick', function (event) { return event.stopPropagation(); });\n\t        this.addDestroyableEventListener(this.eCheckedIcon, 'click', this.onCheckedClicked.bind(this));\n\t        this.addDestroyableEventListener(this.eUncheckedIcon, 'click', this.onUncheckedClicked.bind(this));\n\t        this.addDestroyableEventListener(this.eIndeterminateIcon, 'click', this.onIndeterminateClicked.bind(this));\n\t        this.addDestroyableEventListener(this.rowNode, rowNode_1.RowNode.EVENT_ROW_SELECTED, this.onSelectionChanged.bind(this));\n\t        if (this.visibleFunc) {\n\t            this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_DISPLAYED_COLUMNS_CHANGED, this.showOrHideSelect.bind(this));\n\t            this.showOrHideSelect();\n\t        }\n\t    };\n\t    CheckboxSelectionComponent.prototype.showOrHideSelect = function () {\n\t        var params = this.createParams();\n\t        var visible = this.visibleFunc(params);\n\t        this.setVisible(visible);\n\t    };\n\t    CheckboxSelectionComponent.prototype.createParams = function () {\n\t        var params = {\n\t            node: this.rowNode,\n\t            data: this.rowNode.data,\n\t            column: this.column,\n\t            colDef: this.column.getColDef(),\n\t            context: this.gridOptionsWrapper.getContext(),\n\t            api: this.gridApi,\n\t            columnApi: this.columnApi\n\t        };\n\t        return params;\n\t    };\n\t    return CheckboxSelectionComponent;\n\t}(component_1.Component));\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], CheckboxSelectionComponent.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], CheckboxSelectionComponent.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridApi'),\n\t    __metadata(\"design:type\", gridApi_1.GridApi)\n\t], CheckboxSelectionComponent.prototype, \"gridApi\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnApi'),\n\t    __metadata(\"design:type\", columnController_1.ColumnApi)\n\t], CheckboxSelectionComponent.prototype, \"columnApi\", void 0);\n\texports.CheckboxSelectionComponent = CheckboxSelectionComponent;\n\n\n/***/ }),\n/* 82 */\n/***/ (function(module, exports) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar MethodNotImplementedException = (function () {\n\t    function MethodNotImplementedException() {\n\t    }\n\t    return MethodNotImplementedException;\n\t}());\n\texports.MethodNotImplementedException = MethodNotImplementedException;\n\n\n/***/ }),\n/* 83 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar context_1 = __webpack_require__(8);\n\tvar expressionService_1 = __webpack_require__(21);\n\tvar StylingService = (function () {\n\t    function StylingService() {\n\t    }\n\t    StylingService.prototype.processAllCellClasses = function (colDef, params, onApplicableClass, onNotApplicableClass) {\n\t        this.processCellClassRules(colDef, params, onApplicableClass, onNotApplicableClass);\n\t        this.processStaticCellClasses(colDef, params, onApplicableClass);\n\t    };\n\t    StylingService.prototype.processCellClassRules = function (colDef, params, onApplicableClass, onNotApplicableClass) {\n\t        var classRules = colDef.cellClassRules;\n\t        if (typeof classRules === 'object' && classRules !== null) {\n\t            var classNames = Object.keys(classRules);\n\t            for (var i = 0; i < classNames.length; i++) {\n\t                var className = classNames[i];\n\t                var rule = classRules[className];\n\t                var resultOfRule = void 0;\n\t                if (typeof rule === 'string') {\n\t                    resultOfRule = this.expressionService.evaluate(rule, params);\n\t                }\n\t                else if (typeof rule === 'function') {\n\t                    resultOfRule = rule(params);\n\t                }\n\t                if (resultOfRule) {\n\t                    onApplicableClass(className);\n\t                }\n\t                else if (onNotApplicableClass) {\n\t                    onNotApplicableClass(className);\n\t                }\n\t            }\n\t        }\n\t    };\n\t    StylingService.prototype.processStaticCellClasses = function (colDef, params, onApplicableClass) {\n\t        var cellClass = colDef.cellClass;\n\t        if (cellClass) {\n\t            var classOrClasses;\n\t            if (typeof colDef.cellClass === 'function') {\n\t                var cellClassFunc = colDef.cellClass;\n\t                classOrClasses = cellClassFunc(params);\n\t            }\n\t            else {\n\t                classOrClasses = colDef.cellClass;\n\t            }\n\t            if (typeof classOrClasses === 'string') {\n\t                onApplicableClass(classOrClasses);\n\t            }\n\t            else if (Array.isArray(classOrClasses)) {\n\t                classOrClasses.forEach(function (cssClassItem) {\n\t                    onApplicableClass(cssClassItem);\n\t                });\n\t            }\n\t        }\n\t    };\n\t    return StylingService;\n\t}());\n\t__decorate([\n\t    context_1.Autowired('expressionService'),\n\t    __metadata(\"design:type\", expressionService_1.ExpressionService)\n\t], StylingService.prototype, \"expressionService\", void 0);\n\tStylingService = __decorate([\n\t    context_1.Bean('stylingService')\n\t], StylingService);\n\texports.StylingService = StylingService;\n\n\n/***/ }),\n/* 84 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar eventService_1 = __webpack_require__(6);\n\tvar context_1 = __webpack_require__(8);\n\tvar events_1 = __webpack_require__(12);\n\tvar beanStub_1 = __webpack_require__(40);\n\tvar ColumnHoverService = (function (_super) {\n\t    __extends(ColumnHoverService, _super);\n\t    function ColumnHoverService() {\n\t        return _super !== null && _super.apply(this, arguments) || this;\n\t    }\n\t    ColumnHoverService.prototype.init = function () {\n\t        this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_CELL_MOUSE_OVER, this.onCellMouseOver.bind(this));\n\t        this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_CELL_MOUSE_OUT, this.onCellMouseOut.bind(this));\n\t    };\n\t    ColumnHoverService.prototype.onCellMouseOver = function (cellEvent) {\n\t        this.currentlySelectedColumn = cellEvent.column;\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_COLUMN_HOVER_CHANGED);\n\t    };\n\t    ColumnHoverService.prototype.onCellMouseOut = function () {\n\t        this.currentlySelectedColumn = null;\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_COLUMN_HOVER_CHANGED);\n\t    };\n\t    ColumnHoverService.prototype.isHovered = function (column) {\n\t        return column == this.currentlySelectedColumn;\n\t    };\n\t    return ColumnHoverService;\n\t}(beanStub_1.BeanStub));\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], ColumnHoverService.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], ColumnHoverService.prototype, \"init\", null);\n\tColumnHoverService = __decorate([\n\t    context_1.Bean('columnHoverService')\n\t], ColumnHoverService);\n\texports.ColumnHoverService = ColumnHoverService;\n\n\n/***/ }),\n/* 85 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar context_1 = __webpack_require__(8);\n\tvar constants_1 = __webpack_require__(10);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar floatingRowModel_1 = __webpack_require__(29);\n\tvar utils_1 = __webpack_require__(9);\n\tvar gridRow_1 = __webpack_require__(38);\n\tvar gridCell_1 = __webpack_require__(37);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar CellNavigationService = (function () {\n\t    function CellNavigationService() {\n\t    }\n\t    CellNavigationService.prototype.getNextCellToFocus = function (key, lastCellToFocus) {\n\t        switch (key) {\n\t            case constants_1.Constants.KEY_UP: return this.getCellAbove(lastCellToFocus);\n\t            case constants_1.Constants.KEY_DOWN: return this.getCellBelow(lastCellToFocus);\n\t            case constants_1.Constants.KEY_RIGHT:\n\t                if (this.gridOptionsWrapper.isEnableRtl()) {\n\t                    return this.getCellToLeft(lastCellToFocus);\n\t                }\n\t                else {\n\t                    return this.getCellToRight(lastCellToFocus);\n\t                }\n\t            case constants_1.Constants.KEY_LEFT:\n\t                if (this.gridOptionsWrapper.isEnableRtl()) {\n\t                    return this.getCellToRight(lastCellToFocus);\n\t                }\n\t                else {\n\t                    return this.getCellToLeft(lastCellToFocus);\n\t                }\n\t            default: console.log('ag-Grid: unknown key for navigation ' + key);\n\t        }\n\t    };\n\t    CellNavigationService.prototype.getCellToLeft = function (lastCell) {\n\t        var colToLeft = this.columnController.getDisplayedColBefore(lastCell.column);\n\t        if (!colToLeft) {\n\t            return null;\n\t        }\n\t        else {\n\t            var gridCellDef = { rowIndex: lastCell.rowIndex, column: colToLeft, floating: lastCell.floating };\n\t            return new gridCell_1.GridCell(gridCellDef);\n\t        }\n\t    };\n\t    CellNavigationService.prototype.getCellToRight = function (lastCell) {\n\t        var colToRight = this.columnController.getDisplayedColAfter(lastCell.column);\n\t        // if already on right, do nothing\n\t        if (!colToRight) {\n\t            return null;\n\t        }\n\t        else {\n\t            var gridCellDef = { rowIndex: lastCell.rowIndex, column: colToRight, floating: lastCell.floating };\n\t            return new gridCell_1.GridCell(gridCellDef);\n\t        }\n\t    };\n\t    CellNavigationService.prototype.getRowBelow = function (lastRow) {\n\t        // if already on top row, do nothing\n\t        if (this.isLastRowInContainer(lastRow)) {\n\t            if (lastRow.isFloatingBottom()) {\n\t                return null;\n\t            }\n\t            else if (lastRow.isNotFloating()) {\n\t                if (this.floatingRowModel.isRowsToRender(constants_1.Constants.FLOATING_BOTTOM)) {\n\t                    return new gridRow_1.GridRow(0, constants_1.Constants.FLOATING_BOTTOM);\n\t                }\n\t                else {\n\t                    return null;\n\t                }\n\t            }\n\t            else {\n\t                if (this.rowModel.isRowsToRender()) {\n\t                    return new gridRow_1.GridRow(0, null);\n\t                }\n\t                else if (this.floatingRowModel.isRowsToRender(constants_1.Constants.FLOATING_BOTTOM)) {\n\t                    return new gridRow_1.GridRow(0, constants_1.Constants.FLOATING_BOTTOM);\n\t                }\n\t                else {\n\t                    return null;\n\t                }\n\t            }\n\t        }\n\t        else {\n\t            return new gridRow_1.GridRow(lastRow.rowIndex + 1, lastRow.floating);\n\t        }\n\t    };\n\t    CellNavigationService.prototype.getCellBelow = function (lastCell) {\n\t        var rowBelow = this.getRowBelow(lastCell.getGridRow());\n\t        if (rowBelow) {\n\t            var gridCellDef = { rowIndex: rowBelow.rowIndex, column: lastCell.column, floating: rowBelow.floating };\n\t            return new gridCell_1.GridCell(gridCellDef);\n\t        }\n\t        else {\n\t            return null;\n\t        }\n\t    };\n\t    CellNavigationService.prototype.isLastRowInContainer = function (gridRow) {\n\t        if (gridRow.isFloatingTop()) {\n\t            var lastTopIndex = this.floatingRowModel.getFloatingTopRowData().length - 1;\n\t            return lastTopIndex === gridRow.rowIndex;\n\t        }\n\t        else if (gridRow.isFloatingBottom()) {\n\t            var lastBottomIndex = this.floatingRowModel.getFloatingBottomRowData().length - 1;\n\t            return lastBottomIndex === gridRow.rowIndex;\n\t        }\n\t        else {\n\t            var lastBodyIndex = this.rowModel.getPageLastRow();\n\t            return lastBodyIndex === gridRow.rowIndex;\n\t        }\n\t    };\n\t    CellNavigationService.prototype.getRowAbove = function (lastRow) {\n\t        // if already on top row, do nothing\n\t        if (lastRow.rowIndex === 0) {\n\t            if (lastRow.isFloatingTop()) {\n\t                return null;\n\t            }\n\t            else if (lastRow.isNotFloating()) {\n\t                if (this.floatingRowModel.isRowsToRender(constants_1.Constants.FLOATING_TOP)) {\n\t                    return this.getLastFloatingTopRow();\n\t                }\n\t                else {\n\t                    return null;\n\t                }\n\t            }\n\t            else {\n\t                // last floating bottom\n\t                if (this.rowModel.isRowsToRender()) {\n\t                    return this.getLastBodyCell();\n\t                }\n\t                else if (this.floatingRowModel.isRowsToRender(constants_1.Constants.FLOATING_TOP)) {\n\t                    return this.getLastFloatingTopRow();\n\t                }\n\t                else {\n\t                    return null;\n\t                }\n\t            }\n\t        }\n\t        else {\n\t            return new gridRow_1.GridRow(lastRow.rowIndex - 1, lastRow.floating);\n\t        }\n\t    };\n\t    CellNavigationService.prototype.getCellAbove = function (lastCell) {\n\t        var rowAbove = this.getRowAbove(lastCell.getGridRow());\n\t        if (rowAbove) {\n\t            var gridCellDef = { rowIndex: rowAbove.rowIndex, column: lastCell.column, floating: rowAbove.floating };\n\t            return new gridCell_1.GridCell(gridCellDef);\n\t        }\n\t        else {\n\t            return null;\n\t        }\n\t    };\n\t    CellNavigationService.prototype.getLastBodyCell = function () {\n\t        var lastBodyRow = this.rowModel.getPageLastRow();\n\t        return new gridRow_1.GridRow(lastBodyRow, null);\n\t    };\n\t    CellNavigationService.prototype.getLastFloatingTopRow = function () {\n\t        var lastFloatingRow = this.floatingRowModel.getFloatingTopRowData().length - 1;\n\t        return new gridRow_1.GridRow(lastFloatingRow, constants_1.Constants.FLOATING_TOP);\n\t    };\n\t    CellNavigationService.prototype.getNextTabbedCell = function (gridCell, backwards) {\n\t        if (backwards) {\n\t            return this.getNextTabbedCellBackwards(gridCell);\n\t        }\n\t        else {\n\t            return this.getNextTabbedCellForwards(gridCell);\n\t        }\n\t    };\n\t    CellNavigationService.prototype.getNextTabbedCellForwards = function (gridCell) {\n\t        var displayedColumns = this.columnController.getAllDisplayedColumns();\n\t        var newRowIndex = gridCell.rowIndex;\n\t        var newFloating = gridCell.floating;\n\t        // move along to the next cell\n\t        var newColumn = this.columnController.getDisplayedColAfter(gridCell.column);\n\t        // check if end of the row, and if so, go forward a row\n\t        if (!newColumn) {\n\t            newColumn = displayedColumns[0];\n\t            var rowBelow = this.getRowBelow(gridCell.getGridRow());\n\t            if (utils_1.Utils.missing(rowBelow)) {\n\t                return;\n\t            }\n\t            newRowIndex = rowBelow.rowIndex;\n\t            newFloating = rowBelow.floating;\n\t        }\n\t        var gridCellDef = { rowIndex: newRowIndex, column: newColumn, floating: newFloating };\n\t        return new gridCell_1.GridCell(gridCellDef);\n\t    };\n\t    CellNavigationService.prototype.getNextTabbedCellBackwards = function (gridCell) {\n\t        var displayedColumns = this.columnController.getAllDisplayedColumns();\n\t        var newRowIndex = gridCell.rowIndex;\n\t        var newFloating = gridCell.floating;\n\t        // move along to the next cell\n\t        var newColumn = this.columnController.getDisplayedColBefore(gridCell.column);\n\t        // check if end of the row, and if so, go forward a row\n\t        if (!newColumn) {\n\t            newColumn = displayedColumns[displayedColumns.length - 1];\n\t            var rowAbove = this.getRowAbove(gridCell.getGridRow());\n\t            if (utils_1.Utils.missing(rowAbove)) {\n\t                return;\n\t            }\n\t            newRowIndex = rowAbove.rowIndex;\n\t            newFloating = rowAbove.floating;\n\t        }\n\t        var gridCellDef = { rowIndex: newRowIndex, column: newColumn, floating: newFloating };\n\t        return new gridCell_1.GridCell(gridCellDef);\n\t    };\n\t    return CellNavigationService;\n\t}());\n\t__decorate([\n\t    context_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", columnController_1.ColumnController)\n\t], CellNavigationService.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('rowModel'),\n\t    __metadata(\"design:type\", Object)\n\t], CellNavigationService.prototype, \"rowModel\", void 0);\n\t__decorate([\n\t    context_1.Autowired('floatingRowModel'),\n\t    __metadata(\"design:type\", floatingRowModel_1.FloatingRowModel)\n\t], CellNavigationService.prototype, \"floatingRowModel\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], CellNavigationService.prototype, \"gridOptionsWrapper\", void 0);\n\tCellNavigationService = __decorate([\n\t    context_1.Bean('cellNavigationService')\n\t], CellNavigationService);\n\texports.CellNavigationService = CellNavigationService;\n\n\n/***/ }),\n/* 86 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar gridPanel_1 = __webpack_require__(27);\n\tvar column_1 = __webpack_require__(18);\n\tvar context_1 = __webpack_require__(8);\n\tvar headerContainer_1 = __webpack_require__(87);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar events_1 = __webpack_require__(12);\n\tvar scrollVisibleService_1 = __webpack_require__(39);\n\tvar HeaderRenderer = (function () {\n\t    function HeaderRenderer() {\n\t    }\n\t    HeaderRenderer.prototype.init = function () {\n\t        var _this = this;\n\t        this.eHeaderViewport = this.gridPanel.getHeaderViewport();\n\t        this.eRoot = this.gridPanel.getRoot();\n\t        this.eHeaderOverlay = this.gridPanel.getHeaderOverlay();\n\t        this.centerContainer = new headerContainer_1.HeaderContainer(this.gridPanel.getHeaderContainer(), this.gridPanel.getHeaderViewport(), this.eRoot, null);\n\t        this.childContainers = [this.centerContainer];\n\t        if (!this.gridOptionsWrapper.isForPrint()) {\n\t            this.pinnedLeftContainer = new headerContainer_1.HeaderContainer(this.gridPanel.getPinnedLeftHeader(), null, this.eRoot, column_1.Column.PINNED_LEFT);\n\t            this.pinnedRightContainer = new headerContainer_1.HeaderContainer(this.gridPanel.getPinnedRightHeader(), null, this.eRoot, column_1.Column.PINNED_RIGHT);\n\t            this.childContainers.push(this.pinnedLeftContainer);\n\t            this.childContainers.push(this.pinnedRightContainer);\n\t        }\n\t        this.childContainers.forEach(function (container) { return _this.context.wireBean(container); });\n\t        // when grid columns change, it means the number of rows in the header has changed and it's all new columns\n\t        this.eventService.addEventListener(events_1.Events.EVENT_GRID_COLUMNS_CHANGED, this.onGridColumnsChanged.bind(this));\n\t        // shotgun way to get labels to change, eg from sum(amount) to avg(amount)\n\t        this.eventService.addEventListener(events_1.Events.EVENT_COLUMN_VALUE_CHANGED, this.refreshHeader.bind(this));\n\t        // for resized, the individual cells take care of this, so don't need to refresh everything\n\t        this.eventService.addEventListener(events_1.Events.EVENT_COLUMN_RESIZED, this.setPinnedColContainerWidth.bind(this));\n\t        this.eventService.addEventListener(events_1.Events.EVENT_DISPLAYED_COLUMNS_CHANGED, this.setPinnedColContainerWidth.bind(this));\n\t        this.eventService.addEventListener(events_1.Events.EVENT_SCROLL_VISIBILITY_CHANGED, this.onScrollVisibilityChanged.bind(this));\n\t        if (this.columnController.isReady()) {\n\t            this.refreshHeader();\n\t        }\n\t    };\n\t    HeaderRenderer.prototype.onScrollVisibilityChanged = function () {\n\t        this.setPinnedColContainerWidth();\n\t    };\n\t    HeaderRenderer.prototype.forEachHeaderElement = function (callback) {\n\t        this.childContainers.forEach(function (childContainer) { return childContainer.forEachHeaderElement(callback); });\n\t    };\n\t    HeaderRenderer.prototype.destroy = function () {\n\t        this.childContainers.forEach(function (container) { return container.destroy(); });\n\t    };\n\t    HeaderRenderer.prototype.onGridColumnsChanged = function () {\n\t        this.setHeight();\n\t    };\n\t    // this is called from the API and refreshes everything, should be broken out\n\t    // into refresh everything vs just something changed\n\t    HeaderRenderer.prototype.refreshHeader = function () {\n\t        this.setHeight();\n\t        this.childContainers.forEach(function (container) { return container.refresh(); });\n\t        this.setPinnedColContainerWidth();\n\t    };\n\t    HeaderRenderer.prototype.setHeight = function () {\n\t        // if forPrint, overlay is missing\n\t        if (this.eHeaderOverlay) {\n\t            var rowHeight = this.gridOptionsWrapper.getHeaderHeight();\n\t            // we can probably get rid of this when we no longer need the overlay\n\t            var dept = this.columnController.getHeaderRowCount();\n\t            this.eHeaderOverlay.style.height = rowHeight + 'px';\n\t            this.eHeaderOverlay.style.top = ((dept - 1) * rowHeight) + 'px';\n\t        }\n\t    };\n\t    HeaderRenderer.prototype.setPinnedColContainerWidth = function () {\n\t        // pinned col doesn't exist when doing forPrint\n\t        if (this.gridOptionsWrapper.isForPrint()) {\n\t            return;\n\t        }\n\t        var pinnedLeftWidthWithScroll = this.scrollVisibleService.getPinnedLeftWithScrollWidth();\n\t        var pinnedRightWidthWithScroll = this.scrollVisibleService.getPinnedRightWithScrollWidth();\n\t        this.eHeaderViewport.style.marginLeft = pinnedLeftWidthWithScroll + 'px';\n\t        this.eHeaderViewport.style.marginRight = pinnedRightWidthWithScroll + 'px';\n\t    };\n\t    return HeaderRenderer;\n\t}());\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], HeaderRenderer.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", columnController_1.ColumnController)\n\t], HeaderRenderer.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridPanel'),\n\t    __metadata(\"design:type\", gridPanel_1.GridPanel)\n\t], HeaderRenderer.prototype, \"gridPanel\", void 0);\n\t__decorate([\n\t    context_1.Autowired('context'),\n\t    __metadata(\"design:type\", context_1.Context)\n\t], HeaderRenderer.prototype, \"context\", void 0);\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], HeaderRenderer.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('scrollVisibleService'),\n\t    __metadata(\"design:type\", scrollVisibleService_1.ScrollVisibleService)\n\t], HeaderRenderer.prototype, \"scrollVisibleService\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], HeaderRenderer.prototype, \"init\", null);\n\t__decorate([\n\t    context_1.PreDestroy,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], HeaderRenderer.prototype, \"destroy\", null);\n\tHeaderRenderer = __decorate([\n\t    context_1.Bean('headerRenderer')\n\t], HeaderRenderer);\n\texports.HeaderRenderer = HeaderRenderer;\n\n\n/***/ }),\n/* 87 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar utils_1 = __webpack_require__(9);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar context_1 = __webpack_require__(8);\n\tvar dragAndDropService_1 = __webpack_require__(88);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar gridPanel_1 = __webpack_require__(27);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar events_1 = __webpack_require__(12);\n\tvar headerRowComp_1 = __webpack_require__(89);\n\tvar bodyDropTarget_1 = __webpack_require__(98);\n\tvar column_1 = __webpack_require__(18);\n\tvar scrollVisibleService_1 = __webpack_require__(39);\n\tvar HeaderContainer = (function () {\n\t    function HeaderContainer(eContainer, eViewport, eRoot, pinned) {\n\t        this.headerRowComps = [];\n\t        this.eContainer = eContainer;\n\t        this.eRoot = eRoot;\n\t        this.pinned = pinned;\n\t        this.eViewport = eViewport;\n\t    }\n\t    HeaderContainer.prototype.forEachHeaderElement = function (callback) {\n\t        this.headerRowComps.forEach(function (headerRowComp) { return headerRowComp.forEachHeaderElement(callback); });\n\t    };\n\t    HeaderContainer.prototype.init = function () {\n\t        this.setupDragAndDrop();\n\t        // if value changes, then if not pivoting, we at least need to change the label eg from sum() to avg(),\n\t        // if pivoting, then the columns have changed\n\t        this.eventService.addEventListener(events_1.Events.EVENT_COLUMN_VALUE_CHANGED, this.onColumnValueChanged.bind(this));\n\t        this.eventService.addEventListener(events_1.Events.EVENT_COLUMN_ROW_GROUP_CHANGED, this.onColumnRowGroupChanged.bind(this));\n\t        this.eventService.addEventListener(events_1.Events.EVENT_GRID_COLUMNS_CHANGED, this.onGridColumnsChanged.bind(this));\n\t        this.eventService.addEventListener(events_1.Events.EVENT_SCROLL_VISIBILITY_CHANGED, this.onScrollVisibilityChanged.bind(this));\n\t        this.eventService.addEventListener(events_1.Events.EVENT_COLUMN_RESIZED, this.onColumnResized.bind(this));\n\t        this.eventService.addEventListener(events_1.Events.EVENT_DISPLAYED_COLUMNS_CHANGED, this.onDisplayedColumnsChanged.bind(this));\n\t    };\n\t    // if row group changes, that means we may need to add aggFunc's to the column headers,\n\t    // if the grid goes from no aggregation (ie no grouping) to grouping\n\t    HeaderContainer.prototype.onColumnRowGroupChanged = function () {\n\t        this.onGridColumnsChanged();\n\t    };\n\t    // if the agg func of a column changes, then we may need to update the agg func in columns header\n\t    HeaderContainer.prototype.onColumnValueChanged = function () {\n\t        this.onGridColumnsChanged();\n\t    };\n\t    HeaderContainer.prototype.onColumnResized = function () {\n\t        this.setWidthIfPinnedContainer();\n\t    };\n\t    HeaderContainer.prototype.onDisplayedColumnsChanged = function () {\n\t        this.setWidthIfPinnedContainer();\n\t    };\n\t    HeaderContainer.prototype.onScrollVisibilityChanged = function () {\n\t        this.setWidthIfPinnedContainer();\n\t    };\n\t    HeaderContainer.prototype.setWidthIfPinnedContainer = function () {\n\t        if (this.pinned === column_1.Column.PINNED_LEFT) {\n\t            var pinnedLeftWidthWithScroll = this.scrollVisibleService.getPinnedLeftWithScrollWidth();\n\t            this.eContainer.style.width = pinnedLeftWidthWithScroll + 'px';\n\t        }\n\t        else if (this.pinned === column_1.Column.PINNED_RIGHT) {\n\t            var pinnedRightWidthWithScroll = this.scrollVisibleService.getPinnedRightWithScrollWidth();\n\t            this.eContainer.style.width = pinnedRightWidthWithScroll + 'px';\n\t        }\n\t    };\n\t    HeaderContainer.prototype.destroy = function () {\n\t        this.removeHeaderRowComps();\n\t    };\n\t    // grid cols have changed - this also means the number of rows in the header can have\n\t    // changed. so we remove all the old rows and insert new ones for a complete refresh\n\t    HeaderContainer.prototype.onGridColumnsChanged = function () {\n\t        this.removeHeaderRowComps();\n\t        this.createHeaderRowComps();\n\t    };\n\t    // we expose this for gridOptions.api.refreshHeader() to call\n\t    HeaderContainer.prototype.refresh = function () {\n\t        this.onGridColumnsChanged();\n\t    };\n\t    HeaderContainer.prototype.setupDragAndDrop = function () {\n\t        var dropContainer = this.eViewport ? this.eViewport : this.eContainer;\n\t        var bodyDropTarget = new bodyDropTarget_1.BodyDropTarget(this.pinned, dropContainer);\n\t        this.context.wireBean(bodyDropTarget);\n\t    };\n\t    HeaderContainer.prototype.removeHeaderRowComps = function () {\n\t        this.headerRowComps.forEach(function (headerRowComp) {\n\t            headerRowComp.destroy();\n\t        });\n\t        this.headerRowComps.length = 0;\n\t        utils_1.Utils.removeAllChildren(this.eContainer);\n\t    };\n\t    HeaderContainer.prototype.createHeaderRowComps = function () {\n\t        // if we are displaying header groups, then we have many rows here.\n\t        // go through each row of the header, one by one.\n\t        var rowCount = this.columnController.getHeaderRowCount();\n\t        for (var dept = 0; dept < rowCount; dept++) {\n\t            var groupRow = dept !== (rowCount - 1);\n\t            var type = groupRow ? headerRowComp_1.HeaderRowType.COLUMN_GROUP : headerRowComp_1.HeaderRowType.COLUMN;\n\t            var headerRowComp = new headerRowComp_1.HeaderRowComp(dept, type, this.pinned, this.eRoot, this.dropTarget);\n\t            this.context.wireBean(headerRowComp);\n\t            this.headerRowComps.push(headerRowComp);\n\t            this.eContainer.appendChild(headerRowComp.getGui());\n\t        }\n\t        var includeFloatingFilterRow = this.gridOptionsWrapper.isFloatingFilter() && !this.columnController.isPivotMode();\n\t        if (includeFloatingFilterRow) {\n\t            var headerRowComp = new headerRowComp_1.HeaderRowComp(rowCount, headerRowComp_1.HeaderRowType.FLOATING_FILTER, this.pinned, this.eRoot, this.dropTarget);\n\t            this.context.wireBean(headerRowComp);\n\t            this.headerRowComps.push(headerRowComp);\n\t            this.eContainer.appendChild(headerRowComp.getGui());\n\t        }\n\t    };\n\t    return HeaderContainer;\n\t}());\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], HeaderContainer.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('context'),\n\t    __metadata(\"design:type\", context_1.Context)\n\t], HeaderContainer.prototype, \"context\", void 0);\n\t__decorate([\n\t    context_1.Autowired('$scope'),\n\t    __metadata(\"design:type\", Object)\n\t], HeaderContainer.prototype, \"$scope\", void 0);\n\t__decorate([\n\t    context_1.Autowired('dragAndDropService'),\n\t    __metadata(\"design:type\", dragAndDropService_1.DragAndDropService)\n\t], HeaderContainer.prototype, \"dragAndDropService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", columnController_1.ColumnController)\n\t], HeaderContainer.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridPanel'),\n\t    __metadata(\"design:type\", gridPanel_1.GridPanel)\n\t], HeaderContainer.prototype, \"gridPanel\", void 0);\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], HeaderContainer.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('scrollVisibleService'),\n\t    __metadata(\"design:type\", scrollVisibleService_1.ScrollVisibleService)\n\t], HeaderContainer.prototype, \"scrollVisibleService\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], HeaderContainer.prototype, \"init\", null);\n\texports.HeaderContainer = HeaderContainer;\n\n\n/***/ }),\n/* 88 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar __param = (this && this.__param) || function (paramIndex, decorator) {\n\t    return function (target, key) { decorator(target, key, paramIndex); }\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar logger_1 = __webpack_require__(7);\n\tvar context_1 = __webpack_require__(8);\n\tvar utils_1 = __webpack_require__(9);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar svgFactory_1 = __webpack_require__(58);\n\tvar dragService_1 = __webpack_require__(34);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar svgFactory = svgFactory_1.SvgFactory.getInstance();\n\tvar DragSourceType;\n\t(function (DragSourceType) {\n\t    DragSourceType[DragSourceType[\"ToolPanel\"] = 0] = \"ToolPanel\";\n\t    DragSourceType[DragSourceType[\"HeaderCell\"] = 1] = \"HeaderCell\";\n\t})(DragSourceType = exports.DragSourceType || (exports.DragSourceType = {}));\n\tvar VDirection;\n\t(function (VDirection) {\n\t    VDirection[VDirection[\"Up\"] = 0] = \"Up\";\n\t    VDirection[VDirection[\"Down\"] = 1] = \"Down\";\n\t})(VDirection = exports.VDirection || (exports.VDirection = {}));\n\tvar HDirection;\n\t(function (HDirection) {\n\t    HDirection[HDirection[\"Left\"] = 0] = \"Left\";\n\t    HDirection[HDirection[\"Right\"] = 1] = \"Right\";\n\t})(HDirection = exports.HDirection || (exports.HDirection = {}));\n\tvar DragAndDropService = DragAndDropService_1 = (function () {\n\t    function DragAndDropService() {\n\t        this.dragSourceAndParamsList = [];\n\t        this.dropTargets = [];\n\t    }\n\t    DragAndDropService.prototype.init = function () {\n\t        this.ePinnedIcon = utils_1.Utils.createIcon('columnMovePin', this.gridOptionsWrapper, null, svgFactory.createPinIcon);\n\t        this.ePlusIcon = utils_1.Utils.createIcon('columnMoveAdd', this.gridOptionsWrapper, null, svgFactory.createPlusIcon);\n\t        this.eHiddenIcon = utils_1.Utils.createIcon('columnMoveHide', this.gridOptionsWrapper, null, svgFactory.createColumnHiddenIcon);\n\t        this.eMoveIcon = utils_1.Utils.createIcon('columnMoveMove', this.gridOptionsWrapper, null, svgFactory.createMoveIcon);\n\t        this.eLeftIcon = utils_1.Utils.createIcon('columnMoveLeft', this.gridOptionsWrapper, null, svgFactory.createLeftIcon);\n\t        this.eRightIcon = utils_1.Utils.createIcon('columnMoveRight', this.gridOptionsWrapper, null, svgFactory.createRightIcon);\n\t        this.eGroupIcon = utils_1.Utils.createIcon('columnMoveGroup', this.gridOptionsWrapper, null, svgFactory.createGroupIcon);\n\t        this.eAggregateIcon = utils_1.Utils.createIcon('columnMoveValue', this.gridOptionsWrapper, null, svgFactory.createAggregationIcon);\n\t        this.ePivotIcon = utils_1.Utils.createIcon('columnMovePivot', this.gridOptionsWrapper, null, svgFactory.createPivotIcon);\n\t        this.eDropNotAllowedIcon = utils_1.Utils.createIcon('dropNotAllowed', this.gridOptionsWrapper, null, svgFactory.createDropNotAllowedIcon);\n\t    };\n\t    DragAndDropService.prototype.setBeans = function (loggerFactory) {\n\t        this.logger = loggerFactory.create('OldToolPanelDragAndDropService');\n\t    };\n\t    DragAndDropService.prototype.addDragSource = function (dragSource, allowTouch) {\n\t        if (allowTouch === void 0) { allowTouch = false; }\n\t        var params = {\n\t            eElement: dragSource.eElement,\n\t            onDragStart: this.onDragStart.bind(this, dragSource),\n\t            onDragStop: this.onDragStop.bind(this),\n\t            onDragging: this.onDragging.bind(this)\n\t        };\n\t        this.dragSourceAndParamsList.push({ params: params, dragSource: dragSource });\n\t        this.dragService.addDragSource(params, allowTouch);\n\t    };\n\t    DragAndDropService.prototype.removeDragSource = function (dragSource) {\n\t        var sourceAndParams = utils_1.Utils.find(this.dragSourceAndParamsList, function (item) { return item.dragSource === dragSource; });\n\t        if (sourceAndParams) {\n\t            this.dragService.removeDragSource(sourceAndParams.params);\n\t            utils_1.Utils.removeFromArray(this.dragSourceAndParamsList, sourceAndParams);\n\t        }\n\t    };\n\t    DragAndDropService.prototype.destroy = function () {\n\t        var _this = this;\n\t        this.dragSourceAndParamsList.forEach(function (sourceAndParams) {\n\t            _this.dragService.removeDragSource(sourceAndParams.params);\n\t        });\n\t        this.dragSourceAndParamsList.length = 0;\n\t    };\n\t    DragAndDropService.prototype.nudge = function () {\n\t        if (this.dragging) {\n\t            this.onDragging(this.eventLastTime, true);\n\t        }\n\t    };\n\t    DragAndDropService.prototype.onDragStart = function (dragSource, mouseEvent) {\n\t        this.dragging = true;\n\t        this.dragSource = dragSource;\n\t        this.eventLastTime = mouseEvent;\n\t        this.dragSource.dragItem.forEach(function (column) { return column.setMoving(true); });\n\t        this.dragItem = this.dragSource.dragItem;\n\t        this.lastDropTarget = this.dragSource.dragSourceDropTarget;\n\t        this.createGhost();\n\t    };\n\t    DragAndDropService.prototype.onDragStop = function (mouseEvent) {\n\t        this.eventLastTime = null;\n\t        this.dragging = false;\n\t        this.dragItem.forEach(function (column) { return column.setMoving(false); });\n\t        if (this.lastDropTarget && this.lastDropTarget.onDragStop) {\n\t            var draggingEvent = this.createDropTargetEvent(this.lastDropTarget, mouseEvent, null, null, false);\n\t            this.lastDropTarget.onDragStop(draggingEvent);\n\t        }\n\t        this.lastDropTarget = null;\n\t        this.dragItem = null;\n\t        this.removeGhost();\n\t    };\n\t    DragAndDropService.prototype.onDragging = function (mouseEvent, fromNudge) {\n\t        var hDirection = this.workOutHDirection(mouseEvent);\n\t        var vDirection = this.workOutVDirection(mouseEvent);\n\t        this.eventLastTime = mouseEvent;\n\t        this.positionGhost(mouseEvent);\n\t        // check if mouseEvent intersects with any of the drop targets\n\t        var dropTarget = utils_1.Utils.find(this.dropTargets, this.isMouseOnDropTarget.bind(this, mouseEvent));\n\t        if (dropTarget !== this.lastDropTarget) {\n\t            this.leaveLastTargetIfExists(mouseEvent, hDirection, vDirection, fromNudge);\n\t            this.enterDragTargetIfExists(dropTarget, mouseEvent, hDirection, vDirection, fromNudge);\n\t            this.lastDropTarget = dropTarget;\n\t        }\n\t        else if (dropTarget) {\n\t            var draggingEvent = this.createDropTargetEvent(dropTarget, mouseEvent, hDirection, vDirection, fromNudge);\n\t            dropTarget.onDragging(draggingEvent);\n\t        }\n\t    };\n\t    DragAndDropService.prototype.enterDragTargetIfExists = function (dropTarget, mouseEvent, hDirection, vDirection, fromNudge) {\n\t        if (!dropTarget) {\n\t            return;\n\t        }\n\t        var dragEnterEvent = this.createDropTargetEvent(dropTarget, mouseEvent, hDirection, vDirection, fromNudge);\n\t        dropTarget.onDragEnter(dragEnterEvent);\n\t        this.setGhostIcon(dropTarget.getIconName ? dropTarget.getIconName() : null);\n\t    };\n\t    DragAndDropService.prototype.leaveLastTargetIfExists = function (mouseEvent, hDirection, vDirection, fromNudge) {\n\t        if (!this.lastDropTarget) {\n\t            return;\n\t        }\n\t        var dragLeaveEvent = this.createDropTargetEvent(this.lastDropTarget, mouseEvent, hDirection, vDirection, fromNudge);\n\t        this.lastDropTarget.onDragLeave(dragLeaveEvent);\n\t        this.setGhostIcon(null);\n\t    };\n\t    DragAndDropService.prototype.getAllContainersFromDropTarget = function (dropTarget) {\n\t        var containers = [dropTarget.getContainer()];\n\t        var secondaryContainers = dropTarget.getSecondaryContainers ? dropTarget.getSecondaryContainers() : null;\n\t        if (secondaryContainers) {\n\t            containers = containers.concat(secondaryContainers);\n\t        }\n\t        return containers;\n\t    };\n\t    // checks if the mouse is on the drop target. it checks eContainer and eSecondaryContainers\n\t    DragAndDropService.prototype.isMouseOnDropTarget = function (mouseEvent, dropTarget) {\n\t        var allContainers = this.getAllContainersFromDropTarget(dropTarget);\n\t        var gotMatch = false;\n\t        allContainers.forEach(function (eContainer) {\n\t            if (!eContainer) {\n\t                return;\n\t            } // secondary can be missing\n\t            var rect = eContainer.getBoundingClientRect();\n\t            // if element is not visible, then width and height are zero\n\t            if (rect.width === 0 || rect.height === 0) {\n\t                return;\n\t            }\n\t            var horizontalFit = mouseEvent.clientX >= rect.left && mouseEvent.clientX <= rect.right;\n\t            var verticalFit = mouseEvent.clientY >= rect.top && mouseEvent.clientY <= rect.bottom;\n\t            //console.log(`rect.width = ${rect.width} || rect.height = ${rect.height} ## verticalFit = ${verticalFit}, horizontalFit = ${horizontalFit}, `);\n\t            if (horizontalFit && verticalFit) {\n\t                gotMatch = true;\n\t            }\n\t        });\n\t        return gotMatch;\n\t    };\n\t    DragAndDropService.prototype.addDropTarget = function (dropTarget) {\n\t        this.dropTargets.push(dropTarget);\n\t    };\n\t    DragAndDropService.prototype.workOutHDirection = function (event) {\n\t        if (this.eventLastTime.clientX > event.clientX) {\n\t            return HDirection.Left;\n\t        }\n\t        else if (this.eventLastTime.clientX < event.clientX) {\n\t            return HDirection.Right;\n\t        }\n\t        else {\n\t            return null;\n\t        }\n\t    };\n\t    DragAndDropService.prototype.workOutVDirection = function (event) {\n\t        if (this.eventLastTime.clientY > event.clientY) {\n\t            return VDirection.Up;\n\t        }\n\t        else if (this.eventLastTime.clientY < event.clientY) {\n\t            return VDirection.Down;\n\t        }\n\t        else {\n\t            return null;\n\t        }\n\t    };\n\t    DragAndDropService.prototype.createDropTargetEvent = function (dropTarget, event, hDirection, vDirection, fromNudge) {\n\t        // localise x and y to the target component\n\t        var rect = dropTarget.getContainer().getBoundingClientRect();\n\t        var x = event.clientX - rect.left;\n\t        var y = event.clientY - rect.top;\n\t        var dropTargetEvent = {\n\t            event: event,\n\t            x: x,\n\t            y: y,\n\t            vDirection: vDirection,\n\t            hDirection: hDirection,\n\t            dragSource: this.dragSource,\n\t            fromNudge: fromNudge\n\t        };\n\t        return dropTargetEvent;\n\t    };\n\t    DragAndDropService.prototype.positionGhost = function (event) {\n\t        var ghostRect = this.eGhost.getBoundingClientRect();\n\t        var ghostHeight = ghostRect.height;\n\t        // for some reason, without the '-2', it still overlapped by 1 or 2 pixels, which\n\t        // then brought in scrollbars to the browser. no idea why, but putting in -2 here\n\t        // works around it which is good enough for me.\n\t        var browserWidth = utils_1.Utils.getBodyWidth() - 2;\n\t        var browserHeight = utils_1.Utils.getBodyHeight() - 2;\n\t        // put ghost vertically in middle of cursor\n\t        var top = event.pageY - (ghostHeight / 2);\n\t        // horizontally, place cursor just right of icon\n\t        var left = event.pageX - 30;\n\t        var usrDocument = this.gridOptionsWrapper.getDocument();\n\t        var windowScrollY = window.pageYOffset || usrDocument.documentElement.scrollTop;\n\t        var windowScrollX = window.pageXOffset || usrDocument.documentElement.scrollLeft;\n\t        // check ghost is not positioned outside of the browser\n\t        if (browserWidth > 0) {\n\t            if ((left + this.eGhost.clientWidth) > (browserWidth + windowScrollX)) {\n\t                left = browserWidth + windowScrollX - this.eGhost.clientWidth;\n\t            }\n\t        }\n\t        if (left < 0) {\n\t            left = 0;\n\t        }\n\t        if (browserHeight > 0) {\n\t            if ((top + this.eGhost.clientHeight) > (browserHeight + windowScrollY)) {\n\t                top = browserHeight + windowScrollY - this.eGhost.clientHeight;\n\t            }\n\t        }\n\t        if (top < 0) {\n\t            top = 0;\n\t        }\n\t        this.eGhost.style.left = left + 'px';\n\t        this.eGhost.style.top = top + 'px';\n\t    };\n\t    DragAndDropService.prototype.removeGhost = function () {\n\t        if (this.eGhost && this.eGhostParent) {\n\t            this.eGhostParent.removeChild(this.eGhost);\n\t        }\n\t        this.eGhost = null;\n\t    };\n\t    DragAndDropService.prototype.createGhost = function () {\n\t        this.eGhost = utils_1.Utils.loadTemplate(DragAndDropService_1.GHOST_TEMPLATE);\n\t        this.eGhostIcon = this.eGhost.querySelector('.ag-dnd-ghost-icon');\n\t        this.setGhostIcon(null);\n\t        var eText = this.eGhost.querySelector('.ag-dnd-ghost-label');\n\t        eText.innerHTML = this.dragSource.dragItemName;\n\t        this.eGhost.style.height = this.gridOptionsWrapper.getHeaderHeight() + 'px';\n\t        this.eGhost.style.top = '20px';\n\t        this.eGhost.style.left = '20px';\n\t        var usrDocument = this.gridOptionsWrapper.getDocument();\n\t        this.eGhostParent = usrDocument.querySelector('body');\n\t        if (!this.eGhostParent) {\n\t            console.warn('ag-Grid: could not find document body, it is needed for dragging columns');\n\t        }\n\t        else {\n\t            this.eGhostParent.appendChild(this.eGhost);\n\t        }\n\t    };\n\t    DragAndDropService.prototype.setGhostIcon = function (iconName, shake) {\n\t        if (shake === void 0) { shake = false; }\n\t        utils_1.Utils.removeAllChildren(this.eGhostIcon);\n\t        var eIcon;\n\t        switch (iconName) {\n\t            case DragAndDropService_1.ICON_ADD:\n\t                eIcon = this.ePlusIcon;\n\t                break;\n\t            case DragAndDropService_1.ICON_PINNED:\n\t                eIcon = this.ePinnedIcon;\n\t                break;\n\t            case DragAndDropService_1.ICON_MOVE:\n\t                eIcon = this.eMoveIcon;\n\t                break;\n\t            case DragAndDropService_1.ICON_LEFT:\n\t                eIcon = this.eLeftIcon;\n\t                break;\n\t            case DragAndDropService_1.ICON_RIGHT:\n\t                eIcon = this.eRightIcon;\n\t                break;\n\t            case DragAndDropService_1.ICON_GROUP:\n\t                eIcon = this.eGroupIcon;\n\t                break;\n\t            case DragAndDropService_1.ICON_AGGREGATE:\n\t                eIcon = this.eAggregateIcon;\n\t                break;\n\t            case DragAndDropService_1.ICON_PIVOT:\n\t                eIcon = this.ePivotIcon;\n\t                break;\n\t            case DragAndDropService_1.ICON_NOT_ALLOWED:\n\t                eIcon = this.eDropNotAllowedIcon;\n\t                break;\n\t            default:\n\t                eIcon = this.eHiddenIcon;\n\t                break;\n\t        }\n\t        this.eGhostIcon.appendChild(eIcon);\n\t        utils_1.Utils.addOrRemoveCssClass(this.eGhostIcon, 'ag-shake-left-to-right', shake);\n\t    };\n\t    return DragAndDropService;\n\t}());\n\tDragAndDropService.ICON_PINNED = 'pinned';\n\tDragAndDropService.ICON_ADD = 'add';\n\tDragAndDropService.ICON_MOVE = 'move';\n\tDragAndDropService.ICON_LEFT = 'left';\n\tDragAndDropService.ICON_RIGHT = 'right';\n\tDragAndDropService.ICON_GROUP = 'group';\n\tDragAndDropService.ICON_AGGREGATE = 'aggregate';\n\tDragAndDropService.ICON_PIVOT = 'pivot';\n\tDragAndDropService.ICON_NOT_ALLOWED = 'notAllowed';\n\tDragAndDropService.GHOST_TEMPLATE = '<div class=\"ag-dnd-ghost\">' +\n\t    '  <span class=\"ag-dnd-ghost-icon ag-shake-left-to-right\"></span>' +\n\t    '  <div class=\"ag-dnd-ghost-label\">' +\n\t    '  </div>' +\n\t    '</div>';\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], DragAndDropService.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('dragService'),\n\t    __metadata(\"design:type\", dragService_1.DragService)\n\t], DragAndDropService.prototype, \"dragService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", columnController_1.ColumnController)\n\t], DragAndDropService.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], DragAndDropService.prototype, \"init\", null);\n\t__decorate([\n\t    __param(0, context_1.Qualifier('loggerFactory')),\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", [logger_1.LoggerFactory]),\n\t    __metadata(\"design:returntype\", void 0)\n\t], DragAndDropService.prototype, \"setBeans\", null);\n\t__decorate([\n\t    context_1.PreDestroy,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], DragAndDropService.prototype, \"destroy\", null);\n\tDragAndDropService = DragAndDropService_1 = __decorate([\n\t    context_1.Bean('dragAndDropService')\n\t], DragAndDropService);\n\texports.DragAndDropService = DragAndDropService;\n\tvar DragAndDropService_1;\n\n\n/***/ }),\n/* 89 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar component_1 = __webpack_require__(52);\n\tvar context_1 = __webpack_require__(8);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar columnGroup_1 = __webpack_require__(17);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar column_1 = __webpack_require__(18);\n\tvar renderedHeaderCell_1 = __webpack_require__(90);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar events_1 = __webpack_require__(12);\n\tvar utils_1 = __webpack_require__(9);\n\tvar headerWrapperComp_1 = __webpack_require__(94);\n\tvar headerGroupWrapperComp_1 = __webpack_require__(97);\n\tvar filterManager_1 = __webpack_require__(48);\n\tvar componentProvider_1 = __webpack_require__(56);\n\tvar HeaderRowType;\n\t(function (HeaderRowType) {\n\t    HeaderRowType[HeaderRowType[\"COLUMN_GROUP\"] = 0] = \"COLUMN_GROUP\";\n\t    HeaderRowType[HeaderRowType[\"COLUMN\"] = 1] = \"COLUMN\";\n\t    HeaderRowType[HeaderRowType[\"FLOATING_FILTER\"] = 2] = \"FLOATING_FILTER\";\n\t})(HeaderRowType = exports.HeaderRowType || (exports.HeaderRowType = {}));\n\tvar HeaderRowComp = (function (_super) {\n\t    __extends(HeaderRowComp, _super);\n\t    function HeaderRowComp(dept, type, pinned, eRoot, dropTarget) {\n\t        var _this = _super.call(this, \"<div class=\\\"ag-header-row\\\"/>\") || this;\n\t        _this.headerElements = {};\n\t        _this.dept = dept;\n\t        _this.type = type;\n\t        _this.pinned = pinned;\n\t        _this.eRoot = eRoot;\n\t        _this.dropTarget = dropTarget;\n\t        return _this;\n\t    }\n\t    HeaderRowComp.prototype.forEachHeaderElement = function (callback) {\n\t        var _this = this;\n\t        Object.keys(this.headerElements).forEach(function (key) {\n\t            var headerElement = _this.headerElements[key];\n\t            callback(headerElement);\n\t        });\n\t    };\n\t    HeaderRowComp.prototype.destroy = function () {\n\t        var idsOfAllChildren = Object.keys(this.headerElements);\n\t        this.removeAndDestroyChildComponents(idsOfAllChildren);\n\t        _super.prototype.destroy.call(this);\n\t    };\n\t    HeaderRowComp.prototype.removeAndDestroyChildComponents = function (idsToDestroy) {\n\t        var _this = this;\n\t        idsToDestroy.forEach(function (id) {\n\t            var child = _this.headerElements[id];\n\t            _this.getGui().removeChild(child.getGui());\n\t            if (child.destroy) {\n\t                child.destroy();\n\t            }\n\t            delete _this.headerElements[id];\n\t        });\n\t    };\n\t    HeaderRowComp.prototype.onRowHeightChanged = function () {\n\t        var rowHeight = this.gridOptionsWrapper.getHeaderHeight();\n\t        this.getGui().style.top = (this.dept * rowHeight) + 'px';\n\t        this.getGui().style.height = rowHeight + 'px';\n\t    };\n\t    //noinspection JSUnusedLocalSymbols\n\t    HeaderRowComp.prototype.init = function () {\n\t        this.onRowHeightChanged();\n\t        this.onVirtualColumnsChanged();\n\t        this.setWidth();\n\t        this.addDestroyableEventListener(this.gridOptionsWrapper, gridOptionsWrapper_1.GridOptionsWrapper.PROP_HEADER_HEIGHT, this.onRowHeightChanged.bind(this));\n\t        this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_VIRTUAL_COLUMNS_CHANGED, this.onVirtualColumnsChanged.bind(this));\n\t        this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_DISPLAYED_COLUMNS_CHANGED, this.onDisplayedColumnsChanged.bind(this));\n\t        this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_COLUMN_RESIZED, this.onColumnResized.bind(this));\n\t        this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_GRID_COLUMNS_CHANGED, this.onGridColumnsChanged.bind(this));\n\t    };\n\t    HeaderRowComp.prototype.onColumnResized = function () {\n\t        this.setWidth();\n\t    };\n\t    HeaderRowComp.prototype.setWidth = function () {\n\t        var mainRowWidth = this.columnController.getContainerWidth(this.pinned) + 'px';\n\t        this.getGui().style.width = mainRowWidth;\n\t    };\n\t    HeaderRowComp.prototype.onGridColumnsChanged = function () {\n\t        this.removeAndDestroyAllChildComponents();\n\t    };\n\t    HeaderRowComp.prototype.removeAndDestroyAllChildComponents = function () {\n\t        var idsOfAllChildren = Object.keys(this.headerElements);\n\t        this.removeAndDestroyChildComponents(idsOfAllChildren);\n\t    };\n\t    HeaderRowComp.prototype.onDisplayedColumnsChanged = function () {\n\t        this.onVirtualColumnsChanged();\n\t        this.setWidth();\n\t    };\n\t    HeaderRowComp.prototype.onVirtualColumnsChanged = function () {\n\t        var _this = this;\n\t        var currentChildIds = Object.keys(this.headerElements);\n\t        var itemsAtDepth = this.columnController.getVirtualHeaderGroupRow(this.pinned, this.type == HeaderRowType.FLOATING_FILTER ?\n\t            this.dept - 1 :\n\t            this.dept);\n\t        itemsAtDepth.forEach(function (child) {\n\t            var idOfChild = child.getUniqueId();\n\t            // if we already have this cell rendered, do nothing\n\t            if (currentChildIds.indexOf(idOfChild) >= 0) {\n\t                utils_1.Utils.removeFromArray(currentChildIds, idOfChild);\n\t                return;\n\t            }\n\t            // skip groups that have no displayed children. this can happen when the group is broken,\n\t            // and this section happens to have nothing to display for the open / closed state.\n\t            // (a broken group is one that is split, ie columns in the group have a non-group column\n\t            // in between them)\n\t            if (child instanceof columnGroup_1.ColumnGroup && child.getDisplayedChildren().length === 0) {\n\t                return;\n\t            }\n\t            var renderedHeaderElement = _this.createHeaderElement(child);\n\t            _this.headerElements[idOfChild] = renderedHeaderElement;\n\t            _this.getGui().appendChild(renderedHeaderElement.getGui());\n\t        });\n\t        // at this point, anything left in currentChildIds is an element that is no longer in the viewport\n\t        this.removeAndDestroyChildComponents(currentChildIds);\n\t    };\n\t    // check if user is using the deprecated\n\t    HeaderRowComp.prototype.isUsingOldHeaderRenderer = function (column) {\n\t        var colDef = column.getColDef();\n\t        return utils_1.Utils.anyExists([\n\t            // header template\n\t            this.gridOptionsWrapper.getHeaderCellTemplateFunc(),\n\t            this.gridOptionsWrapper.getHeaderCellTemplate(),\n\t            colDef.headerCellTemplate,\n\t            // header cellRenderer\n\t            colDef.headerCellRenderer,\n\t            this.gridOptionsWrapper.getHeaderCellRenderer()\n\t        ]);\n\t    };\n\t    HeaderRowComp.prototype.createHeaderElement = function (columnGroupChild) {\n\t        var result;\n\t        switch (this.type) {\n\t            case HeaderRowType.COLUMN:\n\t                if (this.isUsingOldHeaderRenderer(columnGroupChild)) {\n\t                    ////// DEPRECATED - TAKE THIS OUT IN V9\n\t                    if (!warningGiven) {\n\t                        console.warn('ag-Grid: since v8, custom headers are now done using components. Please refer to the documentation https://www.ag-grid.com/javascript-grid-header-rendering/. Support for the old way will be dropped in v9.');\n\t                        warningGiven = true;\n\t                    }\n\t                    result = new renderedHeaderCell_1.RenderedHeaderCell(columnGroupChild, this.eRoot, this.dropTarget, this.pinned);\n\t                }\n\t                else {\n\t                    // the future!!!\n\t                    result = new headerWrapperComp_1.HeaderWrapperComp(columnGroupChild, this.eRoot, this.dropTarget, this.pinned);\n\t                }\n\t                break;\n\t            case HeaderRowType.COLUMN_GROUP:\n\t                result = new headerGroupWrapperComp_1.HeaderGroupWrapperComp(columnGroupChild, this.eRoot, this.dropTarget, this.pinned);\n\t                break;\n\t            case HeaderRowType.FLOATING_FILTER:\n\t                var column = columnGroupChild;\n\t                result = this.createFloatingFilterWrapper(column);\n\t                break;\n\t        }\n\t        this.context.wireBean(result);\n\t        return result;\n\t    };\n\t    HeaderRowComp.prototype.createFloatingFilterWrapper = function (column) {\n\t        var _this = this;\n\t        var filterComponent = this.filterManager.getFilterComponent(column);\n\t        var floatingFilterParams = this.createFloatingFilterParams(column);\n\t        var floatingFilterWrapper = this.componentProvider.newFloatingFilterWrapperComponent(filterComponent, column, floatingFilterParams);\n\t        column.addEventListener(column_1.Column.EVENT_FILTER_CHANGED, function () {\n\t            var filterComponent = _this.filterManager.getFilterComponent(column);\n\t            floatingFilterWrapper.onParentModelChanged(filterComponent.getModel());\n\t        });\n\t        floatingFilterWrapper.onParentModelChanged(filterComponent.getModel());\n\t        return floatingFilterWrapper;\n\t    };\n\t    HeaderRowComp.prototype.createFloatingFilterParams = function (column) {\n\t        var _this = this;\n\t        /** We always get the freshest reference to the baseFilter because the filters get sometimes created\n\t         * and destroyed beetwen calls\n\t         *\n\t         *let filterComponent:BaseFilter<any, any, any> = <any>this.filterManager.getFilterComponent(column);\n\t         */\n\t        var baseParams = {\n\t            currentParentModel: function () {\n\t                var filterComponent = _this.filterManager.getFilterComponent(column);\n\t                return (filterComponent.getNullableModel) ?\n\t                    filterComponent.getNullableModel() :\n\t                    filterComponent.getModel();\n\t            },\n\t            onFloatingFilterChanged: function (change) {\n\t                var filterComponent = _this.filterManager.getFilterComponent(column);\n\t                if (filterComponent.onFloatingFilterChanged) {\n\t                    //If going through this branch of code the user MUST\n\t                    //be passing an object of type change that contains\n\t                    //a model propery inside and some other stuff\n\t                    filterComponent.onFloatingFilterChanged(change);\n\t                }\n\t                else {\n\t                    //If going through this branch of code the user MUST\n\t                    //be passing the plain model and delegating to ag-Grid\n\t                    //the responsibility to set the parent model and refresh\n\t                    //the filters\n\t                    filterComponent.setModel(change);\n\t                    _this.filterManager.onFilterChanged();\n\t                }\n\t            },\n\t            //This one might be overriden from the colDef\n\t            suppressFilterButton: false\n\t        };\n\t        return baseParams;\n\t    };\n\t    return HeaderRowComp;\n\t}(component_1.Component));\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], HeaderRowComp.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", columnController_1.ColumnController)\n\t], HeaderRowComp.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('context'),\n\t    __metadata(\"design:type\", context_1.Context)\n\t], HeaderRowComp.prototype, \"context\", void 0);\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], HeaderRowComp.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('filterManager'),\n\t    __metadata(\"design:type\", filterManager_1.FilterManager)\n\t], HeaderRowComp.prototype, \"filterManager\", void 0);\n\t__decorate([\n\t    context_1.Autowired('componentProvider'),\n\t    __metadata(\"design:type\", componentProvider_1.ComponentProvider)\n\t], HeaderRowComp.prototype, \"componentProvider\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], HeaderRowComp.prototype, \"init\", null);\n\texports.HeaderRowComp = HeaderRowComp;\n\t// remove this in v9, when we take out support for the old headers\n\tvar warningGiven = false;\n\n\n/***/ }),\n/* 90 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar utils_1 = __webpack_require__(9);\n\tvar column_1 = __webpack_require__(18);\n\tvar filterManager_1 = __webpack_require__(48);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar headerTemplateLoader_1 = __webpack_require__(91);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar horizontalDragService_1 = __webpack_require__(92);\n\tvar gridCore_1 = __webpack_require__(47);\n\tvar context_1 = __webpack_require__(8);\n\tvar cssClassApplier_1 = __webpack_require__(93);\n\tvar dragAndDropService_1 = __webpack_require__(88);\n\tvar sortController_1 = __webpack_require__(61);\n\tvar setLeftFeature_1 = __webpack_require__(64);\n\tvar touchListener_1 = __webpack_require__(59);\n\tvar component_1 = __webpack_require__(52);\n\tvar RenderedHeaderCell = (function (_super) {\n\t    __extends(RenderedHeaderCell, _super);\n\t    function RenderedHeaderCell(column, eRoot, dragSourceDropTarget, pinned) {\n\t        var _this = _super.call(this) || this;\n\t        _this.column = column;\n\t        _this.eRoot = eRoot;\n\t        _this.dragSourceDropTarget = dragSourceDropTarget;\n\t        _this.pinned = pinned;\n\t        return _this;\n\t    }\n\t    RenderedHeaderCell.prototype.getColumn = function () {\n\t        return this.column;\n\t    };\n\t    RenderedHeaderCell.prototype.init = function () {\n\t        var eGui = this.headerTemplateLoader.createHeaderElement(this.column);\n\t        this.setGui(eGui);\n\t        utils_1.Utils.addCssClass(eGui, 'ag-header-cell');\n\t        this.createScope();\n\t        this.addAttributes();\n\t        cssClassApplier_1.CssClassApplier.addHeaderClassesFromColDef(this.column.getColDef(), eGui, this.gridOptionsWrapper, this.column, null);\n\t        // label div\n\t        var eHeaderCellLabel = eGui.querySelector('#agHeaderCellLabel');\n\t        this.displayName = this.columnController.getDisplayNameForColumn(this.column, 'header', true);\n\t        this.setupMovingCss();\n\t        this.setupTooltip();\n\t        this.setupResize();\n\t        this.setupTap();\n\t        this.setupMove(eHeaderCellLabel);\n\t        this.setupMenu();\n\t        this.setupSort(eHeaderCellLabel);\n\t        this.setupFilterIcon();\n\t        this.setupText();\n\t        this.setupWidth();\n\t        this.addFeature(this.context, new setLeftFeature_1.SetLeftFeature(this.column, eGui));\n\t    };\n\t    RenderedHeaderCell.prototype.setupTooltip = function () {\n\t        var colDef = this.column.getColDef();\n\t        // add tooltip if exists\n\t        if (colDef.headerTooltip) {\n\t            this.getGui().title = colDef.headerTooltip;\n\t        }\n\t    };\n\t    RenderedHeaderCell.prototype.setupText = function () {\n\t        var colDef = this.column.getColDef();\n\t        // render the cell, use a renderer if one is provided\n\t        var headerCellRenderer;\n\t        if (colDef.headerCellRenderer) {\n\t            headerCellRenderer = colDef.headerCellRenderer;\n\t        }\n\t        else if (this.gridOptionsWrapper.getHeaderCellRenderer()) {\n\t            headerCellRenderer = this.gridOptionsWrapper.getHeaderCellRenderer();\n\t        }\n\t        var eText = this.queryForHtmlElement('#agText');\n\t        if (eText) {\n\t            if (headerCellRenderer) {\n\t                this.useRenderer(this.displayName, headerCellRenderer, eText);\n\t            }\n\t            else {\n\t                // no renderer, default text render\n\t                eText.innerHTML = this.displayName;\n\t                // i don't remember why this is here, take it out???\n\t                utils_1.Utils.addCssClass(eText, 'ag-header-cell-text');\n\t            }\n\t        }\n\t    };\n\t    RenderedHeaderCell.prototype.setupFilterIcon = function () {\n\t        this.eFilterIcon = this.queryForHtmlElement('#agFilter');\n\t        if (!this.eFilterIcon) {\n\t            return;\n\t        }\n\t        this.addDestroyableEventListener(this.column, column_1.Column.EVENT_FILTER_CHANGED, this.onFilterChanged.bind(this));\n\t        this.onFilterChanged();\n\t    };\n\t    RenderedHeaderCell.prototype.onFilterChanged = function () {\n\t        var filterPresent = this.column.isFilterActive();\n\t        utils_1.Utils.addOrRemoveCssClass(this.getGui(), 'ag-header-cell-filtered', filterPresent);\n\t        utils_1.Utils.addOrRemoveCssClass(this.eFilterIcon, 'ag-hidden', !filterPresent);\n\t    };\n\t    RenderedHeaderCell.prototype.setupWidth = function () {\n\t        this.addDestroyableEventListener(this.column, column_1.Column.EVENT_WIDTH_CHANGED, this.onColumnWidthChanged.bind(this));\n\t        this.onColumnWidthChanged();\n\t    };\n\t    RenderedHeaderCell.prototype.onColumnWidthChanged = function () {\n\t        this.getGui().style.width = this.column.getActualWidth() + 'px';\n\t    };\n\t    RenderedHeaderCell.prototype.createScope = function () {\n\t        var _this = this;\n\t        if (this.gridOptionsWrapper.isAngularCompileHeaders()) {\n\t            this.childScope = this.$scope.$new();\n\t            this.childScope.colDef = this.column.getColDef();\n\t            this.childScope.colDefWrapper = this.column;\n\t            this.childScope.context = this.gridOptionsWrapper.getContext();\n\t            this.addDestroyFunc(function () {\n\t                _this.childScope.$destroy();\n\t            });\n\t        }\n\t    };\n\t    RenderedHeaderCell.prototype.addAttributes = function () {\n\t        this.getGui().setAttribute(\"colId\", this.column.getColId());\n\t    };\n\t    RenderedHeaderCell.prototype.setupMenu = function () {\n\t        var _this = this;\n\t        var eMenu = this.queryForHtmlElement('#agMenu');\n\t        // if no menu provided in template, do nothing\n\t        if (!eMenu) {\n\t            return;\n\t        }\n\t        var skipMenu = !this.menuFactory.isMenuEnabled(this.column) || this.column.getColDef().suppressMenu;\n\t        if (skipMenu) {\n\t            utils_1.Utils.removeFromParent(eMenu);\n\t            return;\n\t        }\n\t        eMenu.addEventListener('click', function () { return _this.showMenu(eMenu); });\n\t        if (!this.gridOptionsWrapper.isSuppressMenuHide()) {\n\t            eMenu.style.opacity = '0';\n\t            this.addGuiEventListener('mouseover', function () {\n\t                eMenu.style.opacity = '1';\n\t            });\n\t            this.addGuiEventListener('mouseout', function () {\n\t                eMenu.style.opacity = '0';\n\t            });\n\t        }\n\t        var style = eMenu.style;\n\t        style['transition'] = 'opacity 0.2s, border 0.2s';\n\t        style['-webkit-transition'] = 'opacity 0.2s, border 0.2s';\n\t    };\n\t    RenderedHeaderCell.prototype.showMenu = function (eventSource) {\n\t        this.menuFactory.showMenuAfterButtonClick(this.column, eventSource);\n\t    };\n\t    RenderedHeaderCell.prototype.setupMovingCss = function () {\n\t        this.addDestroyableEventListener(this.column, column_1.Column.EVENT_MOVING_CHANGED, this.onColumnMovingChanged.bind(this));\n\t        this.onColumnMovingChanged();\n\t    };\n\t    RenderedHeaderCell.prototype.onColumnMovingChanged = function () {\n\t        // this function adds or removes the moving css, based on if the col is moving.\n\t        // this is what makes the header go dark when it is been moved (gives impression to\n\t        // user that the column was picked up).\n\t        if (this.column.isMoving()) {\n\t            utils_1.Utils.addCssClass(this.getGui(), 'ag-header-cell-moving');\n\t        }\n\t        else {\n\t            utils_1.Utils.removeCssClass(this.getGui(), 'ag-header-cell-moving');\n\t        }\n\t    };\n\t    RenderedHeaderCell.prototype.setupMove = function (eHeaderCellLabel) {\n\t        var _this = this;\n\t        var suppressMove = this.gridOptionsWrapper.isSuppressMovableColumns()\n\t            || this.column.getColDef().suppressMovable\n\t            || this.gridOptionsWrapper.isForPrint();\n\t        if (suppressMove) {\n\t            return;\n\t        }\n\t        if (eHeaderCellLabel) {\n\t            var dragSource = {\n\t                type: dragAndDropService_1.DragSourceType.HeaderCell,\n\t                eElement: eHeaderCellLabel,\n\t                dragItem: [this.column],\n\t                dragItemName: this.displayName,\n\t                dragSourceDropTarget: this.dragSourceDropTarget\n\t            };\n\t            this.dragAndDropService.addDragSource(dragSource, true);\n\t            this.addDestroyFunc(function () { return _this.dragAndDropService.removeDragSource(dragSource); });\n\t        }\n\t    };\n\t    RenderedHeaderCell.prototype.setupTap = function () {\n\t        var _this = this;\n\t        if (this.gridOptionsWrapper.isSuppressTouch()) {\n\t            return;\n\t        }\n\t        var touchListener = new touchListener_1.TouchListener(this.getGui());\n\t        var tapListener = function () {\n\t            _this.sortController.progressSort(_this.column, false);\n\t        };\n\t        var longTapListener = function (touch) {\n\t            _this.gridOptionsWrapper.getApi().showColumnMenuAfterMouseClick(_this.column, touch);\n\t        };\n\t        this.addDestroyableEventListener(touchListener, touchListener_1.TouchListener.EVENT_TAP, tapListener);\n\t        this.addDestroyableEventListener(touchListener, touchListener_1.TouchListener.EVENT_LONG_TAP, longTapListener);\n\t        this.addDestroyFunc(function () { return touchListener.destroy(); });\n\t    };\n\t    RenderedHeaderCell.prototype.setupResize = function () {\n\t        var _this = this;\n\t        var colDef = this.column.getColDef();\n\t        var eResize = this.queryForHtmlElement('#agResizeBar');\n\t        // if no eResize in template, do nothing\n\t        if (!eResize) {\n\t            return;\n\t        }\n\t        var weWantResize = this.gridOptionsWrapper.isEnableColResize() && !colDef.suppressResize;\n\t        if (!weWantResize) {\n\t            utils_1.Utils.removeFromParent(eResize);\n\t            return;\n\t        }\n\t        this.horizontalDragService.addDragHandling({\n\t            eDraggableElement: eResize,\n\t            eBody: this.eRoot,\n\t            cursor: 'col-resize',\n\t            startAfterPixels: 0,\n\t            onDragStart: this.onDragStart.bind(this),\n\t            onDragging: this.onDragging.bind(this)\n\t        });\n\t        var weWantAutoSize = !this.gridOptionsWrapper.isSuppressAutoSize() && !colDef.suppressAutoSize;\n\t        if (weWantAutoSize) {\n\t            this.addDestroyableEventListener(eResize, 'dblclick', function () {\n\t                _this.columnController.autoSizeColumn(_this.column);\n\t            });\n\t        }\n\t    };\n\t    RenderedHeaderCell.prototype.useRenderer = function (headerNameValue, headerCellRenderer, eText) {\n\t        // renderer provided, use it\n\t        var cellRendererParams = {\n\t            colDef: this.column.getColDef(),\n\t            $scope: this.childScope,\n\t            context: this.gridOptionsWrapper.getContext(),\n\t            value: headerNameValue,\n\t            api: this.gridOptionsWrapper.getApi(),\n\t            eHeaderCell: this.getGui()\n\t        };\n\t        var cellRendererResult = headerCellRenderer(cellRendererParams);\n\t        var childToAppend;\n\t        if (utils_1.Utils.isNodeOrElement(cellRendererResult)) {\n\t            // a dom node or element was returned, so add child\n\t            childToAppend = cellRendererResult;\n\t        }\n\t        else {\n\t            // otherwise assume it was html, so just insert\n\t            var eTextSpan = document.createElement(\"span\");\n\t            eTextSpan.innerHTML = cellRendererResult;\n\t            childToAppend = eTextSpan;\n\t        }\n\t        // angular compile header if option is turned on\n\t        if (this.gridOptionsWrapper.isAngularCompileHeaders()) {\n\t            var childToAppendCompiled = this.$compile(childToAppend)(this.childScope)[0];\n\t            eText.appendChild(childToAppendCompiled);\n\t        }\n\t        else {\n\t            eText.appendChild(childToAppend);\n\t        }\n\t    };\n\t    RenderedHeaderCell.prototype.setupSort = function (eHeaderCellLabel) {\n\t        var _this = this;\n\t        var enableSorting = this.gridOptionsWrapper.isEnableSorting() && !this.column.getColDef().suppressSorting;\n\t        var eGui = this.getGui();\n\t        if (!enableSorting) {\n\t            utils_1.Utils.removeFromParent(eGui.querySelector('#agSortAsc'));\n\t            utils_1.Utils.removeFromParent(eGui.querySelector('#agSortDesc'));\n\t            utils_1.Utils.removeFromParent(eGui.querySelector('#agNoSort'));\n\t            return;\n\t        }\n\t        // add sortable class for styling\n\t        utils_1.Utils.addCssClass(eGui, 'ag-header-cell-sortable');\n\t        // add the event on the header, so when clicked, we do sorting\n\t        if (eHeaderCellLabel) {\n\t            eHeaderCellLabel.addEventListener(\"click\", function (event) {\n\t                _this.sortController.progressSort(_this.column, event.shiftKey);\n\t            });\n\t        }\n\t        // add listener for sort changing, and update the icons accordingly\n\t        this.eSortAsc = this.queryForHtmlElement('#agSortAsc');\n\t        this.eSortDesc = this.queryForHtmlElement('#agSortDesc');\n\t        this.eSortNone = this.queryForHtmlElement('#agNoSort');\n\t        this.addDestroyableEventListener(this.column, column_1.Column.EVENT_SORT_CHANGED, this.onSortChanged.bind(this));\n\t        this.onSortChanged();\n\t    };\n\t    RenderedHeaderCell.prototype.onSortChanged = function () {\n\t        utils_1.Utils.addOrRemoveCssClass(this.getGui(), 'ag-header-cell-sorted-asc', this.column.isSortAscending());\n\t        utils_1.Utils.addOrRemoveCssClass(this.getGui(), 'ag-header-cell-sorted-desc', this.column.isSortDescending());\n\t        utils_1.Utils.addOrRemoveCssClass(this.getGui(), 'ag-header-cell-sorted-none', this.column.isSortNone());\n\t        if (this.eSortAsc) {\n\t            utils_1.Utils.addOrRemoveCssClass(this.eSortAsc, 'ag-hidden', !this.column.isSortAscending());\n\t        }\n\t        if (this.eSortDesc) {\n\t            utils_1.Utils.addOrRemoveCssClass(this.eSortDesc, 'ag-hidden', !this.column.isSortDescending());\n\t        }\n\t        if (this.eSortNone) {\n\t            var alwaysHideNoSort = !this.column.getColDef().unSortIcon && !this.gridOptionsWrapper.isUnSortIcon();\n\t            utils_1.Utils.addOrRemoveCssClass(this.eSortNone, 'ag-hidden', alwaysHideNoSort || !this.column.isSortNone());\n\t        }\n\t    };\n\t    RenderedHeaderCell.prototype.onDragStart = function () {\n\t        this.startWidth = this.column.getActualWidth();\n\t    };\n\t    // optionally inverts the drag, depending on pinned and RTL\n\t    // note - this method is duplicated in RenderedHeaderGroupCell - should refactor out?\n\t    RenderedHeaderCell.prototype.normaliseDragChange = function (dragChange) {\n\t        var result = dragChange;\n\t        if (this.gridOptionsWrapper.isEnableRtl()) {\n\t            // for RTL, dragging left makes the col bigger, except when pinning left\n\t            if (this.pinned !== column_1.Column.PINNED_LEFT) {\n\t                result *= -1;\n\t            }\n\t        }\n\t        else {\n\t            // for LTR (ie normal), dragging left makes the col smaller, except when pinning right\n\t            if (this.pinned === column_1.Column.PINNED_RIGHT) {\n\t                result *= -1;\n\t            }\n\t        }\n\t        return result;\n\t    };\n\t    RenderedHeaderCell.prototype.onDragging = function (dragChange, finished) {\n\t        var dragChangeNormalised = this.normaliseDragChange(dragChange);\n\t        var newWidth = this.startWidth + dragChangeNormalised;\n\t        this.columnController.setColumnWidth(this.column, newWidth, finished);\n\t    };\n\t    return RenderedHeaderCell;\n\t}(component_1.Component));\n\t__decorate([\n\t    context_1.Autowired('context'),\n\t    __metadata(\"design:type\", context_1.Context)\n\t], RenderedHeaderCell.prototype, \"context\", void 0);\n\t__decorate([\n\t    context_1.Autowired('filterManager'),\n\t    __metadata(\"design:type\", filterManager_1.FilterManager)\n\t], RenderedHeaderCell.prototype, \"filterManager\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", columnController_1.ColumnController)\n\t], RenderedHeaderCell.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('$compile'),\n\t    __metadata(\"design:type\", Object)\n\t], RenderedHeaderCell.prototype, \"$compile\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridCore'),\n\t    __metadata(\"design:type\", gridCore_1.GridCore)\n\t], RenderedHeaderCell.prototype, \"gridCore\", void 0);\n\t__decorate([\n\t    context_1.Autowired('headerTemplateLoader'),\n\t    __metadata(\"design:type\", headerTemplateLoader_1.HeaderTemplateLoader)\n\t], RenderedHeaderCell.prototype, \"headerTemplateLoader\", void 0);\n\t__decorate([\n\t    context_1.Autowired('horizontalDragService'),\n\t    __metadata(\"design:type\", horizontalDragService_1.HorizontalDragService)\n\t], RenderedHeaderCell.prototype, \"horizontalDragService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('menuFactory'),\n\t    __metadata(\"design:type\", Object)\n\t], RenderedHeaderCell.prototype, \"menuFactory\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], RenderedHeaderCell.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('dragAndDropService'),\n\t    __metadata(\"design:type\", dragAndDropService_1.DragAndDropService)\n\t], RenderedHeaderCell.prototype, \"dragAndDropService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('sortController'),\n\t    __metadata(\"design:type\", sortController_1.SortController)\n\t], RenderedHeaderCell.prototype, \"sortController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('$scope'),\n\t    __metadata(\"design:type\", Object)\n\t], RenderedHeaderCell.prototype, \"$scope\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], RenderedHeaderCell.prototype, \"init\", null);\n\texports.RenderedHeaderCell = RenderedHeaderCell;\n\n\n/***/ }),\n/* 91 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar utils_1 = __webpack_require__(9);\n\tvar svgFactory_1 = __webpack_require__(58);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar context_1 = __webpack_require__(8);\n\tvar svgFactory = svgFactory_1.SvgFactory.getInstance();\n\tvar HeaderTemplateLoader = HeaderTemplateLoader_1 = (function () {\n\t    function HeaderTemplateLoader() {\n\t    }\n\t    HeaderTemplateLoader.prototype.createHeaderElement = function (column) {\n\t        var params = {\n\t            column: column,\n\t            colDef: column.getColDef,\n\t            context: this.gridOptionsWrapper.getContext(),\n\t            api: this.gridOptionsWrapper.getApi()\n\t        };\n\t        // option 1 - see if user provided a template in colDef\n\t        var userProvidedTemplate = column.getColDef().headerCellTemplate;\n\t        if (typeof userProvidedTemplate === 'function') {\n\t            var colDefFunc = userProvidedTemplate;\n\t            userProvidedTemplate = colDefFunc(params);\n\t        }\n\t        // option 2 - check the gridOptions for cellTemplate\n\t        if (!userProvidedTemplate && this.gridOptionsWrapper.getHeaderCellTemplate()) {\n\t            userProvidedTemplate = this.gridOptionsWrapper.getHeaderCellTemplate();\n\t        }\n\t        // option 3 - check the gridOptions for templateFunction\n\t        if (!userProvidedTemplate && this.gridOptionsWrapper.getHeaderCellTemplateFunc()) {\n\t            var gridOptionsFunc = this.gridOptionsWrapper.getHeaderCellTemplateFunc();\n\t            userProvidedTemplate = gridOptionsFunc(params);\n\t        }\n\t        // finally, if still no template, use the default\n\t        if (!userProvidedTemplate) {\n\t            userProvidedTemplate = this.createDefaultHeaderElement(column);\n\t        }\n\t        // template can be a string or a dom element, if string we need to convert to a dom element\n\t        var result;\n\t        if (typeof userProvidedTemplate === 'string') {\n\t            result = utils_1.Utils.loadTemplate(userProvidedTemplate);\n\t        }\n\t        else if (utils_1.Utils.isNodeOrElement(userProvidedTemplate)) {\n\t            result = userProvidedTemplate;\n\t        }\n\t        else {\n\t            console.error('ag-Grid: header template must be a string or an HTML element');\n\t        }\n\t        return result;\n\t    };\n\t    HeaderTemplateLoader.prototype.createDefaultHeaderElement = function (column) {\n\t        var eTemplate = utils_1.Utils.loadTemplate(HeaderTemplateLoader_1.HEADER_CELL_TEMPLATE);\n\t        this.addInIcon(eTemplate, 'sortAscending', '#agSortAsc', column, svgFactory.createArrowUpSvg);\n\t        this.addInIcon(eTemplate, 'sortDescending', '#agSortDesc', column, svgFactory.createArrowDownSvg);\n\t        this.addInIcon(eTemplate, 'sortUnSort', '#agNoSort', column, svgFactory.createArrowUpDownSvg);\n\t        this.addInIcon(eTemplate, 'menu', '#agMenu', column, svgFactory.createMenuSvg);\n\t        this.addInIcon(eTemplate, 'filter', '#agFilter', column, svgFactory.createFilterSvg);\n\t        return eTemplate;\n\t    };\n\t    HeaderTemplateLoader.prototype.addInIcon = function (eTemplate, iconName, cssSelector, column, defaultIconFactory) {\n\t        var eIcon = utils_1.Utils.createIconNoSpan(iconName, this.gridOptionsWrapper, column, defaultIconFactory);\n\t        eTemplate.querySelector(cssSelector).appendChild(eIcon);\n\t    };\n\t    return HeaderTemplateLoader;\n\t}());\n\tHeaderTemplateLoader.HEADER_CELL_TEMPLATE = '<div class=\"ag-header-cell\">' +\n\t    '  <div id=\"agResizeBar\" class=\"ag-header-cell-resize\"></div>' +\n\t    '  <span id=\"agMenu\" class=\"ag-header-icon ag-header-cell-menu-button\"></span>' +\n\t    '  <div id=\"agHeaderCellLabel\" class=\"ag-header-cell-label\">' +\n\t    '    <span id=\"agSortAsc\" class=\"ag-header-icon ag-sort-ascending-icon\"></span>' +\n\t    '    <span id=\"agSortDesc\" class=\"ag-header-icon ag-sort-descending-icon\"></span>' +\n\t    '    <span id=\"agNoSort\" class=\"ag-header-icon ag-sort-none-icon\"></span>' +\n\t    '    <span id=\"agFilter\" class=\"ag-header-icon ag-filter-icon\"></span>' +\n\t    '    <span id=\"agText\" class=\"ag-header-cell-text\"></span>' +\n\t    '  </div>' +\n\t    '</div>';\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], HeaderTemplateLoader.prototype, \"gridOptionsWrapper\", void 0);\n\tHeaderTemplateLoader = HeaderTemplateLoader_1 = __decorate([\n\t    context_1.Bean('headerTemplateLoader')\n\t], HeaderTemplateLoader);\n\texports.HeaderTemplateLoader = HeaderTemplateLoader;\n\tvar HeaderTemplateLoader_1;\n\n\n/***/ }),\n/* 92 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar context_1 = __webpack_require__(8);\n\tvar HorizontalDragService = (function () {\n\t    function HorizontalDragService() {\n\t    }\n\t    HorizontalDragService.prototype.addDragHandling = function (params) {\n\t        var _this = this;\n\t        params.eDraggableElement.addEventListener('mousedown', function (startEvent) {\n\t            var myDocument = _this.gridOptionsWrapper.getDocument();\n\t            var eBody = myDocument.querySelector('body');\n\t            new DragInstance(params, startEvent, eBody);\n\t        });\n\t    };\n\t    return HorizontalDragService;\n\t}());\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], HorizontalDragService.prototype, \"gridOptionsWrapper\", void 0);\n\tHorizontalDragService = __decorate([\n\t    context_1.Bean('horizontalDragService')\n\t], HorizontalDragService);\n\texports.HorizontalDragService = HorizontalDragService;\n\tvar DragInstance = (function () {\n\t    function DragInstance(params, startEvent, eBody) {\n\t        this.mouseMove = this.onMouseMove.bind(this);\n\t        this.mouseUp = this.onMouseUp.bind(this);\n\t        this.mouseLeave = this.onMouseLeave.bind(this);\n\t        this.lastDelta = 0;\n\t        this.params = params;\n\t        this.eDragParent = eBody;\n\t        this.dragStartX = startEvent.clientX;\n\t        this.startEvent = startEvent;\n\t        this.eDragParent.addEventListener('mousemove', this.mouseMove);\n\t        this.eDragParent.addEventListener('mouseup', this.mouseUp);\n\t        this.eDragParent.addEventListener('mouseleave', this.mouseLeave);\n\t        this.draggingStarted = false;\n\t        var startAfterPixelsExist = typeof params.startAfterPixels === 'number' && params.startAfterPixels > 0;\n\t        if (!startAfterPixelsExist) {\n\t            this.startDragging();\n\t        }\n\t    }\n\t    DragInstance.prototype.startDragging = function () {\n\t        this.draggingStarted = true;\n\t        this.oldBodyCursor = this.params.eBody.style.cursor;\n\t        this.oldParentCursor = this.eDragParent.style.cursor;\n\t        this.oldMsUserSelect = this.eDragParent.style.msUserSelect;\n\t        this.oldWebkitUserSelect = this.eDragParent.style.webkitUserSelect;\n\t        // change the body cursor, so when drag moves out of the drag bar, the cursor is still 'resize' (or 'move'\n\t        this.params.eBody.style.cursor = this.params.cursor;\n\t        // same for outside the grid, we want to keep the resize (or move) cursor\n\t        this.eDragParent.style.cursor = this.params.cursor;\n\t        // we don't want text selection outside the grid (otherwise it looks weird as text highlights when we move)\n\t        this.eDragParent.style.msUserSelect = 'none';\n\t        this.eDragParent.style.webkitUserSelect = 'none';\n\t        this.params.onDragStart(this.startEvent);\n\t    };\n\t    DragInstance.prototype.onMouseMove = function (moveEvent) {\n\t        var newX = moveEvent.clientX;\n\t        this.lastDelta = newX - this.dragStartX;\n\t        if (!this.draggingStarted) {\n\t            var dragExceededStartAfterPixels = Math.abs(this.lastDelta) >= this.params.startAfterPixels;\n\t            if (dragExceededStartAfterPixels) {\n\t                this.startDragging();\n\t            }\n\t        }\n\t        if (this.draggingStarted) {\n\t            this.params.onDragging(this.lastDelta, false);\n\t        }\n\t    };\n\t    DragInstance.prototype.onMouseUp = function () {\n\t        this.stopDragging();\n\t    };\n\t    DragInstance.prototype.onMouseLeave = function () {\n\t        this.stopDragging();\n\t    };\n\t    DragInstance.prototype.stopDragging = function () {\n\t        // reset cursor back to original cursor, if they were changed in the first place\n\t        if (this.draggingStarted) {\n\t            this.params.eBody.style.cursor = this.oldBodyCursor;\n\t            this.eDragParent.style.cursor = this.oldParentCursor;\n\t            this.eDragParent.style.msUserSelect = this.oldMsUserSelect;\n\t            this.eDragParent.style.webkitUserSelect = this.oldWebkitUserSelect;\n\t            this.params.onDragging(this.lastDelta, true);\n\t        }\n\t        // always remove the listeners, as these are always added\n\t        this.eDragParent.removeEventListener('mousemove', this.mouseMove);\n\t        this.eDragParent.removeEventListener('mouseup', this.mouseUp);\n\t        this.eDragParent.removeEventListener('mouseleave', this.mouseLeave);\n\t    };\n\t    return DragInstance;\n\t}());\n\n\n/***/ }),\n/* 93 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar utils_1 = __webpack_require__(9);\n\tvar CssClassApplier = (function () {\n\t    function CssClassApplier() {\n\t    }\n\t    CssClassApplier.addHeaderClassesFromColDef = function (abstractColDef, eHeaderCell, gridOptionsWrapper, column, columnGroup) {\n\t        if (utils_1.Utils.missing(abstractColDef)) {\n\t            return;\n\t        }\n\t        this.addColumnClassesFromCollDef(abstractColDef.headerClass, abstractColDef, eHeaderCell, gridOptionsWrapper, column, columnGroup);\n\t    };\n\t    CssClassApplier.addToolPanelClassesFromColDef = function (abstractColDef, eHeaderCell, gridOptionsWrapper, column, columnGroup) {\n\t        if (utils_1.Utils.missing(abstractColDef)) {\n\t            return;\n\t        }\n\t        this.addColumnClassesFromCollDef(abstractColDef.toolPanelClass, abstractColDef, eHeaderCell, gridOptionsWrapper, column, columnGroup);\n\t    };\n\t    CssClassApplier.addColumnClassesFromCollDef = function (classesOrFunc, abstractColDef, eHeaderCell, gridOptionsWrapper, column, columnGroup) {\n\t        if (utils_1.Utils.missing(classesOrFunc)) {\n\t            return;\n\t        }\n\t        var classToUse;\n\t        if (typeof classesOrFunc === 'function') {\n\t            var params = {\n\t                // bad naming, as colDef here can be a group or a column,\n\t                // however most people won't appreciate the difference,\n\t                // so keeping it as colDef to avoid confusion.\n\t                colDef: abstractColDef,\n\t                column: column,\n\t                columnGroup: columnGroup,\n\t                context: gridOptionsWrapper.getContext(),\n\t                api: gridOptionsWrapper.getApi()\n\t            };\n\t            var headerClassFunc = classesOrFunc;\n\t            classToUse = headerClassFunc(params);\n\t        }\n\t        else {\n\t            classToUse = classesOrFunc;\n\t        }\n\t        if (typeof classToUse === 'string') {\n\t            utils_1.Utils.addCssClass(eHeaderCell, classToUse);\n\t        }\n\t        else if (Array.isArray(classToUse)) {\n\t            classToUse.forEach(function (cssClassItem) {\n\t                utils_1.Utils.addCssClass(eHeaderCell, cssClassItem);\n\t            });\n\t        }\n\t    };\n\t    return CssClassApplier;\n\t}());\n\texports.CssClassApplier = CssClassApplier;\n\n\n/***/ }),\n/* 94 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar component_1 = __webpack_require__(52);\n\tvar context_1 = __webpack_require__(8);\n\tvar column_1 = __webpack_require__(18);\n\tvar utils_1 = __webpack_require__(9);\n\tvar dragAndDropService_1 = __webpack_require__(88);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar horizontalDragService_1 = __webpack_require__(92);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar cssClassApplier_1 = __webpack_require__(93);\n\tvar setLeftFeature_1 = __webpack_require__(64);\n\tvar gridApi_1 = __webpack_require__(13);\n\tvar sortController_1 = __webpack_require__(61);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar componentProvider_1 = __webpack_require__(56);\n\tvar agCheckbox_1 = __webpack_require__(95);\n\tvar componentAnnotations_1 = __webpack_require__(53);\n\tvar selectAllFeature_1 = __webpack_require__(96);\n\tvar events_1 = __webpack_require__(12);\n\tvar columnHoverService_1 = __webpack_require__(84);\n\tvar HeaderWrapperComp = (function (_super) {\n\t    __extends(HeaderWrapperComp, _super);\n\t    function HeaderWrapperComp(column, eRoot, dragSourceDropTarget, pinned) {\n\t        var _this = _super.call(this, HeaderWrapperComp.TEMPLATE) || this;\n\t        _this.column = column;\n\t        _this.eRoot = eRoot;\n\t        _this.dragSourceDropTarget = dragSourceDropTarget;\n\t        _this.pinned = pinned;\n\t        return _this;\n\t    }\n\t    HeaderWrapperComp.prototype.getColumn = function () {\n\t        return this.column;\n\t    };\n\t    HeaderWrapperComp.prototype.init = function () {\n\t        this.instantiate(this.context);\n\t        var displayName = this.columnController.getDisplayNameForColumn(this.column, 'header', true);\n\t        var enableSorting = this.gridOptionsWrapper.isEnableSorting() && !this.column.getColDef().suppressSorting;\n\t        var enableMenu = this.menuFactory.isMenuEnabled(this.column) && !this.column.getColDef().suppressMenu;\n\t        var headerComp = this.appendHeaderComp(displayName, enableSorting, enableMenu);\n\t        this.setupWidth();\n\t        this.setupMovingCss();\n\t        this.setupTooltip();\n\t        this.setupResize();\n\t        this.setupMove(headerComp.getGui(), displayName);\n\t        this.setupSortableClass(enableSorting);\n\t        this.addColumnHoverListener();\n\t        this.addDestroyableEventListener(this.column, column_1.Column.EVENT_FILTER_ACTIVE_CHANGED, this.onFilterChanged.bind(this));\n\t        this.onFilterChanged();\n\t        this.addFeature(this.context, new setLeftFeature_1.SetLeftFeature(this.column, this.getGui()));\n\t        this.addFeature(this.context, new selectAllFeature_1.SelectAllFeature(this.cbSelectAll, this.column));\n\t        this.addAttributes();\n\t        cssClassApplier_1.CssClassApplier.addHeaderClassesFromColDef(this.column.getColDef(), this.getGui(), this.gridOptionsWrapper, this.column, null);\n\t    };\n\t    HeaderWrapperComp.prototype.addColumnHoverListener = function () {\n\t        this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_COLUMN_HOVER_CHANGED, this.onColumnHover.bind(this));\n\t        this.onColumnHover();\n\t    };\n\t    HeaderWrapperComp.prototype.onColumnHover = function () {\n\t        var isHovered = this.columnHoverService.isHovered(this.column);\n\t        utils_1.Utils.addOrRemoveCssClass(this.getGui(), 'ag-column-hover', isHovered);\n\t    };\n\t    HeaderWrapperComp.prototype.setupSortableClass = function (enableSorting) {\n\t        if (enableSorting) {\n\t            var eGui = this.getGui();\n\t            utils_1.Utils.addCssClass(eGui, 'ag-header-cell-sortable');\n\t        }\n\t    };\n\t    HeaderWrapperComp.prototype.onFilterChanged = function () {\n\t        var filterPresent = this.column.isFilterActive();\n\t        utils_1.Utils.addOrRemoveCssClass(this.getGui(), 'ag-header-cell-filtered', filterPresent);\n\t    };\n\t    HeaderWrapperComp.prototype.appendHeaderComp = function (displayName, enableSorting, enableMenu) {\n\t        var _this = this;\n\t        var params = {\n\t            column: this.column,\n\t            displayName: displayName,\n\t            enableSorting: enableSorting,\n\t            enableMenu: enableMenu,\n\t            showColumnMenu: function (source) {\n\t                _this.gridApi.showColumnMenuAfterButtonClick(_this.column, source);\n\t            },\n\t            progressSort: function (multiSort) {\n\t                _this.sortController.progressSort(_this.column, !!multiSort);\n\t            },\n\t            setSort: function (sort, multiSort) {\n\t                _this.sortController.setSortForColumn(_this.column, sort, !!multiSort);\n\t            },\n\t            api: this.gridApi,\n\t            columnApi: this.columnApi,\n\t            context: this.gridOptionsWrapper.getContext()\n\t        };\n\t        var headerComp = this.componentProvider.newHeaderComponent(params);\n\t        this.appendChild(headerComp);\n\t        return headerComp;\n\t    };\n\t    HeaderWrapperComp.prototype.onColumnMovingChanged = function () {\n\t        // this function adds or removes the moving css, based on if the col is moving.\n\t        // this is what makes the header go dark when it is been moved (gives impression to\n\t        // user that the column was picked up).\n\t        if (this.column.isMoving()) {\n\t            utils_1.Utils.addCssClass(this.getGui(), 'ag-header-cell-moving');\n\t        }\n\t        else {\n\t            utils_1.Utils.removeCssClass(this.getGui(), 'ag-header-cell-moving');\n\t        }\n\t    };\n\t    HeaderWrapperComp.prototype.setupMove = function (eHeaderCellLabel, displayName) {\n\t        var _this = this;\n\t        var suppressMove = this.gridOptionsWrapper.isSuppressMovableColumns()\n\t            || this.column.getColDef().suppressMovable\n\t            || this.gridOptionsWrapper.isForPrint();\n\t        if (suppressMove) {\n\t            return;\n\t        }\n\t        if (eHeaderCellLabel) {\n\t            var dragSource = {\n\t                type: dragAndDropService_1.DragSourceType.HeaderCell,\n\t                eElement: eHeaderCellLabel,\n\t                dragItem: [this.column],\n\t                dragItemName: displayName,\n\t                dragSourceDropTarget: this.dragSourceDropTarget\n\t            };\n\t            this.dragAndDropService.addDragSource(dragSource, true);\n\t            this.addDestroyFunc(function () { return _this.dragAndDropService.removeDragSource(dragSource); });\n\t        }\n\t    };\n\t    HeaderWrapperComp.prototype.setupResize = function () {\n\t        var _this = this;\n\t        var colDef = this.column.getColDef();\n\t        // if no eResize in template, do nothing\n\t        if (!this.eResize) {\n\t            return;\n\t        }\n\t        var weWantResize = this.gridOptionsWrapper.isEnableColResize() && !colDef.suppressResize;\n\t        if (!weWantResize) {\n\t            utils_1.Utils.removeFromParent(this.eResize);\n\t            return;\n\t        }\n\t        this.horizontalDragService.addDragHandling({\n\t            eDraggableElement: this.eResize,\n\t            eBody: this.eRoot,\n\t            cursor: 'col-resize',\n\t            startAfterPixels: 0,\n\t            onDragStart: this.onDragStart.bind(this),\n\t            onDragging: this.onDragging.bind(this)\n\t        });\n\t        var weWantAutoSize = !this.gridOptionsWrapper.isSuppressAutoSize() && !colDef.suppressAutoSize;\n\t        if (weWantAutoSize) {\n\t            this.addDestroyableEventListener(this.eResize, 'dblclick', function () {\n\t                _this.columnController.autoSizeColumn(_this.column);\n\t            });\n\t        }\n\t    };\n\t    HeaderWrapperComp.prototype.onDragging = function (dragChange, finished) {\n\t        var dragChangeNormalised = this.normaliseDragChange(dragChange);\n\t        var newWidth = this.startWidth + dragChangeNormalised;\n\t        this.columnController.setColumnWidth(this.column, newWidth, finished);\n\t    };\n\t    HeaderWrapperComp.prototype.onDragStart = function () {\n\t        this.startWidth = this.column.getActualWidth();\n\t    };\n\t    HeaderWrapperComp.prototype.setupTooltip = function () {\n\t        var colDef = this.column.getColDef();\n\t        // add tooltip if exists\n\t        if (colDef.headerTooltip) {\n\t            this.getGui().title = colDef.headerTooltip;\n\t        }\n\t    };\n\t    HeaderWrapperComp.prototype.setupMovingCss = function () {\n\t        this.addDestroyableEventListener(this.column, column_1.Column.EVENT_MOVING_CHANGED, this.onColumnMovingChanged.bind(this));\n\t        this.onColumnMovingChanged();\n\t    };\n\t    HeaderWrapperComp.prototype.addAttributes = function () {\n\t        this.getGui().setAttribute(\"colId\", this.column.getColId());\n\t    };\n\t    HeaderWrapperComp.prototype.setupWidth = function () {\n\t        this.addDestroyableEventListener(this.column, column_1.Column.EVENT_WIDTH_CHANGED, this.onColumnWidthChanged.bind(this));\n\t        this.onColumnWidthChanged();\n\t    };\n\t    HeaderWrapperComp.prototype.onColumnWidthChanged = function () {\n\t        this.getGui().style.width = this.column.getActualWidth() + 'px';\n\t    };\n\t    // optionally inverts the drag, depending on pinned and RTL\n\t    // note - this method is duplicated in RenderedHeaderGroupCell - should refactor out?\n\t    HeaderWrapperComp.prototype.normaliseDragChange = function (dragChange) {\n\t        var result = dragChange;\n\t        if (this.gridOptionsWrapper.isEnableRtl()) {\n\t            // for RTL, dragging left makes the col bigger, except when pinning left\n\t            if (this.pinned !== column_1.Column.PINNED_LEFT) {\n\t                result *= -1;\n\t            }\n\t        }\n\t        else {\n\t            // for LTR (ie normal), dragging left makes the col smaller, except when pinning right\n\t            if (this.pinned === column_1.Column.PINNED_RIGHT) {\n\t                result *= -1;\n\t            }\n\t        }\n\t        return result;\n\t    };\n\t    return HeaderWrapperComp;\n\t}(component_1.Component));\n\tHeaderWrapperComp.TEMPLATE = '<div class=\"ag-header-cell\">' +\n\t    '<div ref=\"eResize\" class=\"ag-header-cell-resize\"></div>' +\n\t    '<ag-checkbox ref=\"cbSelectAll\" class=\"ag-header-select-all\"></ag-checkbox>' +\n\t    // <inner component goes here>\n\t    '</div>';\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], HeaderWrapperComp.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('dragAndDropService'),\n\t    __metadata(\"design:type\", dragAndDropService_1.DragAndDropService)\n\t], HeaderWrapperComp.prototype, \"dragAndDropService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", columnController_1.ColumnController)\n\t], HeaderWrapperComp.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('horizontalDragService'),\n\t    __metadata(\"design:type\", horizontalDragService_1.HorizontalDragService)\n\t], HeaderWrapperComp.prototype, \"horizontalDragService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('context'),\n\t    __metadata(\"design:type\", context_1.Context)\n\t], HeaderWrapperComp.prototype, \"context\", void 0);\n\t__decorate([\n\t    context_1.Autowired('menuFactory'),\n\t    __metadata(\"design:type\", Object)\n\t], HeaderWrapperComp.prototype, \"menuFactory\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridApi'),\n\t    __metadata(\"design:type\", gridApi_1.GridApi)\n\t], HeaderWrapperComp.prototype, \"gridApi\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnApi'),\n\t    __metadata(\"design:type\", columnController_1.ColumnApi)\n\t], HeaderWrapperComp.prototype, \"columnApi\", void 0);\n\t__decorate([\n\t    context_1.Autowired('sortController'),\n\t    __metadata(\"design:type\", sortController_1.SortController)\n\t], HeaderWrapperComp.prototype, \"sortController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], HeaderWrapperComp.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('componentProvider'),\n\t    __metadata(\"design:type\", componentProvider_1.ComponentProvider)\n\t], HeaderWrapperComp.prototype, \"componentProvider\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnHoverService'),\n\t    __metadata(\"design:type\", columnHoverService_1.ColumnHoverService)\n\t], HeaderWrapperComp.prototype, \"columnHoverService\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.RefSelector('eResize'),\n\t    __metadata(\"design:type\", HTMLElement)\n\t], HeaderWrapperComp.prototype, \"eResize\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.RefSelector('cbSelectAll'),\n\t    __metadata(\"design:type\", agCheckbox_1.AgCheckbox)\n\t], HeaderWrapperComp.prototype, \"cbSelectAll\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], HeaderWrapperComp.prototype, \"init\", null);\n\texports.HeaderWrapperComp = HeaderWrapperComp;\n\n\n/***/ }),\n/* 95 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar component_1 = __webpack_require__(52);\n\tvar componentAnnotations_1 = __webpack_require__(53);\n\tvar utils_1 = __webpack_require__(9);\n\tvar context_1 = __webpack_require__(8);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar svgFactory_1 = __webpack_require__(58);\n\tvar svgFactory = svgFactory_1.SvgFactory.getInstance();\n\tvar AgCheckbox = (function (_super) {\n\t    __extends(AgCheckbox, _super);\n\t    function AgCheckbox() {\n\t        var _this = _super.call(this) || this;\n\t        _this.selected = false;\n\t        _this.readOnly = false;\n\t        _this.passive = false;\n\t        return _this;\n\t    }\n\t    AgCheckbox.prototype.postConstruct = function () {\n\t        this.setTemplate(AgCheckbox.TEMPLATE);\n\t        this.loadIcons();\n\t        this.updateIcons();\n\t    };\n\t    AgCheckbox.prototype.attributesSet = function () {\n\t        _super.prototype.attributesSet.call(this);\n\t        var label = this.getAttribute('label');\n\t        if (label) {\n\t            this.eLabel.innerText = label;\n\t        }\n\t    };\n\t    AgCheckbox.prototype.loadIcons = function () {\n\t        utils_1.Utils.removeAllChildren(this.eChecked);\n\t        utils_1.Utils.removeAllChildren(this.eUnchecked);\n\t        utils_1.Utils.removeAllChildren(this.eIndeterminate);\n\t        if (this.readOnly) {\n\t            this.eChecked.appendChild(utils_1.Utils.createIconNoSpan('checkboxCheckedReadOnly', this.gridOptionsWrapper, null, svgFactory.createCheckboxCheckedReadOnlyIcon));\n\t            this.eUnchecked.appendChild(utils_1.Utils.createIconNoSpan('checkboxUncheckedReadOnly', this.gridOptionsWrapper, null, svgFactory.createCheckboxUncheckedReadOnlyIcon));\n\t            this.eIndeterminate.appendChild(utils_1.Utils.createIconNoSpan('checkboxIndeterminateReadOnly', this.gridOptionsWrapper, null, svgFactory.createCheckboxIndeterminateReadOnlyIcon));\n\t        }\n\t        else {\n\t            this.eChecked.appendChild(utils_1.Utils.createIconNoSpan('checkboxChecked', this.gridOptionsWrapper, null, svgFactory.createCheckboxCheckedIcon));\n\t            this.eUnchecked.appendChild(utils_1.Utils.createIconNoSpan('checkboxUnchecked', this.gridOptionsWrapper, null, svgFactory.createCheckboxUncheckedIcon));\n\t            this.eIndeterminate.appendChild(utils_1.Utils.createIconNoSpan('checkboxIndeterminate', this.gridOptionsWrapper, null, svgFactory.createCheckboxIndeterminateIcon));\n\t        }\n\t    };\n\t    AgCheckbox.prototype.onClick = function () {\n\t        if (!this.readOnly) {\n\t            this.toggle();\n\t        }\n\t    };\n\t    AgCheckbox.prototype.getNextValue = function () {\n\t        if (this.selected === undefined) {\n\t            return true;\n\t        }\n\t        else {\n\t            return !this.selected;\n\t        }\n\t    };\n\t    AgCheckbox.prototype.setPassive = function (passive) {\n\t        this.passive = passive;\n\t    };\n\t    AgCheckbox.prototype.setReadOnly = function (readOnly) {\n\t        this.readOnly = readOnly;\n\t        this.loadIcons();\n\t    };\n\t    AgCheckbox.prototype.isReadOnly = function () {\n\t        return this.readOnly;\n\t    };\n\t    AgCheckbox.prototype.isSelected = function () {\n\t        return this.selected;\n\t    };\n\t    AgCheckbox.prototype.toggle = function () {\n\t        var nextValue = this.getNextValue();\n\t        if (this.passive) {\n\t            this.dispatchEvent(AgCheckbox.EVENT_CHANGED, { selected: nextValue });\n\t        }\n\t        else {\n\t            this.setSelected(nextValue);\n\t        }\n\t    };\n\t    AgCheckbox.prototype.setSelected = function (selected) {\n\t        if (this.selected === selected) {\n\t            return;\n\t        }\n\t        if (selected === true) {\n\t            this.selected = true;\n\t        }\n\t        else if (selected === false) {\n\t            this.selected = false;\n\t        }\n\t        else {\n\t            this.selected = undefined;\n\t        }\n\t        this.updateIcons();\n\t        this.dispatchEvent(AgCheckbox.EVENT_CHANGED, { selected: this.selected });\n\t    };\n\t    AgCheckbox.prototype.updateIcons = function () {\n\t        utils_1.Utils.setVisible(this.eChecked, this.selected === true);\n\t        utils_1.Utils.setVisible(this.eUnchecked, this.selected === false);\n\t        utils_1.Utils.setVisible(this.eIndeterminate, this.selected === undefined);\n\t    };\n\t    return AgCheckbox;\n\t}(component_1.Component));\n\tAgCheckbox.EVENT_CHANGED = 'change';\n\tAgCheckbox.TEMPLATE = '<span class=\"ag-checkbox\">' +\n\t    '  <span class=\"ag-checkbox-checked\"></span>' +\n\t    '  <span class=\"ag-checkbox-unchecked\"></span>' +\n\t    '  <span class=\"ag-checkbox-indeterminate\"></span>' +\n\t    '  <span class=\"ag-checkbox-label\"></span>' +\n\t    '</span>';\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], AgCheckbox.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.QuerySelector('.ag-checkbox-checked'),\n\t    __metadata(\"design:type\", HTMLElement)\n\t], AgCheckbox.prototype, \"eChecked\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.QuerySelector('.ag-checkbox-unchecked'),\n\t    __metadata(\"design:type\", HTMLElement)\n\t], AgCheckbox.prototype, \"eUnchecked\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.QuerySelector('.ag-checkbox-indeterminate'),\n\t    __metadata(\"design:type\", HTMLElement)\n\t], AgCheckbox.prototype, \"eIndeterminate\", void 0);\n\t__decorate([\n\t    componentAnnotations_1.QuerySelector('.ag-checkbox-label'),\n\t    __metadata(\"design:type\", HTMLElement)\n\t], AgCheckbox.prototype, \"eLabel\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], AgCheckbox.prototype, \"postConstruct\", null);\n\t__decorate([\n\t    componentAnnotations_1.Listener('click'),\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], AgCheckbox.prototype, \"onClick\", null);\n\texports.AgCheckbox = AgCheckbox;\n\n\n/***/ }),\n/* 96 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar agCheckbox_1 = __webpack_require__(95);\n\tvar beanStub_1 = __webpack_require__(40);\n\tvar context_1 = __webpack_require__(8);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar gridApi_1 = __webpack_require__(13);\n\tvar events_1 = __webpack_require__(12);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar constants_1 = __webpack_require__(10);\n\tvar selectionController_1 = __webpack_require__(31);\n\tvar SelectAllFeature = (function (_super) {\n\t    __extends(SelectAllFeature, _super);\n\t    function SelectAllFeature(cbSelectAll, column) {\n\t        var _this = _super.call(this) || this;\n\t        _this.cbSelectAllVisible = false;\n\t        _this.processingEventFromCheckbox = false;\n\t        _this.cbSelectAll = cbSelectAll;\n\t        _this.column = column;\n\t        var colDef = column.getColDef();\n\t        _this.filteredOnly = colDef ? !!colDef.headerCheckboxSelectionFilteredOnly : false;\n\t        return _this;\n\t    }\n\t    SelectAllFeature.prototype.postConstruct = function () {\n\t        this.showOrHideSelectAll();\n\t        this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_DISPLAYED_COLUMNS_CHANGED, this.showOrHideSelectAll.bind(this));\n\t        this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_SELECTION_CHANGED, this.onSelectionChanged.bind(this));\n\t        this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_MODEL_UPDATED, this.onModelChanged.bind(this));\n\t        this.addDestroyableEventListener(this.cbSelectAll, agCheckbox_1.AgCheckbox.EVENT_CHANGED, this.onCbSelectAll.bind(this));\n\t    };\n\t    SelectAllFeature.prototype.showOrHideSelectAll = function () {\n\t        this.cbSelectAllVisible = this.isCheckboxSelection();\n\t        this.cbSelectAll.setVisible(this.cbSelectAllVisible);\n\t        if (this.cbSelectAllVisible) {\n\t            // in case user is trying this feature with the wrong model type\n\t            this.checkRightRowModelType();\n\t            // make sure checkbox is showing the right state\n\t            this.updateStateOfCheckbox();\n\t        }\n\t    };\n\t    SelectAllFeature.prototype.onModelChanged = function () {\n\t        if (!this.cbSelectAllVisible) {\n\t            return;\n\t        }\n\t        this.updateStateOfCheckbox();\n\t    };\n\t    SelectAllFeature.prototype.onSelectionChanged = function () {\n\t        if (!this.cbSelectAllVisible) {\n\t            return;\n\t        }\n\t        this.updateStateOfCheckbox();\n\t    };\n\t    SelectAllFeature.prototype.getNextCheckboxState = function (selectionCount) {\n\t        if (selectionCount.selected === 0 && selectionCount.notSelected === 0) {\n\t            // if no rows, always have it unselected\n\t            return false;\n\t        }\n\t        else if (selectionCount.selected > 0 && selectionCount.notSelected > 0) {\n\t            // if mix of selected and unselected, this is the tri-state\n\t            return null;\n\t        }\n\t        else if (selectionCount.selected > 0) {\n\t            // only selected\n\t            return true;\n\t        }\n\t        else {\n\t            // nothing selected\n\t            return false;\n\t        }\n\t    };\n\t    SelectAllFeature.prototype.updateStateOfCheckbox = function () {\n\t        if (this.processingEventFromCheckbox) {\n\t            return;\n\t        }\n\t        this.processingEventFromCheckbox = true;\n\t        var selectionCount = this.getSelectionCount();\n\t        var allSelected = this.getNextCheckboxState(selectionCount);\n\t        this.cbSelectAll.setSelected(allSelected);\n\t        this.processingEventFromCheckbox = false;\n\t    };\n\t    SelectAllFeature.prototype.getSelectionCount = function () {\n\t        var selectedCount = 0;\n\t        var notSelectedCount = 0;\n\t        var callback = function (node) {\n\t            if (node.isSelected()) {\n\t                selectedCount++;\n\t            }\n\t            else {\n\t                notSelectedCount++;\n\t            }\n\t        };\n\t        if (this.filteredOnly) {\n\t            this.gridApi.forEachNodeAfterFilter(callback);\n\t        }\n\t        else {\n\t            this.gridApi.forEachNode(callback);\n\t        }\n\t        return {\n\t            notSelected: notSelectedCount,\n\t            selected: selectedCount\n\t        };\n\t    };\n\t    SelectAllFeature.prototype.checkRightRowModelType = function () {\n\t        var rowModelType = this.rowModel.getType();\n\t        var rowModelMatches = rowModelType === constants_1.Constants.ROW_MODEL_TYPE_NORMAL || constants_1.Constants.ROW_MODEL_TYPE_PAGINATION;\n\t        if (!rowModelMatches) {\n\t            console.log(\"ag-Grid: selectAllCheckbox is only available if using normal or pagination row models, you are using \" + rowModelType);\n\t        }\n\t    };\n\t    SelectAllFeature.prototype.onCbSelectAll = function () {\n\t        if (this.processingEventFromCheckbox) {\n\t            return;\n\t        }\n\t        if (!this.cbSelectAllVisible) {\n\t            return;\n\t        }\n\t        var value = this.cbSelectAll.isSelected();\n\t        if (value) {\n\t            this.selectionController.selectAllRowNodes(this.filteredOnly);\n\t        }\n\t        else {\n\t            this.selectionController.deselectAllRowNodes(this.filteredOnly);\n\t        }\n\t    };\n\t    SelectAllFeature.prototype.isCheckboxSelection = function () {\n\t        var headerCheckboxSelection = this.column.getColDef().headerCheckboxSelection;\n\t        if (headerCheckboxSelection === true) {\n\t            return true;\n\t        }\n\t        if (typeof headerCheckboxSelection === 'function') {\n\t            var func = headerCheckboxSelection;\n\t            return func({\n\t                column: this.column,\n\t                colDef: this.column.getColDef(),\n\t                columnApi: this.columnApi,\n\t                api: this.gridApi\n\t            });\n\t        }\n\t        return false;\n\t    };\n\t    return SelectAllFeature;\n\t}(beanStub_1.BeanStub));\n\t__decorate([\n\t    context_1.Autowired('gridApi'),\n\t    __metadata(\"design:type\", gridApi_1.GridApi)\n\t], SelectAllFeature.prototype, \"gridApi\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnApi'),\n\t    __metadata(\"design:type\", columnController_1.ColumnApi)\n\t], SelectAllFeature.prototype, \"columnApi\", void 0);\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], SelectAllFeature.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('rowModel'),\n\t    __metadata(\"design:type\", Object)\n\t], SelectAllFeature.prototype, \"rowModel\", void 0);\n\t__decorate([\n\t    context_1.Autowired('selectionController'),\n\t    __metadata(\"design:type\", selectionController_1.SelectionController)\n\t], SelectAllFeature.prototype, \"selectionController\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], SelectAllFeature.prototype, \"postConstruct\", null);\n\texports.SelectAllFeature = SelectAllFeature;\n\n\n/***/ }),\n/* 97 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar component_1 = __webpack_require__(52);\n\tvar column_1 = __webpack_require__(18);\n\tvar utils_1 = __webpack_require__(9);\n\tvar columnGroup_1 = __webpack_require__(17);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar horizontalDragService_1 = __webpack_require__(92);\n\tvar context_1 = __webpack_require__(8);\n\tvar cssClassApplier_1 = __webpack_require__(93);\n\tvar dragAndDropService_1 = __webpack_require__(88);\n\tvar setLeftFeature_1 = __webpack_require__(64);\n\tvar componentProvider_1 = __webpack_require__(56);\n\tvar gridApi_1 = __webpack_require__(13);\n\tvar HeaderGroupWrapperComp = (function (_super) {\n\t    __extends(HeaderGroupWrapperComp, _super);\n\t    function HeaderGroupWrapperComp(columnGroup, eRoot, dragSourceDropTarget, pinned) {\n\t        var _this = _super.call(this, HeaderGroupWrapperComp.TEMPLATE) || this;\n\t        // the children can change, we keep destroy functions related to listening to the children here\n\t        _this.childColumnsDestroyFuncs = [];\n\t        _this.columnGroup = columnGroup;\n\t        _this.eRoot = eRoot;\n\t        _this.dragSourceDropTarget = dragSourceDropTarget;\n\t        _this.pinned = pinned;\n\t        return _this;\n\t    }\n\t    HeaderGroupWrapperComp.prototype.postConstruct = function () {\n\t        cssClassApplier_1.CssClassApplier.addHeaderClassesFromColDef(this.columnGroup.getColGroupDef(), this.getGui(), this.gridOptionsWrapper, null, this.columnGroup);\n\t        var displayName = this.columnController.getDisplayNameForColumnGroup(this.columnGroup, 'header');\n\t        var headerComponent = this.appendHeaderGroupComp(displayName);\n\t        this.setupResize();\n\t        this.addClasses();\n\t        this.setupMove(headerComponent.getGui(), displayName);\n\t        this.setupWidth();\n\t        this.addAttributes();\n\t        this.addFeature(this.context, new setLeftFeature_1.SetLeftFeature(this.columnGroup, this.getGui()));\n\t    };\n\t    HeaderGroupWrapperComp.prototype.addAttributes = function () {\n\t        this.getGui().setAttribute(\"colId\", this.columnGroup.getUniqueId());\n\t    };\n\t    HeaderGroupWrapperComp.prototype.appendHeaderGroupComp = function (displayName) {\n\t        var _this = this;\n\t        var params = {\n\t            displayName: displayName,\n\t            columnGroup: this.columnGroup,\n\t            setExpanded: function (expanded) {\n\t                _this.columnController.setColumnGroupOpened(_this.columnGroup, expanded);\n\t            },\n\t            api: this.gridApi,\n\t            columnApi: this.columnApi,\n\t            context: this.gridOptionsWrapper.getContext()\n\t        };\n\t        var headerComp = this.componentProvider.newHeaderGroupComponent(params);\n\t        this.appendChild(headerComp);\n\t        return headerComp;\n\t    };\n\t    HeaderGroupWrapperComp.prototype.addClasses = function () {\n\t        // having different classes below allows the style to not have a bottom border\n\t        // on the group header, if no group is specified\n\t        // columnGroup.getColGroupDef\n\t        if (this.columnGroup.isPadding()) {\n\t            this.addCssClass('ag-header-group-cell-no-group');\n\t        }\n\t        else {\n\t            this.addCssClass('ag-header-group-cell-with-group');\n\t        }\n\t    };\n\t    HeaderGroupWrapperComp.prototype.setupMove = function (eHeaderGroup, displayName) {\n\t        var _this = this;\n\t        if (!eHeaderGroup) {\n\t            return;\n\t        }\n\t        if (this.isSuppressMoving()) {\n\t            return;\n\t        }\n\t        if (eHeaderGroup) {\n\t            var dragSource = {\n\t                type: dragAndDropService_1.DragSourceType.HeaderCell,\n\t                eElement: eHeaderGroup,\n\t                dragItemName: displayName,\n\t                // we add in the original group leaf columns, so we move both visible and non-visible items\n\t                dragItem: this.getAllColumnsInThisGroup(),\n\t                dragSourceDropTarget: this.dragSourceDropTarget\n\t            };\n\t            this.dragAndDropService.addDragSource(dragSource, true);\n\t            this.addDestroyFunc(function () { return _this.dragAndDropService.removeDragSource(dragSource); });\n\t        }\n\t    };\n\t    // when moving the columns, we want to move all the columns in this group in one go, and in the order they\n\t    // are currently in the screen.\n\t    HeaderGroupWrapperComp.prototype.getAllColumnsInThisGroup = function () {\n\t        var allColumnsOriginalOrder = this.columnGroup.getOriginalColumnGroup().getLeafColumns();\n\t        var allColumnsCurrentOrder = [];\n\t        this.columnController.getAllDisplayedColumns().forEach(function (column) {\n\t            if (allColumnsOriginalOrder.indexOf(column) >= 0) {\n\t                allColumnsCurrentOrder.push(column);\n\t                utils_1.Utils.removeFromArray(allColumnsOriginalOrder, column);\n\t            }\n\t        });\n\t        // we are left with non-visible columns, stick these in at the end\n\t        allColumnsOriginalOrder.forEach(function (column) { return allColumnsCurrentOrder.push(column); });\n\t        return allColumnsCurrentOrder;\n\t    };\n\t    HeaderGroupWrapperComp.prototype.isSuppressMoving = function () {\n\t        // if any child is fixed, then don't allow moving\n\t        var childSuppressesMoving = false;\n\t        this.columnGroup.getLeafColumns().forEach(function (column) {\n\t            if (column.getColDef().suppressMovable) {\n\t                childSuppressesMoving = true;\n\t            }\n\t        });\n\t        var result = childSuppressesMoving\n\t            || this.gridOptionsWrapper.isSuppressMovableColumns()\n\t            || this.gridOptionsWrapper.isForPrint();\n\t        return result;\n\t    };\n\t    HeaderGroupWrapperComp.prototype.setupWidth = function () {\n\t        // we need to listen to changes in child columns, as they impact our width\n\t        this.addListenersToChildrenColumns();\n\t        // the children belonging to this group can change, so we need to add and remove listeners as they change\n\t        this.addDestroyableEventListener(this.columnGroup, columnGroup_1.ColumnGroup.EVENT_DISPLAYED_CHILDREN_CHANGED, this.onDisplayedChildrenChanged.bind(this));\n\t        this.onWidthChanged();\n\t        // the child listeners are not tied to this components lifecycle, as children can get added and removed\n\t        // to the group - hence they are on a different lifecycle. so we must make sure the existing children\n\t        // listeners are removed when we finally get destroyed\n\t        this.addDestroyFunc(this.destroyListenersOnChildrenColumns.bind(this));\n\t    };\n\t    HeaderGroupWrapperComp.prototype.onDisplayedChildrenChanged = function () {\n\t        this.addListenersToChildrenColumns();\n\t        this.onWidthChanged();\n\t    };\n\t    HeaderGroupWrapperComp.prototype.addListenersToChildrenColumns = function () {\n\t        var _this = this;\n\t        // first destroy any old listeners\n\t        this.destroyListenersOnChildrenColumns();\n\t        // now add new listeners to the new set of children\n\t        var widthChangedListener = this.onWidthChanged.bind(this);\n\t        this.columnGroup.getLeafColumns().forEach(function (column) {\n\t            column.addEventListener(column_1.Column.EVENT_WIDTH_CHANGED, widthChangedListener);\n\t            column.addEventListener(column_1.Column.EVENT_VISIBLE_CHANGED, widthChangedListener);\n\t            _this.childColumnsDestroyFuncs.push(function () {\n\t                column.removeEventListener(column_1.Column.EVENT_WIDTH_CHANGED, widthChangedListener);\n\t                column.removeEventListener(column_1.Column.EVENT_VISIBLE_CHANGED, widthChangedListener);\n\t            });\n\t        });\n\t    };\n\t    HeaderGroupWrapperComp.prototype.destroyListenersOnChildrenColumns = function () {\n\t        this.childColumnsDestroyFuncs.forEach(function (func) { return func(); });\n\t        this.childColumnsDestroyFuncs = [];\n\t    };\n\t    HeaderGroupWrapperComp.prototype.onWidthChanged = function () {\n\t        this.getGui().style.width = this.columnGroup.getActualWidth() + 'px';\n\t    };\n\t    HeaderGroupWrapperComp.prototype.setupResize = function () {\n\t        var _this = this;\n\t        this.eHeaderCellResize = this.getRefElement('agResize');\n\t        if (!this.gridOptionsWrapper.isEnableColResize()) {\n\t            utils_1.Utils.removeFromParent(this.eHeaderCellResize);\n\t            return;\n\t        }\n\t        this.dragService.addDragHandling({\n\t            eDraggableElement: this.eHeaderCellResize,\n\t            eBody: this.eRoot,\n\t            cursor: 'col-resize',\n\t            startAfterPixels: 0,\n\t            onDragStart: this.onDragStart.bind(this),\n\t            onDragging: this.onDragging.bind(this)\n\t        });\n\t        if (!this.gridOptionsWrapper.isSuppressAutoSize()) {\n\t            this.eHeaderCellResize.addEventListener('dblclick', function (event) {\n\t                // get list of all the column keys we are responsible for\n\t                var keys = [];\n\t                _this.columnGroup.getDisplayedLeafColumns().forEach(function (column) {\n\t                    // not all cols in the group may be participating with auto-resize\n\t                    if (!column.getColDef().suppressAutoSize) {\n\t                        keys.push(column.getColId());\n\t                    }\n\t                });\n\t                if (keys.length > 0) {\n\t                    _this.columnController.autoSizeColumns(keys);\n\t                }\n\t            });\n\t        }\n\t    };\n\t    HeaderGroupWrapperComp.prototype.onDragStart = function () {\n\t        var _this = this;\n\t        this.groupWidthStart = this.columnGroup.getActualWidth();\n\t        this.childrenWidthStarts = [];\n\t        this.columnGroup.getDisplayedLeafColumns().forEach(function (column) {\n\t            _this.childrenWidthStarts.push(column.getActualWidth());\n\t        });\n\t    };\n\t    HeaderGroupWrapperComp.prototype.onDragging = function (dragChange, finished) {\n\t        var _this = this;\n\t        var dragChangeNormalised = this.normaliseDragChange(dragChange);\n\t        var newWidth = this.groupWidthStart + dragChangeNormalised;\n\t        var minWidth = this.columnGroup.getMinWidth();\n\t        if (newWidth < minWidth) {\n\t            newWidth = minWidth;\n\t        }\n\t        // distribute the new width to the child headers\n\t        var changeRatio = newWidth / this.groupWidthStart;\n\t        // keep track of pixels used, and last column gets the remaining,\n\t        // to cater for rounding errors, and min width adjustments\n\t        var pixelsToDistribute = newWidth;\n\t        var displayedColumns = this.columnGroup.getDisplayedLeafColumns();\n\t        displayedColumns.forEach(function (column, index) {\n\t            var notLastCol = index !== (displayedColumns.length - 1);\n\t            var newChildSize;\n\t            if (notLastCol) {\n\t                // if not the last col, calculate the column width as normal\n\t                var startChildSize = _this.childrenWidthStarts[index];\n\t                newChildSize = startChildSize * changeRatio;\n\t                if (newChildSize < column.getMinWidth()) {\n\t                    newChildSize = column.getMinWidth();\n\t                }\n\t                pixelsToDistribute -= newChildSize;\n\t            }\n\t            else {\n\t                // if last col, give it the remaining pixels\n\t                newChildSize = pixelsToDistribute;\n\t            }\n\t            _this.columnController.setColumnWidth(column, newChildSize, finished);\n\t        });\n\t    };\n\t    // optionally inverts the drag, depending on pinned and RTL\n\t    // note - this method is duplicated in RenderedHeaderCell - should refactor out?\n\t    HeaderGroupWrapperComp.prototype.normaliseDragChange = function (dragChange) {\n\t        var result = dragChange;\n\t        if (this.gridOptionsWrapper.isEnableRtl()) {\n\t            // for RTL, dragging left makes the col bigger, except when pinning left\n\t            if (this.pinned !== column_1.Column.PINNED_LEFT) {\n\t                result *= -1;\n\t            }\n\t        }\n\t        else {\n\t            // for LTR (ie normal), dragging left makes the col smaller, except when pinning right\n\t            if (this.pinned === column_1.Column.PINNED_RIGHT) {\n\t                result *= -1;\n\t            }\n\t        }\n\t        return result;\n\t    };\n\t    return HeaderGroupWrapperComp;\n\t}(component_1.Component));\n\tHeaderGroupWrapperComp.TEMPLATE = '<div class=\"ag-header-group-cell\">' +\n\t    '<div ref=\"agResize\" class=\"ag-header-cell-resize\"></div>' +\n\t    '</div>';\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], HeaderGroupWrapperComp.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", columnController_1.ColumnController)\n\t], HeaderGroupWrapperComp.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('horizontalDragService'),\n\t    __metadata(\"design:type\", horizontalDragService_1.HorizontalDragService)\n\t], HeaderGroupWrapperComp.prototype, \"dragService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('dragAndDropService'),\n\t    __metadata(\"design:type\", dragAndDropService_1.DragAndDropService)\n\t], HeaderGroupWrapperComp.prototype, \"dragAndDropService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('context'),\n\t    __metadata(\"design:type\", context_1.Context)\n\t], HeaderGroupWrapperComp.prototype, \"context\", void 0);\n\t__decorate([\n\t    context_1.Autowired('componentProvider'),\n\t    __metadata(\"design:type\", componentProvider_1.ComponentProvider)\n\t], HeaderGroupWrapperComp.prototype, \"componentProvider\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridApi'),\n\t    __metadata(\"design:type\", gridApi_1.GridApi)\n\t], HeaderGroupWrapperComp.prototype, \"gridApi\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnApi'),\n\t    __metadata(\"design:type\", columnController_1.ColumnApi)\n\t], HeaderGroupWrapperComp.prototype, \"columnApi\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], HeaderGroupWrapperComp.prototype, \"postConstruct\", null);\n\texports.HeaderGroupWrapperComp = HeaderGroupWrapperComp;\n\n\n/***/ }),\n/* 98 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar dragAndDropService_1 = __webpack_require__(88);\n\tvar context_1 = __webpack_require__(8);\n\tvar moveColumnController_1 = __webpack_require__(99);\n\tvar column_1 = __webpack_require__(18);\n\tvar gridPanel_1 = __webpack_require__(27);\n\tvar bodyDropPivotTarget_1 = __webpack_require__(100);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar BodyDropTarget = (function () {\n\t    function BodyDropTarget(pinned, eContainer) {\n\t        this.pinned = pinned;\n\t        this.eContainer = eContainer;\n\t    }\n\t    BodyDropTarget.prototype.getSecondaryContainers = function () {\n\t        return this.eSecondaryContainers;\n\t    };\n\t    BodyDropTarget.prototype.getContainer = function () {\n\t        return this.eContainer;\n\t    };\n\t    BodyDropTarget.prototype.init = function () {\n\t        this.moveColumnController = new moveColumnController_1.MoveColumnController(this.pinned, this.eContainer);\n\t        this.context.wireBean(this.moveColumnController);\n\t        this.bodyDropPivotTarget = new bodyDropPivotTarget_1.BodyDropPivotTarget(this.pinned);\n\t        this.context.wireBean(this.bodyDropPivotTarget);\n\t        switch (this.pinned) {\n\t            case column_1.Column.PINNED_LEFT:\n\t                this.eSecondaryContainers = this.gridPanel.getDropTargetLeftContainers();\n\t                break;\n\t            case column_1.Column.PINNED_RIGHT:\n\t                this.eSecondaryContainers = this.gridPanel.getDropTargetPinnedRightContainers();\n\t                break;\n\t            default:\n\t                this.eSecondaryContainers = this.gridPanel.getDropTargetBodyContainers();\n\t                break;\n\t        }\n\t        this.dragAndDropService.addDropTarget(this);\n\t    };\n\t    BodyDropTarget.prototype.getIconName = function () {\n\t        return this.currentDropListener.getIconName();\n\t    };\n\t    // we want to use the bodyPivotTarget if the user is dragging columns in from the toolPanel\n\t    // and we are in pivot mode, as it has to logic to set pivot/value/group on the columns when\n\t    // dropped into the grid's body.\n\t    BodyDropTarget.prototype.isUseBodyDropPivotTarget = function (draggingEvent) {\n\t        // if not in pivot mode, then we never use the pivot drop target\n\t        if (!this.columnController.isPivotMode()) {\n\t            return false;\n\t        }\n\t        // otherwise we use the drop target if the column came from the toolPanel (ie not reordering)\n\t        return draggingEvent.dragSource.type === dragAndDropService_1.DragSourceType.ToolPanel;\n\t    };\n\t    BodyDropTarget.prototype.onDragEnter = function (draggingEvent) {\n\t        // we pick the drop listener depending on whether we are in pivot mode are not. if we are\n\t        // in pivot mode, then dropping cols changes the row group, pivot, value stats. otherwise\n\t        // we change visibility state and position.\n\t        // if (this.columnController.isPivotMode()) {\n\t        var useBodyDropPivotTarget = this.isUseBodyDropPivotTarget(draggingEvent);\n\t        if (useBodyDropPivotTarget) {\n\t            this.currentDropListener = this.bodyDropPivotTarget;\n\t        }\n\t        else {\n\t            this.currentDropListener = this.moveColumnController;\n\t        }\n\t        this.currentDropListener.onDragEnter(draggingEvent);\n\t    };\n\t    BodyDropTarget.prototype.onDragLeave = function (params) {\n\t        this.currentDropListener.onDragLeave(params);\n\t    };\n\t    BodyDropTarget.prototype.onDragging = function (params) {\n\t        this.currentDropListener.onDragging(params);\n\t    };\n\t    BodyDropTarget.prototype.onDragStop = function (params) {\n\t        this.currentDropListener.onDragStop(params);\n\t    };\n\t    return BodyDropTarget;\n\t}());\n\t__decorate([\n\t    context_1.Autowired('context'),\n\t    __metadata(\"design:type\", context_1.Context)\n\t], BodyDropTarget.prototype, \"context\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridPanel'),\n\t    __metadata(\"design:type\", gridPanel_1.GridPanel)\n\t], BodyDropTarget.prototype, \"gridPanel\", void 0);\n\t__decorate([\n\t    context_1.Autowired('dragAndDropService'),\n\t    __metadata(\"design:type\", dragAndDropService_1.DragAndDropService)\n\t], BodyDropTarget.prototype, \"dragAndDropService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", columnController_1.ColumnController)\n\t], BodyDropTarget.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], BodyDropTarget.prototype, \"init\", null);\n\texports.BodyDropTarget = BodyDropTarget;\n\n\n/***/ }),\n/* 99 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar context_1 = __webpack_require__(8);\n\tvar logger_1 = __webpack_require__(7);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar column_1 = __webpack_require__(18);\n\tvar utils_1 = __webpack_require__(9);\n\tvar dragAndDropService_1 = __webpack_require__(88);\n\tvar gridPanel_1 = __webpack_require__(27);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar MoveColumnController = (function () {\n\t    function MoveColumnController(pinned, eContainer) {\n\t        this.needToMoveLeft = false;\n\t        this.needToMoveRight = false;\n\t        this.pinned = pinned;\n\t        this.eContainer = eContainer;\n\t        this.centerContainer = !utils_1.Utils.exists(pinned);\n\t    }\n\t    MoveColumnController.prototype.init = function () {\n\t        this.logger = this.loggerFactory.create('MoveColumnController');\n\t    };\n\t    MoveColumnController.prototype.getIconName = function () {\n\t        return this.pinned ? dragAndDropService_1.DragAndDropService.ICON_PINNED : dragAndDropService_1.DragAndDropService.ICON_MOVE;\n\t    };\n\t    MoveColumnController.prototype.onDragEnter = function (draggingEvent) {\n\t        // we do dummy drag, so make sure column appears in the right location when first placed\n\t        var columns = draggingEvent.dragSource.dragItem;\n\t        this.columnController.setColumnsVisible(columns, true);\n\t        this.columnController.setColumnsPinned(columns, this.pinned);\n\t        this.onDragging(draggingEvent, true);\n\t    };\n\t    MoveColumnController.prototype.onDragLeave = function (draggingEvent) {\n\t        var hideColumnOnExit = !this.gridOptionsWrapper.isSuppressDragLeaveHidesColumns() && !draggingEvent.fromNudge;\n\t        if (hideColumnOnExit) {\n\t            var columns = draggingEvent.dragSource.dragItem;\n\t            this.columnController.setColumnsVisible(columns, false);\n\t        }\n\t        this.ensureIntervalCleared();\n\t    };\n\t    MoveColumnController.prototype.onDragStop = function () {\n\t        this.ensureIntervalCleared();\n\t    };\n\t    MoveColumnController.prototype.normaliseX = function (x) {\n\t        // flip the coordinate if doing RTL\n\t        var flipHorizontallyForRtl = this.gridOptionsWrapper.isEnableRtl();\n\t        if (flipHorizontallyForRtl) {\n\t            var clientWidth = this.eContainer.clientWidth;\n\t            x = clientWidth - x;\n\t        }\n\t        // adjust for scroll only if centre container (the pinned containers dont scroll)\n\t        var adjustForScroll = this.centerContainer;\n\t        if (adjustForScroll) {\n\t            x += this.gridPanel.getBodyViewportScrollLeft();\n\t        }\n\t        return x;\n\t    };\n\t    MoveColumnController.prototype.workOutNewIndex = function (displayedColumns, allColumns, dragColumn, hDirection, xAdjustedForScroll) {\n\t        if (hDirection === dragAndDropService_1.HDirection.Left) {\n\t            return this.getNewIndexForColMovingLeft(displayedColumns, allColumns, dragColumn, xAdjustedForScroll);\n\t        }\n\t        else {\n\t            return this.getNewIndexForColMovingRight(displayedColumns, allColumns, dragColumn, xAdjustedForScroll);\n\t        }\n\t    };\n\t    MoveColumnController.prototype.checkCenterForScrolling = function (xAdjustedForScroll) {\n\t        if (this.centerContainer) {\n\t            // scroll if the mouse has gone outside the grid (or just outside the scrollable part if pinning)\n\t            // putting in 50 buffer, so even if user gets to edge of grid, a scroll will happen\n\t            var firstVisiblePixel = this.gridPanel.getBodyViewportScrollLeft();\n\t            var lastVisiblePixel = firstVisiblePixel + this.gridPanel.getCenterWidth();\n\t            if (this.gridOptionsWrapper.isEnableRtl()) {\n\t                this.needToMoveRight = xAdjustedForScroll < (firstVisiblePixel + 50);\n\t                this.needToMoveLeft = xAdjustedForScroll > (lastVisiblePixel - 50);\n\t            }\n\t            else {\n\t                this.needToMoveLeft = xAdjustedForScroll < (firstVisiblePixel + 50);\n\t                this.needToMoveRight = xAdjustedForScroll > (lastVisiblePixel - 50);\n\t            }\n\t            if (this.needToMoveLeft || this.needToMoveRight) {\n\t                this.ensureIntervalStarted();\n\t            }\n\t            else {\n\t                this.ensureIntervalCleared();\n\t            }\n\t        }\n\t    };\n\t    MoveColumnController.prototype.onDragging = function (draggingEvent, fromEnter) {\n\t        if (fromEnter === void 0) { fromEnter = false; }\n\t        this.lastDraggingEvent = draggingEvent;\n\t        // if moving up or down (ie not left or right) then do nothing\n\t        if (utils_1.Utils.missing(draggingEvent.hDirection)) {\n\t            return;\n\t        }\n\t        var xNormalised = this.normaliseX(draggingEvent.x);\n\t        // if the user is dragging into the panel, ie coming from the side panel into the main grid,\n\t        // we don't want to scroll the grid this time, it would appear like the table is jumping\n\t        // each time a column is dragged in.\n\t        if (!fromEnter) {\n\t            this.checkCenterForScrolling(xNormalised);\n\t        }\n\t        var hDirectionNormalised = this.normaliseDirection(draggingEvent.hDirection);\n\t        var columnsToMove = draggingEvent.dragSource.dragItem;\n\t        this.attemptMoveColumns(columnsToMove, hDirectionNormalised, xNormalised, fromEnter);\n\t    };\n\t    MoveColumnController.prototype.normaliseDirection = function (hDirection) {\n\t        if (this.gridOptionsWrapper.isEnableRtl()) {\n\t            switch (hDirection) {\n\t                case dragAndDropService_1.HDirection.Left: return dragAndDropService_1.HDirection.Right;\n\t                case dragAndDropService_1.HDirection.Right: return dragAndDropService_1.HDirection.Left;\n\t                default: console.error(\"ag-Grid: Unknown direction \" + hDirection);\n\t            }\n\t        }\n\t        else {\n\t            return hDirection;\n\t        }\n\t    };\n\t    MoveColumnController.prototype.attemptMoveColumns = function (allMovingColumns, hDirection, xAdjusted, fromEnter) {\n\t        var displayedColumns = this.columnController.getDisplayedColumns(this.pinned);\n\t        var gridColumns = this.columnController.getAllGridColumns();\n\t        var draggingLeft = hDirection === dragAndDropService_1.HDirection.Left;\n\t        var draggingRight = hDirection === dragAndDropService_1.HDirection.Right;\n\t        var dragColumn;\n\t        var displayedMovingColumns = utils_1.Utils.filter(allMovingColumns, function (column) { return displayedColumns.indexOf(column) >= 0; });\n\t        // if dragging left, we want to use the left most column, ie move the left most column to\n\t        // under the mouse pointer\n\t        if (draggingLeft) {\n\t            dragColumn = displayedMovingColumns[0];\n\t            // if dragging right, we want to keep the right most column under the mouse pointer\n\t        }\n\t        else {\n\t            dragColumn = displayedMovingColumns[displayedMovingColumns.length - 1];\n\t        }\n\t        var newIndex = this.workOutNewIndex(displayedColumns, gridColumns, dragColumn, hDirection, xAdjusted);\n\t        var oldIndex = gridColumns.indexOf(dragColumn);\n\t        // the two check below stop an error when the user grabs a group my a middle column, then\n\t        // it is possible the mouse pointer is to the right of a column while been dragged left.\n\t        // so we need to make sure that the mouse pointer is actually left of the left most column\n\t        // if moving left, and right of the right most column if moving right\n\t        // we check 'fromEnter' below so we move the column to the new spot if the mouse is coming from\n\t        // outside the grid, eg if the column is moving from side panel, mouse is moving left, then we should\n\t        // place the column to the RHS even if the mouse is moving left and the column is already on\n\t        // the LHS. otherwise we stick to the rule described above.\n\t        // only allow left drag if this column is moving left\n\t        if (!fromEnter && draggingLeft && newIndex >= oldIndex) {\n\t            return;\n\t        }\n\t        // only allow right drag if this column is moving right\n\t        if (!fromEnter && draggingRight && newIndex <= oldIndex) {\n\t            return;\n\t        }\n\t        // if moving right, the new index is the index of the right most column, so adjust to first column\n\t        if (draggingRight) {\n\t            newIndex = newIndex - allMovingColumns.length + 1;\n\t        }\n\t        this.columnController.moveColumns(allMovingColumns, newIndex);\n\t    };\n\t    MoveColumnController.prototype.getNewIndexForColMovingLeft = function (displayedColumns, allColumns, dragColumn, x) {\n\t        var usedX = 0;\n\t        var leftColumn = null;\n\t        for (var i = 0; i < displayedColumns.length; i++) {\n\t            var currentColumn = displayedColumns[i];\n\t            if (currentColumn === dragColumn) {\n\t                continue;\n\t            }\n\t            usedX += currentColumn.getActualWidth();\n\t            if (usedX > x) {\n\t                break;\n\t            }\n\t            leftColumn = currentColumn;\n\t        }\n\t        var newIndex;\n\t        if (leftColumn) {\n\t            newIndex = allColumns.indexOf(leftColumn) + 1;\n\t            var oldIndex = allColumns.indexOf(dragColumn);\n\t            if (oldIndex < newIndex) {\n\t                newIndex--;\n\t            }\n\t        }\n\t        else {\n\t            newIndex = 0;\n\t        }\n\t        return newIndex;\n\t    };\n\t    MoveColumnController.prototype.getNewIndexForColMovingRight = function (displayedColumns, allColumns, dragColumnOrGroup, x) {\n\t        var dragColumn = dragColumnOrGroup;\n\t        var usedX = dragColumn.getActualWidth();\n\t        var leftColumn = null;\n\t        for (var i = 0; i < displayedColumns.length; i++) {\n\t            if (usedX > x) {\n\t                break;\n\t            }\n\t            var currentColumn = displayedColumns[i];\n\t            if (currentColumn === dragColumn) {\n\t                continue;\n\t            }\n\t            usedX += currentColumn.getActualWidth();\n\t            leftColumn = currentColumn;\n\t        }\n\t        var newIndex;\n\t        if (leftColumn) {\n\t            newIndex = allColumns.indexOf(leftColumn) + 1;\n\t            var oldIndex = allColumns.indexOf(dragColumn);\n\t            if (oldIndex < newIndex) {\n\t                newIndex--;\n\t            }\n\t        }\n\t        else {\n\t            newIndex = 0;\n\t        }\n\t        return newIndex;\n\t    };\n\t    MoveColumnController.prototype.ensureIntervalStarted = function () {\n\t        if (!this.movingIntervalId) {\n\t            this.intervalCount = 0;\n\t            this.failedMoveAttempts = 0;\n\t            this.movingIntervalId = setInterval(this.moveInterval.bind(this), 100);\n\t            if (this.needToMoveLeft) {\n\t                this.dragAndDropService.setGhostIcon(dragAndDropService_1.DragAndDropService.ICON_LEFT, true);\n\t            }\n\t            else {\n\t                this.dragAndDropService.setGhostIcon(dragAndDropService_1.DragAndDropService.ICON_RIGHT, true);\n\t            }\n\t        }\n\t    };\n\t    MoveColumnController.prototype.ensureIntervalCleared = function () {\n\t        if (this.moveInterval) {\n\t            clearInterval(this.movingIntervalId);\n\t            this.movingIntervalId = null;\n\t            this.dragAndDropService.setGhostIcon(dragAndDropService_1.DragAndDropService.ICON_MOVE);\n\t        }\n\t    };\n\t    MoveColumnController.prototype.moveInterval = function () {\n\t        var pixelsToMove;\n\t        this.intervalCount++;\n\t        pixelsToMove = 10 + (this.intervalCount * 5);\n\t        if (pixelsToMove > 100) {\n\t            pixelsToMove = 100;\n\t        }\n\t        var pixelsMoved;\n\t        if (this.needToMoveLeft) {\n\t            pixelsMoved = this.gridPanel.scrollHorizontally(-pixelsToMove);\n\t        }\n\t        else if (this.needToMoveRight) {\n\t            pixelsMoved = this.gridPanel.scrollHorizontally(pixelsToMove);\n\t        }\n\t        if (pixelsMoved !== 0) {\n\t            this.onDragging(this.lastDraggingEvent);\n\t            this.failedMoveAttempts = 0;\n\t        }\n\t        else {\n\t            this.failedMoveAttempts++;\n\t            this.dragAndDropService.setGhostIcon(dragAndDropService_1.DragAndDropService.ICON_PINNED);\n\t            if (this.failedMoveAttempts > 7) {\n\t                var columns = this.lastDraggingEvent.dragSource.dragItem;\n\t                var pinType = this.needToMoveLeft ? column_1.Column.PINNED_LEFT : column_1.Column.PINNED_RIGHT;\n\t                this.columnController.setColumnsPinned(columns, pinType);\n\t                this.dragAndDropService.nudge();\n\t            }\n\t        }\n\t    };\n\t    return MoveColumnController;\n\t}());\n\t__decorate([\n\t    context_1.Autowired('loggerFactory'),\n\t    __metadata(\"design:type\", logger_1.LoggerFactory)\n\t], MoveColumnController.prototype, \"loggerFactory\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", columnController_1.ColumnController)\n\t], MoveColumnController.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridPanel'),\n\t    __metadata(\"design:type\", gridPanel_1.GridPanel)\n\t], MoveColumnController.prototype, \"gridPanel\", void 0);\n\t__decorate([\n\t    context_1.Autowired('dragAndDropService'),\n\t    __metadata(\"design:type\", dragAndDropService_1.DragAndDropService)\n\t], MoveColumnController.prototype, \"dragAndDropService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], MoveColumnController.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], MoveColumnController.prototype, \"init\", null);\n\texports.MoveColumnController = MoveColumnController;\n\n\n/***/ }),\n/* 100 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar dragAndDropService_1 = __webpack_require__(88);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar context_1 = __webpack_require__(8);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar BodyDropPivotTarget = (function () {\n\t    function BodyDropPivotTarget(pinned) {\n\t        this.columnsToAggregate = [];\n\t        this.columnsToGroup = [];\n\t        this.columnsToPivot = [];\n\t        this.pinned = pinned;\n\t    }\n\t    /** Callback for when drag enters */\n\t    BodyDropPivotTarget.prototype.onDragEnter = function (draggingEvent) {\n\t        var _this = this;\n\t        this.clearColumnsList();\n\t        // in pivot mode, we don't accept any drops if functions are read only\n\t        if (this.gridOptionsWrapper.isFunctionsReadOnly()) {\n\t            return;\n\t        }\n\t        var dragColumns = draggingEvent.dragSource.dragItem;\n\t        dragColumns.forEach(function (column) {\n\t            // we don't allow adding secondary columns\n\t            if (!column.isPrimary()) {\n\t                return;\n\t            }\n\t            if (column.isAnyFunctionActive()) {\n\t                return;\n\t            }\n\t            if (column.isAllowValue()) {\n\t                _this.columnsToAggregate.push(column);\n\t            }\n\t            else if (column.isAllowRowGroup()) {\n\t                _this.columnsToGroup.push(column);\n\t            }\n\t            else if (column.isAllowRowGroup()) {\n\t                _this.columnsToPivot.push(column);\n\t            }\n\t        });\n\t    };\n\t    BodyDropPivotTarget.prototype.getIconName = function () {\n\t        var totalColumns = this.columnsToAggregate.length + this.columnsToGroup.length + this.columnsToPivot.length;\n\t        if (totalColumns > 0) {\n\t            return this.pinned ? dragAndDropService_1.DragAndDropService.ICON_PINNED : dragAndDropService_1.DragAndDropService.ICON_MOVE;\n\t        }\n\t        else {\n\t            return null;\n\t        }\n\t    };\n\t    /** Callback for when drag leaves */\n\t    BodyDropPivotTarget.prototype.onDragLeave = function (draggingEvent) {\n\t        // if we are taking columns out of the center, then we remove them from the report\n\t        this.clearColumnsList();\n\t    };\n\t    BodyDropPivotTarget.prototype.clearColumnsList = function () {\n\t        this.columnsToAggregate.length = 0;\n\t        this.columnsToGroup.length = 0;\n\t        this.columnsToPivot.length = 0;\n\t    };\n\t    /** Callback for when dragging */\n\t    BodyDropPivotTarget.prototype.onDragging = function (draggingEvent) {\n\t    };\n\t    /** Callback for when drag stops */\n\t    BodyDropPivotTarget.prototype.onDragStop = function (draggingEvent) {\n\t        if (this.columnsToAggregate.length > 0) {\n\t            this.columnController.addValueColumns(this.columnsToAggregate);\n\t        }\n\t        if (this.columnsToGroup.length > 0) {\n\t            this.columnController.addRowGroupColumns(this.columnsToGroup);\n\t        }\n\t        if (this.columnsToPivot.length > 0) {\n\t            this.columnController.addPivotColumns(this.columnsToPivot);\n\t        }\n\t    };\n\t    return BodyDropPivotTarget;\n\t}());\n\t__decorate([\n\t    context_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", columnController_1.ColumnController)\n\t], BodyDropPivotTarget.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], BodyDropPivotTarget.prototype, \"gridOptionsWrapper\", void 0);\n\texports.BodyDropPivotTarget = BodyDropPivotTarget;\n\n\n/***/ }),\n/* 101 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar ColumnChangeEvent = (function () {\n\t    function ColumnChangeEvent(type) {\n\t        this.type = type;\n\t    }\n\t    ColumnChangeEvent.prototype.toString = function () {\n\t        var result = 'ColumnChangeEvent {type: ' + this.type;\n\t        if (this.column) {\n\t            result += ', column: ' + this.column.getColId();\n\t        }\n\t        if (this.columnGroup) {\n\t            result +=  true ? this.columnGroup.getColGroupDef().headerName : '(not defined]';\n\t        }\n\t        if (this.toIndex) {\n\t            result += ', toIndex: ' + this.toIndex;\n\t        }\n\t        if (this.visible) {\n\t            result += ', visible: ' + this.visible;\n\t        }\n\t        if (this.pinned) {\n\t            result += ', pinned: ' + this.pinned;\n\t        }\n\t        if (typeof this.finished == 'boolean') {\n\t            result += ', finished: ' + this.finished;\n\t        }\n\t        result += '}';\n\t        return result;\n\t    };\n\t    ColumnChangeEvent.prototype.withPinned = function (pinned) {\n\t        this.pinned = pinned;\n\t        return this;\n\t    };\n\t    ColumnChangeEvent.prototype.withVisible = function (visible) {\n\t        this.visible = visible;\n\t        return this;\n\t    };\n\t    ColumnChangeEvent.prototype.isVisible = function () {\n\t        return this.visible;\n\t    };\n\t    ColumnChangeEvent.prototype.getPinned = function () {\n\t        return this.pinned;\n\t    };\n\t    ColumnChangeEvent.prototype.withColumn = function (column) {\n\t        this.column = column;\n\t        return this;\n\t    };\n\t    ColumnChangeEvent.prototype.withColumns = function (columns) {\n\t        this.columns = columns;\n\t        return this;\n\t    };\n\t    ColumnChangeEvent.prototype.withFinished = function (finished) {\n\t        this.finished = finished;\n\t        return this;\n\t    };\n\t    ColumnChangeEvent.prototype.withColumnGroup = function (columnGroup) {\n\t        this.columnGroup = columnGroup;\n\t        return this;\n\t    };\n\t    ColumnChangeEvent.prototype.withToIndex = function (toIndex) {\n\t        this.toIndex = toIndex;\n\t        return this;\n\t    };\n\t    ColumnChangeEvent.prototype.getToIndex = function () {\n\t        return this.toIndex;\n\t    };\n\t    ColumnChangeEvent.prototype.getType = function () {\n\t        return this.type;\n\t    };\n\t    ColumnChangeEvent.prototype.getColumn = function () {\n\t        return this.column;\n\t    };\n\t    ColumnChangeEvent.prototype.getColumns = function () {\n\t        return this.columns;\n\t    };\n\t    ColumnChangeEvent.prototype.getColumnGroup = function () {\n\t        return this.columnGroup;\n\t    };\n\t    ColumnChangeEvent.prototype.isFinished = function () {\n\t        return this.finished;\n\t    };\n\t    return ColumnChangeEvent;\n\t}());\n\texports.ColumnChangeEvent = ColumnChangeEvent;\n\n\n/***/ }),\n/* 102 */\n/***/ (function(module, exports) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\t// class returns unique instance id's for columns.\n\t// eg, the following calls (in this order) will result in:\n\t//\n\t// getInstanceIdForKey('country') => 0\n\t// getInstanceIdForKey('country') => 1\n\t// getInstanceIdForKey('country') => 2\n\t// getInstanceIdForKey('country') => 3\n\t// getInstanceIdForKey('age') => 0\n\t// getInstanceIdForKey('age') => 1\n\t// getInstanceIdForKey('country') => 4\n\tvar GroupInstanceIdCreator = (function () {\n\t    function GroupInstanceIdCreator() {\n\t        // this map contains keys to numbers, so we remember what the last call was\n\t        this.existingIds = {};\n\t    }\n\t    GroupInstanceIdCreator.prototype.getInstanceIdForKey = function (key) {\n\t        var lastResult = this.existingIds[key];\n\t        var result;\n\t        if (typeof lastResult !== 'number') {\n\t            // first time this key\n\t            result = 0;\n\t        }\n\t        else {\n\t            result = lastResult + 1;\n\t        }\n\t        this.existingIds[key] = result;\n\t        return result;\n\t    };\n\t    return GroupInstanceIdCreator;\n\t}());\n\texports.GroupInstanceIdCreator = GroupInstanceIdCreator;\n\n\n/***/ }),\n/* 103 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar context_1 = __webpack_require__(8);\n\tvar column_1 = __webpack_require__(18);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar utils_1 = __webpack_require__(9);\n\tvar functions_1 = __webpack_require__(104);\n\tvar AutoGroupColService = AutoGroupColService_1 = (function () {\n\t    function AutoGroupColService() {\n\t    }\n\t    AutoGroupColService.prototype.createAutoGroupColumns = function (rowGroupColumns) {\n\t        var _this = this;\n\t        var groupAutoColumns = [];\n\t        if (this.gridOptionsWrapper.isGroupMultiAutoColumn()) {\n\t            rowGroupColumns.forEach(function (rowGroupCol, index) {\n\t                groupAutoColumns.push(_this.createOneAutoGroupColumn(rowGroupCol, index));\n\t            });\n\t        }\n\t        else {\n\t            groupAutoColumns.push(this.createOneAutoGroupColumn());\n\t        }\n\t        return groupAutoColumns;\n\t    };\n\t    AutoGroupColService.prototype.createOneAutoGroupColumn = function (rowGroupCol, index) {\n\t        // if one provided by user, use it, otherwise create one\n\t        var autoColDef = this.gridOptionsWrapper.getGroupColumnDef();\n\t        if (!autoColDef) {\n\t            var localeTextFunc = this.gridOptionsWrapper.getLocaleTextFunc();\n\t            autoColDef = {\n\t                headerName: localeTextFunc('group', 'Group'),\n\t                comparator: functions_1.defaultGroupComparator,\n\t                valueGetter: function (params) {\n\t                    if (params.node.group) {\n\t                        return params.node.key;\n\t                    }\n\t                    else if (params.data && params.colDef.field) {\n\t                        return params.data[params.colDef.field];\n\t                    }\n\t                    else {\n\t                        return null;\n\t                    }\n\t                },\n\t                cellRenderer: 'group'\n\t            };\n\t        }\n\t        // we never allow moving the group column\n\t        autoColDef.suppressMovable = true;\n\t        // if doing multi, set the field\n\t        var colId;\n\t        if (rowGroupCol) {\n\t            // because we are going to be making changes, we need to make a copy,\n\t            // otherwise we are overwriting the same colDef for each column.\n\t            autoColDef = utils_1._.cloneObject(autoColDef);\n\t            var rowGroupColDef = rowGroupCol.getColDef();\n\t            utils_1._.assign(autoColDef, {\n\t                // cellRendererParams.groupKey: colDefToCopy.field;\n\t                headerName: rowGroupColDef.headerName,\n\t                headerValueGetter: rowGroupColDef.headerValueGetter,\n\t                field: rowGroupColDef.field\n\t            });\n\t            if (utils_1._.missing(autoColDef.cellRendererParams)) {\n\t                autoColDef.cellRendererParams = {};\n\t            }\n\t            else {\n\t                autoColDef.cellRendererParams = utils_1._.cloneObject(autoColDef.cellRendererParams);\n\t            }\n\t            autoColDef.cellRendererParams.restrictToOneGroup = true;\n\t            // if showing many cols, we don't want to show more than one with a checkbox for selection\n\t            if (index > 0) {\n\t                autoColDef.headerCheckboxSelection = false;\n\t                autoColDef.cellRendererParams.checkbox = false;\n\t            }\n\t            colId = AutoGroupColService_1.GROUP_AUTO_COLUMN_ID + \"-\" + Math.random() + \"-\" + rowGroupCol.getId();\n\t        }\n\t        else {\n\t            colId = AutoGroupColService_1.GROUP_AUTO_COLUMN_ID + \"-\" + Math.random();\n\t        }\n\t        var newCol = new column_1.Column(autoColDef, colId, true);\n\t        this.context.wireBean(newCol);\n\t        return newCol;\n\t    };\n\t    return AutoGroupColService;\n\t}());\n\tAutoGroupColService.GROUP_AUTO_COLUMN_ID = 'ag-Grid-AutoColumn';\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], AutoGroupColService.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('context'),\n\t    __metadata(\"design:type\", context_1.Context)\n\t], AutoGroupColService.prototype, \"context\", void 0);\n\tAutoGroupColService = AutoGroupColService_1 = __decorate([\n\t    context_1.Bean('autoGroupColService')\n\t], AutoGroupColService);\n\texports.AutoGroupColService = AutoGroupColService;\n\tvar AutoGroupColService_1;\n\n\n/***/ }),\n/* 104 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar utils_1 = __webpack_require__(9);\n\tfunction defaultGroupComparator(valueA, valueB, nodeA, nodeB) {\n\t    var nodeAIsGroup = utils_1.Utils.exists(nodeA) && nodeA.group;\n\t    var nodeBIsGroup = utils_1.Utils.exists(nodeB) && nodeB.group;\n\t    var bothAreGroups = nodeAIsGroup && nodeBIsGroup;\n\t    var bothAreNormal = !nodeAIsGroup && !nodeBIsGroup;\n\t    if (bothAreGroups) {\n\t        return utils_1.Utils.defaultComparator(nodeA.key, nodeB.key);\n\t    }\n\t    else if (bothAreNormal) {\n\t        return utils_1.Utils.defaultComparator(valueA, valueB);\n\t    }\n\t    else if (nodeAIsGroup) {\n\t        return 1;\n\t    }\n\t    else {\n\t        return -1;\n\t    }\n\t}\n\texports.defaultGroupComparator = defaultGroupComparator;\n\n\n/***/ }),\n/* 105 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar context_1 = __webpack_require__(8);\n\tvar Downloader = (function () {\n\t    function Downloader() {\n\t    }\n\t    Downloader.prototype.download = function (fileName, content, mimeType) {\n\t        // for Excel, we need \\ufeff at the start\n\t        // http://stackoverflow.com/questions/17879198/adding-utf-8-bom-to-string-blob\n\t        var blobObject = new Blob([\"\\ufeff\", content], {\n\t            type: mimeType\n\t        });\n\t        // Internet Explorer\n\t        if (window.navigator.msSaveOrOpenBlob) {\n\t            window.navigator.msSaveOrOpenBlob(blobObject, fileName);\n\t        }\n\t        else {\n\t            // Chrome\n\t            var downloadLink = document.createElement(\"a\");\n\t            downloadLink.href = window.URL.createObjectURL(blobObject);\n\t            downloadLink.download = fileName;\n\t            document.body.appendChild(downloadLink);\n\t            downloadLink.click();\n\t            document.body.removeChild(downloadLink);\n\t        }\n\t    };\n\t    return Downloader;\n\t}());\n\tDownloader = __decorate([\n\t    context_1.Bean('downloader')\n\t], Downloader);\n\texports.Downloader = Downloader;\n\n\n/***/ }),\n/* 106 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar context_1 = __webpack_require__(8);\n\tvar filterManager_1 = __webpack_require__(48);\n\tvar utils_1 = __webpack_require__(9);\n\tvar popupService_1 = __webpack_require__(49);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar StandardMenuFactory = (function () {\n\t    function StandardMenuFactory() {\n\t    }\n\t    StandardMenuFactory.prototype.showMenuAfterMouseEvent = function (column, mouseEvent) {\n\t        var _this = this;\n\t        this.showPopup(column, function (eMenu) {\n\t            _this.popupService.positionPopupUnderMouseEvent({\n\t                mouseEvent: mouseEvent,\n\t                ePopup: eMenu\n\t            });\n\t        });\n\t    };\n\t    StandardMenuFactory.prototype.showMenuAfterButtonClick = function (column, eventSource) {\n\t        var _this = this;\n\t        this.showPopup(column, function (eMenu) {\n\t            _this.popupService.positionPopupUnderComponent({ eventSource: eventSource, ePopup: eMenu, keepWithinBounds: true });\n\t        });\n\t    };\n\t    StandardMenuFactory.prototype.showPopup = function (column, positionCallback) {\n\t        var _this = this;\n\t        var filterWrapper = this.filterManager.getOrCreateFilterWrapper(column);\n\t        var eMenu = document.createElement('div');\n\t        utils_1.Utils.addCssClass(eMenu, 'ag-menu');\n\t        eMenu.appendChild(filterWrapper.gui);\n\t        var hidePopup;\n\t        var bodyScrollListener = function (event) {\n\t            // if h scroll, popup is no longer over the column\n\t            if (event.direction === 'horizontal') {\n\t                hidePopup();\n\t            }\n\t        };\n\t        this.eventService.addEventListener('bodyScroll', bodyScrollListener);\n\t        var closedCallback = function () {\n\t            _this.eventService.removeEventListener('bodyScroll', bodyScrollListener);\n\t        };\n\t        // need to show filter before positioning, as only after filter\n\t        // is visible can we find out what the width of it is\n\t        hidePopup = this.popupService.addAsModalPopup(eMenu, true, closedCallback);\n\t        positionCallback(eMenu);\n\t        if (filterWrapper.filter.afterGuiAttached) {\n\t            var params = {\n\t                hidePopup: hidePopup\n\t            };\n\t            filterWrapper.filter.afterGuiAttached(params);\n\t        }\n\t    };\n\t    StandardMenuFactory.prototype.isMenuEnabled = function (column) {\n\t        // for standard, we show menu if filter is enabled, and he menu is not suppressed\n\t        return this.gridOptionsWrapper.isEnableFilter() && column.isFilterAllowed();\n\t    };\n\t    return StandardMenuFactory;\n\t}());\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], StandardMenuFactory.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('filterManager'),\n\t    __metadata(\"design:type\", filterManager_1.FilterManager)\n\t], StandardMenuFactory.prototype, \"filterManager\", void 0);\n\t__decorate([\n\t    context_1.Autowired('popupService'),\n\t    __metadata(\"design:type\", popupService_1.PopupService)\n\t], StandardMenuFactory.prototype, \"popupService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], StandardMenuFactory.prototype, \"gridOptionsWrapper\", void 0);\n\tStandardMenuFactory = __decorate([\n\t    context_1.Bean('menuFactory')\n\t], StandardMenuFactory);\n\texports.StandardMenuFactory = StandardMenuFactory;\n\n\n/***/ }),\n/* 107 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar context_1 = __webpack_require__(8);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar filterService_1 = __webpack_require__(108);\n\tvar FilterStage = (function () {\n\t    function FilterStage() {\n\t    }\n\t    FilterStage.prototype.execute = function (params) {\n\t        var rowNode = params.rowNode;\n\t        if (this.gridOptionsWrapper.isEnableServerSideFilter()) {\n\t            this.filterService.filter(rowNode, false);\n\t        }\n\t        else {\n\t            this.filterService.filterAccordingToColumnState(rowNode);\n\t        }\n\t    };\n\t    return FilterStage;\n\t}());\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], FilterStage.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('filterService'),\n\t    __metadata(\"design:type\", filterService_1.FilterService)\n\t], FilterStage.prototype, \"filterService\", void 0);\n\tFilterStage = __decorate([\n\t    context_1.Bean('filterStage')\n\t], FilterStage);\n\texports.FilterStage = FilterStage;\n\n\n/***/ }),\n/* 108 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar context_1 = __webpack_require__(8);\n\tvar filterManager_1 = __webpack_require__(48);\n\tvar FilterService = (function () {\n\t    function FilterService() {\n\t    }\n\t    FilterService.prototype.filterAccordingToColumnState = function (rowNode) {\n\t        var filterActive = this.filterManager.isAnyFilterPresent();\n\t        this.filter(rowNode, filterActive);\n\t    };\n\t    FilterService.prototype.filter = function (rowNode, filterActive) {\n\t        var _this = this;\n\t        // recursively get all children that are groups to also filter\n\t        rowNode.childrenAfterGroup.forEach(function (child) {\n\t            if (child.group) {\n\t                _this.filter(child, filterActive);\n\t            }\n\t        });\n\t        // result of filter for this node\n\t        var filterResult;\n\t        if (filterActive) {\n\t            filterResult = [];\n\t            rowNode.childrenAfterGroup.forEach(function (childNode) {\n\t                if (childNode.group) {\n\t                    // a group is included in the result if it has any children of it's own.\n\t                    // by this stage, the child groups are already filtered\n\t                    if (childNode.childrenAfterFilter.length > 0) {\n\t                        filterResult.push(childNode);\n\t                    }\n\t                }\n\t                else {\n\t                    // a leaf level node is included if it passes the filter\n\t                    if (_this.filterManager.doesRowPassFilter(childNode)) {\n\t                        filterResult.push(childNode);\n\t                    }\n\t                }\n\t            });\n\t        }\n\t        else {\n\t            // if not filtering, the result is the original list\n\t            filterResult = rowNode.childrenAfterGroup;\n\t        }\n\t        rowNode.childrenAfterFilter = filterResult;\n\t        this.setAllChildrenCount(rowNode);\n\t    };\n\t    FilterService.prototype.setAllChildrenCount = function (rowNode) {\n\t        var allChildrenCount = 0;\n\t        rowNode.childrenAfterFilter.forEach(function (child) {\n\t            if (child.group) {\n\t                allChildrenCount += child.allChildrenCount;\n\t            }\n\t            else {\n\t                allChildrenCount++;\n\t            }\n\t        });\n\t        rowNode.allChildrenCount = allChildrenCount;\n\t    };\n\t    return FilterService;\n\t}());\n\t__decorate([\n\t    context_1.Autowired('filterManager'),\n\t    __metadata(\"design:type\", filterManager_1.FilterManager)\n\t], FilterService.prototype, \"filterManager\", void 0);\n\tFilterService = __decorate([\n\t    context_1.Bean(\"filterService\")\n\t], FilterService);\n\texports.FilterService = FilterService;\n\n\n/***/ }),\n/* 109 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar context_1 = __webpack_require__(8);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar sortService_1 = __webpack_require__(110);\n\tvar SortStage = (function () {\n\t    function SortStage() {\n\t    }\n\t    SortStage.prototype.execute = function (params) {\n\t        // if the sorting is already done by the server, then we should not do it here\n\t        if (this.gridOptionsWrapper.isEnableServerSideSorting()) {\n\t            this.sortService.sort(params.rowNode, null);\n\t        }\n\t        else {\n\t            this.sortService.sortAccordingToColumnsState(params.rowNode);\n\t        }\n\t    };\n\t    return SortStage;\n\t}());\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], SortStage.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('sortService'),\n\t    __metadata(\"design:type\", sortService_1.SortService)\n\t], SortStage.prototype, \"sortService\", void 0);\n\tSortStage = __decorate([\n\t    context_1.Bean('sortStage')\n\t], SortStage);\n\texports.SortStage = SortStage;\n\n\n/***/ }),\n/* 110 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar context_1 = __webpack_require__(8);\n\tvar sortController_1 = __webpack_require__(61);\n\tvar utils_1 = __webpack_require__(9);\n\tvar valueService_1 = __webpack_require__(32);\n\tvar SortService = (function () {\n\t    function SortService() {\n\t    }\n\t    SortService.prototype.sortAccordingToColumnsState = function (rowNode) {\n\t        var sortOptions = this.sortController.getSortForRowController();\n\t        this.sort(rowNode, sortOptions);\n\t    };\n\t    SortService.prototype.sort = function (rowNode, sortOptions) {\n\t        var _this = this;\n\t        // sort any groups recursively\n\t        rowNode.childrenAfterFilter.forEach(function (child) {\n\t            if (child.group) {\n\t                _this.sort(child, sortOptions);\n\t            }\n\t        });\n\t        rowNode.childrenAfterSort = rowNode.childrenAfterFilter.slice(0);\n\t        var sortActive = utils_1._.exists(sortOptions) && sortOptions.length > 0;\n\t        if (sortActive) {\n\t            rowNode.childrenAfterSort.sort(this.compareRowNodes.bind(this, sortOptions));\n\t        }\n\t        this.updateChildIndexes(rowNode);\n\t    };\n\t    SortService.prototype.compareRowNodes = function (sortOptions, nodeA, nodeB) {\n\t        // Iterate columns, return the first that doesn't match\n\t        for (var i = 0, len = sortOptions.length; i < len; i++) {\n\t            var sortOption = sortOptions[i];\n\t            // let compared = compare(nodeA, nodeB, sortOption.column, sortOption.inverter === -1);\n\t            var isInverted = sortOption.inverter === -1;\n\t            var valueA = this.valueService.getValue(sortOption.column, nodeA);\n\t            var valueB = this.valueService.getValue(sortOption.column, nodeB);\n\t            var comparatorResult = void 0;\n\t            if (sortOption.column.getColDef().comparator) {\n\t                //if comparator provided, use it\n\t                comparatorResult = sortOption.column.getColDef().comparator(valueA, valueB, nodeA, nodeB, isInverted);\n\t            }\n\t            else {\n\t                //otherwise do our own comparison\n\t                comparatorResult = utils_1._.defaultComparator(valueA, valueB);\n\t            }\n\t            if (comparatorResult !== 0) {\n\t                return comparatorResult * sortOption.inverter;\n\t            }\n\t        }\n\t        // All matched, these are identical as far as the sort is concerned:\n\t        return 0;\n\t    };\n\t    SortService.prototype.updateChildIndexes = function (rowNode) {\n\t        if (utils_1._.missing(rowNode.childrenAfterSort)) {\n\t            return;\n\t        }\n\t        rowNode.childrenAfterSort.forEach(function (child, index) {\n\t            child.firstChild = index === 0;\n\t            child.lastChild = index === rowNode.childrenAfterSort.length - 1;\n\t            child.childIndex = index;\n\t        });\n\t    };\n\t    return SortService;\n\t}());\n\t__decorate([\n\t    context_1.Autowired('sortController'),\n\t    __metadata(\"design:type\", sortController_1.SortController)\n\t], SortService.prototype, \"sortController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('valueService'),\n\t    __metadata(\"design:type\", valueService_1.ValueService)\n\t], SortService.prototype, \"valueService\", void 0);\n\tSortService = __decorate([\n\t    context_1.Bean('sortService')\n\t], SortService);\n\texports.SortService = SortService;\n\n\n/***/ }),\n/* 111 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar context_1 = __webpack_require__(8);\n\tvar rowNode_1 = __webpack_require__(30);\n\tvar utils_1 = __webpack_require__(9);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar selectionController_1 = __webpack_require__(31);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar FlattenStage = (function () {\n\t    function FlattenStage() {\n\t    }\n\t    FlattenStage.prototype.execute = function (params) {\n\t        var rootNode = params.rowNode;\n\t        // even if not doing grouping, we do the mapping, as the client might\n\t        // of passed in data that already has a grouping in it somewhere\n\t        var result = [];\n\t        // putting value into a wrapper so it's passed by reference\n\t        var nextRowTop = { value: 0 };\n\t        var pivotMode = this.columnController.isPivotMode();\n\t        // if we are reducing, and not grouping, then we want to show the root node, as that\n\t        // is where the pivot values are\n\t        var showRootNode = pivotMode && rootNode.leafGroup;\n\t        var topList = showRootNode ? [rootNode] : rootNode.childrenAfterSort;\n\t        // set all row tops to null, then set row tops on all visible rows. if we don't\n\t        // do this, then the algorithm below only sets row tops, old row tops from old rows\n\t        // will still lie around\n\t        this.resetRowTops(rootNode);\n\t        this.recursivelyAddToRowsToDisplay(topList, result, nextRowTop, pivotMode);\n\t        return result;\n\t    };\n\t    FlattenStage.prototype.resetRowTops = function (rowNode) {\n\t        rowNode.clearRowTop();\n\t        if (rowNode.group) {\n\t            if (rowNode.childrenAfterGroup) {\n\t                for (var i = 0; i < rowNode.childrenAfterGroup.length; i++) {\n\t                    this.resetRowTops(rowNode.childrenAfterGroup[i]);\n\t                }\n\t            }\n\t            if (rowNode.sibling) {\n\t                rowNode.sibling.clearRowTop();\n\t            }\n\t        }\n\t    };\n\t    FlattenStage.prototype.recursivelyAddToRowsToDisplay = function (rowsToFlatten, result, nextRowTop, reduce) {\n\t        if (utils_1.Utils.missingOrEmpty(rowsToFlatten)) {\n\t            return;\n\t        }\n\t        var groupSuppressRow = this.gridOptionsWrapper.isGroupSuppressRow();\n\t        var hideOpenParents = this.gridOptionsWrapper.isGroupHideOpenParents();\n\t        for (var i = 0; i < rowsToFlatten.length; i++) {\n\t            var rowNode = rowsToFlatten[i];\n\t            var skipBecauseSuppressRow = groupSuppressRow && rowNode.group;\n\t            var skipBecauseReduce = reduce && !rowNode.group;\n\t            var skipBecauseOpen = hideOpenParents && rowNode.expanded;\n\t            var skipGroupNode = skipBecauseReduce || skipBecauseSuppressRow || skipBecauseOpen;\n\t            if (!skipGroupNode) {\n\t                this.addRowNodeToRowsToDisplay(rowNode, result, nextRowTop);\n\t            }\n\t            if (rowNode.group) {\n\t                if (rowNode.expanded) {\n\t                    this.recursivelyAddToRowsToDisplay(rowNode.childrenAfterSort, result, nextRowTop, reduce);\n\t                    // put a footer in if user is looking for it\n\t                    if (this.gridOptionsWrapper.isGroupIncludeFooter()) {\n\t                        this.ensureFooterNodeExists(rowNode);\n\t                        this.addRowNodeToRowsToDisplay(rowNode.sibling, result, nextRowTop);\n\t                    }\n\t                }\n\t            }\n\t            if (rowNode.canFlower && rowNode.expanded) {\n\t                var flowerNode = this.createFlowerNode(rowNode);\n\t                this.addRowNodeToRowsToDisplay(flowerNode, result, nextRowTop);\n\t            }\n\t        }\n\t    };\n\t    // duplicated method, it's also in floatingRowModel\n\t    FlattenStage.prototype.addRowNodeToRowsToDisplay = function (rowNode, result, nextRowTop) {\n\t        result.push(rowNode);\n\t        if (utils_1.Utils.missing(rowNode.rowHeight)) {\n\t            var rowHeight = this.gridOptionsWrapper.getRowHeightForNode(rowNode);\n\t            rowNode.setRowHeight(rowHeight);\n\t        }\n\t        rowNode.setRowTop(nextRowTop.value);\n\t        rowNode.setRowIndex(result.length - 1);\n\t        nextRowTop.value += rowNode.rowHeight;\n\t    };\n\t    FlattenStage.prototype.ensureFooterNodeExists = function (groupNode) {\n\t        // only create footer node once, otherwise we have daemons and\n\t        // the animate screws up with the daemons hanging around\n\t        if (utils_1.Utils.exists(groupNode.sibling)) {\n\t            return;\n\t        }\n\t        var footerNode = new rowNode_1.RowNode();\n\t        this.context.wireBean(footerNode);\n\t        Object.keys(groupNode).forEach(function (key) {\n\t            footerNode[key] = groupNode[key];\n\t        });\n\t        footerNode.footer = true;\n\t        footerNode.rowTop = null;\n\t        footerNode.oldRowTop = null;\n\t        if (utils_1.Utils.exists(footerNode.id)) {\n\t            footerNode.id = 'rowGroupFooter_' + footerNode.id;\n\t        }\n\t        // get both header and footer to reference each other as siblings. this is never undone,\n\t        // only overwritten. so if a group is expanded, then contracted, it will have a ghost\n\t        // sibling - but that's fine, as we can ignore this if the header is contracted.\n\t        footerNode.sibling = groupNode;\n\t        groupNode.sibling = footerNode;\n\t    };\n\t    FlattenStage.prototype.createFlowerNode = function (parentNode) {\n\t        if (utils_1.Utils.exists(parentNode.childFlower)) {\n\t            return parentNode.childFlower;\n\t        }\n\t        else {\n\t            var flowerNode = new rowNode_1.RowNode();\n\t            this.context.wireBean(flowerNode);\n\t            flowerNode.flower = true;\n\t            flowerNode.parent = parentNode;\n\t            if (utils_1.Utils.exists(parentNode.id)) {\n\t                flowerNode.id = 'flowerNode_' + parentNode.id;\n\t            }\n\t            flowerNode.data = parentNode.data;\n\t            flowerNode.level = parentNode.level + 1;\n\t            parentNode.childFlower = flowerNode;\n\t            return flowerNode;\n\t        }\n\t    };\n\t    return FlattenStage;\n\t}());\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], FlattenStage.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('selectionController'),\n\t    __metadata(\"design:type\", selectionController_1.SelectionController)\n\t], FlattenStage.prototype, \"selectionController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], FlattenStage.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('context'),\n\t    __metadata(\"design:type\", context_1.Context)\n\t], FlattenStage.prototype, \"context\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", columnController_1.ColumnController)\n\t], FlattenStage.prototype, \"columnController\", void 0);\n\tFlattenStage = __decorate([\n\t    context_1.Bean('flattenStage')\n\t], FlattenStage);\n\texports.FlattenStage = FlattenStage;\n\n\n/***/ }),\n/* 112 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar utils_1 = __webpack_require__(9);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar context_1 = __webpack_require__(8);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar selectionController_1 = __webpack_require__(31);\n\tvar events_1 = __webpack_require__(12);\n\tvar sortController_1 = __webpack_require__(61);\n\tvar filterManager_1 = __webpack_require__(48);\n\tvar constants_1 = __webpack_require__(10);\n\tvar infiniteCache_1 = __webpack_require__(113);\n\tvar beanStub_1 = __webpack_require__(40);\n\tvar InfiniteRowModel = (function (_super) {\n\t    __extends(InfiniteRowModel, _super);\n\t    function InfiniteRowModel() {\n\t        return _super !== null && _super.apply(this, arguments) || this;\n\t    }\n\t    InfiniteRowModel.prototype.getRowBounds = function (index) {\n\t        if (utils_1.Utils.missing(this.infiniteCache)) {\n\t            return null;\n\t        }\n\t        return this.infiniteCache.getRowBounds(index);\n\t    };\n\t    InfiniteRowModel.prototype.init = function () {\n\t        if (!this.gridOptionsWrapper.isRowModelInfinite()) {\n\t            return;\n\t        }\n\t        this.addEventListeners();\n\t        this.setDatasource(this.gridOptionsWrapper.getDatasource());\n\t    };\n\t    InfiniteRowModel.prototype.isLastRowFound = function () {\n\t        return this.infiniteCache ? this.infiniteCache.isMaxRowFound() : false;\n\t    };\n\t    InfiniteRowModel.prototype.addEventListeners = function () {\n\t        this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_FILTER_CHANGED, this.onFilterChanged.bind(this));\n\t        this.addDestroyableEventListener(this.eventService, events_1.Events.EVENT_SORT_CHANGED, this.onSortChanged.bind(this));\n\t    };\n\t    InfiniteRowModel.prototype.onFilterChanged = function () {\n\t        if (this.gridOptionsWrapper.isEnableServerSideFilter()) {\n\t            this.reset();\n\t        }\n\t    };\n\t    InfiniteRowModel.prototype.onSortChanged = function () {\n\t        if (this.gridOptionsWrapper.isEnableServerSideSorting()) {\n\t            this.reset();\n\t        }\n\t    };\n\t    InfiniteRowModel.prototype.destroy = function () {\n\t        _super.prototype.destroy.call(this);\n\t    };\n\t    InfiniteRowModel.prototype.getType = function () {\n\t        return constants_1.Constants.ROW_MODEL_TYPE_INFINITE;\n\t    };\n\t    InfiniteRowModel.prototype.setDatasource = function (datasource) {\n\t        this.datasource = datasource;\n\t        // only reset if we have a valid datasource to working with\n\t        if (datasource) {\n\t            this.checkForDeprecated();\n\t            this.reset();\n\t        }\n\t    };\n\t    InfiniteRowModel.prototype.checkForDeprecated = function () {\n\t        var ds = this.datasource;\n\t        // the number of concurrent loads we are allowed to the server\n\t        if (utils_1.Utils.exists(ds.maxConcurrentRequests)) {\n\t            console.error('ag-Grid: since version 5.1.x, maxConcurrentRequests is replaced with grid property maxConcurrentDatasourceRequests');\n\t        }\n\t        if (utils_1.Utils.exists(ds.maxPagesInCache)) {\n\t            console.error('ag-Grid: since version 5.1.x, maxPagesInCache is replaced with grid property maxPagesInPaginationCache');\n\t        }\n\t        if (utils_1.Utils.exists(ds.overflowSize)) {\n\t            console.error('ag-Grid: since version 5.1.x, overflowSize is replaced with grid property paginationOverflowSize');\n\t        }\n\t        if (utils_1.Utils.exists(ds.pageSize)) {\n\t            console.error('ag-Grid: since version 5.1.x, pageSize is replaced with grid property infinitePageSize');\n\t        }\n\t    };\n\t    InfiniteRowModel.prototype.isEmpty = function () {\n\t        return utils_1.Utils.missing(this.infiniteCache);\n\t    };\n\t    InfiniteRowModel.prototype.isRowsToRender = function () {\n\t        return utils_1.Utils.exists(this.infiniteCache);\n\t    };\n\t    InfiniteRowModel.prototype.reset = function () {\n\t        // important to return here, as the user could be setting filter or sort before\n\t        // data-source is set\n\t        if (utils_1.Utils.missing(this.datasource)) {\n\t            return;\n\t        }\n\t        // if user is providing id's, then this means we can keep the selection between datsource hits,\n\t        // as the rows will keep their unique id's even if, for example, server side sorting or filtering\n\t        // is done.\n\t        var userGeneratingIds = utils_1.Utils.exists(this.gridOptionsWrapper.getRowNodeIdFunc());\n\t        if (!userGeneratingIds) {\n\t            this.selectionController.reset();\n\t        }\n\t        this.resetCache();\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_MODEL_UPDATED);\n\t    };\n\t    InfiniteRowModel.prototype.resetCache = function () {\n\t        var cacheSettings = {\n\t            // the user provided datasource\n\t            datasource: this.datasource,\n\t            // sort and filter model\n\t            filterModel: this.filterManager.getFilterModel(),\n\t            sortModel: this.sortController.getSortModel(),\n\t            // properties - this way we take a snapshot of them, so if user changes any, they will be\n\t            // used next time we create a new cache, which is generally after a filter or sort change,\n\t            // or a new datasource is set\n\t            maxConcurrentRequests: this.gridOptionsWrapper.getMaxConcurrentDatasourceRequests(),\n\t            overflowSize: this.gridOptionsWrapper.getPaginationOverflowSize(),\n\t            initialRowCount: this.gridOptionsWrapper.getInfiniteInitialRowCount(),\n\t            maxBlocksInCache: this.gridOptionsWrapper.getMaxPagesInCache(),\n\t            pageSize: this.gridOptionsWrapper.getInfiniteBlockSize(),\n\t            rowHeight: this.gridOptionsWrapper.getRowHeightAsNumber(),\n\t            // the cache could create this, however it is also used by the pages, so handy to create it\n\t            // here as the settings are also passed to the pages\n\t            lastAccessedSequence: new utils_1.NumberSequence()\n\t        };\n\t        // set defaults\n\t        if (!(cacheSettings.maxConcurrentRequests >= 1)) {\n\t            cacheSettings.maxConcurrentRequests = 2;\n\t        }\n\t        // page size needs to be 1 or greater. having it at 1 would be silly, as you would be hitting the\n\t        // server for one page at a time. so the default if not specified is 100.\n\t        if (!(cacheSettings.pageSize >= 1)) {\n\t            cacheSettings.pageSize = 100;\n\t        }\n\t        // if user doesn't give initial rows to display, we assume zero\n\t        if (!(cacheSettings.initialRowCount >= 1)) {\n\t            cacheSettings.initialRowCount = 0;\n\t        }\n\t        // if user doesn't provide overflow, we use default overflow of 1, so user can scroll past\n\t        // the current page and request first row of next page\n\t        if (!(cacheSettings.overflowSize >= 1)) {\n\t            cacheSettings.overflowSize = 1;\n\t        }\n\t        // if not first time creating a cache, need to destroy the old one\n\t        if (this.infiniteCache) {\n\t            this.infiniteCache.destroy();\n\t        }\n\t        this.infiniteCache = new infiniteCache_1.InfiniteCache(cacheSettings);\n\t        this.context.wireBean(this.infiniteCache);\n\t    };\n\t    InfiniteRowModel.prototype.getRow = function (rowIndex) {\n\t        return this.infiniteCache ? this.infiniteCache.getRow(rowIndex) : null;\n\t    };\n\t    InfiniteRowModel.prototype.forEachNode = function (callback) {\n\t        if (this.infiniteCache) {\n\t            this.infiniteCache.forEachNode(callback);\n\t        }\n\t    };\n\t    InfiniteRowModel.prototype.getCurrentPageHeight = function () {\n\t        return this.infiniteCache ? this.infiniteCache.getCurrentPageHeight() : 0;\n\t    };\n\t    InfiniteRowModel.prototype.getRowIndexAtPixel = function (pixel) {\n\t        return this.infiniteCache ? this.infiniteCache.getRowIndexAtPixel(pixel) : -1;\n\t    };\n\t    InfiniteRowModel.prototype.getPageFirstRow = function () {\n\t        return 0;\n\t    };\n\t    InfiniteRowModel.prototype.getPageLastRow = function () {\n\t        return this.infiniteCache ? this.infiniteCache.getRowCount() - 1 : 0;\n\t    };\n\t    InfiniteRowModel.prototype.getRowCount = function () {\n\t        return this.infiniteCache ? this.infiniteCache.getRowCount() : 0;\n\t    };\n\t    InfiniteRowModel.prototype.insertItemsAtIndex = function (index, items, skipRefresh) {\n\t        if (this.infiniteCache) {\n\t            this.infiniteCache.insertItemsAtIndex(index, items);\n\t        }\n\t    };\n\t    InfiniteRowModel.prototype.removeItems = function (rowNodes, skipRefresh) {\n\t        console.log('ag-Grid: it is not possible to removeItems when using virtual pagination. Instead use the ' +\n\t            'API to refresh the cache');\n\t    };\n\t    InfiniteRowModel.prototype.addItems = function (items, skipRefresh) {\n\t        console.log('ag-Grid: it is not possible to add items when using virtual pagination as the grid does not ' +\n\t            'know that last index of your data - instead either use insertItemsAtIndex OR refresh the cache.');\n\t    };\n\t    InfiniteRowModel.prototype.isRowPresent = function (rowNode) {\n\t        console.log('ag-Grid: not supported.');\n\t        return false;\n\t    };\n\t    InfiniteRowModel.prototype.refreshCache = function () {\n\t        if (this.infiniteCache) {\n\t            this.infiniteCache.refreshCache();\n\t        }\n\t    };\n\t    InfiniteRowModel.prototype.purgeCache = function () {\n\t        if (this.infiniteCache) {\n\t            this.infiniteCache.purgeCache();\n\t        }\n\t    };\n\t    InfiniteRowModel.prototype.getVirtualRowCount = function () {\n\t        if (this.infiniteCache) {\n\t            return this.infiniteCache.getVirtualRowCount();\n\t        }\n\t        else {\n\t            return null;\n\t        }\n\t    };\n\t    InfiniteRowModel.prototype.isMaxRowFound = function () {\n\t        if (this.infiniteCache) {\n\t            return this.infiniteCache.isMaxRowFound();\n\t        }\n\t    };\n\t    InfiniteRowModel.prototype.setVirtualRowCount = function (rowCount, maxRowFound) {\n\t        if (this.infiniteCache) {\n\t            this.infiniteCache.setVirtualRowCount(rowCount, maxRowFound);\n\t        }\n\t    };\n\t    InfiniteRowModel.prototype.getPageState = function () {\n\t        if (this.infiniteCache) {\n\t            return this.infiniteCache.getPageState();\n\t        }\n\t        else {\n\t            return null;\n\t        }\n\t    };\n\t    return InfiniteRowModel;\n\t}(beanStub_1.BeanStub));\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], InfiniteRowModel.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('filterManager'),\n\t    __metadata(\"design:type\", filterManager_1.FilterManager)\n\t], InfiniteRowModel.prototype, \"filterManager\", void 0);\n\t__decorate([\n\t    context_1.Autowired('sortController'),\n\t    __metadata(\"design:type\", sortController_1.SortController)\n\t], InfiniteRowModel.prototype, \"sortController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('selectionController'),\n\t    __metadata(\"design:type\", selectionController_1.SelectionController)\n\t], InfiniteRowModel.prototype, \"selectionController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], InfiniteRowModel.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('context'),\n\t    __metadata(\"design:type\", context_1.Context)\n\t], InfiniteRowModel.prototype, \"context\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], InfiniteRowModel.prototype, \"init\", null);\n\t__decorate([\n\t    context_1.PreDestroy,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], InfiniteRowModel.prototype, \"destroy\", null);\n\tInfiniteRowModel = __decorate([\n\t    context_1.Bean('rowModel')\n\t], InfiniteRowModel);\n\texports.InfiniteRowModel = InfiniteRowModel;\n\n\n/***/ }),\n/* 113 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar __param = (this && this.__param) || function (paramIndex, decorator) {\n\t    return function (target, key) { decorator(target, key, paramIndex); }\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar utils_1 = __webpack_require__(9);\n\tvar context_1 = __webpack_require__(8);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar events_1 = __webpack_require__(12);\n\tvar logger_1 = __webpack_require__(7);\n\tvar infiniteBlock_1 = __webpack_require__(114);\n\tvar RowNodeCache = (function () {\n\t    function RowNodeCache(params) {\n\t        this.maxRowFound = false;\n\t        this.active = true;\n\t        this.virtualRowCount = params.initialRowCount;\n\t        this.rowNodeCacheParams = params;\n\t    }\n\t    RowNodeCache.prototype.isActive = function () {\n\t        return this.active;\n\t    };\n\t    RowNodeCache.prototype.getVirtualRowCount = function () {\n\t        return this.virtualRowCount;\n\t    };\n\t    RowNodeCache.prototype.hack_setVirtualRowCount = function (virtualRowCount) {\n\t        this.virtualRowCount = virtualRowCount;\n\t    };\n\t    RowNodeCache.prototype.isMaxRowFound = function () {\n\t        return this.maxRowFound;\n\t    };\n\t    // as we are not a context managed bean, we cannot use @PreDestroy\n\t    RowNodeCache.prototype.destroy = function () {\n\t        this.active = false;\n\t    };\n\t    RowNodeCache.prototype.checkVirtualRowCount = function (page, lastRow) {\n\t        // if client provided a last row, we always use it, as it could change between server calls\n\t        // if user deleted data and then called refresh on the grid.\n\t        if (typeof lastRow === 'number' && lastRow >= 0) {\n\t            this.virtualRowCount = lastRow;\n\t            this.maxRowFound = true;\n\t            this.dispatchModelUpdated();\n\t        }\n\t        else if (!this.maxRowFound) {\n\t            // otherwise, see if we need to add some virtual rows\n\t            var lastRowIndex = (page.getPageNumber() + 1) * this.rowNodeCacheParams.pageSize;\n\t            var lastRowIndexPlusOverflow = lastRowIndex + this.rowNodeCacheParams.overflowSize;\n\t            if (this.virtualRowCount < lastRowIndexPlusOverflow) {\n\t                this.virtualRowCount = lastRowIndexPlusOverflow;\n\t                this.dispatchModelUpdated();\n\t            }\n\t        }\n\t    };\n\t    RowNodeCache.prototype.setVirtualRowCount = function (rowCount, maxRowFound) {\n\t        this.virtualRowCount = rowCount;\n\t        // if undefined is passed, we do not set this value, if one of {true,false}\n\t        // is passed, we do set the value.\n\t        if (utils_1.Utils.exists(maxRowFound)) {\n\t            this.maxRowFound = maxRowFound;\n\t        }\n\t        // if we are still searching, then the row count must not end at the end\n\t        // of a particular page, otherwise the searching will not pop into the\n\t        // next page\n\t        if (!this.maxRowFound) {\n\t            if (this.virtualRowCount % this.rowNodeCacheParams.pageSize === 0) {\n\t                this.virtualRowCount++;\n\t            }\n\t        }\n\t        this.dispatchModelUpdated();\n\t    };\n\t    return RowNodeCache;\n\t}());\n\texports.RowNodeCache = RowNodeCache;\n\tvar InfiniteCache = (function (_super) {\n\t    __extends(InfiniteCache, _super);\n\t    function InfiniteCache(params) {\n\t        var _this = _super.call(this, params) || this;\n\t        _this.blocks = {};\n\t        _this.activePageLoadsCount = 0;\n\t        _this.blocksCount = 0;\n\t        _this.cacheParams = params;\n\t        return _this;\n\t    }\n\t    InfiniteCache.prototype.getRowBounds = function (index) {\n\t        return {\n\t            rowHeight: this.cacheParams.rowHeight,\n\t            rowTop: this.cacheParams.rowHeight * index\n\t        };\n\t    };\n\t    InfiniteCache.prototype.setBeans = function (loggerFactory) {\n\t        this.logger = loggerFactory.create('VirtualPageCache');\n\t    };\n\t    InfiniteCache.prototype.init = function () {\n\t        // start load of data, as the virtualRowCount will remain at 0 otherwise,\n\t        // so we need this to kick things off, otherwise grid would never call getRow()\n\t        this.getRow(0);\n\t    };\n\t    InfiniteCache.prototype.getCurrentPageHeight = function () {\n\t        return this.getVirtualRowCount() * this.cacheParams.rowHeight;\n\t    };\n\t    InfiniteCache.prototype.forEachNode = function (callback) {\n\t        var _this = this;\n\t        var index = 0;\n\t        utils_1.Utils.iterateObject(this.blocks, function (key, cachePage) {\n\t            var start = cachePage.getStartRow();\n\t            var end = cachePage.getEndRow();\n\t            for (var rowIndex = start; rowIndex < end; rowIndex++) {\n\t                // we check against virtualRowCount as this page may be the last one, and if it is, then\n\t                // it's probable that the last rows are not part of the set\n\t                if (rowIndex < _this.getVirtualRowCount()) {\n\t                    var rowNode = cachePage.getRow(rowIndex);\n\t                    callback(rowNode, index);\n\t                    index++;\n\t                }\n\t            }\n\t        });\n\t    };\n\t    InfiniteCache.prototype.getRowIndexAtPixel = function (pixel) {\n\t        if (this.cacheParams.rowHeight !== 0) {\n\t            var rowIndexForPixel = Math.floor(pixel / this.cacheParams.rowHeight);\n\t            if (rowIndexForPixel >= this.getVirtualRowCount()) {\n\t                return this.getVirtualRowCount() - 1;\n\t            }\n\t            else {\n\t                return rowIndexForPixel;\n\t            }\n\t        }\n\t        else {\n\t            return 0;\n\t        }\n\t    };\n\t    InfiniteCache.prototype.moveItemsDown = function (page, moveFromIndex, moveCount) {\n\t        var startRow = page.getStartRow();\n\t        var endRow = page.getEndRow();\n\t        var indexOfLastRowToMove = moveFromIndex + moveCount;\n\t        // all rows need to be moved down below the insertion index\n\t        for (var currentRowIndex = endRow - 1; currentRowIndex >= startRow; currentRowIndex--) {\n\t            // don't move rows at or before the insertion index\n\t            if (currentRowIndex < indexOfLastRowToMove) {\n\t                continue;\n\t            }\n\t            var indexOfNodeWeWant = currentRowIndex - moveCount;\n\t            var nodeForThisIndex = this.getRow(indexOfNodeWeWant, true);\n\t            if (nodeForThisIndex) {\n\t                page.setRowNode(currentRowIndex, nodeForThisIndex);\n\t            }\n\t            else {\n\t                page.setBlankRowNode(currentRowIndex);\n\t                page.setDirty();\n\t            }\n\t        }\n\t    };\n\t    InfiniteCache.prototype.insertItems = function (page, indexToInsert, items) {\n\t        var pageStartRow = page.getStartRow();\n\t        var pageEndRow = page.getEndRow();\n\t        var newRowNodes = [];\n\t        // next stage is insert the rows into this page, if applicable\n\t        for (var index = 0; index < items.length; index++) {\n\t            var rowIndex = indexToInsert + index;\n\t            var currentRowInThisPage = rowIndex >= pageStartRow && rowIndex < pageEndRow;\n\t            if (currentRowInThisPage) {\n\t                var dataItem = items[index];\n\t                var newRowNode = page.setNewData(rowIndex, dataItem);\n\t                newRowNodes.push(newRowNode);\n\t            }\n\t        }\n\t        return newRowNodes;\n\t    };\n\t    InfiniteCache.prototype.insertItemsAtIndex = function (indexToInsert, items) {\n\t        var _this = this;\n\t        // get all page id's as NUMBERS (not strings, as we need to sort as numbers) and in descending order\n\t        var pageIds = Object.keys(this.blocks).map(function (str) { return parseInt(str); }).sort().reverse();\n\t        var newNodes = [];\n\t        pageIds.forEach(function (pageId) {\n\t            var page = _this.blocks[pageId];\n\t            var pageEndRow = page.getEndRow();\n\t            // if the insertion is after this page, then this page is not impacted\n\t            if (pageEndRow <= indexToInsert) {\n\t                return;\n\t            }\n\t            _this.moveItemsDown(page, indexToInsert, items.length);\n\t            var newNodesThisPage = _this.insertItems(page, indexToInsert, items);\n\t            newNodesThisPage.forEach(function (rowNode) { return newNodes.push(rowNode); });\n\t        });\n\t        if (this.isMaxRowFound()) {\n\t            this.hack_setVirtualRowCount(this.getVirtualRowCount() + items.length);\n\t        }\n\t        this.dispatchModelUpdated();\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_ITEMS_ADDED, newNodes);\n\t    };\n\t    InfiniteCache.prototype.getRowCount = function () {\n\t        return this.getVirtualRowCount();\n\t    };\n\t    InfiniteCache.prototype.onPageLoaded = function (event) {\n\t        // if we are not active, then we ignore all events, otherwise we could end up getting the\n\t        // grid to refresh even though we are no longer the active cache\n\t        if (!this.isActive()) {\n\t            return;\n\t        }\n\t        this.logger.log(\"onPageLoaded: page = \" + event.page.getPageNumber() + \", lastRow = \" + event.lastRow);\n\t        this.activePageLoadsCount--;\n\t        this.checkBlockToLoad();\n\t        if (event.success) {\n\t            this.checkVirtualRowCount(event.page, event.lastRow);\n\t        }\n\t    };\n\t    // the rowRenderer will not pass dontCreatePage, meaning when rendering the grid,\n\t    // it will want new pages in the cache as it asks for rows. only when we are inserting /\n\t    // removing rows via the api is dontCreatePage set, where we move rows between the pages.\n\t    InfiniteCache.prototype.getRow = function (rowIndex, dontCreatePage) {\n\t        if (dontCreatePage === void 0) { dontCreatePage = false; }\n\t        var pageNumber = Math.floor(rowIndex / this.cacheParams.pageSize);\n\t        var page = this.blocks[pageNumber];\n\t        if (!page) {\n\t            if (dontCreatePage) {\n\t                return null;\n\t            }\n\t            else {\n\t                page = this.createBlock(pageNumber);\n\t            }\n\t        }\n\t        return page.getRow(rowIndex);\n\t    };\n\t    InfiniteCache.prototype.createBlock = function (blockNumber) {\n\t        var newBlock = new infiniteBlock_1.InfiniteBlock(blockNumber, this.cacheParams);\n\t        this.context.wireBean(newBlock);\n\t        newBlock.addEventListener(infiniteBlock_1.InfiniteBlock.EVENT_LOAD_COMPLETE, this.onPageLoaded.bind(this));\n\t        this.blocks[blockNumber] = newBlock;\n\t        this.blocksCount++;\n\t        var needToPurge = utils_1.Utils.exists(this.cacheParams.maxBlocksInCache)\n\t            && this.blocksCount > this.cacheParams.maxBlocksInCache;\n\t        if (needToPurge) {\n\t            var lruPage = this.findLeastRecentlyUsedPage(newBlock);\n\t            this.removeBlockFromCache(lruPage);\n\t        }\n\t        this.checkBlockToLoad();\n\t        return newBlock;\n\t    };\n\t    InfiniteCache.prototype.removeBlockFromCache = function (pageToRemove) {\n\t        if (!pageToRemove) {\n\t            return;\n\t        }\n\t        delete this.blocks[pageToRemove.getPageNumber()];\n\t        this.blocksCount--;\n\t        // we do not want to remove the 'loaded' event listener, as the\n\t        // concurrent loads count needs to be updated when the load is complete\n\t        // if the purged page is in loading state\n\t    };\n\t    InfiniteCache.prototype.printCacheStatus = function () {\n\t        this.logger.log(\"checkPageToLoad: activePageLoadsCount = \" + this.activePageLoadsCount + \", pages = \" + JSON.stringify(this.getPageState()));\n\t    };\n\t    InfiniteCache.prototype.checkBlockToLoad = function () {\n\t        this.printCacheStatus();\n\t        if (this.activePageLoadsCount >= this.cacheParams.maxConcurrentRequests) {\n\t            this.logger.log(\"checkPageToLoad: max loads exceeded\");\n\t            return;\n\t        }\n\t        var pageToLoad = null;\n\t        utils_1.Utils.iterateObject(this.blocks, function (key, cachePage) {\n\t            if (cachePage.getState() === infiniteBlock_1.InfiniteBlock.STATE_DIRTY) {\n\t                pageToLoad = cachePage;\n\t            }\n\t        });\n\t        if (pageToLoad) {\n\t            pageToLoad.load();\n\t            this.activePageLoadsCount++;\n\t            this.logger.log(\"checkPageToLoad: loading page \" + pageToLoad.getPageNumber());\n\t            this.printCacheStatus();\n\t        }\n\t        else {\n\t            this.logger.log(\"checkPageToLoad: no pages to load\");\n\t        }\n\t    };\n\t    InfiniteCache.prototype.findLeastRecentlyUsedPage = function (pageToExclude) {\n\t        var lruPage = null;\n\t        utils_1.Utils.iterateObject(this.blocks, function (key, page) {\n\t            // we exclude checking for the page just created, as this has yet to be accessed and hence\n\t            // the lastAccessed stamp will not be updated for the first time yet\n\t            if (page === pageToExclude) {\n\t                return;\n\t            }\n\t            if (utils_1.Utils.missing(lruPage) || page.getLastAccessed() < lruPage.getLastAccessed()) {\n\t                lruPage = page;\n\t            }\n\t        });\n\t        return lruPage;\n\t    };\n\t    InfiniteCache.prototype.dispatchModelUpdated = function () {\n\t        if (this.isActive()) {\n\t            this.eventService.dispatchEvent(events_1.Events.EVENT_MODEL_UPDATED);\n\t        }\n\t    };\n\t    InfiniteCache.prototype.getPageState = function () {\n\t        var result = [];\n\t        utils_1.Utils.iterateObject(this.blocks, function (pageNumber, page) {\n\t            result.push({ pageNumber: pageNumber, startRow: page.getStartRow(), endRow: page.getEndRow(), pageStatus: page.getState() });\n\t        });\n\t        return result;\n\t    };\n\t    InfiniteCache.prototype.refreshCache = function () {\n\t        utils_1.Utils.iterateObject(this.blocks, function (pageId, page) {\n\t            page.setDirty();\n\t        });\n\t        this.checkBlockToLoad();\n\t    };\n\t    InfiniteCache.prototype.purgeCache = function () {\n\t        var _this = this;\n\t        var pagesList = utils_1.Utils.values(this.blocks);\n\t        pagesList.forEach(function (virtualPage) { return _this.removeBlockFromCache(virtualPage); });\n\t        this.dispatchModelUpdated();\n\t    };\n\t    return InfiniteCache;\n\t}(RowNodeCache));\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], InfiniteCache.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('context'),\n\t    __metadata(\"design:type\", context_1.Context)\n\t], InfiniteCache.prototype, \"context\", void 0);\n\t__decorate([\n\t    __param(0, context_1.Qualifier('loggerFactory')),\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", [logger_1.LoggerFactory]),\n\t    __metadata(\"design:returntype\", void 0)\n\t], InfiniteCache.prototype, \"setBeans\", null);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], InfiniteCache.prototype, \"init\", null);\n\texports.InfiniteCache = InfiniteCache;\n\n\n/***/ }),\n/* 114 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || (function () {\n\t    var extendStatics = Object.setPrototypeOf ||\n\t        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t    return function (d, b) {\n\t        extendStatics(d, b);\n\t        function __() { this.constructor = d; }\n\t        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t    };\n\t})();\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar utils_1 = __webpack_require__(9);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar rowNode_1 = __webpack_require__(30);\n\tvar context_1 = __webpack_require__(8);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar RowNodeBlock = (function () {\n\t    function RowNodeBlock(blockNumber, rowNodeCacheParams) {\n\t        this.version = 0;\n\t        this.state = RowNodeBlock.STATE_DIRTY;\n\t        this.localEventService = new eventService_1.EventService();\n\t        this.rowNodeCacheParams = rowNodeCacheParams;\n\t        this.blockNumber = blockNumber;\n\t        // we don't need to calculate these now, as the inputs don't change,\n\t        // however it makes the code easier to read if we work them out up front\n\t        this.startRow = blockNumber * rowNodeCacheParams.pageSize;\n\t        this.endRow = this.startRow + rowNodeCacheParams.pageSize;\n\t    }\n\t    RowNodeBlock.prototype.addEventListener = function (eventType, listener) {\n\t        this.localEventService.addEventListener(eventType, listener);\n\t    };\n\t    RowNodeBlock.prototype.removeEventListener = function (eventType, listener) {\n\t        this.localEventService.removeEventListener(eventType, listener);\n\t    };\n\t    RowNodeBlock.prototype.getVersion = function () {\n\t        return this.version;\n\t    };\n\t    RowNodeBlock.prototype.getLastAccessed = function () {\n\t        return this.lastAccessed;\n\t    };\n\t    RowNodeBlock.prototype.getRow = function (rowIndex) {\n\t        this.lastAccessed = this.rowNodeCacheParams.lastAccessedSequence.next();\n\t        var localIndex = rowIndex - this.startRow;\n\t        return this.rowNodes[localIndex];\n\t    };\n\t    RowNodeBlock.prototype.init = function (beans) {\n\t        this.beans = beans;\n\t        this.createRowNodes();\n\t    };\n\t    RowNodeBlock.prototype.getStartRow = function () {\n\t        return this.startRow;\n\t    };\n\t    RowNodeBlock.prototype.getEndRow = function () {\n\t        return this.endRow;\n\t    };\n\t    RowNodeBlock.prototype.getPageNumber = function () {\n\t        return this.blockNumber;\n\t    };\n\t    RowNodeBlock.prototype.setDirty = function () {\n\t        // in case any current loads in progress, this will have their results ignored\n\t        this.version++;\n\t        this.state = RowNodeBlock.STATE_DIRTY;\n\t    };\n\t    RowNodeBlock.prototype.setDirtyAndPurge = function () {\n\t        this.setDirty();\n\t        this.rowNodes.forEach(function (rowNode) {\n\t            rowNode.setData(null);\n\t        });\n\t    };\n\t    RowNodeBlock.prototype.getState = function () {\n\t        return this.state;\n\t    };\n\t    RowNodeBlock.prototype.setRowNode = function (rowIndex, rowNode) {\n\t        var localIndex = rowIndex - this.startRow;\n\t        this.rowNodes[localIndex] = rowNode;\n\t        rowNode.setRowIndex(rowIndex);\n\t        this.setTopOnRowNode(rowNode, rowIndex);\n\t    };\n\t    RowNodeBlock.prototype.setBlankRowNode = function (rowIndex) {\n\t        var localIndex = rowIndex - this.startRow;\n\t        var newRowNode = this.createBlankRowNode(rowIndex);\n\t        this.rowNodes[localIndex] = newRowNode;\n\t        return newRowNode;\n\t    };\n\t    RowNodeBlock.prototype.setNewData = function (rowIndex, dataItem) {\n\t        var newRowNode = this.setBlankRowNode(rowIndex);\n\t        newRowNode.setDataAndId(dataItem, rowIndex.toString());\n\t        return newRowNode;\n\t    };\n\t    RowNodeBlock.prototype.createBlankRowNode = function (rowIndex) {\n\t        var rowNode = new rowNode_1.RowNode();\n\t        this.beans.context.wireBean(rowNode);\n\t        rowNode.setRowHeight(this.rowNodeCacheParams.rowHeight);\n\t        rowNode.setRowIndex(rowIndex);\n\t        this.setTopOnRowNode(rowNode, rowIndex);\n\t        return rowNode;\n\t    };\n\t    // creates empty row nodes, data is missing as not loaded yet\n\t    RowNodeBlock.prototype.createRowNodes = function () {\n\t        this.rowNodes = [];\n\t        for (var i = 0; i < this.rowNodeCacheParams.pageSize; i++) {\n\t            var rowIndex = this.startRow + i;\n\t            var rowNode = this.createBlankRowNode(rowIndex);\n\t            this.rowNodes.push(rowNode);\n\t        }\n\t    };\n\t    RowNodeBlock.prototype.load = function () {\n\t        this.state = RowNodeBlock.STATE_LOADING;\n\t        this.loadFromDatasource();\n\t    };\n\t    RowNodeBlock.prototype.pageLoadFailed = function () {\n\t        this.state = RowNodeBlock.STATE_FAILED;\n\t        var event = { success: true, page: this };\n\t        this.localEventService.dispatchEvent(RowNodeBlock.EVENT_LOAD_COMPLETE, event);\n\t    };\n\t    RowNodeBlock.prototype.populateWithRowData = function (rows) {\n\t        var _this = this;\n\t        this.rowNodes.forEach(function (rowNode, index) {\n\t            var data = rows[index];\n\t            if (utils_1.Utils.exists(data)) {\n\t                // this means if the user is not providing id's we just use the\n\t                // index for the row. this will allow selection to work (that is based\n\t                // on index) as long user is not inserting or deleting rows,\n\t                // or wanting to keep selection between server side sorting or filtering\n\t                var indexOfRow = _this.startRow + index;\n\t                rowNode.setDataAndId(data, indexOfRow.toString());\n\t            }\n\t            else {\n\t                rowNode.setDataAndId(undefined, undefined);\n\t            }\n\t        });\n\t    };\n\t    RowNodeBlock.prototype.pageLoaded = function (version, rows, lastRow) {\n\t        // we need to check the version, in case there was an old request\n\t        // from the server that was sent before we refreshed the cache,\n\t        // if the load was done as a result of a cache refresh\n\t        if (version === this.version) {\n\t            this.state = RowNodeBlock.STATE_LOADED;\n\t            this.populateWithRowData(rows);\n\t        }\n\t        lastRow = utils_1.Utils.cleanNumber(lastRow);\n\t        // check here if lastrow should be set\n\t        var event = { success: true, page: this, lastRow: lastRow };\n\t        this.localEventService.dispatchEvent(RowNodeBlock.EVENT_LOAD_COMPLETE, event);\n\t    };\n\t    return RowNodeBlock;\n\t}());\n\tRowNodeBlock.EVENT_LOAD_COMPLETE = 'loadComplete';\n\tRowNodeBlock.STATE_DIRTY = 'dirty';\n\tRowNodeBlock.STATE_LOADING = 'loading';\n\tRowNodeBlock.STATE_LOADED = 'loaded';\n\tRowNodeBlock.STATE_FAILED = 'failed';\n\texports.RowNodeBlock = RowNodeBlock;\n\tvar InfiniteBlock = (function (_super) {\n\t    __extends(InfiniteBlock, _super);\n\t    function InfiniteBlock(pageNumber, cacheSettings) {\n\t        var _this = _super.call(this, pageNumber, cacheSettings) || this;\n\t        _this.cacheParams = cacheSettings;\n\t        return _this;\n\t    }\n\t    InfiniteBlock.prototype.init = function () {\n\t        _super.prototype.init.call(this, {\n\t            context: this.context\n\t        });\n\t    };\n\t    InfiniteBlock.prototype.setTopOnRowNode = function (rowNode, rowIndex) {\n\t        rowNode.rowTop = this.cacheParams.rowHeight * rowIndex;\n\t    };\n\t    InfiniteBlock.prototype.loadFromDatasource = function () {\n\t        var _this = this;\n\t        // PROBLEM . . . . when the user sets sort via colDef.sort, then this code\n\t        // is executing before the sort is set up, so server is not getting the sort\n\t        // model. need to change with regards order - so the server side request is\n\t        // AFTER thus it gets the right sort model.\n\t        var params = {\n\t            startRow: this.getStartRow(),\n\t            endRow: this.getEndRow(),\n\t            successCallback: this.pageLoaded.bind(this, this.getVersion()),\n\t            failCallback: this.pageLoadFailed.bind(this),\n\t            sortModel: this.cacheParams.sortModel,\n\t            filterModel: this.cacheParams.filterModel,\n\t            context: this.gridOptionsWrapper.getContext()\n\t        };\n\t        if (utils_1.Utils.missing(this.cacheParams.datasource.getRows)) {\n\t            console.warn(\"ag-Grid: datasource is missing getRows method\");\n\t            return;\n\t        }\n\t        // check if old version of datasource used\n\t        var getRowsParams = utils_1.Utils.getFunctionParameters(this.cacheParams.datasource.getRows);\n\t        if (getRowsParams.length > 1) {\n\t            console.warn('ag-grid: It looks like your paging datasource is of the old type, taking more than one parameter.');\n\t            console.warn('ag-grid: From ag-grid 1.9.0, now the getRows takes one parameter. See the documentation for details.');\n\t        }\n\t        // put in timeout, to force result to be async\n\t        setTimeout(function () {\n\t            _this.cacheParams.datasource.getRows(params);\n\t        }, 0);\n\t    };\n\t    return InfiniteBlock;\n\t}(RowNodeBlock));\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], InfiniteBlock.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('context'),\n\t    __metadata(\"design:type\", context_1.Context)\n\t], InfiniteBlock.prototype, \"context\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], InfiniteBlock.prototype, \"init\", null);\n\texports.InfiniteBlock = InfiniteBlock;\n\n\n/***/ }),\n/* 115 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar utils_1 = __webpack_require__(9);\n\tvar constants_1 = __webpack_require__(10);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar columnController_1 = __webpack_require__(16);\n\tvar filterManager_1 = __webpack_require__(48);\n\tvar rowNode_1 = __webpack_require__(30);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar events_1 = __webpack_require__(12);\n\tvar context_1 = __webpack_require__(8);\n\tvar selectionController_1 = __webpack_require__(31);\n\tvar inMemoryNodeManager_1 = __webpack_require__(116);\n\tvar RecursionType;\n\t(function (RecursionType) {\n\t    RecursionType[RecursionType[\"Normal\"] = 0] = \"Normal\";\n\t    RecursionType[RecursionType[\"AfterFilter\"] = 1] = \"AfterFilter\";\n\t    RecursionType[RecursionType[\"AfterFilterAndSort\"] = 2] = \"AfterFilterAndSort\";\n\t    RecursionType[RecursionType[\"PivotNodes\"] = 3] = \"PivotNodes\";\n\t})(RecursionType || (RecursionType = {}));\n\t;\n\tvar InMemoryRowModel = (function () {\n\t    function InMemoryRowModel() {\n\t    }\n\t    InMemoryRowModel.prototype.init = function () {\n\t        this.eventService.addModalPriorityEventListener(events_1.Events.EVENT_COLUMN_EVERYTHING_CHANGED, this.refreshModel.bind(this, { step: constants_1.Constants.STEP_EVERYTHING }));\n\t        this.eventService.addModalPriorityEventListener(events_1.Events.EVENT_COLUMN_ROW_GROUP_CHANGED, this.refreshModel.bind(this, { step: constants_1.Constants.STEP_EVERYTHING }));\n\t        this.eventService.addModalPriorityEventListener(events_1.Events.EVENT_COLUMN_VALUE_CHANGED, this.onValueChanged.bind(this));\n\t        this.eventService.addModalPriorityEventListener(events_1.Events.EVENT_COLUMN_PIVOT_CHANGED, this.refreshModel.bind(this, { step: constants_1.Constants.STEP_PIVOT }));\n\t        this.eventService.addModalPriorityEventListener(events_1.Events.EVENT_ROW_GROUP_OPENED, this.onRowGroupOpened.bind(this));\n\t        this.eventService.addModalPriorityEventListener(events_1.Events.EVENT_FILTER_CHANGED, this.onFilterChanged.bind(this));\n\t        this.eventService.addModalPriorityEventListener(events_1.Events.EVENT_SORT_CHANGED, this.onSortChanged.bind(this));\n\t        this.eventService.addModalPriorityEventListener(events_1.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED, this.refreshModel.bind(this, { step: constants_1.Constants.STEP_PIVOT }));\n\t        this.rootNode = new rowNode_1.RowNode();\n\t        this.nodeManager = new inMemoryNodeManager_1.InMemoryNodeManager(this.rootNode, this.gridOptionsWrapper, this.context, this.eventService);\n\t        this.context.wireBean(this.rootNode);\n\t        if (this.gridOptionsWrapper.isRowModelDefault()) {\n\t            this.setRowData(this.gridOptionsWrapper.getRowData(), this.columnController.isReady());\n\t        }\n\t    };\n\t    InMemoryRowModel.prototype.isLastRowFound = function () {\n\t        return true;\n\t    };\n\t    InMemoryRowModel.prototype.getRowCount = function () {\n\t        if (this.rowsToDisplay) {\n\t            return this.rowsToDisplay.length;\n\t        }\n\t        else {\n\t            return 0;\n\t        }\n\t    };\n\t    InMemoryRowModel.prototype.getRowBounds = function (index) {\n\t        if (utils_1.Utils.missing(this.rowsToDisplay)) {\n\t            return null;\n\t        }\n\t        var rowNode = this.rowsToDisplay[index];\n\t        if (rowNode) {\n\t            return {\n\t                rowTop: rowNode.rowTop,\n\t                rowHeight: rowNode.rowHeight\n\t            };\n\t        }\n\t        else {\n\t            return null;\n\t        }\n\t    };\n\t    InMemoryRowModel.prototype.onRowGroupOpened = function () {\n\t        var animate = this.gridOptionsWrapper.isAnimateRows();\n\t        this.refreshModel({ step: constants_1.Constants.STEP_MAP, keepRenderedRows: true, animate: animate });\n\t    };\n\t    InMemoryRowModel.prototype.onFilterChanged = function () {\n\t        var animate = this.gridOptionsWrapper.isAnimateRows();\n\t        this.refreshModel({ step: constants_1.Constants.STEP_FILTER, keepRenderedRows: true, animate: animate });\n\t    };\n\t    InMemoryRowModel.prototype.onSortChanged = function () {\n\t        // we only act on the sort event here if the user is doing in grid sorting.\n\t        // we ignore it if the sorting is happening on the server side.\n\t        if (this.gridOptionsWrapper.isEnableServerSideSorting()) {\n\t            return;\n\t        }\n\t        var animate = this.gridOptionsWrapper.isAnimateRows();\n\t        this.refreshModel({ step: constants_1.Constants.STEP_SORT, keepRenderedRows: true, animate: animate, keepEditingRows: true });\n\t    };\n\t    InMemoryRowModel.prototype.getType = function () {\n\t        return constants_1.Constants.ROW_MODEL_TYPE_NORMAL;\n\t    };\n\t    InMemoryRowModel.prototype.onValueChanged = function () {\n\t        if (this.columnController.isPivotActive()) {\n\t            this.refreshModel({ step: constants_1.Constants.STEP_PIVOT });\n\t        }\n\t        else {\n\t            this.refreshModel({ step: constants_1.Constants.STEP_AGGREGATE });\n\t        }\n\t    };\n\t    InMemoryRowModel.prototype.refreshModel = function (params) {\n\t        // this goes through the pipeline of stages. what's in my head is similar\n\t        // to the diagram on this page:\n\t        // http://commons.apache.org/sandbox/commons-pipeline/pipeline_basics.html\n\t        // however we want to keep the results of each stage, hence we manually call\n\t        // each step rather than have them chain each other.\n\t        var _this = this;\n\t        // fallthrough in below switch is on purpose,\n\t        // eg if STEP_FILTER, then all steps below this\n\t        // step get done\n\t        // var start: number;\n\t        // console.log('======= start =======');\n\t        switch (params.step) {\n\t            case constants_1.Constants.STEP_EVERYTHING:\n\t                // start = new Date().getTime();\n\t                this.doRowGrouping(params.groupState, params.newRowNodes);\n\t            // console.log('rowGrouping = ' + (new Date().getTime() - start));\n\t            case constants_1.Constants.STEP_FILTER:\n\t                // start = new Date().getTime();\n\t                this.doFilter();\n\t            // console.log('filter = ' + (new Date().getTime() - start));\n\t            case constants_1.Constants.STEP_PIVOT:\n\t                this.doPivot();\n\t            case constants_1.Constants.STEP_AGGREGATE:\n\t                // start = new Date().getTime();\n\t                this.doAggregate();\n\t            // console.log('aggregation = ' + (new Date().getTime() - start));\n\t            case constants_1.Constants.STEP_SORT:\n\t                // start = new Date().getTime();\n\t                this.doSort();\n\t            // console.log('sort = ' + (new Date().getTime() - start));\n\t            case constants_1.Constants.STEP_MAP:\n\t                // start = new Date().getTime();\n\t                this.doRowsToDisplay();\n\t        }\n\t        var event = {\n\t            animate: params.animate,\n\t            keepRenderedRows: params.keepRenderedRows,\n\t            newData: params.newData,\n\t            newPage: false\n\t        };\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_MODEL_UPDATED, event);\n\t        if (this.$scope) {\n\t            setTimeout(function () {\n\t                _this.$scope.$apply();\n\t            }, 0);\n\t        }\n\t    };\n\t    InMemoryRowModel.prototype.isEmpty = function () {\n\t        var rowsMissing;\n\t        var rowsAlreadyGrouped = utils_1.Utils.exists(this.gridOptionsWrapper.getNodeChildDetailsFunc());\n\t        if (rowsAlreadyGrouped) {\n\t            rowsMissing = utils_1.Utils.missing(this.rootNode.childrenAfterGroup) || this.rootNode.childrenAfterGroup.length === 0;\n\t        }\n\t        else {\n\t            rowsMissing = utils_1.Utils.missing(this.rootNode.allLeafChildren) || this.rootNode.allLeafChildren.length === 0;\n\t        }\n\t        var empty = utils_1.Utils.missing(this.rootNode) || rowsMissing || !this.columnController.isReady();\n\t        return empty;\n\t    };\n\t    InMemoryRowModel.prototype.isRowsToRender = function () {\n\t        return utils_1.Utils.exists(this.rowsToDisplay) && this.rowsToDisplay.length > 0;\n\t    };\n\t    InMemoryRowModel.prototype.setDatasource = function (datasource) {\n\t        console.error('ag-Grid: should never call setDatasource on inMemoryRowController');\n\t    };\n\t    InMemoryRowModel.prototype.getTopLevelNodes = function () {\n\t        return this.rootNode ? this.rootNode.childrenAfterGroup : null;\n\t    };\n\t    InMemoryRowModel.prototype.getRootNode = function () {\n\t        return this.rootNode;\n\t    };\n\t    InMemoryRowModel.prototype.getRow = function (index) {\n\t        return this.rowsToDisplay[index];\n\t    };\n\t    InMemoryRowModel.prototype.isRowPresent = function (rowNode) {\n\t        return this.rowsToDisplay.indexOf(rowNode) >= 0;\n\t    };\n\t    InMemoryRowModel.prototype.getVirtualRowCount = function () {\n\t        console.warn('ag-Grid: rowModel.getVirtualRowCount() is not longer a function, use rowModel.getRowCount() instead');\n\t        return this.getPageLastRow();\n\t    };\n\t    InMemoryRowModel.prototype.getPageFirstRow = function () {\n\t        return 0;\n\t    };\n\t    InMemoryRowModel.prototype.getPageLastRow = function () {\n\t        if (this.rowsToDisplay) {\n\t            return this.rowsToDisplay.length - 1;\n\t        }\n\t        else {\n\t            return 0;\n\t        }\n\t    };\n\t    InMemoryRowModel.prototype.getRowIndexAtPixel = function (pixelToMatch) {\n\t        if (this.isEmpty()) {\n\t            return -1;\n\t        }\n\t        // do binary search of tree\n\t        // http://oli.me.uk/2013/06/08/searching-javascript-arrays-with-a-binary-search/\n\t        var bottomPointer = 0;\n\t        var topPointer = this.rowsToDisplay.length - 1;\n\t        // quick check, if the pixel is out of bounds, then return last row\n\t        if (pixelToMatch <= 0) {\n\t            // if pixel is less than or equal zero, it's always the first row\n\t            return 0;\n\t        }\n\t        var lastNode = this.rowsToDisplay[this.rowsToDisplay.length - 1];\n\t        if (lastNode.rowTop <= pixelToMatch) {\n\t            return this.rowsToDisplay.length - 1;\n\t        }\n\t        while (true) {\n\t            var midPointer = Math.floor((bottomPointer + topPointer) / 2);\n\t            var currentRowNode = this.rowsToDisplay[midPointer];\n\t            if (this.isRowInPixel(currentRowNode, pixelToMatch)) {\n\t                return midPointer;\n\t            }\n\t            else if (currentRowNode.rowTop < pixelToMatch) {\n\t                bottomPointer = midPointer + 1;\n\t            }\n\t            else if (currentRowNode.rowTop > pixelToMatch) {\n\t                topPointer = midPointer - 1;\n\t            }\n\t        }\n\t    };\n\t    InMemoryRowModel.prototype.isRowInPixel = function (rowNode, pixelToMatch) {\n\t        var topPixel = rowNode.rowTop;\n\t        var bottomPixel = rowNode.rowTop + rowNode.rowHeight;\n\t        var pixelInRow = topPixel <= pixelToMatch && bottomPixel > pixelToMatch;\n\t        return pixelInRow;\n\t    };\n\t    InMemoryRowModel.prototype.getCurrentPageHeight = function () {\n\t        if (this.rowsToDisplay && this.rowsToDisplay.length > 0) {\n\t            var lastRow = this.rowsToDisplay[this.rowsToDisplay.length - 1];\n\t            var lastPixel = lastRow.rowTop + lastRow.rowHeight;\n\t            return lastPixel;\n\t        }\n\t        else {\n\t            return 0;\n\t        }\n\t    };\n\t    InMemoryRowModel.prototype.forEachLeafNode = function (callback) {\n\t        if (this.rootNode.allLeafChildren) {\n\t            this.rootNode.allLeafChildren.forEach(function (rowNode, index) { return callback(rowNode, index); });\n\t        }\n\t    };\n\t    InMemoryRowModel.prototype.forEachNode = function (callback) {\n\t        this.recursivelyWalkNodesAndCallback(this.rootNode.childrenAfterGroup, callback, RecursionType.Normal, 0);\n\t    };\n\t    InMemoryRowModel.prototype.forEachNodeAfterFilter = function (callback) {\n\t        this.recursivelyWalkNodesAndCallback(this.rootNode.childrenAfterFilter, callback, RecursionType.AfterFilter, 0);\n\t    };\n\t    InMemoryRowModel.prototype.forEachNodeAfterFilterAndSort = function (callback) {\n\t        this.recursivelyWalkNodesAndCallback(this.rootNode.childrenAfterSort, callback, RecursionType.AfterFilterAndSort, 0);\n\t    };\n\t    InMemoryRowModel.prototype.forEachPivotNode = function (callback) {\n\t        this.recursivelyWalkNodesAndCallback([this.rootNode], callback, RecursionType.PivotNodes, 0);\n\t    };\n\t    // iterates through each item in memory, and calls the callback function\n\t    // nodes - the rowNodes to traverse\n\t    // callback - the user provided callback\n\t    // recursion type - need this to know what child nodes to recurse, eg if looking at all nodes, or filtered notes etc\n\t    // index - works similar to the index in forEach in javascripts array function\n\t    InMemoryRowModel.prototype.recursivelyWalkNodesAndCallback = function (nodes, callback, recursionType, index) {\n\t        if (nodes) {\n\t            for (var i = 0; i < nodes.length; i++) {\n\t                var node = nodes[i];\n\t                callback(node, index++);\n\t                // go to the next level if it is a group\n\t                if (node.group) {\n\t                    // depending on the recursion type, we pick a difference set of children\n\t                    var nodeChildren;\n\t                    switch (recursionType) {\n\t                        case RecursionType.Normal:\n\t                            nodeChildren = node.childrenAfterGroup;\n\t                            break;\n\t                        case RecursionType.AfterFilter:\n\t                            nodeChildren = node.childrenAfterFilter;\n\t                            break;\n\t                        case RecursionType.AfterFilterAndSort:\n\t                            nodeChildren = node.childrenAfterSort;\n\t                            break;\n\t                        case RecursionType.PivotNodes:\n\t                            // for pivot, we don't go below leafGroup levels\n\t                            nodeChildren = !node.leafGroup ? node.childrenAfterSort : null;\n\t                            break;\n\t                    }\n\t                    if (nodeChildren) {\n\t                        index = this.recursivelyWalkNodesAndCallback(nodeChildren, callback, recursionType, index);\n\t                    }\n\t                }\n\t            }\n\t        }\n\t        return index;\n\t    };\n\t    // it's possible to recompute the aggregate without doing the other parts\n\t    // + gridApi.recomputeAggregates()\n\t    InMemoryRowModel.prototype.doAggregate = function () {\n\t        if (this.aggregationStage) {\n\t            this.aggregationStage.execute({ rowNode: this.rootNode });\n\t        }\n\t    };\n\t    // + gridApi.expandAll()\n\t    // + gridApi.collapseAll()\n\t    InMemoryRowModel.prototype.expandOrCollapseAll = function (expand) {\n\t        if (this.rootNode) {\n\t            recursiveExpandOrCollapse(this.rootNode.childrenAfterGroup);\n\t        }\n\t        function recursiveExpandOrCollapse(rowNodes) {\n\t            if (!rowNodes) {\n\t                return;\n\t            }\n\t            rowNodes.forEach(function (rowNode) {\n\t                if (rowNode.group) {\n\t                    rowNode.expanded = expand;\n\t                    recursiveExpandOrCollapse(rowNode.childrenAfterGroup);\n\t                }\n\t            });\n\t        }\n\t        this.refreshModel({ step: constants_1.Constants.STEP_MAP });\n\t    };\n\t    InMemoryRowModel.prototype.doSort = function () {\n\t        this.sortStage.execute({ rowNode: this.rootNode });\n\t    };\n\t    InMemoryRowModel.prototype.doRowGrouping = function (groupState, newRowNodes) {\n\t        // grouping is enterprise only, so if service missing, skip the step\n\t        var rowsAlreadyGrouped = utils_1.Utils.exists(this.gridOptionsWrapper.getNodeChildDetailsFunc());\n\t        if (rowsAlreadyGrouped) {\n\t            return;\n\t        }\n\t        if (this.groupStage) {\n\t            if (newRowNodes) {\n\t                this.groupStage.execute({ rowNode: this.rootNode, newRowNodes: newRowNodes });\n\t            }\n\t            else {\n\t                // groups are about to get disposed, so need to deselect any that are selected\n\t                this.selectionController.removeGroupsFromSelection();\n\t                this.groupStage.execute({ rowNode: this.rootNode });\n\t                // set open/closed state on groups\n\t                this.restoreGroupState(groupState);\n\t            }\n\t            if (this.gridOptionsWrapper.isGroupSelectsChildren()) {\n\t                this.selectionController.updateGroupsFromChildrenSelections();\n\t            }\n\t        }\n\t        else {\n\t            this.rootNode.childrenAfterGroup = this.rootNode.allLeafChildren;\n\t        }\n\t    };\n\t    InMemoryRowModel.prototype.restoreGroupState = function (groupState) {\n\t        if (!groupState) {\n\t            return;\n\t        }\n\t        utils_1.Utils.traverseNodesWithKey(this.rootNode.childrenAfterGroup, function (node, key) {\n\t            // if the group was open last time, then open it this time. however\n\t            // if was not open last time, then don't touch the group, so the 'groupDefaultExpanded'\n\t            // setting will take effect.\n\t            if (typeof groupState[key] === 'boolean') {\n\t                node.expanded = groupState[key];\n\t            }\n\t        });\n\t    };\n\t    InMemoryRowModel.prototype.doFilter = function () {\n\t        this.filterStage.execute({ rowNode: this.rootNode });\n\t    };\n\t    InMemoryRowModel.prototype.doPivot = function () {\n\t        if (this.pivotStage) {\n\t            this.pivotStage.execute({ rowNode: this.rootNode });\n\t        }\n\t    };\n\t    InMemoryRowModel.prototype.getGroupState = function () {\n\t        if (!this.rootNode.childrenAfterGroup || !this.gridOptionsWrapper.isRememberGroupStateWhenNewData()) {\n\t            return null;\n\t        }\n\t        var result = {};\n\t        utils_1.Utils.traverseNodesWithKey(this.rootNode.childrenAfterGroup, function (node, key) { return result[key] = node.expanded; });\n\t        return result;\n\t    };\n\t    // rows: the rows to put into the model\n\t    // firstId: the first id to use, used for paging, where we are not on the first page\n\t    InMemoryRowModel.prototype.setRowData = function (rowData, refresh, firstId) {\n\t        // remember group state, so we can expand groups that should be expanded\n\t        var groupState = this.getGroupState();\n\t        this.nodeManager.setRowData(rowData, firstId);\n\t        // this event kicks off:\n\t        // - clears selection\n\t        // - updates filters\n\t        // - shows 'no rows' overlay if needed\n\t        this.eventService.dispatchEvent(events_1.Events.EVENT_ROW_DATA_CHANGED);\n\t        if (refresh) {\n\t            this.refreshModel({\n\t                step: constants_1.Constants.STEP_EVERYTHING,\n\t                groupState: groupState,\n\t                newData: true\n\t            });\n\t        }\n\t    };\n\t    InMemoryRowModel.prototype.doRowsToDisplay = function () {\n\t        this.rowsToDisplay = this.flattenStage.execute({ rowNode: this.rootNode });\n\t    };\n\t    InMemoryRowModel.prototype.insertItemsAtIndex = function (index, items, skipRefresh) {\n\t        // remember group state, so we can expand groups that should be expanded\n\t        var groupState = this.getGroupState();\n\t        var newNodes = this.nodeManager.insertItemsAtIndex(index, items);\n\t        if (!skipRefresh) {\n\t            this.refreshAndFireEvent(events_1.Events.EVENT_ITEMS_ADDED, newNodes, groupState);\n\t        }\n\t    };\n\t    InMemoryRowModel.prototype.onRowHeightChanged = function () {\n\t        this.refreshModel({ step: constants_1.Constants.STEP_MAP, keepRenderedRows: true, keepEditingRows: true });\n\t    };\n\t    InMemoryRowModel.prototype.resetRowHeights = function () {\n\t        this.forEachNode(function (rowNode) { return rowNode.setRowHeight(null); });\n\t        this.onRowHeightChanged();\n\t    };\n\t    InMemoryRowModel.prototype.removeItems = function (rowNodes, skipRefresh) {\n\t        var groupState = this.getGroupState();\n\t        var removedNodes = this.nodeManager.removeItems(rowNodes);\n\t        if (!skipRefresh) {\n\t            this.refreshAndFireEvent(events_1.Events.EVENT_ITEMS_REMOVED, removedNodes, groupState);\n\t        }\n\t    };\n\t    InMemoryRowModel.prototype.addItems = function (items, skipRefresh) {\n\t        var groupState = this.getGroupState();\n\t        var newNodes = this.nodeManager.addItems(items);\n\t        if (!skipRefresh) {\n\t            this.refreshAndFireEvent(events_1.Events.EVENT_ITEMS_ADDED, newNodes, groupState);\n\t        }\n\t        // if (newNodes) {\n\t        //     this.refreshModel({step: Constants.STEP_EVERYTHING, groupState: groupState, newRowNodes: newNodes});\n\t        //     this.eventService.dispatchEvent(Events.EVENT_ITEMS_ADDED, {rowNodes: newNodes})\n\t        // }\n\t    };\n\t    InMemoryRowModel.prototype.refreshAndFireEvent = function (eventName, rowNodes, groupState) {\n\t        if (rowNodes) {\n\t            this.refreshModel({ step: constants_1.Constants.STEP_EVERYTHING, groupState: groupState });\n\t            this.eventService.dispatchEvent(eventName, { rowNodes: rowNodes });\n\t        }\n\t    };\n\t    return InMemoryRowModel;\n\t}());\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], InMemoryRowModel.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", columnController_1.ColumnController)\n\t], InMemoryRowModel.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('filterManager'),\n\t    __metadata(\"design:type\", filterManager_1.FilterManager)\n\t], InMemoryRowModel.prototype, \"filterManager\", void 0);\n\t__decorate([\n\t    context_1.Autowired('$scope'),\n\t    __metadata(\"design:type\", Object)\n\t], InMemoryRowModel.prototype, \"$scope\", void 0);\n\t__decorate([\n\t    context_1.Autowired('selectionController'),\n\t    __metadata(\"design:type\", selectionController_1.SelectionController)\n\t], InMemoryRowModel.prototype, \"selectionController\", void 0);\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], InMemoryRowModel.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('context'),\n\t    __metadata(\"design:type\", context_1.Context)\n\t], InMemoryRowModel.prototype, \"context\", void 0);\n\t__decorate([\n\t    context_1.Autowired('filterStage'),\n\t    __metadata(\"design:type\", Object)\n\t], InMemoryRowModel.prototype, \"filterStage\", void 0);\n\t__decorate([\n\t    context_1.Autowired('sortStage'),\n\t    __metadata(\"design:type\", Object)\n\t], InMemoryRowModel.prototype, \"sortStage\", void 0);\n\t__decorate([\n\t    context_1.Autowired('flattenStage'),\n\t    __metadata(\"design:type\", Object)\n\t], InMemoryRowModel.prototype, \"flattenStage\", void 0);\n\t__decorate([\n\t    context_1.Optional('groupStage'),\n\t    __metadata(\"design:type\", Object)\n\t], InMemoryRowModel.prototype, \"groupStage\", void 0);\n\t__decorate([\n\t    context_1.Optional('aggregationStage'),\n\t    __metadata(\"design:type\", Object)\n\t], InMemoryRowModel.prototype, \"aggregationStage\", void 0);\n\t__decorate([\n\t    context_1.Optional('pivotStage'),\n\t    __metadata(\"design:type\", Object)\n\t], InMemoryRowModel.prototype, \"pivotStage\", void 0);\n\t__decorate([\n\t    context_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], InMemoryRowModel.prototype, \"init\", null);\n\tInMemoryRowModel = __decorate([\n\t    context_1.Bean('rowModel')\n\t], InMemoryRowModel);\n\texports.InMemoryRowModel = InMemoryRowModel;\n\n\n/***/ }),\n/* 116 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar rowNode_1 = __webpack_require__(30);\n\tvar utils_1 = __webpack_require__(9);\n\tvar InMemoryNodeManager = (function () {\n\t    function InMemoryNodeManager(rootNode, gridOptionsWrapper, context, eventService) {\n\t        this.nextId = 0;\n\t        this.rootNode = rootNode;\n\t        this.gridOptionsWrapper = gridOptionsWrapper;\n\t        this.context = context;\n\t        this.eventService = eventService;\n\t        this.rootNode.group = true;\n\t        this.rootNode.level = -1;\n\t        this.rootNode.allLeafChildren = [];\n\t        this.rootNode.childrenAfterGroup = [];\n\t        this.rootNode.childrenAfterSort = [];\n\t        this.rootNode.childrenAfterFilter = [];\n\t    }\n\t    InMemoryNodeManager.prototype.setRowData = function (rowData, firstId) {\n\t        this.rootNode.childrenAfterFilter = null;\n\t        this.rootNode.childrenAfterGroup = null;\n\t        this.rootNode.childrenAfterSort = null;\n\t        this.rootNode.childrenMapped = null;\n\t        this.nextId = utils_1.Utils.exists(firstId) ? firstId : 0;\n\t        if (!rowData) {\n\t            this.rootNode.allLeafChildren = [];\n\t            this.rootNode.childrenAfterGroup = [];\n\t            return;\n\t        }\n\t        // func below doesn't have 'this' pointer, so need to pull out these bits\n\t        this.getNodeChildDetails = this.gridOptionsWrapper.getNodeChildDetailsFunc();\n\t        this.suppressParentsInRowNodes = this.gridOptionsWrapper.isSuppressParentsInRowNodes();\n\t        this.doesDataFlower = this.gridOptionsWrapper.getDoesDataFlowerFunc();\n\t        var rowsAlreadyGrouped = utils_1.Utils.exists(this.getNodeChildDetails);\n\t        // kick off recursion\n\t        var result = this.recursiveFunction(rowData, null, InMemoryNodeManager.TOP_LEVEL);\n\t        if (rowsAlreadyGrouped) {\n\t            this.rootNode.childrenAfterGroup = result;\n\t            this.setLeafChildren(this.rootNode);\n\t        }\n\t        else {\n\t            this.rootNode.allLeafChildren = result;\n\t        }\n\t    };\n\t    InMemoryNodeManager.prototype.recursiveFunction = function (rowData, parent, level) {\n\t        var _this = this;\n\t        // make sure the rowData is an array and not a string of json - this was a commonly reported problem on the forum\n\t        if (typeof rowData === 'string') {\n\t            console.warn('ag-Grid: rowData must be an array, however you passed in a string. If you are loading JSON, make sure you convert the JSON string to JavaScript objects first');\n\t            return;\n\t        }\n\t        var rowNodes = [];\n\t        rowData.forEach(function (dataItem) {\n\t            var node = _this.createNode(dataItem, parent, level);\n\t            var nodeChildDetails = _this.getNodeChildDetails ? _this.getNodeChildDetails(dataItem) : null;\n\t            if (nodeChildDetails && nodeChildDetails.group) {\n\t                node.group = true;\n\t                node.childrenAfterGroup = _this.recursiveFunction(nodeChildDetails.children, node, level + 1);\n\t                node.expanded = nodeChildDetails.expanded === true;\n\t                node.field = nodeChildDetails.field;\n\t                node.key = nodeChildDetails.key;\n\t                // pull out all the leaf children and add to our node\n\t                _this.setLeafChildren(node);\n\t            }\n\t            rowNodes.push(node);\n\t        });\n\t        return rowNodes;\n\t    };\n\t    InMemoryNodeManager.prototype.createNode = function (dataItem, parent, level) {\n\t        var node = new rowNode_1.RowNode();\n\t        this.context.wireBean(node);\n\t        var nodeChildDetails = this.getNodeChildDetails ? this.getNodeChildDetails(dataItem) : null;\n\t        if (nodeChildDetails && nodeChildDetails.group) {\n\t            node.group = true;\n\t            node.childrenAfterGroup = this.recursiveFunction(nodeChildDetails.children, node, level + 1);\n\t            node.expanded = nodeChildDetails.expanded === true;\n\t            node.field = nodeChildDetails.field;\n\t            node.key = nodeChildDetails.key;\n\t            node.canFlower = false;\n\t            // pull out all the leaf children and add to our node\n\t            this.setLeafChildren(node);\n\t        }\n\t        else {\n\t            node.group = false;\n\t            node.canFlower = this.doesDataFlower ? this.doesDataFlower(dataItem) : false;\n\t            if (node.canFlower) {\n\t                node.expanded = this.isExpanded(level);\n\t            }\n\t        }\n\t        if (parent && !this.suppressParentsInRowNodes) {\n\t            node.parent = parent;\n\t        }\n\t        node.level = level;\n\t        node.setDataAndId(dataItem, this.nextId.toString());\n\t        this.nextId++;\n\t        return node;\n\t    };\n\t    InMemoryNodeManager.prototype.isExpanded = function (level) {\n\t        var expandByDefault = this.gridOptionsWrapper.getGroupDefaultExpanded();\n\t        if (expandByDefault === -1) {\n\t            return true;\n\t        }\n\t        else {\n\t            return level < expandByDefault;\n\t        }\n\t    };\n\t    InMemoryNodeManager.prototype.setLeafChildren = function (node) {\n\t        node.allLeafChildren = [];\n\t        if (node.childrenAfterGroup) {\n\t            node.childrenAfterGroup.forEach(function (childAfterGroup) {\n\t                if (childAfterGroup.group) {\n\t                    if (childAfterGroup.allLeafChildren) {\n\t                        childAfterGroup.allLeafChildren.forEach(function (leafChild) { return node.allLeafChildren.push(leafChild); });\n\t                    }\n\t                }\n\t                else {\n\t                    node.allLeafChildren.push(childAfterGroup);\n\t                }\n\t            });\n\t        }\n\t    };\n\t    InMemoryNodeManager.prototype.insertItemsAtIndex = function (index, rowData) {\n\t        if (this.isRowsAlreadyGrouped()) {\n\t            return null;\n\t        }\n\t        var nodeList = this.rootNode.allLeafChildren;\n\t        if (index > nodeList.length) {\n\t            console.warn(\"ag-Grid: invalid index \" + index + \", max index is \" + nodeList.length);\n\t            return;\n\t        }\n\t        var newNodes = [];\n\t        // go through the items backwards, otherwise they get added in reverse order\n\t        for (var i = rowData.length - 1; i >= 0; i--) {\n\t            var data = rowData[i];\n\t            var newNode = this.createNode(data, null, InMemoryNodeManager.TOP_LEVEL);\n\t            utils_1.Utils.insertIntoArray(nodeList, newNode, index);\n\t            newNodes.push(newNode);\n\t        }\n\t        return newNodes.length > 0 ? newNodes : null;\n\t    };\n\t    InMemoryNodeManager.prototype.removeItems = function (rowNodes) {\n\t        if (this.isRowsAlreadyGrouped()) {\n\t            return;\n\t        }\n\t        var nodeList = this.rootNode.allLeafChildren;\n\t        var removedNodes = [];\n\t        rowNodes.forEach(function (rowNode) {\n\t            var indexOfNode = nodeList.indexOf(rowNode);\n\t            if (indexOfNode >= 0) {\n\t                rowNode.setSelected(false);\n\t                nodeList.splice(indexOfNode, 1);\n\t            }\n\t            removedNodes.push(rowNode);\n\t        });\n\t        return removedNodes.length > 0 ? removedNodes : null;\n\t    };\n\t    InMemoryNodeManager.prototype.addItems = function (items) {\n\t        var nodeList = this.rootNode.allLeafChildren;\n\t        return this.insertItemsAtIndex(nodeList.length, items);\n\t    };\n\t    InMemoryNodeManager.prototype.isRowsAlreadyGrouped = function () {\n\t        var rowsAlreadyGrouped = utils_1.Utils.exists(this.gridOptionsWrapper.getNodeChildDetailsFunc());\n\t        if (rowsAlreadyGrouped) {\n\t            console.warn('ag-Grid: adding and removing rows is not supported when using nodeChildDetailsFunc, ie it is not ' +\n\t                'supported if providing groups');\n\t            return true;\n\t        }\n\t        else {\n\t            return false;\n\t        }\n\t    };\n\t    return InMemoryNodeManager;\n\t}());\n\tInMemoryNodeManager.TOP_LEVEL = 0;\n\texports.InMemoryNodeManager = InMemoryNodeManager;\n\n\n/***/ }),\n/* 117 */\n/***/ (function(module, exports) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\t/** The base frameworks, eg React & Angular 2, override this bean with implementations specific to their requirement. */\n\tvar BaseFrameworkFactory = (function () {\n\t    function BaseFrameworkFactory() {\n\t    }\n\t    BaseFrameworkFactory.prototype.dateComponent = function (gridOptions) {\n\t        return gridOptions.dateComponent;\n\t    };\n\t    BaseFrameworkFactory.prototype.colDefFloatingCellRenderer = function (colDef) {\n\t        return colDef.floatingCellRenderer;\n\t    };\n\t    BaseFrameworkFactory.prototype.colDefCellRenderer = function (colDef) {\n\t        return colDef.cellRenderer;\n\t    };\n\t    BaseFrameworkFactory.prototype.colDefCellEditor = function (colDef) {\n\t        return colDef.cellEditor;\n\t    };\n\t    BaseFrameworkFactory.prototype.colDefFilter = function (colDef) {\n\t        return colDef.filter;\n\t    };\n\t    BaseFrameworkFactory.prototype.gridOptionsFullWidthCellRenderer = function (gridOptions) {\n\t        return gridOptions.fullWidthCellRenderer;\n\t    };\n\t    BaseFrameworkFactory.prototype.gridOptionsGroupRowRenderer = function (gridOptions) {\n\t        return gridOptions.groupRowRenderer;\n\t    };\n\t    BaseFrameworkFactory.prototype.gridOptionsGroupRowInnerRenderer = function (gridOptions) {\n\t        return gridOptions.groupRowInnerRenderer;\n\t    };\n\t    BaseFrameworkFactory.prototype.setTimeout = function (action, timeout) {\n\t        setTimeout(action, timeout);\n\t    };\n\t    return BaseFrameworkFactory;\n\t}());\n\texports.BaseFrameworkFactory = BaseFrameworkFactory;\n\n\n/***/ }),\n/* 118 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar context_1 = __webpack_require__(8);\n\tvar LINE_SEPARATOR = '\\r\\n';\n\tvar XmlFactory = (function () {\n\t    function XmlFactory() {\n\t    }\n\t    XmlFactory.prototype.createXml = function (xmlElement, booleanTransformer) {\n\t        var _this = this;\n\t        var props = \"\";\n\t        if (xmlElement.properties) {\n\t            if (xmlElement.properties.prefixedAttributes) {\n\t                xmlElement.properties.prefixedAttributes.forEach(function (prefixedSet) {\n\t                    Object.keys(prefixedSet.map).forEach(function (key) {\n\t                        props += _this.returnAttributeIfPopulated(prefixedSet.prefix + key, prefixedSet.map[key], booleanTransformer);\n\t                    });\n\t                });\n\t            }\n\t            if (xmlElement.properties.rawMap) {\n\t                Object.keys(xmlElement.properties.rawMap).forEach(function (key) {\n\t                    props += _this.returnAttributeIfPopulated(key, xmlElement.properties.rawMap[key], booleanTransformer);\n\t                });\n\t            }\n\t        }\n\t        var result = \"<\" + xmlElement.name + props;\n\t        if (!xmlElement.children && !xmlElement.textNode) {\n\t            return result + \"/>\" + LINE_SEPARATOR;\n\t        }\n\t        if (xmlElement.textNode) {\n\t            return result + \">\" + xmlElement.textNode + \"</\" + xmlElement.name + \">\" + LINE_SEPARATOR;\n\t        }\n\t        result += \">\" + LINE_SEPARATOR;\n\t        xmlElement.children.forEach(function (it) {\n\t            result += _this.createXml(it, booleanTransformer);\n\t        });\n\t        return result + \"</\" + xmlElement.name + \">\" + LINE_SEPARATOR;\n\t    };\n\t    XmlFactory.prototype.returnAttributeIfPopulated = function (key, value, booleanTransformer) {\n\t        if (!value) {\n\t            return \"\";\n\t        }\n\t        var xmlValue = value;\n\t        if ((typeof (value) === 'boolean')) {\n\t            if (booleanTransformer) {\n\t                xmlValue = booleanTransformer(value);\n\t            }\n\t        }\n\t        xmlValue = '\"' + xmlValue + '\"';\n\t        return \" \" + key + \"=\" + xmlValue;\n\t    };\n\t    return XmlFactory;\n\t}());\n\tXmlFactory = __decorate([\n\t    context_1.Bean('xmlFactory')\n\t], XmlFactory);\n\texports.XmlFactory = XmlFactory;\n\n\n/***/ }),\n/* 119 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar rowNode_1 = __webpack_require__(30);\n\tvar inMemoryNodeManager_1 = __webpack_require__(116);\n\tvar gridOptionsWrapper_1 = __webpack_require__(5);\n\tvar eventService_1 = __webpack_require__(6);\n\tvar context_1 = __webpack_require__(8);\n\tvar RowNodeFactory = (function () {\n\t    function RowNodeFactory() {\n\t    }\n\t    RowNodeFactory.prototype.create = function (data) {\n\t        var rootNode = new rowNode_1.RowNode();\n\t        var nodeManager = new inMemoryNodeManager_1.InMemoryNodeManager(rootNode, this.gridOptionsWrapper, this.context, this.eventService);\n\t        this.context.wireBean(rootNode);\n\t        nodeManager.setRowData(data);\n\t        return rootNode;\n\t    };\n\t    return RowNodeFactory;\n\t}());\n\t__decorate([\n\t    context_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", gridOptionsWrapper_1.GridOptionsWrapper)\n\t], RowNodeFactory.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    context_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", eventService_1.EventService)\n\t], RowNodeFactory.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    context_1.Autowired('context'),\n\t    __metadata(\"design:type\", context_1.Context)\n\t], RowNodeFactory.prototype, \"context\", void 0);\n\tRowNodeFactory = __decorate([\n\t    context_1.Bean(\"rowNodeFactory\")\n\t], RowNodeFactory);\n\texports.RowNodeFactory = RowNodeFactory;\n\n\n/***/ }),\n/* 120 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar grid_1 = __webpack_require__(4);\n\tfunction initialiseAgGridWithAngular1(angular) {\n\t    var angularModule = angular.module(\"agGrid\", []);\n\t    angularModule.directive(\"agGrid\", function () {\n\t        return {\n\t            restrict: \"A\",\n\t            controller: ['$element', '$scope', '$compile', '$attrs', AngularDirectiveController],\n\t            scope: true\n\t        };\n\t    });\n\t}\n\texports.initialiseAgGridWithAngular1 = initialiseAgGridWithAngular1;\n\tfunction AngularDirectiveController($element, $scope, $compile, $attrs) {\n\t    var gridOptions;\n\t    var quickFilterOnScope;\n\t    var keyOfGridInScope = $attrs.agGrid;\n\t    quickFilterOnScope = keyOfGridInScope + '.quickFilterText';\n\t    gridOptions = $scope.$eval(keyOfGridInScope);\n\t    if (!gridOptions) {\n\t        console.warn(\"WARNING - grid options for ag-Grid not found. Please ensure the attribute ag-grid points to a valid object on the scope\");\n\t        return;\n\t    }\n\t    var eGridDiv = $element[0];\n\t    var gridParams = {\n\t        $scope: $scope,\n\t        $compile: $compile,\n\t        quickFilterOnScope: quickFilterOnScope\n\t    };\n\t    var grid = new grid_1.Grid(eGridDiv, gridOptions, gridParams);\n\t    $scope.$on(\"$destroy\", function () {\n\t        grid.destroy();\n\t    });\n\t}\n\n\n/***/ }),\n/* 121 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar componentUtil_1 = __webpack_require__(11);\n\tvar grid_1 = __webpack_require__(4);\n\tvar registered = false;\n\tfunction initialiseAgGridWithWebComponents() {\n\t    // only register to WebComponents once\n\t    if (registered) {\n\t        return;\n\t    }\n\t    registered = true;\n\t    if (typeof document === 'undefined' || !document.registerElement) {\n\t        console.error('ag-Grid: unable to find document.registerElement() function, unable to initialise ag-Grid as a Web Component');\n\t    }\n\t    // i don't think this type of extension is possible in TypeScript, so back to\n\t    // plain Javascript to create this object\n\t    var AgileGridProto = Object.create(HTMLElement.prototype);\n\t    // wrap each property with a get and set method, so we can track when changes are done\n\t    componentUtil_1.ComponentUtil.ALL_PROPERTIES.forEach(function (key) {\n\t        Object.defineProperty(AgileGridProto, key, {\n\t            set: function (v) {\n\t                this.__agGridSetProperty(key, v);\n\t            },\n\t            get: function () {\n\t                return this.__agGridGetProperty(key);\n\t            },\n\t            enumerable: true,\n\t            configurable: true\n\t        });\n\t    });\n\t    var agGridProtoNoType = AgileGridProto;\n\t    agGridProtoNoType.__agGridSetProperty = function (key, value) {\n\t        if (!this.__attributes) {\n\t            this.__attributes = {};\n\t        }\n\t        this.__attributes[key] = value;\n\t        // keeping this consistent with the ng2 onChange, so I can reuse the handling code\n\t        var changeObject = {};\n\t        changeObject[key] = { currentValue: value };\n\t        this.onChange(changeObject);\n\t    };\n\t    agGridProtoNoType.onChange = function (changes) {\n\t        if (this._initialised) {\n\t            componentUtil_1.ComponentUtil.processOnChange(changes, this._gridOptions, this.api, this.columnApi);\n\t        }\n\t    };\n\t    agGridProtoNoType.__agGridGetProperty = function (key) {\n\t        if (!this.__attributes) {\n\t            this.__attributes = {};\n\t        }\n\t        return this.__attributes[key];\n\t    };\n\t    agGridProtoNoType.setGridOptions = function (options) {\n\t        var globalEventListener = this.globalEventListener.bind(this);\n\t        this._gridOptions = componentUtil_1.ComponentUtil.copyAttributesToGridOptions(options, this);\n\t        var gridParams = {\n\t            globalEventListener: globalEventListener\n\t        };\n\t        this._agGrid = new grid_1.Grid(this, this._gridOptions, gridParams);\n\t        this.api = options.api;\n\t        this.columnApi = options.columnApi;\n\t        this._initialised = true;\n\t    };\n\t    // copies all the attributes into this object\n\t    agGridProtoNoType.createdCallback = function () {\n\t        for (var i = 0; i < this.attributes.length; i++) {\n\t            var attribute = this.attributes[i];\n\t            this.setPropertyFromAttribute(attribute);\n\t        }\n\t    };\n\t    agGridProtoNoType.setPropertyFromAttribute = function (attribute) {\n\t        var name = toCamelCase(attribute.nodeName);\n\t        var value = attribute.nodeValue;\n\t        if (componentUtil_1.ComponentUtil.ALL_PROPERTIES.indexOf(name) >= 0) {\n\t            this[name] = value;\n\t        }\n\t    };\n\t    agGridProtoNoType.attachedCallback = function (params) { };\n\t    agGridProtoNoType.detachedCallback = function (params) { };\n\t    agGridProtoNoType.attributeChangedCallback = function (attributeName) {\n\t        var attribute = this.attributes[attributeName];\n\t        this.setPropertyFromAttribute(attribute);\n\t    };\n\t    agGridProtoNoType.globalEventListener = function (eventType, event) {\n\t        var eventLowerCase = eventType.toLowerCase();\n\t        var browserEvent = new Event(eventLowerCase);\n\t        var browserEventNoType = browserEvent;\n\t        browserEventNoType.agGridDetails = event;\n\t        this.dispatchEvent(browserEvent);\n\t        var callbackMethod = 'on' + eventLowerCase;\n\t        if (typeof this[callbackMethod] === 'function') {\n\t            this[callbackMethod](browserEvent);\n\t        }\n\t    };\n\t    // finally, register\n\t    document.registerElement('ag-grid', { prototype: AgileGridProto });\n\t}\n\texports.initialiseAgGridWithWebComponents = initialiseAgGridWithWebComponents;\n\tfunction toCamelCase(myString) {\n\t    if (typeof myString === 'string') {\n\t        var result = myString.replace(/-([a-z])/g, function (g) {\n\t            return g[1].toUpperCase();\n\t        });\n\t        return result;\n\t    }\n\t    else {\n\t        return myString;\n\t    }\n\t}\n\n\n/***/ }),\n/* 122 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar utils_1 = __webpack_require__(9);\n\tvar TabbedLayout = (function () {\n\t    function TabbedLayout(params) {\n\t        var _this = this;\n\t        this.items = [];\n\t        this.params = params;\n\t        this.eGui = document.createElement('div');\n\t        this.eGui.innerHTML = TabbedLayout.TEMPLATE;\n\t        this.eHeader = this.eGui.querySelector('#tabHeader');\n\t        this.eBody = this.eGui.querySelector('#tabBody');\n\t        utils_1.Utils.addCssClass(this.eGui, params.cssClass);\n\t        if (params.items) {\n\t            params.items.forEach(function (item) { return _this.addItem(item); });\n\t        }\n\t    }\n\t    TabbedLayout.prototype.setAfterAttachedParams = function (params) {\n\t        this.afterAttachedParams = params;\n\t    };\n\t    TabbedLayout.prototype.getMinWidth = function () {\n\t        var eDummyContainer = document.createElement('span');\n\t        // position fixed, so it isn't restricted to the boundaries of the parent\n\t        eDummyContainer.style.position = 'fixed';\n\t        // we put the dummy into the body container, so it will inherit all the\n\t        // css styles that the real cells are inheriting\n\t        this.eGui.appendChild(eDummyContainer);\n\t        var minWidth = 0;\n\t        this.items.forEach(function (itemWrapper) {\n\t            utils_1.Utils.removeAllChildren(eDummyContainer);\n\t            var eClone = itemWrapper.tabbedItem.body.cloneNode(true);\n\t            eDummyContainer.appendChild(eClone);\n\t            if (minWidth < eDummyContainer.offsetWidth) {\n\t                minWidth = eDummyContainer.offsetWidth;\n\t            }\n\t        });\n\t        this.eGui.removeChild(eDummyContainer);\n\t        return minWidth;\n\t    };\n\t    TabbedLayout.prototype.showFirstItem = function () {\n\t        if (this.items.length > 0) {\n\t            this.showItemWrapper(this.items[0]);\n\t        }\n\t    };\n\t    TabbedLayout.prototype.addItem = function (item) {\n\t        var eHeaderButton = document.createElement('span');\n\t        eHeaderButton.appendChild(item.title);\n\t        utils_1.Utils.addCssClass(eHeaderButton, 'ag-tab');\n\t        this.eHeader.appendChild(eHeaderButton);\n\t        var wrapper = {\n\t            tabbedItem: item,\n\t            eHeaderButton: eHeaderButton\n\t        };\n\t        this.items.push(wrapper);\n\t        eHeaderButton.addEventListener('click', this.showItemWrapper.bind(this, wrapper));\n\t    };\n\t    TabbedLayout.prototype.showItem = function (tabbedItem) {\n\t        var itemWrapper = utils_1.Utils.find(this.items, function (itemWrapper) {\n\t            return itemWrapper.tabbedItem === tabbedItem;\n\t        });\n\t        if (itemWrapper) {\n\t            this.showItemWrapper(itemWrapper);\n\t        }\n\t    };\n\t    TabbedLayout.prototype.showItemWrapper = function (wrapper) {\n\t        if (this.params.onItemClicked) {\n\t            this.params.onItemClicked({ item: wrapper.tabbedItem });\n\t        }\n\t        if (this.activeItem === wrapper) {\n\t            utils_1.Utils.callIfPresent(this.params.onActiveItemClicked);\n\t            return;\n\t        }\n\t        utils_1.Utils.removeAllChildren(this.eBody);\n\t        this.eBody.appendChild(wrapper.tabbedItem.body);\n\t        if (this.activeItem) {\n\t            utils_1.Utils.removeCssClass(this.activeItem.eHeaderButton, 'ag-tab-selected');\n\t        }\n\t        utils_1.Utils.addCssClass(wrapper.eHeaderButton, 'ag-tab-selected');\n\t        this.activeItem = wrapper;\n\t        if (wrapper.tabbedItem.afterAttachedCallback) {\n\t            wrapper.tabbedItem.afterAttachedCallback(this.afterAttachedParams);\n\t        }\n\t    };\n\t    TabbedLayout.prototype.getGui = function () {\n\t        return this.eGui;\n\t    };\n\t    return TabbedLayout;\n\t}());\n\tTabbedLayout.TEMPLATE = '<div>' +\n\t    '<div id=\"tabHeader\" class=\"ag-tab-header\"></div>' +\n\t    '<div id=\"tabBody\" class=\"ag-tab-body\"></div>' +\n\t    '</div>';\n\texports.TabbedLayout = TabbedLayout;\n\n\n/***/ }),\n/* 123 */\n/***/ (function(module, exports) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar VerticalStack = (function () {\n\t    function VerticalStack() {\n\t        this.isLayoutPanel = true;\n\t        this.childPanels = [];\n\t        this.eGui = document.createElement('div');\n\t        this.eGui.style.height = '100%';\n\t    }\n\t    VerticalStack.prototype.addPanel = function (panel, height) {\n\t        var component;\n\t        if (panel.isLayoutPanel) {\n\t            this.childPanels.push(panel);\n\t            component = panel.getGui();\n\t        }\n\t        else {\n\t            component = panel;\n\t        }\n\t        if (height) {\n\t            component.style.height = height;\n\t        }\n\t        this.eGui.appendChild(component);\n\t    };\n\t    VerticalStack.prototype.getGui = function () {\n\t        return this.eGui;\n\t    };\n\t    VerticalStack.prototype.doLayout = function () {\n\t        for (var i = 0; i < this.childPanels.length; i++) {\n\t            this.childPanels[i].doLayout();\n\t        }\n\t    };\n\t    return VerticalStack;\n\t}());\n\texports.VerticalStack = VerticalStack;\n\n\n/***/ }),\n/* 124 */\n/***/ (function(module, exports) {\n\n\t/**\n\t * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components\n\t * @version v9.0.3\n\t * @link http://www.ag-grid.com/\n\t * @license MIT\n\t */\n\t\"use strict\";\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tfunction simpleHttpRequest(params) {\n\t    var promise = new Promise();\n\t    var httpRequest = new XMLHttpRequest();\n\t    httpRequest.open('GET', params.url);\n\t    httpRequest.send();\n\t    httpRequest.onreadystatechange = function () {\n\t        if (httpRequest.readyState == 4 && httpRequest.status == 200) {\n\t            var httpResponse = JSON.parse(httpRequest.responseText);\n\t            promise.resolve(httpResponse);\n\t        }\n\t    };\n\t    return promise;\n\t}\n\texports.simpleHttpRequest = simpleHttpRequest;\n\tvar Promise = (function () {\n\t    function Promise() {\n\t    }\n\t    Promise.prototype.then = function (func) {\n\t        this.thenFunc = func;\n\t    };\n\t    Promise.prototype.resolve = function (result) {\n\t        if (this.thenFunc) {\n\t            this.thenFunc(result);\n\t        }\n\t    };\n\t    return Promise;\n\t}());\n\texports.Promise = Promise;\n\n\n/***/ }),\n/* 125 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar ag_grid_1 = __webpack_require__(2);\n\tvar columnSelectPanel_1 = __webpack_require__(126);\n\tvar menuList_1 = __webpack_require__(129);\n\tvar menuItemComponent_1 = __webpack_require__(130);\n\tvar menuItemMapper_1 = __webpack_require__(131);\n\tvar svgFactory = ag_grid_1.SvgFactory.getInstance();\n\tvar EnterpriseMenuFactory = (function () {\n\t    function EnterpriseMenuFactory() {\n\t    }\n\t    EnterpriseMenuFactory.prototype.showMenuAfterMouseEvent = function (column, mouseEvent, defaultTab) {\n\t        var _this = this;\n\t        this.showMenu(column, function (menu) {\n\t            _this.popupService.positionPopupUnderMouseEvent({\n\t                mouseEvent: mouseEvent,\n\t                ePopup: menu.getGui()\n\t            });\n\t            if (defaultTab) {\n\t                menu.showTab(defaultTab);\n\t            }\n\t        }, defaultTab);\n\t    };\n\t    EnterpriseMenuFactory.prototype.showMenuAfterButtonClick = function (column, eventSource, defaultTab) {\n\t        var _this = this;\n\t        this.showMenu(column, function (menu) {\n\t            _this.popupService.positionPopupUnderComponent({ eventSource: eventSource,\n\t                ePopup: menu.getGui(),\n\t                nudgeX: -9,\n\t                nudgeY: -26,\n\t                minWidth: menu.getMinWidth(),\n\t                keepWithinBounds: true\n\t            });\n\t            if (defaultTab) {\n\t                menu.showTab(defaultTab);\n\t            }\n\t        }, defaultTab);\n\t    };\n\t    EnterpriseMenuFactory.prototype.showMenu = function (column, positionCallback, defaultTab) {\n\t        var _this = this;\n\t        var menu = new EnterpriseMenu(column, this.lastSelectedTab);\n\t        this.context.wireBean(menu);\n\t        var eMenuGui = menu.getGui();\n\t        // need to show filter before positioning, as only after filter\n\t        // is visible can we find out what the width of it is\n\t        var hidePopup = this.popupService.addAsModalPopup(eMenuGui, true, function () { return menu.destroy(); });\n\t        positionCallback(menu);\n\t        menu.afterGuiAttached({\n\t            hidePopup: hidePopup\n\t        });\n\t        if (!defaultTab) {\n\t            menu.showTabBasedOnPreviousSelection();\n\t        }\n\t        menu.addEventListener(EnterpriseMenu.EVENT_TAB_SELECTED, function (event) {\n\t            _this.lastSelectedTab = event.key;\n\t        });\n\t    };\n\t    EnterpriseMenuFactory.prototype.isMenuEnabled = function (column) {\n\t        var showColumnPanel = !this.gridOptionsWrapper.isSuppressMenuColumnPanel();\n\t        var showMainPanel = !this.gridOptionsWrapper.isSuppressMenuMainPanel();\n\t        var showFilterPanel = !this.gridOptionsWrapper.isSuppressMenuFilterPanel() && column.isFilterAllowed();\n\t        return showColumnPanel || showMainPanel || showFilterPanel;\n\t    };\n\t    return EnterpriseMenuFactory;\n\t}());\n\t__decorate([\n\t    ag_grid_1.Autowired('context'),\n\t    __metadata(\"design:type\", ag_grid_1.Context)\n\t], EnterpriseMenuFactory.prototype, \"context\", void 0);\n\t__decorate([\n\t    ag_grid_1.Autowired('popupService'),\n\t    __metadata(\"design:type\", ag_grid_1.PopupService)\n\t], EnterpriseMenuFactory.prototype, \"popupService\", void 0);\n\t__decorate([\n\t    ag_grid_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", ag_grid_1.GridOptionsWrapper)\n\t], EnterpriseMenuFactory.prototype, \"gridOptionsWrapper\", void 0);\n\tEnterpriseMenuFactory = __decorate([\n\t    ag_grid_1.Bean('menuFactory')\n\t], EnterpriseMenuFactory);\n\texports.EnterpriseMenuFactory = EnterpriseMenuFactory;\n\tvar EnterpriseMenu = (function () {\n\t    function EnterpriseMenu(column, initialSelection) {\n\t        this.localEventService = new ag_grid_1.EventService();\n\t        this.destroyFunctions = [];\n\t        this.column = column;\n\t        this.initialSelection = initialSelection;\n\t    }\n\t    EnterpriseMenu.prototype.addEventListener = function (event, listener) {\n\t        this.localEventService.addEventListener(event, listener);\n\t    };\n\t    EnterpriseMenu.prototype.getMinWidth = function () {\n\t        return this.tabbedLayout.getMinWidth();\n\t    };\n\t    EnterpriseMenu.prototype.init = function () {\n\t        var tabItems = [];\n\t        if (!this.gridOptionsWrapper.isSuppressMenuMainPanel()) {\n\t            this.createMainPanel();\n\t            tabItems.push(this.tabItemGeneral);\n\t        }\n\t        if (!this.gridOptionsWrapper.isSuppressMenuFilterPanel() && this.column.isFilterAllowed()) {\n\t            this.createFilterPanel();\n\t            tabItems.push(this.tabItemFilter);\n\t        }\n\t        if (!this.gridOptionsWrapper.isSuppressMenuColumnPanel()) {\n\t            this.createColumnsPanel();\n\t            tabItems.push(this.tabItemColumns);\n\t        }\n\t        this.tabbedLayout = new ag_grid_1.TabbedLayout({\n\t            items: tabItems,\n\t            cssClass: 'ag-menu',\n\t            onActiveItemClicked: this.onHidePopup.bind(this),\n\t            onItemClicked: this.onTabItemClicked.bind(this)\n\t        });\n\t    };\n\t    EnterpriseMenu.prototype.showTabBasedOnPreviousSelection = function () {\n\t        // show the tab the user was on last time they had a menu open\n\t        this.showTab(this.initialSelection);\n\t    };\n\t    EnterpriseMenu.prototype.showTab = function (toShow) {\n\t        if (this.tabItemColumns && toShow === EnterpriseMenu.TAB_COLUMNS) {\n\t            this.tabbedLayout.showItem(this.tabItemColumns);\n\t        }\n\t        else if (this.tabItemFilter && toShow === EnterpriseMenu.TAB_FILTER) {\n\t            this.tabbedLayout.showItem(this.tabItemFilter);\n\t        }\n\t        else if (this.tabItemGeneral && toShow === EnterpriseMenu.TAB_GENERAL) {\n\t            this.tabbedLayout.showItem(this.tabItemGeneral);\n\t        }\n\t        else {\n\t            this.tabbedLayout.showFirstItem();\n\t        }\n\t    };\n\t    EnterpriseMenu.prototype.onTabItemClicked = function (event) {\n\t        var key;\n\t        switch (event.item) {\n\t            case this.tabItemColumns:\n\t                key = EnterpriseMenu.TAB_COLUMNS;\n\t                break;\n\t            case this.tabItemFilter:\n\t                key = EnterpriseMenu.TAB_FILTER;\n\t                break;\n\t            case this.tabItemGeneral:\n\t                key = EnterpriseMenu.TAB_GENERAL;\n\t                break;\n\t        }\n\t        if (key) {\n\t            this.localEventService.dispatchEvent(EnterpriseMenu.EVENT_TAB_SELECTED, { key: key });\n\t        }\n\t    };\n\t    EnterpriseMenu.prototype.destroy = function () {\n\t        if (this.columnSelectPanel) {\n\t            this.columnSelectPanel.destroy();\n\t        }\n\t        if (this.mainMenuList) {\n\t            this.mainMenuList.destroy();\n\t        }\n\t        this.destroyFunctions.forEach(function (func) { return func(); });\n\t    };\n\t    EnterpriseMenu.prototype.getMenuItems = function () {\n\t        var defaultMenuOptions = this.getDefaultMenuOptions();\n\t        var result;\n\t        var userFunc = this.gridOptionsWrapper.getMainMenuItemsFunc();\n\t        if (userFunc) {\n\t            var userOptions = userFunc({\n\t                column: this.column,\n\t                api: this.gridOptionsWrapper.getApi(),\n\t                columnApi: this.gridOptionsWrapper.getColumnApi(),\n\t                context: this.gridOptionsWrapper.getContext(),\n\t                defaultItems: defaultMenuOptions\n\t            });\n\t            result = userOptions;\n\t        }\n\t        else {\n\t            result = defaultMenuOptions;\n\t        }\n\t        // GUI looks weird when two separators are side by side. this can happen accidentally\n\t        // if we remove items from the menu then two separators can edit up adjacent.\n\t        ag_grid_1.Utils.removeRepeatsFromArray(result, EnterpriseMenu.MENU_ITEM_SEPARATOR);\n\t        return result;\n\t    };\n\t    EnterpriseMenu.prototype.getDefaultMenuOptions = function () {\n\t        var result = [];\n\t        var rowGroupCount = this.columnController.getRowGroupColumns().length;\n\t        var doingGrouping = rowGroupCount > 0;\n\t        var groupedByThisColumn = this.columnController.getRowGroupColumns().indexOf(this.column) >= 0;\n\t        var allowValue = this.column.isAllowValue();\n\t        var allowRowGroup = this.column.isAllowRowGroup();\n\t        var isPrimary = this.column.isPrimary();\n\t        var pivotModeOn = this.columnController.isPivotMode();\n\t        result.push('pinSubMenu');\n\t        var allowValueAgg = \n\t        // if primary, then only allow aggValue if grouping and it's a value columns\n\t        (isPrimary && doingGrouping && allowValue)\n\t            || !isPrimary;\n\t        if (allowValueAgg) {\n\t            result.push('valueAggSubMenu');\n\t        }\n\t        result.push(EnterpriseMenu.MENU_ITEM_SEPARATOR);\n\t        result.push('autoSizeThis');\n\t        result.push('autoSizeAll');\n\t        result.push(EnterpriseMenu.MENU_ITEM_SEPARATOR);\n\t        if (allowRowGroup && this.column.isPrimary()) {\n\t            if (groupedByThisColumn) {\n\t                result.push('rowUnGroup');\n\t            }\n\t            else {\n\t                result.push('rowGroup');\n\t            }\n\t        }\n\t        result.push(EnterpriseMenu.MENU_ITEM_SEPARATOR);\n\t        result.push('resetColumns');\n\t        result.push('toolPanel');\n\t        // only add grouping expand/collapse if grouping\n\t        // if pivoting, we only have expandable groups if grouping by 2 or more columns\n\t        // as the lowest level group is not expandable while pivoting.\n\t        // if not pivoting, then any active row group can be expanded.\n\t        var allowExpandAndContract = pivotModeOn ? rowGroupCount > 1 : rowGroupCount > 0;\n\t        if (allowExpandAndContract) {\n\t            result.push('expandAll');\n\t            result.push('contractAll');\n\t        }\n\t        return result;\n\t    };\n\t    EnterpriseMenu.prototype.createMainPanel = function () {\n\t        this.mainMenuList = new menuList_1.MenuList();\n\t        this.context.wireBean(this.mainMenuList);\n\t        var menuItems = this.getMenuItems();\n\t        var menuItemsMapped = this.menuItemMapper.mapWithStockItems(menuItems, this.column);\n\t        this.mainMenuList.addMenuItems(menuItemsMapped);\n\t        this.mainMenuList.addEventListener(menuItemComponent_1.MenuItemComponent.EVENT_ITEM_SELECTED, this.onHidePopup.bind(this));\n\t        this.tabItemGeneral = {\n\t            title: svgFactory.createMenuSvg(),\n\t            body: this.mainMenuList.getGui()\n\t        };\n\t    };\n\t    EnterpriseMenu.prototype.onHidePopup = function () {\n\t        this.hidePopupFunc();\n\t    };\n\t    EnterpriseMenu.prototype.createFilterPanel = function () {\n\t        var filterWrapper = this.filterManager.getOrCreateFilterWrapper(this.column);\n\t        var afterFilterAttachedCallback;\n\t        if (filterWrapper.filter.afterGuiAttached) {\n\t            afterFilterAttachedCallback = filterWrapper.filter.afterGuiAttached.bind(filterWrapper.filter);\n\t        }\n\t        this.tabItemFilter = {\n\t            title: svgFactory.createFilterSvg12(),\n\t            body: filterWrapper.gui,\n\t            afterAttachedCallback: afterFilterAttachedCallback\n\t        };\n\t    };\n\t    EnterpriseMenu.prototype.createColumnsPanel = function () {\n\t        var eWrapperDiv = document.createElement('div');\n\t        ag_grid_1.Utils.addCssClass(eWrapperDiv, 'ag-menu-column-select-wrapper');\n\t        this.columnSelectPanel = new columnSelectPanel_1.ColumnSelectPanel(false);\n\t        this.context.wireBean(this.columnSelectPanel);\n\t        eWrapperDiv.appendChild(this.columnSelectPanel.getGui());\n\t        this.tabItemColumns = {\n\t            title: svgFactory.createColumnsSvg12(),\n\t            body: eWrapperDiv\n\t        };\n\t    };\n\t    EnterpriseMenu.prototype.afterGuiAttached = function (params) {\n\t        var _this = this;\n\t        this.tabbedLayout.setAfterAttachedParams({ hidePopup: params.hidePopup });\n\t        this.hidePopupFunc = params.hidePopup;\n\t        // if the body scrolls, we want to hide the menu, as the menu will not appear in the right location anymore\n\t        var onBodyScroll = function (event) {\n\t            // if h scroll, popup is no longer over the column\n\t            if (event.direction === 'horizontal') {\n\t                params.hidePopup();\n\t            }\n\t        };\n\t        this.eventService.addEventListener('bodyScroll', onBodyScroll);\n\t        this.destroyFunctions.push(function () { return _this.eventService.removeEventListener('bodyScroll', onBodyScroll); });\n\t    };\n\t    EnterpriseMenu.prototype.getGui = function () {\n\t        return this.tabbedLayout.getGui();\n\t    };\n\t    return EnterpriseMenu;\n\t}());\n\tEnterpriseMenu.EVENT_TAB_SELECTED = 'tabSelected';\n\tEnterpriseMenu.TAB_FILTER = 'filter';\n\tEnterpriseMenu.TAB_GENERAL = 'general';\n\tEnterpriseMenu.TAB_COLUMNS = 'columns';\n\tEnterpriseMenu.MENU_ITEM_SEPARATOR = 'separator';\n\t__decorate([\n\t    ag_grid_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", ag_grid_1.ColumnController)\n\t], EnterpriseMenu.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    ag_grid_1.Autowired('filterManager'),\n\t    __metadata(\"design:type\", ag_grid_1.FilterManager)\n\t], EnterpriseMenu.prototype, \"filterManager\", void 0);\n\t__decorate([\n\t    ag_grid_1.Autowired('context'),\n\t    __metadata(\"design:type\", ag_grid_1.Context)\n\t], EnterpriseMenu.prototype, \"context\", void 0);\n\t__decorate([\n\t    ag_grid_1.Autowired('gridApi'),\n\t    __metadata(\"design:type\", ag_grid_1.GridApi)\n\t], EnterpriseMenu.prototype, \"gridApi\", void 0);\n\t__decorate([\n\t    ag_grid_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", ag_grid_1.GridOptionsWrapper)\n\t], EnterpriseMenu.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    ag_grid_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", ag_grid_1.EventService)\n\t], EnterpriseMenu.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    ag_grid_1.Autowired('menuItemMapper'),\n\t    __metadata(\"design:type\", menuItemMapper_1.MenuItemMapper)\n\t], EnterpriseMenu.prototype, \"menuItemMapper\", void 0);\n\t__decorate([\n\t    ag_grid_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], EnterpriseMenu.prototype, \"init\", null);\n\texports.EnterpriseMenu = EnterpriseMenu;\n\n\n/***/ }),\n/* 126 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t    function __() { this.constructor = d; }\n\t    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar main_1 = __webpack_require__(2);\n\tvar renderedGroup_1 = __webpack_require__(127);\n\tvar renderedColumn_1 = __webpack_require__(128);\n\tvar ColumnSelectPanel = (function (_super) {\n\t    __extends(ColumnSelectPanel, _super);\n\t    // we allow dragging in the toolPanel, but not when this component appears in the column menu\n\t    function ColumnSelectPanel(allowDragging) {\n\t        var _this = _super.call(this, ColumnSelectPanel.TEMPLATE) || this;\n\t        _this.allowDragging = allowDragging;\n\t        return _this;\n\t    }\n\t    ColumnSelectPanel.prototype.init = function () {\n\t        this.addDestroyableEventListener(this.globalEventService, main_1.Events.EVENT_COLUMN_EVERYTHING_CHANGED, this.onColumnsChanged.bind(this));\n\t        if (this.columnController.isReady()) {\n\t            this.onColumnsChanged();\n\t        }\n\t    };\n\t    ColumnSelectPanel.prototype.onColumnsChanged = function () {\n\t        this.destroyAllRenderedElements();\n\t        this.columnTree = this.columnController.getPrimaryColumnTree();\n\t        this.recursivelyRenderComponents(this.columnTree, 0);\n\t    };\n\t    ColumnSelectPanel.prototype.destroy = function () {\n\t        _super.prototype.destroy.call(this);\n\t        this.destroyAllRenderedElements();\n\t    };\n\t    ColumnSelectPanel.prototype.destroyAllRenderedElements = function () {\n\t        main_1.Utils.removeAllChildren(this.getGui());\n\t        if (this.renderedItems) {\n\t            main_1.Utils.iterateObject(this.renderedItems, function (key, renderedItem) { return renderedItem.destroy(); });\n\t        }\n\t        this.renderedItems = {};\n\t    };\n\t    ColumnSelectPanel.prototype.recursivelyRenderGroupComponent = function (columnGroup, dept) {\n\t        // only render group if user provided the definition\n\t        var newDept;\n\t        if (columnGroup.getColGroupDef() && columnGroup.getColGroupDef().suppressToolPanel) {\n\t            return;\n\t        }\n\t        if (!columnGroup.isPadding()) {\n\t            var renderedGroup = new renderedGroup_1.RenderedGroup(columnGroup, dept, this.onGroupExpanded.bind(this), this.allowDragging);\n\t            this.context.wireBean(renderedGroup);\n\t            this.appendChild(renderedGroup.getGui());\n\t            // we want to indent on the gui for the children\n\t            newDept = dept + 1;\n\t            this.renderedItems[columnGroup.getId()] = renderedGroup;\n\t        }\n\t        else {\n\t            // no children, so no indent\n\t            newDept = dept;\n\t        }\n\t        this.recursivelyRenderComponents(columnGroup.getChildren(), newDept);\n\t    };\n\t    ColumnSelectPanel.prototype.recursivelyRenderColumnComponent = function (column, dept) {\n\t        if (column.getColDef() && column.getColDef().suppressToolPanel) {\n\t            return;\n\t        }\n\t        var renderedColumn = new renderedColumn_1.RenderedColumn(column, dept, this.allowDragging);\n\t        this.context.wireBean(renderedColumn);\n\t        this.appendChild(renderedColumn.getGui());\n\t        this.renderedItems[column.getId()] = renderedColumn;\n\t    };\n\t    ColumnSelectPanel.prototype.recursivelyRenderComponents = function (tree, dept) {\n\t        var _this = this;\n\t        tree.forEach(function (child) {\n\t            if (child instanceof main_1.OriginalColumnGroup) {\n\t                _this.recursivelyRenderGroupComponent(child, dept);\n\t            }\n\t            else {\n\t                _this.recursivelyRenderColumnComponent(child, dept);\n\t            }\n\t        });\n\t    };\n\t    ColumnSelectPanel.prototype.recursivelySetVisibility = function (columnTree, visible) {\n\t        var _this = this;\n\t        columnTree.forEach(function (child) {\n\t            var component = _this.renderedItems[child.getId()];\n\t            if (component) {\n\t                component.setVisible(visible);\n\t            }\n\t            if (child instanceof main_1.OriginalColumnGroup) {\n\t                var columnGroup = child;\n\t                var newVisible;\n\t                if (component) {\n\t                    var expanded = component.isExpanded();\n\t                    newVisible = visible ? expanded : false;\n\t                }\n\t                else {\n\t                    newVisible = visible;\n\t                }\n\t                var newChildren = columnGroup.getChildren();\n\t                _this.recursivelySetVisibility(newChildren, newVisible);\n\t            }\n\t        });\n\t    };\n\t    ColumnSelectPanel.prototype.onGroupExpanded = function () {\n\t        this.recursivelySetVisibility(this.columnTree, true);\n\t    };\n\t    return ColumnSelectPanel;\n\t}(main_1.Component));\n\tColumnSelectPanel.TEMPLATE = '<div class=\"ag-column-select-panel\"></div>';\n\t__decorate([\n\t    main_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", main_1.ColumnController)\n\t], ColumnSelectPanel.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    main_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", main_1.EventService)\n\t], ColumnSelectPanel.prototype, \"globalEventService\", void 0);\n\t__decorate([\n\t    main_1.Autowired('context'),\n\t    __metadata(\"design:type\", main_1.Context)\n\t], ColumnSelectPanel.prototype, \"context\", void 0);\n\t__decorate([\n\t    main_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], ColumnSelectPanel.prototype, \"init\", null);\n\texports.ColumnSelectPanel = ColumnSelectPanel;\n\n\n/***/ }),\n/* 127 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t    function __() { this.constructor = d; }\n\t    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar main_1 = __webpack_require__(2);\n\tvar svgFactory = main_1.SvgFactory.getInstance();\n\tvar RenderedGroup = (function (_super) {\n\t    __extends(RenderedGroup, _super);\n\t    function RenderedGroup(columnGroup, columnDept, expandedCallback, allowDragging) {\n\t        var _this = _super.call(this) || this;\n\t        _this.expanded = true;\n\t        _this.processingColumnStateChange = false;\n\t        _this.columnGroup = columnGroup;\n\t        _this.columnDept = columnDept;\n\t        _this.expandedCallback = expandedCallback;\n\t        _this.allowDragging = allowDragging;\n\t        return _this;\n\t    }\n\t    RenderedGroup.prototype.init = function () {\n\t        this.setTemplate(RenderedGroup.TEMPLATE);\n\t        this.instantiate(this.context);\n\t        var eText = this.queryForHtmlElement('#eText');\n\t        this.displayName = this.columnGroup.getColGroupDef() ? this.columnGroup.getColGroupDef().headerName : null;\n\t        if (main_1.Utils.missing(this.displayName)) {\n\t            this.displayName = '>>';\n\t        }\n\t        eText.innerHTML = this.displayName;\n\t        this.setupExpandContract();\n\t        var eIndent = this.queryForHtmlElement('#eIndent');\n\t        eIndent.style.width = (this.columnDept * 10) + 'px';\n\t        this.addDestroyableEventListener(eText, 'click', this.onClick.bind(this));\n\t        this.addDestroyableEventListener(this.eventService, main_1.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED, this.onColumnStateChanged.bind(this));\n\t        this.addDestroyableEventListener(this.cbSelect, main_1.AgCheckbox.EVENT_CHANGED, this.onCheckboxChanged.bind(this));\n\t        var eCheckboxAndText = this.queryForHtmlElement('#eCheckboxAndText');\n\t        var touchListener = new main_1.TouchListener(eCheckboxAndText);\n\t        this.addDestroyableEventListener(touchListener, main_1.TouchListener.EVENT_TAP, this.onClick.bind(this));\n\t        this.addDestroyFunc(touchListener.destroy.bind(touchListener));\n\t        this.setOpenClosedIcons();\n\t        if (this.allowDragging) {\n\t            this.addDragSource();\n\t        }\n\t        this.onColumnStateChanged();\n\t        this.addVisibilityListenersToAllChildren();\n\t        main_1.CssClassApplier.addToolPanelClassesFromColDef(this.columnGroup.getColGroupDef(), this.getGui(), this.gridOptionsWrapper, null, this.columnGroup);\n\t    };\n\t    RenderedGroup.prototype.addVisibilityListenersToAllChildren = function () {\n\t        var _this = this;\n\t        this.columnGroup.getLeafColumns().forEach(function (column) {\n\t            _this.addDestroyableEventListener(column, main_1.Column.EVENT_VISIBLE_CHANGED, _this.onColumnStateChanged.bind(_this));\n\t            _this.addDestroyableEventListener(column, main_1.Column.EVENT_VALUE_CHANGED, _this.onColumnStateChanged.bind(_this));\n\t            _this.addDestroyableEventListener(column, main_1.Column.EVENT_PIVOT_CHANGED, _this.onColumnStateChanged.bind(_this));\n\t            _this.addDestroyableEventListener(column, main_1.Column.EVENT_ROW_GROUP_CHANGED, _this.onColumnStateChanged.bind(_this));\n\t        });\n\t    };\n\t    RenderedGroup.prototype.addDragSource = function () {\n\t        var _this = this;\n\t        var dragSource = {\n\t            type: main_1.DragSourceType.ToolPanel,\n\t            eElement: this.getGui(),\n\t            dragItemName: this.displayName,\n\t            dragItem: this.columnGroup.getLeafColumns()\n\t        };\n\t        this.dragAndDropService.addDragSource(dragSource, true);\n\t        this.addDestroyFunc(function () { return _this.dragAndDropService.removeDragSource(dragSource); });\n\t    };\n\t    RenderedGroup.prototype.setupExpandContract = function () {\n\t        this.eGroupClosedIcon = this.queryForHtmlElement('#eGroupClosedIcon');\n\t        this.eGroupOpenedIcon = this.queryForHtmlElement('#eGroupOpenedIcon');\n\t        this.eGroupClosedIcon.appendChild(main_1.Utils.createIcon('columnSelectClosed', this.gridOptionsWrapper, null, svgFactory.createFolderClosed));\n\t        this.eGroupOpenedIcon.appendChild(main_1.Utils.createIcon('columnSelectOpen', this.gridOptionsWrapper, null, svgFactory.createFolderOpen));\n\t        this.addDestroyableEventListener(this.eGroupClosedIcon, 'click', this.onExpandOrContractClicked.bind(this));\n\t        this.addDestroyableEventListener(this.eGroupOpenedIcon, 'click', this.onExpandOrContractClicked.bind(this));\n\t        var eColumnGroupIcons = this.queryForHtmlElement('#eColumnGroupIcons');\n\t        var touchListener = new main_1.TouchListener(eColumnGroupIcons);\n\t        this.addDestroyableEventListener(touchListener, main_1.TouchListener.EVENT_TAP, this.onExpandOrContractClicked.bind(this));\n\t        this.addDestroyFunc(touchListener.destroy.bind(touchListener));\n\t    };\n\t    RenderedGroup.prototype.onClick = function () {\n\t        this.cbSelect.setSelected(!this.cbSelect.isSelected());\n\t    };\n\t    RenderedGroup.prototype.onCheckboxChanged = function () {\n\t        if (this.processingColumnStateChange) {\n\t            return;\n\t        }\n\t        var childColumns = this.columnGroup.getLeafColumns();\n\t        var selected = this.cbSelect.isSelected();\n\t        if (this.columnController.isPivotMode()) {\n\t            if (selected) {\n\t                this.actionCheckedReduce(childColumns);\n\t            }\n\t            else {\n\t                this.actionUnCheckedReduce(childColumns);\n\t            }\n\t        }\n\t        else {\n\t            this.columnController.setColumnsVisible(childColumns, selected);\n\t        }\n\t    };\n\t    RenderedGroup.prototype.actionUnCheckedReduce = function (columns) {\n\t        var columnsToUnPivot = [];\n\t        var columnsToUnValue = [];\n\t        var columnsToUnGroup = [];\n\t        columns.forEach(function (column) {\n\t            if (column.isPivotActive()) {\n\t                columnsToUnPivot.push(column);\n\t            }\n\t            if (column.isRowGroupActive()) {\n\t                columnsToUnGroup.push(column);\n\t            }\n\t            if (column.isValueActive()) {\n\t                columnsToUnValue.push(column);\n\t            }\n\t        });\n\t        if (columnsToUnPivot.length > 0) {\n\t            this.columnController.removePivotColumns(columnsToUnPivot);\n\t        }\n\t        if (columnsToUnGroup.length > 0) {\n\t            this.columnController.removeRowGroupColumns(columnsToUnGroup);\n\t        }\n\t        if (columnsToUnValue.length > 0) {\n\t            this.columnController.removeValueColumns(columnsToUnValue);\n\t        }\n\t    };\n\t    RenderedGroup.prototype.actionCheckedReduce = function (columns) {\n\t        var columnsToAggregate = [];\n\t        var columnsToGroup = [];\n\t        var columnsToPivot = [];\n\t        columns.forEach(function (column) {\n\t            // don't change any column that's already got a function active\n\t            if (column.isAnyFunctionActive()) {\n\t                return;\n\t            }\n\t            if (column.isAllowValue()) {\n\t                columnsToAggregate.push(column);\n\t            }\n\t            else if (column.isAllowRowGroup()) {\n\t                columnsToGroup.push(column);\n\t            }\n\t            else if (column.isAllowRowGroup()) {\n\t                columnsToPivot.push(column);\n\t            }\n\t        });\n\t        if (columnsToAggregate.length > 0) {\n\t            this.columnController.addValueColumns(columnsToAggregate);\n\t        }\n\t        if (columnsToGroup.length > 0) {\n\t            this.columnController.addRowGroupColumns(columnsToGroup);\n\t        }\n\t        if (columnsToPivot.length > 0) {\n\t            this.columnController.addPivotColumns(columnsToPivot);\n\t        }\n\t    };\n\t    RenderedGroup.prototype.onColumnStateChanged = function () {\n\t        var _this = this;\n\t        var columnsReduced = this.columnController.isPivotMode();\n\t        var visibleChildCount = 0;\n\t        var hiddenChildCount = 0;\n\t        this.columnGroup.getLeafColumns().forEach(function (column) {\n\t            if (_this.isColumnVisible(column, columnsReduced)) {\n\t                visibleChildCount++;\n\t            }\n\t            else {\n\t                hiddenChildCount++;\n\t            }\n\t        });\n\t        var selectedValue;\n\t        if (visibleChildCount > 0 && hiddenChildCount > 0) {\n\t            selectedValue = null;\n\t        }\n\t        else if (visibleChildCount > 0) {\n\t            selectedValue = true;\n\t        }\n\t        else {\n\t            selectedValue = false;\n\t        }\n\t        this.processingColumnStateChange = true;\n\t        this.cbSelect.setSelected(selectedValue);\n\t        this.processingColumnStateChange = false;\n\t    };\n\t    RenderedGroup.prototype.isColumnVisible = function (column, columnsReduced) {\n\t        if (columnsReduced) {\n\t            var pivoted = column.isPivotActive();\n\t            var grouped = column.isRowGroupActive();\n\t            var aggregated = column.isValueActive();\n\t            return pivoted || grouped || aggregated;\n\t        }\n\t        else {\n\t            return column.isVisible();\n\t        }\n\t    };\n\t    RenderedGroup.prototype.onExpandOrContractClicked = function () {\n\t        this.expanded = !this.expanded;\n\t        this.setOpenClosedIcons();\n\t        this.expandedCallback();\n\t    };\n\t    RenderedGroup.prototype.setOpenClosedIcons = function () {\n\t        var folderOpen = this.expanded;\n\t        main_1.Utils.setVisible(this.eGroupClosedIcon, !folderOpen);\n\t        main_1.Utils.setVisible(this.eGroupOpenedIcon, folderOpen);\n\t    };\n\t    RenderedGroup.prototype.isExpanded = function () {\n\t        return this.expanded;\n\t    };\n\t    return RenderedGroup;\n\t}(main_1.Component));\n\tRenderedGroup.TEMPLATE = '<div class=\"ag-column-select-column-group\">' +\n\t    '  <span id=\"eIndent\" class=\"ag-column-select-indent\"></span>' +\n\t    '  <span id=\"eColumnGroupIcons\" class=\"ag-column-group-icons\">' +\n\t    '    <span id=\"eGroupOpenedIcon\" class=\"ag-column-group-closed-icon\"></span>' +\n\t    '    <span id=\"eGroupClosedIcon\" class=\"ag-column-group-opened-icon\"></span>' +\n\t    '  </span>' +\n\t    '  <span id=\"eCheckboxAndText\">' +\n\t    '    <ag-checkbox class=\"ag-column-select-checkbox\"></ag-checkbox>' +\n\t    '    <span id=\"eText\" class=\"ag-column-select-column-group-label\"></span>' +\n\t    '  </span>' +\n\t    '</div>';\n\t__decorate([\n\t    main_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", main_1.GridOptionsWrapper)\n\t], RenderedGroup.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    main_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", main_1.ColumnController)\n\t], RenderedGroup.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    main_1.Autowired('gridPanel'),\n\t    __metadata(\"design:type\", main_1.GridPanel)\n\t], RenderedGroup.prototype, \"gridPanel\", void 0);\n\t__decorate([\n\t    main_1.Autowired('context'),\n\t    __metadata(\"design:type\", main_1.Context)\n\t], RenderedGroup.prototype, \"context\", void 0);\n\t__decorate([\n\t    main_1.Autowired('dragAndDropService'),\n\t    __metadata(\"design:type\", main_1.DragAndDropService)\n\t], RenderedGroup.prototype, \"dragAndDropService\", void 0);\n\t__decorate([\n\t    main_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", main_1.EventService)\n\t], RenderedGroup.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    main_1.QuerySelector('.ag-column-select-checkbox'),\n\t    __metadata(\"design:type\", main_1.AgCheckbox)\n\t], RenderedGroup.prototype, \"cbSelect\", void 0);\n\t__decorate([\n\t    main_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], RenderedGroup.prototype, \"init\", null);\n\texports.RenderedGroup = RenderedGroup;\n\n\n/***/ }),\n/* 128 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t    function __() { this.constructor = d; }\n\t    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar main_1 = __webpack_require__(2);\n\tvar RenderedColumn = (function (_super) {\n\t    __extends(RenderedColumn, _super);\n\t    function RenderedColumn(column, columnDept, allowDragging) {\n\t        var _this = _super.call(this) || this;\n\t        _this.processingColumnStateChange = false;\n\t        _this.column = column;\n\t        _this.columnDept = columnDept;\n\t        _this.allowDragging = allowDragging;\n\t        return _this;\n\t    }\n\t    RenderedColumn.prototype.init = function () {\n\t        this.setTemplate(RenderedColumn.TEMPLATE);\n\t        this.displayName = this.columnController.getDisplayNameForColumn(this.column, 'toolPanel');\n\t        this.eText.innerHTML = this.displayName;\n\t        this.eIndent.style.width = (this.columnDept * 10) + 'px';\n\t        if (this.allowDragging) {\n\t            this.addDragSource();\n\t        }\n\t        this.addDestroyableEventListener(this.eventService, main_1.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED, this.onColumnStateChanged.bind(this));\n\t        this.addDestroyableEventListener(this.column, main_1.Column.EVENT_VALUE_CHANGED, this.onColumnStateChanged.bind(this));\n\t        this.addDestroyableEventListener(this.column, main_1.Column.EVENT_PIVOT_CHANGED, this.onColumnStateChanged.bind(this));\n\t        this.addDestroyableEventListener(this.column, main_1.Column.EVENT_ROW_GROUP_CHANGED, this.onColumnStateChanged.bind(this));\n\t        this.addDestroyableEventListener(this.column, main_1.Column.EVENT_VISIBLE_CHANGED, this.onColumnStateChanged.bind(this));\n\t        this.addDestroyableEventListener(this.gridOptionsWrapper, 'functionsReadOnly', this.onColumnStateChanged.bind(this));\n\t        this.instantiate(this.context);\n\t        this.onColumnStateChanged();\n\t        this.addDestroyableEventListener(this.cbSelect, main_1.AgCheckbox.EVENT_CHANGED, this.onChange.bind(this));\n\t        this.addDestroyableEventListener(this.eText, 'click', this.onClick.bind(this));\n\t        this.addTap();\n\t        main_1.CssClassApplier.addToolPanelClassesFromColDef(this.column.getColDef(), this.getGui(), this.gridOptionsWrapper, this.column, null);\n\t    };\n\t    RenderedColumn.prototype.addTap = function () {\n\t        var touchListener = new main_1.TouchListener(this.getGui());\n\t        this.addDestroyableEventListener(touchListener, main_1.TouchListener.EVENT_TAP, this.onClick.bind(this));\n\t        this.addDestroyFunc(touchListener.destroy.bind(touchListener));\n\t    };\n\t    RenderedColumn.prototype.onClick = function () {\n\t        if (this.cbSelect.isReadOnly()) {\n\t            return;\n\t        }\n\t        this.cbSelect.toggle();\n\t    };\n\t    RenderedColumn.prototype.onChange = function (event) {\n\t        // only want to action if the user clicked the checkbox, not is we are setting the checkbox because\n\t        // of a change in the model\n\t        if (this.processingColumnStateChange) {\n\t            return;\n\t        }\n\t        // action in a timeout, as the action takes some time, we want to update the icons first\n\t        // so the user gets nice feedback when they click. otherwise there would be a lag and the\n\t        // user would think the checkboxes were clunky\n\t        if (this.columnController.isPivotMode()) {\n\t            if (event.selected) {\n\t                this.actionCheckedPivotMode();\n\t            }\n\t            else {\n\t                this.actionUnCheckedPivotMode();\n\t            }\n\t        }\n\t        else {\n\t            this.columnController.setColumnVisible(this.column, event.selected);\n\t        }\n\t    };\n\t    RenderedColumn.prototype.actionUnCheckedPivotMode = function () {\n\t        var functionPassive = this.gridOptionsWrapper.isFunctionsPassive();\n\t        var column = this.column;\n\t        var columnController = this.columnController;\n\t        // remove pivot if column is pivoted\n\t        if (column.isPivotActive()) {\n\t            if (functionPassive) {\n\t                var copyOfPivotColumns = this.columnController.getPivotColumns().slice();\n\t                copyOfPivotColumns.push(column);\n\t                this.eventService.dispatchEvent(main_1.Events.EVENT_COLUMN_PIVOT_CHANGE_REQUEST, { columns: copyOfPivotColumns });\n\t            }\n\t            else {\n\t                columnController.removePivotColumn(column);\n\t            }\n\t        }\n\t        // remove value if column is value\n\t        if (column.isValueActive()) {\n\t            if (functionPassive) {\n\t                var copyOfValueColumns = this.columnController.getValueColumns().slice();\n\t                copyOfValueColumns.push(column);\n\t                this.eventService.dispatchEvent(main_1.Events.EVENT_COLUMN_VALUE_CHANGE_REQUEST, { columns: copyOfValueColumns });\n\t            }\n\t            else {\n\t                columnController.removeValueColumn(column);\n\t            }\n\t        }\n\t        // remove group if column is grouped\n\t        if (column.isRowGroupActive()) {\n\t            if (functionPassive) {\n\t                var copyOfRowGroupColumns = this.columnController.getRowGroupColumns().slice();\n\t                copyOfRowGroupColumns.push(column);\n\t                this.eventService.dispatchEvent(main_1.Events.EVENT_COLUMN_ROW_GROUP_CHANGE_REQUEST, { columns: copyOfRowGroupColumns });\n\t            }\n\t            else {\n\t                columnController.removeRowGroupColumn(column);\n\t            }\n\t        }\n\t    };\n\t    RenderedColumn.prototype.actionCheckedPivotMode = function () {\n\t        var column = this.column;\n\t        // function already active, so do nothing\n\t        if (column.isValueActive() || column.isPivotActive() || column.isRowGroupActive()) {\n\t            return;\n\t        }\n\t        var functionPassive = this.gridOptionsWrapper.isFunctionsPassive();\n\t        if (column.isAllowValue()) {\n\t            if (functionPassive) {\n\t                var copyOfValueColumns = this.columnController.getValueColumns().slice();\n\t                main_1.Utils.removeFromArray(copyOfValueColumns, column);\n\t                this.eventService.dispatchEvent(main_1.Events.EVENT_COLUMN_VALUE_CHANGE_REQUEST, { columns: copyOfValueColumns });\n\t            }\n\t            else {\n\t                this.columnController.addValueColumn(column);\n\t            }\n\t        }\n\t        else if (column.isAllowRowGroup()) {\n\t            if (functionPassive) {\n\t                var copyOfRowGroupColumns = this.columnController.getRowGroupColumns().slice();\n\t                main_1.Utils.removeFromArray(copyOfRowGroupColumns, column);\n\t                this.eventService.dispatchEvent(main_1.Events.EVENT_COLUMN_ROW_GROUP_CHANGE_REQUEST, { columns: copyOfRowGroupColumns });\n\t            }\n\t            else {\n\t                this.columnController.addRowGroupColumn(column);\n\t            }\n\t        }\n\t        else if (column.isAllowPivot()) {\n\t            if (functionPassive) {\n\t                var copyOfPivotColumns = this.columnController.getPivotColumns().slice();\n\t                main_1.Utils.removeFromArray(copyOfPivotColumns, column);\n\t                this.eventService.dispatchEvent(main_1.Events.EVENT_COLUMN_PIVOT_CHANGE_REQUEST, { columns: copyOfPivotColumns });\n\t            }\n\t            else {\n\t                this.columnController.addPivotColumn(column);\n\t            }\n\t        }\n\t    };\n\t    RenderedColumn.prototype.addDragSource = function () {\n\t        var _this = this;\n\t        var dragSource = {\n\t            type: main_1.DragSourceType.ToolPanel,\n\t            eElement: this.getGui(),\n\t            dragItemName: this.displayName,\n\t            dragItem: [this.column]\n\t        };\n\t        this.dragAndDropService.addDragSource(dragSource, true);\n\t        this.addDestroyFunc(function () { return _this.dragAndDropService.removeDragSource(dragSource); });\n\t    };\n\t    RenderedColumn.prototype.onColumnStateChanged = function () {\n\t        this.processingColumnStateChange = true;\n\t        var isPivotMode = this.columnController.isPivotMode();\n\t        if (isPivotMode) {\n\t            // if reducing, checkbox means column is one of pivot, value or group\n\t            var anyFunctionActive = this.column.isAnyFunctionActive();\n\t            this.cbSelect.setSelected(anyFunctionActive);\n\t        }\n\t        else {\n\t            // if not reducing, the checkbox tells us if column is visible or not\n\t            this.cbSelect.setSelected(this.column.isVisible());\n\t        }\n\t        // read only in pivot mode if:\n\t        var checkboxReadOnly = isPivotMode\n\t            && (this.gridOptionsWrapper.isFunctionsReadOnly()\n\t                || !this.column.isAnyFunctionAllowed());\n\t        this.cbSelect.setReadOnly(checkboxReadOnly);\n\t        var checkboxPassive = isPivotMode && this.gridOptionsWrapper.isFunctionsPassive();\n\t        this.cbSelect.setPassive(checkboxPassive);\n\t        this.processingColumnStateChange = false;\n\t    };\n\t    return RenderedColumn;\n\t}(main_1.Component));\n\tRenderedColumn.TEMPLATE = '<div class=\"ag-column-select-column\">' +\n\t    '<span class=\"ag-column-select-indent\"></span>' +\n\t    '<ag-checkbox class=\"ag-column-select-checkbox\"></ag-checkbox>' +\n\t    '<span class=\"ag-column-select-label\"></span>' +\n\t    '</div>';\n\t__decorate([\n\t    main_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", main_1.GridOptionsWrapper)\n\t], RenderedColumn.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    main_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", main_1.ColumnController)\n\t], RenderedColumn.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    main_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", main_1.EventService)\n\t], RenderedColumn.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    main_1.Autowired('dragAndDropService'),\n\t    __metadata(\"design:type\", main_1.DragAndDropService)\n\t], RenderedColumn.prototype, \"dragAndDropService\", void 0);\n\t__decorate([\n\t    main_1.Autowired('gridPanel'),\n\t    __metadata(\"design:type\", main_1.GridPanel)\n\t], RenderedColumn.prototype, \"gridPanel\", void 0);\n\t__decorate([\n\t    main_1.Autowired('context'),\n\t    __metadata(\"design:type\", main_1.Context)\n\t], RenderedColumn.prototype, \"context\", void 0);\n\t__decorate([\n\t    main_1.QuerySelector('.ag-column-select-label'),\n\t    __metadata(\"design:type\", HTMLElement)\n\t], RenderedColumn.prototype, \"eText\", void 0);\n\t__decorate([\n\t    main_1.QuerySelector('.ag-column-select-indent'),\n\t    __metadata(\"design:type\", HTMLElement)\n\t], RenderedColumn.prototype, \"eIndent\", void 0);\n\t__decorate([\n\t    main_1.QuerySelector('.ag-column-select-checkbox'),\n\t    __metadata(\"design:type\", main_1.AgCheckbox)\n\t], RenderedColumn.prototype, \"cbSelect\", void 0);\n\t__decorate([\n\t    main_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], RenderedColumn.prototype, \"init\", null);\n\texports.RenderedColumn = RenderedColumn;\n\n\n/***/ }),\n/* 129 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t    function __() { this.constructor = d; }\n\t    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar ag_grid_1 = __webpack_require__(2);\n\tvar menuItemComponent_1 = __webpack_require__(130);\n\tvar MenuList = (function (_super) {\n\t    __extends(MenuList, _super);\n\t    function MenuList() {\n\t        var _this = _super.call(this, MenuList.TEMPLATE) || this;\n\t        _this.timerCount = 0;\n\t        _this.removeChildFuncs = [];\n\t        return _this;\n\t        // console.log('MenuList->constructor() ' + this.instance);\n\t    }\n\t    MenuList.prototype.clearActiveItem = function () {\n\t        this.removeActiveItem();\n\t        this.removeChildPopup();\n\t    };\n\t    MenuList.prototype.addMenuItems = function (menuItems) {\n\t        var _this = this;\n\t        if (ag_grid_1.Utils.missing(menuItems)) {\n\t            return;\n\t        }\n\t        menuItems.forEach(function (menuItemOrString) {\n\t            if (menuItemOrString === 'separator') {\n\t                _this.addSeparator();\n\t            }\n\t            else if (typeof menuItemOrString === 'string') {\n\t                console.log(\"ag-Grid: unrecognised menu item \" + menuItemOrString);\n\t            }\n\t            else {\n\t                var menuItem = menuItemOrString;\n\t                _this.addItem(menuItem);\n\t            }\n\t        });\n\t    };\n\t    MenuList.prototype.addItem = function (menuItemDef) {\n\t        var _this = this;\n\t        var cMenuItem = new menuItemComponent_1.MenuItemComponent(menuItemDef);\n\t        this.context.wireBean(cMenuItem);\n\t        this.getGui().appendChild(cMenuItem.getGui());\n\t        this.addDestroyFunc(function () { return cMenuItem.destroy(); });\n\t        cMenuItem.addEventListener(menuItemComponent_1.MenuItemComponent.EVENT_ITEM_SELECTED, function (event) {\n\t            if (menuItemDef.subMenu) {\n\t                _this.showChildMenu(menuItemDef, cMenuItem);\n\t            }\n\t            else {\n\t                _this.dispatchEvent(menuItemComponent_1.MenuItemComponent.EVENT_ITEM_SELECTED, event);\n\t            }\n\t        });\n\t        cMenuItem.addGuiEventListener('mouseenter', this.mouseEnterItem.bind(this, menuItemDef, cMenuItem));\n\t        cMenuItem.addGuiEventListener('mouseleave', function () { return _this.timerCount++; });\n\t    };\n\t    MenuList.prototype.mouseEnterItem = function (menuItemParams, menuItem) {\n\t        if (menuItemParams.disabled) {\n\t            return;\n\t        }\n\t        if (this.activeMenuItemParams !== menuItemParams) {\n\t            this.removeChildPopup();\n\t        }\n\t        this.removeActiveItem();\n\t        this.activeMenuItemParams = menuItemParams;\n\t        this.activeMenuItem = menuItem;\n\t        ag_grid_1.Utils.addCssClass(this.activeMenuItem.getGui(), 'ag-menu-option-active');\n\t        if (menuItemParams.subMenu) {\n\t            this.addHoverForChildPopup(menuItemParams, menuItem);\n\t        }\n\t    };\n\t    MenuList.prototype.removeActiveItem = function () {\n\t        if (this.activeMenuItem) {\n\t            ag_grid_1.Utils.removeCssClass(this.activeMenuItem.getGui(), 'ag-menu-option-active');\n\t            this.activeMenuItem = null;\n\t            this.activeMenuItemParams = null;\n\t        }\n\t    };\n\t    MenuList.prototype.addHoverForChildPopup = function (menuItemDef, menuItemComp) {\n\t        var _this = this;\n\t        var timerCountCopy = this.timerCount;\n\t        setTimeout(function () {\n\t            var shouldShow = timerCountCopy === _this.timerCount;\n\t            var showingThisMenu = _this.subMenuParentDef === menuItemDef;\n\t            if (shouldShow && !showingThisMenu) {\n\t                _this.showChildMenu(menuItemDef, menuItemComp);\n\t            }\n\t        }, 500);\n\t    };\n\t    MenuList.prototype.addSeparator = function () {\n\t        this.getGui().appendChild(ag_grid_1.Utils.loadTemplate(MenuList.SEPARATOR_TEMPLATE));\n\t    };\n\t    MenuList.prototype.showChildMenu = function (menuItemDef, menuItemComp) {\n\t        var _this = this;\n\t        this.removeChildPopup();\n\t        var childMenu = new MenuList();\n\t        this.context.wireBean(childMenu);\n\t        childMenu.addMenuItems(menuItemDef.subMenu);\n\t        var ePopup = ag_grid_1.Utils.loadTemplate('<div class=\"ag-menu\"></div>');\n\t        ePopup.appendChild(childMenu.getGui());\n\t        var hidePopupFunc = this.popupService.addAsModalPopup(ePopup, true);\n\t        this.popupService.positionPopupForMenu({\n\t            eventSource: menuItemComp.getGui(),\n\t            ePopup: ePopup\n\t        });\n\t        this.subMenuParentDef = menuItemDef;\n\t        var selectedListener = function (event) {\n\t            _this.dispatchEvent(menuItemComponent_1.MenuItemComponent.EVENT_ITEM_SELECTED, event);\n\t        };\n\t        childMenu.addEventListener(menuItemComponent_1.MenuItemComponent.EVENT_ITEM_SELECTED, selectedListener);\n\t        this.removeChildFuncs.push(function () {\n\t            childMenu.clearActiveItem();\n\t            childMenu.destroy();\n\t            _this.subMenuParentDef = null;\n\t            childMenu.removeEventListener(menuItemComponent_1.MenuItemComponent.EVENT_ITEM_SELECTED, selectedListener);\n\t            hidePopupFunc();\n\t        });\n\t    };\n\t    MenuList.prototype.removeChildPopup = function () {\n\t        this.removeChildFuncs.forEach(function (func) { return func(); });\n\t        this.removeChildFuncs = [];\n\t    };\n\t    MenuList.prototype.destroy = function () {\n\t        // console.log('MenuList->destroy() ' + this.instance);\n\t        this.removeChildPopup();\n\t        _super.prototype.destroy.call(this);\n\t    };\n\t    return MenuList;\n\t}(ag_grid_1.Component));\n\t// private instance = Math.random();\n\tMenuList.TEMPLATE = '<div class=\"ag-menu-list\"></div>';\n\tMenuList.SEPARATOR_TEMPLATE = '<div class=\"ag-menu-separator\">' +\n\t    '  <span class=\"ag-menu-separator-cell\"></span>' +\n\t    '  <span class=\"ag-menu-separator-cell\"></span>' +\n\t    '  <span class=\"ag-menu-separator-cell\"></span>' +\n\t    '  <span class=\"ag-menu-separator-cell\"></span>' +\n\t    '</div>';\n\t__decorate([\n\t    ag_grid_1.Autowired('context'),\n\t    __metadata(\"design:type\", ag_grid_1.Context)\n\t], MenuList.prototype, \"context\", void 0);\n\t__decorate([\n\t    ag_grid_1.Autowired('popupService'),\n\t    __metadata(\"design:type\", ag_grid_1.PopupService)\n\t], MenuList.prototype, \"popupService\", void 0);\n\texports.MenuList = MenuList;\n\n\n/***/ }),\n/* 130 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t    function __() { this.constructor = d; }\n\t    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar ag_grid_1 = __webpack_require__(2);\n\tvar svgFactory = ag_grid_1.SvgFactory.getInstance();\n\tvar MenuItemComponent = (function (_super) {\n\t    __extends(MenuItemComponent, _super);\n\t    function MenuItemComponent(params) {\n\t        var _this = _super.call(this, MenuItemComponent.TEMPLATE) || this;\n\t        _this.params = params;\n\t        return _this;\n\t    }\n\t    MenuItemComponent.prototype.init = function () {\n\t        if (this.params.checked) {\n\t            this.queryForHtmlElement('#eIcon').innerHTML = '&#10004;';\n\t        }\n\t        else if (this.params.icon) {\n\t            if (ag_grid_1.Utils.isNodeOrElement(this.params.icon)) {\n\t                this.queryForHtmlElement('#eIcon').appendChild(this.params.icon);\n\t            }\n\t            else if (typeof this.params.icon === 'string') {\n\t                this.queryForHtmlElement('#eIcon').innerHTML = this.params.icon;\n\t            }\n\t            else {\n\t                console.log('ag-Grid: menu item icon must be DOM node or string');\n\t            }\n\t        }\n\t        else {\n\t            // if i didn't put space here, the alignment was messed up, probably\n\t            // fixable with CSS but i was spending to much time trying to figure\n\t            // it out.\n\t            this.queryForHtmlElement('#eIcon').innerHTML = '&nbsp;';\n\t        }\n\t        if (this.params.shortcut) {\n\t            this.queryForHtmlElement('#eShortcut').innerHTML = this.params.shortcut;\n\t        }\n\t        if (this.params.subMenu) {\n\t            if (this.gridOptionsWrapper.isEnableRtl()) {\n\t                // for RTL, we show arrow going left\n\t                this.queryForHtmlElement('#ePopupPointer').appendChild(svgFactory.createSmallArrowLeftSvg());\n\t            }\n\t            else {\n\t                // for normal, we show arrow going right\n\t                this.queryForHtmlElement('#ePopupPointer').appendChild(svgFactory.createSmallArrowRightSvg());\n\t            }\n\t        }\n\t        else {\n\t            this.queryForHtmlElement('#ePopupPointer').innerHTML = '&nbsp;';\n\t        }\n\t        this.queryForHtmlElement('#eName').innerHTML = this.params.name;\n\t        if (this.params.disabled) {\n\t            ag_grid_1.Utils.addCssClass(this.getGui(), 'ag-menu-option-disabled');\n\t        }\n\t        else {\n\t            this.addGuiEventListener('click', this.onOptionSelected.bind(this));\n\t        }\n\t    };\n\t    MenuItemComponent.prototype.onOptionSelected = function () {\n\t        this.dispatchEvent(MenuItemComponent.EVENT_ITEM_SELECTED, this.params);\n\t        if (this.params.action) {\n\t            this.params.action();\n\t        }\n\t    };\n\t    MenuItemComponent.prototype.destroy = function () {\n\t        // console.log('MenuItemComponent->destroy() ' + this.instance);\n\t        _super.prototype.destroy.call(this);\n\t    };\n\t    return MenuItemComponent;\n\t}(ag_grid_1.Component));\n\t// private instance = Math.random();\n\tMenuItemComponent.TEMPLATE = '<div class=\"ag-menu-option\">' +\n\t    '  <span id=\"eIcon\" class=\"ag-menu-option-icon\"></span>' +\n\t    '  <span id=\"eName\" class=\"ag-menu-option-text\"></span>' +\n\t    '  <span id=\"eShortcut\" class=\"ag-menu-option-shortcut\"></span>' +\n\t    '  <span id=\"ePopupPointer\" class=\"ag-menu-option-popup-pointer\"></span>' +\n\t    '</div>';\n\tMenuItemComponent.EVENT_ITEM_SELECTED = 'itemSelected';\n\t__decorate([\n\t    ag_grid_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", ag_grid_1.GridOptionsWrapper)\n\t], MenuItemComponent.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    ag_grid_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], MenuItemComponent.prototype, \"init\", null);\n\texports.MenuItemComponent = MenuItemComponent;\n\n\n/***/ }),\n/* 131 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar ag_grid_1 = __webpack_require__(2);\n\tvar clipboardService_1 = __webpack_require__(132);\n\tvar aggFuncService_1 = __webpack_require__(134);\n\tvar svgFactory = ag_grid_1.SvgFactory.getInstance();\n\tvar MenuItemMapper = (function () {\n\t    function MenuItemMapper() {\n\t    }\n\t    MenuItemMapper.prototype.mapWithStockItems = function (originalList, column) {\n\t        var _this = this;\n\t        if (!originalList) {\n\t            return [];\n\t        }\n\t        var resultList = [];\n\t        originalList.forEach(function (menuItemOrString) {\n\t            var result;\n\t            if (typeof menuItemOrString === 'string') {\n\t                result = _this.getStockMenuItem(menuItemOrString, column);\n\t            }\n\t            else {\n\t                result = menuItemOrString;\n\t            }\n\t            if (result.subMenu) {\n\t                var resultDef = result;\n\t                resultDef.subMenu = _this.mapWithStockItems(resultDef.subMenu, column);\n\t            }\n\t            resultList.push(result);\n\t        });\n\t        return resultList;\n\t    };\n\t    MenuItemMapper.prototype.getStockMenuItem = function (key, column) {\n\t        var _this = this;\n\t        var localeTextFunc = this.gridOptionsWrapper.getLocaleTextFunc();\n\t        switch (key) {\n\t            case 'pinSubMenu': return {\n\t                name: localeTextFunc('pinColumn', 'Pin Column'),\n\t                icon: ag_grid_1.Utils.createIconNoSpan('menuPin', this.gridOptionsWrapper, null, svgFactory.createPinIcon),\n\t                subMenu: ['pinLeft', 'pinRight', 'clearPinned']\n\t            };\n\t            case 'pinLeft': return {\n\t                name: localeTextFunc('pinLeft', 'Pin Left'),\n\t                action: function () { return _this.columnController.setColumnPinned(column, ag_grid_1.Column.PINNED_LEFT); },\n\t                checked: column.isPinnedLeft()\n\t            };\n\t            case 'pinRight': return {\n\t                name: localeTextFunc('pinRight', 'Pin Right'),\n\t                action: function () { return _this.columnController.setColumnPinned(column, ag_grid_1.Column.PINNED_RIGHT); },\n\t                checked: column.isPinnedRight()\n\t            };\n\t            case 'clearPinned': return {\n\t                name: localeTextFunc('noPin', 'No Pin'),\n\t                action: function () { return _this.columnController.setColumnPinned(column, null); },\n\t                checked: !column.isPinned()\n\t            };\n\t            case 'valueAggSubMenu': return {\n\t                name: localeTextFunc('valueAggregation', 'Value Aggregation'),\n\t                icon: ag_grid_1.Utils.createIconNoSpan('menuValue', this.gridOptionsWrapper, null, svgFactory.createAggregationIcon),\n\t                subMenu: this.createAggregationSubMenu(column)\n\t            };\n\t            case 'autoSizeThis': return {\n\t                name: localeTextFunc('autosizeThiscolumn', 'Autosize This Column'),\n\t                action: function () { return _this.columnController.autoSizeColumn(column); }\n\t            };\n\t            case 'autoSizeAll': return {\n\t                name: localeTextFunc('autosizeAllColumns', 'Autosize All Columns'),\n\t                action: function () { return _this.columnController.autoSizeAllColumns(); }\n\t            };\n\t            case 'rowGroup': return {\n\t                name: localeTextFunc('groupBy', 'Group by') + ' ' + column.getColDef().headerName,\n\t                action: function () { return _this.columnController.addRowGroupColumn(column); },\n\t                icon: ag_grid_1.Utils.createIconNoSpan('menuAddRowGroup', this.gridOptionsWrapper, null, svgFactory.createGroupIcon12)\n\t            };\n\t            case 'rowUnGroup': return {\n\t                name: localeTextFunc('ungroupBy', 'Un-Group by') + ' ' + column.getColDef().headerName,\n\t                action: function () { return _this.columnController.removeRowGroupColumn(column); },\n\t                icon: ag_grid_1.Utils.createIconNoSpan('menuRemoveRowGroup', this.gridOptionsWrapper, null, svgFactory.createGroupIcon12)\n\t            };\n\t            case 'resetColumns': return {\n\t                name: localeTextFunc('resetColumns', 'Reset Columns'),\n\t                action: function () { return _this.columnController.resetColumnState(); }\n\t            };\n\t            case 'expandAll': return {\n\t                name: localeTextFunc('expandAll', 'Expand All'),\n\t                action: function () { return _this.gridApi.expandAll(); }\n\t            };\n\t            case 'contractAll': return {\n\t                name: localeTextFunc('collapseAll', 'Collapse All'),\n\t                action: function () { return _this.gridApi.collapseAll(); }\n\t            };\n\t            case 'copy': return {\n\t                name: localeTextFunc('copy', 'Copy'),\n\t                shortcut: localeTextFunc('ctrlC', 'Ctrl+C'),\n\t                icon: ag_grid_1.Utils.createIconNoSpan('clipboardCopy', this.gridOptionsWrapper, null, svgFactory.createCopyIcon),\n\t                action: function () { return _this.clipboardService.copyToClipboard(false); }\n\t            };\n\t            case 'copyWithHeaders': return {\n\t                name: localeTextFunc('copyWithHeaders', 'Copy with Headers'),\n\t                // shortcut: localeTextFunc('ctrlC','Ctrl+C'),\n\t                icon: ag_grid_1.Utils.createIconNoSpan('clipboardCopy', this.gridOptionsWrapper, null, svgFactory.createCopyIcon),\n\t                action: function () { return _this.clipboardService.copyToClipboard(true); }\n\t            };\n\t            case 'paste': return {\n\t                name: localeTextFunc('paste', 'Paste'),\n\t                shortcut: localeTextFunc('ctrlV', 'Ctrl+V'),\n\t                disabled: true,\n\t                icon: ag_grid_1.Utils.createIconNoSpan('clipboardPaste', this.gridOptionsWrapper, null, svgFactory.createPasteIcon),\n\t                action: function () { return _this.clipboardService.pasteFromClipboard(); }\n\t            };\n\t            case 'toolPanel': return {\n\t                name: localeTextFunc('toolPanel', 'Tool Panel'),\n\t                checked: this.gridApi.isToolPanelShowing(),\n\t                action: function () { return _this.gridApi.showToolPanel(!_this.gridApi.isToolPanelShowing()); }\n\t            };\n\t            case 'export': return {\n\t                name: localeTextFunc('export', 'Export'),\n\t                subMenu: ['csvExport', 'excelExport']\n\t            };\n\t            case 'csvExport': return {\n\t                name: localeTextFunc('csvExport', 'CSV Export'),\n\t                action: function () { return _this.gridApi.exportDataAsCsv({}); }\n\t            };\n\t            case 'excelExport': return {\n\t                name: localeTextFunc('excelExport', 'Excel Export'),\n\t                action: function () { return _this.gridApi.exportDataAsExcel({}); }\n\t            };\n\t            case 'separator': return 'separator';\n\t            default:\n\t                console.log(\"ag-Grid: unknown menu item type \" + key);\n\t                return null;\n\t        }\n\t    };\n\t    MenuItemMapper.prototype.createAggregationSubMenu = function (column) {\n\t        var _this = this;\n\t        var localeTextFunc = this.gridOptionsWrapper.getLocaleTextFunc();\n\t        var columnIsAlreadyAggValue = column.isValueActive();\n\t        var funcNames = this.aggFuncService.getFuncNames();\n\t        var columnToUse;\n\t        if (column.isPrimary()) {\n\t            columnToUse = column;\n\t        }\n\t        else {\n\t            columnToUse = column.getColDef().pivotValueColumn;\n\t        }\n\t        var result = [];\n\t        funcNames.forEach(function (funcName) {\n\t            result.push({\n\t                name: localeTextFunc(funcName, funcName),\n\t                action: function () {\n\t                    _this.columnController.setColumnAggFunc(columnToUse, funcName);\n\t                    _this.columnController.addValueColumn(columnToUse);\n\t                },\n\t                checked: columnIsAlreadyAggValue && columnToUse.getAggFunc() === funcName\n\t            });\n\t        });\n\t        return result;\n\t    };\n\t    return MenuItemMapper;\n\t}());\n\t__decorate([\n\t    ag_grid_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", ag_grid_1.GridOptionsWrapper)\n\t], MenuItemMapper.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    ag_grid_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", ag_grid_1.ColumnController)\n\t], MenuItemMapper.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    ag_grid_1.Autowired('gridApi'),\n\t    __metadata(\"design:type\", ag_grid_1.GridApi)\n\t], MenuItemMapper.prototype, \"gridApi\", void 0);\n\t__decorate([\n\t    ag_grid_1.Autowired('clipboardService'),\n\t    __metadata(\"design:type\", clipboardService_1.ClipboardService)\n\t], MenuItemMapper.prototype, \"clipboardService\", void 0);\n\t__decorate([\n\t    ag_grid_1.Autowired('aggFuncService'),\n\t    __metadata(\"design:type\", aggFuncService_1.AggFuncService)\n\t], MenuItemMapper.prototype, \"aggFuncService\", void 0);\n\tMenuItemMapper = __decorate([\n\t    ag_grid_1.Bean('menuItemMapper')\n\t], MenuItemMapper);\n\texports.MenuItemMapper = MenuItemMapper;\n\n\n/***/ }),\n/* 132 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar main_1 = __webpack_require__(2);\n\tvar rangeController_1 = __webpack_require__(133);\n\tvar ClipboardService = (function () {\n\t    function ClipboardService() {\n\t    }\n\t    ClipboardService.prototype.init = function () {\n\t        this.logger = this.loggerFactory.create('ClipboardService');\n\t    };\n\t    ClipboardService.prototype.pasteFromClipboard = function () {\n\t        var _this = this;\n\t        this.logger.log('pasteFromClipboard');\n\t        this.executeOnTempElement(function (textArea) {\n\t            textArea.focus();\n\t        }, function (element) {\n\t            var text = element.value;\n\t            _this.finishPasteFromClipboard(text);\n\t        });\n\t    };\n\t    ClipboardService.prototype.copyRangeDown = function () {\n\t        var _this = this;\n\t        if (this.rangeController.isEmpty()) {\n\t            return;\n\t        }\n\t        var cellsToFlash = {};\n\t        var firstRowValues = null;\n\t        var updatedRowNodes = [];\n\t        var updatedColumnIds = [];\n\t        var rowCallback = function (currentRow, rowNode, columns) {\n\t            // take reference of first row, this is the one we will be using to copy from\n\t            if (!firstRowValues) {\n\t                firstRowValues = [];\n\t                // two reasons for looping through columns\n\t                columns.forEach(function (column) {\n\t                    // reason 1 - to get the initial values to copy down\n\t                    var value = _this.valueService.getValue(column, rowNode);\n\t                    firstRowValues.push(value);\n\t                    // reason 2 - to record the columnId for refreshing\n\t                    updatedColumnIds.push(column.getId());\n\t                });\n\t            }\n\t            else {\n\t                // otherwise we are not the first row, so copy\n\t                updatedRowNodes.push(rowNode);\n\t                columns.forEach(function (column, index) {\n\t                    if (!column.isCellEditable(rowNode)) {\n\t                        return;\n\t                    }\n\t                    var firstRowValue = firstRowValues[index];\n\t                    _this.valueService.setValue(rowNode, column, firstRowValue);\n\t                    var gridCellDef = { rowIndex: currentRow.rowIndex, floating: currentRow.floating, column: column };\n\t                    var cellId = new main_1.GridCell(gridCellDef).createId();\n\t                    cellsToFlash[cellId] = true;\n\t                });\n\t            }\n\t        };\n\t        this.iterateActiveRanges(true, rowCallback);\n\t        // this is very heavy, should possibly just refresh the specific cells?\n\t        this.rowRenderer.refreshCells(updatedRowNodes, updatedColumnIds);\n\t        this.dispatchFlashCells(cellsToFlash);\n\t    };\n\t    ClipboardService.prototype.finishPasteFromClipboard = function (data) {\n\t        if (main_1.Utils.missingOrEmpty(data)) {\n\t            return;\n\t        }\n\t        var focusedCell = this.focusedCellController.getFocusedCell();\n\t        if (!focusedCell) {\n\t            return;\n\t        }\n\t        var parsedData = this.dataToArray(data);\n\t        if (!parsedData) {\n\t            return;\n\t        }\n\t        // remove last row if empty, excel puts empty last row in\n\t        var lastLine = parsedData[parsedData.length - 1];\n\t        if (lastLine.length === 1 && lastLine[0] === '') {\n\t            main_1.Utils.removeFromArray(parsedData, lastLine);\n\t        }\n\t        var currentRow = new main_1.GridRow(focusedCell.rowIndex, focusedCell.floating);\n\t        var cellsToFlash = {};\n\t        var updatedRowNodes = [];\n\t        var updatedColumnIds = [];\n\t        var columnsToPasteInto = this.columnController.getDisplayedColumnsStartingAt(focusedCell.column);\n\t        var onlyOneCellInRange = parsedData.length === 1 && parsedData[0].length === 1;\n\t        if (onlyOneCellInRange) {\n\t            this.singleCellRange(parsedData, updatedRowNodes, currentRow, cellsToFlash, updatedColumnIds);\n\t        }\n\t        else {\n\t            this.multipleCellRange(parsedData, currentRow, updatedRowNodes, columnsToPasteInto, cellsToFlash, updatedColumnIds);\n\t        }\n\t        // this is very heavy, should possibly just refresh the specific cells?\n\t        this.rowRenderer.refreshCells(updatedRowNodes, updatedColumnIds);\n\t        this.dispatchFlashCells(cellsToFlash);\n\t        this.focusedCellController.setFocusedCell(focusedCell.rowIndex, focusedCell.column, focusedCell.floating, true);\n\t    };\n\t    ClipboardService.prototype.multipleCellRange = function (clipboardGridData, currentRow, updatedRowNodes, columnsToPasteInto, cellsToFlash, updatedColumnIds) {\n\t        var _this = this;\n\t        clipboardGridData.forEach(function (clipboardRowData) {\n\t            // if we have come to end of rows in grid, then skip\n\t            if (!currentRow) {\n\t                return;\n\t            }\n\t            var rowNode = _this.getRowNode(currentRow);\n\t            updatedRowNodes.push(rowNode);\n\t            clipboardRowData.forEach(function (value, index) {\n\t                var column = columnsToPasteInto[index];\n\t                if (main_1.Utils.missing(column)) {\n\t                    return;\n\t                }\n\t                if (!column.isCellEditable(rowNode)) {\n\t                    return;\n\t                }\n\t                _this.updateCellValue(rowNode, column, value, currentRow, cellsToFlash, updatedColumnIds);\n\t            });\n\t            // move to next row down for next set of values\n\t            currentRow = _this.cellNavigationService.getRowBelow(currentRow);\n\t        });\n\t        return currentRow;\n\t    };\n\t    ClipboardService.prototype.singleCellRange = function (parsedData, updatedRowNodes, currentRow, cellsToFlash, updatedColumnIds) {\n\t        var _this = this;\n\t        var value = parsedData[0][0];\n\t        var rowCallback = function (gridRow, rowNode, columns) {\n\t            updatedRowNodes.push(rowNode);\n\t            columns.forEach(function (column) {\n\t                _this.updateCellValue(rowNode, column, value, currentRow, cellsToFlash, updatedColumnIds);\n\t            });\n\t        };\n\t        this.iterateActiveRanges(false, rowCallback);\n\t    };\n\t    ClipboardService.prototype.updateCellValue = function (rowNode, column, value, currentRow, cellsToFlash, updatedColumnIds) {\n\t        var processedValue = this.processRangeCell(rowNode, column, value, this.gridOptionsWrapper.getProcessCellFromClipboardFunc());\n\t        this.valueService.setValue(rowNode, column, processedValue);\n\t        var gridCellDef = {\n\t            rowIndex: currentRow.rowIndex,\n\t            floating: currentRow.floating,\n\t            column: column\n\t        };\n\t        var cellId = new main_1.GridCell(gridCellDef).createId();\n\t        cellsToFlash[cellId] = true;\n\t        if (updatedColumnIds.indexOf(column.getId()) < 0) {\n\t            updatedColumnIds.push(column.getId());\n\t        }\n\t    };\n\t    ClipboardService.prototype.copyToClipboard = function (includeHeaders) {\n\t        if (includeHeaders === void 0) { includeHeaders = false; }\n\t        this.logger.log(\"copyToClipboard: includeHeaders = \" + includeHeaders);\n\t        var selectedRowsToCopy = !this.selectionController.isEmpty()\n\t            && !this.gridOptionsWrapper.isSuppressCopyRowsToClipboard();\n\t        // default is copy range if exists, otherwise rows\n\t        if (this.rangeController.isMoreThanOneCell()) {\n\t            this.copySelectedRangeToClipboard(includeHeaders);\n\t        }\n\t        else if (selectedRowsToCopy) {\n\t            // otherwise copy selected rows if they exist\n\t            this.copySelectedRowsToClipboard(includeHeaders);\n\t        }\n\t        else if (this.focusedCellController.isAnyCellFocused()) {\n\t            // if there is a focused cell, copy this\n\t            this.copyFocusedCellToClipboard(includeHeaders);\n\t        }\n\t        else {\n\t            // lastly if no focused cell, try range again. this can happen\n\t            // if use has cellSelection turned off (so no focused cell)\n\t            // but has a cell clicked, so there exists a cell range\n\t            // of exactly one cell (hence the first 'if' above didn't\n\t            // get executed).\n\t            this.copySelectedRangeToClipboard(includeHeaders);\n\t        }\n\t    };\n\t    ClipboardService.prototype.iterateActiveRanges = function (onlyFirst, rowCallback, columnCallback) {\n\t        var _this = this;\n\t        if (this.rangeController.isEmpty()) {\n\t            return;\n\t        }\n\t        var rangeSelections = this.rangeController.getCellRanges();\n\t        if (onlyFirst) {\n\t            var range = rangeSelections[0];\n\t            this.iterateActiveRange(range, rowCallback, columnCallback);\n\t        }\n\t        else {\n\t            rangeSelections.forEach(function (range) { return _this.iterateActiveRange(range, rowCallback, columnCallback); });\n\t        }\n\t    };\n\t    ClipboardService.prototype.iterateActiveRange = function (range, rowCallback, columnCallback) {\n\t        // get starting and ending row, remember rowEnd could be before rowStart\n\t        var startRow = range.start.getGridRow();\n\t        var endRow = range.end.getGridRow();\n\t        var startRowIsFirst = startRow.before(endRow);\n\t        var currentRow = startRowIsFirst ? startRow : endRow;\n\t        var lastRow = startRowIsFirst ? endRow : startRow;\n\t        if (main_1.Utils.exists(columnCallback)) {\n\t            columnCallback(range.columns);\n\t        }\n\t        while (true) {\n\t            var rowNode = this.getRowNode(currentRow);\n\t            rowCallback(currentRow, rowNode, range.columns);\n\t            if (currentRow.equals(lastRow)) {\n\t                break;\n\t            }\n\t            currentRow = this.cellNavigationService.getRowBelow(currentRow);\n\t        }\n\t    };\n\t    ClipboardService.prototype.copySelectedRangeToClipboard = function (includeHeaders) {\n\t        var _this = this;\n\t        if (includeHeaders === void 0) { includeHeaders = false; }\n\t        if (this.rangeController.isEmpty()) {\n\t            return;\n\t        }\n\t        var data = '';\n\t        var cellsToFlash = {};\n\t        // adds columns to the data\n\t        var columnCallback = function (columns) {\n\t            if (!includeHeaders) {\n\t                return;\n\t            }\n\t            columns.forEach(function (column, index) {\n\t                var value = _this.columnController.getDisplayNameForColumn(column, 'clipboard', true);\n\t                if (index != 0) {\n\t                    data += '\\t';\n\t                }\n\t                if (main_1.Utils.exists(value)) {\n\t                    data += value;\n\t                }\n\t            });\n\t            data += '\\r\\n';\n\t        };\n\t        // adds cell values to the data\n\t        var rowCallback = function (currentRow, rowNode, columns) {\n\t            columns.forEach(function (column, index) {\n\t                var value = _this.valueService.getValue(column, rowNode);\n\t                var processedValue = _this.processRangeCell(rowNode, column, value, _this.gridOptionsWrapper.getProcessCellForClipboardFunc());\n\t                if (index != 0) {\n\t                    data += '\\t';\n\t                }\n\t                if (main_1.Utils.exists(processedValue)) {\n\t                    data += processedValue;\n\t                }\n\t                var gridCellDef = { rowIndex: currentRow.rowIndex, floating: currentRow.floating, column: column };\n\t                var cellId = new main_1.GridCell(gridCellDef).createId();\n\t                cellsToFlash[cellId] = true;\n\t            });\n\t            data += '\\r\\n';\n\t        };\n\t        this.iterateActiveRanges(false, rowCallback, columnCallback);\n\t        this.copyDataToClipboard(data);\n\t        this.dispatchFlashCells(cellsToFlash);\n\t    };\n\t    ClipboardService.prototype.copyFocusedCellToClipboard = function (includeHeaders) {\n\t        if (includeHeaders === void 0) { includeHeaders = false; }\n\t        var focusedCell = this.focusedCellController.getFocusedCell();\n\t        if (main_1.Utils.missing(focusedCell)) {\n\t            return;\n\t        }\n\t        var currentRow = focusedCell.getGridRow();\n\t        var rowNode = this.getRowNode(currentRow);\n\t        var column = focusedCell.column;\n\t        var value = this.valueService.getValue(column, rowNode);\n\t        var processedValue = this.processRangeCell(rowNode, column, value, this.gridOptionsWrapper.getProcessCellForClipboardFunc());\n\t        if (main_1.Utils.exists(processedValue)) {\n\t            var data = '';\n\t            if (includeHeaders) {\n\t                data = this.columnController.getDisplayNameForColumn(column, 'clipboard', true) + '\\r\\n';\n\t            }\n\t            data += processedValue.toString();\n\t            this.copyDataToClipboard(data);\n\t        }\n\t        else {\n\t            this.copyDataToClipboard('');\n\t        }\n\t        var cellId = focusedCell.createId();\n\t        var cellsToFlash = {};\n\t        cellsToFlash[cellId] = true;\n\t        this.dispatchFlashCells(cellsToFlash);\n\t    };\n\t    ClipboardService.prototype.dispatchFlashCells = function (cellsToFlash) {\n\t        var _this = this;\n\t        setTimeout(function () {\n\t            _this.eventService.dispatchEvent(main_1.Events.EVENT_FLASH_CELLS, { cells: cellsToFlash });\n\t        }, 0);\n\t    };\n\t    ClipboardService.prototype.processRangeCell = function (rowNode, column, value, func) {\n\t        if (func) {\n\t            var params = {\n\t                column: column,\n\t                node: rowNode,\n\t                value: value,\n\t                api: this.gridOptionsWrapper.getApi(),\n\t                columnApi: this.gridOptionsWrapper.getColumnApi(),\n\t                context: this.gridOptionsWrapper.getContext()\n\t            };\n\t            return func(params);\n\t        }\n\t        else {\n\t            return value;\n\t        }\n\t    };\n\t    ClipboardService.prototype.getRowNode = function (gridRow) {\n\t        switch (gridRow.floating) {\n\t            case main_1.Constants.FLOATING_TOP:\n\t                return this.floatingRowModel.getFloatingTopRowData()[gridRow.rowIndex];\n\t            case main_1.Constants.FLOATING_BOTTOM:\n\t                return this.floatingRowModel.getFloatingBottomRowData()[gridRow.rowIndex];\n\t            default:\n\t                return this.rowModel.getRow(gridRow.rowIndex);\n\t        }\n\t    };\n\t    ClipboardService.prototype.copySelectedRowsToClipboard = function (includeHeaders, columnKeys) {\n\t        if (includeHeaders === void 0) { includeHeaders = false; }\n\t        var skipHeader = !includeHeaders;\n\t        var params = {\n\t            columnKeys: columnKeys,\n\t            skipHeader: skipHeader,\n\t            skipFooters: true,\n\t            suppressQuotes: true,\n\t            columnSeparator: '\\t',\n\t            onlySelected: true,\n\t            processCellCallback: this.gridOptionsWrapper.getProcessCellForClipboardFunc()\n\t        };\n\t        var data = this.csvCreator.getDataAsCsv(params);\n\t        this.copyDataToClipboard(data);\n\t    };\n\t    ClipboardService.prototype.copyDataToClipboard = function (data) {\n\t        var userProvidedFunc = this.gridOptionsWrapper.getSendToClipboardFunc();\n\t        if (main_1.Utils.exists(userProvidedFunc)) {\n\t            var params = { data: data };\n\t            userProvidedFunc(params);\n\t        }\n\t        else {\n\t            this.executeOnTempElement(function (element) {\n\t                element.value = data;\n\t                element.select();\n\t                element.focus();\n\t                return document.execCommand('copy');\n\t            });\n\t        }\n\t    };\n\t    ClipboardService.prototype.executeOnTempElement = function (callbackNow, callbackAfter) {\n\t        var eTempInput = document.createElement('textarea');\n\t        eTempInput.style.width = '1px';\n\t        eTempInput.style.height = '1px';\n\t        eTempInput.style.top = '0px';\n\t        eTempInput.style.left = '0px';\n\t        eTempInput.style.position = 'absolute';\n\t        eTempInput.style.opacity = '0.0';\n\t        var guiRoot = this.gridCore.getRootGui();\n\t        guiRoot.appendChild(eTempInput);\n\t        try {\n\t            var result = callbackNow(eTempInput);\n\t            this.logger.log('Clipboard operation result: ' + result);\n\t        }\n\t        catch (err) {\n\t            this.logger.log('Browser doesn\\t support document.execComment(\\'copy\\') for clipboard operations');\n\t        }\n\t        //It needs 100 otherwise OS X seemed to not always be able to paste... Go figure...\n\t        if (callbackAfter) {\n\t            setTimeout(function () {\n\t                callbackAfter(eTempInput);\n\t                guiRoot.removeChild(eTempInput);\n\t            }, 100);\n\t        }\n\t        else {\n\t            guiRoot.removeChild(eTempInput);\n\t        }\n\t    };\n\t    // From http://stackoverflow.com/questions/1293147/javascript-code-to-parse-csv-data\n\t    // This will parse a delimited string into an array of\n\t    // arrays. The default delimiter is the comma, but this\n\t    // can be overriden in the second argument.\n\t    ClipboardService.prototype.dataToArray = function (strData) {\n\t        var strDelimiter = '\\t';\n\t        // Create a regular expression to parse the CSV values.\n\t        var objPattern = new RegExp((\n\t        // Delimiters.\n\t        \"(\\\\\" + strDelimiter + \"|\\\\r?\\\\n|\\\\r|^)\" +\n\t            // Quoted fields.\n\t            \"(?:\\\"([^\\\"]*(?:\\\"\\\"[^\\\"]*)*)\\\"|\" +\n\t            // Standard fields.\n\t            \"([^\\\"\\\\\" + strDelimiter + \"\\\\r\\\\n]*))\"), \"gi\");\n\t        // Create an array to hold our data. Give the array\n\t        // a default empty first row.\n\t        var arrData = [[]];\n\t        // Create an array to hold our individual pattern\n\t        // matching groups.\n\t        var arrMatches = null;\n\t        // Keep looping over the regular expression matches\n\t        // until we can no longer find a match.\n\t        while (arrMatches = objPattern.exec(strData)) {\n\t            // Get the delimiter that was found.\n\t            var strMatchedDelimiter = arrMatches[1];\n\t            // Check to see if the given delimiter has a length\n\t            // (is not the start of string) and if it matches\n\t            // field delimiter. If id does not, then we know\n\t            // that this delimiter is a row delimiter.\n\t            if (strMatchedDelimiter.length &&\n\t                strMatchedDelimiter !== strDelimiter) {\n\t                // Since we have reached a new row of data,\n\t                // add an empty row to our data array.\n\t                arrData.push([]);\n\t            }\n\t            var strMatchedValue;\n\t            // Now that we have our delimiter out of the way,\n\t            // let's check to see which kind of value we\n\t            // captured (quoted or unquoted).\n\t            if (arrMatches[2]) {\n\t                // We found a quoted value. When we capture\n\t                // this value, unescape any double quotes.\n\t                strMatchedValue = arrMatches[2].replace(new RegExp(\"\\\"\\\"\", \"g\"), \"\\\"\");\n\t            }\n\t            else {\n\t                // We found a non-quoted value.\n\t                strMatchedValue = arrMatches[3];\n\t            }\n\t            // Now that we have our value string, let's add\n\t            // it to the data array.\n\t            arrData[arrData.length - 1].push(strMatchedValue);\n\t        }\n\t        // Return the parsed data.\n\t        return arrData;\n\t    };\n\t    return ClipboardService;\n\t}());\n\t__decorate([\n\t    main_1.Autowired('csvCreator'),\n\t    __metadata(\"design:type\", main_1.CsvCreator)\n\t], ClipboardService.prototype, \"csvCreator\", void 0);\n\t__decorate([\n\t    main_1.Autowired('loggerFactory'),\n\t    __metadata(\"design:type\", main_1.LoggerFactory)\n\t], ClipboardService.prototype, \"loggerFactory\", void 0);\n\t__decorate([\n\t    main_1.Autowired('selectionController'),\n\t    __metadata(\"design:type\", main_1.SelectionController)\n\t], ClipboardService.prototype, \"selectionController\", void 0);\n\t__decorate([\n\t    main_1.Autowired('rangeController'),\n\t    __metadata(\"design:type\", rangeController_1.RangeController)\n\t], ClipboardService.prototype, \"rangeController\", void 0);\n\t__decorate([\n\t    main_1.Autowired('rowModel'),\n\t    __metadata(\"design:type\", Object)\n\t], ClipboardService.prototype, \"rowModel\", void 0);\n\t__decorate([\n\t    main_1.Autowired('floatingRowModel'),\n\t    __metadata(\"design:type\", main_1.FloatingRowModel)\n\t], ClipboardService.prototype, \"floatingRowModel\", void 0);\n\t__decorate([\n\t    main_1.Autowired('valueService'),\n\t    __metadata(\"design:type\", main_1.ValueService)\n\t], ClipboardService.prototype, \"valueService\", void 0);\n\t__decorate([\n\t    main_1.Autowired('focusedCellController'),\n\t    __metadata(\"design:type\", main_1.FocusedCellController)\n\t], ClipboardService.prototype, \"focusedCellController\", void 0);\n\t__decorate([\n\t    main_1.Autowired('rowRenderer'),\n\t    __metadata(\"design:type\", main_1.RowRenderer)\n\t], ClipboardService.prototype, \"rowRenderer\", void 0);\n\t__decorate([\n\t    main_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", main_1.ColumnController)\n\t], ClipboardService.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    main_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", main_1.EventService)\n\t], ClipboardService.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    main_1.Autowired('cellNavigationService'),\n\t    __metadata(\"design:type\", main_1.CellNavigationService)\n\t], ClipboardService.prototype, \"cellNavigationService\", void 0);\n\t__decorate([\n\t    main_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", main_1.GridOptionsWrapper)\n\t], ClipboardService.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    main_1.Autowired('gridCore'),\n\t    __metadata(\"design:type\", main_1.GridCore)\n\t], ClipboardService.prototype, \"gridCore\", void 0);\n\t__decorate([\n\t    main_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], ClipboardService.prototype, \"init\", null);\n\tClipboardService = __decorate([\n\t    main_1.Bean('clipboardService')\n\t], ClipboardService);\n\texports.ClipboardService = ClipboardService;\n\n\n/***/ }),\n/* 133 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar main_1 = __webpack_require__(2);\n\tvar RangeController = (function () {\n\t    function RangeController() {\n\t        this.bodyScrollListener = this.onBodyScroll.bind(this);\n\t        this.dragging = false;\n\t    }\n\t    RangeController.prototype.init = function () {\n\t        this.logger = this.loggerFactory.create('RangeController');\n\t        this.eventService.addEventListener(main_1.Events.EVENT_COLUMN_EVERYTHING_CHANGED, this.clearSelection.bind(this));\n\t        this.eventService.addEventListener(main_1.Events.EVENT_COLUMN_GROUP_OPENED, this.clearSelection.bind(this));\n\t        this.eventService.addEventListener(main_1.Events.EVENT_COLUMN_MOVED, this.clearSelection.bind(this));\n\t        this.eventService.addEventListener(main_1.Events.EVENT_COLUMN_PINNED, this.clearSelection.bind(this));\n\t        this.eventService.addEventListener(main_1.Events.EVENT_COLUMN_ROW_GROUP_CHANGED, this.clearSelection.bind(this));\n\t        this.eventService.addEventListener(main_1.Events.EVENT_COLUMN_VISIBLE, this.clearSelection.bind(this));\n\t        this.eventService.addEventListener(main_1.Events.EVENT_SORT_CHANGED, this.clearSelection.bind(this));\n\t    };\n\t    RangeController.prototype.setRangeToCell = function (cell) {\n\t        if (!this.gridOptionsWrapper.isEnableRangeSelection()) {\n\t            return;\n\t        }\n\t        var columns = this.updateSelectedColumns(cell.column, cell.column);\n\t        if (!columns) {\n\t            return;\n\t        }\n\t        var gridCellDef = { rowIndex: cell.rowIndex, floating: cell.floating, column: cell.column };\n\t        var newRange = {\n\t            start: new main_1.GridCell(gridCellDef),\n\t            end: new main_1.GridCell(gridCellDef),\n\t            columns: columns\n\t        };\n\t        this.cellRanges = [];\n\t        this.cellRanges.push(newRange);\n\t        this.activeRange = null;\n\t        this.dispatchChangedEvent(true, false);\n\t    };\n\t    RangeController.prototype.setRange = function (rangeSelection) {\n\t        if (!this.gridOptionsWrapper.isEnableRangeSelection()) {\n\t            return;\n\t        }\n\t        this.cellRanges = [];\n\t        this.addRange(rangeSelection);\n\t    };\n\t    RangeController.prototype.addRange = function (rangeSelection) {\n\t        if (!this.gridOptionsWrapper.isEnableRangeSelection()) {\n\t            return;\n\t        }\n\t        var columnStart = this.columnController.getColumnWithValidation(rangeSelection.columnStart);\n\t        var columnEnd = this.columnController.getPrimaryColumn(rangeSelection.columnEnd);\n\t        if (!columnStart || !columnEnd) {\n\t            return;\n\t        }\n\t        var columns = this.updateSelectedColumns(columnStart, columnEnd);\n\t        if (!columns) {\n\t            return;\n\t        }\n\t        var startGridCellDef = { column: columnStart, rowIndex: rangeSelection.rowStart, floating: rangeSelection.floatingStart };\n\t        var endGridCellDef = { column: columnEnd, rowIndex: rangeSelection.rowEnd, floating: rangeSelection.floatingEnd };\n\t        var newRange = {\n\t            start: new main_1.GridCell(startGridCellDef),\n\t            end: new main_1.GridCell(endGridCellDef),\n\t            columns: columns\n\t        };\n\t        if (!this.cellRanges) {\n\t            this.cellRanges = [];\n\t        }\n\t        this.cellRanges.push(newRange);\n\t        this.dispatchChangedEvent(true, false);\n\t    };\n\t    RangeController.prototype.getCellRanges = function () {\n\t        return this.cellRanges;\n\t    };\n\t    RangeController.prototype.isEmpty = function () {\n\t        return main_1.Utils.missingOrEmpty(this.cellRanges);\n\t    };\n\t    RangeController.prototype.isMoreThanOneCell = function () {\n\t        if (main_1.Utils.missingOrEmpty(this.cellRanges)) {\n\t            return false;\n\t        }\n\t        else {\n\t            if (this.cellRanges.length > 1) {\n\t                return true;\n\t            }\n\t            else {\n\t                var onlyRange = this.cellRanges[0];\n\t                var onlyOneCellInRange = onlyRange.start.column === onlyRange.end.column &&\n\t                    onlyRange.start.rowIndex === onlyRange.end.rowIndex;\n\t                return !onlyOneCellInRange;\n\t            }\n\t        }\n\t    };\n\t    RangeController.prototype.clearSelection = function () {\n\t        if (main_1.Utils.missing(this.cellRanges)) {\n\t            return;\n\t        }\n\t        this.activeRange = null;\n\t        this.cellRanges = null;\n\t        this.dispatchChangedEvent(true, false);\n\t    };\n\t    // as the user is dragging outside of the panel, the div starts to scroll, which in turn\n\t    // means we are selection more (or less) cells, but the mouse isn't moving, so we recalculate\n\t    // the selection my mimicking a new mouse event\n\t    RangeController.prototype.onBodyScroll = function () {\n\t        this.onDragging(this.lastMouseEvent);\n\t    };\n\t    RangeController.prototype.isCellInAnyRange = function (cell) {\n\t        return this.getCellRangeCount(cell) > 0;\n\t    };\n\t    RangeController.prototype.isCellInSpecificRange = function (cell, range) {\n\t        var columnInRange = range.columns.indexOf(cell.column) >= 0;\n\t        var rowInRange = this.isRowInRange(cell.rowIndex, cell.floating, range);\n\t        return columnInRange && rowInRange;\n\t    };\n\t    // returns the number of ranges this cell is in\n\t    RangeController.prototype.getCellRangeCount = function (cell) {\n\t        var _this = this;\n\t        if (main_1.Utils.missingOrEmpty(this.cellRanges)) {\n\t            return 0;\n\t        }\n\t        var matchingCount = 0;\n\t        this.cellRanges.forEach(function (cellRange) {\n\t            if (_this.isCellInSpecificRange(cell, cellRange)) {\n\t                matchingCount++;\n\t            }\n\t        });\n\t        return matchingCount;\n\t    };\n\t    RangeController.prototype.isRowInRange = function (rowIndex, floating, cellRange) {\n\t        var row1 = new main_1.GridRow(cellRange.start.rowIndex, cellRange.start.floating);\n\t        var row2 = new main_1.GridRow(cellRange.end.rowIndex, cellRange.end.floating);\n\t        var firstRow = row1.before(row2) ? row1 : row2;\n\t        var lastRow = row1.before(row2) ? row2 : row1;\n\t        var thisRow = new main_1.GridRow(rowIndex, floating);\n\t        if (thisRow.equals(firstRow) || thisRow.equals(lastRow)) {\n\t            return true;\n\t        }\n\t        else {\n\t            var afterFirstRow = !thisRow.before(firstRow);\n\t            var beforeLastRow = thisRow.before(lastRow);\n\t            return afterFirstRow && beforeLastRow;\n\t        }\n\t    };\n\t    RangeController.prototype.onDragStart = function (mouseEvent) {\n\t        if (!this.gridOptionsWrapper.isEnableRangeSelection()) {\n\t            return;\n\t        }\n\t        // ctrlKey for windows, metaKey for Apple\n\t        var multiSelectKeyPressed = mouseEvent.ctrlKey || mouseEvent.metaKey;\n\t        if (main_1.Utils.missing(this.cellRanges) || !multiSelectKeyPressed) {\n\t            this.cellRanges = [];\n\t        }\n\t        var cell = this.mouseEventService.getGridCellForEvent(mouseEvent);\n\t        if (main_1.Utils.missing(cell)) {\n\t            // if drag wasn't on cell, then do nothing, including do not set dragging=true,\n\t            // (which them means onDragging and onDragStop do nothing)\n\t            return;\n\t        }\n\t        this.createNewActiveRange(cell);\n\t        this.gridPanel.addScrollEventListener(this.bodyScrollListener);\n\t        this.dragging = true;\n\t        this.lastMouseEvent = mouseEvent;\n\t        this.selectionChanged(false, true);\n\t    };\n\t    RangeController.prototype.createNewActiveRange = function (cell) {\n\t        var gridCellDef = { column: cell.column, rowIndex: cell.rowIndex, floating: cell.floating };\n\t        this.activeRange = {\n\t            start: new main_1.GridCell(gridCellDef),\n\t            end: new main_1.GridCell(gridCellDef),\n\t            columns: [cell.column]\n\t        };\n\t        this.cellRanges.push(this.activeRange);\n\t    };\n\t    RangeController.prototype.selectionChanged = function (finished, started) {\n\t        this.activeRange.columns = this.updateSelectedColumns(this.activeRange.start.column, this.activeRange.end.column);\n\t        this.dispatchChangedEvent(finished, started);\n\t    };\n\t    RangeController.prototype.dispatchChangedEvent = function (finished, started) {\n\t        this.eventService.dispatchEvent(main_1.Events.EVENT_RANGE_SELECTION_CHANGED, { finished: finished, started: started });\n\t    };\n\t    RangeController.prototype.onDragStop = function () {\n\t        if (!this.dragging) {\n\t            return;\n\t        }\n\t        this.gridPanel.removeScrollEventListener(this.bodyScrollListener);\n\t        this.lastMouseEvent = null;\n\t        this.dragging = false;\n\t        this.dispatchChangedEvent(true, false);\n\t    };\n\t    RangeController.prototype.onDragging = function (mouseEvent) {\n\t        if (!this.dragging) {\n\t            return;\n\t        }\n\t        this.lastMouseEvent = mouseEvent;\n\t        var cell = this.mouseEventService.getGridCellForEvent(mouseEvent);\n\t        if (main_1.Utils.missing(cell)) {\n\t            return;\n\t        }\n\t        var columnChanged = false;\n\t        if (cell.column !== this.activeRange.end.column) {\n\t            this.activeRange.end.column = cell.column;\n\t            columnChanged = true;\n\t        }\n\t        var rowChanged = false;\n\t        if (cell.rowIndex !== this.activeRange.end.rowIndex || cell.floating !== this.activeRange.end.floating) {\n\t            this.activeRange.end.rowIndex = cell.rowIndex;\n\t            this.activeRange.end.floating = cell.floating;\n\t            rowChanged = true;\n\t        }\n\t        if (columnChanged || rowChanged) {\n\t            this.selectionChanged(false, false);\n\t        }\n\t    };\n\t    RangeController.prototype.updateSelectedColumns = function (columnFrom, columnTo) {\n\t        var allColumns = this.columnController.getAllDisplayedColumns();\n\t        var fromIndex = allColumns.indexOf(columnFrom);\n\t        var toIndex = allColumns.indexOf(columnTo);\n\t        if (fromIndex < 0) {\n\t            console.log('ag-Grid: column ' + columnFrom.getId() + ' is not visible');\n\t            return null;\n\t        }\n\t        if (toIndex < 0) {\n\t            console.log('ag-Grid: column ' + columnTo.getId() + ' is not visible');\n\t            return null;\n\t        }\n\t        var firstIndex = Math.min(fromIndex, toIndex);\n\t        var lastIndex = Math.max(fromIndex, toIndex);\n\t        var columns = [];\n\t        for (var i = firstIndex; i <= lastIndex; i++) {\n\t            columns.push(allColumns[i]);\n\t        }\n\t        return columns;\n\t    };\n\t    return RangeController;\n\t}());\n\t__decorate([\n\t    main_1.Autowired('loggerFactory'),\n\t    __metadata(\"design:type\", main_1.LoggerFactory)\n\t], RangeController.prototype, \"loggerFactory\", void 0);\n\t__decorate([\n\t    main_1.Autowired('gridPanel'),\n\t    __metadata(\"design:type\", main_1.GridPanel)\n\t], RangeController.prototype, \"gridPanel\", void 0);\n\t__decorate([\n\t    main_1.Autowired('rowModel'),\n\t    __metadata(\"design:type\", Object)\n\t], RangeController.prototype, \"rowModel\", void 0);\n\t__decorate([\n\t    main_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", main_1.EventService)\n\t], RangeController.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    main_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", main_1.ColumnController)\n\t], RangeController.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    main_1.Autowired('rowRenderer'),\n\t    __metadata(\"design:type\", main_1.RowRenderer)\n\t], RangeController.prototype, \"rowRenderer\", void 0);\n\t__decorate([\n\t    main_1.Autowired('focusedCellController'),\n\t    __metadata(\"design:type\", main_1.FocusedCellController)\n\t], RangeController.prototype, \"focusedCellController\", void 0);\n\t__decorate([\n\t    main_1.Autowired('mouseEventService'),\n\t    __metadata(\"design:type\", main_1.MouseEventService)\n\t], RangeController.prototype, \"mouseEventService\", void 0);\n\t__decorate([\n\t    main_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", main_1.GridOptionsWrapper)\n\t], RangeController.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    main_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], RangeController.prototype, \"init\", null);\n\tRangeController = __decorate([\n\t    main_1.Bean('rangeController')\n\t], RangeController);\n\texports.RangeController = RangeController;\n\n\n/***/ }),\n/* 134 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar main_1 = __webpack_require__(2);\n\tvar AggFuncService = AggFuncService_1 = (function () {\n\t    function AggFuncService() {\n\t        this.aggFuncsMap = {};\n\t        this.initialised = false;\n\t    }\n\t    AggFuncService.prototype.init = function () {\n\t        if (this.initialised) {\n\t            return;\n\t        }\n\t        this.initialised = true;\n\t        this.initialiseWithDefaultAggregations();\n\t        this.addAggFuncs(this.gridOptionsWrapper.getAggFuncs());\n\t    };\n\t    AggFuncService.prototype.initialiseWithDefaultAggregations = function () {\n\t        this.aggFuncsMap[AggFuncService_1.AGG_SUM] = aggSum;\n\t        this.aggFuncsMap[AggFuncService_1.AGG_FIRST] = aggFirst;\n\t        this.aggFuncsMap[AggFuncService_1.AGG_LAST] = aggLast;\n\t        this.aggFuncsMap[AggFuncService_1.AGG_MIN] = aggMin;\n\t        this.aggFuncsMap[AggFuncService_1.AGG_MAX] = aggMax;\n\t        this.aggFuncsMap[AggFuncService_1.AGG_COUNT] = aggCount;\n\t        this.aggFuncsMap[AggFuncService_1.AGG_AVG] = aggAvg;\n\t    };\n\t    AggFuncService.prototype.getDefaultAggFunc = function () {\n\t        if (this.aggFuncsMap[AggFuncService_1.AGG_SUM]) {\n\t            // use 'sum' if it's still there (ie user has not removed it)\n\t            return AggFuncService_1.AGG_SUM;\n\t        }\n\t        else {\n\t            var allKeys = this.getFuncNames();\n\t            if (main_1.Utils.existsAndNotEmpty(allKeys)) {\n\t                return allKeys[0];\n\t            }\n\t            else {\n\t                return null;\n\t            }\n\t        }\n\t    };\n\t    AggFuncService.prototype.addAggFuncs = function (aggFuncs) {\n\t        main_1.Utils.iterateObject(aggFuncs, this.addAggFunc.bind(this));\n\t    };\n\t    AggFuncService.prototype.addAggFunc = function (key, aggFunc) {\n\t        this.init();\n\t        this.aggFuncsMap[key] = aggFunc;\n\t    };\n\t    AggFuncService.prototype.getAggFunc = function (name) {\n\t        this.init();\n\t        return this.aggFuncsMap[name];\n\t    };\n\t    AggFuncService.prototype.getFuncNames = function () {\n\t        return Object.keys(this.aggFuncsMap).sort();\n\t    };\n\t    AggFuncService.prototype.clear = function () {\n\t        this.aggFuncsMap = {};\n\t    };\n\t    return AggFuncService;\n\t}());\n\tAggFuncService.AGG_SUM = 'sum';\n\tAggFuncService.AGG_FIRST = 'first';\n\tAggFuncService.AGG_LAST = 'last';\n\tAggFuncService.AGG_MIN = 'min';\n\tAggFuncService.AGG_MAX = 'max';\n\tAggFuncService.AGG_COUNT = 'count';\n\tAggFuncService.AGG_AVG = 'avg';\n\t__decorate([\n\t    main_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", main_1.GridOptionsWrapper)\n\t], AggFuncService.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    main_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], AggFuncService.prototype, \"init\", null);\n\tAggFuncService = AggFuncService_1 = __decorate([\n\t    main_1.Bean('aggFuncService')\n\t], AggFuncService);\n\texports.AggFuncService = AggFuncService;\n\tfunction aggSum(input) {\n\t    var result = null;\n\t    var length = input.length;\n\t    for (var i = 0; i < length; i++) {\n\t        if (typeof input[i] === 'number') {\n\t            if (result === null) {\n\t                result = input[i];\n\t            }\n\t            else {\n\t                result += input[i];\n\t            }\n\t        }\n\t    }\n\t    return result;\n\t}\n\tfunction aggFirst(input) {\n\t    if (input.length >= 0) {\n\t        return input[0];\n\t    }\n\t    else {\n\t        return null;\n\t    }\n\t}\n\tfunction aggLast(input) {\n\t    if (input.length >= 0) {\n\t        return input[input.length - 1];\n\t    }\n\t    else {\n\t        return null;\n\t    }\n\t}\n\tfunction aggMin(input) {\n\t    var result = null;\n\t    var length = input.length;\n\t    for (var i = 0; i < length; i++) {\n\t        if (typeof input[i] === 'number') {\n\t            if (result === null) {\n\t                result = input[i];\n\t            }\n\t            else if (result > input[i]) {\n\t                result = input[i];\n\t            }\n\t        }\n\t    }\n\t    return result;\n\t}\n\tfunction aggMax(input) {\n\t    var result = null;\n\t    var length = input.length;\n\t    for (var i = 0; i < length; i++) {\n\t        if (typeof input[i] === 'number') {\n\t            if (result === null) {\n\t                result = input[i];\n\t            }\n\t            else if (result < input[i]) {\n\t                result = input[i];\n\t            }\n\t        }\n\t    }\n\t    return result;\n\t}\n\tfunction aggCount(input) {\n\t    var result = {\n\t        value: 0,\n\t        toString: function () {\n\t            return this.value.toString();\n\t        }\n\t    };\n\t    var length = input.length;\n\t    for (var i = 0; i < length; i++) {\n\t        var isGroupAgg = main_1.Utils.exists(input[i]) && typeof input[i].value === 'number';\n\t        if (isGroupAgg) {\n\t            result.value += input[i].value;\n\t        }\n\t        else {\n\t            result.value++;\n\t        }\n\t    }\n\t    return result;\n\t}\n\t// the average function is tricky as the multiple levels require weighted averages\n\t// for the non-leaf node aggregations.\n\tfunction aggAvg(input) {\n\t    // the average will be the sum / count\n\t    var sum = 0;\n\t    var count = 0;\n\t    var length = input.length;\n\t    for (var i = 0; i < length; i++) {\n\t        var currentItem = input[i];\n\t        var itemIsGroupResult = main_1.Utils.exists(currentItem) && typeof currentItem.value === 'number' && typeof currentItem.count === 'number';\n\t        // skip values that are not numbers (ie skip empty values)\n\t        if (typeof currentItem === 'number') {\n\t            sum += currentItem;\n\t            count++;\n\t        }\n\t        else if (itemIsGroupResult) {\n\t            // we are aggregating groups, so we take the\n\t            // aggregated values to calculated a weighted average\n\t            sum += currentItem.value * currentItem.count;\n\t            count += currentItem.count;\n\t        }\n\t    }\n\t    // avoid divide by zero error\n\t    var value = null;\n\t    if (count !== 0) {\n\t        value = sum / count;\n\t    }\n\t    // the result will be an object. when this cell is rendered, only the avg is shown.\n\t    // however when this cell is part of another aggregation, the count is also needed\n\t    // to create a weighted average for the next level.\n\t    var result = {\n\t        count: count,\n\t        value: value,\n\t        // the grid by default uses toString to render values for an object, so this\n\t        // is a trick to get the default cellRenderer to display the avg value\n\t        toString: function () {\n\t            if (typeof this.value === 'number') {\n\t                return this.value.toString();\n\t            }\n\t            else {\n\t                return '';\n\t            }\n\t        }\n\t    };\n\t    return result;\n\t}\n\tvar AggFuncService_1;\n\n\n/***/ }),\n/* 135 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar main_1 = __webpack_require__(2);\n\tvar GroupStage = (function () {\n\t    function GroupStage() {\n\t        // we use a sequence variable so that each time we do a grouping, we don't\n\t        // reuse the ids - otherwise the rowRenderer will confuse rowNodes between redraws\n\t        // when it tries to animate between rows. we set to -1 as others row id 0 will be shared\n\t        // with the other rows.\n\t        this.groupIdSequence = new main_1.NumberSequence(1);\n\t    }\n\t    GroupStage.prototype.execute = function (params) {\n\t        var rootNode = params.rowNode;\n\t        var newRowNodes = params.newRowNodes;\n\t        var groupedCols = this.columnController.getRowGroupColumns();\n\t        var expandByDefault;\n\t        if (this.gridOptionsWrapper.isGroupSuppressRow()) {\n\t            expandByDefault = -1;\n\t        }\n\t        else {\n\t            expandByDefault = this.gridOptionsWrapper.getGroupDefaultExpanded();\n\t        }\n\t        var includeParents = !this.gridOptionsWrapper.isSuppressParentsInRowNodes();\n\t        var isPivot = this.columnController.isPivotMode();\n\t        // because we are not creating the root node each time, we have the logic\n\t        // here to change leafGroup once.\n\t        rootNode.leafGroup = groupedCols.length === 0;\n\t        if (newRowNodes) {\n\t            this.insertRowNodes(newRowNodes, rootNode, groupedCols, expandByDefault, includeParents, isPivot);\n\t        }\n\t        else {\n\t            this.recursivelyGroup(rootNode, groupedCols, 0, expandByDefault, includeParents, isPivot);\n\t            // remove single children only works when doing a new grouping, it is not compatible with\n\t            // inserting / removing rows, as the group which a new record may belong to may have already\n\t            // been snipped out.\n\t            if (this.gridOptionsWrapper.isGroupRemoveSingleChildren()) {\n\t                this.recursivelyDeptFirstRemoveSingleChildren(rootNode, includeParents);\n\t            }\n\t        }\n\t        this.recursivelySetLevelOnChildren(rootNode, 0);\n\t    };\n\t    GroupStage.prototype.recursivelySetLevelOnChildren = function (rowNode, level) {\n\t        for (var i = 0; i < rowNode.childrenAfterGroup.length; i++) {\n\t            var childNode = rowNode.childrenAfterGroup[i];\n\t            childNode.level = level;\n\t            if (childNode.group) {\n\t                this.recursivelySetLevelOnChildren(childNode, level + 1);\n\t            }\n\t        }\n\t    };\n\t    GroupStage.prototype.recursivelyDeptFirstRemoveSingleChildren = function (rowNode, includeParents) {\n\t        if (main_1.Utils.missingOrEmpty(rowNode.childrenAfterGroup)) {\n\t            return;\n\t        }\n\t        for (var i = 0; i < rowNode.childrenAfterGroup.length; i++) {\n\t            var childNode = rowNode.childrenAfterGroup[i];\n\t            if (childNode.group) {\n\t                this.recursivelyDeptFirstRemoveSingleChildren(childNode, includeParents);\n\t                if (childNode.childrenAfterGroup.length <= 1) {\n\t                    var nodeToMove = childNode.childrenAfterGroup[0];\n\t                    rowNode.childrenAfterGroup[i] = nodeToMove;\n\t                    // we check if parent\n\t                    if (includeParents) {\n\t                        nodeToMove.parent = rowNode;\n\t                    }\n\t                }\n\t            }\n\t        }\n\t    };\n\t    GroupStage.prototype.recursivelyGroup = function (rowNode, groupColumns, level, expandByDefault, includeParents, isPivot) {\n\t        var _this = this;\n\t        var groupingThisLevel = level < groupColumns.length;\n\t        if (groupingThisLevel) {\n\t            var groupColumn = groupColumns[level];\n\t            this.bucketIntoChildrenAfterGroup(rowNode, groupColumn, expandByDefault, level, includeParents, groupColumns.length, isPivot);\n\t            rowNode.childrenAfterGroup.forEach(function (child) {\n\t                _this.recursivelyGroup(child, groupColumns, level + 1, expandByDefault, includeParents, isPivot);\n\t            });\n\t        }\n\t        else {\n\t            rowNode.childrenAfterGroup = rowNode.allLeafChildren;\n\t            rowNode.childrenAfterGroup.forEach(function (child) {\n\t                child.parent = rowNode;\n\t            });\n\t        }\n\t    };\n\t    GroupStage.prototype.bucketIntoChildrenAfterGroup = function (rowNode, groupColumn, expandByDefault, level, includeParents, numberOfGroupColumns, isPivot) {\n\t        var _this = this;\n\t        rowNode.childrenAfterGroup = [];\n\t        rowNode.childrenMapped = {};\n\t        rowNode.allLeafChildren.forEach(function (child) {\n\t            _this.placeNodeIntoNextGroup(rowNode, child, groupColumn, expandByDefault, level, includeParents, numberOfGroupColumns, isPivot);\n\t        });\n\t    };\n\t    GroupStage.prototype.insertRowNodes = function (newRowNodes, rootNode, groupColumns, expandByDefault, includeParents, isPivot) {\n\t        var _this = this;\n\t        newRowNodes.forEach(function (rowNode) {\n\t            var nextGroup = rootNode;\n\t            groupColumns.forEach(function (groupColumn, level) {\n\t                nextGroup = _this.placeNodeIntoNextGroup(nextGroup, rowNode, groupColumn, expandByDefault, level, includeParents, groupColumns.length, isPivot);\n\t            });\n\t            rowNode.parent = nextGroup;\n\t        });\n\t    };\n\t    GroupStage.prototype.placeNodeIntoNextGroup = function (previousGroup, nodeToPlace, groupColumn, expandByDefault, level, includeParents, numberOfGroupColumns, isPivot) {\n\t        var groupKey = this.getKeyForNode(groupColumn, nodeToPlace);\n\t        var nextGroup = previousGroup.childrenMapped[groupKey];\n\t        if (!nextGroup) {\n\t            nextGroup = this.createGroup(groupColumn, groupKey, previousGroup, expandByDefault, level, includeParents, numberOfGroupColumns, isPivot);\n\t            previousGroup.childrenMapped[groupKey] = nextGroup;\n\t            previousGroup.childrenAfterGroup.push(nextGroup);\n\t        }\n\t        nextGroup.allLeafChildren.push(nodeToPlace);\n\t        return nextGroup;\n\t    };\n\t    GroupStage.prototype.getKeyForNode = function (groupColumn, rowNode) {\n\t        var value = this.valueService.getValue(groupColumn, rowNode);\n\t        var result;\n\t        var keyCreator = groupColumn.getColDef().keyCreator;\n\t        if (keyCreator) {\n\t            result = keyCreator({ value: value });\n\t        }\n\t        else {\n\t            result = value;\n\t        }\n\t        return result;\n\t    };\n\t    GroupStage.prototype.createGroup = function (groupColumn, groupKey, parent, expandByDefault, level, includeParents, numberOfGroupColumns, isPivot) {\n\t        var nextGroup = new main_1.RowNode();\n\t        this.context.wireBean(nextGroup);\n\t        nextGroup.group = true;\n\t        nextGroup.field = groupColumn.getColDef().field;\n\t        // we use negative number for the ids of the groups, this makes sure we don't clash with the\n\t        // id's of the leaf nodes.\n\t        nextGroup.id = (this.groupIdSequence.next() * -1).toString();\n\t        nextGroup.key = groupKey;\n\t        // if doing pivoting, then the leaf group is never expanded,\n\t        // as we do not show leaf rows\n\t        nextGroup.leafGroup = level === (numberOfGroupColumns - 1);\n\t        if (isPivot && nextGroup.leafGroup) {\n\t            nextGroup.expanded = false;\n\t        }\n\t        else {\n\t            nextGroup.expanded = this.isExpanded(expandByDefault, level);\n\t        }\n\t        nextGroup.allLeafChildren = [];\n\t        nextGroup.allChildrenCount = 0;\n\t        nextGroup.rowGroupIndex = level;\n\t        nextGroup.parent = includeParents ? parent : null;\n\t        return nextGroup;\n\t    };\n\t    GroupStage.prototype.isExpanded = function (expandByDefault, level) {\n\t        if (expandByDefault === -1) {\n\t            return true;\n\t        }\n\t        else {\n\t            return level < expandByDefault;\n\t        }\n\t    };\n\t    return GroupStage;\n\t}());\n\t__decorate([\n\t    main_1.Autowired('selectionController'),\n\t    __metadata(\"design:type\", main_1.SelectionController)\n\t], GroupStage.prototype, \"selectionController\", void 0);\n\t__decorate([\n\t    main_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", main_1.GridOptionsWrapper)\n\t], GroupStage.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    main_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", main_1.ColumnController)\n\t], GroupStage.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    main_1.Autowired('valueService'),\n\t    __metadata(\"design:type\", main_1.ValueService)\n\t], GroupStage.prototype, \"valueService\", void 0);\n\t__decorate([\n\t    main_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", main_1.EventService)\n\t], GroupStage.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    main_1.Autowired('context'),\n\t    __metadata(\"design:type\", main_1.Context)\n\t], GroupStage.prototype, \"context\", void 0);\n\tGroupStage = __decorate([\n\t    main_1.Bean('groupStage')\n\t], GroupStage);\n\texports.GroupStage = GroupStage;\n\n\n/***/ }),\n/* 136 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar main_1 = __webpack_require__(2);\n\tvar pivotStage_1 = __webpack_require__(137);\n\tvar aggFuncService_1 = __webpack_require__(134);\n\tvar AggregationStage = (function () {\n\t    function AggregationStage() {\n\t    }\n\t    // it's possible to recompute the aggregate without doing the other parts\n\t    // + gridApi.recomputeAggregates()\n\t    AggregationStage.prototype.execute = function (params) {\n\t        var rootNode = params.rowNode;\n\t        // we don't do aggregation if user provided the groups\n\t        var rowsAlreadyGrouped = main_1.Utils.exists(this.gridOptionsWrapper.getNodeChildDetailsFunc());\n\t        if (rowsAlreadyGrouped) {\n\t            return;\n\t        }\n\t        var pivotActive = this.columnController.isPivotActive();\n\t        var measureColumns = this.columnController.getValueColumns();\n\t        var pivotColumns = pivotActive ? this.columnController.getPivotColumns() : [];\n\t        this.recursivelyCreateAggData(rootNode, measureColumns, pivotColumns);\n\t    };\n\t    AggregationStage.prototype.recursivelyCreateAggData = function (rowNode, measureColumns, pivotColumns) {\n\t        var _this = this;\n\t        // aggregate all children first, as we use the result in this nodes calculations\n\t        rowNode.childrenAfterFilter.forEach(function (child) {\n\t            if (child.group) {\n\t                _this.recursivelyCreateAggData(child, measureColumns, pivotColumns);\n\t            }\n\t        });\n\t        this.aggregateRowNode(rowNode, measureColumns, pivotColumns);\n\t    };\n\t    AggregationStage.prototype.aggregateRowNode = function (rowNode, measureColumns, pivotColumns) {\n\t        var measureColumnsMissing = measureColumns.length === 0;\n\t        var pivotColumnsMissing = pivotColumns.length === 0;\n\t        var userProvidedGroupRowAggNodes = this.gridOptionsWrapper.getGroupRowAggNodesFunc();\n\t        var aggResult;\n\t        if (userProvidedGroupRowAggNodes) {\n\t            aggResult = userProvidedGroupRowAggNodes(rowNode.childrenAfterFilter);\n\t        }\n\t        else if (measureColumnsMissing) {\n\t            aggResult = null;\n\t        }\n\t        else if (pivotColumnsMissing) {\n\t            aggResult = this.aggregateRowNodeUsingValuesOnly(rowNode, measureColumns);\n\t        }\n\t        else {\n\t            aggResult = this.aggregateRowNodeUsingValuesAndPivot(rowNode);\n\t        }\n\t        rowNode.data = aggResult;\n\t        // if we are grouping, then it's possible there is a sibling footer\n\t        // to the group, so update the data here also if there is one\n\t        if (rowNode.sibling) {\n\t            rowNode.sibling.data = aggResult;\n\t        }\n\t    };\n\t    AggregationStage.prototype.aggregateRowNodeUsingValuesAndPivot = function (rowNode) {\n\t        var _this = this;\n\t        var result = {};\n\t        var pivotColumnDefs = this.pivotStage.getPivotColumnDefs();\n\t        pivotColumnDefs.forEach(function (pivotColumnDef) {\n\t            var values;\n\t            var valueColumn = pivotColumnDef.pivotValueColumn;\n\t            if (rowNode.leafGroup) {\n\t                // lowest level group, get the values from the mapped set\n\t                var keys = pivotColumnDef.pivotKeys;\n\t                values = _this.getValuesFromMappedSet(rowNode.childrenMapped, keys, valueColumn);\n\t            }\n\t            else {\n\t                // value columns and pivot columns, non-leaf group\n\t                values = _this.getValuesPivotNonLeaf(rowNode, pivotColumnDef.colId);\n\t            }\n\t            result[pivotColumnDef.colId] = _this.aggregateValues(values, valueColumn.getAggFunc());\n\t        });\n\t        this.putInValueForGroupNode(result, rowNode);\n\t        return result;\n\t    };\n\t    AggregationStage.prototype.aggregateRowNodeUsingValuesOnly = function (rowNode, valueColumns) {\n\t        var _this = this;\n\t        var result = {};\n\t        var values2d = this.getValuesNormal(rowNode, valueColumns);\n\t        valueColumns.forEach(function (valueColumn, index) {\n\t            result[valueColumn.getId()] = _this.aggregateValues(values2d[index], valueColumn.getAggFunc());\n\t        });\n\t        this.putInValueForGroupNode(result, rowNode);\n\t        return result;\n\t    };\n\t    // when doing copy to clipboard, the valueService is used to get the value for the cell.\n\t    // the problem is that the valueService is wired to get the values directly from the data\n\t    // using column ID's (rather than, eg, valueGetters), so we need to have the value of the\n\t    // group key in the data, so when copy to clipboard is executed, the value is picked up correctly.\n\t    AggregationStage.prototype.putInValueForGroupNode = function (result, rowNode) {\n\t        var autoCols = this.columnController.getGroupAutoColumns();\n\t        if (!autoCols) {\n\t            return;\n\t        }\n\t        autoCols.forEach(function (autoCol) {\n\t            var rendererParams = autoCol.getColDef().cellRendererParams;\n\t            var groupKeyExists = main_1.Utils.exists(rendererParams) && main_1.Utils.exists(rendererParams.groupKey);\n\t            if (groupKeyExists) {\n\t                if (rendererParams.groupKey === rowNode.field) {\n\t                    result[autoCol.getColId()] = rowNode.key;\n\t                }\n\t            }\n\t            else {\n\t                result[autoCol.getColId()] = rowNode.key;\n\t            }\n\t        });\n\t    };\n\t    AggregationStage.prototype.getValuesPivotNonLeaf = function (rowNode, colId) {\n\t        var values = [];\n\t        rowNode.childrenAfterFilter.forEach(function (rowNode) {\n\t            var value = rowNode.data[colId];\n\t            values.push(value);\n\t        });\n\t        return values;\n\t    };\n\t    AggregationStage.prototype.getValuesFromMappedSet = function (mappedSet, keys, valueColumn) {\n\t        var _this = this;\n\t        var mapPointer = mappedSet;\n\t        keys.forEach(function (key) { return mapPointer = mapPointer ? mapPointer[key] : null; });\n\t        if (!mapPointer) {\n\t            return [];\n\t        }\n\t        var values = [];\n\t        mapPointer.forEach(function (rowNode) {\n\t            var value = _this.valueService.getValue(valueColumn, rowNode);\n\t            values.push(value);\n\t        });\n\t        return values;\n\t    };\n\t    AggregationStage.prototype.getValuesNormal = function (rowNode, valueColumns) {\n\t        // create 2d array, of all values for all valueColumns\n\t        var values = [];\n\t        valueColumns.forEach(function () { return values.push([]); });\n\t        var valueColumnCount = valueColumns.length;\n\t        var rowCount = rowNode.childrenAfterFilter.length;\n\t        for (var i = 0; i < rowCount; i++) {\n\t            var childNode = rowNode.childrenAfterFilter[i];\n\t            for (var j = 0; j < valueColumnCount; j++) {\n\t                var valueColumn = valueColumns[j];\n\t                var value;\n\t                // if the row is a group, then it will only have an agg result value,\n\t                // which means valueGetter is never used.\n\t                if (childNode.group) {\n\t                    value = childNode.data[valueColumn.getId()];\n\t                }\n\t                else {\n\t                    value = this.valueService.getValueUsingSpecificData(valueColumn, childNode.data, childNode);\n\t                }\n\t                values[j].push(value);\n\t            }\n\t        }\n\t        return values;\n\t    };\n\t    AggregationStage.prototype.aggregateValues = function (values, aggFuncOrString) {\n\t        var aggFunction;\n\t        if (typeof aggFuncOrString === 'string') {\n\t            aggFunction = this.aggFuncService.getAggFunc(aggFuncOrString);\n\t        }\n\t        else {\n\t            aggFunction = aggFuncOrString;\n\t        }\n\t        if (typeof aggFunction !== 'function') {\n\t            console.error(\"ag-Grid: unrecognised aggregation function \" + aggFuncOrString);\n\t            return null;\n\t        }\n\t        var result = aggFunction(values);\n\t        return result;\n\t    };\n\t    return AggregationStage;\n\t}());\n\t__decorate([\n\t    main_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", main_1.GridOptionsWrapper)\n\t], AggregationStage.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    main_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", main_1.ColumnController)\n\t], AggregationStage.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    main_1.Autowired('valueService'),\n\t    __metadata(\"design:type\", main_1.ValueService)\n\t], AggregationStage.prototype, \"valueService\", void 0);\n\t__decorate([\n\t    main_1.Autowired('pivotStage'),\n\t    __metadata(\"design:type\", pivotStage_1.PivotStage)\n\t], AggregationStage.prototype, \"pivotStage\", void 0);\n\t__decorate([\n\t    main_1.Autowired('aggFuncService'),\n\t    __metadata(\"design:type\", aggFuncService_1.AggFuncService)\n\t], AggregationStage.prototype, \"aggFuncService\", void 0);\n\tAggregationStage = __decorate([\n\t    main_1.Bean('aggregationStage')\n\t], AggregationStage);\n\texports.AggregationStage = AggregationStage;\n\n\n/***/ }),\n/* 137 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar main_1 = __webpack_require__(2);\n\tvar pivotColDefService_1 = __webpack_require__(138);\n\tvar PivotStage = (function () {\n\t    function PivotStage() {\n\t        this.uniqueValues = {};\n\t    }\n\t    PivotStage.prototype.execute = function (params) {\n\t        var rootNode = params.rowNode;\n\t        if (this.columnController.isPivotActive()) {\n\t            this.executePivotOn(rootNode);\n\t        }\n\t        else {\n\t            this.executePivotOff();\n\t        }\n\t    };\n\t    PivotStage.prototype.executePivotOff = function () {\n\t        this.aggregationColumnsHashLastTime = null;\n\t        this.uniqueValues = {};\n\t        this.columnController.setSecondaryColumns(null);\n\t    };\n\t    PivotStage.prototype.executePivotOn = function (rootNode) {\n\t        var uniqueValues = this.bucketUpRowNodes(rootNode);\n\t        var uniqueValuesChanged = this.setUniqueValues(uniqueValues);\n\t        var aggregationColumns = this.columnController.getValueColumns();\n\t        var aggregationColumnsHash = aggregationColumns.map(function (column) { return column.getId(); }).join('#');\n\t        var aggregationColumnsChanged = this.aggregationColumnsHashLastTime !== aggregationColumnsHash;\n\t        this.aggregationColumnsHashLastTime = aggregationColumnsHash;\n\t        if (uniqueValuesChanged || aggregationColumnsChanged) {\n\t            var result = this.pivotColDefService.createPivotColumnDefs(this.uniqueValues);\n\t            this.pivotColumnGroupDefs = result.pivotColumnGroupDefs;\n\t            this.pivotColumnDefs = result.pivotColumnDefs;\n\t            this.columnController.setSecondaryColumns(this.pivotColumnGroupDefs);\n\t        }\n\t    };\n\t    PivotStage.prototype.setUniqueValues = function (newValues) {\n\t        var json1 = JSON.stringify(newValues);\n\t        var json2 = JSON.stringify(this.uniqueValues);\n\t        var uniqueValuesChanged = json1 !== json2;\n\t        // we only continue the below if the unique values are different, as otherwise\n\t        // the result will be the same as the last time we did it\n\t        if (uniqueValuesChanged) {\n\t            this.uniqueValues = newValues;\n\t            return true;\n\t        }\n\t        else {\n\t            return false;\n\t        }\n\t    };\n\t    // returns true if values were different\n\t    PivotStage.prototype.bucketUpRowNodes = function (rootNode) {\n\t        // accessed from inside inner function\n\t        var uniqueValues = {};\n\t        var that = this;\n\t        recursivelySearchForLeafNodes(rootNode);\n\t        return uniqueValues;\n\t        // finds all leaf groups and calls mapRowNode with it\n\t        function recursivelySearchForLeafNodes(rowNode) {\n\t            if (rowNode.leafGroup) {\n\t                that.bucketRowNode(rowNode, uniqueValues);\n\t            }\n\t            else {\n\t                rowNode.childrenAfterFilter.forEach(function (child) {\n\t                    recursivelySearchForLeafNodes(child);\n\t                });\n\t            }\n\t        }\n\t    };\n\t    PivotStage.prototype.bucketRowNode = function (rowNode, uniqueValues) {\n\t        var pivotColumns = this.columnController.getPivotColumns();\n\t        if (pivotColumns.length === 0) {\n\t            rowNode.childrenMapped = null;\n\t            return;\n\t        }\n\t        rowNode.childrenMapped = this.bucketChildren(rowNode.childrenAfterFilter, pivotColumns, 0, uniqueValues);\n\t    };\n\t    PivotStage.prototype.bucketChildren = function (children, pivotColumns, pivotIndex, uniqueValues) {\n\t        var _this = this;\n\t        var mappedChildren = {};\n\t        var pivotColumn = pivotColumns[pivotIndex];\n\t        // map the children out based on the pivot column\n\t        children.forEach(function (child) {\n\t            var key = _this.valueService.getValue(pivotColumn, child);\n\t            if (main_1.Utils.missing(key)) {\n\t                key = '';\n\t            }\n\t            if (!uniqueValues[key]) {\n\t                uniqueValues[key] = {};\n\t            }\n\t            if (!mappedChildren[key]) {\n\t                mappedChildren[key] = [];\n\t            }\n\t            mappedChildren[key].push(child);\n\t        });\n\t        // if it's the last pivot column, return as is, otherwise go one level further in the map\n\t        if (pivotIndex === pivotColumns.length - 1) {\n\t            return mappedChildren;\n\t        }\n\t        else {\n\t            var result = {};\n\t            main_1.Utils.iterateObject(mappedChildren, function (key, value) {\n\t                result[key] = _this.bucketChildren(value, pivotColumns, pivotIndex + 1, uniqueValues[key]);\n\t            });\n\t            return result;\n\t        }\n\t    };\n\t    PivotStage.prototype.getPivotColumnDefs = function () {\n\t        return this.pivotColumnDefs;\n\t    };\n\t    return PivotStage;\n\t}());\n\t__decorate([\n\t    main_1.Autowired('rowModel'),\n\t    __metadata(\"design:type\", Object)\n\t], PivotStage.prototype, \"rowModel\", void 0);\n\t__decorate([\n\t    main_1.Autowired('valueService'),\n\t    __metadata(\"design:type\", main_1.ValueService)\n\t], PivotStage.prototype, \"valueService\", void 0);\n\t__decorate([\n\t    main_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", main_1.ColumnController)\n\t], PivotStage.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    main_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", main_1.EventService)\n\t], PivotStage.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    main_1.Autowired('pivotColDefService'),\n\t    __metadata(\"design:type\", pivotColDefService_1.PivotColDefService)\n\t], PivotStage.prototype, \"pivotColDefService\", void 0);\n\tPivotStage = __decorate([\n\t    main_1.Bean('pivotStage')\n\t], PivotStage);\n\texports.PivotStage = PivotStage;\n\n\n/***/ }),\n/* 138 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar main_1 = __webpack_require__(2);\n\tvar PivotColDefService = (function () {\n\t    function PivotColDefService() {\n\t    }\n\t    PivotColDefService.prototype.createPivotColumnDefs = function (uniqueValues) {\n\t        // this is passed to the columnController, to configure the columns and groups we show\n\t        var pivotColumnGroupDefs = [];\n\t        // this is used by the aggregation stage, to do the aggregation based on the pivot columns\n\t        var pivotColumnDefs = [];\n\t        var pivotColumns = this.columnController.getPivotColumns();\n\t        var levelsDeep = pivotColumns.length;\n\t        var columnIdSequence = new main_1.NumberSequence();\n\t        this.recursivelyAddGroup(pivotColumnGroupDefs, pivotColumnDefs, 1, uniqueValues, [], columnIdSequence, levelsDeep, pivotColumns);\n\t        // we clone, so the colDefs in pivotColumnsGroupDefs and pivotColumnDefs are not shared. this is so that\n\t        // any changes the user makes (via processSecondaryColumnDefinitions) don't impact the internal aggregations,\n\t        // as these use the col defs also\n\t        var pivotColumnDefsClone = pivotColumnDefs.map(function (colDef) { return main_1.Utils.cloneObject(colDef); });\n\t        return {\n\t            pivotColumnGroupDefs: pivotColumnGroupDefs,\n\t            pivotColumnDefs: pivotColumnDefsClone\n\t        };\n\t    };\n\t    // parentChildren - the list of colDefs we are adding to\n\t    // @index - how far the column is from the top (also same as pivotKeys.length)\n\t    // @uniqueValues - the values for which we should create a col for\n\t    // @pivotKeys - the keys for the pivot, eg if pivoting on {Language,Country} then could be {English,Ireland}\n\t    PivotColDefService.prototype.recursivelyAddGroup = function (parentChildren, pivotColumnDefs, index, uniqueValues, pivotKeys, columnIdSequence, levelsDeep, primaryPivotColumns) {\n\t        var _this = this;\n\t        main_1.Utils.iterateObject(uniqueValues, function (key, value) {\n\t            var newPivotKeys = pivotKeys.slice(0);\n\t            newPivotKeys.push(key);\n\t            var createGroup = index !== levelsDeep;\n\t            if (createGroup) {\n\t                var groupDef = {\n\t                    children: [],\n\t                    headerName: key,\n\t                    pivotKeys: newPivotKeys\n\t                };\n\t                parentChildren.push(groupDef);\n\t                _this.recursivelyAddGroup(groupDef.children, pivotColumnDefs, index + 1, value, newPivotKeys, columnIdSequence, levelsDeep, primaryPivotColumns);\n\t            }\n\t            else {\n\t                var measureColumns = _this.columnController.getValueColumns();\n\t                var valueGroup = {\n\t                    children: [],\n\t                    headerName: key,\n\t                    pivotKeys: newPivotKeys\n\t                };\n\t                parentChildren.push(valueGroup);\n\t                // if no value columns selected, then we insert one blank column, so the user at least sees columns\n\t                // rendered. otherwise the grid would render with no columns (just empty groups) which would give the\n\t                // impression that the grid is broken\n\t                if (measureColumns.length === 0) {\n\t                    // this is the blank column, for when no value columns enabled.\n\t                    var colDef = _this.createColDef(null, '-', newPivotKeys, columnIdSequence);\n\t                    valueGroup.children.push(colDef);\n\t                    pivotColumnDefs.push(colDef);\n\t                }\n\t                else {\n\t                    measureColumns.forEach(function (measureColumn) {\n\t                        var colDef = _this.createColDef(measureColumn, measureColumn.getColDef().headerName, newPivotKeys, columnIdSequence);\n\t                        valueGroup.children.push(colDef);\n\t                        pivotColumnDefs.push(colDef);\n\t                    });\n\t                }\n\t            }\n\t        });\n\t        // sort by either user provided comparator, or our own one\n\t        var colDef = primaryPivotColumns[index - 1].getColDef();\n\t        var userComparator = colDef.pivotComparator;\n\t        var comparator = this.headerNameComparator.bind(this, userComparator);\n\t        parentChildren.sort(comparator);\n\t    };\n\t    PivotColDefService.prototype.createColDef = function (valueColumn, headerName, pivotKeys, columnIdSequence) {\n\t        var colDef = {};\n\t        if (valueColumn) {\n\t            var colDefToCopy = valueColumn.getColDef();\n\t            main_1.Utils.assign(colDef, colDefToCopy);\n\t            // even if original column was hidden, we always show the pivot value column, otherwise it would be\n\t            // very confusing for people thinking the pivot is broken\n\t            colDef.hide = false;\n\t        }\n\t        colDef.headerName = headerName;\n\t        colDef.colId = 'pivot_' + columnIdSequence.next();\n\t        colDef.pivotKeys = pivotKeys;\n\t        colDef.pivotValueColumn = valueColumn;\n\t        return colDef;\n\t    };\n\t    PivotColDefService.prototype.headerNameComparator = function (userComparator, a, b) {\n\t        if (userComparator) {\n\t            return userComparator(a.headerName, b.headerName);\n\t        }\n\t        else {\n\t            if (a.headerName < b.headerName) {\n\t                return -1;\n\t            }\n\t            else if (a.headerName > b.headerName) {\n\t                return 1;\n\t            }\n\t            else {\n\t                return 0;\n\t            }\n\t        }\n\t    };\n\t    return PivotColDefService;\n\t}());\n\t__decorate([\n\t    main_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", main_1.ColumnController)\n\t], PivotColDefService.prototype, \"columnController\", void 0);\n\tPivotColDefService = __decorate([\n\t    main_1.Bean('pivotColDefService')\n\t], PivotColDefService);\n\texports.PivotColDefService = PivotColDefService;\n\n\n/***/ }),\n/* 139 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar main_1 = __webpack_require__(2);\n\tvar setFilter_1 = __webpack_require__(140);\n\tvar richSelectCellEditor_1 = __webpack_require__(144);\n\tvar licenseManager_1 = __webpack_require__(146);\n\tvar EnterpriseBoot = EnterpriseBoot_1 = (function () {\n\t    function EnterpriseBoot() {\n\t    }\n\t    EnterpriseBoot.prototype.init = function () {\n\t        this.filterManager.registerFilter('set', setFilter_1.SetFilter);\n\t        this.cellEditorFactory.addCellEditor(EnterpriseBoot_1.RICH_SELECT, richSelectCellEditor_1.RichSelectCellEditor);\n\t        this.licenseManager.validateLicense();\n\t    };\n\t    return EnterpriseBoot;\n\t}());\n\tEnterpriseBoot.RICH_SELECT = 'richSelect';\n\t__decorate([\n\t    main_1.Autowired('filterManager'),\n\t    __metadata(\"design:type\", main_1.FilterManager)\n\t], EnterpriseBoot.prototype, \"filterManager\", void 0);\n\t__decorate([\n\t    main_1.Autowired('cellEditorFactory'),\n\t    __metadata(\"design:type\", main_1.CellEditorFactory)\n\t], EnterpriseBoot.prototype, \"cellEditorFactory\", void 0);\n\t__decorate([\n\t    main_1.Autowired('licenseManager'),\n\t    __metadata(\"design:type\", licenseManager_1.LicenseManager)\n\t], EnterpriseBoot.prototype, \"licenseManager\", void 0);\n\t__decorate([\n\t    main_1.PreConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], EnterpriseBoot.prototype, \"init\", null);\n\tEnterpriseBoot = EnterpriseBoot_1 = __decorate([\n\t    main_1.Bean('enterpriseBoot')\n\t], EnterpriseBoot);\n\texports.EnterpriseBoot = EnterpriseBoot;\n\tvar EnterpriseBoot_1;\n\n\n/***/ }),\n/* 140 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t    function __() { this.constructor = d; }\n\t    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar main_1 = __webpack_require__(2);\n\tvar setFilterModel_1 = __webpack_require__(141);\n\tvar setFilterListItem_1 = __webpack_require__(142);\n\tvar virtualList_1 = __webpack_require__(143);\n\tvar SetFilter = (function (_super) {\n\t    __extends(SetFilter, _super);\n\t    function SetFilter() {\n\t        return _super.call(this) || this;\n\t    }\n\t    SetFilter.prototype.modelFromFloatingFilter = function (from) {\n\t        return [from];\n\t    };\n\t    SetFilter.prototype.initialiseFilterBodyUi = function () {\n\t        var _this = this;\n\t        this.virtualList = new virtualList_1.VirtualList();\n\t        this.context.wireBean(this.virtualList);\n\t        this.getGui().querySelector('#richList').appendChild(this.virtualList.getGui());\n\t        if (main_1.Utils.exists(this.filterParams.cellHeight)) {\n\t            this.virtualList.setRowHeight(this.filterParams.cellHeight);\n\t        }\n\t        this.virtualList.setComponentCreator(this.createSetListItem.bind(this));\n\t        this.model = new setFilterModel_1.SetFilterModel(this.filterParams.colDef, this.filterParams.rowModel, this.filterParams.valueGetter, this.filterParams.doesRowPassOtherFilter, this.suppressSorting);\n\t        this.virtualList.setModel(new ModelWrapper(this.model));\n\t        main_1._.setVisible(this.getGui().querySelector('#ag-mini-filter'), !this.filterParams.suppressMiniFilter);\n\t        this.eMiniFilter.value = this.model.getMiniFilter();\n\t        this.addDestroyableEventListener(this.eMiniFilter, 'input', function () { return _this.onMiniFilterChanged(); });\n\t        this.eSelectAll.onclick = this.onSelectAll.bind(this);\n\t        this.updateSelectAll();\n\t        this.virtualList.refresh();\n\t    };\n\t    SetFilter.prototype.refreshFilterBodyUi = function () {\n\t    };\n\t    SetFilter.prototype.createSetListItem = function (value) {\n\t        var _this = this;\n\t        var cellRenderer = this.filterParams.cellRenderer;\n\t        var listItem = new setFilterListItem_1.SetFilterListItem(value, cellRenderer);\n\t        this.context.wireBean(listItem);\n\t        listItem.setSelected(this.model.isValueSelected(value));\n\t        listItem.addEventListener(setFilterListItem_1.SetFilterListItem.EVENT_SELECTED, function () {\n\t            _this.onItemSelected(value, listItem.isSelected());\n\t        });\n\t        return listItem;\n\t    };\n\t    // we need to have the gui attached before we can draw the virtual rows, as the\n\t    // virtual row logic needs info about the gui state\n\t    SetFilter.prototype.afterGuiAttached = function (params) {\n\t        this.virtualList.refresh();\n\t        this.eMiniFilter.focus();\n\t    };\n\t    SetFilter.prototype.isFilterActive = function () {\n\t        return this.model.isFilterActive();\n\t    };\n\t    SetFilter.prototype.doesFilterPass = function (params) {\n\t        // if no filter, always pass\n\t        if (this.model.isEverythingSelected() && !this.filterParams.selectAllOnMiniFilter) {\n\t            return true;\n\t        }\n\t        // if nothing selected in filter, always fail\n\t        if (this.model.isNothingSelected() && !this.filterParams.selectAllOnMiniFilter) {\n\t            return false;\n\t        }\n\t        var value = this.filterParams.valueGetter(params.node);\n\t        if (this.filterParams.colDef.keyCreator) {\n\t            value = this.filterParams.colDef.keyCreator({ value: value });\n\t        }\n\t        value = main_1.Utils.makeNull(value);\n\t        if (Array.isArray(value)) {\n\t            for (var i = 0; i < value.length; i++) {\n\t                if (this.model.isValueSelected(value[i])) {\n\t                    return true;\n\t                }\n\t            }\n\t            return false;\n\t        }\n\t        else {\n\t            return this.model.isValueSelected(value);\n\t        }\n\t    };\n\t    SetFilter.prototype.onNewRowsLoaded = function () {\n\t        var keepSelection = this.filterParams && this.filterParams.newRowsAction === 'keep';\n\t        var isSelectAll = this.eSelectAll && this.eSelectAll.checked && !this.eSelectAll.indeterminate;\n\t        // default is reset\n\t        this.model.refreshAfterNewRowsLoaded(keepSelection, isSelectAll);\n\t        this.updateSelectAll();\n\t        this.virtualList.refresh();\n\t    };\n\t    SetFilter.prototype.onAnyFilterChanged = function () {\n\t        this.model.refreshAfterAnyFilterChanged();\n\t        this.virtualList.refresh();\n\t    };\n\t    SetFilter.prototype.bodyTemplate = function () {\n\t        var translate = this.translate.bind(this);\n\t        return \"<div>\\n                    <div class=\\\"ag-filter-header-container\\\" id=\\\"ag-mini-filter\\\">\\n                        <input class=\\\"ag-filter-filter\\\" type=\\\"text\\\" placeholder=\\\"\" + translate('searchOoo') + \"\\\"/>\\n                    </div>\\n                    <div class=\\\"ag-filter-header-container\\\">\\n                        <label>\\n                            <input id=\\\"selectAll\\\" type=\\\"checkbox\\\" class=\\\"ag-filter-checkbox\\\"/>\\n                            <span class=\\\"ag-filter-value\\\">(\" + translate('selectAll') + \")</span>\\n                        </label>\\n                    </div>\\n                    <div id=\\\"richList\\\" class=\\\"ag-set-filter-list\\\"></div>                    \\n                </div>\";\n\t    };\n\t    SetFilter.prototype.updateSelectAll = function () {\n\t        if (this.model.isEverythingSelected()) {\n\t            this.eSelectAll.indeterminate = false;\n\t            this.eSelectAll.checked = true;\n\t        }\n\t        else if (this.model.isNothingSelected()) {\n\t            this.eSelectAll.indeterminate = false;\n\t            this.eSelectAll.checked = false;\n\t        }\n\t        else {\n\t            this.eSelectAll.indeterminate = true;\n\t        }\n\t    };\n\t    SetFilter.prototype.onMiniFilterChanged = function () {\n\t        var miniFilterChanged = this.model.setMiniFilter(this.eMiniFilter.value);\n\t        if (miniFilterChanged) {\n\t            this.virtualList.refresh();\n\t        }\n\t        this.updateSelectAll();\n\t    };\n\t    SetFilter.prototype.onSelectAll = function () {\n\t        var checked = this.eSelectAll.checked;\n\t        if (checked) {\n\t            this.model.selectEverything();\n\t        }\n\t        else {\n\t            this.model.selectNothing();\n\t        }\n\t        this.virtualList.refresh();\n\t        this.onFilterChanged();\n\t    };\n\t    SetFilter.prototype.onItemSelected = function (value, selected) {\n\t        if (selected) {\n\t            this.model.selectValue(value);\n\t        }\n\t        else {\n\t            this.model.unselectValue(value);\n\t        }\n\t        this.updateSelectAll();\n\t        this.onFilterChanged();\n\t    };\n\t    SetFilter.prototype.setMiniFilter = function (newMiniFilter) {\n\t        this.model.setMiniFilter(newMiniFilter);\n\t        this.eMiniFilter.value = this.model.getMiniFilter();\n\t    };\n\t    SetFilter.prototype.getMiniFilter = function () {\n\t        return this.model.getMiniFilter();\n\t    };\n\t    SetFilter.prototype.selectEverything = function () {\n\t        this.model.selectEverything();\n\t        this.updateSelectAll();\n\t        this.virtualList.refresh();\n\t    };\n\t    SetFilter.prototype.selectNothing = function () {\n\t        this.model.selectNothing();\n\t        this.updateSelectAll();\n\t        this.virtualList.refresh();\n\t    };\n\t    SetFilter.prototype.unselectValue = function (value) {\n\t        this.model.unselectValue(value);\n\t        this.updateSelectAll();\n\t        this.virtualList.refresh();\n\t    };\n\t    SetFilter.prototype.selectValue = function (value) {\n\t        this.model.selectValue(value);\n\t        this.updateSelectAll();\n\t        this.virtualList.refresh();\n\t    };\n\t    SetFilter.prototype.isValueSelected = function (value) {\n\t        return this.model.isValueSelected(value);\n\t    };\n\t    SetFilter.prototype.isEverythingSelected = function () {\n\t        return this.model.isEverythingSelected();\n\t    };\n\t    SetFilter.prototype.isNothingSelected = function () {\n\t        return this.model.isNothingSelected();\n\t    };\n\t    SetFilter.prototype.getUniqueValueCount = function () {\n\t        return this.model.getUniqueValueCount();\n\t    };\n\t    SetFilter.prototype.getUniqueValue = function (index) {\n\t        return this.model.getUniqueValue(index);\n\t    };\n\t    SetFilter.prototype.serialize = function () {\n\t        return this.model.getModel();\n\t    };\n\t    SetFilter.prototype.parse = function (dataModel) {\n\t        this.model.setModel(dataModel);\n\t        this.updateSelectAll();\n\t        this.virtualList.refresh();\n\t    };\n\t    SetFilter.prototype.resetState = function () {\n\t        this.setMiniFilter(null);\n\t        this.model.setModel(null, true);\n\t        this.selectEverything();\n\t    };\n\t    return SetFilter;\n\t}(main_1.BaseFilter));\n\t__decorate([\n\t    main_1.QuerySelector('#selectAll'),\n\t    __metadata(\"design:type\", HTMLInputElement)\n\t], SetFilter.prototype, \"eSelectAll\", void 0);\n\t__decorate([\n\t    main_1.QuerySelector('.ag-filter-filter'),\n\t    __metadata(\"design:type\", HTMLInputElement)\n\t], SetFilter.prototype, \"eMiniFilter\", void 0);\n\texports.SetFilter = SetFilter;\n\tvar ModelWrapper = (function () {\n\t    function ModelWrapper(model) {\n\t        this.model = model;\n\t    }\n\t    ModelWrapper.prototype.getRowCount = function () {\n\t        return this.model.getDisplayedValueCount();\n\t    };\n\t    ModelWrapper.prototype.getRow = function (index) {\n\t        return this.model.getDisplayedValue(index);\n\t    };\n\t    return ModelWrapper;\n\t}());\n\n\n/***/ }),\n/* 141 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar main_1 = __webpack_require__(2);\n\t// we cannot have 'null' as a key in a JavaScript map,\n\t// it needs to be a string. so we use this string for\n\t// storing null values.\n\tvar NULL_VALUE = '___NULL___';\n\tvar SetFilterModel = (function () {\n\t    function SetFilterModel(colDef, rowModel, valueGetter, doesRowPassOtherFilters, suppressSorting) {\n\t        this.suppressSorting = suppressSorting;\n\t        this.colDef = colDef;\n\t        this.rowModel = rowModel;\n\t        this.valueGetter = valueGetter;\n\t        this.doesRowPassOtherFilters = doesRowPassOtherFilters;\n\t        this.filterParams = this.colDef.filterParams ? this.colDef.filterParams : {};\n\t        if (main_1.Utils.exists(this.filterParams)) {\n\t            this.usingProvidedSet = main_1.Utils.exists(this.filterParams.values);\n\t            this.showingAvailableOnly = this.filterParams.suppressRemoveEntries !== true;\n\t        }\n\t        else {\n\t            this.usingProvidedSet = false;\n\t            this.showingAvailableOnly = true;\n\t        }\n\t        this.createAllUniqueValues();\n\t        this.createAvailableUniqueValues();\n\t        // by default, no filter, so we display everything\n\t        this.displayedValues = this.availableUniqueValues;\n\t        this.miniFilter = null;\n\t        // we use a map rather than an array for the selected values as the lookup\n\t        // for a map is much faster than the lookup for an array, especially when\n\t        // the length of the array is thousands of records long\n\t        this.selectedValuesMap = {};\n\t        this.selectEverything();\n\t    }\n\t    // if keepSelection not set will always select all filters\n\t    // if keepSelection set will keep current state of selected filters\n\t    //    unless selectAll chosen in which case will select all\n\t    SetFilterModel.prototype.refreshAfterNewRowsLoaded = function (keepSelection, isSelectAll) {\n\t        this.createAllUniqueValues();\n\t        this.createAvailableUniqueValues();\n\t        var oldModel = Object.keys(this.selectedValuesMap);\n\t        this.selectedValuesMap = {};\n\t        this.processMiniFilter();\n\t        if (keepSelection) {\n\t            this.setModel(oldModel, isSelectAll);\n\t        }\n\t        else {\n\t            this.selectEverything();\n\t        }\n\t    };\n\t    SetFilterModel.prototype.refreshAfterAnyFilterChanged = function () {\n\t        if (this.showingAvailableOnly) {\n\t            this.createAvailableUniqueValues();\n\t            this.processMiniFilter();\n\t        }\n\t    };\n\t    SetFilterModel.prototype.createAllUniqueValues = function () {\n\t        if (this.usingProvidedSet) {\n\t            this.allUniqueValues = main_1.Utils.toStrings(this.filterParams.values);\n\t        }\n\t        else {\n\t            var uniqueValuesAsAnyObjects = this.getUniqueValues(false);\n\t            this.allUniqueValues = main_1.Utils.toStrings(uniqueValuesAsAnyObjects);\n\t        }\n\t        if (!this.suppressSorting) {\n\t            this.sortValues(this.allUniqueValues);\n\t        }\n\t    };\n\t    SetFilterModel.prototype.createAvailableUniqueValues = function () {\n\t        var dontCheckAvailableValues = !this.showingAvailableOnly || this.usingProvidedSet;\n\t        if (dontCheckAvailableValues) {\n\t            this.availableUniqueValues = this.allUniqueValues;\n\t            return;\n\t        }\n\t        var uniqueValuesAsAnyObjects = this.getUniqueValues(true);\n\t        this.availableUniqueValues = main_1.Utils.toStrings(uniqueValuesAsAnyObjects);\n\t        this.sortValues(this.availableUniqueValues);\n\t    };\n\t    SetFilterModel.prototype.sortValues = function (values) {\n\t        if (this.filterParams && this.filterParams.comparator) {\n\t            values.sort(this.filterParams.comparator);\n\t        }\n\t        else if (this.colDef.comparator) {\n\t            values.sort(this.colDef.comparator);\n\t        }\n\t        else {\n\t            values.sort(main_1.Utils.defaultComparator);\n\t        }\n\t    };\n\t    SetFilterModel.prototype.getUniqueValues = function (filterOutNotAvailable) {\n\t        var _this = this;\n\t        var uniqueCheck = {};\n\t        var result = [];\n\t        if (!this.rowModel.forEachLeafNode) {\n\t            console.error('ag-Grid: Set Filter cannot initialise because you are using a row model that does not contain all rows in the browser. Either use a different filter type, or configure Set Filter such that you provide it with values');\n\t            return [];\n\t        }\n\t        this.rowModel.forEachLeafNode(function (node) {\n\t            if (!node.group) {\n\t                var value = _this.valueGetter(node);\n\t                if (_this.colDef.keyCreator) {\n\t                    value = _this.colDef.keyCreator({ value: value });\n\t                }\n\t                if (value === \"\" || value === undefined) {\n\t                    value = null;\n\t                }\n\t                if (filterOutNotAvailable) {\n\t                    if (!_this.doesRowPassOtherFilters(node)) {\n\t                        return;\n\t                    }\n\t                }\n\t                if (value != null && Array.isArray(value)) {\n\t                    for (var j = 0; j < value.length; j++) {\n\t                        addUniqueValueIfMissing(value[j]);\n\t                    }\n\t                }\n\t                else {\n\t                    addUniqueValueIfMissing(value);\n\t                }\n\t            }\n\t        });\n\t        function addUniqueValueIfMissing(value) {\n\t            if (!uniqueCheck.hasOwnProperty(value)) {\n\t                result.push(value);\n\t                uniqueCheck[value] = 1;\n\t            }\n\t        }\n\t        return result;\n\t    };\n\t    //sets mini filter. returns true if it changed from last value, otherwise false\n\t    SetFilterModel.prototype.setMiniFilter = function (newMiniFilter) {\n\t        newMiniFilter = main_1.Utils.makeNull(newMiniFilter);\n\t        if (this.miniFilter === newMiniFilter) {\n\t            //do nothing if filter has not changed\n\t            return false;\n\t        }\n\t        this.miniFilter = newMiniFilter;\n\t        this.processMiniFilter();\n\t        return true;\n\t    };\n\t    SetFilterModel.prototype.getMiniFilter = function () {\n\t        return this.miniFilter;\n\t    };\n\t    SetFilterModel.prototype.processMiniFilter = function () {\n\t        // if no filter, just use the unique values\n\t        if (this.miniFilter === null) {\n\t            this.displayedValues = this.availableUniqueValues;\n\t            return;\n\t        }\n\t        // if filter present, we filter down the list\n\t        this.displayedValues = [];\n\t        var miniFilterUpperCase = this.miniFilter.toUpperCase();\n\t        for (var i = 0, l = this.availableUniqueValues.length; i < l; i++) {\n\t            var filteredValue = this.availableUniqueValues[i];\n\t            if (filteredValue !== null && filteredValue.toString().toUpperCase().indexOf(miniFilterUpperCase) >= 0) {\n\t                this.displayedValues.push(filteredValue);\n\t            }\n\t        }\n\t    };\n\t    SetFilterModel.prototype.getDisplayedValueCount = function () {\n\t        return this.displayedValues.length;\n\t    };\n\t    SetFilterModel.prototype.getDisplayedValue = function (index) {\n\t        return this.displayedValues[index];\n\t    };\n\t    SetFilterModel.prototype.selectEverything = function () {\n\t        if (!this.filterParams.selectAllOnMiniFilter) {\n\t            this.selectOn(this.allUniqueValues);\n\t        }\n\t        else {\n\t            this.selectOn(this.displayedValues);\n\t        }\n\t    };\n\t    SetFilterModel.prototype.selectOn = function (toSelectOn) {\n\t        var count = toSelectOn.length;\n\t        for (var i = 0; i < count; i++) {\n\t            var key = toSelectOn[i];\n\t            var safeKey = this.valueToKey(key);\n\t            this.selectedValuesMap[safeKey] = null;\n\t        }\n\t        this.selectedValuesCount = count;\n\t    };\n\t    SetFilterModel.prototype.valueToKey = function (key) {\n\t        if (key === null) {\n\t            return NULL_VALUE;\n\t        }\n\t        else {\n\t            return key;\n\t        }\n\t    };\n\t    SetFilterModel.prototype.keyToValue = function (value) {\n\t        if (value === NULL_VALUE) {\n\t            return null;\n\t        }\n\t        else {\n\t            return value;\n\t        }\n\t    };\n\t    SetFilterModel.prototype.isFilterActive = function () {\n\t        return this.allUniqueValues.length !== this.selectedValuesCount;\n\t    };\n\t    SetFilterModel.prototype.selectNothing = function () {\n\t        var _this = this;\n\t        if (!this.filterParams.selectAllOnMiniFilter || !this.miniFilter) {\n\t            this.selectedValuesMap = {};\n\t            this.selectedValuesCount = 0;\n\t        }\n\t        else {\n\t            this.displayedValues.forEach(function (it) { return _this.unselectValue(it); });\n\t        }\n\t    };\n\t    SetFilterModel.prototype.getUniqueValueCount = function () {\n\t        return this.allUniqueValues.length;\n\t    };\n\t    SetFilterModel.prototype.getUniqueValue = function (index) {\n\t        return this.allUniqueValues[index];\n\t    };\n\t    SetFilterModel.prototype.unselectValue = function (value) {\n\t        var safeKey = this.valueToKey(value);\n\t        if (this.selectedValuesMap[safeKey] !== undefined) {\n\t            delete this.selectedValuesMap[safeKey];\n\t            this.selectedValuesCount--;\n\t        }\n\t    };\n\t    SetFilterModel.prototype.selectValue = function (value) {\n\t        var safeKey = this.valueToKey(value);\n\t        if (this.selectedValuesMap[safeKey] === undefined) {\n\t            this.selectedValuesMap[safeKey] = null;\n\t            this.selectedValuesCount++;\n\t        }\n\t    };\n\t    SetFilterModel.prototype.isValueSelected = function (value) {\n\t        var safeKey = this.valueToKey(value);\n\t        return this.selectedValuesMap[safeKey] !== undefined;\n\t    };\n\t    SetFilterModel.prototype.isEverythingSelected = function () {\n\t        var _this = this;\n\t        if (!this.filterParams.selectAllOnMiniFilter || !this.miniFilter) {\n\t            return this.allUniqueValues.length === this.selectedValuesCount;\n\t        }\n\t        else {\n\t            return this.displayedValues.filter(function (it) { return _this.isValueSelected(it); }).length === this.displayedValues.length;\n\t        }\n\t    };\n\t    SetFilterModel.prototype.isNothingSelected = function () {\n\t        var _this = this;\n\t        if (!this.filterParams.selectAllOnMiniFilter || !this.miniFilter) {\n\t            return this.selectedValuesCount === 0;\n\t        }\n\t        else {\n\t            return this.displayedValues.filter(function (it) { return _this.isValueSelected(it); }).length === 0;\n\t        }\n\t    };\n\t    SetFilterModel.prototype.getModel = function () {\n\t        var _this = this;\n\t        if (!this.isFilterActive()) {\n\t            return null;\n\t        }\n\t        var selectedValues = [];\n\t        main_1.Utils.iterateObject(this.selectedValuesMap, function (key) {\n\t            var value = _this.keyToValue(key);\n\t            selectedValues.push(value);\n\t        });\n\t        return selectedValues;\n\t    };\n\t    SetFilterModel.prototype.setModel = function (model, isSelectAll) {\n\t        if (isSelectAll === void 0) { isSelectAll = false; }\n\t        if (model && !isSelectAll) {\n\t            this.selectNothing();\n\t            for (var i = 0; i < model.length; i++) {\n\t                var value = model[i];\n\t                if (this.allUniqueValues.indexOf(value) >= 0) {\n\t                    this.selectValue(value);\n\t                }\n\t            }\n\t        }\n\t        else {\n\t            this.selectEverything();\n\t        }\n\t    };\n\t    return SetFilterModel;\n\t}());\n\texports.SetFilterModel = SetFilterModel;\n\n\n/***/ }),\n/* 142 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t    function __() { this.constructor = d; }\n\t    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar main_1 = __webpack_require__(2);\n\tvar SetFilterListItem = (function (_super) {\n\t    __extends(SetFilterListItem, _super);\n\t    function SetFilterListItem(value, cellRenderer) {\n\t        var _this = _super.call(this, SetFilterListItem.TEMPLATE) || this;\n\t        _this.value = value;\n\t        _this.cellRenderer = cellRenderer;\n\t        return _this;\n\t    }\n\t    SetFilterListItem.prototype.init = function () {\n\t        var _this = this;\n\t        this.render();\n\t        this.eCheckbox = this.queryForHtmlInputElement(\"input\");\n\t        this.addDestroyableEventListener(this.eCheckbox, 'click', function () { return _this.dispatchEvent(SetFilterListItem.EVENT_SELECTED); });\n\t    };\n\t    SetFilterListItem.prototype.isSelected = function () {\n\t        return this.eCheckbox.checked;\n\t    };\n\t    SetFilterListItem.prototype.setSelected = function (selected) {\n\t        this.eCheckbox.checked = selected;\n\t    };\n\t    SetFilterListItem.prototype.render = function () {\n\t        var valueElement = this.queryForHtmlElement(\".ag-filter-value\");\n\t        // var valueElement = eFilterValue.querySelector(\".ag-filter-value\");\n\t        if (this.cellRenderer) {\n\t            var component = this.cellRendererService.useCellRenderer(this.cellRenderer, valueElement, { value: this.value });\n\t            if (component && component.destroy) {\n\t                this.addDestroyFunc(component.destroy.bind(component));\n\t            }\n\t        }\n\t        else {\n\t            // otherwise display as a string\n\t            var localeTextFunc = this.gridOptionsWrapper.getLocaleTextFunc();\n\t            var blanksText = '(' + localeTextFunc('blanks', 'Blanks') + ')';\n\t            var displayNameOfValue = this.value === null ? blanksText : this.value;\n\t            valueElement.innerHTML = displayNameOfValue;\n\t        }\n\t    };\n\t    return SetFilterListItem;\n\t}(main_1.Component));\n\tSetFilterListItem.EVENT_SELECTED = 'selected';\n\tSetFilterListItem.TEMPLATE = '<label class=\"ag-set-filter-item\">' +\n\t    '<input type=\"checkbox\" class=\"ag-filter-checkbox\"/>' +\n\t    '<span class=\"ag-filter-value\"></span>' +\n\t    '</label>';\n\t__decorate([\n\t    main_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", main_1.GridOptionsWrapper)\n\t], SetFilterListItem.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    main_1.Autowired('cellRendererService'),\n\t    __metadata(\"design:type\", main_1.CellRendererService)\n\t], SetFilterListItem.prototype, \"cellRendererService\", void 0);\n\t__decorate([\n\t    main_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], SetFilterListItem.prototype, \"init\", null);\n\texports.SetFilterListItem = SetFilterListItem;\n\n\n/***/ }),\n/* 143 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t    function __() { this.constructor = d; }\n\t    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar main_1 = __webpack_require__(2);\n\tvar VirtualList = (function (_super) {\n\t    __extends(VirtualList, _super);\n\t    function VirtualList() {\n\t        var _this = _super.call(this, null) || this;\n\t        _this.rowsInBodyContainer = {};\n\t        _this.rowHeight = 20;\n\t        return _this;\n\t    }\n\t    VirtualList.prototype.init = function () {\n\t        this.setTemplate(VirtualList.TEMPLATE);\n\t        this.eListContainer = this.queryForHtmlElement(\".ag-virtual-list-container\");\n\t        this.addScrollListener();\n\t    };\n\t    VirtualList.prototype.ensureIndexVisible = function (index) {\n\t        var lastRow = this.model.getRowCount();\n\t        if (typeof index !== 'number' || index < 0 || index >= lastRow) {\n\t            console.warn('invalid row index for ensureIndexVisible: ' + index);\n\t            return;\n\t        }\n\t        // var nodeAtIndex = this.rowModel.getRow(index);\n\t        var rowTopPixel = index * this.rowHeight;\n\t        var rowBottomPixel = rowTopPixel + this.rowHeight;\n\t        var viewportTopPixel = this.getGui().scrollTop;\n\t        var viewportHeight = this.getGui().offsetHeight;\n\t        var viewportBottomPixel = viewportTopPixel + viewportHeight;\n\t        var viewportScrolledPastRow = viewportTopPixel > rowTopPixel;\n\t        var viewportScrolledBeforeRow = viewportBottomPixel < rowBottomPixel;\n\t        if (viewportScrolledPastRow) {\n\t            // if row is before, scroll up with row at top\n\t            this.getGui().scrollTop = rowTopPixel;\n\t        }\n\t        else if (viewportScrolledBeforeRow) {\n\t            // if row is below, scroll down with row at bottom\n\t            var newScrollPosition = rowBottomPixel - viewportHeight;\n\t            this.getGui().scrollTop = newScrollPosition;\n\t        }\n\t    };\n\t    VirtualList.prototype.setComponentCreator = function (componentCreator) {\n\t        this.componentCreator = componentCreator;\n\t    };\n\t    VirtualList.prototype.getRowHeight = function () {\n\t        return this.rowHeight;\n\t    };\n\t    VirtualList.prototype.getScrollTop = function () {\n\t        return this.getGui().scrollTop;\n\t    };\n\t    VirtualList.prototype.setRowHeight = function (rowHeight) {\n\t        this.rowHeight = rowHeight;\n\t        this.refresh();\n\t    };\n\t    VirtualList.prototype.refresh = function () {\n\t        if (main_1.Utils.missing(this.model)) {\n\t            return;\n\t        }\n\t        this.eListContainer.style.height = (this.model.getRowCount() * this.rowHeight) + \"px\";\n\t        this.clearVirtualRows();\n\t        this.drawVirtualRows();\n\t    };\n\t    VirtualList.prototype.clearVirtualRows = function () {\n\t        var rowsToRemove = Object.keys(this.rowsInBodyContainer);\n\t        this.removeVirtualRows(rowsToRemove);\n\t    };\n\t    VirtualList.prototype.drawVirtualRows = function () {\n\t        var topPixel = this.getGui().scrollTop;\n\t        var bottomPixel = topPixel + this.getGui().offsetHeight;\n\t        var firstRow = Math.floor(topPixel / this.rowHeight);\n\t        var lastRow = Math.floor(bottomPixel / this.rowHeight);\n\t        this.ensureRowsRendered(firstRow, lastRow);\n\t    };\n\t    VirtualList.prototype.ensureRowsRendered = function (start, finish) {\n\t        // at the end, this array will contain the items we need to remove\n\t        var rowsToRemove = Object.keys(this.rowsInBodyContainer);\n\t        // add in new rows\n\t        for (var rowIndex = start; rowIndex <= finish; rowIndex++) {\n\t            // see if item already there, and if yes, take it out of the 'to remove' array\n\t            if (rowsToRemove.indexOf(rowIndex.toString()) >= 0) {\n\t                rowsToRemove.splice(rowsToRemove.indexOf(rowIndex.toString()), 1);\n\t                continue;\n\t            }\n\t            // check this row actually exists (in case overflow buffer window exceeds real data)\n\t            if (this.model.getRowCount() > rowIndex) {\n\t                var value = this.model.getRow(rowIndex);\n\t                this.insertRow(value, rowIndex);\n\t            }\n\t        }\n\t        // at this point, everything in our 'rowsToRemove' . . .\n\t        this.removeVirtualRows(rowsToRemove);\n\t    };\n\t    // takes array of row id's\n\t    VirtualList.prototype.removeVirtualRows = function (rowsToRemove) {\n\t        var _this = this;\n\t        rowsToRemove.forEach(function (index) {\n\t            var component = _this.rowsInBodyContainer[index];\n\t            _this.eListContainer.removeChild(component.eDiv);\n\t            if (component.rowComponent.destroy) {\n\t                component.rowComponent.destroy();\n\t            }\n\t            delete _this.rowsInBodyContainer[index];\n\t        });\n\t    };\n\t    VirtualList.prototype.insertRow = function (value, rowIndex) {\n\t        var eDiv = document.createElement('div');\n\t        main_1.Utils.addCssClass(eDiv, 'ag-virtual-list-item');\n\t        eDiv.style.top = (this.rowHeight * rowIndex) + \"px\";\n\t        var rowComponent = this.componentCreator(value);\n\t        eDiv.appendChild(rowComponent.getGui());\n\t        this.eListContainer.appendChild(eDiv);\n\t        this.rowsInBodyContainer[rowIndex] = {\n\t            rowComponent: rowComponent,\n\t            eDiv: eDiv\n\t        };\n\t    };\n\t    VirtualList.prototype.addScrollListener = function () {\n\t        var _this = this;\n\t        this.addGuiEventListener('scroll', function () {\n\t            _this.drawVirtualRows();\n\t        });\n\t    };\n\t    VirtualList.prototype.setModel = function (model) {\n\t        this.model = model;\n\t    };\n\t    return VirtualList;\n\t}(main_1.Component));\n\tVirtualList.TEMPLATE = '<div class=\"ag-virtual-list-viewport\">' +\n\t    '<div class=\"ag-virtual-list-container\">' +\n\t    '</div>' +\n\t    '</div>';\n\t__decorate([\n\t    main_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], VirtualList.prototype, \"init\", null);\n\texports.VirtualList = VirtualList;\n\n\n/***/ }),\n/* 144 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t    function __() { this.constructor = d; }\n\t    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar main_1 = __webpack_require__(2);\n\tvar richSelectRow_1 = __webpack_require__(145);\n\tvar virtualList_1 = __webpack_require__(143);\n\tvar RichSelectCellEditor = (function (_super) {\n\t    __extends(RichSelectCellEditor, _super);\n\t    function RichSelectCellEditor() {\n\t        return _super.call(this, RichSelectCellEditor.TEMPLATE) || this;\n\t    }\n\t    RichSelectCellEditor.prototype.init = function (params) {\n\t        this.params = params;\n\t        this.selectedValue = params.value;\n\t        this.cellRenderer = params.cellRenderer;\n\t        this.focusAfterAttached = params.cellStartedEdit;\n\t        this.virtualList = new virtualList_1.VirtualList();\n\t        this.context.wireBean(this.virtualList);\n\t        this.virtualList.setComponentCreator(this.createRowComponent.bind(this));\n\t        this.getGui().querySelector('.ag-rich-select-list').appendChild(this.virtualList.getGui());\n\t        this.renderSelectedValue();\n\t        if (main_1.Utils.missing(params.values)) {\n\t            console.log('ag-Grid: richSelectCellEditor requires values for it to work');\n\t            return;\n\t        }\n\t        var values = params.values;\n\t        this.virtualList.setModel({\n\t            getRowCount: function () { return values.length; },\n\t            getRow: function (index) { return values[index]; }\n\t        });\n\t        this.addGuiEventListener('keydown', this.onKeyDown.bind(this));\n\t        this.addDestroyableEventListener(this.virtualList.getGui(), 'click', this.onClick.bind(this));\n\t        this.addDestroyableEventListener(this.virtualList.getGui(), 'mousemove', this.onMouseMove.bind(this));\n\t    };\n\t    RichSelectCellEditor.prototype.onKeyDown = function (event) {\n\t        var key = event.which || event.keyCode;\n\t        switch (key) {\n\t            case main_1.Constants.KEY_ENTER:\n\t                this.onEnterKeyDown();\n\t                break;\n\t            case main_1.Constants.KEY_DOWN:\n\t            case main_1.Constants.KEY_UP:\n\t                this.onNavigationKeyPressed(event, key);\n\t                break;\n\t        }\n\t    };\n\t    RichSelectCellEditor.prototype.onEnterKeyDown = function () {\n\t        this.params.stopEditing();\n\t    };\n\t    RichSelectCellEditor.prototype.onNavigationKeyPressed = function (event, key) {\n\t        // if we don't stop propagation, then the grids navigation kicks in\n\t        event.stopPropagation();\n\t        var oldIndex = this.params.values.indexOf(this.selectedValue);\n\t        var newIndex = key === main_1.Constants.KEY_UP ? oldIndex - 1 : oldIndex + 1;\n\t        if (newIndex >= 0 && newIndex < this.params.values.length) {\n\t            var valueToSelect = this.params.values[newIndex];\n\t            this.setSelectedValue(valueToSelect);\n\t        }\n\t    };\n\t    RichSelectCellEditor.prototype.renderSelectedValue = function () {\n\t        var eValue = this.getGui().querySelector('.ag-rich-select-value');\n\t        if (this.cellRenderer) {\n\t            var result = this.cellRendererService.useCellRenderer(this.cellRenderer, eValue, { value: this.selectedValue });\n\t            if (result && result.destroy) {\n\t                this.addDestroyFunc(function () { return result.destroy(); });\n\t            }\n\t        }\n\t        else {\n\t            if (main_1.Utils.exists(this.selectedValue)) {\n\t                eValue.innerHTML = this.selectedValue.toString();\n\t            }\n\t            else {\n\t                eValue.innerHTML = '';\n\t            }\n\t        }\n\t    };\n\t    RichSelectCellEditor.prototype.setSelectedValue = function (value) {\n\t        if (this.selectedValue === value) {\n\t            return;\n\t        }\n\t        var index = this.params.values.indexOf(value);\n\t        if (index >= 0) {\n\t            this.selectedValue = value;\n\t            this.virtualList.ensureIndexVisible(index);\n\t            this.virtualList.refresh();\n\t        }\n\t    };\n\t    RichSelectCellEditor.prototype.createRowComponent = function (value) {\n\t        var row = new richSelectRow_1.RichSelectRow(this.cellRenderer);\n\t        this.context.wireBean(row);\n\t        row.setState(value, value === this.selectedValue);\n\t        return row;\n\t    };\n\t    RichSelectCellEditor.prototype.onMouseMove = function (mouseEvent) {\n\t        var rect = this.virtualList.getGui().getBoundingClientRect();\n\t        var scrollTop = this.virtualList.getScrollTop();\n\t        var mouseY = mouseEvent.clientY - rect.top + scrollTop;\n\t        var row = Math.floor(mouseY / this.virtualList.getRowHeight());\n\t        var value = this.params.values[row];\n\t        // not using utils.exist() as want empty string test to pass\n\t        if (value !== null && value !== undefined) {\n\t            this.setSelectedValue(value);\n\t        }\n\t    };\n\t    RichSelectCellEditor.prototype.onClick = function () {\n\t        this.params.stopEditing();\n\t    };\n\t    // we need to have the gui attached before we can draw the virtual rows, as the\n\t    // virtual row logic needs info about the gui state\n\t    RichSelectCellEditor.prototype.afterGuiAttached = function () {\n\t        var selectedIndex = this.params.values.indexOf(this.selectedValue);\n\t        // we have to call this here to get the list to have the right height, ie\n\t        // otherwise it would not have scrolls yet and ensureIndeVisible would do nothing\n\t        this.virtualList.refresh();\n\t        if (selectedIndex >= 0) {\n\t            this.virtualList.ensureIndexVisible(selectedIndex);\n\t        }\n\t        // we call refresh again, as the list could of moved, and we need to render the new rows\n\t        this.virtualList.refresh();\n\t        if (this.focusAfterAttached) {\n\t            this.getGui().focus();\n\t        }\n\t    };\n\t    RichSelectCellEditor.prototype.getValue = function () {\n\t        return this.selectedValue;\n\t    };\n\t    RichSelectCellEditor.prototype.isPopup = function () {\n\t        return true;\n\t    };\n\t    return RichSelectCellEditor;\n\t}(main_1.Component));\n\tRichSelectCellEditor.TEMPLATE = \n\t// tab index is needed so we can focus, which is needed for keyboard events\n\t'<div class=\"ag-rich-select\" tabindex=\"0\">' +\n\t    '<div class=\"ag-rich-select-value\"></div>' +\n\t    '<div class=\"ag-rich-select-list\"></div>' +\n\t    '</div>';\n\t__decorate([\n\t    main_1.Autowired('context'),\n\t    __metadata(\"design:type\", main_1.Context)\n\t], RichSelectCellEditor.prototype, \"context\", void 0);\n\t__decorate([\n\t    main_1.Autowired('cellRendererService'),\n\t    __metadata(\"design:type\", main_1.CellRendererService)\n\t], RichSelectCellEditor.prototype, \"cellRendererService\", void 0);\n\texports.RichSelectCellEditor = RichSelectCellEditor;\n\n\n/***/ }),\n/* 145 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t    function __() { this.constructor = d; }\n\t    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar main_1 = __webpack_require__(2);\n\tvar RichSelectRow = (function (_super) {\n\t    __extends(RichSelectRow, _super);\n\t    function RichSelectRow(cellRenderer) {\n\t        var _this = _super.call(this, '<div class=\"ag-rich-select-row\"></div>') || this;\n\t        _this.cellRenderer = cellRenderer;\n\t        return _this;\n\t    }\n\t    RichSelectRow.prototype.setState = function (value, selected) {\n\t        if (main_1.Utils.exists(this.cellRenderer)) {\n\t            this.populateWithRenderer(value);\n\t        }\n\t        else {\n\t            this.populateWithoutRenderer(value);\n\t        }\n\t        main_1.Utils.addOrRemoveCssClass(this.getGui(), 'ag-rich-select-row-selected', selected);\n\t    };\n\t    RichSelectRow.prototype.populateWithoutRenderer = function (value) {\n\t        if (main_1.Utils.exists(value) && value !== '') {\n\t            // not using innerHTML to prevent injection of HTML\n\t            // https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML#Security_considerations\n\t            this.getGui().textContent = value.toString();\n\t        }\n\t        else {\n\t            // putting in blank, so if missing, at least the user can click on it\n\t            this.getGui().innerHTML = '&nbsp;';\n\t        }\n\t    };\n\t    RichSelectRow.prototype.populateWithRenderer = function (value) {\n\t        var childComponent = this.cellRendererService.useCellRenderer(this.cellRenderer, this.getGui(), { value: value });\n\t        if (childComponent && childComponent.destroy) {\n\t            this.addDestroyFunc(childComponent.destroy.bind(childComponent));\n\t        }\n\t    };\n\t    return RichSelectRow;\n\t}(main_1.Component));\n\t__decorate([\n\t    main_1.Autowired('cellRendererService'),\n\t    __metadata(\"design:type\", main_1.CellRendererService)\n\t], RichSelectRow.prototype, \"cellRendererService\", void 0);\n\texports.RichSelectRow = RichSelectRow;\n\n\n/***/ }),\n/* 146 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar main_1 = __webpack_require__(2);\n\tvar main_2 = __webpack_require__(2);\n\tvar md5_1 = __webpack_require__(147);\n\tvar LicenseManager = LicenseManager_1 = (function () {\n\t    function LicenseManager() {\n\t    }\n\t    LicenseManager.prototype.validateLicense = function () {\n\t        var gridReleaseDate = LicenseManager_1.getGridReleaseDate();\n\t        var valid = false;\n\t        var current = false;\n\t        var expiry = null;\n\t        if (!main_2.Utils.missingOrEmpty(LicenseManager_1.licenseKey) && LicenseManager_1.licenseKey.length > 32) {\n\t            var _a = LicenseManager_1.extractLicenseComponents(LicenseManager_1.licenseKey), md5 = _a.md5, license = _a.license;\n\t            if (md5 === this.md5.md5(license)) {\n\t                expiry = LicenseManager_1.extractExpiry(license);\n\t                if (!isNaN(expiry.getTime())) {\n\t                    valid = true;\n\t                    current = (gridReleaseDate < expiry);\n\t                }\n\t            }\n\t        }\n\t        if (!valid) {\n\t            LicenseManager_1.outputMessage('********************************************* Invalid License **************************************************', '* Your license for ag-Grid Enterprise is not valid - please contact accounts@ag-grid.com to obtain a valid license. *');\n\t        }\n\t        else if (!current) {\n\t            var formattedExpiryDate = LicenseManager_1.formatDate(expiry);\n\t            var formattedReleaseDate = LicenseManager_1.formatDate(gridReleaseDate);\n\t            LicenseManager_1.outputMessage('********************* License not compatible with installed version of ag-Grid Enterprise. *********************', \"Your license for ag-Grid Enterprise expired on \" + formattedExpiryDate + \" but the version installed was released on \" + formattedReleaseDate + \". Please \" +\n\t                'contact accounts@ag-grid.com to renew your license');\n\t        }\n\t    };\n\t    LicenseManager.extractExpiry = function (license) {\n\t        var restrictionHashed = license.substring(license.lastIndexOf('_') + 1, license.length);\n\t        return new Date(parseInt(LicenseManager_1.decode(restrictionHashed)));\n\t    };\n\t    LicenseManager.extractLicenseComponents = function (licenseKey) {\n\t        var hashStart = licenseKey.length - 32;\n\t        var md5 = licenseKey.substring(hashStart);\n\t        var license = licenseKey.substring(0, hashStart);\n\t        return { md5: md5, license: license };\n\t    };\n\t    LicenseManager.prototype.getLicenseDetails = function (licenseKey) {\n\t        var _a = LicenseManager_1.extractLicenseComponents(licenseKey), md5 = _a.md5, license = _a.license;\n\t        var valid = (md5 === this.md5.md5(license));\n\t        var expiry;\n\t        if (valid) {\n\t            expiry = LicenseManager_1.extractExpiry(license);\n\t            valid = !isNaN(expiry.getTime());\n\t        }\n\t        return {\n\t            licenseKey: licenseKey,\n\t            valid: valid,\n\t            expiry: valid ? LicenseManager_1.formatDate(expiry) : null\n\t        };\n\t    };\n\t    LicenseManager.outputMessage = function (header, message) {\n\t        console.error('****************************************************************************************************************');\n\t        console.error('*************************************** ag-Grid Enterprise License *********************************************');\n\t        console.error(header);\n\t        console.error(message);\n\t        console.error('****************************************************************************************************************');\n\t        console.error('****************************************************************************************************************');\n\t    };\n\t    LicenseManager.formatDate = function (date) {\n\t        var monthNames = [\n\t            'January', 'February', 'March',\n\t            'April', 'May', 'June', 'July',\n\t            'August', 'September', 'October',\n\t            'November', 'December'\n\t        ];\n\t        var day = date.getDate();\n\t        var monthIndex = date.getMonth();\n\t        var year = date.getFullYear();\n\t        return day + ' ' + monthNames[monthIndex] + ' ' + year;\n\t    };\n\t    LicenseManager.getGridReleaseDate = function () {\n\t        return new Date(parseInt(LicenseManager_1.decode(LicenseManager_1.RELEASE_INFORMATION)));\n\t    };\n\t    ;\n\t    LicenseManager.decode = function (input) {\n\t        var keystr = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';\n\t        var t = '';\n\t        var n, r, i;\n\t        var s, o, u, a;\n\t        var f = 0;\n\t        var e = input.replace(/[^A-Za-z0-9+/=]/g, '');\n\t        while (f < e.length) {\n\t            s = keystr.indexOf(e.charAt(f++));\n\t            o = keystr.indexOf(e.charAt(f++));\n\t            u = keystr.indexOf(e.charAt(f++));\n\t            a = keystr.indexOf(e.charAt(f++));\n\t            n = s << 2 | o >> 4;\n\t            r = (o & 15) << 4 | u >> 2;\n\t            i = (u & 3) << 6 | a;\n\t            t = t + String.fromCharCode(n);\n\t            if (u != 64) {\n\t                t = t + String.fromCharCode(r);\n\t            }\n\t            if (a != 64) {\n\t                t = t + String.fromCharCode(i);\n\t            }\n\t        }\n\t        t = LicenseManager_1.utf8_decode(t);\n\t        return t;\n\t    };\n\t    LicenseManager.utf8_decode = function (input) {\n\t        input = input.replace(/rn/g, 'n');\n\t        var t = '';\n\t        for (var n = 0; n < input.length; n++) {\n\t            var r = input.charCodeAt(n);\n\t            if (r < 128) {\n\t                t += String.fromCharCode(r);\n\t            }\n\t            else if (r > 127 && r < 2048) {\n\t                t += String.fromCharCode(r >> 6 | 192);\n\t                t += String.fromCharCode(r & 63 | 128);\n\t            }\n\t            else {\n\t                t += String.fromCharCode(r >> 12 | 224);\n\t                t += String.fromCharCode(r >> 6 & 63 | 128);\n\t                t += String.fromCharCode(r & 63 | 128);\n\t            }\n\t        }\n\t        return t;\n\t    };\n\t    LicenseManager.setLicenseKey = function (licenseKey) {\n\t        LicenseManager_1.licenseKey = licenseKey;\n\t    };\n\t    return LicenseManager;\n\t}());\n\tLicenseManager.RELEASE_INFORMATION = 'MTQ5MDc4OTQ1NzYzMQ==';\n\t__decorate([\n\t    main_1.Autowired('md5'),\n\t    __metadata(\"design:type\", md5_1.MD5)\n\t], LicenseManager.prototype, \"md5\", void 0);\n\tLicenseManager = LicenseManager_1 = __decorate([\n\t    main_1.Bean('licenseManager')\n\t], LicenseManager);\n\texports.LicenseManager = LicenseManager;\n\tvar LicenseManager_1;\n\n\n/***/ }),\n/* 147 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar main_1 = __webpack_require__(2);\n\tvar MD5 = (function () {\n\t    function MD5() {\n\t        this.ieCompatibility = false;\n\t    }\n\t    MD5.prototype.init = function () {\n\t        this.ieCompatibility = (this.md5('hello') != '5d41402abc4b2a76b9719d911017c592');\n\t    };\n\t    MD5.prototype.md5cycle = function (x, k) {\n\t        var a = x[0], b = x[1], c = x[2], d = x[3];\n\t        a = this.ff(a, b, c, d, k[0], 7, -680876936);\n\t        d = this.ff(d, a, b, c, k[1], 12, -389564586);\n\t        c = this.ff(c, d, a, b, k[2], 17, 606105819);\n\t        b = this.ff(b, c, d, a, k[3], 22, -1044525330);\n\t        a = this.ff(a, b, c, d, k[4], 7, -176418897);\n\t        d = this.ff(d, a, b, c, k[5], 12, 1200080426);\n\t        c = this.ff(c, d, a, b, k[6], 17, -1473231341);\n\t        b = this.ff(b, c, d, a, k[7], 22, -45705983);\n\t        a = this.ff(a, b, c, d, k[8], 7, 1770035416);\n\t        d = this.ff(d, a, b, c, k[9], 12, -1958414417);\n\t        c = this.ff(c, d, a, b, k[10], 17, -42063);\n\t        b = this.ff(b, c, d, a, k[11], 22, -1990404162);\n\t        a = this.ff(a, b, c, d, k[12], 7, 1804603682);\n\t        d = this.ff(d, a, b, c, k[13], 12, -40341101);\n\t        c = this.ff(c, d, a, b, k[14], 17, -1502002290);\n\t        b = this.ff(b, c, d, a, k[15], 22, 1236535329);\n\t        a = this.gg(a, b, c, d, k[1], 5, -165796510);\n\t        d = this.gg(d, a, b, c, k[6], 9, -1069501632);\n\t        c = this.gg(c, d, a, b, k[11], 14, 643717713);\n\t        b = this.gg(b, c, d, a, k[0], 20, -373897302);\n\t        a = this.gg(a, b, c, d, k[5], 5, -701558691);\n\t        d = this.gg(d, a, b, c, k[10], 9, 38016083);\n\t        c = this.gg(c, d, a, b, k[15], 14, -660478335);\n\t        b = this.gg(b, c, d, a, k[4], 20, -405537848);\n\t        a = this.gg(a, b, c, d, k[9], 5, 568446438);\n\t        d = this.gg(d, a, b, c, k[14], 9, -1019803690);\n\t        c = this.gg(c, d, a, b, k[3], 14, -187363961);\n\t        b = this.gg(b, c, d, a, k[8], 20, 1163531501);\n\t        a = this.gg(a, b, c, d, k[13], 5, -1444681467);\n\t        d = this.gg(d, a, b, c, k[2], 9, -51403784);\n\t        c = this.gg(c, d, a, b, k[7], 14, 1735328473);\n\t        b = this.gg(b, c, d, a, k[12], 20, -1926607734);\n\t        a = this.hh(a, b, c, d, k[5], 4, -378558);\n\t        d = this.hh(d, a, b, c, k[8], 11, -2022574463);\n\t        c = this.hh(c, d, a, b, k[11], 16, 1839030562);\n\t        b = this.hh(b, c, d, a, k[14], 23, -35309556);\n\t        a = this.hh(a, b, c, d, k[1], 4, -1530992060);\n\t        d = this.hh(d, a, b, c, k[4], 11, 1272893353);\n\t        c = this.hh(c, d, a, b, k[7], 16, -155497632);\n\t        b = this.hh(b, c, d, a, k[10], 23, -1094730640);\n\t        a = this.hh(a, b, c, d, k[13], 4, 681279174);\n\t        d = this.hh(d, a, b, c, k[0], 11, -358537222);\n\t        c = this.hh(c, d, a, b, k[3], 16, -722521979);\n\t        b = this.hh(b, c, d, a, k[6], 23, 76029189);\n\t        a = this.hh(a, b, c, d, k[9], 4, -640364487);\n\t        d = this.hh(d, a, b, c, k[12], 11, -421815835);\n\t        c = this.hh(c, d, a, b, k[15], 16, 530742520);\n\t        b = this.hh(b, c, d, a, k[2], 23, -995338651);\n\t        a = this.ii(a, b, c, d, k[0], 6, -198630844);\n\t        d = this.ii(d, a, b, c, k[7], 10, 1126891415);\n\t        c = this.ii(c, d, a, b, k[14], 15, -1416354905);\n\t        b = this.ii(b, c, d, a, k[5], 21, -57434055);\n\t        a = this.ii(a, b, c, d, k[12], 6, 1700485571);\n\t        d = this.ii(d, a, b, c, k[3], 10, -1894986606);\n\t        c = this.ii(c, d, a, b, k[10], 15, -1051523);\n\t        b = this.ii(b, c, d, a, k[1], 21, -2054922799);\n\t        a = this.ii(a, b, c, d, k[8], 6, 1873313359);\n\t        d = this.ii(d, a, b, c, k[15], 10, -30611744);\n\t        c = this.ii(c, d, a, b, k[6], 15, -1560198380);\n\t        b = this.ii(b, c, d, a, k[13], 21, 1309151649);\n\t        a = this.ii(a, b, c, d, k[4], 6, -145523070);\n\t        d = this.ii(d, a, b, c, k[11], 10, -1120210379);\n\t        c = this.ii(c, d, a, b, k[2], 15, 718787259);\n\t        b = this.ii(b, c, d, a, k[9], 21, -343485551);\n\t        x[0] = this.add32(a, x[0]);\n\t        x[1] = this.add32(b, x[1]);\n\t        x[2] = this.add32(c, x[2]);\n\t        x[3] = this.add32(d, x[3]);\n\t    };\n\t    MD5.prototype.cmn = function (q, a, b, x, s, t) {\n\t        a = this.add32(this.add32(a, q), this.add32(x, t));\n\t        return this.add32((a << s) | (a >>> (32 - s)), b);\n\t    };\n\t    MD5.prototype.ff = function (a, b, c, d, x, s, t) {\n\t        return this.cmn((b & c) | ((~b) & d), a, b, x, s, t);\n\t    };\n\t    MD5.prototype.gg = function (a, b, c, d, x, s, t) {\n\t        return this.cmn((b & d) | (c & (~d)), a, b, x, s, t);\n\t    };\n\t    MD5.prototype.hh = function (a, b, c, d, x, s, t) {\n\t        return this.cmn(b ^ c ^ d, a, b, x, s, t);\n\t    };\n\t    MD5.prototype.ii = function (a, b, c, d, x, s, t) {\n\t        return this.cmn(c ^ (b | (~d)), a, b, x, s, t);\n\t    };\n\t    MD5.prototype.md51 = function (s) {\n\t        var n = s.length, state = [1732584193, -271733879, -1732584194, 271733878], i;\n\t        for (i = 64; i <= s.length; i += 64) {\n\t            this.md5cycle(state, this.md5blk(s.substring(i - 64, i)));\n\t        }\n\t        s = s.substring(i - 64);\n\t        var tail = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];\n\t        for (i = 0; i < s.length; i++)\n\t            tail[i >> 2] |= s.charCodeAt(i) << ((i % 4) << 3);\n\t        tail[i >> 2] |= 0x80 << ((i % 4) << 3);\n\t        if (i > 55) {\n\t            this.md5cycle(state, tail);\n\t            for (i = 0; i < 16; i++)\n\t                tail[i] = 0;\n\t        }\n\t        tail[14] = n * 8;\n\t        this.md5cycle(state, tail);\n\t        return state;\n\t    };\n\t    /* there needs to be support for Unicode here, * unless we pretend that we can redefine the MD-5\n\t     * algorithm for multi-byte characters (perhaps by adding every four 16-bit characters and\n\t     * shortening the sum to 32 bits). Otherwise I suthis.ggest performing MD-5 as if every character\n\t     * was two bytes--e.g., 0040 0025 = @%--but then how will an ordinary MD-5 sum be matched?\n\t     * There is no way to standardize text to something like UTF-8 before transformation; speed cost is\n\t     * utterly prohibitive. The JavaScript standard itself needs to look at this: it should start\n\t     * providing access to strings as preformed UTF-8 8-bit unsigned value arrays.\n\t     */\n\t    MD5.prototype.md5blk = function (s) {\n\t        var md5blks = [], i;\n\t        /* Andy King said do it this way. */\n\t        for (i = 0; i < 64; i += 4) {\n\t            md5blks[i >> 2] = s.charCodeAt(i)\n\t                + (s.charCodeAt(i + 1) << 8)\n\t                + (s.charCodeAt(i + 2) << 16)\n\t                + (s.charCodeAt(i + 3) << 24);\n\t        }\n\t        return md5blks;\n\t    };\n\t    MD5.prototype.rhex = function (n) {\n\t        var hex_chr = '0123456789abcdef'.split('');\n\t        var s = '', j = 0;\n\t        for (; j < 4; j++)\n\t            s += hex_chr[(n >> (j * 8 + 4)) & 0x0F]\n\t                + hex_chr[(n >> (j * 8)) & 0x0F];\n\t        return s;\n\t    };\n\t    MD5.prototype.hex = function (x) {\n\t        for (var i = 0; i < x.length; i++)\n\t            x[i] = this.rhex(x[i]);\n\t        return x.join('');\n\t    };\n\t    MD5.prototype.md5 = function (s) {\n\t        return this.hex(this.md51(s));\n\t    };\n\t    MD5.prototype.add32 = function (a, b) {\n\t        return this.ieCompatibility ? this.add32Compat(a, b) : this.add32Std(a, b);\n\t    };\n\t    /* this function is much faster, so if possible we use it. Some IEs are the only ones I know of that\n\t     need the idiotic second function, generated by an if clause.  */\n\t    MD5.prototype.add32Std = function (a, b) {\n\t        return (a + b) & 0xFFFFFFFF;\n\t    };\n\t    MD5.prototype.add32Compat = function (x, y) {\n\t        var lsw = (x & 0xFFFF) + (y & 0xFFFF), msw = (x >> 16) + (y >> 16) + (lsw >> 16);\n\t        return (msw << 16) | (lsw & 0xFFFF);\n\t    };\n\t    return MD5;\n\t}());\n\t__decorate([\n\t    main_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], MD5.prototype, \"init\", null);\n\tMD5 = __decorate([\n\t    main_1.Bean('md5')\n\t], MD5);\n\texports.MD5 = MD5;\n\n\n/***/ }),\n/* 148 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t    function __() { this.constructor = d; }\n\t    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar main_1 = __webpack_require__(2);\n\tvar statusItem_1 = __webpack_require__(149);\n\tvar rangeController_1 = __webpack_require__(133);\n\tvar StatusBar = StatusBar_1 = (function (_super) {\n\t    __extends(StatusBar, _super);\n\t    function StatusBar() {\n\t        var _this = _super.call(this, StatusBar_1.TEMPLATE) || this;\n\t        _this.aggregationsComponent = new main_1.Component('<div class=\"ag-status-bar-aggregations\"></div>');\n\t        _this.infoLabel = new main_1.Component(\"<div class=\\\"ag-status-bar-info-label\\\"></div>\");\n\t        return _this;\n\t    }\n\t    StatusBar.prototype.init = function () {\n\t        this.createStatusItems();\n\t        this.eventService.addEventListener(main_1.Events.EVENT_RANGE_SELECTION_CHANGED, this.onRangeSelectionChanged.bind(this));\n\t    };\n\t    StatusBar.prototype.createStatusItems = function () {\n\t        var _this = this;\n\t        var localeTextFunc = this.gridOptionsWrapper.getLocaleTextFunc();\n\t        this.statusItemSum = new statusItem_1.StatusItem(localeTextFunc('sum', 'Sum'));\n\t        this.statusItemCount = new statusItem_1.StatusItem(localeTextFunc('count', 'Count'));\n\t        this.statusItemMin = new statusItem_1.StatusItem(localeTextFunc('min', 'Min'));\n\t        this.statusItemMax = new statusItem_1.StatusItem(localeTextFunc('max', 'Max'));\n\t        this.statusItemAvg = new statusItem_1.StatusItem(localeTextFunc('average', 'Average'));\n\t        this.forEachStatusItem(function (statusItem) {\n\t            _this.context.wireBean(statusItem);\n\t            _this.aggregationsComponent.appendChild(statusItem);\n\t            statusItem.setVisible(false);\n\t        });\n\t        this.appendChild(this.infoLabel);\n\t        this.appendChild(this.aggregationsComponent);\n\t    };\n\t    StatusBar.prototype.forEachStatusItem = function (callback) {\n\t        [this.statusItemAvg, this.statusItemCount, this.statusItemMin, this.statusItemMax, this.statusItemSum].forEach(callback);\n\t    };\n\t    StatusBar.prototype.onRangeSelectionChanged = function () {\n\t        var _this = this;\n\t        var cellRanges = this.rangeController.getCellRanges();\n\t        var sum = 0;\n\t        var count = 0;\n\t        var numberCount = 0;\n\t        var min = null;\n\t        var max = null;\n\t        var cellsSoFar = {};\n\t        if (!main_1.Utils.missingOrEmpty(cellRanges)) {\n\t            cellRanges.forEach(function (cellRange) {\n\t                // get starting and ending row, remember rowEnd could be before rowStart\n\t                var startRow = cellRange.start.getGridRow();\n\t                var endRow = cellRange.end.getGridRow();\n\t                var startRowIsFirst = startRow.before(endRow);\n\t                var currentRow = startRowIsFirst ? startRow : endRow;\n\t                var lastRow = startRowIsFirst ? endRow : startRow;\n\t                while (true) {\n\t                    cellRange.columns.forEach(function (column) {\n\t                        // we only want to include each cell once, in case a cell is in multiple ranges\n\t                        var cellId = currentRow.getGridCell(column).createId();\n\t                        if (cellsSoFar[cellId]) {\n\t                            return;\n\t                        }\n\t                        cellsSoFar[cellId] = true;\n\t                        var rowNode = _this.getRowNode(currentRow);\n\t                        var value = _this.valueService.getValue(column, rowNode);\n\t                        // if empty cell, skip it, doesn't impact count or anything\n\t                        if (main_1.Utils.missing(value) || value === '') {\n\t                            return;\n\t                        }\n\t                        // see if value is wrapped, can happen when doing count() or avg() functions\n\t                        if (value.value) {\n\t                            value = value.value;\n\t                        }\n\t                        if (typeof value === 'string') {\n\t                            value = Number(value);\n\t                        }\n\t                        if (typeof value === 'number' && !isNaN(value)) {\n\t                            sum += value;\n\t                            if (max === null || value > max) {\n\t                                max = value;\n\t                            }\n\t                            if (min === null || value < min) {\n\t                                min = value;\n\t                            }\n\t                            numberCount++;\n\t                        }\n\t                        count++;\n\t                    });\n\t                    if (currentRow.equals(lastRow)) {\n\t                        break;\n\t                    }\n\t                    currentRow = _this.cellNavigationService.getRowBelow(currentRow);\n\t                }\n\t            });\n\t        }\n\t        var gotResult = count > 1;\n\t        var gotNumberResult = numberCount > 0;\n\t        // we should count even if no numbers\n\t        if (gotResult) {\n\t            this.statusItemCount.setValue(count);\n\t        }\n\t        this.statusItemCount.setVisible(gotResult);\n\t        // if numbers, then show the number items\n\t        if (gotNumberResult) {\n\t            this.statusItemSum.setValue(sum);\n\t            this.statusItemMin.setValue(min);\n\t            this.statusItemMax.setValue(max);\n\t            this.statusItemAvg.setValue(sum / numberCount);\n\t        }\n\t        this.statusItemSum.setVisible(gotNumberResult);\n\t        this.statusItemMin.setVisible(gotNumberResult);\n\t        this.statusItemMax.setVisible(gotNumberResult);\n\t        this.statusItemAvg.setVisible(gotNumberResult);\n\t    };\n\t    StatusBar.prototype.getRowNode = function (gridRow) {\n\t        switch (gridRow.floating) {\n\t            case main_1.Constants.FLOATING_TOP:\n\t                return this.floatingRowModel.getFloatingTopRowData()[gridRow.rowIndex];\n\t            case main_1.Constants.FLOATING_BOTTOM:\n\t                return this.floatingRowModel.getFloatingBottomRowData()[gridRow.rowIndex];\n\t            default:\n\t                return this.rowModel.getRow(gridRow.rowIndex);\n\t        }\n\t    };\n\t    return StatusBar;\n\t}(main_1.Component));\n\tStatusBar.TEMPLATE = '<div class=\"ag-status-bar\">' +\n\t    '</div>';\n\t__decorate([\n\t    main_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", main_1.EventService)\n\t], StatusBar.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    main_1.Autowired('rangeController'),\n\t    __metadata(\"design:type\", rangeController_1.RangeController)\n\t], StatusBar.prototype, \"rangeController\", void 0);\n\t__decorate([\n\t    main_1.Autowired('valueService'),\n\t    __metadata(\"design:type\", main_1.ValueService)\n\t], StatusBar.prototype, \"valueService\", void 0);\n\t__decorate([\n\t    main_1.Autowired('cellNavigationService'),\n\t    __metadata(\"design:type\", main_1.CellNavigationService)\n\t], StatusBar.prototype, \"cellNavigationService\", void 0);\n\t__decorate([\n\t    main_1.Autowired('floatingRowModel'),\n\t    __metadata(\"design:type\", main_1.FloatingRowModel)\n\t], StatusBar.prototype, \"floatingRowModel\", void 0);\n\t__decorate([\n\t    main_1.Autowired('rowModel'),\n\t    __metadata(\"design:type\", Object)\n\t], StatusBar.prototype, \"rowModel\", void 0);\n\t__decorate([\n\t    main_1.Autowired('context'),\n\t    __metadata(\"design:type\", main_1.Context)\n\t], StatusBar.prototype, \"context\", void 0);\n\t__decorate([\n\t    main_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", main_1.GridOptionsWrapper)\n\t], StatusBar.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    main_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], StatusBar.prototype, \"init\", null);\n\tStatusBar = StatusBar_1 = __decorate([\n\t    main_1.Bean('statusBar'),\n\t    __metadata(\"design:paramtypes\", [])\n\t], StatusBar);\n\texports.StatusBar = StatusBar;\n\tvar StatusBar_1;\n\n\n/***/ }),\n/* 149 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t    function __() { this.constructor = d; }\n\t    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar main_1 = __webpack_require__(2);\n\tvar StatusItem = (function (_super) {\n\t    __extends(StatusItem, _super);\n\t    function StatusItem(label) {\n\t        var _this = _super.call(this, StatusItem.TEMPLATE) || this;\n\t        _this.queryForHtmlElement('#_label').innerHTML = label;\n\t        return _this;\n\t    }\n\t    StatusItem.prototype.init = function () {\n\t        this.lbValue = this.queryForHtmlElement('#_value');\n\t    };\n\t    StatusItem.prototype.setValue = function (value) {\n\t        this.lbValue.innerHTML = main_1.Utils.formatNumberTwoDecimalPlacesAndCommas(value);\n\t    };\n\t    return StatusItem;\n\t}(main_1.Component));\n\tStatusItem.TEMPLATE = '<span class=\"ag-status-bar-item\">' +\n\t    '  <span id=\"_label\"></span>' +\n\t    '  <span id=\"_value\"></span>' +\n\t    '</span>';\n\t__decorate([\n\t    main_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], StatusItem.prototype, \"init\", null);\n\texports.StatusItem = StatusItem;\n\n\n/***/ }),\n/* 150 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t    function __() { this.constructor = d; }\n\t    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar ag_grid_1 = __webpack_require__(2);\n\tvar clipboardService_1 = __webpack_require__(132);\n\tvar menuItemComponent_1 = __webpack_require__(130);\n\tvar menuList_1 = __webpack_require__(129);\n\tvar menuItemMapper_1 = __webpack_require__(131);\n\tvar ContextMenuFactory = (function () {\n\t    function ContextMenuFactory() {\n\t    }\n\t    ContextMenuFactory.prototype.init = function () {\n\t    };\n\t    ContextMenuFactory.prototype.getMenuItems = function (node, column, value) {\n\t        var defaultMenuOptions;\n\t        if (ag_grid_1.Utils.exists(node)) {\n\t            // if user clicks a cell\n\t            defaultMenuOptions = ['copy', 'copyWithHeaders', 'paste', 'separator', 'toolPanel'];\n\t            // only put in the export if normal row model, other row models confuse things with export.\n\t            if (this.rowModel.getType() === ag_grid_1.Constants.ROW_MODEL_TYPE_NORMAL) {\n\t                defaultMenuOptions.push('export');\n\t            }\n\t        }\n\t        else {\n\t            // if user clicks outside of a cell (eg below the rows, or not rows present)\n\t            defaultMenuOptions = ['toolPanel'];\n\t        }\n\t        if (this.gridOptionsWrapper.getContextMenuItemsFunc()) {\n\t            var userFunc = this.gridOptionsWrapper.getContextMenuItemsFunc();\n\t            var params = {\n\t                node: node,\n\t                column: column,\n\t                value: value,\n\t                defaultItems: defaultMenuOptions,\n\t                api: this.gridOptionsWrapper.getApi(),\n\t                columnApi: this.gridOptionsWrapper.getColumnApi(),\n\t                context: this.gridOptionsWrapper.getContext()\n\t            };\n\t            var menuItemsFromUser = userFunc(params);\n\t            return menuItemsFromUser;\n\t        }\n\t        else {\n\t            return defaultMenuOptions;\n\t        }\n\t    };\n\t    ContextMenuFactory.prototype.showMenu = function (node, column, value, mouseEvent) {\n\t        var menuItems = this.getMenuItems(node, column, value);\n\t        if (ag_grid_1.Utils.missingOrEmpty(menuItems)) {\n\t            return;\n\t        }\n\t        var menu = new ContextMenu(menuItems);\n\t        this.context.wireBean(menu);\n\t        var eMenuGui = menu.getGui();\n\t        // need to show filter before positioning, as only after filter\n\t        // is visible can we find out what the width of it is\n\t        var hidePopup = this.popupService.addAsModalPopup(eMenuGui, true, function () { return menu.destroy(); });\n\t        this.popupService.positionPopupUnderMouseEvent({\n\t            mouseEvent: mouseEvent,\n\t            ePopup: eMenuGui\n\t        });\n\t        menu.afterGuiAttached(hidePopup);\n\t    };\n\t    return ContextMenuFactory;\n\t}());\n\t__decorate([\n\t    ag_grid_1.Autowired('context'),\n\t    __metadata(\"design:type\", ag_grid_1.Context)\n\t], ContextMenuFactory.prototype, \"context\", void 0);\n\t__decorate([\n\t    ag_grid_1.Autowired('popupService'),\n\t    __metadata(\"design:type\", ag_grid_1.PopupService)\n\t], ContextMenuFactory.prototype, \"popupService\", void 0);\n\t__decorate([\n\t    ag_grid_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", ag_grid_1.GridOptionsWrapper)\n\t], ContextMenuFactory.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    ag_grid_1.Autowired('rowModel'),\n\t    __metadata(\"design:type\", Object)\n\t], ContextMenuFactory.prototype, \"rowModel\", void 0);\n\t__decorate([\n\t    ag_grid_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], ContextMenuFactory.prototype, \"init\", null);\n\tContextMenuFactory = __decorate([\n\t    ag_grid_1.Bean('contextMenuFactory')\n\t], ContextMenuFactory);\n\texports.ContextMenuFactory = ContextMenuFactory;\n\tvar ContextMenu = (function (_super) {\n\t    __extends(ContextMenu, _super);\n\t    function ContextMenu(menuItems) {\n\t        var _this = _super.call(this, '<div class=\"ag-menu\"></div>') || this;\n\t        _this.menuItems = menuItems;\n\t        return _this;\n\t    }\n\t    ContextMenu.prototype.addMenuItems = function () {\n\t        var menuList = new menuList_1.MenuList();\n\t        this.context.wireBean(menuList);\n\t        var menuItemsMapped = this.menuItemMapper.mapWithStockItems(this.menuItems, null);\n\t        menuList.addMenuItems(menuItemsMapped);\n\t        this.appendChild(menuList);\n\t        menuList.addEventListener(menuItemComponent_1.MenuItemComponent.EVENT_ITEM_SELECTED, this.destroy.bind(this));\n\t    };\n\t    ContextMenu.prototype.afterGuiAttached = function (hidePopup) {\n\t        this.addDestroyFunc(hidePopup);\n\t        // if the body scrolls, we want to hide the menu, as the menu will not appear in the right location anymore\n\t        this.addDestroyableEventListener(this.eventService, 'bodyScroll', this.destroy.bind(this));\n\t    };\n\t    return ContextMenu;\n\t}(ag_grid_1.Component));\n\t__decorate([\n\t    ag_grid_1.Autowired('context'),\n\t    __metadata(\"design:type\", ag_grid_1.Context)\n\t], ContextMenu.prototype, \"context\", void 0);\n\t__decorate([\n\t    ag_grid_1.Autowired('clipboardService'),\n\t    __metadata(\"design:type\", clipboardService_1.ClipboardService)\n\t], ContextMenu.prototype, \"clipboardService\", void 0);\n\t__decorate([\n\t    ag_grid_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", ag_grid_1.GridOptionsWrapper)\n\t], ContextMenu.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    ag_grid_1.Autowired('gridApi'),\n\t    __metadata(\"design:type\", ag_grid_1.GridApi)\n\t], ContextMenu.prototype, \"gridApi\", void 0);\n\t__decorate([\n\t    ag_grid_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", ag_grid_1.EventService)\n\t], ContextMenu.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    ag_grid_1.Autowired('menuItemMapper'),\n\t    __metadata(\"design:type\", menuItemMapper_1.MenuItemMapper)\n\t], ContextMenu.prototype, \"menuItemMapper\", void 0);\n\t__decorate([\n\t    ag_grid_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], ContextMenu.prototype, \"addMenuItems\", null);\n\n\n/***/ }),\n/* 151 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar main_1 = __webpack_require__(2);\n\tvar ViewportRowModel = (function () {\n\t    function ViewportRowModel() {\n\t        // rowRenderer tells us these\n\t        this.firstRow = -1;\n\t        this.lastRow = -1;\n\t        // datasource tells us this\n\t        this.rowCount = -1;\n\t        this.rowNodesByIndex = {};\n\t    }\n\t    ViewportRowModel.prototype.init = function () {\n\t        this.rowHeight = this.gridOptionsWrapper.getRowHeightAsNumber();\n\t        this.eventService.addEventListener(main_1.Events.EVENT_VIEWPORT_CHANGED, this.onViewportChanged.bind(this));\n\t        var viewportEnabled = this.gridOptionsWrapper.isRowModelViewport();\n\t        if (viewportEnabled && this.gridOptionsWrapper.getViewportDatasource()) {\n\t            this.setViewportDatasource(this.gridOptionsWrapper.getViewportDatasource());\n\t        }\n\t    };\n\t    ViewportRowModel.prototype.destroy = function () {\n\t        this.destroyCurrentDatasource();\n\t    };\n\t    ViewportRowModel.prototype.isLastRowFound = function () {\n\t        return true;\n\t    };\n\t    ViewportRowModel.prototype.destroyCurrentDatasource = function () {\n\t        if (this.viewportDatasource && this.viewportDatasource.destroy) {\n\t            this.viewportDatasource.destroy();\n\t        }\n\t    };\n\t    ViewportRowModel.prototype.calculateFirstRow = function (firstRenderedRow) {\n\t        var bufferSize = this.gridOptionsWrapper.getViewportRowModelBufferSize();\n\t        var pageSize = this.gridOptionsWrapper.getViewportRowModelPageSize();\n\t        var afterBuffer = firstRenderedRow - bufferSize;\n\t        if (afterBuffer < 0) {\n\t            return 0;\n\t        }\n\t        else {\n\t            return Math.floor(afterBuffer / pageSize) * pageSize;\n\t        }\n\t    };\n\t    ViewportRowModel.prototype.calculateLastRow = function (lastRenderedRow) {\n\t        var bufferSize = this.gridOptionsWrapper.getViewportRowModelBufferSize();\n\t        var pageSize = this.gridOptionsWrapper.getViewportRowModelPageSize();\n\t        var afterBuffer = lastRenderedRow + bufferSize;\n\t        var result = Math.ceil(afterBuffer / pageSize) * pageSize;\n\t        if (result <= this.rowCount) {\n\t            return result;\n\t        }\n\t        else {\n\t            return this.rowCount;\n\t        }\n\t    };\n\t    ViewportRowModel.prototype.onViewportChanged = function (event) {\n\t        var newFirst = this.calculateFirstRow(event.firstRow);\n\t        var newLast = this.calculateLastRow(event.lastRow);\n\t        if (this.firstRow !== newFirst || this.lastRow !== newLast) {\n\t            this.firstRow = newFirst;\n\t            this.lastRow = newLast;\n\t            this.purgeRowsNotInViewport();\n\t            if (this.viewportDatasource) {\n\t                this.viewportDatasource.setViewportRange(this.firstRow, this.lastRow);\n\t            }\n\t        }\n\t    };\n\t    ViewportRowModel.prototype.purgeRowsNotInViewport = function () {\n\t        var _this = this;\n\t        Object.keys(this.rowNodesByIndex).forEach(function (indexStr) {\n\t            var index = parseInt(indexStr);\n\t            if (index < _this.firstRow || index > _this.lastRow) {\n\t                delete _this.rowNodesByIndex[index];\n\t            }\n\t        });\n\t    };\n\t    ViewportRowModel.prototype.setViewportDatasource = function (viewportDatasource) {\n\t        this.destroyCurrentDatasource();\n\t        this.viewportDatasource = viewportDatasource;\n\t        this.rowCount = 0;\n\t        if (!viewportDatasource.init) {\n\t            console.warn('ag-Grid: viewport is missing init method.');\n\t        }\n\t        else {\n\t            viewportDatasource.init({\n\t                setRowCount: this.setRowCount.bind(this),\n\t                setRowData: this.setRowData.bind(this),\n\t                getRow: this.getRow.bind(this)\n\t            });\n\t        }\n\t    };\n\t    ViewportRowModel.prototype.getType = function () {\n\t        return main_1.Constants.ROW_MODEL_TYPE_VIEWPORT;\n\t    };\n\t    ViewportRowModel.prototype.getRow = function (rowIndex) {\n\t        if (!this.rowNodesByIndex[rowIndex]) {\n\t            this.rowNodesByIndex[rowIndex] = this.createBlankRowNode(rowIndex);\n\t        }\n\t        return this.rowNodesByIndex[rowIndex];\n\t    };\n\t    ViewportRowModel.prototype.getPageFirstRow = function () {\n\t        return 0;\n\t    };\n\t    ViewportRowModel.prototype.getPageLastRow = function () {\n\t        return this.rowCount - 1;\n\t    };\n\t    ViewportRowModel.prototype.getRowCount = function () {\n\t        return this.rowCount;\n\t    };\n\t    ViewportRowModel.prototype.getRowIndexAtPixel = function (pixel) {\n\t        if (this.rowHeight !== 0) {\n\t            return Math.floor(pixel / this.rowHeight);\n\t        }\n\t        else {\n\t            return 0;\n\t        }\n\t    };\n\t    ViewportRowModel.prototype.getRowBounds = function (index) {\n\t        return {\n\t            rowHeight: this.rowHeight,\n\t            rowTop: this.rowHeight * index\n\t        };\n\t    };\n\t    ViewportRowModel.prototype.getCurrentPageHeight = function () {\n\t        return this.rowCount * this.rowHeight;\n\t    };\n\t    ViewportRowModel.prototype.isEmpty = function () {\n\t        return this.rowCount > 0;\n\t    };\n\t    ViewportRowModel.prototype.isRowsToRender = function () {\n\t        return this.rowCount > 0;\n\t    };\n\t    ViewportRowModel.prototype.forEachNode = function (callback) {\n\t        var _this = this;\n\t        var callbackCount = 0;\n\t        Object.keys(this.rowNodesByIndex).forEach(function (indexStr) {\n\t            var index = parseInt(indexStr);\n\t            var rowNode = _this.rowNodesByIndex[index];\n\t            callback(rowNode, callbackCount);\n\t            callbackCount++;\n\t        });\n\t    };\n\t    ViewportRowModel.prototype.setRowData = function (rowData) {\n\t        var _this = this;\n\t        main_1.Utils.iterateObject(rowData, function (indexStr, dataItem) {\n\t            var index = parseInt(indexStr);\n\t            // we should never keep rows that we didn't specifically ask for, this\n\t            // guarantees the contract we have with the server.\n\t            if (index >= _this.firstRow && index <= _this.lastRow) {\n\t                var rowNode = _this.rowNodesByIndex[index];\n\t                // the abnormal case is we requested a row even though the grid didn't need it\n\t                // as a result of the paging and buffer (ie the row is off screen), in which\n\t                // case we need to create a new node now\n\t                if (main_1.Utils.missing(rowNode)) {\n\t                    rowNode = _this.createBlankRowNode(index);\n\t                    _this.rowNodesByIndex[index] = rowNode;\n\t                }\n\t                // now we deffo have a row node, so set in the details\n\t                // if the grid already asked for this row (the normal case), then we would\n\t                // of put a placeholder node in place.\n\t                rowNode.setDataAndId(dataItem, index.toString());\n\t            }\n\t        });\n\t    };\n\t    ViewportRowModel.prototype.createBlankRowNode = function (rowIndex) {\n\t        var rowNode = new main_1.RowNode();\n\t        this.context.wireBean(rowNode);\n\t        rowNode.setRowHeight(this.rowHeight);\n\t        rowNode.setRowTop(this.rowHeight * rowIndex);\n\t        rowNode.setRowIndex(rowIndex);\n\t        return rowNode;\n\t    };\n\t    ViewportRowModel.prototype.setRowCount = function (rowCount) {\n\t        if (rowCount !== this.rowCount) {\n\t            this.rowCount = rowCount;\n\t            this.eventService.dispatchEvent(main_1.Events.EVENT_MODEL_UPDATED);\n\t        }\n\t    };\n\t    ViewportRowModel.prototype.insertItemsAtIndex = function (index, items, skipRefresh) {\n\t        console.log('not yet supported');\n\t    };\n\t    ViewportRowModel.prototype.removeItems = function (rowNodes, skipRefresh) {\n\t        console.log('not yet supported');\n\t    };\n\t    ViewportRowModel.prototype.addItems = function (item, skipRefresh) {\n\t        console.log('not yet supported');\n\t    };\n\t    ViewportRowModel.prototype.isRowPresent = function (rowNode) {\n\t        console.log('not yet supported');\n\t        return false;\n\t    };\n\t    return ViewportRowModel;\n\t}());\n\t__decorate([\n\t    main_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", main_1.GridOptionsWrapper)\n\t], ViewportRowModel.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    main_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", main_1.EventService)\n\t], ViewportRowModel.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    main_1.Autowired('selectionController'),\n\t    __metadata(\"design:type\", main_1.SelectionController)\n\t], ViewportRowModel.prototype, \"selectionController\", void 0);\n\t__decorate([\n\t    main_1.Autowired('context'),\n\t    __metadata(\"design:type\", main_1.Context)\n\t], ViewportRowModel.prototype, \"context\", void 0);\n\t__decorate([\n\t    main_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], ViewportRowModel.prototype, \"init\", null);\n\t__decorate([\n\t    main_1.PreDestroy,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], ViewportRowModel.prototype, \"destroy\", null);\n\tViewportRowModel = __decorate([\n\t    main_1.Bean('rowModel')\n\t], ViewportRowModel);\n\texports.ViewportRowModel = ViewportRowModel;\n\n\n/***/ }),\n/* 152 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t    function __() { this.constructor = d; }\n\t    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar main_1 = __webpack_require__(2);\n\tvar abstractColumnDropPanel_1 = __webpack_require__(153);\n\tvar svgFactory = main_1.SvgFactory.getInstance();\n\tvar PivotColumnsPanel = (function (_super) {\n\t    __extends(PivotColumnsPanel, _super);\n\t    function PivotColumnsPanel(horizontal) {\n\t        return _super.call(this, horizontal, false, 'pivot') || this;\n\t    }\n\t    PivotColumnsPanel.prototype.passBeansUp = function () {\n\t        _super.prototype.setBeans.call(this, {\n\t            gridOptionsWrapper: this.gridOptionsWrapper,\n\t            eventService: this.eventService,\n\t            context: this.context,\n\t            loggerFactory: this.loggerFactory,\n\t            dragAndDropService: this.dragAndDropService\n\t        });\n\t        var localeTextFunc = this.gridOptionsWrapper.getLocaleTextFunc();\n\t        var emptyMessage = localeTextFunc('pivotColumnsEmptyMessage', 'Drag here to set column labels');\n\t        var title = localeTextFunc('pivots', 'Column Labels');\n\t        _super.prototype.init.call(this, {\n\t            dragAndDropIcon: main_1.DragAndDropService.ICON_GROUP,\n\t            icon: main_1.Utils.createIconNoSpan('pivotPanel', this.gridOptionsWrapper, null, svgFactory.createPivotIcon),\n\t            emptyMessage: emptyMessage,\n\t            title: title\n\t        });\n\t        this.addDestroyableEventListener(this.eventService, main_1.Events.EVENT_COLUMN_EVERYTHING_CHANGED, this.refresh.bind(this));\n\t        this.addDestroyableEventListener(this.eventService, main_1.Events.EVENT_COLUMN_PIVOT_CHANGED, this.refresh.bind(this));\n\t        this.addDestroyableEventListener(this.eventService, main_1.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED, this.checkVisibility.bind(this));\n\t        this.refresh();\n\t    };\n\t    PivotColumnsPanel.prototype.refresh = function () {\n\t        this.checkVisibility();\n\t        this.refreshGui();\n\t    };\n\t    PivotColumnsPanel.prototype.checkVisibility = function () {\n\t        var pivotMode = this.columnController.isPivotMode();\n\t        if (this.isHorizontal()) {\n\t            // what we do for horizontal (ie the pivot panel at the top) depends\n\t            // on the user property as well as pivotMode.\n\t            switch (this.gridOptionsWrapper.getPivotPanelShow()) {\n\t                case 'always':\n\t                    this.setVisible(pivotMode);\n\t                    break;\n\t                case 'onlyWhenPivoting':\n\t                    var pivotActive = this.columnController.isPivotActive();\n\t                    this.setVisible(pivotMode && pivotActive);\n\t                    break;\n\t                default:\n\t                    // never show it\n\t                    this.setVisible(false);\n\t                    break;\n\t            }\n\t        }\n\t        else {\n\t            // in toolPanel, the pivot panel is always shown when pivot mode is on\n\t            this.setVisible(pivotMode);\n\t        }\n\t    };\n\t    PivotColumnsPanel.prototype.isColumnDroppable = function (column) {\n\t        if (this.gridOptionsWrapper.isFunctionsReadOnly()) {\n\t            return false;\n\t        }\n\t        // we never allow grouping of secondary columns\n\t        if (!column.isPrimary()) {\n\t            return false;\n\t        }\n\t        var allowPivot = column.isAllowPivot();\n\t        var columnNotAlreadyPivoted = !column.isPivotActive();\n\t        return allowPivot && columnNotAlreadyPivoted;\n\t    };\n\t    PivotColumnsPanel.prototype.updateColumns = function (columns) {\n\t        if (this.gridOptionsWrapper.isFunctionsPassive()) {\n\t            this.eventService.dispatchEvent(main_1.Events.EVENT_COLUMN_PIVOT_CHANGE_REQUEST, { columns: columns });\n\t        }\n\t        else {\n\t            this.columnController.setPivotColumns(columns);\n\t        }\n\t    };\n\t    PivotColumnsPanel.prototype.getIconName = function () {\n\t        return this.isPotentialDndColumns() ? main_1.DragAndDropService.ICON_PIVOT : main_1.DragAndDropService.ICON_NOT_ALLOWED;\n\t    };\n\t    PivotColumnsPanel.prototype.getExistingColumns = function () {\n\t        return this.columnController.getPivotColumns();\n\t    };\n\t    return PivotColumnsPanel;\n\t}(abstractColumnDropPanel_1.AbstractColumnDropPanel));\n\t__decorate([\n\t    main_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", main_1.ColumnController)\n\t], PivotColumnsPanel.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    main_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", main_1.EventService)\n\t], PivotColumnsPanel.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    main_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", main_1.GridOptionsWrapper)\n\t], PivotColumnsPanel.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    main_1.Autowired('context'),\n\t    __metadata(\"design:type\", main_1.Context)\n\t], PivotColumnsPanel.prototype, \"context\", void 0);\n\t__decorate([\n\t    main_1.Autowired('loggerFactory'),\n\t    __metadata(\"design:type\", main_1.LoggerFactory)\n\t], PivotColumnsPanel.prototype, \"loggerFactory\", void 0);\n\t__decorate([\n\t    main_1.Autowired('dragAndDropService'),\n\t    __metadata(\"design:type\", main_1.DragAndDropService)\n\t], PivotColumnsPanel.prototype, \"dragAndDropService\", void 0);\n\t__decorate([\n\t    main_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], PivotColumnsPanel.prototype, \"passBeansUp\", null);\n\texports.PivotColumnsPanel = PivotColumnsPanel;\n\n\n/***/ }),\n/* 153 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t    function __() { this.constructor = d; }\n\t    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar main_1 = __webpack_require__(2);\n\tvar columnComponent_1 = __webpack_require__(154);\n\tvar AbstractColumnDropPanel = (function (_super) {\n\t    __extends(AbstractColumnDropPanel, _super);\n\t    function AbstractColumnDropPanel(horizontal, valueColumn, name) {\n\t        var _this = _super.call(this, \"<div class=\\\"ag-column-drop ag-font-style ag-column-drop-\" + (horizontal ? 'horizontal' : 'vertical') + \" ag-column-drop-\" + name + \"\\\"></div>\") || this;\n\t        _this.state = AbstractColumnDropPanel.STATE_NOT_DRAGGING;\n\t        _this.guiDestroyFunctions = [];\n\t        _this.childColumnComponents = [];\n\t        _this.horizontal = horizontal;\n\t        _this.valueColumn = valueColumn;\n\t        return _this;\n\t    }\n\t    AbstractColumnDropPanel.prototype.isHorizontal = function () {\n\t        return this.horizontal;\n\t    };\n\t    AbstractColumnDropPanel.prototype.setBeans = function (beans) {\n\t        this.beans = beans;\n\t    };\n\t    AbstractColumnDropPanel.prototype.destroy = function () {\n\t        this.destroyGui();\n\t        _super.prototype.destroy.call(this);\n\t    };\n\t    AbstractColumnDropPanel.prototype.destroyGui = function () {\n\t        this.guiDestroyFunctions.forEach(function (func) { return func(); });\n\t        this.guiDestroyFunctions.length = 0;\n\t        this.childColumnComponents.length = 0;\n\t        main_1.Utils.removeAllChildren(this.getGui());\n\t    };\n\t    AbstractColumnDropPanel.prototype.init = function (params) {\n\t        this.params = params;\n\t        this.logger = this.beans.loggerFactory.create('AbstractColumnDropPanel');\n\t        this.beans.eventService.addEventListener(main_1.Events.EVENT_COLUMN_EVERYTHING_CHANGED, this.refreshGui.bind(this));\n\t        this.addDestroyableEventListener(this.beans.gridOptionsWrapper, 'functionsReadOnly', this.refreshGui.bind(this));\n\t        this.setupDropTarget();\n\t        // we don't know if this bean will be initialised before columnController.\n\t        // if columnController first, then below will work\n\t        // if columnController second, then below will put blank in, and then above event gets first when columnController is set up\n\t        this.refreshGui();\n\t    };\n\t    AbstractColumnDropPanel.prototype.setupDropTarget = function () {\n\t        this.dropTarget = {\n\t            getContainer: this.getGui.bind(this),\n\t            getIconName: this.getIconName.bind(this),\n\t            onDragging: this.onDragging.bind(this),\n\t            onDragEnter: this.onDragEnter.bind(this),\n\t            onDragLeave: this.onDragLeave.bind(this),\n\t            onDragStop: this.onDragStop.bind(this)\n\t        };\n\t        this.beans.dragAndDropService.addDropTarget(this.dropTarget);\n\t    };\n\t    AbstractColumnDropPanel.prototype.checkInsertIndex = function (draggingEvent) {\n\t        var newIndex;\n\t        if (this.horizontal) {\n\t            newIndex = this.getNewHorizontalInsertIndex(draggingEvent);\n\t        }\n\t        else {\n\t            newIndex = this.getNewVerticalInsertIndex(draggingEvent);\n\t        }\n\t        // <0 happens when drag is no a direction we are interested in, eg drag is up/down but in horizontal panel\n\t        if (newIndex < 0) {\n\t            return false;\n\t        }\n\t        var changed = newIndex !== this.insertIndex;\n\t        if (changed) {\n\t            this.insertIndex = newIndex;\n\t        }\n\t        return changed;\n\t    };\n\t    AbstractColumnDropPanel.prototype.getNewHorizontalInsertIndex = function (draggingEvent) {\n\t        if (main_1.Utils.missing(draggingEvent.hDirection)) {\n\t            return -1;\n\t        }\n\t        var newIndex = 0;\n\t        var mouseEvent = draggingEvent.event;\n\t        var enableRtl = this.beans.gridOptionsWrapper.isEnableRtl();\n\t        var goingLeft = draggingEvent.hDirection === main_1.HDirection.Left;\n\t        var mouseX = mouseEvent.clientX;\n\t        this.childColumnComponents.forEach(function (childColumn) {\n\t            var rect = childColumn.getGui().getBoundingClientRect();\n\t            var rectX = goingLeft ? rect.right : rect.left;\n\t            var horizontalFit = enableRtl ? (mouseX <= rectX) : (mouseX >= rectX);\n\t            if (horizontalFit) {\n\t                newIndex++;\n\t            }\n\t        });\n\t        return newIndex;\n\t    };\n\t    AbstractColumnDropPanel.prototype.getNewVerticalInsertIndex = function (draggingEvent) {\n\t        if (main_1.Utils.missing(draggingEvent.vDirection)) {\n\t            return -1;\n\t        }\n\t        var newIndex = 0;\n\t        var mouseEvent = draggingEvent.event;\n\t        this.childColumnComponents.forEach(function (childColumn) {\n\t            var rect = childColumn.getGui().getBoundingClientRect();\n\t            if (draggingEvent.vDirection === main_1.VDirection.Down) {\n\t                var verticalFit = mouseEvent.clientY >= rect.top;\n\t                if (verticalFit) {\n\t                    newIndex++;\n\t                }\n\t            }\n\t            else {\n\t                var verticalFit = mouseEvent.clientY >= rect.bottom;\n\t                if (verticalFit) {\n\t                    newIndex++;\n\t                }\n\t            }\n\t        });\n\t        return newIndex;\n\t    };\n\t    AbstractColumnDropPanel.prototype.checkDragStartedBySelf = function (draggingEvent) {\n\t        if (this.state !== AbstractColumnDropPanel.STATE_NOT_DRAGGING) {\n\t            return;\n\t        }\n\t        this.state = AbstractColumnDropPanel.STATE_REARRANGE_COLUMNS;\n\t        this.potentialDndColumns = draggingEvent.dragSource.dragItem;\n\t        this.refreshGui();\n\t        this.checkInsertIndex(draggingEvent);\n\t        this.refreshGui();\n\t    };\n\t    AbstractColumnDropPanel.prototype.onDragging = function (draggingEvent) {\n\t        this.checkDragStartedBySelf(draggingEvent);\n\t        var positionChanged = this.checkInsertIndex(draggingEvent);\n\t        if (positionChanged) {\n\t            this.refreshGui();\n\t        }\n\t    };\n\t    AbstractColumnDropPanel.prototype.onDragEnter = function (draggingEvent) {\n\t        // this will contain all columns that are potential drops\n\t        var dragColumns = draggingEvent.dragSource.dragItem;\n\t        this.state = AbstractColumnDropPanel.STATE_NEW_COLUMNS_IN;\n\t        // take out columns that are not groupable\n\t        var goodDragColumns = main_1.Utils.filter(dragColumns, this.isColumnDroppable.bind(this));\n\t        var weHaveColumnsToDrag = goodDragColumns.length > 0;\n\t        if (weHaveColumnsToDrag) {\n\t            this.potentialDndColumns = goodDragColumns;\n\t            this.checkInsertIndex(draggingEvent);\n\t            this.refreshGui();\n\t        }\n\t    };\n\t    AbstractColumnDropPanel.prototype.isPotentialDndColumns = function () {\n\t        return main_1.Utils.existsAndNotEmpty(this.potentialDndColumns);\n\t    };\n\t    AbstractColumnDropPanel.prototype.onDragLeave = function (draggingEvent) {\n\t        // if the dragging started from us, we remove the group, however if it started\n\t        // someplace else, then we don't, as it was only 'asking'\n\t        if (this.state === AbstractColumnDropPanel.STATE_REARRANGE_COLUMNS) {\n\t            var columns = draggingEvent.dragSource.dragItem;\n\t            this.removeColumns(columns);\n\t        }\n\t        if (this.potentialDndColumns) {\n\t            this.potentialDndColumns = null;\n\t            this.refreshGui();\n\t        }\n\t        this.state = AbstractColumnDropPanel.STATE_NOT_DRAGGING;\n\t    };\n\t    AbstractColumnDropPanel.prototype.onDragStop = function () {\n\t        if (this.potentialDndColumns) {\n\t            var success = void 0;\n\t            if (this.state === AbstractColumnDropPanel.STATE_NEW_COLUMNS_IN) {\n\t                this.addColumns(this.potentialDndColumns);\n\t                success = true;\n\t            }\n\t            else {\n\t                success = this.rearrangeColumns(this.potentialDndColumns);\n\t            }\n\t            this.potentialDndColumns = null;\n\t            // if the function is passive, then we don't refresh, as we assume the client application\n\t            // is going to call setRowGroups / setPivots / setValues at a later point which will then\n\t            // cause a refresh. this gives a nice gui where the ghost stays until the app has caught\n\t            // up with the changes.\n\t            if (this.beans.gridOptionsWrapper.isFunctionsPassive()) {\n\t                // when functions are passive, we don't refresh,\n\t                // unless there was no change in the order, then we\n\t                // do need to refresh to reset the columns\n\t                if (!success) {\n\t                    this.refreshGui();\n\t                }\n\t            }\n\t            else {\n\t                this.refreshGui();\n\t            }\n\t        }\n\t        this.state = AbstractColumnDropPanel.STATE_NOT_DRAGGING;\n\t    };\n\t    AbstractColumnDropPanel.prototype.removeColumns = function (columnsToRemove) {\n\t        var newColumnList = this.getExistingColumns().slice();\n\t        columnsToRemove.forEach(function (column) { return main_1.Utils.removeFromArray(newColumnList, column); });\n\t        this.updateColumns(newColumnList);\n\t    };\n\t    AbstractColumnDropPanel.prototype.addColumns = function (columnsToAdd) {\n\t        var newColumnList = this.getExistingColumns().slice();\n\t        main_1.Utils.insertArrayIntoArray(newColumnList, columnsToAdd, this.insertIndex);\n\t        this.updateColumns(newColumnList);\n\t    };\n\t    AbstractColumnDropPanel.prototype.rearrangeColumns = function (columnsToAdd) {\n\t        var newColumnList = this.getNonGhostColumns().slice();\n\t        main_1.Utils.insertArrayIntoArray(newColumnList, columnsToAdd, this.insertIndex);\n\t        var noChangeDetected = main_1.Utils.shallowCompare(newColumnList, this.getExistingColumns());\n\t        if (noChangeDetected) {\n\t            return false;\n\t        }\n\t        else {\n\t            this.updateColumns(newColumnList);\n\t            return true;\n\t        }\n\t    };\n\t    AbstractColumnDropPanel.prototype.refreshGui = function () {\n\t        this.destroyGui();\n\t        this.addIconAndTitleToGui();\n\t        this.addEmptyMessageToGui();\n\t        this.addColumnsToGui();\n\t    };\n\t    AbstractColumnDropPanel.prototype.getNonGhostColumns = function () {\n\t        var _this = this;\n\t        var existingColumns = this.getExistingColumns();\n\t        var nonGhostColumns;\n\t        if (main_1.Utils.exists(this.potentialDndColumns)) {\n\t            nonGhostColumns = main_1.Utils.filter(existingColumns, function (column) { return _this.potentialDndColumns.indexOf(column) < 0; });\n\t        }\n\t        else {\n\t            nonGhostColumns = existingColumns;\n\t        }\n\t        return nonGhostColumns;\n\t    };\n\t    AbstractColumnDropPanel.prototype.addColumnsToGui = function () {\n\t        var _this = this;\n\t        var nonGhostColumns = this.getNonGhostColumns();\n\t        var itemsToAddToGui = [];\n\t        var addingGhosts = main_1.Utils.exists(this.potentialDndColumns);\n\t        nonGhostColumns.forEach(function (column, index) {\n\t            if (addingGhosts && index >= _this.insertIndex) {\n\t                return;\n\t            }\n\t            var columnComponent = _this.createColumnComponent(column, false);\n\t            itemsToAddToGui.push(columnComponent);\n\t        });\n\t        if (this.potentialDndColumns) {\n\t            this.potentialDndColumns.forEach(function (column) {\n\t                var columnComponent = _this.createColumnComponent(column, true);\n\t                itemsToAddToGui.push(columnComponent);\n\t            });\n\t            nonGhostColumns.forEach(function (column, index) {\n\t                if (index < _this.insertIndex) {\n\t                    return;\n\t                }\n\t                var columnComponent = _this.createColumnComponent(column, false);\n\t                itemsToAddToGui.push(columnComponent);\n\t            });\n\t        }\n\t        itemsToAddToGui.forEach(function (columnComponent, index) {\n\t            var needSeparator = index !== 0;\n\t            if (needSeparator) {\n\t                _this.addArrowToGui();\n\t            }\n\t            _this.getGui().appendChild(columnComponent.getGui());\n\t        });\n\t    };\n\t    AbstractColumnDropPanel.prototype.createColumnComponent = function (column, ghost) {\n\t        var columnComponent = new columnComponent_1.ColumnComponent(column, this.dropTarget, ghost, this.valueColumn);\n\t        columnComponent.addEventListener(columnComponent_1.ColumnComponent.EVENT_COLUMN_REMOVE, this.removeColumns.bind(this, [column]));\n\t        this.beans.context.wireBean(columnComponent);\n\t        this.guiDestroyFunctions.push(function () { return columnComponent.destroy(); });\n\t        if (!ghost) {\n\t            this.childColumnComponents.push(columnComponent);\n\t        }\n\t        return columnComponent;\n\t    };\n\t    AbstractColumnDropPanel.prototype.addIconAndTitleToGui = function () {\n\t        var iconFaded = this.horizontal && this.isExistingColumnsEmpty();\n\t        var eGroupIcon = this.params.icon;\n\t        main_1.Utils.addCssClass(eGroupIcon, 'ag-column-drop-icon');\n\t        main_1.Utils.addOrRemoveCssClass(eGroupIcon, 'ag-faded', iconFaded);\n\t        this.getGui().appendChild(eGroupIcon);\n\t        if (!this.horizontal) {\n\t            var eTitle = document.createElement('span');\n\t            eTitle.innerHTML = this.params.title;\n\t            main_1.Utils.addCssClass(eTitle, 'ag-column-drop-title');\n\t            main_1.Utils.addOrRemoveCssClass(eTitle, 'ag-faded', iconFaded);\n\t            this.getGui().appendChild(eTitle);\n\t        }\n\t    };\n\t    AbstractColumnDropPanel.prototype.isExistingColumnsEmpty = function () {\n\t        return this.getExistingColumns().length === 0;\n\t    };\n\t    AbstractColumnDropPanel.prototype.addEmptyMessageToGui = function () {\n\t        var showEmptyMessage = this.isExistingColumnsEmpty() && !this.potentialDndColumns;\n\t        if (!showEmptyMessage) {\n\t            return;\n\t        }\n\t        var eMessage = document.createElement('span');\n\t        eMessage.innerHTML = this.params.emptyMessage;\n\t        main_1.Utils.addCssClass(eMessage, 'ag-column-drop-empty-message');\n\t        this.getGui().appendChild(eMessage);\n\t    };\n\t    AbstractColumnDropPanel.prototype.addArrowToGui = function () {\n\t        // only add the arrows if the layout is horizontal\n\t        if (this.horizontal) {\n\t            // for RTL it's a left arrow, otherwise it's a right arrow\n\t            var enableRtl = this.beans.gridOptionsWrapper.isEnableRtl();\n\t            var charCode = enableRtl ?\n\t                AbstractColumnDropPanel.CHAR_LEFT_ARROW : AbstractColumnDropPanel.CHAR_RIGHT_ARROW;\n\t            var eArrow = document.createElement('span');\n\t            eArrow.innerHTML = charCode;\n\t            this.getGui().appendChild(eArrow);\n\t        }\n\t    };\n\t    return AbstractColumnDropPanel;\n\t}(main_1.Component));\n\tAbstractColumnDropPanel.STATE_NOT_DRAGGING = 'notDragging';\n\tAbstractColumnDropPanel.STATE_NEW_COLUMNS_IN = 'newColumnsIn';\n\tAbstractColumnDropPanel.STATE_REARRANGE_COLUMNS = 'rearrangeColumns';\n\tAbstractColumnDropPanel.CHAR_LEFT_ARROW = '&#8592;';\n\tAbstractColumnDropPanel.CHAR_RIGHT_ARROW = '&#8594;';\n\texports.AbstractColumnDropPanel = AbstractColumnDropPanel;\n\n\n/***/ }),\n/* 154 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t    function __() { this.constructor = d; }\n\t    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar main_1 = __webpack_require__(2);\n\tvar virtualList_1 = __webpack_require__(143);\n\tvar aggFuncService_1 = __webpack_require__(134);\n\tvar ColumnComponent = (function (_super) {\n\t    __extends(ColumnComponent, _super);\n\t    function ColumnComponent(column, dragSourceDropTarget, ghost, valueColumn) {\n\t        var _this = _super.call(this) || this;\n\t        _this.popupShowing = false;\n\t        _this.valueColumn = valueColumn;\n\t        _this.column = column;\n\t        _this.dragSourceDropTarget = dragSourceDropTarget;\n\t        _this.ghost = ghost;\n\t        return _this;\n\t    }\n\t    ColumnComponent.prototype.init = function () {\n\t        this.setTemplate(ColumnComponent.TEMPLATE);\n\t        this.displayName = this.columnController.getDisplayNameForColumn(this.column, 'columnDrop');\n\t        this.setupComponents();\n\t        if (!this.ghost && !this.gridOptionsWrapper.isFunctionsReadOnly()) {\n\t            this.addDragSource();\n\t        }\n\t    };\n\t    ColumnComponent.prototype.addDragSource = function () {\n\t        var _this = this;\n\t        var dragSource = {\n\t            type: main_1.DragSourceType.ToolPanel,\n\t            eElement: this.eText,\n\t            dragItem: [this.column],\n\t            dragItemName: this.displayName,\n\t            dragSourceDropTarget: this.dragSourceDropTarget\n\t        };\n\t        this.dragAndDropService.addDragSource(dragSource, true);\n\t        this.addDestroyFunc(function () { return _this.dragAndDropService.removeDragSource(dragSource); });\n\t    };\n\t    ColumnComponent.prototype.setupComponents = function () {\n\t        this.setTextValue();\n\t        this.setupRemove();\n\t        if (this.ghost) {\n\t            main_1.Utils.addCssClass(this.getGui(), 'ag-column-drop-cell-ghost');\n\t        }\n\t        if (this.valueColumn && !this.gridOptionsWrapper.isFunctionsReadOnly()) {\n\t            this.addGuiEventListener('click', this.onShowAggFuncSelection.bind(this));\n\t        }\n\t    };\n\t    ColumnComponent.prototype.setupRemove = function () {\n\t        var _this = this;\n\t        main_1.Utils.setVisible(this.btRemove, !this.gridOptionsWrapper.isFunctionsReadOnly());\n\t        this.addDestroyableEventListener(this.btRemove, 'click', function (event) {\n\t            _this.dispatchEvent(ColumnComponent.EVENT_COLUMN_REMOVE);\n\t            event.stopPropagation();\n\t        });\n\t        var touchListener = new main_1.TouchListener(this.btRemove);\n\t        this.addDestroyableEventListener(touchListener, main_1.TouchListener.EVENT_TAP, function () {\n\t            _this.dispatchEvent(ColumnComponent.EVENT_COLUMN_REMOVE);\n\t        });\n\t        this.addDestroyFunc(touchListener.destroy.bind(touchListener));\n\t    };\n\t    ColumnComponent.prototype.setTextValue = function () {\n\t        var displayValue;\n\t        if (this.valueColumn) {\n\t            var aggFunc = this.column.getAggFunc();\n\t            // if aggFunc is a string, we can use it, but if it's a function, then we swap with 'func'\n\t            var aggFuncString = (typeof aggFunc === 'string') ? aggFunc : 'agg';\n\t            displayValue = aggFuncString + \"(\" + this.displayName + \")\";\n\t        }\n\t        else {\n\t            displayValue = this.displayName;\n\t        }\n\t        this.eText.innerHTML = displayValue;\n\t    };\n\t    ColumnComponent.prototype.onShowAggFuncSelection = function () {\n\t        var _this = this;\n\t        if (this.popupShowing) {\n\t            return;\n\t        }\n\t        this.popupShowing = true;\n\t        var virtualList = new virtualList_1.VirtualList();\n\t        var rows = this.aggFuncService.getFuncNames();\n\t        virtualList.setModel({\n\t            getRow: function (index) { return rows[index]; },\n\t            getRowCount: function () { return rows.length; }\n\t        });\n\t        this.context.wireBean(virtualList);\n\t        var ePopup = main_1.Utils.loadTemplate('<div class=\"ag-select-agg-func-popup\"></div>');\n\t        ePopup.style.top = '0px';\n\t        ePopup.style.left = '0px';\n\t        ePopup.appendChild(virtualList.getGui());\n\t        ePopup.style.height = '100px';\n\t        ePopup.style.width = this.getGui().clientWidth + 'px';\n\t        var popupHiddenFunc = function () {\n\t            virtualList.destroy();\n\t            _this.popupShowing = false;\n\t        };\n\t        var hidePopup = this.popupService.addAsModalPopup(ePopup, true, popupHiddenFunc);\n\t        virtualList.setComponentCreator(this.createAggSelect.bind(this, hidePopup));\n\t        this.popupService.positionPopupUnderComponent({\n\t            eventSource: this.getGui(),\n\t            ePopup: ePopup,\n\t            keepWithinBounds: true\n\t        });\n\t        virtualList.refresh();\n\t    };\n\t    ColumnComponent.prototype.createAggSelect = function (hidePopup, value) {\n\t        var _this = this;\n\t        var itemSelected = function () {\n\t            hidePopup();\n\t            if (_this.gridOptionsWrapper.isFunctionsPassive()) {\n\t                var event = {\n\t                    columns: [_this.column],\n\t                    aggFunc: value\n\t                };\n\t                _this.eventService.dispatchEvent(main_1.Events.EVENT_COLUMN_AGG_FUNC_CHANGE_REQUEST, event);\n\t            }\n\t            else {\n\t                _this.columnController.setColumnAggFunc(_this.column, value);\n\t            }\n\t        };\n\t        var comp = new AggItemComp(itemSelected, value.toString());\n\t        return comp;\n\t    };\n\t    return ColumnComponent;\n\t}(main_1.Component));\n\tColumnComponent.EVENT_COLUMN_REMOVE = 'columnRemove';\n\tColumnComponent.TEMPLATE = \"<span class=\\\"ag-column-drop-cell\\\">\\n          <span class=\\\"ag-column-drop-cell-text\\\"></span>\\n          <span class=\\\"ag-column-drop-cell-button\\\">&#10006;</span>\\n        </span>\";\n\t__decorate([\n\t    main_1.Autowired('dragAndDropService'),\n\t    __metadata(\"design:type\", main_1.DragAndDropService)\n\t], ColumnComponent.prototype, \"dragAndDropService\", void 0);\n\t__decorate([\n\t    main_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", main_1.ColumnController)\n\t], ColumnComponent.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    main_1.Autowired('gridPanel'),\n\t    __metadata(\"design:type\", main_1.GridPanel)\n\t], ColumnComponent.prototype, \"gridPanel\", void 0);\n\t__decorate([\n\t    main_1.Autowired('context'),\n\t    __metadata(\"design:type\", main_1.Context)\n\t], ColumnComponent.prototype, \"context\", void 0);\n\t__decorate([\n\t    main_1.Autowired('popupService'),\n\t    __metadata(\"design:type\", main_1.PopupService)\n\t], ColumnComponent.prototype, \"popupService\", void 0);\n\t__decorate([\n\t    main_1.Autowired('aggFuncService'),\n\t    __metadata(\"design:type\", aggFuncService_1.AggFuncService)\n\t], ColumnComponent.prototype, \"aggFuncService\", void 0);\n\t__decorate([\n\t    main_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", main_1.GridOptionsWrapper)\n\t], ColumnComponent.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    main_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", main_1.EventService)\n\t], ColumnComponent.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    main_1.QuerySelector('.ag-column-drop-cell-text'),\n\t    __metadata(\"design:type\", HTMLElement)\n\t], ColumnComponent.prototype, \"eText\", void 0);\n\t__decorate([\n\t    main_1.QuerySelector('.ag-column-drop-cell-button'),\n\t    __metadata(\"design:type\", HTMLElement)\n\t], ColumnComponent.prototype, \"btRemove\", void 0);\n\t__decorate([\n\t    main_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], ColumnComponent.prototype, \"init\", null);\n\texports.ColumnComponent = ColumnComponent;\n\tvar AggItemComp = (function (_super) {\n\t    __extends(AggItemComp, _super);\n\t    function AggItemComp(itemSelected, value) {\n\t        var _this = _super.call(this, '<div class=\"ag-select-agg-func-item\"/>') || this;\n\t        _this.getGui().innerText = value;\n\t        _this.value = value;\n\t        _this.addGuiEventListener('click', itemSelected);\n\t        return _this;\n\t    }\n\t    return AggItemComp;\n\t}(main_1.Component));\n\n\n/***/ }),\n/* 155 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t    function __() { this.constructor = d; }\n\t    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar main_1 = __webpack_require__(2);\n\tvar columnSelectPanel_1 = __webpack_require__(126);\n\tvar rowGroupColumnsPanel_1 = __webpack_require__(156);\n\tvar pivotColumnsPanel_1 = __webpack_require__(152);\n\tvar pivotModePanel_1 = __webpack_require__(157);\n\tvar valueColumnsPanel_1 = __webpack_require__(158);\n\tvar ToolPanelComp = ToolPanelComp_1 = (function (_super) {\n\t    __extends(ToolPanelComp, _super);\n\t    function ToolPanelComp() {\n\t        var _this = _super.call(this, ToolPanelComp_1.TEMPLATE) || this;\n\t        _this.initialised = false;\n\t        return _this;\n\t    }\n\t    // lazy initialise the toolPanel\n\t    ToolPanelComp.prototype.setVisible = function (visible) {\n\t        _super.prototype.setVisible.call(this, visible);\n\t        if (visible && !this.initialised) {\n\t            this.init();\n\t        }\n\t    };\n\t    ToolPanelComp.prototype.init = function () {\n\t        if (!this.gridOptionsWrapper.isToolPanelSuppressPivotMode()) {\n\t            this.addComponent(new pivotModePanel_1.PivotModePanel());\n\t        }\n\t        this.addComponent(new columnSelectPanel_1.ColumnSelectPanel(true));\n\t        if (!this.gridOptionsWrapper.isToolPanelSuppressRowGroups()) {\n\t            this.addComponent(new rowGroupColumnsPanel_1.RowGroupColumnsPanel(false));\n\t        }\n\t        if (!this.gridOptionsWrapper.isToolPanelSuppressValues()) {\n\t            this.addComponent(new valueColumnsPanel_1.ValuesColumnPanel(false));\n\t        }\n\t        if (!this.gridOptionsWrapper.isToolPanelSuppressPivots()) {\n\t            this.addComponent(new pivotColumnsPanel_1.PivotColumnsPanel(false));\n\t        }\n\t        this.initialised = true;\n\t    };\n\t    ToolPanelComp.prototype.addComponent = function (component) {\n\t        this.context.wireBean(component);\n\t        this.getGui().appendChild(component.getGui());\n\t        this.addDestroyFunc(function () {\n\t            component.destroy();\n\t        });\n\t    };\n\t    return ToolPanelComp;\n\t}(main_1.Component));\n\tToolPanelComp.TEMPLATE = '<div class=\"ag-tool-panel\"></div>';\n\t__decorate([\n\t    main_1.Autowired('context'),\n\t    __metadata(\"design:type\", main_1.Context)\n\t], ToolPanelComp.prototype, \"context\", void 0);\n\t__decorate([\n\t    main_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", main_1.GridOptionsWrapper)\n\t], ToolPanelComp.prototype, \"gridOptionsWrapper\", void 0);\n\tToolPanelComp = ToolPanelComp_1 = __decorate([\n\t    main_1.Bean('toolPanel'),\n\t    __metadata(\"design:paramtypes\", [])\n\t], ToolPanelComp);\n\texports.ToolPanelComp = ToolPanelComp;\n\tvar ToolPanelComp_1;\n\n\n/***/ }),\n/* 156 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t    function __() { this.constructor = d; }\n\t    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar main_1 = __webpack_require__(2);\n\tvar abstractColumnDropPanel_1 = __webpack_require__(153);\n\tvar svgFactory = main_1.SvgFactory.getInstance();\n\tvar RowGroupColumnsPanel = (function (_super) {\n\t    __extends(RowGroupColumnsPanel, _super);\n\t    function RowGroupColumnsPanel(horizontal) {\n\t        return _super.call(this, horizontal, false, 'row-group') || this;\n\t    }\n\t    RowGroupColumnsPanel.prototype.passBeansUp = function () {\n\t        _super.prototype.setBeans.call(this, {\n\t            gridOptionsWrapper: this.gridOptionsWrapper,\n\t            eventService: this.eventService,\n\t            context: this.context,\n\t            loggerFactory: this.loggerFactory,\n\t            dragAndDropService: this.dragAndDropService\n\t        });\n\t        var localeTextFunc = this.gridOptionsWrapper.getLocaleTextFunc();\n\t        var emptyMessage = localeTextFunc('rowGroupColumnsEmptyMessage', 'Drag here to set row groups');\n\t        var title = localeTextFunc('groups', 'Row Groups');\n\t        _super.prototype.init.call(this, {\n\t            dragAndDropIcon: main_1.DragAndDropService.ICON_GROUP,\n\t            icon: main_1.Utils.createIconNoSpan('rowGroupPanel', this.gridOptionsWrapper, null, svgFactory.createGroupIcon),\n\t            emptyMessage: emptyMessage,\n\t            title: title\n\t        });\n\t        this.addDestroyableEventListener(this.eventService, main_1.Events.EVENT_COLUMN_ROW_GROUP_CHANGED, this.refreshGui.bind(this));\n\t    };\n\t    RowGroupColumnsPanel.prototype.isColumnDroppable = function (column) {\n\t        if (this.gridOptionsWrapper.isFunctionsReadOnly()) {\n\t            return false;\n\t        }\n\t        // we never allow grouping of secondary columns\n\t        if (!column.isPrimary()) {\n\t            return false;\n\t        }\n\t        var columnGroupable = column.isAllowRowGroup();\n\t        var columnNotAlreadyGrouped = !column.isRowGroupActive();\n\t        return columnGroupable && columnNotAlreadyGrouped;\n\t    };\n\t    RowGroupColumnsPanel.prototype.updateColumns = function (columns) {\n\t        if (this.gridOptionsWrapper.isFunctionsPassive()) {\n\t            this.eventService.dispatchEvent(main_1.Events.EVENT_COLUMN_ROW_GROUP_CHANGE_REQUEST, { columns: columns });\n\t        }\n\t        else {\n\t            this.columnController.setRowGroupColumns(columns);\n\t        }\n\t    };\n\t    RowGroupColumnsPanel.prototype.getIconName = function () {\n\t        return this.isPotentialDndColumns() ? main_1.DragAndDropService.ICON_GROUP : main_1.DragAndDropService.ICON_NOT_ALLOWED;\n\t    };\n\t    RowGroupColumnsPanel.prototype.getExistingColumns = function () {\n\t        return this.columnController.getRowGroupColumns();\n\t    };\n\t    return RowGroupColumnsPanel;\n\t}(abstractColumnDropPanel_1.AbstractColumnDropPanel));\n\t__decorate([\n\t    main_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", main_1.ColumnController)\n\t], RowGroupColumnsPanel.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    main_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", main_1.EventService)\n\t], RowGroupColumnsPanel.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    main_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", main_1.GridOptionsWrapper)\n\t], RowGroupColumnsPanel.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    main_1.Autowired('context'),\n\t    __metadata(\"design:type\", main_1.Context)\n\t], RowGroupColumnsPanel.prototype, \"context\", void 0);\n\t__decorate([\n\t    main_1.Autowired('loggerFactory'),\n\t    __metadata(\"design:type\", main_1.LoggerFactory)\n\t], RowGroupColumnsPanel.prototype, \"loggerFactory\", void 0);\n\t__decorate([\n\t    main_1.Autowired('dragAndDropService'),\n\t    __metadata(\"design:type\", main_1.DragAndDropService)\n\t], RowGroupColumnsPanel.prototype, \"dragAndDropService\", void 0);\n\t__decorate([\n\t    main_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], RowGroupColumnsPanel.prototype, \"passBeansUp\", null);\n\texports.RowGroupColumnsPanel = RowGroupColumnsPanel;\n\n\n/***/ }),\n/* 157 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t    function __() { this.constructor = d; }\n\t    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar main_1 = __webpack_require__(2);\n\tvar PivotModePanel = (function (_super) {\n\t    __extends(PivotModePanel, _super);\n\t    function PivotModePanel() {\n\t        return _super.call(this) || this;\n\t    }\n\t    PivotModePanel.prototype.createTemplate = function () {\n\t        var localeTextFunc = this.gridOptionsWrapper.getLocaleTextFunc();\n\t        return \"<div class=\\\"ag-pivot-mode\\\">\\n                <ag-checkbox class=\\\"ag-pivot-mode-select\\\" label=\\\"\" + localeTextFunc('pivotMode', 'Pivot Mode') + \"\\\"></ag-checkbox>\\n            </div>\";\n\t    };\n\t    PivotModePanel.prototype.init = function () {\n\t        this.setTemplate(this.createTemplate());\n\t        this.instantiate(this.context);\n\t        this.cbPivotMode.setSelected(this.columnController.isPivotMode());\n\t        this.addDestroyableEventListener(this.cbPivotMode, main_1.AgCheckbox.EVENT_CHANGED, this.onBtPivotMode.bind(this));\n\t        this.addDestroyableEventListener(this.eventService, main_1.Events.EVENT_COLUMN_EVERYTHING_CHANGED, this.onPivotModeChanged.bind(this));\n\t        this.addDestroyableEventListener(this.eventService, main_1.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED, this.onPivotModeChanged.bind(this));\n\t    };\n\t    PivotModePanel.prototype.onBtPivotMode = function () {\n\t        var newValue = this.cbPivotMode.isSelected();\n\t        if (newValue !== this.columnController.isPivotMode()) {\n\t            this.columnController.setPivotMode(newValue);\n\t        }\n\t    };\n\t    PivotModePanel.prototype.onPivotModeChanged = function () {\n\t        var pivotModeActive = this.columnController.isPivotMode();\n\t        this.cbPivotMode.setSelected(pivotModeActive);\n\t    };\n\t    return PivotModePanel;\n\t}(main_1.Component));\n\t__decorate([\n\t    main_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", main_1.ColumnController)\n\t], PivotModePanel.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    main_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", main_1.EventService)\n\t], PivotModePanel.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    main_1.Autowired('context'),\n\t    __metadata(\"design:type\", main_1.Context)\n\t], PivotModePanel.prototype, \"context\", void 0);\n\t__decorate([\n\t    main_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", main_1.GridOptionsWrapper)\n\t], PivotModePanel.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    main_1.QuerySelector('.ag-pivot-mode-select'),\n\t    __metadata(\"design:type\", main_1.AgCheckbox)\n\t], PivotModePanel.prototype, \"cbPivotMode\", void 0);\n\t__decorate([\n\t    main_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], PivotModePanel.prototype, \"init\", null);\n\texports.PivotModePanel = PivotModePanel;\n\n\n/***/ }),\n/* 158 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t    function __() { this.constructor = d; }\n\t    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar main_1 = __webpack_require__(2);\n\tvar abstractColumnDropPanel_1 = __webpack_require__(153);\n\tvar svgFactory = main_1.SvgFactory.getInstance();\n\tvar ValuesColumnPanel = (function (_super) {\n\t    __extends(ValuesColumnPanel, _super);\n\t    function ValuesColumnPanel(horizontal) {\n\t        return _super.call(this, horizontal, true, 'values') || this;\n\t    }\n\t    ValuesColumnPanel.prototype.passBeansUp = function () {\n\t        _super.prototype.setBeans.call(this, {\n\t            gridOptionsWrapper: this.gridOptionsWrapper,\n\t            eventService: this.eventService,\n\t            context: this.context,\n\t            loggerFactory: this.loggerFactory,\n\t            dragAndDropService: this.dragAndDropService\n\t        });\n\t        var localeTextFunc = this.gridOptionsWrapper.getLocaleTextFunc();\n\t        var emptyMessage = localeTextFunc('pivotColumnsEmptyMessage', 'Drag here to aggregate');\n\t        var title = localeTextFunc('values', 'Values');\n\t        _super.prototype.init.call(this, {\n\t            dragAndDropIcon: main_1.DragAndDropService.ICON_AGGREGATE,\n\t            icon: main_1.Utils.createIconNoSpan('valuePanel', this.gridOptionsWrapper, null, svgFactory.createAggregationIcon),\n\t            emptyMessage: emptyMessage,\n\t            title: title\n\t        });\n\t        this.addDestroyableEventListener(this.eventService, main_1.Events.EVENT_COLUMN_VALUE_CHANGED, this.refreshGui.bind(this));\n\t    };\n\t    ValuesColumnPanel.prototype.getIconName = function () {\n\t        return this.isPotentialDndColumns() ? main_1.DragAndDropService.ICON_AGGREGATE : main_1.DragAndDropService.ICON_NOT_ALLOWED;\n\t    };\n\t    ValuesColumnPanel.prototype.isColumnDroppable = function (column) {\n\t        if (this.gridOptionsWrapper.isFunctionsReadOnly()) {\n\t            return false;\n\t        }\n\t        // we never allow grouping of secondary columns\n\t        if (!column.isPrimary()) {\n\t            return false;\n\t        }\n\t        var columnValue = column.isAllowValue();\n\t        var columnNotValue = !column.isValueActive();\n\t        return columnValue && columnNotValue;\n\t    };\n\t    ValuesColumnPanel.prototype.updateColumns = function (columns) {\n\t        if (this.gridOptionsWrapper.isFunctionsPassive()) {\n\t            this.eventService.dispatchEvent(main_1.Events.EVENT_COLUMN_VALUE_CHANGE_REQUEST, { columns: columns });\n\t        }\n\t        else {\n\t            this.columnController.setValueColumns(columns);\n\t        }\n\t    };\n\t    ValuesColumnPanel.prototype.getExistingColumns = function () {\n\t        return this.columnController.getValueColumns();\n\t    };\n\t    return ValuesColumnPanel;\n\t}(abstractColumnDropPanel_1.AbstractColumnDropPanel));\n\t__decorate([\n\t    main_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", main_1.ColumnController)\n\t], ValuesColumnPanel.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    main_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", main_1.EventService)\n\t], ValuesColumnPanel.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    main_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", main_1.GridOptionsWrapper)\n\t], ValuesColumnPanel.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    main_1.Autowired('context'),\n\t    __metadata(\"design:type\", main_1.Context)\n\t], ValuesColumnPanel.prototype, \"context\", void 0);\n\t__decorate([\n\t    main_1.Autowired('loggerFactory'),\n\t    __metadata(\"design:type\", main_1.LoggerFactory)\n\t], ValuesColumnPanel.prototype, \"loggerFactory\", void 0);\n\t__decorate([\n\t    main_1.Autowired('dragAndDropService'),\n\t    __metadata(\"design:type\", main_1.DragAndDropService)\n\t], ValuesColumnPanel.prototype, \"dragAndDropService\", void 0);\n\t__decorate([\n\t    main_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], ValuesColumnPanel.prototype, \"passBeansUp\", null);\n\texports.ValuesColumnPanel = ValuesColumnPanel;\n\n\n/***/ }),\n/* 159 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar main_1 = __webpack_require__(2);\n\tvar rowGroupColumnsPanel_1 = __webpack_require__(156);\n\tvar RowGroupCompFactory = (function () {\n\t    function RowGroupCompFactory() {\n\t    }\n\t    RowGroupCompFactory.prototype.create = function () {\n\t        var rowGroupComp = new rowGroupColumnsPanel_1.RowGroupColumnsPanel(true);\n\t        this.context.wireBean(rowGroupComp);\n\t        return rowGroupComp;\n\t    };\n\t    return RowGroupCompFactory;\n\t}());\n\t__decorate([\n\t    main_1.Autowired('context'),\n\t    __metadata(\"design:type\", main_1.Context)\n\t], RowGroupCompFactory.prototype, \"context\", void 0);\n\tRowGroupCompFactory = __decorate([\n\t    main_1.Bean('rowGroupCompFactory')\n\t], RowGroupCompFactory);\n\texports.RowGroupCompFactory = RowGroupCompFactory;\n\n\n/***/ }),\n/* 160 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar main_1 = __webpack_require__(2);\n\tvar pivotColumnsPanel_1 = __webpack_require__(152);\n\tvar PivotCompFactory = (function () {\n\t    function PivotCompFactory() {\n\t    }\n\t    PivotCompFactory.prototype.create = function () {\n\t        var pivotComp = new pivotColumnsPanel_1.PivotColumnsPanel(true);\n\t        this.context.wireBean(pivotComp);\n\t        return pivotComp;\n\t    };\n\t    return PivotCompFactory;\n\t}());\n\t__decorate([\n\t    main_1.Autowired('context'),\n\t    __metadata(\"design:type\", main_1.Context)\n\t], PivotCompFactory.prototype, \"context\", void 0);\n\tPivotCompFactory = __decorate([\n\t    main_1.Bean('pivotCompFactory')\n\t], PivotCompFactory);\n\texports.PivotCompFactory = PivotCompFactory;\n\n\n/***/ }),\n/* 161 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t    function __() { this.constructor = d; }\n\t    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar main_1 = __webpack_require__(2);\n\tvar main_2 = __webpack_require__(2);\n\tvar main_3 = __webpack_require__(2);\n\tvar main_4 = __webpack_require__(2);\n\tvar excelXmlFactory_1 = __webpack_require__(162);\n\tvar main_5 = __webpack_require__(2);\n\tvar main_6 = __webpack_require__(2);\n\tvar main_7 = __webpack_require__(2);\n\tvar main_8 = __webpack_require__(2);\n\tvar ExcelGridSerializingSession = (function (_super) {\n\t    __extends(ExcelGridSerializingSession, _super);\n\t    function ExcelGridSerializingSession(columnController, valueService, gridOptionsWrapper, processCellCallback, processHeaderCallback, excelXmlFactory, baseExcelStyles, styleLinker) {\n\t        var _this = _super.call(this, columnController, valueService, gridOptionsWrapper, processCellCallback, processHeaderCallback, function (raw) { return main_6.Utils.escape(raw); }) || this;\n\t        _this.excelXmlFactory = excelXmlFactory;\n\t        _this.styleLinker = styleLinker;\n\t        _this.mixedStyles = {};\n\t        _this.mixedStyleCounter = 0;\n\t        _this.rows = [];\n\t        if (!baseExcelStyles) {\n\t            _this.styleIds = [];\n\t            _this.excelStyles = [];\n\t        }\n\t        else {\n\t            _this.styleIds = baseExcelStyles.map(function (it) {\n\t                return it.id;\n\t            });\n\t            _this.excelStyles = baseExcelStyles.slice();\n\t        }\n\t        return _this;\n\t    }\n\t    ExcelGridSerializingSession.prototype.addCustomHeader = function (customHeader) {\n\t        throw new Error(\"Custom header not supported for Excel serialization\");\n\t    };\n\t    ExcelGridSerializingSession.prototype.addCustomFooter = function (customFooter) {\n\t        throw new Error(\"Custom footer not supported for Excel serialization\");\n\t    };\n\t    ExcelGridSerializingSession.prototype.prepare = function (columnsToExport) {\n\t        this.cols = main_6.Utils.map(columnsToExport, function (it) {\n\t            it.getColDef().cellStyle;\n\t            return {\n\t                width: it.getActualWidth()\n\t            };\n\t        });\n\t    };\n\t    ExcelGridSerializingSession.prototype.onNewHeaderGroupingRow = function () {\n\t        var currentCells = [];\n\t        var that = this;\n\t        this.rows.push({\n\t            cells: currentCells\n\t        });\n\t        return {\n\t            onColumn: function (header, index, span) {\n\t                var styleIds = that.styleLinker(main_5.RowType.HEADER_GROUPING, 1, index, \"grouping-\" + header, null, null);\n\t                currentCells.push(that.createMergedCell(styleIds.length > 0 ? styleIds[0] : null, excelXmlFactory_1.ExcelDataType.String, header, span));\n\t            }\n\t        };\n\t    };\n\t    ExcelGridSerializingSession.prototype.onNewHeaderRow = function () {\n\t        return this.onNewRow(this.onNewHeaderColumn);\n\t    };\n\t    ExcelGridSerializingSession.prototype.onNewBodyRow = function () {\n\t        return this.onNewRow(this.onNewBodyColumn);\n\t    };\n\t    ExcelGridSerializingSession.prototype.onNewRow = function (onNewColumnAccumulator) {\n\t        var currentCells = [];\n\t        this.rows.push({\n\t            cells: currentCells\n\t        });\n\t        return {\n\t            onColumn: onNewColumnAccumulator.bind(this, this.rows.length, currentCells)()\n\t        };\n\t    };\n\t    ExcelGridSerializingSession.prototype.onNewHeaderColumn = function (rowIndex, currentCells) {\n\t        var _this = this;\n\t        var that = this;\n\t        return function (column, index, node) {\n\t            var nameForCol = _this.extractHeaderValue(column);\n\t            var styleIds = that.styleLinker(main_5.RowType.HEADER, rowIndex, index, nameForCol, column, null);\n\t            currentCells.push(_this.createCell(styleIds.length > 0 ? styleIds[0] : null, excelXmlFactory_1.ExcelDataType.String, nameForCol));\n\t        };\n\t    };\n\t    ExcelGridSerializingSession.prototype.parse = function () {\n\t        var data = [{\n\t                name: \"ag-grid\",\n\t                table: {\n\t                    columns: this.cols,\n\t                    rows: this.rows\n\t                }\n\t            }];\n\t        return this.excelXmlFactory.createExcelXml(this.excelStyles, data);\n\t    };\n\t    ExcelGridSerializingSession.prototype.onNewBodyColumn = function (rowIndex, currentCells) {\n\t        var _this = this;\n\t        var that = this;\n\t        return function (column, index, node) {\n\t            var valueForCell = _this.extractRowCellValue(column, index, node);\n\t            var styleIds = that.styleLinker(main_5.RowType.BODY, rowIndex, index, valueForCell, column, node);\n\t            var excelStyleId = null;\n\t            if (styleIds && styleIds.length == 1) {\n\t                excelStyleId = styleIds[0];\n\t            }\n\t            else if (styleIds && styleIds.length > 1) {\n\t                var key = styleIds.join(\"-\");\n\t                if (!_this.mixedStyles[key]) {\n\t                    _this.addNewMixedStyle(styleIds);\n\t                }\n\t                excelStyleId = _this.mixedStyles[key].excelID;\n\t            }\n\t            var type = main_6.Utils.isNumeric(valueForCell) ? excelXmlFactory_1.ExcelDataType.Number : excelXmlFactory_1.ExcelDataType.String;\n\t            currentCells.push(that.createCell(excelStyleId, type, valueForCell));\n\t        };\n\t    };\n\t    ExcelGridSerializingSession.prototype.addNewMixedStyle = function (styleIds) {\n\t        var _this = this;\n\t        this.mixedStyleCounter += 1;\n\t        var excelId = 'mixedStyle' + this.mixedStyleCounter;\n\t        var resultantStyle = {};\n\t        styleIds.forEach(function (styleId) {\n\t            _this.excelStyles.forEach(function (excelStyle) {\n\t                if (excelStyle.id === styleId) {\n\t                    main_6.Utils.mergeDeep(resultantStyle, excelStyle);\n\t                }\n\t            });\n\t        });\n\t        resultantStyle['id'] = excelId;\n\t        resultantStyle['name'] = excelId;\n\t        var key = styleIds.join(\"-\");\n\t        this.mixedStyles[key] = {\n\t            excelID: excelId,\n\t            key: key,\n\t            result: resultantStyle\n\t        };\n\t        this.excelStyles.push(resultantStyle);\n\t        this.styleIds.push(excelId);\n\t    };\n\t    ExcelGridSerializingSession.prototype.styleExists = function (styleId) {\n\t        if (styleId == null)\n\t            return false;\n\t        return this.styleIds.indexOf(styleId) > -1;\n\t    };\n\t    ExcelGridSerializingSession.prototype.createCell = function (styleId, type, value) {\n\t        return {\n\t            styleId: this.styleExists(styleId) ? styleId : null,\n\t            data: {\n\t                type: type,\n\t                value: value\n\t            }\n\t        };\n\t    };\n\t    ExcelGridSerializingSession.prototype.createMergedCell = function (styleId, type, value, numOfCells) {\n\t        return {\n\t            styleId: this.styleExists(styleId) ? styleId : null,\n\t            data: {\n\t                type: type,\n\t                value: value\n\t            },\n\t            mergeAcross: numOfCells\n\t        };\n\t    };\n\t    return ExcelGridSerializingSession;\n\t}(main_5.BaseGridSerializingSession));\n\texports.ExcelGridSerializingSession = ExcelGridSerializingSession;\n\tvar ExcelCreator = (function () {\n\t    function ExcelCreator() {\n\t    }\n\t    ExcelCreator.prototype.exportDataAsExcel = function (params) {\n\t        var fileNamePresent = params && params.fileName && params.fileName.length !== 0;\n\t        var fileName = fileNamePresent ? params.fileName : 'export.xls';\n\t        if (fileName.indexOf(\".\") === -1) {\n\t            fileName = fileName + '.xls';\n\t        }\n\t        var content = this.getDataAsExcelXml(params);\n\t        this.downloader.download(fileName, content, \"application/vnd.ms-excel\");\n\t    };\n\t    ExcelCreator.prototype.getDataAsExcelXml = function (params) {\n\t        return this.gridSerializer.serialize(new ExcelGridSerializingSession(this.columnController, this.valueService, this.gridOptionsWrapper, params ? params.processCellCallback : null, params ? params.processHeaderCallback : null, this.excelXmlFactory, this.gridOptions.excelStyles, this.styleLinker.bind(this)), params);\n\t    };\n\t    ExcelCreator.prototype.styleLinker = function (rowType, rowIndex, colIndex, value, column, node) {\n\t        if ((rowType === main_5.RowType.HEADER) || (rowType === main_5.RowType.HEADER_GROUPING))\n\t            return [\"header\"];\n\t        if (!this.gridOptions.excelStyles || this.gridOptions.excelStyles.length === 0)\n\t            return null;\n\t        var styleIds = this.gridOptions.excelStyles.map(function (it) {\n\t            return it.id;\n\t        });\n\t        var applicableStyles = [];\n\t        this.stylingService.processAllCellClasses(column.getColDef(), {\n\t            value: value,\n\t            data: node.data,\n\t            node: node,\n\t            colDef: column.getColDef(),\n\t            rowIndex: rowIndex,\n\t            api: this.gridOptionsWrapper.getApi(),\n\t            context: this.gridOptionsWrapper.getContext()\n\t        }, function (className) {\n\t            if (styleIds.indexOf(className) > -1) {\n\t                applicableStyles.push(className);\n\t            }\n\t        });\n\t        return applicableStyles.sort(function (left, right) {\n\t            return (styleIds.indexOf(left) < styleIds.indexOf(right)) ? -1 : 1;\n\t        });\n\t    };\n\t    return ExcelCreator;\n\t}());\n\t__decorate([\n\t    main_3.Autowired('excelXmlFactory'),\n\t    __metadata(\"design:type\", excelXmlFactory_1.ExcelXmlFactory)\n\t], ExcelCreator.prototype, \"excelXmlFactory\", void 0);\n\t__decorate([\n\t    main_3.Autowired('downloader'),\n\t    __metadata(\"design:type\", main_4.Downloader)\n\t], ExcelCreator.prototype, \"downloader\", void 0);\n\t__decorate([\n\t    main_3.Autowired('columnController'),\n\t    __metadata(\"design:type\", main_1.ColumnController)\n\t], ExcelCreator.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    main_3.Autowired('valueService'),\n\t    __metadata(\"design:type\", main_2.ValueService)\n\t], ExcelCreator.prototype, \"valueService\", void 0);\n\t__decorate([\n\t    main_3.Autowired('gridSerializer'),\n\t    __metadata(\"design:type\", main_5.GridSerializer)\n\t], ExcelCreator.prototype, \"gridSerializer\", void 0);\n\t__decorate([\n\t    main_3.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", main_7.GridOptionsWrapper)\n\t], ExcelCreator.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    main_3.Autowired('gridOptions'),\n\t    __metadata(\"design:type\", Object)\n\t], ExcelCreator.prototype, \"gridOptions\", void 0);\n\t__decorate([\n\t    main_3.Autowired('stylingService'),\n\t    __metadata(\"design:type\", main_8.StylingService)\n\t], ExcelCreator.prototype, \"stylingService\", void 0);\n\tExcelCreator = __decorate([\n\t    main_3.Bean('excelCreator')\n\t], ExcelCreator);\n\texports.ExcelCreator = ExcelCreator;\n\n\n/***/ }),\n/* 162 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar main_1 = __webpack_require__(2);\n\tvar main_2 = __webpack_require__(2);\n\tvar main_3 = __webpack_require__(2);\n\tvar LINE_SEPARATOR = '\\r\\n';\n\t/**\n\t * See https://msdn.microsoft.com/en-us/library/aa140066(v=office.10).aspx\n\t */\n\tvar ExcelXmlFactory = (function () {\n\t    function ExcelXmlFactory() {\n\t    }\n\t    ExcelXmlFactory.prototype.createExcelXml = function (styles, worksheets) {\n\t        var documentProperties = this.documentProperties();\n\t        var excelWorkbook = this.excelWorkbook();\n\t        return this.excelXmlHeader() +\n\t            this.xmlFactory.createXml(this.workbook(documentProperties, excelWorkbook, styles, worksheets), function (boolean) { return boolean ? \"1\" : \"0\"; });\n\t    };\n\t    ExcelXmlFactory.prototype.workbook = function (documentProperties, excelWorkbook, styles, worksheets) {\n\t        var _this = this;\n\t        var children = [\n\t            documentProperties,\n\t            excelWorkbook,\n\t            this.stylesXmlElement(styles)\n\t        ];\n\t        main_3.Utils.map(worksheets, function (it) {\n\t            return _this.worksheetXmlElement(it);\n\t        }).forEach(function (it) {\n\t            children.push(it);\n\t        });\n\t        return {\n\t            name: \"Workbook\",\n\t            properties: {\n\t                prefixedAttributes: [{\n\t                        prefix: \"xmlns:\",\n\t                        map: {\n\t                            o: \"urn:schemas-microsoft-com:office:office\",\n\t                            x: \"urn:schemas-microsoft-com:office:excel\",\n\t                            ss: \"urn:schemas-microsoft-com:office:spreadsheet\",\n\t                            html: \"http://www.w3.org/TR/REC-html40\"\n\t                        },\n\t                    }],\n\t                rawMap: {\n\t                    xmlns: \"urn:schemas-microsoft-com:office:spreadsheet\"\n\t                }\n\t            },\n\t            children: children\n\t        };\n\t    };\n\t    ExcelXmlFactory.prototype.excelXmlHeader = function () {\n\t        // need to take out the question mark, otherwise it bothers php when have < and ? beside each\n\t        // other in a string, as php thinks it's a directive for php\n\t        var QUESTION_MARK = '?';\n\t        return '<' + QUESTION_MARK + 'xml version=\"1.0\"' + QUESTION_MARK + '>' + LINE_SEPARATOR +\n\t            '<' + QUESTION_MARK + 'mso-application progid=\"Excel.Sheet\"' + QUESTION_MARK + '>' + LINE_SEPARATOR;\n\t    };\n\t    ExcelXmlFactory.prototype.stylesXmlElement = function (styles) {\n\t        var _this = this;\n\t        return {\n\t            name: 'Styles',\n\t            children: styles ? main_3.Utils.map(styles, function (it) {\n\t                return _this.styleXmlElement(it);\n\t            }) : []\n\t        };\n\t    };\n\t    ExcelXmlFactory.prototype.styleXmlElement = function (style) {\n\t        var borders = [];\n\t        if (style.borders) {\n\t            [\n\t                style.borders.borderBottom,\n\t                style.borders.borderLeft,\n\t                style.borders.borderRight,\n\t                style.borders.borderTop\n\t            ].forEach(function (it, index) {\n\t                var current = index == 0 ? \"Bottom\" : index == 1 ? \"Left\" : index == 2 ? \"Right\" : \"Top\";\n\t                borders.push({\n\t                    name: \"Border\",\n\t                    properties: {\n\t                        prefixedAttributes: [{\n\t                                prefix: \"ss:\",\n\t                                map: {\n\t                                    Position: current,\n\t                                    LineStyle: it.lineStyle,\n\t                                    Weight: it.weight,\n\t                                    Color: it.color\n\t                                }\n\t                            }]\n\t                    }\n\t                });\n\t            });\n\t        }\n\t        var children = [];\n\t        if (style.alignment) {\n\t            children.push({\n\t                name: \"Alignment\",\n\t                properties: {\n\t                    prefixedAttributes: [{\n\t                            prefix: \"ss:\",\n\t                            map: {\n\t                                Vertical: style.alignment.vertical,\n\t                                Horizontal: style.alignment.horizontal,\n\t                                Indent: style.alignment.indent,\n\t                                ReadingOrder: style.alignment.readingOrder,\n\t                                Rotate: style.alignment.rotate,\n\t                                ShrinkToFit: style.alignment.shrinkToFit,\n\t                                VerticalText: style.alignment.verticalText,\n\t                                WrapText: style.alignment.wrapText\n\t                            }\n\t                        }]\n\t                }\n\t            });\n\t        }\n\t        if (style.borders) {\n\t            children.push({\n\t                name: \"Borders\",\n\t                children: borders\n\t            });\n\t        }\n\t        if (style.font) {\n\t            children.push({\n\t                name: \"Font\",\n\t                properties: {\n\t                    prefixedAttributes: [{\n\t                            prefix: \"ss:\",\n\t                            map: {\n\t                                Bold: style.font.bold,\n\t                                Italic: style.font.italic,\n\t                                Color: style.font.color,\n\t                                Outline: style.font.outline,\n\t                                Shadow: style.font.shadow,\n\t                                Size: style.font.size,\n\t                                StrikeThrough: style.font.strikeThrough,\n\t                                Underline: style.font.underline,\n\t                                VerticalAlign: style.font.verticalAlign\n\t                            }\n\t                        }, {\n\t                            prefix: \"x:\",\n\t                            map: {\n\t                                CharSet: style.font.charSet,\n\t                                Family: style.font.family\n\t                            }\n\t                        }]\n\t                }\n\t            });\n\t        }\n\t        if (style.interior) {\n\t            children.push({\n\t                name: \"Interior\",\n\t                properties: {\n\t                    prefixedAttributes: [{\n\t                            prefix: \"ss:\",\n\t                            map: {\n\t                                Color: style.interior.color,\n\t                                Pattern: style.interior.pattern,\n\t                                PatternColor: style.interior.patternColor\n\t                            }\n\t                        }]\n\t                }\n\t            });\n\t        }\n\t        if (style.protection) {\n\t            children.push({\n\t                name: \"Protection\",\n\t                properties: {\n\t                    prefixedAttributes: [{\n\t                            prefix: \"ss:\",\n\t                            map: {\n\t                                Protected: style.protection.protected,\n\t                                HideFormula: style.protection.hideFormula\n\t                            }\n\t                        }]\n\t                }\n\t            });\n\t        }\n\t        if (style.numberFormat) {\n\t            children.push({\n\t                name: \"NumberFormat\",\n\t                properties: {\n\t                    prefixedAttributes: [{\n\t                            prefix: \"ss:\",\n\t                            map: {\n\t                                Format: style.numberFormat.format\n\t                            }\n\t                        }]\n\t                }\n\t            });\n\t        }\n\t        return {\n\t            name: \"Style\",\n\t            properties: {\n\t                prefixedAttributes: [{\n\t                        prefix: \"ss:\",\n\t                        map: {\n\t                            ID: style.id,\n\t                            Name: (style.name) ? style.name : style.id\n\t                        }\n\t                    }]\n\t            },\n\t            children: children\n\t        };\n\t    };\n\t    ExcelXmlFactory.prototype.worksheetXmlElement = function (worksheet) {\n\t        var _this = this;\n\t        var children = [];\n\t        main_3.Utils.map(worksheet.table.columns, function (it) {\n\t            return _this.columnXmlElement(it);\n\t        }).forEach(function (it) {\n\t            children.push(it);\n\t        });\n\t        main_3.Utils.map(worksheet.table.rows, function (it) {\n\t            return _this.rowXmlElement(it);\n\t        }).forEach(function (it) {\n\t            children.push(it);\n\t        });\n\t        return {\n\t            name: \"Worksheet\",\n\t            children: [{\n\t                    name: \"Table\",\n\t                    children: children\n\t                }],\n\t            properties: {\n\t                prefixedAttributes: [{\n\t                        prefix: \"ss:\",\n\t                        map: {\n\t                            Name: worksheet.name\n\t                        }\n\t                    }]\n\t            }\n\t        };\n\t    };\n\t    ExcelXmlFactory.prototype.columnXmlElement = function (column) {\n\t        return {\n\t            name: \"Column\",\n\t            properties: {\n\t                prefixedAttributes: [{\n\t                        prefix: \"ss:\",\n\t                        map: {\n\t                            Width: column.width\n\t                        }\n\t                    }]\n\t            }\n\t        };\n\t    };\n\t    ExcelXmlFactory.prototype.rowXmlElement = function (row) {\n\t        var _this = this;\n\t        return {\n\t            name: \"Row\",\n\t            children: main_3.Utils.map(row.cells, function (it) {\n\t                return _this.rowCellXmlElement(it);\n\t            })\n\t        };\n\t    };\n\t    ExcelXmlFactory.prototype.rowCellXmlElement = function (cell) {\n\t        var properties = {};\n\t        if (cell.mergeAcross) {\n\t            properties['MergeAcross'] = cell.mergeAcross;\n\t        }\n\t        if (cell.styleId) {\n\t            properties['StyleID'] = cell.styleId;\n\t        }\n\t        return {\n\t            name: \"Cell\",\n\t            properties: {\n\t                prefixedAttributes: [{\n\t                        prefix: \"ss:\",\n\t                        map: properties\n\t                    }]\n\t            },\n\t            children: [{\n\t                    name: \"Data\",\n\t                    properties: {\n\t                        prefixedAttributes: [{\n\t                                prefix: \"ss:\",\n\t                                map: {\n\t                                    Type: ExcelDataType[cell.data.type]\n\t                                }\n\t                            }]\n\t                    },\n\t                    textNode: cell.data.value\n\t                }]\n\t        };\n\t    };\n\t    ExcelXmlFactory.prototype.excelWorkbook = function () {\n\t        return {\n\t            name: \"ExcelWorkbook\",\n\t            properties: {\n\t                rawMap: {\n\t                    xmlns: \"urn:schemas-microsoft-com:office:excel\"\n\t                }\n\t            },\n\t            children: [{\n\t                    name: \"WindowHeight\",\n\t                    textNode: \"8130\"\n\t                }, {\n\t                    name: \"WindowWidth\",\n\t                    textNode: \"15135\"\n\t                }, {\n\t                    name: \"WindowHeight\",\n\t                    textNode: \"8130\"\n\t                }, {\n\t                    name: \"WindowTopX\",\n\t                    textNode: \"120\"\n\t                }, {\n\t                    name: \"WindowTopY\",\n\t                    textNode: \"45\"\n\t                }, {\n\t                    name: \"ProtectStructure\",\n\t                    textNode: \"False\"\n\t                }, {\n\t                    name: \"ProtectWindow\",\n\t                    textNode: \"False\"\n\t                }]\n\t        };\n\t    };\n\t    ExcelXmlFactory.prototype.documentProperties = function () {\n\t        return {\n\t            name: \"DocumentProperties\",\n\t            properties: {\n\t                rawMap: {\n\t                    xmlns: \"urn:schemas-microsoft-com:office:office\"\n\t                }\n\t            },\n\t            children: [{\n\t                    name: \"Version\",\n\t                    textNode: \"12.00\"\n\t                }]\n\t        };\n\t    };\n\t    return ExcelXmlFactory;\n\t}());\n\t__decorate([\n\t    main_2.Autowired('xmlFactory'),\n\t    __metadata(\"design:type\", main_1.XmlFactory)\n\t], ExcelXmlFactory.prototype, \"xmlFactory\", void 0);\n\tExcelXmlFactory = __decorate([\n\t    main_2.Bean('excelXmlFactory')\n\t], ExcelXmlFactory);\n\texports.ExcelXmlFactory = ExcelXmlFactory;\n\tvar ExcelDataType;\n\t(function (ExcelDataType) {\n\t    ExcelDataType[ExcelDataType[\"String\"] = 0] = \"String\";\n\t    ExcelDataType[ExcelDataType[\"Number\"] = 1] = \"Number\";\n\t})(ExcelDataType = exports.ExcelDataType || (exports.ExcelDataType = {}));\n\n\n/***/ }),\n/* 163 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t    function __() { this.constructor = d; }\n\t    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t    return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar ag_grid_1 = __webpack_require__(2);\n\tvar EnterpriseRowModel = (function (_super) {\n\t    __extends(EnterpriseRowModel, _super);\n\t    function EnterpriseRowModel() {\n\t        var _this = _super !== null && _super.apply(this, arguments) || this;\n\t        // each time the data changes we increment the instance version.\n\t        // that way we know to discard any daemon network calls, that are bringing\n\t        // back data for an old version.\n\t        _this.instanceVersion = 0;\n\t        return _this;\n\t    }\n\t    EnterpriseRowModel.prototype.postConstruct = function () {\n\t        this.addEventListeners();\n\t        this.rowHeight = this.gridOptionsWrapper.getRowHeightAsNumber();\n\t        this.datasource = this.gridOptionsWrapper.getEnterpriseDatasource();\n\t        if (this.datasource) {\n\t            this.reset();\n\t        }\n\t    };\n\t    EnterpriseRowModel.prototype.isLastRowFound = function () {\n\t        return true;\n\t    };\n\t    EnterpriseRowModel.prototype.addEventListeners = function () {\n\t        this.addDestroyableEventListener(this.eventService, ag_grid_1.Events.EVENT_COLUMN_ROW_GROUP_CHANGED, this.onColumnRowGroupChanged.bind(this));\n\t        this.addDestroyableEventListener(this.eventService, ag_grid_1.Events.EVENT_ROW_GROUP_OPENED, this.onRowGroupOpened.bind(this));\n\t        this.addDestroyableEventListener(this.eventService, ag_grid_1.Events.EVENT_COLUMN_VALUE_CHANGED, this.onValueChanged.bind(this));\n\t        this.addDestroyableEventListener(this.eventService, ag_grid_1.Events.EVENT_FILTER_CHANGED, this.onFilterChanged.bind(this));\n\t        this.addDestroyableEventListener(this.eventService, ag_grid_1.Events.EVENT_SORT_CHANGED, this.onSortChanged.bind(this));\n\t    };\n\t    EnterpriseRowModel.prototype.onFilterChanged = function () {\n\t        this.reset();\n\t    };\n\t    EnterpriseRowModel.prototype.onSortChanged = function () {\n\t        this.reset();\n\t    };\n\t    EnterpriseRowModel.prototype.onValueChanged = function () {\n\t        this.reset();\n\t    };\n\t    EnterpriseRowModel.prototype.onColumnRowGroupChanged = function () {\n\t        this.reset();\n\t    };\n\t    EnterpriseRowModel.prototype.onRowGroupOpened = function (event) {\n\t        var openedNode = event.node;\n\t        if (openedNode.expanded && ag_grid_1._.missing(openedNode.childrenAfterSort)) {\n\t            this.loadNode(openedNode);\n\t        }\n\t        else {\n\t            this.mapAndFireModelUpdated();\n\t        }\n\t    };\n\t    EnterpriseRowModel.prototype.reset = function () {\n\t        this.nextId = 0;\n\t        this.rowsToDisplay = null;\n\t        this.instanceVersion++;\n\t        this.rootNode = new ag_grid_1.RowNode();\n\t        this.rootNode.group = true;\n\t        this.rootNode.level = -1;\n\t        this.context.wireBean(this.rootNode);\n\t        if (this.datasource) {\n\t            this.loadNode(this.rootNode);\n\t        }\n\t        // this event: 1) clears selection 2) updates filters 3) shows/hides 'no rows' overlay\n\t        this.eventService.dispatchEvent(ag_grid_1.Events.EVENT_ROW_DATA_CHANGED);\n\t        // this gets the row to render rows (or remove the previously rendered rows, as it's blank to start)\n\t        this.eventService.dispatchEvent(ag_grid_1.Events.EVENT_MODEL_UPDATED);\n\t    };\n\t    EnterpriseRowModel.prototype.setDatasource = function (datasource) {\n\t        this.datasource = datasource;\n\t        this.reset();\n\t    };\n\t    EnterpriseRowModel.prototype.loadNode = function (rowNode) {\n\t        var _this = this;\n\t        var params = this.createLoadParams(rowNode);\n\t        rowNode.setLoading(true);\n\t        setTimeout(function () {\n\t            _this.datasource.getRows(params);\n\t        }, 0);\n\t    };\n\t    EnterpriseRowModel.prototype.createGroupKeys = function (groupNode) {\n\t        var keys = [];\n\t        var pointer = groupNode;\n\t        while (pointer.level >= 0) {\n\t            keys.push(pointer.key);\n\t            pointer = pointer.parent;\n\t        }\n\t        keys.reverse();\n\t        return keys;\n\t    };\n\t    EnterpriseRowModel.prototype.createLoadParams = function (rowNode) {\n\t        var groupKeys = this.createGroupKeys(rowNode);\n\t        var rowGroupColumnVos = this.toValueObjects(this.columnController.getRowGroupColumns());\n\t        var valueColumnVos = this.toValueObjects(this.columnController.getValueColumns());\n\t        var request = {\n\t            rowGroupCols: rowGroupColumnVos,\n\t            valueCols: valueColumnVos,\n\t            groupKeys: groupKeys,\n\t            filterModel: this.filterManager.getFilterModel(),\n\t            sortModel: this.sortController.getSortModel()\n\t        };\n\t        var params = {\n\t            successCallback: this.successCallback.bind(this, this.instanceVersion, rowNode),\n\t            failCallback: this.failCallback.bind(this, this.instanceVersion, rowNode),\n\t            request: request\n\t        };\n\t        return params;\n\t    };\n\t    EnterpriseRowModel.prototype.toValueObjects = function (columns) {\n\t        var _this = this;\n\t        return columns.map(function (col) { return ({\n\t            id: col.getId(),\n\t            aggFunc: col.getAggFunc(),\n\t            displayName: _this.columnController.getDisplayNameForColumn(col, 'model'),\n\t            field: col.getColDef().field\n\t        }); });\n\t    };\n\t    EnterpriseRowModel.prototype.successCallback = function (instanceVersion, parentNode, dataItems) {\n\t        var _this = this;\n\t        var isDaemon = instanceVersion !== this.instanceVersion;\n\t        if (isDaemon) {\n\t            return;\n\t        }\n\t        var groupCols = this.columnController.getRowGroupColumns();\n\t        var newNodesLevel = parentNode.level + 1;\n\t        var newNodesAreGroups = groupCols.length > newNodesLevel;\n\t        var field = newNodesAreGroups ? groupCols[newNodesLevel].getColDef().field : null;\n\t        parentNode.setLoading(false);\n\t        parentNode.childrenAfterSort = [];\n\t        if (dataItems) {\n\t            dataItems.forEach(function (dataItem) {\n\t                var childNode = new ag_grid_1.RowNode();\n\t                _this.context.wireBean(childNode);\n\t                childNode.group = newNodesAreGroups;\n\t                childNode.level = newNodesLevel;\n\t                childNode.parent = parentNode;\n\t                childNode.setDataAndId(dataItem, _this.nextId.toString());\n\t                if (newNodesAreGroups) {\n\t                    childNode.expanded = false;\n\t                    childNode.field = field;\n\t                    childNode.key = dataItem[field];\n\t                }\n\t                parentNode.childrenAfterSort.push(childNode);\n\t                _this.nextId++;\n\t            });\n\t        }\n\t        this.mapAndFireModelUpdated();\n\t    };\n\t    EnterpriseRowModel.prototype.mapAndFireModelUpdated = function () {\n\t        this.doRowsToDisplay();\n\t        this.doSetRowTop();\n\t        var event = { animate: true, keepRenderedRows: true, newData: false, newPage: false };\n\t        this.eventService.dispatchEvent(ag_grid_1.Events.EVENT_MODEL_UPDATED, event);\n\t    };\n\t    EnterpriseRowModel.prototype.failCallback = function (instanceVersion, rowNode) {\n\t        var isDaemon = instanceVersion !== this.instanceVersion;\n\t        if (isDaemon) {\n\t            return;\n\t        }\n\t        rowNode.setLoading(false);\n\t    };\n\t    EnterpriseRowModel.prototype.getRowBounds = function (index) {\n\t        return {\n\t            rowHeight: this.rowHeight,\n\t            rowTop: this.rowHeight * index\n\t        };\n\t    };\n\t    EnterpriseRowModel.prototype.doSetRowTop = function () {\n\t        var accumulatedRowTop = 0;\n\t        this.rowsToDisplay.forEach(function (rowToDisplay) {\n\t            rowToDisplay.setRowTop(accumulatedRowTop);\n\t            accumulatedRowTop += rowToDisplay.rowHeight;\n\t        });\n\t    };\n\t    EnterpriseRowModel.prototype.getRow = function (index) {\n\t        return this.rowsToDisplay[index];\n\t    };\n\t    EnterpriseRowModel.prototype.getPageFirstRow = function () {\n\t        return 0;\n\t    };\n\t    EnterpriseRowModel.prototype.getPageLastRow = function () {\n\t        return this.rowsToDisplay ? this.rowsToDisplay.length - 1 : 0;\n\t    };\n\t    EnterpriseRowModel.prototype.getRowCount = function () {\n\t        return this.rowsToDisplay ? this.rowsToDisplay.length : 0;\n\t    };\n\t    EnterpriseRowModel.prototype.getRowIndexAtPixel = function (pixel) {\n\t        if (this.rowHeight !== 0) {\n\t            return Math.floor(pixel / this.rowHeight);\n\t        }\n\t        else {\n\t            return 0;\n\t        }\n\t    };\n\t    EnterpriseRowModel.prototype.getCurrentPageHeight = function () {\n\t        return this.getPageLastRow() * this.rowHeight;\n\t    };\n\t    EnterpriseRowModel.prototype.isEmpty = function () {\n\t        return ag_grid_1._.missing(this.rootNode);\n\t    };\n\t    EnterpriseRowModel.prototype.isRowsToRender = function () {\n\t        return this.rowsToDisplay ? this.rowsToDisplay.length > 0 : false;\n\t    };\n\t    EnterpriseRowModel.prototype.getType = function () {\n\t        return ag_grid_1.Constants.ROW_MODEL_TYPE_ENTERPRISE;\n\t    };\n\t    EnterpriseRowModel.prototype.doRowsToDisplay = function () {\n\t        this.rowsToDisplay = this.flattenStage.execute({ rowNode: this.rootNode });\n\t    };\n\t    EnterpriseRowModel.prototype.forEachNode = function (callback) {\n\t        console.log('forEachNode not supported in enterprise row model');\n\t    };\n\t    EnterpriseRowModel.prototype.insertItemsAtIndex = function (index, items, skipRefresh) {\n\t        console.log('insertItemsAtIndex not supported in enterprise row model');\n\t    };\n\t    EnterpriseRowModel.prototype.removeItems = function (rowNodes, skipRefresh) {\n\t        console.log('removeItems not supported in enterprise row model');\n\t    };\n\t    EnterpriseRowModel.prototype.addItems = function (item, skipRefresh) {\n\t        console.log('addItems not supported in enterprise row model');\n\t    };\n\t    EnterpriseRowModel.prototype.isRowPresent = function (rowNode) {\n\t        console.log('isRowPresent not supported in enterprise row model');\n\t        return false;\n\t    };\n\t    return EnterpriseRowModel;\n\t}(ag_grid_1.BeanStub));\n\t__decorate([\n\t    ag_grid_1.Autowired('gridOptionsWrapper'),\n\t    __metadata(\"design:type\", ag_grid_1.GridOptionsWrapper)\n\t], EnterpriseRowModel.prototype, \"gridOptionsWrapper\", void 0);\n\t__decorate([\n\t    ag_grid_1.Autowired('eventService'),\n\t    __metadata(\"design:type\", ag_grid_1.EventService)\n\t], EnterpriseRowModel.prototype, \"eventService\", void 0);\n\t__decorate([\n\t    ag_grid_1.Autowired('context'),\n\t    __metadata(\"design:type\", ag_grid_1.Context)\n\t], EnterpriseRowModel.prototype, \"context\", void 0);\n\t__decorate([\n\t    ag_grid_1.Autowired('flattenStage'),\n\t    __metadata(\"design:type\", ag_grid_1.FlattenStage)\n\t], EnterpriseRowModel.prototype, \"flattenStage\", void 0);\n\t__decorate([\n\t    ag_grid_1.Autowired('columnController'),\n\t    __metadata(\"design:type\", ag_grid_1.ColumnController)\n\t], EnterpriseRowModel.prototype, \"columnController\", void 0);\n\t__decorate([\n\t    ag_grid_1.Autowired('filterManager'),\n\t    __metadata(\"design:type\", ag_grid_1.FilterManager)\n\t], EnterpriseRowModel.prototype, \"filterManager\", void 0);\n\t__decorate([\n\t    ag_grid_1.Autowired('sortController'),\n\t    __metadata(\"design:type\", ag_grid_1.SortController)\n\t], EnterpriseRowModel.prototype, \"sortController\", void 0);\n\t__decorate([\n\t    ag_grid_1.PostConstruct,\n\t    __metadata(\"design:type\", Function),\n\t    __metadata(\"design:paramtypes\", []),\n\t    __metadata(\"design:returntype\", void 0)\n\t], EnterpriseRowModel.prototype, \"postConstruct\", null);\n\tEnterpriseRowModel = __decorate([\n\t    ag_grid_1.Bean('rowModel')\n\t], EnterpriseRowModel);\n\texports.EnterpriseRowModel = EnterpriseRowModel;\n\n\n/***/ }),\n/* 164 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// ag-grid-enterprise v9.0.3\n\t\"use strict\";\n\tvar columnSelectPanel_1 = __webpack_require__(126);\n\tvar renderedColumn_1 = __webpack_require__(128);\n\tvar renderedGroup_1 = __webpack_require__(127);\n\tvar aggregationStage_1 = __webpack_require__(136);\n\tvar groupStage_1 = __webpack_require__(135);\n\tvar setFilter_1 = __webpack_require__(140);\n\tvar setFilterModel_1 = __webpack_require__(141);\n\tvar statusBar_1 = __webpack_require__(148);\n\tvar statusItem_1 = __webpack_require__(149);\n\tvar clipboardService_1 = __webpack_require__(132);\n\tvar enterpriseBoot_1 = __webpack_require__(139);\n\tvar enterpriseMenu_1 = __webpack_require__(125);\n\tvar menuItemComponent_1 = __webpack_require__(130);\n\tvar menuList_1 = __webpack_require__(129);\n\tvar rangeController_1 = __webpack_require__(133);\n\tvar rowGroupColumnsPanel_1 = __webpack_require__(156);\n\tvar contextMenu_1 = __webpack_require__(150);\n\tvar viewportRowModel_1 = __webpack_require__(151);\n\tvar richSelectCellEditor_1 = __webpack_require__(144);\n\tvar richSelectRow_1 = __webpack_require__(145);\n\tvar virtualList_1 = __webpack_require__(143);\n\tvar abstractColumnDropPanel_1 = __webpack_require__(153);\n\tvar pivotColumnsPanel_1 = __webpack_require__(152);\n\tvar toolPanelComp_1 = __webpack_require__(155);\n\tvar licenseManager_1 = __webpack_require__(146);\n\tvar pivotStage_1 = __webpack_require__(137);\n\tvar pivotColDefService_1 = __webpack_require__(138);\n\tvar pivotModePanel_1 = __webpack_require__(157);\n\tvar aggFuncService_1 = __webpack_require__(134);\n\tvar md5_1 = __webpack_require__(147);\n\tvar setFilterListItem_1 = __webpack_require__(142);\n\tvar columnComponent_1 = __webpack_require__(154);\n\tvar valueColumnsPanel_1 = __webpack_require__(158);\n\tvar pivotCompFactory_1 = __webpack_require__(160);\n\tvar rowGroupCompFactory_1 = __webpack_require__(159);\n\tvar excelCreator_1 = __webpack_require__(161);\n\tvar excelXmlFactory_1 = __webpack_require__(162);\n\tfunction populateClientExports(exports) {\n\t    exports.AggFuncService = aggFuncService_1.AggFuncService;\n\t    exports.MD5 = md5_1.MD5;\n\t    exports.EnterpriseMenu = enterpriseMenu_1.EnterpriseMenu;\n\t    exports.MenuList = menuList_1.MenuList;\n\t    exports.MenuItemComponent = menuItemComponent_1.MenuItemComponent;\n\t    exports.RichSelectCellEditor = richSelectCellEditor_1.RichSelectCellEditor;\n\t    exports.RichSelectRow = richSelectRow_1.RichSelectRow;\n\t    exports.VirtualList = virtualList_1.VirtualList;\n\t    exports.AggregationStage = aggregationStage_1.AggregationStage;\n\t    exports.GroupStage = groupStage_1.GroupStage;\n\t    exports.PivotColDefService = pivotColDefService_1.PivotColDefService;\n\t    exports.PivotStage = pivotStage_1.PivotStage;\n\t    exports.SetFilter = setFilter_1.SetFilter;\n\t    exports.SetFilterListItem = setFilterListItem_1.SetFilterListItem;\n\t    exports.SetFilterModel = setFilterModel_1.SetFilterModel;\n\t    exports.StatusBar = statusBar_1.StatusBar;\n\t    exports.StatusItem = statusItem_1.StatusItem;\n\t    exports.AbstractColumnDropPanel = abstractColumnDropPanel_1.AbstractColumnDropPanel;\n\t    exports.ColumnComponent = columnComponent_1.ColumnComponent;\n\t    exports.PivotColumnsPanel = pivotColumnsPanel_1.PivotColumnsPanel;\n\t    exports.PivotModePanel = pivotModePanel_1.PivotModePanel;\n\t    exports.RowGroupColumnsPanel = rowGroupColumnsPanel_1.RowGroupColumnsPanel;\n\t    exports.ValuesColumnPanel = valueColumnsPanel_1.ValuesColumnPanel;\n\t    exports.ToolPanelComp = toolPanelComp_1.ToolPanelComp;\n\t    exports.ColumnSelectPanel = columnSelectPanel_1.ColumnSelectPanel;\n\t    exports.RenderedColumn = renderedColumn_1.RenderedColumn;\n\t    exports.RenderedGroup = renderedGroup_1.RenderedGroup;\n\t    exports.ViewportRowModel = viewportRowModel_1.ViewportRowModel;\n\t    exports.ClipboardService = clipboardService_1.ClipboardService;\n\t    exports.ContextMenuFactory = contextMenu_1.ContextMenuFactory;\n\t    exports.EnterpriseBoot = enterpriseBoot_1.EnterpriseBoot;\n\t    exports.LicenseManager = licenseManager_1.LicenseManager;\n\t    exports.PivotCompFactory = pivotCompFactory_1.PivotCompFactory;\n\t    exports.ExcelCreator = excelCreator_1.ExcelCreator;\n\t    exports.ExcelXmlFactory = excelXmlFactory_1.ExcelXmlFactory;\n\t    exports.RangeController = rangeController_1.RangeController;\n\t    exports.RowGroupCompFactory = rowGroupCompFactory_1.RowGroupCompFactory;\n\t}\n\texports.populateClientExports = populateClientExports;\n\n\n/***/ }),\n/* 165 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// style-loader: Adds some css to the DOM by adding a <style> tag\n\n\t// load the styles\n\tvar content = __webpack_require__(166);\n\tif(typeof content === 'string') content = [[module.id, content, '']];\n\t// add the styles to the DOM\n\tvar update = __webpack_require__(168)(content, {});\n\tif(content.locals) module.exports = content.locals;\n\t// Hot Module Replacement\n\tif(false) {\n\t\t// When the styles change, update the <style> tags\n\t\tif(!content.locals) {\n\t\t\tmodule.hot.accept(\"!!../../../css-loader/index.js!./ag-grid.css\", function() {\n\t\t\t\tvar newContent = require(\"!!../../../css-loader/index.js!./ag-grid.css\");\n\t\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\t\t\t\tupdate(newContent);\n\t\t\t});\n\t\t}\n\t\t// When the module is disposed, remove the <style> tags\n\t\tmodule.hot.dispose(function() { update(); });\n\t}\n\n/***/ }),\n/* 166 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\texports = module.exports = __webpack_require__(167)();\n\t// imports\n\n\n\t// module\n\texports.push([module.id, \"ag-grid-angular {\\n  display: inline-block;\\n}\\nag-grid-ng2 {\\n  display: inline-block;\\n}\\n.ag-rtl {\\n  direction: rtl;\\n}\\n.ag-ltr {\\n  direction: ltr;\\n}\\n.ag-select-agg-func-popup {\\n  position: absolute;\\n}\\n.ag-body-no-select {\\n  -webkit-user-select: none;\\n  -moz-user-select: none;\\n  -ms-user-select: none;\\n  user-select: none;\\n}\\n.ag-root {\\n/* set to relative, so absolute popups appear relative to this */\\n  position: relative;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n/* was getting some 'should be there' scrolls, this sorts it out */\\n  overflow: hidden;\\n}\\n.ag-font-style {\\n  cursor: default;\\n/* disable user mouse selection */\\n  -webkit-user-select: none;\\n  -moz-user-select: none;\\n  -ms-user-select: none;\\n  user-select: none;\\n}\\n.ag-no-scrolls {\\n  white-space: nowrap;\\n  display: inline-block;\\n}\\n.ag-scrolls {\\n  height: 100%;\\n}\\n.ag-popup-backdrop {\\n  position: fixed;\\n  left: 0px;\\n  top: 0px;\\n  width: 100%;\\n  height: 100%;\\n}\\n.ag-header {\\n  position: absolute;\\n  top: 0px;\\n  left: 0px;\\n  white-space: nowrap;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  overflow: hidden;\\n  width: 100%;\\n}\\n.ag-pinned-left-header {\\n  float: left;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  display: inline-block;\\n  overflow: hidden;\\n  height: 100%;\\n}\\n.ag-pinned-right-header {\\n  float: right;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  display: inline-block;\\n  overflow: hidden;\\n  height: 100%;\\n}\\n.ag-header-viewport {\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  overflow: hidden;\\n  height: 100%;\\n}\\n.ag-scrolls .ag-header-row {\\n  position: absolute;\\n}\\n.ag-scrolls .ag-header-container {\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  position: relative;\\n  white-space: nowrap;\\n  height: 100%;\\n}\\n.ag-no-scrolls .ag-header-container {\\n  white-space: nowrap;\\n}\\n.ag-header-overlay {\\n  display: block;\\n  position: absolute;\\n}\\n.ag-header-cell {\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  vertical-align: bottom;\\n  text-align: center;\\n  display: inline-block;\\n  height: 100%;\\n  position: absolute;\\n}\\n.ag-floating-filter {\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  position: absolute;\\n  display: inline-block;\\n}\\n.ag-floating-filter-body {\\n  margin-right: 25px;\\n  height: 20px;\\n}\\n.ag-floating-filter-full-body {\\n  width: 100%;\\n  height: 20px;\\n}\\n.ag-floating-filter-button {\\n  width: 25px;\\n  height: 20px;\\n  float: right;\\n  margin-top: -20px;\\n}\\n.ag-floating-filter-button button {\\n  width: 25px;\\n  height: 19px;\\n  padding: 0;\\n}\\n.ag-floating-filter-input {\\n  width: 100%;\\n}\\n.ag-floating-filter-input:read-only {\\n  background-color: #eee;\\n}\\n.ag-floating-filter-menu {\\n  position: absolute;\\n  -webkit-user-select: none;\\n  -moz-user-select: none;\\n  -ms-user-select: none;\\n  user-select: none;\\n}\\n.ag-dnd-ghost {\\n  font-size: 14px;\\n  font-family: \\\"Helvetica Neue\\\", Helvetica, Arial, sans-serif;\\n  position: absolute;\\n  background: #e5e5e5;\\n  border: 1px solid #000;\\n  cursor: move;\\n  -webkit-user-select: none;\\n  -moz-user-select: none;\\n  -ms-user-select: none;\\n  user-select: none;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  overflow: hidden;\\n  -o-text-overflow: ellipsis;\\n  text-overflow: ellipsis;\\n  padding: 3px;\\n  line-height: 1.4;\\n}\\n.ag-dnd-ghost-icon {\\n  display: inline-block;\\n  float: left;\\n  padding-left: 2px;\\n  padding-right: 2px;\\n}\\n.ag-dnd-ghost-label {\\n  display: inline-block;\\n}\\n.ag-header-group-cell {\\n  height: 100%;\\n  display: inline-block;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  -o-text-overflow: ellipsis;\\n  text-overflow: ellipsis;\\n  overflow: hidden;\\n  position: absolute;\\n}\\n.ag-header-group-cell-label {\\n  -o-text-overflow: ellipsis;\\n  text-overflow: ellipsis;\\n  overflow: hidden;\\n}\\n.ag-header-cell-label {\\n  -o-text-overflow: ellipsis;\\n  text-overflow: ellipsis;\\n  overflow: hidden;\\n}\\n.ag-header-cell-resize {\\n  height: 100%;\\n  width: 4px;\\n  cursor: col-resize;\\n}\\n.ag-ltr .ag-header-cell-resize {\\n  float: right;\\n}\\n.ag-ltr .ag-pinned-right-header .ag-header-cell-resize {\\n  float: left;\\n}\\n.ag-rtl .ag-header-cell-resize {\\n  float: left;\\n}\\n.ag-rtl .ag-pinned-left-header .ag-header-cell-resize {\\n  float: right;\\n}\\n.ag-ltr .ag-header-select-all {\\n  float: left;\\n}\\n.ag-rtl .ag-header-select-all {\\n  float: right;\\n}\\n.ag-header-expand-icon {\\n  padding-left: 4px;\\n}\\n.ag-header-cell-menu-button {\\n  float: right;\\n}\\n.ag-overlay-panel {\\n  display: table;\\n  width: 100%;\\n  height: 100%;\\n  pointer-events: none;\\n}\\n.ag-overlay-wrapper {\\n  display: table-cell;\\n  vertical-align: middle;\\n  text-align: center;\\n}\\n.ag-bl-overlay {\\n  pointer-events: none;\\n  position: absolute;\\n  height: 100%;\\n  width: 100%;\\n  top: 0px;\\n  left: 0px;\\n}\\n.ag-bl-full-height {\\n  height: 100%;\\n  overflow: auto;\\n  position: relative;\\n}\\n.ag-bl-full-height-west {\\n  height: 100%;\\n  float: left;\\n}\\n.ag-bl-full-height-east {\\n  height: 100%;\\n  float: right;\\n}\\n.ag-bl-full-height-center {\\n  height: 100%;\\n}\\n.ag-bl-normal {\\n  height: 100%;\\n  position: relative;\\n}\\n.ag-bl-normal-center-row {\\n  height: 100%;\\n  overflow: hidden;\\n}\\n.ag-bl-normal-west {\\n  height: 100%;\\n  float: left;\\n}\\n.ag-bl-normal-east {\\n  height: 100%;\\n  float: right;\\n}\\n.ag-bl-normal-center {\\n  height: 100%;\\n}\\n.ag-bl-dont-fill {\\n  position: relative;\\n}\\n.ag-body {\\n  height: 100%;\\n  width: 100%;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  position: absolute;\\n}\\n.ag-floating-top {\\n  position: absolute;\\n  left: 0px;\\n  width: 100%;\\n  white-space: nowrap;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  overflow: hidden;\\n}\\n.ag-pinned-left-floating-top {\\n  float: left;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  display: inline-block;\\n  overflow: hidden;\\n  height: 100%;\\n  position: relative;\\n}\\n.ag-pinned-right-floating-top {\\n  float: right;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  display: inline-block;\\n  overflow: hidden;\\n  height: 100%;\\n  position: relative;\\n}\\n.ag-floating-top-viewport {\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  overflow: hidden;\\n  height: 100%;\\n}\\n.ag-floating-top-container {\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  position: relative;\\n  white-space: nowrap;\\n}\\n.ag-floating-bottom {\\n  position: absolute;\\n  left: 0px;\\n  width: 100%;\\n  white-space: nowrap;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  overflow: hidden;\\n}\\n.ag-pinned-left-floating-bottom {\\n  float: left;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  display: inline-block;\\n  overflow: hidden;\\n  height: 100%;\\n  position: relative;\\n}\\n.ag-pinned-right-floating-bottom {\\n  float: right;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  display: inline-block;\\n  overflow: hidden;\\n  height: 100%;\\n  position: relative;\\n}\\n.ag-floating-bottom-viewport {\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  overflow: hidden;\\n  height: 100%;\\n}\\n.ag-floating-bottom-container {\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  position: relative;\\n  white-space: nowrap;\\n}\\n.ag-pinned-left-cols-viewport {\\n  float: left;\\n}\\n.ag-pinned-left-cols-container {\\n  display: inline-block;\\n  position: relative;\\n}\\n.ag-pinned-right-cols-viewport {\\n  float: right;\\n}\\n.ag-ltr .ag-pinned-right-cols-viewport {\\n  overflow-x: hidden;\\n  overflow-y: auto;\\n}\\n.ag-ltr .ag-pinned-left-cols-viewport {\\n  overflow: hidden;\\n}\\n.ag-rtl .ag-pinned-right-cols-viewport {\\n  overflow: hidden;\\n}\\n.ag-rtl .ag-pinned-left-cols-viewport {\\n  overflow-x: hidden;\\n  overflow-y: auto;\\n}\\n.ag-pinned-right-cols-container {\\n  display: inline-block;\\n  position: relative;\\n}\\n.ag-body-viewport-wrapper {\\n  height: 100%;\\n}\\n.ag-body-viewport {\\n  overflow-x: auto;\\n  overflow-y: auto;\\n  height: 100%;\\n}\\n.ag-full-width-viewport {\\n  height: 100%;\\n  width: 100%;\\n  position: absolute;\\n  top: 0px;\\n  left: 0px;\\n  display: inline;\\n  pointer-events: none;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  overflow: hidden;\\n}\\n.ag-full-width-container {\\n  overflow: hidden;\\n  position: relative;\\n  width: 100%;\\n}\\n.ag-floating-bottom-full-width-container {\\n  height: 100%;\\n  width: 100%;\\n  position: absolute;\\n  top: 0px;\\n  left: 0px;\\n  pointer-events: none;\\n  overflow: hidden;\\n  display: inline;\\n}\\n.ag-floating-top-full-width-container {\\n  height: 100%;\\n  width: 100%;\\n  position: absolute;\\n  top: 0px;\\n  left: 0px;\\n  pointer-events: none;\\n  overflow: hidden;\\n  display: inline;\\n}\\n.ag-full-width-row {\\n  pointer-events: all;\\n  overflow: hidden;\\n}\\n.ag-scrolls .ag-body-container {\\n  position: relative;\\n  display: inline-block;\\n}\\n.ag-row-animation {\\n  -webkit-transition: top 0.4s, height 0.4s, background-color 0.1s, opacity 0.2s;\\n  -moz-transition: top 0.4s, height 0.4s, background-color 0.1s, opacity 0.2s;\\n  -o-transition: top 0.4s, height 0.4s, background-color 0.1s, opacity 0.2s;\\n  -ms-transition: top 0.4s, height 0.4s, background-color 0.1s, opacity 0.2s;\\n  transition: top 0.4s, height 0.4s, background-color 0.1s, opacity 0.2s;\\n}\\n.ag-row-no-animation {\\n  -webkit-transition: background-color 0.1s;\\n  -moz-transition: background-color 0.1s;\\n  -o-transition: background-color 0.1s;\\n  -ms-transition: background-color 0.1s;\\n  transition: background-color 0.1s;\\n}\\n.ag-row {\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n}\\n.ag-scrolls .ag-row {\\n  white-space: nowrap;\\n  position: absolute;\\n  width: 100%;\\n}\\n.ag-no-scrolls .ag-row {\\n  position: relative;\\n}\\n.ag-column-moving .ag-cell {\\n  -webkit-transition: left 0.2s;\\n  -moz-transition: left 0.2s;\\n  -o-transition: left 0.2s;\\n  -ms-transition: left 0.2s;\\n  transition: left 0.2s;\\n}\\n.ag-column-moving .ag-header-cell {\\n  -webkit-transition: left 0.2s;\\n  -moz-transition: left 0.2s;\\n  -o-transition: left 0.2s;\\n  -ms-transition: left 0.2s;\\n  transition: left 0.2s;\\n}\\n.ag-column-moving .ag-header-group-cell {\\n  -webkit-transition: left 0.2s, width 0.2s;\\n  -moz-transition: left 0.2s, width 0.2s;\\n  -o-transition: left 0.2s, width 0.2s;\\n  -ms-transition: left 0.2s, width 0.2s;\\n  transition: left 0.2s, width 0.2s;\\n}\\n.ag-column-drop {\\n  width: 100%;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n}\\n.ag-column-drop-vertical .ag-column-drop-cell {\\n  display: block;\\n}\\n.ag-column-drop-vertical .ag-column-drop-empty-message {\\n  display: block;\\n}\\n.ag-column-drop-vertical .ag-column-drop-cell-button {\\n  line-height: 16px;\\n}\\n.ag-ltr .ag-column-drop-vertical .ag-column-drop-cell-button {\\n  float: right;\\n}\\n.ag-rtl .ag-column-drop-vertical .ag-column-drop-cell-button {\\n  float: left;\\n}\\n.ag-column-drop-horizontal {\\n  white-space: nowrap;\\n}\\n.ag-column-drop-horizontal .ag-column-drop-cell {\\n  display: inline-block;\\n}\\n.ag-column-drop-horizontal .ag-column-drop-empty-message {\\n  display: inline-block;\\n}\\n.ag-cell {\\n  display: inline-block;\\n  white-space: nowrap;\\n  height: 100%;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  -o-text-overflow: ellipsis;\\n  text-overflow: ellipsis;\\n  overflow: hidden;\\n  position: absolute;\\n}\\n.ag-value-slide-out {\\n  opacity: 1;\\n  -ms-filter: none;\\n  filter: none;\\n  margin-right: 5px;\\n  -webkit-transition: opacity 3s, margin-right 3s;\\n  -moz-transition: opacity 3s, margin-right 3s;\\n  -o-transition: opacity 3s, margin-right 3s;\\n  -ms-transition: opacity 3s, margin-right 3s;\\n  transition: opacity 3s, margin-right 3s;\\n  -webkit-transition-timing-function: linear;\\n  -moz-transition-timing-function: linear;\\n  -o-transition-timing-function: linear;\\n  -ms-transition-timing-function: linear;\\n  transition-timing-function: linear;\\n}\\n.ag-value-slide-out-end {\\n  opacity: 0;\\n  -ms-filter: \\\"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)\\\";\\n  filter: alpha(opacity=0);\\n  margin-right: 10px;\\n}\\n.ag-opacity-zero {\\n  opacity: 0;\\n  -ms-filter: \\\"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)\\\";\\n  filter: alpha(opacity=0);\\n}\\n.ag-cell-edit-input {\\n  width: 100%;\\n  height: 100%;\\n}\\n.ag-group-cell-entire-row {\\n  width: 100%;\\n  display: inline-block;\\n  white-space: nowrap;\\n  height: 100%;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  -o-text-overflow: ellipsis;\\n  text-overflow: ellipsis;\\n  overflow: hidden;\\n}\\n.ag-footer-cell-entire-row {\\n  width: 100%;\\n  display: inline-block;\\n  white-space: nowrap;\\n  height: 100%;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  -o-text-overflow: ellipsis;\\n  text-overflow: ellipsis;\\n  overflow: hidden;\\n}\\n.ag-large .ag-root {\\n  font-size: 20px;\\n}\\n.ag-popup-editor {\\n  position: absolute;\\n  -webkit-user-select: none;\\n  -moz-user-select: none;\\n  -ms-user-select: none;\\n  user-select: none;\\n}\\n.ag-menu {\\n  position: absolute;\\n  -webkit-user-select: none;\\n  -moz-user-select: none;\\n  -ms-user-select: none;\\n  user-select: none;\\n}\\n.ag-menu-column-select-wrapper {\\n  width: 200px;\\n  height: 300px;\\n  overflow: auto;\\n}\\n.ag-menu-list {\\n  display: table;\\n  border-collapse: collapse;\\n}\\n.ag-menu-option {\\n  display: table-row;\\n}\\n.ag-menu-option-text {\\n  display: table-cell;\\n}\\n.ag-menu-option-shortcut {\\n  display: table-cell;\\n}\\n.ag-menu-option-icon {\\n  display: table-cell;\\n}\\n.ag-menu-option-popup-pointer {\\n  display: table-cell;\\n}\\n.ag-menu-separator {\\n  display: table-row;\\n}\\n.ag-menu-separator-cell {\\n  display: table-cell;\\n}\\n.ag-virtual-list-viewport {\\n  overflow-x: auto;\\n  height: 100%;\\n  width: 100%;\\n}\\n.ag-virtual-list-container {\\n  position: relative;\\n  overflow: hidden;\\n}\\n.ag-rich-select {\\n  outline: none;\\n}\\n.ag-rich-select-row {\\n  white-space: nowrap;\\n}\\n.ag-rich-select-list {\\n  width: 200px;\\n  height: 200px;\\n}\\n.ag-set-filter-list {\\n  width: 200px;\\n  height: 200px;\\n}\\n.ag-set-filter-item {\\n  -o-text-overflow: ellipsis;\\n  text-overflow: ellipsis;\\n  overflow: hidden;\\n  white-space: nowrap;\\n}\\n.ag-virtual-list-item {\\n  position: absolute;\\n  width: 100%;\\n}\\n.ag-filter-filter {\\n  width: 170px;\\n  margin: 4px;\\n}\\n.ag-floating-filter-body input {\\n  width: 100%;\\n  margin: 0;\\n  height: 19px;\\n}\\n.ag-floating-filter-full-body input {\\n  width: 100%;\\n  margin: 0;\\n  height: 19px;\\n}\\n.ag-filter-select {\\n  width: 110px;\\n  margin: 4px 4px 0px 4px;\\n}\\n.ag-no-vertical-scroll .ag-scrolls {\\n  height: unset;\\n}\\n.ag-no-vertical-scroll .ag-body {\\n  height: unset;\\n}\\n.ag-no-vertical-scroll .ag-body-viewport-wrapper {\\n  height: unset;\\n}\\n.ag-no-vertical-scroll .ag-body-viewport {\\n  height: unset;\\n}\\n.ag-list-selection {\\n  -webkit-user-select: none;\\n  -moz-user-select: none;\\n  -ms-user-select: none;\\n  user-select: none;\\n  cursor: default;\\n}\\n.ag-tool-panel {\\n  width: 200px;\\n  -webkit-user-select: none;\\n  -moz-user-select: none;\\n  -ms-user-select: none;\\n  user-select: none;\\n  cursor: default;\\n  height: 100%;\\n  -webkit-box-sizing: border-box;\\n  -moz-box-sizing: border-box;\\n  box-sizing: border-box;\\n  overflow: auto;\\n}\\n.ag-column-select-indent {\\n  display: inline-block;\\n}\\n.ag-column-select-column {\\n  white-space: nowrap;\\n}\\n.ag-ltr .ag-column-select-column {\\n  margin-left: 14px;\\n}\\n.ag-rtl .ag-column-select-column {\\n  margin-right: 14px;\\n}\\n.ag-column-select-column-group {\\n  white-space: nowrap;\\n}\\n.ag-hidden {\\n  display: none !important;\\n}\\n.ag-visibility-hidden {\\n  visibility: hidden !important;\\n}\\n.ag-faded {\\n  opacity: 0.3;\\n  -ms-filter: \\\"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)\\\";\\n  filter: alpha(opacity=30);\\n}\\n.ag-width-half {\\n  width: 50%;\\n  display: inline-block;\\n}\\n.ag-shake-left-to-right {\\n  -webkit-animation-name: ag-shake-left-to-right;\\n  -moz-animation-name: ag-shake-left-to-right;\\n  -o-animation-name: ag-shake-left-to-right;\\n  -ms-animation-name: ag-shake-left-to-right;\\n  animation-name: ag-shake-left-to-right;\\n  -webkit-animation-duration: 0.2s;\\n  -moz-animation-duration: 0.2s;\\n  -o-animation-duration: 0.2s;\\n  -ms-animation-duration: 0.2s;\\n  animation-duration: 0.2s;\\n  -webkit-animation-iteration-count: infinite;\\n  -moz-animation-iteration-count: infinite;\\n  -o-animation-iteration-count: infinite;\\n  -ms-animation-iteration-count: infinite;\\n  animation-iteration-count: infinite;\\n  -webkit-animation-direction: alternate;\\n  -moz-animation-direction: alternate;\\n  -o-animation-direction: alternate;\\n  -ms-animation-direction: alternate;\\n  animation-direction: alternate;\\n}\\n@-moz-keyframes ag-shake-left-to-right {\\n  from {\\n    padding-left: 6px;\\n    padding-right: 2px;\\n  }\\n  to {\\n    padding-left: 2px;\\n    padding-right: 6px;\\n  }\\n}\\n@-webkit-keyframes ag-shake-left-to-right {\\n  from {\\n    padding-left: 6px;\\n    padding-right: 2px;\\n  }\\n  to {\\n    padding-left: 2px;\\n    padding-right: 6px;\\n  }\\n}\\n@-o-keyframes ag-shake-left-to-right {\\n  from {\\n    padding-left: 6px;\\n    padding-right: 2px;\\n  }\\n  to {\\n    padding-left: 2px;\\n    padding-right: 6px;\\n  }\\n}\\n@keyframes ag-shake-left-to-right {\\n  from {\\n    padding-left: 6px;\\n    padding-right: 2px;\\n  }\\n  to {\\n    padding-left: 2px;\\n    padding-right: 6px;\\n  }\\n}\\n\", \"\"]);\n\n\t// exports\n\n\n/***/ }),\n/* 167 */\n/***/ (function(module, exports) {\n\n\t/*\n\t\tMIT License http://www.opensource.org/licenses/mit-license.php\n\t\tAuthor Tobias Koppers @sokra\n\t*/\n\t// css base code, injected by the css-loader\n\tmodule.exports = function() {\n\t\tvar list = [];\n\n\t\t// return the list of modules as css string\n\t\tlist.toString = function toString() {\n\t\t\tvar result = [];\n\t\t\tfor(var i = 0; i < this.length; i++) {\n\t\t\t\tvar item = this[i];\n\t\t\t\tif(item[2]) {\n\t\t\t\t\tresult.push(\"@media \" + item[2] + \"{\" + item[1] + \"}\");\n\t\t\t\t} else {\n\t\t\t\t\tresult.push(item[1]);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn result.join(\"\");\n\t\t};\n\n\t\t// import a list of modules into the list\n\t\tlist.i = function(modules, mediaQuery) {\n\t\t\tif(typeof modules === \"string\")\n\t\t\t\tmodules = [[null, modules, \"\"]];\n\t\t\tvar alreadyImportedModules = {};\n\t\t\tfor(var i = 0; i < this.length; i++) {\n\t\t\t\tvar id = this[i][0];\n\t\t\t\tif(typeof id === \"number\")\n\t\t\t\t\talreadyImportedModules[id] = true;\n\t\t\t}\n\t\t\tfor(i = 0; i < modules.length; i++) {\n\t\t\t\tvar item = modules[i];\n\t\t\t\t// skip already imported module\n\t\t\t\t// this implementation is not 100% perfect for weird media query combinations\n\t\t\t\t//  when a module is imported multiple times with different media queries.\n\t\t\t\t//  I hope this will never occur (Hey this way we have smaller bundles)\n\t\t\t\tif(typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\n\t\t\t\t\tif(mediaQuery && !item[2]) {\n\t\t\t\t\t\titem[2] = mediaQuery;\n\t\t\t\t\t} else if(mediaQuery) {\n\t\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\n\t\t\t\t\t}\n\t\t\t\t\tlist.push(item);\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\treturn list;\n\t};\n\n\n/***/ }),\n/* 168 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/*\n\t\tMIT License http://www.opensource.org/licenses/mit-license.php\n\t\tAuthor Tobias Koppers @sokra\n\t*/\n\tvar stylesInDom = {},\n\t\tmemoize = function(fn) {\n\t\t\tvar memo;\n\t\t\treturn function () {\n\t\t\t\tif (typeof memo === \"undefined\") memo = fn.apply(this, arguments);\n\t\t\t\treturn memo;\n\t\t\t};\n\t\t},\n\t\tisOldIE = memoize(function() {\n\t\t\treturn /msie [6-9]\\b/.test(window.navigator.userAgent.toLowerCase());\n\t\t}),\n\t\tgetHeadElement = memoize(function () {\n\t\t\treturn document.head || document.getElementsByTagName(\"head\")[0];\n\t\t}),\n\t\tsingletonElement = null,\n\t\tsingletonCounter = 0,\n\t\tstyleElementsInsertedAtTop = [];\n\n\tmodule.exports = function(list, options) {\n\t\tif(false) {\n\t\t\tif(typeof document !== \"object\") throw new Error(\"The style-loader cannot be used in a non-browser environment\");\n\t\t}\n\n\t\toptions = options || {};\n\t\t// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\n\t\t// tags it will allow on a page\n\t\tif (typeof options.singleton === \"undefined\") options.singleton = isOldIE();\n\n\t\t// By default, add <style> tags to the bottom of <head>.\n\t\tif (typeof options.insertAt === \"undefined\") options.insertAt = \"bottom\";\n\n\t\tvar styles = listToStyles(list);\n\t\taddStylesToDom(styles, options);\n\n\t\treturn function update(newList) {\n\t\t\tvar mayRemove = [];\n\t\t\tfor(var i = 0; i < styles.length; i++) {\n\t\t\t\tvar item = styles[i];\n\t\t\t\tvar domStyle = stylesInDom[item.id];\n\t\t\t\tdomStyle.refs--;\n\t\t\t\tmayRemove.push(domStyle);\n\t\t\t}\n\t\t\tif(newList) {\n\t\t\t\tvar newStyles = listToStyles(newList);\n\t\t\t\taddStylesToDom(newStyles, options);\n\t\t\t}\n\t\t\tfor(var i = 0; i < mayRemove.length; i++) {\n\t\t\t\tvar domStyle = mayRemove[i];\n\t\t\t\tif(domStyle.refs === 0) {\n\t\t\t\t\tfor(var j = 0; j < domStyle.parts.length; j++)\n\t\t\t\t\t\tdomStyle.parts[j]();\n\t\t\t\t\tdelete stylesInDom[domStyle.id];\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}\n\n\tfunction addStylesToDom(styles, options) {\n\t\tfor(var i = 0; i < styles.length; i++) {\n\t\t\tvar item = styles[i];\n\t\t\tvar domStyle = stylesInDom[item.id];\n\t\t\tif(domStyle) {\n\t\t\t\tdomStyle.refs++;\n\t\t\t\tfor(var j = 0; j < domStyle.parts.length; j++) {\n\t\t\t\t\tdomStyle.parts[j](item.parts[j]);\n\t\t\t\t}\n\t\t\t\tfor(; j < item.parts.length; j++) {\n\t\t\t\t\tdomStyle.parts.push(addStyle(item.parts[j], options));\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tvar parts = [];\n\t\t\t\tfor(var j = 0; j < item.parts.length; j++) {\n\t\t\t\t\tparts.push(addStyle(item.parts[j], options));\n\t\t\t\t}\n\t\t\t\tstylesInDom[item.id] = {id: item.id, refs: 1, parts: parts};\n\t\t\t}\n\t\t}\n\t}\n\n\tfunction listToStyles(list) {\n\t\tvar styles = [];\n\t\tvar newStyles = {};\n\t\tfor(var i = 0; i < list.length; i++) {\n\t\t\tvar item = list[i];\n\t\t\tvar id = item[0];\n\t\t\tvar css = item[1];\n\t\t\tvar media = item[2];\n\t\t\tvar sourceMap = item[3];\n\t\t\tvar part = {css: css, media: media, sourceMap: sourceMap};\n\t\t\tif(!newStyles[id])\n\t\t\t\tstyles.push(newStyles[id] = {id: id, parts: [part]});\n\t\t\telse\n\t\t\t\tnewStyles[id].parts.push(part);\n\t\t}\n\t\treturn styles;\n\t}\n\n\tfunction insertStyleElement(options, styleElement) {\n\t\tvar head = getHeadElement();\n\t\tvar lastStyleElementInsertedAtTop = styleElementsInsertedAtTop[styleElementsInsertedAtTop.length - 1];\n\t\tif (options.insertAt === \"top\") {\n\t\t\tif(!lastStyleElementInsertedAtTop) {\n\t\t\t\thead.insertBefore(styleElement, head.firstChild);\n\t\t\t} else if(lastStyleElementInsertedAtTop.nextSibling) {\n\t\t\t\thead.insertBefore(styleElement, lastStyleElementInsertedAtTop.nextSibling);\n\t\t\t} else {\n\t\t\t\thead.appendChild(styleElement);\n\t\t\t}\n\t\t\tstyleElementsInsertedAtTop.push(styleElement);\n\t\t} else if (options.insertAt === \"bottom\") {\n\t\t\thead.appendChild(styleElement);\n\t\t} else {\n\t\t\tthrow new Error(\"Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.\");\n\t\t}\n\t}\n\n\tfunction removeStyleElement(styleElement) {\n\t\tstyleElement.parentNode.removeChild(styleElement);\n\t\tvar idx = styleElementsInsertedAtTop.indexOf(styleElement);\n\t\tif(idx >= 0) {\n\t\t\tstyleElementsInsertedAtTop.splice(idx, 1);\n\t\t}\n\t}\n\n\tfunction createStyleElement(options) {\n\t\tvar styleElement = document.createElement(\"style\");\n\t\tstyleElement.type = \"text/css\";\n\t\tinsertStyleElement(options, styleElement);\n\t\treturn styleElement;\n\t}\n\n\tfunction createLinkElement(options) {\n\t\tvar linkElement = document.createElement(\"link\");\n\t\tlinkElement.rel = \"stylesheet\";\n\t\tinsertStyleElement(options, linkElement);\n\t\treturn linkElement;\n\t}\n\n\tfunction addStyle(obj, options) {\n\t\tvar styleElement, update, remove;\n\n\t\tif (options.singleton) {\n\t\t\tvar styleIndex = singletonCounter++;\n\t\t\tstyleElement = singletonElement || (singletonElement = createStyleElement(options));\n\t\t\tupdate = applyToSingletonTag.bind(null, styleElement, styleIndex, false);\n\t\t\tremove = applyToSingletonTag.bind(null, styleElement, styleIndex, true);\n\t\t} else if(obj.sourceMap &&\n\t\t\ttypeof URL === \"function\" &&\n\t\t\ttypeof URL.createObjectURL === \"function\" &&\n\t\t\ttypeof URL.revokeObjectURL === \"function\" &&\n\t\t\ttypeof Blob === \"function\" &&\n\t\t\ttypeof btoa === \"function\") {\n\t\t\tstyleElement = createLinkElement(options);\n\t\t\tupdate = updateLink.bind(null, styleElement);\n\t\t\tremove = function() {\n\t\t\t\tremoveStyleElement(styleElement);\n\t\t\t\tif(styleElement.href)\n\t\t\t\t\tURL.revokeObjectURL(styleElement.href);\n\t\t\t};\n\t\t} else {\n\t\t\tstyleElement = createStyleElement(options);\n\t\t\tupdate = applyToTag.bind(null, styleElement);\n\t\t\tremove = function() {\n\t\t\t\tremoveStyleElement(styleElement);\n\t\t\t};\n\t\t}\n\n\t\tupdate(obj);\n\n\t\treturn function updateStyle(newObj) {\n\t\t\tif(newObj) {\n\t\t\t\tif(newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap)\n\t\t\t\t\treturn;\n\t\t\t\tupdate(obj = newObj);\n\t\t\t} else {\n\t\t\t\tremove();\n\t\t\t}\n\t\t};\n\t}\n\n\tvar replaceText = (function () {\n\t\tvar textStore = [];\n\n\t\treturn function (index, replacement) {\n\t\t\ttextStore[index] = replacement;\n\t\t\treturn textStore.filter(Boolean).join('\\n');\n\t\t};\n\t})();\n\n\tfunction applyToSingletonTag(styleElement, index, remove, obj) {\n\t\tvar css = remove ? \"\" : obj.css;\n\n\t\tif (styleElement.styleSheet) {\n\t\t\tstyleElement.styleSheet.cssText = replaceText(index, css);\n\t\t} else {\n\t\t\tvar cssNode = document.createTextNode(css);\n\t\t\tvar childNodes = styleElement.childNodes;\n\t\t\tif (childNodes[index]) styleElement.removeChild(childNodes[index]);\n\t\t\tif (childNodes.length) {\n\t\t\t\tstyleElement.insertBefore(cssNode, childNodes[index]);\n\t\t\t} else {\n\t\t\t\tstyleElement.appendChild(cssNode);\n\t\t\t}\n\t\t}\n\t}\n\n\tfunction applyToTag(styleElement, obj) {\n\t\tvar css = obj.css;\n\t\tvar media = obj.media;\n\t\tvar sourceMap = obj.sourceMap;\n\n\t\tif(media) {\n\t\t\tstyleElement.setAttribute(\"media\", media)\n\t\t}\n\n\t\tif(styleElement.styleSheet) {\n\t\t\tstyleElement.styleSheet.cssText = css;\n\t\t} else {\n\t\t\twhile(styleElement.firstChild) {\n\t\t\t\tstyleElement.removeChild(styleElement.firstChild);\n\t\t\t}\n\t\t\tstyleElement.appendChild(document.createTextNode(css));\n\t\t}\n\t}\n\n\tfunction updateLink(linkElement, obj) {\n\t\tvar css = obj.css;\n\t\tvar media = obj.media;\n\t\tvar sourceMap = obj.sourceMap;\n\n\t\tif(sourceMap) {\n\t\t\t// http://stackoverflow.com/a/26603875\n\t\t\tcss += \"\\n/*# sourceMappingURL=data:application/json;base64,\" + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + \" */\";\n\t\t}\n\n\t\tvar blob = new Blob([css], { type: \"text/css\" });\n\n\t\tvar oldSrc = linkElement.href;\n\n\t\tlinkElement.href = URL.createObjectURL(blob);\n\n\t\tif(oldSrc)\n\t\t\tURL.revokeObjectURL(oldSrc);\n\t}\n\n\n/***/ }),\n/* 169 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// style-loader: Adds some css to the DOM by adding a <style> tag\n\n\t// load the styles\n\tvar content = __webpack_require__(170);\n\tif(typeof content === 'string') content = [[module.id, content, '']];\n\t// add the styles to the DOM\n\tvar update = __webpack_require__(168)(content, {});\n\tif(content.locals) module.exports = content.locals;\n\t// Hot Module Replacement\n\tif(false) {\n\t\t// When the styles change, update the <style> tags\n\t\tif(!content.locals) {\n\t\t\tmodule.hot.accept(\"!!../../../css-loader/index.js!./theme-fresh.css\", function() {\n\t\t\t\tvar newContent = require(\"!!../../../css-loader/index.js!./theme-fresh.css\");\n\t\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\t\t\t\tupdate(newContent);\n\t\t\t});\n\t\t}\n\t\t// When the module is disposed, remove the <style> tags\n\t\tmodule.hot.dispose(function() { update(); });\n\t}\n\n/***/ }),\n/* 170 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\texports = module.exports = __webpack_require__(167)();\n\t// imports\n\n\n\t// module\n\texports.push([module.id, \".ag-fresh {\\n  line-height: 1.4;\\n  font-family: \\\"Helvetica Neue\\\", Helvetica, Arial, sans-serif;\\n  font-size: 14px;\\n  color: #222;\\n/* this is for the rowGroupPanel, that appears along the top of the grid */\\n/* this is for the column drops that appear in the toolPanel */\\n}\\n.ag-fresh img {\\n  vertical-align: middle;\\n  border: 0;\\n}\\n.ag-fresh .ag-root {\\n  border: 1px solid #808080;\\n}\\n.ag-fresh .ag-cell-not-inline-editing {\\n  padding: 2px;\\n}\\n.ag-fresh .ag-cell-range-selected-1:not(.ag-cell-focus) {\\n  background-color: rgba(120,120,120,0.4);\\n}\\n.ag-fresh .ag-cell-range-selected-2:not(.ag-cell-focus) {\\n  background-color: rgba(80,80,80,0.4);\\n}\\n.ag-fresh .ag-cell-range-selected-3:not(.ag-cell-focus) {\\n  background-color: rgba(40,40,40,0.4);\\n}\\n.ag-fresh .ag-cell-range-selected-4:not(.ag-cell-focus) {\\n  background-color: rgba(0,0,0,0.4);\\n}\\n.ag-fresh .ag-cell-focus {\\n  border: 1px solid #a9a9a9;\\n}\\n.ag-fresh .ag-cell-no-focus {\\n  border-top: 1px solid transparent;\\n  border-bottom: 1px solid transparent;\\n}\\n.ag-fresh .ag-ltr .ag-cell-no-focus {\\n  border-right: 1px dotted #808080;\\n  border-left: 1px solid transparent;\\n}\\n.ag-fresh .ag-rtl .ag-cell-no-focus {\\n  border-right: 1px solid transparent;\\n  border-left: 1px dotted #808080;\\n}\\n.ag-fresh .ag-rtl .ag-cell-first-right-pinned {\\n  border-left: 1px solid #808080;\\n}\\n.ag-fresh .ag-ltr .ag-cell-first-right-pinned {\\n  border-left: 1px solid #808080;\\n}\\n.ag-fresh .ag-rtl .ag-cell-last-left-pinned {\\n  border-right: 1px solid #808080;\\n}\\n.ag-fresh .ag-ltr .ag-cell-last-left-pinned {\\n  border-right: 1px solid #808080;\\n}\\n.ag-fresh .ag-cell-highlight {\\n  border: 1px solid #006400;\\n}\\n.ag-fresh .ag-cell-highlight-animation {\\n  -webkit-transition: border 1s;\\n  -moz-transition: border 1s;\\n  -o-transition: border 1s;\\n  -ms-transition: border 1s;\\n  transition: border 1s;\\n}\\n.ag-fresh .ag-value-change-delta {\\n  padding-right: 2px;\\n}\\n.ag-fresh .ag-value-change-delta-up {\\n  color: #006400;\\n}\\n.ag-fresh .ag-value-change-delta-down {\\n  color: #8b0000;\\n}\\n.ag-fresh .ag-value-change-value {\\n  background-color: transparent;\\n  border-radius: 1px;\\n  padding-left: 1px;\\n  padding-right: 1px;\\n  -webkit-transition: background-color 1s;\\n  -moz-transition: background-color 1s;\\n  -o-transition: background-color 1s;\\n  -ms-transition: background-color 1s;\\n  transition: background-color 1s;\\n}\\n.ag-fresh .ag-value-change-value-highlight {\\n  background-color: #cec;\\n  -webkit-transition: background-color 0.1s;\\n  -moz-transition: background-color 0.1s;\\n  -o-transition: background-color 0.1s;\\n  -ms-transition: background-color 0.1s;\\n  transition: background-color 0.1s;\\n}\\n.ag-fresh .ag-rich-select {\\n  font-size: 14px;\\n  border: 1px solid #808080;\\n  background-color: #fff;\\n}\\n.ag-fresh .ag-rich-select-value {\\n  padding: 2px;\\n}\\n.ag-fresh .ag-rich-select-list {\\n  border-top: 1px solid #d3d3d3;\\n}\\n.ag-fresh .ag-rich-select-row {\\n  padding: 2px;\\n}\\n.ag-fresh .ag-rich-select-row-selected {\\n  background-color: #bde2e5;\\n}\\n.ag-fresh .ag-large-text {\\n  border: 1px solid #808080;\\n}\\n.ag-fresh .ag-header-select-all {\\n  padding: 5px 0px 0px 3px;\\n  line-height: 0;\\n}\\n.ag-fresh .ag-header {\\n  color: #000;\\n  background: -webkit-linear-gradient(#fff, #d3d3d3);\\n  background: -moz-linear-gradient(#fff, #d3d3d3);\\n  background: -o-linear-gradient(#fff, #d3d3d3);\\n  background: -ms-linear-gradient(#fff, #d3d3d3);\\n  background: linear-gradient(#fff, #d3d3d3);\\n  border-bottom: 1px solid #808080;\\n  font-weight: normal;\\n}\\n.ag-fresh .ag-header-icon {\\n  color: #000;\\n  stroke: none;\\n  fill: #000;\\n}\\n.ag-fresh .ag-no-scrolls .ag-header-container {\\n  background: -webkit-linear-gradient(#fff, #d3d3d3);\\n  background: -moz-linear-gradient(#fff, #d3d3d3);\\n  background: -o-linear-gradient(#fff, #d3d3d3);\\n  background: -ms-linear-gradient(#fff, #d3d3d3);\\n  background: linear-gradient(#fff, #d3d3d3);\\n  border-bottom: 1px solid #808080;\\n}\\n.ag-fresh .ag-ltr .ag-header-cell {\\n  border-right: 1px solid #808080;\\n}\\n.ag-fresh .ag-rtl .ag-header-cell {\\n  border-left: 1px solid #808080;\\n}\\n.ag-fresh .ag-header-cell-moving .ag-header-cell-label {\\n  opacity: 0.5;\\n  -ms-filter: \\\"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)\\\";\\n  filter: alpha(opacity=50);\\n}\\n.ag-fresh .ag-header-cell-moving {\\n  background-color: #bebebe;\\n}\\n.ag-fresh .ag-ltr .ag-header-group-cell {\\n  border-right: 1px solid #808080;\\n}\\n.ag-fresh .ag-rtl .ag-header-group-cell {\\n  border-left: 1px solid #808080;\\n}\\n.ag-fresh .ag-header-group-cell-with-group {\\n  border-bottom: 1px solid #808080;\\n}\\n.ag-fresh .ag-header-cell-label {\\n  padding: 4px 2px 4px 2px;\\n}\\n.ag-fresh .ag-header-cell-text {\\n  padding-left: 2px;\\n}\\n.ag-fresh .ag-header-group-cell-label {\\n  padding: 4px;\\n}\\n.ag-fresh .ag-ltr .ag-header-group-cell-label {\\n  padding-left: 10px;\\n}\\n.ag-fresh .ag-rtl .ag-header-group-cell-label {\\n  padding-right: 10px;\\n}\\n.ag-fresh .ag-rtl .ag-header-group-text {\\n  margin-left: 2px;\\n}\\n.ag-fresh .ag-ltr .ag-header-group-text {\\n  margin-right: 2px;\\n}\\n.ag-fresh .ag-header-cell-menu-button {\\n  padding: 2px;\\n  margin-top: 4px;\\n  margin-left: 1px;\\n  margin-right: 1px;\\n  border: 1px solid transparent;\\n  border-radius: 3px;\\n  -webkit-box-sizing: content-box /* When using bootstrap, box-sizing was set to 'border-box' */;\\n  -moz-box-sizing: content-box /* When using bootstrap, box-sizing was set to 'border-box' */;\\n  box-sizing: content-box /* When using bootstrap, box-sizing was set to 'border-box' */;\\n  line-height: 0px /* normal line height, a space was appearing below the menu button */;\\n}\\n.ag-fresh .ag-ltr .ag-pinned-right-header {\\n  border-left: 1px solid #808080;\\n}\\n.ag-fresh .ag-rtl .ag-pinned-left-header {\\n  border-right: 1px solid #808080;\\n}\\n.ag-fresh .ag-header-cell-menu-button:hover {\\n  border: 1px solid #808080;\\n}\\n.ag-fresh .ag-body {\\n  background-color: #f6f6f6;\\n}\\n.ag-fresh .ag-row-odd {\\n  background-color: #f6f6f6;\\n}\\n.ag-fresh .ag-row-even {\\n  background-color: #fff;\\n}\\n.ag-fresh .ag-row-selected {\\n  background-color: #b0e0e6;\\n}\\n.ag-fresh .ag-floating-top .ag-row {\\n  background-color: #f0f0f0;\\n}\\n.ag-fresh .ag-floating-bottom .ag-row {\\n  background-color: #f0f0f0;\\n}\\n.ag-fresh .ag-overlay-loading-wrapper {\\n  background-color: rgba(255,255,255,0.5);\\n}\\n.ag-fresh .ag-overlay-loading-center {\\n  background-color: #fff;\\n  border: 1px solid #808080;\\n  border-radius: 10px;\\n  padding: 10px;\\n  color: #000;\\n}\\n.ag-fresh .ag-overlay-no-rows-center {\\n  background-color: #fff;\\n  border: 1px solid #808080;\\n  border-radius: 10px;\\n  padding: 10px;\\n}\\n.ag-fresh .ag-group-cell-entire-row {\\n  background-color: #f6f6f6;\\n  padding: 2px;\\n}\\n.ag-fresh .ag-footer-cell-entire-row {\\n  background-color: #f6f6f6;\\n  padding: 2px;\\n}\\n.ag-fresh .ag-group-cell {\\n  font-style: italic;\\n}\\n.ag-fresh .ag-ltr .ag-group-expanded {\\n  padding-right: 4px;\\n}\\n.ag-fresh .ag-rtl .ag-group-expanded {\\n  padding-left: 4px;\\n}\\n.ag-fresh .ag-ltr .ag-group-contracted {\\n  padding-right: 4px;\\n}\\n.ag-fresh .ag-rtl .ag-group-contracted {\\n  padding-left: 4px;\\n}\\n.ag-fresh .ag-ltr .ag-group-loading {\\n  padding-right: 4px;\\n}\\n.ag-fresh .ag-rtl .ag-group-loading {\\n  padding-left: 4px;\\n}\\n.ag-fresh .ag-ltr .ag-group-value {\\n  padding-right: 2px;\\n}\\n.ag-fresh .ag-rtl .ag-group-value {\\n  padding-left: 2px;\\n}\\n.ag-fresh .ag-ltr .ag-group-checkbox {\\n  padding-right: 2px;\\n}\\n.ag-fresh .ag-rtl .ag-group-checkbox {\\n  padding-left: 2px;\\n}\\n.ag-fresh .ag-group-child-count {\\n  display: inline-block;\\n}\\n.ag-fresh .ag-footer-cell {\\n  font-style: italic;\\n}\\n.ag-fresh .ag-menu {\\n  border: 1px solid #808080;\\n  background-color: #f6f6f6;\\n  cursor: default;\\n  font-family: \\\"Helvetica Neue\\\", Helvetica, Arial, sans-serif;\\n  font-size: 14px;\\n}\\n.ag-fresh .ag-menu .ag-tab-header {\\n  background-color: #e6e6e6;\\n}\\n.ag-fresh .ag-menu .ag-tab {\\n  padding: 6px 8px 6px 8px;\\n  margin: 2px 2px 0px 2px;\\n  display: inline-block;\\n  border-right: 1px solid transparent;\\n  border-left: 1px solid transparent;\\n  border-top: 1px solid transparent;\\n  border-top-right-radius: 2px;\\n  border-top-left-radius: 2px;\\n}\\n.ag-fresh .ag-menu .ag-tab-selected {\\n  background-color: #f6f6f6;\\n  border-right: 1px solid #d3d3d3;\\n  border-left: 1px solid #d3d3d3;\\n  border-top: 1px solid #d3d3d3;\\n}\\n.ag-fresh .ag-menu-separator {\\n  border-top: 1px solid #d3d3d3;\\n}\\n.ag-fresh .ag-menu-option-active {\\n  background-color: #bde2e5;\\n}\\n.ag-fresh .ag-menu-option-icon {\\n  padding: 2px 4px 2px 4px;\\n  vertical-align: middle;\\n}\\n.ag-fresh .ag-menu-option-text {\\n  padding: 2px 4px 2px 4px;\\n  vertical-align: middle;\\n}\\n.ag-fresh .ag-menu-option-shortcut {\\n  padding: 2px 2px 2px 2px;\\n  vertical-align: middle;\\n}\\n.ag-fresh .ag-menu-option-popup-pointer {\\n  padding: 2px 4px 2px 4px;\\n  vertical-align: middle;\\n}\\n.ag-fresh .ag-menu-option-disabled {\\n  opacity: 0.5;\\n  -ms-filter: \\\"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)\\\";\\n  filter: alpha(opacity=50);\\n}\\n.ag-fresh .ag-menu-column-select-wrapper {\\n  margin: 2px;\\n}\\n.ag-fresh .ag-filter-checkbox {\\n  position: relative;\\n  top: 2px;\\n  left: 2px;\\n}\\n.ag-fresh .ag-filter-header-container {\\n  border-bottom: 1px solid #d3d3d3;\\n}\\n.ag-fresh .ag-filter-apply-panel {\\n  border-top: 1px solid #d3d3d3;\\n  padding: 2px;\\n}\\n.ag-fresh .ag-filter-value {\\n  margin-left: 4px;\\n}\\n.ag-fresh .ag-ltr .ag-selection-checkbox {\\n  padding-right: 4px;\\n}\\n.ag-fresh .ag-rtl .ag-selection-checkbox {\\n  padding-left: 4px;\\n}\\n.ag-fresh .ag-paging-panel {\\n  padding: 4px;\\n}\\n.ag-fresh .ag-paging-button {\\n  margin-left: 4px;\\n  margin-right: 4px;\\n}\\n.ag-fresh .ag-paging-row-summary-panel {\\n  display: inline-block;\\n  width: 300px;\\n}\\n.ag-fresh .ag-tool-panel {\\n  background-color: #f6f6f6;\\n  border-bottom: 1px solid #808080;\\n  border-top: 1px solid #808080;\\n  color: #222;\\n}\\n.ag-fresh .ltr .ag-tool-panel {\\n  border-right: 1px solid #808080;\\n}\\n.ag-fresh .rtl .ag-tool-panel {\\n  border-left: 1px solid #808080;\\n}\\n.ag-fresh .ag-status-bar {\\n  color: #222;\\n  background-color: #f6f6f6;\\n  font-size: 14px;\\n  height: 22px;\\n  border-bottom: 1px solid #808080;\\n  border-left: 1px solid #808080;\\n  border-right: 1px solid #808080;\\n  padding: 2px;\\n}\\n.ag-fresh .ag-status-bar-aggregations {\\n  float: right;\\n}\\n.ag-fresh .ag-status-bar-item {\\n  padding-left: 10px;\\n}\\n.ag-fresh .ag-column-drop-cell {\\n  background: -webkit-linear-gradient(#fff, #d3d3d3);\\n  background: -moz-linear-gradient(#fff, #d3d3d3);\\n  background: -o-linear-gradient(#fff, #d3d3d3);\\n  background: -ms-linear-gradient(#fff, #d3d3d3);\\n  background: linear-gradient(#fff, #d3d3d3);\\n  color: #000;\\n  border: 1px solid #808080;\\n}\\n.ag-fresh .ag-column-drop-cell-ghost {\\n  opacity: 0.5;\\n  -ms-filter: \\\"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)\\\";\\n  filter: alpha(opacity=50);\\n}\\n.ag-fresh .ag-column-drop-cell-text {\\n  padding-left: 2px;\\n  padding-right: 2px;\\n}\\n.ag-fresh .ag-column-drop-cell-button {\\n  border: 1px solid transparent;\\n  padding-left: 2px;\\n  padding-right: 2px;\\n  border-radius: 3px;\\n}\\n.ag-fresh .ag-column-drop-cell-button:hover {\\n  border: 1px solid #808080;\\n}\\n.ag-fresh .ag-column-drop-empty-message {\\n  padding-left: 2px;\\n  padding-right: 2px;\\n  color: #808080;\\n}\\n.ag-fresh .ag-column-drop-icon {\\n  margin: 3px;\\n}\\n.ag-fresh .ag-column-drop {\\n  background-color: #f6f6f6;\\n}\\n.ag-fresh .ag-column-drop-horizontal {\\n  padding: 2px;\\n  border-top: 1px solid #808080;\\n  border-left: 1px solid #808080;\\n  border-right: 1px solid #808080;\\n}\\n.ag-fresh .ag-column-drop-vertical {\\n  padding: 4px 4px 10px 4px;\\n  border-bottom: 1px solid #808080;\\n}\\n.ag-fresh .ag-column-drop-vertical .ag-column-drop-cell {\\n  margin-top: 2px;\\n}\\n.ag-fresh .ag-column-drop-vertical .ag-column-drop-empty-message {\\n  text-align: center;\\n  padding: 5px;\\n}\\n.ag-fresh .ag-pivot-mode {\\n  border-bottom: 1px solid #808080;\\n  padding: 4px;\\n  background-color: #f6f6f6;\\n}\\n.ag-fresh .ag-tool-panel .ag-column-select-panel {\\n  border-bottom: 1px solid #808080;\\n}\\n.ag-fresh .ag-select-agg-func-popup {\\n  cursor: default;\\n  position: absolute;\\n  font-size: 14px;\\n  background-color: #fff;\\n  border: 1px solid #808080;\\n}\\n.ag-fresh .ag-select-agg-func-item {\\n  padding-left: 2px;\\n  padding-right: 2px;\\n}\\n.ag-fresh .ag-select-agg-func-item:hover {\\n  background-color: #bde2e5;\\n}\\n\", \"\"]);\n\n\t// exports\n\n\n/***/ }),\n/* 171 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// style-loader: Adds some css to the DOM by adding a <style> tag\n\n\t// load the styles\n\tvar content = __webpack_require__(172);\n\tif(typeof content === 'string') content = [[module.id, content, '']];\n\t// add the styles to the DOM\n\tvar update = __webpack_require__(168)(content, {});\n\tif(content.locals) module.exports = content.locals;\n\t// Hot Module Replacement\n\tif(false) {\n\t\t// When the styles change, update the <style> tags\n\t\tif(!content.locals) {\n\t\t\tmodule.hot.accept(\"!!../../../css-loader/index.js!./theme-dark.css\", function() {\n\t\t\t\tvar newContent = require(\"!!../../../css-loader/index.js!./theme-dark.css\");\n\t\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\t\t\t\tupdate(newContent);\n\t\t\t});\n\t\t}\n\t\t// When the module is disposed, remove the <style> tags\n\t\tmodule.hot.dispose(function() { update(); });\n\t}\n\n/***/ }),\n/* 172 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\texports = module.exports = __webpack_require__(167)();\n\t// imports\n\n\n\t// module\n\texports.push([module.id, \".ag-dark {\\n  line-height: 1.4;\\n  font-family: \\\"Helvetica Neue\\\", Helvetica, Arial, sans-serif;\\n  font-size: 14px;\\n  color: #ccc;\\n/* this is for the rowGroupPanel, that appears along the top of the grid */\\n/* this is for the column drops that appear in the toolPanel */\\n}\\n.ag-dark img {\\n  vertical-align: middle;\\n  border: 0;\\n}\\n.ag-dark .ag-root {\\n  border: 1px solid #808080;\\n}\\n.ag-dark .ag-cell-not-inline-editing {\\n  padding: 2px;\\n}\\n.ag-dark .ag-cell-range-selected-1:not(.ag-cell-focus) {\\n  background-color: rgba(100,160,160,0.4);\\n}\\n.ag-dark .ag-cell-range-selected-2:not(.ag-cell-focus) {\\n  background-color: rgba(100,190,190,0.4);\\n}\\n.ag-dark .ag-cell-range-selected-3:not(.ag-cell-focus) {\\n  background-color: rgba(100,220,220,0.4);\\n}\\n.ag-dark .ag-cell-range-selected-4:not(.ag-cell-focus) {\\n  background-color: rgba(100,250,250,0.4);\\n}\\n.ag-dark .ag-cell-focus {\\n  border: 1px solid #a9a9a9;\\n}\\n.ag-dark .ag-cell-no-focus {\\n  border-top: 1px solid transparent;\\n  border-bottom: 1px solid transparent;\\n}\\n.ag-dark .ag-ltr .ag-cell-no-focus {\\n  border-right: 1px dotted #808080;\\n  border-left: 1px solid transparent;\\n}\\n.ag-dark .ag-rtl .ag-cell-no-focus {\\n  border-right: 1px solid transparent;\\n  border-left: 1px dotted #808080;\\n}\\n.ag-dark .ag-rtl .ag-cell-first-right-pinned {\\n  border-left: 1px solid #808080;\\n}\\n.ag-dark .ag-ltr .ag-cell-first-right-pinned {\\n  border-left: 1px solid #808080;\\n}\\n.ag-dark .ag-rtl .ag-cell-last-left-pinned {\\n  border-right: 1px solid #808080;\\n}\\n.ag-dark .ag-ltr .ag-cell-last-left-pinned {\\n  border-right: 1px solid #808080;\\n}\\n.ag-dark .ag-cell-highlight {\\n  border: 1px solid #90ee90;\\n}\\n.ag-dark .ag-cell-highlight-animation {\\n  -webkit-transition: border 1s;\\n  -moz-transition: border 1s;\\n  -o-transition: border 1s;\\n  -ms-transition: border 1s;\\n  transition: border 1s;\\n}\\n.ag-dark .ag-value-change-delta {\\n  padding-right: 2px;\\n}\\n.ag-dark .ag-value-change-delta-up {\\n  color: #adff2f;\\n}\\n.ag-dark .ag-value-change-delta-down {\\n  color: #f00;\\n}\\n.ag-dark .ag-value-change-value {\\n  background-color: transparent;\\n  border-radius: 1px;\\n  padding-left: 1px;\\n  padding-right: 1px;\\n  -webkit-transition: background-color 1s;\\n  -moz-transition: background-color 1s;\\n  -o-transition: background-color 1s;\\n  -ms-transition: background-color 1s;\\n  transition: background-color 1s;\\n}\\n.ag-dark .ag-value-change-value-highlight {\\n  background-color: #d2691e;\\n  -webkit-transition: background-color 0.1s;\\n  -moz-transition: background-color 0.1s;\\n  -o-transition: background-color 0.1s;\\n  -ms-transition: background-color 0.1s;\\n  transition: background-color 0.1s;\\n}\\n.ag-dark .ag-rich-select {\\n  font-size: 14px;\\n  border: 1px solid #808080;\\n  background-color: #302e2e;\\n}\\n.ag-dark .ag-rich-select-value {\\n  padding: 2px;\\n}\\n.ag-dark .ag-rich-select-list {\\n  border-top: 1px solid #555;\\n}\\n.ag-dark .ag-rich-select-row {\\n  padding: 2px;\\n}\\n.ag-dark .ag-rich-select-row-selected {\\n  background-color: #4a708b;\\n}\\n.ag-dark .ag-large-text {\\n  border: 1px solid #808080;\\n}\\n.ag-dark .ag-header-select-all {\\n  padding: 5px 0px 0px 3px;\\n  line-height: 0;\\n}\\n.ag-dark .ag-header {\\n  color: #e0e0e0;\\n  background: #626262;\\n  border-bottom: 1px solid #808080;\\n  font-weight: normal;\\n}\\n.ag-dark .ag-header-icon {\\n  color: #e0e0e0;\\n  stroke: none;\\n  fill: #e0e0e0;\\n}\\n.ag-dark .ag-no-scrolls .ag-header-container {\\n  background: #626262;\\n  border-bottom: 1px solid #808080;\\n}\\n.ag-dark .ag-ltr .ag-header-cell {\\n  border-right: 1px solid #808080;\\n}\\n.ag-dark .ag-rtl .ag-header-cell {\\n  border-left: 1px solid #808080;\\n}\\n.ag-dark .ag-header-cell-moving .ag-header-cell-label {\\n  opacity: 0.5;\\n  -ms-filter: \\\"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)\\\";\\n  filter: alpha(opacity=50);\\n}\\n.ag-dark .ag-header-cell-moving {\\n  background-color: #bebebe;\\n}\\n.ag-dark .ag-ltr .ag-header-group-cell {\\n  border-right: 1px solid #808080;\\n}\\n.ag-dark .ag-rtl .ag-header-group-cell {\\n  border-left: 1px solid #808080;\\n}\\n.ag-dark .ag-header-group-cell-with-group {\\n  border-bottom: 1px solid #808080;\\n}\\n.ag-dark .ag-header-cell-label {\\n  padding: 4px 2px 4px 2px;\\n}\\n.ag-dark .ag-header-cell-text {\\n  padding-left: 2px;\\n}\\n.ag-dark .ag-header-group-cell-label {\\n  padding: 4px;\\n}\\n.ag-dark .ag-ltr .ag-header-group-cell-label {\\n  padding-left: 10px;\\n}\\n.ag-dark .ag-rtl .ag-header-group-cell-label {\\n  padding-right: 10px;\\n}\\n.ag-dark .ag-rtl .ag-header-group-text {\\n  margin-left: 2px;\\n}\\n.ag-dark .ag-ltr .ag-header-group-text {\\n  margin-right: 2px;\\n}\\n.ag-dark .ag-header-cell-menu-button {\\n  padding: 2px;\\n  margin-top: 4px;\\n  margin-left: 1px;\\n  margin-right: 1px;\\n  border: 1px solid transparent;\\n  border-radius: 3px;\\n  -webkit-box-sizing: content-box /* When using bootstrap, box-sizing was set to 'border-box' */;\\n  -moz-box-sizing: content-box /* When using bootstrap, box-sizing was set to 'border-box' */;\\n  box-sizing: content-box /* When using bootstrap, box-sizing was set to 'border-box' */;\\n  line-height: 0px /* normal line height, a space was appearing below the menu button */;\\n}\\n.ag-dark .ag-ltr .ag-pinned-right-header {\\n  border-left: 1px solid #808080;\\n}\\n.ag-dark .ag-rtl .ag-pinned-left-header {\\n  border-right: 1px solid #808080;\\n}\\n.ag-dark .ag-header-cell-menu-button:hover {\\n  border: 1px solid #808080;\\n}\\n.ag-dark .ag-body {\\n  background-color: #302e2e;\\n}\\n.ag-dark .ag-row-odd {\\n  background-color: #302e2e;\\n}\\n.ag-dark .ag-row-even {\\n  background-color: #403e3e;\\n}\\n.ag-dark .ag-row-selected {\\n  background-color: #4a708b;\\n}\\n.ag-dark .ag-floating-top .ag-row {\\n  background-color: #333;\\n}\\n.ag-dark .ag-floating-bottom .ag-row {\\n  background-color: #333;\\n}\\n.ag-dark .ag-overlay-loading-wrapper {\\n  background-color: rgba(255,255,255,0.5);\\n}\\n.ag-dark .ag-overlay-loading-center {\\n  background-color: #fff;\\n  border: 1px solid #808080;\\n  border-radius: 10px;\\n  padding: 10px;\\n  color: #000;\\n}\\n.ag-dark .ag-overlay-no-rows-center {\\n  background-color: #fff;\\n  border: 1px solid #808080;\\n  border-radius: 10px;\\n  padding: 10px;\\n}\\n.ag-dark .ag-group-cell-entire-row {\\n  background-color: #302e2e;\\n  padding: 2px;\\n}\\n.ag-dark .ag-footer-cell-entire-row {\\n  background-color: #302e2e;\\n  padding: 2px;\\n}\\n.ag-dark .ag-group-cell {\\n  font-style: italic;\\n}\\n.ag-dark .ag-ltr .ag-group-expanded {\\n  padding-right: 4px;\\n}\\n.ag-dark .ag-rtl .ag-group-expanded {\\n  padding-left: 4px;\\n}\\n.ag-dark .ag-ltr .ag-group-contracted {\\n  padding-right: 4px;\\n}\\n.ag-dark .ag-rtl .ag-group-contracted {\\n  padding-left: 4px;\\n}\\n.ag-dark .ag-ltr .ag-group-loading {\\n  padding-right: 4px;\\n}\\n.ag-dark .ag-rtl .ag-group-loading {\\n  padding-left: 4px;\\n}\\n.ag-dark .ag-ltr .ag-group-value {\\n  padding-right: 2px;\\n}\\n.ag-dark .ag-rtl .ag-group-value {\\n  padding-left: 2px;\\n}\\n.ag-dark .ag-ltr .ag-group-checkbox {\\n  padding-right: 2px;\\n}\\n.ag-dark .ag-rtl .ag-group-checkbox {\\n  padding-left: 2px;\\n}\\n.ag-dark .ag-group-child-count {\\n  display: inline-block;\\n}\\n.ag-dark .ag-footer-cell {\\n  font-style: italic;\\n}\\n.ag-dark .ag-menu {\\n  border: 1px solid #555;\\n  background-color: #302e2e;\\n  cursor: default;\\n  font-family: \\\"Helvetica Neue\\\", Helvetica, Arial, sans-serif;\\n  font-size: 14px;\\n}\\n.ag-dark .ag-menu .ag-tab-header {\\n  background-color: #626262;\\n}\\n.ag-dark .ag-menu .ag-tab {\\n  padding: 6px 8px 6px 8px;\\n  margin: 2px 2px 0px 2px;\\n  display: inline-block;\\n  border-right: 1px solid transparent;\\n  border-left: 1px solid transparent;\\n  border-top: 1px solid transparent;\\n  border-top-right-radius: 2px;\\n  border-top-left-radius: 2px;\\n}\\n.ag-dark .ag-menu .ag-tab-selected {\\n  background-color: #302e2e;\\n  border-right: 1px solid #555;\\n  border-left: 1px solid #555;\\n  border-top: 1px solid #555;\\n}\\n.ag-dark .ag-menu-separator {\\n  border-top: 1px solid #555;\\n}\\n.ag-dark .ag-menu-option-active {\\n  background-color: #4a708b;\\n}\\n.ag-dark .ag-menu-option-icon {\\n  padding: 2px 4px 2px 4px;\\n  vertical-align: middle;\\n}\\n.ag-dark .ag-menu-option-text {\\n  padding: 2px 4px 2px 4px;\\n  vertical-align: middle;\\n}\\n.ag-dark .ag-menu-option-shortcut {\\n  padding: 2px 2px 2px 2px;\\n  vertical-align: middle;\\n}\\n.ag-dark .ag-menu-option-popup-pointer {\\n  padding: 2px 4px 2px 4px;\\n  vertical-align: middle;\\n}\\n.ag-dark .ag-menu-option-disabled {\\n  opacity: 0.5;\\n  -ms-filter: \\\"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)\\\";\\n  filter: alpha(opacity=50);\\n}\\n.ag-dark .ag-menu-column-select-wrapper {\\n  margin: 2px;\\n}\\n.ag-dark .ag-filter-checkbox {\\n  position: relative;\\n  top: 2px;\\n  left: 2px;\\n}\\n.ag-dark .ag-filter-header-container {\\n  border-bottom: 1px solid #555;\\n}\\n.ag-dark .ag-filter-apply-panel {\\n  border-top: 1px solid #555;\\n  padding: 2px;\\n}\\n.ag-dark .ag-filter-value {\\n  margin-left: 4px;\\n}\\n.ag-dark .ag-ltr .ag-selection-checkbox {\\n  padding-right: 4px;\\n}\\n.ag-dark .ag-rtl .ag-selection-checkbox {\\n  padding-left: 4px;\\n}\\n.ag-dark .ag-paging-panel {\\n  padding: 4px;\\n}\\n.ag-dark .ag-paging-button {\\n  margin-left: 4px;\\n  margin-right: 4px;\\n}\\n.ag-dark .ag-paging-row-summary-panel {\\n  display: inline-block;\\n  width: 300px;\\n}\\n.ag-dark .ag-tool-panel {\\n  background-color: #302e2e;\\n  border-bottom: 1px solid #808080;\\n  border-top: 1px solid #808080;\\n  color: #ccc;\\n}\\n.ag-dark .ltr .ag-tool-panel {\\n  border-right: 1px solid #808080;\\n}\\n.ag-dark .rtl .ag-tool-panel {\\n  border-left: 1px solid #808080;\\n}\\n.ag-dark .ag-status-bar {\\n  color: #ccc;\\n  background-color: #302e2e;\\n  font-size: 14px;\\n  height: 22px;\\n  border-bottom: 1px solid #808080;\\n  border-left: 1px solid #808080;\\n  border-right: 1px solid #808080;\\n  padding: 2px;\\n}\\n.ag-dark .ag-status-bar-aggregations {\\n  float: right;\\n}\\n.ag-dark .ag-status-bar-item {\\n  padding-left: 10px;\\n}\\n.ag-dark .ag-column-drop-cell {\\n  background: #403e3e;\\n  color: #e0e0e0;\\n  border: 1px solid #666;\\n}\\n.ag-dark .ag-column-drop-cell-ghost {\\n  opacity: 0.5;\\n  -ms-filter: \\\"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)\\\";\\n  filter: alpha(opacity=50);\\n}\\n.ag-dark .ag-column-drop-cell-text {\\n  padding-left: 2px;\\n  padding-right: 2px;\\n}\\n.ag-dark .ag-column-drop-cell-button {\\n  border: 1px solid transparent;\\n  padding-left: 2px;\\n  padding-right: 2px;\\n  border-radius: 3px;\\n}\\n.ag-dark .ag-column-drop-cell-button:hover {\\n  border: 1px solid #808080;\\n}\\n.ag-dark .ag-column-drop-empty-message {\\n  padding-left: 2px;\\n  padding-right: 2px;\\n  color: #808080;\\n}\\n.ag-dark .ag-column-drop-icon {\\n  margin: 3px;\\n}\\n.ag-dark .ag-column-drop {\\n  background-color: #302e2e;\\n}\\n.ag-dark .ag-column-drop-horizontal {\\n  padding: 2px;\\n  border-top: 1px solid #808080;\\n  border-left: 1px solid #808080;\\n  border-right: 1px solid #808080;\\n}\\n.ag-dark .ag-column-drop-vertical {\\n  padding: 4px 4px 10px 4px;\\n  border-bottom: 1px solid #808080;\\n}\\n.ag-dark .ag-column-drop-vertical .ag-column-drop-cell {\\n  margin-top: 2px;\\n}\\n.ag-dark .ag-column-drop-vertical .ag-column-drop-empty-message {\\n  text-align: center;\\n  padding: 5px;\\n}\\n.ag-dark .ag-pivot-mode {\\n  border-bottom: 1px solid #808080;\\n  padding: 4px;\\n  background-color: #302e2e;\\n}\\n.ag-dark .ag-tool-panel .ag-column-select-panel {\\n  border-bottom: 1px solid #808080;\\n}\\n.ag-dark .ag-select-agg-func-popup {\\n  cursor: default;\\n  position: absolute;\\n  font-size: 14px;\\n  background-color: #302e2e;\\n  border: 1px solid #808080;\\n}\\n.ag-dark .ag-select-agg-func-item {\\n  padding-left: 2px;\\n  padding-right: 2px;\\n}\\n.ag-dark .ag-select-agg-func-item:hover {\\n  background-color: #4a708b;\\n}\\n.ag-dark ::-webkit-scrollbar {\\n  width: 12px;\\n  height: 12px;\\n  background: #302e2e;\\n}\\n.ag-dark ::-webkit-scrollbar-thumb {\\n  background-color: #626262;\\n}\\n.ag-dark ::-webkit-scrollbar-corner {\\n  background: #302e2e;\\n}\\n.ag-dark select {\\n  background-color: #302e2e;\\n  color: #ccc;\\n}\\n.ag-dark input {\\n  background-color: #302e2e;\\n  color: #ccc;\\n}\\n.ag-dark .ag-floating-filter-button {\\n  background-color: #302e2e;\\n  color: #ccc;\\n}\\n.ag-dark .ag-floating-filter-body input {\\n  background-color: #302e2e;\\n  color: #ccc;\\n}\\n\", \"\"]);\n\n\t// exports\n\n\n/***/ }),\n/* 173 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// style-loader: Adds some css to the DOM by adding a <style> tag\n\n\t// load the styles\n\tvar content = __webpack_require__(174);\n\tif(typeof content === 'string') content = [[module.id, content, '']];\n\t// add the styles to the DOM\n\tvar update = __webpack_require__(168)(content, {});\n\tif(content.locals) module.exports = content.locals;\n\t// Hot Module Replacement\n\tif(false) {\n\t\t// When the styles change, update the <style> tags\n\t\tif(!content.locals) {\n\t\t\tmodule.hot.accept(\"!!../../../css-loader/index.js!./theme-blue.css\", function() {\n\t\t\t\tvar newContent = require(\"!!../../../css-loader/index.js!./theme-blue.css\");\n\t\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\t\t\t\tupdate(newContent);\n\t\t\t});\n\t\t}\n\t\t// When the module is disposed, remove the <style> tags\n\t\tmodule.hot.dispose(function() { update(); });\n\t}\n\n/***/ }),\n/* 174 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\texports = module.exports = __webpack_require__(167)();\n\t// imports\n\n\n\t// module\n\texports.push([module.id, \".ag-blue {\\n  line-height: 1.4;\\n  font-family: Calibri, \\\"Segoe UI\\\", Thonburi, Arial, Verdana, sans-serif;\\n  font-size: 10pt;\\n  color: #222;\\n/* this is for the rowGroupPanel, that appears along the top of the grid */\\n/* this is for the column drops that appear in the toolPanel */\\n}\\n.ag-blue img {\\n  vertical-align: middle;\\n  border: 0;\\n}\\n.ag-blue .ag-root {\\n  border: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-cell-not-inline-editing {\\n  padding: 2px;\\n}\\n.ag-blue .ag-cell-range-selected-1:not(.ag-cell-focus) {\\n  background-color: rgba(120,120,120,0.4);\\n}\\n.ag-blue .ag-cell-range-selected-2:not(.ag-cell-focus) {\\n  background-color: rgba(80,80,80,0.4);\\n}\\n.ag-blue .ag-cell-range-selected-3:not(.ag-cell-focus) {\\n  background-color: rgba(40,40,40,0.4);\\n}\\n.ag-blue .ag-cell-range-selected-4:not(.ag-cell-focus) {\\n  background-color: rgba(0,0,0,0.4);\\n}\\n.ag-blue .ag-cell-focus {\\n  border: 2px solid #217346;\\n}\\n.ag-blue .ag-cell-no-focus {\\n  border-top: 2px solid transparent;\\n  border-bottom: 1px dotted #9bc2e6;\\n}\\n.ag-blue .ag-ltr .ag-cell-no-focus {\\n  border-right: 1px dotted #9bc2e6;\\n  border-left: 2px solid transparent;\\n}\\n.ag-blue .ag-rtl .ag-cell-no-focus {\\n  border-right: 2px solid transparent;\\n  border-left: 1px dotted #9bc2e6;\\n}\\n.ag-blue .ag-rtl .ag-cell-first-right-pinned {\\n  border-left: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-ltr .ag-cell-first-right-pinned {\\n  border-left: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-rtl .ag-cell-last-left-pinned {\\n  border-right: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-ltr .ag-cell-last-left-pinned {\\n  border-right: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-cell-highlight {\\n  border: 1px solid #006400;\\n}\\n.ag-blue .ag-cell-highlight-animation {\\n  -webkit-transition: border 1s;\\n  -moz-transition: border 1s;\\n  -o-transition: border 1s;\\n  -ms-transition: border 1s;\\n  transition: border 1s;\\n}\\n.ag-blue .ag-value-change-delta {\\n  padding-right: 2px;\\n}\\n.ag-blue .ag-value-change-delta-up {\\n  color: #006400;\\n}\\n.ag-blue .ag-value-change-delta-down {\\n  color: #8b0000;\\n}\\n.ag-blue .ag-value-change-value {\\n  background-color: transparent;\\n  border-radius: 1px;\\n  padding-left: 1px;\\n  padding-right: 1px;\\n  -webkit-transition: background-color 1s;\\n  -moz-transition: background-color 1s;\\n  -o-transition: background-color 1s;\\n  -ms-transition: background-color 1s;\\n  transition: background-color 1s;\\n}\\n.ag-blue .ag-value-change-value-highlight {\\n  background-color: #cec;\\n  -webkit-transition: background-color 0.1s;\\n  -moz-transition: background-color 0.1s;\\n  -o-transition: background-color 0.1s;\\n  -ms-transition: background-color 0.1s;\\n  transition: background-color 0.1s;\\n}\\n.ag-blue .ag-rich-select {\\n  font-size: 14px;\\n  border: 1px solid #9bc2e6;\\n  background-color: #fff;\\n}\\n.ag-blue .ag-rich-select-value {\\n  padding: 2px;\\n}\\n.ag-blue .ag-rich-select-list {\\n  border-top: 1px solid #d3d3d3;\\n}\\n.ag-blue .ag-rich-select-row {\\n  padding: 2px;\\n}\\n.ag-blue .ag-rich-select-row-selected {\\n  background-color: #c7c7c7;\\n}\\n.ag-blue .ag-large-text {\\n  border: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-header-select-all {\\n  padding: 5px 0px 0px 3px;\\n  line-height: 0;\\n}\\n.ag-blue .ag-header {\\n  color: #fff;\\n  background: #5b9bd5;\\n  border-bottom: 1px solid #9bc2e6;\\n  font-weight: 600;\\n}\\n.ag-blue .ag-header-icon {\\n  color: #fff;\\n  stroke: none;\\n  fill: #fff;\\n}\\n.ag-blue .ag-no-scrolls .ag-header-container {\\n  background: #5b9bd5;\\n  border-bottom: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-ltr .ag-header-cell {\\n  border-right: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-rtl .ag-header-cell {\\n  border-left: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-header-cell-moving .ag-header-cell-label {\\n  opacity: 0.5;\\n  -ms-filter: \\\"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)\\\";\\n  filter: alpha(opacity=50);\\n}\\n.ag-blue .ag-header-cell-moving {\\n  background-color: #bebebe;\\n}\\n.ag-blue .ag-ltr .ag-header-group-cell {\\n  border-right: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-rtl .ag-header-group-cell {\\n  border-left: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-header-group-cell-with-group {\\n  border-bottom: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-header-cell-label {\\n  padding: 4px 2px 4px 2px;\\n}\\n.ag-blue .ag-header-cell-text {\\n  padding-left: 2px;\\n}\\n.ag-blue .ag-header-group-cell-label {\\n  padding: 4px;\\n}\\n.ag-blue .ag-ltr .ag-header-group-cell-label {\\n  padding-left: 10px;\\n}\\n.ag-blue .ag-rtl .ag-header-group-cell-label {\\n  padding-right: 10px;\\n}\\n.ag-blue .ag-rtl .ag-header-group-text {\\n  margin-left: 2px;\\n}\\n.ag-blue .ag-ltr .ag-header-group-text {\\n  margin-right: 2px;\\n}\\n.ag-blue .ag-header-cell-menu-button {\\n  padding: 2px;\\n  margin-top: 4px;\\n  margin-left: 1px;\\n  margin-right: 1px;\\n  border: 1px solid transparent;\\n  border-radius: 3px;\\n  -webkit-box-sizing: content-box /* When using bootstrap, box-sizing was set to 'border-box' */;\\n  -moz-box-sizing: content-box /* When using bootstrap, box-sizing was set to 'border-box' */;\\n  box-sizing: content-box /* When using bootstrap, box-sizing was set to 'border-box' */;\\n  line-height: 0px /* normal line height, a space was appearing below the menu button */;\\n}\\n.ag-blue .ag-ltr .ag-pinned-right-header {\\n  border-left: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-rtl .ag-pinned-left-header {\\n  border-right: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-header-cell-menu-button:hover {\\n  border: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-body {\\n  background-color: #f6f6f6;\\n}\\n.ag-blue .ag-row-odd {\\n  background-color: #ddebf7;\\n}\\n.ag-blue .ag-row-even {\\n  background-color: #fff;\\n}\\n.ag-blue .ag-row-selected {\\n  background-color: #c7c7c7;\\n}\\n.ag-blue .ag-floating-top .ag-row {\\n  background-color: #f0f0f0;\\n}\\n.ag-blue .ag-floating-bottom .ag-row {\\n  background-color: #f0f0f0;\\n}\\n.ag-blue .ag-overlay-loading-wrapper {\\n  background-color: rgba(255,255,255,0.5);\\n}\\n.ag-blue .ag-overlay-loading-center {\\n  background-color: #fff;\\n  border: 1px solid #9bc2e6;\\n  border-radius: 10px;\\n  padding: 10px;\\n  color: #000;\\n}\\n.ag-blue .ag-overlay-no-rows-center {\\n  background-color: #fff;\\n  border: 1px solid #9bc2e6;\\n  border-radius: 10px;\\n  padding: 10px;\\n}\\n.ag-blue .ag-group-cell-entire-row {\\n  background-color: #f6f6f6;\\n  padding: 2px;\\n}\\n.ag-blue .ag-footer-cell-entire-row {\\n  background-color: #f6f6f6;\\n  padding: 2px;\\n}\\n.ag-blue .ag-group-cell {\\n  font-style: italic;\\n}\\n.ag-blue .ag-ltr .ag-group-expanded {\\n  padding-right: 4px;\\n}\\n.ag-blue .ag-rtl .ag-group-expanded {\\n  padding-left: 4px;\\n}\\n.ag-blue .ag-ltr .ag-group-contracted {\\n  padding-right: 4px;\\n}\\n.ag-blue .ag-rtl .ag-group-contracted {\\n  padding-left: 4px;\\n}\\n.ag-blue .ag-ltr .ag-group-loading {\\n  padding-right: 4px;\\n}\\n.ag-blue .ag-rtl .ag-group-loading {\\n  padding-left: 4px;\\n}\\n.ag-blue .ag-ltr .ag-group-value {\\n  padding-right: 2px;\\n}\\n.ag-blue .ag-rtl .ag-group-value {\\n  padding-left: 2px;\\n}\\n.ag-blue .ag-ltr .ag-group-checkbox {\\n  padding-right: 2px;\\n}\\n.ag-blue .ag-rtl .ag-group-checkbox {\\n  padding-left: 2px;\\n}\\n.ag-blue .ag-group-child-count {\\n  display: inline-block;\\n}\\n.ag-blue .ag-footer-cell {\\n  font-style: italic;\\n}\\n.ag-blue .ag-menu {\\n  border: 1px solid #808080;\\n  background-color: #f6f6f6;\\n  cursor: default;\\n  font-family: Calibri, \\\"Segoe UI\\\", Thonburi, Arial, Verdana, sans-serif;\\n  font-size: 10pt;\\n}\\n.ag-blue .ag-menu .ag-tab-header {\\n  background-color: #5b9bd5;\\n}\\n.ag-blue .ag-menu .ag-tab {\\n  padding: 6px 8px 6px 8px;\\n  margin: 2px 2px 0px 2px;\\n  display: inline-block;\\n  border-right: 1px solid transparent;\\n  border-left: 1px solid transparent;\\n  border-top: 1px solid transparent;\\n  border-top-right-radius: 2px;\\n  border-top-left-radius: 2px;\\n}\\n.ag-blue .ag-menu .ag-tab-selected {\\n  background-color: #9bc2e6;\\n  border-right: 1px solid #d3d3d3;\\n  border-left: 1px solid #d3d3d3;\\n  border-top: 1px solid #d3d3d3;\\n}\\n.ag-blue .ag-menu-separator {\\n  border-top: 1px solid #d3d3d3;\\n}\\n.ag-blue .ag-menu-option-active {\\n  background-color: #c7c7c7;\\n}\\n.ag-blue .ag-menu-option-icon {\\n  padding: 2px 4px 2px 4px;\\n  vertical-align: middle;\\n}\\n.ag-blue .ag-menu-option-text {\\n  padding: 2px 4px 2px 4px;\\n  vertical-align: middle;\\n}\\n.ag-blue .ag-menu-option-shortcut {\\n  padding: 2px 2px 2px 2px;\\n  vertical-align: middle;\\n}\\n.ag-blue .ag-menu-option-popup-pointer {\\n  padding: 2px 4px 2px 4px;\\n  vertical-align: middle;\\n}\\n.ag-blue .ag-menu-option-disabled {\\n  opacity: 0.5;\\n  -ms-filter: \\\"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)\\\";\\n  filter: alpha(opacity=50);\\n}\\n.ag-blue .ag-menu-column-select-wrapper {\\n  margin: 2px;\\n}\\n.ag-blue .ag-filter-checkbox {\\n  position: relative;\\n  top: 2px;\\n  left: 2px;\\n}\\n.ag-blue .ag-filter-header-container {\\n  border-bottom: 1px solid #d3d3d3;\\n}\\n.ag-blue .ag-filter-apply-panel {\\n  border-top: 1px solid #d3d3d3;\\n  padding: 2px;\\n}\\n.ag-blue .ag-filter-value {\\n  margin-left: 4px;\\n}\\n.ag-blue .ag-ltr .ag-selection-checkbox {\\n  padding-right: 4px;\\n}\\n.ag-blue .ag-rtl .ag-selection-checkbox {\\n  padding-left: 4px;\\n}\\n.ag-blue .ag-paging-panel {\\n  padding: 4px;\\n}\\n.ag-blue .ag-paging-button {\\n  margin-left: 4px;\\n  margin-right: 4px;\\n}\\n.ag-blue .ag-paging-row-summary-panel {\\n  display: inline-block;\\n  width: 300px;\\n}\\n.ag-blue .ag-tool-panel {\\n  background-color: #f6f6f6;\\n  border-bottom: 1px solid #9bc2e6;\\n  border-top: 1px solid #9bc2e6;\\n  color: #222;\\n}\\n.ag-blue .ltr .ag-tool-panel {\\n  border-right: 1px solid #9bc2e6;\\n}\\n.ag-blue .rtl .ag-tool-panel {\\n  border-left: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-status-bar {\\n  color: #222;\\n  background-color: #f6f6f6;\\n  font-size: 10pt;\\n  height: 22px;\\n  border-bottom: 1px solid #9bc2e6;\\n  border-left: 1px solid #9bc2e6;\\n  border-right: 1px solid #9bc2e6;\\n  padding: 2px;\\n}\\n.ag-blue .ag-status-bar-aggregations {\\n  float: right;\\n}\\n.ag-blue .ag-status-bar-item {\\n  padding-left: 10px;\\n}\\n.ag-blue .ag-column-drop-cell {\\n  background: #ddebf7;\\n  color: #000;\\n  border: 1px solid #808080;\\n}\\n.ag-blue .ag-column-drop-cell-ghost {\\n  opacity: 0.5;\\n  -ms-filter: \\\"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)\\\";\\n  filter: alpha(opacity=50);\\n}\\n.ag-blue .ag-column-drop-cell-text {\\n  padding-left: 2px;\\n  padding-right: 2px;\\n}\\n.ag-blue .ag-column-drop-cell-button {\\n  border: 1px solid transparent;\\n  padding-left: 2px;\\n  padding-right: 2px;\\n  border-radius: 3px;\\n}\\n.ag-blue .ag-column-drop-cell-button:hover {\\n  border: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-column-drop-empty-message {\\n  padding-left: 2px;\\n  padding-right: 2px;\\n  color: #808080;\\n}\\n.ag-blue .ag-column-drop-icon {\\n  margin: 3px;\\n}\\n.ag-blue .ag-column-drop {\\n  background-color: #f6f6f6;\\n}\\n.ag-blue .ag-column-drop-horizontal {\\n  padding: 2px;\\n  border-top: 1px solid #9bc2e6;\\n  border-left: 1px solid #9bc2e6;\\n  border-right: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-column-drop-vertical {\\n  padding: 4px 4px 10px 4px;\\n  border-bottom: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-column-drop-vertical .ag-column-drop-cell {\\n  margin-top: 2px;\\n}\\n.ag-blue .ag-column-drop-vertical .ag-column-drop-empty-message {\\n  text-align: center;\\n  padding: 5px;\\n}\\n.ag-blue .ag-pivot-mode {\\n  border-bottom: 1px solid #9bc2e6;\\n  padding: 4px;\\n  background-color: #f6f6f6;\\n}\\n.ag-blue .ag-tool-panel .ag-column-select-panel {\\n  border-bottom: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-select-agg-func-popup {\\n  cursor: default;\\n  position: absolute;\\n  font-size: 14px;\\n  background-color: #fff;\\n  border: 1px solid #9bc2e6;\\n}\\n.ag-blue .ag-select-agg-func-item {\\n  padding-left: 2px;\\n  padding-right: 2px;\\n}\\n.ag-blue .ag-select-agg-func-item:hover {\\n  background-color: #c7c7c7;\\n}\\n.ag-blue .ag-floating-filter-button {\\n  background-color: #fff;\\n  color: #222;\\n}\\n.ag-blue .ag-floating-filter-body input {\\n  background-color: #fff;\\n  color: #222;\\n}\\n\", \"\"]);\n\n\t// exports\n\n\n/***/ }),\n/* 175 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// style-loader: Adds some css to the DOM by adding a <style> tag\n\n\t// load the styles\n\tvar content = __webpack_require__(176);\n\tif(typeof content === 'string') content = [[module.id, content, '']];\n\t// add the styles to the DOM\n\tvar update = __webpack_require__(168)(content, {});\n\tif(content.locals) module.exports = content.locals;\n\t// Hot Module Replacement\n\tif(false) {\n\t\t// When the styles change, update the <style> tags\n\t\tif(!content.locals) {\n\t\t\tmodule.hot.accept(\"!!../../../css-loader/index.js!./theme-material.css\", function() {\n\t\t\t\tvar newContent = require(\"!!../../../css-loader/index.js!./theme-material.css\");\n\t\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\t\t\t\tupdate(newContent);\n\t\t\t});\n\t\t}\n\t\t// When the module is disposed, remove the <style> tags\n\t\tmodule.hot.dispose(function() { update(); });\n\t}\n\n/***/ }),\n/* 176 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\texports = module.exports = __webpack_require__(167)();\n\t// imports\n\n\n\t// module\n\texports.push([module.id, \".ag-material {\\n  line-height: 1.4;\\n  font-family: Roboto;\\n  font-size: 14px;\\n  color: #666;\\n/* this is for the rowGroupPanel, that appears along the top of the grid */\\n/* this is for the column drops that appear in the toolPanel */\\n}\\n.ag-material img {\\n  vertical-align: middle;\\n  border: 0;\\n}\\n.ag-material .ag-root {\\n  border: none;\\n}\\n.ag-material .ag-cell-not-inline-editing {\\n  padding: 2px;\\n}\\n.ag-material .ag-cell-range-selected-1:not(.ag-cell-focus) {\\n  background-color: rgba(120,120,120,0.4);\\n}\\n.ag-material .ag-cell-range-selected-2:not(.ag-cell-focus) {\\n  background-color: rgba(80,80,80,0.4);\\n}\\n.ag-material .ag-cell-range-selected-3:not(.ag-cell-focus) {\\n  background-color: rgba(40,40,40,0.4);\\n}\\n.ag-material .ag-cell-range-selected-4:not(.ag-cell-focus) {\\n  background-color: rgba(0,0,0,0.4);\\n}\\n.ag-material .ag-cell-focus {\\n  border: 1px solid #d3d3d3;\\n}\\n.ag-material .ag-cell-no-focus {\\n  border-top: 1px solid transparent;\\n  border-bottom: 1px solid #d3d3d3;\\n}\\n.ag-material .ag-ltr .ag-cell-no-focus {\\n  border-right: 1px solid transparent;\\n  border-left: 1px solid transparent;\\n}\\n.ag-material .ag-rtl .ag-cell-no-focus {\\n  border-right: 1px solid transparent;\\n  border-left: 1px solid transparent;\\n}\\n.ag-material .ag-rtl .ag-cell-first-right-pinned {\\n  border-left: none;\\n}\\n.ag-material .ag-ltr .ag-cell-first-right-pinned {\\n  border-left: none;\\n}\\n.ag-material .ag-rtl .ag-cell-last-left-pinned {\\n  border-right: none;\\n}\\n.ag-material .ag-ltr .ag-cell-last-left-pinned {\\n  border-right: none;\\n}\\n.ag-material .ag-cell-highlight {\\n  border: 1px solid #006400;\\n}\\n.ag-material .ag-cell-highlight-animation {\\n  -webkit-transition: border 1s;\\n  -moz-transition: border 1s;\\n  -o-transition: border 1s;\\n  -ms-transition: border 1s;\\n  transition: border 1s;\\n}\\n.ag-material .ag-value-change-delta {\\n  padding-right: 2px;\\n}\\n.ag-material .ag-value-change-delta-up {\\n  color: #006400;\\n}\\n.ag-material .ag-value-change-delta-down {\\n  color: #8b0000;\\n}\\n.ag-material .ag-value-change-value {\\n  background-color: transparent;\\n  border-radius: 1px;\\n  padding-left: 1px;\\n  padding-right: 1px;\\n  -webkit-transition: background-color 1s;\\n  -moz-transition: background-color 1s;\\n  -o-transition: background-color 1s;\\n  -ms-transition: background-color 1s;\\n  transition: background-color 1s;\\n}\\n.ag-material .ag-value-change-value-highlight {\\n  background-color: #cec;\\n  -webkit-transition: background-color 0.1s;\\n  -moz-transition: background-color 0.1s;\\n  -o-transition: background-color 0.1s;\\n  -ms-transition: background-color 0.1s;\\n  transition: background-color 0.1s;\\n}\\n.ag-material .ag-rich-select {\\n  font-size: 14px;\\n  border: none;\\n  background-color: #fff;\\n}\\n.ag-material .ag-rich-select-value {\\n  padding: 2px;\\n}\\n.ag-material .ag-rich-select-list {\\n  border-top: 1px solid #d3d3d3;\\n}\\n.ag-material .ag-rich-select-row {\\n  padding: 2px;\\n}\\n.ag-material .ag-rich-select-row-selected {\\n  background-color: #bde2e5;\\n}\\n.ag-material .ag-large-text {\\n  border: none;\\n}\\n.ag-material .ag-header-select-all {\\n  padding: 5px 0px 0px 15px;\\n  line-height: 0;\\n}\\n.ag-material .ag-header {\\n  color: #666;\\n  background: none;\\n  border-bottom: none;\\n  font-weight: bold;\\n}\\n.ag-material .ag-header-icon {\\n  color: #666;\\n  stroke: none;\\n  fill: #666;\\n}\\n.ag-material .ag-no-scrolls .ag-header-container {\\n  background: none;\\n  border-bottom: none;\\n}\\n.ag-material .ag-ltr .ag-header-cell {\\n  border-right: none;\\n}\\n.ag-material .ag-rtl .ag-header-cell {\\n  border-left: none;\\n}\\n.ag-material .ag-header-cell-moving .ag-header-cell-label {\\n  opacity: 0.5;\\n  -ms-filter: \\\"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)\\\";\\n  filter: alpha(opacity=50);\\n}\\n.ag-material .ag-header-cell-moving {\\n  background-color: #bebebe;\\n}\\n.ag-material .ag-ltr .ag-header-group-cell {\\n  border-right: none;\\n}\\n.ag-material .ag-rtl .ag-header-group-cell {\\n  border-left: none;\\n}\\n.ag-material .ag-header-group-cell-with-group {\\n  border-bottom: none;\\n}\\n.ag-material .ag-header-cell-label {\\n  padding: 4px 2px 4px 2px;\\n}\\n.ag-material .ag-header-cell-text {\\n  padding-left: 2px;\\n}\\n.ag-material .ag-header-group-cell-label {\\n  padding: 4px;\\n}\\n.ag-material .ag-ltr .ag-header-group-cell-label {\\n  padding-left: 10px;\\n}\\n.ag-material .ag-rtl .ag-header-group-cell-label {\\n  padding-right: 10px;\\n}\\n.ag-material .ag-rtl .ag-header-group-text {\\n  margin-left: 2px;\\n}\\n.ag-material .ag-ltr .ag-header-group-text {\\n  margin-right: 2px;\\n}\\n.ag-material .ag-header-cell-menu-button {\\n  padding: 2px;\\n  margin-top: 4px;\\n  margin-left: 1px;\\n  margin-right: 1px;\\n  border: 1px solid transparent;\\n  border-radius: 3px;\\n  -webkit-box-sizing: content-box /* When using bootstrap, box-sizing was set to 'border-box' */;\\n  -moz-box-sizing: content-box /* When using bootstrap, box-sizing was set to 'border-box' */;\\n  box-sizing: content-box /* When using bootstrap, box-sizing was set to 'border-box' */;\\n  line-height: 0px /* normal line height, a space was appearing below the menu button */;\\n}\\n.ag-material .ag-ltr .ag-pinned-right-header {\\n  border-left: none;\\n}\\n.ag-material .ag-rtl .ag-pinned-left-header {\\n  border-right: none;\\n}\\n.ag-material .ag-header-cell-menu-button:hover {\\n  border: none;\\n}\\n.ag-material .ag-body {\\n  background-color: #fff;\\n}\\n.ag-material .ag-row-odd {\\n  background-color: #fff;\\n}\\n.ag-material .ag-row-even {\\n  background-color: #fff;\\n}\\n.ag-material .ag-row-selected {\\n  background-color: #f5f5f5;\\n}\\n.ag-material .ag-floating-top .ag-row {\\n  background-color: #f0f0f0;\\n}\\n.ag-material .ag-floating-bottom .ag-row {\\n  background-color: #f0f0f0;\\n}\\n.ag-material .ag-overlay-loading-wrapper {\\n  background-color: rgba(255,255,255,0.5);\\n}\\n.ag-material .ag-overlay-loading-center {\\n  background-color: #fff;\\n  border: none;\\n  border-radius: 10px;\\n  padding: 10px;\\n  color: #000;\\n}\\n.ag-material .ag-overlay-no-rows-center {\\n  background-color: #fff;\\n  border: none;\\n  border-radius: 10px;\\n  padding: 10px;\\n}\\n.ag-material .ag-group-cell-entire-row {\\n  background-color: #fff;\\n  padding: 2px;\\n}\\n.ag-material .ag-footer-cell-entire-row {\\n  background-color: #fff;\\n  padding: 2px;\\n}\\n.ag-material .ag-group-cell {\\n  font-style: italic;\\n}\\n.ag-material .ag-ltr .ag-group-expanded {\\n  padding-right: 4px;\\n}\\n.ag-material .ag-rtl .ag-group-expanded {\\n  padding-left: 4px;\\n}\\n.ag-material .ag-ltr .ag-group-contracted {\\n  padding-right: 4px;\\n}\\n.ag-material .ag-rtl .ag-group-contracted {\\n  padding-left: 4px;\\n}\\n.ag-material .ag-ltr .ag-group-loading {\\n  padding-right: 4px;\\n}\\n.ag-material .ag-rtl .ag-group-loading {\\n  padding-left: 4px;\\n}\\n.ag-material .ag-ltr .ag-group-value {\\n  padding-right: 2px;\\n}\\n.ag-material .ag-rtl .ag-group-value {\\n  padding-left: 2px;\\n}\\n.ag-material .ag-ltr .ag-group-checkbox {\\n  padding-right: 2px;\\n}\\n.ag-material .ag-rtl .ag-group-checkbox {\\n  padding-left: 2px;\\n}\\n.ag-material .ag-group-child-count {\\n  display: inline-block;\\n}\\n.ag-material .ag-footer-cell {\\n  font-style: italic;\\n}\\n.ag-material .ag-menu {\\n  border: 1px solid #808080;\\n  background-color: #fff;\\n  cursor: default;\\n  font-family: Roboto;\\n  font-size: 14px;\\n}\\n.ag-material .ag-menu .ag-tab-header {\\n  background-color: #f6f6f6;\\n}\\n.ag-material .ag-menu .ag-tab {\\n  padding: 6px 16px 6px 16px;\\n  margin: 2px 2px 0px 2px;\\n  display: inline-block;\\n  border-right: 1px solid transparent;\\n  border-left: 1px solid transparent;\\n  border-top: 1px solid transparent;\\n  border-top-right-radius: 2px;\\n  border-top-left-radius: 2px;\\n}\\n.ag-material .ag-menu .ag-tab-selected {\\n  background-color: #fff;\\n  border-right: 1px solid transparent;\\n  border-left: 1px solid transparent;\\n  border-top: 1px solid transparent;\\n}\\n.ag-material .ag-menu-separator {\\n  border-top: 1px solid #d3d3d3;\\n}\\n.ag-material .ag-menu-option-active {\\n  background-color: #bde2e5;\\n}\\n.ag-material .ag-menu-option-icon {\\n  padding: 10px 6px 10px 6px;\\n  vertical-align: middle;\\n}\\n.ag-material .ag-menu-option-text {\\n  padding: 10px 6px 10px 6px;\\n  vertical-align: middle;\\n}\\n.ag-material .ag-menu-option-shortcut {\\n  padding: 10px 6px 10px 6px;\\n  vertical-align: middle;\\n}\\n.ag-material .ag-menu-option-popup-pointer {\\n  padding: 10px 6px 10px 6px;\\n  vertical-align: middle;\\n}\\n.ag-material .ag-menu-option-disabled {\\n  opacity: 0.5;\\n  -ms-filter: \\\"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)\\\";\\n  filter: alpha(opacity=50);\\n}\\n.ag-material .ag-menu-column-select-wrapper {\\n  margin: 2px;\\n}\\n.ag-material .ag-filter-checkbox {\\n  position: relative;\\n  top: 2px;\\n  left: 2px;\\n}\\n.ag-material .ag-filter-header-container {\\n  border-bottom: 1px solid #d3d3d3;\\n}\\n.ag-material .ag-filter-apply-panel {\\n  border-top: 1px solid #d3d3d3;\\n  padding: 2px;\\n}\\n.ag-material .ag-filter-value {\\n  margin-left: 4px;\\n}\\n.ag-material .ag-ltr .ag-selection-checkbox {\\n  padding-right: 4px;\\n}\\n.ag-material .ag-rtl .ag-selection-checkbox {\\n  padding-left: 4px;\\n}\\n.ag-material .ag-paging-panel {\\n  padding: 4px;\\n}\\n.ag-material .ag-paging-button {\\n  margin-left: 4px;\\n  margin-right: 4px;\\n}\\n.ag-material .ag-paging-row-summary-panel {\\n  display: inline-block;\\n  width: 300px;\\n}\\n.ag-material .ag-tool-panel {\\n  background-color: #fff;\\n  border-bottom: none;\\n  border-top: none;\\n  color: #666;\\n}\\n.ag-material .ltr .ag-tool-panel {\\n  border-right: none;\\n}\\n.ag-material .rtl .ag-tool-panel {\\n  border-left: none;\\n}\\n.ag-material .ag-status-bar {\\n  color: #666;\\n  background-color: #fff;\\n  font-size: 14px;\\n  height: 22px;\\n  border-bottom: none;\\n  border-left: none;\\n  border-right: none;\\n  padding: 2px;\\n}\\n.ag-material .ag-status-bar-aggregations {\\n  float: right;\\n}\\n.ag-material .ag-status-bar-item {\\n  padding-left: 10px;\\n}\\n.ag-material .ag-column-drop-cell {\\n  background: none;\\n  color: #000;\\n  border: 1px solid #808080;\\n}\\n.ag-material .ag-column-drop-cell-ghost {\\n  opacity: 0.5;\\n  -ms-filter: \\\"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)\\\";\\n  filter: alpha(opacity=50);\\n}\\n.ag-material .ag-column-drop-cell-text {\\n  padding-left: 2px;\\n  padding-right: 2px;\\n}\\n.ag-material .ag-column-drop-cell-button {\\n  border: 1px solid transparent;\\n  padding-left: 2px;\\n  padding-right: 2px;\\n  border-radius: 3px;\\n}\\n.ag-material .ag-column-drop-cell-button:hover {\\n  border: none;\\n}\\n.ag-material .ag-column-drop-empty-message {\\n  padding-left: 2px;\\n  padding-right: 2px;\\n  color: #808080;\\n}\\n.ag-material .ag-column-drop-icon {\\n  margin: 3px;\\n}\\n.ag-material .ag-column-drop {\\n  background-color: #fff;\\n}\\n.ag-material .ag-column-drop-horizontal {\\n  padding: 2px;\\n  border-top: none;\\n  border-left: none;\\n  border-right: none;\\n}\\n.ag-material .ag-column-drop-vertical {\\n  padding: 4px 4px 10px 4px;\\n  border-bottom: none;\\n}\\n.ag-material .ag-column-drop-vertical .ag-column-drop-cell {\\n  margin-top: 2px;\\n}\\n.ag-material .ag-column-drop-vertical .ag-column-drop-empty-message {\\n  text-align: center;\\n  padding: 5px;\\n}\\n.ag-material .ag-pivot-mode {\\n  border-bottom: none;\\n  padding: 4px;\\n  background-color: #fff;\\n}\\n.ag-material .ag-tool-panel .ag-column-select-panel {\\n  border-bottom: none;\\n}\\n.ag-material .ag-select-agg-func-popup {\\n  cursor: default;\\n  position: absolute;\\n  font-size: 14px;\\n  background-color: #fff;\\n  border: none;\\n}\\n.ag-material .ag-select-agg-func-item {\\n  padding-left: 2px;\\n  padding-right: 2px;\\n}\\n.ag-material .ag-select-agg-func-item:hover {\\n  background-color: #bde2e5;\\n}\\n.ag-material .ag-row-hover {\\n  background-color: #eee !important;\\n}\\n.ag-material .ag-cell-not-inline-editing {\\n  padding-top: 15px;\\n}\\n.ag-material .ag-header-cell-menu-button:hover {\\n  border: 1px solid #808080;\\n}\\n.ag-material .ag-header-cell-label {\\n  text-align: left;\\n}\\n.ag-material .ag-header {\\n  border-bottom: 1px solid #808080;\\n}\\n.ag-material .ag-selection-checkbox {\\n  padding-right: 12px;\\n  padding-left: 12px;\\n}\\n\", \"\"]);\n\n\t// exports\n\n\n/***/ }),\n/* 177 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// style-loader: Adds some css to the DOM by adding a <style> tag\n\n\t// load the styles\n\tvar content = __webpack_require__(178);\n\tif(typeof content === 'string') content = [[module.id, content, '']];\n\t// add the styles to the DOM\n\tvar update = __webpack_require__(168)(content, {});\n\tif(content.locals) module.exports = content.locals;\n\t// Hot Module Replacement\n\tif(false) {\n\t\t// When the styles change, update the <style> tags\n\t\tif(!content.locals) {\n\t\t\tmodule.hot.accept(\"!!../../../css-loader/index.js!./theme-bootstrap.css\", function() {\n\t\t\t\tvar newContent = require(\"!!../../../css-loader/index.js!./theme-bootstrap.css\");\n\t\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\t\t\t\tupdate(newContent);\n\t\t\t});\n\t\t}\n\t\t// When the module is disposed, remove the <style> tags\n\t\tmodule.hot.dispose(function() { update(); });\n\t}\n\n/***/ }),\n/* 178 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\texports = module.exports = __webpack_require__(167)();\n\t// imports\n\n\n\t// module\n\texports.push([module.id, \".ag-bootstrap {\\n  line-height: 1.4;\\n  font-family: \\\"Helvetica Neue\\\", Helvetica, Arial, sans-serif;\\n  font-size: 14px;\\n  color: #000;\\n/* this is for the rowGroupPanel, that appears along the top of the grid */\\n/* this is for the column drops that appear in the toolPanel */\\n}\\n.ag-bootstrap img {\\n  vertical-align: middle;\\n  border: 0;\\n}\\n.ag-bootstrap .ag-root {\\n  border: none;\\n}\\n.ag-bootstrap .ag-cell-not-inline-editing {\\n  padding: 4px;\\n}\\n.ag-bootstrap .ag-cell-range-selected-1:not(.ag-cell-focus) {\\n  background-color: rgba(120,120,120,0.4);\\n}\\n.ag-bootstrap .ag-cell-range-selected-2:not(.ag-cell-focus) {\\n  background-color: rgba(80,80,80,0.4);\\n}\\n.ag-bootstrap .ag-cell-range-selected-3:not(.ag-cell-focus) {\\n  background-color: rgba(40,40,40,0.4);\\n}\\n.ag-bootstrap .ag-cell-range-selected-4:not(.ag-cell-focus) {\\n  background-color: rgba(0,0,0,0.4);\\n}\\n.ag-bootstrap .ag-cell-focus {\\n  border: 2px solid #217346;\\n}\\n.ag-bootstrap .ag-cell-no-focus {\\n  border-top: 1px solid transparent;\\n  border-bottom: 1px solid transparent;\\n}\\n.ag-bootstrap .ag-ltr .ag-cell-no-focus {\\n  border-right: none;\\n  border-left: 1px solid transparent;\\n}\\n.ag-bootstrap .ag-rtl .ag-cell-no-focus {\\n  border-right: 1px solid transparent;\\n  border-left: none;\\n}\\n.ag-bootstrap .ag-rtl .ag-cell-first-right-pinned {\\n  border-left: none;\\n}\\n.ag-bootstrap .ag-ltr .ag-cell-first-right-pinned {\\n  border-left: none;\\n}\\n.ag-bootstrap .ag-rtl .ag-cell-last-left-pinned {\\n  border-right: none;\\n}\\n.ag-bootstrap .ag-ltr .ag-cell-last-left-pinned {\\n  border-right: none;\\n}\\n.ag-bootstrap .ag-cell-highlight {\\n  border: 1px solid #006400;\\n}\\n.ag-bootstrap .ag-cell-highlight-animation {\\n  -webkit-transition: border 1s;\\n  -moz-transition: border 1s;\\n  -o-transition: border 1s;\\n  -ms-transition: border 1s;\\n  transition: border 1s;\\n}\\n.ag-bootstrap .ag-value-change-delta {\\n  padding-right: 2px;\\n}\\n.ag-bootstrap .ag-value-change-delta-up {\\n  color: #006400;\\n}\\n.ag-bootstrap .ag-value-change-delta-down {\\n  color: #8b0000;\\n}\\n.ag-bootstrap .ag-value-change-value {\\n  background-color: transparent;\\n  border-radius: 1px;\\n  padding-left: 1px;\\n  padding-right: 1px;\\n  -webkit-transition: background-color 1s;\\n  -moz-transition: background-color 1s;\\n  -o-transition: background-color 1s;\\n  -ms-transition: background-color 1s;\\n  transition: background-color 1s;\\n}\\n.ag-bootstrap .ag-value-change-value-highlight {\\n  background-color: #cec;\\n  -webkit-transition: background-color 0.1s;\\n  -moz-transition: background-color 0.1s;\\n  -o-transition: background-color 0.1s;\\n  -ms-transition: background-color 0.1s;\\n  transition: background-color 0.1s;\\n}\\n.ag-bootstrap .ag-rich-select {\\n  font-size: 14px;\\n  border: none;\\n  background-color: #fff;\\n}\\n.ag-bootstrap .ag-rich-select-value {\\n  padding: 2px;\\n}\\n.ag-bootstrap .ag-rich-select-list {\\n  border-top: 1px solid #d3d3d3;\\n}\\n.ag-bootstrap .ag-rich-select-row {\\n  padding: 2px;\\n}\\n.ag-bootstrap .ag-rich-select-row-selected {\\n  background-color: #bde2e5;\\n}\\n.ag-bootstrap .ag-large-text {\\n  border: none;\\n}\\n.ag-bootstrap .ag-header-select-all {\\n  padding: 5px 0px 0px 5px;\\n  line-height: 0;\\n}\\n.ag-bootstrap .ag-header {\\n  color: #000;\\n  background: none;\\n  border-bottom: none;\\n  font-weight: 600;\\n}\\n.ag-bootstrap .ag-header-icon {\\n  color: #000;\\n  stroke: none;\\n  fill: #000;\\n}\\n.ag-bootstrap .ag-no-scrolls .ag-header-container {\\n  background: none;\\n  border-bottom: none;\\n}\\n.ag-bootstrap .ag-ltr .ag-header-cell {\\n  border-right: none;\\n}\\n.ag-bootstrap .ag-rtl .ag-header-cell {\\n  border-left: none;\\n}\\n.ag-bootstrap .ag-header-cell-moving .ag-header-cell-label {\\n  opacity: 0.5;\\n  -ms-filter: \\\"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)\\\";\\n  filter: alpha(opacity=50);\\n}\\n.ag-bootstrap .ag-header-cell-moving {\\n  background-color: #bebebe;\\n}\\n.ag-bootstrap .ag-ltr .ag-header-group-cell {\\n  border-right: none;\\n}\\n.ag-bootstrap .ag-rtl .ag-header-group-cell {\\n  border-left: none;\\n}\\n.ag-bootstrap .ag-header-group-cell-with-group {\\n  border-bottom: none;\\n}\\n.ag-bootstrap .ag-header-cell-label {\\n  padding: 4px 2px 4px 2px;\\n}\\n.ag-bootstrap .ag-header-cell-text {\\n  padding-left: 2px;\\n}\\n.ag-bootstrap .ag-header-group-cell-label {\\n  padding: 4px;\\n}\\n.ag-bootstrap .ag-ltr .ag-header-group-cell-label {\\n  padding-left: 10px;\\n}\\n.ag-bootstrap .ag-rtl .ag-header-group-cell-label {\\n  padding-right: 10px;\\n}\\n.ag-bootstrap .ag-rtl .ag-header-group-text {\\n  margin-left: 2px;\\n}\\n.ag-bootstrap .ag-ltr .ag-header-group-text {\\n  margin-right: 2px;\\n}\\n.ag-bootstrap .ag-header-cell-menu-button {\\n  padding: 2px;\\n  margin-top: 4px;\\n  margin-left: 1px;\\n  margin-right: 1px;\\n  border: 1px solid transparent;\\n  border-radius: 3px;\\n  -webkit-box-sizing: content-box /* When using bootstrap, box-sizing was set to 'border-box' */;\\n  -moz-box-sizing: content-box /* When using bootstrap, box-sizing was set to 'border-box' */;\\n  box-sizing: content-box /* When using bootstrap, box-sizing was set to 'border-box' */;\\n  line-height: 0px /* normal line height, a space was appearing below the menu button */;\\n}\\n.ag-bootstrap .ag-ltr .ag-pinned-right-header {\\n  border-left: none;\\n}\\n.ag-bootstrap .ag-rtl .ag-pinned-left-header {\\n  border-right: none;\\n}\\n.ag-bootstrap .ag-header-cell-menu-button:hover {\\n  border: none;\\n}\\n.ag-bootstrap .ag-body {\\n  background-color: #f6f6f6;\\n}\\n.ag-bootstrap .ag-row-odd {\\n  background-color: #f6f6f6;\\n}\\n.ag-bootstrap .ag-row-even {\\n  background-color: #fff;\\n}\\n.ag-bootstrap .ag-row-selected {\\n  background-color: #b0e0e6;\\n}\\n.ag-bootstrap .ag-floating-top .ag-row {\\n  background-color: #f0f0f0;\\n}\\n.ag-bootstrap .ag-floating-bottom .ag-row {\\n  background-color: #f0f0f0;\\n}\\n.ag-bootstrap .ag-overlay-loading-wrapper {\\n  background-color: rgba(255,255,255,0.5);\\n}\\n.ag-bootstrap .ag-overlay-loading-center {\\n  background-color: #fff;\\n  border: none;\\n  border-radius: 10px;\\n  padding: 10px;\\n  color: #000;\\n}\\n.ag-bootstrap .ag-overlay-no-rows-center {\\n  background-color: #fff;\\n  border: none;\\n  border-radius: 10px;\\n  padding: 10px;\\n}\\n.ag-bootstrap .ag-group-cell-entire-row {\\n  background-color: #f6f6f6;\\n  padding: 4px;\\n}\\n.ag-bootstrap .ag-footer-cell-entire-row {\\n  background-color: #f6f6f6;\\n  padding: 4px;\\n}\\n.ag-bootstrap .ag-group-cell {\\n  font-style: italic;\\n}\\n.ag-bootstrap .ag-ltr .ag-group-expanded {\\n  padding-right: 4px;\\n}\\n.ag-bootstrap .ag-rtl .ag-group-expanded {\\n  padding-left: 4px;\\n}\\n.ag-bootstrap .ag-ltr .ag-group-contracted {\\n  padding-right: 4px;\\n}\\n.ag-bootstrap .ag-rtl .ag-group-contracted {\\n  padding-left: 4px;\\n}\\n.ag-bootstrap .ag-ltr .ag-group-loading {\\n  padding-right: 4px;\\n}\\n.ag-bootstrap .ag-rtl .ag-group-loading {\\n  padding-left: 4px;\\n}\\n.ag-bootstrap .ag-ltr .ag-group-value {\\n  padding-right: 2px;\\n}\\n.ag-bootstrap .ag-rtl .ag-group-value {\\n  padding-left: 2px;\\n}\\n.ag-bootstrap .ag-ltr .ag-group-checkbox {\\n  padding-right: 2px;\\n}\\n.ag-bootstrap .ag-rtl .ag-group-checkbox {\\n  padding-left: 2px;\\n}\\n.ag-bootstrap .ag-group-child-count {\\n  display: inline-block;\\n}\\n.ag-bootstrap .ag-footer-cell {\\n  font-style: italic;\\n}\\n.ag-bootstrap .ag-menu {\\n  border: 1px solid #808080;\\n  background-color: #f6f6f6;\\n  cursor: default;\\n  font-family: \\\"Helvetica Neue\\\", Helvetica, Arial, sans-serif;\\n  font-size: 14px;\\n}\\n.ag-bootstrap .ag-menu .ag-tab-header {\\n  background-color: #e6e6e6;\\n}\\n.ag-bootstrap .ag-menu .ag-tab {\\n  padding: 6px 8px 6px 8px;\\n  margin: 2px 2px 0px 2px;\\n  display: inline-block;\\n  border-right: 1px solid transparent;\\n  border-left: 1px solid transparent;\\n  border-top: 1px solid transparent;\\n  border-top-right-radius: 2px;\\n  border-top-left-radius: 2px;\\n}\\n.ag-bootstrap .ag-menu .ag-tab-selected {\\n  background-color: #f6f6f6;\\n  border-right: 1px solid #d3d3d3;\\n  border-left: 1px solid #d3d3d3;\\n  border-top: 1px solid #d3d3d3;\\n}\\n.ag-bootstrap .ag-menu-separator {\\n  border-top: 1px solid #d3d3d3;\\n}\\n.ag-bootstrap .ag-menu-option-active {\\n  background-color: #bde2e5;\\n}\\n.ag-bootstrap .ag-menu-option-icon {\\n  padding: 2px 4px 2px 4px;\\n  vertical-align: middle;\\n}\\n.ag-bootstrap .ag-menu-option-text {\\n  padding: 2px 4px 2px 4px;\\n  vertical-align: middle;\\n}\\n.ag-bootstrap .ag-menu-option-shortcut {\\n  padding: 2px 2px 2px 2px;\\n  vertical-align: middle;\\n}\\n.ag-bootstrap .ag-menu-option-popup-pointer {\\n  padding: 2px 4px 2px 4px;\\n  vertical-align: middle;\\n}\\n.ag-bootstrap .ag-menu-option-disabled {\\n  opacity: 0.5;\\n  -ms-filter: \\\"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)\\\";\\n  filter: alpha(opacity=50);\\n}\\n.ag-bootstrap .ag-menu-column-select-wrapper {\\n  margin: 2px;\\n}\\n.ag-bootstrap .ag-filter-checkbox {\\n  position: relative;\\n  top: 2px;\\n  left: 2px;\\n}\\n.ag-bootstrap .ag-filter-header-container {\\n  border-bottom: 1px solid #d3d3d3;\\n}\\n.ag-bootstrap .ag-filter-apply-panel {\\n  border-top: 1px solid #d3d3d3;\\n  padding: 2px;\\n}\\n.ag-bootstrap .ag-filter-value {\\n  margin-left: 4px;\\n}\\n.ag-bootstrap .ag-ltr .ag-selection-checkbox {\\n  padding-right: 4px;\\n}\\n.ag-bootstrap .ag-rtl .ag-selection-checkbox {\\n  padding-left: 4px;\\n}\\n.ag-bootstrap .ag-paging-panel {\\n  padding: 4px;\\n}\\n.ag-bootstrap .ag-paging-button {\\n  margin-left: 4px;\\n  margin-right: 4px;\\n}\\n.ag-bootstrap .ag-paging-row-summary-panel {\\n  display: inline-block;\\n  width: 300px;\\n}\\n.ag-bootstrap .ag-tool-panel {\\n  background-color: #f6f6f6;\\n  border-bottom: none;\\n  border-top: none;\\n  color: #000;\\n}\\n.ag-bootstrap .ltr .ag-tool-panel {\\n  border-right: none;\\n}\\n.ag-bootstrap .rtl .ag-tool-panel {\\n  border-left: none;\\n}\\n.ag-bootstrap .ag-status-bar {\\n  color: #000;\\n  background-color: #f6f6f6;\\n  font-size: 14px;\\n  height: 22px;\\n  border-bottom: none;\\n  border-left: none;\\n  border-right: none;\\n  padding: 2px;\\n}\\n.ag-bootstrap .ag-status-bar-aggregations {\\n  float: right;\\n}\\n.ag-bootstrap .ag-status-bar-item {\\n  padding-left: 10px;\\n}\\n.ag-bootstrap .ag-column-drop-cell {\\n  background: none;\\n  color: #000;\\n  border: 1px solid #808080;\\n}\\n.ag-bootstrap .ag-column-drop-cell-ghost {\\n  opacity: 0.5;\\n  -ms-filter: \\\"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)\\\";\\n  filter: alpha(opacity=50);\\n}\\n.ag-bootstrap .ag-column-drop-cell-text {\\n  padding-left: 2px;\\n  padding-right: 2px;\\n}\\n.ag-bootstrap .ag-column-drop-cell-button {\\n  border: 1px solid transparent;\\n  padding-left: 2px;\\n  padding-right: 2px;\\n  border-radius: 3px;\\n}\\n.ag-bootstrap .ag-column-drop-cell-button:hover {\\n  border: none;\\n}\\n.ag-bootstrap .ag-column-drop-empty-message {\\n  padding-left: 2px;\\n  padding-right: 2px;\\n  color: #808080;\\n}\\n.ag-bootstrap .ag-column-drop-icon {\\n  margin: 3px;\\n}\\n.ag-bootstrap .ag-column-drop {\\n  background-color: #f6f6f6;\\n}\\n.ag-bootstrap .ag-column-drop-horizontal {\\n  padding: 2px;\\n  border-top: none;\\n  border-left: none;\\n  border-right: none;\\n}\\n.ag-bootstrap .ag-column-drop-vertical {\\n  padding: 4px 4px 10px 4px;\\n  border-bottom: none;\\n}\\n.ag-bootstrap .ag-column-drop-vertical .ag-column-drop-cell {\\n  margin-top: 2px;\\n}\\n.ag-bootstrap .ag-column-drop-vertical .ag-column-drop-empty-message {\\n  text-align: center;\\n  padding: 5px;\\n}\\n.ag-bootstrap .ag-pivot-mode {\\n  border-bottom: none;\\n  padding: 4px;\\n  background-color: #f6f6f6;\\n}\\n.ag-bootstrap .ag-tool-panel .ag-column-select-panel {\\n  border-bottom: none;\\n}\\n.ag-bootstrap .ag-select-agg-func-popup {\\n  cursor: default;\\n  position: absolute;\\n  font-size: 14px;\\n  background-color: #fff;\\n  border: none;\\n}\\n.ag-bootstrap .ag-select-agg-func-item {\\n  padding-left: 2px;\\n  padding-right: 2px;\\n}\\n.ag-bootstrap .ag-select-agg-func-item:hover {\\n  background-color: #bde2e5;\\n}\\n\", \"\"]);\n\n\t// exports\n\n\n/***/ })\n/******/ ])\n});\n;","define('ember-ag-grid/components/ag-grid', ['exports', 'ember-get-config'], function (exports, _emberGetConfig) {\n  'use strict';\n\n  var Component = Ember.Component,\n      computed = Ember.computed,\n      run = Ember.run,\n      assert = Ember.assert;\n\n  exports['default'] = Component.extend({\n\n    classNames: ['ag-grid-container'],\n    tagName: 'div',\n    theme: 'ag-fresh',\n    width: '100%',\n    height: '400px',\n    gridOptions: undefined,\n\n    containerStyle: computed('width', 'height', function () {\n      var width = this.get('width');\n      var height = this.get('height');\n\n      assert('invalid width property; use auto, px, % or em', this._escapeCSS(width));\n\n      assert('invalid height property; use auto, px, % or em', this._escapeCSS(height));\n\n      return Ember.String.htmlSafe('width: ' + width + '; height: ' + height + ';');\n    }),\n\n    _escapeCSS: function _escapeCSS(css) {\n      return (/(^auto$|^\\d*px$|^\\d*%$|^\\d*em$)/.test(css)\n      );\n    },\n    didInsertElement: function didInsertElement() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n\n      var defaults = { columnDefs: [], rowData: [] };\n      var agGridOptions = typeof _emberGetConfig['default'] !== \"undefined\" ? _emberGetConfig['default'].agGrid : false;\n\n      if (!this.get('gridOptions')) {\n        this.set('gridOptions', defaults);\n      }\n\n      run.scheduleOnce('afterRender', function () {\n        if (agGridOptions && agGridOptions.useEnterprise && agGridOptions.licenseKey) {\n          agGrid.LicenseManager.setLicenseKey(agGridOptions.licenseKey);\n        }\n\n        new agGrid.Grid(_this.$('.agGrid')[0], _this.get('gridOptions'));\n      });\n    },\n    willDestroyElement: function willDestroyElement() {\n      this._super.apply(this, arguments);\n      if (this.get('gridOptions') && this.get('gridOptions').api) {\n        this.get('gridOptions').api.destroy();\n      }\n    }\n  });\n});","define('ember-ajax/ajax-request', ['exports', 'ember', 'ember-ajax/mixins/ajax-request'], function (exports, _ember, _emberAjaxMixinsAjaxRequest) {\n  'use strict';\n\n  var EmberObject = _ember['default'].Object;\n\n  exports['default'] = EmberObject.extend(_emberAjaxMixinsAjaxRequest['default']);\n});","define('ember-ajax/errors', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  exports.AjaxError = AjaxError;\n  exports.InvalidError = InvalidError;\n  exports.UnauthorizedError = UnauthorizedError;\n  exports.ForbiddenError = ForbiddenError;\n  exports.BadRequestError = BadRequestError;\n  exports.NotFoundError = NotFoundError;\n  exports.TimeoutError = TimeoutError;\n  exports.AbortError = AbortError;\n  exports.ConflictError = ConflictError;\n  exports.ServerError = ServerError;\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.isTimeoutError = isTimeoutError;\n  exports.isAbortError = isAbortError;\n  exports.isConflictError = isConflictError;\n  exports.isServerError = isServerError;\n  exports.isSuccess = isSuccess;\n\n  var EmberError = _ember['default'].Error;\n\n  /**\n   * @class AjaxError\n   * @private\n   */\n\n  function AjaxError(errors) {\n    var message = arguments.length <= 1 || arguments[1] === undefined ? 'Ajax operation failed' : arguments[1];\n\n    EmberError.call(this, message);\n\n    this.errors = errors || [{\n      title: 'Ajax Error',\n      detail: message\n    }];\n  }\n\n  AjaxError.prototype = Object.create(EmberError.prototype);\n\n  /**\n   * @class InvalidError\n   * @public\n   * @extends AjaxError\n   */\n\n  function InvalidError(errors) {\n    AjaxError.call(this, errors, 'Request was rejected because it was invalid');\n  }\n\n  InvalidError.prototype = Object.create(AjaxError.prototype);\n\n  /**\n   * @class UnauthorizedError\n   * @public\n   * @extends AjaxError\n   */\n\n  function UnauthorizedError(errors) {\n    AjaxError.call(this, errors, 'Ajax authorization failed');\n  }\n\n  UnauthorizedError.prototype = Object.create(AjaxError.prototype);\n\n  /**\n   * @class ForbiddenError\n   * @public\n   * @extends AjaxError\n   */\n\n  function ForbiddenError(errors) {\n    AjaxError.call(this, errors, 'Request was rejected because user is not permitted to perform this operation.');\n  }\n\n  ForbiddenError.prototype = Object.create(AjaxError.prototype);\n\n  /**\n   * @class BadRequestError\n   * @public\n   * @extends AjaxError\n   */\n\n  function BadRequestError(errors) {\n    AjaxError.call(this, errors, 'Request was formatted incorrectly.');\n  }\n\n  BadRequestError.prototype = Object.create(AjaxError.prototype);\n\n  /**\n   * @class NotFoundError\n   * @public\n   * @extends AjaxError\n   */\n\n  function NotFoundError(errors) {\n    AjaxError.call(this, errors, 'Resource was not found.');\n  }\n\n  NotFoundError.prototype = Object.create(AjaxError.prototype);\n\n  /**\n   * @class TimeoutError\n   * @public\n   * @extends AjaxError\n   */\n\n  function TimeoutError() {\n    AjaxError.call(this, null, 'The ajax operation timed out');\n  }\n\n  TimeoutError.prototype = Object.create(AjaxError.prototype);\n\n  /**\n   * @class AbortError\n   * @public\n   * @extends AjaxError\n   */\n\n  function AbortError() {\n    AjaxError.call(this, null, 'The ajax operation was aborted');\n  }\n\n  AbortError.prototype = Object.create(AjaxError.prototype);\n\n  /**\n   * @class ConflictError\n   * @public\n   * @extends AjaxError\n   */\n\n  function ConflictError(errors) {\n    AjaxError.call(this, errors, 'The ajax operation failed due to a conflict');\n  }\n\n  ConflictError.prototype = Object.create(AjaxError.prototype);\n\n  /**\n   * @class ServerError\n   * @public\n   * @extends AjaxError\n   */\n\n  function ServerError(errors) {\n    AjaxError.call(this, errors, 'Request was rejected due to server error');\n  }\n\n  ServerError.prototype = Object.create(AjaxError.prototype);\n\n  /**\n   * Checks if the given error is or inherits from AjaxError\n   *\n   * @method isAjaxError\n   * @public\n   * @param  {Error} error\n   * @return {Boolean}\n   */\n\n  function isAjaxError(error) {\n    return error instanceof AjaxError;\n  }\n\n  /**\n   * Checks if the given status code or AjaxError object represents an\n   * unauthorized request error\n   *\n   * @method isUnauthorizedError\n   * @public\n   * @param  {Number | AjaxError} error\n   * @return {Boolean}\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  /**\n   * Checks if the given status code or AjaxError object represents a forbidden\n   * request error\n   *\n   * @method isForbiddenError\n   * @public\n   * @param  {Number | AjaxError} error\n   * @return {Boolean}\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  /**\n   * Checks if the given status code or AjaxError object represents an invalid\n   * request error\n   *\n   * @method isInvalidError\n   * @public\n   * @param  {Number | AjaxError} error\n   * @return {Boolean}\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  /**\n   * Checks if the given status code or AjaxError object represents a bad request\n   * error\n   *\n   * @method isBadRequestError\n   * @public\n   * @param  {Number | AjaxError} error\n   * @return {Boolean}\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  /**\n   * Checks if the given status code or AjaxError object represents a\n   * \"not found\" error\n   *\n   * @method isNotFoundError\n   * @public\n   * @param  {Number | AjaxError} error\n   * @return {Boolean}\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  /**\n   * Checks if the given status code or AjaxError object represents a\n   * \"timeout\" error\n   *\n   * @method isTimeoutError\n   * @public\n   * @param  {AjaxError} error\n   * @return {Boolean}\n   */\n\n  function isTimeoutError(error) {\n    return error instanceof TimeoutError;\n  }\n\n  /**\n   * Checks if the given status code or AjaxError object represents an\n   * \"abort\" error\n   *\n   * @method isAbortError\n   * @public\n   * @param  {AjaxError} error\n   * @return {Boolean}\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  /**\n   * Checks if the given status code or AjaxError object represents a\n   * conflict error\n   *\n   * @method isConflictError\n   * @public\n   * @param  {Number | AjaxError} error\n   * @return {Boolean}\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  /**\n   * Checks if the given status code or AjaxError object represents a server error\n   *\n   * @method isServerError\n   * @public\n   * @param  {Number | AjaxError} error\n   * @return {Boolean}\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  /**\n   * Checks if the given status code represents a successful request\n   *\n   * @method isSuccess\n   * @public\n   * @param  {Number} status\n   * @return {Boolean}\n   */\n\n  function isSuccess(status) {\n    var s = parseInt(status, 10);\n    return s >= 200 && s < 300 || s === 304;\n  }\n});","define('ember-ajax/index', ['exports', 'ember-ajax/request'], function (exports, _emberAjaxRequest) {\n  'use strict';\n\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberAjaxRequest['default'];\n    }\n  });\n});","define('ember-ajax/mixins/ajax-request', ['exports', 'ember', 'ember-ajax/errors', 'ember-ajax/utils/parse-response-headers', 'ember-ajax/utils/get-header', 'ember-ajax/utils/url-helpers', 'ember-ajax/utils/ajax'], function (exports, _ember, _emberAjaxErrors, _emberAjaxUtilsParseResponseHeaders, _emberAjaxUtilsGetHeader, _emberAjaxUtilsUrlHelpers, _emberAjaxUtilsAjax) {\n  'use strict';\n\n  var $ = _ember['default'].$;\n  var A = _ember['default'].A;\n  var EmberError = _ember['default'].Error;\n  var Logger = _ember['default'].Logger;\n  var Mixin = _ember['default'].Mixin;\n  var Promise = _ember['default'].RSVP.Promise;\n  var Test = _ember['default'].Test;\n  var get = _ember['default'].get;\n  var isArray = _ember['default'].isArray;\n  var isEmpty = _ember['default'].isEmpty;\n  var isNone = _ember['default'].isNone;\n  var merge = _ember['default'].merge;\n  var run = _ember['default'].run;\n  var runInDebug = _ember['default'].runInDebug;\n  var testing = _ember['default'].testing;\n  var warn = _ember['default'].warn;\n\n  var JSONAPIContentType = /^application\\/vnd\\.api\\+json/i;\n\n  function isJSONAPIContentType(header) {\n    if (isNone(header)) {\n      return false;\n    }\n    return !!header.match(JSONAPIContentType);\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 stripSlashes(path) {\n    // make sure path starts with `/`\n    if (startsWithSlash(path)) {\n      path = path.substring(1);\n    }\n\n    // remove end `/`\n    if (endsWithSlash(path)) {\n      path = path.slice(0, -1);\n    }\n    return path;\n  }\n\n  function isObject(object) {\n    return typeof object === 'object';\n  }\n\n  function isString(object) {\n    return typeof object === 'string';\n  }\n\n  var pendingRequestCount = 0;\n  if (testing) {\n    Test.registerWaiter(function () {\n      return pendingRequestCount === 0;\n    });\n  }\n\n  /**\n   * AjaxRequest Mixin\n   *\n   * @public\n   * @mixin\n   */\n  exports['default'] = Mixin.create({\n\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     * @default\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 {Object} headers\n     * @public\n     * @default\n     */\n    headers: {},\n\n    /**\n     * Make an AJAX request, ignoring the raw XHR object and dealing only with\n     * the response\n     *\n     * @method request\n     * @public\n     * @param {string} url The url to make a request to\n     * @param {Object} options The options for the request\n     * @return {Promise} The result of the request\n     */\n    request: function request(url, options) {\n      var _this = this;\n\n      var hash = this.options(url, options);\n      return new Promise(function (resolve, reject) {\n        _this._makeRequest(hash).then(function (_ref) {\n          var response = _ref.response;\n\n          resolve(response);\n        })['catch'](function (_ref2) {\n          var response = _ref2.response;\n\n          reject(response);\n        });\n      }, 'ember-ajax: ' + hash.type + ' ' + hash.url + ' response');\n    },\n\n    /**\n     * Make an AJAX request, returning the raw XHR object along with the response\n     *\n     * @method raw\n     * @public\n     * @param {string} url The url to make a request to\n     * @param {Object} options The options for the request\n     * @return {Promise} The result of the request\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     * @method _makeRequest\n     * @private\n     * @param {Object} hash The options for the request\n     * @param {string} hash.url The URL to make the request to\n     * @return {Promise} The result of the request\n     */\n    _makeRequest: function _makeRequest(hash) {\n      var _this2 = this;\n\n      var method = hash.method || hash.type || 'GET';\n      var requestData = { method: method, type: method, url: hash.url };\n\n      if (isJSONAPIContentType((0, _emberAjaxUtilsGetHeader['default'])(hash.headers, 'Content-Type')) && requestData.type !== 'GET') {\n        if (typeof hash.data === 'object') {\n          hash.data = JSON.stringify(hash.data);\n        }\n      }\n\n      return new Promise(function (resolve, reject) {\n        hash.success = function (payload, textStatus, jqXHR) {\n          var response = _this2.handleResponse(jqXHR.status, (0, _emberAjaxUtilsParseResponseHeaders['default'])(jqXHR.getAllResponseHeaders()), payload, requestData);\n\n          pendingRequestCount = pendingRequestCount - 1;\n\n          if ((0, _emberAjaxErrors.isAjaxError)(response)) {\n            run.join(null, reject, { payload: payload, textStatus: textStatus, jqXHR: jqXHR, response: response });\n          } else {\n            run.join(null, resolve, { payload: payload, textStatus: textStatus, jqXHR: jqXHR, response: response });\n          }\n        };\n\n        hash.error = function (jqXHR, textStatus, errorThrown) {\n          runInDebug(function () {\n            var message = 'The server returned an empty string for ' + requestData.type + ' ' + requestData.url + ', which cannot be parsed into a valid JSON. Return either null or {}.';\n            var validJSONString = !(textStatus === 'parsererror' && jqXHR.responseText === '');\n            warn(message, validJSONString, {\n              id: 'ds.adapter.returned-empty-string-as-JSON'\n            });\n          });\n\n          var payload = _this2.parseErrorResponse(jqXHR.responseText) || errorThrown;\n          var response = undefined;\n\n          if (errorThrown instanceof Error) {\n            response = errorThrown;\n          } else if (textStatus === 'timeout') {\n            response = new _emberAjaxErrors.TimeoutError();\n          } else if (textStatus === 'abort') {\n            response = new _emberAjaxErrors.AbortError();\n          } else {\n            response = _this2.handleResponse(jqXHR.status, (0, _emberAjaxUtilsParseResponseHeaders['default'])(jqXHR.getAllResponseHeaders()), payload, requestData);\n          }\n\n          pendingRequestCount = pendingRequestCount - 1;\n\n          run.join(null, reject, { payload: payload, textStatus: textStatus, jqXHR: jqXHR, errorThrown: errorThrown, response: response });\n        };\n\n        pendingRequestCount = pendingRequestCount + 1;\n\n        (0, _emberAjaxUtilsAjax['default'])(hash);\n      }, 'ember-ajax: ' + hash.type + ' ' + hash.url);\n    },\n\n    /**\n     * calls `request()` but forces `options.type` to `POST`\n     *\n     * @method post\n     * @public\n     * @param {string} url The url to make a request to\n     * @param {Object} options The options for the request\n     * @return {Promise} The result of the request\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     * @method put\n     * @public\n     * @param {string} url The url to make a request to\n     * @param {Object} options The options for the request\n     * @return {Promise} The result of the request\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     * @method patch\n     * @public\n     * @param {string} url The url to make a request to\n     * @param {Object} options The options for the request\n     * @return {Promise} The result of the request\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     * @method del\n     * @public\n     * @param {string} url The url to make a request to\n     * @param {Object} options The options for the request\n     * @return {Promise} The result of the request\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     * @method delete\n     * @public\n     * @param {string} url The url to make a request to\n     * @param {Object} options The options for the request\n     * @return {Promise} The result of the request\n     */\n    'delete': function _delete() {\n      return this.del.apply(this, arguments);\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     * @method get\n     * @public\n     */\n    get: function get(url) {\n      if (arguments.length > 1 || url.charAt(0) === '/') {\n        throw new EmberError('It seems you tried to use `.get` to make a request! Use the `.request` method instead.');\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     * @method _addTypeToOptionsFor\n     * @private\n     * @param {Object} options The original request options\n     * @param {string} method The method to enforce\n     * @return {Object} The new options, with the method set\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     * @method _getFullHeadersHash\n     * @private\n     * @param {Object} headers\n     * @return {Object}\n     */\n    _getFullHeadersHash: function _getFullHeadersHash(headers) {\n      var classHeaders = get(this, 'headers');\n      var _headers = merge({}, classHeaders);\n      return merge(_headers, headers);\n    },\n\n    /**\n     * @method options\n     * @private\n     * @param {string} url\n     * @param {Object} options\n     * @return {Object}\n     */\n    options: function options(url) {\n      var _options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n      _options = merge({}, _options);\n      _options.url = this._buildURL(url, _options);\n      _options.type = _options.type || 'GET';\n      _options.dataType = _options.dataType || 'json';\n      _options.contentType = isEmpty(_options.contentType) ? 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     * @private\n     * @param {string} url the url, or url segment, to request\n     * @param {Object} [options={}] the options for the request being made\n     * @param {string} [options.host] the host to use for this request\n     * @returns {string} the URL to make a request to\n     */\n    _buildURL: function _buildURL(url) {\n      var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n      var urlObject = new _emberAjaxUtilsUrlHelpers.RequestURL(url);\n\n      // If the URL passed is not relative, return the whole URL\n      if (urlObject.isComplete) {\n        return urlObject.href;\n      }\n\n      var host = options.host || get(this, 'host');\n      var namespace = options.namespace || get(this, 'namespace');\n      if (namespace) {\n        namespace = stripSlashes(namespace);\n      }\n\n      // If the URL has already been constructed (presumably, by Ember Data), then we should just leave it alone\n      var hasNamespaceRegex = new RegExp('^(/)?' + namespace);\n      if (hasNamespaceRegex.test(url)) {\n        return url;\n      }\n\n      var fullUrl = '';\n      // Add the host, if it exists\n      if (host) {\n        fullUrl += host;\n      }\n      // Add the namespace, if it exists\n      if (namespace) {\n        if (!endsWithSlash(fullUrl)) {\n          fullUrl += '/';\n        }\n        fullUrl += namespace;\n      }\n      // Add the URL segment, if it exists\n      if (url) {\n        if (!startsWithSlash(url)) {\n          fullUrl += '/';\n        }\n        fullUrl += url;\n      }\n\n      return fullUrl;\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     * @method handleResponse\n     * @private\n     * @param  {Number} status\n     * @param  {Object} headers\n     * @param  {Object} payload\n     * @param  {Object} requestData the original request information\n     * @return {Object | AjaxError} response\n     */\n    handleResponse: function handleResponse(status, headers, payload, requestData) {\n      payload = payload === null || payload === undefined ? {} : payload;\n      var errors = this.normalizeErrorResponse(status, headers, payload);\n\n      if (this.isSuccess(status, headers, payload)) {\n        return payload;\n      } else if (this.isUnauthorizedError(status, headers, payload)) {\n        return new _emberAjaxErrors.UnauthorizedError(errors);\n      } else if (this.isForbiddenError(status, headers, payload)) {\n        return new _emberAjaxErrors.ForbiddenError(errors);\n      } else if (this.isInvalidError(status, headers, payload)) {\n        return new _emberAjaxErrors.InvalidError(errors);\n      } else if (this.isBadRequestError(status, headers, payload)) {\n        return new _emberAjaxErrors.BadRequestError(errors);\n      } else if (this.isNotFoundError(status, headers, payload)) {\n        return new _emberAjaxErrors.NotFoundError(errors);\n      } else if (this.isAbortError(status, headers, payload)) {\n        return new _emberAjaxErrors.AbortError(errors);\n      } else if (this.isConflictError(status, headers, payload)) {\n        return new _emberAjaxErrors.ConflictError(errors);\n      } else if (this.isServerError(status, headers, payload)) {\n        return new _emberAjaxErrors.ServerError(errors);\n      }\n\n      var detailedMessage = this.generateDetailedMessage(status, headers, payload, requestData);\n      return new _emberAjaxErrors.AjaxError(errors, detailedMessage);\n    },\n\n    /**\n     * Match the host to a provided array of strings or regexes that can match to a host\n     *\n     * @method matchHosts\n     * @private\n     * @param {string} host the host you are sending too\n     * @param {RegExp | string} matcher a string or regex that you can match the host to.\n     * @returns {Boolean} if the host passed the matcher\n     */\n    _matchHosts: function _matchHosts(host, matcher) {\n      if (matcher.constructor === RegExp) {\n        return matcher.test(host);\n      } else if (typeof matcher === 'string') {\n        return matcher === host;\n      } else {\n        Logger.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     * @method _shouldSendHeaders\n     * @private\n     * @property {Object} hash request options hash\n     * @returns {Boolean} whether or not headers should be sent\n     */\n    _shouldSendHeaders: function _shouldSendHeaders(_ref3) {\n      var _this3 = this;\n\n      var url = _ref3.url;\n      var host = _ref3.host;\n\n      url = url || '';\n      host = host || get(this, 'host') || '';\n\n      var urlObject = new _emberAjaxUtilsUrlHelpers.RequestURL(url);\n      var trustedHosts = get(this, 'trustedHosts') || A();\n\n      // Add headers on relative URLs\n      if (!urlObject.isComplete) {\n        return true;\n      } else if (trustedHosts.find(function (matcher) {\n        return _this3._matchHosts(urlObject.hostname, matcher);\n      })) {\n        return true;\n      }\n\n      // Add headers on matching host\n      var hostObject = new _emberAjaxUtilsUrlHelpers.RequestURL(host);\n      return urlObject.sameHost(hostObject);\n    },\n\n    /**\n     * Generates a detailed (\"friendly\") error message, with plenty\n     * of information for debugging (good luck!)\n     *\n     * @method generateDetailedMessage\n     * @private\n     * @param  {Number} status\n     * @param  {Object} headers\n     * @param  {Object} payload\n     * @param  {Object} requestData the original request information\n     * @return {Object} request information\n     */\n    generateDetailedMessage: function generateDetailedMessage(status, headers, payload, requestData) {\n      var shortenedPayload = undefined;\n      var payloadContentType = (0, _emberAjaxUtilsGetHeader['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 = requestData.type + ' ' + requestData.url;\n      var payloadDescription = 'Payload (' + payloadContentType + ')';\n\n      return ['Ember AJAX Request ' + requestDescription + ' returned a ' + 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     * @method isUnauthorizedError\n     * @private\n     * @param {Number} status\n     * @param {Object} headers\n     * @param {Object} payload\n     * @return {Boolean}\n     */\n    isUnauthorizedError: function isUnauthorizedError(status) {\n      return (0, _emberAjaxErrors.isUnauthorizedError)(status);\n    },\n\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is a forbidden error.\n     *\n     * @method isForbiddenError\n     * @private\n     * @param {Number} status\n     * @param {Object} headers\n     * @param {Object} payload\n     * @return {Boolean}\n     */\n    isForbiddenError: function isForbiddenError(status) {\n      return (0, _emberAjaxErrors.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     * @method isInvalidError\n     * @private\n     * @param {Number} status\n     * @param {Object} headers\n     * @param {Object} payload\n     * @return {Boolean}\n     */\n    isInvalidError: function isInvalidError(status) {\n      return (0, _emberAjaxErrors.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     * @method isBadRequestError\n     * @private\n     * @param {Number} status\n     * @param {Object} headers\n     * @param {Object} payload\n     * @return {Boolean}\n     */\n    isBadRequestError: function isBadRequestError(status) {\n      return (0, _emberAjaxErrors.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     * @method isNotFoundError\n     * @private\n     * @param {Number} status\n     * @param {Object} headers\n     * @param {Object} payload\n     * @return {Boolean}\n     */\n    isNotFoundError: function isNotFoundError(status) {\n      return (0, _emberAjaxErrors.isNotFoundError)(status);\n    },\n\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is an \"abort\" error.\n     *\n     * @method isAbortError\n     * @private\n     * @param {Number} status\n     * @param {Object} headers\n     * @param {Object} payload\n     * @return {Boolean}\n     */\n    isAbortError: function isAbortError(status) {\n      return (0, _emberAjaxErrors.isAbortError)(status);\n    },\n\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is a \"conflict\" error.\n     *\n     * @method isConflictError\n     * @private\n     * @param {Number} status\n     * @param {Object} headers\n     * @param {Object} payload\n     * @return {Boolean}\n     */\n    isConflictError: function isConflictError(status) {\n      return (0, _emberAjaxErrors.isConflictError)(status);\n    },\n\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is a server error.\n     *\n     * @method isServerError\n     * @private\n     * @param {Number} status\n     * @param {Object} headers\n     * @param {Object} payload\n     * @return {Boolean}\n     */\n    isServerError: function isServerError(status) {\n      return (0, _emberAjaxErrors.isServerError)(status);\n    },\n\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is a success.\n     *\n     * @method isSuccess\n     * @private\n     * @param {Number} status\n     * @param {Object} headers\n     * @param {Object} payload\n     * @return {Boolean}\n     */\n    isSuccess: function isSuccess(status) {\n      return (0, _emberAjaxErrors.isSuccess)(status);\n    },\n\n    /**\n     * @method parseErrorResponse\n     * @private\n     * @param {string} responseText\n     * @return {Object}\n     */\n    parseErrorResponse: function parseErrorResponse(responseText) {\n      try {\n        return JSON.parse(responseText);\n      } catch (e) {\n        return responseText;\n      }\n    },\n\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     * @method normalizeErrorResponse\n     * @private\n     * @param  {Number} status\n     * @param  {Object} headers\n     * @param  {Object} payload\n     * @return {Array} An array of JSON API-formatted error objects\n     */\n    normalizeErrorResponse: function normalizeErrorResponse(status, headers, payload) {\n      if (isArray(payload.errors)) {\n        return payload.errors.map(function (error) {\n          if (isObject(error)) {\n            var ret = merge({}, error);\n            ret.status = '' + error.status;\n            return ret;\n          } else {\n            return {\n              status: '' + status,\n              title: error\n            };\n          }\n        });\n      } else if (isArray(payload)) {\n        return payload.map(function (error) {\n          if (isObject(error)) {\n            return {\n              status: '' + status,\n              title: error.title || 'The backend responded with an error',\n              detail: error\n            };\n          } else {\n            return {\n              status: '' + status,\n              title: '' + error\n            };\n          }\n        });\n      } else {\n        if (isString(payload)) {\n          return [{\n            status: '' + status,\n            title: payload\n          }];\n        } else {\n          return [{\n            status: '' + status,\n            title: payload.title || 'The backend responded with an error',\n            detail: payload\n          }];\n        }\n      }\n    }\n  });\n});","define('ember-ajax/mixins/ajax-support', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  var Mixin = _ember['default'].Mixin;\n  var service = _ember['default'].inject.service;\n  var alias = _ember['default'].computed.alias;\n\n  exports['default'] = Mixin.create({\n\n    /**\n     * The AJAX service to send requests through\n     *\n     * @property {AjaxService} ajaxService\n     * @public\n     */\n    ajaxService: service('ajax'),\n\n    /**\n     * @property {string} host\n     * @public\n     */\n    host: alias('ajaxService.host'),\n\n    /**\n     * @property {string} namespace\n     * @public\n     */\n    namespace: alias('ajaxService.namespace'),\n\n    /**\n     * @property {object} headers\n     * @public\n     */\n    headers: alias('ajaxService.headers'),\n\n    ajax: function ajax(url, type) {\n      var options = arguments.length <= 2 || arguments[2] === undefined ? {} : arguments[2];\n\n      var augmentedOptions = this.ajaxOptions.apply(this, arguments);\n\n      return this.get('ajaxService').request(url, augmentedOptions);\n    }\n  });\n});","define('ember-ajax/raw', ['exports', 'ember-ajax/ajax-request'], function (exports, _emberAjaxAjaxRequest) {\n  'use strict';\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() {\n    var ajax = new _emberAjaxAjaxRequest['default']();\n    return ajax.raw.apply(ajax, arguments);\n  }\n});","define('ember-ajax/request', ['exports', 'ember-ajax/ajax-request'], function (exports, _emberAjaxAjaxRequest) {\n  'use strict';\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   * Note: Unlike `ic-ajax`'s `request` helper function, this will *not* return a\n   * jqXHR object in the error handler.  If you need jqXHR, you can use the `raw`\n   * function instead.\n   *\n   * @public\n   */\n  function request() {\n    var ajax = new _emberAjaxAjaxRequest['default']();\n    return ajax.request.apply(ajax, arguments);\n  }\n});","define('ember-ajax/services/ajax', ['exports', 'ember', 'ember-ajax/mixins/ajax-request'], function (exports, _ember, _emberAjaxMixinsAjaxRequest) {\n  'use strict';\n\n  var Service = _ember['default'].Service;\n\n  exports['default'] = Service.extend(_emberAjaxMixinsAjaxRequest['default']);\n});","define('ember-ajax/utils/ajax', ['exports', 'ember', 'ember-ajax/utils/is-fastboot'], function (exports, _ember, _emberAjaxUtilsIsFastboot) {\n  /* global najax */\n  'use strict';\n\n  var $ = _ember['default'].$;\n\n  exports['default'] = _emberAjaxUtilsIsFastboot['default'] ? najax : $.ajax;\n});","define('ember-ajax/utils/get-header', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  exports['default'] = getHeader;\n\n  var A = _ember['default'].A;\n  var isNone = _ember['default'].isNone;\n\n  /**\n   * Do a case-insensitive lookup of an HTTP header\n   *\n   * @function getHeader\n   * @private\n   * @param {Object} headers\n   * @param {string} name\n   * @return {string}\n   */\n  function getHeader(headers, name) {\n    if (isNone(headers) || isNone(name)) {\n      return; // ask for nothing, get nothing.\n    }\n\n    var matchedKey = A(Object.keys(headers)).find(function (key) {\n      return key.toLowerCase() === name.toLowerCase();\n    });\n\n    return headers[matchedKey];\n  }\n});","define('ember-ajax/utils/is-fastboot', ['exports'], function (exports) {\n  /* global FastBoot */\n  'use strict';\n\n  var isFastBoot = typeof FastBoot !== 'undefined';\n  exports['default'] = isFastBoot;\n});","define('ember-ajax/utils/parse-response-headers', ['exports'], function (exports) {\n  'use strict';\n\n  exports['default'] = parseResponseHeaders;\n\n  function _toArray(arr) {\n    return Array.isArray(arr) ? arr : Array.from(arr);\n  }\n\n  var CLRF = '\\r\\n';\n  function parseResponseHeaders(headersString) {\n    var headers = {};\n\n    if (!headersString) {\n      return headers;\n    }\n\n    var headerPairs = headersString.split(CLRF);\n\n    headerPairs.forEach(function (header) {\n      var _header$split = header.split(':');\n\n      var _header$split2 = _toArray(_header$split);\n\n      var field = _header$split2[0];\n\n      var value = _header$split2.slice(1);\n\n      field = field.trim();\n      value = value.join(':').trim();\n\n      if (value) {\n        headers[field] = value;\n      }\n    });\n\n    return headers;\n  }\n});","define('ember-ajax/utils/url-helpers', ['exports', 'ember-ajax/utils/is-fastboot'], function (exports, _emberAjaxUtilsIsFastboot) {\n  'use strict';\n\n  var _createClass = (function () {\n    function defineProperties(target, props) {\n      for (var i = 0; i < props.length; i++) {\n        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    }return function (Constructor, protoProps, staticProps) {\n      if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n    };\n  })();\n\n  function _classCallCheck(instance, Constructor) {\n    if (!(instance instanceof Constructor)) {\n      throw new TypeError('Cannot call a class as a function');\n    }\n  }\n\n  /* global require, module, URL */\n\n  var completeUrlRegex = /^(http|https)/;\n\n  /*\n   * Isomorphic URL parsing\n   * Borrowed from\n   * http://www.sitepoint.com/url-parsing-isomorphic-javascript/\n   */\n  var isNode = typeof module === 'object' && module.exports;\n  var url = getUrlModule();\n\n  /**\n   * Get the node url module or an anchor element\n   *\n   * @function getUrlModule\n   * @private\n   * @return {Object|HTMLAnchorElement} Object to parse urls\n   */\n  function getUrlModule() {\n    if (_emberAjaxUtilsIsFastboot['default']) {\n      // ember-fastboot-server provides the node url module as URL global\n      return URL;\n    }\n\n    if (isNode) {\n      return require('url');\n    }\n\n    return document.createElement('a');\n  }\n\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   * @param {string} str The string to parse\n   * @return {Object} URL structure\n   */\n  function parseUrl(str) {\n    var fullObject = undefined;\n    if (isNode || _emberAjaxUtilsIsFastboot['default']) {\n      fullObject = url.parse(str);\n    } else {\n      url.href = str;\n      fullObject = url;\n    }\n    var desiredProps = {};\n    desiredProps.href = fullObject.href;\n    desiredProps.protocol = fullObject.protocol;\n    desiredProps.hostname = fullObject.hostname;\n    desiredProps.port = fullObject.port;\n    desiredProps.pathname = fullObject.pathname;\n    desiredProps.search = fullObject.search;\n    desiredProps.hash = fullObject.hash;\n    return desiredProps;\n  }\n\n  /**\n   * RequestURL\n   *\n   * Converts a URL string into an object for easy comparison to other URLs\n   *\n   * @public\n   */\n\n  var RequestURL = (function () {\n    function RequestURL(url) {\n      _classCallCheck(this, RequestURL);\n\n      this.url = url;\n    }\n\n    _createClass(RequestURL, [{\n      key: 'sameHost',\n      value: function sameHost(other) {\n        var _this = this;\n\n        return ['protocol', 'hostname', 'port'].reduce(function (previous, prop) {\n          return previous && _this[prop] === other[prop];\n        }, true);\n      }\n    }, {\n      key: 'url',\n      get: function get() {\n        return this._url;\n      },\n      set: function set(value) {\n        this._url = value;\n\n        var explodedUrl = parseUrl(value);\n        for (var prop in explodedUrl) {\n          if (({}).hasOwnProperty.call(explodedUrl, prop)) {\n            this[prop] = explodedUrl[prop];\n          }\n        }\n\n        return this._url;\n      }\n    }, {\n      key: 'isComplete',\n      get: function get() {\n        return this.url.match(completeUrlRegex);\n      }\n    }]);\n\n    return RequestURL;\n  })();\n\n  exports.RequestURL = RequestURL;\n});","define('ember-auto-focus/components/auto-focus', ['exports', 'ember-component', 'ember-runloop'], function (exports, _emberComponent, _emberRunloop) {\n  'use strict';\n\n  var AutoFocusComponent = _emberComponent['default'].extend({\n    tagName: 'span',\n\n    didInsertElement: function didInsertElement() {\n      this._super.apply(this, arguments);\n      (0, _emberRunloop.scheduleOnce)('afterRender', this, '_autofocus');\n    },\n\n    _autofocus: function _autofocus() {\n      if (this.getAttr('disabled')) {\n        return false;\n      }\n      var selector = this.getAttr('selector') || '>:first';\n      this.$(selector).focus();\n    }\n  });\n\n  AutoFocusComponent.reopenClass({\n    positionalParams: ['selector']\n  });\n\n  exports['default'] = AutoFocusComponent;\n});","define('ember-cli-active-link-wrapper/components/active-link', ['exports', 'ember', 'ember-cli-active-link-wrapper/mixins/active-link'], function (exports, _ember, _emberCliActiveLinkWrapperMixinsActiveLink) {\n  'use strict';\n\n  exports['default'] = _ember['default'].Component.extend(_emberCliActiveLinkWrapperMixinsActiveLink['default'], {\n    tagName: 'li'\n  });\n});","define('ember-cli-active-link-wrapper/mixins/active-link', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  // these are not currently editable in Ember\n  var transitioningInClass = 'ember-transitioning-in';\n  var transitioningOutClass = 'ember-transitioning-out';\n\n  exports['default'] = _ember['default'].Mixin.create({\n\n    classNameBindings: ['_active', '_disabled', '_transitioningIn', '_transitioningOut'],\n    linkSelector: 'a.ember-view',\n\n    init: function init() {\n      this._super.apply(this, arguments);\n\n      this.set('childLinkViews', _ember['default'].A([]));\n    },\n\n    buildChildLinkViews: _ember['default'].on('didInsertElement', function () {\n      _ember['default'].run.scheduleOnce('afterRender', this, function () {\n        var childLinkSelector = this.get('linkSelector');\n        var childLinkElements = this.$(childLinkSelector);\n        var viewRegistry = _ember['default'].getOwner(this).lookup('-view-registry:main');\n\n        var childLinkViews = childLinkElements.toArray().map(function (view) {\n          return viewRegistry[view.id];\n        });\n\n        this.set('childLinkViews', _ember['default'].A(childLinkViews));\n      });\n    }),\n\n    _transitioningIn: _ember['default'].computed('childLinkViews.@each.transitioningIn', function () {\n      if (this.get('childLinkViews').isAny('transitioningIn')) {\n        return transitioningInClass;\n      }\n    }),\n\n    _transitioningOut: _ember['default'].computed('childLinkViews.@each.transitioningOut', function () {\n      if (this.get('childLinkViews').isAny('transitioningOut')) {\n        return transitioningOutClass;\n      }\n    }),\n\n    hasActiveLinks: _ember['default'].computed('childLinkViews.@each.active', function () {\n      return this.get('childLinkViews').isAny('active');\n    }),\n\n    activeClass: _ember['default'].computed('childLinkViews.@each.active', function () {\n      var activeLink = this.get('childLinkViews').findBy('active');\n      return activeLink ? activeLink.get('active') : 'active';\n    }),\n\n    _active: _ember['default'].computed('hasActiveLinks', 'activeClass', function () {\n      return this.get('hasActiveLinks') ? this.get('activeClass') : false;\n    }),\n\n    allLinksDisabled: _ember['default'].computed('childLinkViews.@each.disabled', function () {\n      return !_ember['default'].isEmpty(this.get('childLinkViews')) && this.get('childLinkViews').isEvery('disabled');\n    }),\n\n    disabledClass: _ember['default'].computed('childLinkViews.@each.disabled', function () {\n      var disabledLink = this.get('childLinkViews').findBy('disabled');\n      return disabledLink ? disabledLink.get('disabled') : 'disabled';\n    }),\n\n    _disabled: _ember['default'].computed('allLinksDisabled', 'disabledClass', function () {\n      return this.get('allLinksDisabled') ? this.get('disabledClass') : false;\n    })\n\n  });\n});","define(\"ember-cli-app-version/initializer-factory\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  exports[\"default\"] = initializerFactory;\n  var classify = Ember.String.classify,\n      libraries = Ember.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  \"use strict\";\n\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-icheck/components/i-check', ['exports', 'ember'], function (exports, _ember) {\n\t'use strict';\n\n\texports['default'] = _ember['default'].Checkbox.extend({\n\n\t\t_icheck: null, // iCheck instance\n\n\t\tsetup: (function () {\n\t\t\tvar that = this;\n\n\t\t\t_ember['default'].assert(\"iCheck has to exist on Ember.$.fn.iCheck\", _ember['default'].$.fn.iCheck);\n\n\t\t\tvar icheck = this.$().iCheck({\n\t\t\t\tcheckboxClass: 'icheckbox_square-blue',\n\t\t\t\tradioClass: 'iradio_square-blue',\n\t\t\t\tincreaseArea: '20%'\n\t\t\t});\n\n\t\t\ticheck.on('ifToggled', function (ev) {\n\t\t\t\tthat.set('checked', ev.target.checked);\n\t\t\t});\n\n\t\t\tthis.set('_icheck', icheck);\n\t\t}).on('didInsertElement'),\n\n\t\t_checkedChanged: (function () {\n\t\t\tvar checked = this.get('checked') ? 'check' : 'uncheck';\n\t\t\tthis.get('_icheck').iCheck(checked);\n\t\t}).observes('checked'),\n\n\t\tteardown: (function () {\n\n\t\t\tif (this._icheck) {\n\t\t\t\tthis.$().iCheck('destroy');\n\t\t\t}\n\n\t\t\tthis.removeObserver('checked', this._checkedChanged);\n\t\t}).on('willDestroyElement')\n\t});\n});","define('ember-cli-knob/components/ember-knob', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  exports['default'] = _ember['default'].Component.extend({\n    tagName: 'input',\n\n    initKnob: (function () {\n      var _this = this;\n      _this.opts = {\n        fgColor: _this.get('fgColor'),\n        bgColor: _this.get('bgColor'),\n        inputColor: _this.get('inputColor'),\n        font: _this.get('font'),\n        fontWeight: _this.get('fontWeight'),\n        min: Number(_this.get('min')),\n        max: Number(_this.get('max')),\n        step: Number(_this.get('step')),\n        width: _this.get('width'),\n        cursor: _this.get('cursor'),\n        displayInput: _this.get('displayInput') === \"true\",\n        displayPrevious: _this.get('displayPrevious') === \"true\",\n        thickness: _this.get('thickness'),\n        angleOffset: _this.get('angleOffset'),\n        lineCap: _this.get('lineCap'),\n        angleArc: _this.get('angleArc'),\n        stopper: _this.get('stopper '),\n        readOnly: _this.get('readOnly'),\n        rotation: _this.get('rotation'),\n        change: function change(v) {\n          _this.set('value', v);\n        }\n\n      };\n\n      _this.cleanOpts();\n\n      _this.$().knob(_this.opts);\n\n      _this.setInitedValue();\n    }).on('didInsertElement'),\n\n    cleanOpts: function cleanOpts() {\n      var _this = this;\n      var keys = Object.keys(_this.opts);\n\n      keys.forEach(function (item) {\n        if (_this.get(item) === undefined) {\n          delete _this.opts[item];\n        }\n      });\n    },\n\n    setInitedValue: function setInitedValue() {\n      if (this.get('value')) {\n        this.$().val(this.get('value')).trigger('change');\n      }\n    },\n\n    valueChanged: (function () {\n      this.$().val(this.get('value')).trigger('change');\n      this.sendAction('change');\n    }).observes('value'),\n\n    teardownKnob: (function () {}).on('willDestroyElement')\n\n  });\n});","define('ember-cli-select-picker/mixins/item-cursor', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  exports['default'] = _ember['default'].Mixin.create({\n    activeCursor: null,\n    previousActiveIndex: 0,\n\n    updateActiveItem: _ember['default'].observer('activeCursor', 'contentList.length', function () {\n      var previousActiveIndex = this.get('previousActiveIndex');\n      var activeIndex = this.get('activeIndex');\n      if (_ember['default'].typeOf(activeIndex) !== 'number') {\n        return;\n      }\n      this.set('contentList.' + previousActiveIndex + '.active', false);\n      this.set('contentList.' + activeIndex + '.active', true);\n      this.set('previousActiveIndex', activeIndex);\n    }),\n\n    activeIndex: _ember['default'].computed('activeCursor', 'contentList.length', function () {\n      var cursor = this.get('activeCursor');\n      if (_ember['default'].isNone(cursor)) {\n        return null;\n      }\n      var len = this.get('contentList.length');\n      return (cursor % len + len) % len;\n    }),\n\n    activeItem: _ember['default'].computed('activeIndex', 'contentList.[]', function () {\n      return this.get('contentList').objectAt(this.get('activeIndex'));\n    }),\n\n    actions: {\n      activeNext: function activeNext() {\n        if (_ember['default'].isNone(this.get('activeCursor'))) {\n          this.set('activeCursor', 0);\n        } else {\n          this.incrementProperty('activeCursor');\n        }\n      },\n\n      activePrev: function activePrev() {\n        if (_ember['default'].isNone(this.get('activeCursor'))) {\n          this.set('activeCursor', -1);\n        } else {\n          this.decrementProperty('activeCursor');\n        }\n      },\n\n      selectActiveItem: function selectActiveItem() {\n        var item = this.get('activeItem');\n        if (_ember['default'].isPresent(item)) {\n          this.send('selectItem', item);\n        }\n      }\n    }\n  });\n});","define('ember-cli-select-picker/mixins/select-picker', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  // Ember Addons need to be coded as if Ember.EXTEND_PROTOTYPES = false\n  // Because of this we need to make our own proxy functions to apply as one offs\n  // to native arrays.\n  var emberArrayFunc = function emberArrayFunc(method) {\n    return function (ctx) {\n      var props = _ember['default'].Enumerable.mixins[0].properties;\n      _ember['default'].assert('Ember.Enumerable has no method ' + method, _ember['default'].typeOf(props[method]) === 'function');\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      var result = props[method].apply(_ember['default'].A(ctx), args);\n      if (_ember['default'].typeOf(result) === 'array') {\n        return _ember['default'].A(result);\n      } else {\n        return result;\n      }\n    };\n  };\n  var _contains = emberArrayFunc('contains');\n  var _mapBy = emberArrayFunc('mapBy');\n  var _filterBy = emberArrayFunc('filterBy');\n  var _findBy = emberArrayFunc('findBy');\n  var _uniq = emberArrayFunc('uniq');\n  var _compact = emberArrayFunc('compact');\n\n  var selectOneOf = function selectOneOf(someSelected, allSelected, noneSelected) {\n    return _ember['default'].computed('hasSelectedItems', 'allItemsSelected', function () {\n      if (this.get('allItemsSelected')) {\n        return allSelected.call(this);\n      } else if (this.get('hasSelectedItems')) {\n        return someSelected.call(this);\n      } else {\n        return noneSelected.call(this);\n      }\n    });\n  };\n\n  var selectOneOfValue = function selectOneOfValue(someSelectedValue, allSelectedValue, noneSelectedValue) {\n    return selectOneOf(function () {\n      return someSelectedValue;\n    }, function () {\n      return allSelectedValue;\n    }, function () {\n      return noneSelectedValue;\n    });\n  };\n\n  var selectOneOfProperty = function selectOneOfProperty(someSelectedKey, allSelectedKey, noneSelectedKey) {\n    return selectOneOf(function () {\n      return this.get(someSelectedKey);\n    }, function () {\n      return this.get(allSelectedKey);\n    }, function () {\n      return this.get(noneSelectedKey);\n    });\n  };\n\n  var isAdvancedSearch = function isAdvancedSearch(liveSearch) {\n    return _ember['default'].typeOf(liveSearch) === 'string' && liveSearch.toLowerCase() === 'advanced';\n  };\n\n  exports['default'] = _ember['default'].Mixin.create({\n    liveSearch: false,\n    showDropdown: false,\n    promptMessage: 'Please select an option',\n    prompt: _ember['default'].computed.bool('promptMessage'),\n\n    showNativePrompt: _ember['default'].computed('multiple', 'prompt', function () {\n      return !this.get('multiple') && _ember['default'].isPresent(this.get('prompt'));\n    }),\n\n    menuButtonId: _ember['default'].computed('elementId', function () {\n      return this.get('elementId') + '-dropdown-menu';\n    }),\n\n    selectionAsArray: function selectionAsArray() {\n      return _ember['default'].makeArray(this.get('selection'));\n    },\n\n    contentList: _ember['default'].computed('selection.[]', 'content.[]', 'optionGroupPath', 'optionLabelPath', 'optionValuePath', 'searchFilter', function () {\n      // Ember.Select does not include the content prefix for optionGroupPath\n      var groupPath = this.get('optionGroupPath');\n      // Ember.Select expects optionLabelPath and optionValuePath to have a\n      // `content.` prefix\n      var labelPath = this.contentPathName('optionLabelPath');\n      var valuePath = this.contentPathName('optionValuePath');\n      // selection is either an object or an array of object depending on the\n      // value of the multiple property. Ember.Select maintains the value\n      // property.\n      var selection = this.selectionAsArray().map(function (item) {\n        return _ember['default'].get(item, valuePath);\n      });\n      var searchMatcher = this.makeSearchMatcher();\n\n      var result = _compact(_ember['default'].makeArray(this.get('content')).map(function (item, index) {\n        var label = _ember['default'].get(item, labelPath);\n        var value = _ember['default'].get(item, valuePath);\n        var group = groupPath ? _ember['default'].get(item, groupPath) : null;\n        if (searchMatcher(group) || searchMatcher(label)) {\n          return _ember['default'].Object.create({\n            item: item,\n            itemId: index,\n            group: group,\n            label: label,\n            value: value,\n            selected: _contains(selection, value)\n          });\n        } else {\n          return null;\n        }\n      }));\n\n      if (_ember['default'].isPresent(result)) {\n        result.set('firstObject.first', true);\n      }\n\n      return result;\n    }),\n\n    nestedGroupContentList: _ember['default'].computed('contentList.[].group', function () {\n      var contentList = this.get('contentList');\n      var groups = _uniq(_mapBy(contentList, 'group'));\n      var results = _ember['default'].A();\n      groups.forEach(function (group) {\n        results.pushObject(_ember['default'].Object.create({\n          name: group,\n          items: _filterBy(contentList, 'group', group)\n        }));\n      });\n      return results;\n    }),\n\n    contentPathName: function contentPathName(pathName) {\n      return this.getWithDefault(pathName, '').substr(8);\n    },\n\n    getByContentPath: function getByContentPath(obj, pathName) {\n      return _ember['default'].get(obj, this.contentPathName(pathName));\n    },\n\n    selectedContentList: _ember['default'].computed.filterBy('contentList', 'selected'),\n    unselectedContentList: _ember['default'].computed.setDiff('contentList', 'selectedContentList'),\n    hasSelectedItems: _ember['default'].computed.gt('selection.length', 0),\n    allItemsSelected: _ember['default'].computed('selection.length', 'content.length', function () {\n      return _ember['default'].isEqual(this.get('selection.length'), this.get('content.length'));\n    }),\n\n    glyphiconClass: selectOneOfValue('glyphicon-minus', 'glyphicon-ok', ''),\n    selectAllNoneLabel: selectOneOfProperty('selectNoneLabel', 'selectNoneLabel', 'selectAllLabel'),\n\n    makeSearchMatcher: function makeSearchMatcher() {\n      var searchFilter = this.get('searchFilter');\n      // item can be null, string, or SafeString.\n      // SafeString does not have toLowerCase() so use toString() to\n      // normalize it.\n      if (_ember['default'].isEmpty(searchFilter)) {\n        return function () {\n          return true; // Show all\n        };\n      } else if (isAdvancedSearch(this.get('liveSearch'))) {\n          searchFilter = new RegExp(searchFilter.split('').join('.*'), 'i');\n          return function (item) {\n            if (_ember['default'].isNone(item)) {\n              return false;\n            } else {\n              return searchFilter.test(item.toString());\n            }\n          };\n        } else {\n          searchFilter = searchFilter.toLowerCase();\n          return function (item) {\n            if (_ember['default'].isNone(item)) {\n              return false;\n            } else {\n              return item.toString().toLowerCase().indexOf(searchFilter) >= 0;\n            }\n          };\n        }\n    },\n\n    selectionLabels: _ember['default'].computed.mapBy('selectedContentList', 'label'),\n\n    selectionSummary: _ember['default'].computed('selectionLabels.[]', 'nothingSelectedMessage', 'multipleSelectedMessage', 'summaryMessage', 'summaryMessageKey', function () {\n      var selection = this.get('selectionLabels');\n      var count = selection.get('length');\n      var messageKey = this.get('summaryMessageKey');\n      var message = this.get('summaryMessage');\n      if (_ember['default'].I18n && _ember['default'].isPresent(messageKey)) {\n        // TODO: Allow an enablePrompt=\"false\" feature\n        if (count === 0) {\n          return this.get('nothingSelectedMessage');\n        }\n        var item = selection.get('firstObject');\n        var translation = _ember['default'].I18n.t(messageKey, {\n          count: count,\n          item: item,\n          list: selection.join(', ')\n        });\n        // I18n is returning a string that's been escaped, we don't want the\n        // string to get escaped again.\n        return _ember['default'].String.htmlSafe(translation);\n      } else if (_ember['default'].isPresent(message)) {\n        return message;\n      } else {\n        switch (count) {\n          case 0:\n            return this.get('nothingSelectedMessage');\n          case 1:\n            return selection.get('firstObject');\n          default:\n            return _ember['default'].String.fmt(this.get('multipleSelectedMessage'), count, selection.get('firstObject'), selection.join(', '));\n        }\n      }\n    }),\n\n    clearSearchDisabled: _ember['default'].computed.empty('searchFilter'),\n\n    toggleSelection: function toggleSelection(value) {\n      var selection = _ember['default'].A(this.get('selection'));\n      if (_contains(selection, value)) {\n        selection.removeObject(value);\n      } else {\n        selection.pushObject(value);\n      }\n      this.set('selection', selection);\n    },\n\n    selectAnItem: function selectAnItem(selected) {\n      if (!this.get('disabled')) {\n        if (this.get('multiple')) {\n          this.set('keepDropdownOpen', true);\n          this.toggleSelection(selected.get('item'));\n        } else {\n          this.setProperties({\n            // TODO: value will be removed in the future\n            value: selected.get('value'),\n            selection: selected.get('item')\n          });\n        }\n      }\n    },\n\n    sendChangeAction: function sendChangeAction() {\n      var changeAction = _ember['default'].get(this, 'attrs.action');\n      if (changeAction) {\n        changeAction(this.get('selection'));\n      }\n    },\n\n    actions: {\n      selectItem: function selectItem(selected) {\n        if (this.get('disabled')) {\n          return true;\n        }\n        this.selectAnItem(selected);\n        this.sendChangeAction();\n        return false;\n      },\n\n      selectAllNone: function selectAllNone(listName) {\n        if (this.get('disabled')) {\n          return true;\n        }\n        this.get(listName).forEach(_ember['default'].run.bind(this, this.selectAnItem));\n        this.sendChangeAction();\n        return false;\n      },\n\n      selectByValue: function selectByValue() {\n        if (this.get('disabled')) {\n          return true;\n        }\n        var hasPrompt = _ember['default'].isPresent(this.get('prompt'));\n        var contentList = this.get('contentList');\n        var selectedValues = _ember['default'].makeArray(this.$('select').val());\n        if (this.get('multiple')) {\n          this.set('selection', contentList.filter(function (item) {\n            return selectedValues.indexOf(item.get('value')) !== -1;\n          }));\n        } else if (hasPrompt && _ember['default'].isEmpty(selectedValues[0])) {\n          this.setProperties({ value: null, selection: null });\n        } else {\n          this.send('selectItem', _findBy(contentList, 'value', selectedValues[0]));\n        }\n        this.sendChangeAction();\n      },\n\n      toggleSelectAllNone: function toggleSelectAllNone() {\n        var listName;\n        if (this.get('hasSelectedItems')) {\n          listName = 'selectedContentList';\n        } else {\n          listName = 'unselectedContentList';\n        }\n        this.send('selectAllNone', listName);\n        return false;\n      },\n\n      clearFilter: function clearFilter() {\n        this.set('searchFilter', null);\n        return false;\n      }\n    }\n  });\n});","define('ember-cli-spinjs/components/ember-spinner', ['exports', 'ember'], function (exports, _ember) {\n  /* global Spinner, require */\n\n  'use strict';\n\n  exports['default'] = _ember['default'].Component.extend({\n    classNames: 'spinner-display',\n    color: \"#333\",\n    corners: 1,\n    direction: 1,\n    fps: 20,\n    left: '50%',\n    length: 7,\n    lines: 12,\n    opacity: 1 / 4,\n    radius: 10,\n    rotate: 0,\n    scale: 1.0,\n    shadow: false,\n    speed: 1,\n    top: '50%',\n    trail: 100,\n    width: 5,\n    zIndex: 2000000000,\n    spinner: null,\n    configArgs: {},\n\n    lookupUpConfig: _ember['default'].on('willInsertElement', function () {\n      var opts = {\n        color: this.get('color'),\n        corners: this.get('corners'),\n        direction: this.get('direction'),\n        fps: this.get('fps'),\n        hwaccel: true,\n        left: this.get('left'),\n        length: this.get('length'),\n        lines: this.get('lines'),\n        opacity: this.get('opacity'),\n        radius: this.get('radius'),\n        rotate: this.get('rotate'),\n        scale: this.get('scale'),\n        shadow: this.get('shadow'),\n        speed: this.get('speed'),\n        top: this.get('top'),\n        trail: this.get('trail'),\n        width: this.get('width')\n      };\n\n      var configArgs;\n\n      if (this.get('config')) {\n        var configFile = this.emberSpinnerPrefixConfig.modulePrefix + '/config/ember-spinner/' + this.get('config');\n\n        configArgs = require(configFile)['default'];\n      }\n\n      this.spinnerArgs = _ember['default'].$.extend(opts, configArgs);\n    }),\n\n    didInsertElement: function didInsertElement() {\n      this.spinner = new Spinner(this.spinnerArgs).spin(this.$()[0]);\n    },\n\n    willRemoveElement: function willRemoveElement() {\n      this.spinner.stop();\n    }\n\n  });\n});","define('ember-cookies/services/cookies', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  var _slicedToArray = (function () {\n    function sliceIterator(arr, i) {\n      var _arr = [];var _n = true;var _d = false;var _e = undefined;try {\n        for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n          _arr.push(_s.value);if (i && _arr.length === i) break;\n        }\n      } catch (err) {\n        _d = true;_e = err;\n      } finally {\n        try {\n          if (!_n && _i['return']) _i['return']();\n        } finally {\n          if (_d) throw _e;\n        }\n      }return _arr;\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 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\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, _emberCpValidationsValidatorsBase, _emberValidators) {\n  \"use strict\";\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\"] = _emberCpValidationsValidatorsBase[\"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-cp-validations/validations/error', 'ember-cp-validations/utils/utils'], function (exports, _emberCpValidationsValidationsError, _emberCpValidationsUtilsUtils) {\n  'use strict';\n\n  var get = Ember.get,\n      set = Ember.set,\n      isNone = Ember.isNone,\n      computed = Ember.computed,\n      canInvoke = Ember.canInvoke,\n      makeArray = Ember.makeArray,\n      defineProperty = Ember.defineProperty;\n  var and = computed.and,\n      not = computed.not,\n      readOnly = computed.readOnly;\n\n  exports['default'] = Ember.Object.extend({\n    model: null,\n    isValid: true,\n    isValidating: false,\n    message: null,\n    warningMessage: 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    isWarning: readOnly('_validator.isWarning'),\n    isInvalid: not('isValid'),\n    isNotValidating: not('isValidating'),\n    isTruelyValid: and('isNotValidating', 'isValid'),\n    isTruelyInvalid: and('isNotValidating', 'isInvalid'),\n\n    isAsync: computed('_promise', function () {\n      return (0, _emberCpValidationsUtilsUtils.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, _emberCpValidationsUtilsUtils.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          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 _emberCpValidationsValidationsError['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    warningMessages: computed('warningMessage', function () {\n      return makeArray(get(this, 'warningMessage'));\n    }),\n\n    warning: computed('isWarning', 'type', 'warningMessage', 'attribute', function () {\n      if (get(this, 'isWarning') && !isNone(get(this, 'warningMessage'))) {\n        return _emberCpValidationsValidationsError['default'].create({\n          type: get(this, '_type'),\n          message: get(this, 'warningMessage'),\n          attribute: get(this, 'attribute')\n        });\n      }\n\n      return null;\n    }),\n\n    warnings: computed('warning', function () {\n      return makeArray(get(this, 'warning'));\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-cp-validations/utils/utils'], function (exports, _emberCpValidationsUtilsUtils) {\n  'use strict';\n\n  var get = Ember.get,\n      set = Ember.set,\n      defineProperty = Ember.defineProperty;\n\n  var Options = Ember.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, _emberCpValidationsUtilsUtils.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.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-cp-validations/validations/result-collection\", \"ember-cp-validations/validations/warning-result-collection\", \"ember-cp-validations/-private/internal-result-object\"], function (exports, _emberCpValidationsValidationsResultCollection, _emberCpValidationsValidationsWarningResultCollection, _emberCpValidationsPrivateInternalResultObject) {\n  \"use strict\";\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 _defineProperty(obj, key, value) {\n    if (key in obj) {\n      Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });\n    } else {\n      obj[key] = value;\n    }return obj;\n  }\n\n  var get = Ember.get,\n      set = Ember.set,\n      isNone = Ember.isNone,\n      isArray = Ember.isArray,\n      computed = Ember.computed,\n      setProperties = Ember.setProperties,\n      getProperties = Ember.getProperties;\n  var readOnly = computed.readOnly;\n\n  /**\n   * __PRIVATE__\n   *\n   * @module Validations\n   * @class Result\n   * @private\n   */\n\n  var Result = Ember.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 _result 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('_result', function () {\n      var validations = get(this, '_result');\n      return validations instanceof _emberCpValidationsValidationsResultCollection[\"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('_result.isValid'),\n\n    /**\n     * @property isInvalid\n     * @readOnly\n     * @type {Boolean}\n     */\n    isInvalid: readOnly('_result.isInvalid'),\n\n    /**\n     * @property isValidating\n     * @readOnly\n     * @type {Boolean}\n     */\n    isValidating: readOnly('_result.isValidating'),\n\n    /**\n     * @property isTruelyValid\n     * @readOnly\n     * @type {Boolean}\n     */\n    isTruelyValid: readOnly('_result.isTruelyValid'),\n\n    /**\n     * @property isTruelyInvalid\n     * @readOnly\n     * @type {Boolean}\n     */\n    isTruelyInvalid: readOnly('_result.isTruelyInvalid'),\n\n    /**\n     * @property isAsync\n     * @readOnly\n     * @type {Boolean}\n     */\n    isAsync: readOnly('_result.isAsync'),\n\n    /**\n     * @property isDirty\n     * @readOnly\n     * @type {Boolean}\n     */\n    isDirty: readOnly('_result.isDirty'),\n\n    /**\n     * @property message\n     * @readOnly\n     * @type {String}\n     */\n    message: readOnly('_result.message'),\n\n    /**\n     * @property messages\n     * @readOnly\n     * @type {Array}\n     */\n    messages: readOnly('_result.messages'),\n\n    /**\n     * @property error\n     * @readOnly\n     * @type {Object}\n     */\n    error: readOnly('_result.error'),\n\n    /**\n     * @property errors\n     * @readOnly\n     * @type {Array}\n     */\n    errors: readOnly('_result.errors'),\n\n    /**\n     * @property warningMessage\n     * @readOnly\n     * @type {String}\n     */\n    warningMessage: readOnly('_result.warningMessage'),\n\n    /**\n     * @property warningMessages\n     * @readOnly\n     * @type {Array}\n     */\n    warningMessages: readOnly('_result.warningMessages'),\n\n    /**\n     * @property warning\n     * @readOnly\n     * @type {Object}\n     */\n    warning: readOnly('_result.warning'),\n\n    /**\n     * @property warnings\n     * @readOnly\n     * @type {Array}\n     */\n    warnings: readOnly('_result.warnings'),\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 _result\n     * @private\n     * @type {Result}\n     */\n    _result: computed('model', 'attribute', '_promise', '_validator', function () {\n      return _emberCpValidationsPrivateInternalResultObject[\"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\n    /**\n     * Update the current validation result object with the given value\n     * - If value is undefined or null, set isValid to false\n     * - If value is a validations object from a different model/object, set the _result object to the one given (belongs-to)\n     * - If value is a collection of result objects, create a Validation Result Collection and set that to the _result object (has-many)\n     * - If value is a string, set the message to the given string and set isValid to false\n     * - If value is a boolean, set isValid to result\n     * - If value is a pojo, update _result object with the information given\n     *\n     * @method update\n     * @private\n     * @param value\n     */\n    update: function update(value) {\n      var result = get(this, '_result');\n      var attribute = get(this, 'attribute');\n      var isWarning = get(this, 'isWarning');\n      var Collection = isWarning ? _emberCpValidationsValidationsWarningResultCollection[\"default\"] : _emberCpValidationsValidationsResultCollection[\"default\"];\n\n      if (isNone(value)) {\n        return this.update(false);\n      } else if (get(value, 'isValidations')) {\n        set(this, '_result', Collection.create({ attribute: attribute, content: [value] }));\n      } else if (isArray(value)) {\n        set(this, '_result', Collection.create({ attribute: attribute, content: value }));\n      } else if (!get(this, '_isReadOnly')) {\n        if (typeof value === 'string') {\n          var _setProperties;\n\n          setProperties(get(this, '_result'), (_setProperties = {}, _defineProperty(_setProperties, isWarning ? 'warningMessage' : 'message', value), _defineProperty(_setProperties, 'isValid', isWarning ? true : false), _setProperties));\n        } else if (typeof value === 'boolean') {\n          set(result, 'isValid', value);\n        } else if ((typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object') {\n          setProperties(result, value);\n        }\n      }\n    },\n\n    /**\n     * Promise handler\n     * @method _handlePromise\n     * @private\n     */\n    _handlePromise: function _handlePromise() {\n      var _this = this;\n\n      get(this, '_promise').then(function (value) {\n        return _this.update(value);\n      }, function (value) {\n        return _this.update(value);\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, _emberCpValidationsValidationsFactory, _emberCpValidationsValidationsValidator) {\n  /**\n   * Copyright 2016, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  'use strict';\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. As of 3.x, all dependent keys must be prefixed with `model`.\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: ['model.foo', 'model.bar']\n   *       })\n   *      ]\n   *    },\n   *   lastName: validator('presence', true)\n   * }, {\n   *   description: 'This field'\n   *   dependentKeys: ['model.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   * `['model.i18n.locale', 'model.foo', 'model.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  var buildValidations = _emberCpValidationsValidationsFactory['default'];\n  exports.buildValidations = buildValidations;\n  var validator = _emberCpValidationsValidationsValidator['default'];\n\n  exports.validator = validator;\n  exports['default'] = {\n    buildValidations: buildValidations,\n    validator: validator\n  };\n});","define('ember-cp-validations/utils/array', ['exports'], function (exports) {\n  'use strict';\n\n  exports.callable = callable;\n  exports.flatten = flatten;\n  var emberArray = Ember.A;\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  exports.uniq = uniq;\n  var compact = callable('compact');\n\n  exports.compact = compact;\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/assign', ['exports'], function (exports) {\n  'use strict';\n\n  exports['default'] = assign;\n  var get = Ember.get,\n      set = Ember.set,\n      isNone = Ember.isNone,\n      defineProperty = Ember.defineProperty;\n\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.Object.create() : {});\n      }\n      currObj = get(currObj, key);\n    }\n\n    if (value instanceof Ember.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, _emberCpValidationsUtilsMetaData) {\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\n  'use strict';\n\n  exports['default'] = cycleBreaker;\n\n  function cycleBreaker(fn, value) {\n    var key = _emberCpValidationsUtilsMetaData['default'].symbol('cycle');\n\n    return function () {\n      if (_emberCpValidationsUtilsMetaData['default'].getData(this, key)) {\n        return value;\n      }\n      _emberCpValidationsUtilsMetaData['default'].setData(this, key, true);\n      try {\n        return fn.apply(this, arguments);\n      } finally {\n        _emberCpValidationsUtilsMetaData['default'].setData(this, key, false);\n      }\n    };\n  }\n});","define('ember-cp-validations/utils/meta-data', ['exports'], function (exports) {\n  'use strict';\n\n  var id = 0;\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.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.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  /**\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  \"use strict\";\n\n  exports[\"default\"] = shouldCallSuper;\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-require-module\"], function (exports, _emberRequireModule) {\n  \"use strict\";\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  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.get,\n      typeOf = Ember.typeOf,\n      isArray = Ember.isArray,\n      canInvoke = Ember.canInvoke,\n      emberArray = Ember.A;\n  var isHTMLSafe = Ember.String.isHTMLSafe;\n\n  var assign = Ember.assign || Ember.merge;\n\n  function unwrapString(s) {\n    if (isHTMLSafe(s)) {\n      return s.toString();\n    }\n\n    return s;\n  }\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.ObjectProxy || o instanceof Ember.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.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\"], function (exports) {\n\n  /**\n   * @module Validations\n   * @class Error\n   */\n\n  \"use strict\";\n\n  exports[\"default\"] = Ember.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-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/array\", \"ember-cp-validations/utils/utils\"], function (exports, _emberCpValidationsUtilsAssign, _emberCpValidationsPrivateResult, _emberCpValidationsValidationsResultCollection, _emberCpValidationsValidatorsBase, _emberCpValidationsUtilsCycleBreaker, _emberCpValidationsUtilsShouldCallSuper, _emberCpValidationsUtilsArray, _emberCpValidationsUtilsUtils) {\n  \"use strict\";\n\n  exports[\"default\"] = buildValidations;\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 _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      }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, { value: value, enumerable: true, configurable: true, writable: true });\n    } else {\n      obj[key] = value;\n    }return obj;\n  }\n\n  var get = Ember.get,\n      set = Ember.set,\n      run = Ember.run,\n      RSVP = Ember.RSVP,\n      isNone = Ember.isNone,\n      guidFor = Ember.guidFor,\n      isEmpty = Ember.isEmpty,\n      isArray = Ember.isArray,\n      computed = Ember.computed,\n      getOwner = Ember.getOwner,\n      makeArray = Ember.makeArray,\n      getWithDefault = Ember.getWithDefault,\n      emberArray = Ember.A;\n\n  var merge = Ember.assign || Ember.merge;\n\n  var Promise = RSVP.Promise;\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\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    return Ember.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        validationMixinCount = (get(this, '__validationsMixinCount__') || 0) + 1;\n        set(this, '__validationsMixinCount__', validationMixinCount);\n      },\n\n      __validationsClass__: computed(function () {\n        if (!Validations) {\n          var inheritedClass = void 0;\n\n          if ((0, _emberCpValidationsUtilsShouldCallSuper[\"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\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, _emberCpValidationsUtilsAssign[\"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.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.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, _emberCpValidationsUtilsCycleBreaker[\"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 _emberCpValidationsValidationsResultCollection[\"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, _emberCpValidationsUtilsUtils.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, _emberCpValidationsUtilsUtils.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 = ['isValid', 'isValidating', 'isDirty', 'isAsync', 'isNotValidating', 'isInvalid', 'isTruelyValid', 'isTruelyInvalid', 'hasWarnings', '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.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 _emberCpValidationsValidationsResultCollection[\"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' ? _emberCpValidationsValidatorsBase[\"default\"] : lookupValidator(owner, type)[\"class\"];\n      var baseDependents = _emberCpValidationsValidatorsBase[\"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, _emberCpValidationsUtilsArray.flatten)(dependentKeys);\n\n    dependentKeys.push('model.' + attribute);\n\n    if ((0, _emberCpValidationsUtilsUtils.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, _emberCpValidationsUtilsUtils.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, _emberCpValidationsUtilsUtils.isPromise)(value)) {\n      result = _emberCpValidationsPrivateResult[\"default\"].create(commonProps, {\n        _promise: Promise.resolve(value)\n      });\n    } else {\n      result = _emberCpValidationsPrivateResult[\"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, _emberCpValidationsUtilsAssign[\"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 = _emberCpValidationsValidatorsBase[\"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, _emberCpValidationsUtilsAssign[\"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 = _emberCpValidationsValidationsResultCollection[\"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 = _emberCpValidationsValidationsResultCollection[\"default\"].create({\n      attribute: attribute,\n      content: (0, _emberCpValidationsUtilsArray.flatten)(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-cp-validations/utils/cycle-breaker', 'ember-cp-validations/utils/array'], function (exports, _emberCpValidationsUtilsCycleBreaker, _emberCpValidationsUtilsArray) {\n  'use strict';\n\n  var get = Ember.get,\n      set = Ember.set,\n      RSVP = Ember.RSVP,\n      computed = Ember.computed,\n      isArray = Ember.isArray,\n      isNone = Ember.isNone,\n      emberArray = Ember.A;\n\n  /*\n    CP Macros\n   */\n\n  function isAny(collection, key, value, defaultValue) {\n    return computed(collection + '.@each.' + key, (0, _emberCpValidationsUtilsCycleBreaker['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, _emberCpValidationsUtilsCycleBreaker['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.ArrayProxy.extend({\n    init: function init() {\n      set(this, 'content', emberArray((0, _emberCpValidationsUtilsArray.compact)(get(this, 'content'))));\n      this._super.apply(this, arguments);\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.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('content', '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('content', 'isTruelyValid', true, true).readOnly(),\n\n    /**\n     * Will be true only if isValid is `false` and isValidating is `false`\n     *\n     * ```javascript\n     * // Examples\n     * get(user, 'validations.isTruelyInvalid')\n     * get(user, 'validations.attrs.username.isTruelyInvalid')\n     * ```\n     *\n     * @property isTruelyInvalid\n     * @default false\n     * @readOnly\n     * @type {Boolean}\n     */\n    isTruelyInvalid: isAny('content', 'isTruelyInvalid', true, false).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('content', '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('content.@each.messages', (0, _emberCpValidationsUtilsCycleBreaker['default'])(function () {\n      return (0, _emberCpValidationsUtilsArray.uniq)((0, _emberCpValidationsUtilsArray.compact)((0, _emberCpValidationsUtilsArray.flatten)(this.getEach('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     * Will be `true` if there are warnings in the collection.\n     *\n     * ```javascript\n     * // Example\n     * get(user, 'validations.hasWarnings')\n     * get(user, 'validations.attrs.username.hasWarnings')\n     * ```\n     *\n     * @property hasWarnings\n     * @readOnly\n     * @type {String}\n     */\n    hasWarnings: computed.notEmpty('warningMessages').readOnly(),\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('content.@each.warningMessages', (0, _emberCpValidationsUtilsCycleBreaker['default'])(function () {\n      return (0, _emberCpValidationsUtilsArray.uniq)((0, _emberCpValidationsUtilsArray.compact)((0, _emberCpValidationsUtilsArray.flatten)(this.getEach('warningMessages'))));\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', 'content.@each.warnings', (0, _emberCpValidationsUtilsCycleBreaker['default'])(function () {\n      return this._computeErrorCollection(this.getEach('warnings'));\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', 'content.@each.errors', (0, _emberCpValidationsUtilsCycleBreaker['default'])(function () {\n      return this._computeErrorCollection(this.getEach('errors'));\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 this._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', '_contentResults.@each._promise', (0, _emberCpValidationsUtilsCycleBreaker['default'])(function () {\n      return RSVP.allSettled((0, _emberCpValidationsUtilsArray.compact)((0, _emberCpValidationsUtilsArray.flatten)([this.get('_contentResults').getEach('_promise'), this.getEach('_promise')])));\n    })).readOnly(),\n\n    /**\n    * @property _contentResults\n    * @type {Array}\n    * @private\n    */\n    _contentResults: computed('content.@each._result', function () {\n      return emberArray((0, _emberCpValidationsUtilsArray.compact)(this.getEach('_result')));\n    }).readOnly(),\n\n    /**\n     * @property _contentValidators\n     * @type {Array}\n     * @private\n     */\n    _contentValidators: computed.mapBy('content', '_validator').readOnly(),\n\n    _computeErrorCollection: function _computeErrorCollection() {\n      var collection = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n\n      var attribute = get(this, 'attribute');\n      var errors = (0, _emberCpValidationsUtilsArray.uniq)((0, _emberCpValidationsUtilsArray.compact)((0, _emberCpValidationsUtilsArray.flatten)(collection)));\n\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    _groupValidatorOptions: 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  });\n});","define('ember-cp-validations/validations/validator', ['exports'], function (exports) {\n  'use strict';\n\n  var isNone = Ember.isNone;\n\n  /**\n   * @module Validators\n   * @main Validators\n   */\n\n  /**\n   * ### description\n   *\n   * Default: __'This field'__\n   *\n   * A descriptor for your attribute used in the error message strings.\n   * You can overwrite this value in your `validators/messages.js` file by changing the `defaultDescription` property.\n   *\n   * ```javascript\n   * // Examples\n   * validator('date', {\n   *   description: 'Date of birth'\n   * })\n   * // If validation is run and the attribute is empty, the error returned will be:\n   * // 'Date of birth can't be blank'\n   * ```\n   *\n   * ### lazy\n   *\n   * Default: __true__\n   *\n   * Only validate the given validator if the attribute is not already in an invalid\n   * state. When you have multiple validators on an attribute, it will only validate subsequent\n   * validators if the preceding validators have passed. When set to __false__, the validator\n   * will always be executed, even if its preceding validators are invalid.\n   *\n   * ```javascript\n   * // Examples\n   * buildValidations({\n   *  username: [\n   *    validator('presence', true),\n   *    validator('length', { min: 5 }),\n   *    validator('custom-promise-based-validator') // Will only be executed if the above two have passed\n   *  ]\n   * });\n   *\n   * validator('custom-validator-that-must-executed', {\n   *   lazy: false\n   * })\n   * ```\n   *\n   * ### dependentKeys\n   *\n   * A list of other model specific dependents for you validator.\n   *\n   * ```javascript\n   * // Examples\n   * validator('has-friends', {\n   *   dependentKeys: ['model.friends.[]']\n   * })\n   * validator('has-valid-friends', {\n   *   dependentKeys: ['model.friends.@each.username']\n   * })\n   * validator('x-validator', {\n   *   dependentKeys: ['model.username', 'model.email', 'model.meta.foo.bar']\n   * })\n   * ```\n   *\n   * ### disabled\n   *\n   * Default: __false__\n   *\n   * If set to __true__, disables the given validator.\n   *\n   * ```js\n   * // Examples\n   * validator('presence', {\n   *   presence: true,\n   *   disabled: true\n   * })\n   * validator('presence', {\n   *   presence: true,\n   *   disabled: computed.not('model.shouldValidate')\n   * })\n   * ```\n   *\n   * ### debounce\n   *\n   * Default: __0__\n   *\n   * Debounces the validation with the given time in `milliseconds`. All debounced validations will\n   * be handled asynchronously (wrapped in a promise).\n   *\n   * ```javascript\n   * // Examples\n   * validator('length', {\n   *   debounce: 500\n   * })\n   * validator('x-validator', {\n   *   debounce: 250\n   * })\n   * ```\n   *\n   * ### isWarning\n   *\n   * Default: __false__\n   *\n   * Any validator can be declared as a warning validator by setting `isWarning` to true. These validators will act as\n   * assertions that when return a message, will be placed under `warnings` and `warningMessages` collections. What this means,\n   * is that these validators will not have any affect on the valid state of the attribute allowing you to display warning messages\n   * even when the attribute is valid.\n   *\n   * ```javascript\n   * // Examples\n   * validator('length', {\n   *   isWarning: true,\n   *   min: 6,\n   *   message: 'Password is weak'\n   * })\n   * ```\n   *\n   * ### volatile\n   *\n   * Default: __false__\n   *\n   * If any validator sets the volatile option to **true** (including options, default options, and global options),\n   * it will place the entire attribute's CP in a volatile state. This means that it will set it into non-cached mode.\n   * When in this mode the computed property will not automatically cache the return value.\n   *\n   * Dependency keys have no effect on volatile properties as they are for cache invalidation and notification when\n   * cached value is invalidated. Any changes to the dependents will not refire validations.\n   *\n   * __**WARNING: This option should only be used if you know what you're doing**__\n   *\n   * ```javascript\n   * // Examples\n   * validator('length', {\n   *   volatile: true\n   * })\n   * ```\n   *\n   * ### value\n   *\n   * Used to retrieve the value to validate. This will overwrite the validator's default `value` method.\n   * By default this returns `model[attribute]`. If you are dependent on other model attributes, you will\n   * need to add them as `dependentKeys`.\n   *\n   * ```javascript\n   * // Examples\n   * validator('date', {\n   *   value(model, attribute) {\n   *   \t// Format the original value before passing it into the validator\n   *   \treturn moment().utc(model.get(attribute)).format('DD/MM/YYY');\n   *   }\n   * })\n   * validator('number', {\n   *   dependentKeys: ['someOtherAttr'],\n   *   value(model, attribute) {\n   *    // Validate a value that is not the current attribute\n   *    return this.get('model').get('someOtherAttr');\n   *   }\n   * })\n   * ```\n   *\n   * ### message\n   *\n   * This option can take two forms. It can either be a `string` (a CP that returns a string is also valid), or a `function`.\n   * If a string is used, then it will overwrite all error message types for the specified validator.\n   *\n   * ```javascript\n   * // Example: String\n   * validator('confirmation', {\n   *   message: 'Email does not match {attribute}. What are you even thinking?!'\n   * })\n   * ```\n   *\n   * We can pass a `function` into our message option for even more customization capabilities.\n   *\n   * ```javascript\n   * // Example: Function\n   * validator('date', {\n   *   message(type, options, value, context) {\n   *     if (type === 'before') {\n   *       return '{description} should really be before {date}';\n   *     }\n   *     if (type === 'after') {\n   *       return '{description} should really be after {date}';\n   *     }\n   *   }\n   * })\n   * ```\n   * The message function is given the following arguments:\n   *\n   * - `type` (**String**): The error message type\n   * - `options` (**Object**): The validator options that were defined in the model\n   * - `value`: The current value being evaluated\n   * - `context` (**Object**): Context for string replacement\n   *\n   * The return value must be a `string`. If nothing is returned (`undefined`),\n   * defaults to the default error message of the specified type.\n   *\n   * Within this function, the context is set to that of the current validator.\n   * This gives you access to the model, defaultMessages, options and more.\n   *\n   *\n   * @module Validators\n   * @submodule Common Options\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});","define('ember-cp-validations/validations/warning-result-collection', ['exports', 'ember-cp-validations/validations/result-collection', 'ember-cp-validations/utils/cycle-breaker', 'ember-cp-validations/utils/array'], function (exports, _emberCpValidationsValidationsResultCollection, _emberCpValidationsUtilsCycleBreaker, _emberCpValidationsUtilsArray) {\n  'use strict';\n\n  var computed = Ember.computed;\n\n  exports['default'] = _emberCpValidationsValidationsResultCollection['default'].extend({\n    isValid: computed(function () {\n      return true;\n    }).readOnly(),\n    isTruelyValid: computed.not('isValidating').readOnly(),\n\n    messages: computed(function () {\n      return [];\n    }).readOnly(),\n    errors: computed(function () {\n      return [];\n    }).readOnly(),\n\n    warningMessages: computed('content.@each.{messages,warningMessages}', (0, _emberCpValidationsUtilsCycleBreaker['default'])(function () {\n      return (0, _emberCpValidationsUtilsArray.uniq)((0, _emberCpValidationsUtilsArray.compact)((0, _emberCpValidationsUtilsArray.flatten)([this.getEach('messages'), this.getEach('warningMessages')])));\n    })).readOnly(),\n\n    warnings: computed('attribute', 'content.@each.{errors,warnings}', (0, _emberCpValidationsUtilsCycleBreaker['default'])(function () {\n      return this._computeErrorCollection((0, _emberCpValidationsUtilsArray.flatten)([this.getEach('errors'), this.getEach('warnings')]));\n    })).readOnly()\n  });\n});","define('ember-cp-validations/validators/alias', ['exports', 'ember-cp-validations/validators/base'], function (exports, _emberCpValidationsValidatorsBase) {\n  'use strict';\n\n  var get = Ember.get,\n      assert = Ember.assert,\n      isPresent = Ember.isPresent,\n      getProperties = Ember.getProperties;\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\n  var Alias = _emberCpValidationsValidatorsBase['default'].extend({\n    /**\n     * Normalized options passed in.\n     * ```js\n     * validator('alias', 'attribute')\n     * // Becomes\n     * validator('alias', {\n     *   alias: 'attribute'\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 === 'string') {\n        opts = {\n          alias: options\n        };\n      }\n      return this._super(opts, defaultOptions, globalOptions);\n    },\n\n    /**\n     * @method validate\n     * @param {Any} value\n     * @param {Object} options\n     * @param {String} options.alias The attribute to alias\n     * @param {Boolean} options.firstMessageOnly If true, only returns the first error message of the\n     *                                           aliased attribute and will not include validation state\n     * @param {Object} model\n     * @param {String} attribute\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-cp-validations/validators/messages', 'ember-cp-validations/-private/options', 'ember-cp-validations/utils/utils'], function (exports, _emberCpValidationsValidatorsMessages, _emberCpValidationsPrivateOptions, _emberCpValidationsUtilsUtils) {\n  'use strict';\n\n  var get = Ember.get,\n      set = Ember.set,\n      isNone = Ember.isNone,\n      computed = Ember.computed,\n      getOwner = Ember.getOwner;\n\n  /**\n   * @class Base\n   * @module Validators\n   */\n\n  var Base = Ember.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 || _emberCpValidationsValidatorsMessages['default'];\n\n      set(this, 'options', this.buildOptions(options || {}, defaultOptions || {}, globalOptions || {}));\n      set(this, 'errorMessages', errorMessages.create());\n    },\n\n    /**\n     * Build options hook. Merges default options into options object.\n     * This method gets called on init and is the ideal place to normalize your options.\n     * The [presence validator](https://github.com/offirgolan/ember-cp-validations/blob/master/app/validators/presence.js) is a good example to checkout\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 builtOptions = (0, _emberCpValidationsUtilsUtils.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 _emberCpValidationsPrivateOptions['default'].create({\n        model: get(this, 'model'),\n        attribute: get(this, 'attribute'),\n        __options__: builtOptions\n      });\n    },\n\n    /**\n     * Used to retrieve the value to validate.\n     * This method gets called right before `validate` and the returned value\n     * gets passed into the validate method.\n     *\n     * @method value\n     * @param {Object} model\n     * @param {String} attribute\n     * @return The current value of `model[attribute]`\n     */\n    value: function value(model, attribute) {\n      return get(model, attribute);\n    },\n\n    /**\n     * Wrapper method to `value` that passes the necessary parameters\n     *\n     * @method getValue\n     * @private\n     * @return {Mixed} value\n     */\n    getValue: function getValue() {\n      var value = this.value(get(this, 'model'), get(this, 'attribute'));\n      return (0, _emberCpValidationsUtilsUtils.getValidatableValue)(value);\n    },\n\n    /**\n     * The validate method is where all of your logic should go.\n     * It will get passed in the current value of the attribute this validator is attached to.\n     * Within the validator object, you will have access to the following properties:\n     * @method validate\n     * @param  {Mixed} value        The current value of the attribute\n     * @param  {Object} options       The built and processed options\n     * @param  {Object} model         The current model being evaluated\n     * @param  {String} attribute     The current attribute being evaluated\n     * @return\n     * One of the following types:\n     * - `Boolean`:  `true` if the current value passed the validation\n     * - `String`: The error message\n     * - `Promise`: A promise that will either resolve or reject, and will finally return either `true` or the final error message string.\n     */\n    validate: function validate() {\n      return true;\n    },\n\n    /**\n     * Used by all pre-defined validators to build an error message that is present\n     * in `validators/message` or declared in your i18n solution.\n     *\n     * If we extended our default messages to include `uniqueUsername: '{username} already exists'`,\n     * we can use this method to generate our error message.\n     *\n     * ```javascript\n     * validate(value, options) {\n     *   var exists = false;\n     *\n     *   get(options, 'description') = 'Username';\n     *   get(options, 'username') = value;\n     *\n     *   // check with server if username exists...\n     *\n     *   if(exists) {\n     *     return this.createErrorMessage('uniqueUsername', value, options);\n     *   }\n     *\n     *   return true;\n     * }\n     * ```\n     *\n     * If we input `johndoe` and that username already exists, the returned message would be `'johndoe already exists'`.\n     *\n     * @method createErrorMessage\n     * @param  {String} type        The type of message template to use\n     * @param  {Mixed} value                Current value being evaluated\n     * @param  {Object} options     Validator built and processed options (used as the message string context)\n     * @return {String}             The generated message\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, _emberCpValidationsUtilsUtils.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    /**\n     * Generate the needed depenent keys for this validator\n     *\n     * @method getDependentsFor\n     * @static\n     * @param  {String} attribute\n     * @param  {Object} options\n     * @return {Array} dependent keys\n     */\n    getDependentsFor: function getDependentsFor() {\n      return [];\n    }\n  });\n\n  exports['default'] = Base;\n\n  /**\n   * Creating custom validators is very simple. To generate a validator named `unique-username` in Ember CLI\n   *\n   * ```bash\n   * ember generate validator unique-username\n   * ```\n   *\n   * This will create the following files\n   *\n   * * `app/validators/unique-username.js`\n   * * `tests/unit/validators/unique-username-test.js`\n   *\n   * ```javascript\n   * // app/validators/unique-username.js\n   *\n   * import BaseValidator from 'ember-cp-validations/validators/base';\n   *\n   * const UniqueUsername = BaseValidator.extend({\n   *   validate(value, options, model, attribute) {\n   *     return true;\n   *   }\n   * });\n   *\n   * UniqueUsername.reopenClass({\n   *   getDependentsFor(attribute, options) {\n   *     return [];\n   *   }\n   * });\n   *\n   * export default UniqueUsername;\n   * ```\n   *\n   * **Side Note**: Before we continue, I would suggest checking out the documentation for the {{#crossLink 'Base'}}Base Validator{{/crossLink}}.\n   *\n   * If you want to interact with the `store` within your validator, you can simply inject the service like you would a component.\n   * Since you have access to your model and the current value, you should be able to send the server the right information to determine if this username is unique.\n   *\n   * ```javascript\n   * // app/validators/unique-username.js\n   *\n   * import Ember from 'ember';\n   * import BaseValidator from 'ember-cp-validations/validators/base';\n   *\n   * const UniqueUsername = BaseValidator.extend({\n   *   store: Ember.inject.service(),\n   *\n   *   validate(value, options, model, attribute) {\n   *     return this.get('store').findRecord('user', value).then((user) => {\n   *       if(user && user.id === value) {\n   *         let message = `The username '${value}' already exists.`;\n   *         let meta = user.get('meta');\n   *\n   *         if(get(options, 'showSuggestions') && meta && meta.suggestions) {\n   *           message += \"What about one of the these: \" + meta.suggestions.join(', ');\n   *         }\n   *         return message;\n   *       } else {\n   *         return true;\n   *       }\n   *     })\n   *   }\n   * });\n   * ```\n   *\n   * ## Dependent Keys\n   *\n   * There will be times when your validator will be dependent on some other property or object. Instead of having to\n   * include them in your option's `dependentKeys`, you can declare them in the static `getDependentsFor` hook. This hook\n   * receives two parameters. The first is the `attribute` that this validator is being added to, and the second are the `options`\n   * there were passed to this validator.\n   *\n   * From the above code sample:\n   *\n   * ```javascript\n   * // app/validators/unique-username.js\n   *\n   * import BaseValidator from 'ember-cp-validations/validators/base';\n   *\n   * const UniqueUsername = BaseValidator.extend({});\n   *\n   * UniqueUsername.reopenClass({\n   *   getDependentsFor(attribute, options) {\n   *     return [];\n   *   }\n   * });\n   *\n   * export default UniqueUsername;\n   * ```\n   *\n   * All dependent keys are in reference to the model's `validations.attrs` object. So when you return `['username']`,\n   * it will add a dependent to `model.validations.attrs.username`. If you want to add a dependent on the model, your\n   * key needs to be prefixed with `model`. So when you return `['model.username']`, it will add a dependent to `model.username` instead of `model.validations.attrs.username`.\n   * This means that if you have a dependent on a service, that service must be injected into the model since returning `['model.myService.someProperty']`\n   * will be interpreted as `model.myService.someProperty`.\n   *\n   * ## Usage\n   *\n   * To use our unique-username validator we just have to add it to the model definition\n   *\n   * ```javascript\n   * var Validations = buildValidations({\n   *   username: validator('unique-username', {\n   *     showSuggestions: true\n   *   }),\n   * });\n   *\n   * export default DS.Model.extend(Validations, {\n   *   'username': DS.attr('string'),\n   * });\n   * ```\n   *\n   * ## Testing\n   * As mentioned before, the generator created a unit test for your new custom validator.\n   *\n   * ```javascript\n   * // tests/unit/validators/unique-username-test.js\n   *\n   * import Ember from 'ember';\n   * import { moduleFor, test } from 'ember-qunit';\n   *\n   * moduleFor('validator:unique-username', 'Unit | Validator | unique-username', {\n   *     needs: ['validator:messages']\n   * });\n   *\n   * test('it works', function(assert) {\n   *     var validator =  this.subject();\n   *     assert.ok(validator);\n   * });\n   * ```\n   *\n   * A simple test for our validation method can be as such\n   *\n   * ```javascript\n   * test('username is unique', function(assert) {\n   *     assert.expect(1);\n   *\n   *     let validator =  this.subject();\n   *     let done = assert.async();\n   *\n   *     validator.validate('johndoe42').then((message) => {\n   *       assert.equal(message, true);\n   *       done();\n   *     });\n   * });\n   * ```\n   *  @class Custom\n   *  @module Validators\n   *  @extends Base\n   */\n\n  /**\n   * A validator can also be declared with an inline function. The function will be then wrapped in the {{#crossLink 'Base'}}Base Validator{{/crossLink}} class and used just like any other pre-defined validator.\n   *\n   * ```javascript\n   * // Example\n   * validator(function(value, options, model, attribute) {\n   *   return value === get(options, 'username') ? true : `must be ${get(options, 'username')}`;\n   * } , {\n   *   username: 'John' // Any options can be passed here\n   * })\n   * ```\n   *\n   * @class Inline\n   * @module Validators\n   * @extends Base\n   */\n});","define('ember-cp-validations/validators/belongs-to', ['exports', 'ember-cp-validations/validators/base', 'ember-cp-validations/utils/utils'], function (exports, _emberCpValidationsValidatorsBase, _emberCpValidationsUtilsUtils) {\n  'use strict';\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      }return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  var get = Ember.get;\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\n  var BelongsTo = _emberCpValidationsValidatorsBase['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, _emberCpValidationsUtilsUtils.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-cp-validations/-private/ember-validator'], function (exports, _emberCpValidationsPrivateEmberValidator) {\n  'use strict';\n\n  var get = Ember.get;\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\n  var Collection = _emberCpValidationsPrivateEmberValidator['default'].extend({\n    _evType: 'collection',\n\n    /**\n     * Normalized options passed in.\n     * ```js\n     * validator('collection', true)\n     * // Becomes\n     * validator('collection', {\n     *   collection: 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          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-cp-validations/-private/ember-validator'], function (exports, _emberCpValidationsPrivateEmberValidator) {\n  'use strict';\n\n  var get = Ember.get,\n      assert = Ember.assert;\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\n  var Confirmation = _emberCpValidationsPrivateEmberValidator['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, _emberCpValidationsPrivateEmberValidator) {\n  /**\n   * Copyright 2016, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  'use strict';\n\n  /**\n   *  <i class=\"fa fa-hand-o-right\" aria-hidden=\"true\"></i> [See All Options](#method_validate)\n   *\n   *  Validate over a date range. Uses [MomentJS](http://momentjs.com/) for date mathematics and calculations.\n   *\n   *  **Note**: MomentJS must be installed to be able to use this validator. The easiest way to do this is to install [ember-moment](https://github.com/stefanpenner/ember-moment)\n   *\n   * ## Examples\n   *\n   * If `before`, `onOrBefore`, `after`, or `onOrAfter` is set to **now**, the value given to the validator will be tested against the current date and time.\n   *\n   *  ```javascript\n   *  validator('date', {\n   *    after: 'now',\n   *    before: '1/1/2020',\n   *    precision: 'day',\n   *    format: 'M/D/YYY',\n   *    errorFormat: 'M/D/YYY'\n   *  })\n   *  ```\n   *\n   *  @class Date\n   *  @module Validators\n   *  @extends Base\n   */\n  exports['default'] = _emberCpValidationsPrivateEmberValidator['default'].extend({\n    _evType: 'date'\n  });\n});","define('ember-cp-validations/validators/dependent', ['exports', 'ember-cp-validations/validators/base'], function (exports, _emberCpValidationsValidatorsBase) {\n  'use strict';\n\n  var A = Ember.A,\n      get = Ember.get,\n      getWithDefault = Ember.getWithDefault,\n      getProperties = Ember.getProperties,\n      assert = Ember.assert,\n      isNone = Ember.isNone,\n      isEmpty = Ember.isEmpty,\n      isPresent = Ember.isPresent,\n      isArray = Ember.isArray;\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\n  var Dependent = _emberCpValidationsValidatorsBase['default'].extend({\n    /**\n     * @method validate\n     * @param {Any} value\n     * @param {Object} options\n     * @param {Array} options.on Attributes this field is dependent on\n     * @param {Object} model\n     * @param {String} attribute\n     */\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, 'isTruelyInvalid');\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, _emberCpValidationsPrivateEmberValidator, _emberValidatorsDsError) {\n  /**\n   * Copyright 2016, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  'use strict';\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  var DSError = _emberCpValidationsPrivateEmberValidator['default'].extend({\n    _evType: 'ds-error'\n  });\n\n  DSError.reopenClass({\n    getDependentsFor: function getDependentsFor(attribute) {\n      var _getPathAndKey = (0, _emberValidatorsDsError.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, _emberCpValidationsPrivateEmberValidator) {\n  /**\n   * Copyright 2016, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  'use strict';\n\n  /**\n   *  <i class=\"fa fa-hand-o-right\" aria-hidden=\"true\"></i> [See All Options](#method_validate)\n   *\n   *  Validates that the attributes’ values are not included in a given list. All comparisons are done using strict equality so type matters! For range, the value type is checked against both lower and upper bounds for type equality.\n   *\n   *  ## Examples:\n   *\n   *  ```javascript\n   *  validator('exclusion', {\n   *    in: ['Admin', 'Super Admin']\n   *  })\n   *  validator('exclusion', {\n   *    range: [0, 5] // Cannot be between 0 (inclusive) to 5 (inclusive)\n   *  })\n   *  ```\n   *\n   *  @class Exclusion\n   *  @module Validators\n   *  @extends Base\n   */\n  exports['default'] = _emberCpValidationsPrivateEmberValidator['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, _emberCpValidationsPrivateEmberValidator, _emberValidatorsFormat) {\n  /**\n   * Copyright 2016, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  'use strict';\n\n  /**\n   *  <i class=\"fa fa-hand-o-right\" aria-hidden=\"true\"></i> [See All Options](#method_validate)\n   *\n   *  Validate over a predefined or custom regular expression.\n   *\n   *  ## Examples\n   *\n   *  ```javascript\n   *  validator('format', {\n   *    type: 'email',\n   *    allowNonTld: true\n   *  })\n   *  validator('format', {\n   *    allowBlank: true,\n   *    type: 'phone'\n   *  })\n   *  validator('format', {\n   *    type: 'url'\n   *  })\n   *  validator('format', {\n   *    regex: /^(?=.*\\d)(?=.*[a-z])(?=.*[A-Z]).{4,8}$/,\n   *    message: 'Password must include at least one upper case letter, one lower case letter, and a number'\n   *  })\n   *  ```\n   *\n   *  If you do not want to use the predefined regex for a specific type, you can do something like this\n   *\n   *  ```javascript\n   *  validator('format', {\n   *    type: 'email',\n   *    regex: /My Better Email Regexp/\n   *  })\n   *  ```\n   *\n   *  This allows you to still keep the email error message but with your own custom regex.\n   *\n   *  @class Format\n   *  @module Validators\n   *  @extends Base\n   */\n  exports['default'] = _emberCpValidationsPrivateEmberValidator['default'].extend({\n    _evType: 'format',\n    regularExpressions: _emberValidatorsFormat.regularExpressions\n  });\n});","define('ember-cp-validations/validators/has-many', ['exports', 'ember-cp-validations/validators/base', 'ember-cp-validations/utils/utils'], function (exports, _emberCpValidationsValidatorsBase, _emberCpValidationsUtilsUtils) {\n  'use strict';\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      }return arr2;\n    } else {\n      return Array.from(arr);\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   */\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 = _emberCpValidationsValidatorsBase['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, _emberCpValidationsUtilsUtils.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, _emberCpValidationsPrivateEmberValidator) {\n  /**\n   * Copyright 2016, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  'use strict';\n\n  /**\n   *  <i class=\"fa fa-hand-o-right\" aria-hidden=\"true\"></i> [See All Options](#method_validate)\n   *\n   *  Validates that the attributes’ values are included in a given list. All comparisons are done using strict equality so type matters!\n   *  For range, the value type is checked against both lower and upper bounds for type equality.\n   *\n   *  ## Examples\n   *\n   *  ```javascript\n   *  validator('inclusion', {\n   *    in: ['User', 'Admin']\n   *  })\n   *  validator('inclusion', {\n   *    range: [0, 5] // Must be between 0 (inclusive) to 5 (inclusive)\n   *  })\n   *  ```\n   *\n   *  Because of the strict equality comparisons, you can use this validator in many different ways.\n   *\n   *  ```javascript\n   *  validator('inclusion', {\n   *    in: ['Admin'] // Input must be equal to 'Admin'\n   *  })\n   *  validator('inclusion', {\n   *    range: [0, Infinity] // Input must be positive number\n   *  })\n   *  validator('inclusion', {\n   *    range: [-Infinity, Infinity] // Input must be a number\n   *  })\n   *  ```\n   *\n   *  @class Inclusion\n   *  @module Validators\n   *  @extends Base\n   */\n  exports['default'] = _emberCpValidationsPrivateEmberValidator['default'].extend({\n    _evType: 'inclusion'\n  });\n});","define('ember-cp-validations/validators/length', ['exports', 'ember-cp-validations/-private/ember-validator'], function (exports, _emberCpValidationsPrivateEmberValidator) {\n  /**\n   * Copyright 2016, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  'use strict';\n\n  /**\n   *  <i class=\"fa fa-hand-o-right\" aria-hidden=\"true\"></i> [See All Options](#method_validate)\n   *\n   *  Validates the length of the attributes’ values.\n   *\n   *  ## Examples\n   *\n   *  ```javascript\n   *  validator('length', {\n   *    is: 15\n   *  })\n   *  validator('length', {\n   *    min: 5,\n   *    max: 10\n   *  })\n   *  ```\n   *\n   *  @class Length\n   *  @module Validators\n   *  @extends Base\n   */\n  exports['default'] = _emberCpValidationsPrivateEmberValidator['default'].extend({\n    _evType: 'length'\n  });\n});","define('ember-cp-validations/validators/messages', ['exports', 'ember-validators/messages'], function (exports, _emberValidatorsMessages) {\n  'use strict';\n\n  /**\n   *  The default validation error messages are imported in your app's `validators` folder.\n   *  If you want to change or extend them, all you need to do is create a `messages.js` file under `app/validators`.\n   *\n   *  ```javascript\n   *  // app/validators/messages.js\n   *\n   *  import Messages from 'ember-cp-validations/validators/messages';\n   *\n   *  export default Messages.extend({\n   *    uniqueUsername: '{description} {username} already exists'\n   *  });\n   *  ```\n   *\n   *  Within this object, you can overwrite the [default messages](https://github.com/offirgolan/ember-cp-validations/blob/master/addon/validators/messages.js) or create new messages just like in the example above.\n   *  If a message of a given type is not found, it will default to the `invalid` message.\n   *  Usage examples can be found {{#crossLink \"Base/createErrorMessage:method\"}}here{{/crossLink}}\n   *\n   *  @class Messages\n   *  @module Validators\n   */\n  exports['default'] = Ember.Object.extend(_emberValidatorsMessages['default']);\n});","define('ember-cp-validations/validators/number', ['exports', 'ember-cp-validations/-private/ember-validator'], function (exports, _emberCpValidationsPrivateEmberValidator) {\n  /**\n   * Copyright 2016, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  'use strict';\n\n  /**\n   *  <i class=\"fa fa-hand-o-right\" aria-hidden=\"true\"></i> [See All Options](#method_validate)\n   *\n   *  Validates that your attributes have only numeric values.\n   *\n   *  ## Examples\n   *\n   *  ```javascript\n   *  validator('number') // Simple check if the value is a number\n   *  validator('number', {\n   *    allowString: true,\n   *    integer: true,\n   *    gt: 5,\n   *    lte: 100\n   *  })\n   *  ```\n   *\n   *  @class Number\n   *  @module Validators\n   *  @extends Base\n   */\n  exports['default'] = _emberCpValidationsPrivateEmberValidator['default'].extend({\n    _evType: 'number'\n  });\n});","define('ember-cp-validations/validators/presence', ['exports', 'ember-cp-validations/-private/ember-validator'], function (exports, _emberCpValidationsPrivateEmberValidator) {\n  /**\n   * Copyright 2016, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  'use strict';\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 not empty, if `false`, validates that the given value is empty.\n   *\n   *  ## Examples\n   *\n   *  ```javascript\n   *  validator('presence', true)\n   *  validator('presence', false)\n   *  validator('presence', {\n   *    presence: true,\n   *    message: 'should not be empty'\n   *  })\n   *\n   *  validator('presence', {\n   *    presence: true,\n   *    ignoreBlank: true,\n   *    message: 'should not be empty or consist only of spaces'\n   *  })\n   *  ```\n   *\n   *  @class Presence\n   *  @module Validators\n   *  @extends Base\n   */\n  exports['default'] = _emberCpValidationsPrivateEmberValidator['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/-debug/index', ['exports'], function (exports) {\n  'use strict';\n\n  exports.instrument = instrument;\n\n  function instrument(method) {\n    return method();\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  var assertPolymorphicType = void 0;\n\n  if (true /* DEBUG */) {\n      var checkPolymorphic = function checkPolymorphic(modelClass, addedModelClass) {\n        if (modelClass.__isMixin) {\n          //TODO Need to do this in order to support mixins, should convert to public api\n          //once it exists in Ember\n          return modelClass.__mixin.detect(addedModelClass.PrototypeMixin);\n        }\n        if (Ember.MODEL_FACTORY_INJECTIONS) {\n          modelClass = modelClass.superclass;\n        }\n        return modelClass.detect(addedModelClass);\n      };\n\n      exports.assertPolymorphicType = assertPolymorphicType = 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        true && !checkPolymorphic(relationshipClass, addedInternalModel.modelClass) && Ember.assert(assertionMessage, checkPolymorphic(relationshipClass, addedInternalModel.modelClass));\n      };\n    }\n\n  exports.assertPolymorphicType = assertPolymorphicType;\n});","define('ember-data/-private',['exports','ember-inflector','ember-data/-debug','ember-data/version'],function(exports,_emberInflector,_emberDataDebug,_emberDataVersion){'use strict'; /**\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*/var PromiseArray=Ember.ArrayProxy.extend(Ember.PromiseProxyMixin,{meta:Ember.computed.reads('content.meta')}); /**\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*/var PromiseObject=Ember.ObjectProxy.extend(Ember.PromiseProxyMixin);function promiseObject(promise,label){return PromiseObject.create({promise:Ember.RSVP.Promise.resolve(promise,label)});}function promiseArray(promise,label){return PromiseArray.create({promise:Ember.RSVP.Promise.resolve(promise,label)});} /**\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*/function proxyToContent(method){return function(){var _Ember$get;return (_Ember$get = Ember.get(this,'content'))[method].apply(_Ember$get,arguments);};}var PromiseManyArray=PromiseArray.extend({reload:function reload(){true && !Ember.get(this,'content') && Ember.assert('You are trying to reload an async manyArray before it has been created',Ember.get(this,'content'));this.set('promise',this.get('content').reload());return this;},createRecord:proxyToContent('createRecord'),on:proxyToContent('on'),one:proxyToContent('one'),trigger:proxyToContent('trigger'),off:proxyToContent('off'),has:proxyToContent('has')}); /**\n@module ember-data\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 */var Errors=Ember.ArrayProxy.extend(Ember.Evented,{ /**\n    Register with target handler\n     @method registerHandlers\n    @param {Object} target\n    @param {Function} becameInvalid\n    @param {Function} becameValid\n    @deprecated\n  */registerHandlers:function registerHandlers(target,becameInvalid,becameValid){true && !false && Ember.deprecate('Record errors will no longer be evented.',false,{id:'ds.errors.registerHandlers',until:'3.0.0'});this._registerHandlers(target,becameInvalid,becameValid);}, /**\n    Register with target handler\n     @method _registerHandlers\n    @private\n  */_registerHandlers:function _registerHandlers(target,becameInvalid,becameValid){this.on('becameInvalid',target,becameInvalid);this.on('becameValid',target,becameValid);}, /**\n    @property errorsByAttributeName\n    @type {Ember.MapWithDefault}\n    @private\n  */errorsByAttributeName:Ember.computed(function(){return Ember.MapWithDefault.create({defaultValue:function defaultValue(){return Ember.A();}});}), /**\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  */errorsFor:function errorsFor(attribute){return Ember.get(this,'errorsByAttributeName').get(attribute);}, /**\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  */messages:Ember.computed.mapBy('content','message'), /**\n    @property content\n    @type {Array}\n    @private\n  */content:Ember.computed(function(){return Ember.A();}), /**\n    @method unknownProperty\n    @private\n  */unknownProperty:function unknownProperty(attribute){var errors=this.errorsFor(attribute);if(Ember.isEmpty(errors)){return null;}return errors;}, /**\n    Total number of errors.\n     @property length\n    @type {Number}\n    @readOnly\n  */ /**\n    @property isEmpty\n    @type {Boolean}\n    @readOnly\n  */isEmpty:Ember.computed.not('length').readOnly(), /**\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  */add:function add(attribute,messages){true && Ember.warn('Interacting with a record errors object will no longer change the record state.',false,{id:'ds.errors.add'});var wasEmpty=Ember.get(this,'isEmpty');this._add(attribute,messages);if(wasEmpty && !Ember.get(this,'isEmpty')){this.trigger('becameInvalid');}}, /**\n    Adds error messages to a given attribute without sending event.\n     @method _add\n    @private\n  */_add:function _add(attribute,messages){messages = this._findOrCreateMessages(attribute,messages);this.addObjects(messages);Ember.get(this,'errorsByAttributeName').get(attribute).addObjects(messages);this.notifyPropertyChange(attribute);}, /**\n    @method _findOrCreateMessages\n    @private\n  */_findOrCreateMessages:function _findOrCreateMessages(attribute,messages){var errors=this.errorsFor(attribute);var messagesArray=Ember.makeArray(messages);var _messages=new Array(messagesArray.length);for(var i=0;i < messagesArray.length;i++) {var message=messagesArray[i];var err=errors.findBy('message',message);if(err){_messages[i] = err;}else {_messages[i] = {attribute:attribute,message:message};}}return _messages;}, /**\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 Route from '@ember/routing/route';\n     export default 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  */remove:function remove(attribute){true && Ember.warn('Interacting with a record errors object will no longer change the record state.',false,{id:'ds.errors.remove'});if(Ember.get(this,'isEmpty')){return;}this._remove(attribute);if(Ember.get(this,'isEmpty')){this.trigger('becameValid');}}, /**\n    Removes all error messages from the given attribute without sending event.\n     @method _remove\n    @private\n  */_remove:function _remove(attribute){if(Ember.get(this,'isEmpty')){return;}var content=this.rejectBy('attribute',attribute);Ember.set(this,'content',content);Ember.get(this,'errorsByAttributeName')['delete'](attribute);this.notifyPropertyChange(attribute);this.notifyPropertyChange('length');}, /**\n    Removes all error messages and sends `becameValid` event\n    to the record.\n     Example:\n     ```app/routes/user/edit.js\n  import Route from '@ember/routing/route';\n     export default 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  */clear:function clear(){true && Ember.warn('Interacting with a record errors object will no longer change the record state.',false,{id:'ds.errors.clear'});if(Ember.get(this,'isEmpty')){return;}this._clear();this.trigger('becameValid');}, /**\n    Removes all error messages.\n    to the record.\n     @method _clear\n    @private\n  */_clear:function _clear(){if(Ember.get(this,'isEmpty')){return;}var errorsByAttributeName=Ember.get(this,'errorsByAttributeName');var attributes=Ember.A();errorsByAttributeName.forEach(function(_,attribute){attributes.push(attribute);});errorsByAttributeName.clear();attributes.forEach(function(attribute){this.notifyPropertyChange(attribute);},this);Ember.ArrayProxy.prototype.clear.call(this);}, /**\n    Checks if there is error messages for the given attribute.\n     ```app/routes/user/edit.js\n    import Route from '@ember/routing/route';\n     export default Route.extend({\n      actions: {\n        save: function(user) {\n          if (user.get('errors').has('email')) {\n            return alert('Please update your email before attempting to save.');\n          }\n          user.save();\n        }\n      }\n    });\n    ```\n     @method has\n    @param {String} attribute\n    @return {Boolean} true if there some errors on given attribute\n  */has:function has(attribute){return !Ember.isEmpty(this.errorsFor(attribute));}});function isEnabled(){var _Ember$FEATURES;return (_Ember$FEATURES = Ember.FEATURES).isEnabled.apply(_Ember$FEATURES,arguments);} /*\n  This file encapsulates the various states that a record can transition\n  through during its lifecycle.\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*/function _didSetProperty(internalModel,context){if(context.value === context.originalValue){delete internalModel._attributes[context.name];internalModel.send('propertyWasReset',context.name);}else if(context.value !== context.oldValue){internalModel.send('becomeDirty');}internalModel.updateRecordArrays();} // Implementation notes:\n//\n// Each state has a boolean value for all of the following flags:\n//\n// * isLoaded: The record has a populated `data` property. When a\n//   record is loaded via `store.find`, `isLoaded` is false\n//   until the adapter sets it. When a record is created locally,\n//   its `isLoaded` property is always true.\n// * isDirty: The record has local changes that have not yet been\n//   saved by the adapter. This includes records that have been\n//   created (but not yet saved) or deleted.\n// * isSaving: The record has been committed, but\n//   the adapter has not yet acknowledged that the changes have\n//   been persisted to the backend.\n// * isDeleted: The record was marked for deletion. When `isDeleted`\n//   is true and `isDirty` is true, the record is deleted locally\n//   but the deletion was not yet persisted. When `isSaving` is\n//   true, the change is in-flight. When both `isDirty` and\n//   `isSaving` are false, the change has persisted.\n// * isNew: The record was created on the client and the adapter\n//   did not yet report that it was successfully saved.\n// * isValid: The adapter did not report any server-side validation\n//   failures.\n// The dirty state is a abstract state whose functionality is\n// shared between the `created` and `updated` states.\n//\n// The deleted state shares the `isDirty` flag with the\n// subclasses of `DirtyState`, but with a very different\n// implementation.\n//\n// Dirty states have three child states:\n//\n// `uncommitted`: the store has not yet handed off the record\n//   to be saved.\n// `inFlight`: the store has handed off the record to be saved,\n//   but the adapter has not yet acknowledged success.\n// `invalid`: the record has invalid information and cannot be\n//   sent to the adapter yet.\n/**\n  @module ember-data\n*/var DirtyState={initialState:'uncommitted', // FLAGS\nisDirty:true, // SUBSTATES\n// When a record first becomes dirty, it is `uncommitted`.\n// This means that there are local pending changes, but they\n// have not yet begun to be saved, and are not invalid.\nuncommitted:{ // EVENTS\ndidSetProperty:_didSetProperty, //TODO(Igor) reloading now triggers a\n//loadingData event, though it seems fine?\nloadingData:function loadingData(){},propertyWasReset:function propertyWasReset(internalModel,name){if(!internalModel.hasChangedAttributes()){internalModel.send('rolledBack');}},pushedData:function pushedData(internalModel){internalModel.updateChangedAttributes();if(!internalModel.hasChangedAttributes()){internalModel.transitionTo('loaded.saved');}},becomeDirty:function becomeDirty(){},willCommit:function willCommit(internalModel){internalModel.transitionTo('inFlight');},reloadRecord:function reloadRecord(internalModel,resolve){resolve(internalModel.store._reloadRecord(internalModel));},rolledBack:function rolledBack(internalModel){internalModel.transitionTo('loaded.saved');},becameInvalid:function becameInvalid(internalModel){internalModel.transitionTo('invalid');},rollback:function rollback(internalModel){internalModel.rollbackAttributes();internalModel.triggerLater('ready');}}, // 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.\ninFlight:{ // FLAGS\nisSaving:true, // EVENTS\ndidSetProperty:_didSetProperty,becomeDirty:function becomeDirty(){},pushedData:function pushedData(){},unloadRecord:assertAgainstUnloadRecord, // TODO: More robust semantics around save-while-in-flight\nwillCommit:function willCommit(){},didCommit:function didCommit(internalModel){internalModel.transitionTo('saved');internalModel.send('invokeLifecycleCallbacks',this.dirtyType);},becameInvalid:function becameInvalid(internalModel){internalModel.transitionTo('invalid');internalModel.send('invokeLifecycleCallbacks');},becameError:function becameError(internalModel){internalModel.transitionTo('uncommitted');internalModel.triggerLater('becameError',internalModel);}}, // A record is in the `invalid` if the adapter has indicated\n// the the record failed server-side invalidations.\ninvalid:{ // FLAGS\nisValid:false, // EVENTS\ndeleteRecord:function deleteRecord(internalModel){internalModel.transitionTo('deleted.uncommitted');},didSetProperty:function didSetProperty(internalModel,context){internalModel.removeErrorMessageFromAttribute(context.name);_didSetProperty(internalModel,context);if(!internalModel.hasErrors()){this.becameValid(internalModel);}},becameInvalid:function becameInvalid(){},becomeDirty:function becomeDirty(){},pushedData:function pushedData(){},willCommit:function willCommit(internalModel){internalModel.clearErrorMessages();internalModel.transitionTo('inFlight');},rolledBack:function rolledBack(internalModel){internalModel.clearErrorMessages();internalModel.transitionTo('loaded.saved');internalModel.triggerLater('ready');},becameValid:function becameValid(internalModel){internalModel.transitionTo('uncommitted');},invokeLifecycleCallbacks:function invokeLifecycleCallbacks(internalModel){internalModel.triggerLater('becameInvalid',internalModel);}}}; // The created and updated states are created outside the state\n// chart so we can reopen their substates and add mixins as\n// necessary.\nfunction deepClone(object){var clone={};var value=void 0;for(var prop in object) {value = object[prop];if(value && typeof value === 'object'){clone[prop] = deepClone(value);}else {clone[prop] = value;}}return clone;}function mixin(original,hash){for(var prop in hash) {original[prop] = hash[prop];}return original;}function dirtyState(options){var newState=deepClone(DirtyState);return mixin(newState,options);}var createdState=dirtyState({dirtyType:'created', // FLAGS\nisNew:true});createdState.invalid.rolledBack = function(internalModel){internalModel.transitionTo('deleted.saved');};createdState.uncommitted.rolledBack = function(internalModel){internalModel.transitionTo('deleted.saved');};var updatedState=dirtyState({dirtyType:'updated'});function createdStateDeleteRecord(internalModel){internalModel.transitionTo('deleted.saved');internalModel.send('invokeLifecycleCallbacks');}createdState.uncommitted.deleteRecord = createdStateDeleteRecord;createdState.invalid.deleteRecord = createdStateDeleteRecord;createdState.uncommitted.rollback = function(internalModel){DirtyState.uncommitted.rollback.apply(this,arguments);internalModel.transitionTo('deleted.saved');};createdState.uncommitted.pushedData = function(internalModel){internalModel.transitionTo('loaded.updated.uncommitted');internalModel.triggerLater('didLoad');};createdState.uncommitted.propertyWasReset = function(){};function assertAgainstUnloadRecord(internalModel){true && !false && Ember.assert(\"You can only unload a record which is not inFlight. `\" + internalModel + \"`\",false);}updatedState.invalid.becameValid = function(internalModel){ // we're eagerly transition into the loaded.saved state, even though we could\n// be still dirty; but the setup hook of the loaded.saved state checks for\n// dirty attributes and transitions into the corresponding dirty state\ninternalModel.transitionTo('loaded.saved');};updatedState.inFlight.unloadRecord = assertAgainstUnloadRecord;updatedState.uncommitted.deleteRecord = function(internalModel){internalModel.transitionTo('deleted.uncommitted');};var RootState={ // FLAGS\nisEmpty:false,isLoading:false,isLoaded:false,isDirty:false,isSaving:false,isDeleted:false,isNew:false,isValid:true, // DEFAULT EVENTS\n// Trying to roll back if you're not in the dirty state\n// doesn't change your state. For example, if you're in the\n// in-flight state, rolling back the record doesn't move\n// you out of the in-flight state.\nrolledBack:function rolledBack(){},unloadRecord:function unloadRecord(internalModel){},propertyWasReset:function propertyWasReset(){}, // SUBSTATES\n// A record begins its lifecycle in the `empty` state.\n// If its data will come from the adapter, it will\n// transition into the `loading` state. Otherwise, if\n// the record is being created on the client, it will\n// transition into the `created` state.\nempty:{isEmpty:true, // EVENTS\nloadingData:function loadingData(internalModel,promise){internalModel._loadingPromise = promise;internalModel.transitionTo('loading');},loadedData:function loadedData(internalModel){internalModel.transitionTo('loaded.created.uncommitted');internalModel.triggerLater('ready');},pushedData:function pushedData(internalModel){internalModel.transitionTo('loaded.saved');internalModel.triggerLater('didLoad');internalModel.triggerLater('ready');}}, // 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.\nloading:{ // FLAGS\nisLoading:true,exit:function exit(internalModel){internalModel._loadingPromise = null;}, // EVENTS\npushedData:function pushedData(internalModel){internalModel.transitionTo('loaded.saved');internalModel.triggerLater('didLoad');internalModel.triggerLater('ready'); //TODO this seems out of place here\ninternalModel.didCleanError();},becameError:function becameError(internalModel){internalModel.triggerLater('becameError',internalModel);},notFound:function notFound(internalModel){internalModel.transitionTo('empty');}}, // 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.\nloaded:{initialState:'saved', // FLAGS\nisLoaded:true, //TODO(Igor) Reloading now triggers a loadingData event,\n//but it should be ok?\nloadingData:function loadingData(){}, // SUBSTATES\n// If there are no local changes to a record, it remains\n// in the `saved` state.\nsaved:{setup:function setup(internalModel){if(internalModel.hasChangedAttributes()){internalModel.adapterDidDirty();}}, // EVENTS\ndidSetProperty:_didSetProperty,pushedData:function pushedData(){},becomeDirty:function becomeDirty(internalModel){internalModel.transitionTo('updated.uncommitted');},willCommit:function willCommit(internalModel){internalModel.transitionTo('updated.inFlight');},reloadRecord:function reloadRecord(internalModel,resolve){resolve(internalModel.store._reloadRecord(internalModel));},deleteRecord:function deleteRecord(internalModel){internalModel.transitionTo('deleted.uncommitted');},unloadRecord:function unloadRecord(internalModel){},didCommit:function didCommit(){}, // loaded.saved.notFound would be triggered by a failed\n// `reload()` on an unchanged record\nnotFound:function notFound(){}}, // 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.\ncreated:createdState, // 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.\nupdated:updatedState}, // A record is in this state if it was deleted from the store.\ndeleted:{initialState:'uncommitted',dirtyType:'deleted', // FLAGS\nisDeleted:true,isLoaded:true,isDirty:true, // TRANSITIONS\nsetup:function setup(internalModel){internalModel.updateRecordArrays();}, // SUBSTATES\n// When a record is deleted, it enters the `start`\n// state. It will exit this state when the record\n// starts to commit.\nuncommitted:{ // EVENTS\nwillCommit:function willCommit(internalModel){internalModel.transitionTo('inFlight');},rollback:function rollback(internalModel){internalModel.rollbackAttributes();internalModel.triggerLater('ready');},pushedData:function pushedData(){},becomeDirty:function becomeDirty(){},deleteRecord:function deleteRecord(){},rolledBack:function rolledBack(internalModel){internalModel.transitionTo('loaded.saved');internalModel.triggerLater('ready');}}, // 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`.\ninFlight:{ // FLAGS\nisSaving:true, // EVENTS\nunloadRecord:assertAgainstUnloadRecord, // TODO: More robust semantics around save-while-in-flight\nwillCommit:function willCommit(){},didCommit:function didCommit(internalModel){internalModel.transitionTo('saved');internalModel.send('invokeLifecycleCallbacks');},becameError:function becameError(internalModel){internalModel.transitionTo('uncommitted');internalModel.triggerLater('becameError',internalModel);},becameInvalid:function becameInvalid(internalModel){internalModel.transitionTo('invalid');internalModel.triggerLater('becameInvalid',internalModel);}}, // Once the adapter indicates that the deletion has\n// been saved, the record enters the `saved` substate\n// of `deleted`.\nsaved:{ // FLAGS\nisDirty:false,setup:function setup(internalModel){internalModel.removeFromInverseRelationships();},invokeLifecycleCallbacks:function invokeLifecycleCallbacks(internalModel){internalModel.triggerLater('didDelete',internalModel);internalModel.triggerLater('didCommit',internalModel);},willCommit:function willCommit(){},didCommit:function didCommit(){},pushedData:function pushedData(){}},invalid:{isValid:false,didSetProperty:function didSetProperty(internalModel,context){internalModel.removeErrorMessageFromAttribute(context.name);_didSetProperty(internalModel,context);if(!internalModel.hasErrors()){this.becameValid(internalModel);}},becameInvalid:function becameInvalid(){},becomeDirty:function becomeDirty(){},deleteRecord:function deleteRecord(){},willCommit:function willCommit(){},rolledBack:function rolledBack(internalModel){internalModel.clearErrorMessages();internalModel.transitionTo('loaded.saved');internalModel.triggerLater('ready');},becameValid:function becameValid(internalModel){internalModel.transitionTo('uncommitted');}}},invokeLifecycleCallbacks:function invokeLifecycleCallbacks(internalModel,dirtyType){if(dirtyType === 'created'){internalModel.triggerLater('didCreate',internalModel);}else {internalModel.triggerLater('didUpdate',internalModel);}internalModel.triggerLater('didCommit',internalModel);}};function wireState(object,parent,name){ // TODO: Use Object.create and copy instead\nobject = mixin(parent?Object.create(parent):{},object);object.parentState = parent;object.stateName = name;for(var prop in object) {if(!object.hasOwnProperty(prop) || prop === 'parentState' || prop === 'stateName'){continue;}if(typeof object[prop] === 'object'){object[prop] = wireState(object[prop],object,name + '.' + prop);}}return object;}var RootState$1=wireState(RootState,null,'root'); // All modelNames are dasherized internally. Changing this function may\n// require changes to other normalization hooks (such as typeForRoot).\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*/function normalizeModelName(modelName){return Ember.String.dasherize(modelName);}function typeForRelationshipMeta(meta){var modelName=void 0;modelName = meta.type || meta.key;if(meta.kind === 'hasMany'){modelName = (0,_emberInflector.singularize)(normalizeModelName(modelName));}return modelName;}function relationshipFromMeta(meta){return {key:meta.key,kind:meta.kind,type:typeForRelationshipMeta(meta),options:meta.options,name:meta.name,parentType:meta.parentType,isRelationship:true};}var relationshipsDescriptor=Ember.computed(function(){if(Ember.testing === true && relationshipsDescriptor._cacheable === true){relationshipsDescriptor._cacheable = false;}var map=new Ember.MapWithDefault({defaultValue:function defaultValue(){return [];}}); // Loop through each computed property on the class\nthis.eachComputedProperty(function(name,meta){ // If the computed property is a relationship, add\n// it to the map.\nif(meta.isRelationship){meta.key = name;var relationshipsForType=map.get(typeForRelationshipMeta(meta));relationshipsForType.push({name:name,kind:meta.kind});}});return map;}).readOnly();var relatedTypesDescriptor=Ember.computed(function(){var _this=this;if(Ember.testing === true && relatedTypesDescriptor._cacheable === true){relatedTypesDescriptor._cacheable = false;}var modelName=void 0;var types=Ember.A(); // Loop through each computed property on the class,\n// and create an array of the unique types involved\n// in relationships\nthis.eachComputedProperty(function(name,meta){if(meta.isRelationship){meta.key = name;modelName = typeForRelationshipMeta(meta);true && !modelName && Ember.assert('You specified a hasMany (' + meta.type + ') on ' + meta.parentType + ' but ' + meta.type + ' was not found.',modelName);if(!types.includes(modelName)){true && !!!modelName && Ember.assert('Trying to sideload ' + name + ' on ' + _this.toString() + ' but the type doesn\\'t exist.',!!modelName);types.push(modelName);}}});return types;}).readOnly();var relationshipsByNameDescriptor=Ember.computed(function(){var map=Ember.Map.create();this.eachComputedProperty(function(name,meta){if(meta.isRelationship){meta.key = name;var relationship=relationshipFromMeta(meta);relationship.type = typeForRelationshipMeta(meta);map.set(name,relationship);}});return map;}).readOnly(); /**\n  @module ember-data\n*/function findPossibleInverses(type,inverseType,name,relationshipsSoFar){var possibleRelationships=relationshipsSoFar || [];var relationshipMap=Ember.get(inverseType,'relationships');if(!relationshipMap){return possibleRelationships;}var relationships=relationshipMap.get(type.modelName).filter(function(relationship){var optionsForRelationship=inverseType.metaForProperty(relationship.name).options;if(!optionsForRelationship.inverse){return true;}return name === optionsForRelationship.inverse;});if(relationships){possibleRelationships.push.apply(possibleRelationships,relationships);} //Recurse to support polymorphism\nif(type.superclass){findPossibleInverses(type.superclass,inverseType,name,possibleRelationships);}return possibleRelationships;}function intersection(array1,array2){var result=[];array1.forEach(function(element){if(array2.indexOf(element) >= 0){result.push(element);}});return result;}var RESERVED_MODEL_PROPS=['currentState','data','store'];var retrieveFromCurrentState=Ember.computed('currentState',function(key){return Ember.get(this._internalModel.currentState,key);}).readOnly(); /**\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*/var Model=Ember.Object.extend(Ember.Evented,{_internalModel:null,store:null,__defineNonEnumerable:function __defineNonEnumerable(property){this[property.name] = property.descriptor.value;}, /**\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  */isEmpty:retrieveFromCurrentState, /**\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  */isLoading:retrieveFromCurrentState, /**\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  */isLoaded:retrieveFromCurrentState, /**\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  */hasDirtyAttributes:Ember.computed('currentState.isDirty',function(){return this.get('currentState.isDirty');}), /**\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  */isSaving:retrieveFromCurrentState, /**\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  */isDeleted:retrieveFromCurrentState, /**\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  */isNew:retrieveFromCurrentState, /**\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  */isValid:retrieveFromCurrentState, /**\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  */dirtyType:retrieveFromCurrentState, /**\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  */isError:false, /**\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  */isReloading:false, /**\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  */id:null, /**\n    @property currentState\n    @private\n    @type {Object}\n  */currentState:RootState$1.empty, /**\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  */errors:Ember.computed(function(){var errors=Errors.create();errors._registerHandlers(this._internalModel,function(){this.send('becameInvalid');},function(){this.send('becameValid');});return errors;}).readOnly(), /**\n    This property holds the `DS.AdapterError` object with which\n    last adapter operation was rejected.\n     @property adapterError\n    @type {DS.AdapterError}\n  */adapterError:null, /**\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  */serialize:function serialize(options){return this._internalModel.createSnapshot().serialize(options);}, /**\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  */toJSON:function toJSON(options){ // container is for lazy transform lookups\nvar serializer=this.store.serializerFor('-default');var snapshot=this._internalModel.createSnapshot();return serializer.serialize(snapshot,options);}, /**\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  */ready:null, /**\n    Fired when the record is loaded from the server.\n     @event didLoad\n  */didLoad:null, /**\n    Fired when the record is updated.\n     @event didUpdate\n  */didUpdate:null, /**\n    Fired when a new record is commited to the server.\n     @event didCreate\n  */didCreate:null, /**\n    Fired when the record is deleted.\n     @event didDelete\n  */didDelete:null, /**\n    Fired when the record becomes invalid.\n     @event becameInvalid\n  */becameInvalid:null, /**\n    Fired when the record enters the error state.\n     @event becameError\n  */becameError:null, /**\n    Fired when the record is rolled back.\n     @event rolledBack\n  */rolledBack:null, //TODO Do we want to deprecate these?\n/**\n    @method send\n    @private\n    @param {String} name\n    @param {Object} context\n  */send:function send(name,context){return this._internalModel.send(name,context);}, /**\n    @method transitionTo\n    @private\n    @param {String} name\n  */transitionTo:function transitionTo(name){return this._internalModel.transitionTo(name);}, /**\n    Marks the record as deleted but does not save it. You must call\n    `save` afterwards if you want to persist it. You might use this\n    method if you want to allow the user to still `rollbackAttributes()`\n    after a delete was made.\n     Example\n     ```app/routes/model/delete.js\n    import Route from '@ember/routing/route';\n     export default Route.extend({\n      actions: {\n        softDelete() {\n          this.get('controller.model').deleteRecord();\n        },\n        confirm() {\n          this.get('controller.model').save();\n        },\n        undo() {\n          this.get('controller.model').rollbackAttributes();\n        }\n      }\n    });\n    ```\n     @method deleteRecord\n  */deleteRecord:function deleteRecord(){this._internalModel.deleteRecord();}, /**\n    Same as `deleteRecord`, but saves the record immediately.\n     Example\n     ```app/routes/model/delete.js\n    import Route from '@ember/routing/route';\n     export default Route.extend({\n      actions: {\n        delete() {\n          this.get('controller.model').destroyRecord().then(function() {\n            controller.transitionToRoute('model.index');\n          });\n        }\n      }\n    });\n    ```\n     If you pass an object on the `adapterOptions` property of the options\n    argument it will be passed to your adapter via the snapshot\n     ```js\n    record.destroyRecord({ adapterOptions: { subscribe: false } });\n    ```\n     ```app/adapters/post.js\n    import MyCustomAdapter from './custom-adapter';\n     export default MyCustomAdapter.extend({\n      deleteRecord(store, type, snapshot) {\n        if (snapshot.adapterOptions.subscribe) {\n          // ...\n        }\n        // ...\n      }\n    });\n    ```\n     @method destroyRecord\n    @param {Object} options\n    @return {Promise} a promise that will be resolved when the adapter returns\n    successfully or rejected if the adapter returns with an error.\n  */destroyRecord:function destroyRecord(options){this.deleteRecord();return this.save(options);}, /**\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  */unloadRecord:function unloadRecord(){if(this.isDestroyed){return;}this._internalModel.unloadRecord();}, /**\n    @method _notifyProperties\n    @private\n  */_notifyProperties:function _notifyProperties(keys){Ember.beginPropertyChanges();var key=void 0;for(var i=0,length=keys.length;i < length;i++) {key = keys[i];this.notifyPropertyChange(key);}Ember.endPropertyChanges();}, /**\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  */changedAttributes:function changedAttributes(){return this._internalModel.changedAttributes();}, //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    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  */rollbackAttributes:function rollbackAttributes(){this._internalModel.rollbackAttributes();}, /*\n    @method _createSnapshot\n    @private\n  */_createSnapshot:function _createSnapshot(){return this._internalModel.createSnapshot();},toStringExtension:function toStringExtension(){return Ember.get(this,'id');}, /**\n    Save the record and persist any changes to the record to an\n    external source via the adapter.\n     Example\n     ```javascript\n    record.set('name', 'Tomster');\n    record.save().then(function() {\n      // Success callback\n    }, function() {\n      // Error callback\n    });\n    ```\n    If you pass an object using the `adapterOptions` property of the options\n   argument it will be passed to your adapter via the snapshot.\n     ```js\n    record.save({ adapterOptions: { subscribe: false } });\n    ```\n     ```app/adapters/post.js\n    import MyCustomAdapter from './custom-adapter';\n     export default MyCustomAdapter.extend({\n      updateRecord(store, type, snapshot) {\n        if (snapshot.adapterOptions.subscribe) {\n          // ...\n        }\n        // ...\n      }\n    });\n    ```\n     @method save\n    @param {Object} options\n    @return {Promise} a promise that will be resolved when the adapter returns\n    successfully or rejected if the adapter returns with an error.\n  */save:function save(options){var _this=this;return PromiseObject.create({promise:this._internalModel.save(options).then(function(){return _this;})});}, /**\n    Reload the record from the adapter.\n     This will only work if the record has already finished loading.\n     Example\n     ```app/routes/model/view.js\n    import Route from '@ember/routing/route';\n     export default Route.extend({\n      actions: {\n        reload() {\n          this.controller.get('model').reload().then(function(model) {\n            // do something with the reloaded model\n          });\n        }\n      }\n    });\n    ```\n     @method reload\n    @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  */reload:function reload(){var _this2=this;return PromiseObject.create({promise:this._internalModel.reload().then(function(){return _this2;})});}, /**\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  */trigger:function trigger(name){var fn=this[name];if(typeof fn === 'function'){var length=arguments.length;var args=new Array(length - 1);for(var i=1;i < length;i++) {args[i - 1] = arguments[i];}fn.apply(this,args);}this._super.apply(this,arguments);},attr:function attr(){true && !false && Ember.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    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  */belongsTo:function belongsTo(name){return this._internalModel.referenceFor('belongsTo',name);}, /**\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  */hasMany:function hasMany(name){return this._internalModel.referenceFor('hasMany',name);},setId:Ember.observer('id',function(){this._internalModel.setId(this.get('id'));}), /**\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   */_debugInfo:function _debugInfo(){var attributes=['id'];var relationships={};var expensiveProperties=[];this.eachAttribute(function(name,meta){return attributes.push(name);});var groups=[{name:'Attributes',properties:attributes,expand:true}];this.eachRelationship(function(name,relationship){var properties=relationships[relationship.kind];if(properties === undefined){properties = relationships[relationship.kind] = [];groups.push({name:relationship.name,properties:properties,expand:true});}properties.push(name);expensiveProperties.push(name);});groups.push({name:'Flags',properties:['isLoaded','hasDirtyAttributes','isSaving','isDeleted','isError','isNew','isValid']});return {propertyInfo:{ // include all other mixins / properties (not just the grouped ones)\nincludeOtherProperties:true,groups:groups, // don't pre-calculate unless cached\nexpensiveProperties:expensiveProperties}};},notifyBelongsToChanged:function notifyBelongsToChanged(key){this.notifyPropertyChange(key);}, /**\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   */eachRelationship:function eachRelationship(callback,binding){this.constructor.eachRelationship(callback,binding);},relationshipFor:function relationshipFor(name){return Ember.get(this.constructor,'relationshipsByName').get(name);},inverseFor:function inverseFor(key){return this.constructor.inverseFor(key,this.store);},notifyHasManyAdded:function notifyHasManyAdded(key){ //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//Goes away once hasMany is double promisified\nthis.notifyPropertyChange(key);},eachAttribute:function eachAttribute(callback,binding){this.constructor.eachAttribute(callback,binding);}}); /**\n @property data\n @private\n @type {Object}\n */Object.defineProperty(Model.prototype,'data',{get:function get(){return this._internalModel._data;}});{Model.reopen({init:function init(){this._super.apply(this,arguments);if(!this._internalModel){throw new Ember.Error('You should not call `create` on a model. Instead, call `store.createRecord` with the attributes you would like to set.');}}});}Model.reopenClass({isModel:true, /**\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   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   import { underscore } from '@ember/string';\n    export default const PostSerializer = DS.RESTSerializer.extend({\n     payloadKeyFromModelName(modelName) {\n       return underscore(modelName);\n     }\n   });\n   ```\n   @property modelName\n   @type String\n   @readonly\n   @static\n  */modelName:null, /*\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   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   */typeForRelationship:function typeForRelationship(name,store){var relationship=Ember.get(this,'relationshipsByName').get(name);return relationship && store.modelFor(relationship.type);},inverseMap:Ember.computed(function(){return Object.create(null);}), /**\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   */inverseFor:function inverseFor(name,store){var inverseMap=Ember.get(this,'inverseMap');if(inverseMap[name] !== undefined){return inverseMap[name];}else {var relationship=Ember.get(this,'relationshipsByName').get(name);if(!relationship){inverseMap[name] = null;return null;}var options=relationship.options;if(options && options.inverse === null){ // populate the cache with a miss entry so we can skip getting and going\n// through `relationshipsByName`\ninverseMap[name] = null;return null;}return inverseMap[name] = this._findInverseFor(name,store);}}, //Calculate the inverse, ignoring the cache\n_findInverseFor:function _findInverseFor(name,store){var inverseType=this.typeForRelationship(name,store);if(!inverseType){return null;}var propertyMeta=this.metaForProperty(name); //If inverse is manually specified to be null, like  `comments: DS.hasMany('message', { inverse: null })`\nvar options=propertyMeta.options;if(options.inverse === null){return null;}var inverseName=void 0,inverseKind=void 0,inverse=void 0; //If inverse is specified manually, return the inverse\nif(options.inverse){inverseName = options.inverse;inverse = Ember.get(inverseType,'relationshipsByName').get(inverseName);true && !!Ember.isNone(inverse) && Ember.assert(\"We found no inverse relationships by the name of '\" + inverseName + \"' on the '\" + inverseType.modelName + \"' model. This is most likely due to a missing attribute on your model definition.\",!Ember.isNone(inverse));inverseKind = inverse.kind;}else { //No inverse was specified manually, we need to use a heuristic to guess one\nif(propertyMeta.parentType && propertyMeta.type === propertyMeta.parentType.modelName){true && Ember.warn('Detected a reflexive relationship by the name of \\'' + name + '\\' without an inverse option. Look at https://guides.emberjs.com/current/models/relationships/#toc_reflexive-relations for how to explicitly specify inverses.',false,{id:'ds.model.reflexive-relationship-without-inverse'});}var possibleRelationships=findPossibleInverses(this,inverseType,name);if(possibleRelationships.length === 0){return null;}var filteredRelationships=possibleRelationships.filter(function(possibleRelationship){var optionsForRelationship=inverseType.metaForProperty(possibleRelationship.name).options;return name === optionsForRelationship.inverse;});true && !(filteredRelationships.length < 2) && Ember.assert(\"You defined the '\" + name + \"' relationship on \" + this + \", but you defined the inverse relationships of type \" + inverseType.toString() + \" multiple times. Look at https://guides.emberjs.com/current/models/relationships/#toc_explicit-inverses for how to explicitly specify inverses\",filteredRelationships.length < 2);if(filteredRelationships.length === 1){possibleRelationships = filteredRelationships;}true && !(possibleRelationships.length === 1) && Ember.assert(\"You defined the '\" + name + \"' relationship on \" + this + \", but multiple possible inverse relationships of type \" + this + \" were found on \" + inverseType + \". Look at https://guides.emberjs.com/current/models/relationships/#toc_explicit-inverses for how to explicitly specify inverses\",possibleRelationships.length === 1);inverseName = possibleRelationships[0].name;inverseKind = possibleRelationships[0].kind;}return {type:inverseType,name:inverseName,kind:inverseKind};}, /**\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   */relationships:relationshipsDescriptor, /**\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   */relationshipNames:Ember.computed(function(){var names={hasMany:[],belongsTo:[]};this.eachComputedProperty(function(name,meta){if(meta.isRelationship){names[meta.kind].push(name);}});return names;}), /**\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   */relatedTypes:relatedTypesDescriptor, /**\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   */relationshipsByName:relationshipsByNameDescriptor, /**\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   */fields:Ember.computed(function(){var map=Ember.Map.create();this.eachComputedProperty(function(name,meta){if(meta.isRelationship){map.set(name,meta.kind);}else if(meta.isAttribute){map.set(name,'attribute');}});return map;}).readOnly(), /**\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   */eachRelationship:function eachRelationship(callback,binding){Ember.get(this,'relationshipsByName').forEach(function(relationship,name){callback.call(binding,name,relationship);});}, /**\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   */eachRelatedType:function eachRelatedType(callback,binding){var relationshipTypes=Ember.get(this,'relatedTypes');for(var i=0;i < relationshipTypes.length;i++) {var type=relationshipTypes[i];callback.call(binding,type);}},determineRelationshipType:function determineRelationshipType(knownSide,store){var knownKey=knownSide.key;var knownKind=knownSide.kind;var inverse=this.inverseFor(knownKey,store); // let key;\nvar otherKind=void 0;if(!inverse){return knownKind === 'belongsTo'?'oneToNone':'manyToNone';} // key = inverse.name;\notherKind = inverse.kind;if(otherKind === 'belongsTo'){return knownKind === 'belongsTo'?'oneToOne':'manyToOne';}else {return knownKind === 'belongsTo'?'oneToMany':'manyToMany';}}, /**\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   */attributes:Ember.computed(function(){var _this3=this;var map=Ember.Map.create();this.eachComputedProperty(function(name,meta){if(meta.isAttribute){true && !(name !== 'id') && Ember.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');meta.name = name;map.set(name,meta);}});return map;}).readOnly(), /**\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   */transformedAttributes:Ember.computed(function(){var map=Ember.Map.create();this.eachAttribute(function(key,meta){if(meta.type){map.set(key,meta.type);}});return map;}).readOnly(), /**\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   */eachAttribute:function eachAttribute(callback,binding){Ember.get(this,'attributes').forEach(function(meta,name){callback.call(binding,name,meta);});}, /**\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   */eachTransformedAttribute:function eachTransformedAttribute(callback,binding){Ember.get(this,'transformedAttributes').forEach(function(type,name){callback.call(binding,name,type);});}}); // 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){Object.defineProperty(Model.prototype,'container',{configurable:true,enumerable:false,get:function get(){true && !false && Ember.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'});return this.store.container;}});}if(isEnabled('ds-rollback-attribute')){Model.reopen({ /**\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    */rollbackAttribute:function rollbackAttribute(attributeName){if(attributeName in this._internalModel._attributes){this.set(attributeName,this._internalModel.lastAcknowledgedValue(attributeName));}}});}{Model.reopen({ // This is a temporary solution until we refactor DS.Model to not\n// rely on the data property.\nwillMergeMixin:function willMergeMixin(props){var constructor=this.constructor;true && !!intersection(Object.keys(props),RESERVED_MODEL_PROPS)[0] && Ember.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]);true && !(Object.keys(props).indexOf('id') === -1) && Ember.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     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     */didDefineProperty:function didDefineProperty(proto,key,value){ // Check if the value being set is a computed property.\nif(value instanceof Ember.ComputedProperty){ // 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.\nvar meta=value.meta(); /*\n          This is buggy because if the parent has never been looked up\n          via `modelFor` it will not have `modelName` set.\n         */meta.parentType = proto.constructor;}}});}var SOURCE_POINTER_REGEXP=/^\\/?data\\/(attributes|relationships)\\/(.*)/;var SOURCE_POINTER_PRIMARY_REGEXP=/^\\/?data/;var PRIMARY_ATTRIBUTE_KEY='base'; /**\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 Route from '@ember/routing/route';\n  import MaintenanceError from '../adapters/maintenance-error';\n\n  export default Route.extend({\n    actions: {\n      error(error, transition) {\n        if (error instanceof MaintenanceError) {\n          this.transitionTo('under-maintenance');\n          return;\n        }\n\n        // ...other error handling logic\n      }\n    }\n  });\n  ```\n\n  @class AdapterError\n  @namespace DS\n*/function AdapterError(errors){var message=arguments.length > 1 && arguments[1] !== undefined?arguments[1]:'Adapter operation failed';this.isAdapterError = true;Ember.Error.call(this,message);this.errors = errors || [{title:'Adapter Error',detail:message}];}function extendFn(ErrorClass){return function(){var _ref=arguments.length > 0 && arguments[0] !== undefined?arguments[0]:{},defaultMessage=_ref.message;return extend(ErrorClass,defaultMessage);};}function extend(ParentErrorClass,defaultMessage){var ErrorClass=function ErrorClass(errors,message){true && !Array.isArray(errors || []) && Ember.assert('`AdapterError` expects json-api formatted errors array.',Array.isArray(errors || []));ParentErrorClass.call(this,errors,message || defaultMessage);};ErrorClass.prototype = Object.create(ParentErrorClass.prototype);ErrorClass.extend = extendFn(ErrorClass);return ErrorClass;}AdapterError.prototype = Object.create(Ember.Error.prototype);AdapterError.extend = extendFn(AdapterError); /**\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 RSVP from 'RSVP';\n  import DS from 'ember-data';\n\n  export default DS.RESTAdapter.extend({\n    updateRecord() {\n      // Fictional adapter that always rejects\n      return 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*/var InvalidError=extend(AdapterError,'The adapter rejected the commit because it was invalid'); /**\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 Route from '@ember/routing/route';\n  import DS from 'ember-data';\n\n  const { TimeoutError } = DS;\n\n  export default Route.extend({\n    actions: {\n      error(error, transition) {\n        if (error instanceof TimeoutError) {\n          // alert the user\n          alert('Are you still connected to the internet?');\n          return;\n        }\n\n        // ...other error handling logic\n      }\n    }\n  });\n  ```\n\n  @class TimeoutError\n  @namespace DS\n*/var TimeoutError=extend(AdapterError,'The adapter operation timed out'); /**\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*/var AbortError=extend(AdapterError,'The adapter operation was aborted'); /**\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 Route from '@ember/routing/route';\n  import DS from 'ember-data';\n\n  const { UnauthorizedError } = DS;\n\n  export default Route.extend({\n    actions: {\n      error(error, transition) {\n        if (error instanceof UnauthorizedError) {\n          // go to the sign in route\n          this.transitionTo('login');\n          return;\n        }\n\n        // ...other error handling logic\n      }\n    }\n  });\n  ```\n\n  @class UnauthorizedError\n  @namespace DS\n*/var UnauthorizedError=extend(AdapterError,'The adapter operation is unauthorized'); /**\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*/var ForbiddenError=extend(AdapterError,'The adapter operation is forbidden'); /**\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 Route from '@ember/routing/route';\n  import DS from 'ember-data';\n\n  const { NotFoundError } = DS;\n\n  export default Route.extend({\n    model(params) {\n      return this.get('store').findRecord('post', params.post_id);\n    },\n\n    actions: {\n      error(error, transition) {\n        if (error instanceof NotFoundError) {\n          // redirect to a list of all posts instead\n          this.transitionTo('posts');\n        } else {\n          // otherwise let the error bubble\n          return true;\n        }\n      }\n    }\n  });\n  ```\n\n  @class NotFoundError\n  @namespace DS\n*/var NotFoundError=extend(AdapterError,'The adapter could not find the resource'); /**\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*/var ConflictError=extend(AdapterError,'The adapter operation failed due to a conflict'); /**\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*/var ServerError=extend(AdapterError,'The adapter operation failed due to a server error'); /**\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*/function errorsHashToArray(errors){var out=[];if(Ember.isPresent(errors)){Object.keys(errors).forEach(function(key){var messages=Ember.makeArray(errors[key]);for(var i=0;i < messages.length;i++) {var title='Invalid Attribute';var pointer='/data/attributes/' + key;if(key === PRIMARY_ATTRIBUTE_KEY){title = 'Invalid Document';pointer = '/data';}out.push({title:title,detail:messages[i],source:{pointer:pointer}});}});}return out;} /**\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*/function errorsArrayToHash(errors){var out={};if(Ember.isPresent(errors)){errors.forEach(function(error){if(error.source && error.source.pointer){var key=error.source.pointer.match(SOURCE_POINTER_REGEXP);if(key){key = key[2];}else if(error.source.pointer.search(SOURCE_POINTER_PRIMARY_REGEXP) !== -1){key = PRIMARY_ATTRIBUTE_KEY;}if(key){out[key] = out[key] || [];out[key].push(error.detail || error.title);}}});}return out;}var EmberOrderedSet=Ember.OrderedSet;function OrderedSet(){this._super$constructor();}OrderedSet.create = function(){var Constructor=this;return new Constructor();};OrderedSet.prototype = Object.create(EmberOrderedSet.prototype);OrderedSet.prototype.constructor = OrderedSet;OrderedSet.prototype._super$constructor = EmberOrderedSet;OrderedSet.prototype.addWithIndex = function(obj,idx){var guid=Ember.guidFor(obj);var presenceSet=this.presenceSet;var list=this.list;if(presenceSet[guid] === true){return;}presenceSet[guid] = true;if(idx === undefined || idx === null){list.push(obj);}else {list.splice(idx,0,obj);}this.size += 1;return this;}; /*\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*/function _normalizeLink(link){switch(typeof link){case 'object':return link;case 'string':return {href:link};}return null;}var _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;};})();function _classCallCheck$5(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError(\"Cannot call a class as a function\");}}var Relationship=(function(){function Relationship(store,internalModel,inverseKey,relationshipMeta){_classCallCheck$5(this,Relationship);var async=relationshipMeta.options.async;var polymorphic=relationshipMeta.options.polymorphic;this.members = new OrderedSet();this.canonicalMembers = new OrderedSet();this.store = store;this.key = relationshipMeta.key;this.inverseKey = inverseKey;this.internalModel = internalModel;this.isAsync = typeof async === 'undefined'?true:async;this.isPolymorphic = typeof polymorphic === 'undefined'?true:polymorphic;this.relationshipMeta = relationshipMeta; //This probably breaks for polymorphic relationship in complex scenarios, due to\n//multiple possible modelNames\nthis.inverseKeyForImplicit = this.internalModel.modelName + this.key;this.linkPromise = null;this.meta = null;this.hasData = false;this.hasLoaded = false;this.__inverseMeta = undefined;}Relationship.prototype._inverseIsAsync = function _inverseIsAsync(){var inverseMeta=this._inverseMeta;if(!inverseMeta){return false;}var inverseAsync=inverseMeta.options.async;return typeof inverseAsync === 'undefined'?true:inverseAsync;};Relationship.prototype._inverseIsSync = function _inverseIsSync(){var inverseMeta=this._inverseMeta;if(!inverseMeta){return false;}var inverseAsync=inverseMeta.options.async;return typeof inverseAsync === 'undefined'?false:!inverseAsync;};Relationship.prototype.internalModelDidDematerialize = function internalModelDidDematerialize(){var _this=this;if(!this.inverseKey){return;}this.forAllMembers(function(inverseInternalModel){var relationship=inverseInternalModel._relationships.get(_this.inverseKey);relationship.inverseDidDematerialize(_this.internalModel);});};Relationship.prototype.inverseDidDematerialize = function inverseDidDematerialize(inverseInternalModel){if(!this.isAsync){ // unloading inverse of a sync relationship is treated as a client-side\n// delete, so actually remove the models don't merely invalidate the cp\n// cache.\nthis.removeInternalModelFromOwn(inverseInternalModel);this.removeCanonicalInternalModelFromOwn(inverseInternalModel);}};Relationship.prototype.updateMeta = function updateMeta(meta){this.meta = meta;};Relationship.prototype.clear = function clear(){var members=this.members.list;while(members.length > 0) {var member=members[0];this.removeInternalModel(member);}var canonicalMembers=this.canonicalMembers.list;while(canonicalMembers.length > 0) {var _member=canonicalMembers[0];this.removeCanonicalInternalModel(_member);}};Relationship.prototype.removeAllInternalModelsFromOwn = function removeAllInternalModelsFromOwn(){this.members.clear();this.internalModel.updateRecordArrays();};Relationship.prototype.removeAllCanonicalInternalModelsFromOwn = function removeAllCanonicalInternalModelsFromOwn(){this.canonicalMembers.clear();this.flushCanonicalLater();};Relationship.prototype.removeInternalModels = function removeInternalModels(internalModels){var _this2=this;internalModels.forEach(function(internalModel){return _this2.removeInternalModel(internalModel);});};Relationship.prototype.addInternalModels = function addInternalModels(internalModels,idx){var _this3=this;internalModels.forEach(function(internalModel){_this3.addInternalModel(internalModel,idx);if(idx !== undefined){idx++;}});};Relationship.prototype.addCanonicalInternalModels = function addCanonicalInternalModels(internalModels,idx){for(var i=0;i < internalModels.length;i++) {if(idx !== undefined){this.addCanonicalInternalModel(internalModels[i],i + idx);}else {this.addCanonicalInternalModel(internalModels[i]);}}};Relationship.prototype.addCanonicalInternalModel = function addCanonicalInternalModel(internalModel,idx){if(!this.canonicalMembers.has(internalModel)){this.canonicalMembers.add(internalModel);this.setupInverseRelationship(internalModel);}this.flushCanonicalLater();this.setHasData(true);};Relationship.prototype.setupInverseRelationship = function setupInverseRelationship(internalModel){if(this.inverseKey){var relationships=internalModel._relationships;var relationshipExisted=relationships.has(this.inverseKey);var relationship=relationships.get(this.inverseKey);if(relationshipExisted || this.isPolymorphic){ // 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.\nrelationship.addCanonicalInternalModel(this.internalModel);}}else {var _relationships=internalModel._implicitRelationships;var _relationship=_relationships[this.inverseKeyForImplicit];if(!_relationship){_relationship = _relationships[this.inverseKeyForImplicit] = new Relationship(this.store,internalModel,this.key,{options:{async:this.isAsync},type:this.parentType});}_relationship.addCanonicalInternalModel(this.internalModel);}};Relationship.prototype.removeCanonicalInternalModels = function removeCanonicalInternalModels(internalModels,idx){for(var i=0;i < internalModels.length;i++) {if(idx !== undefined){this.removeCanonicalInternalModel(internalModels[i],i + idx);}else {this.removeCanonicalInternalModel(internalModels[i]);}}};Relationship.prototype.removeCanonicalInternalModel = function removeCanonicalInternalModel(internalModel,idx){if(this.canonicalMembers.has(internalModel)){this.removeCanonicalInternalModelFromOwn(internalModel);if(this.inverseKey){this.removeCanonicalInternalModelFromInverse(internalModel);}else {if(internalModel._implicitRelationships[this.inverseKeyForImplicit]){internalModel._implicitRelationships[this.inverseKeyForImplicit].removeCanonicalInternalModel(this.internalModel);}}}this.flushCanonicalLater();};Relationship.prototype.addInternalModel = function addInternalModel(internalModel,idx){if(!this.members.has(internalModel)){this.members.addWithIndex(internalModel,idx);this.notifyRecordRelationshipAdded(internalModel,idx);if(this.inverseKey){internalModel._relationships.get(this.inverseKey).addInternalModel(this.internalModel);}else {if(!internalModel._implicitRelationships[this.inverseKeyForImplicit]){internalModel._implicitRelationships[this.inverseKeyForImplicit] = new Relationship(this.store,internalModel,this.key,{options:{async:this.isAsync},type:this.parentType});}internalModel._implicitRelationships[this.inverseKeyForImplicit].addInternalModel(this.internalModel);}this.internalModel.updateRecordArrays();}this.setHasData(true);};Relationship.prototype.removeInternalModel = function removeInternalModel(internalModel){if(this.members.has(internalModel)){this.removeInternalModelFromOwn(internalModel);if(this.inverseKey){this.removeInternalModelFromInverse(internalModel);}else {if(internalModel._implicitRelationships[this.inverseKeyForImplicit]){internalModel._implicitRelationships[this.inverseKeyForImplicit].removeInternalModel(this.internalModel);}}}};Relationship.prototype.removeInternalModelFromInverse = function removeInternalModelFromInverse(internalModel){var inverseRelationship=internalModel._relationships.get(this.inverseKey); //Need to check for existence, as the record might unloading at the moment\nif(inverseRelationship){inverseRelationship.removeInternalModelFromOwn(this.internalModel);}};Relationship.prototype.removeInternalModelFromOwn = function removeInternalModelFromOwn(internalModel){this.members['delete'](internalModel);this.internalModel.updateRecordArrays();};Relationship.prototype.removeCanonicalInternalModelFromInverse = function removeCanonicalInternalModelFromInverse(internalModel){var inverseRelationship=internalModel._relationships.get(this.inverseKey); //Need to check for existence, as the record might unloading at the moment\nif(inverseRelationship){inverseRelationship.removeCanonicalInternalModelFromOwn(this.internalModel);}};Relationship.prototype.removeCanonicalInternalModelFromOwn = function removeCanonicalInternalModelFromOwn(internalModel){this.canonicalMembers['delete'](internalModel);this.flushCanonicalLater();}; /*\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   */Relationship.prototype.removeCompletelyFromInverse = function removeCompletelyFromInverse(){var _this4=this;if(!this.inverseKey){return;} // we actually want a union of members and canonicalMembers\n// they should be disjoint but currently are not due to a bug\nvar seen=Object.create(null);var internalModel=this.internalModel;var unload=function unload(inverseInternalModel){var id=Ember.guidFor(inverseInternalModel);if(seen[id] === undefined){var relationship=inverseInternalModel._relationships.get(_this4.inverseKey);relationship.removeCompletelyFromOwn(internalModel);seen[id] = true;}};this.members.forEach(unload);this.canonicalMembers.forEach(unload);if(!this.isAsync){this.clear();}};Relationship.prototype.forAllMembers = function forAllMembers(callback){var seen=Object.create(null);for(var i=0;i < this.members.list.length;i++) {var inverseInternalModel=this.members.list[i];var id=Ember.guidFor(inverseInternalModel);if(!seen[id]){seen[id] = true;callback(inverseInternalModel);}}for(var _i=0;_i < this.canonicalMembers.list.length;_i++) {var _inverseInternalModel=this.canonicalMembers.list[_i];var _id=Ember.guidFor(_inverseInternalModel);if(!seen[_id]){seen[_id] = true;callback(_inverseInternalModel);}}}; /*\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   */Relationship.prototype.removeCompletelyFromOwn = function removeCompletelyFromOwn(internalModel){this.canonicalMembers['delete'](internalModel);this.members['delete'](internalModel);this.internalModel.updateRecordArrays();};Relationship.prototype.flushCanonical = function flushCanonical(){var list=this.members.list;this.willSync = false; //a hack for not removing new internalModels\n//TODO remove once we have proper diffing\nvar newInternalModels=[];for(var i=0;i < list.length;i++) {if(list[i].isNew()){newInternalModels.push(list[i]);}} //TODO(Igor) make this less abysmally slow\nthis.members = this.canonicalMembers.copy();for(var _i2=0;_i2 < newInternalModels.length;_i2++) {this.members.add(newInternalModels[_i2]);}};Relationship.prototype.flushCanonicalLater = function flushCanonicalLater(){if(this.willSync){return;}this.willSync = true;this.store._updateRelationshipState(this);};Relationship.prototype.updateLink = function updateLink(link,initial){true && Ember.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,{id:'ds.store.push-link-for-sync-relationship'});true && !(typeof link === 'string' || link === null) && Ember.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);this.link = link;this.linkPromise = null;if(!initial){this.internalModel.notifyPropertyChange(this.key);}};Relationship.prototype.findLink = function findLink(){if(this.linkPromise){return this.linkPromise;}else {var promise=this.fetchLink();this.linkPromise = promise;return promise.then(function(result){return result;});}};Relationship.prototype.updateInternalModelsFromAdapter = function updateInternalModelsFromAdapter(internalModels){this.setHasData(true); //TODO(Igor) move this to a proper place\n//TODO Once we have adapter support, we need to handle updated and canonical changes\nthis.computeChanges(internalModels);};Relationship.prototype.notifyRecordRelationshipAdded = function notifyRecordRelationshipAdded(){}; /*\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   */Relationship.prototype.setHasData = function setHasData(value){this.hasData = value;}; /*\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   */Relationship.prototype.setHasLoaded = function setHasLoaded(value){this.hasLoaded = value;}; /*\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   */Relationship.prototype.push = function push(payload,initial){var hasData=false;var hasLink=false;if(payload.meta){this.updateMeta(payload.meta);}if(payload.data !== undefined){hasData = true;this.updateData(payload.data,initial);}if(payload.links && payload.links.related){var relatedLink=_normalizeLink(payload.links.related);if(relatedLink && relatedLink.href && relatedLink.href !== this.link){hasLink = true;this.updateLink(relatedLink.href,initial);}} /*\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     */if(hasData){this.setHasData(true);this.setHasLoaded(true);}else if(hasLink){this.setHasLoaded(false);}};Relationship.prototype.updateData = function updateData(){};Relationship.prototype.destroy = function destroy(){};_createClass$4(Relationship,[{key:'_inverseMeta',get:function get(){if(this.__inverseMeta === undefined){var inverseMeta=null;if(this.inverseKey){var inverseModelClass=this.store.modelFor(this.relationshipMeta.type);var inverseRelationships=Ember.get(inverseModelClass,'relationshipsByName');inverseMeta = inverseRelationships.get(this.inverseKey);}this.__inverseMeta = inverseMeta;}return this.__inverseMeta;}},{key:'parentType',get:function get(){return this.internalModel.modelName;}}]);return Relationship;})();function _bind(fn){for(var _len=arguments.length,args=Array(_len > 1?_len - 1:0),_key=1;_key < _len;_key++) {args[_key - 1] = arguments[_key];}return function(){return fn.apply(undefined,args);};}function _guard(promise,test){var guarded=promise['finally'](function(){if(!test()){guarded._subscribers.length = 0;}});return guarded;}function _objectIsAlive(object){return !(Ember.get(object,\"isDestroyed\") || Ember.get(object,\"isDestroying\"));} /**\n  @namespace\n  @method diffArray\n  @private\n  @param {Array} oldArray the old array\n  @param {Array} newArray the new array\n  @return {hash} {\n      firstChangeIndex: <integer>,  // null if no change\n      addedCount: <integer>,        // 0 if no change\n      removedCount: <integer>       // 0 if no change\n    }\n*/function diffArray(oldArray,newArray){var oldLength=oldArray.length;var newLength=newArray.length;var shortestLength=Math.min(oldLength,newLength);var firstChangeIndex=null; // null signifies no changes\n// find the first change\nfor(var i=0;i < shortestLength;i++) { // compare each item in the array\nif(oldArray[i] !== newArray[i]){firstChangeIndex = i;break;}}if(firstChangeIndex === null && newLength !== oldLength){ // no change found in the overlapping block\n// and array lengths differ,\n// so change starts at end of overlap\nfirstChangeIndex = shortestLength;}var addedCount=0;var removedCount=0;if(firstChangeIndex !== null){ // we found a change, find the end of the change\nvar unchangedEndBlockLength=shortestLength - firstChangeIndex; // walk back from the end of both arrays until we find a change\nfor(var _i=1;_i <= shortestLength;_i++) { // compare each item in the array\nif(oldArray[oldLength - _i] !== newArray[newLength - _i]){unchangedEndBlockLength = _i - 1;break;}}addedCount = newLength - unchangedEndBlockLength - firstChangeIndex;removedCount = oldLength - unchangedEndBlockLength - firstChangeIndex;}return {firstChangeIndex:firstChangeIndex,addedCount:addedCount,removedCount:removedCount};} /**\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*/var ManyArray=Ember.Object.extend(Ember.MutableArray,Ember.Evented,{init:function init(){this._super.apply(this,arguments); /**\n    The loading state of this array\n     @property {Boolean} isLoaded\n    */this.isLoaded = false;this.length = 0; /**\n    Used for async `hasMany` arrays\n    to keep track of when they will resolve.\n     @property {Ember.RSVP.Promise} promise\n    @private\n    */this.promise = null; /**\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    */this.meta = this.meta || null; /**\n    `true` if the relationship is polymorphic, `false` otherwise.\n     @property {Boolean} isPolymorphic\n    @private\n    */this.isPolymorphic = this.isPolymorphic || false; /**\n    The relationship which manages this array.\n     @property {ManyRelationship} relationship\n    @private\n    */this.relationship = this.relationship || null;this.currentState = [];this.flushCanonical(false);},objectAt:function objectAt(index){var internalModel=this.currentState[index];if(internalModel === undefined){return;}return internalModel.getRecord();},flushCanonical:function flushCanonical(){var isInitialized=arguments.length > 0 && arguments[0] !== undefined?arguments[0]:true; // It’s possible the parent side of the relationship may have been unloaded by this point\nif(!_objectIsAlive(this)){return;}var toSet=this.canonicalState; //a hack for not removing new records\n//TODO remove once we have proper diffing\nvar newInternalModels=this.currentState.filter( // only add new internalModels which are not yet in the canonical state of this\n// relationship (a new internalModel can be in the canonical state if it has\nfunction(internalModel){return internalModel.isNew() && toSet.indexOf(internalModel) === -1;});toSet = toSet.concat(newInternalModels); // diff to find changes\nvar diff=diffArray(this.currentState,toSet);if(diff.firstChangeIndex !== null){ // it's null if no change found\n// we found a change\nthis.arrayContentWillChange(diff.firstChangeIndex,diff.removedCount,diff.addedCount);this.set('length',toSet.length);this.currentState = toSet;this.arrayContentDidChange(diff.firstChangeIndex,diff.removedCount,diff.addedCount);if(isInitialized && diff.addedCount > 0){ //notify only on additions\n//TODO only notify if unloaded\nthis.relationship.notifyHasManyChanged();}}},internalReplace:function internalReplace(idx,amt,objects){if(!objects){objects = [];}this.arrayContentWillChange(idx,amt,objects.length);this.currentState.splice.apply(this.currentState,[idx,amt].concat(objects));this.set('length',this.currentState.length);this.arrayContentDidChange(idx,amt,objects.length);}, //TODO(Igor) optimize\n_removeInternalModels:function _removeInternalModels(internalModels){for(var i=0;i < internalModels.length;i++) {var index=this.currentState.indexOf(internalModels[i]);this.internalReplace(index,1);}}, //TODO(Igor) optimize\n_addInternalModels:function _addInternalModels(internalModels,idx){if(idx === undefined){idx = this.currentState.length;}this.internalReplace(idx,0,internalModels);},replace:function replace(idx,amt,objects){var internalModels=void 0;if(amt > 0){internalModels = this.currentState.slice(idx,idx + amt);this.get('relationship').removeInternalModels(internalModels);}if(objects){this.get('relationship').addInternalModels(objects.map(function(obj){return obj._internalModel;}),idx);}}, /**\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  */reload:function reload(){return this.relationship.reload();}, /**\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  */save:function save(){var manyArray=this;var promiseLabel='DS: ManyArray#save ' + Ember.get(this,'type');var promise=Ember.RSVP.all(this.invoke(\"save\"),promiseLabel).then(function(){return manyArray;},null,'DS: ManyArray#save return ManyArray');return PromiseArray.create({promise:promise});}, /**\n    Create a child record within the owner\n     @method createRecord\n    @private\n    @param {Object} hash\n    @return {DS.Model} record\n  */createRecord:function createRecord(hash){var store=Ember.get(this,'store');var type=Ember.get(this,'type');true && !!Ember.get(this,'isPolymorphic') && Ember.assert('You cannot add \\'' + type.modelName + '\\' records to this polymorphic relationship.',!Ember.get(this,'isPolymorphic'));var record=store.createRecord(type.modelName,hash);this.pushObject(record);return record;}});var _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;};})();function _classCallCheck$4(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError(\"Cannot call a class as a function\");}}function _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;}function _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;}var ManyRelationship=(function(_Relationship){_inherits(ManyRelationship,_Relationship);function ManyRelationship(store,internalModel,inverseKey,relationshipMeta){_classCallCheck$4(this,ManyRelationship);var _this=_possibleConstructorReturn(this,_Relationship.call(this,store,internalModel,inverseKey,relationshipMeta));_this.belongsToType = relationshipMeta.type;_this.canonicalState = [];_this.isPolymorphic = relationshipMeta.options.polymorphic; // The ManyArray for this relationship\n_this._manyArray = null; // The previous ManyArray for this relationship.  It will be destroyed when\n// we create a new many array, but in the interim it will be updated if\n// inverse internal models are unloaded.\n_this._retainedManyArray = null;_this.__loadingPromise = null;return _this;}ManyRelationship.prototype._updateLoadingPromise = function _updateLoadingPromise(promise,content){if(this.__loadingPromise){if(content){this.__loadingPromise.set('content',content);}this.__loadingPromise.set('promise',promise);}else {this.__loadingPromise = PromiseManyArray.create({promise:promise,content:content});}return this.__loadingPromise;};ManyRelationship.prototype.removeInverseRelationships = function removeInverseRelationships(){_Relationship.prototype.removeInverseRelationships.call(this);if(this._manyArray){this._manyArray.destroy();this._manyArray = null;}if(this._loadingPromise){this._loadingPromise.destroy();}};ManyRelationship.prototype.updateMeta = function updateMeta(meta){_Relationship.prototype.updateMeta.call(this,meta);if(this._manyArray){this._manyArray.set('meta',meta);}};ManyRelationship.prototype.addCanonicalInternalModel = function addCanonicalInternalModel(internalModel,idx){if(this.canonicalMembers.has(internalModel)){return;}if(idx !== undefined){this.canonicalState.splice(idx,0,internalModel);}else {this.canonicalState.push(internalModel);}_Relationship.prototype.addCanonicalInternalModel.call(this,internalModel,idx);};ManyRelationship.prototype.inverseDidDematerialize = function inverseDidDematerialize(inverseInternalModel){_Relationship.prototype.inverseDidDematerialize.call(this,inverseInternalModel);if(this.isAsync){if(this._manyArray){this._retainedManyArray = this._manyArray;this._manyArray = null;}this._removeInternalModelFromManyArray(this._retainedManyArray,inverseInternalModel);}this.notifyHasManyChanged();};ManyRelationship.prototype.addInternalModel = function addInternalModel(internalModel,idx){if(this.members.has(internalModel)){return;}(0,_emberDataDebug.assertPolymorphicType)(this.internalModel,this.relationshipMeta,internalModel);_Relationship.prototype.addInternalModel.call(this,internalModel,idx); // make lazy later\nthis.manyArray._addInternalModels([internalModel],idx);};ManyRelationship.prototype.removeCanonicalInternalModelFromOwn = function removeCanonicalInternalModelFromOwn(internalModel,idx){var i=idx;if(!this.canonicalMembers.has(internalModel)){return;}if(i === undefined){i = this.canonicalState.indexOf(internalModel);}if(i > -1){this.canonicalState.splice(i,1);}_Relationship.prototype.removeCanonicalInternalModelFromOwn.call(this,internalModel,idx);};ManyRelationship.prototype.removeAllCanonicalInternalModelsFromOwn = function removeAllCanonicalInternalModelsFromOwn(){_Relationship.prototype.removeAllCanonicalInternalModelsFromOwn.call(this);this.canonicalMembers.clear();this.canonicalState.splice(0,this.canonicalState.length);};ManyRelationship.prototype.removeCompletelyFromOwn = function removeCompletelyFromOwn(internalModel){_Relationship.prototype.removeCompletelyFromOwn.call(this,internalModel);var canonicalIndex=this.canonicalState.indexOf(internalModel);if(canonicalIndex !== -1){this.canonicalState.splice(canonicalIndex,1);}var manyArray=this._manyArray;if(manyArray){var idx=manyArray.currentState.indexOf(internalModel);if(idx !== -1){manyArray.internalReplace(idx,1);}}};ManyRelationship.prototype.flushCanonical = function flushCanonical(){if(this._manyArray){this._manyArray.flushCanonical();}_Relationship.prototype.flushCanonical.call(this);};ManyRelationship.prototype.removeInternalModelFromOwn = function removeInternalModelFromOwn(internalModel,idx){if(!this.members.has(internalModel)){return;}_Relationship.prototype.removeInternalModelFromOwn.call(this,internalModel,idx); // note that ensuring the many array is created, via `this.manyArray`\n// (instead of `this._manyArray`) is intentional.\n//\n// Because we're removing from local, and not canonical, state, it is\n// important that the many array is initialized now with those changes,\n// otherwise it will be initialized with canonical state and we'll have\n// lost the fact that this internalModel was removed.\nthis._removeInternalModelFromManyArray(this.manyArray,internalModel,idx);this._removeInternalModelFromManyArray(this._retainedManyArray,internalModel,idx);};ManyRelationship.prototype.removeAllInternalModelsFromOwn = function removeAllInternalModelsFromOwn(){_Relationship.prototype.removeAllInternalModelsFromOwn.call(this); // as with removeInternalModelFromOwn, we make sure the many array is\n// instantiated, or we'll lose local removals, as we're not updating\n// canonical state here.\nthis.manyArray.clear();if(this._retainedManyArray){this._retainedManyArray.clear();}};ManyRelationship.prototype._removeInternalModelFromManyArray = function _removeInternalModelFromManyArray(manyArray,internalModel,idx){if(manyArray === null){return;}if(idx !== undefined){ //TODO(Igor) not used currently, fix\nmanyArray.currentState.removeAt(idx);}else {manyArray._removeInternalModels([internalModel]);}};ManyRelationship.prototype.notifyRecordRelationshipAdded = function notifyRecordRelationshipAdded(internalModel,idx){this.internalModel.notifyHasManyAdded(this.key,internalModel,idx);};ManyRelationship.prototype.reload = function reload(){var manyArray=this.manyArray;var manyArrayLoadedState=manyArray.get('isLoaded');if(this._loadingPromise){if(this._loadingPromise.get('isPending')){return this._loadingPromise;}if(this._loadingPromise.get('isRejected')){manyArray.set('isLoaded',manyArrayLoadedState);}}var promise=void 0;if(this.link){promise = this.fetchLink();}else {promise = this.store._scheduleFetchMany(manyArray.currentState).then(function(){return manyArray;});}this._updateLoadingPromise(promise);return this._loadingPromise;};ManyRelationship.prototype.computeChanges = function computeChanges(){var internalModels=arguments.length > 0 && arguments[0] !== undefined?arguments[0]:[];var members=this.canonicalMembers;var internalModelsToRemove=[];var internalModelSet=setForArray(internalModels);members.forEach(function(member){if(internalModelSet.has(member)){return;}internalModelsToRemove.push(member);});this.removeCanonicalInternalModels(internalModelsToRemove);for(var i=0,l=internalModels.length;i < l;i++) {var internalModel=internalModels[i];this.removeCanonicalInternalModel(internalModel);this.addCanonicalInternalModel(internalModel,i);}};ManyRelationship.prototype.setInitialInternalModels = function setInitialInternalModels(internalModels){if(Array.isArray(internalModels) === false || internalModels.length === 0){return;}for(var i=0;i < internalModels.length;i++) {var internalModel=internalModels[i];if(this.canonicalMembers.has(internalModel)){continue;}this.canonicalMembers.add(internalModel);this.members.add(internalModel);this.setupInverseRelationship(internalModel);}this.canonicalState = this.canonicalMembers.toArray();};ManyRelationship.prototype.fetchLink = function fetchLink(){var _this2=this;return this.store.findHasMany(this.internalModel,this.link,this.relationshipMeta).then(function(records){if(records.hasOwnProperty('meta')){_this2.updateMeta(records.meta);}_this2.store._backburner.join(function(){_this2.updateInternalModelsFromAdapter(records);_this2.manyArray.set('isLoaded',true);_this2.setHasData(true);});return _this2.manyArray;});};ManyRelationship.prototype.findRecords = function findRecords(){var manyArray=this.manyArray;var internalModels=manyArray.currentState; //TODO CLEANUP\nreturn this.store.findMany(internalModels).then(function(){if(!manyArray.get('isDestroyed')){ //Goes away after the manyArray refactor\nmanyArray.set('isLoaded',true);}return manyArray;});};ManyRelationship.prototype.notifyHasManyChanged = function notifyHasManyChanged(){this.internalModel.notifyHasManyAdded(this.key);};ManyRelationship.prototype.getRecords = function getRecords(){var _this3=this; //TODO(Igor) sync server here, once our syncing is not stupid\nvar manyArray=this.manyArray;if(this.isAsync){var promise=void 0;if(this.link){if(this.hasLoaded){promise = this.findRecords();}else {promise = this.findLink().then(function(){return _this3.findRecords();});}}else {promise = this.findRecords();}return this._updateLoadingPromise(promise,manyArray);}else {true && !manyArray.isEvery('isEmpty',false) && Ember.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)); //TODO(Igor) WTF DO I DO HERE?\n// TODO @runspired equal WTFs to Igor\nif(!manyArray.get('isDestroyed')){manyArray.set('isLoaded',true);}return manyArray;}};ManyRelationship.prototype.updateData = function updateData(data,initial){var internalModels=this.store._pushResourceIdentifiers(this,data);if(initial){this.setInitialInternalModels(internalModels);}else {this.updateInternalModelsFromAdapter(internalModels);}};ManyRelationship.prototype.destroy = function destroy(){_Relationship.prototype.destroy.call(this);var manyArray=this._manyArray;if(manyArray){manyArray.destroy();this._manyArray = null;}var proxy=this.__loadingPromise;if(proxy){proxy.destroy();this.__loadingPromise = null;}};_createClass$3(ManyRelationship,[{key:'_loadingPromise',get:function get(){return this.__loadingPromise;}},{key:'manyArray',get:function get(){true && !(this._manyArray === null || this._retainedManyArray === null) && Ember.assert('Error: relationship ' + this.parentType + ':' + this.key + ' has both many array and retained many array',this._manyArray === null || this._retainedManyArray === null);if(!this._manyArray){this._manyArray = ManyArray.create({canonicalState:this.canonicalState,store:this.store,relationship:this,type:this.store.modelFor(this.belongsToType),record:this.internalModel,meta:this.meta,isPolymorphic:this.isPolymorphic});if(this._retainedManyArray !== null){this._retainedManyArray.destroy();this._retainedManyArray = null;}}return this._manyArray;}}]);return ManyRelationship;})(Relationship);function setForArray(array){var set=new OrderedSet();if(array){for(var i=0,l=array.length;i < l;i++) {set.add(array[i]);}}return set;}function _classCallCheck$6(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError(\"Cannot call a class as a function\");}}function _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;}function _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;}var BelongsToRelationship=(function(_Relationship){_inherits$1(BelongsToRelationship,_Relationship);function BelongsToRelationship(store,internalModel,inverseKey,relationshipMeta){_classCallCheck$6(this,BelongsToRelationship);var _this=_possibleConstructorReturn$1(this,_Relationship.call(this,store,internalModel,inverseKey,relationshipMeta));_this.internalModel = internalModel;_this.key = relationshipMeta.key;_this.inverseInternalModel = null;_this.canonicalState = null;return _this;}BelongsToRelationship.prototype.setInternalModel = function setInternalModel(internalModel){if(internalModel){this.addInternalModel(internalModel);}else if(this.inverseInternalModel){this.removeInternalModel(this.inverseInternalModel);}this.setHasData(true);this.setHasLoaded(true);};BelongsToRelationship.prototype.setCanonicalInternalModel = function setCanonicalInternalModel(internalModel){if(internalModel){this.addCanonicalInternalModel(internalModel);}else if(this.canonicalState){this.removeCanonicalInternalModel(this.canonicalState);}this.flushCanonicalLater();};BelongsToRelationship.prototype.setInitialCanonicalInternalModel = function setInitialCanonicalInternalModel(internalModel){if(!internalModel){return;} // 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\nthis.canonicalMembers.add(internalModel);this.members.add(internalModel);this.inverseInternalModel = this.canonicalState = internalModel;this.setupInverseRelationship(internalModel);};BelongsToRelationship.prototype.addCanonicalInternalModel = function addCanonicalInternalModel(internalModel){if(this.canonicalMembers.has(internalModel)){return;}if(this.canonicalState){this.removeCanonicalInternalModel(this.canonicalState);}this.canonicalState = internalModel;_Relationship.prototype.addCanonicalInternalModel.call(this,internalModel);};BelongsToRelationship.prototype.inverseDidDematerialize = function inverseDidDematerialize(){_Relationship.prototype.inverseDidDematerialize.call(this,this.inverseInternalModel);this.notifyBelongsToChanged();};BelongsToRelationship.prototype.removeCompletelyFromOwn = function removeCompletelyFromOwn(internalModel){_Relationship.prototype.removeCompletelyFromOwn.call(this,internalModel);if(this.canonicalState === internalModel){this.canonicalState = null;}if(this.inverseInternalModel === internalModel){this.inverseInternalModel = null;this.notifyBelongsToChanged();}};BelongsToRelationship.prototype.removeCompletelyFromInverse = function removeCompletelyFromInverse(){_Relationship.prototype.removeCompletelyFromInverse.call(this);this.inverseInternalModel = null;};BelongsToRelationship.prototype.flushCanonical = function flushCanonical(){ //temporary fix to not remove newly created records if server returned null.\n//TODO remove once we have proper diffing\nif(this.inverseInternalModel && this.inverseInternalModel.isNew() && !this.canonicalState){return;}if(this.inverseInternalModel !== this.canonicalState){this.inverseInternalModel = this.canonicalState;this.notifyBelongsToChanged();}_Relationship.prototype.flushCanonical.call(this);};BelongsToRelationship.prototype.addInternalModel = function addInternalModel(internalModel){if(this.members.has(internalModel)){return;}(0,_emberDataDebug.assertPolymorphicType)(this.internalModel,this.relationshipMeta,internalModel);if(this.inverseInternalModel){this.removeInternalModel(this.inverseInternalModel);}this.inverseInternalModel = internalModel;_Relationship.prototype.addInternalModel.call(this,internalModel);this.notifyBelongsToChanged();};BelongsToRelationship.prototype.setRecordPromise = function setRecordPromise(newPromise){var content=newPromise.get && newPromise.get('content');true && !(content !== undefined) && Ember.assert(\"You passed in a promise that did not originate from an EmberData relationship. You can only pass promises that come from a belongsTo or hasMany relationship to the get call.\",content !== undefined);this.setInternalModel(content?content._internalModel:content);};BelongsToRelationship.prototype.removeInternalModelFromOwn = function removeInternalModelFromOwn(internalModel){if(!this.members.has(internalModel)){return;}this.inverseInternalModel = null;_Relationship.prototype.removeInternalModelFromOwn.call(this,internalModel);this.notifyBelongsToChanged();};BelongsToRelationship.prototype.removeAllInternalModelsFromOwn = function removeAllInternalModelsFromOwn(){_Relationship.prototype.removeAllInternalModelsFromOwn.call(this);this.inverseInternalModel = null;this.notifyBelongsToChanged();};BelongsToRelationship.prototype.notifyBelongsToChanged = function notifyBelongsToChanged(){this.internalModel.notifyBelongsToChanged(this.key);};BelongsToRelationship.prototype.removeCanonicalInternalModelFromOwn = function removeCanonicalInternalModelFromOwn(internalModel){if(!this.canonicalMembers.has(internalModel)){return;}this.canonicalState = null;_Relationship.prototype.removeCanonicalInternalModelFromOwn.call(this,internalModel);};BelongsToRelationship.prototype.removeAllCanonicalInternalModelsFromOwn = function removeAllCanonicalInternalModelsFromOwn(){_Relationship.prototype.removeAllCanonicalInternalModelsFromOwn.call(this);this.canonicalState = null;};BelongsToRelationship.prototype.findRecord = function findRecord(){if(this.inverseInternalModel){return this.store._findByInternalModel(this.inverseInternalModel);}else {return Ember.RSVP.Promise.resolve(null);}};BelongsToRelationship.prototype.fetchLink = function fetchLink(){var _this2=this;return this.store.findBelongsTo(this.internalModel,this.link,this.relationshipMeta).then(function(internalModel){if(internalModel){_this2.addInternalModel(internalModel);}return internalModel;});};BelongsToRelationship.prototype.getRecord = function getRecord(){var _this3=this; //TODO(Igor) flushCanonical here once our syncing is not stupid\nif(this.isAsync){var promise=void 0;if(this.link){if(this.hasLoaded){promise = this.findRecord();}else {promise = this.findLink().then(function(){return _this3.findRecord();});}}else {promise = this.findRecord();}return PromiseObject.create({promise:promise,content:this.inverseInternalModel?this.inverseInternalModel.getRecord():null});}else {if(this.inverseInternalModel === null){return null;}var toReturn=this.inverseInternalModel.getRecord();true && !(toReturn === null || !toReturn.get('isEmpty')) && Ember.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'));return toReturn;}};BelongsToRelationship.prototype.reload = function reload(){ // TODO handle case when reload() is triggered multiple times\nif(this.link){return this.fetchLink();} // reload record, if it is already loaded\nif(this.inverseInternalModel && this.inverseInternalModel.hasRecord){return this.inverseInternalModel.getRecord().reload();}return this.findRecord();};BelongsToRelationship.prototype.updateData = function updateData(data,initial){true && !(data === null || data.id !== undefined && data.type !== undefined) && Ember.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);var internalModel=this.store._pushResourceIdentifier(this,data);if(initial){this.setInitialCanonicalInternalModel(internalModel);}else {this.setCanonicalInternalModel(internalModel);}};return BelongsToRelationship;})(Relationship);var _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;};})();function _classCallCheck$3(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError(\"Cannot call a class as a function\");}}function shouldFindInverse(relationshipMeta){var options=relationshipMeta.options;return !(options && options.inverse === null);}function createRelationshipFor(internalModel,relationshipMeta,store){var inverseKey=void 0;var inverse=null;if(shouldFindInverse(relationshipMeta)){inverse = internalModel.type.inverseFor(relationshipMeta.key,store);}else {internalModel.type.typeForRelationship(relationshipMeta.key,store);}if(inverse){inverseKey = inverse.name;}if(relationshipMeta.kind === 'hasMany'){return new ManyRelationship(store,internalModel,inverseKey,relationshipMeta);}else {return new BelongsToRelationship(store,internalModel,inverseKey,relationshipMeta);}}var Relationships=(function(){function Relationships(internalModel){_classCallCheck$3(this,Relationships);this.internalModel = internalModel;this.initializedRelationships = Object.create(null);} // TODO @runspired deprecate this as it was never truly a record instance\nRelationships.prototype.has = function has(key){return !!this.initializedRelationships[key];};Relationships.prototype.forEach = function forEach(cb){var rels=this.initializedRelationships;Object.keys(rels).forEach(function(name){cb(name,rels[name]);});};Relationships.prototype.get = function get(key){var relationships=this.initializedRelationships;var relationship=relationships[key];var internalModel=this.internalModel;if(!relationship){var relationshipsByName=Ember.get(internalModel.type,'relationshipsByName');var rel=relationshipsByName.get(key);if(!rel){return undefined;}var relationshipPayload=internalModel.store._relationshipsPayloads.get(internalModel.modelName,internalModel.id,key);relationship = relationships[key] = createRelationshipFor(internalModel,rel,internalModel.store);if(relationshipPayload){relationship.push(relationshipPayload,true);}}return relationship;};_createClass$2(Relationships,[{key:\"record\",get:function get(){return this.internalModel;}}]);return Relationships;})();var _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;};})();function _classCallCheck$7(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError(\"Cannot call a class as a function\");}} /**\n  @class Snapshot\n  @namespace DS\n  @private\n  @constructor\n  @param {DS.Model} internalModel The model to create a snapshot from\n*/var Snapshot=(function(){function Snapshot(internalModel){var _this=this;var options=arguments.length > 1 && arguments[1] !== undefined?arguments[1]:{};_classCallCheck$7(this,Snapshot);this._attributes = Object.create(null);this._belongsToRelationships = Object.create(null);this._belongsToIds = Object.create(null);this._hasManyRelationships = Object.create(null);this._hasManyIds = Object.create(null);this._internalModel = internalModel;var record=internalModel.getRecord(); /**\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     */this.record = record;record.eachAttribute(function(keyName){return _this._attributes[keyName] = Ember.get(record,keyName);}); /**\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     */this.id = internalModel.id; /**\n     A hash of adapter options\n     @property adapterOptions\n     @type {Object}\n     */this.adapterOptions = options.adapterOptions;this.include = options.include; /**\n     The name of the type of the underlying record for this snapshot, as a string.\n      @property modelName\n     @type {String}\n     */this.modelName = internalModel.modelName;this._changedAttributes = record.changedAttributes();} /**\n   The type of the underlying record for this snapshot, as a DS.Model.\n    @property type\n   @type {DS.Model}\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   */Snapshot.prototype.attr = function attr(keyName){if(keyName in this._attributes){return this._attributes[keyName];}throw new Ember.Error(\"Model '\" + Ember.inspect(this.record) + \"' has no attribute named '\" + keyName + \"' defined.\");}; /**\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   */Snapshot.prototype.attributes = function attributes(){return Ember.assign({},this._attributes);}; /**\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   */Snapshot.prototype.changedAttributes = function changedAttributes(){var changedAttributes=Object.create(null);var changedAttributeKeys=Object.keys(this._changedAttributes);for(var i=0,length=changedAttributeKeys.length;i < length;i++) {var key=changedAttributeKeys[i];changedAttributes[key] = this._changedAttributes[key].slice();}return changedAttributes;}; /**\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   */Snapshot.prototype.belongsTo = function belongsTo(keyName,options){var id=options && options.id;var relationship=void 0,inverseInternalModel=void 0,hasData=void 0;var result=void 0;if(id && keyName in this._belongsToIds){return this._belongsToIds[keyName];}if(!id && keyName in this._belongsToRelationships){return this._belongsToRelationships[keyName];}relationship = this._internalModel._relationships.get(keyName);if(!(relationship && relationship.relationshipMeta.kind === 'belongsTo')){throw new Ember.Error(\"Model '\" + Ember.inspect(this.record) + \"' has no belongsTo relationship named '\" + keyName + \"' defined.\");}hasData = Ember.get(relationship,'hasData');inverseInternalModel = Ember.get(relationship,'inverseInternalModel');if(hasData){if(inverseInternalModel && !inverseInternalModel.isDeleted()){if(id){result = Ember.get(inverseInternalModel,'id');}else {result = inverseInternalModel.createSnapshot();}}else {result = null;}}if(id){this._belongsToIds[keyName] = result;}else {this._belongsToRelationships[keyName] = result;}return result;}; /**\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   */Snapshot.prototype.hasMany = function hasMany(keyName,options){var ids=options && options.ids;var relationship=void 0,members=void 0,hasData=void 0;var results=void 0;if(ids && keyName in this._hasManyIds){return this._hasManyIds[keyName];}if(!ids && keyName in this._hasManyRelationships){return this._hasManyRelationships[keyName];}relationship = this._internalModel._relationships.get(keyName);if(!(relationship && relationship.relationshipMeta.kind === 'hasMany')){throw new Ember.Error(\"Model '\" + Ember.inspect(this.record) + \"' has no hasMany relationship named '\" + keyName + \"' defined.\");}hasData = Ember.get(relationship,'hasData');members = Ember.get(relationship,'members');if(hasData){results = [];members.forEach(function(member){if(!member.isDeleted()){if(ids){results.push(member.id);}else {results.push(member.createSnapshot());}}});}if(ids){this._hasManyIds[keyName] = results;}else {this._hasManyRelationships[keyName] = results;}return results;}; /**\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  */Snapshot.prototype.eachAttribute = function eachAttribute(callback,binding){this.record.eachAttribute(callback,binding);}; /**\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  */Snapshot.prototype.eachRelationship = function eachRelationship(callback,binding){this.record.eachRelationship(callback,binding);}; /**\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   */Snapshot.prototype.serialize = function serialize(options){return this.record.store.serializerFor(this.modelName).serialize(this,options);};_createClass$5(Snapshot,[{key:'type',get:function get(){ // 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.\nreturn this._internalModel.modelClass;}}]);return Snapshot;})(); /*\n  Check if the passed model has a `type` attribute or a relationship named `type`.\n\n  @method modelHasAttributeOrRelationshipNamedType\n  @param modelClass\n */function modelHasAttributeOrRelationshipNamedType(modelClass){return Ember.get(modelClass,'attributes').has('type') || Ember.get(modelClass,'relationshipsByName').has('type');} /*\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 */function getOwner(context){var owner=void 0;if(Ember.getOwner){owner = Ember.getOwner(context);}else if(context.container){owner = context.container;}if(owner && owner.lookupFactory && !owner._lookupFactory){ // `owner` is a container, we are just making this work\nowner._lookupFactory = function(){var _owner;return (_owner = owner).lookupFactory.apply(_owner,arguments);};owner.register = function(){var registry=owner.registry || owner._registry || owner;return registry.register.apply(registry,arguments);};}return owner;}var Reference=function Reference(store,internalModel){this.store = store;this.internalModel = internalModel;};Reference.prototype = {constructor:Reference}; /**\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*/var RecordReference=function RecordReference(store,internalModel){this._super$constructor(store,internalModel);this.type = internalModel.modelName;this._id = internalModel.id;};RecordReference.prototype = Object.create(Reference.prototype);RecordReference.prototype.constructor = RecordReference;RecordReference.prototype._super$constructor = Reference; /**\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*/RecordReference.prototype.id = function(){return this._id;}; /**\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*/RecordReference.prototype.remoteType = function(){return 'identity';}; /**\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*/RecordReference.prototype.push = function(objectOrPromise){var _this=this;return Ember.RSVP.resolve(objectOrPromise).then(function(data){return _this.store.push(data);});}; /**\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*/RecordReference.prototype.value = function(){if(this.internalModel.hasRecord){return this.internalModel.getRecord();}return null;}; /**\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*/RecordReference.prototype.load = function(){return this.store.findRecord(this.type,this._id);}; /**\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*/RecordReference.prototype.reload = function(){var record=this.value();if(record){return record.reload();}return this.load();}; /**\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*/var BelongsToReference=function BelongsToReference(store,parentInternalModel,belongsToRelationship){this._super$constructor(store,parentInternalModel);this.belongsToRelationship = belongsToRelationship;this.type = belongsToRelationship.relationshipMeta.type;this.parent = parentInternalModel.recordReference; // TODO inverse\n};BelongsToReference.prototype = Object.create(Reference.prototype);BelongsToReference.prototype.constructor = BelongsToReference;BelongsToReference.prototype._super$constructor = Reference; /**\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*/BelongsToReference.prototype.remoteType = function(){if(this.belongsToRelationship.link){return \"link\";}return \"id\";}; /**\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*/BelongsToReference.prototype.id = function(){var inverseInternalModel=this.belongsToRelationship.inverseInternalModel;return inverseInternalModel && inverseInternalModel.id;}; /**\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*/BelongsToReference.prototype.link = function(){return this.belongsToRelationship.link;}; /**\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-to relationship.\n*/BelongsToReference.prototype.meta = function(){return this.belongsToRelationship.meta;}; /**\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*/BelongsToReference.prototype.push = function(objectOrPromise){var _this=this;return Ember.RSVP.resolve(objectOrPromise).then(function(data){var record=void 0;if(data instanceof Model){if(isEnabled('ds-overhaul-references')){true && !false && Ember.deprecate(\"BelongsToReference#push(DS.Model) is deprecated. Update relationship via `model.set('relationshipName', value)` instead.\",false,{id:'ds.references.belongs-to.push-record',until:'3.0'});}record = data;}else {record = _this.store.push(data);}(0,_emberDataDebug.assertPolymorphicType)(_this.internalModel,_this.belongsToRelationship.relationshipMeta,record._internalModel);_this.belongsToRelationship.setCanonicalInternalModel(record._internalModel);return record;});}; /**\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   @return {DS.Model} the record in this relationship\n*/BelongsToReference.prototype.value = function(){var inverseInternalModel=this.belongsToRelationship.inverseInternalModel;if(inverseInternalModel && inverseInternalModel.isLoaded()){return inverseInternalModel.getRecord();}return null;}; /**\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\n   @method load\n   @return {Promise} a promise that resolves with the record in this belongs-to relationship.\n*/BelongsToReference.prototype.load = function(){var _this2=this;if(this.remoteType() === \"id\"){return this.belongsToRelationship.getRecord();}if(this.remoteType() === \"link\"){return this.belongsToRelationship.findLink().then(function(internalModel){return _this2.value();});}}; /**\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\n   @method reload\n   @return {Promise} a promise that resolves with the record in this belongs-to relationship after the reload has completed.\n*/BelongsToReference.prototype.reload = function(){var _this3=this;return this.belongsToRelationship.reload().then(function(internalModel){return _this3.value();});}; /**\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*/var HasManyReference=function HasManyReference(store,parentInternalModel,hasManyRelationship){this._super$constructor(store,parentInternalModel);this.hasManyRelationship = hasManyRelationship;this.type = hasManyRelationship.relationshipMeta.type;this.parent = parentInternalModel.recordReference; // TODO inverse\n};HasManyReference.prototype = Object.create(Reference.prototype);HasManyReference.prototype.constructor = HasManyReference;HasManyReference.prototype._super$constructor = Reference; /**\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*/HasManyReference.prototype.remoteType = function(){if(this.hasManyRelationship.link){return \"link\";}return \"ids\";}; /**\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*/HasManyReference.prototype.link = function(){return this.hasManyRelationship.link;}; /**\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 ids\n   @return {Array} The ids in this has-many relationship\n*/HasManyReference.prototype.ids = function(){var members=this.hasManyRelationship.members.toArray();return members.map(function(internalModel){return internalModel.id;});}; /**\n   The meta data for the 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           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*/HasManyReference.prototype.meta = function(){return this.hasManyRelationship.meta;}; /**\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*/HasManyReference.prototype.push = function(objectOrPromise){var _this=this;return Ember.RSVP.resolve(objectOrPromise).then(function(payload){var array=payload;if(isEnabled(\"ds-overhaul-references\")){true && !!Array.isArray(payload) && Ember.deprecate(\"HasManyReference#push(array) is deprecated. Push a JSON-API document instead.\",!Array.isArray(payload),{id:'ds.references.has-many.push-array',until:'3.0'});}var useLegacyArrayPush=true;if(typeof payload === \"object\" && payload.data){array = payload.data;useLegacyArrayPush = array.length && array[0].data;if(isEnabled('ds-overhaul-references')){true && !!useLegacyArrayPush && Ember.deprecate(\"HasManyReference#push() expects a valid JSON-API document.\",!useLegacyArrayPush,{id:'ds.references.has-many.push-invalid-json-api',until:'3.0'});}}if(!isEnabled('ds-overhaul-references')){useLegacyArrayPush = true;}var internalModels=void 0;if(useLegacyArrayPush){internalModels = array.map(function(obj){var record=_this.store.push(obj);{var relationshipMeta=_this.hasManyRelationship.relationshipMeta;(0,_emberDataDebug.assertPolymorphicType)(_this.internalModel,relationshipMeta,record._internalModel);}return record._internalModel;});}else {var records=_this.store.push(payload);internalModels = Ember.A(records).mapBy('_internalModel');{internalModels.forEach(function(internalModel){var relationshipMeta=_this.hasManyRelationship.relationshipMeta;(0,_emberDataDebug.assertPolymorphicType)(_this.internalModel,relationshipMeta,internalModel);});}}_this.hasManyRelationship.computeChanges(internalModels);return _this.hasManyRelationship.manyArray;});};HasManyReference.prototype._isLoaded = function(){var hasData=Ember.get(this.hasManyRelationship,'hasData');if(!hasData){return false;}var members=this.hasManyRelationship.members.toArray();return members.every(function(internalModel){return internalModel.isLoaded() === true;});}; /**\n   `value()` synchronously returns the current value of the has-many\n    relationship. Unlike `record.get('relationshipName')`, calling\n    `value()` on a reference does not trigger a fetch if the async\n    relationship is not yet loaded. If the relationship is not loaded\n    it will always return `null`.\n\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*/HasManyReference.prototype.value = function(){if(this._isLoaded()){return this.hasManyRelationship.manyArray;}return null;}; /**\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*/HasManyReference.prototype.load = function(){if(!this._isLoaded()){return this.hasManyRelationship.getRecords();}return Ember.RSVP.resolve(this.hasManyRelationship.manyArray);}; /**\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*/HasManyReference.prototype.reload = function(){return this.hasManyRelationship.reload();};var _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;};})();function _classCallCheck$2(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError(\"Cannot call a class as a function\");}} /*\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 */var TransitionChainMap=Object.create(null);var _extractPivotNameCache=Object.create(null);var _splitOnDotCache=Object.create(null);function splitOnDot(name){return _splitOnDotCache[name] || (_splitOnDotCache[name] = name.split('.'));}function extractPivotName(name){return _extractPivotNameCache[name] || (_extractPivotNameCache[name] = splitOnDot(name)[0]);}function areAllModelsUnloaded(internalModels){for(var i=0;i < internalModels.length;++i) {var record=internalModels[i]._record;if(record && !(record.get('isDestroyed') || record.get('isDestroying'))){return false;}}return true;} // Handle dematerialization for relationship `rel`.  In all cases, notify the\n// relatinoship of the dematerialization: this is done so the relationship can\n// notify its inverse which needs to update state\n//\n// If the inverse is sync, unloading this record is treated as a client-side\n// delete, so we remove the inverse records from this relationship to\n// disconnect the graph.  Because it's not async, we don't need to keep around\n// the internalModel as an id-wrapper for references and because the graph is\n// disconnected we can actually destroy the internalModel when checking for\n// orphaned models.\nfunction destroyRelationship(rel){rel.internalModelDidDematerialize();if(rel._inverseIsSync()){ // disconnect the graph so that the sync inverse relationship does not\n// prevent us from cleaning up during `_cleanupOrphanedInternalModels`\nrel.removeAllInternalModelsFromOwn();rel.removeAllCanonicalInternalModelsFromOwn();}} // this (and all heimdall instrumentation) will be stripped by a babel transform\n//  https://github.com/heimdalljs/babel5-plugin-strip-heimdall\nvar InternalModelReferenceId=1;var nextBfsId=1; /*\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*/var InternalModel=(function(){function InternalModel(modelName,id,store,data){_classCallCheck$2(this,InternalModel);this.id = id; // this ensure ordered set can quickly identify this as unique\nthis[Ember.GUID_KEY] = InternalModelReferenceId++ + 'internal-model';this.store = store;this.modelName = modelName;this._loadingPromise = null;this._record = null;this._isDestroyed = false;this.isError = false;this._isUpdatingRecordArrays = false; // used by the recordArrayManager\n// During dematerialization we don't want to rematerialize the record.  The\n// reason this might happen is that dematerialization removes records from\n// record arrays,  and Ember arrays will always `objectAt(0)` and\n// `objectAt(len - 1)` to test whether or not `firstObject` or `lastObject`\n// have changed.\nthis._isDematerializing = false;this._scheduledDestroy = null;this.resetRecord();if(data){this.__data = data;} // caches for lazy getters\nthis._modelClass = null;this.__deferredTriggers = null;this.__recordArrays = null;this._references = null;this._recordReference = null;this.__relationships = null;this.__implicitRelationships = null; // Used during the mark phase of unloading to avoid checking the same internal\n// model twice in the same scan\nthis._bfsId = 0;}InternalModel.prototype.isHiddenFromRecordArrays = function isHiddenFromRecordArrays(){ // 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.\nreturn this._isDematerializing || this.isDestroyed || this.currentState.stateName === 'root.deleted.saved' || this.isEmpty();};InternalModel.prototype.isEmpty = function isEmpty(){return this.currentState.isEmpty;};InternalModel.prototype.isLoading = function isLoading(){return this.currentState.isLoading;};InternalModel.prototype.isLoaded = function isLoaded(){return this.currentState.isLoaded;};InternalModel.prototype.hasDirtyAttributes = function hasDirtyAttributes(){return this.currentState.hasDirtyAttributes;};InternalModel.prototype.isSaving = function isSaving(){return this.currentState.isSaving;};InternalModel.prototype.isDeleted = function isDeleted(){return this.currentState.isDeleted;};InternalModel.prototype.isNew = function isNew(){return this.currentState.isNew;};InternalModel.prototype.isValid = function isValid(){return this.currentState.isValid;};InternalModel.prototype.dirtyType = function dirtyType(){return this.currentState.dirtyType;};InternalModel.prototype.getRecord = function getRecord(properties){if(!this._record && !this._isDematerializing){ // lookupFactory should really return an object that creates\n// instances with the injections applied\nvar createOptions={store:this.store,_internalModel:this,id:this.id,currentState:this.currentState,isError:this.isError,adapterError:this.error};if(typeof properties === 'object' && properties !== null){Ember.assign(createOptions,properties);}if(Ember.setOwner){ // ensure that `getOwner(this)` works inside a model instance\nEmber.setOwner(createOptions,getOwner(this.store));}else {createOptions.container = this.store.container;}this._record = this.store.modelFactoryFor(this.modelName).create(createOptions);this._triggerDeferredTriggers();}return this._record;};InternalModel.prototype.resetRecord = function resetRecord(){this._record = null;this.isReloading = false;this.error = null;this.currentState = RootState$1.empty;this.__attributes = null;this.__inFlightAttributes = null;this._data = null;};InternalModel.prototype.dematerializeRecord = function dematerializeRecord(){if(this._record){this._isDematerializing = true;this._record.destroy();this.destroyRelationships();this.updateRecordArrays();this.resetRecord();}};InternalModel.prototype.deleteRecord = function deleteRecord(){this.send('deleteRecord');};InternalModel.prototype.save = function save(options){var promiseLabel=\"DS: Model#save \" + this;var resolver=Ember.RSVP.defer(promiseLabel);this.store.scheduleSave(this,resolver,options);return resolver.promise;};InternalModel.prototype.startedReloading = function startedReloading(){this.isReloading = true;if(this.hasRecord){Ember.set(this._record,'isReloading',true);}};InternalModel.prototype.finishedReloading = function finishedReloading(){this.isReloading = false;if(this.hasRecord){Ember.set(this._record,'isReloading',false);}};InternalModel.prototype.reload = function reload(){this.startedReloading();var internalModel=this;var promiseLabel=\"DS: Model#reload of \" + this;return new Ember.RSVP.Promise(function(resolve){internalModel.send('reloadRecord',resolve);},promiseLabel).then(function(){internalModel.didCleanError();return internalModel;},function(error){internalModel.didError(error);throw error;},\"DS: Model#reload complete, update flags\")['finally'](function(){internalModel.finishedReloading();internalModel.updateRecordArrays();});}; /**\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  */InternalModel.prototype._directlyRelatedInternalModels = function _directlyRelatedInternalModels(){var array=[];this._relationships.forEach(function(name,rel){array = array.concat(rel.members.list,rel.canonicalMembers.list);});return array;}; /**\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  */InternalModel.prototype._allRelatedInternalModels = function _allRelatedInternalModels(){var array=[];var queue=[];var bfsId=nextBfsId++;queue.push(this);this._bfsId = bfsId;while(queue.length > 0) {var node=queue.shift();array.push(node);var related=node._directlyRelatedInternalModels();for(var i=0;i < related.length;++i) {var internalModel=related[i];true && !(internalModel._bfsId <= bfsId) && Ember.assert('Internal Error: seen a future bfs iteration',internalModel._bfsId <= bfsId);if(internalModel._bfsId < bfsId){queue.push(internalModel);internalModel._bfsId = bfsId;}}}return array;}; /**\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  */InternalModel.prototype.unloadRecord = function unloadRecord(){if(this.isDestroyed){return;}this.send('unloadRecord');this.dematerializeRecord();if(this._scheduledDestroy === null){ // TODO: use run.schedule once we drop 1.13\nif(!Ember.run.currentRunLoop){true && !Ember.testing && Ember.assert('You have turned on testing mode, which disabled the run-loop\\'s autorun.\\n                  You will need to wrap any code with asynchronous side-effects in a run',Ember.testing);}this._scheduledDestroy = Ember.run.backburner.schedule('destroy',this,'_checkForOrphanedInternalModels');}};InternalModel.prototype.hasScheduledDestroy = function hasScheduledDestroy(){return !!this._scheduledDestroy;};InternalModel.prototype.cancelDestroy = function cancelDestroy(){true && !!this.isDestroyed && Ember.assert('You cannot cancel the destruction of an InternalModel once it has already been destroyed',!this.isDestroyed);this._isDematerializing = false;Ember.run.cancel(this._scheduledDestroy);this._scheduledDestroy = null;}; // 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//\nInternalModel.prototype.destroySync = function destroySync(){if(this._isDematerializing){this.cancelDestroy();}this._checkForOrphanedInternalModels();if(this.isDestroyed || this.isDestroying){return;} // just in-case we are not one of the orphaned, we should still\n// still destroy ourselves\nthis.destroy();};InternalModel.prototype._checkForOrphanedInternalModels = function _checkForOrphanedInternalModels(){this._isDematerializing = false;this._scheduledDestroy = null;if(this.isDestroyed){return;}this._cleanupOrphanedInternalModels();};InternalModel.prototype._cleanupOrphanedInternalModels = function _cleanupOrphanedInternalModels(){var relatedInternalModels=this._allRelatedInternalModels();if(areAllModelsUnloaded(relatedInternalModels)){for(var i=0;i < relatedInternalModels.length;++i) {var internalModel=relatedInternalModels[i];if(!internalModel.isDestroyed){internalModel.destroy();}}}};InternalModel.prototype.eachRelationship = function eachRelationship(callback,binding){return this.modelClass.eachRelationship(callback,binding);};InternalModel.prototype.destroy = function destroy(){true && !(!this._record || this._record.get('isDestroyed') || this._record.get('isDestroying')) && Ember.assert(\"Cannot destroy an internalModel while its record is materialized\",!this._record || this._record.get('isDestroyed') || this._record.get('isDestroying'));this.store._internalModelDestroyed(this);this._relationships.forEach(function(name,rel){return rel.destroy();});this._isDestroyed = true;};InternalModel.prototype.eachAttribute = function eachAttribute(callback,binding){return this.modelClass.eachAttribute(callback,binding);};InternalModel.prototype.inverseFor = function inverseFor(key){return this.modelClass.inverseFor(key);};InternalModel.prototype.setupData = function setupData(data){this.store._internalModelDidReceiveRelationshipData(this.modelName,this.id,data.relationships);var changedKeys=void 0;if(this.hasRecord){changedKeys = this._changedKeys(data.attributes);}Ember.assign(this._data,data.attributes);this.pushedData();if(this.hasRecord){this._record._notifyProperties(changedKeys);}}; /*\n    @method createSnapshot\n    @private\n  */InternalModel.prototype.createSnapshot = function createSnapshot(options){return new Snapshot(this,options);}; /*\n    @method loadingData\n    @private\n    @param {Promise} promise\n  */InternalModel.prototype.loadingData = function loadingData(promise){this.send('loadingData',promise);}; /*\n    @method loadedData\n    @private\n  */InternalModel.prototype.loadedData = function loadedData(){this.send('loadedData');}; /*\n    @method notFound\n    @private\n  */InternalModel.prototype.notFound = function notFound(){this.send('notFound');}; /*\n    @method pushedData\n    @private\n  */InternalModel.prototype.pushedData = function pushedData(){this.send('pushedData');};InternalModel.prototype.flushChangedAttributes = function flushChangedAttributes(){this._inFlightAttributes = this._attributes;this._attributes = null;};InternalModel.prototype.hasChangedAttributes = function hasChangedAttributes(){return this.__attributes !== null && Object.keys(this.__attributes).length > 0;}; /*\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   */InternalModel.prototype.updateChangedAttributes = function updateChangedAttributes(){var changedAttributes=this.changedAttributes();var changedAttributeNames=Object.keys(changedAttributes);var attrs=this._attributes;for(var i=0,length=changedAttributeNames.length;i < length;i++) {var attribute=changedAttributeNames[i];var data=changedAttributes[attribute];var oldData=data[0];var newData=data[1];if(oldData === newData){delete attrs[attribute];}}}; /*\n    Returns an object, whose keys are changed properties, and value is an\n    [oldProp, newProp] array.\n     @method changedAttributes\n    @private\n  */InternalModel.prototype.changedAttributes = function changedAttributes(){var oldData=this._data;var currentData=this._attributes;var inFlightData=this._inFlightAttributes;var newData=Ember.assign({},inFlightData,currentData);var diffData=Object.create(null);var newDataKeys=Object.keys(newData);for(var i=0,length=newDataKeys.length;i < length;i++) {var key=newDataKeys[i];diffData[key] = [oldData[key],newData[key]];}return diffData;}; /*\n    @method adapterWillCommit\n    @private\n  */InternalModel.prototype.adapterWillCommit = function adapterWillCommit(){this.send('willCommit');}; /*\n    @method adapterDidDirty\n    @private\n  */InternalModel.prototype.adapterDidDirty = function adapterDidDirty(){this.send('becomeDirty');this.updateRecordArrays();}; /*\n    @method send\n    @private\n    @param {String} name\n    @param {Object} context\n  */InternalModel.prototype.send = function send(name,context){var currentState=this.currentState;if(!currentState[name]){this._unhandledEvent(currentState,name,context);}return currentState[name](this,context);};InternalModel.prototype.notifyHasManyAdded = function notifyHasManyAdded(key,record,idx){if(this.hasRecord){this._record.notifyHasManyAdded(key,record,idx);}};InternalModel.prototype.notifyBelongsToChanged = function notifyBelongsToChanged(key,record){if(this.hasRecord){this._record.notifyBelongsToChanged(key,record);}};InternalModel.prototype.notifyPropertyChange = function notifyPropertyChange(key){if(this.hasRecord){this._record.notifyPropertyChange(key);}};InternalModel.prototype.rollbackAttributes = function rollbackAttributes(){var dirtyKeys=void 0;if(this.hasChangedAttributes()){dirtyKeys = Object.keys(this._attributes);this._attributes = null;}if(Ember.get(this,'isError')){this._inFlightAttributes = null;this.didCleanError();}if(this.isNew()){this.removeFromInverseRelationships(true);}if(this.isValid()){this._inFlightAttributes = null;}this.send('rolledBack');if(dirtyKeys && dirtyKeys.length > 0){this._record._notifyProperties(dirtyKeys);}}; /*\n    @method transitionTo\n    @private\n    @param {String} name\n  */InternalModel.prototype.transitionTo = function transitionTo(name){ // POSSIBLE TODO: Remove this code and replace with\n// always having direct reference to state objects\nvar pivotName=extractPivotName(name);var state=this.currentState;var transitionMapId=state.stateName + '->' + name;do {if(state.exit){state.exit(this);}state = state.parentState;}while(!state[pivotName]);var setups=void 0;var enters=void 0;var i=void 0;var l=void 0;var map=TransitionChainMap[transitionMapId];if(map){setups = map.setups;enters = map.enters;state = map.state;}else {setups = [];enters = [];var path=splitOnDot(name);for(i = 0,l = path.length;i < l;i++) {state = state[path[i]];if(state.enter){enters.push(state);}if(state.setup){setups.push(state);}}TransitionChainMap[transitionMapId] = {setups:setups,enters:enters,state:state};}for(i = 0,l = enters.length;i < l;i++) {enters[i].enter(this);}this.currentState = state;if(this.hasRecord){Ember.set(this._record,'currentState',state);}for(i = 0,l = setups.length;i < l;i++) {setups[i].setup(this);}this.updateRecordArrays();};InternalModel.prototype._unhandledEvent = function _unhandledEvent(state,name,context){var errorMessage=\"Attempted to handle event `\" + name + \"` \";errorMessage += \"on \" + String(this) + \" while in state \";errorMessage += state.stateName + \". \";if(context !== undefined){errorMessage += \"Called with \" + Ember.inspect(context) + \".\";}throw new Ember.Error(errorMessage);};InternalModel.prototype.triggerLater = function triggerLater(){for(var _len=arguments.length,args=Array(_len),_key=0;_key < _len;_key++) {args[_key] = arguments[_key];}if(this._deferredTriggers.push(args) !== 1){return;}this.store._updateInternalModel(this);};InternalModel.prototype._triggerDeferredTriggers = function _triggerDeferredTriggers(){ //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\nif(!this.hasRecord){return;}var triggers=this._deferredTriggers;var record=this._record;var trigger=record.trigger;for(var i=0,l=triggers.length;i < l;i++) {trigger.apply(record,triggers[i]);}triggers.length = 0;}; /*\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   */InternalModel.prototype.removeFromInverseRelationships = function removeFromInverseRelationships(){var isNew=arguments.length > 0 && arguments[0] !== undefined?arguments[0]:false;this._relationships.forEach(function(name,rel){rel.removeCompletelyFromInverse();if(isNew === true){rel.clear();}});var implicitRelationships=this._implicitRelationships;this.__implicitRelationships = null;Object.keys(implicitRelationships).forEach(function(key){var rel=implicitRelationships[key];rel.removeCompletelyFromInverse();if(isNew === true){rel.clear();}});}; /*\n    Notify all inverses that this internalModel has been dematerialized\n    and destroys any ManyArrays.\n   */InternalModel.prototype.destroyRelationships = function destroyRelationships(){var relationships=this._relationships;relationships.forEach(function(name,rel){return destroyRelationship(rel);});var implicitRelationships=this._implicitRelationships;this.__implicitRelationships = null;Object.keys(implicitRelationships).forEach(function(key){var rel=implicitRelationships[key];destroyRelationship(rel);});}; /*\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  */InternalModel.prototype.preloadData = function preloadData(preload){var _this=this; //TODO(Igor) consider the polymorphic case\nObject.keys(preload).forEach(function(key){var preloadValue=Ember.get(preload,key);var relationshipMeta=_this.modelClass.metaForProperty(key);if(relationshipMeta.isRelationship){_this._preloadRelationship(key,preloadValue);}else {_this._data[key] = preloadValue;}});};InternalModel.prototype._preloadRelationship = function _preloadRelationship(key,preloadValue){var relationshipMeta=this.modelClass.metaForProperty(key);var modelClass=relationshipMeta.type;if(relationshipMeta.kind === 'hasMany'){this._preloadHasMany(key,preloadValue,modelClass);}else {this._preloadBelongsTo(key,preloadValue,modelClass);}};InternalModel.prototype._preloadHasMany = function _preloadHasMany(key,preloadValue,modelClass){true && !Array.isArray(preloadValue) && Ember.assert(\"You need to pass in an array to set a hasMany property on a record\",Array.isArray(preloadValue));var recordsToSet=new Array(preloadValue.length);for(var i=0;i < preloadValue.length;i++) {var recordToPush=preloadValue[i];recordsToSet[i] = this._convertStringOrNumberIntoInternalModel(recordToPush,modelClass);} //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\nthis._relationships.get(key).updateInternalModelsFromAdapter(recordsToSet);};InternalModel.prototype._preloadBelongsTo = function _preloadBelongsTo(key,preloadValue,modelClass){var internalModelToSet=this._convertStringOrNumberIntoInternalModel(preloadValue,modelClass); //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\nthis._relationships.get(key).setInternalModel(internalModelToSet);};InternalModel.prototype._convertStringOrNumberIntoInternalModel = function _convertStringOrNumberIntoInternalModel(value,modelClass){if(typeof value === 'string' || typeof value === 'number'){return this.store._internalModelForId(modelClass,value);}if(value._internalModel){return value._internalModel;}return value;}; /*\n    Used to notify the store to update FilteredRecordArray membership.\n     @method updateRecordArrays\n    @private\n  */InternalModel.prototype.updateRecordArrays = function updateRecordArrays(){this.store.recordArrayManager.recordDidChange(this);};InternalModel.prototype.setId = function setId(id){true && !(this.id === null || this.id === id || this.isNew()) && Ember.assert('A record\\'s id cannot be changed once it is in the loaded state',this.id === null || this.id === id || this.isNew());this.id = id;if(this._record.get('id') !== id){this._record.set('id',id);}};InternalModel.prototype.didError = function didError(error){this.error = error;this.isError = true;if(this.hasRecord){this._record.setProperties({isError:true,adapterError:error});}};InternalModel.prototype.didCleanError = function didCleanError(){this.error = null;this.isError = false;if(this.hasRecord){this._record.setProperties({isError:false,adapterError:null});}}; /*\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  */InternalModel.prototype.adapterDidCommit = function adapterDidCommit(data){if(data){this.store._internalModelDidReceiveRelationshipData(this.modelName,this.id,data.relationships);data = data.attributes;}this.didCleanError();var changedKeys=this._changedKeys(data);Ember.assign(this._data,this._inFlightAttributes);if(data){Ember.assign(this._data,data);}this._inFlightAttributes = null;this.send('didCommit');this.updateRecordArrays();if(!data){return;}this._record._notifyProperties(changedKeys);};InternalModel.prototype.addErrorMessageToAttribute = function addErrorMessageToAttribute(attribute,message){Ember.get(this.getRecord(),'errors')._add(attribute,message);};InternalModel.prototype.removeErrorMessageFromAttribute = function removeErrorMessageFromAttribute(attribute){Ember.get(this.getRecord(),'errors')._remove(attribute);};InternalModel.prototype.clearErrorMessages = function clearErrorMessages(){Ember.get(this.getRecord(),'errors')._clear();};InternalModel.prototype.hasErrors = function hasErrors(){var errors=Ember.get(this.getRecord(),'errors');return !Ember.isEmpty(errors);}; // FOR USE DURING COMMIT PROCESS\n/*\n    @method adapterDidInvalidate\n    @private\n  */InternalModel.prototype.adapterDidInvalidate = function adapterDidInvalidate(errors){var attribute=void 0;for(attribute in errors) {if(errors.hasOwnProperty(attribute)){this.addErrorMessageToAttribute(attribute,errors[attribute]);}}this.send('becameInvalid');this._saveWasRejected();}; /*\n    @method adapterDidError\n    @private\n  */InternalModel.prototype.adapterDidError = function adapterDidError(error){this.send('becameError');this.didError(error);this._saveWasRejected();};InternalModel.prototype._saveWasRejected = function _saveWasRejected(){var keys=Object.keys(this._inFlightAttributes);if(keys.length > 0){var attrs=this._attributes;for(var i=0;i < keys.length;i++) {if(attrs[keys[i]] === undefined){attrs[keys[i]] = this._inFlightAttributes[keys[i]];}}}this._inFlightAttributes = null;}; /*\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  */InternalModel.prototype._changedKeys = function _changedKeys(updates){var changedKeys=[];if(updates){var original=void 0,i=void 0,value=void 0,key=void 0;var keys=Object.keys(updates);var length=keys.length;var hasAttrs=this.hasChangedAttributes();var attrs=void 0;if(hasAttrs){attrs = this._attributes;}original = Object.create(null);Ember.assign(original,this._data,this._inFlightAttributes);for(i = 0;i < length;i++) {key = keys[i];value = updates[key]; // 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.\nif(hasAttrs === true && attrs[key] !== undefined){continue;}if(!Ember.isEqual(original[key],value)){changedKeys.push(key);}}}return changedKeys;};InternalModel.prototype.toString = function toString(){return '<' + this.modelName + ':' + this.id + '>';};InternalModel.prototype.referenceFor = function referenceFor(kind,name){var reference=this.references[name];if(!reference){var relationship=this._relationships.get(name);{var modelName=this.modelName;true && !relationship && Ember.assert('There is no ' + kind + ' relationship named \\'' + name + '\\' on a model of modelClass \\'' + modelName + '\\'',relationship);var actualRelationshipKind=relationship.relationshipMeta.kind;true && !(actualRelationshipKind === kind) && Ember.assert('You tried to get the \\'' + name + '\\' relationship on a \\'' + modelName + '\\' via record.' + kind + '(\\'' + name + '\\'), but the relationship is of kind \\'' + actualRelationshipKind + '\\'. Use record.' + actualRelationshipKind + '(\\'' + name + '\\') instead.',actualRelationshipKind === kind);}if(kind === \"belongsTo\"){reference = new BelongsToReference(this.store,this,relationship);}else if(kind === \"hasMany\"){reference = new HasManyReference(this.store,this,relationship);}this.references[name] = reference;}return reference;};_createClass$1(InternalModel,[{key:'modelClass',get:function get(){return this._modelClass || (this._modelClass = this.store._modelFor(this.modelName));}},{key:'type',get:function get(){return this.modelClass;}},{key:'recordReference',get:function get(){if(this._recordReference === null){this._recordReference = new RecordReference(this.store,this);}return this._recordReference;}},{key:'_recordArrays',get:function get(){if(this.__recordArrays === null){this.__recordArrays = OrderedSet.create();}return this.__recordArrays;}},{key:'references',get:function get(){if(this._references === null){this._references = Object.create(null);}return this._references;}},{key:'_deferredTriggers',get:function get(){if(this.__deferredTriggers === null){this.__deferredTriggers = [];}return this.__deferredTriggers;}},{key:'_attributes',get:function get(){if(this.__attributes === null){this.__attributes = Object.create(null);}return this.__attributes;},set:function set(v){this.__attributes = v;}},{key:'_relationships',get:function get(){if(this.__relationships === null){this.__relationships = new Relationships(this);}return this.__relationships;}},{key:'_inFlightAttributes',get:function get(){if(this.__inFlightAttributes === null){this.__inFlightAttributes = Object.create(null);}return this.__inFlightAttributes;},set:function set(v){this.__inFlightAttributes = v;}},{key:'_data',get:function get(){if(this.__data === null){this.__data = Object.create(null);}return this.__data;},set:function set(v){this.__data = v;} /*\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    */},{key:'_implicitRelationships',get:function get(){if(this.__implicitRelationships === null){this.__implicitRelationships = Object.create(null);}return this.__implicitRelationships;}},{key:'isDestroyed',get:function get(){return this._isDestroyed;}},{key:'hasRecord',get:function get(){return !!this._record;}}]);return InternalModel;})();if(isEnabled('ds-rollback-attribute')){ /*\n     Returns the latest truth for an attribute - the canonical value, or the\n     in-flight value.\n      @method lastAcknowledgedValue\n     @private\n  */InternalModel.prototype.lastAcknowledgedValue = function lastAcknowledgedValue(key){if(key in this._inFlightAttributes){return this._inFlightAttributes[key];}else {return this._data[key];}};}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;};})();function _classCallCheck$1(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError(\"Cannot call a class as a function\");}} /**\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 */var InternalModelMap=(function(){function InternalModelMap(modelName){_classCallCheck$1(this,InternalModelMap);this.modelName = modelName;this._idToModel = Object.create(null);this._models = [];this._metadata = null;} /**\n   *\n   * @param id\n   * @returns {InternalModel}\n   */InternalModelMap.prototype.get = function get(id){return this._idToModel[id];};InternalModelMap.prototype.has = function has(id){return !!this._idToModel[id];};InternalModelMap.prototype.set = function set(id,internalModel){true && !id && Ember.assert('You cannot index an internalModel by an empty id\\'',id);true && !(internalModel instanceof InternalModel) && Ember.assert('You cannot set an index for an internalModel to something other than an internalModel',internalModel instanceof InternalModel);true && !this.contains(internalModel) && Ember.assert('You cannot set an index for an internalModel that is not in the InternalModelMap',this.contains(internalModel));true && !(!this.has(id) || this.get(id) === internalModel) && Ember.assert('You cannot update the id index of an InternalModel once set. Attempted to update ' + id + '.',!this.has(id) || this.get(id) === internalModel);this._idToModel[id] = internalModel;};InternalModelMap.prototype.add = function add(internalModel,id){true && !!this.contains(internalModel) && Ember.assert('You cannot re-add an already present InternalModel to the InternalModelMap.',!this.contains(internalModel));if(id){this._idToModel[id] = internalModel;}this._models.push(internalModel);};InternalModelMap.prototype.remove = function remove(internalModel,id){delete this._idToModel[id];var loc=this._models.indexOf(internalModel);if(loc !== -1){this._models.splice(loc,1);}};InternalModelMap.prototype.contains = function contains(internalModel){return this._models.indexOf(internalModel) !== -1;}; /**\n   An array of all models of this modelName\n   */ /**\n   Destroy all models in the internalModelTest and wipe metadata.\n    @method clear\n   */InternalModelMap.prototype.clear = function clear(){var models=this._models;this._models = [];for(var i=0;i < models.length;i++) {var model=models[i];model.unloadRecord();}this._metadata = null;};_createClass(InternalModelMap,[{key:'length',get:function get(){return this._models.length;}},{key:'models',get:function get(){return this._models;} /**\n     * meta information about internalModels\n     */},{key:'metadata',get:function get(){return this._metadata || (this._metadata = Object.create(null));} /**\n     deprecated (and unsupported) way of accessing modelClass\n      @deprecated\n     */},{key:'type',get:function get(){throw new Error('InternalModelMap.type is no longer available');}}]);return InternalModelMap;})();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError(\"Cannot call a class as a function\");}} /**\n `IdentityMap` is a custom storage map for records by modelName\n used by `DS.Store`.\n\n @class IdentityMap\n @private\n */var IdentityMap=(function(){function IdentityMap(){_classCallCheck(this,IdentityMap);this._map = Object.create(null);} /**\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   */IdentityMap.prototype.retrieve = function retrieve(modelName){var map=this._map[modelName];if(map === undefined){map = this._map[modelName] = new InternalModelMap(modelName);}return map;}; /**\n   Clears the contents of all known `RecordMaps`, but does\n   not remove the InternalModelMap instances.\n    @method clear\n   */IdentityMap.prototype.clear = function clear(){var map=this._map;var keys=Object.keys(map);for(var i=0;i < keys.length;i++) {var key=keys[i];map[key].clear();}};return IdentityMap;})(); /*\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*/function validateDocumentStructure(doc){var errors=[];if(!doc || typeof doc !== 'object'){errors.push('Top level of a JSON API document must be an object');}else {if(!('data' in doc) && !('errors' in doc) && !('meta' in doc)){errors.push('One or more of the following keys must be present: \"data\", \"errors\", \"meta\".');}else {if('data' in doc && 'errors' in doc){errors.push('Top level keys \"errors\" and \"data\" cannot both be present in a JSON API document');}}if('data' in doc){if(!(doc.data === null || Array.isArray(doc.data) || typeof doc.data === 'object')){errors.push('data must be null, an object, or an array');}}if('meta' in doc){if(typeof doc.meta !== 'object'){errors.push('meta must be an object');}}if('errors' in doc){if(!Array.isArray(doc.errors)){errors.push('errors must be an array');}}if('links' in doc){if(typeof doc.links !== 'object'){errors.push('links must be an object');}}if('jsonapi' in doc){if(typeof doc.jsonapi !== 'object'){errors.push('jsonapi must be an object');}}if('included' in doc){if(typeof doc.included !== 'object'){errors.push('included must be an array');}}}return errors;} /*\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*/function normalizeResponseHelper(serializer,store,modelClass,payload,id,requestType){var normalizedResponse=serializer.normalizeResponse(store,modelClass,payload,id,requestType);var validationErrors=[];{validationErrors = validateDocumentStructure(normalizedResponse);}true && !Ember.isEmpty(validationErrors) && Ember.assert('normalizeResponse must return a valid JSON API document:\\n\\t* ' + validationErrors.join('\\n\\t* '),Ember.isEmpty(validationErrors));return normalizedResponse;}function serializerForAdapter(store,adapter,modelName){var serializer=adapter.serializer;if(serializer === undefined){serializer = store.serializerFor(modelName);}if(serializer === null || serializer === undefined){serializer = {extract:function extract(store,type,payload){return payload;}};}return serializer;}var _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;};})();function _classCallCheck$9(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError(\"Cannot call a class as a function\");}} // TODO this is now VERY similar to the identity/internal-model map\n//  so we should probably generalize\nvar TypeCache=(function(){function TypeCache(){_classCallCheck$9(this,TypeCache);this.types = Object.create(null);}TypeCache.prototype.get = function get(modelName,id){var types=this.types;if(types[modelName] !== undefined){return types[modelName][id];}};TypeCache.prototype.set = function set(modelName,id,payload){var types=this.types;var typeMap=types[modelName];if(typeMap === undefined){typeMap = types[modelName] = Object.create(null);}typeMap[id] = payload;};TypeCache.prototype['delete'] = function _delete(modelName,id){var types=this.types;if(types[modelName] !== undefined){delete types[modelName][id];}};return TypeCache;})(); /**\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 */var RelationshipPayloads=(function(){function RelationshipPayloads(relInfo){_classCallCheck$9(this,RelationshipPayloads);this._relInfo = relInfo; // a map of id -> payloads for the left hand side of the relationship.\nthis.lhs_payloads = new TypeCache();this.rhs_payloads = relInfo.isReflexive?this.lhs_payloads:new TypeCache(); // 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\nthis._pendingPayloads = [];} /**\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   */RelationshipPayloads.prototype.get = function get(modelName,id,relationshipName){this._flushPending();if(this._isLHS(modelName,relationshipName)){return this.lhs_payloads.get(modelName,id);}else {true && !this._isRHS(modelName,relationshipName) && Ember.assert(modelName + ':' + relationshipName + ' is not either side of this relationship, ' + this._relInfo.lhs_key + '<->' + this._relInfo.rhs_key,this._isRHS(modelName,relationshipName));return this.rhs_payloads.get(modelName,id);}}; /**\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   */RelationshipPayloads.prototype.push = function push(modelName,id,relationshipName,relationshipData){this._pendingPayloads.push([modelName,id,relationshipName,relationshipData]);}; /**\n   Unload the relationship payload for an individual record.\n    This does not unload the inverse relationship payload.\n    @method\n   */RelationshipPayloads.prototype.unload = function unload(modelName,id,relationshipName){this._flushPending();if(this._isLHS(modelName,relationshipName)){delete this.lhs_payloads['delete'](modelName,id);}else {true && !this._isRHS(modelName,relationshipName) && Ember.assert(modelName + ':' + relationshipName + ' is not either side of this relationship, ' + this._relInfo.lhs_baseModelName + ':' + this._relInfo.lhs_relationshipName + '<->' + this._relInfo.rhs_baseModelName + ':' + this._relInfo.rhs_relationshipName,this._isRHS(modelName,relationshipName));delete this.rhs_payloads['delete'](modelName,id);}}; /**\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   */RelationshipPayloads.prototype._isLHS = function _isLHS(modelName,relationshipName){var relInfo=this._relInfo;var isSelfReferential=relInfo.isSelfReferential;var isRelationship=relationshipName === relInfo.lhs_relationshipName;if(isRelationship === true){return isSelfReferential === true ||  // itself\nmodelName === relInfo.lhs_baseModelName ||  // base or non-polymorphic\nrelInfo.lhs_modelNames.indexOf(modelName) !== -1; // polymorphic\n}return false;}; /**\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   */RelationshipPayloads.prototype._isRHS = function _isRHS(modelName,relationshipName){var relInfo=this._relInfo;var isSelfReferential=relInfo.isSelfReferential;var isRelationship=relationshipName === relInfo.rhs_relationshipName;if(isRelationship === true){return isSelfReferential === true ||  // itself\nmodelName === relInfo.rhs_baseModelName ||  // base or non-polymorphic\nrelInfo.rhs_modelNames.indexOf(modelName) !== -1; // polymorphic\n}return false;};RelationshipPayloads.prototype._flushPending = function _flushPending(){if(this._pendingPayloads.length === 0){return;}var payloadsToBeProcessed=this._pendingPayloads.splice(0,this._pendingPayloads.length);for(var i=0;i < payloadsToBeProcessed.length;++i) {var modelName=payloadsToBeProcessed[i][0];var id=payloadsToBeProcessed[i][1];var relationshipName=payloadsToBeProcessed[i][2];var relationshipData=payloadsToBeProcessed[i][3]; // TODO: maybe delay this allocation slightly?\nvar inverseRelationshipData={data:{id:id,type:modelName}}; // 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//\nvar previousPayload=void 0;var payloadMap=void 0;var inversePayloadMap=void 0;var inverseIsMany=void 0;if(this._isLHS(modelName,relationshipName)){previousPayload = this.lhs_payloads.get(modelName,id);payloadMap = this.lhs_payloads;inversePayloadMap = this.rhs_payloads;inverseIsMany = this._rhsRelationshipIsMany;}else {true && !this._isRHS(modelName,relationshipName) && Ember.assert(modelName + ':' + relationshipName + ' is not either side of this relationship, ' + this._relInfo.lhs_key + '<->' + this._relInfo.rhs_key,this._isRHS(modelName,relationshipName));previousPayload = this.rhs_payloads.get(modelName,id);payloadMap = this.rhs_payloads;inversePayloadMap = this.lhs_payloads;inverseIsMany = this._lhsRelationshipIsMany;} // 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// only remove relationship information before adding if there is relationshipData.data\n// * null is considered new information \"empty\", and it should win\n// * undefined is NOT considered new information, we should keep original state\n// * anything else is considered new information, and it should win\nif(relationshipData.data !== undefined){this._removeInverse(id,previousPayload,inversePayloadMap);}payloadMap.set(modelName,id,relationshipData);this._populateInverse(relationshipData,inverseRelationshipData,inversePayloadMap,inverseIsMany);}}; /**\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   */RelationshipPayloads.prototype._populateInverse = function _populateInverse(relationshipData,inversePayload,inversePayloadMap,inverseIsMany){if(!relationshipData.data){ // This id doesn't have an inverse, eg a belongsTo with a payload\n// { data: null }, so there's nothing to populate\nreturn;}if(Array.isArray(relationshipData.data)){for(var i=0;i < relationshipData.data.length;++i) {var resourceIdentifier=relationshipData.data[i];this._addToInverse(inversePayload,resourceIdentifier,inversePayloadMap,inverseIsMany);}}else {var _resourceIdentifier=relationshipData.data;this._addToInverse(inversePayload,_resourceIdentifier,inversePayloadMap,inverseIsMany);}}; /**\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   */RelationshipPayloads.prototype._addToInverse = function _addToInverse(inversePayload,resourceIdentifier,inversePayloadMap,inverseIsMany){var relInfo=this._relInfo;if(relInfo.isReflexive && inversePayload.data.id === resourceIdentifier.id){ // eg <user:1>.friends = [{ id: 1, type: 'user' }]\nreturn;}var existingPayload=inversePayloadMap.get(resourceIdentifier.type,resourceIdentifier.id);var existingData=existingPayload && existingPayload.data;if(existingData){ // There already is an inverse, either add or overwrite depehnding on\n// whether the inverse is a many relationship or not\n//\nif(Array.isArray(existingData)){existingData.push(inversePayload.data);}else {inversePayloadMap.set(resourceIdentifier.type,resourceIdentifier.id,inversePayload);}}else { // first time we're populating the inverse side\n//\nif(inverseIsMany){inversePayloadMap.set(resourceIdentifier.type,resourceIdentifier.id,{data:[inversePayload.data]});}else {inversePayloadMap.set(resourceIdentifier.type,resourceIdentifier.id,inversePayload);}}}; /**\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   */RelationshipPayloads.prototype._removeInverse = function _removeInverse(id,previousPayload,inversePayloadMap){var data=previousPayload && previousPayload.data;if(!data){ // 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\nreturn;}if(Array.isArray(data)){ // TODO: diff rather than removeall addall?\nfor(var i=0;i < data.length;++i) {var resourceIdentifier=data[i];this._removeFromInverse(id,resourceIdentifier,inversePayloadMap);}}else {this._removeFromInverse(id,data,inversePayloadMap);}}; /**\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   */RelationshipPayloads.prototype._removeFromInverse = function _removeFromInverse(id,resourceIdentifier,inversePayloads){var inversePayload=inversePayloads.get(resourceIdentifier.type,resourceIdentifier.id);var data=inversePayload && inversePayload.data;if(!data){return;}if(Array.isArray(data)){inversePayload.data = data.filter(function(x){return x.id !== id;});}else {inversePayloads.set(resourceIdentifier.type,resourceIdentifier.id,{data:null});}};_createClass$6(RelationshipPayloads,[{key:'_lhsRelationshipIsMany',get:function get(){var meta=this._relInfo.lhs_relationshipMeta;return meta !== null && meta.kind === 'hasMany';}},{key:'_rhsRelationshipIsMany',get:function get(){var meta=this._relInfo.rhs_relationshipMeta;return meta !== null && meta.kind === 'hasMany';}}]);return RelationshipPayloads;})();function _classCallCheck$8(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError(\"Cannot call a class as a function\");}} // import { DEBUG } from '@glimmer/env';\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*/var RelationshipPayloadsManager=(function(){function RelationshipPayloadsManager(store){_classCallCheck$8(this,RelationshipPayloadsManager);this._store = store; // cache of `RelationshipPayload`s\nthis._cache = Object.create(null);this._inverseLookupCache = new TypeCache();} /**\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  */RelationshipPayloadsManager.prototype.get = function get(modelName,id,relationshipName){var relationshipPayloads=this._getRelationshipPayloads(modelName,relationshipName,false);return relationshipPayloads && relationshipPayloads.get(modelName,id,relationshipName);}; /**\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  */RelationshipPayloadsManager.prototype.push = function push(modelName,id,relationshipsData){var _this=this;if(!relationshipsData){return;}Object.keys(relationshipsData).forEach(function(key){var relationshipPayloads=_this._getRelationshipPayloads(modelName,key,true);if(relationshipPayloads){relationshipPayloads.push(modelName,id,key,relationshipsData[key]);}});}; /**\n    Unload a model's relationships payload.\n     @method\n  */RelationshipPayloadsManager.prototype.unload = function unload(modelName,id){var _this2=this;var modelClass=this._store._modelFor(modelName);var relationshipsByName=Ember.get(modelClass,'relationshipsByName');relationshipsByName.forEach(function(_,relationshipName){var relationshipPayloads=_this2._getRelationshipPayloads(modelName,relationshipName,false);if(relationshipPayloads){relationshipPayloads.unload(modelName,id,relationshipName);}});}; /**\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 manipulation & allocation with `modelName` and\n         `relationshipName`\n      b)  repeatedly getting `relationshipsByName` via `Ember.get`\n      @private\n    @method\n  */RelationshipPayloadsManager.prototype._getRelationshipPayloads = function _getRelationshipPayloads(modelName,relationshipName,init){var relInfo=this.getRelationshipInfo(modelName,relationshipName);if(relInfo === null){return;}var cache=this._cache[relInfo.lhs_key];if(!cache && init){return this._initializeRelationshipPayloads(relInfo);}return cache;};RelationshipPayloadsManager.prototype.getRelationshipInfo = function getRelationshipInfo(modelName,relationshipName){var inverseCache=this._inverseLookupCache;var store=this._store;var cached=inverseCache.get(modelName,relationshipName); // CASE: We have a cached resolution (null if no relationship exists)\nif(cached !== undefined){return cached;}var modelClass=store._modelFor(modelName);var relationshipsByName=Ember.get(modelClass,'relationshipsByName'); // CASE: We don't have a relationship at all\nif(!relationshipsByName.has(relationshipName)){inverseCache.set(modelName,relationshipName,null);return null;}var inverseMeta=modelClass.inverseFor(relationshipName,store);var relationshipMeta=relationshipsByName.get(relationshipName);var selfIsPolymorphic=relationshipMeta.options !== undefined && relationshipMeta.options.polymorphic === true;var inverseBaseModelName=relationshipMeta.type; // CASE: We have no inverse\nif(!inverseMeta){var _info={lhs_key:modelName + ':' + relationshipName,lhs_modelNames:[modelName],lhs_baseModelName:modelName,lhs_relationshipName:relationshipName,lhs_relationshipMeta:relationshipMeta,lhs_isPolymorphic:selfIsPolymorphic,rhs_key:'',rhs_modelNames:[],rhs_baseModelName:inverseBaseModelName,rhs_relationshipName:'',rhs_relationshipMeta:null,rhs_isPolymorphic:false,hasInverse:false,isSelfReferential:false, // modelName === inverseBaseModelName,\nisReflexive:false};inverseCache.set(modelName,relationshipName,_info);return _info;} // CASE: We do have an inverse\nvar inverseRelationshipName=inverseMeta.name;var inverseRelationshipMeta=Ember.get(inverseMeta.type,'relationshipsByName').get(inverseRelationshipName);var baseModelName=inverseRelationshipMeta.type;var isSelfReferential=baseModelName === inverseBaseModelName; // TODO we want to assert this but this breaks all of our shoddily written tests\n/*\n    if (DEBUG) {\n      let inverseDoubleCheck = inverseMeta.type.inverseFor(inverseRelationshipName, store);\n       assert(`The ${inverseBaseModelName}:${inverseRelationshipName} relationship declares 'inverse: null', but it was resolved as the inverse for ${baseModelName}:${relationshipName}.`, inverseDoubleCheck);\n    }\n    */ // CASE: We may have already discovered the inverse for the baseModelName\n// CASE: We have already discovered the inverse\ncached = inverseCache.get(baseModelName,relationshipName) || inverseCache.get(inverseBaseModelName,inverseRelationshipName);if(cached){ // TODO this assert can be removed if the above assert is enabled\ntrue && !(cached.hasInverse !== false) && Ember.assert('The ' + inverseBaseModelName + ':' + inverseRelationshipName + ' relationship declares \\'inverse: null\\', but it was resolved as the inverse for ' + baseModelName + ':' + relationshipName + '.',cached.hasInverse !== false);var isLHS=cached.lhs_baseModelName === baseModelName;var modelNames=isLHS?cached.lhs_modelNames:cached.rhs_modelNames; // make this lookup easier in the future by caching the key\nmodelNames.push(modelName);inverseCache.set(modelName,relationshipName,cached);return cached;}var info={lhs_key:baseModelName + ':' + relationshipName,lhs_modelNames:[modelName],lhs_baseModelName:baseModelName,lhs_relationshipName:relationshipName,lhs_relationshipMeta:relationshipMeta,lhs_isPolymorphic:selfIsPolymorphic,rhs_key:inverseBaseModelName + ':' + inverseRelationshipName,rhs_modelNames:[],rhs_baseModelName:inverseBaseModelName,rhs_relationshipName:inverseRelationshipName,rhs_relationshipMeta:inverseRelationshipMeta,rhs_isPolymorphic:inverseRelationshipMeta.options !== undefined && inverseRelationshipMeta.options.polymorphic === true,hasInverse:true,isSelfReferential:isSelfReferential,isReflexive:isSelfReferential && relationshipName === inverseRelationshipName}; // Create entries for the baseModelName as well as modelName to speed up\n//  inverse lookups\ninverseCache.set(baseModelName,relationshipName,info);inverseCache.set(modelName,relationshipName,info); // Greedily populate the inverse\ninverseCache.set(inverseBaseModelName,inverseRelationshipName,info);return info;}; /**\n    Create the `RelationshipsPayload` for the relationship `modelName`, `relationshipName`, and its inverse.\n     @private\n    @method\n  */RelationshipPayloadsManager.prototype._initializeRelationshipPayloads = function _initializeRelationshipPayloads(relInfo){var lhsKey=relInfo.lhs_key;var rhsKey=relInfo.rhs_key;var existingPayloads=this._cache[lhsKey];if(relInfo.hasInverse === true && relInfo.rhs_isPolymorphic === true){existingPayloads = this._cache[rhsKey];if(existingPayloads !== undefined){this._cache[lhsKey] = existingPayloads;return existingPayloads;}} // 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//\nvar cache=this._cache[lhsKey] = new RelationshipPayloads(relInfo);if(relInfo.hasInverse === true){this._cache[rhsKey] = cache;}return cache;};return RelationshipPayloadsManager;})();function payloadIsNotBlank(adapterPayload){if(Array.isArray(adapterPayload)){return true;}else {return Object.keys(adapterPayload || {}).length;}}function _find(adapter,store,modelClass,id,internalModel,options){var snapshot=internalModel.createSnapshot(options);var modelName=internalModel.modelName;var promise=adapter.findRecord(store,modelClass,id,snapshot);var label='DS: Handle Adapter#findRecord of \\'' + modelName + '\\' with id: \\'' + id + '\\'';promise = Ember.RSVP.Promise.resolve(promise,label);promise = _guard(promise,_bind(_objectIsAlive,store));return promise.then(function(adapterPayload){true && !payloadIsNotBlank(adapterPayload) && Ember.assert('You made a \\'findRecord\\' request for a \\'' + modelName + '\\' with id \\'' + id + '\\', but the adapter\\'s response did not have any data',payloadIsNotBlank(adapterPayload));var serializer=serializerForAdapter(store,adapter,modelName);var payload=normalizeResponseHelper(serializer,store,modelClass,adapterPayload,id,'findRecord');true && !!Array.isArray(payload.data) && Ember.assert('Ember Data expected the primary data returned from a \\'findRecord\\' response to be an object but instead it found an array.',!Array.isArray(payload.data));true && Ember.warn('You requested a record of type \\'' + modelName + '\\' with id \\'' + id + '\\' but the adapter returned a payload with primary data having an id of \\'' + payload.data.id + '\\'. Use \\'store.findRecord()\\' when the requested id is the same as the one returned by the adapter. In other cases use \\'store.queryRecord()\\' instead https://emberjs.com/api/data/classes/DS.Store.html#method_queryRecord',payload.data.id === id,{id:'ds.store.findRecord.id-mismatch'});return store._push(payload);},function(error){internalModel.notFound();if(internalModel.isEmpty()){internalModel.unloadRecord();}throw error;},'DS: Extract payload of \\'' + modelName + '\\'');}function _findMany(adapter,store,modelName,ids,internalModels){var snapshots=Ember.A(internalModels).invoke('createSnapshot');var modelClass=store.modelFor(modelName); // `adapter.findMany` gets the modelClass still\nvar promise=adapter.findMany(store,modelClass,ids,snapshots);var label='DS: Handle Adapter#findMany of \\'' + modelName + '\\'';if(promise === undefined){throw new Error('adapter.findMany returned undefined, this was very likely a mistake');}promise = Ember.RSVP.Promise.resolve(promise,label);promise = _guard(promise,_bind(_objectIsAlive,store));return promise.then(function(adapterPayload){true && !payloadIsNotBlank(adapterPayload) && Ember.assert('You made a \\'findMany\\' request for \\'' + modelName + '\\' records with ids \\'[' + ids + ']\\', but the adapter\\'s response did not have any data',payloadIsNotBlank(adapterPayload));var serializer=serializerForAdapter(store,adapter,modelName);var payload=normalizeResponseHelper(serializer,store,modelClass,adapterPayload,null,'findMany');return store._push(payload);},null,'DS: Extract payload of ' + modelName);}function _findHasMany(adapter,store,internalModel,link,relationship){var snapshot=internalModel.createSnapshot();var modelClass=store.modelFor(relationship.type);var promise=adapter.findHasMany(store,snapshot,link,relationship);var label='DS: Handle Adapter#findHasMany of \\'' + internalModel.modelName + '\\' : \\'' + relationship.type + '\\'';promise = Ember.RSVP.Promise.resolve(promise,label);promise = _guard(promise,_bind(_objectIsAlive,store));promise = _guard(promise,_bind(_objectIsAlive,internalModel));return promise.then(function(adapterPayload){true && !payloadIsNotBlank(adapterPayload) && Ember.assert('You made a \\'findHasMany\\' request for a ' + internalModel.modelName + '\\'s \\'' + relationship.key + '\\' relationship, using link \\'' + link + '\\' , but the adapter\\'s response did not have any data',payloadIsNotBlank(adapterPayload));var serializer=serializerForAdapter(store,adapter,relationship.type);var payload=normalizeResponseHelper(serializer,store,modelClass,adapterPayload,null,'findHasMany');var internalModelArray=store._push(payload);internalModelArray.meta = payload.meta;return internalModelArray;},null,'DS: Extract payload of \\'' + internalModel.modelName + '\\' : hasMany \\'' + relationship.type + '\\'');}function _findBelongsTo(adapter,store,internalModel,link,relationship){var snapshot=internalModel.createSnapshot();var modelClass=store.modelFor(relationship.type);var promise=adapter.findBelongsTo(store,snapshot,link,relationship);var label='DS: Handle Adapter#findBelongsTo of ' + internalModel.modelName + ' : ' + relationship.type;promise = Ember.RSVP.Promise.resolve(promise,label);promise = _guard(promise,_bind(_objectIsAlive,store));promise = _guard(promise,_bind(_objectIsAlive,internalModel));return promise.then(function(adapterPayload){var serializer=serializerForAdapter(store,adapter,relationship.type);var payload=normalizeResponseHelper(serializer,store,modelClass,adapterPayload,null,'findBelongsTo');if(!payload.data){return null;}return store._push(payload);},null,'DS: Extract payload of ' + internalModel.modelName + ' : ' + relationship.type);}function _findAll(adapter,store,modelName,sinceToken,options){var modelClass=store.modelFor(modelName); // adapter.findAll depends on the class\nvar recordArray=store.peekAll(modelName);var snapshotArray=recordArray._createSnapshot(options);var promise=adapter.findAll(store,modelClass,sinceToken,snapshotArray);var label=\"DS: Handle Adapter#findAll of \" + modelClass;promise = Ember.RSVP.Promise.resolve(promise,label);promise = _guard(promise,_bind(_objectIsAlive,store));return promise.then(function(adapterPayload){true && !payloadIsNotBlank(adapterPayload) && Ember.assert('You made a \\'findAll\\' request for \\'' + modelName + '\\' records, but the adapter\\'s response did not have any data',payloadIsNotBlank(adapterPayload));var serializer=serializerForAdapter(store,adapter,modelName);var payload=normalizeResponseHelper(serializer,store,modelClass,adapterPayload,null,'findAll');store._push(payload);store._didUpdateAll(modelName);return recordArray;},null,'DS: Extract payload of findAll ${modelName}');}function _query(adapter,store,modelName,query,recordArray){var modelClass=store.modelFor(modelName); // adapter.query needs the class\nvar promise=void 0;if(adapter.query.length > 3){recordArray = recordArray || store.recordArrayManager.createAdapterPopulatedRecordArray(modelName,query);promise = adapter.query(store,modelClass,query,recordArray);}else {promise = adapter.query(store,modelClass,query);}var label='DS: Handle Adapter#query of ' + modelClass;promise = Ember.RSVP.Promise.resolve(promise,label);promise = _guard(promise,_bind(_objectIsAlive,store));return promise.then(function(adapterPayload){var serializer=serializerForAdapter(store,adapter,modelName);var payload=normalizeResponseHelper(serializer,store,modelClass,adapterPayload,null,'query');var internalModels=store._push(payload);true && !Array.isArray(internalModels) && Ember.assert('The response to store.query is expected to be an array but it was a single record. Please wrap your response in an array or use `store.queryRecord` to query for a single record.',Array.isArray(internalModels));if(recordArray){recordArray._setInternalModels(internalModels,payload);}else {recordArray = store.recordArrayManager.createAdapterPopulatedRecordArray(modelName,query,internalModels,payload);}return recordArray;},null,'DS: Extract payload of query ' + modelName);}function _queryRecord(adapter,store,modelName,query){var modelClass=store.modelFor(modelName); // adapter.queryRecord needs the class\nvar promise=adapter.queryRecord(store,modelClass,query);var label='DS: Handle Adapter#queryRecord of ' + modelName;promise = Ember.RSVP.Promise.resolve(promise,label);promise = _guard(promise,_bind(_objectIsAlive,store));return promise.then(function(adapterPayload){var serializer=serializerForAdapter(store,adapter,modelName);var payload=normalizeResponseHelper(serializer,store,modelClass,adapterPayload,null,'queryRecord');true && !!Array.isArray(payload.data) && Ember.assert('Expected the primary data returned by the serializer for a \\'queryRecord\\' response to be a single object or null but instead it was an array.',!Array.isArray(payload.data),{id:'ds.store.queryRecord-array-response'});return store._push(payload);},null,'DS: Extract payload of queryRecord ' + modelName);} // 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){if(id === null || id === undefined || id === ''){return null;}if(typeof id === 'string'){return id;}return '' + id;}var _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;};})();function _classCallCheck$11(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError(\"Cannot call a class as a function\");}} /**\n  @module ember-data\n*/ /**\n  @class SnapshotRecordArray\n  @namespace DS\n  @private\n  @constructor\n  @param {Array} snapshots An array of snapshots\n  @param {Object} meta\n*/var SnapshotRecordArray=(function(){function SnapshotRecordArray(recordArray,meta){var options=arguments.length > 2 && arguments[2] !== undefined?arguments[2]:{};_classCallCheck$11(this,SnapshotRecordArray); /**\n      An array of snapshots\n      @private\n      @property _snapshots\n      @type {Array}\n    */this._snapshots = null; /**\n      An array of records\n      @private\n      @property _recordArray\n      @type {Array}\n    */this._recordArray = recordArray; /**\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    */this.length = recordArray.get('length');this._type = null; /**\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    */this.meta = meta; /**\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    */this.adapterOptions = options.adapterOptions; /**\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    */this.include = options.include;} /**\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    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  */SnapshotRecordArray.prototype.snapshots = function snapshots(){if(this._snapshots !== null){return this._snapshots;}this._snapshots = this._recordArray._takeSnapshot();return this._snapshots;};_createClass$7(SnapshotRecordArray,[{key:'type',get:function get(){return this._type || (this._type = this._recordArray.get('type'));}}]);return SnapshotRecordArray;})(); /**\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*/var RecordArray=Ember.ArrayProxy.extend(Ember.Evented,{init:function init(){this._super.apply(this,arguments); /**\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      */this.set('content',this.content || null); /**\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    */this.isLoaded = this.isLoaded || false; /**\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    */this.isUpdating = false; /**\n    The store that created this record array.\n    @property store\n    @private\n    @type DS.Store\n    */this.store = this.store || null;this._updatingPromise = null;},replace:function replace(){throw new Error('The result of a server query (for all ' + this.modelName + ' types) is immutable. To modify contents, use toArray()');}, /**\n   The modelClass represented by this record array.\n    @property type\n   @type DS.Model\n   */type:Ember.computed('modelName',function(){if(!this.modelName){return null;}return this.store._modelFor(this.modelName);}).readOnly(), /**\n    Retrieves an object from the content by index.\n     @method objectAtContent\n    @private\n    @param {Number} index\n    @return {DS.Model} record\n  */objectAtContent:function objectAtContent(index){var internalModel=Ember.get(this,'content').objectAt(index);return internalModel && internalModel.getRecord();}, /**\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  */update:function update(){var _this=this;if(Ember.get(this,'isUpdating')){return this._updatingPromise;}this.set('isUpdating',true);var updatingPromise=this._update()['finally'](function(){_this._updatingPromise = null;if(_this.get('isDestroying') || _this.get('isDestroyed')){return;}_this.set('isUpdating',false);});this._updatingPromise = updatingPromise;return updatingPromise;}, /*\n    Update this RecordArray and return a promise which resolves once the update\n    is finished.\n   */_update:function _update(){return this.store.findAll(this.modelName,{reload:true});}, /**\n    Adds an internal model to the `RecordArray` without duplicates\n     @method _pushInternalModels\n    @private\n    @param {InternalModel} internalModel\n  */_pushInternalModels:function _pushInternalModels(internalModels){ // pushObjects because the internalModels._recordArrays set was already\n// consulted for inclusion, so addObject and its on .contains call is not\n// required.\nEmber.get(this,'content').pushObjects(internalModels);}, /**\n    Removes an internalModel to the `RecordArray`.\n     @method removeInternalModel\n    @private\n    @param {InternalModel} internalModel\n  */_removeInternalModels:function _removeInternalModels(internalModels){Ember.get(this,'content').removeObjects(internalModels);}, /**\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  */save:function save(){var _this2=this;var promiseLabel='DS: RecordArray#save ' + this.modelName;var promise=Ember.RSVP.Promise.all(this.invoke('save'),promiseLabel).then(function(){return _this2;},null,'DS: RecordArray#save return RecordArray');return PromiseArray.create({promise:promise});},_dissociateFromOwnRecords:function _dissociateFromOwnRecords(){var _this3=this;this.get('content').forEach(function(internalModel){var recordArrays=internalModel.__recordArrays;if(recordArrays){recordArrays['delete'](_this3);}});}, /**\n    @method _unregisterFromManager\n    @private\n  */_unregisterFromManager:function _unregisterFromManager(){this.manager.unregisterRecordArray(this);},willDestroy:function willDestroy(){this._unregisterFromManager();this._dissociateFromOwnRecords(); // TODO: we should not do work during destroy:\n//   * when objects are destroyed, they should simply be left to do\n//   * if logic errors do to this, that logic needs to be more careful during\n//    teardown (ember provides isDestroying/isDestroyed) for this reason\n//   * the exception being: if an dominator has a reference to this object,\n//     and must be informed to release e.g. e.g. removing itself from th\n//     recordArrayMananger\nEmber.set(this,'content',null);Ember.set(this,'length',0);this._super.apply(this,arguments);}, /*\n    @method _createSnapshot\n    @private\n  */_createSnapshot:function _createSnapshot(options){ // this is private for users, but public for ember-data internals\nreturn new SnapshotRecordArray(this,this.get('meta'),options);}, /*\n    @method _takeSnapshot\n    @private\n  */_takeSnapshot:function _takeSnapshot(){return Ember.get(this,'content').map(function(internalModel){return internalModel.createSnapshot();});}}); /**\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*/var FilteredRecordArray=RecordArray.extend({init:function init(){this._super.apply(this,arguments);this.set('filterFunction',this.get('filterFunction') || null);this.isLoaded = true;}, /**\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  */replace:function replace(){throw new Error('The result of a client-side filter (on ' + this.modelName + ') is immutable.');}, /**\n    @method updateFilter\n    @private\n  */_updateFilter:function _updateFilter(){if(Ember.get(this,'isDestroying') || Ember.get(this,'isDestroyed')){return;}Ember.get(this,'manager').updateFilter(this,this.modelName,Ember.get(this,'filterFunction'));},updateFilter:Ember.observer('filterFunction',function(){Ember.run.once(this,this._updateFilter);})});function cloneNull(source){var clone=Object.create(null);for(var key in source) {clone[key] = source[key];}return clone;} /**\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*/var AdapterPopulatedRecordArray=RecordArray.extend({init:function init(){ // yes we are touching `this` before super, but ArrayProxy has a bug that requires this.\nthis.set('content',this.get('content') || Ember.A());this._super.apply(this,arguments);this.query = this.query || null;this.links = null;},replace:function replace(){throw new Error('The result of a server query (on ' + this.modelName + ') is immutable.');},_update:function _update(){var store=Ember.get(this,'store');var query=Ember.get(this,'query');return store._query(this.modelName,query,this);}, /**\n    @method _setInternalModels\n    @param {Array} internalModels\n    @param {Object} payload normalized payload\n    @private\n  */_setInternalModels:function _setInternalModels(internalModels,payload){ // 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.\nthis.get('content').setObjects(internalModels);this.setProperties({isLoaded:true,isUpdating:false,meta:cloneNull(payload.meta),links:cloneNull(payload.links)});associateWithRecordArray(internalModels,this); // TODO: should triggering didLoad event be the last action of the runLoop?\nEmber.run.once(this,'trigger','didLoad');}}); /**\n  @module ember-data\n*/function _classCallCheck$10(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError(\"Cannot call a class as a function\");}} /**\n  @class RecordArrayManager\n  @namespace DS\n  @private\n*/var RecordArrayManager=(function(){function RecordArrayManager(options){_classCallCheck$10(this,RecordArrayManager);this.store = options.store;this.isDestroying = false;this.isDestroyed = false;this._filteredRecordArrays = Object.create(null);this._liveRecordArrays = Object.create(null);this._pending = Object.create(null);this._adapterPopulatedRecordArrays = [];}RecordArrayManager.prototype.recordDidChange = function recordDidChange(internalModel){ // TODO: change name\n// TODO: track that it was also a change\nthis.internalModelDidChange(internalModel);};RecordArrayManager.prototype.recordWasLoaded = function recordWasLoaded(internalModel){ // TODO: change name\n// TODO: track that it was also that it was first loaded\nthis.internalModelDidChange(internalModel);};RecordArrayManager.prototype.internalModelDidChange = function internalModelDidChange(internalModel){var modelName=internalModel.modelName;if(internalModel._pendingRecordArrayManagerFlush){return;}internalModel._pendingRecordArrayManagerFlush = true;var pending=this._pending;var models=pending[modelName] = pending[modelName] || [];if(models.push(internalModel) !== 1){return;}Ember.run.schedule('actions',this,this._flush);};RecordArrayManager.prototype._flush = function _flush(){var pending=this._pending;this._pending = Object.create(null);var modelsToRemove=[];for(var modelName in pending) {var internalModels=pending[modelName];for(var j=0;j < internalModels.length;j++) {var internalModel=internalModels[j]; // mark internalModels, so they can once again be processed by the\n// recordArrayManager\ninternalModel._pendingRecordArrayManagerFlush = false; // build up a set of models to ensure we have purged correctly;\nif(internalModel.isHiddenFromRecordArrays()){modelsToRemove.push(internalModel);}} // process filteredRecordArrays\nif(this._filteredRecordArrays[modelName]){var recordArrays=this.filteredRecordArraysFor(modelName);for(var i=0;i < recordArrays.length;i++) {this.updateFilterRecordArray(recordArrays[i],modelName,internalModels);}}var array=this._liveRecordArrays[modelName];if(array){ // TODO: skip if it only changed\n// process liveRecordArrays\nthis.updateLiveRecordArray(array,internalModels);} // process adapterPopulatedRecordArrays\nif(modelsToRemove.length > 0){removeFromAdapterPopulatedRecordArrays(modelsToRemove);}}};RecordArrayManager.prototype.updateLiveRecordArray = function updateLiveRecordArray(array,internalModels){return _updateLiveRecordArray(array,internalModels);}; /**\n    Update an individual filter.\n     @private\n    @method updateFilterRecordArray\n    @param {DS.FilteredRecordArray} array\n    @param {String} modelName\n    @param {Array} internalModels\n  */RecordArrayManager.prototype.updateFilterRecordArray = function updateFilterRecordArray(array,modelName,internalModels){var filter=Ember.get(array,'filterFunction');var shouldBeInAdded=[];var shouldBeRemoved=[];for(var i=0;i < internalModels.length;i++) {var internalModel=internalModels[i];if(internalModel.isHiddenFromRecordArrays() === false && filter(internalModel.getRecord())){if(internalModel._recordArrays.has(array)){continue;}shouldBeInAdded.push(internalModel);internalModel._recordArrays.add(array);}else {if(internalModel._recordArrays['delete'](array)){shouldBeRemoved.push(internalModel);}}}if(shouldBeInAdded.length > 0){array._pushInternalModels(shouldBeInAdded);}if(shouldBeRemoved.length > 0){array._removeInternalModels(shouldBeRemoved);}}; // TODO: remove, utilize existing flush code but make it flush sync based on 1 modelName\nRecordArrayManager.prototype._syncLiveRecordArray = function _syncLiveRecordArray(array,modelName){true && !(typeof modelName === 'string') && Ember.assert('recordArrayManger.syncLiveRecordArray expects modelName not modelClass as the second param',typeof modelName === 'string');var hasNoPotentialDeletions=Object.keys(this._pending).length === 0;var map=this.store._internalModelsFor(modelName);var hasNoInsertionsOrRemovals=Ember.get(map,'length') === Ember.get(array,'length'); /*\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      */if(hasNoPotentialDeletions && hasNoInsertionsOrRemovals){return;}var internalModels=this._visibleInternalModelsByType(modelName);var modelsToAdd=[];for(var i=0;i < internalModels.length;i++) {var internalModel=internalModels[i];var recordArrays=internalModel._recordArrays;if(recordArrays.has(array) === false){recordArrays.add(array);modelsToAdd.push(internalModel);}}array._pushInternalModels(modelsToAdd);}; /**\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  */RecordArrayManager.prototype.updateFilter = function updateFilter(array,modelName,filter){true && !(typeof modelName === 'string') && Ember.assert('recordArrayManger.updateFilter expects modelName not modelClass as the second param, received ' + modelName,typeof modelName === 'string');var modelMap=this.store._internalModelsFor(modelName);var internalModels=modelMap.models;this.updateFilterRecordArray(array,filter,internalModels);};RecordArrayManager.prototype._didUpdateAll = function _didUpdateAll(modelName){var recordArray=this._liveRecordArrays[modelName];if(recordArray){Ember.set(recordArray,'isUpdating',false);}}; /**\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  */RecordArrayManager.prototype.liveRecordArrayFor = function liveRecordArrayFor(modelName){true && !(typeof modelName === 'string') && Ember.assert('recordArrayManger.liveRecordArrayFor expects modelName not modelClass as the param',typeof modelName === 'string');var array=this._liveRecordArrays[modelName];if(array){ // if the array already exists, synchronize\nthis._syncLiveRecordArray(array,modelName);}else { // if the array is being newly created merely create it with its initial\n// content already set. This prevents unneeded change events.\nvar internalModels=this._visibleInternalModelsByType(modelName);array = this.createRecordArray(modelName,internalModels);this._liveRecordArrays[modelName] = array;}return array;};RecordArrayManager.prototype._visibleInternalModelsByType = function _visibleInternalModelsByType(modelName){var all=this.store._internalModelsFor(modelName)._models;var visible=[];for(var i=0;i < all.length;i++) {var model=all[i];if(model.isHiddenFromRecordArrays() === false){visible.push(model);}}return visible;}; /**\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  */RecordArrayManager.prototype.filteredRecordArraysFor = function filteredRecordArraysFor(modelName){true && !(typeof modelName === 'string') && Ember.assert('recordArrayManger.filteredRecordArraysFor expects modelName not modelClass as the param',typeof modelName === 'string');return this._filteredRecordArrays[modelName] || (this._filteredRecordArrays[modelName] = []);}; /**\n    Create a `DS.RecordArray` for a modelName.\n     @method createRecordArray\n    @param {String} modelName\n    @param {Array} _content (optional|private)\n    @return {DS.RecordArray}\n  */RecordArrayManager.prototype.createRecordArray = function createRecordArray(modelName,content){true && !(typeof modelName === 'string') && Ember.assert('recordArrayManger.createRecordArray expects modelName not modelClass as the param',typeof modelName === 'string');var array=RecordArray.create({modelName:modelName,content:Ember.A(content || []),store:this.store,isLoaded:true,manager:this});if(Array.isArray(content)){associateWithRecordArray(content,array);}return array;}; /**\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  */RecordArrayManager.prototype.createFilteredRecordArray = function createFilteredRecordArray(modelName,filter,query){true && !(typeof modelName === 'string') && Ember.assert('recordArrayManger.createFilteredRecordArray expects modelName not modelClass as the first param, received ' + modelName,typeof modelName === 'string');var array=FilteredRecordArray.create({query:query,modelName:modelName,content:Ember.A(),store:this.store,manager:this,filterFunction:filter});this.registerFilteredRecordArray(array,modelName,filter);return array;}; /**\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  */RecordArrayManager.prototype.createAdapterPopulatedRecordArray = function createAdapterPopulatedRecordArray(modelName,query,internalModels,payload){true && !(typeof modelName === 'string') && Ember.assert('recordArrayManger.createAdapterPopulatedRecordArray expects modelName not modelClass as the first param, received ' + modelName,typeof modelName === 'string');var array=void 0;if(Array.isArray(internalModels)){array = AdapterPopulatedRecordArray.create({modelName:modelName,query:query,content:Ember.A(internalModels),store:this.store,manager:this,isLoaded:true,isUpdating:false,meta:cloneNull(payload.meta),links:cloneNull(payload.links)});associateWithRecordArray(internalModels,array);}else {array = AdapterPopulatedRecordArray.create({modelName:modelName,query:query,content:Ember.A(),store:this.store,manager:this});}this._adapterPopulatedRecordArrays.push(array);return array;}; /**\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  */RecordArrayManager.prototype.registerFilteredRecordArray = function registerFilteredRecordArray(array,modelName,filter){true && !(typeof modelName === 'string') && Ember.assert('recordArrayManger.registerFilteredRecordArray expects modelName not modelClass as the second param, received ' + modelName,typeof modelName === 'string');this.filteredRecordArraysFor(modelName).push(array);this.updateFilter(array,modelName,filter);}; /**\n    Unregister a RecordArray.\n    So manager will not update this array.\n     @method unregisterRecordArray\n    @param {DS.RecordArray} array\n  */RecordArrayManager.prototype.unregisterRecordArray = function unregisterRecordArray(array){var modelName=array.modelName; // unregister filtered record array\nvar recordArrays=this.filteredRecordArraysFor(modelName);var removedFromFiltered=remove(recordArrays,array); // remove from adapter populated record array\nvar removedFromAdapterPopulated=remove(this._adapterPopulatedRecordArrays,array);if(!removedFromFiltered && !removedFromAdapterPopulated){var liveRecordArrayForType=this._liveRecordArrays[modelName]; // unregister live record array\nif(liveRecordArrayForType){if(array === liveRecordArrayForType){delete this._liveRecordArrays[modelName];}}}};RecordArrayManager.prototype.willDestroy = function willDestroy(){var _this=this;Object.keys(this._filteredRecordArrays).forEach(function(modelName){return flatten(_this._filteredRecordArrays[modelName]).forEach(destroy);});Object.keys(this._liveRecordArrays).forEach(function(modelName){return _this._liveRecordArrays[modelName].destroy();});this._adapterPopulatedRecordArrays.forEach(destroy);this.isDestroyed = true;};RecordArrayManager.prototype.destroy = function destroy(){this.isDestroying = true;Ember.run.schedule('actions',this,this.willDestroy);};return RecordArrayManager;})();function destroy(entry){entry.destroy();}function flatten(list){var length=list.length;var result=[];for(var i=0;i < length;i++) {result = result.concat(list[i]);}return result;}function remove(array,item){var index=array.indexOf(item);if(index !== -1){array.splice(index,1);return true;}return false;}function _updateLiveRecordArray(array,internalModels){var modelsToAdd=[];var modelsToRemove=[];for(var i=0;i < internalModels.length;i++) {var internalModel=internalModels[i];var isDeleted=internalModel.isHiddenFromRecordArrays();var recordArrays=internalModel._recordArrays;if(!isDeleted && !internalModel.isEmpty()){if(!recordArrays.has(array)){modelsToAdd.push(internalModel);recordArrays.add(array);}}if(isDeleted){modelsToRemove.push(internalModel);recordArrays['delete'](array);}}if(modelsToAdd.length > 0){array._pushInternalModels(modelsToAdd);}if(modelsToRemove.length > 0){array._removeInternalModels(modelsToRemove);}}function removeFromAdapterPopulatedRecordArrays(internalModels){for(var i=0;i < internalModels.length;i++) {var internalModel=internalModels[i];var list=internalModel._recordArrays.list;for(var j=0;j < list.length;j++) { // TODO: group by arrays, so we can batch remove\nlist[j]._removeInternalModels([internalModel]);}internalModel._recordArrays.clear();}}function associateWithRecordArray(internalModels,array){for(var i=0,l=internalModels.length;i < l;i++) {var internalModel=internalModels[i];internalModel._recordArrays.add(array);}}function _classCallCheck$12(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError(\"Cannot call a class as a function\");}} /*\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*/var ContainerInstanceCache=(function(){function ContainerInstanceCache(owner,store){_classCallCheck$12(this,ContainerInstanceCache);this.isDestroying = false;this.isDestroyed = false;this._owner = owner;this._store = store;this._namespaces = {adapter:Object.create(null),serializer:Object.create(null)};}ContainerInstanceCache.prototype.get = function get(namespace,preferredKey){var cache=this._namespaces[namespace];if(cache[preferredKey]){return cache[preferredKey];}var preferredLookupKey=namespace + ':' + preferredKey;var instance=this._instanceFor(preferredLookupKey) || this._findInstance(namespace,this._fallbacksFor(namespace,preferredKey));if(instance){cache[preferredKey] = instance;Ember.set(instance,'store',this._store);}return cache[preferredKey];};ContainerInstanceCache.prototype._fallbacksFor = function _fallbacksFor(namespace,preferredKey){if(namespace === 'adapter'){return ['application',this._store.get('adapter'),'-json-api'];} // serializer\nreturn ['application',this.get('adapter',preferredKey).get('defaultSerializer'),'-default'];};ContainerInstanceCache.prototype._findInstance = function _findInstance(namespace,fallbacks){var cache=this._namespaces[namespace];for(var i=0,length=fallbacks.length;i < length;i++) {var fallback=fallbacks[i];if(cache[fallback]){return cache[fallback];}var lookupKey=namespace + ':' + fallback;var instance=this._instanceFor(lookupKey);if(instance){cache[fallback] = instance;return instance;}}};ContainerInstanceCache.prototype._instanceFor = function _instanceFor(key){return this._owner.lookup(key);};ContainerInstanceCache.prototype.destroyCache = function destroyCache(cache){var cacheEntries=Object.keys(cache);for(var i=0,length=cacheEntries.length;i < length;i++) {var cacheKey=cacheEntries[i];var cacheEntry=cache[cacheKey];if(cacheEntry){cacheEntry.destroy();}}};ContainerInstanceCache.prototype.destroy = function destroy(){this.isDestroying = true;this.destroyCache(this._namespaces.adapter);this.destroyCache(this._namespaces.serializer);this.isDestroyed = true;};ContainerInstanceCache.prototype.toString = function toString(){return 'ContainerInstanceCache';};return ContainerInstanceCache;})();var badIdFormatAssertion='`id` passed to `findRecord()` has to be non-empty string or number';var Backburner=Ember._Backburner;var ENV=Ember.ENV; //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\nfunction promiseRecord(internalModelPromise,label){var toReturn=internalModelPromise.then(function(internalModel){return internalModel.getRecord();});return promiseObject(toReturn,label);}var Store=void 0; // 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  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*/Store = Ember.Service.extend({ /**\n    @method init\n    @private\n  */init:function init(){this._super.apply(this,arguments);this._backburner = new Backburner(['normalizeRelationships','syncRelationships','finished']); // internal bookkeeping; not observable\nthis.recordArrayManager = new RecordArrayManager({store:this});this._identityMap = new IdentityMap();this._pendingSave = [];this._instanceCache = new ContainerInstanceCache(getOwner(this),this);this._modelFactoryCache = Object.create(null);this._relationshipsPayloads = new RelationshipPayloadsManager(this); /*\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     */ // used for coalescing record save requests\nthis._pendingSave = []; // used for coalescing relationship updates\nthis._updatedRelationships = []; // used for coalescing relationship setup needs\nthis._pushedInternalModels = []; // used for coalescing internal model updates\nthis._updatedInternalModels = []; // used to keep track of all the find requests that need to be coalesced\nthis._pendingFetch = Ember.MapWithDefault.create({defaultValue:function defaultValue(){return [];}});this._instanceCache = new ContainerInstanceCache(getOwner(this),this);}, /**\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  */adapter:'-json-api', /**\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  */serialize:function serialize(record,options){if(isEnabled('ds-deprecate-store-serialize')){true && !false && Ember.deprecate('Use of store.serialize is deprecated, use record.serialize instead.',false,{id:'ds.store.serialize',until:'3.0'});}var snapshot=record._internalModel.createSnapshot();return snapshot.serialize(options);}, /**\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  */defaultAdapter:Ember.computed('adapter',function(){var adapter=Ember.get(this,'adapter');true && !(typeof adapter === 'string') && Ember.assert('You tried to set `adapter` property to an instance of `DS.Adapter`, where it should be a name',typeof adapter === 'string');return this.adapterFor(adapter);}), // .....................\n// . CREATE NEW RECORD .\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  */createRecord:function createRecord(modelName,inputProperties){true && !Ember.isPresent(modelName) && Ember.assert('You need to pass a model name to the store\\'s createRecord method',Ember.isPresent(modelName));true && !(typeof modelName === 'string') && Ember.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName,typeof modelName === 'string');var normalizedModelName=normalizeModelName(modelName);var properties=Ember.assign({},inputProperties); // If the passed properties do not include a primary key,\n// give the adapter an opportunity to generate one. Typically,\n// client-side ID generators will use something like uuid.js\n// to avoid conflicts.\nif(Ember.isNone(properties.id)){properties.id = this._generateId(normalizedModelName,properties);} // Coerce ID to a string\nproperties.id = coerceId(properties.id);var internalModel=this._buildInternalModel(normalizedModelName,properties.id);internalModel.loadedData();var record=internalModel.getRecord(properties); // TODO @runspired this should also be coalesced into some form of internalModel.setState()\ninternalModel.eachRelationship(function(key,descriptor){if(properties[key] !== undefined){internalModel._relationships.get(key).setHasData(true);}});return record;}, /**\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  */_generateId:function _generateId(modelName,properties){var adapter=this.adapterFor(modelName);if(adapter && adapter.generateIdForRecord){return adapter.generateIdForRecord(this,modelName,properties);}return null;}, // .................\n// . DELETE RECORD .\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  */deleteRecord:function deleteRecord(record){record.deleteRecord();}, /**\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  */unloadRecord:function unloadRecord(record){record.unloadRecord();}, // ................\n// . FIND RECORDS .\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  */find:function find(modelName,id,options){ // The default `model` hook in Route calls `find(modelName, id)`,\n// that's why we have to keep this method around even though `findRecord` is\n// the public way to get a record by modelName and id.\ntrue && !(arguments.length !== 1) && Ember.assert('Using store.find(type) has been removed. Use store.findAll(modelName) to retrieve all records for a given type.',arguments.length !== 1);true && !!options && Ember.assert('Calling store.find(modelName, id, { preload: preload }) is no longer supported. Use store.findRecord(modelName, id, { preload: preload }) instead.',!options);true && !(arguments.length === 2) && Ember.assert('You need to pass the model name and id to the store\\'s find method',arguments.length === 2);true && !(typeof id === 'string' || typeof id === 'number') && Ember.assert('You cannot pass \\'' + id + '\\' as id to the store\\'s find method',typeof id === 'string' || typeof id === 'number');true && !(typeof id !== 'object') && Ember.assert('Calling store.find() with a query object is no longer supported. Use store.query() instead.',typeof id !== 'object');true && !(typeof modelName === 'string') && Ember.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName,typeof modelName === 'string');var normalizedModelName=normalizeModelName(modelName);return this.findRecord(normalizedModelName,id);}, /**\n    This method returns a record for a given type and id combination.\n     The `findRecord` method will always resolve its promise with the same\n    object for a given type and `id`.\n     The `findRecord` method will always return a **promise** that will be\n    resolved with the record.\n     Example\n     ```app/routes/post.js\n    import Route from '@ember/routing/route';\n     export default Route.extend({\n      model(params) {\n        return this.store.findRecord('post', params.post_id);\n      }\n    });\n    ```\n     If the record is not yet available, the store will ask the adapter's `find`\n    method to find the necessary data. If the record is already present in the\n    store, it depends on the reload behavior _when_ the returned promise\n    resolves.\n     ### Preloading\n     You can optionally `preload` specific attributes and relationships that you know of\n    by passing them via the passed `options`.\n     For example, if your Ember route looks like `/posts/1/comments/2` and your API route\n    for the comment also looks like `/posts/1/comments/2` if you want to fetch the comment\n    without fetching the post you can pass in the post to the `findRecord` call:\n     ```javascript\n    store.findRecord('comment', 2, { preload: { post: 1 } });\n    ```\n     If you have access to the post model you can also pass the model itself:\n     ```javascript\n    store.findRecord('post', 1).then(function (myPostModel) {\n      store.findRecord('comment', 2, { post: myPostModel });\n    });\n    ```\n     ### Reloading\n     The reload behavior is configured either via the passed `options` hash or\n    the result of the adapter's `shouldReloadRecord`.\n     If `{ reload: true }` is passed or `adapter.shouldReloadRecord` evaluates\n    to `true`, then the returned promise resolves once the adapter returns\n    data, regardless if the requested record is already in the store:\n     ```js\n    store.push({\n      data: {\n        id: 1,\n        type: 'post',\n        revision: 1\n      }\n    });\n     // adapter#findRecord resolves with\n    // [\n    //   {\n    //     id: 1,\n    //     type: 'post',\n    //     revision: 2\n    //   }\n    // ]\n    store.findRecord('post', 1, { reload: true }).then(function(post) {\n      post.get('revision'); // 2\n    });\n    ```\n     If no reload is indicated via the 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 Route from '@ember/routing/route';\n     export default Route.extend({\n      model(params) {\n        return this.store.findRecord('post', params.post_id, { backgroundReload: false });\n      }\n    });\n    ```\n     If you pass an object on the `adapterOptions` property of the options\n    argument it will be passed to you adapter via the snapshot\n     ```app/routes/post/edit.js\n    import Route from '@ember/routing/route';\n     export default Route.extend({\n      model(params) {\n        return this.store.findRecord('post', params.post_id, {\n          adapterOptions: { subscribe: false }\n        });\n      }\n    });\n    ```\n     ```app/adapters/post.js\n    import MyCustomAdapter from './custom-adapter';\n     export default MyCustomAdapter.extend({\n      findRecord(store, type, id, snapshot) {\n        if (snapshot.adapterOptions.subscribe) {\n          // ...\n        }\n        // ...\n      }\n    });\n    ```\n     See [peekRecord](#method_peekRecord) to get the cached version of a record.\n     ### Retrieving Related Model Records\n     If you use an adapter such as Ember's default\n    [`JSONAPIAdapter`](https://emberjs.com/api/data/classes/DS.JSONAPIAdapter.html)\n    that supports the [JSON API specification](http://jsonapi.org/) and if your server\n    endpoint supports the use of an\n    ['include' query parameter](http://jsonapi.org/format/#fetching-includes),\n    you can use `findRecord()` to automatically retrieve additional records related to\n    the one you request by supplying an `include` parameter in the `options` object.\n     For example, given a `post` model that has a `hasMany` relationship with a `comment`\n    model, when we retrieve a specific post we can have the server also return that post's\n    comments in the same request:\n     ```app/routes/post.js\n    import Route from '@ember/routing/route';\n     export default Route.extend({\n      model(params) {\n        return this.store.findRecord('post', params.post_id, { include: 'comments' });\n      }\n    });\n     ```\n    In this case, the post's comments would then be available in your template as\n    `model.comments`.\n     Multiple relationships can be requested using an `include` parameter consisting of a\n    comma-separated list (without white-space) while nested relationships can be specified\n    using a dot-separated sequence of relationship names. So to request both the post's\n    comments and the authors of those comments the request would look like this:\n     ```app/routes/post.js\n    import Route from '@ember/routing/route';\n     export default Route.extend({\n      model(params) {\n        return this.store.findRecord('post', params.post_id, { include: 'comments,comments.author' });\n      }\n    });\n     ```\n     @since 1.13.0\n    @method findRecord\n    @param {String} modelName\n    @param {(String|Integer)} id\n    @param {Object} options\n    @return {Promise} promise\n  */findRecord:function findRecord(modelName,id,options){true && !Ember.isPresent(modelName) && Ember.assert('You need to pass a model name to the store\\'s findRecord method',Ember.isPresent(modelName));true && !(typeof modelName === 'string') && Ember.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName,typeof modelName === 'string');true && !(typeof id === 'string' && id.length > 0 || typeof id === 'number' && !isNaN(id)) && Ember.assert(badIdFormatAssertion,typeof id === 'string' && id.length > 0 || typeof id === 'number' && !isNaN(id));var normalizedModelName=normalizeModelName(modelName);var internalModel=this._internalModelForId(normalizedModelName,id);options = options || {};if(!this.hasRecordForId(normalizedModelName,id)){return this._findByInternalModel(internalModel,options);}var fetchedInternalModel=this._findRecord(internalModel,options);return promiseRecord(fetchedInternalModel,'DS: Store#findRecord ' + normalizedModelName + ' with id: ' + id);},_findRecord:function _findRecord(internalModel,options){ // Refetch if the reload option is passed\nif(options.reload){return this._scheduleFetch(internalModel,options);}var snapshot=internalModel.createSnapshot(options);var adapter=this.adapterFor(internalModel.modelName); // Refetch the record if the adapter thinks the record is stale\nif(adapter.shouldReloadRecord(this,snapshot)){return this._scheduleFetch(internalModel,options);}if(options.backgroundReload === false){return Ember.RSVP.Promise.resolve(internalModel);} // Trigger the background refetch if backgroundReload option is passed\nif(options.backgroundReload || adapter.shouldBackgroundReloadRecord(this,snapshot)){this._scheduleFetch(internalModel,options);} // Return the cached record\nreturn Ember.RSVP.Promise.resolve(internalModel);},_findByInternalModel:function _findByInternalModel(internalModel){var options=arguments.length > 1 && arguments[1] !== undefined?arguments[1]:{};if(options.preload){internalModel.preloadData(options.preload);}var fetchedInternalModel=this._findEmptyInternalModel(internalModel,options);return promiseRecord(fetchedInternalModel,'DS: Store#findRecord ' + internalModel.modelName + ' with id: ' + internalModel.id);},_findEmptyInternalModel:function _findEmptyInternalModel(internalModel,options){if(internalModel.isEmpty()){return this._scheduleFetch(internalModel,options);} //TODO double check about reloading\nif(internalModel.isLoading()){return internalModel._loadingPromise;}return Ember.RSVP.Promise.resolve(internalModel);}, /**\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  */findByIds:function findByIds(modelName,ids){true && !Ember.isPresent(modelName) && Ember.assert('You need to pass a model name to the store\\'s findByIds method',Ember.isPresent(modelName));true && !(typeof modelName === 'string') && Ember.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName,typeof modelName === 'string');var promises=new Array(ids.length);var normalizedModelName=normalizeModelName(modelName);for(var i=0;i < ids.length;i++) {promises[i] = this.findRecord(normalizedModelName,ids[i]);}return promiseArray(Ember.RSVP.all(promises).then(Ember.A,null,'DS: Store#findByIds of ' + normalizedModelName + ' complete'));}, /**\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   */_fetchRecord:function _fetchRecord(internalModel,options){var modelName=internalModel.modelName;var adapter=this.adapterFor(modelName);true && !adapter && Ember.assert('You tried to find a record but you have no adapter (for ' + modelName + ')',adapter);true && !(typeof adapter.findRecord === 'function') && Ember.assert('You tried to find a record but your adapter (for ' + modelName + ') does not implement \\'findRecord\\'',typeof adapter.findRecord === 'function');return _find(adapter,this,internalModel.type,internalModel.id,internalModel,options);},_scheduleFetchMany:function _scheduleFetchMany(internalModels){var fetches=new Array(internalModels.length);for(var i=0;i < internalModels.length;i++) {fetches[i] = this._scheduleFetch(internalModels[i]);}return Ember.RSVP.Promise.all(fetches);},_scheduleFetch:function _scheduleFetch(internalModel,options){if(internalModel._loadingPromise){return internalModel._loadingPromise;}var id=internalModel.id,modelName=internalModel.modelName;var resolver=Ember.RSVP.defer('Fetching ' + modelName + '\\' with id: ' + id);var pendingFetchItem={internalModel:internalModel,resolver:resolver,options:options};var promise=resolver.promise;internalModel.loadingData(promise);if(this._pendingFetch.size === 0){Ember.run.schedule('afterRender',this,this.flushAllPendingFetches);}this._pendingFetch.get(modelName).push(pendingFetchItem);return promise;},flushAllPendingFetches:function flushAllPendingFetches(){if(this.isDestroyed || this.isDestroying){return;}this._pendingFetch.forEach(this._flushPendingFetchForType,this);this._pendingFetch.clear();},_flushPendingFetchForType:function _flushPendingFetchForType(pendingFetchItems,modelName){var store=this;var adapter=store.adapterFor(modelName);var shouldCoalesce=!!adapter.findMany && adapter.coalesceFindRequests;var totalItems=pendingFetchItems.length;var internalModels=new Array(totalItems);var seeking=Object.create(null);for(var _i=0;_i < totalItems;_i++) {var pendingItem=pendingFetchItems[_i];var _internalModel=pendingItem.internalModel;internalModels[_i] = _internalModel;seeking[_internalModel.id] = pendingItem;}for(var _i2=0;_i2 < totalItems;_i2++) {var _internalModel2=internalModels[_i2]; // We may have unloaded the record after scheduling this fetch, in which\n// case we must cancel the destory.  This is because we require a record\n// to build a snapshot.  This is not fundamental: this cancelation code\n// can be removed when snapshots can be created for internal models that\n// have no records.\nif(_internalModel2.hasScheduledDestroy()){internalModels[_i2].cancelDestroy();}}function _fetchRecord(recordResolverPair){var recordFetch=store._fetchRecord(recordResolverPair.internalModel,recordResolverPair.options); // TODO adapter options\nrecordResolverPair.resolver.resolve(recordFetch);}function handleFoundRecords(foundInternalModels,expectedInternalModels){ // resolve found records\nvar found=Object.create(null);for(var _i3=0,_l=foundInternalModels.length;_i3 < _l;_i3++) {var _internalModel3=foundInternalModels[_i3];var _pair=seeking[_internalModel3.id];found[_internalModel3.id] = _internalModel3;if(_pair){var resolver=_pair.resolver;resolver.resolve(_internalModel3);}} // reject missing records\nvar missingInternalModels=[];for(var _i4=0,_l2=expectedInternalModels.length;_i4 < _l2;_i4++) {var _internalModel4=expectedInternalModels[_i4];if(!found[_internalModel4.id]){missingInternalModels.push(_internalModel4);}}if(missingInternalModels.length){true && Ember.warn('Ember Data expected to find records with the following ids in the adapter response but they were missing: ' + Ember.inspect(missingInternalModels.map(function(r){return r.id;})),false,{id:'ds.store.missing-records-from-adapter'});rejectInternalModels(missingInternalModels);}}function rejectInternalModels(internalModels,error){for(var _i5=0,_l3=internalModels.length;_i5 < _l3;_i5++) {var _internalModel5=internalModels[_i5];var _pair2=seeking[_internalModel5.id];if(_pair2){_pair2.resolver.reject(error || new Error('Expected: \\'' + _internalModel5 + '\\' to be present in the adapter provided payload, but it was not found.'));}}}if(shouldCoalesce){ // 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()\nvar snapshots=new Array(totalItems);for(var _i6=0;_i6 < totalItems;_i6++) {snapshots[_i6] = internalModels[_i6].createSnapshot();}var groups=adapter.groupRecordsForFindMany(this,snapshots);for(var i=0,l=groups.length;i < l;i++) {var group=groups[i];var totalInGroup=groups[i].length;var ids=new Array(totalInGroup);var groupedInternalModels=new Array(totalInGroup);for(var j=0;j < totalInGroup;j++) {var internalModel=group[j]._internalModel;groupedInternalModels[j] = internalModel;ids[j] = internalModel.id;}if(totalInGroup > 1){(function(groupedInternalModels){_findMany(adapter,store,modelName,ids,groupedInternalModels).then(function(foundInternalModels){handleFoundRecords(foundInternalModels,groupedInternalModels);})['catch'](function(error){rejectInternalModels(groupedInternalModels,error);});})(groupedInternalModels);}else if(ids.length === 1){var pair=seeking[groupedInternalModels[0].id];_fetchRecord(pair);}else {true && !false && Ember.assert(\"You cannot return an empty array from adapter's method groupRecordsForFindMany\",false);}}}else {for(var _i7=0;_i7 < totalItems;_i7++) {_fetchRecord(pendingFetchItems[_i7]);}}}, /**\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  */getReference:function getReference(modelName,id){var normalizedModelName=normalizeModelName(modelName);return this._internalModelForId(normalizedModelName,id).recordReference;}, /**\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  */peekRecord:function peekRecord(modelName,id){true && !Ember.isPresent(modelName) && Ember.assert('You need to pass a model name to the store\\'s peekRecord method',Ember.isPresent(modelName));true && !(Ember.isPresent(modelName) && Ember.isPresent(id)) && Ember.assert('You need to pass both a model name and id to the store\\'s peekRecord method',Ember.isPresent(modelName) && Ember.isPresent(id));true && !(typeof modelName === 'string') && Ember.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName,typeof modelName === 'string');var normalizedModelName=normalizeModelName(modelName);if(this.hasRecordForId(normalizedModelName,id)){return this._internalModelForId(normalizedModelName,id).getRecord();}else {return null;}}, /**\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  */_reloadRecord:function _reloadRecord(internalModel){var id=internalModel.id,modelName=internalModel.modelName;var adapter=this.adapterFor(modelName);true && !id && Ember.assert('You cannot reload a record without an ID',id);true && !adapter && Ember.assert('You tried to reload a record but you have no adapter (for ' + modelName + ')',adapter);true && !(typeof adapter.findRecord === 'function' || typeof adapter.find === 'function') && Ember.assert('You tried to reload a record but your adapter does not implement \\'findRecord\\'',typeof adapter.findRecord === 'function' || typeof adapter.find === 'function');return this._scheduleFetch(internalModel);}, /**\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  */hasRecordForId:function hasRecordForId(modelName,id){true && !Ember.isPresent(modelName) && Ember.assert('You need to pass a model name to the store\\'s hasRecordForId method',Ember.isPresent(modelName));true && !(typeof modelName === 'string') && Ember.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName,typeof modelName === 'string');var normalizedModelName=normalizeModelName(modelName);var trueId=coerceId(id);var internalModel=this._internalModelsFor(normalizedModelName).get(trueId);return !!internalModel && internalModel.isLoaded();}, /**\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  */recordForId:function recordForId(modelName,id){true && !Ember.isPresent(modelName) && Ember.assert('You need to pass a model name to the store\\'s recordForId method',Ember.isPresent(modelName));true && !(typeof modelName === 'string') && Ember.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName,typeof modelName === 'string');return this._internalModelForId(modelName,id).getRecord();},_internalModelForId:function _internalModelForId(modelName,id){var trueId=coerceId(id);var internalModel=this._internalModelsFor(modelName).get(trueId);if(internalModel){if(internalModel.hasScheduledDestroy()){internalModel.destroySync();return this._buildInternalModel(modelName,trueId);}else {return internalModel;}}else {return this._buildInternalModel(modelName,trueId);}},_internalModelDidReceiveRelationshipData:function _internalModelDidReceiveRelationshipData(modelName,id,relationshipData){this._relationshipsPayloads.push(modelName,id,relationshipData);},_internalModelDestroyed:function _internalModelDestroyed(internalModel){this._removeFromIdMap(internalModel);if(!this.isDestroying){this._relationshipsPayloads.unload(internalModel.modelName,internalModel.id);}}, /**\n    @method findMany\n    @private\n    @param {Array} internalModels\n    @return {Promise} promise\n  */findMany:function findMany(internalModels){var finds=new Array(internalModels.length);for(var i=0;i < internalModels.length;i++) {finds[i] = this._findEmptyInternalModel(internalModels[i]);}return Ember.RSVP.Promise.all(finds);}, /**\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  */findHasMany:function findHasMany(internalModel,link,relationship){var adapter=this.adapterFor(internalModel.modelName);true && !adapter && Ember.assert('You tried to load a hasMany relationship but you have no adapter (for ' + internalModel.modelName + ')',adapter);true && !(typeof adapter.findHasMany === 'function') && Ember.assert('You tried to load a hasMany relationship from a specified \\'link\\' in the original payload but your adapter does not implement \\'findHasMany\\'',typeof adapter.findHasMany === 'function');return _findHasMany(adapter,this,internalModel,link,relationship);}, /**\n    @method findBelongsTo\n    @private\n    @param {InternalModel} internalModel\n    @param {any} link\n    @param {Relationship} relationship\n    @return {Promise} promise\n  */findBelongsTo:function findBelongsTo(internalModel,link,relationship){var adapter=this.adapterFor(internalModel.modelName);true && !adapter && Ember.assert('You tried to load a belongsTo relationship but you have no adapter (for ' + internalModel.modelName + ')',adapter);true && !(typeof adapter.findBelongsTo === 'function') && Ember.assert('You tried to load a belongsTo relationship from a specified \\'link\\' in the original payload but your adapter does not implement \\'findBelongsTo\\'',typeof adapter.findBelongsTo === 'function');return _findBelongsTo(adapter,this,internalModel,link,relationship);}, /**\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`](https://emberjs.com/api/data/classes/DS.AdapterPopulatedRecordArray.html)\n    once the server returns.\n     @since 1.13.0\n    @method query\n    @param {String} modelName\n    @param {any} query an opaque query to be used by the adapter\n    @return {Promise} promise\n  */query:function query(modelName,_query2){true && !Ember.isPresent(modelName) && Ember.assert('You need to pass a model name to the store\\'s query method',Ember.isPresent(modelName));true && !_query2 && Ember.assert('You need to pass a query hash to the store\\'s query method',_query2);true && !(typeof modelName === 'string') && Ember.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName,typeof modelName === 'string');var normalizedModelName=normalizeModelName(modelName);return this._query(normalizedModelName,_query2);},_query:function _query$$1(modelName,query,array){true && !Ember.isPresent(modelName) && Ember.assert('You need to pass a model name to the store\\'s query method',Ember.isPresent(modelName));true && !query && Ember.assert('You need to pass a query hash to the store\\'s query method',query);true && !(typeof modelName === 'string') && Ember.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName,typeof modelName === 'string');var adapter=this.adapterFor(modelName);true && !adapter && Ember.assert('You tried to load a query but you have no adapter (for ' + modelName + ')',adapter);true && !(typeof adapter.query === 'function') && Ember.assert('You tried to load a query but your adapter does not implement \\'query\\'',typeof adapter.query === 'function');var pA=promiseArray(_query(adapter,this,modelName,query,array));return pA;}, /**\n    This method makes a request for one record, where the `id` is not known\n    beforehand (if the `id` is known, use [`findRecord`](#method_findRecord)\n    instead).\n     This method can be used when it is certain that the server will return a\n    single object for the primary data.\n     Each time this method is called a new request is made through the adapter.\n     Let's assume our API provides an endpoint for the currently logged in user\n    via:\n     ```\n    // GET /api/current_user\n    {\n      user: {\n        id: 1234,\n        username: 'admin'\n      }\n    }\n    ```\n     Since the specific `id` of the `user` is not known beforehand, we can use\n    `queryRecord` to get the user:\n     ```javascript\n    store.queryRecord('user', {}).then(function(user) {\n      let username = user.get('username');\n      console.log(`Currently logged in as ${username}`);\n    });\n    ```\n     The request is made through the adapters' `queryRecord`:\n     ```app/adapters/user.js\n    import $ from 'jquery';\n    import DS from 'ember-data';\n     export default DS.Adapter.extend({\n      queryRecord(modelName, query) {\n        return $.getJSON('/api/current_user');\n      }\n    });\n    ```\n     Note: the primary use case for `store.queryRecord` is when a single record\n    is queried and the `id` is not known beforehand. In all other cases\n    `store.query` and using the first item of the array is likely the preferred\n    way:\n     ```\n    // GET /users?username=unique\n    {\n      data: [{\n        id: 1234,\n        type: 'user',\n        attributes: {\n          username: \"unique\"\n        }\n      }]\n    }\n    ```\n     ```javascript\n    store.query('user', { username: 'unique' }).then(function(users) {\n      return users.get('firstObject');\n    }).then(function(user) {\n      let id = user.get('id');\n    });\n    ```\n     This method returns a promise, which resolves with the found record.\n     If the adapter returns no data for the primary data of the payload, then\n    `queryRecord` resolves with `null`:\n     ```\n    // GET /users?username=unique\n    {\n      data: null\n    }\n    ```\n     ```javascript\n    store.queryRecord('user', { username: 'unique' }).then(function(user) {\n      console.log(user); // null\n    });\n    ```\n     @since 1.13.0\n    @method queryRecord\n    @param {String} modelName\n    @param {any} query an opaque query to be used by the adapter\n    @return {Promise} promise which resolves with the found record or `null`\n  */queryRecord:function queryRecord(modelName,query){true && !Ember.isPresent(modelName) && Ember.assert('You need to pass a model name to the store\\'s queryRecord method',Ember.isPresent(modelName));true && !query && Ember.assert('You need to pass a query hash to the store\\'s queryRecord method',query);true && !(typeof modelName === 'string') && Ember.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName,typeof modelName === 'string');var normalizedModelName=normalizeModelName(modelName);var adapter=this.adapterFor(normalizedModelName);true && !adapter && Ember.assert('You tried to make a query but you have no adapter (for ' + normalizedModelName + ')',adapter);true && !(typeof adapter.queryRecord === 'function') && Ember.assert('You tried to make a query but your adapter does not implement \\'queryRecord\\'',typeof adapter.queryRecord === 'function');return promiseObject(_queryRecord(adapter,this,modelName,query).then(function(internalModel){ // the promise returned by store.queryRecord is expected to resolve with\n// an instance of DS.Model\nif(internalModel){return internalModel.getRecord();}return null;}));}, /**\n    `findAll` asks the adapter's `findAll` method to find the records for the\n    given type, and returns a promise which will resolve with all records of\n    this type present in the store, even if the adapter only returns a subset\n    of them.\n     ```app/routes/authors.js\n    import Route from '@ember/routing/route';\n     export default Route.extend({\n      model(params) {\n        return this.store.findAll('author');\n      }\n    });\n    ```\n     _When_ the returned promise resolves depends on the reload behavior,\n    configured via the passed `options` hash and the result of the adapter's\n    `shouldReloadAll` method.\n     ### Reloading\n     If `{ reload: true }` is passed or `adapter.shouldReloadAll` evaluates to\n    `true`, then the returned promise resolves once the adapter returns data,\n    regardless if there are already records in the store:\n     ```js\n    store.push({\n      data: {\n        id: 'first',\n        type: 'author'\n      }\n    });\n     // adapter#findAll resolves with\n    // [\n    //   {\n    //     id: 'second',\n    //     type: 'author'\n    //   }\n    // ]\n    store.findAll('author', { reload: true }).then(function(authors) {\n      authors.getEach('id'); // ['first', 'second']\n    });\n    ```\n     If no reload is indicated via the 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     ```app/adapters/application.js\n    import DS from 'ember-data';\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 Route from '@ember/routing/route';\n     export default Route.extend({\n      model() {\n        return this.store.findAll('post', { backgroundReload: false });\n      }\n    });\n    ```\n     If you pass an object on the `adapterOptions` property of the options\n    argument it will be passed to you adapter via the `snapshotRecordArray`\n     ```app/routes/posts.js\n    import Route from '@ember/routing/route';\n     export default Route.extend({\n      model(params) {\n        return this.store.findAll('post', {\n          adapterOptions: { subscribe: false }\n        });\n      }\n    });\n    ```\n     ```app/adapters/post.js\n    import MyCustomAdapter from './custom-adapter';\n     export default MyCustomAdapter.extend({\n      findAll(store, type, sinceToken, snapshotRecordArray) {\n        if (snapshotRecordArray.adapterOptions.subscribe) {\n          // ...\n        }\n        // ...\n      }\n    });\n    ```\n     See [peekAll](#method_peekAll) to get an array of current records in the\n    store, without waiting until a reload is finished.\n     ### Retrieving Related Model Records\n     If you use an adapter such as Ember's default\n    [`JSONAPIAdapter`](https://emberjs.com/api/data/classes/DS.JSONAPIAdapter.html)\n    that supports the [JSON API specification](http://jsonapi.org/) and if your server\n    endpoint supports the use of an\n    ['include' query parameter](http://jsonapi.org/format/#fetching-includes),\n    you can use `findAll()` to automatically retrieve additional records related to\n    those requested by supplying an `include` parameter in the `options` object.\n     For example, given a `post` model that has a `hasMany` relationship with a `comment`\n    model, when we retrieve all of the post records we can have the server also return\n    all of the posts' comments in the same request:\n     ```app/routes/posts.js\n    import Route from '@ember/routing/route';\n     export default Route.extend({\n      model() {\n        return this.store.findAll('post', { include: 'comments' });\n      }\n    });\n     ```\n    Multiple relationships can be requested using an `include` parameter consisting of a\n    comma-separated list (without white-space) while nested relationships can be specified\n    using a dot-separated sequence of relationship names. So to request both the posts'\n    comments and the authors of those comments the request would look like this:\n     ```app/routes/posts.js\n    import Route from '@ember/routing/route';\n     export default Route.extend({\n      model() {\n        return this.store.findAll('post', { include: 'comments,comments.author' });\n      }\n    });\n     ```\n     See [query](#method_query) to only get a subset of records from the server.\n     @since 1.13.0\n    @method findAll\n    @param {String} modelName\n    @param {Object} options\n    @return {Promise} promise\n  */findAll:function findAll(modelName,options){true && !Ember.isPresent(modelName) && Ember.assert('You need to pass a model name to the store\\'s findAll method',Ember.isPresent(modelName));true && !(typeof modelName === 'string') && Ember.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName,typeof modelName === 'string');var normalizedModelName=normalizeModelName(modelName);var fetch=this._fetchAll(normalizedModelName,this.peekAll(normalizedModelName),options);return fetch;}, /**\n    @method _fetchAll\n    @private\n    @param {DS.Model} modelName\n    @param {DS.RecordArray} array\n    @return {Promise} promise\n  */_fetchAll:function _fetchAll(modelName,array){var options=arguments.length > 2 && arguments[2] !== undefined?arguments[2]:{};var adapter=this.adapterFor(modelName);var sinceToken=this._internalModelsFor(modelName).metadata.since;true && !adapter && Ember.assert('You tried to load all records but you have no adapter (for ' + modelName + ')',adapter);true && !(typeof adapter.findAll === 'function') && Ember.assert('You tried to load all records but your adapter does not implement \\'findAll\\'',typeof adapter.findAll === 'function');if(options.reload){Ember.set(array,'isUpdating',true);return promiseArray(_findAll(adapter,this,modelName,sinceToken,options));}var snapshotArray=array._createSnapshot(options);if(adapter.shouldReloadAll(this,snapshotArray)){Ember.set(array,'isUpdating',true);return promiseArray(_findAll(adapter,this,modelName,sinceToken,options));}if(options.backgroundReload === false){return promiseArray(Ember.RSVP.Promise.resolve(array));}if(options.backgroundReload || adapter.shouldBackgroundReloadAll(this,snapshotArray)){Ember.set(array,'isUpdating',true);_findAll(adapter,this,modelName,sinceToken,options);}return promiseArray(Ember.RSVP.Promise.resolve(array));}, /**\n    @method _didUpdateAll\n    @param {String} modelName\n    @private\n  */_didUpdateAll:function _didUpdateAll(modelName){this.recordArrayManager._didUpdateAll(modelName);},didUpdateAll:function didUpdateAll(modelName){true && !false && Ember.deprecate('didUpdateAll was documented as private and will be removed in the next version of Ember Data.',false,{id:'ember-data.didUpdateAll',until:'2.17.0'});return this._didUpdateAll(modelName);}, /**\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  */peekAll:function peekAll(modelName){true && !Ember.isPresent(modelName) && Ember.assert('You need to pass a model name to the store\\'s peekAll method',Ember.isPresent(modelName));true && !(typeof modelName === 'string') && Ember.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName,typeof modelName === 'string');var normalizedModelName=normalizeModelName(modelName);return this.recordArrayManager.liveRecordArrayFor(normalizedModelName);}, /**\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  */unloadAll:function unloadAll(modelName){true && !(!modelName || typeof modelName === 'string') && Ember.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName,!modelName || typeof modelName === 'string');if(arguments.length === 0){this._identityMap.clear();}else {var normalizedModelName=normalizeModelName(modelName);this._internalModelsFor(normalizedModelName).clear();}}, /**\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  */filter:function filter(modelName,query,_filter){true && !Ember.isPresent(modelName) && Ember.assert('You need to pass a model name to the store\\'s filter method',Ember.isPresent(modelName));true && !(typeof modelName === 'string') && Ember.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName,typeof modelName === 'string');if(!ENV.ENABLE_DS_FILTER){true && !false && Ember.assert('The filter API has been moved to a plugin. To enable store.filter using an environment flag, or to use an alternative, you can visit the ember-data-filter addon page. https://github.com/ember-data/ember-data-filter',false);}var promise=void 0;var length=arguments.length;var array=void 0;var hasQuery=length === 3;var normalizedModelName=normalizeModelName(modelName); // allow an optional server query\nif(hasQuery){promise = this.query(normalizedModelName,query);}else if(arguments.length === 2){_filter = query;}if(hasQuery){array = this.recordArrayManager.createFilteredRecordArray(normalizedModelName,_filter,query);}else {array = this.recordArrayManager.createFilteredRecordArray(normalizedModelName,_filter);}promise = promise || Ember.RSVP.Promise.resolve(array);return promiseArray(promise.then(function(){return array;},null,'DS: Store#filter of ' + normalizedModelName));}, /**\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  */recordIsLoaded:function recordIsLoaded(modelName,id){true && !false && Ember.deprecate('Use of recordIsLoaded is deprecated, use hasRecordForId instead.',false,{id:'ds.store.recordIsLoaded',until:'3.0'});return this.hasRecordForId(modelName,id);}, // ..............\n// . PERSISTING .\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  */scheduleSave:function scheduleSave(internalModel,resolver,options){var snapshot=internalModel.createSnapshot(options);internalModel.flushChangedAttributes();internalModel.adapterWillCommit();this._pendingSave.push({snapshot:snapshot,resolver:resolver});Ember.run.once(this,this.flushPendingSave);}, /**\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  */flushPendingSave:function flushPendingSave(){var pending=this._pendingSave.slice();this._pendingSave = [];for(var i=0,j=pending.length;i < j;i++) {var pendingItem=pending[i];var snapshot=pendingItem.snapshot;var resolver=pendingItem.resolver;var internalModel=snapshot._internalModel;var adapter=this.adapterFor(internalModel.modelName);var operation=void 0;if(internalModel.currentState.stateName === 'root.deleted.saved'){resolver.resolve();continue;}else if(internalModel.isNew()){operation = 'createRecord';}else if(internalModel.isDeleted()){operation = 'deleteRecord';}else {operation = 'updateRecord';}resolver.resolve(_commit(adapter,this,operation,snapshot));}}, /**\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  */didSaveRecord:function didSaveRecord(internalModel,dataArg){var data=void 0;if(dataArg){data = dataArg.data;}if(data){ // normalize relationship IDs into records\nthis.updateId(internalModel,data);this._setupRelationshipsForModel(internalModel,data);}else {true && !internalModel.id && Ember.assert('Your ' + internalModel.modelName + ' record was saved to the server, but the response does not have an id and no id has been set client side. Records must have ids. Please update the server response to provide an id in the response or generate the id on the client side either before saving the record or while normalizing the response.',internalModel.id);} //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\ninternalModel.adapterDidCommit(data);}, /**\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  */recordWasInvalid:function recordWasInvalid(internalModel,errors){internalModel.adapterDidInvalidate(errors);}, /**\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  */recordWasError:function recordWasError(internalModel,error){internalModel.adapterDidError(error);}, /**\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  */updateId:function updateId(internalModel,data){var oldId=internalModel.id;var modelName=internalModel.modelName;var id=coerceId(data.id); // ID absolutely can't be missing if the oldID is empty (missing Id in response for a new record)\ntrue && !!(id === null && oldId === null) && Ember.assert('\\'' + modelName + '\\' was saved to the server, but the response does not have an id and your record does not either.',!(id === null && oldId === null)); // ID absolutely can't be different than oldID if oldID is not null\ntrue && !!(oldId !== null && id !== oldId) && Ember.assert('\\'' + modelName + ':' + oldId + '\\' was saved to the server, but the response returned the new id \\'' + id + '\\'. The store cannot assign a new id to a record that already has an id.',!(oldId !== null && id !== oldId)); // ID can be null if oldID is not null (altered ID in response for a record)\n// however, this is more than likely a developer error.\nif(oldId !== null && id === null){true && Ember.warn('Your ' + modelName + ' record was saved to the server, but the response does not have an id.',!(oldId !== null && id === null));return;}var existingInternalModel=this._existingInternalModelForId(modelName,id);true && !(Ember.isNone(existingInternalModel) || existingInternalModel === internalModel) && Ember.assert('\\'' + modelName + '\\' was saved to the server, but the response returned the new id \\'' + id + '\\', which has already been used with another record.\\'',Ember.isNone(existingInternalModel) || existingInternalModel === internalModel);this._internalModelsFor(internalModel.modelName).set(id,internalModel);internalModel.setId(id);}, /**\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  */_internalModelsFor:function _internalModelsFor(modelName){return this._identityMap.retrieve(modelName);}, // ................\n// . LOADING DATA .\n// ................\n/**\n    This internal method is used by `push`.\n     @method _load\n    @private\n    @param {Object} data\n  */_load:function _load(data){var modelName=normalizeModelName(data.type);var internalModel=this._internalModelForId(modelName,data.id);var isUpdate=internalModel.currentState.isEmpty === false;internalModel.setupData(data);if(isUpdate){this.recordArrayManager.recordDidChange(internalModel);}else {this.recordArrayManager.recordWasLoaded(internalModel);}return internalModel;}, /*\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  */_modelForMixin:function _modelForMixin(normalizedModelName){ // container.registry = 2.1\n// container._registry = 1.11 - 2.0\n// container = < 1.11\nvar owner=getOwner(this);var mixin=void 0;if(owner.factoryFor){var MaybeMixin=owner.factoryFor('mixin:' + normalizedModelName);mixin = MaybeMixin && MaybeMixin['class'];}else {mixin = owner._lookupFactory('mixin:' + normalizedModelName);}if(mixin){var ModelForMixin=Model.extend(mixin);ModelForMixin.reopenClass({__isMixin:true,__mixin:mixin}); //Cache the class as a model\nowner.register('model:' + normalizedModelName,ModelForMixin);}return this.modelFactoryFor(normalizedModelName);}, /**\n    Returns the model class for the particular `modelName`.\n     The class of a model might be useful if you want to get a list of all the\n    relationship names of the model, see\n    [`relationshipNames`](https://emberjs.com/api/data/classes/DS.Model.html#property_relationshipNames)\n    for example.\n     @method modelFor\n    @param {String} modelName\n    @return {DS.Model}\n  */modelFor:function modelFor(modelName){true && !Ember.isPresent(modelName) && Ember.assert('You need to pass a model name to the store\\'s modelFor method',Ember.isPresent(modelName));true && !(typeof modelName === 'string') && Ember.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName,typeof modelName === 'string');var normalizedModelName=normalizeModelName(modelName);return this._modelFor(normalizedModelName);}, /*\n    @private\n   */_modelFor:function _modelFor(modelName){var maybeFactory=this._modelFactoryFor(modelName); // for factorFor factory/class split\nreturn maybeFactory['class']?maybeFactory['class']:maybeFactory;},_modelFactoryFor:function _modelFactoryFor(modelName){var factory=this._modelFactoryCache[modelName];if(!factory){factory = this.modelFactoryFor(modelName);if(!factory){ //Support looking up mixins as base types for polymorphic relationships\nfactory = this._modelForMixin(modelName);}if(!factory){throw new Ember.Error('No model was found for \\'' + modelName + '\\'');} // interopt with the future\nvar klass=getOwner(this).factoryFor?factory['class']:factory;true && !klass.isModel && Ember.assert('\\'' + Ember.inspect(klass) + '\\' does not appear to be an ember-data model',klass.isModel); // TODO: deprecate this\nvar hasOwnModelNameSet=klass.modelName && klass.hasOwnProperty('modelName');if(!hasOwnModelNameSet){klass.modelName = modelName;}this._modelFactoryCache[modelName] = factory;}return factory;}, /*\n   @private\n   */modelFactoryFor:function modelFactoryFor(modelName){true && !Ember.isPresent(modelName) && Ember.assert('You need to pass a model name to the store\\'s modelFactoryFor method',Ember.isPresent(modelName));true && !(typeof modelName === 'string') && Ember.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName,typeof modelName === 'string');var normalizedModelName=normalizeModelName(modelName);var owner=getOwner(this);if(owner.factoryFor){return owner.factoryFor('model:' + normalizedModelName);}else {return owner._lookupFactory('model:' + normalizedModelName);}}, /**\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  */push:function push(data){var pushed=this._push(data);if(Array.isArray(pushed)){var records=pushed.map(function(internalModel){return internalModel.getRecord();});return records;}if(pushed === null){return null;}var record=pushed.getRecord();return record;}, /*\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  */_push:function _push(jsonApiDoc){var _this=this;var internalModelOrModels=this._backburner.join(function(){var included=jsonApiDoc.included;var i=void 0,length=void 0;if(included){for(i = 0,length = included.length;i < length;i++) {_this._pushInternalModel(included[i]);}}if(Array.isArray(jsonApiDoc.data)){length = jsonApiDoc.data.length;var internalModels=new Array(length);for(i = 0;i < length;i++) {internalModels[i] = _this._pushInternalModel(jsonApiDoc.data[i]);}return internalModels;}if(jsonApiDoc.data === null){return null;}true && !(Ember.typeOf(jsonApiDoc.data) === 'object') && Ember.assert('Expected an object in the \\'data\\' property in a call to \\'push\\' for ' + jsonApiDoc.type + ', but was ' + Ember.typeOf(jsonApiDoc.data),Ember.typeOf(jsonApiDoc.data) === 'object');return _this._pushInternalModel(jsonApiDoc.data);});return internalModelOrModels;},_hasModelFor:function _hasModelFor(modelName){var owner=getOwner(this);modelName = normalizeModelName(modelName);if(owner.factoryFor){return !!owner.factoryFor('model:' + modelName);}else {return !!owner._lookupFactory('model:' + modelName);}},_pushInternalModel:function _pushInternalModel(data){var modelName=data.type;true && !(data.id !== null && data.id !== undefined && data.id !== '') && Ember.assert('You must include an \\'id\\' for ' + modelName + ' in an object passed to \\'push\\'',data.id !== null && data.id !== undefined && data.id !== '');true && !this._hasModelFor(modelName) && Ember.assert('You tried to push data with a type \\'' + modelName + '\\' but no model could be found with that name.',this._hasModelFor(modelName));{ // If ENV.DS_WARN_ON_UNKNOWN_KEYS is set to true and the payload\n// contains unknown attributes or relationships, log a warning.\nif(ENV.DS_WARN_ON_UNKNOWN_KEYS){var modelClass=this._modelFor(modelName); // Check unknown attributes\nvar unknownAttributes=Object.keys(data.attributes || {}).filter(function(key){return !Ember.get(modelClass,'fields').has(key);});var unknownAttributesMessage='The payload for \\'' + modelName + '\\' contains these unknown attributes: ' + unknownAttributes + '. Make sure they\\'ve been defined in your model.';true && Ember.warn(unknownAttributesMessage,unknownAttributes.length === 0,{id:'ds.store.unknown-keys-in-payload'}); // Check unknown relationships\nvar unknownRelationships=Object.keys(data.relationships || {}).filter(function(key){return !Ember.get(modelClass,'fields').has(key);});var unknownRelationshipsMessage='The payload for \\'' + modelName + '\\' contains these unknown relationships: ' + unknownRelationships + '. Make sure they\\'ve been defined in your model.';true && Ember.warn(unknownRelationshipsMessage,unknownRelationships.length === 0,{id:'ds.store.unknown-keys-in-payload'});}} // Actually load the record into the store.\nvar internalModel=this._load(data);this._setupRelationshipsForModel(internalModel,data);return internalModel;},_setupRelationshipsForModel:function _setupRelationshipsForModel(internalModel,data){if(data.relationships === undefined){return;}if(this._pushedInternalModels.push(internalModel,data) !== 2){return;}this._backburner.schedule('normalizeRelationships',this,this._setupRelationships);},_setupRelationships:function _setupRelationships(){var pushed=this._pushedInternalModels; // 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.\nvar modelNameToInverseMap=void 0;for(var i=0,l=pushed.length;i < l;i += 2) {modelNameToInverseMap = modelNameToInverseMap || Object.create(null); // 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.\nvar internalModel=pushed[i];var data=pushed[i + 1];setupRelationships(this,internalModel,data,modelNameToInverseMap);}pushed.length = 0;}, /**\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(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  */pushPayload:function pushPayload(modelName,inputPayload){var serializer=void 0;var payload=void 0;if(!inputPayload){payload = modelName;serializer = defaultSerializer(this);true && !(typeof serializer.pushPayload === 'function') && Ember.assert('You cannot use \\'store#pushPayload\\' without a modelName unless your default serializer defines \\'pushPayload\\'',typeof serializer.pushPayload === 'function');}else {payload = inputPayload;true && !(typeof modelName === 'string') && Ember.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName,typeof modelName === 'string');var normalizedModelName=normalizeModelName(modelName);serializer = this.serializerFor(normalizedModelName);}if(isEnabled('ds-pushpayload-return')){return serializer.pushPayload(this,payload);}else {serializer.pushPayload(this,payload);}}, /**\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  */normalize:function normalize(modelName,payload){true && !Ember.isPresent(modelName) && Ember.assert('You need to pass a model name to the store\\'s normalize method',Ember.isPresent(modelName));true && !(typeof modelName === 'string') && Ember.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + Ember.inspect(modelName),typeof modelName === 'string');var normalizedModelName=normalizeModelName(modelName);var serializer=this.serializerFor(normalizedModelName);var model=this._modelFor(normalizedModelName);return serializer.normalize(model,payload);}, /**\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  */_buildInternalModel:function _buildInternalModel(modelName,id,data){true && !(typeof modelName === 'string') && Ember.assert('You can no longer pass a modelClass as the first argument to store._buildInternalModel. Pass modelName instead.',typeof modelName === 'string');var existingInternalModel=this._existingInternalModelForId(modelName,id);true && !!existingInternalModel && Ember.assert('The id ' + id + ' has already been used with another record for modelClass \\'' + modelName + '\\'.',!existingInternalModel); // lookupFactory should really return an object that creates\n// instances with the injections applied\nvar internalModel=new InternalModel(modelName,id,this,data);this._internalModelsFor(modelName).add(internalModel,id);return internalModel;},_existingInternalModelForId:function _existingInternalModelForId(modelName,id){var internalModel=this._internalModelsFor(modelName).get(id);if(internalModel && internalModel.hasScheduledDestroy()){ // unloadRecord is async, if one attempts to unload + then sync create,\n// we must ensure the unload is complete before starting the create\ninternalModel.destroySync();internalModel = null;}return internalModel;},buildInternalModel:function buildInternalModel(modelName,id,data){true && !false && Ember.deprecate('buildInternalModel was documented as private and will be removed in the next version of Ember Data.',false,{id:'ember-data.buildInternalModel',until:'2.17.0'});return this._buildInternalModel(modelName,id,data);}, //Called by the state machine to notify the store that the record is ready to be interacted with\nrecordWasLoaded:function recordWasLoaded(record){this.recordArrayManager.recordWasLoaded(record);}, // ...............\n// . DESTRUCTION .\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  */_removeFromIdMap:function _removeFromIdMap(internalModel){var recordMap=this._internalModelsFor(internalModel.modelName);var id=internalModel.id;recordMap.remove(internalModel,id);}, // ......................\n// . PER-TYPE ADAPTERS\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  */adapterFor:function adapterFor(modelName){true && !Ember.isPresent(modelName) && Ember.assert('You need to pass a model name to the store\\'s adapterFor method',Ember.isPresent(modelName));true && !(typeof modelName === 'string') && Ember.assert('Passing classes to store.adapterFor has been removed. Please pass a dasherized string instead of ' + modelName,typeof modelName === 'string');var normalizedModelName=normalizeModelName(modelName);return this._instanceCache.get('adapter',normalizedModelName);}, // ..............................\n// . RECORD CHANGE NOTIFICATION .\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  */serializerFor:function serializerFor(modelName){true && !Ember.isPresent(modelName) && Ember.assert('You need to pass a model name to the store\\'s serializerFor method',Ember.isPresent(modelName));true && !(typeof modelName === 'string') && Ember.assert('Passing classes to store.serializerFor has been removed. Please pass a dasherized string instead of ' + modelName,typeof modelName === 'string');var normalizedModelName=normalizeModelName(modelName);return this._instanceCache.get('serializer',normalizedModelName);},lookupAdapter:function lookupAdapter(name){true && !false && Ember.deprecate('Use of lookupAdapter is deprecated, use adapterFor instead.',false,{id:'ds.store.lookupAdapter',until:'3.0'});return this.adapterFor(name);},lookupSerializer:function lookupSerializer(name){true && !false && Ember.deprecate('Use of lookupSerializer is deprecated, use serializerFor instead.',false,{id:'ds.store.lookupSerializer',until:'3.0'});return this.serializerFor(name);},willDestroy:function willDestroy(){this._super.apply(this,arguments);this._pushedInternalModels = null;this.recordArrayManager.destroy();this._relationshipsPayloads = null;this._instanceCache.destroy();this.unloadAll();},_updateRelationshipState:function _updateRelationshipState(relationship){var _this2=this;if(this._updatedRelationships.push(relationship) !== 1){return;}this._backburner.join(function(){_this2._backburner.schedule('syncRelationships',_this2,_this2._flushUpdatedRelationships);});},_flushUpdatedRelationships:function _flushUpdatedRelationships(){var updated=this._updatedRelationships;for(var i=0,l=updated.length;i < l;i++) {updated[i].flushCanonical();}updated.length = 0;},_updateInternalModel:function _updateInternalModel(internalModel){if(this._updatedInternalModels.push(internalModel) !== 1){return;}Ember.run.schedule('actions',this,this._flushUpdatedInternalModels);},_flushUpdatedInternalModels:function _flushUpdatedInternalModels(){var updated=this._updatedInternalModels;for(var i=0,l=updated.length;i < l;i++) {updated[i]._triggerDeferredTriggers();}updated.length = 0;},_pushResourceIdentifier:function _pushResourceIdentifier(relationship,resourceIdentifier){if(Ember.isNone(resourceIdentifier)){return;}true && !!Array.isArray(resourceIdentifier) && Ember.assert('A ' + relationship.internalModel.modelName + ' record was pushed into the store with the value of ' + relationship.key + ' being ' + Ember.inspect(resourceIdentifier) + ', but ' + relationship.key + ' is a belongsTo relationship so the value must not be an array. You should probably check your data payload or serializer.',!Array.isArray(resourceIdentifier)); //TODO:Better asserts\nreturn this._internalModelForId(resourceIdentifier.type,resourceIdentifier.id);},_pushResourceIdentifiers:function _pushResourceIdentifiers(relationship,resourceIdentifiers){if(Ember.isNone(resourceIdentifiers)){return;}true && !Array.isArray(resourceIdentifiers) && Ember.assert('A ' + relationship.internalModel.modelName + ' record was pushed into the store with the value of ' + relationship.key + ' being \\'' + Ember.inspect(resourceIdentifiers) + '\\', but ' + relationship.key + ' is a hasMany relationship so the value must be an array. You should probably check your data payload or serializer.',Array.isArray(resourceIdentifiers));var _internalModels=new Array(resourceIdentifiers.length);for(var i=0;i < resourceIdentifiers.length;i++) {_internalModels[i] = this._pushResourceIdentifier(relationship,resourceIdentifiers[i]);}return _internalModels;}}); // Delegation to the adapter and promise management\nfunction defaultSerializer(store){return store.serializerFor('application');}function _commit(adapter,store,operation,snapshot){var internalModel=snapshot._internalModel;var modelName=snapshot.modelName;var modelClass=store._modelFor(modelName);true && !adapter && Ember.assert('You tried to update a record but you have no adapter (for ' + modelName + ')',adapter);true && !(typeof adapter[operation] === 'function') && Ember.assert('You tried to update a record but your adapter (for ' + modelName + ') does not implement \\'' + operation + '\\'',typeof adapter[operation] === 'function');var promise=adapter[operation](store,modelClass,snapshot);var serializer=serializerForAdapter(store,adapter,modelName);var label='DS: Extract and notify about ' + operation + ' completion of ' + internalModel;true && !(promise !== undefined) && Ember.assert('Your adapter\\'s \\'' + operation + '\\' method must return a value, but it returned \\'undefined\\'',promise !== undefined);promise = Ember.RSVP.Promise.resolve(promise,label);promise = _guard(promise,_bind(_objectIsAlive,store));promise = _guard(promise,_bind(_objectIsAlive,internalModel));return promise.then(function(adapterPayload){ /*\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     */store._backburner.join(function(){var payload=void 0,data=void 0;if(adapterPayload){payload = normalizeResponseHelper(serializer,store,modelClass,adapterPayload,snapshot.id,operation);if(payload.included){store._push({data:null,included:payload.included});}data = payload.data;}store.didSaveRecord(internalModel,{data:data});});return internalModel;},function(error){if(error instanceof InvalidError){var errors=serializer.extractErrors(store,modelClass,error,snapshot.id);store.recordWasInvalid(internalModel,errors);}else {store.recordWasError(internalModel,error);}throw error;},label);}function isInverseRelationshipInitialized(store,internalModel,data,key,modelNameToInverseMap){var relationshipData=data.relationships[key].data;if(!relationshipData){ // can't check inverse for eg { comments: { links: { related: URL }}}\nreturn false;}var inverseMap=modelNameToInverseMap[internalModel.modelName];if(!inverseMap){inverseMap = modelNameToInverseMap[internalModel.modelName] = Ember.get(internalModel.type,'inverseMap');}var inverseRelationshipMetadata=inverseMap[key];if(inverseRelationshipMetadata === undefined){inverseRelationshipMetadata = internalModel.type.inverseFor(key,store);}if(!inverseRelationshipMetadata){return false;}var _inverseRelationshipM=inverseRelationshipMetadata,inverseRelationshipName=_inverseRelationshipM.name;if(Array.isArray(relationshipData)){for(var i=0;i < relationshipData.length;++i) {var inverseInternalModel=store._internalModelsFor(relationshipData[i].type).get(relationshipData[i].id);if(inverseInternalModel && inverseInternalModel._relationships.has(inverseRelationshipName)){return true;}}return false;}else {var _inverseInternalModel=store._internalModelsFor(relationshipData.type).get(relationshipData.id);return _inverseInternalModel && _inverseInternalModel._relationships.has(inverseRelationshipName);}}function setupRelationships(store,internalModel,data,modelNameToInverseMap){Object.keys(data.relationships).forEach(function(relationshipName){var relationships=internalModel._relationships;var relationshipRequiresNotification=relationships.has(relationshipName) || isInverseRelationshipInitialized(store,internalModel,data,relationshipName,modelNameToInverseMap);if(relationshipRequiresNotification){var relationshipData=data.relationships[relationshipName];relationships.get(relationshipName).push(relationshipData,false);} // in debug, assert payload validity eagerly\n{var relationshipMeta=Ember.get(internalModel.type,'relationshipsByName').get(relationshipName);var _relationshipData=data.relationships[relationshipName];if(!_relationshipData || !relationshipMeta){return;}if(_relationshipData.links){var isAsync=relationshipMeta.options && relationshipMeta.options.async !== false;true && Ember.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,{id:'ds.store.push-link-for-sync-relationship'});}else if(_relationshipData.data){if(relationshipMeta.kind === 'belongsTo'){true && !!Array.isArray(_relationshipData.data) && Ember.assert('A ' + internalModel.type.modelName + ' record was pushed into the store with the value of ' + relationshipName + ' being ' + Ember.inspect(_relationshipData.data) + ', but ' + relationshipName + ' is a belongsTo relationship so the value must not be an array. You should probably check your data payload or serializer.',!Array.isArray(_relationshipData.data));}else if(relationshipMeta.kind === 'hasMany'){true && !Array.isArray(_relationshipData.data) && Ember.assert('A ' + internalModel.type.modelName + ' record was pushed into the store with the value of ' + relationshipName + ' being \\'' + Ember.inspect(_relationshipData.data) + '\\', but ' + relationshipName + ' is a hasMany relationship so the value must be an array. You should probably check your data payload or serializer.',Array.isArray(_relationshipData.data));}}}});}var Store$1=Store; /**\n  @module ember-data\n*/ /**\n  All Ember Data classes, methods and functions are defined inside of this namespace.\n\n  @class DS\n  @static\n*/ /**\n  @property VERSION\n  @type String\n  @static\n*/var DS=Ember.Namespace.create({VERSION:_emberDataVersion['default'],name:\"DS\"});if(Ember.libraries){Ember.libraries.registerCoreLibrary('Ember Data',DS.VERSION);} /**\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*/function belongsTo(modelName,options){var opts=void 0,userEnteredModelName=void 0;if(typeof modelName === 'object'){opts = modelName;userEnteredModelName = undefined;}else {opts = options;userEnteredModelName = modelName;}if(typeof userEnteredModelName === 'string'){userEnteredModelName = normalizeModelName(userEnteredModelName);}true && !(typeof userEnteredModelName === 'string' || typeof userEnteredModelName === 'undefined') && Ember.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');opts = opts || {};var meta={type:userEnteredModelName,isRelationship:true,options:opts,kind:'belongsTo',name:'Belongs To',key:null};return Ember.computed({get:function get(key){if(opts.hasOwnProperty('serialize')){true && Ember.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 https://emberjs.com/api/data/classes/DS.Serializer.html',false,{id:'ds.model.serialize-option-in-belongs-to'});}if(opts.hasOwnProperty('embedded')){true && Ember.warn('You provided an embedded option on the \"' + key + '\" property in the \"' + this._internalModel.modelName + '\" class, this belongs in the serializer. See DS.EmbeddedRecordsMixin https://emberjs.com/api/data/classes/DS.EmbeddedRecordsMixin.html',false,{id:'ds.model.embedded-option-in-belongs-to'});}return this._internalModel._relationships.get(key).getRecord();},set:function set(key,value){if(value === undefined){value = null;}if(value && value.then){this._internalModel._relationships.get(key).setRecordPromise(value);}else if(value){this._internalModel._relationships.get(key).setInternalModel(value._internalModel);}else {this._internalModel._relationships.get(key).setInternalModel(value);}return this._internalModel._relationships.get(key).getRecord();}}).meta(meta);} /*\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 */function isArrayLike(obj){if(!obj || obj.setInterval){return false;}if(Array.isArray(obj)){return true;}if(Ember.Array.detect(obj)){return true;}var type=Ember.typeOf(obj);if('array' === type){return true;}if(obj.length !== undefined && 'object' === type){return true;}return false;} /**\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*/function hasMany(type,options){if(typeof type === 'object'){options = type;type = undefined;}true && !(typeof type === 'string' || typeof type === 'undefined') && Ember.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');options = options || {};if(typeof type === 'string'){type = normalizeModelName(type);} // 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.\nvar meta={type:type,options:options,isRelationship:true,kind:'hasMany',name:'Has Many',key:null};return Ember.computed({get:function get(key){return this._internalModel._relationships.get(key).getRecords();},set:function set(key,records){true && !isArrayLike(records) && Ember.assert('You must pass an array of records to set a hasMany relationship',isArrayLike(records));true && !(function(){return Ember.A(records).every(function(record){return record.hasOwnProperty('_internalModel') === true;});})() && Ember.assert('All elements of a hasMany relationship must be instances of DS.Model, you passed ' + Ember.inspect(records),(function(){return Ember.A(records).every(function(record){return record.hasOwnProperty('_internalModel') === true;});})());var relationship=this._internalModel._relationships.get(key);relationship.clear();relationship.addInternalModels(records.map(function(record){return Ember.get(record,'_internalModel');}));return relationship.getRecords();}}).meta(meta);} /**\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*/var buildUrlMixin=Ember.Mixin.create({ /**\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  */buildURL:function buildURL(modelName,id,snapshot,requestType,query){switch(requestType){case 'findRecord':return this.urlForFindRecord(id,modelName,snapshot);case 'findAll':return this.urlForFindAll(modelName,snapshot);case 'query':return this.urlForQuery(query,modelName);case 'queryRecord':return this.urlForQueryRecord(query,modelName);case 'findMany':return this.urlForFindMany(id,modelName,snapshot);case 'findHasMany':return this.urlForFindHasMany(id,modelName,snapshot);case 'findBelongsTo':return this.urlForFindBelongsTo(id,modelName,snapshot);case 'createRecord':return this.urlForCreateRecord(modelName,snapshot);case 'updateRecord':return this.urlForUpdateRecord(id,modelName,snapshot);case 'deleteRecord':return this.urlForDeleteRecord(id,modelName,snapshot);default:return this._buildURL(modelName,id);}}, /**\n    @method _buildURL\n    @private\n    @param {String} modelName\n    @param {String} id\n    @return {String} url\n  */_buildURL:function _buildURL(modelName,id){var path=void 0;var url=[];var host=Ember.get(this,'host');var prefix=this.urlPrefix();if(modelName){path = this.pathForType(modelName);if(path){url.push(path);}}if(id){url.push(encodeURIComponent(id));}if(prefix){url.unshift(prefix);}url = url.join('/');if(!host && url && url.charAt(0) !== '/'){url = '/' + url;}return url;}, /**\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(modelName, id, snapshot);\n       return `${baseUrl}/users/${snapshot.adapterOptions.user_id}/playlists/${id}`;\n     }\n   });\n   ```\n    @method urlForFindRecord\n   @param {String} id\n   @param {String} modelName\n   @param {DS.Snapshot} snapshot\n   @return {String} url\n    */urlForFindRecord:function urlForFindRecord(id,modelName,snapshot){return this._buildURL(modelName,id);}, /**\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   */urlForFindAll:function urlForFindAll(modelName,snapshot){return this._buildURL(modelName);}, /**\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   */urlForQuery:function urlForQuery(query,modelName){return this._buildURL(modelName);}, /**\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   */urlForQueryRecord:function urlForQueryRecord(query,modelName){return this._buildURL(modelName);}, /**\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   */urlForFindMany:function urlForFindMany(ids,modelName,snapshots){return this._buildURL(modelName);}, /**\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   */urlForFindHasMany:function urlForFindHasMany(id,modelName,snapshot){return this._buildURL(modelName,id);}, /**\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   */urlForFindBelongsTo:function urlForFindBelongsTo(id,modelName,snapshot){return this._buildURL(modelName,id);}, /**\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   */urlForCreateRecord:function urlForCreateRecord(modelName,snapshot){return this._buildURL(modelName);}, /**\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   */urlForUpdateRecord:function urlForUpdateRecord(id,modelName,snapshot){return this._buildURL(modelName,id);}, /**\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   */urlForDeleteRecord:function urlForDeleteRecord(id,modelName,snapshot){return this._buildURL(modelName,id);}, /**\n    @method urlPrefix\n    @private\n    @param {String} path\n    @param {String} parentURL\n    @return {String} urlPrefix\n  */urlPrefix:function urlPrefix(path,parentURL){var host=Ember.get(this,'host');var namespace=Ember.get(this,'namespace');if(!host || host === '/'){host = '';}if(path){ // Protocol relative url\nif(/^\\/\\//.test(path) || /http(s)?:\\/\\//.test(path)){ // Do nothing, the full host is already included.\nreturn path; // Absolute path\n}else if(path.charAt(0) === '/'){return '' + host + path; // Relative path\n}else {return parentURL + '/' + path;}} // No path provided\nvar url=[];if(host){url.push(host);}if(namespace){url.push(namespace);}return url.join('/');}, /**\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    import { decamelize } from '@ember/string';\n    import { pluralize } from 'ember-inflector';\n     export default DS.RESTAdapter.extend({\n      pathForType: function(modelName) {\n        var decamelized = decamelize(modelName);\n        return pluralize(decamelized);\n      }\n    });\n    ```\n     @method pathForType\n    @param {String} modelName\n    @return {String} path\n  **/pathForType:function pathForType(modelName){var camelized=Ember.String.camelize(modelName);return (0,_emberInflector.pluralize)(camelized);}});var CLRF='\\r\\n';function parseResponseHeaders(headersString){var headers=Object.create(null);if(!headersString){return headers;}var headerPairs=headersString.split(CLRF);for(var i=0;i < headerPairs.length;i++) {var header=headerPairs[i];var j=0;var foundSep=false;for(;j < header.length;j++) {if(header.charCodeAt(j) === 58 /* ':' */){foundSep = true;break;}}if(foundSep === false){continue;}var field=header.substring(0,j).trim();var value=header.substring(j + 1,header.length).trim();if(value){headers[field] = value;}}return headers;} /* globals global, window, self */ // originally from https://github.com/emberjs/ember.js/blob/c0bd26639f50efd6a03ee5b87035fd200e313b8e/packages/ember-environment/lib/global.js\n// from lodash to catch fake globals\nfunction checkGlobal(value){return value && value.Object === Object?value:undefined;} // element ids can ruin global miss checks\nfunction checkElementIdShadowing(value){return value && value.nodeType === undefined?value:undefined;} // export real global\nvar global$1=checkGlobal(checkElementIdShadowing(typeof global === 'object' && global)) || checkGlobal(typeof self === 'object' && self) || checkGlobal(typeof window === 'object' && window) || new Function('return this')(); // eval outside of strict mode\n/*\n  Extend `Ember.DataAdapter` with ED specific code.\n\n  @class DebugAdapter\n  @namespace DS\n  @extends Ember.DataAdapter\n  @private\n*/var debugAdapter=Ember.DataAdapter.extend({getFilters:function getFilters(){return [{name:'isNew',desc:'New'},{name:'isModified',desc:'Modified'},{name:'isClean',desc:'Clean'}];},detect:function detect(typeClass){return typeClass !== Model && Model.detect(typeClass);},columnsForType:function columnsForType(typeClass){var columns=[{name:'id',desc:'Id'}];var count=0;var self=this;Ember.get(typeClass,'attributes').forEach(function(meta,name){if(count++ > self.attributeLimit){return false;}var desc=Ember.String.capitalize(Ember.String.underscore(name).replace('_',' '));columns.push({name:name,desc:desc});});return columns;},getRecords:function getRecords(modelClass,modelName){if(arguments.length < 2){ // Legacy Ember.js < 1.13 support\nvar containerKey=modelClass._debugContainerKey;if(containerKey){var match=containerKey.match(/model:(.*)/);if(match !== null){modelName = match[1];}}}true && !!!modelName && Ember.assert(\"Cannot find model name. Please upgrade to Ember.js >= 1.13 for Ember Inspector support\",!!modelName);return this.get('store').peekAll(modelName);},getRecordColumnValues:function getRecordColumnValues(record){var _this=this;var count=0;var columnValues={id:Ember.get(record,'id')};record.eachAttribute(function(key){if(count++ > _this.attributeLimit){return false;}columnValues[key] = Ember.get(record,key);});return columnValues;},getRecordKeywords:function getRecordKeywords(record){var keywords=[];var keys=Ember.A(['id']);record.eachAttribute(function(key){return keys.push(key);});keys.forEach(function(key){return keywords.push(Ember.get(record,key));});return keywords;},getRecordFilterValues:function getRecordFilterValues(record){return {isNew:record.get('isNew'),isModified:record.get('hasDirtyAttributes') && !record.get('isNew'),isClean:!record.get('hasDirtyAttributes')};},getRecordColor:function getRecordColor(record){var color='black';if(record.get('isNew')){color = 'green';}else if(record.get('hasDirtyAttributes')){color = 'blue';}return color;},observeRecord:function observeRecord(record,recordUpdated){var releaseMethods=Ember.A();var keysToObserve=Ember.A(['id','isNew','hasDirtyAttributes']);record.eachAttribute(function(key){return keysToObserve.push(key);});var adapter=this;keysToObserve.forEach(function(key){var handler=function handler(){recordUpdated(adapter.wrapRecord(record));};Ember.addObserver(record,key,handler);releaseMethods.push(function(){Ember.removeObserver(record,key,handler);});});var release=function release(){releaseMethods.forEach(function(fn){return fn();});};return release;}}); // public\nexports.Model = Model;exports.Errors = Errors;exports.Store = Store$1;exports.DS = DS;exports.belongsTo = belongsTo;exports.hasMany = hasMany;exports.BuildURLMixin = buildUrlMixin;exports.Snapshot = Snapshot;exports.AdapterError = AdapterError;exports.InvalidError = InvalidError;exports.UnauthorizedError = UnauthorizedError;exports.ForbiddenError = ForbiddenError;exports.NotFoundError = NotFoundError;exports.ConflictError = ConflictError;exports.ServerError = ServerError;exports.TimeoutError = TimeoutError;exports.AbortError = AbortError;exports.errorsHashToArray = errorsHashToArray;exports.errorsArrayToHash = errorsArrayToHash;exports.normalizeModelName = normalizeModelName;exports.getOwner = getOwner;exports.modelHasAttributeOrRelationshipNamedType = modelHasAttributeOrRelationshipNamedType;exports.coerceId = coerceId;exports.parseResponseHeaders = parseResponseHeaders;exports.global = global$1;exports.isEnabled = isEnabled;exports.RootState = RootState$1;exports.InternalModel = InternalModel;exports.ContainerInstanceCache = ContainerInstanceCache;exports.PromiseArray = PromiseArray;exports.PromiseObject = PromiseObject;exports.PromiseManyArray = PromiseManyArray;exports.RecordArray = RecordArray;exports.FilteredRecordArray = FilteredRecordArray;exports.AdapterPopulatedRecordArray = AdapterPopulatedRecordArray;exports.ManyArray = ManyArray;exports.RecordArrayManager = RecordArrayManager;exports.Relationship = Relationship;exports.DebugAdapter = debugAdapter;exports.diffArray = diffArray;exports.RelationshipPayloadsManager = RelationshipPayloadsManager;exports.RelationshipPayloads = RelationshipPayloads;exports.SnapshotRecordArray = SnapshotRecordArray;}); // been 'acknowleged' to be in the relationship via a store.push)","define('ember-data/adapter', ['exports'], function (exports) {\n\n  /**\n    An adapter is an object that receives requests from a store and\n    translates them into the appropriate action to take against your\n    persistence layer. The persistence layer is usually an HTTP API, but\n    may be anything, such as the browser's local storage. Typically the\n    adapter is not invoked directly instead its functionality is accessed\n    through the `store`.\n  \n    ### Creating an Adapter\n  \n    Create a new subclass of `DS.Adapter` in the `app/adapters` folder:\n  \n    ```app/adapters/application.js\n    import DS from 'ember-data';\n  \n    export default DS.Adapter.extend({\n      // ...your code here\n    });\n    ```\n  \n    Model-specific adapters can be created by putting your adapter\n    class in an `app/adapters/` + `model-name` + `.js` file of the application.\n  \n    ```app/adapters/post.js\n    import DS from 'ember-data';\n  \n    export default DS.Adapter.extend({\n      // ...Post-specific adapter code goes here\n    });\n    ```\n  \n    `DS.Adapter` is an abstract base class that you should override in your\n    application to customize it for your backend. The minimum set of methods\n    that you should implement is:\n  \n      * `findRecord()`\n      * `createRecord()`\n      * `updateRecord()`\n      * `deleteRecord()`\n      * `findAll()`\n      * `query()`\n  \n    To improve the network performance of your application, you can optimize\n    your adapter by overriding these lower-level methods:\n  \n      * `findMany()`\n  \n  \n    For an example implementation, see `DS.RESTAdapter`, the\n    included REST adapter.\n  \n    @class Adapter\n    @namespace DS\n    @extends Ember.Object\n  */\n\n  'use strict';\n\n  exports['default'] = Ember.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 DS from 'ember-data';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default DS.Adapter.extend({\n        findRecord(store, type, id, snapshot) {\n          return new RSVP.Promise(function(resolve, reject) {\n            $.getJSON(`/${type.modelName}/${id}`).then(function(data) {\n              resolve(data);\n            }, function(jqXHR) {\n              reject(jqXHR);\n            });\n          });\n        }\n      });\n      ```\n       @method findRecord\n      @param {DS.Store} store\n      @param {DS.Model} type\n      @param {String} id\n      @param {DS.Snapshot} snapshot\n      @return {Promise} promise\n    */\n    findRecord: null,\n\n    /**\n      The `findAll()` method is used to retrieve all records for a given type.\n       Example\n       ```app/adapters/application.js\n      import DS from 'ember-data';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default DS.Adapter.extend({\n        findAll(store, type, sinceToken) {\n          let query = { since: sinceToken };\n           return new RSVP.Promise(function(resolve, reject) {\n            $.getJSON(`/${type.modelName}`, query).then(function(data) {\n              resolve(data);\n            }, function(jqXHR) {\n              reject(jqXHR);\n            });\n          });\n        }\n      });\n      ```\n       @method findAll\n      @param {DS.Store} store\n      @param {DS.Model} type\n      @param {String} sinceToken\n      @param {DS.SnapshotRecordArray} snapshotRecordArray\n      @return {Promise} promise\n    */\n    findAll: null,\n\n    /**\n      This method is called when you call `query` on the store.\n       Example\n       ```app/adapters/application.js\n      import DS from 'ember-data';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default DS.Adapter.extend({\n        query(store, type, query) {\n          return new RSVP.Promise(function(resolve, reject) {\n            $.getJSON(`/${type.modelName}`, query).then(function(data) {\n              resolve(data);\n            }, function(jqXHR) {\n              reject(jqXHR);\n            });\n          });\n        }\n      });\n      ```\n       @method query\n      @param {DS.Store} store\n      @param {DS.Model} type\n      @param {Object} query\n      @param {DS.AdapterPopulatedRecordArray} recordArray\n      @return {Promise} promise\n    */\n    query: null,\n\n    /**\n      The `queryRecord()` method is invoked when the store is asked for a single\n      record through a query object.\n       In response to `queryRecord()` being called, you should always fetch fresh\n      data. Once found, you can asynchronously call the store's `push()` method\n      to push the record into the store.\n       Here is an example `queryRecord` implementation:\n       Example\n       ```app/adapters/application.js\n      import DS from 'ember-data';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default DS.Adapter.extend(DS.BuildURLMixin, {\n        queryRecord(store, type, query) {\n          return new RSVP.Promise(function(resolve, reject) {\n            $.getJSON(`/${type.modelName}`, query).then(function(data) {\n              resolve(data);\n            }, function(jqXHR) {\n              reject(jqXHR);\n            });\n          });\n        }\n      });\n      ```\n       @method queryRecord\n      @param {DS.Store} store\n      @param {subclass of DS.Model} type\n      @param {Object} query\n      @return {Promise} promise\n    */\n    queryRecord: null,\n\n    /**\n      If the globally unique IDs for your records should be generated on the client,\n      implement the `generateIdForRecord()` method. This method will be invoked\n      each time you create a new record, and the value returned from it will be\n      assigned to the record's `primaryKey`.\n       Most traditional REST-like HTTP APIs will not use this method. Instead, the ID\n      of the record will be set by the server, and your adapter will update the store\n      with the new ID when it calls `didCreateRecord()`. Only implement this method if\n      you intend to generate record IDs on the client-side.\n       The `generateIdForRecord()` method will be invoked with the requesting store as\n      the first parameter and the newly created record as the second parameter:\n       ```javascript\n      import 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      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 DS from 'ember-data';\n      import { run } from '@ember/runloop';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default DS.Adapter.extend({\n        createRecord(store, type, snapshot) {\n          let data = this.serialize(snapshot, { includeId: true });\n           return new RSVP.Promise(function(resolve, reject) {\n            $.ajax({\n              type: 'POST',\n              url: `/${type.modelName}`,\n              dataType: 'json',\n              data: data\n            }).then(function(data) {\n              run(null, resolve, data);\n            }, function(jqXHR) {\n              jqXHR.then = null; // tame jQuery's ill mannered promises\n              run(null, reject, jqXHR);\n            });\n          });\n        }\n      });\n      ```\n       @method createRecord\n      @param {DS.Store} store\n      @param {DS.Model} type   the 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 DS from 'ember-data';\n      import { run } from '@ember/runloop';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\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 RSVP.Promise(function(resolve, reject) {\n            $.ajax({\n              type: 'PUT',\n              url: `/${type.modelName}/${id}`,\n              dataType: 'json',\n              data: data\n            }).then(function(data) {\n              run(null, resolve, data);\n            }, function(jqXHR) {\n              jqXHR.then = null; // tame jQuery's ill mannered promises\n              run(null, reject, jqXHR);\n            });\n          });\n        }\n      });\n      ```\n       @method updateRecord\n      @param {DS.Store} store\n      @param {DS.Model} type   the 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 DS from 'ember-data';\n      import { run } from '@ember/runloop';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\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 RSVP.Promise(function(resolve, reject) {\n            $.ajax({\n              type: 'DELETE',\n              url: `/${type.modelName}/${id}`,\n              dataType: 'json',\n              data: data\n            }).then(function(data) {\n              run(null, resolve, data);\n            }, function(jqXHR) {\n              jqXHR.then = null; // tame jQuery's ill mannered promises\n              run(null, reject, jqXHR);\n            });\n          });\n        }\n      });\n      ```\n       @method deleteRecord\n      @param {DS.Store} store\n      @param {DS.Model} type   the 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 DS from 'ember-data';\n      import { run } from '@ember/runloop';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default DS.Adapter.extend({\n        findMany(store, type, ids, snapshots) {\n          return new RSVP.Promise(function(resolve, reject) {\n            $.ajax({\n              type: 'GET',\n              url: `/${type.modelName}/`,\n              dataType: 'json',\n              data: { filter: { id: ids.join(',') } }\n            }).then(function(data) {\n              run(null, resolve, data);\n            }, function(jqXHR) {\n              jqXHR.then = null; // tame jQuery's ill mannered promises\n              run(null, reject, jqXHR);\n            });\n          });\n        }\n      });\n      ```\n       @method findMany\n      @param {DS.Store} store\n      @param {DS.Model} type   the 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      This method is used by the store to determine if the store should\n      reload a record from the adapter when a record is requested by\n      `store.findRecord`.\n       If this method returns `true`, the store will re-fetch a record from\n      the adapter. If this method returns `false`, the store will resolve\n      immediately using the cached record.\n       For example, if you are building an events ticketing system, in which users\n      can only reserve tickets for 20 minutes at a time, and want to ensure that\n      in each route you have data that is no more than 20 minutes old you could\n      write:\n       ```javascript\n      shouldReloadRecord(store, ticketSnapshot) {\n        let lastAccessedAt = ticketSnapshot.attr('lastAccessedAt');\n        let timeDiff = moment().diff(lastAccessedAt, 'minutes');\n         if (timeDiff > 20) {\n          return true;\n        } else {\n          return false;\n        }\n      }\n      ```\n       This method would ensure that whenever you do `store.findRecord('ticket',\n      id)` you will always get a ticket that is no more than 20 minutes old. In\n      case the cached version is more than 20 minutes old, `findRecord` will not\n      resolve until you fetched the latest version.\n       By default this hook returns `false`, as most UIs should not block user\n      interactions while waiting on data update.\n       Note that, with default settings, `shouldBackgroundReloadRecord` will always\n      re-fetch the records in the background even if `shouldReloadRecord` returns\n      `false`. You can override `shouldBackgroundReloadRecord` if this does not\n      suit your use case.\n       @since 1.13.0\n      @method shouldReloadRecord\n      @param {DS.Store} store\n      @param {DS.Snapshot} snapshot\n      @return {Boolean}\n    */\n    shouldReloadRecord: function shouldReloadRecord(store, snapshot) {\n      return false;\n    },\n\n    /**\n      This method is used by the store to determine if the store should\n      reload all records from the adapter when records are requested by\n      `store.findAll`.\n       If this method returns `true`, the store will re-fetch all records from\n      the adapter. If this method returns `false`, the store will resolve\n      immediately using the cached records.\n       For example, if you are building an events ticketing system, in which users\n      can only reserve tickets for 20 minutes at a time, and want to ensure that\n      in each route you have data that is no more than 20 minutes old you could\n      write:\n       ```javascript\n      shouldReloadAll(store, snapshotArray) {\n        let snapshots = snapshotArray.snapshots();\n         return snapshots.any((ticketSnapshot) => {\n          let lastAccessedAt = ticketSnapshot.attr('lastAccessedAt');\n          let timeDiff = moment().diff(lastAccessedAt, 'minutes');\n           if (timeDiff > 20) {\n            return true;\n          } else {\n            return false;\n          }\n        });\n      }\n      ```\n       This method would ensure that whenever you do `store.findAll('ticket')` you\n      will always get a list of tickets that are no more than 20 minutes old. In\n      case a cached version is more than 20 minutes old, `findAll` will not\n      resolve until you fetched the latest versions.\n       By default this 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      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      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, _emberDataPrivate) {\n  'use strict';\n\n  Object.defineProperty(exports, 'AdapterError', {\n    enumerable: true,\n    get: function get() {\n      return _emberDataPrivate.AdapterError;\n    }\n  });\n  Object.defineProperty(exports, 'InvalidError', {\n    enumerable: true,\n    get: function get() {\n      return _emberDataPrivate.InvalidError;\n    }\n  });\n  Object.defineProperty(exports, 'UnauthorizedError', {\n    enumerable: true,\n    get: function get() {\n      return _emberDataPrivate.UnauthorizedError;\n    }\n  });\n  Object.defineProperty(exports, 'ForbiddenError', {\n    enumerable: true,\n    get: function get() {\n      return _emberDataPrivate.ForbiddenError;\n    }\n  });\n  Object.defineProperty(exports, 'NotFoundError', {\n    enumerable: true,\n    get: function get() {\n      return _emberDataPrivate.NotFoundError;\n    }\n  });\n  Object.defineProperty(exports, 'ConflictError', {\n    enumerable: true,\n    get: function get() {\n      return _emberDataPrivate.ConflictError;\n    }\n  });\n  Object.defineProperty(exports, 'ServerError', {\n    enumerable: true,\n    get: function get() {\n      return _emberDataPrivate.ServerError;\n    }\n  });\n  Object.defineProperty(exports, 'TimeoutError', {\n    enumerable: true,\n    get: function get() {\n      return _emberDataPrivate.TimeoutError;\n    }\n  });\n  Object.defineProperty(exports, 'AbortError', {\n    enumerable: true,\n    get: function get() {\n      return _emberDataPrivate.AbortError;\n    }\n  });\n  Object.defineProperty(exports, 'errorsHashToArray', {\n    enumerable: true,\n    get: function get() {\n      return _emberDataPrivate.errorsHashToArray;\n    }\n  });\n  Object.defineProperty(exports, 'errorsArrayToHash', {\n    enumerable: true,\n    get: function get() {\n      return _emberDataPrivate.errorsArrayToHash;\n    }\n  });\n});","define('ember-data/adapters/json-api', ['exports', 'ember-data/adapters/rest', 'ember-data/-private', 'ember-inflector'], function (exports, _emberDataAdaptersRest, _emberDataPrivate, _emberInflector) {\n  'use strict';\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  var JSONAPIAdapter = _emberDataAdaptersRest['default'].extend({\n    defaultSerializer: '-json-api',\n\n    /**\n      @method ajaxOptions\n      @private\n      @param {String} url\n      @param {String} type The request type GET, POST, PUT, DELETE etc.\n      @param {Object} options\n      @return {Object}\n    */\n    ajaxOptions: function ajaxOptions(url, type, options) {\n      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      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, _emberDataPrivate.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.String.dasherize(modelName);\n      return (0, _emberInflector.pluralize)(dasherized);\n    },\n\n    // TODO: Remove this once we have a better way to override HTTP verbs.\n    updateRecord: function updateRecord(store, type, snapshot) {\n      if ((0, _emberDataPrivate.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        true && !false && Ember.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\n        return true;\n      }\n\n      if (this.ajaxOptions !== JSONAPIAdapter.prototype.ajaxOptions) {\n        true && !false && Ember.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\n        return true;\n      }\n\n      return false;\n    }\n  });\n\n  if ((0, _emberDataPrivate.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        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-data/adapter', 'ember-data/-private'], function (exports, _emberDataAdapter, _emberDataPrivate) {\n  'use strict';\n\n  var Promise = Ember.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    import { computed } from '@ember/object';\n  \n    export default DS.RESTAdapter.extend({\n      headers: computed('session.authToken', function() {\n        return {\n          'API_KEY': this.get('session.authToken'),\n          'ANOTHER_HEADER': 'Some header value'\n        };\n      })\n    });\n    ```\n  \n    In some cases, your dynamic headers may require data from some\n    object outside of Ember's observer system (for example\n    `document.cookie`). You can use the\n    [volatile](/api/classes/Ember.ComputedProperty.html#method_volatile)\n    function to set the property into a non-cached mode causing the headers to\n    be recomputed with every request.\n  \n    ```app/adapters/application.js\n    import DS from 'ember-data';\n    import { get } from '@ember/object';\n    import { computed } from '@ember/object';\n  \n    export default DS.RESTAdapter.extend({\n      headers: computed(function() {\n        return {\n          'API_KEY': get(document.cookie.match(/apiKey\\=([^;]*)/), '1'),\n          'ANOTHER_HEADER': 'Some header value'\n        };\n      }).volatile()\n    });\n    ```\n  \n    @class RESTAdapter\n    @constructor\n    @namespace DS\n    @extends DS.Adapter\n    @uses DS.BuildURLMixin\n  */\n  var RESTAdapter = _emberDataAdapter['default'].extend(_emberDataPrivate.BuildURLMixin, {\n    defaultSerializer: '-rest',\n\n    /**\n      By default, the RESTAdapter will send the query params sorted alphabetically to the\n      server.\n       For example:\n       ```js\n      store.query('posts', { sort: 'price', category: 'pets' });\n      ```\n       will generate a requests like this `/posts?category=pets&sort=price`, even if the\n      parameters were specified in a different order.\n       That way the generated URL will be deterministic and that simplifies caching mechanisms\n      in the backend.\n       Setting `sortQueryParams` to a falsey value will respect the original order.\n       In case you want to sort the query parameters with a different criteria, set\n      `sortQueryParams` to your custom sort function.\n       ```app/adapters/application.js\n      import DS from 'ember-data';\n       export default DS.RESTAdapter.extend({\n        sortQueryParams(params) {\n          let sortedKeys = Object.keys(params).sort().reverse();\n          let len = sortedKeys.length, newParams = {};\n           for (let i = 0; i < len; i++) {\n            newParams[sortedKeys[i]] = params[sortedKeys[i]];\n          }\n           return newParams;\n        }\n      });\n      ```\n       @method sortQueryParams\n      @param {Object} obj\n      @return {Object}\n    */\n    sortQueryParams: function sortQueryParams(obj) {\n      var keys = Object.keys(obj);\n      var len = keys.length;\n      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      By default the RESTAdapter will send each find request coming from a `store.find`\n      or from accessing a relationship separately to the server. If your server supports passing\n      ids as a query string, you can set coalesceFindRequests to true to coalesce all find requests\n      within a single runloop.\n       For example, if you have an initial payload of:\n       ```javascript\n      {\n        post: {\n          id: 1,\n          comments: [1, 2]\n        }\n      }\n      ```\n       By default calling `post.get('comments')` will trigger the following requests(assuming the\n      comments haven't been loaded before):\n       ```\n      GET /comments/1\n      GET /comments/2\n      ```\n       If you set coalesceFindRequests to `true` it will instead trigger the following request:\n       ```\n      GET /comments?ids[]=1&ids[]=2\n      ```\n       Setting coalesceFindRequests to `true` also works for `store.find` requests and `belongsTo`\n      relationships accessed within the same runloop. If you set `coalesceFindRequests: true`\n       ```javascript\n      store.findRecord('comment', 1);\n      store.findRecord('comment', 2);\n      ```\n       will also send a request to: `GET /comments?ids[]=1&ids[]=2`\n       Note: Requests coalescing rely on URL building strategy. So if you override `buildURL` in your app\n      `groupRecordsForFindMany` more likely should be overridden as well in order for coalescing to work.\n       @property coalesceFindRequests\n      @type {boolean}\n    */\n    coalesceFindRequests: false,\n\n    /**\n      Endpoint paths can be prefixed with a `namespace` by setting the namespace\n      property on the adapter:\n       ```app/adapters/application.js\n      import DS from 'ember-data';\n       export default DS.RESTAdapter.extend({\n        namespace: 'api/1'\n      });\n      ```\n       Requests for the `Post` model would now target `/api/1/post/`.\n       @property namespace\n      @type {String}\n    */\n\n    /**\n      An adapter can target other hosts by setting the `host` property.\n       ```app/adapters/application.js\n      import DS from 'ember-data';\n       export default DS.RESTAdapter.extend({\n        host: 'https://api.example.com'\n      });\n      ```\n       Requests for the `Post` model would now target `https://api.example.com/post/`.\n       @property host\n      @type {String}\n    */\n\n    /**\n      Some APIs require HTTP headers, e.g. to provide an API\n      key. Arbitrary headers can be set as key/value pairs on the\n      `RESTAdapter`'s `headers` object and Ember Data will send them\n      along with each ajax request. For dynamic headers see [headers\n      customization](/api/data/classes/DS.RESTAdapter.html#toc_headers-customization).\n       ```app/adapters/application.js\n      import DS from 'ember-data';\n       export default DS.RESTAdapter.extend({\n        headers: {\n          'API_KEY': 'secret key',\n          'ANOTHER_HEADER': 'Some header value'\n        }\n      });\n      ```\n       @property headers\n      @type {Object}\n     */\n\n    /**\n      Called by the store in order to fetch the JSON for a given\n      type and ID.\n       The `findRecord` method makes an Ajax request to a URL computed by\n      `buildURL`, and returns a promise for the resulting payload.\n       This method performs an HTTP `GET` request with the id provided as part of the query string.\n       @since 1.13.0\n      @method findRecord\n      @param {DS.Store} store\n      @param {DS.Model} type\n      @param {String} id\n      @param {DS.Snapshot} snapshot\n      @return {Promise} promise\n    */\n    findRecord: function findRecord(store, type, id, snapshot) {\n      if ((0, _emberDataPrivate.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\n    /**\n      Called by the store in order to fetch a JSON array for all\n      of the records for a given type.\n       The `findAll` method makes an Ajax (HTTP GET) request to a URL computed by `buildURL`, and returns a\n      promise for the resulting payload.\n       @method findAll\n      @param {DS.Store} store\n      @param {DS.Model} type\n      @param {String} sinceToken\n      @param {DS.SnapshotRecordArray} snapshotRecordArray\n      @return {Promise} promise\n    */\n    findAll: function findAll(store, type, sinceToken, snapshotRecordArray) {\n      var query = this.buildQuery(snapshotRecordArray);\n\n      if ((0, _emberDataPrivate.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\n    /**\n      Called by the store in order to fetch a JSON array for\n      the records that match a particular query.\n       The `query` method makes an Ajax (HTTP GET) request to a URL\n      computed by `buildURL`, and returns a promise for the resulting\n      payload.\n       The `query` argument is a simple JavaScript object that will be passed directly\n      to the server as parameters.\n       @method query\n      @param {DS.Store} store\n      @param {DS.Model} type\n      @param {Object} query\n      @return {Promise} promise\n    */\n    query: function query(store, type, _query) {\n      if ((0, _emberDataPrivate.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\n    /**\n      Called by the store in order to fetch a JSON object for\n      the record that matches a particular query.\n       The `queryRecord` method makes an Ajax (HTTP GET) request to a URL\n      computed by `buildURL`, and returns a promise for the resulting\n      payload.\n       The `query` argument is a simple JavaScript object that will be passed directly\n      to the server as parameters.\n       @since 1.13.0\n      @method queryRecord\n      @param {DS.Store} store\n      @param {DS.Model} type\n      @param {Object} query\n      @return {Promise} promise\n    */\n    queryRecord: function queryRecord(store, type, query) {\n      if ((0, _emberDataPrivate.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\n    /**\n      Called by the store in order to fetch several records together if `coalesceFindRequests` is true\n       For example, if the original payload looks like:\n       ```js\n      {\n        \"id\": 1,\n        \"title\": \"Rails is omakase\",\n        \"comments\": [ 1, 2, 3 ]\n      }\n      ```\n       The IDs will be passed as a URL-encoded Array of IDs, in this form:\n       ```\n      ids[]=1&ids[]=2&ids[]=3\n      ```\n       Many servers, such as Rails and PHP, will automatically convert this URL-encoded array\n      into an Array for you on the server-side. If you want to encode the\n      IDs, differently, just override this (one-line) method.\n       The `findMany` method makes an Ajax (HTTP GET) request to a URL computed by `buildURL`, and returns a\n      promise for the resulting payload.\n       @method findMany\n      @param {DS.Store} store\n      @param {DS.Model} type\n      @param {Array} ids\n      @param {Array} snapshots\n      @return {Promise} promise\n    */\n    findMany: function findMany(store, type, ids, snapshots) {\n      if ((0, _emberDataPrivate.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\n    /**\n      Called by the store in order to fetch a JSON array for\n      the unloaded records in a has-many relationship that were originally\n      specified as a URL (inside of `links`).\n       For example, if your original payload looks like this:\n       ```js\n      {\n        \"post\": {\n          \"id\": 1,\n          \"title\": \"Rails is omakase\",\n          \"links\": { \"comments\": \"/posts/1/comments\" }\n        }\n      }\n      ```\n       This method will be called with the parent record and `/posts/1/comments`.\n       The `findHasMany` method will make an Ajax (HTTP GET) request to the originally specified URL.\n       The format of your `links` value will influence the final request URL via the `urlPrefix` method:\n       * Links beginning with `//`, `http://`, `https://`, will be used as is, with no further manipulation.\n       * Links beginning with a single `/` will have the current adapter's `host` value prepended to it.\n       * Links with no beginning `/` will have a parentURL prepended to it, via the current adapter's `buildURL`.\n       @method findHasMany\n      @param {DS.Store} store\n      @param {DS.Snapshot} snapshot\n      @param {String} url\n      @param {Object} relationship meta object describing the relationship\n      @return {Promise} promise\n    */\n    findHasMany: function findHasMany(store, snapshot, url, relationship) {\n      if ((0, _emberDataPrivate.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\n    /**\n      Called by the store in order to fetch the JSON for the unloaded record in a\n      belongs-to relationship that was originally specified as a URL (inside of\n      `links`).\n       For example, if your original payload looks like this:\n       ```js\n      {\n        \"person\": {\n          \"id\": 1,\n          \"name\": \"Tom Dale\",\n          \"links\": { \"group\": \"/people/1/group\" }\n        }\n      }\n      ```\n       This method will be called with the parent record and `/people/1/group`.\n       The `findBelongsTo` method will make an Ajax (HTTP GET) request to the originally specified URL.\n       The format of your `links` value will influence the final request URL via the `urlPrefix` method:\n       * Links beginning with `//`, `http://`, `https://`, will be used as is, with no further manipulation.\n       * Links beginning with a single `/` will have the current adapter's `host` value prepended to it.\n       * Links with no beginning `/` will have a parentURL prepended to it, via the current adapter's `buildURL`.\n       @method findBelongsTo\n      @param {DS.Store} store\n      @param {DS.Snapshot} snapshot\n      @param {String} url\n      @param {Object} relationship meta object describing the relationship\n      @return {Promise} promise\n    */\n    findBelongsTo: function findBelongsTo(store, snapshot, url, relationship) {\n      if ((0, _emberDataPrivate.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\n    /**\n      Called by the store when a newly created record is\n      saved via the `save` method on a model record instance.\n       The `createRecord` method serializes the record and makes an Ajax (HTTP POST) request\n      to a URL computed by `buildURL`.\n       See `serialize` for information on how to customize the serialized form\n      of a record.\n       @method createRecord\n      @param {DS.Store} store\n      @param {DS.Model} type\n      @param {DS.Snapshot} snapshot\n      @return {Promise} promise\n    */\n    createRecord: function createRecord(store, type, snapshot) {\n      if ((0, _emberDataPrivate.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\n    /**\n      Called by the store when an existing record is saved\n      via the `save` method on a model record instance.\n       The `updateRecord` method serializes the record and makes an Ajax (HTTP PUT) request\n      to a URL computed by `buildURL`.\n       See `serialize` for information on how to customize the serialized form\n      of a record.\n       @method updateRecord\n      @param {DS.Store} store\n      @param {DS.Model} type\n      @param {DS.Snapshot} snapshot\n      @return {Promise} promise\n    */\n    updateRecord: function updateRecord(store, type, snapshot) {\n      if ((0, _emberDataPrivate.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\n    /**\n      Called by the store when a record is deleted.\n       The `deleteRecord` method  makes an Ajax (HTTP DELETE) request to a URL computed by `buildURL`.\n       @method deleteRecord\n      @param {DS.Store} store\n      @param {DS.Model} type\n      @param {DS.Snapshot} snapshot\n      @return {Promise} promise\n    */\n    deleteRecord: function deleteRecord(store, type, snapshot) {\n      if ((0, _emberDataPrivate.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    // http://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-a-url-in-different-browsers\n    maxURLLength: 2048,\n\n    /**\n      Organize records into groups, each of which is to be passed to separate\n      calls to `findMany`.\n       This implementation groups together records that have the same base URL but\n      differing ids. For example `/comments/1` and `/comments/2` will be grouped together\n      because we know findMany can coalesce them together as `/comments?ids[]=1&ids[]=2`\n       It also supports urls where ids are passed as a query param, such as `/comments?id=1`\n      but not those where there is more than 1 query param such as `/comments?id=2&name=David`\n      Currently only the query param of `id` is supported. If you need to support others, please\n      override this or the `_stripIDFromURL` method.\n       It does not group records that have differing base urls, such as for example: `/posts/1/comments/2`\n      and `/posts/2/comments/3`\n       @method groupRecordsForFindMany\n      @param {DS.Store} store\n      @param {Array} snapshots\n      @return {Array}  an array of arrays of records, each of which is to be\n                        loaded separately by `findMany`.\n    */\n    groupRecordsForFindMany: function groupRecordsForFindMany(store, snapshots) {\n      var groups = Ember.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\n    /**\n      Takes an ajax response, and returns the json payload or an error.\n       By default this hook just returns the json payload passed to it.\n      You might want to override it in two cases:\n       1. Your API might return useful results in the response headers.\n      Response headers are passed in as the second argument.\n       2. Your API might return errors as successful responses with status code\n      200 and an Errors text or object. You can return a `DS.InvalidError` or a\n      `DS.AdapterError` (or a sub class) from this hook and it will automatically\n      reject the promise and put your record into the invalid or error state.\n       Returning a `DS.InvalidError` from this method will cause the\n      record to transition into the `invalid` state and make the\n      `errors` object available on the record. When returning an\n      `DS.InvalidError` the store will attempt to normalize the error data\n      returned from the server using the serializer's `extractErrors`\n      method.\n       @since 1.13.0\n      @method handleResponse\n      @param  {Number} status\n      @param  {Object} headers\n      @param  {Object} payload\n      @param  {Object} requestData - the original request information\n      @return {Object | DS.AdapterError} response\n    */\n    handleResponse: function handleResponse(status, headers, payload, requestData) {\n      if (this.isSuccess(status, headers, payload)) {\n        return payload;\n      } else if (this.isInvalid(status, headers, payload)) {\n        return new _emberDataPrivate.InvalidError(payload.errors);\n      }\n\n      var errors = this.normalizeErrorResponse(status, headers, payload);\n      var detailedMessage = this.generatedDetailedMessage(status, headers, payload, requestData);\n\n      switch (status) {\n        case 401:\n          return new _emberDataPrivate.UnauthorizedError(errors, detailedMessage);\n        case 403:\n          return new _emberDataPrivate.ForbiddenError(errors, detailedMessage);\n        case 404:\n          return new _emberDataPrivate.NotFoundError(errors, detailedMessage);\n        case 409:\n          return new _emberDataPrivate.ConflictError(errors, detailedMessage);\n        default:\n          if (status >= 500) {\n            return new _emberDataPrivate.ServerError(errors, detailedMessage);\n          }\n      }\n\n      return new _emberDataPrivate.AdapterError(errors, detailedMessage);\n    },\n\n    /**\n      Default `handleResponse` implementation uses this hook to decide if the\n      response is a success.\n       @since 1.13.0\n      @method isSuccess\n      @param  {Number} status\n      @param  {Object} headers\n      @param  {Object} payload\n      @return {Boolean}\n    */\n    isSuccess: function isSuccess(status, headers, payload) {\n      return status >= 200 && status < 300 || status === 304;\n    },\n\n    /**\n      Default `handleResponse` implementation uses this hook to decide if the\n      response is an invalid error.\n       @since 1.13.0\n      @method isInvalid\n      @param  {Number} status\n      @param  {Object} headers\n      @param  {Object} payload\n      @return {Boolean}\n    */\n    isInvalid: function isInvalid(status, headers, payload) {\n      return status === 422;\n    },\n\n    /**\n      Takes a URL, an HTTP method and a hash of data, and makes an\n      HTTP request.\n       When the server responds with a payload, Ember Data will call into `extractSingle`\n      or `extractArray` (depending on whether the original query was for one record or\n      many records).\n       By default, `ajax` method has the following behavior:\n       * It sets the response `dataType` to `\"json\"`\n      * If the HTTP method is not `\"GET\"`, it sets the `Content-Type` to be\n        `application/json; charset=utf-8`\n      * If the HTTP method is not `\"GET\"`, it stringifies the data passed in. The\n        data is the serialized record in the case of a save.\n      * Registers success and failure handlers.\n       @method ajax\n      @private\n      @param {String} url\n      @param {String} type The request type GET, POST, PUT, DELETE etc.\n      @param {Object} options\n      @return {Promise} promise\n    */\n    ajax: function ajax(url, type, options) {\n      var adapter = this;\n\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.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.run.join(null, reject, error);\n        };\n\n        adapter._ajaxRequest(hash);\n      }, 'DS: RESTAdapter#ajax ' + type + ' to ' + url);\n    },\n\n    /**\n      @method _ajaxRequest\n      @private\n      @param {Object} options jQuery ajax options to be used for the ajax request\n    */\n    _ajaxRequest: function _ajaxRequest(options) {\n      Ember.$.ajax(options);\n    },\n\n    /**\n      @method ajaxOptions\n      @private\n      @param {String} url\n      @param {String} type The request type GET, POST, PUT, DELETE etc.\n      @param {Object} options\n      @return {Object}\n    */\n    ajaxOptions: function ajaxOptions(url, 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 = Ember.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\n    /**\n      @method parseErrorResponse\n      @private\n      @param {String} responseText\n      @return {Object}\n    */\n    parseErrorResponse: function parseErrorResponse(responseText) {\n      var json = responseText;\n\n      try {\n        json = Ember.$.parseJSON(responseText);\n      } catch (e) {\n        // ignored\n      }\n\n      return json;\n    },\n\n    /**\n      @method normalizeErrorResponse\n      @private\n      @param  {Number} status\n      @param  {Object} headers\n      @param  {Object} payload\n      @return {Array} errors payload\n    */\n    normalizeErrorResponse: function normalizeErrorResponse(status, headers, payload) {\n      if (payload && typeof payload === 'object' && payload.errors) {\n        return payload.errors;\n      } else {\n        return [{\n          status: '' + status,\n          title: \"The backend responded with an error\",\n          detail: '' + payload\n        }];\n      }\n    },\n\n    /**\n      Generates a detailed (\"friendly\") error message, with plenty\n      of information for debugging (good luck!)\n       @method generatedDetailedMessage\n      @private\n      @param  {Number} status\n      @param  {Object} headers\n      @param  {Object} payload\n      @param  {Object} requestData\n      @return {String} detailed error message\n    */\n    generatedDetailedMessage: function generatedDetailedMessage(status, headers, payload, requestData) {\n      var shortenedPayload = 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    // @since 2.5.0\n    buildQuery: function buildQuery(snapshot) {\n      var query = {};\n\n      if (snapshot) {\n        var include = snapshot.include;\n\n        if (include) {\n          query.include = include;\n        }\n      }\n\n      return query;\n    },\n    _hasCustomizedAjax: function _hasCustomizedAjax() {\n      if (this.ajax !== RESTAdapter.prototype.ajax) {\n        true && !false && Ember.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\n        return true;\n      }\n\n      if (this.ajaxOptions !== RESTAdapter.prototype.ajaxOptions) {\n        true && !false && Ember.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\n        return true;\n      }\n\n      return false;\n    }\n  });\n\n  if ((0, _emberDataPrivate.isEnabled)('ds-improved-ajax')) {\n\n    RESTAdapter.reopen({\n\n      /*\n       * Get the data (body or query params) for a request.\n       *\n       * @public\n       * @method dataForRequest\n       * @param {Object} params\n       * @return {Object} data\n       */\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        // type is not passed to findBelongsTo and findHasMany\n\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\n      /*\n       * Get the HTTP method for a request.\n       *\n       * @public\n       * @method methodForRequest\n       * @param {Object} params\n       * @return {String} HTTP method\n       */\n      methodForRequest: function methodForRequest(params) {\n        var requestType = params.requestType;\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\n      /*\n       * Get the URL for a request.\n       *\n       * @public\n       * @method urlForRequest\n       * @param {Object} params\n       * @return {String} URL\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        // type and id are not passed from updateRecord and deleteRecord, hence they\n        // are defined if not set\n\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\n      /*\n       * Get the headers for a request.\n       *\n       * By default the value of the `headers` property of the adapter is\n       * returned.\n       *\n       * @public\n       * @method headersForRequest\n       * @param {Object} params\n       * @return {Object} headers\n       */\n      headersForRequest: function headersForRequest(params) {\n        return this.get('headers');\n      },\n\n      /*\n       * Get an object which contains all properties for a request which should\n       * be made.\n       *\n       * @private\n       * @method _requestFor\n       * @param {Object} params\n       * @return {Object} request object\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\n      /*\n       * Convert a request object into a hash which can be passed to `jQuery.ajax`.\n       *\n       * @private\n       * @method _requestToJQueryAjaxHash\n       * @param {Object} request\n       * @return {Object} jQuery ajax hash\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\n      /*\n       * Make a request using `jQuery.ajax`.\n       *\n       * @private\n       * @method _makeRequest\n       * @param {Object} request\n       * @return {Promise} promise\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 Promise(function (resolve, reject) {\n\n          hash.success = function (payload, textStatus, jqXHR) {\n            var response = ajaxSuccess(adapter, jqXHR, payload, requestData);\n            Ember.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.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, _emberDataPrivate.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    if (true /* DEBUG */) {\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        true && Ember.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 _emberDataPrivate.TimeoutError();\n    } else if (responseData.textStatus === 'abort' || jqXHR.status === 0) {\n      error = new _emberDataPrivate.AbortError();\n    } else {\n      try {\n        error = adapter.handleResponse(jqXHR.status, (0, _emberDataPrivate.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'], function (exports) {\n\n  /**\n    @module ember-data\n  */\n\n  'use strict';\n\n  exports['default'] = attr;\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      true && !(typeof defaultValue !== 'object' || defaultValue === null) && Ember.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 !== 'object' || defaultValue === null, {\n        id: 'ds.defaultValue.complex-object',\n        until: '3.0.0'\n      });\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 === '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.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-data/-private\", \"ember-inflector\", \"ember-data/setup-container\", \"ember-data/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\"], function (exports, _emberDataPrivate, _emberInflector, _emberDataSetupContainer, _emberDataInitializeStoreService, _emberDataTransformsTransform, _emberDataTransformsNumber, _emberDataTransformsDate, _emberDataTransformsString, _emberDataTransformsBoolean, _emberDataAdapter, _emberDataAdaptersJsonApi, _emberDataAdaptersRest, _emberDataSerializer, _emberDataSerializersJsonApi, _emberDataSerializersJson, _emberDataSerializersRest, _emberDataSerializersEmbeddedRecordsMixin, _emberDataAttr) {\n\n  /**\n    Ember Data\n    @module ember-data\n    @main ember-data\n  */\n\n  \"use strict\";\n\n  if (Ember.VERSION.match(/^1\\.([0-9]|1[0-2])\\./)) {\n    throw new Ember.Error(\"Ember Data requires at least Ember 1.13.0, but you have \" + Ember.VERSION + \". Please upgrade your version of Ember, then upgrade Ember Data.\");\n  }\n\n  _emberDataPrivate.DS.Store = _emberDataPrivate.Store;\n  _emberDataPrivate.DS.PromiseArray = _emberDataPrivate.PromiseArray;\n  _emberDataPrivate.DS.PromiseObject = _emberDataPrivate.PromiseObject;\n\n  _emberDataPrivate.DS.PromiseManyArray = _emberDataPrivate.PromiseManyArray;\n\n  _emberDataPrivate.DS.Model = _emberDataPrivate.Model;\n  _emberDataPrivate.DS.RootState = _emberDataPrivate.RootState;\n  _emberDataPrivate.DS.attr = _emberDataAttr[\"default\"];\n  _emberDataPrivate.DS.Errors = _emberDataPrivate.Errors;\n\n  _emberDataPrivate.DS.InternalModel = _emberDataPrivate.InternalModel;\n  _emberDataPrivate.DS.Snapshot = _emberDataPrivate.Snapshot;\n\n  _emberDataPrivate.DS.Adapter = _emberDataAdapter[\"default\"];\n\n  _emberDataPrivate.DS.AdapterError = _emberDataPrivate.AdapterError;\n  _emberDataPrivate.DS.InvalidError = _emberDataPrivate.InvalidError;\n  _emberDataPrivate.DS.TimeoutError = _emberDataPrivate.TimeoutError;\n  _emberDataPrivate.DS.AbortError = _emberDataPrivate.AbortError;\n\n  _emberDataPrivate.DS.UnauthorizedError = _emberDataPrivate.UnauthorizedError;\n  _emberDataPrivate.DS.ForbiddenError = _emberDataPrivate.ForbiddenError;\n  _emberDataPrivate.DS.NotFoundError = _emberDataPrivate.NotFoundError;\n  _emberDataPrivate.DS.ConflictError = _emberDataPrivate.ConflictError;\n  _emberDataPrivate.DS.ServerError = _emberDataPrivate.ServerError;\n\n  _emberDataPrivate.DS.errorsHashToArray = _emberDataPrivate.errorsHashToArray;\n  _emberDataPrivate.DS.errorsArrayToHash = _emberDataPrivate.errorsArrayToHash;\n\n  _emberDataPrivate.DS.Serializer = _emberDataSerializer[\"default\"];\n\n  _emberDataPrivate.DS.DebugAdapter = _emberDataPrivate.DebugAdapter;\n\n  _emberDataPrivate.DS.RecordArray = _emberDataPrivate.RecordArray;\n  _emberDataPrivate.DS.FilteredRecordArray = _emberDataPrivate.FilteredRecordArray;\n  _emberDataPrivate.DS.AdapterPopulatedRecordArray = _emberDataPrivate.AdapterPopulatedRecordArray;\n  _emberDataPrivate.DS.ManyArray = _emberDataPrivate.ManyArray;\n\n  _emberDataPrivate.DS.RecordArrayManager = _emberDataPrivate.RecordArrayManager;\n\n  _emberDataPrivate.DS.RESTAdapter = _emberDataAdaptersRest[\"default\"];\n  _emberDataPrivate.DS.BuildURLMixin = _emberDataPrivate.BuildURLMixin;\n\n  _emberDataPrivate.DS.RESTSerializer = _emberDataSerializersRest[\"default\"];\n  _emberDataPrivate.DS.JSONSerializer = _emberDataSerializersJson[\"default\"];\n\n  _emberDataPrivate.DS.JSONAPIAdapter = _emberDataAdaptersJsonApi[\"default\"];\n  _emberDataPrivate.DS.JSONAPISerializer = _emberDataSerializersJsonApi[\"default\"];\n\n  _emberDataPrivate.DS.Transform = _emberDataTransformsTransform[\"default\"];\n  _emberDataPrivate.DS.DateTransform = _emberDataTransformsDate[\"default\"];\n  _emberDataPrivate.DS.StringTransform = _emberDataTransformsString[\"default\"];\n  _emberDataPrivate.DS.NumberTransform = _emberDataTransformsNumber[\"default\"];\n  _emberDataPrivate.DS.BooleanTransform = _emberDataTransformsBoolean[\"default\"];\n\n  _emberDataPrivate.DS.EmbeddedRecordsMixin = _emberDataSerializersEmbeddedRecordsMixin[\"default\"];\n\n  _emberDataPrivate.DS.belongsTo = _emberDataPrivate.belongsTo;\n  _emberDataPrivate.DS.hasMany = _emberDataPrivate.hasMany;\n\n  _emberDataPrivate.DS.Relationship = _emberDataPrivate.Relationship;\n\n  _emberDataPrivate.DS._setupContainer = _emberDataSetupContainer[\"default\"];\n  _emberDataPrivate.DS._initializeStoreService = _emberDataInitializeStoreService[\"default\"];\n\n  Object.defineProperty(_emberDataPrivate.DS, 'normalizeModelName', {\n    enumerable: true,\n    writable: false,\n    configurable: false,\n    value: _emberDataPrivate.normalizeModelName\n  });\n\n  Object.defineProperty(_emberDataPrivate.global, 'DS', {\n    configurable: true,\n    get: function get() {\n      true && !false && Ember.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 _emberDataPrivate.DS;\n    }\n  });\n\n  exports[\"default\"] = _emberDataPrivate.DS;\n});","define('ember-data/initialize-store-service', ['exports'], function (exports) {\n  'use strict';\n\n  exports['default'] = initializeStoreService;\n\n  var deprecateOldEmberDataInitializers = void 0;\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\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    if (true /* DEBUG */) {\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\n  if (true /* DEBUG */) {\n      var DEPRECATED_INITIALIZER_NAMES = ['data-adapter', 'injectStore', 'transforms', 'store'];\n\n      var matchesDeprecatedInititalizer = function matchesDeprecatedInititalizer(name) {\n        return DEPRECATED_INITIALIZER_NAMES.indexOf(name) !== -1;\n      };\n\n      var warnForDeprecatedInitializers = function warnForDeprecatedInitializers(initializer) {\n        var deprecatedBeforeInitializer = matchesDeprecatedInititalizer(initializer.before);\n        var deprecatedAfterInitializer = matchesDeprecatedInititalizer(initializer.after);\n        var deprecatedProp = deprecatedBeforeInitializer ? 'before' : 'after';\n\n        true && !!(deprecatedBeforeInitializer || deprecatedAfterInitializer) && Ember.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\n      deprecateOldEmberDataInitializers = 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});","define('ember-data/model', ['exports', 'ember-data/-private'], function (exports, _emberDataPrivate) {\n  'use strict';\n\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberDataPrivate.Model;\n    }\n  });\n});","define('ember-data/relationships', ['exports', 'ember-data/-private'], function (exports, _emberDataPrivate) {\n  /**\n    @module ember-data\n  */\n  'use strict';\n\n  Object.defineProperty(exports, 'belongsTo', {\n    enumerable: true,\n    get: function get() {\n      return _emberDataPrivate.belongsTo;\n    }\n  });\n  Object.defineProperty(exports, 'hasMany', {\n    enumerable: true,\n    get: function get() {\n      return _emberDataPrivate.hasMany;\n    }\n  });\n});","define(\"ember-data/serializer\", [\"exports\"], function (exports) {\n\n  /**\n    `DS.Serializer` is an abstract base class that you should override in your\n    application to customize it for your backend. The minimum set of methods\n    that you should implement is:\n  \n      * `normalizeResponse()`\n      * `serialize()`\n  \n    And you can optionally override the following methods:\n  \n      * `normalize()`\n  \n    For an example implementation, see\n    [DS.JSONSerializer](DS.JSONSerializer), the included JSON serializer.\n  \n    @class Serializer\n    @namespace DS\n    @extends Ember.Object\n  */\n\n  \"use strict\";\n\n  exports[\"default\"] = Ember.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'], function (exports) {\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  'use strict';\n\n  exports['default'] = Ember.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      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      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      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.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      true && Ember.warn('The embedded relationship \\'' + serializedKey + '\\' is undefined for \\'' + snapshot.modelName + '\\' with id \\'' + snapshot.id + '\\'. Please include it in your original payload.', Ember.typeOf(snapshot.hasMany(relationship.key)) !== 'undefined', { id: 'ds.serializer.embedded-relationship-undefined' });\n\n      json[serializedKey] = this._generateSerializedHasMany(snapshot, relationship);\n    },\n\n    /*\n      Returns an array of embedded records serialized to JSON\n    */\n    _generateSerializedHasMany: function _generateSerializedHasMany(snapshot, relationship) {\n      var hasMany = snapshot.hasMany(relationship.key);\n      var manyArray = Ember.A(hasMany);\n      var ret = new Array(manyArray.length);\n\n      for (var i = 0; i < manyArray.length; i++) {\n        var embeddedSnapshot = manyArray[i];\n        var embeddedJson = embeddedSnapshot.serialize({ includeId: true });\n        this.removeEmbeddedForeignKey(snapshot, embeddedSnapshot, relationship, embeddedJson);\n        ret[i] = embeddedJson;\n      }\n\n      return ret;\n    },\n\n    /**\n      When serializing an embedded record, modify the property (in the json payload)\n      that refers to the parent record (foreign key for 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    // 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    // 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    // 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    // 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    // 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    // checks config for attrs option to deserialize records\n    // a defined option object for a resource is treated the same as\n    // `deserialize: 'records'`\n    hasDeserializeRecordsOption: function hasDeserializeRecordsOption(attr) {\n      var alwaysEmbed = this.hasEmbeddedAlwaysOption(attr);\n      var option = this.attrsOption(attr);\n      return alwaysEmbed || option && option.deserialize === 'records';\n    },\n    attrsOption: function attrsOption(attr) {\n      var attrs = this.get('attrs');\n      return attrs && (attrs[Ember.String.camelize(attr)] || attrs[attr]);\n    },\n\n    /**\n     @method _extractEmbeddedRecords\n     @private\n    */\n    _extractEmbeddedRecords: function _extractEmbeddedRecords(serializer, store, typeClass, partial) {\n      var _this = this;\n\n      typeClass.eachRelationship(function (key, relationship) {\n        if (serializer.hasDeserializeRecordsOption(key)) {\n          if (relationship.kind === \"hasMany\") {\n            _this._extractEmbeddedHasMany(store, key, partial, relationship);\n          }\n          if (relationship.kind === \"belongsTo\") {\n            _this._extractEmbeddedBelongsTo(store, key, partial, relationship);\n          }\n        }\n      });\n      return partial;\n    },\n\n    /**\n     @method _extractEmbeddedHasMany\n     @private\n    */\n    _extractEmbeddedHasMany: function _extractEmbeddedHasMany(store, key, hash, relationshipMeta) {\n      var relationshipHash = Ember.get(hash, 'data.relationships.' + key + '.data');\n\n      if (!relationshipHash) {\n        return;\n      }\n\n      var hasMany = new Array(relationshipHash.length);\n\n      for (var i = 0; i < relationshipHash.length; i++) {\n        var item = relationshipHash[i];\n\n        var _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      Ember.set(hash, 'data.relationships.' + key, relationship);\n    },\n\n    /**\n     @method _extractEmbeddedBelongsTo\n     @private\n    */\n    _extractEmbeddedBelongsTo: function _extractEmbeddedBelongsTo(store, key, hash, relationshipMeta) {\n      var relationshipHash = Ember.get(hash, 'data.relationships.' + key + '.data');\n      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      Ember.set(hash, 'data.relationships.' + key, relationship);\n    },\n\n    /**\n     @method _normalizeEmbeddedRelationship\n     @private\n    */\n    _normalizeEmbeddedRelationship: function _normalizeEmbeddedRelationship(store, relationshipMeta, relationshipHash) {\n      var modelName = relationshipMeta.type;\n      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-inflector', 'ember-data/serializers/json', 'ember-data/-private'], function (exports, _emberInflector, _emberDataSerializersJson, _emberDataPrivate) {\n  'use strict';\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  var JSONAPISerializer = _emberDataSerializersJson['default'].extend({\n\n    /**\n      @method _normalizeDocumentHelper\n      @param {Object} documentHash\n      @return {Object}\n      @private\n    */\n    _normalizeDocumentHelper: function _normalizeDocumentHelper(documentHash) {\n\n      if (Ember.typeOf(documentHash.data) === 'object') {\n        documentHash.data = this._normalizeResourceHelper(documentHash.data);\n      } else if (Array.isArray(documentHash.data)) {\n        var ret = new Array(documentHash.data.length);\n\n        for (var i = 0; i < documentHash.data.length; i++) {\n          var data = documentHash.data[i];\n          ret[i] = this._normalizeResourceHelper(data);\n        }\n\n        documentHash.data = ret;\n      }\n\n      if (Array.isArray(documentHash.included)) {\n        var _ret = new Array();\n        for (var _i = 0; _i < documentHash.included.length; _i++) {\n          var included = documentHash.included[_i];\n          var normalized = this._normalizeResourceHelper(included);\n          if (normalized !== null) {\n            // can be null when unknown type is encountered\n            _ret.push(normalized);\n          }\n        }\n\n        documentHash.included = _ret;\n      }\n\n      return documentHash;\n    },\n\n    /**\n      @method _normalizeRelationshipDataHelper\n      @param {Object} relationshipDataHash\n      @return {Object}\n      @private\n    */\n    _normalizeRelationshipDataHelper: function _normalizeRelationshipDataHelper(relationshipDataHash) {\n      if ((0, _emberDataPrivate.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          true && !false && Ember.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\n    /**\n      @method _normalizeResourceHelper\n      @param {Object} resourceHash\n      @return {Object}\n      @private\n    */\n    _normalizeResourceHelper: function _normalizeResourceHelper(resourceHash) {\n      true && !!Ember.isNone(resourceHash.type) && Ember.assert(this.warnMessageForUndefinedType(), !Ember.isNone(resourceHash.type), {\n        id: 'ds.serializer.type-is-undefined'\n      });\n\n      var modelName = void 0,\n          usedLookup = void 0;\n\n      if ((0, _emberDataPrivate.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          true && !false && Ember.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        true && Ember.warn(this.warnMessageNoModelForType(modelName, resourceHash.type, usedLookup), false, {\n          id: 'ds.serializer.model-for-type-missing'\n        });\n\n        return null;\n      }\n\n      var modelClass = this.store._modelFor(modelName);\n      var serializer = this.store.serializerFor(modelName);\n\n      var _serializer$normalize = serializer.normalize(modelClass, resourceHash),\n          data = _serializer$normalize.data;\n\n      return data;\n    },\n\n    /**\n      @method pushPayload\n      @param {DS.Store} store\n      @param {Object} payload\n    */\n    pushPayload: function pushPayload(store, payload) {\n      var normalizedPayload = this._normalizeDocumentHelper(payload);\n      if ((0, _emberDataPrivate.isEnabled)('ds-pushpayload-return')) {\n        return store.push(normalizedPayload);\n      } else {\n        store.push(normalizedPayload);\n      }\n    },\n\n    /**\n      @method _normalizeResponse\n      @param {DS.Store} store\n      @param {DS.Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @param {Boolean} isSingle\n      @return {Object} JSON-API Document\n      @private\n    */\n    _normalizeResponse: function _normalizeResponse(store, primaryModelClass, payload, id, requestType, isSingle) {\n      var normalizedPayload = this._normalizeDocumentHelper(payload);\n      return normalizedPayload;\n    },\n    normalizeQueryRecordResponse: function normalizeQueryRecordResponse() {\n      var normalized = this._super.apply(this, arguments);\n\n      true && !!Array.isArray(normalized.data) && Ember.assert('Expected the primary data returned by the serializer for a `queryRecord` response to be a single object but instead it was an array.', !Array.isArray(normalized.data), {\n        id: 'ds.serializer.json-api.queryRecord-array-response'\n      });\n\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          if (true /* DEBUG */) {\n              if (resourceHash.attributes[attributeKey] === undefined && resourceHash.attributes[key] !== undefined) {\n                true && !false && Ember.assert('Your payload for \\'' + modelClass.modelName + '\\' contains \\'' + key + '\\', but your serializer is setup to look for \\'' + attributeKey + '\\'. This is most likely because Ember Data\\'s JSON API serializer dasherizes attribute keys by default. You should subclass JSONAPISerializer and implement \\'keyForAttribute(key) { return key; }\\' to prevent Ember Data from customizing your attribute keys.', false);\n              }\n            }\n        });\n      }\n\n      return attributes;\n    },\n    extractRelationship: function extractRelationship(relationshipHash) {\n\n      if (Ember.typeOf(relationshipHash.data) === 'object') {\n        relationshipHash.data = this._normalizeRelationshipDataHelper(relationshipHash.data);\n      }\n\n      if (Array.isArray(relationshipHash.data)) {\n        var ret = new Array(relationshipHash.data.length);\n\n        for (var i = 0; i < relationshipHash.data.length; i++) {\n          var data = relationshipHash.data[i];\n          ret[i] = this._normalizeRelationshipDataHelper(data);\n        }\n\n        relationshipHash.data = ret;\n      }\n\n      return relationshipHash;\n    },\n    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          if (true /* DEBUG */) {\n              if (resourceHash.relationships[relationshipKey] === undefined && resourceHash.relationships[key] !== undefined) {\n                true && !false && Ember.assert('Your payload for \\'' + modelClass.modelName + '\\' contains \\'' + key + '\\', but your serializer is setup to look for \\'' + relationshipKey + '\\'. This is most likely because Ember Data\\'s JSON API serializer dasherizes relationship keys by default. You should subclass JSONAPISerializer and implement \\'keyForRelationship(key) { return key; }\\' to prevent Ember Data from customizing your relationship keys.', false);\n              }\n            }\n        });\n      }\n\n      return relationships;\n    },\n\n    /**\n      @method _extractType\n      @param {DS.Model} modelClass\n      @param {Object} resourceHash\n      @return {String}\n      @private\n    */\n    _extractType: function _extractType(modelClass, resourceHash) {\n      if ((0, _emberDataPrivate.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          true && !false && Ember.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\n    /**\n      Dasherizes and singularizes the model name in the payload to match\n      the format Ember Data uses internally for the model name.\n       For example the key `posts` would be converted to `post` and the\n      key `studentAssesments` would be converted to `student-assesment`.\n       @method modelNameFromPayloadKey\n      @param {String} key\n      @return {String} the model's modelName\n    */\n    // TODO @deprecated Use modelNameFromPayloadType instead\n    modelNameFromPayloadKey: function modelNameFromPayloadKey(key) {\n      return (0, _emberInflector.singularize)((0, _emberDataPrivate.normalizeModelName)(key));\n    },\n\n    /**\n      Converts the model name to a pluralized version of the model name.\n       For example `post` would be converted to `posts` and\n      `student-assesment` would be converted to `student-assesments`.\n       @method payloadKeyFromModelName\n      @param {String} modelName\n      @return {String}\n    */\n    // TODO @deprecated Use payloadTypeFromModelName instead\n    payloadKeyFromModelName: function payloadKeyFromModelName(modelName) {\n      return (0, _emberInflector.pluralize)(modelName);\n    },\n    normalize: function normalize(modelClass, resourceHash) {\n      if (resourceHash.attributes) {\n        this.normalizeUsingDeclaredMapping(modelClass, resourceHash.attributes);\n      }\n\n      if (resourceHash.relationships) {\n        this.normalizeUsingDeclaredMapping(modelClass, resourceHash.relationships);\n      }\n\n      var data = {\n        id: this.extractId(modelClass, resourceHash),\n        type: this._extractType(modelClass, resourceHash),\n        attributes: this.extractAttributes(modelClass, resourceHash),\n        relationships: this.extractRelationships(modelClass, resourceHash)\n      };\n\n      this.applyTransforms(modelClass, data.attributes);\n\n      return { data: data };\n    },\n\n    /**\n      `keyForAttribute` can be used to define rules for how to convert an\n      attribute name in your model to a key in your JSON.\n      By default `JSONAPISerializer` follows the format used on the examples of\n      http://jsonapi.org/format and uses dashes as the word separator in the JSON\n      attribute keys.\n       This behaviour can be easily customized by extending this method.\n       Example\n       ```app/serializers/application.js\n      import DS from 'ember-data';\n      import { dasherize } from '@ember/string';\n       export default DS.JSONAPISerializer.extend({\n        keyForAttribute(attr, method) {\n          return dasherize(attr).toUpperCase();\n        }\n      });\n      ```\n       @method keyForAttribute\n      @param {String} key\n      @param {String} method\n      @return {String} normalized key\n    */\n    keyForAttribute: function keyForAttribute(key, method) {\n      return Ember.String.dasherize(key);\n    },\n\n    /**\n     `keyForRelationship` can be used to define a custom key when\n     serializing and deserializing relationship properties.\n     By default `JSONAPISerializer` follows the format used on the examples of\n     http://jsonapi.org/format and uses dashes as word separators in\n     relationship properties.\n      This behaviour can be easily customized by extending this method.\n      Example\n       ```app/serializers/post.js\n      import DS from 'ember-data';\n      import { underscore } from '@ember/string';\n       export default DS.JSONAPISerializer.extend({\n        keyForRelationship(key, relationship, method) {\n          return underscore(key);\n        }\n      });\n      ```\n     @method keyForRelationship\n     @param {String} key\n     @param {String} typeClass\n     @param {String} method\n     @return {String} normalized key\n    */\n    keyForRelationship: function keyForRelationship(key, typeClass, method) {\n      return Ember.String.dasherize(key);\n    },\n    serialize: function serialize(snapshot, options) {\n      var data = this._super.apply(this, arguments);\n\n      var payloadType = void 0;\n      if ((0, _emberDataPrivate.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          true && !false && Ember.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, _emberDataPrivate.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                true && !false && Ember.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, _emberDataPrivate.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, _emberDataPrivate.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                true && !false && Ember.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, _emberDataPrivate.isEnabled)(\"ds-payload-type-hooks\")) {\n\n    JSONAPISerializer.reopen({\n\n      /**\n        `modelNameFromPayloadType` can be used to change the mapping for a DS model\n        name, taken from the value in the payload.\n         Say your API namespaces the type of a model and returns the following\n        payload for the `post` model:\n         ```javascript\n        // GET /api/posts/1\n        {\n          \"data\": {\n            \"id\": 1,\n            \"type: \"api::v1::post\"\n          }\n        }\n        ```\n         By overwriting `modelNameFromPayloadType` you can specify that the\n        `post` model should be used:\n         ```app/serializers/application.js\n        import DS from 'ember-data';\n         export default DS.JSONAPISerializer.extend({\n          modelNameFromPayloadType(payloadType) {\n            return payloadType.replace('api::v1::', '');\n          }\n        });\n        ```\n         By default the modelName for a model is its singularized name in dasherized\n        form.  Usually, Ember Data can use the correct inflection to do this for\n        you. Most of the time, you won't need to override\n        `modelNameFromPayloadType` for this purpose.\n         Also take a look at\n        [payloadTypeFromModelName](#method_payloadTypeFromModelName) to customize\n        how the type of a record should be serialized.\n         @method modelNameFromPayloadType\n        @public\n        @param {String} payloadType type from payload\n        @return {String} modelName\n      */\n      modelNameFromPayloadType: function modelNameFromPayloadType(type) {\n        return (0, _emberInflector.singularize)((0, _emberDataPrivate.normalizeModelName)(type));\n      },\n\n      /**\n        `payloadTypeFromModelName` can be used to change the mapping for the type in\n        the payload, taken from the model name.\n         Say your API namespaces the type of a model and expects the following\n        payload when you update the `post` model:\n         ```javascript\n        // POST /api/posts/1\n        {\n          \"data\": {\n            \"id\": 1,\n            \"type\": \"api::v1::post\"\n          }\n        }\n        ```\n         By overwriting `payloadTypeFromModelName` you can specify that the\n        namespaces model name for the `post` should be used:\n         ```app/serializers/application.js\n        import DS from 'ember-data';\n         export default JSONAPISerializer.extend({\n          payloadTypeFromModelName(modelName) {\n            return 'api::v1::' + modelName;\n          }\n        });\n        ```\n         By default the payload type is the pluralized model name. Usually, Ember\n        Data can use the correct inflection to do this for you. Most of the time,\n        you won't need to override `payloadTypeFromModelName` for this purpose.\n         Also take a look at\n        [modelNameFromPayloadType](#method_modelNameFromPayloadType) to customize\n        how the model name from should be mapped from the payload.\n         @method payloadTypeFromModelName\n        @public\n        @param {String} modelname modelName from the record\n        @return {String} payloadType\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  if (true /* DEBUG */) {\n      JSONAPISerializer.reopen({\n        willMergeMixin: function willMergeMixin(props) {\n          var constructor = this.constructor;\n          true && Ember.warn('You\\'ve defined \\'extractMeta\\' in ' + constructor.toString() + ' which is not used for serializers extending JSONAPISerializer. Read more at https://emberjs.com/api/data/classes/DS.JSONAPISerializer.html#toc_customizing-meta on how to customize meta when using JSON API.', Ember.isNone(props.extractMeta) || props.extractMeta === _emberDataSerializersJson['default'].prototype.extractMeta, {\n            id: 'ds.serializer.json-api.extractMeta'\n          });\n          true && Ember.warn('The JSONAPISerializer does not work with the EmbeddedRecordsMixin because the JSON API spec does not describe how to format embedded resources.', !props.isEmbeddedRecordsMixin, {\n            id: 'ds.serializer.embedded-records-mixin-not-supported'\n          });\n        },\n        warnMessageForUndefinedType: function warnMessageForUndefinedType() {\n          return 'Encountered a resource object with an undefined type (resolved resource using ' + this.constructor.toString() + ')';\n        },\n        warnMessageNoModelForType: function warnMessageNoModelForType(modelName, originalType, usedLookup) {\n          return 'Encountered a resource object with type \"' + originalType + '\", but no model was found for model name \"' + modelName + '\" (resolved model name using \\'' + this.constructor.toString() + '.' + usedLookup + '(\"' + originalType + '\")\\').';\n        }\n      });\n    }\n\n  exports['default'] = JSONAPISerializer;\n});","define('ember-data/serializers/json', ['exports', 'ember-data/serializer', 'ember-data/-private'], function (exports, _emberDataSerializer, _emberDataPrivate) {\n  'use strict';\n\n  var emberAssign = Ember.assign || Ember.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 records back.\n      - `normalize` - `normalizeArray` iterates and calls `normalize` for each of its records while `normalizeSingle`\n        calls it once. This is the method you most likely want to subclass.\n      - `extractId` | `extractAttributes` | `extractRelationships` - `normalize` delegates to these methods to\n        turn the record payload into the JSON API format.\n  \n    @class JSONSerializer\n    @namespace DS\n    @extends DS.Serializer\n  */\n  var JSONSerializer = _emberDataSerializer['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    /**\n     Given a subclass of `DS.Model` and a JSON object this method will\n     iterate through each attribute of the `DS.Model` and invoke the\n     `DS.Transform#deserialize` method on the matching property of the\n     JSON object.  This method is typically called after the\n     serializer's `normalize` method.\n      @method applyTransforms\n     @private\n     @param {DS.Model} typeClass\n     @param {Object} data The data to transform\n     @return {Object} data The transformed data object\n    */\n    applyTransforms: function applyTransforms(typeClass, data) {\n      var _this = this;\n\n      var attributes = Ember.get(typeClass, 'attributes');\n\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\n    /**\n      The `normalizeResponse` method is used to normalize a payload from the\n      server to a JSON-API Document.\n       http://jsonapi.org/format/#document-structure\n       This method delegates to a more specific normalize method based on\n      the `requestType`.\n       To override this method with a custom one, make sure to call\n      `return this._super(store, primaryModelClass, payload, id, requestType)` with your\n      pre-processed data.\n       Here's an example of using `normalizeResponse` manually:\n       ```javascript\n      socket.on('message', function(message) {\n        var data = message.data;\n        var modelClass = store.modelFor(data.modelName);\n        var serializer = store.serializerFor(data.modelName);\n        var normalized = serializer.normalizeSingleResponse(store, modelClass, data, data.id);\n         store.push(normalized);\n      });\n      ```\n       @since 1.13.0\n      @method normalizeResponse\n      @param {DS.Store} store\n      @param {DS.Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeResponse: function normalizeResponse(store, primaryModelClass, payload, id, requestType) {\n      switch (requestType) {\n        case 'findRecord':\n          return this.normalizeFindRecordResponse.apply(this, arguments);\n        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\n    /**\n      @since 1.13.0\n      @method normalizeFindRecordResponse\n      @param {DS.Store} store\n      @param {DS.Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeFindRecordResponse: function normalizeFindRecordResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSingleResponse.apply(this, arguments);\n    },\n\n    /**\n      @since 1.13.0\n      @method normalizeQueryRecordResponse\n      @param {DS.Store} store\n      @param {DS.Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeQueryRecordResponse: function normalizeQueryRecordResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSingleResponse.apply(this, arguments);\n    },\n\n    /**\n      @since 1.13.0\n      @method normalizeFindAllResponse\n      @param {DS.Store} store\n      @param {DS.Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeFindAllResponse: function normalizeFindAllResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeArrayResponse.apply(this, arguments);\n    },\n\n    /**\n      @since 1.13.0\n      @method normalizeFindBelongsToResponse\n      @param {DS.Store} store\n      @param {DS.Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeFindBelongsToResponse: function normalizeFindBelongsToResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSingleResponse.apply(this, arguments);\n    },\n\n    /**\n      @since 1.13.0\n      @method normalizeFindHasManyResponse\n      @param {DS.Store} store\n      @param {DS.Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeFindHasManyResponse: function normalizeFindHasManyResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeArrayResponse.apply(this, arguments);\n    },\n\n    /**\n      @since 1.13.0\n      @method normalizeFindManyResponse\n      @param {DS.Store} store\n      @param {DS.Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeFindManyResponse: function normalizeFindManyResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeArrayResponse.apply(this, arguments);\n    },\n\n    /**\n      @since 1.13.0\n      @method normalizeQueryResponse\n      @param {DS.Store} store\n      @param {DS.Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeQueryResponse: function normalizeQueryResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeArrayResponse.apply(this, arguments);\n    },\n\n    /**\n      @since 1.13.0\n      @method normalizeCreateRecordResponse\n      @param {DS.Store} store\n      @param {DS.Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeCreateRecordResponse: function normalizeCreateRecordResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSaveResponse.apply(this, arguments);\n    },\n\n    /**\n      @since 1.13.0\n      @method normalizeDeleteRecordResponse\n      @param {DS.Store} store\n      @param {DS.Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeDeleteRecordResponse: function normalizeDeleteRecordResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSaveResponse.apply(this, arguments);\n    },\n\n    /**\n      @since 1.13.0\n      @method normalizeUpdateRecordResponse\n      @param {DS.Store} store\n      @param {DS.Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeUpdateRecordResponse: function normalizeUpdateRecordResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSaveResponse.apply(this, arguments);\n    },\n\n    /**\n      @since 1.13.0\n      @method normalizeSaveResponse\n      @param {DS.Store} store\n      @param {DS.Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeSaveResponse: function normalizeSaveResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSingleResponse.apply(this, arguments);\n    },\n\n    /**\n      @since 1.13.0\n      @method normalizeSingleResponse\n      @param {DS.Store} store\n      @param {DS.Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeSingleResponse: function normalizeSingleResponse(store, primaryModelClass, payload, id, requestType) {\n      return this._normalizeResponse(store, primaryModelClass, payload, id, requestType, true);\n    },\n\n    /**\n      @since 1.13.0\n      @method normalizeArrayResponse\n      @param {DS.Store} store\n      @param {DS.Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeArrayResponse: function normalizeArrayResponse(store, primaryModelClass, payload, id, requestType) {\n      return this._normalizeResponse(store, primaryModelClass, payload, id, requestType, false);\n    },\n\n    /**\n      @method _normalizeResponse\n      @param {DS.Store} store\n      @param {DS.Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @param {Boolean} isSingle\n      @return {Object} JSON-API Document\n      @private\n    */\n    _normalizeResponse: function _normalizeResponse(store, primaryModelClass, payload, id, requestType, isSingle) {\n      var documentHash = {\n        data: null,\n        included: []\n      };\n\n      var meta = this.extractMeta(store, primaryModelClass, payload);\n      if (meta) {\n        true && !(Ember.typeOf(meta) === 'object') && Ember.assert('The `meta` returned from `extractMeta` has to be an object, not \"' + Ember.typeOf(meta) + '\".', Ember.typeOf(meta) === 'object');\n\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\n    /**\n      Normalizes a part of the JSON payload returned by\n      the server. You should override this method, munge the hash\n      and call super if you have generic normalization to do.\n       It takes the type of the record that is being normalized\n      (as a DS.Model class), the property where the hash was\n      originally found, and the hash to normalize.\n       You can use this method, for example, to normalize underscored keys to camelized\n      or other general-purpose normalizations.\n       Example\n       ```app/serializers/application.js\n      import DS from 'ember-data';\n      import { underscore } from '@ember/string';\n      import { get } from '@ember/object';\n       export default DS.JSONSerializer.extend({\n        normalize(typeClass, hash) {\n          var fields = get(typeClass, 'fields');\n           fields.forEach(function(field) {\n            var payloadField = underscore(field);\n            if (field === payloadField) { return; }\n             hash[field] = hash[payloadField];\n            delete hash[payloadField];\n          });\n           return this._super.apply(this, arguments);\n        }\n      });\n      ```\n       @method normalize\n      @param {DS.Model} typeClass\n      @param {Object} hash\n      @return {Object}\n    */\n    normalize: function normalize(modelClass, resourceHash) {\n      var data = null;\n\n      if (resourceHash) {\n        this.normalizeUsingDeclaredMapping(modelClass, resourceHash);\n        if (Ember.typeOf(resourceHash.links) === 'object') {\n          this.normalizeUsingDeclaredMapping(modelClass, resourceHash.links);\n        }\n\n        data = {\n          id: this.extractId(modelClass, resourceHash),\n          type: modelClass.modelName,\n          attributes: this.extractAttributes(modelClass, resourceHash),\n          relationships: this.extractRelationships(modelClass, resourceHash)\n        };\n\n        this.applyTransforms(modelClass, data.attributes);\n      }\n\n      return { data: data };\n    },\n\n    /**\n      Returns the resource's ID.\n       @method extractId\n      @param {Object} modelClass\n      @param {Object} resourceHash\n      @return {String}\n    */\n    extractId: function extractId(modelClass, resourceHash) {\n      var primaryKey = Ember.get(this, 'primaryKey');\n      var id = resourceHash[primaryKey];\n      return (0, _emberDataPrivate.coerceId)(id);\n    },\n\n    /**\n      Returns the resource's attributes formatted as a JSON-API \"attributes object\".\n       http://jsonapi.org/format/#document-resource-object-attributes\n       @method extractAttributes\n      @param {Object} modelClass\n      @param {Object} resourceHash\n      @return {Object}\n    */\n    extractAttributes: function extractAttributes(modelClass, resourceHash) {\n      var _this2 = this;\n\n      var attributeKey = 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\n    /**\n      Returns a relationship formatted as a JSON-API \"relationship object\".\n       http://jsonapi.org/format/#document-resource-object-relationships\n       @method extractRelationship\n      @param {Object} relationshipModelName\n      @param {Object} relationshipHash\n      @return {Object}\n    */\n    extractRelationship: function extractRelationship(relationshipModelName, relationshipHash) {\n      if (Ember.isNone(relationshipHash)) {\n        return null;\n      }\n      /*\n        When `relationshipHash` is an object it usually means that the relationship\n        is polymorphic. It could however also be embedded resources that the\n        EmbeddedRecordsMixin has be able to process.\n      */\n      if (Ember.typeOf(relationshipHash) === 'object') {\n        if (relationshipHash.id) {\n          relationshipHash.id = (0, _emberDataPrivate.coerceId)(relationshipHash.id);\n        }\n\n        var modelClass = this.store.modelFor(relationshipModelName);\n        if (relationshipHash.type && !(0, _emberDataPrivate.modelHasAttributeOrRelationshipNamedType)(modelClass)) {\n\n          if ((0, _emberDataPrivate.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              true && !false && Ember.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, _emberDataPrivate.coerceId)(relationshipHash), type: relationshipModelName };\n    },\n\n    /**\n      Returns a polymorphic relationship formatted as a JSON-API \"relationship object\".\n       http://jsonapi.org/format/#document-resource-object-relationships\n       `relationshipOptions` is a hash which contains more information about the\n      polymorphic relationship which should be extracted:\n        - `resourceHash` complete hash of the resource the relationship should be\n          extracted from\n        - `relationshipKey` key under which the value for the relationship is\n          extracted from the resourceHash\n        - `relationshipMeta` meta information about the relationship\n       @method extractPolymorphicRelationship\n      @param {Object} relationshipModelName\n      @param {Object} relationshipHash\n      @param {Object} relationshipOptions\n      @return {Object}\n    */\n    extractPolymorphicRelationship: function extractPolymorphicRelationship(relationshipModelName, relationshipHash, relationshipOptions) {\n      return this.extractRelationship(relationshipModelName, relationshipHash);\n    },\n\n    /**\n      Returns the resource's relationships formatted as a JSON-API \"relationships object\".\n       http://jsonapi.org/format/#document-resource-object-relationships\n       @method extractRelationships\n      @param {Object} modelClass\n      @param {Object} resourceHash\n      @return {Object}\n    */\n    extractRelationships: function extractRelationships(modelClass, resourceHash) {\n      var _this3 = this;\n\n      var relationships = {};\n\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.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\n    /**\n      @method modelNameFromPayloadKey\n      @param {String} key\n      @return {String} the model's modelName\n    */\n    // TODO @deprecated Use modelNameFromPayloadType instead\n    modelNameFromPayloadKey: function modelNameFromPayloadKey(key) {\n      return (0, _emberDataPrivate.normalizeModelName)(key);\n    },\n\n    /**\n      @method normalizeRelationships\n      @private\n    */\n    normalizeRelationships: function normalizeRelationships(typeClass, hash) {\n      var _this4 = this;\n\n      var payloadKey = 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\n    /**\n      @method normalizeUsingDeclaredMapping\n      @private\n    */\n    normalizeUsingDeclaredMapping: function normalizeUsingDeclaredMapping(modelClass, hash) {\n      var attrs = Ember.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 (Ember.get(modelClass, 'attributes').has(key)) {\n            normalizedKey = this.keyForAttribute(key);\n          }\n\n          if (Ember.get(modelClass, 'relationshipsByName').has(key)) {\n            normalizedKey = this.keyForRelationship(key);\n          }\n\n          if (payloadKey !== normalizedKey) {\n            hash[normalizedKey] = hash[payloadKey];\n            delete hash[payloadKey];\n          }\n        }\n      }\n    },\n\n    /**\n      Looks up the property key that was set by the custom `attr` mapping\n      passed to the serializer.\n       @method _getMappedKey\n      @private\n      @param {String} key\n      @return {String} key\n    */\n    _getMappedKey: function _getMappedKey(key, modelClass) {\n      true && Ember.warn('There is no attribute or relationship with the name `' + key + '` on `' + modelClass.modelName + '`. Check your serializers attrs hash.', Ember.get(modelClass, 'attributes').has(key) || Ember.get(modelClass, 'relationshipsByName').has(key), {\n        id: 'ds.serializer.no-mapped-attrs-key'\n      });\n\n      var attrs = Ember.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\n    /**\n      Check attrs.key.serialize property to inform if the `key`\n      can be serialized\n       @method _canSerialize\n      @private\n      @param {String} key\n      @return {boolean} true if the key can be serialized\n    */\n    _canSerialize: function _canSerialize(key) {\n      var attrs = Ember.get(this, 'attrs');\n\n      return !attrs || !attrs[key] || attrs[key].serialize !== false;\n    },\n\n    /**\n      When attrs.key.serialize is set to true then\n      it takes priority over the other checks and the related\n      attribute/relationship will be serialized\n       @method _mustSerialize\n      @private\n      @param {String} key\n      @return {boolean} true if the key must be serialized\n    */\n    _mustSerialize: function _mustSerialize(key) {\n      var attrs = Ember.get(this, 'attrs');\n\n      return attrs && attrs[key] && attrs[key].serialize === true;\n    },\n\n    /**\n      Check if the given hasMany relationship should be serialized\n       @method shouldSerializeHasMany\n      @param {DS.Snapshot} snapshot\n      @param {String} key\n      @param {String} relationshipType\n      @return {boolean} true if the hasMany relationship should be serialized\n    */\n\n    shouldSerializeHasMany: function shouldSerializeHasMany(snapshot, key, relationship) {\n      if (this._shouldSerializeHasMany !== JSONSerializer.prototype._shouldSerializeHasMany) {\n        true && !false && Ember.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\n    /**\n      Check if the given hasMany relationship should be serialized\n       @method _shouldSerializeHasMany\n      @private\n      @param {DS.Snapshot} snapshot\n      @param {String} key\n      @param {String} relationshipType\n      @return {boolean} true if the hasMany relationship should be serialized\n    */\n    _shouldSerializeHasMany: function _shouldSerializeHasMany(snapshot, key, relationship) {\n      var relationshipType = snapshot.type.determineRelationshipType(relationship, this.store);\n      if (this._mustSerialize(key)) {\n        return true;\n      }\n      return this._canSerialize(key) && (relationshipType === 'manyToNone' || relationshipType === 'manyToMany');\n    },\n\n    // SERIALIZE\n    /**\n      Called when a record is saved in order to convert the\n      record into JSON.\n       By default, it creates a JSON object with a key for\n      each attribute and belongsTo relationship.\n       For example, consider this model:\n       ```app/models/comment.js\n      import DS from 'ember-data';\n       export default DS.Model.extend({\n        title: DS.attr(),\n        body: DS.attr(),\n         author: DS.belongsTo('user')\n      });\n      ```\n       The default serialization would create a JSON object like:\n       ```javascript\n      {\n        \"title\": \"Rails is unagi\",\n        \"body\": \"Rails? Omakase? O_O\",\n        \"author\": 12\n      }\n      ```\n       By default, attributes are passed through as-is, unless\n      you specified an attribute type (`DS.attr('date')`). If\n      you specify a transform, the JavaScript value will be\n      serialized when inserted into the JSON hash.\n       By default, belongs-to relationships are converted into\n      IDs when inserted into the JSON hash.\n       ## IDs\n       `serialize` takes an options hash with a single option:\n      `includeId`. If this option is `true`, `serialize` will,\n      by default include the ID in the JSON object it builds.\n       The adapter passes in `includeId: true` when serializing\n      a record for `createRecord`, but not for `updateRecord`.\n       ## Customization\n       Your server may expect a different JSON format than the\n      built-in serialization format.\n       In that case, you can implement `serialize` yourself and\n      return a JSON hash of your choosing.\n       ```app/serializers/post.js\n      import DS from 'ember-data';\n       export default DS.JSONSerializer.extend({\n        serialize(snapshot, options) {\n          var json = {\n            POST_TTL: snapshot.attr('title'),\n            POST_BDY: snapshot.attr('body'),\n            POST_CMS: snapshot.hasMany('comments', { ids: true })\n          };\n           if (options.includeId) {\n            json.POST_ID_ = snapshot.id;\n          }\n           return json;\n        }\n      });\n      ```\n       ## Customizing an App-Wide Serializer\n       If you want to define a serializer for your entire\n      application, you'll probably want to use `eachAttribute`\n      and `eachRelationship` on the record.\n       ```app/serializers/application.js\n      import DS from 'ember-data';\n      import { singularize } from 'ember-inflector';\n       export default DS.JSONSerializer.extend({\n        serialize(snapshot, options) {\n          var json = {};\n           snapshot.eachAttribute(function(name) {\n            json[serverAttributeName(name)] = snapshot.attr(name);\n          });\n           snapshot.eachRelationship(function(name, relationship) {\n            if (relationship.kind === 'hasMany') {\n              json[serverHasManyName(name)] = snapshot.hasMany(name, { ids: true });\n            }\n          });\n           if (options.includeId) {\n            json.ID_ = snapshot.id;\n          }\n           return json;\n        }\n      });\n       function serverAttributeName(attribute) {\n        return attribute.underscore().toUpperCase();\n      }\n       function serverHasManyName(name) {\n        return serverAttributeName(singularize(name)) + \"_IDS\";\n      }\n      ```\n       This serializer will generate JSON that looks like this:\n       ```javascript\n      {\n        \"TITLE\": \"Rails is omakase\",\n        \"BODY\": \"Yep. Omakase.\",\n        \"COMMENT_IDS\": [ 1, 2, 3 ]\n      }\n      ```\n       ## Tweaking the Default JSON\n       If you just want to do some small tweaks on the default JSON,\n      you can call super first and make the tweaks on the returned\n      JSON.\n       ```app/serializers/post.js\n      import DS from 'ember-data';\n       export default DS.JSONSerializer.extend({\n        serialize(snapshot, options) {\n          var json = this._super(...arguments);\n           json.subject = json.title;\n          delete json.title;\n           return json;\n        }\n      });\n      ```\n       @method serialize\n      @param {DS.Snapshot} snapshot\n      @param {Object} options\n      @return {Object} json\n    */\n    serialize: function serialize(snapshot, options) {\n      var _this5 = this;\n\n      var json = {};\n\n      if (options && options.includeId) {\n        if ((0, _emberDataPrivate.isEnabled)('ds-serialize-id')) {\n          this.serializeId(snapshot, json, Ember.get(this, 'primaryKey'));\n        } else {\n          var id = snapshot.id;\n          if (id) {\n            json[Ember.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\n    /**\n      You can use this method to customize how a serialized record is added to the complete\n      JSON hash to be sent to the server. By default the JSON Serializer does not namespace\n      the payload and just sends the raw serialized JSON object.\n      If your server expects namespaced keys, you should consider using the RESTSerializer.\n      Otherwise you can override this method to customize how the record is added to the hash.\n      The hash property should be modified by reference.\n       For example, your server may expect underscored root objects.\n       ```app/serializers/application.js\n      import DS from 'ember-data';\n      import { decamelize } from '@ember/string';\n       export default DS.RESTSerializer.extend({\n        serializeIntoHash(data, type, snapshot, options) {\n          var root = decamelize(type.modelName);\n          data[root] = this.serialize(snapshot, options);\n        }\n      });\n      ```\n       @method serializeIntoHash\n      @param {Object} hash\n      @param {DS.Model} typeClass\n      @param {DS.Snapshot} snapshot\n      @param {Object} options\n    */\n    serializeIntoHash: function serializeIntoHash(hash, typeClass, snapshot, options) {\n      emberAssign(hash, this.serialize(snapshot, options));\n    },\n\n    /**\n      `serializeAttribute` can be used to customize how `DS.attr`\n      properties are serialized\n       For example if you wanted to ensure all your attributes were always\n      serialized as properties on an `attributes` object you could\n      write:\n       ```app/serializers/application.js\n      import DS from 'ember-data';\n       export default DS.JSONSerializer.extend({\n        serializeAttribute(snapshot, json, key, attributes) {\n          json.attributes = json.attributes || {};\n          this._super(snapshot, json.attributes, key, attributes);\n        }\n      });\n      ```\n       @method serializeAttribute\n      @param {DS.Snapshot} snapshot\n      @param {Object} json\n      @param {String} key\n      @param {Object} attribute\n    */\n    serializeAttribute: function serializeAttribute(snapshot, json, key, attribute) {\n\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\n    /**\n      `serializeBelongsTo` can be used to customize how `DS.belongsTo`\n      properties are serialized.\n       Example\n       ```app/serializers/post.js\n      import DS from 'ember-data';\n      import { isNone } from '@ember/utils';\n       export default DS.JSONSerializer.extend({\n        serializeBelongsTo(snapshot, json, relationship) {\n          var key = relationship.key;\n          var belongsTo = snapshot.belongsTo(key);\n           key = this.keyForRelationship ? this.keyForRelationship(key, \"belongsTo\", \"serialize\") : key;\n           json[key] = isNone(belongsTo) ? belongsTo : belongsTo.record.toJSON();\n        }\n      });\n      ```\n       @method serializeBelongsTo\n      @param {DS.Snapshot} snapshot\n      @param {Object} json\n      @param {Object} relationship\n    */\n    serializeBelongsTo: function serializeBelongsTo(snapshot, json, relationship) {\n      var key = relationship.key;\n\n      if (this._canSerialize(key)) {\n        var belongsToId = snapshot.belongsTo(key, { 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 (Ember.isNone(belongsToId)) {\n          json[payloadKey] = null;\n        } else {\n          json[payloadKey] = belongsToId;\n        }\n\n        if (relationship.options.polymorphic) {\n          this.serializePolymorphicType(snapshot, json, relationship);\n        }\n      }\n    },\n\n    /**\n     `serializeHasMany` can be used to customize how `DS.hasMany`\n     properties are serialized.\n      Example\n      ```app/serializers/post.js\n     import DS from 'ember-data';\n      export default DS.JSONSerializer.extend({\n       serializeHasMany(snapshot, json, relationship) {\n         var key = relationship.key;\n         if (key === 'comments') {\n           return;\n         } else {\n           this._super(...arguments);\n         }\n       }\n     });\n     ```\n      @method serializeHasMany\n     @param {DS.Snapshot} snapshot\n     @param {Object} json\n     @param {Object} relationship\n    */\n    serializeHasMany: function serializeHasMany(snapshot, json, relationship) {\n      var key = relationship.key;\n      var shouldSerializeHasMany = '_shouldSerializeHasMany';\n      if ((0, _emberDataPrivate.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\n    /**\n      You can use this method to customize how polymorphic objects are\n      serialized. Objects are considered to be polymorphic if\n      `{ polymorphic: true }` is pass as the second argument to the\n      `DS.belongsTo` function.\n       Example\n       ```app/serializers/comment.js\n      import DS from 'ember-data';\n      import { isNone } from '@ember/utils';\n       export default DS.JSONSerializer.extend({\n        serializePolymorphicType(snapshot, json, relationship) {\n          var key = relationship.key;\n          var belongsTo = snapshot.belongsTo(key);\n           key = this.keyForAttribute ? this.keyForAttribute(key, 'serialize') : key;\n           if (isNone(belongsTo)) {\n            json[key + '_type'] = null;\n          } else {\n            json[key + '_type'] = belongsTo.modelName;\n          }\n        }\n      });\n      ```\n       @method serializePolymorphicType\n      @param {DS.Snapshot} snapshot\n      @param {Object} json\n      @param {Object} relationship\n    */\n    serializePolymorphicType: function serializePolymorphicType() {},\n\n    /**\n      `extractMeta` is used to deserialize any meta information in the\n      adapter payload. By default Ember Data expects meta information to\n      be located on the `meta` property of the payload object.\n       Example\n       ```app/serializers/post.js\n      import DS from 'ember-data';\n       export default DS.JSONSerializer.extend({\n        extractMeta(store, typeClass, payload) {\n          if (payload && payload.hasOwnProperty('_pagination')) {\n            let meta = payload._pagination;\n            delete payload._pagination;\n            return meta;\n          }\n        }\n      });\n      ```\n       @method extractMeta\n      @param {DS.Store} store\n      @param {DS.Model} modelClass\n      @param {Object} payload\n    */\n    extractMeta: function extractMeta(store, modelClass, payload) {\n      if (payload && payload['meta'] !== undefined) {\n        var meta = payload.meta;\n        delete payload.meta;\n        return meta;\n      }\n    },\n\n    /**\n      `extractErrors` is used to extract model errors when a call\n      to `DS.Model#save` fails with an `InvalidError`. By default\n      Ember Data expects error information to be located on the `errors`\n      property of the payload object.\n       This serializer expects this `errors` object to be an Array similar\n      to the following, compliant with the JSON-API specification:\n       ```js\n      {\n        \"errors\": [\n          {\n            \"detail\": \"This username is already taken!\",\n            \"source\": {\n              \"pointer\": \"data/attributes/username\"\n            }\n          }, {\n            \"detail\": \"Doesn't look like a valid email.\",\n            \"source\": {\n              \"pointer\": \"data/attributes/email\"\n            }\n          }\n        ]\n      }\n      ```\n       The key `detail` provides a textual description of the problem.\n      Alternatively, the key `title` can be used for the same purpose.\n       The nested keys `source.pointer` detail which specific element\n      of the request data was invalid.\n       Note that JSON-API also allows for object-level errors to be placed\n      in an object with pointer `data`, signifying that the problem\n      cannot be traced to a specific attribute:\n       ```javascript\n      {\n        \"errors\": [\n          {\n            \"detail\": \"Some generic non property error message\",\n            \"source\": {\n              \"pointer\": \"data\"\n            }\n          }\n        ]\n      }\n      ```\n       When turn into a `DS.Errors` object, you can read these errors\n      through the property `base`:\n       ```handlebars\n      {{#each model.errors.base as |error|}}\n        <div class=\"error\">\n          {{error.message}}\n        </div>\n      {{/each}}\n      ```\n       Example of alternative implementation, overriding the default\n      behavior to deal with a different format of errors:\n       ```app/serializers/post.js\n      import DS from 'ember-data';\n       export default DS.JSONSerializer.extend({\n        extractErrors(store, typeClass, payload, id) {\n          if (payload && typeof payload === 'object' && payload._problems) {\n            payload = payload._problems;\n            this.normalizeErrors(typeClass, payload);\n          }\n          return payload;\n        }\n      });\n      ```\n       @method extractErrors\n      @param {DS.Store} store\n      @param {DS.Model} typeClass\n      @param {Object} payload\n      @param {(String|Number)} id\n      @return {Object} json The deserialized errors\n    */\n    extractErrors: function extractErrors(store, typeClass, payload, id) {\n      var _this6 = this;\n\n      if (payload && typeof payload === 'object' && payload.errors) {\n        payload = (0, _emberDataPrivate.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\n    /**\n      `keyForAttribute` can be used to define rules for how to convert an\n      attribute name in your model to a key in your JSON.\n       Example\n       ```app/serializers/application.js\n      import DS from 'ember-data';\n      import { underscore } from '@ember/string';\n       export default DS.RESTSerializer.extend({\n        keyForAttribute(attr, method) {\n          return underscore(attr).toUpperCase();\n        }\n      });\n      ```\n       @method keyForAttribute\n      @param {String} key\n      @param {String} method\n      @return {String} normalized key\n    */\n    keyForAttribute: function keyForAttribute(key, method) {\n      return key;\n    },\n\n    /**\n      `keyForRelationship` can be used to define a custom key when\n      serializing and deserializing relationship properties. By default\n      `JSONSerializer` does not provide an implementation of this method.\n       Example\n         ```app/serializers/post.js\n        import DS from 'ember-data';\n        import { underscore } from '@ember/string';\n         export default DS.JSONSerializer.extend({\n          keyForRelationship(key, relationship, method) {\n            return `rel_${underscore(key)}`;\n          }\n        });\n        ```\n       @method keyForRelationship\n      @param {String} key\n      @param {String} typeClass\n      @param {String} method\n      @return {String} normalized key\n    */\n    keyForRelationship: function keyForRelationship(key, typeClass, method) {\n      return key;\n    },\n\n    /**\n     `keyForLink` can be used to define a custom key when deserializing link\n     properties.\n      @method keyForLink\n     @param {String} key\n     @param {String} kind `belongsTo` or `hasMany`\n     @return {String} normalized key\n    */\n    keyForLink: function keyForLink(key, kind) {\n      return key;\n    },\n\n    // HELPERS\n\n    /**\n     @method transformFor\n     @private\n     @param {String} attributeType\n     @param {Boolean} skipAssertion\n     @return {DS.Transform} transform\n    */\n    transformFor: function transformFor(attributeType, skipAssertion) {\n      var transform = (0, _emberDataPrivate.getOwner)(this).lookup('transform:' + attributeType);\n\n      true && !(skipAssertion || !!transform) && Ember.assert(\"Unable to find transform for '\" + attributeType + \"'\", skipAssertion || !!transform);\n\n      return transform;\n    }\n  });\n\n  if ((0, _emberDataPrivate.isEnabled)(\"ds-payload-type-hooks\")) {\n\n    JSONSerializer.reopen({\n\n      /**\n        @method modelNameFromPayloadType\n        @public\n        @param {String} type\n        @return {String} the model's modelName\n        */\n      modelNameFromPayloadType: function modelNameFromPayloadType(type) {\n        return (0, _emberDataPrivate.normalizeModelName)(type);\n      },\n      _hasCustomModelNameFromPayloadKey: function _hasCustomModelNameFromPayloadKey() {\n        return this.modelNameFromPayloadKey !== JSONSerializer.prototype.modelNameFromPayloadKey;\n      }\n    });\n  }\n\n  if ((0, _emberDataPrivate.isEnabled)(\"ds-serialize-id\")) {\n\n    JSONSerializer.reopen({\n\n      /**\n       serializeId can be used to customize how id is serialized\n       For example, your server may expect integer datatype of id\n        By default the snapshot's id (String) is set on the json hash via json[primaryKey] = snapshot.id.\n        ```app/serializers/application.js\n       import DS from 'ember-data';\n        export default DS.JSONSerializer.extend({\n       serializeId(snapshot, json, primaryKey) {\n           var id = snapshot.id;\n           json[primaryKey] = parseInt(id, 10);\n         }\n       });\n       ```\n        @method serializeId\n       @public\n       @param {DS.Snapshot} snapshot\n       @param {Object} json\n       @param {String} primaryKey\n       */\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-inflector\", \"ember-data/serializers/json\", \"ember-data/-private\"], function (exports, _emberInflector, _emberDataSerializersJson, _emberDataPrivate) {\n  \"use strict\";\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    import { underscore } from '@ember/string';\n  \n    export default DS.RESTSerializer.extend({\n      keyForAttribute(attr, method) {\n        return underscore(attr).toUpperCase();\n      }\n    });\n    ```\n  \n    You can also implement `keyForRelationship`, which takes the name\n    of the relationship as the first parameter, the kind of\n    relationship (`hasMany` or `belongsTo`) as the second parameter, and\n    the method (`serialize` or `deserialize`) as the third parameter.\n  \n    @class RESTSerializer\n    @namespace DS\n    @extends DS.JSONSerializer\n  */\n  var RESTSerializer = _emberDataSerializersJson[\"default\"].extend({\n\n    /**\n     `keyForPolymorphicType` can be used to define a custom key when\n     serializing and deserializing a polymorphic type. By default, the\n     returned key is `${key}Type`.\n      Example\n       ```app/serializers/post.js\n      import DS from 'ember-data';\n       export default DS.RESTSerializer.extend({\n        keyForPolymorphicType(key, relationship) {\n          var relationshipKey = this.keyForRelationship(key);\n           return 'type-' + relationshipKey;\n        }\n      });\n      ```\n      @method keyForPolymorphicType\n     @param {String} key\n     @param {String} typeClass\n     @param {String} method\n     @return {String} normalized key\n    */\n    keyForPolymorphicType: function keyForPolymorphicType(key, typeClass, method) {\n      var relationshipKey = this.keyForRelationship(key);\n\n      return relationshipKey + 'Type';\n    },\n\n    /**\n      Normalizes a part of the JSON payload returned by\n      the server. You should override this method, munge the hash\n      and call super if you have generic normalization to do.\n       It takes the type of the record that is being normalized\n      (as a DS.Model class), the property where the hash was\n      originally found, and the hash to normalize.\n       For example, if you have a payload that looks like this:\n       ```js\n      {\n        \"post\": {\n          \"id\": 1,\n          \"title\": \"Rails is omakase\",\n          \"comments\": [ 1, 2 ]\n        },\n        \"comments\": [{\n          \"id\": 1,\n          \"body\": \"FIRST\"\n        }, {\n          \"id\": 2,\n          \"body\": \"Rails is unagi\"\n        }]\n      }\n      ```\n       The `normalize` method will be called three times:\n       * With `App.Post`, `\"posts\"` and `{ id: 1, title: \"Rails is omakase\", ... }`\n      * With `App.Comment`, `\"comments\"` and `{ id: 1, body: \"FIRST\" }`\n      * With `App.Comment`, `\"comments\"` and `{ id: 2, body: \"Rails is unagi\" }`\n       You can use this method, for example, to normalize underscored keys to camelized\n      or other general-purpose normalizations. You will only need to implement\n      `normalize` and manipulate the payload as desired.\n       For example, if the `IDs` under `\"comments\"` are provided as `_id` instead of\n      `id`, you can specify how to normalize just the comments:\n       ```app/serializers/post.js\n      import DS from 'ember-data';\n       export default DS.RESTSerializer.extend({\n        normalize(model, hash, prop) {\n          if (prop === 'comments') {\n            hash.id = hash._id;\n            delete hash._id;\n          }\n           return this._super(...arguments);\n        }\n      });\n      ```\n       On each call to the `normalize` method, the third parameter (`prop`) is always\n      one of the keys that were in the original payload or in the result of another\n      normalization as `normalizeResponse`.\n       @method normalize\n      @param {DS.Model} modelClass\n      @param {Object} resourceHash\n      @param {String} prop\n      @return {Object}\n    */\n    normalize: function normalize(modelClass, resourceHash, prop) {\n      if (this.normalizeHash && this.normalizeHash[prop]) {\n        true && !false && Ember.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\n        this.normalizeHash[prop](resourceHash);\n      }\n      return this._super(modelClass, resourceHash);\n    },\n\n    /**\n      Normalizes an array of resource payloads and returns a JSON-API Document\n      with primary data and, if any, included data as `{ data, included }`.\n       @method _normalizeArray\n      @param {DS.Store} store\n      @param {String} modelName\n      @param {Object} arrayHash\n      @param {String} prop\n      @return {Object}\n      @private\n    */\n    _normalizeArray: function _normalizeArray(store, modelName, arrayHash, prop) {\n      var _this = this;\n\n      var documentHash = {\n        data: [],\n        included: []\n      };\n\n      var modelClass = store.modelFor(modelName);\n      var serializer = store.serializerFor(modelName);\n\n      Ember.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, _emberDataPrivate.modelHasAttributeOrRelationshipNamedType)(primaryModelClass);\n\n      if (!primaryHasTypeAttribute && hash.type) {\n        // Support polymorphic records in async relationships\n        var modelName = void 0;\n        if ((0, _emberDataPrivate.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            true && !false && Ember.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\n    /*\n      @method _normalizeResponse\n      @param {DS.Store} store\n      @param {DS.Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @param {Boolean} isSingle\n      @return {Object} JSON-API Document\n      @private\n    */\n    _normalizeResponse: function _normalizeResponse(store, primaryModelClass, payload, id, requestType, isSingle) {\n      var documentHash = {\n        data: null,\n        included: []\n      };\n\n      var meta = this.extractMeta(store, primaryModelClass, payload);\n      if (meta) {\n        true && !(Ember.typeOf(meta) === 'object') && Ember.assert('The `meta` returned from `extractMeta` has to be an object, not \"' + Ember.typeOf(meta) + '\".', Ember.typeOf(meta) === 'object');\n\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          true && Ember.warn(this.warnMessageNoModelForKey(modelName, typeName), false, {\n            id: 'ds.serializer.model-for-key-missing'\n          });\n\n          continue;\n        }\n\n        var isPrimary = !forcedSecondary && this.isPrimaryType(store, typeName, primaryModelClass);\n        var value = payload[prop];\n\n        if (value === null) {\n          continue;\n        }\n\n        if (true /* DEBUG */) {\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            true && !!isQueryRecordAnArray && Ember.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, _emberDataPrivate.coerceId)(resource.id) === id;\n            var isFirstCreatedRecord = isPrimary && !id && !documentHash.data;\n\n            if (isFirstCreatedRecord || isUpdatedRecord) {\n              documentHash.data = resource;\n            } else {\n              documentHash.included.push(resource);\n            }\n          });\n        } else {\n          if (isPrimary) {\n            documentHash.data = data;\n          } else {\n            if (data) {\n              var _documentHash$include4;\n\n              (_documentHash$include4 = documentHash.included).push.apply(_documentHash$include4, data);\n            }\n          }\n        }\n      }\n\n      return documentHash;\n    },\n    isPrimaryType: function isPrimaryType(store, typeName, primaryTypeClass) {\n      return store.modelFor(typeName) === primaryTypeClass;\n    },\n\n    /**\n      This method allows you to push a payload containing top-level\n      collections of records organized per type.\n       ```js\n      {\n        \"posts\": [{\n          \"id\": \"1\",\n          \"title\": \"Rails is omakase\",\n          \"author\", \"1\",\n          \"comments\": [ \"1\" ]\n        }],\n        \"comments\": [{\n          \"id\": \"1\",\n          \"body\": \"FIRST\"\n        }],\n        \"users\": [{\n          \"id\": \"1\",\n          \"name\": \"@d2h\"\n        }]\n      }\n      ```\n       It will first normalize the payload, so you can use this to push\n      in data streaming in from your server structured the same way\n      that fetches and saves are structured.\n       @method pushPayload\n      @param {DS.Store} store\n      @param {Object} payload\n    */\n    pushPayload: function pushPayload(store, payload) {\n      var documentHash = {\n        data: [],\n        included: []\n      };\n\n      for (var prop in payload) {\n        var modelName = this.modelNameFromPayloadKey(prop);\n        if (!store.modelFactoryFor(modelName)) {\n          true && Ember.warn(this.warnMessageNoModelForKey(prop, modelName), false, {\n            id: 'ds.serializer.model-for-key-missing'\n          });\n\n          continue;\n        }\n        var type = store.modelFor(modelName);\n        var typeSerializer = store.serializerFor(type.modelName);\n\n        Ember.makeArray(payload[prop]).forEach(function (hash) {\n          var _typeSerializer$norma = typeSerializer.normalize(type, hash, prop),\n              data = _typeSerializer$norma.data,\n              included = _typeSerializer$norma.included;\n\n          documentHash.data.push(data);\n          if (included) {\n            var _documentHash$include5;\n\n            (_documentHash$include5 = documentHash.included).push.apply(_documentHash$include5, included);\n          }\n        });\n      }\n\n      if ((0, _emberDataPrivate.isEnabled)('ds-pushpayload-return')) {\n        return store.push(documentHash);\n      } else {\n        store.push(documentHash);\n      }\n    },\n\n    /**\n      This method is used to convert each JSON root key in the payload\n      into a modelName that it can use to look up the appropriate model for\n      that part of the payload.\n       For example, your server may send a model name that does not correspond with\n      the name of the model in your app. Let's take a look at an example model,\n      and an example payload:\n       ```app/models/post.js\n      import DS from 'ember-data';\n       export default DS.Model.extend({\n      });\n      ```\n       ```javascript\n        {\n          \"blog/post\": {\n            \"id\": \"1\n          }\n        }\n      ```\n       Ember Data is going to normalize the payload's root key for the modelName. As a result,\n      it will try to look up the \"blog/post\" model. Since we don't have a model called \"blog/post\"\n      (or a file called app/models/blog/post.js in ember-cli), Ember Data will throw an error\n      because it cannot find the \"blog/post\" model.\n       Since we want to remove this namespace, we can define a serializer for the application that will\n      remove \"blog/\" from the payload key whenver it's encountered by Ember Data:\n       ```app/serializers/application.js\n      import DS from 'ember-data';\n       export default DS.RESTSerializer.extend({\n        modelNameFromPayloadKey(payloadKey) {\n          if (payloadKey === 'blog/post') {\n            return this._super(payloadKey.replace('blog/', ''));\n          } else {\n           return this._super(payloadKey);\n          }\n        }\n      });\n      ```\n       After refreshing, Ember Data will appropriately look up the \"post\" model.\n       By default the modelName for a model is its\n      name in dasherized form. This means that a payload key like \"blogPost\" would be\n      normalized to \"blog-post\" when Ember Data looks up the model. Usually, Ember Data\n      can use the correct inflection to do this for you. Most of the time, you won't\n      need to override `modelNameFromPayloadKey` for this purpose.\n       @method modelNameFromPayloadKey\n      @param {String} key\n      @return {String} the model's modelName\n    */\n    modelNameFromPayloadKey: function modelNameFromPayloadKey(key) {\n      return (0, _emberInflector.singularize)((0, _emberDataPrivate.normalizeModelName)(key));\n    },\n\n    // SERIALIZE\n\n    /**\n      Called when a record is saved in order to convert the\n      record into JSON.\n       By default, it creates a JSON object with a key for\n      each attribute and belongsTo relationship.\n       For example, consider this model:\n       ```app/models/comment.js\n      import DS from 'ember-data';\n       export default DS.Model.extend({\n        title: DS.attr(),\n        body: DS.attr(),\n         author: DS.belongsTo('user')\n      });\n      ```\n       The default serialization would create a JSON object like:\n       ```js\n      {\n        \"title\": \"Rails is unagi\",\n        \"body\": \"Rails? Omakase? O_O\",\n        \"author\": 12\n      }\n      ```\n       By default, attributes are passed through as-is, unless\n      you specified an attribute type (`DS.attr('date')`). If\n      you specify a transform, the JavaScript value will be\n      serialized when inserted into the JSON hash.\n       By default, belongs-to relationships are converted into\n      IDs when inserted into the JSON hash.\n       ## IDs\n       `serialize` takes an options hash with a single option:\n      `includeId`. If this option is `true`, `serialize` will,\n      by default include the ID in the JSON object it builds.\n       The adapter passes in `includeId: true` when serializing\n      a record for `createRecord`, but not for `updateRecord`.\n       ## Customization\n       Your server may expect a different JSON format than the\n      built-in serialization format.\n       In that case, you can implement `serialize` yourself and\n      return a JSON hash of your choosing.\n       ```app/serializers/post.js\n      import DS from 'ember-data';\n       export default DS.RESTSerializer.extend({\n        serialize(snapshot, options) {\n          var json = {\n            POST_TTL: snapshot.attr('title'),\n            POST_BDY: snapshot.attr('body'),\n            POST_CMS: snapshot.hasMany('comments', { ids: true })\n          };\n           if (options.includeId) {\n            json.POST_ID_ = snapshot.id;\n          }\n           return json;\n        }\n      });\n      ```\n       ## Customizing an App-Wide Serializer\n       If you want to define a serializer for your entire\n      application, you'll probably want to use `eachAttribute`\n      and `eachRelationship` on the record.\n       ```app/serializers/application.js\n      import DS from 'ember-data';\n      import { pluralize } from 'ember-inflector';\n       export default DS.RESTSerializer.extend({\n        serialize(snapshot, options) {\n          var json = {};\n           snapshot.eachAttribute(function(name) {\n            json[serverAttributeName(name)] = snapshot.attr(name);\n          });\n           snapshot.eachRelationship(function(name, relationship) {\n            if (relationship.kind === 'hasMany') {\n              json[serverHasManyName(name)] = snapshot.hasMany(name, { ids: true });\n            }\n          });\n           if (options.includeId) {\n            json.ID_ = snapshot.id;\n          }\n           return json;\n        }\n      });\n       function serverAttributeName(attribute) {\n        return attribute.underscore().toUpperCase();\n      }\n       function serverHasManyName(name) {\n        return serverAttributeName(singularize(name)) + \"_IDS\";\n      }\n      ```\n       This serializer will generate JSON that looks like this:\n       ```js\n      {\n        \"TITLE\": \"Rails is omakase\",\n        \"BODY\": \"Yep. Omakase.\",\n        \"COMMENT_IDS\": [ 1, 2, 3 ]\n      }\n      ```\n       ## Tweaking the Default JSON\n       If you just want to do some small tweaks on the default JSON,\n      you can call super first and make the tweaks on the returned\n      JSON.\n       ```app/serializers/post.js\n      import DS from 'ember-data';\n       export default DS.RESTSerializer.extend({\n        serialize(snapshot, options) {\n          var json = this._super(snapshot, options);\n           json.subject = json.title;\n          delete json.title;\n           return json;\n        }\n      });\n      ```\n       @method serialize\n      @param {DS.Snapshot} snapshot\n      @param {Object} options\n      @return {Object} json\n    */\n    serialize: function serialize(snapshot, options) {\n      return this._super.apply(this, arguments);\n    },\n\n    /**\n      You can use this method to customize the root keys serialized into the JSON.\n      The hash property should be modified by reference (possibly using something like _.extend)\n      By default the REST Serializer sends the modelName of a model, which is a camelized\n      version of the name.\n       For example, your server may expect underscored root objects.\n       ```app/serializers/application.js\n      import DS from 'ember-data';\n      import { decamelize } from '@ember/string';\n       export default DS.RESTSerializer.extend({\n        serializeIntoHash(data, type, record, options) {\n          var root = decamelize(type.modelName);\n          data[root] = this.serialize(record, options);\n        }\n      });\n      ```\n       @method serializeIntoHash\n      @param {Object} hash\n      @param {DS.Model} typeClass\n      @param {DS.Snapshot} snapshot\n      @param {Object} options\n    */\n    serializeIntoHash: function serializeIntoHash(hash, typeClass, snapshot, options) {\n      var normalizedRootKey = this.payloadKeyFromModelName(typeClass.modelName);\n      hash[normalizedRootKey] = this.serialize(snapshot, options);\n    },\n\n    /**\n      You can use `payloadKeyFromModelName` to override the root key for an outgoing\n      request. By default, the RESTSerializer returns a camelized version of the\n      model's name.\n       For a model called TacoParty, its `modelName` would be the string `taco-party`. The RESTSerializer\n      will send it to the server with `tacoParty` as the root key in the JSON payload:\n       ```js\n      {\n        \"tacoParty\": {\n          \"id\": \"1\",\n          \"location\": \"Matthew Beale's House\"\n        }\n      }\n      ```\n       For example, your server may expect dasherized root objects:\n       ```app/serializers/application.js\n      import DS from 'ember-data';\n      import { dasherize } from '@ember/string';\n       export default DS.RESTSerializer.extend({\n        payloadKeyFromModelName(modelName) {\n          return dasherize(modelName);\n        }\n      });\n      ```\n       Given a `TacoParty` model, calling `save` on it would produce an outgoing\n      request like:\n       ```js\n      {\n        \"taco-party\": {\n          \"id\": \"1\",\n          \"location\": \"Matthew Beale's House\"\n        }\n      }\n      ```\n       @method payloadKeyFromModelName\n      @param {String} modelName\n      @return {String}\n    */\n    payloadKeyFromModelName: function payloadKeyFromModelName(modelName) {\n      return Ember.String.camelize(modelName);\n    },\n\n    /**\n      You can use this method to customize how polymorphic objects are serialized.\n      By default the REST Serializer creates the key by appending `Type` to\n      the attribute and value from the model's camelcased model name.\n       @method serializePolymorphicType\n      @param {DS.Snapshot} snapshot\n      @param {Object} json\n      @param {Object} relationship\n    */\n    serializePolymorphicType: function serializePolymorphicType(snapshot, json, relationship) {\n      var key = relationship.key;\n      var typeKey = this.keyForPolymorphicType(key, relationship.type, 'serialize');\n      var belongsTo = snapshot.belongsTo(key);\n\n      // 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        true && !false && Ember.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.isNone(belongsTo)) {\n        json[typeKey] = null;\n      } else {\n        if ((0, _emberDataPrivate.isEnabled)(\"ds-payload-type-hooks\")) {\n          json[typeKey] = this.payloadTypeFromModelName(belongsTo.modelName);\n        } else {\n          json[typeKey] = Ember.String.camelize(belongsTo.modelName);\n        }\n      }\n    },\n\n    /**\n      You can use this method to customize how a polymorphic relationship should\n      be extracted.\n       @method extractPolymorphicRelationship\n      @param {Object} relationshipType\n      @param {Object} relationshipHash\n      @param {Object} relationshipOptions\n      @return {Object}\n     */\n    extractPolymorphicRelationship: function extractPolymorphicRelationship(relationshipType, relationshipHash, relationshipOptions) {\n      var key = relationshipOptions.key,\n          resourceHash = relationshipOptions.resourceHash,\n          relationshipMeta = relationshipOptions.relationshipMeta;\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\n      var isPolymorphic = relationshipMeta.options.polymorphic;\n      var typeProperty = this.keyForPolymorphicType(key, relationshipType, 'deserialize');\n\n      if (isPolymorphic && resourceHash[typeProperty] !== undefined && typeof relationshipHash !== 'object') {\n\n        if ((0, _emberDataPrivate.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            true && !false && Ember.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, _emberDataPrivate.isEnabled)(\"ds-payload-type-hooks\")) {\n\n    RESTSerializer.reopen({\n\n      /**\n        `modelNameFromPayloadType` can be used to change the mapping for a DS model\n        name, taken from the value in the payload.\n         Say your API namespaces the type of a model and returns the following\n        payload for the `post` model, which has a polymorphic `user` relationship:\n         ```javascript\n        // GET /api/posts/1\n        {\n          \"post\": {\n            \"id\": 1,\n            \"user\": 1,\n            \"userType: \"api::v1::administrator\"\n          }\n        }\n        ```\n         By overwriting `modelNameFromPayloadType` you can specify that the\n        `administrator` model should be used:\n         ```app/serializers/application.js\n        import DS from 'ember-data';\n         export default DS.RESTSerializer.extend({\n          modelNameFromPayloadType(payloadType) {\n            return payloadType.replace('api::v1::', '');\n          }\n        });\n        ```\n         By default the modelName for a model is its name in dasherized form.\n        Usually, Ember Data can use the correct inflection to do this for you. Most\n        of the time, you won't need to override `modelNameFromPayloadType` for this\n        purpose.\n         Also take a look at\n        [payloadTypeFromModelName](#method_payloadTypeFromModelName) to customize\n        how the type of a record should be serialized.\n         @method modelNameFromPayloadType\n        @public\n        @param {String} payloadType type from payload\n        @return {String} modelName\n      */\n      modelNameFromPayloadType: function modelNameFromPayloadType(payloadType) {\n        return (0, _emberInflector.singularize)((0, _emberDataPrivate.normalizeModelName)(payloadType));\n      },\n\n      /**\n        `payloadTypeFromModelName` can be used to change the mapping for the type in\n        the payload, taken from the model name.\n         Say your API namespaces the type of a model and expects the following\n        payload when you update the `post` model, which has a polymorphic `user`\n        relationship:\n         ```javascript\n        // POST /api/posts/1\n        {\n          \"post\": {\n            \"id\": 1,\n            \"user\": 1,\n            \"userType\": \"api::v1::administrator\"\n          }\n        }\n        ```\n         By overwriting `payloadTypeFromModelName` you can specify that the\n        namespaces model name for the `administrator` should be used:\n         ```app/serializers/application.js\n        import DS from 'ember-data';\n         export default DS.RESTSerializer.extend({\n          payloadTypeFromModelName(modelName) {\n            return 'api::v1::' + modelName;\n          }\n        });\n        ```\n         By default the payload type is the camelized model name. Usually, Ember\n        Data can use the correct inflection to do this for you. Most of the time,\n        you won't need to override `payloadTypeFromModelName` for this purpose.\n         Also take a look at\n        [modelNameFromPayloadType](#method_modelNameFromPayloadType) to customize\n        how the model name from should be mapped from the payload.\n         @method payloadTypeFromModelName\n        @public\n        @param {String} modelName modelName from the record\n        @return {String} payloadType\n      */\n      payloadTypeFromModelName: function payloadTypeFromModelName(modelName) {\n        return Ember.String.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  if (true /* DEBUG */) {\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, _emberDataPrivate, _emberDataSerializersJsonApi, _emberDataSerializersJson, _emberDataSerializersRest, _emberDataAdaptersJsonApi, _emberDataAdaptersRest, _emberDataTransformsNumber, _emberDataTransformsDate, _emberDataTransformsString, _emberDataTransformsBoolean) {\n  'use strict';\n\n  exports['default'] = setupContainer;\n\n  function has(applicationOrRegistry, fullName) {\n    if (applicationOrRegistry.has) {\n      // < 2.1.0\n      return applicationOrRegistry.has(fullName);\n    } else {\n      // 2.1.0+\n      return applicationOrRegistry.hasRegistration(fullName);\n    }\n  }\n\n  /*\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', _emberDataSerializersJson['default']);\n    registry.register('serializer:-rest', _emberDataSerializersRest['default']);\n    registry.register('adapter:-rest', _emberDataAdaptersRest['default']);\n\n    registry.register('adapter:-json-api', _emberDataAdaptersJsonApi['default']);\n    registry.register('serializer:-json-api', _emberDataSerializersJsonApi['default']);\n\n    if (!has(registry, 'service:store')) {\n      registry.register('service:store', _emberDataPrivate.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', _emberDataPrivate.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', _emberDataTransformsBoolean['default']);\n    registry.register('transform:date', _emberDataTransformsDate['default']);\n    registry.register('transform:number', _emberDataTransformsNumber['default']);\n    registry.register('transform:string', _emberDataTransformsString['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, _emberDataPrivate) {\n  'use strict';\n\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberDataPrivate.Store;\n    }\n  });\n});","define('ember-data/transform', ['exports', 'ember-data/transforms/transform'], function (exports, _emberDataTransformsTransform) {\n  'use strict';\n\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberDataTransformsTransform['default'];\n    }\n  });\n});","define(\"ember-data/transforms/boolean\", [\"exports\", \"ember-data/transforms/transform\"], function (exports, _emberDataTransformsTransform) {\n  \"use strict\";\n\n  /**\n    The `DS.BooleanTransform` class is used to serialize and deserialize\n    boolean attributes on Ember Data record objects. This transform is\n    used when `boolean` is passed as the type parameter to the\n    [DS.attr](../../data#method_attr) function.\n  \n    Usage\n  \n    ```app/models/user.js\n    import 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    By default the boolean transform only allows for values of `true` or\n    `false`. You can opt into allowing `null` values for\n    boolean attributes via `DS.attr('boolean', { allowNull: true })`\n  \n    ```app/models/user.js\n    import DS from 'ember-data';\n  \n    export default DS.Model.extend({\n      email: DS.attr('string'),\n      username: DS.attr('string'),\n      wantsWeeklyEmail: DS.attr('boolean', { allowNull: true })\n    });\n    ```\n  \n    @class BooleanTransform\n    @extends DS.Transform\n    @namespace DS\n   */\n  exports[\"default\"] = _emberDataTransformsTransform[\"default\"].extend({\n    deserialize: function deserialize(serialized, options) {\n      if (Ember.isNone(serialized) && options.allowNull === true) {\n        return null;\n      }\n\n      var type = typeof serialized;\n      if (type === \"boolean\") {\n        return serialized;\n      } else if (type === \"string\") {\n        return (/^(true|t|1)$/i.test(serialized)\n        );\n      } else if (type === \"number\") {\n        return serialized === 1;\n      } else {\n        return false;\n      }\n    },\n    serialize: function serialize(deserialized, options) {\n      if (Ember.isNone(deserialized) && options.allowNull === true) {\n        return null;\n      }\n\n      return Boolean(deserialized);\n    }\n  });\n});","define('ember-data/transforms/date', ['exports', 'ember-data/transforms/transform'], function (exports, _emberDataTransformsTransform) {\n  'use strict';\n\n  Ember.Date = Ember.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.Date.parse = function (date) {\n    // throw deprecation\n    true && !false && Ember.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'] = _emberDataTransformsTransform['default'].extend({\n    deserialize: function deserialize(serialized) {\n      var type = typeof serialized;\n\n      if (type === \"string\") {\n        var offset = serialized.indexOf('+');\n\n        if (offset !== -1 && serialized.length - 3 === offset) {\n          true && !false && Ember.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\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-data/transforms/transform'], function (exports, _emberDataTransformsTransform) {\n  'use strict';\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'] = _emberDataTransformsTransform['default'].extend({\n    deserialize: function deserialize(serialized) {\n      var transformed = void 0;\n\n      if (Ember.isEmpty(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 (Ember.isEmpty(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-data/transforms/transform'], function (exports, _emberDataTransformsTransform) {\n  'use strict';\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'] = _emberDataTransformsTransform['default'].extend({\n    deserialize: function deserialize(serialized) {\n      return Ember.isNone(serialized) ? null : String(serialized);\n    },\n    serialize: function serialize(deserialized) {\n      return Ember.isNone(deserialized) ? null : String(deserialized);\n    }\n  });\n});","define(\"ember-data/transforms/transform\", [\"exports\"], function (exports) {\n\n  /**\n    The `DS.Transform` class is used to serialize and deserialize model\n    attributes when they are saved or loaded from an\n    adapter. Subclassing `DS.Transform` is useful for creating custom\n    attributes. All subclasses of `DS.Transform` must implement a\n    `serialize` and a `deserialize` method.\n  \n    Example\n  \n    ```app/transforms/temperature.js\n    import DS from 'ember-data';\n  \n    // Converts centigrade in the JSON to fahrenheit in the app\n    export default DS.Transform.extend({\n      deserialize(serialized, options) {\n        return (serialized *  1.8) + 32;\n      },\n  \n      serialize(deserialized, options) {\n        return (deserialized - 32) / 1.8;\n      }\n    });\n    ```\n  \n    The options passed into the `DS.attr` function when the attribute is\n    declared on the model is also available in the transform.\n  \n    ```app/models/post.js\n    export default DS.Model.extend({\n      title: DS.attr('string'),\n      markdown: DS.attr('markdown', {\n        markdown: {\n          gfm: false,\n          sanitize: true\n        }\n      })\n    });\n    ```\n  \n    ```app/transforms/markdown.js\n    export default DS.Transform.extend({\n      serialize(deserialized, options) {\n        return deserialized.raw;\n      },\n  \n      deserialize(serialized, options) {\n        var markdownOptions = options.markdown || {};\n  \n        return marked(serialized, markdownOptions);\n      }\n    });\n    ```\n  \n    Usage\n  \n    ```app/models/requirement.js\n    import DS from 'ember-data';\n  \n    export default DS.Model.extend({\n      name: DS.attr('string'),\n      temperature: DS.attr('temperature')\n    });\n    ```\n  \n    @class Transform\n    @namespace DS\n   */\n  \"use strict\";\n\n  exports[\"default\"] = Ember.Object.extend({\n    /**\n      When given a deserialized value from a record attribute this\n      method must return the serialized value.\n       Example\n       ```javascript\n      import { isEmpty } from '@ember/utils';\n       serialize(deserialized, options) {\n        return isEmpty(deserialized) ? null : Number(deserialized);\n      }\n      ```\n       @method serialize\n      @param deserialized The deserialized value\n      @param options hash of options passed to `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  exports[\"default\"] = \"2.18.5\";\n});","define(\"ember-get-config/find\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  exports.Array_find = Array_find;\n\n  // Polyfill only as much as we need (don't need thisArg)\n\n  function Array_find(callback) {\n    for (var i = 0, entry = this[i]; i < this.length; entry = this[++i]) {\n      if (callback(entry, i, this)) {\n        return entry;\n      }\n    }\n  }\n\n  exports[\"default\"] = Array.prototype.find || Array_find;\n});","define('ember-get-config/index', ['exports', 'ember-get-config/find'], function (exports, _emberGetConfigFind) {\n  'use strict';\n\n  exports.findConfigName = findConfigName;\n\n  var CONFIG_REGEX = /^[^/]+\\/config\\/environment$/;\n\n  function findConfigName(entries) {\n    return _emberGetConfigFind['default'].call(Object.keys(entries), function (entry) {\n      return CONFIG_REGEX.test(entry);\n    });\n  }\n\n  exports['default'] = window.requirejs(findConfigName(window.requirejs.entries))['default'];\n});","define(\"ember-getowner-polyfill/index\", [\"exports\", \"ember\"], function (exports, _ember) {\n  \"use strict\";\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-highcharts/components/high-charts', ['exports', 'ember', 'ember-highcharts/utils/option-loader', 'ember-highcharts/utils/chart-data', 'ember-highcharts/templates/components/high-charts'], function (exports, _ember, _emberHighchartsUtilsOptionLoader, _emberHighchartsUtilsChartData, _emberHighchartsTemplatesComponentsHighCharts) {\n  /* global Highcharts */\n  'use strict';\n\n  var Component = _ember['default'].Component;\n  var computed = _ember['default'].computed;\n  var get = _ember['default'].get;\n  var getOwner = _ember['default'].getOwner;\n  var getProperties = _ember['default'].getProperties;\n  var set = _ember['default'].set;\n  var run = _ember['default'].run;\n  var $ = _ember['default'].$;\n\n  var assign = _ember['default'].assign || _ember['default'].merge;\n\n  exports['default'] = Component.extend({\n    layout: _emberHighchartsTemplatesComponentsHighCharts['default'],\n    classNames: ['highcharts-wrapper'],\n    content: undefined,\n    mode: undefined,\n    chartOptions: undefined,\n    chart: null,\n    theme: undefined,\n    callback: undefined,\n\n    buildOptions: computed('chartOptions', 'content.[]', function () {\n      var chartOptions = $.extend(true, {}, get(this, 'theme'), get(this, 'chartOptions'));\n      var chartContent = get(this, 'content');\n\n      // if 'no-data-to-display' module has been imported, keep empty series and leave it to highcharts to show no data label.\n      if (!get(this, 'content.length') && !Highcharts.Chart.prototype.showNoData) {\n        chartContent = [{\n          id: 'noData',\n          data: 0,\n          color: '#aaaaaa'\n        }];\n      }\n\n      var defaults = { series: chartContent };\n\n      return assign(defaults, chartOptions);\n    }),\n\n    didReceiveAttrs: function didReceiveAttrs() {\n      this._super.apply(this, arguments);\n\n      var _getProperties = getProperties(this, 'content', 'chart', 'mode');\n\n      var content = _getProperties.content;\n      var chart = _getProperties.chart;\n      var mode = _getProperties.mode;\n\n      if (!content || !chart) {\n        return;\n      }\n\n      var isStockChart = mode === 'StockChart';\n\n      // create maps to make series data easier to work with\n      var contentSeriesMap = (0, _emberHighchartsUtilsChartData.getSeriesMap)(content);\n      var chartSeriesMap = (0, _emberHighchartsUtilsChartData.getSeriesMap)(chart.series);\n\n      // remove and update current series\n      var chartSeriesToRemove = [];\n\n      chart.series.forEach(function (series) {\n        if (isStockChart && series.name === 'Navigator') {\n          return;\n        }\n\n        var contentSeries = contentSeriesMap[series.name];\n\n        if (!contentSeries) {\n          return chartSeriesToRemove.push(series);\n        }\n\n        var updatedKeys = (0, _emberHighchartsUtilsChartData.getSeriesChanges)(contentSeries, series);\n\n        // call series.update() when other series attributes like pointStart have changed\n        if (updatedKeys.length) {\n          series.update(contentSeries, false);\n        } else {\n          series.setData(contentSeries.data, false);\n        }\n      });\n\n      chartSeriesToRemove.forEach(function (series) {\n        return series.remove(false);\n      });\n\n      // add new series\n      content.forEach(function (contentSeries) {\n        if (!chartSeriesMap.hasOwnProperty(contentSeries.name)) {\n          chart.addSeries(contentSeries, false);\n        }\n      });\n\n      // reset navigator data\n      if (isStockChart && chart.xAxis.length) {\n        chart.xAxis[0].setExtremes();\n      }\n\n      return chart.redraw();\n    },\n\n    drawAfterRender: function drawAfterRender() {\n      run.scheduleOnce('afterRender', this, 'draw');\n    },\n\n    draw: function draw() {\n      var $element = this.$('.chart-container');\n      var mode = get(this, 'mode');\n      var completeChartOptions = [get(this, 'buildOptions'), get(this, 'callback')];\n\n      if (typeof mode === 'string' && !!mode) {\n        completeChartOptions.unshift(mode);\n      }\n\n      if ($element) {\n        var chart = $element.highcharts.apply($element, completeChartOptions).highcharts();\n        set(this, 'chart', chart);\n      }\n    },\n\n    didInsertElement: function didInsertElement() {\n      this._super.apply(this, arguments);\n\n      this.drawAfterRender();\n      (0, _emberHighchartsUtilsOptionLoader.setDefaultHighChartOptions)(getOwner(this));\n    },\n\n    willDestroyElement: function willDestroyElement() {\n      this._super.apply(this, arguments);\n\n      if (get(this, 'chart')) {\n        get(this, 'chart').destroy();\n      }\n    }\n  });\n});","define(\"ember-highcharts/templates/components/high-charts\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"rBinvhaO\", \"block\": \"{\\\"statements\\\":[[\\\"open-element\\\",\\\"div\\\",[]],[\\\"static-attr\\\",\\\"class\\\",\\\"chart-container\\\"],[\\\"flush-element\\\"],[\\\"close-element\\\"],[\\\"text\\\",\\\"\\\\n\\\"],[\\\"yield\\\",\\\"default\\\",[[\\\"get\\\",[\\\"chart\\\"]]]],[\\\"text\\\",\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"modules/ember-highcharts/templates/components/high-charts.hbs\" } });\n});","define('ember-highcharts/utils/chart-data', ['exports'], function (exports) {\n  'use strict';\n\n  exports.getSeriesMap = getSeriesMap;\n  exports.getSeriesChanges = getSeriesChanges;\n\n  function getSeriesMap(seriesGroup) {\n    var seriesMap = seriesGroup.reduce(function (seriesMap, seriesItem) {\n      seriesMap[seriesItem.name] = seriesItem;\n      return seriesMap;\n    }, {});\n\n    return seriesMap;\n  }\n\n  function getSeriesChanges(contentSeries, series) {\n    var updatedKeys = Object.keys(contentSeries).filter(function (key) {\n      var isValidKey = key !== 'data' && key.charAt(0) !== '_';\n      var isValidType = ['object', 'function'].indexOf(typeof contentSeries[key]) === -1;\n      var isTheSame = contentSeries[key] === series[key];\n\n      return isValidKey && isValidType && !isTheSame;\n    });\n\n    // returns a list of updated keys\n    return updatedKeys;\n  }\n});","define('ember-highcharts/utils/option-loader', ['exports'], function (exports) {\n  'use strict';\n\n  exports.setDefaultHighChartOptions = setDefaultHighChartOptions;\n\n  /* global Highcharts */\n  var localConfig = null;\n\n  function setDefaultHighChartOptions(owner) {\n    if (!localConfig) {\n      // use options defined in highcharts-configs/application.js if they exist\n      var localConfigBuilder = owner._lookupFactory('highcharts-config:application');\n      if (localConfigBuilder) {\n        localConfig = localConfigBuilder(defaultOptions);\n      } else {\n        localConfig = defaultOptions;\n      }\n    }\n\n    Highcharts.setOptions(localConfig);\n  }\n\n  var defaultOptions = {\n    plotOptions: {\n      series: {\n        shadow: false\n      }\n    },\n\n    global: {\n      timezoneOffset: new Date().getTimezoneOffset()\n    },\n\n    credits: {\n      enabled: false\n    }\n  };\n});","define('ember-i18n/config/ar', ['exports', 'ember-i18n/config/constants'], function (exports, _emberI18nConfigConstants) {\n  'use strict';\n\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  'use strict';\n\n  exports['default'] = _emberI18nConfigEn['default'];\n});","define('ember-i18n/config/constants', ['exports'], function (exports) {\n  'use strict';\n\n  var ZERO = 'zero';\n  exports.ZERO = ZERO;\n\n  var ONE = 'one';\n  exports.ONE = ONE;\n\n  var TWO = 'two';\n  exports.TWO = TWO;\n\n  var FEW = 'few';\n  exports.FEW = FEW;\n\n  var MANY = 'many';\n  exports.MANY = MANY;\n\n  var OTHER = 'other';\n  exports.OTHER = OTHER;\n});","define('ember-i18n/config/de', ['exports', 'ember-i18n/config/en'], function (exports, _emberI18nConfigEn) {\n  'use strict';\n\n  exports['default'] = _emberI18nConfigEn['default'];\n});","define(\"ember-i18n/config/en\", [\"exports\", \"ember-i18n/config/constants\"], function (exports, _emberI18nConfigConstants) {\n  \"use strict\";\n\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  'use strict';\n\n  exports['default'] = _emberI18nConfigEn['default'];\n});","define('ember-i18n/config/fa', ['exports', 'ember-i18n/config/zh'], function (exports, _emberI18nConfigZh) {\n  'use strict';\n\n  exports['default'] = _emberI18nConfigZh['default'];\n});","define(\"ember-i18n/config/fr\", [\"exports\", \"ember-i18n/config/constants\"], function (exports, _emberI18nConfigConstants) {\n  \"use strict\";\n\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  'use strict';\n\n  exports['default'] = _emberI18nConfigEn['default'];\n});","define('ember-i18n/config/he', ['exports', 'ember-i18n/config/en'], function (exports, _emberI18nConfigEn) {\n  'use strict';\n\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  \"use strict\";\n\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  'use strict';\n\n  exports['default'] = _emberI18nConfigEn['default'];\n});","define(\"ember-i18n/config/iw\", [\"exports\", \"ember-i18n/config/he\"], function (exports, _emberI18nConfigHe) {\n  \"use strict\";\n\n  exports[\"default\"] = _emberI18nConfigHe[\"default\"];\n});","define('ember-i18n/config/ja', ['exports', 'ember-i18n/config/zh'], function (exports, _emberI18nConfigZh) {\n  'use strict';\n\n  exports['default'] = _emberI18nConfigZh['default'];\n});","define('ember-i18n/config/jv', ['exports', 'ember-i18n/config/zh'], function (exports, _emberI18nConfigZh) {\n  'use strict';\n\n  exports['default'] = _emberI18nConfigZh['default'];\n});","define('ember-i18n/config/ko', ['exports', 'ember-i18n/config/zh'], function (exports, _emberI18nConfigZh) {\n  'use strict';\n\n  exports['default'] = _emberI18nConfigZh['default'];\n});","define('ember-i18n/config/mr', ['exports', 'ember-i18n/config/en'], function (exports, _emberI18nConfigEn) {\n  'use strict';\n\n  exports['default'] = _emberI18nConfigEn['default'];\n});","define('ember-i18n/config/ms', ['exports', 'ember-i18n/config/zh'], function (exports, _emberI18nConfigZh) {\n  'use strict';\n\n  exports['default'] = _emberI18nConfigZh['default'];\n});","define('ember-i18n/config/nl', ['exports', 'ember-i18n/config/en'], function (exports, _emberI18nConfigEn) {\n  'use strict';\n\n  exports['default'] = _emberI18nConfigEn['default'];\n});","define('ember-i18n/config/no', ['exports', 'ember-i18n/config/en'], function (exports, _emberI18nConfigEn) {\n  'use strict';\n\n  exports['default'] = _emberI18nConfigEn['default'];\n});","define('ember-i18n/config/pa', ['exports', 'ember-i18n/config/en'], function (exports, _emberI18nConfigEn) {\n  'use strict';\n\n  exports['default'] = _emberI18nConfigEn['default'];\n});","define('ember-i18n/config/pl', ['exports', 'ember-i18n/config/constants'], function (exports, _emberI18nConfigConstants) {\n  'use strict';\n\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  'use strict';\n\n  exports['default'] = _emberI18nConfigEn['default'];\n});","define('ember-i18n/config/ru', ['exports', 'ember-i18n/config/constants'], function (exports, _emberI18nConfigConstants) {\n  'use strict';\n\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  'use strict';\n\n  exports['default'] = _emberI18nConfigEn['default'];\n});","define('ember-i18n/config/ta', ['exports', 'ember-i18n/config/en'], function (exports, _emberI18nConfigEn) {\n  'use strict';\n\n  exports['default'] = _emberI18nConfigEn['default'];\n});","define('ember-i18n/config/te', ['exports', 'ember-i18n/config/en'], function (exports, _emberI18nConfigEn) {\n  'use strict';\n\n  exports['default'] = _emberI18nConfigEn['default'];\n});","define('ember-i18n/config/tr', ['exports', 'ember-i18n/config/zh'], function (exports, _emberI18nConfigZh) {\n  'use strict';\n\n  exports['default'] = _emberI18nConfigZh['default'];\n});","define('ember-i18n/config/ur', ['exports', 'ember-i18n/config/en'], function (exports, _emberI18nConfigEn) {\n  'use strict';\n\n  exports['default'] = _emberI18nConfigEn['default'];\n});","define('ember-i18n/config/vi', ['exports', 'ember-i18n/config/zh'], function (exports, _emberI18nConfigZh) {\n  'use strict';\n\n  exports['default'] = _emberI18nConfigZh['default'];\n});","define('ember-i18n/config/zh', ['exports', 'ember-i18n/config/constants'], function (exports, _emberI18nConfigConstants) {\n  'use strict';\n\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  'use strict';\n\n  exports['default'] = _ember['default'].Helper.extend({\n    i18n: _ember['default'].inject.service(),\n\n    _locale: _ember['default'].computed.readOnly('i18n.locale'),\n\n    compute: function compute(params, interpolations) {\n      var key = params[0];\n      var i18n = this.get('i18n');\n      return i18n.t(key, interpolations);\n    },\n\n    _recomputeOnLocaleChange: _ember['default'].observer('_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  \"use strict\";\n\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  'use strict';\n\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  'use strict';\n\n  exports['default'] = {\n    name: 'ember-i18n',\n    initialize: function initialize() {\n      // No-op.\n    }\n  };\n});","define(\"ember-i18n/services/i18n\", [\"exports\", \"ember\", \"ember-getowner-polyfill\", \"ember-i18n/utils/locale\", \"ember-i18n/utils/add-translations\", \"ember-i18n/utils/get-locales\"], function (exports, _ember, _emberGetownerPolyfill, _emberI18nUtilsLocale, _emberI18nUtilsAddTranslations, _emberI18nUtilsGetLocales) {\n  \"use strict\";\n\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\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, (0, _emberGetownerPolyfill[\"default\"])(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 ENV = (0, _emberGetownerPolyfill[\"default\"])(this)._lookupFactory('config:environment');\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'), (0, _emberGetownerPolyfill[\"default\"])(this)) : null;\n    })\n  });\n});","define(\"ember-i18n/utils/add-translations\", [\"exports\", \"ember\"], function (exports, _ember) {\n  \"use strict\";\n\n  exports[\"default\"] = addTranslations;\n\n  var assign = _ember[\"default\"].assign || _ember[\"default\"].merge;\n  function addTranslations(locale, newTranslations, owner) {\n    var key = \"locale:\" + locale + \"/translations\";\n    var existingTranslations = owner._lookupFactory(key);\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  'use strict';\n\n  exports['default'] = getLocales;\n\n  var matchKey = '/locales/(.+)/translations$';\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  \"use strict\";\n\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  \"use strict\";\n\n  exports[\"default\"] = missingMessage;\n\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  'use strict';\n\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      var defaultConfig = this.owner._lookupFactory('ember-i18n@config:zh');\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 missingMessage = this.owner._lookupFactory('util:i18n/missing-message');\n      var locale = this.id;\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._lookupFactory('util:i18n/compile-template');\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 translations = owner._lookupFactory('locale:' + id + '/translations') || {};\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 appConfig = owner._lookupFactory('locale:' + id + '/config');\n    if (appConfig) {\n      fn(appConfig);\n    }\n\n    var addonConfig = owner._lookupFactory('ember-i18n@config:' + id);\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  'use strict';\n\n  exports['default'] = createTranslatedComputedProperty;\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\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-inflector/index', ['exports', 'ember-inflector/lib/system', 'ember-inflector/lib/ext/string'], function (exports, _emberInflectorLibSystem, _emberInflectorLibExtString) {\n  'use strict';\n\n  _emberInflectorLibSystem.Inflector.defaultRules = _emberInflectorLibSystem.defaultRules;\n\n  Object.defineProperty(Ember, 'Inflector', {\n    get: function get() {\n      Ember.deprecate('Ember.Inflector is deprecated. Please explicitly: import Inflector from \\'ember-inflector\\';', false, {\n        id: 'ember-inflector.globals',\n        until: '3.0.0'\n      });\n\n      return _emberInflectorLibSystem.Inflector;\n    }\n  });\n\n  Object.defineProperty(Ember.String, 'singularize', {\n    get: function get() {\n      Ember.deprecate('Ember.String.singularize() is deprecated. Please explicitly: import { singularize } from \\'ember-inflector\\';', false, {\n        id: 'ember-inflector.globals',\n        until: '3.0.0'\n      });\n\n      return _emberInflectorLibSystem.singularize;\n    }\n  });\n\n  Object.defineProperty(Ember.String, 'pluralize', {\n    get: function get() {\n      Ember.deprecate('Ember.String.pluralize() is deprecated. Please explicitly: import { pluralize } from \\'ember-inflector\\';', false, {\n        id: 'ember-inflector.globals',\n        until: '3.0.0'\n      });\n\n      return _emberInflectorLibSystem.pluralize;\n    }\n  });\n\n  exports['default'] = _emberInflectorLibSystem.Inflector;\n  exports.pluralize = _emberInflectorLibSystem.pluralize;\n  exports.singularize = _emberInflectorLibSystem.singularize;\n  exports.defaultRules = _emberInflectorLibSystem.defaultRules;\n});","define('ember-inflector/lib/ext/string', ['exports', 'ember-inflector/lib/system/string'], function (exports, _emberInflectorLibSystemString) {\n  'use strict';\n\n  if (Ember.ENV.EXTEND_PROTOTYPES === true || Ember.ENV.EXTEND_PROTOTYPES.String) {\n    /**\n      See {{#crossLink \"Ember.String/pluralize\"}}{{/crossLink}}\n       @method pluralize\n      @for String\n    */\n    Object.defineProperty(String.prototype, 'pluralize', {\n      get: function get() {\n        Ember.deprecate('String.prototype.pluralize() is deprecated. Please explicitly: import { pluralize } from \\'ember-inflector\\';', false, {\n          id: 'ember-inflector.globals',\n          until: '3.0.0'\n        });\n\n        return function () {\n          return (0, _emberInflectorLibSystemString.pluralize)(this);\n        };\n      }\n    });\n\n    /**\n      See {{#crossLink \"Ember.String/singularize\"}}{{/crossLink}}\n       @method singularize\n      @for String\n    */\n    Object.defineProperty(String.prototype, 'singularize', {\n      get: function get() {\n        Ember.deprecate('String.prototype.singularize() is deprecated. Please explicitly: import { singularize } from \\'ember-inflector\\';', false, {\n          id: 'ember-inflector.globals',\n          until: '3.0.0'\n        });\n\n        return function () {\n          return (0, _emberInflectorLibSystemString.singularize)(this);\n        };\n      }\n    });\n  }\n});","define('ember-inflector/lib/helpers/pluralize', ['exports', 'ember-inflector', 'ember-inflector/lib/utils/make-helper'], function (exports, _emberInflector, _emberInflectorLibUtilsMakeHelper) {\n  'use strict';\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      }return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  /**\n   *\n   * If you have Ember Inflector (such as if Ember Data is present),\n   * pluralize a word. For example, turn \"ox\" into \"oxen\".\n   *\n   * Example:\n   *\n   * {{pluralize count myProperty}}\n   * {{pluralize 1 \"oxen\"}}\n   * {{pluralize myProperty}}\n   * {{pluralize \"ox\"}}\n   *\n   * @for Ember.HTMLBars.helpers\n   * @method pluralize\n   * @param {Number|Property} [count] count of objects\n   * @param {String|Property} word word to pluralize\n   */\n  exports['default'] = (0, _emberInflectorLibUtilsMakeHelper['default'])(function (params, hash) {\n    var fullParams = new (Function.prototype.bind.apply(Array, [null].concat(_toConsumableArray(params))))();\n\n    if (fullParams.length === 2) {\n      fullParams.push({ withoutCount: hash[\"without-count\"] });\n    }\n\n    return _emberInflector.pluralize.apply(undefined, _toConsumableArray(fullParams));\n  });\n});","define('ember-inflector/lib/helpers/singularize', ['exports', 'ember-inflector', 'ember-inflector/lib/utils/make-helper'], function (exports, _emberInflector, _emberInflectorLibUtilsMakeHelper) {\n  'use strict';\n\n  /**\n   *\n   * If you have Ember Inflector (such as if Ember Data is present),\n   * singularize a word. For example, turn \"oxen\" into \"ox\".\n   *\n   * Example:\n   *\n   * {{singularize myProperty}}\n   * {{singularize \"oxen\"}}\n   *\n   * @for Ember.HTMLBars.helpers\n   * @method singularize\n   * @param {String|Property} word word to singularize\n  */\n  exports['default'] = (0, _emberInflectorLibUtilsMakeHelper['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, _emberInflectorLibSystemInflector, _emberInflectorLibSystemString, _emberInflectorLibSystemInflections) {\n  \"use strict\";\n\n  _emberInflectorLibSystemInflector[\"default\"].inflector = new _emberInflectorLibSystemInflector[\"default\"](_emberInflectorLibSystemInflections[\"default\"]);\n\n  exports.Inflector = _emberInflectorLibSystemInflector[\"default\"];\n  exports.singularize = _emberInflectorLibSystemString.singularize;\n  exports.pluralize = _emberInflectorLibSystemString.pluralize;\n  exports.defaultRules = _emberInflectorLibSystemInflections[\"default\"];\n});","define('ember-inflector/lib/system/inflections', ['exports'], function (exports) {\n  'use strict';\n\n  exports['default'] = {\n    plurals: [[/$/, 's'], [/s$/i, 's'], [/^(ax|test)is$/i, '$1es'], [/(octop|vir)us$/i, '$1i'], [/(octop|vir)i$/i, '$1i'], [/(alias|status|bonus)$/i, '$1es'], [/(bu)s$/i, '$1ses'], [/(buffal|tomat)o$/i, '$1oes'], [/([ti])um$/i, '$1a'], [/([ti])a$/i, '$1a'], [/sis$/i, 'ses'], [/(?:([^f])fe|([lr])f)$/i, '$1$2ves'], [/(hive)$/i, '$1s'], [/([^aeiouy]|qu)y$/i, '$1ies'], [/(x|ch|ss|sh)$/i, '$1es'], [/(matr|vert|ind)(?:ix|ex)$/i, '$1ices'], [/^(m|l)ouse$/i, '$1ice'], [/^(m|l)ice$/i, '$1ice'], [/^(ox)$/i, '$1en'], [/^(oxen)$/i, '$1'], [/(quiz)$/i, '$1zes']],\n\n    singular: [[/s$/i, ''], [/(ss)$/i, '$1'], [/(n)ews$/i, '$1ews'], [/([ti])a$/i, '$1um'], [/((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)(sis|ses)$/i, '$1sis'], [/(^analy)(sis|ses)$/i, '$1sis'], [/([^f])ves$/i, '$1fe'], [/(hive)s$/i, '$1'], [/(tive)s$/i, '$1'], [/([lr])ves$/i, '$1f'], [/([^aeiouy]|qu)ies$/i, '$1y'], [/(s)eries$/i, '$1eries'], [/(m)ovies$/i, '$1ovie'], [/(x|ch|ss|sh)es$/i, '$1'], [/^(m|l)ice$/i, '$1ouse'], [/(bus)(es)?$/i, '$1'], [/(o)es$/i, '$1'], [/(shoe)s$/i, '$1'], [/(cris|test)(is|es)$/i, '$1is'], [/^(a)x[ie]s$/i, '$1xis'], [/(octop|vir)(us|i)$/i, '$1us'], [/(alias|status|bonus)(es)?$/i, '$1'], [/^(ox)en/i, '$1'], [/(vert|ind)ices$/i, '$1ex'], [/(matr)ices$/i, '$1ix'], [/(quiz)zes$/i, '$1'], [/(database)s$/i, '$1']],\n\n    irregularPairs: [['person', 'people'], ['man', 'men'], ['child', 'children'], ['sex', 'sexes'], ['move', 'moves'], ['cow', 'kine'], ['zombie', 'zombies']],\n\n    uncountable: ['equipment', 'information', 'rice', 'money', 'species', 'series', 'fish', 'sheep', 'jeans', 'police']\n  };\n});","define('ember-inflector/lib/system/inflector', ['exports'], function (exports) {\n  'use strict';\n\n  var capitalize = Ember.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 (numberOrWord, word) {\n        var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n        this._cacheUsed = true;\n        var cacheKey = [numberOrWord, word, options.withoutCount];\n        return this._pCache[cacheKey] || (this._pCache[cacheKey] = this._pluralize(numberOrWord, word, options));\n      };\n    },\n\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 () {\n        return this._pluralize.apply(this, arguments);\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() {\n      return this._pluralize.apply(this, arguments);\n    },\n\n    _pluralize: function _pluralize(wordOrCount, word) {\n      var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n      if (word === undefined) {\n        return this.inflect(wordOrCount, this.rules.plurals, this.rules.irregular);\n      }\n\n      if (parseFloat(wordOrCount) !== 1) {\n        word = this.inflect(word, this.rules.plurals, this.rules.irregular);\n      }\n\n      return options.withoutCount ? word : wordOrCount + ' ' + word;\n    },\n    /**\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, _emberInflectorLibSystemInflector) {\n  'use strict';\n\n  function pluralize() {\n    var _Inflector$inflector;\n\n    return (_Inflector$inflector = _emberInflectorLibSystemInflector['default'].inflector).pluralize.apply(_Inflector$inflector, arguments);\n  }\n\n  function singularize(word) {\n    return _emberInflectorLibSystemInflector['default'].inflector.singularize(word);\n  }\n\n  exports.pluralize = pluralize;\n  exports.singularize = singularize;\n});","define(\"ember-inflector/lib/utils/make-helper\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  exports[\"default\"] = makeHelper;\n\n  function makeHelper(helperFunction) {\n    if (Ember.Helper) {\n      return Ember.Helper.helper(helperFunction);\n    }\n    if (Ember.HTMLBars) {\n      return Ember.HTMLBars.makeBoundHelper(helperFunction);\n    }\n    return Ember.Handlebars.makeBoundHelper(helperFunction);\n  }\n});","define('ember-load-initializers/index', ['exports'], function (exports) {\n  'use strict';\n\n  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-macro-helpers/-build-computed', ['exports', 'ember-computed'], function (exports, _emberComputed) {\n  'use strict';\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];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 mapKeysToValues(keys, getValue, context) {\n    return keys.map(function (key) {\n      return getValue(context, key);\n    });\n  }\n\n  function buildCallback(collapsedKeys, incomingCallback, getValue) {\n    var newCallback = undefined;\n    if (typeof incomingCallback === 'function') {\n      newCallback = function () {\n        var values = mapKeysToValues(collapsedKeys, getValue, this);\n        return incomingCallback.apply(this, values);\n      };\n    } else {\n      newCallback = {};\n      if (incomingCallback.get) {\n        newCallback.get = function () {\n          var values = mapKeysToValues(collapsedKeys, getValue, this);\n          return incomingCallback.get.apply(this, values);\n        };\n      }\n      if (incomingCallback.set) {\n        newCallback.set = incomingCallback.set;\n      }\n    }\n\n    return newCallback;\n  }\n\n  exports['default'] = function (args, collapseKeys, getValue, flattenKeys) {\n    var _parseComputedArgs = parseComputedArgs(args);\n\n    var keys = _parseComputedArgs.keys;\n    var incomingCallback = _parseComputedArgs.callback;\n\n    var collapsedKeys = collapseKeys(keys);\n\n    var newCallback = buildCallback(collapsedKeys, incomingCallback, getValue);\n\n    return _emberComputed['default'].apply(undefined, _toConsumableArray(flattenKeys(keys)).concat([newCallback]));\n  };\n});","define('ember-macro-helpers/collapse-keys', ['exports', 'ember-macro-helpers/expand-property'], function (exports, _emberMacroHelpersExpandProperty) {\n  'use strict';\n\n  exports['default'] = function (keys) {\n    return keys.reduce(function (newKeys, key) {\n      if (typeof key === 'string') {\n        newKeys = newKeys.concat((0, _emberMacroHelpersExpandProperty['default'])(key));\n      } else {\n        newKeys.push(key);\n      }\n      return newKeys;\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, _emberMacroHelpersBuildComputed, _emberMacroHelpersGetValueUnsafe, _emberMacroHelpersFlattenKeysUnsafe) {\n  'use strict';\n\n  var collapseKeys = function collapseKeys(keys) {\n    return keys;\n  };\n\n  exports['default'] = function () {\n    for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\n    }\n\n    return (0, _emberMacroHelpersBuildComputed['default'])(args, collapseKeys, _emberMacroHelpersGetValueUnsafe['default'], _emberMacroHelpersFlattenKeysUnsafe['default']);\n  };\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, _emberMacroHelpersBuildComputed, _emberMacroHelpersCollapseKeys, _emberMacroHelpersGetValue, _emberMacroHelpersFlattenKeys) {\n  'use strict';\n\n  exports['default'] = function () {\n    for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\n    }\n\n    return (0, _emberMacroHelpersBuildComputed['default'])(args, _emberMacroHelpersCollapseKeys['default'], _emberMacroHelpersGetValue['default'], _emberMacroHelpersFlattenKeys['default']);\n  };\n});","define('ember-macro-helpers/expand-property-list', ['exports', 'ember-macro-helpers/expand-property'], function (exports, _emberMacroHelpersExpandProperty) {\n  'use strict';\n\n  exports['default'] = function (propertyList) {\n    return propertyList.reduce(function (newPropertyList, property) {\n      return newPropertyList.concat((0, _emberMacroHelpersExpandProperty['default'])(property));\n    }, []);\n  };\n});","define('ember-macro-helpers/expand-property', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  var expandProperties = _ember['default'].expandProperties;\n\n  exports['default'] = function (property) {\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    var newPropertyList = [];\n    expandProperties(property, function (expandedProperties) {\n      newPropertyList = newPropertyList.concat(expandedProperties);\n    });\n    return newPropertyList;\n  };\n});","define('ember-macro-helpers/flatten-keys-unsafe', ['exports', 'ember-macro-helpers/flatten-keys'], function (exports, _emberMacroHelpersFlattenKeys) {\n  'use strict';\n\n  exports['default'] = function (keys) {\n    var flattenedKeys = (0, _emberMacroHelpersFlattenKeys['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, _emberMacroHelpersIsComputed) {\n  'use strict';\n\n  function flattenKey(key, flattenedKeys) {\n    if ((0, _emberMacroHelpersIsComputed['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\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});","define('ember-macro-helpers/get-value-unsafe', ['exports', 'ember-macro-helpers/get-value'], function (exports, _emberMacroHelpersGetValue) {\n  'use strict';\n\n  exports['default'] = function (context, key) {\n    var value = (0, _emberMacroHelpersGetValue['default'])(context, key);\n    if (value) {\n      return value;\n    }\n\n    return key;\n  };\n});","define('ember-macro-helpers/get-value', ['exports', 'ember-metal/get', 'ember-macro-helpers/is-computed'], function (exports, _emberMetalGet, _emberMacroHelpersIsComputed) {\n  'use strict';\n\n  exports['default'] = function (context, key) {\n    if ((0, _emberMacroHelpersIsComputed['default'])(key)) {\n      return key._getter.call(context);\n    }\n\n    if (typeof key !== 'string') {\n      return key;\n    }\n\n    return (0, _emberMetalGet['default'])(context, key);\n  };\n});","define('ember-macro-helpers/is-computed', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  var ComputedProperty = _ember['default'].ComputedProperty;\n\n  exports['default'] = function (key) {\n    return key instanceof ComputedProperty;\n  };\n});","define('ember-moment/computeds/-base', ['exports', 'ember-macro-helpers/computed-unsafe'], function (exports, _emberMacroHelpersComputedUnsafe) {\n  'use strict';\n\n  exports['default'] = computedFactory;\n\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      args.push(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      return _emberMacroHelpersComputedUnsafe['default'].apply(undefined, args);\n    };\n  }\n});","define('ember-moment/computeds/calendar', ['exports', 'ember', 'moment', 'ember-moment/computeds/-base'], function (exports, _ember, _moment, _emberMomentComputedsBase) {\n  'use strict';\n\n  var _slicedToArray = (function () {\n    function sliceIterator(arr, i) {\n      var _arr = [];var _n = true;var _d = false;var _e = undefined;try {\n        for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n          _arr.push(_s.value);if (i && _arr.length === i) break;\n        }\n      } catch (err) {\n        _d = true;_e = err;\n      } finally {\n        try {\n          if (!_n && _i['return']) _i['return']();\n        } finally {\n          if (_d) throw _e;\n        }\n      }return _arr;\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, _emberMomentComputedsBase['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\n    var date = _params[0];\n    var referenceTime = _params[1];\n    var 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, _emberMomentComputedsBase) {\n  'use strict';\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  exports['default'] = (0, _emberMomentComputedsBase['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/utils/get-owner', 'ember-moment/computeds/-base'], function (exports, _ember, _moment, _emberMomentUtilsGetOwner, _emberMomentComputedsBase) {\n  'use strict';\n\n  var _slicedToArray = (function () {\n    function sliceIterator(arr, i) {\n      var _arr = [];var _n = true;var _d = false;var _e = undefined;try {\n        for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n          _arr.push(_s.value);if (i && _arr.length === i) break;\n        }\n      } catch (err) {\n        _d = true;_e = err;\n      } finally {\n        try {\n          if (!_n && _i['return']) _i['return']();\n        } finally {\n          if (_d) throw _e;\n        }\n      }return _arr;\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\n  exports['default'] = (0, _emberMomentComputedsBase['default'])(function formatComputed(_ref) {\n    var _ref2 = _slicedToArray(_ref, 2);\n\n    var value = _ref2[0];\n    var optionalFormat = _ref2[1];\n\n    if (!optionalFormat) {\n      var owner = (0, _emberMomentUtilsGetOwner['default'])(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, _emberMomentComputedsBase) {\n  'use strict';\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  exports['default'] = (0, _emberMomentComputedsBase['default'])(function fromNowComputed(params) {\n    var maybeHideSuffix = undefined;\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, _emberMomentComputedsBase) {\n  'use strict';\n\n  var _slicedToArray = (function () {\n    function sliceIterator(arr, i) {\n      var _arr = [];var _n = true;var _d = false;var _e = undefined;try {\n        for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n          _arr.push(_s.value);if (i && _arr.length === i) break;\n        }\n      } catch (err) {\n        _d = true;_e = err;\n      } finally {\n        try {\n          if (!_n && _i['return']) _i['return']();\n        } finally {\n          if (_d) throw _e;\n        }\n      }return _arr;\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, _emberMomentComputedsBase['default'])(function humanizeComputed(_ref) {\n    var _ref2 = _slicedToArray(_ref, 2);\n\n    var duration = _ref2[0];\n    var 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, _emberMomentComputedsBase) {\n  'use strict';\n\n  var _slicedToArray = (function () {\n    function sliceIterator(arr, i) {\n      var _arr = [];var _n = true;var _d = false;var _e = undefined;try {\n        for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n          _arr.push(_s.value);if (i && _arr.length === i) break;\n        }\n      } catch (err) {\n        _d = true;_e = err;\n      } finally {\n        try {\n          if (!_n && _i['return']) _i['return']();\n        } finally {\n          if (_d) throw _e;\n        }\n      }return _arr;\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, _emberMomentComputedsBase['default'])(function localeComputed(_ref) {\n    var _ref2 = _slicedToArray(_ref, 2);\n\n    var date = _ref2[0];\n    var 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, _emberMomentComputedsBase) {\n  'use strict';\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  exports['default'] = (0, _emberMomentComputedsBase['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, _emberMomentComputedsBase) {\n  'use strict';\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  exports['default'] = (0, _emberMomentComputedsBase['default'])(function toNowComputed(params) {\n    var maybeHidePrefix = undefined;\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, _emberMomentComputedsBase) {\n  'use strict';\n\n  var _slicedToArray = (function () {\n    function sliceIterator(arr, i) {\n      var _arr = [];var _n = true;var _d = false;var _e = undefined;try {\n        for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n          _arr.push(_s.value);if (i && _arr.length === i) break;\n        }\n      } catch (err) {\n        _d = true;_e = err;\n      } finally {\n        try {\n          if (!_n && _i['return']) _i['return']();\n        } finally {\n          if (_d) throw _e;\n        }\n      }return _arr;\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, _emberMomentComputedsBase['default'])(function tzComputed(_ref) {\n    var _ref2 = _slicedToArray(_ref, 2);\n\n    var date = _ref2[0];\n    var tz = _ref2[1];\n\n    return (0, _moment['default'])(date).tz(tz);\n  });\n});","define('ember-moment/helpers/-base', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  var observer = _ember['default'].observer;\n  var inject = _ember['default'].inject;\n  var get = _ember['default'].get;\n  var Helper = _ember['default'].Helper;\n  var run = _ember['default'].run;\n\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\n    morphMoment: function morphMoment(time, _ref2) {\n      var locale = _ref2.locale;\n      var 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\n    clearTimer: function clearTimer() {\n      clearTimeout(this.intervalTimer);\n    },\n\n    destroy: function destroy() {\n      this.clearTimer();\n      this._super.apply(this, arguments);\n    }\n  });\n});","define('ember-moment/helpers/is-after', ['exports', 'moment', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _moment, _emberMomentUtilsHelperCompute, _emberMomentHelpersBase) {\n  'use strict';\n\n  exports['default'] = _emberMomentHelpersBase['default'].extend({\n    globalAllowEmpty: false,\n\n    compute: (0, _emberMomentUtilsHelperCompute['default'])(function (params, _ref) {\n      var _morphMoment;\n\n      var precision = _ref.precision;\n      var locale = _ref.locale;\n      var timeZone = _ref.timeZone;\n\n      this._super.apply(this, arguments);\n\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['default'].apply(undefined, args), { locale: locale, timeZone: timeZone })).isAfter.apply(_morphMoment, comparisonArgs.concat([precision]));\n    })\n  });\n});","define('ember-moment/helpers/is-before', ['exports', 'moment', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _moment, _emberMomentUtilsHelperCompute, _emberMomentHelpersBase) {\n  'use strict';\n\n  exports['default'] = _emberMomentHelpersBase['default'].extend({\n    globalAllowEmpty: false,\n\n    compute: (0, _emberMomentUtilsHelperCompute['default'])(function (params, _ref) {\n      var _morphMoment;\n\n      var precision = _ref.precision;\n      var locale = _ref.locale;\n      var timeZone = _ref.timeZone;\n\n      this._super.apply(this, arguments);\n\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['default'].apply(undefined, args), { locale: locale, timeZone: timeZone })).isBefore.apply(_morphMoment, comparisonArgs.concat([precision]));\n    })\n  });\n});","define('ember-moment/helpers/is-between', ['exports', 'moment', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _moment, _emberMomentUtilsHelperCompute, _emberMomentHelpersBase) {\n  'use strict';\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  exports['default'] = _emberMomentHelpersBase['default'].extend({\n    globalAllowEmpty: false,\n\n    compute: (0, _emberMomentUtilsHelperCompute['default'])(function (params, _ref) {\n      var _morphMoment;\n\n      var precision = _ref.precision;\n      var inclusivity = _ref.inclusivity;\n      var locale = _ref.locale;\n      var timeZone = _ref.timeZone;\n\n      this._super.apply(this, arguments);\n\n      var _params = [].concat(params);\n      var length = params.length;\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['default'].apply(undefined, 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', 'moment', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _moment, _emberMomentUtilsHelperCompute, _emberMomentHelpersBase) {\n  'use strict';\n\n  exports['default'] = _emberMomentHelpersBase['default'].extend({\n    globalAllowEmpty: false,\n\n    compute: (0, _emberMomentUtilsHelperCompute['default'])(function (params, _ref) {\n      var _morphMoment;\n\n      var precision = _ref.precision;\n      var locale = _ref.locale;\n      var timeZone = _ref.timeZone;\n\n      this._super.apply(this, arguments);\n\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['default'].apply(undefined, args), { locale: locale, timeZone: timeZone })).isSameOrAfter.apply(_morphMoment, comparisonArgs.concat([precision]));\n    })\n  });\n});","define('ember-moment/helpers/is-same-or-before', ['exports', 'moment', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _moment, _emberMomentUtilsHelperCompute, _emberMomentHelpersBase) {\n  'use strict';\n\n  exports['default'] = _emberMomentHelpersBase['default'].extend({\n    globalAllowEmpty: false,\n\n    compute: (0, _emberMomentUtilsHelperCompute['default'])(function (params, _ref) {\n      var _morphMoment;\n\n      var precision = _ref.precision;\n      var locale = _ref.locale;\n      var timeZone = _ref.timeZone;\n\n      this._super.apply(this, arguments);\n\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['default'].apply(undefined, args), { locale: locale, timeZone: timeZone })).isSameOrBefore.apply(_morphMoment, comparisonArgs.concat([precision]));\n    })\n  });\n});","define('ember-moment/helpers/is-same', ['exports', 'moment', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _moment, _emberMomentUtilsHelperCompute, _emberMomentHelpersBase) {\n  'use strict';\n\n  exports['default'] = _emberMomentHelpersBase['default'].extend({\n    globalAllowEmpty: false,\n\n    compute: (0, _emberMomentUtilsHelperCompute['default'])(function (params, _ref) {\n      var _morphMoment;\n\n      var precision = _ref.precision;\n      var locale = _ref.locale;\n      var timeZone = _ref.timeZone;\n\n      this._super.apply(this, arguments);\n\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['default'].apply(undefined, 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, _emberMomentUtilsHelperCompute, _emberMomentHelpersBase) {\n  'use strict';\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  exports['default'] = _emberMomentHelpersBase['default'].extend({\n    moment: _ember['default'].inject.service(),\n\n    globalAllowEmpty: false,\n\n    compute: (0, _emberMomentUtilsHelperCompute['default'])(function (params, _ref) {\n      var _morphMoment;\n\n      var precision = _ref.precision;\n      var locale = _ref.locale;\n      var 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', 'moment', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _ember, _moment, _emberMomentUtilsHelperCompute, _emberMomentHelpersBase) {\n  'use strict';\n\n  var _slicedToArray = (function () {\n    function sliceIterator(arr, i) {\n      var _arr = [];var _n = true;var _d = false;var _e = undefined;try {\n        for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n          _arr.push(_s.value);if (i && _arr.length === i) break;\n        }\n      } catch (err) {\n        _d = true;_e = err;\n      } finally {\n        try {\n          if (!_n && _i['return']) _i['return']();\n        } finally {\n          if (_d) throw _e;\n        }\n      }return _arr;\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'] = _emberMomentHelpersBase['default'].extend({\n    globalAllowEmpty: false,\n\n    compute: (0, _emberMomentUtilsHelperCompute['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 locale = formatHash.locale;\n      var timeZone = formatHash.timeZone;\n\n      var _params = _slicedToArray(params, 3);\n\n      var date = _params[0];\n      var referenceTime = _params[1];\n      var 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((0, _moment['default'])(date), { locale: locale, timeZone: timeZone }).calendar(referenceTime, mergedFormats);\n    })\n  });\n});","define('ember-moment/helpers/moment-duration', ['exports', 'moment', 'ember-moment/helpers/-base'], function (exports, _moment, _emberMomentHelpersBase) {\n  'use strict';\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  exports['default'] = _emberMomentHelpersBase['default'].extend({\n    disableInterval: true,\n\n    compute: function compute(params, _ref) {\n      var locale = _ref.locale;\n      var 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, at most 2');\n      }\n\n      return this.morphMoment(_moment['default'].duration.apply(_moment['default'], _toConsumableArray(params)), { locale: locale, timeZone: timeZone }).humanize();\n    }\n  });\n});","define('ember-moment/helpers/moment-format', ['exports', 'ember', 'moment', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _ember, _moment, _emberMomentUtilsHelperCompute, _emberMomentHelpersBase) {\n  'use strict';\n\n  var observer = _ember['default'].observer;\n  var isEmpty = _ember['default'].isEmpty;\n  var get = _ember['default'].get;\n\n  exports['default'] = _emberMomentHelpersBase['default'].extend({\n    globalAllowEmpty: false,\n\n    defaultFormatDidChange: observer('moment.defaultFormat', function () {\n      this.recompute();\n    }),\n\n    compute: (0, _emberMomentUtilsHelperCompute['default'])(function (params, _ref) {\n      var _morphMoment;\n\n      var locale = _ref.locale;\n      var timeZone = _ref.timeZone;\n\n      this._super.apply(this, arguments);\n\n      var length = params.length;\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['default'].apply(undefined, args), { locale: locale, timeZone: timeZone })).format.apply(_morphMoment, formatArgs);\n    })\n  });\n});","define('ember-moment/helpers/moment-from-now', ['exports', 'moment', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _moment, _emberMomentUtilsHelperCompute, _emberMomentHelpersBase) {\n  'use strict';\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  exports['default'] = _emberMomentHelpersBase['default'].extend({\n    globalAllowEmpty: false,\n\n    compute: (0, _emberMomentUtilsHelperCompute['default'])(function (params, _ref) {\n      var hideSuffix = _ref.hideSuffix;\n      var locale = _ref.locale;\n      var timeZone = _ref.timeZone;\n\n      this._super.apply(this, arguments);\n\n      return this.morphMoment(_moment['default'].apply(undefined, _toConsumableArray(params)), { locale: locale, timeZone: timeZone }).fromNow(hideSuffix);\n    })\n  });\n});","define('ember-moment/helpers/moment-from', ['exports', 'moment', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _moment, _emberMomentUtilsHelperCompute, _emberMomentHelpersBase) {\n  'use strict';\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];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'] = _emberMomentHelpersBase['default'].extend({\n    globalAllowEmpty: false,\n\n    compute: (0, _emberMomentUtilsHelperCompute['default'])(function (_ref, _ref3) {\n      var _morphMoment;\n\n      var _ref2 = _toArray(_ref);\n\n      var datetime = _ref2[0];\n\n      var params = _ref2.slice(1);\n\n      var locale = _ref3.locale;\n      var timeZone = _ref3.timeZone;\n\n      this._super.apply(this, arguments);\n\n      return (_morphMoment = this.morphMoment((0, _moment['default'])(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, _emberMomentUtilsHelperCompute, _emberMomentHelpersBase) {\n  'use strict';\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  exports['default'] = _emberMomentHelpersBase['default'].extend({\n    moment: _ember['default'].inject.service(),\n    globalAllowEmpty: false,\n\n    compute: (0, _emberMomentUtilsHelperCompute['default'])(function (params, _ref) {\n      var _morphMoment;\n\n      var precision = _ref.precision;\n      var locale = _ref.locale;\n      var 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', 'moment', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _moment, _emberMomentUtilsHelperCompute, _emberMomentHelpersBase) {\n  'use strict';\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  exports['default'] = _emberMomentHelpersBase['default'].extend({\n    globalAllowEmpty: false,\n\n    compute: (0, _emberMomentUtilsHelperCompute['default'])(function (params, _ref) {\n      var _morphMoment;\n\n      var hidePrefix = _ref.hidePrefix;\n      var locale = _ref.locale;\n      var timeZone = _ref.timeZone;\n\n      this._super.apply(this, arguments);\n\n      return (_morphMoment = this.morphMoment((0, _moment['default'])(), { locale: locale, timeZone: timeZone })).to.apply(_morphMoment, _toConsumableArray(params).concat([hidePrefix]));\n    })\n  });\n});","define('ember-moment/helpers/moment-to-now', ['exports', 'moment', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _moment, _emberMomentUtilsHelperCompute, _emberMomentHelpersBase) {\n  'use strict';\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  exports['default'] = _emberMomentHelpersBase['default'].extend({\n    globalAllowEmpty: false,\n\n    compute: (0, _emberMomentUtilsHelperCompute['default'])(function (params, _ref) {\n      var hidePrefix = _ref.hidePrefix;\n      var locale = _ref.locale;\n      var timeZone = _ref.timeZone;\n\n      this._super.apply(this, arguments);\n\n      return this.morphMoment(_moment['default'].apply(undefined, _toConsumableArray(params)), { locale: locale, timeZone: timeZone }).toNow(hidePrefix);\n    })\n  });\n});","define('ember-moment/helpers/moment-to', ['exports', 'moment', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _moment, _emberMomentUtilsHelperCompute, _emberMomentHelpersBase) {\n  'use strict';\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];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'] = _emberMomentHelpersBase['default'].extend({\n    globalAllowEmpty: false,\n\n    compute: (0, _emberMomentUtilsHelperCompute['default'])(function (_ref, _ref3) {\n      var _morphMoment;\n\n      var _ref2 = _toArray(_ref);\n\n      var datetime = _ref2[0];\n\n      var params = _ref2.slice(1);\n\n      var locale = _ref3.locale;\n      var timeZone = _ref3.timeZone;\n\n      this._super.apply(this, arguments);\n\n      return (_morphMoment = this.morphMoment((0, _moment['default'])(datetime), { locale: locale, timeZone: timeZone })).to.apply(_morphMoment, _toConsumableArray(params));\n    })\n  });\n});","define('ember-moment/helpers/moment', ['exports', 'moment', 'ember-moment/helpers/-base'], function (exports, _moment, _emberMomentHelpersBase) {\n  'use strict';\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  exports['default'] = _emberMomentHelpersBase['default'].extend({\n    compute: function compute(params, _ref) {\n      var locale = _ref.locale;\n      var timeZone = _ref.timeZone;\n\n      this._super.apply(this, arguments);\n\n      return this.morphMoment(_moment['default'].apply(undefined, _toConsumableArray(params)), { locale: locale, timeZone: timeZone });\n    }\n  });\n});","define('ember-moment/helpers/now', ['exports', 'moment', 'ember-moment/helpers/-base'], function (exports, _moment, _emberMomentHelpersBase) {\n  'use strict';\n\n  exports['default'] = _emberMomentHelpersBase['default'].extend({\n    compute: function compute() {\n      this._super.apply(this, arguments);\n\n      return _moment['default'].now();\n    }\n  });\n});","define('ember-moment/helpers/unix', ['exports', 'moment', 'ember-moment/helpers/-base'], function (exports, _moment, _emberMomentHelpersBase) {\n  'use strict';\n\n  var _slicedToArray = (function () {\n    function sliceIterator(arr, i) {\n      var _arr = [];var _n = true;var _d = false;var _e = undefined;try {\n        for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n          _arr.push(_s.value);if (i && _arr.length === i) break;\n        }\n      } catch (err) {\n        _d = true;_e = err;\n      } finally {\n        try {\n          if (!_n && _i['return']) _i['return']();\n        } finally {\n          if (_d) throw _e;\n        }\n      }return _arr;\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'] = _emberMomentHelpersBase['default'].extend({\n    compute: function compute(_ref) {\n      var _ref2 = _slicedToArray(_ref, 1);\n\n      var unixTimeStamp = _ref2[0];\n\n      this._super.apply(this, arguments);\n\n      return _moment['default'].unix(unixTimeStamp);\n    }\n  });\n});","define('ember-moment/services/moment', ['exports', 'ember', 'moment'], function (exports, _ember, _moment2) {\n  'use strict';\n\n  var computed = _ember['default'].computed;\n  var _get = _ember['default'].get;\n  var getProperties = _ember['default'].getProperties;\n  var _set = _ember['default'].set;\n  var logger = _ember['default'].Logger;\n\n  exports['default'] = _ember['default'].Service.extend(_ember['default'].Evented, {\n    _timeZone: null,\n\n    locale: null,\n    defaultFormat: null,\n\n    timeZone: computed('_timeZone', {\n      get: function get() {\n        return _get(this, '_timeZone');\n      },\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\n    changeLocale: function changeLocale(locale) {\n      _set(this, 'locale', locale);\n      _moment2['default'].locale(locale);\n      this.trigger('localeChanged', locale);\n    },\n\n    setTimeZone: function setTimeZone(timeZone) {\n      this.changeTimeZone(timeZone);\n    },\n\n    changeTimeZone: function changeTimeZone(timeZone) {\n      _set(this, 'timeZone', timeZone);\n      this.trigger('timeZoneChanged', timeZone);\n    },\n\n    isMoment: function isMoment(obj) {\n      return _moment2['default'].isMoment(obj);\n    },\n\n    moment: function moment() {\n      var momentObj = _moment2['default'].apply(undefined, arguments);\n\n      var _getProperties = getProperties(this, 'locale', 'timeZone');\n\n      var locale = _getProperties.locale;\n      var 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/get-owner', ['exports', 'ember'], function (exports, _ember) {\n  /* globals require */\n\n  'use strict';\n\n  var getOwner = _ember['default'].getOwner;\n\n  if (!getOwner) {\n    try {\n      getOwner = require('ember-getowner-polyfill')['default'];\n    } catch (e) {\n      _ember['default'].Logger.warn('Ember.getOwner API unsupported.  To resolve this: `ember install ember-getowner-polyfill`');\n    }\n  }\n\n  exports['default'] = getOwner;\n});","define('ember-moment/utils/helper-compute', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  var isBlank = _ember['default'].isBlank;\n  var get = _ember['default'].get;\n  var warn = _ember['default'].Logger.warn;\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});","define('ember-pollboy/classes/poller', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  var run = _ember['default'].run;\n\n  exports['default'] = _ember['default'].Object.extend({\n    /**\n     * Used to determine if poller is currently paused (i.e. when tab is not visible)\n     * @type {Boolean}\n     */\n    isPaused: false,\n    /**\n     * Used to determine if poller is currently stopped\n     * @type {Boolean}\n     */\n    isStopped: false,\n    /**\n     * Schedule next poll interval\n     * @returns {*} Timer information for use in cancelling, see `Ember.run.cancel`.\n     */\n    schedule: function schedule() {\n      // Don't schedule another poll if we're not polling\n      if (!this.get('isPaused') && !this.get('isStopped')) {\n        var interval = this.get('interval');\n\n        return run.later(this, this.poll, interval);\n      }\n    },\n\n    /**\n     * Cancel current polling interval\n     */\n    cancel: function cancel() {\n      var timer = this.get('timer');\n      run.cancel(timer);\n    },\n\n    /**\n     * Pause polling\n     */\n    pause: function pause() {\n      this.set('isPaused', true);\n      this.cancel();\n    },\n\n    /**\n     * Poll immediately\n     */\n    poll: function poll() {\n      var _this = this;\n\n      var callback = this.get('callback');\n      var context = this.get('context');\n\n      this.cancel();\n\n      callback.apply(context).then(function () {\n        _this.set('timer', _this.schedule());\n      });\n    },\n\n    /**\n     * Resume polling if paused\n     */\n    resume: function resume() {\n      var isPaused = this.get('isPaused');\n\n      if (isPaused) {\n        this.poll();\n        this.set('isPaused', false);\n      }\n    },\n\n    /**\n     * Begin polling\n     */\n    start: function start() {\n      this.cancel(); // Make sure no previous polling interval\n      this.set('isStopped', false);\n      var timer = this.schedule();\n      this.set('timer', timer);\n    },\n\n    /**\n     * Stop polling\n     */\n    stop: function stop() {\n      this.set('isStopped', true);\n      this.cancel();\n    }\n  });\n});","define('ember-pollboy/services/pollboy', ['exports', 'ember', 'ember-pollboy/classes/poller'], function (exports, _ember, _emberPollboyClassesPoller) {\n  'use strict';\n\n  /**\n   * @callback {Function} PollboyCallback\n   * @returns {Ember.RSVP.Promise} Resolved when next polling interval should begin\n   */\n\n  var Service = _ember['default'].Service;\n  exports['default'] = Service.extend({\n    pollers: [],\n\n    init: function init() {\n      this._super();\n      this._onVisibilityChangeHandler = this.onVisibilityChange.bind(this);\n      document.addEventListener('visibilitychange', this._onVisibilityChangeHandler, false);\n    },\n\n    willDestroy: function willDestroy() {\n      document.removeEventListener('visibilitychange', this._onVisibilityChangeHandler);\n    },\n\n    /**\n     * Pause/resume polling based on whether or not page is currently visible to user.\n     * When user switches browser tabs polling will stop.\n     * When user switches applications polling will stop.\n     * When page comes back into focus any pollers that were stopped due to loss of page focus will resume.\n     * @param {Event} event - visibilitychange event data\n     */\n    onVisibilityChange: function onVisibilityChange(event) {\n      var pollers = this.get('pollers');\n\n      // If page is no longer visible pause pollers\n      if (event.target.hidden) {\n        pollers.forEach(function (poller) {\n          poller.pause();\n        });\n\n        return;\n      }\n\n      // If page has become visible make sure to resume pollers that were previously paused\n      pollers.forEach(function (poller) {\n        poller.resume();\n      });\n    },\n\n    /**\n     * Add new polling item\n     * @param {Object} context - context to be provided to callback\n     * @param {PollboyCallback} callback - callback function for each poll interval\n     * @param {Number} interval - number of milliseconds between polls\n     * @returns {Poller} poller instance\n     */\n    add: function add(context, callback, interval) {\n      var poller = _emberPollboyClassesPoller['default'].create({\n        callback: callback,\n        context: context,\n        interval: interval\n      });\n\n      poller.start();\n\n      this.get('pollers').push(poller);\n\n      return poller;\n    },\n\n    /**\n     * Remove poller\n     * @param {Poller} poller - Poller to remove\n     */\n    remove: function remove(poller) {\n      poller.stop(); // Make sure poller is no longer polling\n\n      var pollers = this.get('pollers');\n      var index = pollers.indexOf(poller);\n\n      if (index !== -1) {\n        pollers.splice(index, 1);\n      }\n    }\n  });\n});","define('ember-promise-helpers/helpers/await', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  var _slicedToArray = (function () {\n    function sliceIterator(arr, i) {\n      var _arr = [];var _n = true;var _d = false;var _e = undefined;try {\n        for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n          _arr.push(_s.value);if (i && _arr.length === i) break;\n        }\n      } catch (err) {\n        _d = true;_e = err;\n      } finally {\n        try {\n          if (!_n && _i['return']) _i['return']();\n        } finally {\n          if (_d) throw _e;\n        }\n      }return _arr;\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 RSVP = _ember['default'].RSVP;\n  var Promise = RSVP.Promise;\n\n  exports['default'] = _ember['default'].Helper.extend({\n    /**\n     * @property valueBeforeSettled\n     * @default null\n     *\n     * This is the value that gets returned synchronously as the helper's return\n     * value before the promise is settled. For example `{{async promise}}` will return\n     * null, before the promise is resolved or rejected.\n    */\n    valueBeforeSettled: null,\n\n    /**\n     * @method compute\n     * @public\n     * @param params Array a list of arguments passed to the Helper.\n     * @param hash Object a list of configuration options passed to the helper.\n     * This parameter is currently unused by Await.\n    */\n    compute: function compute(_ref, hash) {\n      var _this = this;\n\n      var _ref2 = _slicedToArray(_ref, 1);\n\n      var maybePromise = _ref2[0];\n\n      if (!maybePromise || typeof maybePromise.then !== 'function') {\n        return maybePromise;\n      }\n\n      return this.ensureLatestPromise(maybePromise, function (promise) {\n        promise.then(function (value) {\n          _this.setValue(value, maybePromise);\n        })['catch'](function () {\n          _this.setValue(null, maybePromise);\n        });\n      });\n    },\n\n    /**\n     * @method ensureLatestPromise\n     * @public\n     * @param promise Promise the new promise coming\n     * @param callback Function function to be called with a wrapped promise\n     *\n     * Method to set the latest promise. This gets called by `compute` (which in\n     * turn gets called by `recompute`). If the promise being passed in is the\n     * same as before, then just return the value to `compute`. Otherwise, call\n     * the callback so the user can call `then`, `catch`, or `finally` on the\n     * promise to update the value using `setValue` later.\n    */\n    ensureLatestPromise: function ensureLatestPromise(promise, callback) {\n      if (this._wasSettled && promise === this._promise) {\n        return this._value;\n      } else {\n        this._unsettle();\n      }\n\n      this._promise = promise;\n\n      callback.call(this, Promise.resolve(promise));\n      return this.get('valueBeforeSettled');\n    },\n\n    /**\n     * @method _settle\n     * @private\n    */\n    _settle: function _settle(promise) {\n      if (this.allowUpdates(promise)) {\n        this._wasSettled = true;\n        this.recompute();\n      }\n    },\n\n    /**\n     * @private\n     * @method _unsettle\n     *\n     * Resets the promise to null and calls recompute. Designed to be used\n     * when a new promise is passed to the `compute` method. This would happen\n     * when the value changes in Handlebars.\n    */\n    _unsettle: function _unsettle() {\n      this._wasSettled = false;\n      this._promise = null;\n    },\n\n    /**\n     * @method setValue\n     * @public\n     * @param value Any the value to return to the helper\n     * @param promise Promise the promise the `setValue` call is coming from.\n     *\n     * `setValue` is how you should set the value to be returned to the helper\n     * in the app. It exists to prevent race conditions between promises.\n     * For example, you may have two promises:\n     *\n     * ```javascript\n     * let promise1 = new Ember.RSVP.Promise((resolve, reject) => {resolve(\"hello\");});\n     * let promise2 = new Ember.RSVP.Promise((resolve, reject) => {(resolve(\"goodbye\")});\n     * ```\n     *\n     * And a template:\n     *\n     * ```handlebars\n     * {{await promise}}\n     * ```\n     *\n     * If you set the value of `promise` to be `promise1` via your component,\n     * controller, or route, when the promise resolves, it will render the value\n     * of `promise1`, which is \"hello\".\n     *\n     * If you set the avlue of `promise` to `promise2`, you would see \"goodbye\".\n     *\n     * But what happens if `promise1` resolves asynchronously, e.g., using `Ember.run.later`?\n     *\n     * ```javascript\n     * Ember.run.later(function() {\n     *  resolve(\"hello\");\n     * }, 200);\n     * ```\n     *\n     * Even though `promise2` already resolved with \"goodbye\", the template would\n     * render \"hello\", which is not the intended behavior. So, `setValue` makes you pass\n     * the promise so the internal book-keeping can ensure the last-set promise always wins.\n    */\n    setValue: function setValue(value, promise) {\n      if (this.allowUpdates(promise)) {\n        this._value = value;\n        this._settle(promise);\n      }\n    },\n\n    allowUpdates: function allowUpdates(promise) {\n      return this._promise === promise;\n    }\n  });\n});","define('ember-promise-helpers/helpers/is-fulfilled', ['exports', 'ember-promise-helpers/helpers/await'], function (exports, _emberPromiseHelpersHelpersAwait) {\n  'use strict';\n\n  exports['default'] = _emberPromiseHelpersHelpersAwait['default'].extend({\n    compute: function compute(params, hash) {\n      var _this = this;\n\n      var maybePromise = params[0];\n\n      return this.ensureLatestPromise(maybePromise, function (promise) {\n        promise.then(function () {\n          _this.setValue(true, maybePromise);\n        })['catch'](function () {\n          _this.setValue(false, maybePromise);\n        });\n      });\n    }\n  });\n});","define('ember-promise-helpers/helpers/is-pending', ['exports', 'ember-promise-helpers/helpers/await'], function (exports, _emberPromiseHelpersHelpersAwait) {\n  'use strict';\n\n  exports['default'] = _emberPromiseHelpersHelpersAwait['default'].extend({\n    valueBeforeSettled: true,\n\n    compute: function compute(params, hash) {\n      var _this = this;\n\n      var maybePromise = params[0];\n\n      return this.ensureLatestPromise(maybePromise, function (promise) {\n        promise['catch'](function () {})['finally'](function () {\n          _this.setValue(false, maybePromise);\n        });\n      });\n    }\n  });\n});","define('ember-promise-helpers/helpers/is-rejected', ['exports', 'ember-promise-helpers/helpers/await'], function (exports, _emberPromiseHelpersHelpersAwait) {\n  'use strict';\n\n  exports['default'] = _emberPromiseHelpersHelpersAwait['default'].extend({\n    compute: function compute(params, hash) {\n      var _this = this;\n\n      var maybePromise = params[0];\n\n      return this.ensureLatestPromise(maybePromise, function (promise) {\n        promise.then(function () {\n          _this.setValue(false, maybePromise);\n        })['catch'](function () {\n          _this.setValue(true, maybePromise);\n        });\n      });\n    }\n  });\n});","define('ember-promise-helpers/helpers/promise-rejected-reason', ['exports', 'ember-promise-helpers/helpers/await'], function (exports, _emberPromiseHelpersHelpersAwait) {\n  'use strict';\n\n  exports['default'] = _emberPromiseHelpersHelpersAwait['default'].extend({\n    compute: function compute(params, hash) {\n      var _this = this;\n\n      var maybePromise = params[0];\n      return this.ensureLatestPromise(maybePromise, function (promise) {\n        promise.then(function () {\n          _this.setValue(null, maybePromise);\n        })['catch'](function (reason) {\n          _this.setValue(reason, maybePromise);\n        });\n      });\n    }\n  });\n});","define('ember-promise-helpers/promise-state', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  var _createClass = (function () {\n    function defineProperties(target, props) {\n      for (var i = 0; i < props.length; i++) {\n        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    }return function (Constructor, protoProps, staticProps) {\n      if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n    };\n  })();\n\n  function _classCallCheck(instance, Constructor) {\n    if (!(instance instanceof Constructor)) {\n      throw new TypeError('Cannot call a class as a function');\n    }\n  }\n\n  var RSVP = _ember['default'].RSVP;\n  var Promise = RSVP.Promise;\n\n  var DEFAULT_STATE = {\n    isPending: true,\n    isFulfilled: false,\n    isRejected: false,\n    error: null,\n    value: null\n  };\n\n  var PromiseState = (function () {\n    function PromiseState(watchedPromise) {\n      _classCallCheck(this, PromiseState);\n\n      this._watchedPromise = Promise.resolve(watchedPromise);\n      this._deferred = RSVP.defer();\n      this._promise = this.deferred.promise;\n      this._setWatchers();\n      this.setState(DEFAULT_STATE);\n    }\n\n    _createClass(PromiseState, [{\n      key: '_setWatchers',\n      value: function _setWatchers() {\n        var _this = this;\n\n        this._watchedPromise.then(function (value) {\n          _this._resolve(value);\n        })['catch'](function (error) {\n          _this._reject(error);\n          return Promise.reject(error);\n        })['finally'](function () {\n          _this._settle();\n        });\n      }\n    }, {\n      key: '_resolve',\n      value: function _resolve(value) {\n        var newState = {\n          isFulfilled: true,\n          isRejected: false,\n          value: value\n        };\n        return this._deferred.resolve(value);\n      }\n    }, {\n      key: '_reject',\n      value: function _reject(value) {\n        return this._deferred.reject(value);\n      }\n    }, {\n      key: '_settle',\n      value: function _settle() {\n        this.setState({\n          isPending: false\n        });\n\n        this._resolve;\n      }\n    }]);\n\n    return PromiseState;\n  })();\n\n  function merge() {\n    var mergedHash = {};\n\n    for (var _len = arguments.length, objects = Array(_len), _key = 0; _key < _len; _key++) {\n      objects[_key] = arguments[_key];\n    }\n\n    for (var i = 0; i < objects.length; i++) {\n      var object = objects[i];\n      var keys = Object.keys(object);\n\n      for (var _i = 0; _i < keys.length; _i++) {\n        var key = keys[_i];\n        mergedHash[key] = object[key];\n      }\n    }\n\n    return mergedHash;\n  }\n});","define('ember-require-module/index', ['exports'], function (exports) {\n  /* globals requirejs, require */\n\n  'use strict';\n\n  exports['default'] = requireModule;\n\n  function requireModule(module) {\n    var exportName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'default';\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/container-debug-adapter', ['exports', 'ember', 'ember-resolver/utils/module-registry'], function (exports, _ember, _emberResolverUtilsModuleRegistry) {\n  'use strict';\n\n  var ContainerDebugAdapter = _ember['default'].ContainerDebugAdapter;\n\n  var ModulesContainerDebugAdapter = null;\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  // Support Ember < 1.5-beta.4\n  // TODO: Remove this after 1.5.0 is released\n  if (typeof ContainerDebugAdapter !== 'undefined') {\n\n    /*\n     * This module defines a subclass of Ember.ContainerDebugAdapter that adds two\n     * important features:\n     *\n     *  1) is able provide injections to classes that implement `extend`\n     *     (as is typical with Ember).\n     */\n\n    ModulesContainerDebugAdapter = 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 _emberResolverUtilsModuleRegistry['default']();\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        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 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              //var match = key.match('^/?(.+)/' + type);\n              //if (match && match[1] !== prefix) {\n              // Different prefix such as an addon\n              //name = match[1] + '@' + name;\n              //}\n            }\n            types.addObject(name);\n          }\n        }\n        return types;\n      }\n    });\n  }\n\n  exports['default'] = ModulesContainerDebugAdapter;\n});","define('ember-resolver/index', ['exports', 'ember-resolver/resolver'], function (exports, _emberResolverResolver) {\n  'use strict';\n\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberResolverResolver['default'];\n    }\n  });\n});","define('ember-resolver/resolver', ['exports', 'ember', 'ember-resolver/utils/module-registry', 'ember-resolver/utils/class-factory', 'ember-resolver/utils/make-dictionary'], function (exports, _ember, _emberResolverUtilsModuleRegistry, _emberResolverUtilsClassFactory, _emberResolverUtilsMakeDictionary) {\n  /*globals require */\n\n  'use strict';\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  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, type, name;\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 _emberResolverUtilsModuleRegistry['default']();\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    }),\n\n    findModuleName: function findModuleName(parsedName, loggingDisabled) {\n      var moduleNameLookupPatterns = this.get('moduleNameLookupPatterns');\n      var moduleName;\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, padding;\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, length = moduleKeys.length; index < length; index++) {\n        var moduleName = moduleKeys[index];\n        var fullname = this.translateToContainerFullname(type, moduleName);\n\n        if (fullname) {\n          items[fullname] = true;\n        }\n      }\n\n      return items;\n    },\n\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});","define('ember-resolver/utils/class-factory', ['exports'], function (exports) {\n  'use strict';\n\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/create\", [\"exports\", \"ember\"], function (exports, _ember) {\n  \"use strict\";\n\n  var create = Object.create || _ember[\"default\"].create;\n  if (!(create && !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  exports[\"default\"] = create;\n});","define('ember-resolver/utils/make-dictionary', ['exports', 'ember-resolver/utils/create'], function (exports, _emberResolverUtilsCreate) {\n  'use strict';\n\n  exports['default'] = makeDictionary;\n\n  function makeDictionary() {\n    var cache = (0, _emberResolverUtilsCreate['default'])(null);\n    cache['_dict'] = null;\n    delete cache['_dict'];\n    return cache;\n  }\n});","define('ember-resolver/utils/module-registry', ['exports', 'ember'], function (exports, _ember) {\n  /*globals requirejs, require */\n\n  'use strict';\n\n  if (typeof requirejs.entries === 'undefined') {\n    requirejs.entries = requirejs._eak_seen;\n  }\n\n  function ModuleRegistry(entries) {\n    this._entries = entries || requirejs.entries;\n  }\n\n  ModuleRegistry.prototype.moduleNames = function ModuleRegistry_moduleNames() {\n    return (Object.keys || _ember['default'].keys)(this._entries);\n  };\n\n  ModuleRegistry.prototype.has = function ModuleRegistry_has(moduleName) {\n    return moduleName in this._entries;\n  };\n\n  ModuleRegistry.prototype.get = function ModuleRegistry_get(moduleName) {\n    var exportName = arguments.length <= 1 || arguments[1] === undefined ? 'default' : arguments[1];\n\n    var module = require(moduleName);\n    return module && module[exportName];\n  };\n\n  exports['default'] = ModuleRegistry;\n});","define('ember-route-action-helper/-private/internals', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  var ClosureActionModule = undefined;\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 = ClosureActionModule.ACTION;\n  exports.ACTION = ACTION;\n});","define('ember-route-action-helper/helpers/route-action', ['exports', 'ember', 'ember-getowner-polyfill', 'ember-route-action-helper/-private/internals'], function (exports, _ember, _emberGetownerPolyfill, _emberRouteActionHelperPrivateInternals) {\n  'use strict';\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];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  var Helper = _ember['default'].Helper;\n  var assert = _ember['default'].assert;\n  var computed = _ember['default'].computed;\n  var typeOf = _ember['default'].typeOf;\n  var get = _ember['default'].get;\n  var run = _ember['default'].run;\n\n  function getRoutes(router) {\n    return emberArray(router.router.currentHandlerInfos).mapBy('handler').reverse();\n  }\n\n  function getRouteWithAction(router, actionName) {\n    var action = undefined;\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 (0, _emberGetownerPolyfill['default'])(this).lookup('router:main');\n    }).readOnly(),\n\n    compute: function compute(_ref) {\n      var _ref2 = _toArray(_ref);\n\n      var actionName = _ref2[0];\n\n      var params = _ref2.slice(1);\n\n      var router = get(this, 'router');\n      assert('[ember-route-action-helper] Unable to lookup router', router);\n\n      var _getRouteWithAction = getRouteWithAction(router, actionName);\n\n      var action = _getRouteWithAction.action;\n      var handler = _getRouteWithAction.handler;\n\n      assert('[ember-route-action-helper] Unable to find action ' + actionName, handler);\n\n      var routeAction = function routeAction() {\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[_emberRouteActionHelperPrivateInternals.ACTION] = true;\n\n      return routeAction;\n    }\n  });\n});","define('ember-scroll-to-top/components/scroll-top', ['exports', 'ember-component', 'jquery', 'ember-evented/on'], function (exports, _emberComponent, _jquery, _emberEventedOn) {\n  'use strict';\n\n  exports['default'] = _emberComponent['default'].extend({\n    classNames: 'ember-scroll-to-top',\n    animate: false,\n    toggleWhenScroll: null,\n    toggleStartOffset: 100,\n    effectToToggle: 'default',\n    shouldShowElement: true,\n\n    _effectToToggleFuncs: {\n      'default': {\n        show: 'show',\n        hide: 'hide'\n      },\n      'fade': {\n        show: 'fadeIn',\n        hide: 'fadeOut'\n      }\n    },\n\n    setup: (0, _emberEventedOn['default'])('didInsertElement', function () {\n      var _this = this;\n\n      (0, _jquery['default'])(document).on('scroll', function (e) {\n        if (_this.get('onScroll')) {\n          _this.get('onScroll')(e);\n        }\n        _this._onWindowScroll.call(_this);\n      });\n\n      this._onWindowScroll({ initial: true });\n    }),\n\n    _onWindowScroll: function _onWindowScroll() {\n      var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n\n      if (this.get('toggleWhenScroll')) {\n        var _getProperties = this.getProperties('element', '_effectToToggleFuncs', 'effectToToggle');\n\n        var element = _getProperties.element;\n        var _effectToToggleFuncs = _getProperties._effectToToggleFuncs;\n        var effectToToggle = _getProperties.effectToToggle;\n        var initial = options.initial;\n\n        var effectFuncs = initial ? _effectToToggleFuncs['default'] : _effectToToggleFuncs[effectToToggle] || _effectToToggleFuncs['default'];\n\n        if ((0, _jquery['default'])(window).scrollTop() > this.get('toggleStartOffset')) {\n          (0, _jquery['default'])(element)[effectFuncs['show']]();\n        } else {\n          (0, _jquery['default'])(element)[effectFuncs['hide']]();\n        }\n      }\n    },\n\n    actions: {\n      scrollToTop: function scrollToTop() {\n        var _this2 = this;\n\n        var target = (0, _jquery['default'])('html, body');\n        var animate = this.get('animate');\n        if (animate) {\n          target.animate({ scrollTop: 0 }, parseFloat(animate), function () {\n            if (_this2.get('onScrollToTop')) {\n              _this2.get('onScrollToTop')();\n            }\n          });\n        } else {\n          target.scrollTop(0);\n          if (this.get('onScrollToTop')) {\n            this.get('onScrollToTop')();\n          }\n        }\n      }\n    }\n  });\n});","define('ember-simple-auth-token/authenticators/jwt', ['exports', 'ember', 'ember-simple-auth-token/configuration', 'ember-simple-auth-token/authenticators/token'], function (exports, _ember, _emberSimpleAuthTokenConfiguration, _emberSimpleAuthTokenAuthenticatorsToken) {\n  'use strict';\n\n  var assign = _ember['default'].assign || _ember['default'].merge;\n\n  /**\n    JWT (JSON Web Token) Authenticator that supports automatic token refresh.\n  \n    Inspired by [ember-simple-auth-oauth2](https://github.com/simplabs/ember-simple-auth/tree/master/packages/ember-simple-auth-oauth2)\n  \n    The factory for this authenticator is registered as\n    'authenticator:jwt` in Ember's container.\n  \n    @class JWT\n    @namespace SimpleAuth.Authenticators\n    @module ember-simple-auth-token/authenticators/jwt\n    @extends TokenAuthenticator\n  */\n  exports['default'] = _emberSimpleAuthTokenAuthenticatorsToken['default'].extend({\n    /**\n      The endpoint on the server for refreshing a token.\n      @property serverTokenRefreshEndpoint\n      @type String\n      @default '/api/token-refresh/'\n    */\n    serverTokenRefreshEndpoint: '/api/token-refresh/',\n\n    /**\n      Sets whether the authenticator automatically refreshes access tokens.\n      @property refreshAccessTokens\n      @type Boolean\n      @default true\n    */\n    refreshAccessTokens: true,\n\n    /**\n      The number of seconds to subtract from the token's time of expiration when\n      scheduling the automatic token refresh call.\n      @property refreshLeeway\n      @type Integer\n      @default 0 (seconds)\n    */\n    refreshLeeway: 0,\n\n    /**\n      The amount of time to wait before refreshing the token - set automatically.\n      @property refreshTokenTimeout\n      @private\n    */\n    refreshTokenTimeout: null,\n\n    /**\n      The name for which decoded token field represents the token expire time.\n      @property tokenExpireName\n      @type String\n      @default 'exp'\n    */\n    tokenExpireName: 'exp',\n\n    /**\n      Default time unit.\n      @property timeFactor\n      @type Integer\n      @default 1 (seconds)\n    */\n    timeFactor: 1,\n\n    /**\n      @method init\n      @private\n    */\n    init: function init() {\n      this.serverTokenEndpoint = _emberSimpleAuthTokenConfiguration['default'].serverTokenEndpoint;\n      this.serverTokenRefreshEndpoint = _emberSimpleAuthTokenConfiguration['default'].serverTokenRefreshEndpoint;\n      this.identificationField = _emberSimpleAuthTokenConfiguration['default'].identificationField;\n      this.passwordField = _emberSimpleAuthTokenConfiguration['default'].passwordField;\n      this.tokenPropertyName = _emberSimpleAuthTokenConfiguration['default'].tokenPropertyName;\n      this.refreshAccessTokens = _emberSimpleAuthTokenConfiguration['default'].refreshAccessTokens;\n      this.refreshLeeway = _emberSimpleAuthTokenConfiguration['default'].refreshLeeway;\n      this.tokenExpireName = _emberSimpleAuthTokenConfiguration['default'].tokenExpireName;\n      this.timeFactor = _emberSimpleAuthTokenConfiguration['default'].timeFactor;\n      this.headers = _emberSimpleAuthTokenConfiguration['default'].headers;\n    },\n\n    /**\n      Restores the session from a set of session properties.\n       It will return a resolving promise if one of two conditions is met:\n       1) Both `data.token` and `data.expiresAt` are non-empty and `expiresAt`\n         is greater than the calculated `now`.\n      2) If `data.token` is non-empty and the decoded token has a key for\n         `tokenExpireName`.\n       If `refreshAccessTokens` is true, `scheduleAccessTokenRefresh` will\n      be called and an automatic token refresh will be initiated.\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\n                                   in the session being authenticated\n    */\n    restore: function restore(data) {\n      var _this = this;\n\n      var dataObject = _ember['default'].Object.create(data);\n\n      return new _ember['default'].RSVP.Promise(function (resolve, reject) {\n        var now = _this.getCurrentTime();\n        var token = dataObject.get(_this.tokenPropertyName);\n        var expiresAt = _this.resolveTime(dataObject.get(_this.tokenExpireName));\n\n        if (_ember['default'].isEmpty(token)) {\n          return reject(new Error('empty token'));\n        }\n\n        if (_ember['default'].isEmpty(expiresAt)) {\n          // Fetch the expire time from the token data since `expiresAt`\n          // wasn't included in the data object that was passed in.\n          var tokenData = _this.getTokenData(token);\n\n          expiresAt = _this.resolveTime(tokenData[_this.tokenExpireName]);\n          if (_ember['default'].isEmpty(expiresAt)) {\n            return resolve(data);\n          }\n        }\n\n        if (expiresAt > now) {\n          var wait = expiresAt - now - _this.refreshLeeway * 1000;\n\n          if (wait > 0) {\n            if (_this.refreshAccessTokens) {\n              _this.scheduleAccessTokenRefresh(dataObject.get(_this.tokenExpireName), token);\n            }\n            resolve(data);\n          } else if (_this.refreshAccessTokens) {\n            resolve(_this.refreshAccessToken(token));\n          } else {\n            reject(new Error('unable to refresh token'));\n          }\n        } else {\n          reject(new Error('token is expired'));\n        }\n      });\n    },\n\n    /**\n      Authenticates the session with the specified `credentials`.\n       It will return a resolving promise if it successfully posts a request\n      to the `JWT.serverTokenEndpoint` with the valid credentials.\n       An automatic token refresh will be scheduled with the new expiration date\n      from the returned refresh token. That expiration will be merged with the\n      response and the promise resolved.\n       @method authenticate\n      @param {Object} credentials The credentials to authenticate the session with\n      @param {Object} headers Additional headers to be sent to server\n      @return {Ember.RSVP.Promise} A promise that resolves when an auth token is\n                                   successfully acquired from the server and rejects\n                                   otherwise\n    */\n    authenticate: function authenticate(credentials, headers) {\n      var _this2 = this;\n\n      return new _ember['default'].RSVP.Promise(function (resolve, reject) {\n        var data = _this2.getAuthenticateData(credentials);\n\n        _this2.makeRequest(_this2.serverTokenEndpoint, data, headers).then(function (response) {\n          _ember['default'].run(function () {\n            try {\n              var sessionData = _this2.handleAuthResponse(response);\n\n              resolve(sessionData);\n            } catch (error) {\n              reject(error);\n            }\n          });\n        }, function (xhr) {\n          _ember['default'].run(function () {\n            reject(xhr.responseJSON || xhr.responseText);\n          });\n        });\n      });\n    },\n\n    /**\n      Schedules a token refresh request to be sent to the backend after a calculated\n      `wait` time has passed.\n       If both `token` and `expiresAt` are non-empty, and `expiresAt` minus the optional\n      refres leeway is greater than the calculated `now`, the token refresh will be scheduled\n      through Ember.run.later.\n       @method scheduleAccessTokenRefresh\n      @private\n    */\n    scheduleAccessTokenRefresh: function scheduleAccessTokenRefresh(expiresAt, token) {\n      if (this.refreshAccessTokens) {\n        expiresAt = this.resolveTime(expiresAt);\n\n        var now = this.getCurrentTime();\n        var wait = expiresAt - now - this.refreshLeeway * 1000;\n\n        if (!_ember['default'].isEmpty(token) && !_ember['default'].isEmpty(expiresAt) && wait > 0) {\n          _ember['default'].run.cancel(this._refreshTokenTimeout);\n          delete this._refreshTokenTimeout;\n          this._refreshTokenTimeout = _ember['default'].run.later(this, this.refreshAccessToken, token, wait);\n        }\n      }\n    },\n\n    /**\n      Makes a refresh token request to grab a new authenticated JWT token from the server.\n       It will return a resolving promise if a successful POST is made to the\n      `JWT.serverTokenRefreshEndpoint`.\n       After the new token is obtained it will schedule the next automatic token refresh\n      based on the new `expiresAt` time.\n       The session will be updated via the trigger `sessionDataUpdated`.\n       @method refreshAccessToken\n      @private\n    */\n    refreshAccessToken: function refreshAccessToken(token, headers) {\n      var _this3 = this;\n\n      var data = this.makeRefreshData(token);\n\n      return new _ember['default'].RSVP.Promise(function (resolve, reject) {\n        _this3.makeRequest(_this3.serverTokenRefreshEndpoint, data, headers).then(function (response) {\n          _ember['default'].run(function () {\n            try {\n              var sessionData = _this3.handleAuthResponse(response);\n\n              _this3.trigger('sessionDataUpdated', sessionData);\n              resolve(sessionData);\n            } catch (error) {\n              reject(error);\n            }\n          });\n        }, function (xhr, status, error) {\n          _ember['default'].Logger.warn('Access token could not be refreshed - ' + ('server responded with ' + error + '.'));\n\n          _this3.handleTokenRefreshFail(xhr.status);\n\n          reject();\n        });\n      });\n    },\n\n    /**\n      Returns a nested object with the token property name.\n      Example:  If `tokenPropertyName` is \"data.user.token\", `makeRefreshData` will return {data: {user: {token: \"token goes here\"}}}\n       @method makeRefreshData\n      @return {object} An object with the nested property name.\n    */\n    makeRefreshData: function makeRefreshData(token) {\n      var data = {};\n      var lastObject = data;\n      var nestings = this.tokenPropertyName.split('.');\n      var tokenPropertyName = nestings.pop();\n\n      nestings.forEach(function (nesting) {\n        lastObject[nesting] = {};\n        lastObject = lastObject[nesting];\n      });\n\n      lastObject[tokenPropertyName] = token;\n\n      return data;\n    },\n\n    /**\n      Returns the decoded token with accessible returned values.\n       @method getTokenData\n      @return {object} An object with properties for the session.\n    */\n    getTokenData: function getTokenData(token) {\n      var payload = token.split('.')[1];\n      var tokenData = decodeURIComponent(window.escape(atob(payload)));\n\n      try {\n        return JSON.parse(tokenData);\n      } catch (e) {\n        return tokenData;\n      }\n    },\n\n    /**\n      Accepts a `url` and `data` to be used in an ajax server request.\n       @method makeRequest\n      @private\n    */\n    makeRequest: function makeRequest(url, data, headers) {\n      var _this4 = this;\n\n      return _ember['default'].$.ajax({\n        url: url,\n        method: 'POST',\n        data: JSON.stringify(data),\n        dataType: 'json',\n        contentType: 'application/json',\n        headers: this.headers,\n        beforeSend: function beforeSend(xhr, settings) {\n          if (_this4.headers['Accept'] === null || _this4.headers['Accept'] === undefined) {\n            xhr.setRequestHeader('Accept', settings.accepts.json);\n          }\n\n          if (headers) {\n            Object.keys(headers).forEach(function (key) {\n              xhr.setRequestHeader(key, headers[key]);\n            });\n          }\n        }\n      });\n    },\n\n    /**\n      Cancels any outstanding automatic token refreshes and returns a resolving\n      promise.\n      @method invalidate\n      @param {Object} data The data of the session to be invalidated\n      @return {Ember.RSVP.Promise} A resolving promise\n    */\n    invalidate: function invalidate() {\n      _ember['default'].run.cancel(this._refreshTokenTimeout);\n      delete this._refreshTokenTimeout;\n      return new _ember['default'].RSVP.resolve();\n    },\n\n    getCurrentTime: function getCurrentTime() {\n      return new Date().getTime();\n    },\n\n    /**\n      Handles converting between time units for data between different systems.\n      Default: seconds(1)\n      @method resolveTime\n      @private\n    */\n    resolveTime: function resolveTime(time) {\n      if (_ember['default'].isEmpty(time)) {\n        return time;\n      }\n      return new Date(time * this.timeFactor).getTime();\n    },\n\n    /**\n      Handles authentication response from server, and returns session data\n       @method handleAuthResponse\n      @private\n     */\n    handleAuthResponse: function handleAuthResponse(response) {\n      var token = _ember['default'].get(response, this.tokenPropertyName);\n\n      if (_ember['default'].isEmpty(token)) {\n        throw new Error('Token is empty. Please check your backend response.');\n      }\n\n      var tokenData = this.getTokenData(token);\n      var expiresAt = _ember['default'].get(tokenData, this.tokenExpireName);\n      var tokenExpireData = {};\n\n      tokenExpireData[this.tokenExpireName] = expiresAt;\n\n      this.scheduleAccessTokenRefresh(expiresAt, token);\n\n      return assign(this.getResponseData(response), tokenExpireData);\n    },\n\n    /**\n      Handles token refresh fail status. If the server response to a token refresh has a\n      status of 401 or 403 then the token in the session will be invalidated and\n      the sessionInvalidated provided by ember-simple-auth will be triggered.\n       @method handleTokenRefreshFail\n    */\n\n    handleTokenRefreshFail: function handleTokenRefreshFail(refreshStatus) {\n      var _this5 = this;\n\n      if (refreshStatus === 401 || refreshStatus === 403) {\n        return this.invalidate().then(function () {\n          _this5.trigger('sessionDataInvalidated');\n        });\n      }\n    }\n  });\n});","define('ember-simple-auth-token/authenticators/token', ['exports', 'ember', 'ember-simple-auth/authenticators/base', 'ember-simple-auth-token/configuration'], function (exports, _ember, _emberSimpleAuthAuthenticatorsBase, _emberSimpleAuthTokenConfiguration) {\n  'use strict';\n\n  function _defineProperty(obj, key, value) {\n    if (key in obj) {\n      Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });\n    } else {\n      obj[key] = value;\n    }return obj;\n  }\n\n  /**\n    Authenticator that works with token-based authentication like JWT.\n  \n    _The factory for this authenticator is registered as\n    `'authenticator:token'` in Ember's container._\n  \n    @class Token\n    @namespace SimpleAuth.Authenticators\n    @module ember-simple-auth-token/authenticators/token\n    @extends Base\n  */\n  exports['default'] = _emberSimpleAuthAuthenticatorsBase['default'].extend({\n    /**\n      The endpoint on the server the authenticator acquires the auth token from.\n       This value can be configured via\n      [`SimpleAuth.Configuration.Token#serverTokenEndpoint`](#SimpleAuth-Configuration-Token-serverTokenEndpoint).\n       @property serverTokenEndpoint\n      @type String\n      @default '/api/token-auth/'\n    */\n    serverTokenEndpoint: '/api/token-auth/',\n\n    /**\n      The attribute-name that is used for the identification field when sending the\n      authentication data to the server.\n       This value can be configured via\n      [`SimpleAuth.Configuration.Token#identificationField`](#SimpleAuth-Configuration-Token-identificationField).\n       @property identificationField\n      @type String\n      @default 'username'\n    */\n    identificationField: 'username',\n\n    /**\n      The attribute-name that is used for the password field when sending the\n      authentication data to the server.\n       This value can be configured via\n      [`SimpleAuth.Configuration.Token#passwordfield`](#SimpleAuth-Configuration-Token-passwordfield).\n       @property passwordField\n      @type String\n      @default 'password'\n    */\n    passwordField: 'password',\n\n    /**\n      The name of the property in session that contains token used for authorization.\n       This value can be configured via\n      [`SimpleAuth.Configuration.Token#tokenPropertyName`](#SimpleAuth-Configuration-Token-tokenPropertyName).\n       @property tokenPropertyName\n      @type String\n      @default 'token'\n    */\n    tokenPropertyName: 'token',\n\n    /**\n      The property that stores custom headers that will be sent on every request.\n       This value can be configured via\n      [`SimpleAuth.Configuration.Token#headers`](#SimpleAuth-Configuration-Token-headers).\n       @property headers\n      @type Object\n      @default {}\n    */\n    headers: {},\n\n    /**\n      @method init\n      @private\n    */\n    init: function init() {\n      this.serverTokenEndpoint = _emberSimpleAuthTokenConfiguration['default'].serverTokenEndpoint;\n      this.identificationField = _emberSimpleAuthTokenConfiguration['default'].identificationField;\n      this.passwordField = _emberSimpleAuthTokenConfiguration['default'].passwordField;\n      this.tokenPropertyName = _emberSimpleAuthTokenConfiguration['default'].tokenPropertyName;\n      this.headers = _emberSimpleAuthTokenConfiguration['default'].headers;\n    },\n\n    /**\n      Restores the session from a set of session properties; __will return a\n      resolving promise when there's a non-empty `token` in the\n      `properties`__ and a rejecting promise otherwise.\n       @method restore\n      @param {Object} properties The properties to restore the session from\n      @return {Ember.RSVP.Promise} A promise that when it resolves results in the session being authenticated\n    */\n    restore: function restore(properties) {\n      var _this = this;\n\n      var propertiesObject = _ember['default'].Object.create(properties);\n\n      return new _ember['default'].RSVP.Promise(function (resolve, reject) {\n        if (!_ember['default'].isEmpty(propertiesObject.get(_this.tokenPropertyName))) {\n          resolve(properties);\n        } else {\n          reject();\n        }\n      });\n    },\n\n    /**\n      Authenticates the session with the specified `credentials`; the credentials\n      are `POST`ed to the\n      [`Authenticators.Token#serverTokenEndpoint`](#SimpleAuth-Authenticators-Token-serverTokenEndpoint)\n      and if they are valid the server returns an auth token in\n      response. __If the credentials are valid and authentication succeeds, a\n      promise that resolves with the server's response is returned__, otherwise a\n      promise that rejects with the server error is returned.\n       @method authenticate\n      @param {Object} credentials The credentials to authenticate the session with\n      @param {Object} headers Additional headers to pass with request\n      @return {Ember.RSVP.Promise} A promise that resolves when an auth token is successfully acquired from the server and rejects otherwise\n    */\n    authenticate: function authenticate(credentials, headers) {\n      var _this2 = this;\n\n      return new _ember['default'].RSVP.Promise(function (resolve, reject) {\n        var data = _this2.getAuthenticateData(credentials);\n\n        _this2.makeRequest(data, headers).then(function (response) {\n          _ember['default'].run(function () {\n            resolve(_this2.getResponseData(response));\n          });\n        }, function (xhr) {\n          _ember['default'].run(function () {\n            reject(xhr.responseJSON || xhr.responseText);\n          });\n        });\n      });\n    },\n\n    /**\n      Returns an object used to be sent for authentication.\n       @method getAuthenticateData\n      @return {object} An object with properties for authentication.\n    */\n    getAuthenticateData: function getAuthenticateData(credentials) {\n      var _authentication;\n\n      var authentication = (_authentication = {}, _defineProperty(_authentication, this.passwordField, credentials.password), _defineProperty(_authentication, this.identificationField, credentials.identification), _authentication);\n\n      return authentication;\n    },\n\n    /**\n      Returns an object with properties the `authenticate` promise will resolve,\n      be saved in and accessible via the session.\n       @method getResponseData\n      @return {object} An object with properties for the session.\n    */\n    getResponseData: function getResponseData(response) {\n      return response;\n    },\n\n    /**\n      Does nothing\n       @method invalidate\n      @return {Ember.RSVP.Promise} A resolving promise\n    */\n    invalidate: function invalidate() {\n      return _ember['default'].RSVP.resolve();\n    },\n\n    /**\n      @method makeRequest\n      @param {Object} data Object that will be sent to server\n      @param {Object} headers Additional headers that will be sent to server\n      @private\n    */\n    makeRequest: function makeRequest(data, headers) {\n      var _this3 = this;\n\n      return _ember['default'].$.ajax({\n        url: this.serverTokenEndpoint,\n        method: 'POST',\n        data: JSON.stringify(data),\n        dataType: 'json',\n        contentType: 'application/json',\n        headers: this.headers,\n        beforeSend: function beforeSend(xhr, settings) {\n          if (_this3.headers['Accept'] === null || _this3.headers['Accept'] === undefined) {\n            xhr.setRequestHeader('Accept', settings.accepts.json);\n          }\n\n          if (headers) {\n            Object.keys(headers).forEach(function (key) {\n              xhr.setRequestHeader(key, headers[key]);\n            });\n          }\n        }\n      });\n    }\n  });\n});","define('ember-simple-auth-token/authorizers/token', ['exports', 'ember', 'ember-simple-auth/authorizers/base', 'ember-simple-auth-token/configuration'], function (exports, _ember, _emberSimpleAuthAuthorizersBase, _emberSimpleAuthTokenConfiguration) {\n  'use strict';\n\n  /**\n    Authorizer that works with token-based authentication like JWT\n    by sending the `token` properties from the session in the `Authorization` header.\n  \n    _The factory for this authorizer is registered as\n    `'authorizer:token'` in Ember's container._\n  \n    @class Token\n    @namespace SimpleAuth.Authorizers\n    @module ember-simple-auth-token/authorizers/token\n    @extends Base\n  */\n  exports['default'] = _emberSimpleAuthAuthorizersBase['default'].extend({\n    session: _ember['default'].inject.service('session'),\n\n    /**\n      The prefix used in the value of the Authorization header.\n       This value can be configured via\n      [`SimpleAuth.Configuration.Token#authorizationPrefix`](#SimpleAuth-Configuration-Token-authorizationPrefix).\n       @property authorizationPrefix\n      @type String\n      @default 'Bearer '\n    */\n    authorizationPrefix: 'Bearer ',\n\n    /**\n      The name of the property in session that contains token used for authorization.\n       This value can be configured via\n      [`SimpleAuth.Configuration.Token#tokenPropertyName`](#SimpleAuth-Configuration-Token-tokenPropertyName).\n       @property tokenPropertyName\n      @type String\n      @default 'token'\n    */\n    tokenPropertyName: 'token',\n\n    /**\n      The name of the HTTP Header used to send token.\n       This value can be configured via\n      [`SimpleAuth.Configuration.Token#authorizationHeaderName`](#SimpleAuth-Configuration-Token-authorizationHeaderName).\n       @property authorizationHeaderName\n      @type String\n      @default 'Authorization'\n    */\n    authorizationHeaderName: 'Authorization',\n\n    /**\n      @method init\n      @private\n    */\n    init: function init() {\n      this.tokenPropertyName = _emberSimpleAuthTokenConfiguration['default'].tokenPropertyName;\n      this.authorizationHeaderName = _emberSimpleAuthTokenConfiguration['default'].authorizationHeaderName;\n\n      if (_emberSimpleAuthTokenConfiguration['default'].authorizationPrefix || _emberSimpleAuthTokenConfiguration['default'].authorizationPrefix === null) {\n        this.authorizationPrefix = _emberSimpleAuthTokenConfiguration['default'].authorizationPrefix;\n      }\n    },\n\n    /**\n      Authorizes an XHR request by sending the `token`\n      properties from the session in the `Authorization` header:\n       ```\n      Authorization: Bearer <token>\n      ```\n       @method authorize\n      @param {object} data\n      @param {function} block\n    */\n    authorize: function authorize() {\n      var data = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n      var block = arguments.length <= 1 || arguments[1] === undefined ? function () {} : arguments[1];\n\n      var token = _ember['default'].get(data, this.tokenPropertyName);\n      var prefix = this.authorizationPrefix ? this.authorizationPrefix : '';\n\n      if (this.get('session.isAuthenticated') && !_ember['default'].isEmpty(token)) {\n        block(this.authorizationHeaderName, prefix + token);\n      }\n    }\n  });\n});","define('ember-simple-auth-token/configuration', ['exports', 'ember-simple-auth-token/utils/load-config'], function (exports, _emberSimpleAuthTokenUtilsLoadConfig) {\n  'use strict';\n\n  var defaults = {\n    serverTokenEndpoint: '/api/token-auth/',\n    serverTokenRefreshEndpoint: '/api/token-refresh/',\n    identificationField: 'username',\n    passwordField: 'password',\n    tokenPropertyName: 'token',\n    refreshAccessTokens: true,\n    refreshLeeway: 0,\n    tokenExpireName: 'exp',\n    authorizationPrefix: 'Bearer ',\n    authorizationHeaderName: 'Authorization',\n    timeFactor: 1,\n    headers: {}\n  };\n\n  /**\n    Ember Simple Auth Token's configuration object.\n  \n    To change any of these values, set them on the application's\n    environment object:\n  \n    ```js\n    ENV['ember-simple-auth-token'] = {\n      serverTokenEndpoint: '/some/other/endpoint'\n    }\n    ```\n  \n    @class Token\n    @namespace SimpleAuth.Configuration\n    @module ember-simple-auth/configuration\n  */\n  exports['default'] = {\n    /**\n      The endpoint on the server the authenticator acquires the auth token\n      and email from.\n       @property serverTokenEndpoint\n      @readOnly\n      @static\n      @type String\n      @default '/users/sign_in'\n    */\n    serverTokenEndpoint: defaults.serverTokenEndpoint,\n\n    /**\n      The endpoint on the server where the authenticator refreshes a token.\n      @property serverTokenRefreshEndpoint\n      @type String\n      @default '/api/token-refresh/'\n    */\n    serverTokenRefreshEndpoint: defaults.serverTokenRefreshEndpoint,\n\n    /**\n      The attribute-name that is used for the identification field when sending\n      the authentication data to the server.\n       @property identificationField\n      @readOnly\n      @static\n      @type String\n      @default 'username'\n    */\n    identificationField: defaults.identificationField,\n\n    /**\n      The attribute-name that is used for the password field when sending\n      the authentication data to the server.\n       @property passwordField\n      @readOnly\n      @static\n      @type String\n      @default 'password'\n    */\n    passwordField: defaults.passwordField,\n\n    /**\n      The name of the property in session that contains token\n      used for authorization.\n       @property tokenPropertyName\n      @readOnly\n      @static\n      @type String\n      @default 'token'\n    */\n    tokenPropertyName: defaults.tokenPropertyName,\n\n    /**\n      Sets whether the authenticator automatically refreshes access tokens.\n      @property refreshAccessTokens\n      @type Boolean\n      @default true\n    */\n    refreshAccessTokens: defaults.refreshAccessTokens,\n\n    /**\n      The number of seconds to subtract from the token's time of expiration when\n      scheduling the automatic token refresh call.\n      @property refreshLeeway\n      @type Integer\n      @default 0 (seconds)\n    */\n    refreshLeeway: defaults.refreshLeeway,\n\n    /**\n      The name for which decoded token field represents the token expire time.\n      @property tokenExpireName\n      @type String\n      @default 'exp'\n    */\n    tokenExpireName: defaults.tokenExpireName,\n\n    /**\n      Default time unit.\n      @property timeFactor\n      @type Integer\n      @default 1 (seconds)\n    */\n    timeFactor: 1,\n\n    /**\n      The prefix used in the value of the Authorization header.\n       @property authorizationPrefix\n      @readOnly\n      @static\n      @type String\n      @default 'Bearer '\n    */\n    authorizationPrefix: defaults.authorizationPrefix,\n\n    /**\n      The name of the HTTP Header used to send token.\n       @property authorizationHeaderName\n      @readOnly\n      @static\n      @type String\n      @default 'Authorization'\n    */\n    authorizationHeaderName: defaults.authorizationHeaderName,\n\n    /**\n      Custom headers to be added on request.\n       @property headers\n      @readonly\n      @static\n      @type Object\n      @default {}\n    */\n    headers: defaults.headers,\n\n    /**\n      @method load\n      @private\n    */\n    load: (0, _emberSimpleAuthTokenUtilsLoadConfig['default'])(defaults)\n  };\n});","define('ember-simple-auth-token/utils/load-config', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  exports['default'] = function (defaults) {\n    return function (container, config) {\n      var wrappedConfig = _ember['default'].Object.create(config);\n\n      for (var property in this) {\n        if (this.hasOwnProperty(property) && _ember['default'].typeOf(this[property]) !== 'function') {\n          this[property] = wrappedConfig.getWithDefault(property, defaults[property]);\n        }\n      }\n    };\n  };\n});","define('ember-simple-auth/authenticators/base', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  var RSVP = _ember['default'].RSVP;\n  var Evented = _ember['default'].Evented;\n  var EmberObject = _ember['default'].Object;\n\n  /**\n    The base class for all authenticators. __This serves as a starting point for\n    implementing custom authenticators and must not be used directly.__\n  \n    The authenticator authenticates the session. The actual mechanism used to do\n    this might, e.g., post a set of credentials to a server and in exchange\n    retrieve an access token, initiating authentication against an external\n    provider like Facebook, etc. The details depend on the specific authenticator.\n    Upon successful authentication, any data that the authenticator receives and\n    resolves via the promise returned from the\n    {{#crossLink \"BaseAuthenticator/authenticate:method\"}}{{/crossLink}}\n    method is stored in the session and can be accessed via the session service\n    to be used by the authorizer (see\n    {{#crossLink \"BaseAuthorizer/authorize:method\"}}{{/crossLink}}) to e.g.,\n    authorize outgoing requests.\n  \n    The authenticator also decides whether a set of data that was restored from\n    the session store (see\n    {{#crossLink \"BaseStore/restore:method\"}}{{/crossLink}}) makes up an\n    authenticated session or not.\n  \n    __Authenticators for an application are defined in the `app/authenticators`\n    directory__, e.g.:\n  \n    ```js\n    // app/authenticators/oauth2.js\n    import OAuth2PasswordGrantAuthenticator from 'ember-simple-auth/authenticators/oauth2-password-grant';\n  \n    export default OAuth2PasswordGrantAuthenticator.extend({\n      ...\n    });\n    ```\n  \n    and can then be used via the name Ember CLI automatically registers for them\n    within the Ember container.\n  \n    ```js\n    // app/components/login-form.js\n    export default Ember.Controller.extend({\n      session: Ember.inject.service(),\n  \n      actions: {\n        authenticate: function() {\n          this.get('session').authenticate('authenticator:oauth2');\n        }\n      }\n    });\n    ```\n  \n    @class BaseAuthenticator\n    @module ember-simple-auth/authenticators/base\n    @extends Ember.Object\n    @uses Ember.Evented\n    @public\n  */\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      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      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', 'ember-network/fetch'], function (exports, _ember, _emberSimpleAuthAuthenticatorsBase, _emberNetworkFetch) {\n  'use strict';\n\n  var Promise = _ember['default'].RSVP.Promise;\n  var isEmpty = _ember['default'].isEmpty;\n  var run = _ember['default'].run;\n  var emberAssign = _ember['default'].assign;\n  var merge = _ember['default'].merge;\n  var 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'] = _emberSimpleAuthAuthenticatorsBase['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      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\n        var resourceName = _getProperties.resourceName;\n        var identificationAttributeName = _getProperties.identificationAttributeName;\n        var 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      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      Makes a request to the Devise server using\n      [ember-network/fetch](https://github.com/tomdale/ember-network#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, _emberNetworkFetch['default'])(url, requestOptions);\n    },\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-password-grant', ['exports', 'ember', 'ember-simple-auth/authenticators/base', 'ember-network/fetch'], function (exports, _ember, _emberSimpleAuthAuthenticatorsBase, _emberNetworkFetch) {\n  'use strict';\n\n  var RSVP = _ember['default'].RSVP;\n  var isEmpty = _ember['default'].isEmpty;\n  var run = _ember['default'].run;\n  var computed = _ember['default'].computed;\n  var makeArray = _ember['default'].makeArray;\n  var emberAssign = _ember['default'].assign;\n  var merge = _ember['default'].merge;\n  var A = _ember['default'].A;\n  var testing = _ember['default'].testing;\n  var warn = _ember['default'].warn;\n  var 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'] = _emberSimpleAuthAuthenticatorsBase['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.btoa(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      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      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          (function () {\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, _emberNetworkFetch['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\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\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\n    _absolutizeExpirationTime: function _absolutizeExpirationTime(expiresIn) {\n      if (!isEmpty(expiresIn)) {\n        return new Date(new Date().getTime() + expiresIn * 1000).getTime();\n      }\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, _emberSimpleAuthAuthenticatorsBase) {\n  'use strict';\n\n  var RSVP = _ember['default'].RSVP;\n\n  exports['default'] = _emberSimpleAuthAuthenticatorsBase['default'].extend({\n    restore: function restore(data) {\n      return RSVP.resolve(data);\n    },\n\n    authenticate: function authenticate(data) {\n      return RSVP.resolve(data);\n    },\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, _emberSimpleAuthAuthenticatorsBase) {\n  'use strict';\n\n  var RSVP = _ember['default'].RSVP;\n  var isEmpty = _ember['default'].isEmpty;\n  var assert = _ember['default'].assert;\n  var isPresent = _ember['default'].isPresent;\n\n  /**\n    Authenticator that wraps the\n    [Torii library](https://github.com/Vestorly/torii) and thus allows to connect\n    any external authentication provider that torii defines a provider for.\n  \n    In order to use this authenticator, __the application needs to have the\n    [torii addon](https://github.com/Vestorly/torii) installed and must inject\n    the torii service into the authenticator__:\n  \n    ```js\n    // app/authenticators/torii.js\n    import ToriiAuthenticator from 'ember-simple-auth/authenticators/torii';\n  \n    export default ToriiAuthenticator.extend({\n      torii: Ember.inject.service()\n    });\n    ```\n  \n    @class ToriiAuthenticator\n    @module ember-simple-auth/authenticators/torii\n    @extends BaseAuthenticator\n    @public\n  */\n  exports['default'] = _emberSimpleAuthAuthenticatorsBase['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 _ret = (function () {\n          var _data = data;\n          var provider = _data.provider;\n\n          return {\n            v: _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          };\n        })();\n\n        if (typeof _ret === 'object') return _ret.v;\n      } else {\n        delete this._provider;\n        return RSVP.reject();\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      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\n    _authenticateWithProvider: function _authenticateWithProvider(provider, data) {\n      data.provider = provider;\n      this._provider = data.provider;\n    },\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  var EmberObject = _ember['default'].Object;\n\n  /**\n    The base class for all authorizers. __This serves as a starting point for\n    implementing custom authorizers and must not be used directly.__\n  \n    Authorizers use the session data acquired by an authenticator when\n    authenticating the session to construct authorization data that can, e.g., be\n    injected into outgoing network requests. Depending on the authorization\n    mechanism the authorizer implements, that authorization data might be an HTTP\n    header, query string parameters, a cookie, etc.\n  \n    __The authorizer has to fit the authenticator__ (see\n    {{#crossLink \"BaseAuthenticator\"}}{{/crossLink}})\n    as it can only use data that the authenticator acquires when authenticating\n    the session.\n  \n    @class BaseAuthorizer\n    @module ember-simple-auth/authorizers/base\n    @extends Ember.Object\n    @public\n  */\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, _emberSimpleAuthAuthorizersBase) {\n  'use strict';\n\n  var isEmpty = _ember['default'].isEmpty;\n\n  /**\n    Authorizer that works with the Ruby gem\n    [devise](https://github.com/plataformatec/devise); includes the user's token\n    and identification from the session data in the `Authorization` HTTP header,\n    e.g.,\n  \n    ```\n    Authorization: token=\"234rtgjneroigne4\" email=\"user@domain.tld\"\n    ```\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 DeviseAuthorizer\n    @module ember-simple-auth/authorizers/devise\n    @extends BaseAuthorizer\n    @public\n  */\n  exports['default'] = _emberSimpleAuthAuthorizersBase['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\n      var tokenAttributeName = _getProperties.tokenAttributeName;\n      var 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, _emberSimpleAuthAuthorizersBase) {\n  'use strict';\n\n  var isEmpty = _ember['default'].isEmpty;\n\n  /**\n    Authorizer that conforms to OAuth 2\n    ([RFC 6749](http://tools.ietf.org/html/rfc6749)); includes the access token\n    from the session data as a bearer token\n    ([RFC 6750](http://tools.ietf.org/html/rfc6750)) in the `Authorization`\n    header, e.g.:\n  \n    ```\n    Authorization: Bearer 234rtgjneroigne4\n    ```\n  \n    @class OAuth2BearerAuthorizer\n    @module ember-simple-auth/authorizers/oauth2-bearer\n    @extends BaseAuthorizer\n    @public\n  */\n  exports['default'] = _emberSimpleAuthAuthorizersBase['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  var getWithDefault = _ember['default'].getWithDefault;\n  var typeOf = _ember['default'].typeOf;\n  var deprecate = _ember['default'].deprecate;\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, _emberSimpleAuthUtilsInject) {\n  'use strict';\n\n  exports['default'] = setupSessionStore;\n\n  function setupSessionStore(registry) {\n    (0, _emberSimpleAuthUtilsInject['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, _emberSimpleAuthInternalSession, _emberSimpleAuthSessionStoresEphemeral, _emberSimpleAuthUtilsInject) {\n  'use strict';\n\n  exports['default'] = setupSession;\n\n  function setupSession(registry) {\n    registry.register('session:main', _emberSimpleAuthInternalSession['default']);\n\n    var store = 'session-store:application';\n    if (_ember['default'].testing) {\n      store = 'session-store:test';\n      registry.register(store, _emberSimpleAuthSessionStoresEphemeral['default']);\n    }\n\n    (0, _emberSimpleAuthUtilsInject['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, _emberSimpleAuthUtilsLookup) {\n  'use strict';\n\n  exports['default'] = setupSessionRestoration;\n\n  function setupSessionRestoration(instance) {\n    var applicationRoute = (0, _emberSimpleAuthUtilsLookup['default'])(instance, 'route:application');\n    var session = (0, _emberSimpleAuthUtilsLookup['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  var _slice = Array.prototype.slice;\n\n  var RSVP = _ember['default'].RSVP;\n  var isNone = _ember['default'].isNone;\n  var isEmpty = _ember['default'].isEmpty;\n  var ObjectProxy = _ember['default'].ObjectProxy;\n  var Evented = _ember['default'].Evented;\n  var emberAssign = _ember['default'].assign;\n  var merge = _ember['default'].merge;\n  var assert = _ember['default'].assert;\n  var deprecate = _ember['default'].deprecate;\n  var set = _ember['default'].set;\n  var debug = _ember['default'].debug;\n  var 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\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, 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\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(_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\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\n        var 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…');\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\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, 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\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\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\n    _clearWithContent: function _clearWithContent(content, trigger) {\n      this.set('content', content);\n      return this._clear(trigger);\n    },\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\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\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\n    _bindToStoreEvents: function _bindToStoreEvents() {\n      var _this7 = this;\n\n      this.store.on('sessionDataUpdated', function (content) {\n        if (!_this7._busy) {\n          (function () {\n            _this7._busy = true;\n\n            var _ref2 = content.authenticated || {};\n\n            var 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…');\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    },\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, _emberSimpleAuthConfiguration) {\n  'use strict';\n\n  var _slicedToArray = (function () {\n    function sliceIterator(arr, i) {\n      var _arr = [];var _n = true;var _d = false;var _e = undefined;try {\n        for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n          _arr.push(_s.value);if (i && _arr.length === i) break;\n        }\n      } catch (err) {\n        _d = true;_e = err;\n      } finally {\n        try {\n          if (!_n && _i['return']) _i['return']();\n        } finally {\n          if (_d) throw _e;\n        }\n      }return _arr;\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  var Mixin = _ember['default'].Mixin;\n  var A = _ember['default'].A;\n  var bind = _ember['default'].run.bind;\n  var testing = _ember['default'].testing;\n  var computed = _ember['default'].computed;\n  var getOwner = _ember['default'].getOwner;\n\n  /**\n    The mixin for the application route, __defining methods that are called when\n    the session is successfully authenticated (see\n    {{#crossLink \"SessionService/authenticationSucceeded:event\"}}{{/crossLink}})\n    or invalidated__ (see\n    {{#crossLink \"SessionService/invalidationSucceeded:event\"}}{{/crossLink}}).\n  \n    __Using this mixin is optional.__ The session events can also be handled\n    manually, e.g. in an instance initializer:\n  \n    ```js\n    // app/instance-initializers/session-events.js\n    export function initialize(instance) {\n      const applicationRoute = instance.container.lookup('route:application');\n      const session          = instance.container.lookup('service:session');\n      session.on('authenticationSucceeded', function() {\n        applicationRoute.transitionTo('index');\n      });\n      session.on('invalidationSucceeded', function() {\n        applicationRoute.transitionTo('bye');\n      });\n    };\n  \n    export default {\n      initialize,\n      name:  'session-events',\n      after: 'ember-simple-auth'\n    };\n    ```\n  \n    __When using the `ApplicationRouteMixin` you need to specify\n    `needs: ['service:session']` in the application route's unit test.__\n  \n    @class ApplicationRouteMixin\n    @module ember-simple-auth/mixins/application-route-mixin\n    @extends Ember.Mixin\n    @public\n  */\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 _emberSimpleAuthConfiguration['default'].routeAfterAuthentication;\n    }),\n\n    init: function init() {\n      this._super.apply(this, arguments);\n      this._subscribeToSessionEvents();\n    },\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\n        var event = _ref2[0];\n        var 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      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      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(_emberSimpleAuthConfiguration['default'].baseURL);\n        } else {\n          window.location.replace(_emberSimpleAuthConfiguration['default'].baseURL);\n        }\n      }\n    }\n  });\n});","define('ember-simple-auth/mixins/authenticated-route-mixin', ['exports', 'ember', 'ember-simple-auth/configuration'], function (exports, _ember, _emberSimpleAuthConfiguration) {\n  'use strict';\n\n  var service = _ember['default'].inject.service;\n  var Mixin = _ember['default'].Mixin;\n  var assert = _ember['default'].assert;\n  var computed = _ember['default'].computed;\n  var getOwner = _ember['default'].getOwner;\n\n  /**\n    __This mixin is used to make routes accessible only if the session is\n    authenticated.__ It defines a `beforeModel` method that aborts the current\n    transition and instead transitions to the\n    {{#crossLink \"Configuration/authenticationRoute:property\"}}{{/crossLink}} if\n    the session is not authenticated.\n  \n    ```js\n    // app/routes/protected.js\n    import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin';\n  \n    export default Ember.Route.extend(AuthenticatedRouteMixin);\n    ```\n  \n    @class AuthenticatedRouteMixin\n    @module ember-simple-auth/mixins/authenticated-route-mixin\n    @extends Ember.Mixin\n    @public\n  */\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 _emberSimpleAuthConfiguration['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      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  var service = _ember['default'].inject.service;\n  var Mixin = _ember['default'].Mixin;\n  var assert = _ember['default'].assert;\n  var isPresent = _ember['default'].isPresent;\n\n  /**\n    __This mixin can be used to make Ember Data adapters authorize all outgoing\n    API requests by injecting a header.__ It works with all authorizers that call\n    the authorization callback (see\n    {{#crossLink \"BaseAuthorizer/authorize:method\"}}{{/crossLink}}) with header\n    name and header content arguments.\n  \n    __The `DataAdapterMixin` will also invalidate the session whenever it\n    receives a 401 response for an API request.__\n  \n    ```js\n    // app/adapters/application.js\n    import DS from 'ember-data';\n    import DataAdapterMixin from 'ember-simple-auth/mixins/data-adapter-mixin';\n  \n    export default DS.JSONAPIAdapter.extend(DataAdapterMixin, {\n      authorizer: 'authorizer:application'\n    });\n    ```\n  \n    __The `DataAdapterMixin` requires Ember Data 1.13 or later.__\n  \n    @class DataAdapterMixin\n    @module ember-simple-auth/mixins/data-adapter-mixin\n    @extends Ember.Mixin\n    @public\n  */\n\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       This method applies for Ember Data 2.6 and older. See `headersForRequest`\n      for newer versions of Ember Data.\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      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      Adds request headers containing the authorization data as constructed\n      by the {{#crossLink \"DataAdapterMixin/authorizer:property\"}}{{/crossLink}}.\n       This method will only be called in Ember Data 2.7 or greater. Older versions\n      will rely on `ajaxOptions` for request header injection.\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      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      @protected\n    */\n    handleResponse: function handleResponse(status) {\n      if (status === 401 && this.get('session.isAuthenticated')) {\n        this.get('session').invalidate();\n      }\n      return this._super.apply(this, arguments);\n    }\n  });\n});","define('ember-simple-auth/mixins/unauthenticated-route-mixin', ['exports', 'ember', 'ember-simple-auth/configuration'], function (exports, _ember, _emberSimpleAuthConfiguration) {\n  'use strict';\n\n  var service = _ember['default'].inject.service;\n  var Mixin = _ember['default'].Mixin;\n  var assert = _ember['default'].assert;\n  var computed = _ember['default'].computed;\n  var getOwner = _ember['default'].getOwner;\n\n  /**\n    __This mixin is used to make routes accessible only if the session is\n    not authenticated__ (e.g., login and registration routes). It defines a\n    `beforeModel` method that aborts the current transition and instead\n    transitions to the\n    {{#crossLink \"Configuration/routeIfAlreadyAuthenticated:property\"}}{{/crossLink}}\n    if the session is authenticated.\n  \n    ```js\n    // app/routes/login.js\n    import UnauthenticatedRouteMixin from 'ember-simple-auth/mixins/unauthenticated-route-mixin';\n  \n    export default Ember.Route.extend(UnauthenticatedRouteMixin);\n    ```\n  \n    @class UnauthenticatedRouteMixin\n    @module ember-simple-auth/mixins/unauthenticated-route-mixin\n    @extends Ember.Mixin\n    @public\n  */\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 _emberSimpleAuthConfiguration['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  var _slice = Array.prototype.slice;\n\n  var SESSION_DATA_KEY_PREFIX = /^data\\./;\n\n  var computed = _ember['default'].computed;\n  var A = _ember['default'].A;\n  var Service = _ember['default'].Service;\n  var Evented = _ember['default'].Evented;\n  var getOwner = _ember['default'].getOwner;\n  var isNone = _ember['default'].isNone;\n  var assert = _ember['default'].assert;\n\n  /**\n    __The session service provides access to the current session as well as\n    methods to authenticate it, invalidate it, etc.__ It is the main interface for\n    the application to Ember Simple Auth's functionality. It can be injected via\n  \n    ```js\n    // app/components/login-form.js\n    import Ember from 'ember';\n  \n    export default Ember.Component.extend({\n      session: Ember.inject.service('session')\n    });\n    ```\n  \n    @class SessionService\n    @module ember-simple-auth/services/session\n    @extends Ember.Service\n    @uses Ember.Evented\n    @public\n  */\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\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\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(_slice.call(_arguments)));\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      __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      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, _emberSimpleAuthSessionStoresBase, _emberSimpleAuthSessionStoresLocalStorage, _emberSimpleAuthSessionStoresCookie) {\n  /* global localStorage */\n  'use strict';\n\n  var computed = _ember['default'].computed;\n  var service = _ember['default'].inject.service;\n  var getOwner = _ember['default'].getOwner;\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'] = _emberSimpleAuthSessionStoresBase['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 = undefined;\n      if (this.get('_isLocalStorageAvailable')) {\n        var options = { key: this.get('localStorageKey') };\n        options._isFastBoot = false;\n        store = this._createStore(_emberSimpleAuthSessionStoresLocalStorage['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(_emberSimpleAuthSessionStoresCookie['default'], options);\n        this.set('cookieExpirationTime', store.get('cookieExpirationTime'));\n      }\n      this.set('_store', store);\n    },\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      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      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      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  var RSVP = _ember['default'].RSVP;\n  var EmberObject = _ember['default'].Object;\n  var Evented = _ember['default'].Evented;\n\n  /**\n    The base class for all session stores. __This serves as a starting point for\n    implementing custom session stores and must not be used directly.__\n  \n    Session Stores persist the session's state so that it survives a page reload\n    and is synchronized across multiple tabs or windows of the same application.\n  \n    @class BaseStore\n    @module ember-simple-auth/session-stores/base\n    @extends Ember.Object\n    @uses Ember.Evented\n    @public\n  */\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      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      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, _emberSimpleAuthSessionStoresBase, _emberSimpleAuthUtilsObjectsAreEqual) {\n  'use strict';\n\n  var RSVP = _ember['default'].RSVP;\n  var computed = _ember['default'].computed;\n  var service = _ember['default'].inject.service;\n  var _Ember$run = _ember['default'].run;\n  var next = _Ember$run.next;\n  var scheduleOnce = _Ember$run.scheduleOnce;\n  var cancel = _Ember$run.cancel;\n  var later = _Ember$run.later;\n  var isEmpty = _ember['default'].isEmpty;\n  var typeOf = _ember['default'].typeOf;\n  var testing = _ember['default'].testing;\n  var isPresent = _ember['default'].isPresent;\n  var A = _ember['default'].A;\n  var getOwner = _ember['default'].getOwner;\n  var warn = _ember['default'].warn;\n\n  var persistingProperty = function persistingProperty() {\n    var beforeSet = arguments.length <= 0 || arguments[0] === undefined ? function () {} : arguments[0];\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'] = _emberSimpleAuthSessionStoresBase['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      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      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      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\n    _read: function _read(name) {\n      return this.get('_cookies').read(name) || '';\n    },\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\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\n    _syncData: function _syncData() {\n      var _this3 = this;\n\n      return this.restore().then(function (data) {\n        if (!(0, _emberSimpleAuthUtilsObjectsAreEqual['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\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\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\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\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, _emberSimpleAuthSessionStoresBase) {\n  'use strict';\n\n  var RSVP = _ember['default'].RSVP;\n\n  /**\n    Session store that __persists data in memory and thus is not actually\n    persistent__. It does also not synchronize the session's state across\n    multiple tabs or windows as those cannot share memory. __This store is mainly\n    useful for testing and will automatically be used when running tests.__\n  \n    @class EphemeralStore\n    @module ember-simple-auth/session-stores/ephemeral\n    @extends BaseStore\n    @public\n  */\n  exports['default'] = _emberSimpleAuthSessionStoresBase['default'].extend({\n    init: function init() {\n      this._super.apply(this, arguments);\n      this.clear();\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      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      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, _emberSimpleAuthSessionStoresBase, _emberSimpleAuthUtilsObjectsAreEqual) {\n  /* global localStorage */\n  'use strict';\n\n  var RSVP = _ember['default'].RSVP;\n  var jQuery = _ember['default'].$;\n  var computed = _ember['default'].computed;\n  var getOwner = _ember['default'].getOwner;\n\n  /**\n    Session store that persists data in the browser's `localStorage`.\n  \n    __`localStorage` is not available in Safari when running in private mode. In\n    general it is better to use the\n    {{#crossLink \"AdaptiveStore\"}}{{/crossLink}} that automatically falls back to\n    the {{#crossLink \"CookieStore\"}}{{/crossLink}} when `localStorage` is not\n    available.__\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 LocalStorageStore\n    @module ember-simple-auth/session-stores/local-storage\n    @extends BaseStore\n    @public\n  */\n  exports['default'] = _emberSimpleAuthSessionStoresBase['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        this._bindToStorageEvents();\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      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      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\n    _bindToStorageEvents: function _bindToStorageEvents() {\n      var _this = this;\n\n      jQuery(window).on('storage', function (e) {\n        if (e.originalEvent.key === _this.key) {\n          _this.restore().then(function (data) {\n            if (!(0, _emberSimpleAuthUtilsObjectsAreEqual['default'])(data, _this._lastData)) {\n              _this._lastData = data;\n              _this.trigger('sessionDataUpdated', data);\n            }\n          });\n        }\n      });\n    }\n  });\n});","define(\"ember-simple-auth/utils/inject\", [\"exports\"], function (exports) {\n  \"use strict\";\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  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  exports['default'] = objectsAreEqual;\n\n  function objectsAreEqual(a, b) {\n    function compare(x, y) {\n      var property = undefined;\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-tether/components/ember-tether', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  var observer = _ember['default'].observer;\n  var get = _ember['default'].get;\n  var run = _ember['default'].run;\n  var computed = _ember['default'].computed;\n\n  exports['default'] = _ember['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\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'].forEach(function (k) {\n        var v = get(_this2, k);\n        if (!_ember['default'].isNone(v)) {\n          options[k] = v;\n        }\n      });\n      return options;\n    }\n  });\n});","define('ember-truth-helpers/helpers/and', ['exports', 'ember-truth-helpers/utils/truth-convert'], function (exports, _emberTruthHelpersUtilsTruthConvert) {\n  'use strict';\n\n  exports.andHelper = andHelper;\n\n  function andHelper(params) {\n    for (var i = 0, len = params.length; i < len; i++) {\n      if ((0, _emberTruthHelpersUtilsTruthConvert['default'])(params[i]) === false) {\n        return params[i];\n      }\n    }\n    return params[params.length - 1];\n  }\n});","define(\"ember-truth-helpers/helpers/equal\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  exports.equalHelper = equalHelper;\n\n  function equalHelper(params) {\n    return params[0] === params[1];\n  }\n});","define('ember-truth-helpers/helpers/gt', ['exports'], function (exports) {\n  'use strict';\n\n  exports.gtHelper = gtHelper;\n\n  function gtHelper(params, hash) {\n    var left = params[0];\n    var right = params[1];\n    if (hash.forceNumber) {\n      if (typeof left !== 'number') {\n        left = Number(left);\n      }\n      if (typeof right !== 'number') {\n        right = Number(right);\n      }\n    }\n    return left > right;\n  }\n});","define('ember-truth-helpers/helpers/gte', ['exports'], function (exports) {\n  'use strict';\n\n  exports.gteHelper = gteHelper;\n\n  function gteHelper(params, hash) {\n    var left = params[0];\n    var right = params[1];\n    if (hash.forceNumber) {\n      if (typeof left !== 'number') {\n        left = Number(left);\n      }\n      if (typeof right !== 'number') {\n        right = Number(right);\n      }\n    }\n    return left >= right;\n  }\n});","define('ember-truth-helpers/helpers/is-array', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  exports.isArrayHelper = isArrayHelper;\n\n  function isArrayHelper(params) {\n    for (var i = 0, len = params.length; i < len; i++) {\n      if (_ember['default'].isArray(params[i]) === false) {\n        return false;\n      }\n    }\n    return true;\n  }\n});","define('ember-truth-helpers/helpers/lt', ['exports'], function (exports) {\n  'use strict';\n\n  exports.ltHelper = ltHelper;\n\n  function ltHelper(params, hash) {\n    var left = params[0];\n    var right = params[1];\n    if (hash.forceNumber) {\n      if (typeof left !== 'number') {\n        left = Number(left);\n      }\n      if (typeof right !== 'number') {\n        right = Number(right);\n      }\n    }\n    return left < right;\n  }\n});","define('ember-truth-helpers/helpers/lte', ['exports'], function (exports) {\n  'use strict';\n\n  exports.lteHelper = lteHelper;\n\n  function lteHelper(params, hash) {\n    var left = params[0];\n    var right = params[1];\n    if (hash.forceNumber) {\n      if (typeof left !== 'number') {\n        left = Number(left);\n      }\n      if (typeof right !== 'number') {\n        right = Number(right);\n      }\n    }\n    return left <= right;\n  }\n});","define(\"ember-truth-helpers/helpers/not-equal\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  exports.notEqualHelper = notEqualHelper;\n\n  function notEqualHelper(params) {\n    return params[0] !== params[1];\n  }\n});","define('ember-truth-helpers/helpers/not', ['exports', 'ember-truth-helpers/utils/truth-convert'], function (exports, _emberTruthHelpersUtilsTruthConvert) {\n  'use strict';\n\n  exports.notHelper = notHelper;\n\n  function notHelper(params) {\n    for (var i = 0, len = params.length; i < len; i++) {\n      if ((0, _emberTruthHelpersUtilsTruthConvert['default'])(params[i]) === true) {\n        return false;\n      }\n    }\n    return true;\n  }\n});","define('ember-truth-helpers/helpers/or', ['exports', 'ember-truth-helpers/utils/truth-convert'], function (exports, _emberTruthHelpersUtilsTruthConvert) {\n  'use strict';\n\n  exports.orHelper = orHelper;\n\n  function orHelper(params) {\n    for (var i = 0, len = params.length; i < len; i++) {\n      if ((0, _emberTruthHelpersUtilsTruthConvert['default'])(params[i]) === true) {\n        return params[i];\n      }\n    }\n    return params[params.length - 1];\n  }\n});","define('ember-truth-helpers/helpers/xor', ['exports', 'ember-truth-helpers/utils/truth-convert'], function (exports, _emberTruthHelpersUtilsTruthConvert) {\n  'use strict';\n\n  exports.xorHelper = xorHelper;\n\n  function xorHelper(params) {\n    return (0, _emberTruthHelpersUtilsTruthConvert['default'])(params[0]) !== (0, _emberTruthHelpersUtilsTruthConvert['default'])(params[1]);\n  }\n});","define('ember-truth-helpers/utils/register-helper', ['exports', 'ember'], function (exports, _ember) {\n\t'use strict';\n\n\texports.registerHelper = registerHelper;\n\n\tfunction registerHelperIteration1(name, helperFunction) {\n\t\t//earlier versions of ember with htmlbars used this\n\t\t_ember['default'].HTMLBars.helpers[name] = _ember['default'].HTMLBars.makeBoundHelper(helperFunction);\n\t}\n\n\tfunction registerHelperIteration2(name, helperFunction) {\n\t\t//registerHelper has been made private as _registerHelper\n\t\t//this is kept here if anyone is using it\n\t\t_ember['default'].HTMLBars.registerHelper(name, _ember['default'].HTMLBars.makeBoundHelper(helperFunction));\n\t}\n\n\tfunction registerHelperIteration3(name, helperFunction) {\n\t\t//latest versin of ember uses this\n\t\t_ember['default'].HTMLBars._registerHelper(name, _ember['default'].HTMLBars.makeBoundHelper(helperFunction));\n\t}\n\n\tfunction registerHelper(name, helperFunction) {\n\t\t// Do not register helpers from Ember 1.13 onwards, starting from 1.13 they\n\t\t// will be auto-discovered.\n\t\tif (_ember['default'].Helper) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (_ember['default'].HTMLBars._registerHelper) {\n\t\t\tif (_ember['default'].HTMLBars.helpers) {\n\t\t\t\tregisterHelperIteration1(name, helperFunction);\n\t\t\t} else {\n\t\t\t\tregisterHelperIteration3(name, helperFunction);\n\t\t\t}\n\t\t} else if (_ember['default'].HTMLBars.registerHelper) {\n\t\t\tregisterHelperIteration2(name, helperFunction);\n\t\t}\n\t}\n});","define('ember-truth-helpers/utils/truth-convert', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  exports['default'] = truthConvert;\n\n  function truthConvert(result) {\n    var truthy = result && _ember['default'].get(result, 'isTruthy');\n    if (typeof truthy === 'boolean') {\n      return truthy;\n    }\n\n    if (_ember['default'].isArray(result)) {\n      return _ember['default'].get(result, 'length') !== 0;\n    } else {\n      return !!result;\n    }\n  }\n});","define('ember-validators/collection', ['exports', 'ember-validators/utils/validation-error'], function (exports, _emberValidatorsUtilsValidationError) {\n  'use strict';\n\n  exports['default'] = validateCollection;\n\n  var get = Ember.get,\n      assert = Ember.assert,\n      isArray = Ember.isArray,\n      isPresent = Ember.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});","define('ember-validators/confirmation', ['exports', 'ember-validators/utils/validation-error'], function (exports, _emberValidatorsUtilsValidationError) {\n  'use strict';\n\n  exports['default'] = validateConfirmation;\n\n  var get = Ember.get,\n      assert = Ember.assert,\n      isEqual = Ember.isEqual,\n      isEmpty = Ember.isEmpty,\n      isPresent = Ember.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});","define('ember-validators/date', ['exports', 'ember-validators/utils/validation-error', 'ember-require-module'], function (exports, _emberValidatorsUtilsValidationError, _emberRequireModule) {\n  'use strict';\n\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.getWithDefault,\n      getProperties = Ember.getProperties,\n      isNone = Ember.isNone,\n      isEmpty = Ember.isEmpty,\n      set = Ember.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        format = _getProperties.format,\n        precision = _getProperties.precision,\n        allowBlank = _getProperties.allowBlank;\n\n    var _getProperties2 = getProperties(options, ['before', 'onOrBefore', 'after', 'onOrAfter']),\n        before = _getProperties2.before,\n        onOrBefore = _getProperties2.onOrBefore,\n        after = _getProperties2.after,\n        onOrAfter = _getProperties2.onOrAfter;\n\n    var date = void 0;\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 ? arguments[2] : false;\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});","define('ember-validators/ds-error', ['exports', 'ember-require-module', 'ember-validators/utils/validation-error'], function (exports, _emberRequireModule, _emberValidatorsUtilsValidationError) {\n  'use strict';\n\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.get,\n      isNone = Ember.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        path = _getPathAndKey.path,\n        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});","define(\"ember-validators/exclusion\", [\"exports\", \"ember-validators/utils/validation-error\"], function (exports, _emberValidatorsUtilsValidationError) {\n  \"use strict\";\n\n  exports[\"default\"] = validateExclusion;\n  var _slicedToArray = (function () {\n    function sliceIterator(arr, i) {\n      var _arr = [];var _n = true;var _d = false;var _e = undefined;try {\n        for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n          _arr.push(_s.value);if (i && _arr.length === i) break;\n        }\n      } catch (err) {\n        _d = true;_e = err;\n      } finally {\n        try {\n          if (!_n && _i[\"return\"]) _i[\"return\"]();\n        } finally {\n          if (_d) throw _e;\n        }\n      }return _arr;\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 get = Ember.get,\n      typeOf = Ember.typeOf,\n      isEmpty = Ember.isEmpty,\n      assert = Ember.assert,\n      getProperties = Ember.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        range = _getProperties.range,\n        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          min = _range[0],\n          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});","define('ember-validators/format', ['exports', 'ember-validators/utils/validation-error'], function (exports, _emberValidatorsUtilsValidationError) {\n  'use strict';\n\n  exports['default'] = validateFormat;\n\n  var set = Ember.set,\n      isNone = Ember.isNone,\n      isEmpty = Ember.isEmpty,\n      assert = Ember.assert,\n      canInvoke = Ember.canInvoke,\n      getProperties = Ember.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\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        regex = _getProperties.regex,\n        type = _getProperties.type,\n        _getProperties$invers = _getProperties.inverse,\n        inverse = _getProperties$invers === undefined ? false : _getProperties$invers,\n        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        allowNonTld = _getProperties2.allowNonTld,\n        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});","define(\"ember-validators/inclusion\", [\"exports\", \"ember-validators/utils/validation-error\"], function (exports, _emberValidatorsUtilsValidationError) {\n  \"use strict\";\n\n  exports[\"default\"] = validateInclusion;\n  var _slicedToArray = (function () {\n    function sliceIterator(arr, i) {\n      var _arr = [];var _n = true;var _d = false;var _e = undefined;try {\n        for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n          _arr.push(_s.value);if (i && _arr.length === i) break;\n        }\n      } catch (err) {\n        _d = true;_e = err;\n      } finally {\n        try {\n          if (!_n && _i[\"return\"]) _i[\"return\"]();\n        } finally {\n          if (_d) throw _e;\n        }\n      }return _arr;\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 get = Ember.get,\n      typeOf = Ember.typeOf,\n      assert = Ember.assert,\n      isEmpty = Ember.isEmpty,\n      getProperties = Ember.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        range = _getProperties.range,\n        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          min = _range[0],\n          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});","define('ember-validators/index', ['exports', 'ember-require-module'], function (exports, _emberRequireModule) {\n  'use strict';\n\n  exports.validate = validate;\n\n  var assert = Ember.assert,\n      isPresent = Ember.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});","define('ember-validators/length', ['exports', 'ember-validators/utils/validation-error'], function (exports, _emberValidatorsUtilsValidationError) {\n  'use strict';\n\n  exports['default'] = validateLength;\n\n  var get = Ember.get,\n      isNone = Ember.isNone,\n      isEmpty = Ember.isEmpty,\n      getProperties = Ember.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        _getProperties$allowN = _getProperties.allowNone,\n        allowNone = _getProperties$allowN === undefined ? true : _getProperties$allowN,\n        allowBlank = _getProperties.allowBlank,\n        useBetweenMessage = _getProperties.useBetweenMessage,\n        is = _getProperties.is,\n        min = _getProperties.min,\n        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});","define('ember-validators/messages', ['exports'], function (exports) {\n  'use strict';\n\n  var get = Ember.get,\n      isNone = Ember.isNone;\n\n  /**\n   *  @class Messages\n   *  @module Validators\n   */\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});","define('ember-validators/number', ['exports', 'ember-validators/utils/validation-error'], function (exports, _emberValidatorsUtilsValidationError) {\n  'use strict';\n\n  exports['default'] = validateNumber;\n\n  var get = Ember.get,\n      isNone = Ember.isNone,\n      isEmpty = Ember.isEmpty,\n      getProperties = Ember.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        allowBlank = _getProperties.allowBlank,\n        _getProperties$allowN = _getProperties.allowNone,\n        allowNone = _getProperties$allowN === undefined ? true : _getProperties$allowN,\n        allowString = _getProperties.allowString,\n        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});","define('ember-validators/presence', ['exports', 'ember-validators/utils/validation-error', 'ember-validators/utils/unwrap-proxy'], function (exports, _emberValidatorsUtilsValidationError, _emberValidatorsUtilsUnwrapProxy) {\n  'use strict';\n\n  exports['default'] = validatePresence;\n\n  var assert = Ember.assert,\n      isEmpty = Ember.isEmpty,\n      isPresent = Ember.isPresent,\n      getProperties = Ember.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        presence = _getProperties.presence,\n        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});","define('ember-validators/utils/is-promise', ['exports'], function (exports) {\n  'use strict';\n\n  exports['default'] = isPromise;\n  var canInvoke = Ember.canInvoke;\n\n  function isPromise(p) {\n    return !!(p && canInvoke(p, 'then'));\n  }\n});","define('ember-validators/utils/unwrap-proxy', ['exports'], function (exports) {\n  'use strict';\n\n  exports['default'] = unwrapProxy;\n  exports.isProxy = isProxy;\n  var get = Ember.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.ObjectProxy || o instanceof Ember.ArrayProxy));\n  }\n});","define(\"ember-validators/utils/validation-error\", [\"exports\"], function (exports) {\n  /**\n   * Copyright 2016, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  \"use strict\";\n\n  exports[\"default\"] = validationError;\n\n  function validationError(type, value, context, message) {\n    return { type: type, value: value, context: context, message: message };\n  }\n});","define('ember-wormhole/components/ember-wormhole', ['exports', 'ember', 'ember-wormhole/templates/components/ember-wormhole', 'ember-wormhole/utils/dom'], function (exports, _ember, _emberWormholeTemplatesComponentsEmberWormhole, _emberWormholeUtilsDom) {\n  'use strict';\n\n  var Component = _ember['default'].Component;\n  var computed = _ember['default'].computed;\n  var observer = _ember['default'].observer;\n  var run = _ember['default'].run;\n\n  exports['default'] = Component.extend({\n    layout: _emberWormholeTemplatesComponentsEmberWormhole['default'],\n\n    /*\n     * Attrs\n     */\n    to: computed.alias('destinationElementId'),\n    destinationElementId: null,\n    destinationElement: computed('destinationElementId', 'renderInPlace', function () {\n      var renderInPlace = this.get('renderInPlace');\n      if (renderInPlace) {\n        return this._element;\n      }\n      var id = this.get('destinationElementId');\n      if (!id) {\n        return null;\n      }\n      return (0, _emberWormholeUtilsDom.findElementById)(this._dom, id);\n    }),\n    renderInPlace: false,\n\n    /*\n     * Lifecycle\n     */\n    init: function init() {\n      this._super.apply(this, arguments);\n\n      this._dom = (0, _emberWormholeUtilsDom.getDOM)(this);\n\n      // Create text nodes used for the head, tail\n      this._wormholeHeadNode = this._dom.createTextNode('');\n      this._wormholeTailNode = this._dom.createTextNode('');\n\n      // A prop to help in the mocking of didInsertElement timing for Fastboot\n      this._didInsert = false;\n    },\n\n    /*\n     * didInsertElement does not fire in Fastboot. Here we use willRender and\n     * a _didInsert property to approximate the timing. Importantly we want\n     * to run appendToDestination after the child nodes have rendered.\n     */\n    willRender: function willRender() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n      if (!this._didInsert) {\n        this._didInsert = true;\n        run.schedule('afterRender', function () {\n          if (_this.isDestroyed) {\n            return;\n          }\n          _this._element = _this._wormholeHeadNode.parentNode;\n          if (!_this._element) {\n            throw new Error('The head node of a wormhole must be attached to the DOM');\n          }\n          _this._appendToDestination();\n        });\n      }\n    },\n\n    willDestroyElement: function willDestroyElement() {\n      var _this2 = this;\n\n      // not called in fastboot\n      this._super.apply(this, arguments);\n      this._didInsert = false;\n      var _wormholeHeadNode = this._wormholeHeadNode;\n      var _wormholeTailNode = this._wormholeTailNode;\n\n      run.schedule('render', function () {\n        _this2._removeRange(_wormholeHeadNode, _wormholeTailNode);\n      });\n    },\n\n    _destinationDidChange: observer('destinationElement', function () {\n      var destinationElement = this.get('destinationElement');\n      if (destinationElement !== this._wormholeHeadNode.parentNode) {\n        run.schedule('render', this, '_appendToDestination');\n      }\n    }),\n\n    _appendToDestination: function _appendToDestination() {\n      var destinationElement = this.get('destinationElement');\n      if (!destinationElement) {\n        var destinationElementId = this.get('destinationElementId');\n        if (destinationElementId) {\n          throw new Error('ember-wormhole failed to render into \\'#' + this.get('destinationElementId') + '\\' because the element is not in the DOM');\n        }\n        throw new Error('ember-wormhole failed to render content because the destinationElementId was set to an undefined or falsy value.');\n      }\n\n      var currentActiveElement = (0, _emberWormholeUtilsDom.getActiveElement)();\n      this._appendRange(destinationElement, this._wormholeHeadNode, this._wormholeTailNode);\n      if (currentActiveElement && (0, _emberWormholeUtilsDom.getActiveElement)() !== currentActiveElement) {\n        currentActiveElement.focus();\n      }\n    },\n\n    _appendRange: function _appendRange(destinationElement, firstNode, lastNode) {\n      while (firstNode) {\n        destinationElement.insertBefore(firstNode, null);\n        firstNode = firstNode !== lastNode ? lastNode.parentNode.firstChild : null;\n      }\n    },\n\n    _removeRange: function _removeRange(firstNode, lastNode) {\n      var node = lastNode;\n      do {\n        var next = node.previousSibling;\n        if (node.parentNode) {\n          node.parentNode.removeChild(node);\n          if (node === firstNode) {\n            break;\n          }\n        }\n        node = next;\n      } while (node);\n    }\n\n  });\n});","define(\"ember-wormhole/templates/components/ember-wormhole\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"JQKaJUaB\", \"block\": \"{\\\"statements\\\":[[\\\"append\\\",[\\\"helper\\\",[\\\"unbound\\\"],[[\\\"get\\\",[\\\"_wormholeHeadNode\\\"]]],null],false],[\\\"yield\\\",\\\"default\\\"],[\\\"append\\\",[\\\"helper\\\",[\\\"unbound\\\"],[[\\\"get\\\",[\\\"_wormholeTailNode\\\"]]],null],false]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"blocks\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"modules/ember-wormhole/templates/components/ember-wormhole.hbs\" } });\n});","define('ember-wormhole/utils/dom', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  exports.getActiveElement = getActiveElement;\n  exports.findElementById = findElementById;\n  exports.getDOM = getDOM;\n\n  /*\n   * Implement some helpers methods for interacting with the DOM,\n   * be it Fastboot's SimpleDOM or the browser's version.\n   */\n\n  var getOwner = _ember['default'].getOwner;\n\n  function getActiveElement() {\n    if (typeof document === 'undefined') {\n      return null;\n    } else {\n      return document.activeElement;\n    }\n  }\n\n  function childNodesOfElement(element) {\n    var children = [];\n    var child = element.firstChild;\n    while (child) {\n      children.push(child);\n      child = child.nextSibling;\n    }\n    return children;\n  }\n\n  function findElementById(doc, id) {\n    if (doc.getElementById) {\n      return doc.getElementById(id);\n    }\n\n    var nodes = childNodesOfElement(doc);\n    var node = undefined;\n\n    while (nodes.length) {\n      node = nodes.shift();\n\n      if (node.getAttribute && node.getAttribute('id') === id) {\n        return node;\n      }\n\n      nodes = childNodesOfElement(node).concat(nodes);\n    }\n  }\n\n  // Private Ember API usage. Get the dom implementation used by the current\n  // renderer, be it native browser DOM or Fastboot SimpleDOM\n\n  function getDOM(context) {\n    var container = getOwner ? getOwner(context) : context.container;\n    var documentService = container.lookup('service:-document');\n\n    if (documentService) {\n      return documentService;\n    }\n\n    var renderer = container.lookup('renderer:-dom');\n\n    if (renderer._dom && renderer._dom.document) {\n      // pre Ember 2.6\n      return renderer._dom.document;\n    } else {\n      throw new Error('ember-wormhole could not get DOM');\n    }\n  }\n});","define('moment/index', ['exports', 'ember'], function (exports, _ember) {\n  /* globals self */\n\n  'use strict';\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});","/* jshint ignore:start */\n\n\n\n/* jshint ignore:end */\n","/**\n * @license Highstock JS v5.0.10 (2017-03-31)\n *\n * (c) 2009-2016 Torstein Honsi\n *\n * License: www.highcharts.com/license\n */\n'use strict';\n(function(root, factory) {\n    if (typeof module === 'object' && module.exports) {\n        module.exports = root.document ?\n            factory(root) :\n            factory;\n    } else {\n        root.Highcharts = factory(root);\n    }\n}(typeof window !== 'undefined' ? window : this, function(win) {\n    var Highcharts = (function() {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        /* global window */\n        var win = window,\n            doc = win.document;\n\n        var SVG_NS = 'http://www.w3.org/2000/svg',\n            userAgent = (win.navigator && win.navigator.userAgent) || '',\n            svg = doc && doc.createElementNS && !!doc.createElementNS(SVG_NS, 'svg').createSVGRect,\n            isMS = /(edge|msie|trident)/i.test(userAgent) && !window.opera,\n            vml = !svg,\n            isFirefox = /Firefox/.test(userAgent),\n            hasBidiBug = isFirefox && parseInt(userAgent.split('Firefox/')[1], 10) < 4; // issue #38\n\n        var Highcharts = win.Highcharts ? win.Highcharts.error(16, true) : {\n            product: 'Highstock',\n            version: '5.0.10',\n            deg2rad: Math.PI * 2 / 360,\n            doc: doc,\n            hasBidiBug: hasBidiBug,\n            hasTouch: doc && doc.documentElement.ontouchstart !== undefined,\n            isMS: isMS,\n            isWebKit: /AppleWebKit/.test(userAgent),\n            isFirefox: isFirefox,\n            isTouchDevice: /(Mobile|Android|Windows Phone)/.test(userAgent),\n            SVG_NS: SVG_NS,\n            chartCount: 0,\n            seriesTypes: {},\n            symbolSizes: {},\n            svg: svg,\n            vml: vml,\n            win: win,\n            charts: [],\n            marginNames: ['plotTop', 'marginRight', 'marginBottom', 'plotLeft'],\n            noop: function() {\n                return undefined;\n            }\n        };\n        return Highcharts;\n    }());\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        /* eslint max-len: [\"warn\", 80, 4] */\n\n        /**\n         * The Highcharts object is the placeholder for all other members, and various\n         * utility functions.\n         * @namespace Highcharts\n         */\n\n        var timers = [];\n\n        var charts = H.charts,\n            doc = H.doc,\n            win = H.win;\n\n        /**\n         * Provide error messages for debugging, with links to online explanation. This\n         * function can be overridden to provide custom error handling.\n         *\n         * @function #error\n         * @memberOf Highcharts\n         * @param {Number|String} code - The error code. See [errors.xml]{@link \n         *     https://github.com/highcharts/highcharts/blob/master/errors/errors.xml}\n         *     for available codes. If it is a string, the error message is printed\n         *     directly in the console.\n         * @param {Boolean} [stop=false] - Whether to throw an error or just log a \n         *     warning in the console.\n         */\n        H.error = function(code, stop) {\n            var msg = H.isNumber(code) ?\n                'Highcharts error #' + code + ': www.highcharts.com/errors/' + code :\n                code;\n            if (stop) {\n                throw new Error(msg);\n            }\n            // else ...\n            if (win.console) {\n                console.log(msg); // eslint-disable-line no-console\n            }\n        };\n\n        /**\n         * An animator object. One instance applies to one property (attribute or style\n         * prop) on one element.\n         *\n         * @constructor Fx\n         * @memberOf Highcharts\n         * @param {HTMLDOMElement|SVGElement} elem - The element to animate.\n         * @param {AnimationOptions} options - Animation options.\n         * @param {string} prop - The single attribute or CSS property to animate.\n         */\n        H.Fx = function(elem, options, prop) {\n            this.options = options;\n            this.elem = elem;\n            this.prop = prop;\n        };\n        H.Fx.prototype = {\n\n            /**\n             * Set the current step of a path definition on SVGElement.\n             *\n             * @function #dSetter\n             * @memberOf Highcharts.Fx\n             */\n            dSetter: function() {\n                var start = this.paths[0],\n                    end = this.paths[1],\n                    ret = [],\n                    now = this.now,\n                    i = start.length,\n                    startVal;\n\n                // Land on the final path without adjustment points appended in the ends\n                if (now === 1) {\n                    ret = this.toD;\n\n                } else if (i === end.length && now < 1) {\n                    while (i--) {\n                        startVal = parseFloat(start[i]);\n                        ret[i] =\n                            isNaN(startVal) ? // a letter instruction like M or L\n                            start[i] :\n                            now * (parseFloat(end[i] - startVal)) + startVal;\n\n                    }\n                    // If animation is finished or length not matching, land on right value\n                } else {\n                    ret = end;\n                }\n                this.elem.attr('d', ret, null, true);\n            },\n\n            /**\n             * Update the element with the current animation step.\n             *\n             * @function #update\n             * @memberOf Highcharts.Fx\n             */\n            update: function() {\n                var elem = this.elem,\n                    prop = this.prop, // if destroyed, it is null\n                    now = this.now,\n                    step = this.options.step;\n\n                // Animation setter defined from outside\n                if (this[prop + 'Setter']) {\n                    this[prop + 'Setter']();\n\n                    // Other animations on SVGElement\n                } else if (elem.attr) {\n                    if (elem.element) {\n                        elem.attr(prop, now, null, true);\n                    }\n\n                    // HTML styles, raw HTML content like container size\n                } else {\n                    elem.style[prop] = now + this.unit;\n                }\n\n                if (step) {\n                    step.call(elem, now, this);\n                }\n\n            },\n\n            /**\n             * Run an animation.\n             *\n             * @function #run\n             * @memberOf Highcharts.Fx\n             * @param {Number} from - The current value, value to start from.\n             * @param {Number} to - The end value, value to land on.\n             * @param {String} [unit] - The property unit, for example `px`.\n             * @returns {void}\n             */\n            run: function(from, to, unit) {\n                var self = this,\n                    timer = function(gotoEnd) {\n                        return timer.stopped ? false : self.step(gotoEnd);\n                    },\n                    i;\n\n                this.startTime = +new Date();\n                this.start = from;\n                this.end = to;\n                this.unit = unit;\n                this.now = this.start;\n                this.pos = 0;\n\n                timer.elem = this.elem;\n                timer.prop = this.prop;\n\n                if (timer() && timers.push(timer) === 1) {\n                    timer.timerId = setInterval(function() {\n\n                        for (i = 0; i < timers.length; i++) {\n                            if (!timers[i]()) {\n                                timers.splice(i--, 1);\n                            }\n                        }\n\n                        if (!timers.length) {\n                            clearInterval(timer.timerId);\n                        }\n                    }, 13);\n                }\n            },\n\n            /**\n             * Run a single step in the animation.\n             *\n             * @function #step\n             * @memberOf Highcharts.Fx\n             * @param   {Boolean} [gotoEnd] - Whether to go to the endpoint of the\n             *     animation after abort.\n             * @returns {Boolean} Returns `true` if animation continues.\n             */\n            step: function(gotoEnd) {\n                var t = +new Date(),\n                    ret,\n                    done,\n                    options = this.options,\n                    elem = this.elem,\n                    complete = options.complete,\n                    duration = options.duration,\n                    curAnim = options.curAnim,\n                    i;\n\n                if (elem.attr && !elem.element) { // #2616, element is destroyed\n                    ret = false;\n\n                } else if (gotoEnd || t >= duration + this.startTime) {\n                    this.now = this.end;\n                    this.pos = 1;\n                    this.update();\n\n                    curAnim[this.prop] = true;\n\n                    done = true;\n                    for (i in curAnim) {\n                        if (curAnim[i] !== true) {\n                            done = false;\n                        }\n                    }\n\n                    if (done && complete) {\n                        complete.call(elem);\n                    }\n                    ret = false;\n\n                } else {\n                    this.pos = options.easing((t - this.startTime) / duration);\n                    this.now = this.start + ((this.end - this.start) * this.pos);\n                    this.update();\n                    ret = true;\n                }\n                return ret;\n            },\n\n            /**\n             * Prepare start and end values so that the path can be animated one to one.\n             *\n             * @function #initPath\n             * @memberOf Highcharts.Fx\n             * @param {SVGElement} elem - The SVGElement item.\n             * @param {String} fromD - Starting path definition.\n             * @param {Array} toD - Ending path definition.\n             * @returns {Array} An array containing start and end paths in array form\n             * so that they can be animated in parallel.\n             */\n            initPath: function(elem, fromD, toD) {\n                fromD = fromD || '';\n                var shift,\n                    startX = elem.startX,\n                    endX = elem.endX,\n                    bezier = fromD.indexOf('C') > -1,\n                    numParams = bezier ? 7 : 3,\n                    fullLength,\n                    slice,\n                    i,\n                    start = fromD.split(' '),\n                    end = toD.slice(), // copy\n                    isArea = elem.isArea,\n                    positionFactor = isArea ? 2 : 1,\n                    reverse;\n\n                /**\n                 * In splines make moveTo and lineTo points have six parameters like\n                 * bezier curves, to allow animation one-to-one.\n                 */\n                function sixify(arr) {\n                    var isOperator,\n                        nextIsOperator;\n                    i = arr.length;\n                    while (i--) {\n\n                        // Fill in dummy coordinates only if the next operator comes\n                        // three places behind (#5788)\n                        isOperator = arr[i] === 'M' || arr[i] === 'L';\n                        nextIsOperator = /[a-zA-Z]/.test(arr[i + 3]);\n                        if (isOperator && nextIsOperator) {\n                            arr.splice(\n                                i + 1, 0,\n                                arr[i + 1], arr[i + 2],\n                                arr[i + 1], arr[i + 2]\n                            );\n                        }\n                    }\n                }\n\n                /**\n                 * Insert an array at the given position of another array\n                 */\n                function insertSlice(arr, subArr, index) {\n                    [].splice.apply(\n                        arr, [index, 0].concat(subArr)\n                    );\n                }\n\n                /**\n                 * If shifting points, prepend a dummy point to the end path. \n                 */\n                function prepend(arr, other) {\n                    while (arr.length < fullLength) {\n\n                        // Move to, line to or curve to?\n                        arr[0] = other[fullLength - arr.length];\n\n                        // Prepend a copy of the first point\n                        insertSlice(arr, arr.slice(0, numParams), 0);\n\n                        // For areas, the bottom path goes back again to the left, so we\n                        // need to append a copy of the last point.\n                        if (isArea) {\n                            insertSlice(\n                                arr,\n                                arr.slice(arr.length - numParams), arr.length\n                            );\n                            i--;\n                        }\n                    }\n                    arr[0] = 'M';\n                }\n\n                /**\n                 * Copy and append last point until the length matches the end length\n                 */\n                function append(arr, other) {\n                    var i = (fullLength - arr.length) / numParams;\n                    while (i > 0 && i--) {\n\n                        // Pull out the slice that is going to be appended or inserted.\n                        // In a line graph, the positionFactor is 1, and the last point\n                        // is sliced out. In an area graph, the positionFactor is 2,\n                        // causing the middle two points to be sliced out, since an area\n                        // path starts at left, follows the upper path then turns and\n                        // follows the bottom back. \n                        slice = arr.slice().splice(\n                            (arr.length / positionFactor) - numParams,\n                            numParams * positionFactor\n                        );\n\n                        // Move to, line to or curve to?\n                        slice[0] = other[fullLength - numParams - (i * numParams)];\n\n                        // Disable first control point\n                        if (bezier) {\n                            slice[numParams - 6] = slice[numParams - 2];\n                            slice[numParams - 5] = slice[numParams - 1];\n                        }\n\n                        // Now insert the slice, either in the middle (for areas) or at\n                        // the end (for lines)\n                        insertSlice(arr, slice, arr.length / positionFactor);\n\n                        if (isArea) {\n                            i--;\n                        }\n                    }\n                }\n\n                if (bezier) {\n                    sixify(start);\n                    sixify(end);\n                }\n\n                // For sideways animation, find out how much we need to shift to get the\n                // start path Xs to match the end path Xs.\n                if (startX && endX) {\n                    for (i = 0; i < startX.length; i++) {\n                        // Moving left, new points coming in on right\n                        if (startX[i] === endX[0]) {\n                            shift = i;\n                            break;\n                            // Moving right\n                        } else if (startX[0] ===\n                            endX[endX.length - startX.length + i]) {\n                            shift = i;\n                            reverse = true;\n                            break;\n                        }\n                    }\n                    if (shift === undefined) {\n                        start = [];\n                    }\n                }\n\n                if (start.length && H.isNumber(shift)) {\n\n                    // The common target length for the start and end array, where both \n                    // arrays are padded in opposite ends\n                    fullLength = end.length + shift * positionFactor * numParams;\n\n                    if (!reverse) {\n                        prepend(end, start);\n                        append(start, end);\n                    } else {\n                        prepend(start, end);\n                        append(end, start);\n                    }\n                }\n\n                return [start, end];\n            }\n        }; // End of Fx prototype\n\n\n        /**\n         * Utility function to extend an object with the members of another.\n         *\n         * @function #extend\n         * @memberOf Highcharts\n         * @param {Object} a - The object to be extended.\n         * @param {Object} b - The object to add to the first one.\n         * @returns {Object} Object a, the original object.\n         */\n        H.extend = function(a, b) {\n            var n;\n            if (!a) {\n                a = {};\n            }\n            for (n in b) {\n                a[n] = b[n];\n            }\n            return a;\n        };\n\n        /**\n         * Utility function to deep merge two or more objects and return a third object.\n         * If the first argument is true, the contents of the second object is copied\n         * into the first object. The merge function can also be used with a single \n         * object argument to create a deep copy of an object.\n         *\n         * @function #merge\n         * @memberOf Highcharts\n         * @param {Boolean} [extend] - Whether to extend the left-side object (a) or\n                  return a whole new object.\n         * @param {Object} a - The first object to extend. When only this is given, the\n                  function returns a deep copy.\n         * @param {...Object} [n] - An object to merge into the previous one.\n         * @returns {Object} - The merged object. If the first argument is true, the \n         * return is the same as the second argument.\n         */\n        H.merge = function() {\n            var i,\n                args = arguments,\n                len,\n                ret = {},\n                doCopy = function(copy, original) {\n                    var value, key;\n\n                    // An object is replacing a primitive\n                    if (typeof copy !== 'object') {\n                        copy = {};\n                    }\n\n                    for (key in original) {\n                        if (original.hasOwnProperty(key)) {\n                            value = original[key];\n\n                            // Copy the contents of objects, but not arrays or DOM nodes\n                            if (H.isObject(value, true) &&\n                                key !== 'renderTo' &&\n                                typeof value.nodeType !== 'number') {\n                                copy[key] = doCopy(copy[key] || {}, value);\n\n                                // Primitives and arrays are copied over directly\n                            } else {\n                                copy[key] = original[key];\n                            }\n                        }\n                    }\n                    return copy;\n                };\n\n            // If first argument is true, copy into the existing object. Used in\n            // setOptions.\n            if (args[0] === true) {\n                ret = args[1];\n                args = Array.prototype.slice.call(args, 2);\n            }\n\n            // For each argument, extend the return\n            len = args.length;\n            for (i = 0; i < len; i++) {\n                ret = doCopy(ret, args[i]);\n            }\n\n            return ret;\n        };\n\n        /**\n         * Shortcut for parseInt\n         * @ignore\n         * @param {Object} s\n         * @param {Number} mag Magnitude\n         */\n        H.pInt = function(s, mag) {\n            return parseInt(s, mag || 10);\n        };\n\n        /**\n         * Utility function to check for string type.\n         *\n         * @function #isString\n         * @memberOf Highcharts\n         * @param {Object} s - The item to check.\n         * @returns {Boolean} - True if the argument is a string.\n         */\n        H.isString = function(s) {\n            return typeof s === 'string';\n        };\n\n        /**\n         * Utility function to check if an item is an array.\n         *\n         * @function #isArray\n         * @memberOf Highcharts\n         * @param {Object} obj - The item to check.\n         * @returns {Boolean} - True if the argument is an array.\n         */\n        H.isArray = function(obj) {\n            var str = Object.prototype.toString.call(obj);\n            return str === '[object Array]' || str === '[object Array Iterator]';\n        };\n\n        /**\n         * Utility function to check if an item is of type object.\n         *\n         * @function #isObject\n         * @memberOf Highcharts\n         * @param {Object} obj - The item to check.\n         * @param {Boolean} [strict=false] - Also checks that the object is not an\n         *    array.\n         * @returns {Boolean} - True if the argument is an object.\n         */\n        H.isObject = function(obj, strict) {\n            return obj && typeof obj === 'object' && (!strict || !H.isArray(obj));\n        };\n\n        /**\n         * Utility function to check if an item is of type number.\n         *\n         * @function #isNumber\n         * @memberOf Highcharts\n         * @param {Object} n - The item to check.\n         * @returns {Boolean} - True if the item is a number and is not NaN.\n         */\n        H.isNumber = function(n) {\n            return typeof n === 'number' && !isNaN(n);\n        };\n\n        /**\n         * Remove the last occurence of an item from an array.\n         *\n         * @function #erase\n         * @memberOf Highcharts\n         * @param {Array} arr - The array.\n         * @param {*} item - The item to remove.\n         */\n        H.erase = function(arr, item) {\n            var i = arr.length;\n            while (i--) {\n                if (arr[i] === item) {\n                    arr.splice(i, 1);\n                    break;\n                }\n            }\n        };\n\n        /**\n         * Check if an object is null or undefined.\n         *\n         * @function #defined\n         * @memberOf Highcharts\n         * @param {Object} obj - The object to check.\n         * @returns {Boolean} - False if the object is null or undefined, otherwise\n         *        true.\n         */\n        H.defined = function(obj) {\n            return obj !== undefined && obj !== null;\n        };\n\n        /**\n         * Set or get an attribute or an object of attributes. To use as a setter, pass\n         * a key and a value, or let the second argument be a collection of keys and\n         * values. To use as a getter, pass only a string as the second argument.\n         *\n         * @function #attr\n         * @memberOf Highcharts\n         * @param {Object} elem - The DOM element to receive the attribute(s).\n         * @param {String|Object} [prop] - The property or an object of key-value pairs.\n         * @param {String} [value] - The value if a single property is set.\n         * @returns {*} When used as a getter, return the value.\n         */\n        H.attr = function(elem, prop, value) {\n            var key,\n                ret;\n\n            // if the prop is a string\n            if (H.isString(prop)) {\n                // set the value\n                if (H.defined(value)) {\n                    elem.setAttribute(prop, value);\n\n                    // get the value\n                } else if (elem && elem.getAttribute) {\n                    ret = elem.getAttribute(prop);\n                }\n\n                // else if prop is defined, it is a hash of key/value pairs\n            } else if (H.defined(prop) && H.isObject(prop)) {\n                for (key in prop) {\n                    elem.setAttribute(key, prop[key]);\n                }\n            }\n            return ret;\n        };\n\n        /**\n         * Check if an element is an array, and if not, make it into an array.\n         *\n         * @function #splat\n         * @memberOf Highcharts\n         * @param obj {*} - The object to splat.\n         * @returns {Array} The produced or original array.\n         */\n        H.splat = function(obj) {\n            return H.isArray(obj) ? obj : [obj];\n        };\n\n        /**\n         * Set a timeout if the delay is given, otherwise perform the function\n         * synchronously.\n         *\n         * @function #syncTimeout\n         * @memberOf Highcharts\n         * @param   {Function} fn - The function callback.\n         * @param   {Number}   delay - Delay in milliseconds.\n         * @param   {Object}   [context] - The context.\n         * @returns {Number} An identifier for the timeout that can later be cleared\n         * with clearTimeout.\n         */\n        H.syncTimeout = function(fn, delay, context) {\n            if (delay) {\n                return setTimeout(fn, delay, context);\n            }\n            fn.call(0, context);\n        };\n\n\n        /**\n         * Return the first value that is not null or undefined.\n         *\n         * @function #pick\n         * @memberOf Highcharts\n         * @param {...*} items - Variable number of arguments to inspect.\n         * @returns {*} The value of the first argument that is not null or undefined.\n         */\n        H.pick = function() {\n            var args = arguments,\n                i,\n                arg,\n                length = args.length;\n            for (i = 0; i < length; i++) {\n                arg = args[i];\n                if (arg !== undefined && arg !== null) {\n                    return arg;\n                }\n            }\n        };\n\n        /**\n         * @typedef {Object} CSSObject - A style object with camel case property names.\n         * The properties can be whatever styles are supported on the given SVG or HTML\n         * element.\n         * @example\n         * {\n         *    fontFamily: 'monospace',\n         *    fontSize: '1.2em'\n         * }\n         */\n        /**\n         * Set CSS on a given element.\n         *\n         * @function #css\n         * @memberOf Highcharts\n         * @param {HTMLDOMElement} el - A HTML DOM element.\n         * @param {CSSObject} styles - Style object with camel case property names.\n         * @returns {void}\n         */\n        H.css = function(el, styles) {\n            if (H.isMS && !H.svg) { // #2686\n                if (styles && styles.opacity !== undefined) {\n                    styles.filter = 'alpha(opacity=' + (styles.opacity * 100) + ')';\n                }\n            }\n            H.extend(el.style, styles);\n        };\n\n        /**\n         * A HTML DOM element.\n         * @typedef {Object} HTMLDOMElement\n         */\n\n        /**\n         * Utility function to create an HTML element with attributes and styles.\n         *\n         * @function #createElement\n         * @memberOf Highcharts\n         * @param {String} tag - The HTML tag.\n         * @param {Object} [attribs] - Attributes as an object of key-value pairs.\n         * @param {CSSObject} [styles] - Styles as an object of key-value pairs.\n         * @param {Object} [parent] - The parent HTML object.\n         * @param {Boolean} [nopad=false] - If true, remove all padding, border and\n         *    margin.\n         * @returns {HTMLDOMElement} The created DOM element.\n         */\n        H.createElement = function(tag, attribs, styles, parent, nopad) {\n            var el = doc.createElement(tag),\n                css = H.css;\n            if (attribs) {\n                H.extend(el, attribs);\n            }\n            if (nopad) {\n                css(el, {\n                    padding: 0,\n                    border: 'none',\n                    margin: 0\n                });\n            }\n            if (styles) {\n                css(el, styles);\n            }\n            if (parent) {\n                parent.appendChild(el);\n            }\n            return el;\n        };\n\n        /**\n         * Extend a prototyped class by new members.\n         *\n         * @function #extendClass\n         * @memberOf Highcharts\n         * @param {Object} parent - The parent prototype to inherit.\n         * @param {Object} members - A collection of prototype members to add or\n         *        override compared to the parent prototype.\n         * @returns {Object} A new prototype.\n         */\n        H.extendClass = function(parent, members) {\n            var object = function() {};\n            object.prototype = new parent(); // eslint-disable-line new-cap\n            H.extend(object.prototype, members);\n            return object;\n        };\n\n        /**\n         * Left-pad a string to a given length by adding a character repetetively.\n         *\n         * @function #pad\n         * @memberOf Highcharts\n         * @param {Number} number - The input string or number.\n         * @param {Number} length - The desired string length.\n         * @param {String} [padder=0] - The character to pad with.\n         * @returns {String} The padded string.\n         */\n        H.pad = function(number, length, padder) {\n            return new Array((length || 2) + 1 -\n                String(number).length).join(padder || 0) + number;\n        };\n\n        /**\n         * @typedef {Number|String} RelativeSize - If a number is given, it defines the\n         *    pixel length. If a percentage string is given, like for example `'50%'`,\n         *    the setting defines a length relative to a base size, for example the size\n         *    of a container.\n         */\n        /**\n         * Return a length based on either the integer value, or a percentage of a base.\n         *\n         * @function #relativeLength\n         * @memberOf Highcharts\n         * @param {RelativeSize} value - A percentage string or a number.\n         * @param {Number} base - The full length that represents 100%.\n         * @returns {Number} The computed length.\n         */\n        H.relativeLength = function(value, base) {\n            return (/%$/).test(value) ?\n                base * parseFloat(value) / 100 :\n                parseFloat(value);\n        };\n\n        /**\n         * Wrap a method with extended functionality, preserving the original function.\n         *\n         * @function #wrap\n         * @memberOf Highcharts\n         * @param {Object} obj - The context object that the method belongs to. In real\n         *        cases, this is often a prototype.\n         * @param {String} method - The name of the method to extend.\n         * @param {Function} func - A wrapper function callback. This function is called\n         *        with the same arguments as the original function, except that the\n         *        original function is unshifted and passed as the first argument.\n         * @returns {void}\n         */\n        H.wrap = function(obj, method, func) {\n            var proceed = obj[method];\n            obj[method] = function() {\n                var args = Array.prototype.slice.call(arguments),\n                    outerArgs = arguments,\n                    ctx = this,\n                    ret;\n                ctx.proceed = function() {\n                    proceed.apply(ctx, arguments.length ? arguments : outerArgs);\n                };\n                args.unshift(proceed);\n                ret = func.apply(this, args);\n                ctx.proceed = null;\n                return ret;\n            };\n        };\n\n        /**\n         * Get the time zone offset based on the current timezone information as set in\n         * the global options.\n         *\n         * @function #getTZOffset\n         * @memberOf Highcharts\n         * @param  {Number} timestamp - The JavaScript timestamp to inspect.\n         * @return {Number} - The timezone offset in minutes compared to UTC.\n         */\n        H.getTZOffset = function(timestamp) {\n            var d = H.Date;\n            return ((d.hcGetTimezoneOffset && d.hcGetTimezoneOffset(timestamp)) ||\n                d.hcTimezoneOffset || 0) * 60000;\n        };\n\n        /**\n         * Format a date, based on the syntax for PHP's [strftime]{@link\n         * http://www.php.net/manual/en/function.strftime.php} function.\n         *\n         * @function #dateFormat\n         * @memberOf Highcharts\n         * @param {String} format - The desired format where various time\n         *        representations are prefixed with %.\n         * @param {Number} timestamp - The JavaScript timestamp.\n         * @param {Boolean} [capitalize=false] - Upper case first letter in the return.\n         * @returns {String} The formatted date.\n         */\n        H.dateFormat = function(format, timestamp, capitalize) {\n            if (!H.defined(timestamp) || isNaN(timestamp)) {\n                return H.defaultOptions.lang.invalidDate || '';\n            }\n            format = H.pick(format, '%Y-%m-%d %H:%M:%S');\n\n            var D = H.Date,\n                date = new D(timestamp - H.getTZOffset(timestamp)),\n                key, // used in for constuct below\n                // get the basic time values\n                hours = date[D.hcGetHours](),\n                day = date[D.hcGetDay](),\n                dayOfMonth = date[D.hcGetDate](),\n                month = date[D.hcGetMonth](),\n                fullYear = date[D.hcGetFullYear](),\n                lang = H.defaultOptions.lang,\n                langWeekdays = lang.weekdays,\n                shortWeekdays = lang.shortWeekdays,\n                pad = H.pad,\n\n                // List all format keys. Custom formats can be added from the outside. \n                replacements = H.extend({\n\n                    //-- Day\n                    // Short weekday, like 'Mon'\n                    'a': shortWeekdays ?\n                        shortWeekdays[day] : langWeekdays[day].substr(0, 3),\n                    // Long weekday, like 'Monday'\n                    'A': langWeekdays[day],\n                    // Two digit day of the month, 01 to 31\n                    'd': pad(dayOfMonth),\n                    // Day of the month, 1 through 31\n                    'e': pad(dayOfMonth, 2, ' '),\n                    'w': day,\n\n                    // Week (none implemented)\n                    //'W': weekNumber(),\n\n                    //-- Month\n                    // Short month, like 'Jan'\n                    'b': lang.shortMonths[month],\n                    // Long month, like 'January'\n                    'B': lang.months[month],\n                    // Two digit month number, 01 through 12\n                    'm': pad(month + 1),\n\n                    //-- Year\n                    // Two digits year, like 09 for 2009\n                    'y': fullYear.toString().substr(2, 2),\n                    // Four digits year, like 2009\n                    'Y': fullYear,\n\n                    //-- Time\n                    // Two digits hours in 24h format, 00 through 23\n                    'H': pad(hours),\n                    // Hours in 24h format, 0 through 23\n                    'k': hours,\n                    // Two digits hours in 12h format, 00 through 11\n                    'I': pad((hours % 12) || 12),\n                    // Hours in 12h format, 1 through 12\n                    'l': (hours % 12) || 12,\n                    // Two digits minutes, 00 through 59\n                    'M': pad(date[D.hcGetMinutes]()),\n                    // Upper case AM or PM\n                    'p': hours < 12 ? 'AM' : 'PM',\n                    // Lower case AM or PM\n                    'P': hours < 12 ? 'am' : 'pm',\n                    // Two digits seconds, 00 through  59\n                    'S': pad(date.getSeconds()),\n                    // Milliseconds (naming from Ruby)\n                    'L': pad(Math.round(timestamp % 1000), 3)\n                }, H.dateFormats);\n\n\n            // Do the replaces\n            for (key in replacements) {\n                // Regex would do it in one line, but this is faster\n                while (format.indexOf('%' + key) !== -1) {\n                    format = format.replace(\n                        '%' + key,\n                        typeof replacements[key] === 'function' ?\n                        replacements[key](timestamp) :\n                        replacements[key]\n                    );\n                }\n            }\n\n            // Optionally capitalize the string and return\n            return capitalize ?\n                format.substr(0, 1).toUpperCase() + format.substr(1) :\n                format;\n        };\n\n        /**\n         * Format a single variable. Similar to sprintf, without the % prefix.\n         *\n         * @example\n         * formatSingle('.2f', 5); // => '5.00'.\n         *\n         * @function #formatSingle\n         * @memberOf Highcharts\n         * @param {String} format The format string.\n         * @param {*} val The value.\n         * @returns {String} The formatted representation of the value.\n         */\n        H.formatSingle = function(format, val) {\n            var floatRegex = /f$/,\n                decRegex = /\\.([0-9])/,\n                lang = H.defaultOptions.lang,\n                decimals;\n\n            if (floatRegex.test(format)) { // float\n                decimals = format.match(decRegex);\n                decimals = decimals ? decimals[1] : -1;\n                if (val !== null) {\n                    val = H.numberFormat(\n                        val,\n                        decimals,\n                        lang.decimalPoint,\n                        format.indexOf(',') > -1 ? lang.thousandsSep : ''\n                    );\n                }\n            } else {\n                val = H.dateFormat(format, val);\n            }\n            return val;\n        };\n\n        /**\n         * Format a string according to a subset of the rules of Python's String.format\n         * method.\n         *\n         * @function #format\n         * @memberOf Highcharts\n         * @param {String} str The string to format.\n         * @param {Object} ctx The context, a collection of key-value pairs where each\n         *        key is replaced by its value.\n         * @returns {String} The formatted string.\n         *\n         * @example\n         * var s = Highcharts.format(\n         *     'The {color} fox was {len:.2f} feet long',\n         *     { color: 'red', len: Math.PI }\n         * );\n         * // => The red fox was 3.14 feet long\n         */\n        H.format = function(str, ctx) {\n            var splitter = '{',\n                isInside = false,\n                segment,\n                valueAndFormat,\n                path,\n                i,\n                len,\n                ret = [],\n                val,\n                index;\n\n            while (str) {\n                index = str.indexOf(splitter);\n                if (index === -1) {\n                    break;\n                }\n\n                segment = str.slice(0, index);\n                if (isInside) { // we're on the closing bracket looking back\n\n                    valueAndFormat = segment.split(':');\n                    path = valueAndFormat.shift().split('.'); // get first and leave\n                    len = path.length;\n                    val = ctx;\n\n                    // Assign deeper paths\n                    for (i = 0; i < len; i++) {\n                        val = val[path[i]];\n                    }\n\n                    // Format the replacement\n                    if (valueAndFormat.length) {\n                        val = H.formatSingle(valueAndFormat.join(':'), val);\n                    }\n\n                    // Push the result and advance the cursor\n                    ret.push(val);\n\n                } else {\n                    ret.push(segment);\n\n                }\n                str = str.slice(index + 1); // the rest\n                isInside = !isInside; // toggle\n                splitter = isInside ? '}' : '{'; // now look for next matching bracket\n            }\n            ret.push(str);\n            return ret.join('');\n        };\n\n        /**\n         * Get the magnitude of a number.\n         *\n         * @function #getMagnitude\n         * @memberOf Highcharts\n         * @param {Number} number The number.\n         * @returns {Number} The magnitude, where 1-9 are magnitude 1, 10-99 magnitude 2\n         *        etc.\n         */\n        H.getMagnitude = function(num) {\n            return Math.pow(10, Math.floor(Math.log(num) / Math.LN10));\n        };\n\n        /**\n         * Take an interval and normalize it to multiples of round numbers.\n         *\n         * @todo  Move this function to the Axis prototype. It is here only for\n         *        historical reasons.\n         * @function #normalizeTickInterval\n         * @memberOf Highcharts\n         * @param {Number} interval - The raw, un-rounded interval.\n         * @param {Array} [multiples] - Allowed multiples.\n         * @param {Number} [magnitude] - The magnitude of the number.\n         * @param {Boolean} [allowDecimals] - Whether to allow decimals.\n         * @param {Boolean} [hasTickAmount] - If it has tickAmount, avoid landing\n         *        on tick intervals lower than original.\n         * @returns {Number} The normalized interval.\n         */\n        H.normalizeTickInterval = function(interval, multiples, magnitude,\n            allowDecimals, hasTickAmount) {\n            var normalized,\n                i,\n                retInterval = interval;\n\n            // round to a tenfold of 1, 2, 2.5 or 5\n            magnitude = H.pick(magnitude, 1);\n            normalized = interval / magnitude;\n\n            // multiples for a linear scale\n            if (!multiples) {\n                multiples = hasTickAmount ?\n                    // Finer grained ticks when the tick amount is hard set, including\n                    // when alignTicks is true on multiple axes (#4580).\n                    [1, 1.2, 1.5, 2, 2.5, 3, 4, 5, 6, 8, 10] :\n\n                    // Else, let ticks fall on rounder numbers\n                    [1, 2, 2.5, 5, 10];\n\n\n                // the allowDecimals option\n                if (allowDecimals === false) {\n                    if (magnitude === 1) {\n                        multiples = H.grep(multiples, function(num) {\n                            return num % 1 === 0;\n                        });\n                    } else if (magnitude <= 0.1) {\n                        multiples = [1 / magnitude];\n                    }\n                }\n            }\n\n            // normalize the interval to the nearest multiple\n            for (i = 0; i < multiples.length; i++) {\n                retInterval = multiples[i];\n                // only allow tick amounts smaller than natural\n                if ((hasTickAmount && retInterval * magnitude >= interval) ||\n                    (!hasTickAmount && (normalized <= (multiples[i] +\n                        (multiples[i + 1] || multiples[i])) / 2))) {\n                    break;\n                }\n            }\n\n            // Multiply back to the correct magnitude. Correct floats to appropriate \n            // precision (#6085).\n            retInterval = H.correctFloat(\n                retInterval * magnitude, -Math.round(Math.log(0.001) / Math.LN10)\n            );\n\n            return retInterval;\n        };\n\n\n        /**\n         * Sort an object array and keep the order of equal items. The ECMAScript\n         * standard does not specify the behaviour when items are equal.\n         *\n         * @function #stableSort\n         * @memberOf Highcharts\n         * @param {Array} arr - The array to sort.\n         * @param {Function} sortFunction - The function to sort it with, like with \n         *        regular Array.prototype.sort.\n         * @returns {void}\n         */\n        H.stableSort = function(arr, sortFunction) {\n            var length = arr.length,\n                sortValue,\n                i;\n\n            // Add index to each item\n            for (i = 0; i < length; i++) {\n                arr[i].safeI = i; // stable sort index\n            }\n\n            arr.sort(function(a, b) {\n                sortValue = sortFunction(a, b);\n                return sortValue === 0 ? a.safeI - b.safeI : sortValue;\n            });\n\n            // Remove index from items\n            for (i = 0; i < length; i++) {\n                delete arr[i].safeI; // stable sort index\n            }\n        };\n\n        /**\n         * Non-recursive method to find the lowest member of an array. `Math.min` raises\n         * a maximum call stack size exceeded error in Chrome when trying to apply more\n         * than 150.000 points. This method is slightly slower, but safe.\n         *\n         * @function #arrayMin\n         * @memberOf  Highcharts\n         * @param {Array} data An array of numbers.\n         * @returns {Number} The lowest number.\n         */\n        H.arrayMin = function(data) {\n            var i = data.length,\n                min = data[0];\n\n            while (i--) {\n                if (data[i] < min) {\n                    min = data[i];\n                }\n            }\n            return min;\n        };\n\n        /**\n         * Non-recursive method to find the lowest member of an array. `Math.max` raises\n         * a maximum call stack size exceeded error in Chrome when trying to apply more\n         * than 150.000 points. This method is slightly slower, but safe.\n         *\n         * @function #arrayMax\n         * @memberOf  Highcharts\n         * @param {Array} data - An array of numbers.\n         * @returns {Number} The highest number.\n         */\n        H.arrayMax = function(data) {\n            var i = data.length,\n                max = data[0];\n\n            while (i--) {\n                if (data[i] > max) {\n                    max = data[i];\n                }\n            }\n            return max;\n        };\n\n        /**\n         * Utility method that destroys any SVGElement instances that are properties on\n         * the given object. It loops all properties and invokes destroy if there is a\n         * destroy method. The property is then delete.\n         *\n         * @function #destroyObjectProperties\n         * @memberOf Highcharts\n         * @param {Object} obj - The object to destroy properties on.\n         * @param {Object} [except] - Exception, do not destroy this property, only\n         *    delete it.\n         * @returns {void}\n         */\n        H.destroyObjectProperties = function(obj, except) {\n            var n;\n            for (n in obj) {\n                // If the object is non-null and destroy is defined\n                if (obj[n] && obj[n] !== except && obj[n].destroy) {\n                    // Invoke the destroy\n                    obj[n].destroy();\n                }\n\n                // Delete the property from the object.\n                delete obj[n];\n            }\n        };\n\n\n        /**\n         * Discard a HTML element by moving it to the bin and delete.\n         *\n         * @function #discardElement\n         * @memberOf Highcharts\n         * @param {HTMLDOMElement} element - The HTML node to discard.\n         * @returns {void}\n         */\n        H.discardElement = function(element) {\n            var garbageBin = H.garbageBin;\n            // create a garbage bin element, not part of the DOM\n            if (!garbageBin) {\n                garbageBin = H.createElement('div');\n            }\n\n            // move the node and empty bin\n            if (element) {\n                garbageBin.appendChild(element);\n            }\n            garbageBin.innerHTML = '';\n        };\n\n        /**\n         * Fix JS round off float errors.\n         *\n         * @function #correctFloat\n         * @memberOf Highcharts\n         * @param {Number} num - A float number to fix.\n         * @param {Number} [prec=14] - The precision.\n         * @returns {Number} The corrected float number.\n         */\n        H.correctFloat = function(num, prec) {\n            return parseFloat(\n                num.toPrecision(prec || 14)\n            );\n        };\n\n        /**\n         * Set the global animation to either a given value, or fall back to the given\n         * chart's animation option.\n         *\n         * @function #setAnimation\n         * @memberOf Highcharts\n         * @param {Boolean|Animation} animation - The animation object.\n         * @param {Object} chart - The chart instance.\n         * @returns {void}\n         * @todo This function always relates to a chart, and sets a property on the\n         *        renderer, so it should be moved to the SVGRenderer.\n         */\n        H.setAnimation = function(animation, chart) {\n            chart.renderer.globalAnimation = H.pick(\n                animation,\n                chart.options.chart.animation,\n                true\n            );\n        };\n\n        /**\n         * Get the animation in object form, where a disabled animation is always\n         * returned as `{ duration: 0 }`.\n         *\n         * @function #animObject\n         * @memberOf Highcharts\n         * @param {Boolean|AnimationOptions} animation - An animation setting. Can be an\n         *        object with duration, complete and easing properties, or a boolean to\n         *        enable or disable.\n         * @returns {AnimationOptions} An object with at least a duration property.\n         */\n        H.animObject = function(animation) {\n            return H.isObject(animation) ?\n                H.merge(animation) : {\n                    duration: animation ? 500 : 0\n                };\n        };\n\n        /**\n         * The time unit lookup\n         */\n        H.timeUnits = {\n            millisecond: 1,\n            second: 1000,\n            minute: 60000,\n            hour: 3600000,\n            day: 24 * 3600000,\n            week: 7 * 24 * 3600000,\n            month: 28 * 24 * 3600000,\n            year: 364 * 24 * 3600000\n        };\n\n        /**\n         * Format a number and return a string based on input settings.\n         *\n         * @function #numberFormat\n         * @memberOf Highcharts\n         * @param {Number} number - The input number to format.\n         * @param {Number} decimals - The amount of decimals. A value of -1 preserves\n         *        the amount in the input number.\n         * @param {String} [decimalPoint] - The decimal point, defaults to the one given\n         *        in the lang options.\n         * @param {String} [thousandsSep] - The thousands separator, defaults to the one\n         *        given in the lang options.\n         * @returns {String} The formatted number.\n         */\n        H.numberFormat = function(number, decimals, decimalPoint, thousandsSep) {\n            number = +number || 0;\n            decimals = +decimals;\n\n            var lang = H.defaultOptions.lang,\n                origDec = (number.toString().split('.')[1] || '').length,\n                strinteger,\n                thousands,\n                ret,\n                roundedNumber;\n\n            if (decimals === -1) {\n                // Preserve decimals. Not huge numbers (#3793).\n                decimals = Math.min(origDec, 20);\n            } else if (!H.isNumber(decimals)) {\n                decimals = 2;\n            }\n\n            // Add another decimal to avoid rounding errors of float numbers. (#4573)\n            // Then use toFixed to handle rounding.\n            roundedNumber = (\n                Math.abs(number) + Math.pow(10, -Math.max(decimals, origDec) - 1)\n            ).toFixed(decimals);\n\n            // A string containing the positive integer component of the number\n            strinteger = String(H.pInt(roundedNumber));\n\n            // Leftover after grouping into thousands. Can be 0, 1 or 3.\n            thousands = strinteger.length > 3 ? strinteger.length % 3 : 0;\n\n            // Language\n            decimalPoint = H.pick(decimalPoint, lang.decimalPoint);\n            thousandsSep = H.pick(thousandsSep, lang.thousandsSep);\n\n            // Start building the return\n            ret = number < 0 ? '-' : '';\n\n            // Add the leftover after grouping into thousands. For example, in the\n            // number 42 000 000, this line adds 42.\n            ret += thousands ? strinteger.substr(0, thousands) + thousandsSep : '';\n\n            // Add the remaining thousands groups, joined by the thousands separator\n            ret += strinteger\n                .substr(thousands)\n                .replace(/(\\d{3})(?=\\d)/g, '$1' + thousandsSep);\n\n            // Add the decimal point and the decimal component\n            if (decimals) {\n                // Get the decimal component\n                ret += decimalPoint + roundedNumber.slice(-decimals);\n            }\n\n            return ret;\n        };\n\n        /**\n         * Easing definition\n         * @ignore\n         * @param   {Number} pos Current position, ranging from 0 to 1.\n         */\n        Math.easeInOutSine = function(pos) {\n            return -0.5 * (Math.cos(Math.PI * pos) - 1);\n        };\n\n        /**\n         * Get the computed CSS value for given element and property, only for numerical\n         * properties. For width and height, the dimension of the inner box (excluding\n         * padding) is returned. Used for fitting the chart within the container.\n         *\n         * @function #getStyle\n         * @memberOf Highcharts\n         * @param {HTMLDOMElement} el - A HTML element.\n         * @param {String} prop - The property name.\n         * @returns {Number} - The numeric value.\n         */\n        H.getStyle = function(el, prop) {\n\n            var style;\n\n            // For width and height, return the actual inner pixel size (#4913)\n            if (prop === 'width') {\n                return Math.min(el.offsetWidth, el.scrollWidth) -\n                    H.getStyle(el, 'padding-left') -\n                    H.getStyle(el, 'padding-right');\n            } else if (prop === 'height') {\n                return Math.min(el.offsetHeight, el.scrollHeight) -\n                    H.getStyle(el, 'padding-top') -\n                    H.getStyle(el, 'padding-bottom');\n            }\n\n            // Otherwise, get the computed style\n            style = win.getComputedStyle(el, undefined);\n            return style && H.pInt(style.getPropertyValue(prop));\n        };\n\n        /**\n         * Search for an item in an array.\n         *\n         * @function #inArray\n         * @memberOf Highcharts\n         * @param {*} item - The item to search for.\n         * @param {arr} arr - The array or node collection to search in.\n         * @returns {Number} - The index within the array, or -1 if not found.\n         */\n        H.inArray = function(item, arr) {\n            return arr.indexOf ? arr.indexOf(item) : [].indexOf.call(arr, item);\n        };\n\n        /**\n         * Filter an array by a callback.\n         *\n         * @function #grep\n         * @memberOf Highcharts\n         * @param {Array} arr - The array to filter.\n         * @param {Function} callback - The callback function. The function receives the\n         *        item as the first argument. Return `true` if the item is to be\n         *        preserved.\n         * @returns {Array} - A new, filtered array.\n         */\n        H.grep = function(arr, callback) {\n            return [].filter.call(arr, callback);\n        };\n\n        /**\n         * Return the value of the first element in the array that satisfies the \n         * provided testing function.\n         *\n         * @function #find\n         * @memberOf Highcharts\n         * @param {Array} arr - The array to test.\n         * @param {Function} callback - The callback function. The function receives the\n         *        item as the first argument. Return `true` if this item satisfies the\n         *        condition.\n         * @returns {Mixed} - The value of the element.\n         */\n        H.find = function(arr, callback) {\n            return [].find.call(arr, callback);\n        };\n\n        /**\n         * Map an array by a callback.\n         *\n         * @function #map\n         * @memberOf Highcharts\n         * @param {Array} arr - The array to map.\n         * @param {Function} fn - The callback function. Return the new value for the \n         *        new array.\n         * @returns {Array} - A new array item with modified items.\n         */\n        H.map = function(arr, fn) {\n            var results = [],\n                i = 0,\n                len = arr.length;\n\n            for (; i < len; i++) {\n                results[i] = fn.call(arr[i], arr[i], i, arr);\n            }\n\n            return results;\n        };\n\n        /**\n         * Get the element's offset position, corrected for `overflow: auto`.\n         *\n         * @function #offset\n         * @memberOf Highcharts\n         * @param {HTMLDOMElement} el - The HTML element.\n         * @returns {Object} An object containing `left` and `top` properties for the\n         * position in the page.\n         */\n        H.offset = function(el) {\n            var docElem = doc.documentElement,\n                box = el.getBoundingClientRect();\n\n            return {\n                top: box.top + (win.pageYOffset || docElem.scrollTop) -\n                    (docElem.clientTop || 0),\n                left: box.left + (win.pageXOffset || docElem.scrollLeft) -\n                    (docElem.clientLeft || 0)\n            };\n        };\n\n        /**\n         * Stop running animation.\n         *\n         * @todo A possible extension to this would be to stop a single property, when\n         * we want to continue animating others. Then assign the prop to the timer\n         * in the Fx.run method, and check for the prop here. This would be an\n         * improvement in all cases where we stop the animation from .attr. Instead of\n         * stopping everything, we can just stop the actual attributes we're setting.\n         *\n         * @function #stop\n         * @memberOf Highcharts\n         * @param {SVGElement} el - The SVGElement to stop animation on.\n         * @param {string} [prop] - The property to stop animating. If given, the stop\n         *    method will stop a single property from animating, while others continue.\n         * @returns {void}\n         */\n        H.stop = function(el, prop) {\n\n            var i = timers.length;\n\n            // Remove timers related to this element (#4519)\n            while (i--) {\n                if (timers[i].elem === el && (!prop || prop === timers[i].prop)) {\n                    timers[i].stopped = true; // #4667\n                }\n            }\n        };\n\n        /**\n         * Iterate over an array.\n         *\n         * @function #each\n         * @memberOf Highcharts\n         * @param {Array} arr - The array to iterate over.\n         * @param {Function} fn - The iterator callback. It passes three arguments:\n         * * item - The array item.\n         * * index - The item's index in the array.\n         * * arr - The array that each is being applied to.\n         * @param {Object} [ctx] The context.\n         */\n        H.each = function(arr, fn, ctx) { // modern browsers\n            return Array.prototype.forEach.call(arr, fn, ctx);\n        };\n\n        /**\n         * Add an event listener.\n         *\n         * @function #addEvent\n         * @memberOf Highcharts\n         * @param {Object} el - The element or object to add a listener to. It can be a\n         *        {@link HTMLDOMElement}, an {@link SVGElement} or any other object.\n         * @param {String} type - The event type.\n         * @param {Function} fn - The function callback to execute when the event is \n         *        fired.\n         * @returns {Function} A callback function to remove the added event.\n         */\n        H.addEvent = function(el, type, fn) {\n\n            var events = el.hcEvents = el.hcEvents || {};\n\n            function wrappedFn(e) {\n                e.target = e.srcElement || win; // #2820\n                fn.call(el, e);\n            }\n\n            // Handle DOM events in modern browsers\n            if (el.addEventListener) {\n                el.addEventListener(type, fn, false);\n\n                // Handle old IE implementation\n            } else if (el.attachEvent) {\n\n                if (!el.hcEventsIE) {\n                    el.hcEventsIE = {};\n                }\n\n                // Link wrapped fn with original fn, so we can get this in removeEvent\n                el.hcEventsIE[fn.toString()] = wrappedFn;\n\n                el.attachEvent('on' + type, wrappedFn);\n            }\n\n            if (!events[type]) {\n                events[type] = [];\n            }\n\n            events[type].push(fn);\n\n            // Return a function that can be called to remove this event.\n            return function() {\n                H.removeEvent(el, type, fn);\n            };\n        };\n\n        /**\n         * Remove an event that was added with {@link Highcharts#addEvent}.\n         *\n         * @function #removeEvent\n         * @memberOf Highcharts\n         * @param {Object} el - The element to remove events on.\n         * @param {String} [type] - The type of events to remove. If undefined, all\n         *        events are removed from the element.\n         * @param {Function} [fn] - The specific callback to remove. If undefined, all\n         *        events that match the element and optionally the type are removed.\n         * @returns {void}\n         */\n        H.removeEvent = function(el, type, fn) {\n\n            var events,\n                hcEvents = el.hcEvents,\n                index;\n\n            function removeOneEvent(type, fn) {\n                if (el.removeEventListener) {\n                    el.removeEventListener(type, fn, false);\n                } else if (el.attachEvent) {\n                    fn = el.hcEventsIE[fn.toString()];\n                    el.detachEvent('on' + type, fn);\n                }\n            }\n\n            function removeAllEvents() {\n                var types,\n                    len,\n                    n;\n\n                if (!el.nodeName) {\n                    return; // break on non-DOM events\n                }\n\n                if (type) {\n                    types = {};\n                    types[type] = true;\n                } else {\n                    types = hcEvents;\n                }\n\n                for (n in types) {\n                    if (hcEvents[n]) {\n                        len = hcEvents[n].length;\n                        while (len--) {\n                            removeOneEvent(n, hcEvents[n][len]);\n                        }\n                    }\n                }\n            }\n\n            if (hcEvents) {\n                if (type) {\n                    events = hcEvents[type] || [];\n                    if (fn) {\n                        index = H.inArray(fn, events);\n                        if (index > -1) {\n                            events.splice(index, 1);\n                            hcEvents[type] = events;\n                        }\n                        removeOneEvent(type, fn);\n\n                    } else {\n                        removeAllEvents();\n                        hcEvents[type] = [];\n                    }\n                } else {\n                    removeAllEvents();\n                    el.hcEvents = {};\n                }\n            }\n        };\n\n        /**\n         * Fire an event that was registered with {@link Highcharts#addEvent}.\n         *\n         * @function #fireEvent\n         * @memberOf Highcharts\n         * @param {Object} el - The object to fire the event on. It can be a\n         *        {@link HTMLDOMElement}, an {@link SVGElement} or any other object.\n         * @param {String} type - The type of event.\n         * @param {Object} [eventArguments] - Custom event arguments that are passed on\n         *        as an argument to the event handler.\n         * @param {Function} [defaultFunction] - The default function to execute if the \n         *        other listeners haven't returned false.\n         * @returns {void}\n         */\n        H.fireEvent = function(el, type, eventArguments, defaultFunction) {\n            var e,\n                hcEvents = el.hcEvents,\n                events,\n                len,\n                i,\n                fn;\n\n            eventArguments = eventArguments || {};\n\n            if (doc.createEvent && (el.dispatchEvent || el.fireEvent)) {\n                e = doc.createEvent('Events');\n                e.initEvent(type, true, true);\n                //e.target = el;\n\n                H.extend(e, eventArguments);\n\n                if (el.dispatchEvent) {\n                    el.dispatchEvent(e);\n                } else {\n                    el.fireEvent(type, e);\n                }\n\n            } else if (hcEvents) {\n\n                events = hcEvents[type] || [];\n                len = events.length;\n\n                if (!eventArguments.target) { // We're running a custom event\n\n                    H.extend(eventArguments, {\n                        // Attach a simple preventDefault function to skip default\n                        // handler if called. The built-in defaultPrevented property is\n                        // not overwritable (#5112)\n                        preventDefault: function() {\n                            eventArguments.defaultPrevented = true;\n                        },\n                        // Setting target to native events fails with clicking the\n                        // zoom-out button in Chrome.\n                        target: el,\n                        // If the type is not set, we're running a custom event (#2297).\n                        // If it is set, we're running a browser event, and setting it\n                        // will cause en error in IE8 (#2465).\t\t\n                        type: type\n                    });\n                }\n\n\n                for (i = 0; i < len; i++) {\n                    fn = events[i];\n\n                    // If the event handler return false, prevent the default handler\n                    // from executing\n                    if (fn && fn.call(el, eventArguments) === false) {\n                        eventArguments.preventDefault();\n                    }\n                }\n            }\n\n            // Run the default if not prevented\n            if (defaultFunction && !eventArguments.defaultPrevented) {\n                defaultFunction(eventArguments);\n            }\n        };\n\n        /**\n         * An animation configuration. Animation configurations can also be defined as\n         * booleans, where `false` turns off animation and `true` defaults to a duration\n         * of 500ms.\n         * @typedef {Object} AnimationOptions\n         * @property {Number} duration - The animation duration in milliseconds.\n         * @property {String} [easing] - The name of an easing function as defined on\n         *     the `Math` object.\n         * @property {Function} [complete] - A callback function to exectute when the\n         *     animation finishes.\n         * @property {Function} [step] - A callback function to execute on each step of\n         *     each attribute or CSS property that's being animated. The first argument\n         *     contains information about the animation and progress.\n         */\n\n\n        /**\n         * The global animate method, which uses Fx to create individual animators.\n         *\n         * @function #animate\n         * @memberOf Highcharts\n         * @param {HTMLDOMElement|SVGElement} el - The element to animate.\n         * @param {Object} params - An object containing key-value pairs of the\n         *        properties to animate. Supports numeric as pixel-based CSS properties\n         *        for HTML objects and attributes for SVGElements.\n         * @param {AnimationOptions} [opt] - Animation options.\n         */\n        H.animate = function(el, params, opt) {\n            var start,\n                unit = '',\n                end,\n                fx,\n                args,\n                prop;\n\n            if (!H.isObject(opt)) { // Number or undefined/null\n                args = arguments;\n                opt = {\n                    duration: args[2],\n                    easing: args[3],\n                    complete: args[4]\n                };\n            }\n            if (!H.isNumber(opt.duration)) {\n                opt.duration = 400;\n            }\n            opt.easing = typeof opt.easing === 'function' ?\n                opt.easing :\n                (Math[opt.easing] || Math.easeInOutSine);\n            opt.curAnim = H.merge(params);\n\n            for (prop in params) {\n\n                // Stop current running animation of this property\n                H.stop(el, prop);\n\n                fx = new H.Fx(el, opt, prop);\n                end = null;\n\n                if (prop === 'd') {\n                    fx.paths = fx.initPath(\n                        el,\n                        el.d,\n                        params.d\n                    );\n                    fx.toD = params.d;\n                    start = 0;\n                    end = 1;\n                } else if (el.attr) {\n                    start = el.attr(prop);\n                } else {\n                    start = parseFloat(H.getStyle(el, prop)) || 0;\n                    if (prop !== 'opacity') {\n                        unit = 'px';\n                    }\n                }\n\n                if (!end) {\n                    end = params[prop];\n                }\n                if (end && end.match && end.match('px')) {\n                    end = end.replace(/px/g, ''); // #4351\n                }\n                fx.run(start, end, unit);\n            }\n        };\n\n        /**\n         * Factory to create new series prototypes.\n         *\n         * @function #seriesType\n         * @memberOf Highcharts\n         *\n         * @param {String} type - The series type name.\n         * @param {String} parent - The parent series type name. Use `line` to inherit\n         *        from the basic {@link Series} object.\n         * @param {Object} options - The additional default options that is merged with\n         *        the parent's options.\n         * @param {Object} props - The properties (functions and primitives) to set on\n         *        the new prototype.\n         * @param {Object} [pointProps] - Members for a series-specific extension of the\n         *        {@link Point} prototype if needed.\n         * @returns {*} - The newly created prototype as extended from {@link Series}\n         * or its derivatives.\n         */\n        // docs: add to API + extending Highcharts\n        H.seriesType = function(type, parent, options, props, pointProps) {\n            var defaultOptions = H.getOptions(),\n                seriesTypes = H.seriesTypes;\n\n            // Merge the options\n            defaultOptions.plotOptions[type] = H.merge(\n                defaultOptions.plotOptions[parent],\n                options\n            );\n\n            // Create the class\n            seriesTypes[type] = H.extendClass(seriesTypes[parent] ||\n                function() {}, props);\n            seriesTypes[type].prototype.type = type;\n\n            // Create the point class if needed\n            if (pointProps) {\n                seriesTypes[type].prototype.pointClass =\n                    H.extendClass(H.Point, pointProps);\n            }\n\n            return seriesTypes[type];\n        };\n\n        /**\n         * Get a unique key for using in internal element id's and pointers. The key\n         * is composed of a random hash specific to this Highcharts instance, and a \n         * counter.\n         * @function #uniqueKey\n         * @memberOf Highcharts\n         * @return {string} The key.\n         * @example\n         * var id = H.uniqueKey(); // => 'highcharts-x45f6hp-0'\n         */\n        H.uniqueKey = (function() {\n\n            var uniqueKeyHash = Math.random().toString(36).substring(2, 9),\n                idCounter = 0;\n\n            return function() {\n                return 'highcharts-' + uniqueKeyHash + '-' + idCounter++;\n            };\n        }());\n\n        /**\n         * Register Highcharts as a plugin in jQuery\n         */\n        if (win.jQuery) {\n            win.jQuery.fn.highcharts = function() {\n                var args = [].slice.call(arguments);\n\n                if (this[0]) { // this[0] is the renderTo div\n\n                    // Create the chart\n                    if (args[0]) {\n                        new H[ // eslint-disable-line no-new\n                            // Constructor defaults to Chart\n                            H.isString(args[0]) ? args.shift() : 'Chart'\n                        ](this[0], args[0], args[1]);\n                        return this;\n                    }\n\n                    // When called without parameters or with the return argument,\n                    // return an existing chart\n                    return charts[H.attr(this[0], 'data-highcharts-chart')];\n                }\n            };\n        }\n\n\n        /**\n         * Compatibility section to add support for legacy IE. This can be removed if\n         * old IE support is not needed.\n         */\n        if (doc && !doc.defaultView) {\n            H.getStyle = function(el, prop) {\n                var val,\n                    alias = {\n                        width: 'clientWidth',\n                        height: 'clientHeight'\n                    }[prop];\n\n                if (el.style[prop]) {\n                    return H.pInt(el.style[prop]);\n                }\n                if (prop === 'opacity') {\n                    prop = 'filter';\n                }\n\n                // Getting the rendered width and height\n                if (alias) {\n                    el.style.zoom = 1;\n                    return Math.max(el[alias] - 2 * H.getStyle(el, 'padding'), 0);\n                }\n\n                val = el.currentStyle[prop.replace(/\\-(\\w)/g, function(a, b) {\n                    return b.toUpperCase();\n                })];\n                if (prop === 'filter') {\n                    val = val.replace(\n                        /alpha\\(opacity=([0-9]+)\\)/,\n                        function(a, b) {\n                            return b / 100;\n                        }\n                    );\n                }\n\n                return val === '' ? 1 : H.pInt(val);\n            };\n        }\n\n        if (!Array.prototype.forEach) {\n            H.each = function(arr, fn, ctx) { // legacy\n                var i = 0,\n                    len = arr.length;\n                for (; i < len; i++) {\n                    if (fn.call(ctx, arr[i], i, arr) === false) {\n                        return i;\n                    }\n                }\n            };\n        }\n\n        if (!Array.prototype.indexOf) {\n            H.inArray = function(item, arr) {\n                var len,\n                    i = 0;\n\n                if (arr) {\n                    len = arr.length;\n\n                    for (; i < len; i++) {\n                        if (arr[i] === item) {\n                            return i;\n                        }\n                    }\n                }\n\n                return -1;\n            };\n        }\n\n        if (!Array.prototype.filter) {\n            H.grep = function(elements, fn) {\n                var ret = [],\n                    i = 0,\n                    length = elements.length;\n\n                for (; i < length; i++) {\n                    if (fn(elements[i], i)) {\n                        ret.push(elements[i]);\n                    }\n                }\n\n                return ret;\n            };\n        }\n\n        if (!Array.prototype.find) {\n            H.find = function(arr, fn) {\n                var i,\n                    length = arr.length;\n\n                for (i = 0; i < length; i++) {\n                    if (fn(arr[i], i)) {\n                        return arr[i];\n                    }\n                }\n            };\n        }\n\n        //--- End compatibility section ---\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var each = H.each,\n            isNumber = H.isNumber,\n            map = H.map,\n            merge = H.merge,\n            pInt = H.pInt;\n\n        /**\n         * @typedef {string} ColorString\n         * A valid color to be parsed and handled by Highcharts. Highcharts internally \n         * supports hex colors like `#ffffff`, rgb colors like `rgb(255,255,255)` and\n         * rgba colors like `rgba(255,255,255,1)`. Other colors may be supported by the\n         * browsers and displayed correctly, but Highcharts is not able to process them\n         * and apply concepts like opacity and brightening.\n         */\n        /**\n         * Handle color operations. The object methods are chainable.\n         * @param {String} input The input color in either rbga or hex format\n         */\n        H.Color = function(input) {\n            // Backwards compatibility, allow instanciation without new\n            if (!(this instanceof H.Color)) {\n                return new H.Color(input);\n            }\n            // Initialize\n            this.init(input);\n        };\n        H.Color.prototype = {\n\n            // Collection of parsers. This can be extended from the outside by pushing parsers\n            // to Highcharts.Color.prototype.parsers.\n            parsers: [{\n                // RGBA color\n                regex: /rgba\\(\\s*([0-9]{1,3})\\s*,\\s*([0-9]{1,3})\\s*,\\s*([0-9]{1,3})\\s*,\\s*([0-9]?(?:\\.[0-9]+)?)\\s*\\)/,\n                parse: function(result) {\n                    return [pInt(result[1]), pInt(result[2]), pInt(result[3]), parseFloat(result[4], 10)];\n                }\n            }, {\n                // RGB color\n                regex: /rgb\\(\\s*([0-9]{1,3})\\s*,\\s*([0-9]{1,3})\\s*,\\s*([0-9]{1,3})\\s*\\)/,\n                parse: function(result) {\n                    return [pInt(result[1]), pInt(result[2]), pInt(result[3]), 1];\n                }\n            }],\n\n            // Collection of named colors. Can be extended from the outside by adding\n            // colors to Highcharts.Color.prototype.names.\n            names: {\n                white: '#ffffff',\n                black: '#000000'\n            },\n\n            /**\n             * Parse the input color to rgba array\n             * @param {String} input\n             */\n            init: function(input) {\n                var result,\n                    rgba,\n                    i,\n                    parser,\n                    len;\n\n                this.input = input = this.names[\n                    input && input.toLowerCase ?\n                    input.toLowerCase() :\n                    ''\n                ] || input;\n\n                // Gradients\n                if (input && input.stops) {\n                    this.stops = map(input.stops, function(stop) {\n                        return new H.Color(stop[1]);\n                    });\n\n                    // Solid colors\n                } else {\n\n                    // Check if it's possible to do bitmasking instead of regex\n                    if (input && input[0] === '#') {\n\n                        len = input.length;\n                        input = parseInt(input.substr(1), 16);\n\n                        // Handle long-form, e.g. #AABBCC\n                        if (len === 7) {\n\n                            rgba = [\n                                (input & 0xFF0000) >> 16,\n                                (input & 0xFF00) >> 8,\n                                (input & 0xFF),\n                                1\n                            ];\n\n                            // Handle short-form, e.g. #ABC\n                            // In short form, the value is assumed to be the same \n                            // for both nibbles for each component. e.g. #ABC = #AABBCC\n                        } else if (len === 4) {\n\n                            rgba = [\n                                ((input & 0xF00) >> 4) | (input & 0xF00) >> 8,\n                                ((input & 0xF0) >> 4) | (input & 0xF0),\n                                ((input & 0xF) << 4) | (input & 0xF),\n                                1\n                            ];\n                        }\n                    }\n\n                    // Otherwise, check regex parsers\n                    if (!rgba) {\n                        i = this.parsers.length;\n                        while (i-- && !rgba) {\n                            parser = this.parsers[i];\n                            result = parser.regex.exec(input);\n                            if (result) {\n                                rgba = parser.parse(result);\n                            }\n                        }\n                    }\n                }\n                this.rgba = rgba || [];\n            },\n\n            /**\n             * Return the color a specified format\n             * @param {String} format\n             */\n            get: function(format) {\n                var input = this.input,\n                    rgba = this.rgba,\n                    ret;\n\n                if (this.stops) {\n                    ret = merge(input);\n                    ret.stops = [].concat(ret.stops);\n                    each(this.stops, function(stop, i) {\n                        ret.stops[i] = [ret.stops[i][0], stop.get(format)];\n                    });\n\n                    // it's NaN if gradient colors on a column chart\n                } else if (rgba && isNumber(rgba[0])) {\n                    if (format === 'rgb' || (!format && rgba[3] === 1)) {\n                        ret = 'rgb(' + rgba[0] + ',' + rgba[1] + ',' + rgba[2] + ')';\n                    } else if (format === 'a') {\n                        ret = rgba[3];\n                    } else {\n                        ret = 'rgba(' + rgba.join(',') + ')';\n                    }\n                } else {\n                    ret = input;\n                }\n                return ret;\n            },\n\n            /**\n             * Brighten the color\n             * @param {Number} alpha\n             */\n            brighten: function(alpha) {\n                var i,\n                    rgba = this.rgba;\n\n                if (this.stops) {\n                    each(this.stops, function(stop) {\n                        stop.brighten(alpha);\n                    });\n\n                } else if (isNumber(alpha) && alpha !== 0) {\n                    for (i = 0; i < 3; i++) {\n                        rgba[i] += pInt(alpha * 255);\n\n                        if (rgba[i] < 0) {\n                            rgba[i] = 0;\n                        }\n                        if (rgba[i] > 255) {\n                            rgba[i] = 255;\n                        }\n                    }\n                }\n                return this;\n            },\n\n            /**\n             * Set the color's opacity to a given alpha value\n             * @param {Number} alpha\n             */\n            setOpacity: function(alpha) {\n                this.rgba[3] = alpha;\n                return this;\n            }\n        };\n        H.color = function(input) {\n            return new H.Color(input);\n        };\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var SVGElement,\n            SVGRenderer,\n\n            addEvent = H.addEvent,\n            animate = H.animate,\n            attr = H.attr,\n            charts = H.charts,\n            color = H.color,\n            css = H.css,\n            createElement = H.createElement,\n            defined = H.defined,\n            deg2rad = H.deg2rad,\n            destroyObjectProperties = H.destroyObjectProperties,\n            doc = H.doc,\n            each = H.each,\n            extend = H.extend,\n            erase = H.erase,\n            grep = H.grep,\n            hasTouch = H.hasTouch,\n            inArray = H.inArray,\n            isArray = H.isArray,\n            isFirefox = H.isFirefox,\n            isMS = H.isMS,\n            isObject = H.isObject,\n            isString = H.isString,\n            isWebKit = H.isWebKit,\n            merge = H.merge,\n            noop = H.noop,\n            pick = H.pick,\n            pInt = H.pInt,\n            removeEvent = H.removeEvent,\n            splat = H.splat,\n            stop = H.stop,\n            svg = H.svg,\n            SVG_NS = H.SVG_NS,\n            symbolSizes = H.symbolSizes,\n            win = H.win;\n\n        /**\n         * @typedef {Object} SVGDOMElement - An SVG DOM element.\n         */\n        /**\n         * The SVGElement prototype is a JavaScript wrapper for SVG elements used in the\n         * rendering layer of Highcharts. Combined with the {@link SVGRenderer} object,\n         * these prototypes allow freeform annotation in the charts or even in HTML\n         * pages without instanciating a chart. The SVGElement can also wrap HTML\n         * labels, when `text` or `label` elements are created with the `useHTML`\n         * parameter.\n         *\n         * The SVGElement instances are created through factory functions on the \n         * {@link SVGRenderer} object, like [rect]{@link SVGRenderer#rect},\n         * [path]{@link SVGRenderer#path}, [text]{@link SVGRenderer#text}, [label]{@link\n         * SVGRenderer#label}, [g]{@link SVGRenderer#g} and more.\n         *\n         * @class\n         */\n        SVGElement = H.SVGElement = function() {\n            return this;\n        };\n        SVGElement.prototype = {\n\n            // Default base for animation\n            opacity: 1,\n            SVG_NS: SVG_NS,\n\n            /**\n             * For labels, these CSS properties are applied to the `text` node directly.\n             * @type {Array.<string>}\n             */\n            textProps: ['direction', 'fontSize', 'fontWeight', 'fontFamily',\n                'fontStyle', 'color', 'lineHeight', 'width', 'textAlign',\n                'textDecoration', 'textOverflow', 'textOutline'\n            ],\n\n            /**\n             * Initialize the SVG renderer. This function only exists to make the\n             * initiation process overridable. It should not be called directly.\n             *\n             * @param {SVGRenderer} renderer The SVGRenderer instance to initialize to.\n             * @param {String} nodeName The SVG node name.\n             * @returns {void}\n             */\n            init: function(renderer, nodeName) {\n\n                /** \n                 * The DOM node. Each SVGRenderer instance wraps a main DOM node, but \n                 * may also represent more nodes.\n                 * @type {SVGDOMNode|HTMLDOMNode}\n                 */\n                this.element = nodeName === 'span' ?\n                    createElement(nodeName) :\n                    doc.createElementNS(this.SVG_NS, nodeName);\n\n                /**\n                 * The renderer that the SVGElement belongs to.\n                 * @type {SVGRenderer}\n                 */\n                this.renderer = renderer;\n            },\n\n            /**\n             * Animate to given attributes or CSS properties.\n             * \n             * @param {SVGAttributes} params SVG attributes or CSS to animate.\n             * @param {AnimationOptions} [options] Animation options.\n             * @param {Function} [complete] Function to perform at the end of animation.\n             * @returns {SVGElement} Returns the SVGElement for chaining.\n             */\n            animate: function(params, options, complete) {\n                var animOptions = H.animObject(\n                    pick(options, this.renderer.globalAnimation, true)\n                );\n                if (animOptions.duration !== 0) {\n                    if (complete) { // allows using a callback with the global animation without overwriting it\n                        animOptions.complete = complete;\n                    }\n                    animate(this, params, animOptions);\n                } else {\n                    this.attr(params, null, complete);\n                    if (animOptions.step) {\n                        animOptions.step.call(this);\n                    }\n                }\n                return this;\n            },\n\n            /**\n             * @typedef {Object} GradientOptions\n             * @property {Object} linearGradient Holds an object that defines the start\n             *    position and the end position relative to the shape.\n             * @property {Number} linearGradient.x1 Start horizontal position of the\n             *    gradient. Ranges 0-1.\n             * @property {Number} linearGradient.x2 End horizontal position of the\n             *    gradient. Ranges 0-1.\n             * @property {Number} linearGradient.y1 Start vertical position of the\n             *    gradient. Ranges 0-1.\n             * @property {Number} linearGradient.y2 End vertical position of the\n             *    gradient. Ranges 0-1.\n             * @property {Object} radialGradient Holds an object that defines the center\n             *    position and the radius.\n             * @property {Number} radialGradient.cx Center horizontal position relative\n             *    to the shape. Ranges 0-1.\n             * @property {Number} radialGradient.cy Center vertical position relative\n             *    to the shape. Ranges 0-1.\n             * @property {Number} radialGradient.r Radius relative to the shape. Ranges\n             *    0-1.\n             * @property {Array.<Array>} stops The first item in each tuple is the\n             *    position in the gradient, where 0 is the start of the gradient and 1\n             *    is the end of the gradient. Multiple stops can be applied. The second\n             *    item is the color for each stop. This color can also be given in the\n             *    rgba format.\n             *\n             * @example\n             * // Linear gradient used as a color option\n             * color: {\n             *     linearGradient: { x1: 0, x2: 0, y1: 0, y2: 1 },\n             *         stops: [\n             *             [0, '#003399'], // start\n             *             [0.5, '#ffffff'], // middle\n             *             [1, '#3366AA'] // end\n             *         ]\n             *     }\n             * }\n             */\n            /**\n             * Build and apply an SVG gradient out of a common JavaScript configuration\n             * object. This function is called from the attribute setters.\n             *\n             * @private\n             * @param {GradientOptions} color The gradient options structure.\n             * @param {string} prop The property to apply, can either be `fill` or\n             * `stroke`. \n             * @param {SVGDOMElement} elem SVG DOM element to apply the gradient on.\n             */\n            colorGradient: function(color, prop, elem) {\n                var renderer = this.renderer,\n                    colorObject,\n                    gradName,\n                    gradAttr,\n                    radAttr,\n                    gradients,\n                    gradientObject,\n                    stops,\n                    stopColor,\n                    stopOpacity,\n                    radialReference,\n                    n,\n                    id,\n                    key = [],\n                    value;\n\n                // Apply linear or radial gradients\n                if (color.radialGradient) {\n                    gradName = 'radialGradient';\n                } else if (color.linearGradient) {\n                    gradName = 'linearGradient';\n                }\n\n                if (gradName) {\n                    gradAttr = color[gradName];\n                    gradients = renderer.gradients;\n                    stops = color.stops;\n                    radialReference = elem.radialReference;\n\n                    // Keep < 2.2 kompatibility\n                    if (isArray(gradAttr)) {\n                        color[gradName] = gradAttr = {\n                            x1: gradAttr[0],\n                            y1: gradAttr[1],\n                            x2: gradAttr[2],\n                            y2: gradAttr[3],\n                            gradientUnits: 'userSpaceOnUse'\n                        };\n                    }\n\n                    // Correct the radial gradient for the radial reference system\n                    if (\n                        gradName === 'radialGradient' &&\n                        radialReference &&\n                        !defined(gradAttr.gradientUnits)\n                    ) {\n                        radAttr = gradAttr; // Save the radial attributes for updating\n                        gradAttr = merge(\n                            gradAttr,\n                            renderer.getRadialAttr(radialReference, radAttr), {\n                                gradientUnits: 'userSpaceOnUse'\n                            }\n                        );\n                    }\n\n                    // Build the unique key to detect whether we need to create a new element (#1282)\n                    for (n in gradAttr) {\n                        if (n !== 'id') {\n                            key.push(n, gradAttr[n]);\n                        }\n                    }\n                    for (n in stops) {\n                        key.push(stops[n]);\n                    }\n                    key = key.join(',');\n\n                    // Check if a gradient object with the same config object is created within this renderer\n                    if (gradients[key]) {\n                        id = gradients[key].attr('id');\n\n                    } else {\n\n                        // Set the id and create the element\n                        gradAttr.id = id = H.uniqueKey();\n                        gradients[key] = gradientObject = renderer.createElement(gradName)\n                            .attr(gradAttr)\n                            .add(renderer.defs);\n\n                        gradientObject.radAttr = radAttr;\n\n                        // The gradient needs to keep a list of stops to be able to destroy them\n                        gradientObject.stops = [];\n                        each(stops, function(stop) {\n                            var stopObject;\n                            if (stop[1].indexOf('rgba') === 0) {\n                                colorObject = H.color(stop[1]);\n                                stopColor = colorObject.get('rgb');\n                                stopOpacity = colorObject.get('a');\n                            } else {\n                                stopColor = stop[1];\n                                stopOpacity = 1;\n                            }\n                            stopObject = renderer.createElement('stop').attr({\n                                offset: stop[0],\n                                'stop-color': stopColor,\n                                'stop-opacity': stopOpacity\n                            }).add(gradientObject);\n\n                            // Add the stop element to the gradient\n                            gradientObject.stops.push(stopObject);\n                        });\n                    }\n\n                    // Set the reference to the gradient object\n                    value = 'url(' + renderer.url + '#' + id + ')';\n                    elem.setAttribute(prop, value);\n                    elem.gradient = key;\n\n                    // Allow the color to be concatenated into tooltips formatters etc. (#2995)\n                    color.toString = function() {\n                        return value;\n                    };\n                }\n            },\n\n            /**\n             * Apply a text outline through a custom CSS property, by copying the text\n             * element and apply stroke to the copy. Used internally. Contrast checks\n             * at http://jsfiddle.net/highcharts/43soe9m1/2/ .\n             *\n             * @private\n             * @param {String} textOutline A custom CSS `text-outline` setting, defined\n             *    by `width color`. \n             * @example\n             * // Specific color\n             * text.css({\n             *    textOutline: '1px black'\n             * });\n             * // Automatic contrast\n             * text.css({\n             *    color: '#000000', // black text\n             *    textOutline: '1px contrast' // => white outline\n             * });\n             */\n            applyTextOutline: function(textOutline) {\n                var elem = this.element,\n                    tspans,\n                    tspan,\n                    hasContrast = textOutline.indexOf('contrast') !== -1,\n                    styles = {},\n                    color,\n                    strokeWidth,\n                    firstRealChild,\n                    i;\n\n                // When the text shadow is set to contrast, use dark stroke for light\n                // text and vice versa.\n                if (hasContrast) {\n                    styles.textOutline = textOutline = textOutline.replace(\n                        /contrast/g,\n                        this.renderer.getContrast(elem.style.fill)\n                    );\n                }\n\n                // Extract the stroke width and color\n                textOutline = textOutline.split(' ');\n                color = textOutline[textOutline.length - 1];\n                strokeWidth = textOutline[0];\n\n                if (strokeWidth && strokeWidth !== 'none' && H.svg) {\n\n                    this.fakeTS = true; // Fake text shadow\n\n                    tspans = [].slice.call(elem.getElementsByTagName('tspan'));\n\n                    // In order to get the right y position of the clone,\n                    // copy over the y setter\n                    this.ySetter = this.xSetter;\n\n                    // Since the stroke is applied on center of the actual outline, we\n                    // need to double it to get the correct stroke-width outside the \n                    // glyphs.\n                    strokeWidth = strokeWidth.replace(\n                        /(^[\\d\\.]+)(.*?)$/g,\n                        function(match, digit, unit) {\n                            return (2 * digit) + unit;\n                        }\n                    );\n\n                    // Remove shadows from previous runs. Iterate from the end to\n                    // support removing items inside the cycle (#6472).\n                    i = tspans.length;\n                    while (i--) {\n                        tspan = tspans[i];\n                        if (tspan.getAttribute('class') === 'highcharts-text-outline') {\n                            // Remove then erase\n                            erase(tspans, elem.removeChild(tspan));\n                        }\n                    }\n\n                    // For each of the tspans, create a stroked copy behind it.\n                    firstRealChild = elem.firstChild;\n                    each(tspans, function(tspan, y) {\n                        var clone;\n\n                        // Let the first line start at the correct X position\n                        if (y === 0) {\n                            tspan.setAttribute('x', elem.getAttribute('x'));\n                            y = elem.getAttribute('y');\n                            tspan.setAttribute('y', y || 0);\n                            if (y === null) {\n                                elem.setAttribute('y', 0);\n                            }\n                        }\n\n                        // Create the clone and apply outline properties\n                        clone = tspan.cloneNode(1);\n                        attr(clone, {\n                            'class': 'highcharts-text-outline',\n                            'fill': color,\n                            'stroke': color,\n                            'stroke-width': strokeWidth,\n                            'stroke-linejoin': 'round'\n                        });\n                        elem.insertBefore(clone, firstRealChild);\n                    });\n                }\n            },\n\n            /**\n             *\n             * @typedef {Object} SVGAttributes An object of key-value pairs for SVG\n             *   attributes. Attributes in Highcharts elements for the most parts\n             *   correspond to SVG, but some are specific to Highcharts, like `zIndex`,\n             *   `rotation`, `translateX`, `translateY`, `scaleX` and `scaleY`. SVG\n             *   attributes containing a hyphen are _not_ camel-cased, they should be\n             *   quoted to preserve the hyphen.\n             * @example\n             * {\n             *     'stroke': '#ff0000', // basic\n             *     'stroke-width': 2, // hyphenated\n             *     'rotation': 45 // custom\n             *     'd': ['M', 10, 10, 'L', 30, 30, 'z'] // path definition, note format\n             * }\n             */\n            /**\n             * Apply native and custom attributes to the SVG elements.\n             * \n             * In order to set the rotation center for rotation, set x and y to 0 and\n             * use `translateX` and `translateY` attributes to position the element\n             * instead.\n             *\n             * Attributes frequently used in Highcharts are `fill`, `stroke`,\n             * `stroke-width`.\n             *\n             * @param {SVGAttributes|String} hash - The native and custom SVG\n             *    attributes. \n             * @param {string} [val] - If the type of the first argument is `string`, \n             *    the second can be a value, which will serve as a single attribute\n             *    setter. If the first argument is a string and the second is undefined,\n             *    the function serves as a getter and the current value of the property\n             *    is returned.\n             * @param {Function} complete - A callback function to execute after setting\n             *    the attributes. This makes the function compliant and interchangeable\n             *    with the {@link SVGElement#animate} function.\n             * @param {boolean} continueAnimation - Used internally when `.attr` is\n             *    called as part of an animation step. Otherwise, calling `.attr` for an\n             *    attribute will stop animation for that attribute.\n             *    \n             * @returns {SVGElement|string|number} If used as a setter, it returns the \n             *    current {@link SVGElement} so the calls can be chained. If used as a \n             *    getter, the current value of the attribute is returned.\n             * \n             * @example\n             * // Set multiple attributes\n             * element.attr({\n             *     stroke: 'red',\n             *     fill: 'blue',\n             *     x: 10,\n             *     y: 10\n             * });\n             *\n             * // Set a single attribute\n             * element.attr('stroke', 'red');\n             *\n             * // Get an attribute\n             * element.attr('stroke'); // => 'red'\n             * \n             */\n            attr: function(hash, val, complete, continueAnimation) {\n                var key,\n                    value,\n                    element = this.element,\n                    hasSetSymbolSize,\n                    ret = this,\n                    skipAttr,\n                    setter;\n\n                // single key-value pair\n                if (typeof hash === 'string' && val !== undefined) {\n                    key = hash;\n                    hash = {};\n                    hash[key] = val;\n                }\n\n                // used as a getter: first argument is a string, second is undefined\n                if (typeof hash === 'string') {\n                    ret = (this[hash + 'Getter'] || this._defaultGetter).call(this, hash, element);\n\n                    // setter\n                } else {\n\n                    for (key in hash) {\n                        value = hash[key];\n                        skipAttr = false;\n\n                        // Unless .attr is from the animator update, stop current\n                        // running animation of this property\n                        if (!continueAnimation) {\n                            stop(this, key);\n                        }\n\n                        // Special handling of symbol attributes\n                        if (\n                            this.symbolName &&\n                            /^(x|y|width|height|r|start|end|innerR|anchorX|anchorY)$/\n                            .test(key)\n                        ) {\n                            if (!hasSetSymbolSize) {\n                                this.symbolAttr(hash);\n                                hasSetSymbolSize = true;\n                            }\n                            skipAttr = true;\n                        }\n\n                        if (this.rotation && (key === 'x' || key === 'y')) {\n                            this.doTransform = true;\n                        }\n\n                        if (!skipAttr) {\n                            setter = this[key + 'Setter'] || this._defaultSetter;\n                            setter.call(this, value, key, element);\n\n\n                            // Let the shadow follow the main element\n                            if (this.shadows && /^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(key)) {\n                                this.updateShadows(key, value, setter);\n                            }\n\n                        }\n                    }\n\n                    // Update transform. Do this outside the loop to prevent redundant updating for batch setting\n                    // of attributes.\n                    if (this.doTransform) {\n                        this.updateTransform();\n                        this.doTransform = false;\n                    }\n\n                }\n\n                // In accordance with animate, run a complete callback\n                if (complete) {\n                    complete();\n                }\n\n                return ret;\n            },\n\n\n            /**\n             * Update the shadow elements with new attributes.\n             *\n             * @private\n             * @param {String} key - The attribute name.\n             * @param {String|Number} value - The value of the attribute.\n             * @param {Function} setter - The setter function, inherited from the\n             *   parent wrapper\n             * @returns {void}\n             */\n            updateShadows: function(key, value, setter) {\n                var shadows = this.shadows,\n                    i = shadows.length;\n\n                while (i--) {\n                    setter.call(\n                        shadows[i],\n                        key === 'height' ?\n                        Math.max(value - (shadows[i].cutHeight || 0), 0) :\n                        key === 'd' ? this.d : value,\n                        key,\n                        shadows[i]\n                    );\n                }\n            },\n\n\n            /**\n             * Add a class name to an element.\n             *\n             * @param {string} className - The new class name to add.\n             * @param {boolean} [replace=false] - When true, the existing class name(s)\n             *    will be overwritten with the new one. When false, the new one is\n             *    added.\n             * @returns {SVGElement} Return the SVG element for chainability.\n             */\n            addClass: function(className, replace) {\n                var currentClassName = this.attr('class') || '';\n\n                if (currentClassName.indexOf(className) === -1) {\n                    if (!replace) {\n                        className =\n                            (currentClassName + (currentClassName ? ' ' : '') +\n                                className).replace('  ', ' ');\n                    }\n                    this.attr('class', className);\n                }\n                return this;\n            },\n\n            /**\n             * Check if an element has the given class name.\n             * @param  {string}  className - The class name to check for.\n             * @return {Boolean}\n             */\n            hasClass: function(className) {\n                return attr(this.element, 'class').indexOf(className) !== -1;\n            },\n\n            /**\n             * Remove a class name from the element.\n             * @param  {string} className The class name to remove.\n             * @return {SVGElement} Returns the SVG element for chainability.\n             */\n            removeClass: function(className) {\n                attr(this.element, 'class', (attr(this.element, 'class') || '').replace(className, ''));\n                return this;\n            },\n\n            /**\n             * If one of the symbol size affecting parameters are changed,\n             * check all the others only once for each call to an element's\n             * .attr() method\n             * @param {Object} hash - The attributes to set.\n             * @private\n             */\n            symbolAttr: function(hash) {\n                var wrapper = this;\n\n                each(['x', 'y', 'r', 'start', 'end', 'width', 'height', 'innerR', 'anchorX', 'anchorY'], function(key) {\n                    wrapper[key] = pick(hash[key], wrapper[key]);\n                });\n\n                wrapper.attr({\n                    d: wrapper.renderer.symbols[wrapper.symbolName](\n                        wrapper.x,\n                        wrapper.y,\n                        wrapper.width,\n                        wrapper.height,\n                        wrapper\n                    )\n                });\n            },\n\n            /**\n             * Apply a clipping rectangle to this element.\n             * \n             * @param {ClipRect} [clipRect] - The clipping rectangle. If skipped, the\n             *    current clip is removed.\n             * @returns {SVGElement} Returns the SVG element to allow chaining.\n             */\n            clip: function(clipRect) {\n                return this.attr(\n                    'clip-path',\n                    clipRect ?\n                    'url(' + this.renderer.url + '#' + clipRect.id + ')' :\n                    'none'\n                );\n            },\n\n            /**\n             * Calculate the coordinates needed for drawing a rectangle crisply and\n             * return the calculated attributes.\n             * \n             * @param {Object} rect - A rectangle.\n             * @param {number} rect.x - The x position.\n             * @param {number} rect.y - The y position.\n             * @param {number} rect.width - The width.\n             * @param {number} rect.height - The height.\n             * @param {number} [strokeWidth] - The stroke width to consider when\n             *    computing crisp positioning. It can also be set directly on the rect\n             *    parameter.\n             *\n             * @returns {{x: Number, y: Number, width: Number, height: Number}} The\n             *    modified rectangle arguments.\n             */\n            crisp: function(rect, strokeWidth) {\n\n                var wrapper = this,\n                    key,\n                    attribs = {},\n                    normalizer;\n\n                strokeWidth = strokeWidth || rect.strokeWidth || 0;\n                normalizer = Math.round(strokeWidth) % 2 / 2; // Math.round because strokeWidth can sometimes have roundoff errors\n\n                // normalize for crisp edges\n                rect.x = Math.floor(rect.x || wrapper.x || 0) + normalizer;\n                rect.y = Math.floor(rect.y || wrapper.y || 0) + normalizer;\n                rect.width = Math.floor((rect.width || wrapper.width || 0) - 2 * normalizer);\n                rect.height = Math.floor((rect.height || wrapper.height || 0) - 2 * normalizer);\n                if (defined(rect.strokeWidth)) {\n                    rect.strokeWidth = strokeWidth;\n                }\n\n                for (key in rect) {\n                    if (wrapper[key] !== rect[key]) { // only set attribute if changed\n                        wrapper[key] = attribs[key] = rect[key];\n                    }\n                }\n\n                return attribs;\n            },\n\n            /**\n             * Set styles for the element. In addition to CSS styles supported by \n             * native SVG and HTML elements, there are also some custom made for \n             * Highcharts, like `width`, `ellipsis` and `textOverflow` for SVG text\n             * elements.\n             * @param {CSSObject} styles The new CSS styles.\n             * @returns {SVGElement} Return the SVG element for chaining.\n             */\n            css: function(styles) {\n                var oldStyles = this.styles,\n                    newStyles = {},\n                    elem = this.element,\n                    textWidth,\n                    n,\n                    serializedCss = '',\n                    hyphenate,\n                    hasNew = !oldStyles,\n                    // These CSS properties are interpreted internally by the SVG\n                    // renderer, but are not supported by SVG and should not be added to\n                    // the DOM. In styled mode, no CSS should find its way to the DOM\n                    // whatsoever (#6173, #6474).\n                    svgPseudoProps = ['textOutline', 'textOverflow', 'width'];\n\n                // convert legacy\n                if (styles && styles.color) {\n                    styles.fill = styles.color;\n                }\n\n                // Filter out existing styles to increase performance (#2640)\n                if (oldStyles) {\n                    for (n in styles) {\n                        if (styles[n] !== oldStyles[n]) {\n                            newStyles[n] = styles[n];\n                            hasNew = true;\n                        }\n                    }\n                }\n                if (hasNew) {\n\n                    // Merge the new styles with the old ones\n                    if (oldStyles) {\n                        styles = extend(\n                            oldStyles,\n                            newStyles\n                        );\n                    }\n\n                    // Get the text width from style\n                    textWidth = this.textWidth = (\n                        styles &&\n                        styles.width &&\n                        styles.width !== 'auto' &&\n                        elem.nodeName.toLowerCase() === 'text' &&\n                        pInt(styles.width)\n                    );\n\n                    // store object\n                    this.styles = styles;\n\n                    if (textWidth && (!svg && this.renderer.forExport)) {\n                        delete styles.width;\n                    }\n\n                    // serialize and set style attribute\n                    if (isMS && !svg) {\n                        css(this.element, styles);\n                    } else {\n                        hyphenate = function(a, b) {\n                            return '-' + b.toLowerCase();\n                        };\n                        for (n in styles) {\n                            if (inArray(n, svgPseudoProps) === -1) {\n                                serializedCss +=\n                                    n.replace(/([A-Z])/g, hyphenate) + ':' +\n                                    styles[n] + ';';\n                            }\n                        }\n                        if (serializedCss) {\n                            attr(elem, 'style', serializedCss); // #1881\n                        }\n                    }\n\n\n                    if (this.added) {\n\n                        // Rebuild text after added. Cache mechanisms in the buildText\n                        // will prevent building if there are no significant changes.\n                        if (this.element.nodeName === 'text') {\n                            this.renderer.buildText(this);\n                        }\n\n                        // Apply text outline after added\n                        if (styles && styles.textOutline) {\n                            this.applyTextOutline(styles.textOutline);\n                        }\n                    }\n                }\n\n                return this;\n            },\n\n\n            /**\n             * Get the current stroke width. In classic mode, the setter registers it \n             * directly on the element.\n             * @returns {number} The stroke width in pixels.\n             * @ignore\n             */\n            strokeWidth: function() {\n                return this['stroke-width'] || 0;\n            },\n\n\n            /**\n             * Add an event listener. This is a simple setter that replaces all other\n             * events of the same type, opposed to the {@link Highcharts#addEvent}\n             * function.\n             * @param {string} eventType - The event type. If the type is `click`, \n             *    Highcharts will internally translate it to a `touchstart` event on \n             *    touch devices, to prevent the browser from waiting for a click event\n             *    from firing.\n             * @param {Function} handler - The handler callback.\n             * @returns {SVGElement} The SVGElement for chaining.\n             */\n            on: function(eventType, handler) {\n                var svgElement = this,\n                    element = svgElement.element;\n\n                // touch\n                if (hasTouch && eventType === 'click') {\n                    element.ontouchstart = function(e) {\n                        svgElement.touchEventFired = Date.now(); // #2269\n                        e.preventDefault();\n                        handler.call(element, e);\n                    };\n                    element.onclick = function(e) {\n                        if (win.navigator.userAgent.indexOf('Android') === -1 ||\n                            Date.now() - (svgElement.touchEventFired || 0) > 1100) {\n                            handler.call(element, e);\n                        }\n                    };\n                } else {\n                    // simplest possible event model for internal use\n                    element['on' + eventType] = handler;\n                }\n                return this;\n            },\n\n            /**\n             * Set the coordinates needed to draw a consistent radial gradient across\n             * a shape regardless of positioning inside the chart. Used on pie slices\n             * to make all the slices have the same radial reference point.\n             *\n             * @param {Array} coordinates The center reference. The format is\n             *    `[centerX, centerY, diameter]` in pixels.\n             * @returns {SVGElement} Returns the SVGElement for chaining.\n             */\n            setRadialReference: function(coordinates) {\n                var existingGradient = this.renderer.gradients[this.element.gradient];\n\n                this.element.radialReference = coordinates;\n\n                // On redrawing objects with an existing gradient, the gradient needs\n                // to be repositioned (#3801)\n                if (existingGradient && existingGradient.radAttr) {\n                    existingGradient.animate(\n                        this.renderer.getRadialAttr(\n                            coordinates,\n                            existingGradient.radAttr\n                        )\n                    );\n                }\n\n                return this;\n            },\n\n            /**\n             * Move an object and its children by x and y values.\n             * \n             * @param {number} x - The x value.\n             * @param {number} y - The y value.\n             */\n            translate: function(x, y) {\n                return this.attr({\n                    translateX: x,\n                    translateY: y\n                });\n            },\n\n            /**\n             * Invert a group, rotate and flip. This is used internally on inverted \n             * charts, where the points and graphs are drawn as if not inverted, then\n             * the series group elements are inverted.\n             *\n             * @param {boolean} inverted - Whether to invert or not. An inverted shape\n             *    can be un-inverted by setting it to false.\n             * @returns {SVGElement} Return the SVGElement for chaining.\n             */\n            invert: function(inverted) {\n                var wrapper = this;\n                wrapper.inverted = inverted;\n                wrapper.updateTransform();\n                return wrapper;\n            },\n\n            /**\n             * Update the transform attribute based on internal properties. Deals with\n             * the custom `translateX`, `translateY`, `rotation`, `scaleX` and `scaleY`\n             * attributes and updates the SVG `transform` attribute.\n             * @private\n             * @returns {void}\n             */\n            updateTransform: function() {\n                var wrapper = this,\n                    translateX = wrapper.translateX || 0,\n                    translateY = wrapper.translateY || 0,\n                    scaleX = wrapper.scaleX,\n                    scaleY = wrapper.scaleY,\n                    inverted = wrapper.inverted,\n                    rotation = wrapper.rotation,\n                    element = wrapper.element,\n                    transform;\n\n                // flipping affects translate as adjustment for flipping around the group's axis\n                if (inverted) {\n                    translateX += wrapper.width;\n                    translateY += wrapper.height;\n                }\n\n                // Apply translate. Nearly all transformed elements have translation, so instead\n                // of checking for translate = 0, do it always (#1767, #1846).\n                transform = ['translate(' + translateX + ',' + translateY + ')'];\n\n                // apply rotation\n                if (inverted) {\n                    transform.push('rotate(90) scale(-1,1)');\n                } else if (rotation) { // text rotation\n                    transform.push('rotate(' + rotation + ' ' + (element.getAttribute('x') || 0) + ' ' + (element.getAttribute('y') || 0) + ')');\n\n                    // Delete bBox memo when the rotation changes\n                    //delete wrapper.bBox;\n                }\n\n                // apply scale\n                if (defined(scaleX) || defined(scaleY)) {\n                    transform.push('scale(' + pick(scaleX, 1) + ' ' + pick(scaleY, 1) + ')');\n                }\n\n                if (transform.length) {\n                    element.setAttribute('transform', transform.join(' '));\n                }\n            },\n\n            /**\n             * Bring the element to the front.\n             *\n             * @returns {SVGElement} Returns the SVGElement for chaining.\n             */\n            toFront: function() {\n                var element = this.element;\n                element.parentNode.appendChild(element);\n                return this;\n            },\n\n\n            /**\n             * Align the element relative to the chart or another box.\n             * ß\n             * @param {Object} [alignOptions] The alignment options. The function can be\n             *   called without this parameter in order to re-align an element after the\n             *   box has been updated.\n             * @param {string} [alignOptions.align=left] Horizontal alignment. Can be\n             *   one of `left`, `center` and `right`.\n             * @param {string} [alignOptions.verticalAlign=top] Vertical alignment. Can\n             *   be one of `top`, `middle` and `bottom`.\n             * @param {number} [alignOptions.x=0] Horizontal pixel offset from\n             *   alignment.\n             * @param {number} [alignOptions.y=0] Vertical pixel offset from alignment.\n             * @param {Boolean} [alignByTranslate=false] Use the `transform` attribute\n             *   with translateX and translateY custom attributes to align this elements\n             *   rather than `x` and `y` attributes.\n             * @param {String|Object} box The box to align to, needs a width and height.\n             *   When the box is a string, it refers to an object in the Renderer. For\n             *   example, when box is `spacingBox`, it refers to `Renderer.spacingBox`\n             *   which holds `width`, `height`, `x` and `y` properties.\n             * @returns {SVGElement} Returns the SVGElement for chaining.\n             */\n            align: function(alignOptions, alignByTranslate, box) {\n                var align,\n                    vAlign,\n                    x,\n                    y,\n                    attribs = {},\n                    alignTo,\n                    renderer = this.renderer,\n                    alignedObjects = renderer.alignedObjects,\n                    alignFactor,\n                    vAlignFactor;\n\n                // First call on instanciate\n                if (alignOptions) {\n                    this.alignOptions = alignOptions;\n                    this.alignByTranslate = alignByTranslate;\n                    if (!box || isString(box)) { // boxes other than renderer handle this internally\n                        this.alignTo = alignTo = box || 'renderer';\n                        erase(alignedObjects, this); // prevent duplicates, like legendGroup after resize\n                        alignedObjects.push(this);\n                        box = null; // reassign it below\n                    }\n\n                    // When called on resize, no arguments are supplied\n                } else {\n                    alignOptions = this.alignOptions;\n                    alignByTranslate = this.alignByTranslate;\n                    alignTo = this.alignTo;\n                }\n\n                box = pick(box, renderer[alignTo], renderer);\n\n                // Assign variables\n                align = alignOptions.align;\n                vAlign = alignOptions.verticalAlign;\n                x = (box.x || 0) + (alignOptions.x || 0); // default: left align\n                y = (box.y || 0) + (alignOptions.y || 0); // default: top align\n\n                // Align\n                if (align === 'right') {\n                    alignFactor = 1;\n                } else if (align === 'center') {\n                    alignFactor = 2;\n                }\n                if (alignFactor) {\n                    x += (box.width - (alignOptions.width || 0)) / alignFactor;\n                }\n                attribs[alignByTranslate ? 'translateX' : 'x'] = Math.round(x);\n\n\n                // Vertical align\n                if (vAlign === 'bottom') {\n                    vAlignFactor = 1;\n                } else if (vAlign === 'middle') {\n                    vAlignFactor = 2;\n                }\n                if (vAlignFactor) {\n                    y += (box.height - (alignOptions.height || 0)) / vAlignFactor;\n                }\n                attribs[alignByTranslate ? 'translateY' : 'y'] = Math.round(y);\n\n                // Animate only if already placed\n                this[this.placed ? 'animate' : 'attr'](attribs);\n                this.placed = true;\n                this.alignAttr = attribs;\n\n                return this;\n            },\n\n            /**\n             * Get the bounding box (width, height, x and y) for the element. Generally\n             * used to get rendered text size. Since this is called a lot in charts,\n             * the results are cached based on text properties, in order to save DOM\n             * traffic. The returned bounding box includes the rotation, so for example\n             * a single text line of rotation 90 will report a greater height, and a\n             * width corresponding to the line-height.\n             *\n             * @param {boolean} [reload] Skip the cache and get the updated DOM bouding\n             *   box.\n             * @param {number} [rot] Override the element's rotation. This is internally\n             *   used on axis labels with a value of 0 to find out what the bounding box\n             *   would be have been if it were not rotated.\n             * @returns {Object} The bounding box with `x`, `y`, `width` and `height`\n             * properties.\n             */\n            getBBox: function(reload, rot) {\n                var wrapper = this,\n                    bBox, // = wrapper.bBox,\n                    renderer = wrapper.renderer,\n                    width,\n                    height,\n                    rotation,\n                    rad,\n                    element = wrapper.element,\n                    styles = wrapper.styles,\n                    fontSize,\n                    textStr = wrapper.textStr,\n                    toggleTextShadowShim,\n                    cache = renderer.cache,\n                    cacheKeys = renderer.cacheKeys,\n                    cacheKey;\n\n                rotation = pick(rot, wrapper.rotation);\n                rad = rotation * deg2rad;\n\n\n                fontSize = styles && styles.fontSize;\n\n\n                if (textStr !== undefined) {\n\n                    cacheKey = textStr.toString();\n\n                    // Since numbers are monospaced, and numerical labels appear a lot\n                    // in a chart, we assume that a label of n characters has the same\n                    // bounding box as others of the same length. Unless there is inner\n                    // HTML in the label. In that case, leave the numbers as is (#5899).\n                    if (cacheKey.indexOf('<') === -1) {\n                        cacheKey = cacheKey.replace(/[0-9]/g, '0');\n                    }\n\n                    // Properties that affect bounding box\n                    cacheKey += [\n                            '',\n                            rotation || 0,\n                            fontSize,\n                            styles && styles.width,\n                            styles && styles.textOverflow // #5968\n                        ]\n                        .join(',');\n\n                }\n\n                if (cacheKey && !reload) {\n                    bBox = cache[cacheKey];\n                }\n\n                // No cache found\n                if (!bBox) {\n\n                    // SVG elements\n                    if (element.namespaceURI === wrapper.SVG_NS || renderer.forExport) {\n                        try { // Fails in Firefox if the container has display: none.\n\n                            // When the text shadow shim is used, we need to hide the fake shadows\n                            // to get the correct bounding box (#3872)\n                            toggleTextShadowShim = this.fakeTS && function(display) {\n                                each(element.querySelectorAll('.highcharts-text-outline'), function(tspan) {\n                                    tspan.style.display = display;\n                                });\n                            };\n\n                            // Workaround for #3842, Firefox reporting wrong bounding box for shadows\n                            if (toggleTextShadowShim) {\n                                toggleTextShadowShim('none');\n                            }\n\n                            bBox = element.getBBox ?\n                                // SVG: use extend because IE9 is not allowed to change width and height in case\n                                // of rotation (below)\n                                extend({}, element.getBBox()) : {\n\n                                    // Legacy IE in export mode\n                                    width: element.offsetWidth,\n                                    height: element.offsetHeight\n                                };\n\n                            // #3842\n                            if (toggleTextShadowShim) {\n                                toggleTextShadowShim('');\n                            }\n                        } catch (e) {}\n\n                        // If the bBox is not set, the try-catch block above failed. The other condition\n                        // is for Opera that returns a width of -Infinity on hidden elements.\n                        if (!bBox || bBox.width < 0) {\n                            bBox = {\n                                width: 0,\n                                height: 0\n                            };\n                        }\n\n\n                        // VML Renderer or useHTML within SVG\n                    } else {\n\n                        bBox = wrapper.htmlGetBBox();\n\n                    }\n\n                    // True SVG elements as well as HTML elements in modern browsers using the .useHTML option\n                    // need to compensated for rotation\n                    if (renderer.isSVG) {\n                        width = bBox.width;\n                        height = bBox.height;\n\n                        // Workaround for wrong bounding box in IE, Edge and Chrome on\n                        // Windows. With Highcharts' default font, IE and Edge report\n                        // a box height of 16.899 and Chrome rounds it to 17. If this \n                        // stands uncorrected, it results in more padding added below\n                        // the text than above when adding a label border or background.\n                        // Also vertical positioning is affected.\n                        // http://jsfiddle.net/highcharts/em37nvuj/\n                        // (#1101, #1505, #1669, #2568, #6213).\n                        if (\n                            styles &&\n                            styles.fontSize === '11px' &&\n                            Math.round(height) === 17\n                        ) {\n                            bBox.height = height = 14;\n                        }\n\n                        // Adjust for rotated text\n                        if (rotation) {\n                            bBox.width = Math.abs(height * Math.sin(rad)) + Math.abs(width * Math.cos(rad));\n                            bBox.height = Math.abs(height * Math.cos(rad)) + Math.abs(width * Math.sin(rad));\n                        }\n                    }\n\n                    // Cache it. When loading a chart in a hidden iframe in Firefox and IE/Edge, the\n                    // bounding box height is 0, so don't cache it (#5620).\n                    if (cacheKey && bBox.height > 0) {\n\n                        // Rotate (#4681)\n                        while (cacheKeys.length > 250) {\n                            delete cache[cacheKeys.shift()];\n                        }\n\n                        if (!cache[cacheKey]) {\n                            cacheKeys.push(cacheKey);\n                        }\n                        cache[cacheKey] = bBox;\n                    }\n                }\n                return bBox;\n            },\n\n            /**\n             * Show the element after it has been hidden. \n             *\n             * @param {boolean} [inherit=false] Set the visibility attribute to\n             * `inherit` rather than `visible`. The difference is that an element with\n             * `visibility=\"visible\"` will be visible even if the parent is hidden.\n             *\n             * @returns {SVGElement} Returns the SVGElement for chaining.\n             */\n            show: function(inherit) {\n                return this.attr({\n                    visibility: inherit ? 'inherit' : 'visible'\n                });\n            },\n\n            /**\n             * Hide the element, equivalent to setting the `visibility` attribute to\n             * `hidden`.\n             *\n             * @returns {SVGElement} Returns the SVGElement for chaining.\n             */\n            hide: function() {\n                return this.attr({\n                    visibility: 'hidden'\n                });\n            },\n\n            /**\n             * Fade out an element by animating its opacity down to 0, and hide it on\n             * complete. Used internally for the tooltip.\n             * \n             * @param {number} [duration=150] The fade duration in milliseconds.\n             */\n            fadeOut: function(duration) {\n                var elemWrapper = this;\n                elemWrapper.animate({\n                    opacity: 0\n                }, {\n                    duration: duration || 150,\n                    complete: function() {\n                        elemWrapper.attr({\n                            y: -9999\n                        }); // #3088, assuming we're only using this for tooltips\n                    }\n                });\n            },\n\n            /**\n             * Add the element to the DOM. All elements must be added this way.\n             * \n             * @param {SVGElement|SVGDOMElement} [parent] The parent item to add it to.\n             *   If undefined, the element is added to the {@link SVGRenderer.box}.\n             *\n             * @returns {SVGElement} Returns the SVGElement for chaining.\n             *\n             * @sample highcharts/members/renderer-g - Elements added to a group\n             */\n            add: function(parent) {\n\n                var renderer = this.renderer,\n                    element = this.element,\n                    inserted;\n\n                if (parent) {\n                    this.parentGroup = parent;\n                }\n\n                // mark as inverted\n                this.parentInverted = parent && parent.inverted;\n\n                // build formatted text\n                if (this.textStr !== undefined) {\n                    renderer.buildText(this);\n                }\n\n                // Mark as added\n                this.added = true;\n\n                // If we're adding to renderer root, or other elements in the group\n                // have a z index, we need to handle it\n                if (!parent || parent.handleZ || this.zIndex) {\n                    inserted = this.zIndexSetter();\n                }\n\n                // If zIndex is not handled, append at the end\n                if (!inserted) {\n                    (parent ? parent.element : renderer.box).appendChild(element);\n                }\n\n                // fire an event for internal hooks\n                if (this.onAdd) {\n                    this.onAdd();\n                }\n\n                return this;\n            },\n\n            /**\n             * Removes an element from the DOM.\n             *\n             * @private\n             * @param {SVGDOMElement|HTMLDOMElement} element The DOM node to remove.\n             */\n            safeRemoveChild: function(element) {\n                var parentNode = element.parentNode;\n                if (parentNode) {\n                    parentNode.removeChild(element);\n                }\n            },\n\n            /**\n             * Destroy the element and element wrapper and clear up the DOM and event\n             * hooks.\n             *\n             * @returns {void}\n             */\n            destroy: function() {\n                var wrapper = this,\n                    element = wrapper.element || {},\n                    parentToClean = wrapper.renderer.isSVG && element.nodeName === 'SPAN' && wrapper.parentGroup,\n                    grandParent,\n                    key,\n                    i;\n\n                // remove events\n                element.onclick = element.onmouseout = element.onmouseover = element.onmousemove = element.point = null;\n                stop(wrapper); // stop running animations\n\n                if (wrapper.clipPath) {\n                    // Look for existing references to this clipPath and remove them\n                    // before destroying the element (#6196).\n                    each(\n                        wrapper.element.ownerSVGElement.querySelectorAll('[clip-path]'),\n                        function(el) {\n                            if (el.getAttribute('clip-path')\n                                .indexOf(wrapper.clipPath.element.id) > -1) {\n                                el.removeAttribute('clip-path');\n                            }\n                        }\n                    );\n                    wrapper.clipPath = wrapper.clipPath.destroy();\n                }\n\n                // Destroy stops in case this is a gradient object\n                if (wrapper.stops) {\n                    for (i = 0; i < wrapper.stops.length; i++) {\n                        wrapper.stops[i] = wrapper.stops[i].destroy();\n                    }\n                    wrapper.stops = null;\n                }\n\n                // remove element\n                wrapper.safeRemoveChild(element);\n\n\n                wrapper.destroyShadows();\n\n\n                // In case of useHTML, clean up empty containers emulating SVG groups (#1960, #2393, #2697).\n                while (parentToClean && parentToClean.div && parentToClean.div.childNodes.length === 0) {\n                    grandParent = parentToClean.parentGroup;\n                    wrapper.safeRemoveChild(parentToClean.div);\n                    delete parentToClean.div;\n                    parentToClean = grandParent;\n                }\n\n                // remove from alignObjects\n                if (wrapper.alignTo) {\n                    erase(wrapper.renderer.alignedObjects, wrapper);\n                }\n\n                for (key in wrapper) {\n                    delete wrapper[key];\n                }\n\n                return null;\n            },\n\n\n            /**\n             * @typedef {Object} ShadowOptions\n             * @property {string} [color=#000000] The shadow color.\n             * @property {number} [offsetX=1] The horizontal offset from the element.\n             * @property {number} [offsetY=1] The vertical offset from the element.\n             * @property {number} [opacity=0.15] The shadow opacity.\n             * @property {number} [width=3] The shadow width or distance from the\n             *    element.\n             */\n            /**\n             * Add a shadow to the element. Must be called after the element is added to\n             * the DOM. In styled mode, this method is not used, instead use `defs` and\n             * filters.\n             * \n             * @param {boolean|ShadowOptions} shadowOptions The shadow options. If\n             *    `true`, the default options are applied. If `false`, the current\n             *    shadow will be removed.\n             * @param {SVGElement} [group] The SVG group element where the shadows will \n             *    be applied. The default is to add it to the same parent as the current\n             *    element. Internally, this is ised for pie slices, where all the\n             *    shadows are added to an element behind all the slices.\n             * @param {boolean} [cutOff] Used internally for column shadows.\n             *\n             * @returns {SVGElement} Returns the SVGElement for chaining.\n             *\n             * @example\n             * renderer.rect(10, 100, 100, 100)\n             *     .attr({ fill: 'red' })\n             *     .shadow(true);\n             */\n            shadow: function(shadowOptions, group, cutOff) {\n                var shadows = [],\n                    i,\n                    shadow,\n                    element = this.element,\n                    strokeWidth,\n                    shadowWidth,\n                    shadowElementOpacity,\n\n                    // compensate for inverted plot area\n                    transform;\n\n                if (!shadowOptions) {\n                    this.destroyShadows();\n\n                } else if (!this.shadows) {\n                    shadowWidth = pick(shadowOptions.width, 3);\n                    shadowElementOpacity = (shadowOptions.opacity || 0.15) / shadowWidth;\n                    transform = this.parentInverted ?\n                        '(-1,-1)' :\n                        '(' + pick(shadowOptions.offsetX, 1) + ', ' + pick(shadowOptions.offsetY, 1) + ')';\n                    for (i = 1; i <= shadowWidth; i++) {\n                        shadow = element.cloneNode(0);\n                        strokeWidth = (shadowWidth * 2) + 1 - (2 * i);\n                        attr(shadow, {\n                            'isShadow': 'true',\n                            'stroke': shadowOptions.color || '#000000',\n                            'stroke-opacity': shadowElementOpacity * i,\n                            'stroke-width': strokeWidth,\n                            'transform': 'translate' + transform,\n                            'fill': 'none'\n                        });\n                        if (cutOff) {\n                            attr(shadow, 'height', Math.max(attr(shadow, 'height') - strokeWidth, 0));\n                            shadow.cutHeight = strokeWidth;\n                        }\n\n                        if (group) {\n                            group.element.appendChild(shadow);\n                        } else {\n                            element.parentNode.insertBefore(shadow, element);\n                        }\n\n                        shadows.push(shadow);\n                    }\n\n                    this.shadows = shadows;\n                }\n                return this;\n\n            },\n\n            /**\n             * Destroy shadows on the element.\n             * @private\n             */\n            destroyShadows: function() {\n                each(this.shadows || [], function(shadow) {\n                    this.safeRemoveChild(shadow);\n                }, this);\n                this.shadows = undefined;\n            },\n\n\n\n            xGetter: function(key) {\n                if (this.element.nodeName === 'circle') {\n                    if (key === 'x') {\n                        key = 'cx';\n                    } else if (key === 'y') {\n                        key = 'cy';\n                    }\n                }\n                return this._defaultGetter(key);\n            },\n\n            /**\n             * Get the current value of an attribute or pseudo attribute, used mainly\n             * for animation. Called internally from the {@link SVGRenderer#attr}\n             * function.\n             *\n             * @private\n             */\n            _defaultGetter: function(key) {\n                var ret = pick(this[key], this.element ? this.element.getAttribute(key) : null, 0);\n\n                if (/^[\\-0-9\\.]+$/.test(ret)) { // is numerical\n                    ret = parseFloat(ret);\n                }\n                return ret;\n            },\n\n\n            dSetter: function(value, key, element) {\n                if (value && value.join) { // join path\n                    value = value.join(' ');\n                }\n                if (/(NaN| {2}|^$)/.test(value)) {\n                    value = 'M 0 0';\n                }\n                element.setAttribute(key, value);\n\n                this[key] = value;\n            },\n\n            dashstyleSetter: function(value) {\n                var i,\n                    strokeWidth = this['stroke-width'];\n\n                // If \"inherit\", like maps in IE, assume 1 (#4981). With HC5 and the new strokeWidth \n                // function, we should be able to use that instead.\n                if (strokeWidth === 'inherit') {\n                    strokeWidth = 1;\n                }\n                value = value && value.toLowerCase();\n                if (value) {\n                    value = value\n                        .replace('shortdashdotdot', '3,1,1,1,1,1,')\n                        .replace('shortdashdot', '3,1,1,1')\n                        .replace('shortdot', '1,1,')\n                        .replace('shortdash', '3,1,')\n                        .replace('longdash', '8,3,')\n                        .replace(/dot/g, '1,3,')\n                        .replace('dash', '4,3,')\n                        .replace(/,$/, '')\n                        .split(','); // ending comma\n\n                    i = value.length;\n                    while (i--) {\n                        value[i] = pInt(value[i]) * strokeWidth;\n                    }\n                    value = value.join(',')\n                        .replace(/NaN/g, 'none'); // #3226\n                    this.element.setAttribute('stroke-dasharray', value);\n                }\n            },\n\n            alignSetter: function(value) {\n                var convert = {\n                    left: 'start',\n                    center: 'middle',\n                    right: 'end'\n                };\n                this.element.setAttribute('text-anchor', convert[value]);\n            },\n            opacitySetter: function(value, key, element) {\n                this[key] = value;\n                element.setAttribute(key, value);\n            },\n            titleSetter: function(value) {\n                var titleNode = this.element.getElementsByTagName('title')[0];\n                if (!titleNode) {\n                    titleNode = doc.createElementNS(this.SVG_NS, 'title');\n                    this.element.appendChild(titleNode);\n                }\n\n                // Remove text content if it exists\n                if (titleNode.firstChild) {\n                    titleNode.removeChild(titleNode.firstChild);\n                }\n\n                titleNode.appendChild(\n                    doc.createTextNode(\n                        (String(pick(value), '')).replace(/<[^>]*>/g, '') // #3276, #3895\n                    )\n                );\n            },\n            textSetter: function(value) {\n                if (value !== this.textStr) {\n                    // Delete bBox memo when the text changes\n                    delete this.bBox;\n\n                    this.textStr = value;\n                    if (this.added) {\n                        this.renderer.buildText(this);\n                    }\n                }\n            },\n            fillSetter: function(value, key, element) {\n                if (typeof value === 'string') {\n                    element.setAttribute(key, value);\n                } else if (value) {\n                    this.colorGradient(value, key, element);\n                }\n            },\n            visibilitySetter: function(value, key, element) {\n                // IE9-11 doesn't handle visibilty:inherit well, so we remove the attribute instead (#2881, #3909)\n                if (value === 'inherit') {\n                    element.removeAttribute(key);\n                } else {\n                    element.setAttribute(key, value);\n                }\n            },\n            zIndexSetter: function(value, key) {\n                var renderer = this.renderer,\n                    parentGroup = this.parentGroup,\n                    parentWrapper = parentGroup || renderer,\n                    parentNode = parentWrapper.element || renderer.box,\n                    childNodes,\n                    otherElement,\n                    otherZIndex,\n                    element = this.element,\n                    inserted,\n                    run = this.added,\n                    i;\n\n                if (defined(value)) {\n                    element.zIndex = value; // So we can read it for other elements in the group\n                    value = +value;\n                    if (this[key] === value) { // Only update when needed (#3865)\n                        run = false;\n                    }\n                    this[key] = value;\n                }\n\n                // Insert according to this and other elements' zIndex. Before .add() is called,\n                // nothing is done. Then on add, or by later calls to zIndexSetter, the node\n                // is placed on the right place in the DOM.\n                if (run) {\n                    value = this.zIndex;\n\n                    if (value && parentGroup) {\n                        parentGroup.handleZ = true;\n                    }\n\n                    childNodes = parentNode.childNodes;\n                    for (i = 0; i < childNodes.length && !inserted; i++) {\n                        otherElement = childNodes[i];\n                        otherZIndex = otherElement.zIndex;\n                        if (otherElement !== element && (\n                                // Insert before the first element with a higher zIndex\n                                pInt(otherZIndex) > value ||\n                                // If no zIndex given, insert before the first element with a zIndex\n                                (!defined(value) && defined(otherZIndex)) ||\n                                // Negative zIndex versus no zIndex:\n                                // On all levels except the highest. If the parent is <svg>,\n                                // then we don't want to put items before <desc> or <defs>\n                                (value < 0 && !defined(otherZIndex) && parentNode !== renderer.box)\n\n                            )) {\n                            parentNode.insertBefore(element, otherElement);\n                            inserted = true;\n                        }\n                    }\n                    if (!inserted) {\n                        parentNode.appendChild(element);\n                    }\n                }\n                return inserted;\n            },\n            _defaultSetter: function(value, key, element) {\n                element.setAttribute(key, value);\n            }\n        };\n\n        // Some shared setters and getters\n        SVGElement.prototype.yGetter = SVGElement.prototype.xGetter;\n        SVGElement.prototype.translateXSetter = SVGElement.prototype.translateYSetter =\n            SVGElement.prototype.rotationSetter = SVGElement.prototype.verticalAlignSetter =\n            SVGElement.prototype.scaleXSetter = SVGElement.prototype.scaleYSetter = function(value, key) {\n                this[key] = value;\n                this.doTransform = true;\n            };\n\n\n        // WebKit and Batik have problems with a stroke-width of zero, so in this case we remove the \n        // stroke attribute altogether. #1270, #1369, #3065, #3072.\n        SVGElement.prototype['stroke-widthSetter'] = SVGElement.prototype.strokeSetter = function(value, key, element) {\n            this[key] = value;\n            // Only apply the stroke attribute if the stroke width is defined and larger than 0\n            if (this.stroke && this['stroke-width']) {\n                SVGElement.prototype.fillSetter.call(this, this.stroke, 'stroke', element); // use prototype as instance may be overridden\n                element.setAttribute('stroke-width', this['stroke-width']);\n                this.hasStroke = true;\n            } else if (key === 'stroke-width' && value === 0 && this.hasStroke) {\n                element.removeAttribute('stroke');\n                this.hasStroke = false;\n            }\n        };\n\n\n        /**\n         * Allows direct access to the Highcharts rendering layer in order to draw\n         * primitive shapes like circles, rectangles, paths or text directly on a chart,\n         * or independent from any chart. The SVGRenderer represents a wrapper object\n         * for SVGin modern browsers and through the VMLRenderer, for VML in IE < 8.\n         *\n         * An existing chart's renderer can be accessed through {@link Chart#renderer}.\n         * The renderer can also be used completely decoupled from a chart.\n         *\n         * @param {HTMLDOMElement} container - Where to put the SVG in the web page.\n         * @param {number} width - The width of the SVG.\n         * @param {number} height - The height of the SVG.\n         * @param {boolean} [forExport=false] - Whether the rendered content is intended\n         *   for export.\n         * @param {boolean} [allowHTML=true] - Whether the renderer is allowed to\n         *   include HTML text, which will be projected on top of the SVG.\n         *\n         * @example\n         * // Use directly without a chart object.\n         * var renderer = new Highcharts.Renderer(parentNode, 600, 400);\n         *\n         * @sample highcharts/members/renderer-on-chart - Annotating a chart programmatically.\n         * @sample highcharts/members/renderer-basic - Independedt SVG drawing.\n         *\n         * @class\n         */\n        SVGRenderer = H.SVGRenderer = function() {\n            this.init.apply(this, arguments);\n        };\n        SVGRenderer.prototype = {\n            /**\n             * A pointer to the renderer's associated Element class. The VMLRenderer\n             * will have a pointer to VMLElement here.\n             * @type {SVGElement}\n             */\n            Element: SVGElement,\n            SVG_NS: SVG_NS,\n            /**\n             * Initialize the SVGRenderer. Overridable initiator function that takes\n             * the same parameters as the constructor.\n             */\n            init: function(container, width, height, style, forExport, allowHTML) {\n                var renderer = this,\n                    boxWrapper,\n                    element,\n                    desc;\n\n                boxWrapper = renderer.createElement('svg')\n                    .attr({\n                        'version': '1.1',\n                        'class': 'highcharts-root'\n                    })\n\n                    .css(this.getStyle(style));\n                element = boxWrapper.element;\n                container.appendChild(element);\n\n                // For browsers other than IE, add the namespace attribute (#1978)\n                if (container.innerHTML.indexOf('xmlns') === -1) {\n                    attr(element, 'xmlns', this.SVG_NS);\n                }\n\n                // object properties\n                renderer.isSVG = true;\n\n                /** \n                 * The root `svg` node of the renderer.\n                 * @type {SVGDOMElement}\n                 */\n                this.box = element;\n                /** \n                 * The wrapper for the root `svg` node of the renderer.\n                 * @type {SVGElement}\n                 */\n                this.boxWrapper = boxWrapper;\n                renderer.alignedObjects = [];\n\n                /**\n                 * Page url used for internal references.\n                 * @type {string}\n                 */\n                // #24, #672, #1070\n                this.url = (isFirefox || isWebKit) && doc.getElementsByTagName('base').length ?\n                    win.location.href\n                    .replace(/#.*?$/, '') // remove the hash\n                    .replace(/<[^>]*>/g, '') // wing cut HTML\n                    .replace(/([\\('\\)])/g, '\\\\$1') // escape parantheses and quotes\n                    .replace(/ /g, '%20') : // replace spaces (needed for Safari only)\n                    '';\n\n                // Add description\n                desc = this.createElement('desc').add();\n                desc.element.appendChild(doc.createTextNode('Created with Highstock 5.0.10'));\n\n\n                renderer.defs = this.createElement('defs').add();\n                renderer.allowHTML = allowHTML;\n                renderer.forExport = forExport;\n                renderer.gradients = {}; // Object where gradient SvgElements are stored\n                renderer.cache = {}; // Cache for numerical bounding boxes\n                renderer.cacheKeys = [];\n                renderer.imgCount = 0;\n\n                renderer.setSize(width, height, false);\n\n\n\n                // Issue 110 workaround:\n                // In Firefox, if a div is positioned by percentage, its pixel position may land\n                // between pixels. The container itself doesn't display this, but an SVG element\n                // inside this container will be drawn at subpixel precision. In order to draw\n                // sharp lines, this must be compensated for. This doesn't seem to work inside\n                // iframes though (like in jsFiddle).\n                var subPixelFix, rect;\n                if (isFirefox && container.getBoundingClientRect) {\n                    subPixelFix = function() {\n                        css(container, {\n                            left: 0,\n                            top: 0\n                        });\n                        rect = container.getBoundingClientRect();\n                        css(container, {\n                            left: (Math.ceil(rect.left) - rect.left) + 'px',\n                            top: (Math.ceil(rect.top) - rect.top) + 'px'\n                        });\n                    };\n\n                    // run the fix now\n                    subPixelFix();\n\n                    // run it on resize\n                    renderer.unSubPixelFix = addEvent(win, 'resize', subPixelFix);\n                }\n            },\n\n\n\n            /**\n             * Get the global style setting for the renderer.\n             * @private\n             * @param  {CSSObject} style - Style settings.\n             * @return {CSSObject} The style settings mixed with defaults.\n             */\n            getStyle: function(style) {\n                this.style = extend({\n\n                    fontFamily: '\"Lucida Grande\", \"Lucida Sans Unicode\", Arial, Helvetica, sans-serif', // default font\n                    fontSize: '12px'\n\n                }, style);\n                return this.style;\n            },\n            /**\n             * Apply the global style on the renderer, mixed with the default styles.\n             * @param {CSSObject} style - CSS to apply.\n             */\n            setStyle: function(style) {\n                this.boxWrapper.css(this.getStyle(style));\n            },\n\n\n            /**\n             * Detect whether the renderer is hidden. This happens when one of the\n             * parent elements has display: none. Used internally to detect when we need\n             * to render preliminarily in another div to get the text bounding boxes \n             * right.\n             *\n             * @returns {boolean} True if it is hidden.\n             */\n            isHidden: function() { // #608\n                return !this.boxWrapper.getBBox().width;\n            },\n\n            /**\n             * Destroys the renderer and its allocated members.\n             */\n            destroy: function() {\n                var renderer = this,\n                    rendererDefs = renderer.defs;\n                renderer.box = null;\n                renderer.boxWrapper = renderer.boxWrapper.destroy();\n\n                // Call destroy on all gradient elements\n                destroyObjectProperties(renderer.gradients || {});\n                renderer.gradients = null;\n\n                // Defs are null in VMLRenderer\n                // Otherwise, destroy them here.\n                if (rendererDefs) {\n                    renderer.defs = rendererDefs.destroy();\n                }\n\n                // Remove sub pixel fix handler (#982)\n                if (renderer.unSubPixelFix) {\n                    renderer.unSubPixelFix();\n                }\n\n                renderer.alignedObjects = null;\n\n                return null;\n            },\n\n            /**\n             * Create a wrapper for an SVG element. Serves as a factory for \n             * {@link SVGElement}, but this function is itself mostly called from \n             * primitive factories like {@link SVGRenderer#path}, {@link\n             * SVGRenderer#rect} or {@link SVGRenderer#text}.\n             * \n             * @param {string} nodeName - The node name, for example `rect`, `g` etc.\n             * @returns {SVGElement} The generated SVGElement.\n             */\n            createElement: function(nodeName) {\n                var wrapper = new this.Element();\n                wrapper.init(this, nodeName);\n                return wrapper;\n            },\n\n            /**\n             * Dummy function for plugins, called every time the renderer is updated.\n             * Prior to Highcharts 5, this was used for the canvg renderer.\n             * @function\n             */\n            draw: noop,\n\n            /**\n             * Get converted radial gradient attributes according to the radial\n             * reference. Used internally from the {@link SVGElement#colorGradient}\n             * function.\n             *\n             * @private\n             */\n            getRadialAttr: function(radialReference, gradAttr) {\n                return {\n                    cx: (radialReference[0] - radialReference[2] / 2) + gradAttr.cx * radialReference[2],\n                    cy: (radialReference[1] - radialReference[2] / 2) + gradAttr.cy * radialReference[2],\n                    r: gradAttr.r * radialReference[2]\n                };\n            },\n\n            getSpanWidth: function(wrapper, tspan) {\n                var renderer = this,\n                    bBox = wrapper.getBBox(true),\n                    actualWidth = bBox.width;\n\n                // Old IE cannot measure the actualWidth for SVG elements (#2314)\n                if (!svg && renderer.forExport) {\n                    actualWidth = renderer.measureSpanWidth(tspan.firstChild.data, wrapper.styles);\n                }\n                return actualWidth;\n            },\n\n            applyEllipsis: function(wrapper, tspan, text, width) {\n                var renderer = this,\n                    actualWidth = renderer.getSpanWidth(wrapper, tspan),\n                    wasTooLong = actualWidth > width,\n                    str = text,\n                    currentIndex,\n                    minIndex = 0,\n                    maxIndex = text.length,\n                    updateTSpan = function(s) {\n                        tspan.removeChild(tspan.firstChild);\n                        if (s) {\n                            tspan.appendChild(doc.createTextNode(s));\n                        }\n                    };\n                if (wasTooLong) {\n                    while (minIndex <= maxIndex) {\n                        currentIndex = Math.ceil((minIndex + maxIndex) / 2);\n                        str = text.substring(0, currentIndex) + '\\u2026';\n                        updateTSpan(str);\n                        actualWidth = renderer.getSpanWidth(wrapper, tspan);\n                        if (minIndex === maxIndex) {\n                            // Complete\n                            minIndex = maxIndex + 1;\n                        } else if (actualWidth > width) {\n                            // Too large. Set max index to current.\n                            maxIndex = currentIndex - 1;\n                        } else {\n                            // Within width. Set min index to current.\n                            minIndex = currentIndex;\n                        }\n                    }\n                    // If max index was 0 it means just ellipsis was also to large.\n                    if (maxIndex === 0) {\n                        // Remove ellipses.\n                        updateTSpan('');\n                    }\n                }\n                return wasTooLong;\n            },\n\n            /**\n             * Parse a simple HTML string into SVG tspans. Called internally when text\n             *   is set on an SVGElement. The function supports a subset of HTML tags,\n             *   CSS text features like `width`, `text-overflow`, `white-space`, and\n             *   also attributes like `href` and `style`.\n             * @private\n             * @param {SVGElement} wrapper The parent SVGElement.\n             */\n            buildText: function(wrapper) {\n                var textNode = wrapper.element,\n                    renderer = this,\n                    forExport = renderer.forExport,\n                    textStr = pick(wrapper.textStr, '').toString(),\n                    hasMarkup = textStr.indexOf('<') !== -1,\n                    lines,\n                    childNodes = textNode.childNodes,\n                    clsRegex,\n                    styleRegex,\n                    hrefRegex,\n                    wasTooLong,\n                    parentX = attr(textNode, 'x'),\n                    textStyles = wrapper.styles,\n                    width = wrapper.textWidth,\n                    textLineHeight = textStyles && textStyles.lineHeight,\n                    textOutline = textStyles && textStyles.textOutline,\n                    ellipsis = textStyles && textStyles.textOverflow === 'ellipsis',\n                    noWrap = textStyles && textStyles.whiteSpace === 'nowrap',\n                    fontSize = textStyles && textStyles.fontSize,\n                    textCache,\n                    isSubsequentLine,\n                    i = childNodes.length,\n                    tempParent = width && !wrapper.added && this.box,\n                    getLineHeight = function(tspan) {\n                        var fontSizeStyle;\n\n                        fontSizeStyle = /(px|em)$/.test(tspan && tspan.style.fontSize) ?\n                            tspan.style.fontSize :\n                            (fontSize || renderer.style.fontSize || 12);\n\n\n                        return textLineHeight ?\n                            pInt(textLineHeight) :\n                            renderer.fontMetrics(\n                                fontSizeStyle,\n                                // Get the computed size from parent if not explicit\n                                tspan.getAttribute('style') ? tspan : textNode\n                            ).h;\n                    },\n                    unescapeAngleBrackets = function(inputStr) {\n                        return inputStr.replace(/&lt;/g, '<').replace(/&gt;/g, '>');\n                    };\n\n                // The buildText code is quite heavy, so if we're not changing something\n                // that affects the text, skip it (#6113).\n                textCache = [\n                    textStr,\n                    ellipsis,\n                    noWrap,\n                    textLineHeight,\n                    textOutline,\n                    fontSize,\n                    width\n                ].join(',');\n                if (textCache === wrapper.textCache) {\n                    return;\n                }\n                wrapper.textCache = textCache;\n\n                /// remove old text\n                while (i--) {\n                    textNode.removeChild(childNodes[i]);\n                }\n\n                // Skip tspans, add text directly to text node. The forceTSpan is a hook\n                // used in text outline hack.\n                if (!hasMarkup && !textOutline && !ellipsis && !width && textStr.indexOf(' ') === -1) {\n                    textNode.appendChild(doc.createTextNode(unescapeAngleBrackets(textStr)));\n\n                    // Complex strings, add more logic\n                } else {\n\n                    clsRegex = /<.*class=\"([^\"]+)\".*>/;\n                    styleRegex = /<.*style=\"([^\"]+)\".*>/;\n                    hrefRegex = /<.*href=\"(http[^\"]+)\".*>/;\n\n                    if (tempParent) {\n                        tempParent.appendChild(textNode); // attach it to the DOM to read offset width\n                    }\n\n                    if (hasMarkup) {\n                        lines = textStr\n\n                            .replace(/<(b|strong)>/g, '<span style=\"font-weight:bold\">')\n                            .replace(/<(i|em)>/g, '<span style=\"font-style:italic\">')\n\n                            .replace(/<a/g, '<span')\n                            .replace(/<\\/(b|strong|i|em|a)>/g, '</span>')\n                            .split(/<br.*?>/g);\n\n                    } else {\n                        lines = [textStr];\n                    }\n\n\n                    // Trim empty lines (#5261)\n                    lines = grep(lines, function(line) {\n                        return line !== '';\n                    });\n\n\n                    // build the lines\n                    each(lines, function buildTextLines(line, lineNo) {\n                        var spans,\n                            spanNo = 0;\n                        line = line\n                            .replace(/^\\s+|\\s+$/g, '') // Trim to prevent useless/costly process on the spaces (#5258)\n                            .replace(/<span/g, '|||<span')\n                            .replace(/<\\/span>/g, '</span>|||');\n                        spans = line.split('|||');\n\n                        each(spans, function buildTextSpans(span) {\n                            if (span !== '' || spans.length === 1) {\n                                var attributes = {},\n                                    tspan = doc.createElementNS(renderer.SVG_NS, 'tspan'),\n                                    spanCls,\n                                    spanStyle; // #390\n                                if (clsRegex.test(span)) {\n                                    spanCls = span.match(clsRegex)[1];\n                                    attr(tspan, 'class', spanCls);\n                                }\n                                if (styleRegex.test(span)) {\n                                    spanStyle = span.match(styleRegex)[1].replace(/(;| |^)color([ :])/, '$1fill$2');\n                                    attr(tspan, 'style', spanStyle);\n                                }\n                                if (hrefRegex.test(span) && !forExport) { // Not for export - #1529\n                                    attr(tspan, 'onclick', 'location.href=\\\"' + span.match(hrefRegex)[1] + '\\\"');\n                                    css(tspan, {\n                                        cursor: 'pointer'\n                                    });\n                                }\n\n                                span = unescapeAngleBrackets(span.replace(/<(.|\\n)*?>/g, '') || ' ');\n\n                                // Nested tags aren't supported, and cause crash in Safari (#1596)\n                                if (span !== ' ') {\n\n                                    // add the text node\n                                    tspan.appendChild(doc.createTextNode(span));\n\n                                    if (!spanNo) { // first span in a line, align it to the left\n                                        if (lineNo && parentX !== null) {\n                                            attributes.x = parentX;\n                                        }\n                                    } else {\n                                        attributes.dx = 0; // #16\n                                    }\n\n                                    // add attributes\n                                    attr(tspan, attributes);\n\n                                    // Append it\n                                    textNode.appendChild(tspan);\n\n                                    // first span on subsequent line, add the line height\n                                    if (!spanNo && isSubsequentLine) {\n\n                                        // allow getting the right offset height in exporting in IE\n                                        if (!svg && forExport) {\n                                            css(tspan, {\n                                                display: 'block'\n                                            });\n                                        }\n\n                                        // Set the line height based on the font size of either\n                                        // the text element or the tspan element\n                                        attr(\n                                            tspan,\n                                            'dy',\n                                            getLineHeight(tspan)\n                                        );\n                                    }\n\n                                    /*if (width) {\n                                    \trenderer.breakText(wrapper, width);\n                                    }*/\n\n                                    // Check width and apply soft breaks or ellipsis\n                                    if (width) {\n                                        var words = span.replace(/([^\\^])-/g, '$1- ').split(' '), // #1273\n                                            hasWhiteSpace = spans.length > 1 || lineNo || (words.length > 1 && !noWrap),\n                                            tooLong,\n                                            rest = [],\n                                            actualWidth,\n                                            dy = getLineHeight(tspan),\n                                            rotation = wrapper.rotation;\n\n                                        if (ellipsis) {\n                                            wasTooLong = renderer.applyEllipsis(wrapper, tspan, span, width);\n                                        }\n\n                                        while (!ellipsis && hasWhiteSpace && (words.length || rest.length)) {\n                                            wrapper.rotation = 0; // discard rotation when computing box\n                                            actualWidth = renderer.getSpanWidth(wrapper, tspan);\n                                            tooLong = actualWidth > width;\n\n                                            // For ellipsis, do a binary search for the correct string length\n                                            if (wasTooLong === undefined) {\n                                                wasTooLong = tooLong; // First time\n                                            }\n\n                                            // Looping down, this is the first word sequence that is not too long,\n                                            // so we can move on to build the next line.\n                                            if (!tooLong || words.length === 1) {\n                                                words = rest;\n                                                rest = [];\n\n                                                if (words.length && !noWrap) {\n                                                    tspan = doc.createElementNS(SVG_NS, 'tspan');\n                                                    attr(tspan, {\n                                                        dy: dy,\n                                                        x: parentX\n                                                    });\n                                                    if (spanStyle) { // #390\n                                                        attr(tspan, 'style', spanStyle);\n                                                    }\n                                                    textNode.appendChild(tspan);\n                                                }\n                                                if (actualWidth > width) { // a single word is pressing it out\n                                                    width = actualWidth;\n                                                }\n                                            } else { // append to existing line tspan\n                                                tspan.removeChild(tspan.firstChild);\n                                                rest.unshift(words.pop());\n                                            }\n                                            if (words.length) {\n                                                tspan.appendChild(doc.createTextNode(words.join(' ').replace(/- /g, '-')));\n                                            }\n                                        }\n                                        wrapper.rotation = rotation;\n                                    }\n\n                                    spanNo++;\n                                }\n                            }\n                        });\n                        // To avoid beginning lines that doesn't add to the textNode (#6144)\n                        isSubsequentLine = isSubsequentLine || textNode.childNodes.length;\n                    });\n\n                    if (wasTooLong) {\n                        wrapper.attr('title', wrapper.textStr);\n                    }\n                    if (tempParent) {\n                        tempParent.removeChild(textNode); // attach it to the DOM to read offset width\n                    }\n\n                    // Apply the text outline\n                    if (textOutline && wrapper.applyTextOutline) {\n                        wrapper.applyTextOutline(textOutline);\n                    }\n                }\n            },\n\n\n\n            /*\n            breakText: function (wrapper, width) {\n            \tvar bBox = wrapper.getBBox(),\n            \t\tnode = wrapper.element,\n            \t\ttextLength = node.textContent.length,\n            \t\tpos = Math.round(width * textLength / bBox.width), // try this position first, based on average character width\n            \t\tincrement = 0,\n            \t\tfinalPos;\n\n            \tif (bBox.width > width) {\n            \t\twhile (finalPos === undefined) {\n            \t\t\ttextLength = node.getSubStringLength(0, pos);\n\n            \t\t\tif (textLength <= width) {\n            \t\t\t\tif (increment === -1) {\n            \t\t\t\t\tfinalPos = pos;\n            \t\t\t\t} else {\n            \t\t\t\t\tincrement = 1;\n            \t\t\t\t}\n            \t\t\t} else {\n            \t\t\t\tif (increment === 1) {\n            \t\t\t\t\tfinalPos = pos - 1;\n            \t\t\t\t} else {\n            \t\t\t\t\tincrement = -1;\n            \t\t\t\t}\n            \t\t\t}\n            \t\t\tpos += increment;\n            \t\t}\n            \t}\n            \tconsole.log('width', width, 'stringWidth', node.getSubStringLength(0, finalPos))\n            },\n            */\n\n            /**\n             * Returns white for dark colors and black for bright colors.\n             *\n             * @param {ColorString} rgba - The color to get the contrast for.\n             * @returns {string} The contrast color, either `#000000` or `#FFFFFF`.\n             */\n            getContrast: function(rgba) {\n                rgba = color(rgba).rgba;\n\n                // The threshold may be discussed. Here's a proposal for adding\n                // different weight to the color channels (#6216)\n                /*\n        rgba[0] *= 1; // red\n        rgba[1] *= 1.2; // green\n        rgba[2] *= 0.7; // blue\n        */\n\n                return rgba[0] + rgba[1] + rgba[2] > 2 * 255 ? '#000000' : '#FFFFFF';\n            },\n\n            /**\n             * Create a button with preset states.\n             * @param {string} text - The text or HTML to draw.\n             * @param {number} x - The x position of the button's left side.\n             * @param {number} y - The y position of the button's top side.\n             * @param {Function} callback - The function to execute on button click or \n             *    touch.\n             * @param {SVGAttributes} [normalState] - SVG attributes for the normal\n             *    state.\n             * @param {SVGAttributes} [hoverState] - SVG attributes for the hover state.\n             * @param {SVGAttributes} [pressedState] - SVG attributes for the pressed\n             *    state.\n             * @param {SVGAttributes} [disabledState] - SVG attributes for the disabled\n             *    state.\n             * @param {Symbol} [shape=rect] - The shape type.\n             * @returns {SVGRenderer} The button element.\n             */\n            button: function(text, x, y, callback, normalState, hoverState, pressedState, disabledState, shape) {\n                var label = this.label(text, x, y, shape, null, null, null, null, 'button'),\n                    curState = 0;\n\n                // Default, non-stylable attributes\n                label.attr(merge({\n                    'padding': 8,\n                    'r': 2\n                }, normalState));\n\n\n                // Presentational\n                var normalStyle,\n                    hoverStyle,\n                    pressedStyle,\n                    disabledStyle;\n\n                // Normal state - prepare the attributes\n                normalState = merge({\n                    fill: '#f7f7f7',\n                    stroke: '#cccccc',\n                    'stroke-width': 1,\n                    style: {\n                        color: '#333333',\n                        cursor: 'pointer',\n                        fontWeight: 'normal'\n                    }\n                }, normalState);\n                normalStyle = normalState.style;\n                delete normalState.style;\n\n                // Hover state\n                hoverState = merge(normalState, {\n                    fill: '#e6e6e6'\n                }, hoverState);\n                hoverStyle = hoverState.style;\n                delete hoverState.style;\n\n                // Pressed state\n                pressedState = merge(normalState, {\n                    fill: '#e6ebf5',\n                    style: {\n                        color: '#000000',\n                        fontWeight: 'bold'\n                    }\n                }, pressedState);\n                pressedStyle = pressedState.style;\n                delete pressedState.style;\n\n                // Disabled state\n                disabledState = merge(normalState, {\n                    style: {\n                        color: '#cccccc'\n                    }\n                }, disabledState);\n                disabledStyle = disabledState.style;\n                delete disabledState.style;\n\n\n                // Add the events. IE9 and IE10 need mouseover and mouseout to funciton (#667).\n                addEvent(label.element, isMS ? 'mouseover' : 'mouseenter', function() {\n                    if (curState !== 3) {\n                        label.setState(1);\n                    }\n                });\n                addEvent(label.element, isMS ? 'mouseout' : 'mouseleave', function() {\n                    if (curState !== 3) {\n                        label.setState(curState);\n                    }\n                });\n\n                label.setState = function(state) {\n                    // Hover state is temporary, don't record it\n                    if (state !== 1) {\n                        label.state = curState = state;\n                    }\n                    // Update visuals\n                    label.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/)\n                        .addClass('highcharts-button-' + ['normal', 'hover', 'pressed', 'disabled'][state || 0]);\n\n\n                    label.attr([normalState, hoverState, pressedState, disabledState][state || 0])\n                        .css([normalStyle, hoverStyle, pressedStyle, disabledStyle][state || 0]);\n\n                };\n\n\n\n                // Presentational attributes\n                label\n                    .attr(normalState)\n                    .css(extend({\n                        cursor: 'default'\n                    }, normalStyle));\n\n\n                return label\n                    .on('click', function(e) {\n                        if (curState !== 3) {\n                            callback.call(label, e);\n                        }\n                    });\n            },\n\n            /**\n             * Make a straight line crisper by not spilling out to neighbour pixels.\n             * \n             * @param {Array} points - The original points on the format `['M', 0, 0,\n             *    'L', 100, 0]`.\n             * @param {number} width - The width of the line.\n             * @returns {Array} The original points array, but modified to render\n             * crisply.\n             */\n            crispLine: function(points, width) {\n                // normalize to a crisp line\n                if (points[1] === points[4]) {\n                    // Substract due to #1129. Now bottom and left axis gridlines behave the same.\n                    points[1] = points[4] = Math.round(points[1]) - (width % 2 / 2);\n                }\n                if (points[2] === points[5]) {\n                    points[2] = points[5] = Math.round(points[2]) + (width % 2 / 2);\n                }\n                return points;\n            },\n\n\n            /**\n             * Draw a path, wraps the SVG `path` element.\n             * \n             * @param {Array} [path] An SVG path definition in array form.\n             * \n             * @example\n             * var path = renderer.path(['M', 10, 10, 'L', 30, 30, 'z'])\n             *     .attr({ stroke: '#ff00ff' })\n             *     .add();\n             * @returns {SVGElement} The generated wrapper element.\n             */\n            /**\n             * Draw a path, wraps the SVG `path` element.\n             * \n             * @param {SVGAttributes} [attribs] The initial attributes.\n             * @returns {SVGElement} The generated wrapper element.\n             */\n            path: function(path) {\n                var attribs = {\n\n                    fill: 'none'\n\n                };\n                if (isArray(path)) {\n                    attribs.d = path;\n                } else if (isObject(path)) { // attributes\n                    extend(attribs, path);\n                }\n                return this.createElement('path').attr(attribs);\n            },\n\n            /**\n             * Draw a circle, wraps the SVG `circle` element.\n             * \n             * @param {number} [x] The center x position.\n             * @param {number} [y] The center y position.\n             * @param {number} [r] The radius.\n             * @returns {SVGElement} The generated wrapper element.\n             */\n            /**\n             * Draw a circle, wraps the SVG `circle` element.\n             * \n             * @param {SVGAttributes} [attribs] The initial attributes.\n             * @returns {SVGElement} The generated wrapper element.\n             */\n            circle: function(x, y, r) {\n                var attribs = isObject(x) ? x : {\n                        x: x,\n                        y: y,\n                        r: r\n                    },\n                    wrapper = this.createElement('circle');\n\n                // Setting x or y translates to cx and cy\n                wrapper.xSetter = wrapper.ySetter = function(value, key, element) {\n                    element.setAttribute('c' + key, value);\n                };\n\n                return wrapper.attr(attribs);\n            },\n\n            /**\n             * Draw and return an arc.\n             * @param {number} [x=0] Center X position.\n             * @param {number} [y=0] Center Y position.\n             * @param {number} [r=0] The outer radius of the arc.\n             * @param {number} [innerR=0] Inner radius like used in donut charts.\n             * @param {number} [start=0] The starting angle of the arc in radians, where\n             *    0 is to the right and `-Math.PI/2` is up.\n             * @param {number} [end=0] The ending angle of the arc in radians, where 0\n             *    is to the right and `-Math.PI/2` is up.\n             * @returns {SVGElement} The generated wrapper element.\n             */\n            /**\n             * Draw and return an arc. Overloaded function that takes arguments object.\n             * @param {SVGAttributes} attribs Initial SVG attributes.\n             * @returns {SVGElement} The generated wrapper element.\n             */\n            arc: function(x, y, r, innerR, start, end) {\n                var arc,\n                    options;\n\n                if (isObject(x)) {\n                    options = x;\n                    y = options.y;\n                    r = options.r;\n                    innerR = options.innerR;\n                    start = options.start;\n                    end = options.end;\n                    x = options.x;\n                } else {\n                    options = {\n                        innerR: innerR,\n                        start: start,\n                        end: end\n                    };\n                }\n\n                // Arcs are defined as symbols for the ability to set\n                // attributes in attr and animate\n                arc = this.symbol('arc', x, y, r, r, options);\n                arc.r = r; // #959\n                return arc;\n            },\n\n            /**\n             * Draw and return a rectangle.\n             * @param {number} [x] Left position.\n             * @param {number} [y] Top position.\n             * @param {number} [width] Width of the rectangle.\n             * @param {number} [height] Height of the rectangle.\n             * @param {number} [r] Border corner radius.\n             * @param {number} [strokeWidth] A stroke width can be supplied to allow\n             *    crisp drawing.\n             * @returns {SVGElement} The generated wrapper element.\n             */\n            /**\n             * Draw and return a rectangle.\n             * @param {SVGAttributes} [attributes] General SVG attributes for the \n             *    rectangle.\n             * @returns {SVGElement} The generated wrapper element.\n             */\n            rect: function(x, y, width, height, r, strokeWidth) {\n\n                r = isObject(x) ? x.r : r;\n\n                var wrapper = this.createElement('rect'),\n                    attribs = isObject(x) ? x : x === undefined ? {} : {\n                        x: x,\n                        y: y,\n                        width: Math.max(width, 0),\n                        height: Math.max(height, 0)\n                    };\n\n\n                if (strokeWidth !== undefined) {\n                    attribs.strokeWidth = strokeWidth;\n                    attribs = wrapper.crisp(attribs);\n                }\n                attribs.fill = 'none';\n\n\n                if (r) {\n                    attribs.r = r;\n                }\n\n                wrapper.rSetter = function(value, key, element) {\n                    attr(element, {\n                        rx: value,\n                        ry: value\n                    });\n                };\n\n                return wrapper.attr(attribs);\n            },\n\n            /**\n             * Resize the {@link SVGRenderer#box} and re-align all aligned child\n             * elements.\n             * @param {number} width The new pixel width.\n             * @param {number} height The new pixel height.\n             * @param {boolean} animate Whether to animate.\n             */\n            setSize: function(width, height, animate) {\n                var renderer = this,\n                    alignedObjects = renderer.alignedObjects,\n                    i = alignedObjects.length;\n\n                renderer.width = width;\n                renderer.height = height;\n\n                renderer.boxWrapper.animate({\n                    width: width,\n                    height: height\n                }, {\n                    step: function() {\n                        this.attr({\n                            viewBox: '0 0 ' + this.attr('width') + ' ' + this.attr('height')\n                        });\n                    },\n                    duration: pick(animate, true) ? undefined : 0\n                });\n\n                while (i--) {\n                    alignedObjects[i].align();\n                }\n            },\n\n            /**\n             * Create and return an svg group element.\n             * \n             * @param {string} [name] The group will be given a class name of\n             * `highcharts-{name}`. This can be used for styling and scripting.\n             * @returns {SVGElement} The generated wrapper element.\n             */\n            g: function(name) {\n                var elem = this.createElement('g');\n                return name ? elem.attr({\n                    'class': 'highcharts-' + name\n                }) : elem;\n            },\n\n            /**\n             * Display an image.\n             * @param {string} src The image source.\n             * @param {number} [x] The X position.\n             * @param {number} [y] The Y position.\n             * @param {number} [width] The image width. If omitted, it defaults to the \n             *    image file width.\n             * @param {number} [height] The image height. If omitted it defaults to the\n             *    image file height.\n             * @returns {SVGElement} The generated wrapper element.\n             */\n            image: function(src, x, y, width, height) {\n                var attribs = {\n                        preserveAspectRatio: 'none'\n                    },\n                    elemWrapper;\n\n                // optional properties\n                if (arguments.length > 1) {\n                    extend(attribs, {\n                        x: x,\n                        y: y,\n                        width: width,\n                        height: height\n                    });\n                }\n\n                elemWrapper = this.createElement('image').attr(attribs);\n\n                // set the href in the xlink namespace\n                if (elemWrapper.element.setAttributeNS) {\n                    elemWrapper.element.setAttributeNS('http://www.w3.org/1999/xlink',\n                        'href', src);\n                } else {\n                    // could be exporting in IE\n                    // using href throws \"not supported\" in ie7 and under, requries regex shim to fix later\n                    elemWrapper.element.setAttribute('hc-svg-href', src);\n                }\n                return elemWrapper;\n            },\n\n            /**\n             * Draw a symbol out of pre-defined shape paths from {@SVGRenderer#symbols}.\n             * It is used in Highcharts for point makers, which cake a `symbol` option,\n             * and label and button backgrounds like in the tooltip and stock flags.\n             *\n             * @param {Symbol} symbol - The symbol name.\n             * @param {number} x - The X coordinate for the top left position.\n             * @param {number} y - The Y coordinate for the top left position.\n             * @param {number} width - The pixel width.\n             * @param {number} height - The pixel height.\n             * @param {Object} [options] - Additional options, depending on the actual\n             *    symbol drawn. \n             * @param {number} [options.anchorX] - The anchor X position for the\n             *    `callout` symbol. This is where the chevron points to.\n             * @param {number} [options.anchorY] - The anchor Y position for the\n             *    `callout` symbol. This is where the chevron points to.\n             * @param {number} [options.end] - The end angle of an `arc` symbol.\n             * @param {boolean} [options.open] - Whether to draw `arc` symbol open or\n             *    closed.\n             * @param {number} [options.r] - The radius of an `arc` symbol, or the\n             *    border radius for the `callout` symbol.\n             * @param {number} [options.start] - The start angle of an `arc` symbol.\n             */\n            symbol: function(symbol, x, y, width, height, options) {\n\n                var ren = this,\n                    obj,\n\n                    // get the symbol definition function\n                    symbolFn = this.symbols[symbol],\n\n                    // check if there's a path defined for this symbol\n                    path = defined(x) && symbolFn && this.symbols[symbol](\n                        Math.round(x),\n                        Math.round(y),\n                        width,\n                        height,\n                        options\n                    ),\n                    imageRegex = /^url\\((.*?)\\)$/,\n                    imageSrc,\n                    centerImage;\n\n                if (symbolFn) {\n                    obj = this.path(path);\n\n\n                    obj.attr('fill', 'none');\n\n\n                    // expando properties for use in animate and attr\n                    extend(obj, {\n                        symbolName: symbol,\n                        x: x,\n                        y: y,\n                        width: width,\n                        height: height\n                    });\n                    if (options) {\n                        extend(obj, options);\n                    }\n\n\n                    // image symbols\n                } else if (imageRegex.test(symbol)) {\n\n\n                    imageSrc = symbol.match(imageRegex)[1];\n\n                    // Create the image synchronously, add attribs async\n                    obj = this.image(imageSrc);\n\n                    // The image width is not always the same as the symbol width. The\n                    // image may be centered within the symbol, as is the case when\n                    // image shapes are used as label backgrounds, for example in flags.\n                    obj.imgwidth = pick(\n                        symbolSizes[imageSrc] && symbolSizes[imageSrc].width,\n                        options && options.width\n                    );\n                    obj.imgheight = pick(\n                        symbolSizes[imageSrc] && symbolSizes[imageSrc].height,\n                        options && options.height\n                    );\n                    /**\n                     * Set the size and position\n                     */\n                    centerImage = function() {\n                        obj.attr({\n                            width: obj.width,\n                            height: obj.height\n                        });\n                    };\n\n                    /**\n                     * Width and height setters that take both the image's physical size\n                     * and the label size into consideration, and translates the image\n                     * to center within the label.\n                     */\n                    each(['width', 'height'], function(key) {\n                        obj[key + 'Setter'] = function(value, key) {\n                            var attribs = {},\n                                imgSize = this['img' + key],\n                                trans = key === 'width' ? 'translateX' : 'translateY';\n                            this[key] = value;\n                            if (defined(imgSize)) {\n                                if (this.element) {\n                                    this.element.setAttribute(key, imgSize);\n                                }\n                                if (!this.alignByTranslate) {\n                                    attribs[trans] = ((this[key] || 0) - imgSize) / 2;\n                                    this.attr(attribs);\n                                }\n                            }\n                        };\n                    });\n\n\n                    if (defined(x)) {\n                        obj.attr({\n                            x: x,\n                            y: y\n                        });\n                    }\n                    obj.isImg = true;\n\n                    if (defined(obj.imgwidth) && defined(obj.imgheight)) {\n                        centerImage();\n                    } else {\n                        // Initialize image to be 0 size so export will still function if there's no cached sizes.\n                        obj.attr({\n                            width: 0,\n                            height: 0\n                        });\n\n                        // Create a dummy JavaScript image to get the width and height. Due to a bug in IE < 8,\n                        // the created element must be assigned to a variable in order to load (#292).\n                        createElement('img', {\n                            onload: function() {\n\n                                var chart = charts[ren.chartIndex];\n\n                                // Special case for SVGs on IE11, the width is not accessible until the image is\n                                // part of the DOM (#2854).\n                                if (this.width === 0) {\n                                    css(this, {\n                                        position: 'absolute',\n                                        top: '-999em'\n                                    });\n                                    doc.body.appendChild(this);\n                                }\n\n                                // Center the image\n                                symbolSizes[imageSrc] = { // Cache for next\t\n                                    width: this.width,\n                                    height: this.height\n                                };\n                                obj.imgwidth = this.width;\n                                obj.imgheight = this.height;\n\n                                if (obj.element) {\n                                    centerImage();\n                                }\n\n                                // Clean up after #2854 workaround.\n                                if (this.parentNode) {\n                                    this.parentNode.removeChild(this);\n                                }\n\n                                // Fire the load event when all external images are loaded\n                                ren.imgCount--;\n                                if (!ren.imgCount && chart && chart.onload) {\n                                    chart.onload();\n                                }\n                            },\n                            src: imageSrc\n                        });\n                        this.imgCount++;\n                    }\n                }\n\n                return obj;\n            },\n\n            /**\n             * @typedef {string} Symbol\n             * \n             * Can be one of `arc`, `callout`, `circle`, `diamond`, `square`,\n             * `triangle`, `triangle-down`. Symbols are used internally for point\n             * markers, button and label borders and backgrounds, or custom shapes.\n             * Extendable by adding to {@link SVGRenderer#symbols}.\n             */\n            /**\n             * An extendable collection of functions for defining symbol paths.\n             */\n            symbols: {\n                'circle': function(x, y, w, h) {\n                    // Return a full arc\n                    return this.arc(x + w / 2, y + h / 2, w / 2, h / 2, {\n                        start: 0,\n                        end: Math.PI * 2,\n                        open: false\n                    });\n                },\n\n                'square': function(x, y, w, h) {\n                    return [\n                        'M', x, y,\n                        'L', x + w, y,\n                        x + w, y + h,\n                        x, y + h,\n                        'Z'\n                    ];\n                },\n\n                'triangle': function(x, y, w, h) {\n                    return [\n                        'M', x + w / 2, y,\n                        'L', x + w, y + h,\n                        x, y + h,\n                        'Z'\n                    ];\n                },\n\n                'triangle-down': function(x, y, w, h) {\n                    return [\n                        'M', x, y,\n                        'L', x + w, y,\n                        x + w / 2, y + h,\n                        'Z'\n                    ];\n                },\n                'diamond': function(x, y, w, h) {\n                    return [\n                        'M', x + w / 2, y,\n                        'L', x + w, y + h / 2,\n                        x + w / 2, y + h,\n                        x, y + h / 2,\n                        'Z'\n                    ];\n                },\n                'arc': function(x, y, w, h, options) {\n                    var start = options.start,\n                        rx = options.r || w,\n                        ry = options.r || h || w,\n                        end = options.end - 0.001, // to prevent cos and sin of start and end from becoming equal on 360 arcs (related: #1561)\n                        innerRadius = options.innerR,\n                        open = options.open,\n                        cosStart = Math.cos(start),\n                        sinStart = Math.sin(start),\n                        cosEnd = Math.cos(end),\n                        sinEnd = Math.sin(end),\n                        longArc = options.end - start < Math.PI ? 0 : 1,\n                        arc;\n\n                    arc = [\n                        'M',\n                        x + rx * cosStart,\n                        y + ry * sinStart,\n                        'A', // arcTo\n                        rx, // x radius\n                        ry, // y radius\n                        0, // slanting\n                        longArc, // long or short arc\n                        1, // clockwise\n                        x + rx * cosEnd,\n                        y + ry * sinEnd\n                    ];\n\n                    if (defined(innerRadius)) {\n                        arc.push(\n                            open ? 'M' : 'L',\n                            x + innerRadius * cosEnd,\n                            y + innerRadius * sinEnd,\n                            'A', // arcTo\n                            innerRadius, // x radius\n                            innerRadius, // y radius\n                            0, // slanting\n                            longArc, // long or short arc\n                            0, // clockwise\n                            x + innerRadius * cosStart,\n                            y + innerRadius * sinStart\n                        );\n                    }\n\n                    arc.push(open ? '' : 'Z'); // close\n                    return arc;\n                },\n\n                /**\n                 * Callout shape used for default tooltips, also used for rounded rectangles in VML\n                 */\n                callout: function(x, y, w, h, options) {\n                    var arrowLength = 6,\n                        halfDistance = 6,\n                        r = Math.min((options && options.r) || 0, w, h),\n                        safeDistance = r + halfDistance,\n                        anchorX = options && options.anchorX,\n                        anchorY = options && options.anchorY,\n                        path;\n\n                    path = [\n                        'M', x + r, y,\n                        'L', x + w - r, y, // top side\n                        'C', x + w, y, x + w, y, x + w, y + r, // top-right corner\n                        'L', x + w, y + h - r, // right side\n                        'C', x + w, y + h, x + w, y + h, x + w - r, y + h, // bottom-right corner\n                        'L', x + r, y + h, // bottom side\n                        'C', x, y + h, x, y + h, x, y + h - r, // bottom-left corner\n                        'L', x, y + r, // left side\n                        'C', x, y, x, y, x + r, y // top-left corner\n                    ];\n\n                    // Anchor on right side\n                    if (anchorX && anchorX > w) {\n\n                        // Chevron\n                        if (anchorY > y + safeDistance && anchorY < y + h - safeDistance) {\n                            path.splice(13, 3,\n                                'L', x + w, anchorY - halfDistance,\n                                x + w + arrowLength, anchorY,\n                                x + w, anchorY + halfDistance,\n                                x + w, y + h - r\n                            );\n\n                            // Simple connector\n                        } else {\n                            path.splice(13, 3,\n                                'L', x + w, h / 2,\n                                anchorX, anchorY,\n                                x + w, h / 2,\n                                x + w, y + h - r\n                            );\n                        }\n\n                        // Anchor on left side\n                    } else if (anchorX && anchorX < 0) {\n\n                        // Chevron\n                        if (anchorY > y + safeDistance && anchorY < y + h - safeDistance) {\n                            path.splice(33, 3,\n                                'L', x, anchorY + halfDistance,\n                                x - arrowLength, anchorY,\n                                x, anchorY - halfDistance,\n                                x, y + r\n                            );\n\n                            // Simple connector\n                        } else {\n                            path.splice(33, 3,\n                                'L', x, h / 2,\n                                anchorX, anchorY,\n                                x, h / 2,\n                                x, y + r\n                            );\n                        }\n\n                    } else if (anchorY && anchorY > h && anchorX > x + safeDistance && anchorX < x + w - safeDistance) { // replace bottom\n                        path.splice(23, 3,\n                            'L', anchorX + halfDistance, y + h,\n                            anchorX, y + h + arrowLength,\n                            anchorX - halfDistance, y + h,\n                            x + r, y + h\n                        );\n                    } else if (anchorY && anchorY < 0 && anchorX > x + safeDistance && anchorX < x + w - safeDistance) { // replace top\n                        path.splice(3, 3,\n                            'L', anchorX - halfDistance, y,\n                            anchorX, y - arrowLength,\n                            anchorX + halfDistance, y,\n                            w - r, y\n                        );\n                    }\n\n                    return path;\n                }\n            },\n\n            /**\n             * @typedef {SVGElement} ClipRect - A clipping rectangle that can be applied\n             * to one or more {@link SVGElement} instances. It is instanciated with the\n             * {@link SVGRenderer#clipRect} function and applied with the {@link \n             * SVGElement#clip} function.\n             *\n             * @example\n             * var circle = renderer.circle(100, 100, 100)\n             *     .attr({ fill: 'red' })\n             *     .add();\n             * var clipRect = renderer.clipRect(100, 100, 100, 100);\n             *\n             * // Leave only the lower right quarter visible\n             * circle.clip(clipRect);\n             */\n            /**\n             * Define a clipping rectangle\n             * @param {String} id\n             * @param {number} x\n             * @param {number} y\n             * @param {number} width\n             * @param {number} height\n             * @returns {ClipRect} A clipping rectangle.\n             */\n            clipRect: function(x, y, width, height) {\n                var wrapper,\n                    id = H.uniqueKey(),\n\n                    clipPath = this.createElement('clipPath').attr({\n                        id: id\n                    }).add(this.defs);\n\n                wrapper = this.rect(x, y, width, height, 0).add(clipPath);\n                wrapper.id = id;\n                wrapper.clipPath = clipPath;\n                wrapper.count = 0;\n\n                return wrapper;\n            },\n\n\n\n\n\n            /**\n             * Add text to the SVG object\n             * @param {String} str\n             * @param {number} x Left position\n             * @param {number} y Top position\n             * @param {Boolean} useHTML Use HTML to render the text\n             */\n            text: function(str, x, y, useHTML) {\n\n                // declare variables\n                var renderer = this,\n                    fakeSVG = !svg && renderer.forExport,\n                    wrapper,\n                    attribs = {};\n\n                if (useHTML && (renderer.allowHTML || !renderer.forExport)) {\n                    return renderer.html(str, x, y);\n                }\n\n                attribs.x = Math.round(x || 0); // X is always needed for line-wrap logic\n                if (y) {\n                    attribs.y = Math.round(y);\n                }\n                if (str || str === 0) {\n                    attribs.text = str;\n                }\n\n                wrapper = renderer.createElement('text')\n                    .attr(attribs);\n\n                // Prevent wrapping from creating false offsetWidths in export in legacy IE (#1079, #1063)\n                if (fakeSVG) {\n                    wrapper.css({\n                        position: 'absolute'\n                    });\n                }\n\n                if (!useHTML) {\n                    wrapper.xSetter = function(value, key, element) {\n                        var tspans = element.getElementsByTagName('tspan'),\n                            tspan,\n                            parentVal = element.getAttribute(key),\n                            i;\n                        for (i = 0; i < tspans.length; i++) {\n                            tspan = tspans[i];\n                            // If the x values are equal, the tspan represents a linebreak\n                            if (tspan.getAttribute(key) === parentVal) {\n                                tspan.setAttribute(key, value);\n                            }\n                        }\n                        element.setAttribute(key, value);\n                    };\n                }\n\n                return wrapper;\n            },\n\n            /**\n             * Utility to return the baseline offset and total line height from the font\n             * size.\n             *\n             * @param {?string} fontSize The current font size to inspect. If not given,\n             *   the font size will be found from the DOM element.\n             * @param {SVGElement|SVGDOMElement} [elem] The element to inspect for a\n             *   current font size.\n             * @returns {Object} An object containing `h`: the line height, `b`: the\n             * baseline relative to the top of the box, and `f`: the font size.\n             */\n            fontMetrics: function(fontSize, elem) {\n                var lineHeight,\n                    baseline;\n\n\n                fontSize = fontSize ||\n                    // When the elem is a DOM element (#5932)\n                    (elem && elem.style && elem.style.fontSize) ||\n                    // Fall back on the renderer style default\n                    (this.style && this.style.fontSize);\n\n\n\n                // Handle different units\n                if (/px/.test(fontSize)) {\n                    fontSize = pInt(fontSize);\n                } else if (/em/.test(fontSize)) {\n                    // The em unit depends on parent items\n                    fontSize = parseFloat(fontSize) *\n                        (elem ? this.fontMetrics(null, elem.parentNode).f : 16);\n                } else {\n                    fontSize = 12;\n                }\n\n                // Empirical values found by comparing font size and bounding box\n                // height. Applies to the default font family.\n                // http://jsfiddle.net/highcharts/7xvn7/\n                lineHeight = fontSize < 24 ? fontSize + 3 : Math.round(fontSize * 1.2);\n                baseline = Math.round(lineHeight * 0.8);\n\n                return {\n                    h: lineHeight,\n                    b: baseline,\n                    f: fontSize\n                };\n            },\n\n            /**\n             * Correct X and Y positioning of a label for rotation (#1764)\n             */\n            rotCorr: function(baseline, rotation, alterY) {\n                var y = baseline;\n                if (rotation && alterY) {\n                    y = Math.max(y * Math.cos(rotation * deg2rad), 4);\n                }\n                return {\n                    x: (-baseline / 3) * Math.sin(rotation * deg2rad),\n                    y: y\n                };\n            },\n\n            /**\n             * Add a label, a text item that can hold a colored or gradient background\n             * as well as a border and shadow. Supported custom attributes include\n             * `padding`. \n             * \n             * @param {string} str\n             * @param {number} x\n             * @param {number} y\n             * @param {String} shape\n             * @param {number} anchorX In case the shape has a pointer, like a flag, this is the\n             *\tcoordinates it should be pinned to\n             * @param {number} anchorY\n             * @param {Boolean} baseline Whether to position the label relative to the text baseline,\n             *\tlike renderer.text, or to the upper border of the rectangle.\n             * @param {String} className Class name for the group\n             */\n            label: function(str, x, y, shape, anchorX, anchorY, useHTML, baseline, className) {\n\n                var renderer = this,\n                    wrapper = renderer.g(className !== 'button' && 'label'),\n                    text = wrapper.text = renderer.text('', 0, 0, useHTML)\n                    .attr({\n                        zIndex: 1\n                    }),\n                    box,\n                    bBox,\n                    alignFactor = 0,\n                    padding = 3,\n                    paddingLeft = 0,\n                    width,\n                    height,\n                    wrapperX,\n                    wrapperY,\n                    textAlign,\n                    deferredAttr = {},\n                    strokeWidth,\n                    baselineOffset,\n                    hasBGImage = /^url\\((.*?)\\)$/.test(shape),\n                    needsBox = hasBGImage,\n                    getCrispAdjust,\n                    updateBoxSize,\n                    updateTextPadding,\n                    boxAttr;\n\n                if (className) {\n                    wrapper.addClass('highcharts-' + className);\n                }\n\n\n                needsBox = hasBGImage;\n                getCrispAdjust = function() {\n                    return (strokeWidth || 0) % 2 / 2;\n                };\n\n\n\n                /**\n                 * This function runs after the label is added to the DOM (when the bounding box is\n                 * available), and after the text of the label is updated to detect the new bounding\n                 * box and reflect it in the border box.\n                 */\n                updateBoxSize = function() {\n                    var style = text.element.style,\n                        crispAdjust,\n                        attribs = {};\n\n                    bBox = (width === undefined || height === undefined || textAlign) && defined(text.textStr) &&\n                        text.getBBox(); //#3295 && 3514 box failure when string equals 0\n                    wrapper.width = (width || bBox.width || 0) + 2 * padding + paddingLeft;\n                    wrapper.height = (height || bBox.height || 0) + 2 * padding;\n\n                    // Update the label-scoped y offset\n                    baselineOffset = padding + renderer.fontMetrics(style && style.fontSize, text).b;\n\n\n                    if (needsBox) {\n\n                        // Create the border box if it is not already present\n                        if (!box) {\n                            wrapper.box = box = renderer.symbols[shape] || hasBGImage ? // Symbol definition exists (#5324)\n                                renderer.symbol(shape) :\n                                renderer.rect();\n\n                            box.addClass(\n                                (className === 'button' ? '' : 'highcharts-label-box') + // Don't use label className for buttons\n                                (className ? ' highcharts-' + className + '-box' : '')\n                            );\n\n                            box.add(wrapper);\n\n                            crispAdjust = getCrispAdjust();\n                            attribs.x = crispAdjust;\n                            attribs.y = (baseline ? -baselineOffset : 0) + crispAdjust;\n                        }\n\n                        // Apply the box attributes\n                        attribs.width = Math.round(wrapper.width);\n                        attribs.height = Math.round(wrapper.height);\n\n                        box.attr(extend(attribs, deferredAttr));\n                        deferredAttr = {};\n                    }\n                };\n\n                /**\n                 * This function runs after setting text or padding, but only if padding is changed\n                 */\n                updateTextPadding = function() {\n                    var textX = paddingLeft + padding,\n                        textY;\n\n                    // determin y based on the baseline\n                    textY = baseline ? 0 : baselineOffset;\n\n                    // compensate for alignment\n                    if (defined(width) && bBox && (textAlign === 'center' || textAlign === 'right')) {\n                        textX += {\n                            center: 0.5,\n                            right: 1\n                        }[textAlign] * (width - bBox.width);\n                    }\n\n                    // update if anything changed\n                    if (textX !== text.x || textY !== text.y) {\n                        text.attr('x', textX);\n                        if (textY !== undefined) {\n                            text.attr('y', textY);\n                        }\n                    }\n\n                    // record current values\n                    text.x = textX;\n                    text.y = textY;\n                };\n\n                /**\n                 * Set a box attribute, or defer it if the box is not yet created\n                 * @param {Object} key\n                 * @param {Object} value\n                 */\n                boxAttr = function(key, value) {\n                    if (box) {\n                        box.attr(key, value);\n                    } else {\n                        deferredAttr[key] = value;\n                    }\n                };\n\n                /**\n                 * After the text element is added, get the desired size of the border box\n                 * and add it before the text in the DOM.\n                 */\n                wrapper.onAdd = function() {\n                    text.add(wrapper);\n                    wrapper.attr({\n                        text: (str || str === 0) ? str : '', // alignment is available now // #3295: 0 not rendered if given as a value\n                        x: x,\n                        y: y\n                    });\n\n                    if (box && defined(anchorX)) {\n                        wrapper.attr({\n                            anchorX: anchorX,\n                            anchorY: anchorY\n                        });\n                    }\n                };\n\n                /*\n                 * Add specific attribute setters.\n                 */\n\n                // only change local variables\n                wrapper.widthSetter = function(value) {\n                    width = H.isNumber(value) ? value : null; // width:auto => null\n                };\n                wrapper.heightSetter = function(value) {\n                    height = value;\n                };\n                wrapper['text-alignSetter'] = function(value) {\n                    textAlign = value;\n                };\n                wrapper.paddingSetter = function(value) {\n                    if (defined(value) && value !== padding) {\n                        padding = wrapper.padding = value;\n                        updateTextPadding();\n                    }\n                };\n                wrapper.paddingLeftSetter = function(value) {\n                    if (defined(value) && value !== paddingLeft) {\n                        paddingLeft = value;\n                        updateTextPadding();\n                    }\n                };\n\n\n                // change local variable and prevent setting attribute on the group\n                wrapper.alignSetter = function(value) {\n                    value = {\n                        left: 0,\n                        center: 0.5,\n                        right: 1\n                    }[value];\n                    if (value !== alignFactor) {\n                        alignFactor = value;\n                        if (bBox) { // Bounding box exists, means we're dynamically changing\n                            wrapper.attr({\n                                x: wrapperX\n                            }); // #5134\n                        }\n                    }\n                };\n\n                // apply these to the box and the text alike\n                wrapper.textSetter = function(value) {\n                    if (value !== undefined) {\n                        text.textSetter(value);\n                    }\n                    updateBoxSize();\n                    updateTextPadding();\n                };\n\n                // apply these to the box but not to the text\n                wrapper['stroke-widthSetter'] = function(value, key) {\n                    if (value) {\n                        needsBox = true;\n                    }\n                    strokeWidth = this['stroke-width'] = value;\n                    boxAttr(key, value);\n                };\n\n                wrapper.strokeSetter = wrapper.fillSetter = wrapper.rSetter = function(value, key) {\n                    if (key === 'fill' && value) {\n                        needsBox = true;\n                    }\n                    boxAttr(key, value);\n                };\n\n                wrapper.anchorXSetter = function(value, key) {\n                    anchorX = value;\n                    boxAttr(key, Math.round(value) - getCrispAdjust() - wrapperX);\n                };\n                wrapper.anchorYSetter = function(value, key) {\n                    anchorY = value;\n                    boxAttr(key, value - wrapperY);\n                };\n\n                // rename attributes\n                wrapper.xSetter = function(value) {\n                    wrapper.x = value; // for animation getter\n                    if (alignFactor) {\n                        value -= alignFactor * ((width || bBox.width) + 2 * padding);\n                    }\n                    wrapperX = Math.round(value);\n                    wrapper.attr('translateX', wrapperX);\n                };\n                wrapper.ySetter = function(value) {\n                    wrapperY = wrapper.y = Math.round(value);\n                    wrapper.attr('translateY', wrapperY);\n                };\n\n                // Redirect certain methods to either the box or the text\n                var baseCss = wrapper.css;\n                return extend(wrapper, {\n                    /**\n                     * Pick up some properties and apply them to the text instead of the\n                     * wrapper.\n                     * @ignore\n                     */\n                    css: function(styles) {\n                        if (styles) {\n                            var textStyles = {};\n                            styles = merge(styles); // create a copy to avoid altering the original object (#537)\n                            each(wrapper.textProps, function(prop) {\n                                if (styles[prop] !== undefined) {\n                                    textStyles[prop] = styles[prop];\n                                    delete styles[prop];\n                                }\n                            });\n                            text.css(textStyles);\n                        }\n                        return baseCss.call(wrapper, styles);\n                    },\n                    /**\n                     * Return the bounding box of the box, not the group.\n                     * @ignore\n                     */\n                    getBBox: function() {\n                        return {\n                            width: bBox.width + 2 * padding,\n                            height: bBox.height + 2 * padding,\n                            x: bBox.x - padding,\n                            y: bBox.y - padding\n                        };\n                    },\n\n                    /**\n                     * Apply the shadow to the box.\n                     * @ignore\n                     */\n                    shadow: function(b) {\n                        if (b) {\n                            updateBoxSize();\n                            if (box) {\n                                box.shadow(b);\n                            }\n                        }\n                        return wrapper;\n                    },\n\n                    /**\n                     * Destroy and release memory.\n                     * @ignore\n                     */\n                    destroy: function() {\n\n                        // Added by button implementation\n                        removeEvent(wrapper.element, 'mouseenter');\n                        removeEvent(wrapper.element, 'mouseleave');\n\n                        if (text) {\n                            text = text.destroy();\n                        }\n                        if (box) {\n                            box = box.destroy();\n                        }\n                        // Call base implementation to destroy the rest\n                        SVGElement.prototype.destroy.call(wrapper);\n\n                        // Release local pointers (#1298)\n                        wrapper = renderer = updateBoxSize = updateTextPadding = boxAttr = null;\n                    }\n                });\n            }\n        }; // end SVGRenderer\n\n\n        // general renderer\n        H.Renderer = SVGRenderer;\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var attr = H.attr,\n            createElement = H.createElement,\n            css = H.css,\n            defined = H.defined,\n            each = H.each,\n            extend = H.extend,\n            isFirefox = H.isFirefox,\n            isMS = H.isMS,\n            isWebKit = H.isWebKit,\n            pInt = H.pInt,\n            SVGElement = H.SVGElement,\n            SVGRenderer = H.SVGRenderer,\n            win = H.win,\n            wrap = H.wrap;\n\n        // Extend SvgElement for useHTML option\n        extend(SVGElement.prototype, /** @lends SVGElement.prototype */ {\n            /**\n             * Apply CSS to HTML elements. This is used in text within SVG rendering and\n             * by the VML renderer\n             */\n            htmlCss: function(styles) {\n                var wrapper = this,\n                    element = wrapper.element,\n                    textWidth = styles && element.tagName === 'SPAN' && styles.width;\n\n                if (textWidth) {\n                    delete styles.width;\n                    wrapper.textWidth = textWidth;\n                    wrapper.updateTransform();\n                }\n                if (styles && styles.textOverflow === 'ellipsis') {\n                    styles.whiteSpace = 'nowrap';\n                    styles.overflow = 'hidden';\n                }\n                wrapper.styles = extend(wrapper.styles, styles);\n                css(wrapper.element, styles);\n\n                return wrapper;\n            },\n\n            /**\n             * VML and useHTML method for calculating the bounding box based on offsets\n             * @param {Boolean} refresh Whether to force a fresh value from the DOM or to\n             * use the cached value\n             *\n             * @return {Object} A hash containing values for x, y, width and height\n             */\n\n            htmlGetBBox: function() {\n                var wrapper = this,\n                    element = wrapper.element;\n\n                // faking getBBox in exported SVG in legacy IE\n                // faking getBBox in exported SVG in legacy IE (is this a duplicate of the fix for #1079?)\n                if (element.nodeName === 'text') {\n                    element.style.position = 'absolute';\n                }\n\n                return {\n                    x: element.offsetLeft,\n                    y: element.offsetTop,\n                    width: element.offsetWidth,\n                    height: element.offsetHeight\n                };\n            },\n\n            /**\n             * VML override private method to update elements based on internal\n             * properties based on SVG transform\n             */\n            htmlUpdateTransform: function() {\n                // aligning non added elements is expensive\n                if (!this.added) {\n                    this.alignOnAdd = true;\n                    return;\n                }\n\n                var wrapper = this,\n                    renderer = wrapper.renderer,\n                    elem = wrapper.element,\n                    translateX = wrapper.translateX || 0,\n                    translateY = wrapper.translateY || 0,\n                    x = wrapper.x || 0,\n                    y = wrapper.y || 0,\n                    align = wrapper.textAlign || 'left',\n                    alignCorrection = {\n                        left: 0,\n                        center: 0.5,\n                        right: 1\n                    }[align],\n                    styles = wrapper.styles;\n\n                // apply translate\n                css(elem, {\n                    marginLeft: translateX,\n                    marginTop: translateY\n                });\n\n\n                if (wrapper.shadows) { // used in labels/tooltip\n                    each(wrapper.shadows, function(shadow) {\n                        css(shadow, {\n                            marginLeft: translateX + 1,\n                            marginTop: translateY + 1\n                        });\n                    });\n                }\n\n\n                // apply inversion\n                if (wrapper.inverted) { // wrapper is a group\n                    each(elem.childNodes, function(child) {\n                        renderer.invertChild(child, elem);\n                    });\n                }\n\n                if (elem.tagName === 'SPAN') {\n\n                    var rotation = wrapper.rotation,\n                        baseline,\n                        textWidth = pInt(wrapper.textWidth),\n                        whiteSpace = styles && styles.whiteSpace,\n                        currentTextTransform = [rotation, align, elem.innerHTML, wrapper.textWidth, wrapper.textAlign].join(',');\n\n                    if (currentTextTransform !== wrapper.cTT) { // do the calculations and DOM access only if properties changed\n\n\n                        baseline = renderer.fontMetrics(elem.style.fontSize).b;\n\n                        // Renderer specific handling of span rotation\n                        if (defined(rotation)) {\n                            wrapper.setSpanRotation(rotation, alignCorrection, baseline);\n                        }\n\n                        // Reset multiline/ellipsis in order to read width (#4928, #5417)\n                        css(elem, {\n                            width: '',\n                            whiteSpace: whiteSpace || 'nowrap'\n                        });\n\n                        // Update textWidth\n                        if (elem.offsetWidth > textWidth && /[ \\-]/.test(elem.textContent || elem.innerText)) { // #983, #1254\n                            css(elem, {\n                                width: textWidth + 'px',\n                                display: 'block',\n                                whiteSpace: whiteSpace || 'normal' // #3331\n                            });\n                        }\n\n\n                        wrapper.getSpanCorrection(elem.offsetWidth, baseline, alignCorrection, rotation, align);\n                    }\n\n                    // apply position with correction\n                    css(elem, {\n                        left: (x + (wrapper.xCorr || 0)) + 'px',\n                        top: (y + (wrapper.yCorr || 0)) + 'px'\n                    });\n\n                    // force reflow in webkit to apply the left and top on useHTML element (#1249)\n                    if (isWebKit) {\n                        baseline = elem.offsetHeight; // assigned to baseline for lint purpose\n                    }\n\n                    // record current text transform\n                    wrapper.cTT = currentTextTransform;\n                }\n            },\n\n            /**\n             * Set the rotation of an individual HTML span\n             */\n            setSpanRotation: function(rotation, alignCorrection, baseline) {\n                var rotationStyle = {},\n                    cssTransformKey = isMS ? '-ms-transform' : isWebKit ? '-webkit-transform' : isFirefox ? 'MozTransform' : win.opera ? '-o-transform' : '';\n\n                rotationStyle[cssTransformKey] = rotationStyle.transform = 'rotate(' + rotation + 'deg)';\n                rotationStyle[cssTransformKey + (isFirefox ? 'Origin' : '-origin')] = rotationStyle.transformOrigin = (alignCorrection * 100) + '% ' + baseline + 'px';\n                css(this.element, rotationStyle);\n            },\n\n            /**\n             * Get the correction in X and Y positioning as the element is rotated.\n             */\n            getSpanCorrection: function(width, baseline, alignCorrection) {\n                this.xCorr = -width * alignCorrection;\n                this.yCorr = -baseline;\n            }\n        });\n\n        // Extend SvgRenderer for useHTML option.\n        extend(SVGRenderer.prototype, /** @lends SVGRenderer.prototype */ {\n            /**\n             * Create HTML text node. This is used by the VML renderer as well as the SVG\n             * renderer through the useHTML option.\n             *\n             * @param {String} str\n             * @param {Number} x\n             * @param {Number} y\n             */\n            html: function(str, x, y) {\n                var wrapper = this.createElement('span'),\n                    element = wrapper.element,\n                    renderer = wrapper.renderer,\n                    isSVG = renderer.isSVG,\n                    addSetters = function(element, style) {\n                        // These properties are set as attributes on the SVG group, and as\n                        // identical CSS properties on the div. (#3542)\n                        each(['opacity', 'visibility'], function(prop) {\n                            wrap(element, prop + 'Setter', function(proceed, value, key, elem) {\n                                proceed.call(this, value, key, elem);\n                                style[key] = value;\n                            });\n                        });\n                    };\n\n                // Text setter\n                wrapper.textSetter = function(value) {\n                    if (value !== element.innerHTML) {\n                        delete this.bBox;\n                    }\n                    element.innerHTML = this.textStr = value;\n                    wrapper.htmlUpdateTransform();\n                };\n\n                // Add setters for the element itself (#4938)\n                if (isSVG) { // #4938, only for HTML within SVG\n                    addSetters(wrapper, wrapper.element.style);\n                }\n\n                // Various setters which rely on update transform\n                wrapper.xSetter = wrapper.ySetter = wrapper.alignSetter = wrapper.rotationSetter = function(value, key) {\n                    if (key === 'align') {\n                        key = 'textAlign'; // Do not overwrite the SVGElement.align method. Same as VML.\n                    }\n                    wrapper[key] = value;\n                    wrapper.htmlUpdateTransform();\n                };\n\n                // Set the default attributes\n                wrapper\n                    .attr({\n                        text: str,\n                        x: Math.round(x),\n                        y: Math.round(y)\n                    })\n                    .css({\n\n                        fontFamily: this.style.fontFamily,\n                        fontSize: this.style.fontSize,\n\n                        position: 'absolute'\n                    });\n\n                // Keep the whiteSpace style outside the wrapper.styles collection\n                element.style.whiteSpace = 'nowrap';\n\n                // Use the HTML specific .css method\n                wrapper.css = wrapper.htmlCss;\n\n                // This is specific for HTML within SVG\n                if (isSVG) {\n                    wrapper.add = function(svgGroupWrapper) {\n\n                        var htmlGroup,\n                            container = renderer.box.parentNode,\n                            parentGroup,\n                            parents = [];\n\n                        this.parentGroup = svgGroupWrapper;\n\n                        // Create a mock group to hold the HTML elements\n                        if (svgGroupWrapper) {\n                            htmlGroup = svgGroupWrapper.div;\n                            if (!htmlGroup) {\n\n                                // Read the parent chain into an array and read from top down\n                                parentGroup = svgGroupWrapper;\n                                while (parentGroup) {\n\n                                    parents.push(parentGroup);\n\n                                    // Move up to the next parent group\n                                    parentGroup = parentGroup.parentGroup;\n                                }\n\n                                // Ensure dynamically updating position when any parent is translated\n                                each(parents.reverse(), function(parentGroup) {\n                                    var htmlGroupStyle,\n                                        cls = attr(parentGroup.element, 'class');\n\n                                    if (cls) {\n                                        cls = {\n                                            className: cls\n                                        };\n                                    } // else null\n\n                                    // Create a HTML div and append it to the parent div to emulate\n                                    // the SVG group structure\n                                    htmlGroup = parentGroup.div = parentGroup.div || createElement('div', cls, {\n                                        position: 'absolute',\n                                        left: (parentGroup.translateX || 0) + 'px',\n                                        top: (parentGroup.translateY || 0) + 'px',\n                                        display: parentGroup.display,\n                                        opacity: parentGroup.opacity, // #5075\n                                        pointerEvents: parentGroup.styles && parentGroup.styles.pointerEvents // #5595\n                                    }, htmlGroup || container); // the top group is appended to container\n\n                                    // Shortcut\n                                    htmlGroupStyle = htmlGroup.style;\n\n                                    // Set listeners to update the HTML div's position whenever the SVG group\n                                    // position is changed\n                                    extend(parentGroup, {\n                                        on: function() {\n                                            wrapper.on.apply({\n                                                element: parents[0].div\n                                            }, arguments);\n                                            return parentGroup;\n                                        },\n                                        translateXSetter: function(value, key) {\n                                            htmlGroupStyle.left = value + 'px';\n                                            parentGroup[key] = value;\n                                            parentGroup.doTransform = true;\n                                        },\n                                        translateYSetter: function(value, key) {\n                                            htmlGroupStyle.top = value + 'px';\n                                            parentGroup[key] = value;\n                                            parentGroup.doTransform = true;\n                                        }\n                                    });\n                                    addSetters(parentGroup, htmlGroupStyle);\n                                });\n\n                            }\n                        } else {\n                            htmlGroup = container;\n                        }\n\n                        htmlGroup.appendChild(element);\n\n                        // Shared with VML:\n                        wrapper.added = true;\n                        if (wrapper.alignOnAdd) {\n                            wrapper.htmlUpdateTransform();\n                        }\n\n                        return wrapper;\n                    };\n                }\n                return wrapper;\n            }\n        });\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n\n        var VMLRenderer,\n            VMLRendererExtension,\n            VMLElement,\n\n            createElement = H.createElement,\n            css = H.css,\n            defined = H.defined,\n            deg2rad = H.deg2rad,\n            discardElement = H.discardElement,\n            doc = H.doc,\n            each = H.each,\n            erase = H.erase,\n            extend = H.extend,\n            extendClass = H.extendClass,\n            isArray = H.isArray,\n            isNumber = H.isNumber,\n            isObject = H.isObject,\n            merge = H.merge,\n            noop = H.noop,\n            pick = H.pick,\n            pInt = H.pInt,\n            svg = H.svg,\n            SVGElement = H.SVGElement,\n            SVGRenderer = H.SVGRenderer,\n            win = H.win;\n\n        /* ****************************************************************************\n         *                                                                            *\n         * START OF INTERNET EXPLORER <= 8 SPECIFIC CODE                              *\n         *                                                                            *\n         * For applications and websites that don't need IE support, like platform    *\n         * targeted mobile apps and web apps, this code can be removed.               *\n         *                                                                            *\n         *****************************************************************************/\n\n        /**\n         * @constructor\n         */\n        if (!svg) {\n\n            /**\n             * The VML element wrapper.\n             */\n            VMLElement = {\n\n                docMode8: doc && doc.documentMode === 8,\n\n                /**\n                 * Initialize a new VML element wrapper. It builds the markup as a string\n                 * to minimize DOM traffic.\n                 * @param {Object} renderer\n                 * @param {Object} nodeName\n                 */\n                init: function(renderer, nodeName) {\n                    var wrapper = this,\n                        markup = ['<', nodeName, ' filled=\"f\" stroked=\"f\"'],\n                        style = ['position: ', 'absolute', ';'],\n                        isDiv = nodeName === 'div';\n\n                    // divs and shapes need size\n                    if (nodeName === 'shape' || isDiv) {\n                        style.push('left:0;top:0;width:1px;height:1px;');\n                    }\n                    style.push('visibility: ', isDiv ? 'hidden' : 'visible');\n\n                    markup.push(' style=\"', style.join(''), '\"/>');\n\n                    // create element with default attributes and style\n                    if (nodeName) {\n                        markup = isDiv || nodeName === 'span' || nodeName === 'img' ?\n                            markup.join('') :\n                            renderer.prepVML(markup);\n                        wrapper.element = createElement(markup);\n                    }\n\n                    wrapper.renderer = renderer;\n                },\n\n                /**\n                 * Add the node to the given parent\n                 * @param {Object} parent\n                 */\n                add: function(parent) {\n                    var wrapper = this,\n                        renderer = wrapper.renderer,\n                        element = wrapper.element,\n                        box = renderer.box,\n                        inverted = parent && parent.inverted,\n\n                        // get the parent node\n                        parentNode = parent ?\n                        parent.element || parent :\n                        box;\n\n                    if (parent) {\n                        this.parentGroup = parent;\n                    }\n\n                    // if the parent group is inverted, apply inversion on all children\n                    if (inverted) { // only on groups\n                        renderer.invertChild(element, parentNode);\n                    }\n\n                    // append it\n                    parentNode.appendChild(element);\n\n                    // align text after adding to be able to read offset\n                    wrapper.added = true;\n                    if (wrapper.alignOnAdd && !wrapper.deferUpdateTransform) {\n                        wrapper.updateTransform();\n                    }\n\n                    // fire an event for internal hooks\n                    if (wrapper.onAdd) {\n                        wrapper.onAdd();\n                    }\n\n                    // IE8 Standards can't set the class name before the element is appended\n                    if (this.className) {\n                        this.attr('class', this.className);\n                    }\n\n                    return wrapper;\n                },\n\n                /**\n                 * VML always uses htmlUpdateTransform\n                 */\n                updateTransform: SVGElement.prototype.htmlUpdateTransform,\n\n                /**\n                 * Set the rotation of a span with oldIE's filter\n                 */\n                setSpanRotation: function() {\n                    // Adjust for alignment and rotation. Rotation of useHTML content is not yet implemented\n                    // but it can probably be implemented for Firefox 3.5+ on user request. FF3.5+\n                    // has support for CSS3 transform. The getBBox method also needs to be updated\n                    // to compensate for the rotation, like it currently does for SVG.\n                    // Test case: http://jsfiddle.net/highcharts/Ybt44/\n\n                    var rotation = this.rotation,\n                        costheta = Math.cos(rotation * deg2rad),\n                        sintheta = Math.sin(rotation * deg2rad);\n\n                    css(this.element, {\n                        filter: rotation ? ['progid:DXImageTransform.Microsoft.Matrix(M11=', costheta,\n                            ', M12=', -sintheta, ', M21=', sintheta, ', M22=', costheta,\n                            ', sizingMethod=\\'auto expand\\')'\n                        ].join('') : 'none'\n                    });\n                },\n\n                /**\n                 * Get the positioning correction for the span after rotating.\n                 */\n                getSpanCorrection: function(width, baseline, alignCorrection, rotation, align) {\n\n                    var costheta = rotation ? Math.cos(rotation * deg2rad) : 1,\n                        sintheta = rotation ? Math.sin(rotation * deg2rad) : 0,\n                        height = pick(this.elemHeight, this.element.offsetHeight),\n                        quad,\n                        nonLeft = align && align !== 'left';\n\n                    // correct x and y\n                    this.xCorr = costheta < 0 && -width;\n                    this.yCorr = sintheta < 0 && -height;\n\n                    // correct for baseline and corners spilling out after rotation\n                    quad = costheta * sintheta < 0;\n                    this.xCorr += sintheta * baseline * (quad ? 1 - alignCorrection : alignCorrection);\n                    this.yCorr -= costheta * baseline * (rotation ? (quad ? alignCorrection : 1 - alignCorrection) : 1);\n                    // correct for the length/height of the text\n                    if (nonLeft) {\n                        this.xCorr -= width * alignCorrection * (costheta < 0 ? -1 : 1);\n                        if (rotation) {\n                            this.yCorr -= height * alignCorrection * (sintheta < 0 ? -1 : 1);\n                        }\n                        css(this.element, {\n                            textAlign: align\n                        });\n                    }\n                },\n\n                /**\n                 * Converts a subset of an SVG path definition to its VML counterpart. Takes an array\n                 * as the parameter and returns a string.\n                 */\n                pathToVML: function(value) {\n                    // convert paths\n                    var i = value.length,\n                        path = [];\n\n                    while (i--) {\n\n                        // Multiply by 10 to allow subpixel precision.\n                        // Substracting half a pixel seems to make the coordinates\n                        // align with SVG, but this hasn't been tested thoroughly\n                        if (isNumber(value[i])) {\n                            path[i] = Math.round(value[i] * 10) - 5;\n                        } else if (value[i] === 'Z') { // close the path\n                            path[i] = 'x';\n                        } else {\n                            path[i] = value[i];\n\n                            // When the start X and end X coordinates of an arc are too close,\n                            // they are rounded to the same value above. In this case, substract or\n                            // add 1 from the end X and Y positions. #186, #760, #1371, #1410.\n                            if (value.isArc && (value[i] === 'wa' || value[i] === 'at')) {\n                                // Start and end X\n                                if (path[i + 5] === path[i + 7]) {\n                                    path[i + 7] += value[i + 7] > value[i + 5] ? 1 : -1;\n                                }\n                                // Start and end Y\n                                if (path[i + 6] === path[i + 8]) {\n                                    path[i + 8] += value[i + 8] > value[i + 6] ? 1 : -1;\n                                }\n                            }\n                        }\n                    }\n\n\n                    // Loop up again to handle path shortcuts (#2132)\n                    /*while (i++ < path.length) {\n                    \tif (path[i] === 'H') { // horizontal line to\n                    \t\tpath[i] = 'L';\n                    \t\tpath.splice(i + 2, 0, path[i - 1]);\n                    \t} else if (path[i] === 'V') { // vertical line to\n                    \t\tpath[i] = 'L';\n                    \t\tpath.splice(i + 1, 0, path[i - 2]);\n                    \t}\n                    }*/\n                    return path.join(' ') || 'x';\n                },\n\n                /**\n                 * Set the element's clipping to a predefined rectangle\n                 *\n                 * @param {String} id The id of the clip rectangle\n                 */\n                clip: function(clipRect) {\n                    var wrapper = this,\n                        clipMembers,\n                        cssRet;\n\n                    if (clipRect) {\n                        clipMembers = clipRect.members;\n                        erase(clipMembers, wrapper); // Ensure unique list of elements (#1258)\n                        clipMembers.push(wrapper);\n                        wrapper.destroyClip = function() {\n                            erase(clipMembers, wrapper);\n                        };\n                        cssRet = clipRect.getCSS(wrapper);\n\n                    } else {\n                        if (wrapper.destroyClip) {\n                            wrapper.destroyClip();\n                        }\n                        cssRet = {\n                            clip: wrapper.docMode8 ? 'inherit' : 'rect(auto)'\n                        }; // #1214\n                    }\n\n                    return wrapper.css(cssRet);\n\n                },\n\n                /**\n                 * Set styles for the element\n                 * @param {Object} styles\n                 */\n                css: SVGElement.prototype.htmlCss,\n\n                /**\n                 * Removes a child either by removeChild or move to garbageBin.\n                 * Issue 490; in VML removeChild results in Orphaned nodes according to sIEve, discardElement does not.\n                 */\n                safeRemoveChild: function(element) {\n                    // discardElement will detach the node from its parent before attaching it\n                    // to the garbage bin. Therefore it is important that the node is attached and have parent.\n                    if (element.parentNode) {\n                        discardElement(element);\n                    }\n                },\n\n                /**\n                 * Extend element.destroy by removing it from the clip members array\n                 */\n                destroy: function() {\n                    if (this.destroyClip) {\n                        this.destroyClip();\n                    }\n\n                    return SVGElement.prototype.destroy.apply(this);\n                },\n\n                /**\n                 * Add an event listener. VML override for normalizing event parameters.\n                 * @param {String} eventType\n                 * @param {Function} handler\n                 */\n                on: function(eventType, handler) {\n                    // simplest possible event model for internal use\n                    this.element['on' + eventType] = function() {\n                        var evt = win.event;\n                        evt.target = evt.srcElement;\n                        handler(evt);\n                    };\n                    return this;\n                },\n\n                /**\n                 * In stacked columns, cut off the shadows so that they don't overlap\n                 */\n                cutOffPath: function(path, length) {\n\n                    var len;\n\n                    path = path.split(/[ ,]/); // The extra comma tricks the trailing comma remover in \"gulp scripts\" task\n                    len = path.length;\n\n                    if (len === 9 || len === 11) {\n                        path[len - 4] = path[len - 2] = pInt(path[len - 2]) - 10 * length;\n                    }\n                    return path.join(' ');\n                },\n\n                /**\n                 * Apply a drop shadow by copying elements and giving them different strokes\n                 * @param {Boolean|Object} shadowOptions\n                 */\n                shadow: function(shadowOptions, group, cutOff) {\n                    var shadows = [],\n                        i,\n                        element = this.element,\n                        renderer = this.renderer,\n                        shadow,\n                        elemStyle = element.style,\n                        markup,\n                        path = element.path,\n                        strokeWidth,\n                        modifiedPath,\n                        shadowWidth,\n                        shadowElementOpacity;\n\n                    // some times empty paths are not strings\n                    if (path && typeof path.value !== 'string') {\n                        path = 'x';\n                    }\n                    modifiedPath = path;\n\n                    if (shadowOptions) {\n                        shadowWidth = pick(shadowOptions.width, 3);\n                        shadowElementOpacity = (shadowOptions.opacity || 0.15) / shadowWidth;\n                        for (i = 1; i <= 3; i++) {\n\n                            strokeWidth = (shadowWidth * 2) + 1 - (2 * i);\n\n                            // Cut off shadows for stacked column items\n                            if (cutOff) {\n                                modifiedPath = this.cutOffPath(path.value, strokeWidth + 0.5);\n                            }\n\n                            markup = ['<shape isShadow=\"true\" strokeweight=\"', strokeWidth,\n                                '\" filled=\"false\" path=\"', modifiedPath,\n                                '\" coordsize=\"10 10\" style=\"', element.style.cssText, '\" />'\n                            ];\n\n                            shadow = createElement(renderer.prepVML(markup),\n                                null, {\n                                    left: pInt(elemStyle.left) + pick(shadowOptions.offsetX, 1),\n                                    top: pInt(elemStyle.top) + pick(shadowOptions.offsetY, 1)\n                                }\n                            );\n                            if (cutOff) {\n                                shadow.cutOff = strokeWidth + 1;\n                            }\n\n                            // apply the opacity\n                            markup = [\n                                '<stroke color=\"',\n                                shadowOptions.color || '#000000',\n                                '\" opacity=\"', shadowElementOpacity * i, '\"/>'\n                            ];\n                            createElement(renderer.prepVML(markup), null, null, shadow);\n\n\n                            // insert it\n                            if (group) {\n                                group.element.appendChild(shadow);\n                            } else {\n                                element.parentNode.insertBefore(shadow, element);\n                            }\n\n                            // record it\n                            shadows.push(shadow);\n\n                        }\n\n                        this.shadows = shadows;\n                    }\n                    return this;\n                },\n                updateShadows: noop, // Used in SVG only\n\n                setAttr: function(key, value) {\n                    if (this.docMode8) { // IE8 setAttribute bug\n                        this.element[key] = value;\n                    } else {\n                        this.element.setAttribute(key, value);\n                    }\n                },\n                classSetter: function(value) {\n                    // IE8 Standards mode has problems retrieving the className unless set like this.\n                    // IE8 Standards can't set the class name before the element is appended.\n                    (this.added ? this.element : this).className = value;\n                },\n                dashstyleSetter: function(value, key, element) {\n                    var strokeElem = element.getElementsByTagName('stroke')[0] ||\n                        createElement(this.renderer.prepVML(['<stroke/>']), null, null, element);\n                    strokeElem[key] = value || 'solid';\n                    this[key] = value;\n                    /* because changing stroke-width will change the dash length\n\t\t\t\tand cause an epileptic effect */\n                },\n                dSetter: function(value, key, element) {\n                    var i,\n                        shadows = this.shadows;\n                    value = value || [];\n                    this.d = value.join && value.join(' '); // used in getter for animation\n\n                    element.path = value = this.pathToVML(value);\n\n                    // update shadows\n                    if (shadows) {\n                        i = shadows.length;\n                        while (i--) {\n                            shadows[i].path = shadows[i].cutOff ? this.cutOffPath(value, shadows[i].cutOff) : value;\n                        }\n                    }\n                    this.setAttr(key, value);\n                },\n                fillSetter: function(value, key, element) {\n                    var nodeName = element.nodeName;\n                    if (nodeName === 'SPAN') { // text color\n                        element.style.color = value;\n                    } else if (nodeName !== 'IMG') { // #1336\n                        element.filled = value !== 'none';\n                        this.setAttr('fillcolor', this.renderer.color(value, element, key, this));\n                    }\n                },\n                'fill-opacitySetter': function(value, key, element) {\n                    createElement(\n                        this.renderer.prepVML(['<', key.split('-')[0], ' opacity=\"', value, '\"/>']),\n                        null,\n                        null,\n                        element\n                    );\n                },\n                opacitySetter: noop, // Don't bother - animation is too slow and filters introduce artifacts\n                rotationSetter: function(value, key, element) {\n                    var style = element.style;\n                    this[key] = style[key] = value; // style is for #1873\n\n                    // Correction for the 1x1 size of the shape container. Used in gauge needles.\n                    style.left = -Math.round(Math.sin(value * deg2rad) + 1) + 'px';\n                    style.top = Math.round(Math.cos(value * deg2rad)) + 'px';\n                },\n                strokeSetter: function(value, key, element) {\n                    this.setAttr('strokecolor', this.renderer.color(value, element, key, this));\n                },\n                'stroke-widthSetter': function(value, key, element) {\n                    element.stroked = !!value; // VML \"stroked\" attribute\n                    this[key] = value; // used in getter, issue #113\n                    if (isNumber(value)) {\n                        value += 'px';\n                    }\n                    this.setAttr('strokeweight', value);\n                },\n                titleSetter: function(value, key) {\n                    this.setAttr(key, value);\n                },\n                visibilitySetter: function(value, key, element) {\n\n                    // Handle inherited visibility\n                    if (value === 'inherit') {\n                        value = 'visible';\n                    }\n\n                    // Let the shadow follow the main element\n                    if (this.shadows) {\n                        each(this.shadows, function(shadow) {\n                            shadow.style[key] = value;\n                        });\n                    }\n\n                    // Instead of toggling the visibility CSS property, move the div out of the viewport.\n                    // This works around #61 and #586\n                    if (element.nodeName === 'DIV') {\n                        value = value === 'hidden' ? '-999em' : 0;\n\n                        // In order to redraw, IE7 needs the div to be visible when tucked away\n                        // outside the viewport. So the visibility is actually opposite of\n                        // the expected value. This applies to the tooltip only.\n                        if (!this.docMode8) {\n                            element.style[key] = value ? 'visible' : 'hidden';\n                        }\n                        key = 'top';\n                    }\n                    element.style[key] = value;\n                },\n                xSetter: function(value, key, element) {\n                    this[key] = value; // used in getter\n\n                    if (key === 'x') {\n                        key = 'left';\n                    } else if (key === 'y') {\n                        key = 'top';\n                    }\n                    /* else {\n                    \t\t\t\tvalue = Math.max(0, value); // don't set width or height below zero (#311)\n                    \t\t\t}*/\n\n                    // clipping rectangle special\n                    if (this.updateClipping) {\n                        this[key] = value; // the key is now 'left' or 'top' for 'x' and 'y'\n                        this.updateClipping();\n                    } else {\n                        // normal\n                        element.style[key] = value;\n                    }\n                },\n                zIndexSetter: function(value, key, element) {\n                    element.style[key] = value;\n                }\n            };\n            VMLElement['stroke-opacitySetter'] = VMLElement['fill-opacitySetter'];\n            H.VMLElement = VMLElement = extendClass(SVGElement, VMLElement);\n\n            // Some shared setters\n            VMLElement.prototype.ySetter =\n                VMLElement.prototype.widthSetter =\n                VMLElement.prototype.heightSetter =\n                VMLElement.prototype.xSetter;\n\n\n            /**\n             * The VML renderer\n             */\n            VMLRendererExtension = { // inherit SVGRenderer\n\n                Element: VMLElement,\n                isIE8: win.navigator.userAgent.indexOf('MSIE 8.0') > -1,\n\n\n                /**\n                 * Initialize the VMLRenderer\n                 * @param {Object} container\n                 * @param {Number} width\n                 * @param {Number} height\n                 */\n                init: function(container, width, height) {\n                    var renderer = this,\n                        boxWrapper,\n                        box,\n                        css;\n\n                    renderer.alignedObjects = [];\n\n                    boxWrapper = renderer.createElement('div')\n                        .css({\n                            position: 'relative'\n                        });\n                    box = boxWrapper.element;\n                    container.appendChild(boxWrapper.element);\n\n\n                    // generate the containing box\n                    renderer.isVML = true;\n                    renderer.box = box;\n                    renderer.boxWrapper = boxWrapper;\n                    renderer.gradients = {};\n                    renderer.cache = {}; // Cache for numerical bounding boxes\n                    renderer.cacheKeys = [];\n                    renderer.imgCount = 0;\n\n\n                    renderer.setSize(width, height, false);\n\n                    // The only way to make IE6 and IE7 print is to use a global namespace. However,\n                    // with IE8 the only way to make the dynamic shapes visible in screen and print mode\n                    // seems to be to add the xmlns attribute and the behaviour style inline.\n                    if (!doc.namespaces.hcv) {\n\n                        doc.namespaces.add('hcv', 'urn:schemas-microsoft-com:vml');\n\n                        // Setup default CSS (#2153, #2368, #2384)\n                        css = 'hcv\\\\:fill, hcv\\\\:path, hcv\\\\:shape, hcv\\\\:stroke' +\n                            '{ behavior:url(#default#VML); display: inline-block; } ';\n                        try {\n                            doc.createStyleSheet().cssText = css;\n                        } catch (e) {\n                            doc.styleSheets[0].cssText += css;\n                        }\n\n                    }\n                },\n\n\n                /**\n                 * Detect whether the renderer is hidden. This happens when one of the parent elements\n                 * has display: none\n                 */\n                isHidden: function() {\n                    return !this.box.offsetWidth;\n                },\n\n                /**\n                 * Define a clipping rectangle. In VML it is accomplished by storing the values\n                 * for setting the CSS style to all associated members.\n                 *\n                 * @param {Number} x\n                 * @param {Number} y\n                 * @param {Number} width\n                 * @param {Number} height\n                 */\n                clipRect: function(x, y, width, height) {\n\n                    // create a dummy element\n                    var clipRect = this.createElement(),\n                        isObj = isObject(x);\n\n                    // mimic a rectangle with its style object for automatic updating in attr\n                    return extend(clipRect, {\n                        members: [],\n                        count: 0,\n                        left: (isObj ? x.x : x) + 1,\n                        top: (isObj ? x.y : y) + 1,\n                        width: (isObj ? x.width : width) - 1,\n                        height: (isObj ? x.height : height) - 1,\n                        getCSS: function(wrapper) {\n                            var element = wrapper.element,\n                                nodeName = element.nodeName,\n                                isShape = nodeName === 'shape',\n                                inverted = wrapper.inverted,\n                                rect = this,\n                                top = rect.top - (isShape ? element.offsetTop : 0),\n                                left = rect.left,\n                                right = left + rect.width,\n                                bottom = top + rect.height,\n                                ret = {\n                                    clip: 'rect(' +\n                                        Math.round(inverted ? left : top) + 'px,' +\n                                        Math.round(inverted ? bottom : right) + 'px,' +\n                                        Math.round(inverted ? right : bottom) + 'px,' +\n                                        Math.round(inverted ? top : left) + 'px)'\n                                };\n\n                            // issue 74 workaround\n                            if (!inverted && wrapper.docMode8 && nodeName === 'DIV') {\n                                extend(ret, {\n                                    width: right + 'px',\n                                    height: bottom + 'px'\n                                });\n                            }\n                            return ret;\n                        },\n\n                        // used in attr and animation to update the clipping of all members\n                        updateClipping: function() {\n                            each(clipRect.members, function(member) {\n                                // Member.element is falsy on deleted series, like in\n                                // stock/members/series-remove demo. Should be removed\n                                // from members, but this will do.\n                                if (member.element) {\n                                    member.css(clipRect.getCSS(member));\n                                }\n                            });\n                        }\n                    });\n\n                },\n\n\n                /**\n                 * Take a color and return it if it's a string, make it a gradient if it's a\n                 * gradient configuration object, and apply opacity.\n                 *\n                 * @param {Object} color The color or config object\n                 */\n                color: function(color, elem, prop, wrapper) {\n                    var renderer = this,\n                        colorObject,\n                        regexRgba = /^rgba/,\n                        markup,\n                        fillType,\n                        ret = 'none';\n\n                    // Check for linear or radial gradient\n                    if (color && color.linearGradient) {\n                        fillType = 'gradient';\n                    } else if (color && color.radialGradient) {\n                        fillType = 'pattern';\n                    }\n\n\n                    if (fillType) {\n\n                        var stopColor,\n                            stopOpacity,\n                            gradient = color.linearGradient || color.radialGradient,\n                            x1,\n                            y1,\n                            x2,\n                            y2,\n                            opacity1,\n                            opacity2,\n                            color1,\n                            color2,\n                            fillAttr = '',\n                            stops = color.stops,\n                            firstStop,\n                            lastStop,\n                            colors = [],\n                            addFillNode = function() {\n                                // Add the fill subnode. When colors attribute is used, the meanings of opacity and o:opacity2\n                                // are reversed.\n                                markup = ['<fill colors=\"' + colors.join(',') +\n                                    '\" opacity=\"', opacity2, '\" o:opacity2=\"',\n                                    opacity1, '\" type=\"', fillType, '\" ', fillAttr,\n                                    'focus=\"100%\" method=\"any\" />'\n                                ];\n                                createElement(renderer.prepVML(markup), null, null, elem);\n                            };\n\n                        // Extend from 0 to 1\n                        firstStop = stops[0];\n                        lastStop = stops[stops.length - 1];\n                        if (firstStop[0] > 0) {\n                            stops.unshift([\n                                0,\n                                firstStop[1]\n                            ]);\n                        }\n                        if (lastStop[0] < 1) {\n                            stops.push([\n                                1,\n                                lastStop[1]\n                            ]);\n                        }\n\n                        // Compute the stops\n                        each(stops, function(stop, i) {\n                            if (regexRgba.test(stop[1])) {\n                                colorObject = H.color(stop[1]);\n                                stopColor = colorObject.get('rgb');\n                                stopOpacity = colorObject.get('a');\n                            } else {\n                                stopColor = stop[1];\n                                stopOpacity = 1;\n                            }\n\n                            // Build the color attribute\n                            colors.push((stop[0] * 100) + '% ' + stopColor);\n\n                            // Only start and end opacities are allowed, so we use the first and the last\n                            if (!i) {\n                                opacity1 = stopOpacity;\n                                color2 = stopColor;\n                            } else {\n                                opacity2 = stopOpacity;\n                                color1 = stopColor;\n                            }\n                        });\n\n                        // Apply the gradient to fills only.\n                        if (prop === 'fill') {\n\n                            // Handle linear gradient angle\n                            if (fillType === 'gradient') {\n                                x1 = gradient.x1 || gradient[0] || 0;\n                                y1 = gradient.y1 || gradient[1] || 0;\n                                x2 = gradient.x2 || gradient[2] || 0;\n                                y2 = gradient.y2 || gradient[3] || 0;\n                                fillAttr = 'angle=\"' + (90 - Math.atan(\n                                    (y2 - y1) / // y vector\n                                    (x2 - x1) // x vector\n                                ) * 180 / Math.PI) + '\"';\n\n                                addFillNode();\n\n                                // Radial (circular) gradient\n                            } else {\n\n                                var r = gradient.r,\n                                    sizex = r * 2,\n                                    sizey = r * 2,\n                                    cx = gradient.cx,\n                                    cy = gradient.cy,\n                                    radialReference = elem.radialReference,\n                                    bBox,\n                                    applyRadialGradient = function() {\n                                        if (radialReference) {\n                                            bBox = wrapper.getBBox();\n                                            cx += (radialReference[0] - bBox.x) / bBox.width - 0.5;\n                                            cy += (radialReference[1] - bBox.y) / bBox.height - 0.5;\n                                            sizex *= radialReference[2] / bBox.width;\n                                            sizey *= radialReference[2] / bBox.height;\n                                        }\n                                        fillAttr = 'src=\"' + H.getOptions().global.VMLRadialGradientURL + '\" ' +\n                                            'size=\"' + sizex + ',' + sizey + '\" ' +\n                                            'origin=\"0.5,0.5\" ' +\n                                            'position=\"' + cx + ',' + cy + '\" ' +\n                                            'color2=\"' + color2 + '\" ';\n\n                                        addFillNode();\n                                    };\n\n                                // Apply radial gradient\n                                if (wrapper.added) {\n                                    applyRadialGradient();\n                                } else {\n                                    // We need to know the bounding box to get the size and position right\n                                    wrapper.onAdd = applyRadialGradient;\n                                }\n\n                                // The fill element's color attribute is broken in IE8 standards mode, so we\n                                // need to set the parent shape's fillcolor attribute instead.\n                                ret = color1;\n                            }\n\n                            // Gradients are not supported for VML stroke, return the first color. #722.\n                        } else {\n                            ret = stopColor;\n                        }\n\n                        // If the color is an rgba color, split it and add a fill node\n                        // to hold the opacity component\n                    } else if (regexRgba.test(color) && elem.tagName !== 'IMG') {\n\n                        colorObject = H.color(color);\n\n                        wrapper[prop + '-opacitySetter'](colorObject.get('a'), prop, elem);\n\n                        ret = colorObject.get('rgb');\n\n\n                    } else {\n                        var propNodes = elem.getElementsByTagName(prop); // 'stroke' or 'fill' node\n                        if (propNodes.length) {\n                            propNodes[0].opacity = 1;\n                            propNodes[0].type = 'solid';\n                        }\n                        ret = color;\n                    }\n\n                    return ret;\n                },\n\n                /**\n                 * Take a VML string and prepare it for either IE8 or IE6/IE7.\n                 * @param {Array} markup A string array of the VML markup to prepare\n                 */\n                prepVML: function(markup) {\n                    var vmlStyle = 'display:inline-block;behavior:url(#default#VML);',\n                        isIE8 = this.isIE8;\n\n                    markup = markup.join('');\n\n                    if (isIE8) { // add xmlns and style inline\n                        markup = markup.replace('/>', ' xmlns=\"urn:schemas-microsoft-com:vml\" />');\n                        if (markup.indexOf('style=\"') === -1) {\n                            markup = markup.replace('/>', ' style=\"' + vmlStyle + '\" />');\n                        } else {\n                            markup = markup.replace('style=\"', 'style=\"' + vmlStyle);\n                        }\n\n                    } else { // add namespace\n                        markup = markup.replace('<', '<hcv:');\n                    }\n\n                    return markup;\n                },\n\n                /**\n                 * Create rotated and aligned text\n                 * @param {String} str\n                 * @param {Number} x\n                 * @param {Number} y\n                 */\n                text: SVGRenderer.prototype.html,\n\n                /**\n                 * Create and return a path element\n                 * @param {Array} path\n                 */\n                path: function(path) {\n                    var attr = {\n                        // subpixel precision down to 0.1 (width and height = 1px)\n                        coordsize: '10 10'\n                    };\n                    if (isArray(path)) {\n                        attr.d = path;\n                    } else if (isObject(path)) { // attributes\n                        extend(attr, path);\n                    }\n                    // create the shape\n                    return this.createElement('shape').attr(attr);\n                },\n\n                /**\n                 * Create and return a circle element. In VML circles are implemented as\n                 * shapes, which is faster than v:oval\n                 * @param {Number} x\n                 * @param {Number} y\n                 * @param {Number} r\n                 */\n                circle: function(x, y, r) {\n                    var circle = this.symbol('circle');\n                    if (isObject(x)) {\n                        r = x.r;\n                        y = x.y;\n                        x = x.x;\n                    }\n                    circle.isCircle = true; // Causes x and y to mean center (#1682)\n                    circle.r = r;\n                    return circle.attr({\n                        x: x,\n                        y: y\n                    });\n                },\n\n                /**\n                 * Create a group using an outer div and an inner v:group to allow rotating\n                 * and flipping. A simple v:group would have problems with positioning\n                 * child HTML elements and CSS clip.\n                 *\n                 * @param {String} name The name of the group\n                 */\n                g: function(name) {\n                    var wrapper,\n                        attribs;\n\n                    // set the class name\n                    if (name) {\n                        attribs = {\n                            'className': 'highcharts-' + name,\n                            'class': 'highcharts-' + name\n                        };\n                    }\n\n                    // the div to hold HTML and clipping\n                    wrapper = this.createElement('div').attr(attribs);\n\n                    return wrapper;\n                },\n\n                /**\n                 * VML override to create a regular HTML image\n                 * @param {String} src\n                 * @param {Number} x\n                 * @param {Number} y\n                 * @param {Number} width\n                 * @param {Number} height\n                 */\n                image: function(src, x, y, width, height) {\n                    var obj = this.createElement('img')\n                        .attr({\n                            src: src\n                        });\n\n                    if (arguments.length > 1) {\n                        obj.attr({\n                            x: x,\n                            y: y,\n                            width: width,\n                            height: height\n                        });\n                    }\n                    return obj;\n                },\n\n                /**\n                 * For rectangles, VML uses a shape for rect to overcome bugs and rotation problems\n                 */\n                createElement: function(nodeName) {\n                    return nodeName === 'rect' ?\n                        this.symbol(nodeName) :\n                        SVGRenderer.prototype.createElement.call(this, nodeName);\n                },\n\n                /**\n                 * In the VML renderer, each child of an inverted div (group) is inverted\n                 * @param {Object} element\n                 * @param {Object} parentNode\n                 */\n                invertChild: function(element, parentNode) {\n                    var ren = this,\n                        parentStyle = parentNode.style,\n                        imgStyle = element.tagName === 'IMG' && element.style; // #1111\n\n                    css(element, {\n                        flip: 'x',\n                        left: pInt(parentStyle.width) - (imgStyle ? pInt(imgStyle.top) : 1),\n                        top: pInt(parentStyle.height) - (imgStyle ? pInt(imgStyle.left) : 1),\n                        rotation: -90\n                    });\n\n                    // Recursively invert child elements, needed for nested composite\n                    // shapes like box plots and error bars. #1680, #1806.\n                    each(element.childNodes, function(child) {\n                        ren.invertChild(child, element);\n                    });\n                },\n\n                /**\n                 * Symbol definitions that override the parent SVG renderer's symbols\n                 *\n                 */\n                symbols: {\n                    // VML specific arc function\n                    arc: function(x, y, w, h, options) {\n                        var start = options.start,\n                            end = options.end,\n                            radius = options.r || w || h,\n                            innerRadius = options.innerR,\n                            cosStart = Math.cos(start),\n                            sinStart = Math.sin(start),\n                            cosEnd = Math.cos(end),\n                            sinEnd = Math.sin(end),\n                            ret;\n\n                        if (end - start === 0) { // no angle, don't show it.\n                            return ['x'];\n                        }\n\n                        ret = [\n                            'wa', // clockwise arc to\n                            x - radius, // left\n                            y - radius, // top\n                            x + radius, // right\n                            y + radius, // bottom\n                            x + radius * cosStart, // start x\n                            y + radius * sinStart, // start y\n                            x + radius * cosEnd, // end x\n                            y + radius * sinEnd // end y\n                        ];\n\n                        if (options.open && !innerRadius) {\n                            ret.push(\n                                'e',\n                                'M',\n                                x, // - innerRadius,\n                                y // - innerRadius\n                            );\n                        }\n\n                        ret.push(\n                            'at', // anti clockwise arc to\n                            x - innerRadius, // left\n                            y - innerRadius, // top\n                            x + innerRadius, // right\n                            y + innerRadius, // bottom\n                            x + innerRadius * cosEnd, // start x\n                            y + innerRadius * sinEnd, // start y\n                            x + innerRadius * cosStart, // end x\n                            y + innerRadius * sinStart, // end y\n                            'x', // finish path\n                            'e' // close\n                        );\n\n                        ret.isArc = true;\n                        return ret;\n\n                    },\n                    // Add circle symbol path. This performs significantly faster than v:oval.\n                    circle: function(x, y, w, h, wrapper) {\n\n                        if (wrapper && defined(wrapper.r)) {\n                            w = h = 2 * wrapper.r;\n                        }\n\n                        // Center correction, #1682\n                        if (wrapper && wrapper.isCircle) {\n                            x -= w / 2;\n                            y -= h / 2;\n                        }\n\n                        // Return the path\n                        return [\n                            'wa', // clockwisearcto\n                            x, // left\n                            y, // top\n                            x + w, // right\n                            y + h, // bottom\n                            x + w, // start x\n                            y + h / 2, // start y\n                            x + w, // end x\n                            y + h / 2, // end y\n                            //'x', // finish path\n                            'e' // close\n                        ];\n                    },\n                    /**\n                     * Add rectangle symbol path which eases rotation and omits arcsize problems\n                     * compared to the built-in VML roundrect shape. When borders are not rounded,\n                     * use the simpler square path, else use the callout path without the arrow.\n                     */\n                    rect: function(x, y, w, h, options) {\n                        return SVGRenderer.prototype.symbols[!defined(options) || !options.r ? 'square' : 'callout'].call(0, x, y, w, h, options);\n                    }\n                }\n            };\n            H.VMLRenderer = VMLRenderer = function() {\n                this.init.apply(this, arguments);\n            };\n            VMLRenderer.prototype = merge(SVGRenderer.prototype, VMLRendererExtension);\n\n            // general renderer\n            H.Renderer = VMLRenderer;\n        }\n\n        // This method is used with exporting in old IE, when emulating SVG (see #2314)\n        SVGRenderer.prototype.measureSpanWidth = function(text, styles) {\n            var measuringSpan = doc.createElement('span'),\n                offsetWidth,\n                textNode = doc.createTextNode(text);\n\n            measuringSpan.appendChild(textNode);\n            css(measuringSpan, styles);\n            this.box.appendChild(measuringSpan);\n            offsetWidth = measuringSpan.offsetWidth;\n            discardElement(measuringSpan); // #2463\n            return offsetWidth;\n        };\n\n\n        /* ****************************************************************************\n         *                                                                            *\n         * END OF INTERNET EXPLORER <= 8 SPECIFIC CODE                                *\n         *                                                                            *\n         *****************************************************************************/\n\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var color = H.color,\n            each = H.each,\n            getTZOffset = H.getTZOffset,\n            isTouchDevice = H.isTouchDevice,\n            merge = H.merge,\n            pick = H.pick,\n            svg = H.svg,\n            win = H.win;\n\n        /* ****************************************************************************\n         * Handle the options                                                         *\n         *****************************************************************************/\n        H.defaultOptions = {\n\n            colors: '#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1'.split(' '),\n\n            symbols: ['circle', 'diamond', 'square', 'triangle', 'triangle-down'],\n            lang: {\n                loading: 'Loading...',\n                months: [\n                    'January', 'February', 'March', 'April', 'May', 'June', 'July',\n                    'August', 'September', 'October', 'November', 'December'\n                ],\n                shortMonths: [\n                    'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul',\n                    'Aug', 'Sep', 'Oct', 'Nov', 'Dec'\n                ],\n                weekdays: [\n                    'Sunday', 'Monday', 'Tuesday', 'Wednesday',\n                    'Thursday', 'Friday', 'Saturday'\n                ],\n                // invalidDate: '',\n                decimalPoint: '.',\n                numericSymbols: ['k', 'M', 'G', 'T', 'P', 'E'], // SI prefixes used in axis labels\n                resetZoom: 'Reset zoom',\n                resetZoomTitle: 'Reset zoom level 1:1',\n                thousandsSep: ' '\n            },\n            global: {\n                useUTC: true,\n                //timezoneOffset: 0,\n\n                VMLRadialGradientURL: 'http://code.highcharts.com/5.0.10/gfx/vml-radial-gradient.png'\n\n            },\n            chart: {\n                //animation: true,\n                //alignTicks: false,\n                //reflow: true,\n                //className: null,\n                //events: { load, selection },\n                //margin: [null],\n                //marginTop: null,\n                //marginRight: null,\n                //marginBottom: null,\n                //marginLeft: null,\n                borderRadius: 0,\n\n                defaultSeriesType: 'line',\n                ignoreHiddenSeries: true,\n                //inverted: false,\n                spacing: [10, 10, 15, 10],\n                //spacingTop: 10,\n                //spacingRight: 10,\n                //spacingBottom: 15,\n                //spacingLeft: 10,\n                //zoomType: ''\n                resetZoomButton: {\n                    theme: {\n                        zIndex: 20\n                    },\n                    position: {\n                        align: 'right',\n                        x: -10,\n                        //verticalAlign: 'top',\n                        y: 10\n                    }\n                    // relativeTo: 'plot'\n                },\n                width: null,\n                height: null,\n\n\n                borderColor: '#335cad',\n                //borderWidth: 0,\n                //style: {\n                //\tfontFamily: '\"Lucida Grande\", \"Lucida Sans Unicode\", Verdana, Arial, Helvetica, sans-serif', // default font\n                //\tfontSize: '12px'\n                //},\n                backgroundColor: '#ffffff',\n                //plotBackgroundColor: null,\n                plotBorderColor: '#cccccc'\n                //plotBorderWidth: 0,\n                //plotShadow: false\n\n            },\n            title: {\n                text: 'Chart title',\n                align: 'center',\n                // floating: false,\n                margin: 15,\n                // x: 0,\n                // verticalAlign: 'top',\n                // y: null,\n                // style: {}, // defined inline\n                widthAdjust: -44\n\n            },\n            subtitle: {\n                text: '',\n                align: 'center',\n                // floating: false\n                // x: 0,\n                // verticalAlign: 'top',\n                // y: null,\n                // style: {}, // defined inline\n                widthAdjust: -44\n            },\n\n            plotOptions: {},\n            labels: {\n                //items: [],\n                style: {\n                    //font: defaultFont,\n                    position: 'absolute',\n                    color: '#333333'\n                }\n            },\n            legend: {\n                enabled: true,\n                align: 'center',\n                //floating: false,\n                layout: 'horizontal',\n                labelFormatter: function() {\n                    return this.name;\n                },\n                //borderWidth: 0,\n                borderColor: '#999999',\n                borderRadius: 0,\n                navigation: {\n\n                    activeColor: '#003399',\n                    inactiveColor: '#cccccc'\n\n                    // animation: true,\n                    // arrowSize: 12\n                    // style: {} // text styles\n                },\n                // margin: 20,\n                // reversed: false,\n                // backgroundColor: null,\n                /*style: {\n                \tpadding: '5px'\n                },*/\n\n                itemStyle: {\n                    color: '#333333',\n                    fontSize: '12px',\n                    fontWeight: 'bold'\n                },\n                itemHoverStyle: {\n                    //cursor: 'pointer', removed as of #601\n                    color: '#000000'\n                },\n                itemHiddenStyle: {\n                    color: '#cccccc'\n                },\n                shadow: false,\n\n                itemCheckboxStyle: {\n                    position: 'absolute',\n                    width: '13px', // for IE precision\n                    height: '13px'\n                },\n                // itemWidth: undefined,\n                squareSymbol: true,\n                // symbolRadius: 0,\n                // symbolWidth: 16,\n                symbolPadding: 5,\n                verticalAlign: 'bottom',\n                // width: undefined,\n                x: 0,\n                y: 0,\n                title: {\n                    //text: null,\n\n                    style: {\n                        fontWeight: 'bold'\n                    }\n\n                }\n            },\n\n            loading: {\n                // hideDuration: 100,\n                // showDuration: 0,\n\n                labelStyle: {\n                    fontWeight: 'bold',\n                    position: 'relative',\n                    top: '45%'\n                },\n                style: {\n                    position: 'absolute',\n                    backgroundColor: '#ffffff',\n                    opacity: 0.5,\n                    textAlign: 'center'\n                }\n\n            },\n\n            tooltip: {\n                enabled: true,\n                animation: svg,\n                //crosshairs: null,\n                borderRadius: 3,\n                dateTimeLabelFormats: {\n                    millisecond: '%A, %b %e, %H:%M:%S.%L',\n                    second: '%A, %b %e, %H:%M:%S',\n                    minute: '%A, %b %e, %H:%M',\n                    hour: '%A, %b %e, %H:%M',\n                    day: '%A, %b %e, %Y',\n                    week: 'Week from %A, %b %e, %Y',\n                    month: '%B %Y',\n                    year: '%Y'\n                },\n                footerFormat: '',\n                //formatter: defaultFormatter,\n                /* todo: em font-size when finished comparing against HC4\n                headerFormat: '<span style=\"font-size: 0.85em\">{point.key}</span><br/>',\n                */\n                padding: 8,\n\n                //shape: 'callout',\n                //shared: false,\n                snap: isTouchDevice ? 25 : 10,\n\n                backgroundColor: color('#f7f7f7').setOpacity(0.85).get(),\n                borderWidth: 1,\n                headerFormat: '<span style=\"font-size: 10px\">{point.key}</span><br/>',\n                pointFormat: '<span style=\"color:{point.color}\">\\u25CF</span> {series.name}: <b>{point.y}</b><br/>',\n                shadow: true,\n                style: {\n                    color: '#333333',\n                    cursor: 'default',\n                    fontSize: '12px',\n                    pointerEvents: 'none', // #1686 http://caniuse.com/#feat=pointer-events\n                    whiteSpace: 'nowrap'\n                }\n\n                //xDateFormat: '%A, %b %e, %Y',\n                //valueDecimals: null,\n                //valuePrefix: '',\n                //valueSuffix: ''\n            },\n\n            credits: {\n                enabled: true,\n                href: 'http://www.highcharts.com',\n                position: {\n                    align: 'right',\n                    x: -10,\n                    verticalAlign: 'bottom',\n                    y: -5\n                },\n\n                style: {\n                    cursor: 'pointer',\n                    color: '#999999',\n                    fontSize: '9px'\n                },\n\n                text: 'Highcharts.com'\n            }\n        };\n\n\n\n        /**\n         * Sets the getTimezoneOffset function. If the timezone option is set, a default\n         * getTimezoneOffset function with that timezone is returned. If not, the\n         * specified getTimezoneOffset function is returned. If neither are specified,\n         * undefined is returned.\n         * @return {function} a getTimezoneOffset function or undefined\n         */\n        function getTimezoneOffsetOption() {\n            var globalOptions = H.defaultOptions.global,\n                moment = win.moment;\n\n            if (globalOptions.timezone) {\n                if (!moment) {\n                    // getTimezoneOffset-function stays undefined because it depends on\n                    // Moment.js\n                    H.error(25);\n\n                } else {\n                    return function(timestamp) {\n                        return -moment.tz(\n                            timestamp,\n                            globalOptions.timezone\n                        ).utcOffset();\n                    };\n                }\n            }\n\n            // If not timezone is set, look for the getTimezoneOffset callback\n            return globalOptions.useUTC && globalOptions.getTimezoneOffset;\n        }\n\n        /**\n         * Set the time methods globally based on the useUTC option. Time method can be\n         *   either local time or UTC (default). It is called internally on initiating\n         *   Highcharts and after running `Highcharts.setOptions`.\n         *\n         * @private\n         */\n        function setTimeMethods() {\n            var globalOptions = H.defaultOptions.global,\n                Date,\n                useUTC = globalOptions.useUTC,\n                GET = useUTC ? 'getUTC' : 'get',\n                SET = useUTC ? 'setUTC' : 'set';\n\n            H.Date = Date = globalOptions.Date || win.Date; // Allow using a different Date class\n            Date.hcTimezoneOffset = useUTC && globalOptions.timezoneOffset;\n            Date.hcGetTimezoneOffset = getTimezoneOffsetOption();\n            Date.hcMakeTime = function(year, month, date, hours, minutes, seconds) {\n                var d;\n                if (useUTC) {\n                    d = Date.UTC.apply(0, arguments);\n                    d += getTZOffset(d);\n                } else {\n                    d = new Date(\n                        year,\n                        month,\n                        pick(date, 1),\n                        pick(hours, 0),\n                        pick(minutes, 0),\n                        pick(seconds, 0)\n                    ).getTime();\n                }\n                return d;\n            };\n            each(['Minutes', 'Hours', 'Day', 'Date', 'Month', 'FullYear'], function(s) {\n                Date['hcGet' + s] = GET + s;\n            });\n            each(['Milliseconds', 'Seconds', 'Minutes', 'Hours', 'Date', 'Month', 'FullYear'], function(s) {\n                Date['hcSet' + s] = SET + s;\n            });\n        }\n\n        /**\n         * Merge the default options with custom options and return the new options structure\n         * @param {Object} options The new custom options\n         */\n        H.setOptions = function(options) {\n\n            // Copy in the default options\n            H.defaultOptions = merge(true, H.defaultOptions, options);\n\n            // Apply UTC\n            setTimeMethods();\n\n            return H.defaultOptions;\n        };\n\n        /**\n         * Get the updated default options. Until 3.0.7, merely exposing defaultOptions for outside modules\n         * wasn't enough because the setOptions method created a new object.\n         */\n        H.getOptions = function() {\n            return H.defaultOptions;\n        };\n\n\n        // Series defaults\n        H.defaultPlotOptions = H.defaultOptions.plotOptions;\n\n        // set the default time methods\n        setTimeMethods();\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var arrayMax = H.arrayMax,\n            arrayMin = H.arrayMin,\n            defined = H.defined,\n            destroyObjectProperties = H.destroyObjectProperties,\n            each = H.each,\n            erase = H.erase,\n            merge = H.merge,\n            pick = H.pick;\n        /*\n         * The object wrapper for plot lines and plot bands\n         * @param {Object} options\n         */\n        H.PlotLineOrBand = function(axis, options) {\n            this.axis = axis;\n\n            if (options) {\n                this.options = options;\n                this.id = options.id;\n            }\n        };\n\n        H.PlotLineOrBand.prototype = {\n\n            /**\n             * Render the plot line or plot band. If it is already existing,\n             * move it.\n             */\n            render: function() {\n                var plotLine = this,\n                    axis = plotLine.axis,\n                    horiz = axis.horiz,\n                    options = plotLine.options,\n                    optionsLabel = options.label,\n                    label = plotLine.label,\n                    to = options.to,\n                    from = options.from,\n                    value = options.value,\n                    isBand = defined(from) && defined(to),\n                    isLine = defined(value),\n                    svgElem = plotLine.svgElem,\n                    isNew = !svgElem,\n                    path = [],\n                    addEvent,\n                    eventType,\n                    color = options.color,\n                    zIndex = pick(options.zIndex, 0),\n                    events = options.events,\n                    attribs = {\n                        'class': 'highcharts-plot-' + (isBand ? 'band ' : 'line ') + (options.className || '')\n                    },\n                    groupAttribs = {},\n                    renderer = axis.chart.renderer,\n                    groupName = isBand ? 'bands' : 'lines',\n                    group,\n                    log2lin = axis.log2lin;\n\n                // logarithmic conversion\n                if (axis.isLog) {\n                    from = log2lin(from);\n                    to = log2lin(to);\n                    value = log2lin(value);\n                }\n\n\n                // Set the presentational attributes\n                if (isLine) {\n                    attribs = {\n                        stroke: color,\n                        'stroke-width': options.width\n                    };\n                    if (options.dashStyle) {\n                        attribs.dashstyle = options.dashStyle;\n                    }\n\n                } else if (isBand) { // plot band\n                    if (color) {\n                        attribs.fill = color;\n                    }\n                    if (options.borderWidth) {\n                        attribs.stroke = options.borderColor;\n                        attribs['stroke-width'] = options.borderWidth;\n                    }\n                }\n\n\n                // Grouping and zIndex\n                groupAttribs.zIndex = zIndex;\n                groupName += '-' + zIndex;\n\n                group = axis.plotLinesAndBandsGroups[groupName];\n                if (!group) {\n                    axis.plotLinesAndBandsGroups[groupName] = group = renderer.g('plot-' + groupName)\n                        .attr(groupAttribs).add();\n                }\n\n                // Create the path\n                if (isNew) {\n                    plotLine.svgElem = svgElem =\n                        renderer\n                        .path()\n                        .attr(attribs).add(group);\n                }\n\n\n                // Set the path or return\n                if (isLine) {\n                    path = axis.getPlotLinePath(value, svgElem.strokeWidth());\n                } else if (isBand) { // plot band\n                    path = axis.getPlotBandPath(from, to, options);\n                } else {\n                    return;\n                }\n\n\n                // common for lines and bands\n                if (isNew && path && path.length) {\n                    svgElem.attr({\n                        d: path\n                    });\n\n                    // events\n                    if (events) {\n                        addEvent = function(eventType) {\n                            svgElem.on(eventType, function(e) {\n                                events[eventType].apply(plotLine, [e]);\n                            });\n                        };\n                        for (eventType in events) {\n                            addEvent(eventType);\n                        }\n                    }\n                } else if (svgElem) {\n                    if (path) {\n                        svgElem.show();\n                        svgElem.animate({\n                            d: path\n                        });\n                    } else {\n                        svgElem.hide();\n                        if (label) {\n                            plotLine.label = label = label.destroy();\n                        }\n                    }\n                }\n\n                // the plot band/line label\n                if (optionsLabel && defined(optionsLabel.text) && path && path.length &&\n                    axis.width > 0 && axis.height > 0 && !path.flat) {\n                    // apply defaults\n                    optionsLabel = merge({\n                        align: horiz && isBand && 'center',\n                        x: horiz ? !isBand && 4 : 10,\n                        verticalAlign: !horiz && isBand && 'middle',\n                        y: horiz ? isBand ? 16 : 10 : isBand ? 6 : -4,\n                        rotation: horiz && !isBand && 90\n                    }, optionsLabel);\n\n                    this.renderLabel(optionsLabel, path, isBand, zIndex);\n\n                } else if (label) { // move out of sight\n                    label.hide();\n                }\n\n                // chainable\n                return plotLine;\n            },\n\n            /**\n             * Render and align label for plot line or band.\n             */\n            renderLabel: function(optionsLabel, path, isBand, zIndex) {\n                var plotLine = this,\n                    label = plotLine.label,\n                    renderer = plotLine.axis.chart.renderer,\n                    attribs,\n                    xs,\n                    ys,\n                    x,\n                    y;\n\n                // add the SVG element\n                if (!label) {\n                    attribs = {\n                        align: optionsLabel.textAlign || optionsLabel.align,\n                        rotation: optionsLabel.rotation,\n                        'class': 'highcharts-plot-' + (isBand ? 'band' : 'line') + '-label ' + (optionsLabel.className || '')\n                    };\n\n                    attribs.zIndex = zIndex;\n\n                    plotLine.label = label = renderer.text(\n                            optionsLabel.text,\n                            0,\n                            0,\n                            optionsLabel.useHTML\n                        )\n                        .attr(attribs)\n                        .add();\n\n\n                    label.css(optionsLabel.style);\n\n                }\n\n                // get the bounding box and align the label\n                // #3000 changed to better handle choice between plotband or plotline\n                xs = [path[1], path[4], (isBand ? path[6] : path[1])];\n                ys = [path[2], path[5], (isBand ? path[7] : path[2])];\n                x = arrayMin(xs);\n                y = arrayMin(ys);\n\n                label.align(optionsLabel, false, {\n                    x: x,\n                    y: y,\n                    width: arrayMax(xs) - x,\n                    height: arrayMax(ys) - y\n                });\n                label.show();\n            },\n\n            /**\n             * Remove the plot line or band\n             */\n            destroy: function() {\n                // remove it from the lookup\n                erase(this.axis.plotLinesAndBands, this);\n\n                delete this.axis;\n                destroyObjectProperties(this);\n            }\n        };\n\n        /**\n         * Object with members for extending the Axis prototype\n         * @todo Extend directly instead of adding object to Highcharts first\n         */\n\n        H.AxisPlotLineOrBandExtension = {\n\n            /**\n             * Create the path for a plot band\n             */\n            getPlotBandPath: function(from, to) {\n                var toPath = this.getPlotLinePath(to, null, null, true),\n                    path = this.getPlotLinePath(from, null, null, true),\n                    // #4964 check if chart is inverted or plotband is on yAxis \n                    horiz = this.horiz,\n                    plus = 1,\n                    outside =\n                    (from < this.min && to < this.min) ||\n                    (from > this.max && to > this.max);\n\n                if (path && toPath) {\n\n                    // Flat paths don't need labels (#3836)\n                    if (outside) {\n                        path.flat = path.toString() === toPath.toString();\n                        plus = 0;\n                    }\n\n                    // Add 1 pixel, when coordinates are the same\n                    path.push(\n                        horiz && toPath[4] === path[4] ? toPath[4] + plus : toPath[4], !horiz && toPath[5] === path[5] ? toPath[5] + plus : toPath[5],\n                        horiz && toPath[1] === path[1] ? toPath[1] + plus : toPath[1], !horiz && toPath[2] === path[2] ? toPath[2] + plus : toPath[2]\n                    );\n                } else { // outside the axis area\n                    path = null;\n                }\n\n                return path;\n            },\n\n            addPlotBand: function(options) {\n                return this.addPlotBandOrLine(options, 'plotBands');\n            },\n\n            addPlotLine: function(options) {\n                return this.addPlotBandOrLine(options, 'plotLines');\n            },\n\n            /**\n             * Add a plot band or plot line after render time\n             *\n             * @param options {Object} The plotBand or plotLine configuration object\n             */\n            addPlotBandOrLine: function(options, coll) {\n                var obj = new H.PlotLineOrBand(this, options).render(),\n                    userOptions = this.userOptions;\n\n                if (obj) { // #2189\n                    // Add it to the user options for exporting and Axis.update\n                    if (coll) {\n                        userOptions[coll] = userOptions[coll] || [];\n                        userOptions[coll].push(options);\n                    }\n                    this.plotLinesAndBands.push(obj);\n                }\n\n                return obj;\n            },\n\n            /**\n             * Remove a plot band or plot line from the chart by id\n             * @param {Object} id\n             */\n            removePlotBandOrLine: function(id) {\n                var plotLinesAndBands = this.plotLinesAndBands,\n                    options = this.options,\n                    userOptions = this.userOptions,\n                    i = plotLinesAndBands.length;\n                while (i--) {\n                    if (plotLinesAndBands[i].id === id) {\n                        plotLinesAndBands[i].destroy();\n                    }\n                }\n                each([options.plotLines || [], userOptions.plotLines || [], options.plotBands || [], userOptions.plotBands || []], function(arr) {\n                    i = arr.length;\n                    while (i--) {\n                        if (arr[i].id === id) {\n                            erase(arr, arr[i]);\n                        }\n                    }\n                });\n            }\n        };\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var correctFloat = H.correctFloat,\n            defined = H.defined,\n            destroyObjectProperties = H.destroyObjectProperties,\n            isNumber = H.isNumber,\n            merge = H.merge,\n            pick = H.pick,\n            deg2rad = H.deg2rad;\n\n        /**\n         * The Tick class\n         */\n        H.Tick = function(axis, pos, type, noLabel) {\n            this.axis = axis;\n            this.pos = pos;\n            this.type = type || '';\n            this.isNew = true;\n\n            if (!type && !noLabel) {\n                this.addLabel();\n            }\n        };\n\n        H.Tick.prototype = {\n            /**\n             * Write the tick label\n             */\n            addLabel: function() {\n                var tick = this,\n                    axis = tick.axis,\n                    options = axis.options,\n                    chart = axis.chart,\n                    categories = axis.categories,\n                    names = axis.names,\n                    pos = tick.pos,\n                    labelOptions = options.labels,\n                    str,\n                    tickPositions = axis.tickPositions,\n                    isFirst = pos === tickPositions[0],\n                    isLast = pos === tickPositions[tickPositions.length - 1],\n                    value = categories ?\n                    pick(categories[pos], names[pos], pos) :\n                    pos,\n                    label = tick.label,\n                    tickPositionInfo = tickPositions.info,\n                    dateTimeLabelFormat;\n\n                // Set the datetime label format. If a higher rank is set for this position, use that. If not,\n                // use the general format.\n                if (axis.isDatetimeAxis && tickPositionInfo) {\n                    dateTimeLabelFormat =\n                        options.dateTimeLabelFormats[\n                            tickPositionInfo.higherRanks[pos] || tickPositionInfo.unitName\n                        ];\n                }\n                // set properties for access in render method\n                tick.isFirst = isFirst;\n                tick.isLast = isLast;\n\n                // get the string\n                str = axis.labelFormatter.call({\n                    axis: axis,\n                    chart: chart,\n                    isFirst: isFirst,\n                    isLast: isLast,\n                    dateTimeLabelFormat: dateTimeLabelFormat,\n                    value: axis.isLog ? correctFloat(axis.lin2log(value)) : value\n                });\n\n                // prepare CSS\n                //css = width && { width: Math.max(1, Math.round(width - 2 * (labelOptions.padding || 10))) + 'px' };\n\n                // first call\n                if (!defined(label)) {\n\n                    tick.label = label =\n                        defined(str) && labelOptions.enabled ?\n                        chart.renderer.text(\n                            str,\n                            0,\n                            0,\n                            labelOptions.useHTML\n                        )\n\n                        // without position absolute, IE export sometimes is wrong\n                        .css(merge(labelOptions.style))\n\n                        .add(axis.labelGroup) :\n                        null;\n                    tick.labelLength = label && label.getBBox().width; // Un-rotated length\n                    tick.rotation = 0; // Base value to detect change for new calls to getBBox\n\n                    // update\n                } else if (label) {\n                    label.attr({\n                        text: str\n                    });\n                }\n            },\n\n            /**\n             * Get the offset height or width of the label\n             */\n            getLabelSize: function() {\n                return this.label ?\n                    this.label.getBBox()[this.axis.horiz ? 'height' : 'width'] :\n                    0;\n            },\n\n            /**\n             * Handle the label overflow by adjusting the labels to the left and right edge, or\n             * hide them if they collide into the neighbour label.\n             */\n            handleOverflow: function(xy) {\n                var axis = this.axis,\n                    pxPos = xy.x,\n                    chartWidth = axis.chart.chartWidth,\n                    spacing = axis.chart.spacing,\n                    leftBound = pick(axis.labelLeft, Math.min(axis.pos, spacing[3])),\n                    rightBound = pick(axis.labelRight, Math.max(axis.pos + axis.len, chartWidth - spacing[1])),\n                    label = this.label,\n                    rotation = this.rotation,\n                    factor = {\n                        left: 0,\n                        center: 0.5,\n                        right: 1\n                    }[axis.labelAlign],\n                    labelWidth = label.getBBox().width,\n                    slotWidth = axis.getSlotWidth(),\n                    modifiedSlotWidth = slotWidth,\n                    xCorrection = factor,\n                    goRight = 1,\n                    leftPos,\n                    rightPos,\n                    textWidth,\n                    css = {};\n\n                // Check if the label overshoots the chart spacing box. If it does, move it.\n                // If it now overshoots the slotWidth, add ellipsis.\n                if (!rotation) {\n                    leftPos = pxPos - factor * labelWidth;\n                    rightPos = pxPos + (1 - factor) * labelWidth;\n\n                    if (leftPos < leftBound) {\n                        modifiedSlotWidth = xy.x + modifiedSlotWidth * (1 - factor) - leftBound;\n                    } else if (rightPos > rightBound) {\n                        modifiedSlotWidth = rightBound - xy.x + modifiedSlotWidth * factor;\n                        goRight = -1;\n                    }\n\n                    modifiedSlotWidth = Math.min(slotWidth, modifiedSlotWidth); // #4177\n                    if (modifiedSlotWidth < slotWidth && axis.labelAlign === 'center') {\n                        xy.x += goRight * (slotWidth - modifiedSlotWidth - xCorrection *\n                            (slotWidth - Math.min(labelWidth, modifiedSlotWidth)));\n                    }\n                    // If the label width exceeds the available space, set a text width to be\n                    // picked up below. Also, if a width has been set before, we need to set a new\n                    // one because the reported labelWidth will be limited by the box (#3938).\n                    if (labelWidth > modifiedSlotWidth || (axis.autoRotation && (label.styles || {}).width)) {\n                        textWidth = modifiedSlotWidth;\n                    }\n\n                    // Add ellipsis to prevent rotated labels to be clipped against the edge of the chart\n                } else if (rotation < 0 && pxPos - factor * labelWidth < leftBound) {\n                    textWidth = Math.round(pxPos / Math.cos(rotation * deg2rad) - leftBound);\n                } else if (rotation > 0 && pxPos + factor * labelWidth > rightBound) {\n                    textWidth = Math.round((chartWidth - pxPos) / Math.cos(rotation * deg2rad));\n                }\n\n                if (textWidth) {\n                    css.width = textWidth;\n                    if (!(axis.options.labels.style || {}).textOverflow) {\n                        css.textOverflow = 'ellipsis';\n                    }\n                    label.css(css);\n                }\n            },\n\n            /**\n             * Get the x and y position for ticks and labels\n             */\n            getPosition: function(horiz, pos, tickmarkOffset, old) {\n                var axis = this.axis,\n                    chart = axis.chart,\n                    cHeight = (old && chart.oldChartHeight) || chart.chartHeight;\n\n                return {\n                    x: horiz ?\n                        axis.translate(pos + tickmarkOffset, null, null, old) + axis.transB : axis.left + axis.offset +\n                        (axis.opposite ?\n                            ((old && chart.oldChartWidth) || chart.chartWidth) - axis.right - axis.left :\n                            0\n                        ),\n\n                    y: horiz ?\n                        cHeight - axis.bottom + axis.offset - (axis.opposite ? axis.height : 0) : cHeight - axis.translate(pos + tickmarkOffset, null, null, old) - axis.transB\n                };\n\n            },\n\n            /**\n             * Get the x, y position of the tick label\n             */\n            getLabelPosition: function(x, y, label, horiz, labelOptions, tickmarkOffset, index, step) {\n                var axis = this.axis,\n                    transA = axis.transA,\n                    reversed = axis.reversed,\n                    staggerLines = axis.staggerLines,\n                    rotCorr = axis.tickRotCorr || {\n                        x: 0,\n                        y: 0\n                    },\n                    yOffset = labelOptions.y,\n                    line;\n\n                if (!defined(yOffset)) {\n                    if (axis.side === 0) {\n                        yOffset = label.rotation ? -8 : -label.getBBox().height;\n                    } else if (axis.side === 2) {\n                        yOffset = rotCorr.y + 8;\n                    } else {\n                        // #3140, #3140\n                        yOffset = Math.cos(label.rotation * deg2rad) * (rotCorr.y - label.getBBox(false, 0).height / 2);\n                    }\n                }\n\n                x = x + labelOptions.x + rotCorr.x - (tickmarkOffset && horiz ?\n                    tickmarkOffset * transA * (reversed ? -1 : 1) : 0);\n                y = y + yOffset - (tickmarkOffset && !horiz ?\n                    tickmarkOffset * transA * (reversed ? 1 : -1) : 0);\n\n                // Correct for staggered labels\n                if (staggerLines) {\n                    line = (index / (step || 1) % staggerLines);\n                    if (axis.opposite) {\n                        line = staggerLines - line - 1;\n                    }\n                    y += line * (axis.labelOffset / staggerLines);\n                }\n\n                return {\n                    x: x,\n                    y: Math.round(y)\n                };\n            },\n\n            /**\n             * Extendible method to return the path of the marker\n             */\n            getMarkPath: function(x, y, tickLength, tickWidth, horiz, renderer) {\n                return renderer.crispLine([\n                    'M',\n                    x,\n                    y,\n                    'L',\n                    x + (horiz ? 0 : -tickLength),\n                    y + (horiz ? tickLength : 0)\n                ], tickWidth);\n            },\n\n            /**\n             * Renders the gridLine.\n             * @param  {Boolean} old         Whether or not the tick is old\n             * @param  {number} opacity      The opacity of the grid line\n             * @param  {number} reverseCrisp Modifier for avoiding overlapping 1 or -1\n             * @return {undefined}\n             */\n            renderGridLine: function(old, opacity, reverseCrisp) {\n                var tick = this,\n                    axis = tick.axis,\n                    options = axis.options,\n                    gridLine = tick.gridLine,\n                    gridLinePath,\n                    attribs = {},\n                    pos = tick.pos,\n                    type = tick.type,\n                    tickmarkOffset = axis.tickmarkOffset,\n                    renderer = axis.chart.renderer;\n\n\n                var gridPrefix = type ? type + 'Grid' : 'grid',\n                    gridLineWidth = options[gridPrefix + 'LineWidth'],\n                    gridLineColor = options[gridPrefix + 'LineColor'],\n                    dashStyle = options[gridPrefix + 'LineDashStyle'];\n\n\n                if (!gridLine) {\n\n                    attribs.stroke = gridLineColor;\n                    attribs['stroke-width'] = gridLineWidth;\n                    if (dashStyle) {\n                        attribs.dashstyle = dashStyle;\n                    }\n\n                    if (!type) {\n                        attribs.zIndex = 1;\n                    }\n                    if (old) {\n                        attribs.opacity = 0;\n                    }\n                    tick.gridLine = gridLine = renderer.path()\n                        .attr(attribs)\n                        .addClass(\n                            'highcharts-' + (type ? type + '-' : '') + 'grid-line'\n                        )\n                        .add(axis.gridGroup);\n                }\n\n                // If the parameter 'old' is set, the current call will be followed\n                // by another call, therefore do not do any animations this time\n                if (!old && gridLine) {\n                    gridLinePath = axis.getPlotLinePath(\n                        pos + tickmarkOffset,\n                        gridLine.strokeWidth() * reverseCrisp,\n                        old, true\n                    );\n                    if (gridLinePath) {\n                        gridLine[tick.isNew ? 'attr' : 'animate']({\n                            d: gridLinePath,\n                            opacity: opacity\n                        });\n                    }\n                }\n            },\n\n            /**\n             * Renders the tick mark.\n             * @param  {Object} xy           The position vector of the mark\n             * @param  {number} xy.x         The x position of the mark\n             * @param  {number} xy.y         The y position of the mark\n             * @param  {number} opacity      The opacity of the mark\n             * @param  {number} reverseCrisp Modifier for avoiding overlapping 1 or -1\n             * @return {undefined}\n             */\n            renderMark: function(xy, opacity, reverseCrisp) {\n                var tick = this,\n                    axis = tick.axis,\n                    options = axis.options,\n                    renderer = axis.chart.renderer,\n                    type = tick.type,\n                    tickPrefix = type ? type + 'Tick' : 'tick',\n                    tickSize = axis.tickSize(tickPrefix),\n                    mark = tick.mark,\n                    isNewMark = !mark,\n                    x = xy.x,\n                    y = xy.y;\n\n\n                var tickWidth = pick(\n                        options[tickPrefix + 'Width'], !type && axis.isXAxis ? 1 : 0\n                    ), // X axis defaults to 1\n                    tickColor = options[tickPrefix + 'Color'];\n\n\n                if (tickSize) {\n\n                    // negate the length\n                    if (axis.opposite) {\n                        tickSize[0] = -tickSize[0];\n                    }\n\n                    // First time, create it\n                    if (isNewMark) {\n                        tick.mark = mark = renderer.path()\n                            .addClass('highcharts-' + (type ? type + '-' : '') + 'tick')\n                            .add(axis.axisGroup);\n\n\n                        mark.attr({\n                            stroke: tickColor,\n                            'stroke-width': tickWidth\n                        });\n\n                    }\n                    mark[isNewMark ? 'attr' : 'animate']({\n                        d: tick.getMarkPath(\n                            x,\n                            y,\n                            tickSize[0],\n                            mark.strokeWidth() * reverseCrisp,\n                            axis.horiz,\n                            renderer),\n                        opacity: opacity\n                    });\n\n                }\n            },\n\n            /**\n             * Renders the tick label.\n             * Note: The label should already be created in init(), so it should only\n             * have to be moved into place.\n             * @param  {Object} xy      The position vector of the label\n             * @param  {number} xy.x    The x position of the label\n             * @param  {number} xy.y    The y position of the label\n             * @param  {Boolean} old    Whether or not the tick is old\n             * @param  {number} opacity The opacity of the label\n             * @param  {number} index   The index of the tick\n             * @return {undefined}\n             */\n            renderLabel: function(xy, old, opacity, index) {\n                var tick = this,\n                    axis = tick.axis,\n                    horiz = axis.horiz,\n                    options = axis.options,\n                    label = tick.label,\n                    labelOptions = options.labels,\n                    step = labelOptions.step,\n                    tickmarkOffset = axis.tickmarkOffset,\n                    show = true,\n                    x = xy.x,\n                    y = xy.y;\n                if (label && isNumber(x)) {\n                    label.xy = xy = tick.getLabelPosition(\n                        x,\n                        y,\n                        label,\n                        horiz,\n                        labelOptions,\n                        tickmarkOffset,\n                        index,\n                        step\n                    );\n\n                    // Apply show first and show last. If the tick is both first and\n                    // last, it is a single centered tick, in which case we show the\n                    // label anyway (#2100).\n                    if (\n                        (\n                            tick.isFirst &&\n                            !tick.isLast &&\n                            !pick(options.showFirstLabel, 1)\n                        ) ||\n                        (\n                            tick.isLast &&\n                            !tick.isFirst &&\n                            !pick(options.showLastLabel, 1)\n                        )\n                    ) {\n                        show = false;\n\n                        // Handle label overflow and show or hide accordingly\n                    } else if (horiz && !axis.isRadial && !labelOptions.step &&\n                        !labelOptions.rotation && !old && opacity !== 0) {\n                        tick.handleOverflow(xy);\n                    }\n\n                    // apply step\n                    if (step && index % step) {\n                        // show those indices dividable by step\n                        show = false;\n                    }\n\n                    // Set the new position, and show or hide\n                    if (show && isNumber(xy.y)) {\n                        xy.opacity = opacity;\n                        label[tick.isNew ? 'attr' : 'animate'](xy);\n                    } else {\n                        label.attr('y', -9999); // #1338\n                    }\n                    tick.isNew = false;\n                }\n            },\n\n            /**\n             * Put everything in place\n             *\n             * @param index {Number}\n             * @param old {Boolean} Use old coordinates to prepare an animation into new\n             *                      position\n             */\n            render: function(index, old, opacity) {\n                var tick = this,\n                    axis = tick.axis,\n                    horiz = axis.horiz,\n                    pos = tick.pos,\n                    tickmarkOffset = axis.tickmarkOffset,\n                    xy = tick.getPosition(horiz, pos, tickmarkOffset, old),\n                    x = xy.x,\n                    y = xy.y,\n                    reverseCrisp = ((horiz && x === axis.pos + axis.len) ||\n                        (!horiz && y === axis.pos)) ? -1 : 1; // #1480, #1687\n\n                opacity = pick(opacity, 1);\n                this.isActive = true;\n\n                // Create the grid line\n                this.renderGridLine(old, opacity, reverseCrisp);\n\n                // create the tick mark\n                this.renderMark(xy, opacity, reverseCrisp);\n\n                // the label is created on init - now move it into place\n                this.renderLabel(xy, old, opacity, index);\n            },\n\n            /**\n             * Destructor for the tick prototype\n             */\n            destroy: function() {\n                destroyObjectProperties(this, this.axis);\n            }\n        };\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n\n        var addEvent = H.addEvent,\n            animObject = H.animObject,\n            arrayMax = H.arrayMax,\n            arrayMin = H.arrayMin,\n            AxisPlotLineOrBandExtension = H.AxisPlotLineOrBandExtension,\n            color = H.color,\n            correctFloat = H.correctFloat,\n            defaultOptions = H.defaultOptions,\n            defined = H.defined,\n            deg2rad = H.deg2rad,\n            destroyObjectProperties = H.destroyObjectProperties,\n            each = H.each,\n            extend = H.extend,\n            fireEvent = H.fireEvent,\n            format = H.format,\n            getMagnitude = H.getMagnitude,\n            grep = H.grep,\n            inArray = H.inArray,\n            isArray = H.isArray,\n            isNumber = H.isNumber,\n            isString = H.isString,\n            merge = H.merge,\n            normalizeTickInterval = H.normalizeTickInterval,\n            pick = H.pick,\n            PlotLineOrBand = H.PlotLineOrBand,\n            removeEvent = H.removeEvent,\n            splat = H.splat,\n            syncTimeout = H.syncTimeout,\n            Tick = H.Tick;\n\n        /**\n         * Create a new axis object.\n         * @constructor Axis\n         * @param {Object} chart\n         * @param {Object} options\n         */\n        H.Axis = function() {\n            this.init.apply(this, arguments);\n        };\n\n        H.Axis.prototype = {\n\n            /**\n             * Default options for the X axis - the Y axis has extended defaults\n             */\n            defaultOptions: {\n                // allowDecimals: null,\n                // alternateGridColor: null,\n                // categories: [],\n                dateTimeLabelFormats: {\n                    millisecond: '%H:%M:%S.%L',\n                    second: '%H:%M:%S',\n                    minute: '%H:%M',\n                    hour: '%H:%M',\n                    day: '%e. %b',\n                    week: '%e. %b',\n                    month: '%b \\'%y',\n                    year: '%Y'\n                },\n                endOnTick: false,\n                // reversed: false,\n\n                labels: {\n                    enabled: true,\n                    // rotation: 0,\n                    // align: 'center',\n                    // step: null,\n\n                    style: {\n                        color: '#666666',\n                        cursor: 'default',\n                        fontSize: '11px'\n                    },\n\n                    x: 0\n                    //y: undefined\n                    /*formatter: function () {\n                    \treturn this.value;\n                    },*/\n                },\n                //linkedTo: null,\n                //max: undefined,\n                //min: undefined,\n                minPadding: 0.01,\n                maxPadding: 0.01,\n                //minRange: null,\n                //minorTickInterval: null,\n                minorTickLength: 2,\n                minorTickPosition: 'outside', // inside or outside\n                //opposite: false,\n                //offset: 0,\n                //plotBands: [{\n                //\tevents: {},\n                //\tzIndex: 1,\n                //\tlabels: { align, x, verticalAlign, y, style, rotation, textAlign }\n                //}],\n                //plotLines: [{\n                //\tevents: {}\n                //  dashStyle: {}\n                //\tzIndex:\n                //\tlabels: { align, x, verticalAlign, y, style, rotation, textAlign }\n                //}],\n                //reversed: false,\n                // showFirstLabel: true,\n                // showLastLabel: true,\n                startOfWeek: 1,\n                startOnTick: false,\n                //tickInterval: null,\n                tickLength: 10,\n                tickmarkPlacement: 'between', // on or between\n                tickPixelInterval: 100,\n                tickPosition: 'outside',\n                title: {\n                    //text: null,\n                    align: 'middle', // low, middle or high\n                    //margin: 0 for horizontal, 10 for vertical axes,\n                    //rotation: 0,\n                    //side: 'outside',\n\n                    style: {\n                        color: '#666666'\n                    }\n\n                    //x: 0,\n                    //y: 0\n                },\n                type: 'linear', // linear, logarithmic or datetime\n                //visible: true\n\n                minorGridLineColor: '#f2f2f2',\n                // minorGridLineDashStyle: null,\n                minorGridLineWidth: 1,\n                minorTickColor: '#999999',\n                //minorTickWidth: 0,\n                lineColor: '#ccd6eb',\n                lineWidth: 1,\n                gridLineColor: '#e6e6e6',\n                // gridLineDashStyle: 'solid',\n                // gridLineWidth: 0,\n                tickColor: '#ccd6eb'\n                // tickWidth: 1\n\n            },\n\n            /**\n             * This options set extends the defaultOptions for Y axes\n             */\n            defaultYAxisOptions: {\n                endOnTick: true,\n                tickPixelInterval: 72,\n                showLastLabel: true,\n                labels: {\n                    x: -8\n                },\n                maxPadding: 0.05,\n                minPadding: 0.05,\n                startOnTick: true,\n                title: {\n                    rotation: 270,\n                    text: 'Values'\n                },\n                stackLabels: {\n                    enabled: false,\n                    //align: dynamic,\n                    //y: dynamic,\n                    //x: dynamic,\n                    //verticalAlign: dynamic,\n                    //textAlign: dynamic,\n                    //rotation: 0,\n                    formatter: function() {\n                        return H.numberFormat(this.total, -1);\n                    },\n\n                    style: {\n                        fontSize: '11px',\n                        fontWeight: 'bold',\n                        color: '#000000',\n                        textOutline: '1px contrast'\n                    }\n\n                },\n\n                gridLineWidth: 1,\n                lineWidth: 0\n                // tickWidth: 0\n\n            },\n\n            /**\n             * These options extend the defaultOptions for left axes\n             */\n            defaultLeftAxisOptions: {\n                labels: {\n                    x: -15\n                },\n                title: {\n                    rotation: 270\n                }\n            },\n\n            /**\n             * These options extend the defaultOptions for right axes\n             */\n            defaultRightAxisOptions: {\n                labels: {\n                    x: 15\n                },\n                title: {\n                    rotation: 90\n                }\n            },\n\n            /**\n             * These options extend the defaultOptions for bottom axes\n             */\n            defaultBottomAxisOptions: {\n                labels: {\n                    autoRotation: [-45],\n                    x: 0\n                    // overflow: undefined,\n                    // staggerLines: null\n                },\n                title: {\n                    rotation: 0\n                }\n            },\n            /**\n             * These options extend the defaultOptions for top axes\n             */\n            defaultTopAxisOptions: {\n                labels: {\n                    autoRotation: [-45],\n                    x: 0\n                    // overflow: undefined\n                    // staggerLines: null\n                },\n                title: {\n                    rotation: 0\n                }\n            },\n\n            /**\n             * Initialize the axis\n             */\n            init: function(chart, userOptions) {\n\n\n                var isXAxis = userOptions.isX,\n                    axis = this;\n\n                axis.chart = chart;\n\n                // Flag, is the axis horizontal\n                axis.horiz = chart.inverted ? !isXAxis : isXAxis;\n\n                // Flag, isXAxis\n                axis.isXAxis = isXAxis;\n                axis.coll = axis.coll || (isXAxis ? 'xAxis' : 'yAxis');\n\n                axis.opposite = userOptions.opposite; // needed in setOptions\n                axis.side = userOptions.side || (axis.horiz ?\n                    (axis.opposite ? 0 : 2) : // top : bottom\n                    (axis.opposite ? 1 : 3)); // right : left\n\n                axis.setOptions(userOptions);\n\n\n                var options = this.options,\n                    type = options.type,\n                    isDatetimeAxis = type === 'datetime';\n\n                axis.labelFormatter = options.labels.formatter || axis.defaultLabelFormatter; // can be overwritten by dynamic format\n\n\n                // Flag, stagger lines or not\n                axis.userOptions = userOptions;\n\n                //axis.axisTitleMargin = undefined,// = options.title.margin,\n                axis.minPixelPadding = 0;\n\n                axis.reversed = options.reversed;\n                axis.visible = options.visible !== false;\n                axis.zoomEnabled = options.zoomEnabled !== false;\n\n                // Initial categories\n                axis.hasNames = type === 'category' || options.categories === true;\n                axis.categories = options.categories || axis.hasNames;\n                axis.names = axis.names || []; // Preserve on update (#3830)\n\n                // Elements\n                //axis.axisGroup = undefined;\n                //axis.gridGroup = undefined;\n                //axis.axisTitle = undefined;\n                //axis.axisLine = undefined;\n\n                // Placeholder for plotlines and plotbands groups\n                axis.plotLinesAndBandsGroups = {};\n\n                // Shorthand types\n                axis.isLog = type === 'logarithmic';\n                axis.isDatetimeAxis = isDatetimeAxis;\n                axis.positiveValuesOnly = axis.isLog && !axis.allowNegativeLog;\n\n                // Flag, if axis is linked to another axis\n                axis.isLinked = defined(options.linkedTo);\n                // Linked axis.\n                //axis.linkedParent = undefined;\n\n                // Tick positions\n                //axis.tickPositions = undefined; // array containing predefined positions\n                // Tick intervals\n                //axis.tickInterval = undefined;\n                //axis.minorTickInterval = undefined;\n\n\n                // Major ticks\n                axis.ticks = {};\n                axis.labelEdge = [];\n                // Minor ticks\n                axis.minorTicks = {};\n\n                // List of plotLines/Bands\n                axis.plotLinesAndBands = [];\n\n                // Alternate bands\n                axis.alternateBands = {};\n\n                // Axis metrics\n                //axis.left = undefined;\n                //axis.top = undefined;\n                //axis.width = undefined;\n                //axis.height = undefined;\n                //axis.bottom = undefined;\n                //axis.right = undefined;\n                //axis.transA = undefined;\n                //axis.transB = undefined;\n                //axis.oldTransA = undefined;\n                axis.len = 0;\n                //axis.oldMin = undefined;\n                //axis.oldMax = undefined;\n                //axis.oldUserMin = undefined;\n                //axis.oldUserMax = undefined;\n                //axis.oldAxisLength = undefined;\n                axis.minRange = axis.userMinRange = options.minRange || options.maxZoom;\n                axis.range = options.range;\n                axis.offset = options.offset || 0;\n\n\n                // Dictionary for stacks\n                axis.stacks = {};\n                axis.oldStacks = {};\n                axis.stacksTouched = 0;\n\n                // Min and max in the data\n                //axis.dataMin = undefined,\n                //axis.dataMax = undefined,\n\n                // The axis range\n                axis.max = null;\n                axis.min = null;\n\n                // User set min and max\n                //axis.userMin = undefined,\n                //axis.userMax = undefined,\n\n                // Crosshair options\n                axis.crosshair = pick(options.crosshair, splat(chart.options.tooltip.crosshairs)[isXAxis ? 0 : 1], false);\n                // Run Axis\n\n                var eventType,\n                    events = axis.options.events;\n\n                // Register\n                if (inArray(axis, chart.axes) === -1) { // don't add it again on Axis.update()\n                    if (isXAxis) { // #2713\n                        chart.axes.splice(chart.xAxis.length, 0, axis);\n                    } else {\n                        chart.axes.push(axis);\n                    }\n\n                    chart[axis.coll].push(axis);\n                }\n\n                axis.series = axis.series || []; // populated by Series\n\n                // inverted charts have reversed xAxes as default\n                if (chart.inverted && isXAxis && axis.reversed === undefined) {\n                    axis.reversed = true;\n                }\n\n                axis.removePlotBand = axis.removePlotBandOrLine;\n                axis.removePlotLine = axis.removePlotBandOrLine;\n\n\n                // register event listeners\n                for (eventType in events) {\n                    addEvent(axis, eventType, events[eventType]);\n                }\n\n                // extend logarithmic axis\n                axis.lin2log = options.linearToLogConverter || axis.lin2log;\n                if (axis.isLog) {\n                    axis.val2lin = axis.log2lin;\n                    axis.lin2val = axis.lin2log;\n                }\n            },\n\n            /**\n             * Merge and set options\n             */\n            setOptions: function(userOptions) {\n                this.options = merge(\n                    this.defaultOptions,\n                    this.coll === 'yAxis' && this.defaultYAxisOptions, [this.defaultTopAxisOptions, this.defaultRightAxisOptions,\n                        this.defaultBottomAxisOptions, this.defaultLeftAxisOptions\n                    ][this.side],\n                    merge(\n                        defaultOptions[this.coll], // if set in setOptions (#1053)\n                        userOptions\n                    )\n                );\n            },\n\n            /**\n             * The default label formatter. The context is a special config object for the label.\n             */\n            defaultLabelFormatter: function() {\n                var axis = this.axis,\n                    value = this.value,\n                    categories = axis.categories,\n                    dateTimeLabelFormat = this.dateTimeLabelFormat,\n                    lang = defaultOptions.lang,\n                    numericSymbols = lang.numericSymbols,\n                    numSymMagnitude = lang.numericSymbolMagnitude || 1000,\n                    i = numericSymbols && numericSymbols.length,\n                    multi,\n                    ret,\n                    formatOption = axis.options.labels.format,\n\n                    // make sure the same symbol is added for all labels on a linear axis\n                    numericSymbolDetector = axis.isLog ? Math.abs(value) : axis.tickInterval;\n\n                if (formatOption) {\n                    ret = format(formatOption, this);\n\n                } else if (categories) {\n                    ret = value;\n\n                } else if (dateTimeLabelFormat) { // datetime axis\n                    ret = H.dateFormat(dateTimeLabelFormat, value);\n\n                } else if (i && numericSymbolDetector >= 1000) {\n                    // Decide whether we should add a numeric symbol like k (thousands) or M (millions).\n                    // If we are to enable this in tooltip or other places as well, we can move this\n                    // logic to the numberFormatter and enable it by a parameter.\n                    while (i-- && ret === undefined) {\n                        multi = Math.pow(numSymMagnitude, i + 1);\n                        if (numericSymbolDetector >= multi && (value * 10) % multi === 0 && numericSymbols[i] !== null && value !== 0) { // #5480\n                            ret = H.numberFormat(value / multi, -1) + numericSymbols[i];\n                        }\n                    }\n                }\n\n                if (ret === undefined) {\n                    if (Math.abs(value) >= 10000) { // add thousands separators\n                        ret = H.numberFormat(value, -1);\n                    } else { // small numbers\n                        ret = H.numberFormat(value, -1, undefined, ''); // #2466\n                    }\n                }\n\n                return ret;\n            },\n\n            /**\n             * Get the minimum and maximum for the series of each axis\n             */\n            getSeriesExtremes: function() {\n                var axis = this,\n                    chart = axis.chart;\n                axis.hasVisibleSeries = false;\n\n                // Reset properties in case we're redrawing (#3353)\n                axis.dataMin = axis.dataMax = axis.threshold = null;\n                axis.softThreshold = !axis.isXAxis;\n\n                if (axis.buildStacks) {\n                    axis.buildStacks();\n                }\n\n                // loop through this axis' series\n                each(axis.series, function(series) {\n\n                    if (series.visible || !chart.options.chart.ignoreHiddenSeries) {\n\n                        var seriesOptions = series.options,\n                            xData,\n                            threshold = seriesOptions.threshold,\n                            seriesDataMin,\n                            seriesDataMax;\n\n                        axis.hasVisibleSeries = true;\n\n                        // Validate threshold in logarithmic axes\n                        if (axis.positiveValuesOnly && threshold <= 0) {\n                            threshold = null;\n                        }\n\n                        // Get dataMin and dataMax for X axes\n                        if (axis.isXAxis) {\n                            xData = series.xData;\n                            if (xData.length) {\n                                // If xData contains values which is not numbers, then filter them out.\n                                // To prevent performance hit, we only do this after we have already\n                                // found seriesDataMin because in most cases all data is valid. #5234.\n                                seriesDataMin = arrayMin(xData);\n                                if (!isNumber(seriesDataMin) && !(seriesDataMin instanceof Date)) { // Date for #5010\n                                    xData = grep(xData, function(x) {\n                                        return isNumber(x);\n                                    });\n                                    seriesDataMin = arrayMin(xData); // Do it again with valid data\n                                }\n\n                                axis.dataMin = Math.min(pick(axis.dataMin, xData[0]), seriesDataMin);\n                                axis.dataMax = Math.max(pick(axis.dataMax, xData[0]), arrayMax(xData));\n\n                            }\n\n                            // Get dataMin and dataMax for Y axes, as well as handle stacking and processed data\n                        } else {\n\n                            // Get this particular series extremes\n                            series.getExtremes();\n                            seriesDataMax = series.dataMax;\n                            seriesDataMin = series.dataMin;\n\n                            // Get the dataMin and dataMax so far. If percentage is used, the min and max are\n                            // always 0 and 100. If seriesDataMin and seriesDataMax is null, then series\n                            // doesn't have active y data, we continue with nulls\n                            if (defined(seriesDataMin) && defined(seriesDataMax)) {\n                                axis.dataMin = Math.min(pick(axis.dataMin, seriesDataMin), seriesDataMin);\n                                axis.dataMax = Math.max(pick(axis.dataMax, seriesDataMax), seriesDataMax);\n                            }\n\n                            // Adjust to threshold\n                            if (defined(threshold)) {\n                                axis.threshold = threshold;\n                            }\n                            // If any series has a hard threshold, it takes precedence\n                            if (!seriesOptions.softThreshold || axis.positiveValuesOnly) {\n                                axis.softThreshold = false;\n                            }\n                        }\n                    }\n                });\n            },\n\n            /**\n             * Translate from axis value to pixel position on the chart, or back\n             *\n             */\n            translate: function(val, backwards, cvsCoord, old, handleLog, pointPlacement) {\n                var axis = this.linkedParent || this, // #1417\n                    sign = 1,\n                    cvsOffset = 0,\n                    localA = old ? axis.oldTransA : axis.transA,\n                    localMin = old ? axis.oldMin : axis.min,\n                    returnValue,\n                    minPixelPadding = axis.minPixelPadding,\n                    doPostTranslate = (axis.isOrdinal || axis.isBroken || (axis.isLog && handleLog)) && axis.lin2val;\n\n                if (!localA) {\n                    localA = axis.transA;\n                }\n\n                // In vertical axes, the canvas coordinates start from 0 at the top like in\n                // SVG.\n                if (cvsCoord) {\n                    sign *= -1; // canvas coordinates inverts the value\n                    cvsOffset = axis.len;\n                }\n\n                // Handle reversed axis\n                if (axis.reversed) {\n                    sign *= -1;\n                    cvsOffset -= sign * (axis.sector || axis.len);\n                }\n\n                // From pixels to value\n                if (backwards) { // reverse translation\n\n                    val = val * sign + cvsOffset;\n                    val -= minPixelPadding;\n                    returnValue = val / localA + localMin; // from chart pixel to value\n                    if (doPostTranslate) { // log and ordinal axes\n                        returnValue = axis.lin2val(returnValue);\n                    }\n\n                    // From value to pixels\n                } else {\n                    if (doPostTranslate) { // log and ordinal axes\n                        val = axis.val2lin(val);\n                    }\n                    returnValue = sign * (val - localMin) * localA + cvsOffset +\n                        (sign * minPixelPadding) +\n                        (isNumber(pointPlacement) ? localA * pointPlacement : 0);\n                }\n\n                return returnValue;\n            },\n\n            /**\n             * Utility method to translate an axis value to pixel position.\n             * @param {Number} value A value in terms of axis units\n             * @param {Boolean} paneCoordinates Whether to return the pixel coordinate relative to the chart\n             *        or just the axis/pane itself.\n             */\n            toPixels: function(value, paneCoordinates) {\n                return this.translate(value, false, !this.horiz, null, true) + (paneCoordinates ? 0 : this.pos);\n            },\n\n            /**\n             * Utility method to translate a pixel position in to an axis value.\n             * @param {Number} pixel The pixel value coordinate\n             * @param {Boolean} paneCoordiantes Whether the input pixel is relative to the chart or just the\n             *        axis/pane itself.\n             */\n            toValue: function(pixel, paneCoordinates) {\n                return this.translate(pixel - (paneCoordinates ? 0 : this.pos), true, !this.horiz, null, true);\n            },\n\n            /**\n             * Create the path for a plot line that goes from the given value on\n             * this axis, across the plot to the opposite side\n             * @param {Number} value\n             * @param {Number} lineWidth Used for calculation crisp line\n             * @param {Number] old Use old coordinates (for resizing and rescaling)\n             */\n            getPlotLinePath: function(value, lineWidth, old, force, translatedValue) {\n                var axis = this,\n                    chart = axis.chart,\n                    axisLeft = axis.left,\n                    axisTop = axis.top,\n                    x1,\n                    y1,\n                    x2,\n                    y2,\n                    cHeight = (old && chart.oldChartHeight) || chart.chartHeight,\n                    cWidth = (old && chart.oldChartWidth) || chart.chartWidth,\n                    skip,\n                    transB = axis.transB,\n                    /**\n                     * Check if x is between a and b. If not, either move to a/b or skip,\n                     * depending on the force parameter.\n                     */\n                    between = function(x, a, b) {\n                        if (x < a || x > b) {\n                            if (force) {\n                                x = Math.min(Math.max(a, x), b);\n                            } else {\n                                skip = true;\n                            }\n                        }\n                        return x;\n                    };\n\n                translatedValue = pick(translatedValue, axis.translate(value, null, null, old));\n                x1 = x2 = Math.round(translatedValue + transB);\n                y1 = y2 = Math.round(cHeight - translatedValue - transB);\n                if (!isNumber(translatedValue)) { // no min or max\n                    skip = true;\n\n                } else if (axis.horiz) {\n                    y1 = axisTop;\n                    y2 = cHeight - axis.bottom;\n                    x1 = x2 = between(x1, axisLeft, axisLeft + axis.width);\n                } else {\n                    x1 = axisLeft;\n                    x2 = cWidth - axis.right;\n                    y1 = y2 = between(y1, axisTop, axisTop + axis.height);\n                }\n                return skip && !force ?\n                    null :\n                    chart.renderer.crispLine(['M', x1, y1, 'L', x2, y2], lineWidth || 1);\n            },\n\n            /**\n             * Set the tick positions of a linear axis to round values like whole tens or every five.\n             */\n            getLinearTickPositions: function(tickInterval, min, max) {\n                var pos,\n                    lastPos,\n                    roundedMin = correctFloat(Math.floor(min / tickInterval) * tickInterval),\n                    roundedMax = correctFloat(Math.ceil(max / tickInterval) * tickInterval),\n                    tickPositions = [];\n\n                // For single points, add a tick regardless of the relative position\n                // (#2662, #6274)\n                if (this.single) {\n                    return [min];\n                }\n\n                // Populate the intermediate values\n                pos = roundedMin;\n                while (pos <= roundedMax) {\n\n                    // Place the tick on the rounded value\n                    tickPositions.push(pos);\n\n                    // Always add the raw tickInterval, not the corrected one.\n                    pos = correctFloat(pos + tickInterval);\n\n                    // If the interval is not big enough in the current min - max range to actually increase\n                    // the loop variable, we need to break out to prevent endless loop. Issue #619\n                    if (pos === lastPos) {\n                        break;\n                    }\n\n                    // Record the last value\n                    lastPos = pos;\n                }\n                return tickPositions;\n            },\n\n            /**\n             * Return the minor tick positions. For logarithmic axes, reuse the same logic\n             * as for major ticks.\n             */\n            getMinorTickPositions: function() {\n                var axis = this,\n                    options = axis.options,\n                    tickPositions = axis.tickPositions,\n                    minorTickInterval = axis.minorTickInterval,\n                    minorTickPositions = [],\n                    pos,\n                    pointRangePadding = axis.pointRangePadding || 0,\n                    min = axis.min - pointRangePadding, // #1498\n                    max = axis.max + pointRangePadding, // #1498\n                    range = max - min;\n\n                // If minor ticks get too dense, they are hard to read, and may cause long running script. So we don't draw them.\n                if (range && range / minorTickInterval < axis.len / 3) { // #3875\n\n                    if (axis.isLog) {\n                        // For each interval in the major ticks, compute the minor ticks\n                        // separately.\n                        each(this.paddedTicks, function(pos, i, paddedTicks) {\n                            if (i) {\n                                minorTickPositions.push.apply(\n                                    minorTickPositions,\n                                    axis.getLogTickPositions(\n                                        minorTickInterval,\n                                        paddedTicks[i - 1],\n                                        paddedTicks[i],\n                                        true\n                                    )\n                                );\n                            }\n                        });\n\n                    } else if (axis.isDatetimeAxis && options.minorTickInterval === 'auto') { // #1314\n                        minorTickPositions = minorTickPositions.concat(\n                            axis.getTimeTicks(\n                                axis.normalizeTimeTickInterval(minorTickInterval),\n                                min,\n                                max,\n                                options.startOfWeek\n                            )\n                        );\n                    } else {\n                        for (\n                            pos = min + (tickPositions[0] - min) % minorTickInterval; pos <= max; pos += minorTickInterval\n                        ) {\n                            // Very, very, tight grid lines (#5771)\n                            if (pos === minorTickPositions[0]) {\n                                break;\n                            }\n                            minorTickPositions.push(pos);\n                        }\n                    }\n                }\n\n                if (minorTickPositions.length !== 0) {\n                    axis.trimTicks(minorTickPositions); // #3652 #3743 #1498 #6330\n                }\n                return minorTickPositions;\n            },\n\n            /**\n             * Adjust the min and max for the minimum range. Keep in mind that the series data is\n             * not yet processed, so we don't have information on data cropping and grouping, or\n             * updated axis.pointRange or series.pointRange. The data can't be processed until\n             * we have finally established min and max.\n             */\n            adjustForMinRange: function() {\n                var axis = this,\n                    options = axis.options,\n                    min = axis.min,\n                    max = axis.max,\n                    zoomOffset,\n                    spaceAvailable = axis.dataMax - axis.dataMin >= axis.minRange,\n                    closestDataRange,\n                    i,\n                    distance,\n                    xData,\n                    loopLength,\n                    minArgs,\n                    maxArgs,\n                    minRange;\n\n                // Set the automatic minimum range based on the closest point distance\n                if (axis.isXAxis && axis.minRange === undefined && !axis.isLog) {\n\n                    if (defined(options.min) || defined(options.max)) {\n                        axis.minRange = null; // don't do this again\n\n                    } else {\n\n                        // Find the closest distance between raw data points, as opposed to\n                        // closestPointRange that applies to processed points (cropped and grouped)\n                        each(axis.series, function(series) {\n                            xData = series.xData;\n                            loopLength = series.xIncrement ? 1 : xData.length - 1;\n                            for (i = loopLength; i > 0; i--) {\n                                distance = xData[i] - xData[i - 1];\n                                if (closestDataRange === undefined || distance < closestDataRange) {\n                                    closestDataRange = distance;\n                                }\n                            }\n                        });\n                        axis.minRange = Math.min(closestDataRange * 5, axis.dataMax - axis.dataMin);\n                    }\n                }\n\n                // if minRange is exceeded, adjust\n                if (max - min < axis.minRange) {\n                    minRange = axis.minRange;\n                    zoomOffset = (minRange - max + min) / 2;\n\n                    // if min and max options have been set, don't go beyond it\n                    minArgs = [min - zoomOffset, pick(options.min, min - zoomOffset)];\n                    if (spaceAvailable) { // if space is available, stay within the data range\n                        minArgs[2] = axis.isLog ? axis.log2lin(axis.dataMin) : axis.dataMin;\n                    }\n                    min = arrayMax(minArgs);\n\n                    maxArgs = [min + minRange, pick(options.max, min + minRange)];\n                    if (spaceAvailable) { // if space is availabe, stay within the data range\n                        maxArgs[2] = axis.isLog ? axis.log2lin(axis.dataMax) : axis.dataMax;\n                    }\n\n                    max = arrayMin(maxArgs);\n\n                    // now if the max is adjusted, adjust the min back\n                    if (max - min < minRange) {\n                        minArgs[0] = max - minRange;\n                        minArgs[1] = pick(options.min, max - minRange);\n                        min = arrayMax(minArgs);\n                    }\n                }\n\n                // Record modified extremes\n                axis.min = min;\n                axis.max = max;\n            },\n\n            /**\n             * Find the closestPointRange across all series\n             */\n            getClosest: function() {\n                var ret;\n\n                if (this.categories) {\n                    ret = 1;\n                } else {\n                    each(this.series, function(series) {\n                        var seriesClosest = series.closestPointRange,\n                            visible = series.visible ||\n                            !series.chart.options.chart.ignoreHiddenSeries;\n\n                        if (!series.noSharedTooltip &&\n                            defined(seriesClosest) &&\n                            visible\n                        ) {\n                            ret = defined(ret) ?\n                                Math.min(ret, seriesClosest) :\n                                seriesClosest;\n                        }\n                    });\n                }\n                return ret;\n            },\n\n            /**\n             * When a point name is given and no x, search for the name in the existing categories,\n             * or if categories aren't provided, search names or create a new category (#2522).\n             */\n            nameToX: function(point) {\n                var explicitCategories = isArray(this.categories),\n                    names = explicitCategories ? this.categories : this.names,\n                    nameX = point.options.x,\n                    x;\n\n                point.series.requireSorting = false;\n\n                if (!defined(nameX)) {\n                    nameX = this.options.uniqueNames === false ?\n                        point.series.autoIncrement() :\n                        inArray(point.name, names);\n                }\n                if (nameX === -1) { // The name is not found in currenct categories\n                    if (!explicitCategories) {\n                        x = names.length;\n                    }\n                } else {\n                    x = nameX;\n                }\n\n                // Write the last point's name to the names array\n                if (x !== undefined) {\n                    this.names[x] = point.name;\n                }\n\n                return x;\n            },\n\n            /**\n             * When changes have been done to series data, update the axis.names.\n             */\n            updateNames: function() {\n                var axis = this;\n\n                if (this.names.length > 0) {\n                    this.names.length = 0;\n                    this.minRange = undefined;\n                    each(this.series || [], function(series) {\n\n                        // Reset incrementer (#5928)\n                        series.xIncrement = null;\n\n                        // When adding a series, points are not yet generated\n                        if (!series.points || series.isDirtyData) {\n                            series.processData();\n                            series.generatePoints();\n                        }\n\n                        each(series.points, function(point, i) {\n                            var x;\n                            if (point.options) {\n                                x = axis.nameToX(point);\n                                if (x !== undefined && x !== point.x) {\n                                    point.x = x;\n                                    series.xData[i] = x;\n                                }\n                            }\n                        });\n                    });\n                }\n            },\n\n            /**\n             * Update translation information\n             */\n            setAxisTranslation: function(saveOld) {\n                var axis = this,\n                    range = axis.max - axis.min,\n                    pointRange = axis.axisPointRange || 0,\n                    closestPointRange,\n                    minPointOffset = 0,\n                    pointRangePadding = 0,\n                    linkedParent = axis.linkedParent,\n                    ordinalCorrection,\n                    hasCategories = !!axis.categories,\n                    transA = axis.transA,\n                    isXAxis = axis.isXAxis;\n\n                // Adjust translation for padding. Y axis with categories need to go through the same (#1784).\n                if (isXAxis || hasCategories || pointRange) {\n\n                    // Get the closest points\n                    closestPointRange = axis.getClosest();\n\n                    if (linkedParent) {\n                        minPointOffset = linkedParent.minPointOffset;\n                        pointRangePadding = linkedParent.pointRangePadding;\n                    } else {\n                        each(axis.series, function(series) {\n                            var seriesPointRange = hasCategories ?\n                                1 :\n                                (isXAxis ?\n                                    pick(series.options.pointRange, closestPointRange, 0) :\n                                    (axis.axisPointRange || 0)), // #2806\n                                pointPlacement = series.options.pointPlacement;\n\n                            pointRange = Math.max(pointRange, seriesPointRange);\n\n                            if (!axis.single) {\n                                // minPointOffset is the value padding to the left of the axis in order to make\n                                // room for points with a pointRange, typically columns. When the pointPlacement option\n                                // is 'between' or 'on', this padding does not apply.\n                                minPointOffset = Math.max(\n                                    minPointOffset,\n                                    isString(pointPlacement) ? 0 : seriesPointRange / 2\n                                );\n\n                                // Determine the total padding needed to the length of the axis to make room for the\n                                // pointRange. If the series' pointPlacement is 'on', no padding is added.\n                                pointRangePadding = Math.max(\n                                    pointRangePadding,\n                                    pointPlacement === 'on' ? 0 : seriesPointRange\n                                );\n                            }\n                        });\n                    }\n\n                    // Record minPointOffset and pointRangePadding\n                    ordinalCorrection = axis.ordinalSlope && closestPointRange ? axis.ordinalSlope / closestPointRange : 1; // #988, #1853\n                    axis.minPointOffset = minPointOffset = minPointOffset * ordinalCorrection;\n                    axis.pointRangePadding = pointRangePadding = pointRangePadding * ordinalCorrection;\n\n                    // pointRange means the width reserved for each point, like in a column chart\n                    axis.pointRange = Math.min(pointRange, range);\n\n                    // closestPointRange means the closest distance between points. In columns\n                    // it is mostly equal to pointRange, but in lines pointRange is 0 while closestPointRange\n                    // is some other value\n                    if (isXAxis) {\n                        axis.closestPointRange = closestPointRange;\n                    }\n                }\n\n                // Secondary values\n                if (saveOld) {\n                    axis.oldTransA = transA;\n                }\n                axis.translationSlope = axis.transA = transA =\n                    axis.options.staticScale ||\n                    axis.len / ((range + pointRangePadding) || 1);\n                axis.transB = axis.horiz ? axis.left : axis.bottom; // translation addend\n                axis.minPixelPadding = transA * minPointOffset;\n            },\n\n            minFromRange: function() {\n                return this.max - this.range;\n            },\n\n            /**\n             * Set the tick positions to round values and optionally extend the extremes\n             * to the nearest tick\n             */\n            setTickInterval: function(secondPass) {\n                var axis = this,\n                    chart = axis.chart,\n                    options = axis.options,\n                    isLog = axis.isLog,\n                    log2lin = axis.log2lin,\n                    isDatetimeAxis = axis.isDatetimeAxis,\n                    isXAxis = axis.isXAxis,\n                    isLinked = axis.isLinked,\n                    maxPadding = options.maxPadding,\n                    minPadding = options.minPadding,\n                    length,\n                    linkedParentExtremes,\n                    tickIntervalOption = options.tickInterval,\n                    minTickInterval,\n                    tickPixelIntervalOption = options.tickPixelInterval,\n                    categories = axis.categories,\n                    threshold = axis.threshold,\n                    softThreshold = axis.softThreshold,\n                    thresholdMin,\n                    thresholdMax,\n                    hardMin,\n                    hardMax;\n\n                if (!isDatetimeAxis && !categories && !isLinked) {\n                    this.getTickAmount();\n                }\n\n                // Min or max set either by zooming/setExtremes or initial options\n                hardMin = pick(axis.userMin, options.min);\n                hardMax = pick(axis.userMax, options.max);\n\n                // Linked axis gets the extremes from the parent axis\n                if (isLinked) {\n                    axis.linkedParent = chart[axis.coll][options.linkedTo];\n                    linkedParentExtremes = axis.linkedParent.getExtremes();\n                    axis.min = pick(linkedParentExtremes.min, linkedParentExtremes.dataMin);\n                    axis.max = pick(linkedParentExtremes.max, linkedParentExtremes.dataMax);\n                    if (options.type !== axis.linkedParent.options.type) {\n                        H.error(11, 1); // Can't link axes of different type\n                    }\n\n                    // Initial min and max from the extreme data values\n                } else {\n\n                    // Adjust to hard threshold\n                    if (!softThreshold && defined(threshold)) {\n                        if (axis.dataMin >= threshold) {\n                            thresholdMin = threshold;\n                            minPadding = 0;\n                        } else if (axis.dataMax <= threshold) {\n                            thresholdMax = threshold;\n                            maxPadding = 0;\n                        }\n                    }\n\n                    axis.min = pick(hardMin, thresholdMin, axis.dataMin);\n                    axis.max = pick(hardMax, thresholdMax, axis.dataMax);\n\n                }\n\n                if (isLog) {\n                    if (\n                        axis.positiveValuesOnly &&\n                        !secondPass &&\n                        Math.min(axis.min, pick(axis.dataMin, axis.min)) <= 0\n                    ) { // #978\n                        H.error(10, 1); // Can't plot negative values on log axis\n                    }\n                    // The correctFloat cures #934, float errors on full tens. But it\n                    // was too aggressive for #4360 because of conversion back to lin,\n                    // therefore use precision 15.\n                    axis.min = correctFloat(log2lin(axis.min), 15);\n                    axis.max = correctFloat(log2lin(axis.max), 15);\n                }\n\n                // handle zoomed range\n                if (axis.range && defined(axis.max)) {\n                    axis.userMin = axis.min = hardMin = Math.max(axis.min, axis.minFromRange()); // #618\n                    axis.userMax = hardMax = axis.max;\n\n                    axis.range = null; // don't use it when running setExtremes\n                }\n\n                // Hook for Highstock Scroller. Consider combining with beforePadding.\n                fireEvent(axis, 'foundExtremes');\n\n                // Hook for adjusting this.min and this.max. Used by bubble series.\n                if (axis.beforePadding) {\n                    axis.beforePadding();\n                }\n\n                // adjust min and max for the minimum range\n                axis.adjustForMinRange();\n\n                // Pad the values to get clear of the chart's edges. To avoid tickInterval taking the padding\n                // into account, we do this after computing tick interval (#1337).\n                if (!categories && !axis.axisPointRange && !axis.usePercentage && !isLinked && defined(axis.min) && defined(axis.max)) {\n                    length = axis.max - axis.min;\n                    if (length) {\n                        if (!defined(hardMin) && minPadding) {\n                            axis.min -= length * minPadding;\n                        }\n                        if (!defined(hardMax) && maxPadding) {\n                            axis.max += length * maxPadding;\n                        }\n                    }\n                }\n\n                // Handle options for floor, ceiling, softMin and softMax (#6359)\n                if (isNumber(options.softMin)) {\n                    axis.min = Math.min(axis.min, options.softMin);\n                }\n                if (isNumber(options.softMax)) {\n                    axis.max = Math.max(axis.max, options.softMax);\n                }\n                if (isNumber(options.floor)) {\n                    axis.min = Math.max(axis.min, options.floor);\n                }\n                if (isNumber(options.ceiling)) {\n                    axis.max = Math.min(axis.max, options.ceiling);\n                }\n\n\n                // When the threshold is soft, adjust the extreme value only if\n                // the data extreme and the padded extreme land on either side of the threshold. For example,\n                // a series of [0, 1, 2, 3] would make the yAxis add a tick for -1 because of the\n                // default minPadding and startOnTick options. This is prevented by the softThreshold\n                // option.\n                if (softThreshold && defined(axis.dataMin)) {\n                    threshold = threshold || 0;\n                    if (!defined(hardMin) && axis.min < threshold && axis.dataMin >= threshold) {\n                        axis.min = threshold;\n                    } else if (!defined(hardMax) && axis.max > threshold && axis.dataMax <= threshold) {\n                        axis.max = threshold;\n                    }\n                }\n\n\n                // get tickInterval\n                if (axis.min === axis.max || axis.min === undefined || axis.max === undefined) {\n                    axis.tickInterval = 1;\n                } else if (isLinked && !tickIntervalOption &&\n                    tickPixelIntervalOption === axis.linkedParent.options.tickPixelInterval) {\n                    axis.tickInterval = tickIntervalOption = axis.linkedParent.tickInterval;\n                } else {\n                    axis.tickInterval = pick(\n                        tickIntervalOption,\n                        this.tickAmount ? ((axis.max - axis.min) / Math.max(this.tickAmount - 1, 1)) : undefined,\n                        categories ? // for categoried axis, 1 is default, for linear axis use tickPix\n                        1 :\n                        // don't let it be more than the data range\n                        (axis.max - axis.min) * tickPixelIntervalOption / Math.max(axis.len, tickPixelIntervalOption)\n                    );\n                }\n\n                // Now we're finished detecting min and max, crop and group series data. This\n                // is in turn needed in order to find tick positions in ordinal axes.\n                if (isXAxis && !secondPass) {\n                    each(axis.series, function(series) {\n                        series.processData(axis.min !== axis.oldMin || axis.max !== axis.oldMax);\n                    });\n                }\n\n                // set the translation factor used in translate function\n                axis.setAxisTranslation(true);\n\n                // hook for ordinal axes and radial axes\n                if (axis.beforeSetTickPositions) {\n                    axis.beforeSetTickPositions();\n                }\n\n                // hook for extensions, used in Highstock ordinal axes\n                if (axis.postProcessTickInterval) {\n                    axis.tickInterval = axis.postProcessTickInterval(axis.tickInterval);\n                }\n\n                // In column-like charts, don't cramp in more ticks than there are points (#1943, #4184)\n                if (axis.pointRange && !tickIntervalOption) {\n                    axis.tickInterval = Math.max(axis.pointRange, axis.tickInterval);\n                }\n\n                // Before normalizing the tick interval, handle minimum tick interval. This applies only if tickInterval is not defined.\n                minTickInterval = pick(options.minTickInterval, axis.isDatetimeAxis && axis.closestPointRange);\n                if (!tickIntervalOption && axis.tickInterval < minTickInterval) {\n                    axis.tickInterval = minTickInterval;\n                }\n\n                // for linear axes, get magnitude and normalize the interval\n                if (!isDatetimeAxis && !isLog && !tickIntervalOption) {\n                    axis.tickInterval = normalizeTickInterval(\n                        axis.tickInterval,\n                        null,\n                        getMagnitude(axis.tickInterval),\n                        // If the tick interval is between 0.5 and 5 and the axis max is in the order of\n                        // thousands, chances are we are dealing with years. Don't allow decimals. #3363.\n                        pick(options.allowDecimals, !(axis.tickInterval > 0.5 && axis.tickInterval < 5 && axis.max > 1000 && axis.max < 9999)), !!this.tickAmount\n                    );\n                }\n\n                // Prevent ticks from getting so close that we can't draw the labels\n                if (!this.tickAmount) {\n                    axis.tickInterval = axis.unsquish();\n                }\n\n                this.setTickPositions();\n            },\n\n            /**\n             * Now we have computed the normalized tickInterval, get the tick positions\n             */\n            setTickPositions: function() {\n\n                var options = this.options,\n                    tickPositions,\n                    tickPositionsOption = options.tickPositions,\n                    tickPositioner = options.tickPositioner,\n                    startOnTick = options.startOnTick,\n                    endOnTick = options.endOnTick;\n\n                // Set the tickmarkOffset\n                this.tickmarkOffset = (this.categories && options.tickmarkPlacement === 'between' &&\n                    this.tickInterval === 1) ? 0.5 : 0; // #3202\n\n\n                // get minorTickInterval\n                this.minorTickInterval = options.minorTickInterval === 'auto' && this.tickInterval ?\n                    this.tickInterval / 5 : options.minorTickInterval;\n\n                // When there is only one point, or all points have the same value on\n                // this axis, then min and max are equal and tickPositions.length is 0\n                // or 1. In this case, add some padding in order to center the point,\n                // but leave it with one tick. #1337.\n                this.single = this.min === this.max && defined(this.min) &&\n                    !this.tickAmount && options.allowDecimals !== false;\n\n                // Find the tick positions\n                this.tickPositions = tickPositions = tickPositionsOption && tickPositionsOption.slice(); // Work on a copy (#1565)\n                if (!tickPositions) {\n\n                    if (this.isDatetimeAxis) {\n                        tickPositions = this.getTimeTicks(\n                            this.normalizeTimeTickInterval(this.tickInterval, options.units),\n                            this.min,\n                            this.max,\n                            options.startOfWeek,\n                            this.ordinalPositions,\n                            this.closestPointRange,\n                            true\n                        );\n                    } else if (this.isLog) {\n                        tickPositions = this.getLogTickPositions(this.tickInterval, this.min, this.max);\n                    } else {\n                        tickPositions = this.getLinearTickPositions(this.tickInterval, this.min, this.max);\n                    }\n\n                    // Too dense ticks, keep only the first and last (#4477)\n                    if (tickPositions.length > this.len) {\n                        tickPositions = [tickPositions[0], tickPositions.pop()];\n                    }\n\n                    this.tickPositions = tickPositions;\n\n                    // Run the tick positioner callback, that allows modifying auto tick positions.\n                    if (tickPositioner) {\n                        tickPositioner = tickPositioner.apply(this, [this.min, this.max]);\n                        if (tickPositioner) {\n                            this.tickPositions = tickPositions = tickPositioner;\n                        }\n                    }\n\n                }\n\n                // Reset min/max or remove extremes based on start/end on tick\n                this.paddedTicks = tickPositions.slice(0); // Used for logarithmic minor\n                this.trimTicks(tickPositions, startOnTick, endOnTick);\n                if (!this.isLinked) {\n\n                    // Substract half a unit (#2619, #2846, #2515, #3390)\n                    if (this.single) {\n                        this.min -= 0.5;\n                        this.max += 0.5;\n                    }\n                    if (!tickPositionsOption && !tickPositioner) {\n                        this.adjustTickAmount();\n                    }\n                }\n            },\n\n            /**\n             * Handle startOnTick and endOnTick by either adapting to padding min/max or rounded min/max\n             */\n            trimTicks: function(tickPositions, startOnTick, endOnTick) {\n                var roundedMin = tickPositions[0],\n                    roundedMax = tickPositions[tickPositions.length - 1],\n                    minPointOffset = this.minPointOffset || 0;\n\n                if (!this.isLinked) {\n                    if (startOnTick && roundedMin !== -Infinity) { // #6502\n                        this.min = roundedMin;\n                    } else {\n                        while (this.min - minPointOffset > tickPositions[0]) {\n                            tickPositions.shift();\n                        }\n                    }\n\n                    if (endOnTick) {\n                        this.max = roundedMax;\n                    } else {\n                        while (this.max + minPointOffset < tickPositions[tickPositions.length - 1]) {\n                            tickPositions.pop();\n                        }\n                    }\n\n                    // If no tick are left, set one tick in the middle (#3195)\n                    if (tickPositions.length === 0 && defined(roundedMin)) {\n                        tickPositions.push((roundedMax + roundedMin) / 2);\n                    }\n                }\n            },\n\n            /**\n             * Check if there are multiple axes in the same pane\n             * @returns {Boolean} There are other axes\n             */\n            alignToOthers: function() {\n                var others = {}, // Whether there is another axis to pair with this one\n                    hasOther,\n                    options = this.options;\n\n                if (\n                    // Only if alignTicks is true\n                    this.chart.options.chart.alignTicks !== false &&\n                    options.alignTicks !== false &&\n\n                    // Don't try to align ticks on a log axis, they are not evenly\n                    // spaced (#6021)\n                    !this.isLog\n                ) {\n                    each(this.chart[this.coll], function(axis) {\n                        var otherOptions = axis.options,\n                            horiz = axis.horiz,\n                            key = [\n                                horiz ? otherOptions.left : otherOptions.top,\n                                otherOptions.width,\n                                otherOptions.height,\n                                otherOptions.pane\n                            ].join(',');\n\n\n                        if (axis.series.length) { // #4442\n                            if (others[key]) {\n                                hasOther = true; // #4201\n                            } else {\n                                others[key] = 1;\n                            }\n                        }\n                    });\n                }\n                return hasOther;\n            },\n\n            /**\n             * Set the max ticks of either the x and y axis collection\n             */\n            getTickAmount: function() {\n                var options = this.options,\n                    tickAmount = options.tickAmount,\n                    tickPixelInterval = options.tickPixelInterval;\n\n                if (!defined(options.tickInterval) && this.len < tickPixelInterval && !this.isRadial &&\n                    !this.isLog && options.startOnTick && options.endOnTick) {\n                    tickAmount = 2;\n                }\n\n                if (!tickAmount && this.alignToOthers()) {\n                    // Add 1 because 4 tick intervals require 5 ticks (including first and last)\n                    tickAmount = Math.ceil(this.len / tickPixelInterval) + 1;\n                }\n\n                // For tick amounts of 2 and 3, compute five ticks and remove the intermediate ones. This\n                // prevents the axis from adding ticks that are too far away from the data extremes.\n                if (tickAmount < 4) {\n                    this.finalTickAmt = tickAmount;\n                    tickAmount = 5;\n                }\n\n                this.tickAmount = tickAmount;\n            },\n\n            /**\n             * When using multiple axes, adjust the number of ticks to match the highest\n             * number of ticks in that group\n             */\n            adjustTickAmount: function() {\n                var tickInterval = this.tickInterval,\n                    tickPositions = this.tickPositions,\n                    tickAmount = this.tickAmount,\n                    finalTickAmt = this.finalTickAmt,\n                    currentTickAmount = tickPositions && tickPositions.length,\n                    i,\n                    len;\n\n                if (currentTickAmount < tickAmount) {\n                    while (tickPositions.length < tickAmount) {\n                        tickPositions.push(correctFloat(\n                            tickPositions[tickPositions.length - 1] + tickInterval\n                        ));\n                    }\n                    this.transA *= (currentTickAmount - 1) / (tickAmount - 1);\n                    this.max = tickPositions[tickPositions.length - 1];\n\n                    // We have too many ticks, run second pass to try to reduce ticks\n                } else if (currentTickAmount > tickAmount) {\n                    this.tickInterval *= 2;\n                    this.setTickPositions();\n                }\n\n                // The finalTickAmt property is set in getTickAmount\n                if (defined(finalTickAmt)) {\n                    i = len = tickPositions.length;\n                    while (i--) {\n                        if (\n                            (finalTickAmt === 3 && i % 2 === 1) || // Remove every other tick\n                            (finalTickAmt <= 2 && i > 0 && i < len - 1) // Remove all but first and last\n                        ) {\n                            tickPositions.splice(i, 1);\n                        }\n                    }\n                    this.finalTickAmt = undefined;\n                }\n            },\n\n            /**\n             * Set the scale based on data min and max, user set min and max or options\n             *\n             */\n            setScale: function() {\n                var axis = this,\n                    isDirtyData,\n                    isDirtyAxisLength;\n\n                axis.oldMin = axis.min;\n                axis.oldMax = axis.max;\n                axis.oldAxisLength = axis.len;\n\n                // set the new axisLength\n                axis.setAxisSize();\n                //axisLength = horiz ? axisWidth : axisHeight;\n                isDirtyAxisLength = axis.len !== axis.oldAxisLength;\n\n                // is there new data?\n                each(axis.series, function(series) {\n                    if (series.isDirtyData || series.isDirty ||\n                        series.xAxis.isDirty) { // when x axis is dirty, we need new data extremes for y as well\n                        isDirtyData = true;\n                    }\n                });\n\n                // do we really need to go through all this?\n                if (isDirtyAxisLength || isDirtyData || axis.isLinked || axis.forceRedraw ||\n                    axis.userMin !== axis.oldUserMin || axis.userMax !== axis.oldUserMax || axis.alignToOthers()) {\n\n                    if (axis.resetStacks) {\n                        axis.resetStacks();\n                    }\n\n                    axis.forceRedraw = false;\n\n                    // get data extremes if needed\n                    axis.getSeriesExtremes();\n\n                    // get fixed positions based on tickInterval\n                    axis.setTickInterval();\n\n                    // record old values to decide whether a rescale is necessary later on (#540)\n                    axis.oldUserMin = axis.userMin;\n                    axis.oldUserMax = axis.userMax;\n\n                    // Mark as dirty if it is not already set to dirty and extremes have changed. #595.\n                    if (!axis.isDirty) {\n                        axis.isDirty = isDirtyAxisLength || axis.min !== axis.oldMin || axis.max !== axis.oldMax;\n                    }\n                } else if (axis.cleanStacks) {\n                    axis.cleanStacks();\n                }\n            },\n\n            /**\n             * Set the extremes and optionally redraw\n             * @param {Number} newMin\n             * @param {Number} newMax\n             * @param {Boolean} redraw\n             * @param {Boolean|Object} animation Whether to apply animation, and optionally animation\n             *    configuration\n             * @param {Object} eventArguments\n             *\n             */\n            setExtremes: function(newMin, newMax, redraw, animation, eventArguments) {\n                var axis = this,\n                    chart = axis.chart;\n\n                redraw = pick(redraw, true); // defaults to true\n\n                each(axis.series, function(serie) {\n                    delete serie.kdTree;\n                });\n\n                // Extend the arguments with min and max\n                eventArguments = extend(eventArguments, {\n                    min: newMin,\n                    max: newMax\n                });\n\n                // Fire the event\n                fireEvent(axis, 'setExtremes', eventArguments, function() { // the default event handler\n\n                    axis.userMin = newMin;\n                    axis.userMax = newMax;\n                    axis.eventArgs = eventArguments;\n\n                    if (redraw) {\n                        chart.redraw(animation);\n                    }\n                });\n            },\n\n            /**\n             * Overridable method for zooming chart. Pulled out in a separate method to allow overriding\n             * in stock charts.\n             */\n            zoom: function(newMin, newMax) {\n                var dataMin = this.dataMin,\n                    dataMax = this.dataMax,\n                    options = this.options,\n                    min = Math.min(dataMin, pick(options.min, dataMin)),\n                    max = Math.max(dataMax, pick(options.max, dataMax));\n\n                if (newMin !== this.min || newMax !== this.max) { // #5790\n\n                    // Prevent pinch zooming out of range. Check for defined is for #1946. #1734.\n                    if (!this.allowZoomOutside) {\n                        // #6014, sometimes newMax will be smaller than min (or newMin will be larger than max).\n                        if (defined(dataMin)) {\n                            if (newMin < min) {\n                                newMin = min;\n                            }\n                            if (newMin > max) {\n                                newMin = max;\n                            }\n                        }\n                        if (defined(dataMax)) {\n                            if (newMax < min) {\n                                newMax = min;\n                            }\n                            if (newMax > max) {\n                                newMax = max;\n                            }\n                        }\n                    }\n\n                    // In full view, displaying the reset zoom button is not required\n                    this.displayBtn = newMin !== undefined || newMax !== undefined;\n\n                    // Do it\n                    this.setExtremes(\n                        newMin,\n                        newMax,\n                        false,\n                        undefined, {\n                            trigger: 'zoom'\n                        }\n                    );\n                }\n\n                return true;\n            },\n\n            /**\n             * Update the axis metrics\n             */\n            setAxisSize: function() {\n                var chart = this.chart,\n                    options = this.options,\n                    offsets = options.offsets || [0, 0, 0, 0], // top / right / bottom / left\n                    horiz = this.horiz,\n                    width = pick(options.width, chart.plotWidth - offsets[3] + offsets[1]),\n                    height = pick(options.height, chart.plotHeight - offsets[0] + offsets[2]),\n                    top = pick(options.top, chart.plotTop + offsets[0]),\n                    left = pick(options.left, chart.plotLeft + offsets[3]),\n                    percentRegex = /%$/;\n\n                // Check for percentage based input values. Rounding fixes problems with\n                // column overflow and plot line filtering (#4898, #4899)\n                if (percentRegex.test(height)) {\n                    height = Math.round(parseFloat(height) / 100 * chart.plotHeight);\n                }\n                if (percentRegex.test(top)) {\n                    top = Math.round(parseFloat(top) / 100 * chart.plotHeight + chart.plotTop);\n                }\n\n                // Expose basic values to use in Series object and navigator\n                this.left = left;\n                this.top = top;\n                this.width = width;\n                this.height = height;\n                this.bottom = chart.chartHeight - height - top;\n                this.right = chart.chartWidth - width - left;\n\n                // Direction agnostic properties\n                this.len = Math.max(horiz ? width : height, 0); // Math.max fixes #905\n                this.pos = horiz ? left : top; // distance from SVG origin\n            },\n\n            /**\n             * Get the actual axis extremes\n             */\n            getExtremes: function() {\n                var axis = this,\n                    isLog = axis.isLog,\n                    lin2log = axis.lin2log;\n\n                return {\n                    min: isLog ? correctFloat(lin2log(axis.min)) : axis.min,\n                    max: isLog ? correctFloat(lin2log(axis.max)) : axis.max,\n                    dataMin: axis.dataMin,\n                    dataMax: axis.dataMax,\n                    userMin: axis.userMin,\n                    userMax: axis.userMax\n                };\n            },\n\n            /**\n             * Get the zero plane either based on zero or on the min or max value.\n             * Used in bar and area plots\n             */\n            getThreshold: function(threshold) {\n                var axis = this,\n                    isLog = axis.isLog,\n                    lin2log = axis.lin2log,\n                    realMin = isLog ? lin2log(axis.min) : axis.min,\n                    realMax = isLog ? lin2log(axis.max) : axis.max;\n\n                if (threshold === null) {\n                    threshold = realMin;\n                } else if (realMin > threshold) {\n                    threshold = realMin;\n                } else if (realMax < threshold) {\n                    threshold = realMax;\n                }\n\n                return axis.translate(threshold, 0, 1, 0, 1);\n            },\n\n            /**\n             * Compute auto alignment for the axis label based on which side the axis is on\n             * and the given rotation for the label\n             */\n            autoLabelAlign: function(rotation) {\n                var ret,\n                    angle = (pick(rotation, 0) - (this.side * 90) + 720) % 360;\n\n                if (angle > 15 && angle < 165) {\n                    ret = 'right';\n                } else if (angle > 195 && angle < 345) {\n                    ret = 'left';\n                } else {\n                    ret = 'center';\n                }\n                return ret;\n            },\n\n            /**\n             * Get the tick length and width for the axis.\n             * @param   {String} prefix 'tick' or 'minorTick'\n             * @returns {Array}        An array of tickLength and tickWidth\n             */\n            tickSize: function(prefix) {\n                var options = this.options,\n                    tickLength = options[prefix + 'Length'],\n                    tickWidth = pick(options[prefix + 'Width'], prefix === 'tick' && this.isXAxis ? 1 : 0); // X axis defaults to 1\n\n                if (tickWidth && tickLength) {\n                    // Negate the length\n                    if (options[prefix + 'Position'] === 'inside') {\n                        tickLength = -tickLength;\n                    }\n                    return [tickLength, tickWidth];\n                }\n\n            },\n\n            /**\n             * Return the size of the labels\n             */\n            labelMetrics: function() {\n                return this.chart.renderer.fontMetrics(\n                    this.options.labels.style && this.options.labels.style.fontSize,\n                    this.ticks[0] && this.ticks[0].label\n                );\n            },\n\n            /**\n             * Prevent the ticks from getting so close we can't draw the labels. On a horizontal\n             * axis, this is handled by rotating the labels, removing ticks and adding ellipsis.\n             * On a vertical axis remove ticks and add ellipsis.\n             */\n            unsquish: function() {\n                var labelOptions = this.options.labels,\n                    horiz = this.horiz,\n                    tickInterval = this.tickInterval,\n                    newTickInterval = tickInterval,\n                    slotSize = this.len / (((this.categories ? 1 : 0) + this.max - this.min) / tickInterval),\n                    rotation,\n                    rotationOption = labelOptions.rotation,\n                    labelMetrics = this.labelMetrics(),\n                    step,\n                    bestScore = Number.MAX_VALUE,\n                    autoRotation,\n                    // Return the multiple of tickInterval that is needed to avoid collision\n                    getStep = function(spaceNeeded) {\n                        var step = spaceNeeded / (slotSize || 1);\n                        step = step > 1 ? Math.ceil(step) : 1;\n                        return step * tickInterval;\n                    };\n\n                if (horiz) {\n                    autoRotation = !labelOptions.staggerLines && !labelOptions.step && ( // #3971\n                        defined(rotationOption) ? [rotationOption] :\n                        slotSize < pick(labelOptions.autoRotationLimit, 80) && labelOptions.autoRotation\n                    );\n\n                    if (autoRotation) {\n\n                        // Loop over the given autoRotation options, and determine which gives the best score. The\n                        // best score is that with the lowest number of steps and a rotation closest to horizontal.\n                        each(autoRotation, function(rot) {\n                            var score;\n\n                            if (rot === rotationOption || (rot && rot >= -90 && rot <= 90)) { // #3891\n\n                                step = getStep(Math.abs(labelMetrics.h / Math.sin(deg2rad * rot)));\n\n                                score = step + Math.abs(rot / 360);\n\n                                if (score < bestScore) {\n                                    bestScore = score;\n                                    rotation = rot;\n                                    newTickInterval = step;\n                                }\n                            }\n                        });\n                    }\n\n                } else if (!labelOptions.step) { // #4411\n                    newTickInterval = getStep(labelMetrics.h);\n                }\n\n                this.autoRotation = autoRotation;\n                this.labelRotation = pick(rotation, rotationOption);\n\n                return newTickInterval;\n            },\n\n            /**\n             * Get the general slot width for this axis. This may change between the pre-render (from Axis.getOffset) \n             * and the final tick rendering and placement (#5086).\n             */\n            getSlotWidth: function() {\n                var chart = this.chart,\n                    horiz = this.horiz,\n                    labelOptions = this.options.labels,\n                    slotCount = Math.max(this.tickPositions.length - (this.categories ? 0 : 1), 1),\n                    marginLeft = chart.margin[3];\n\n                return (\n                    horiz &&\n                    (labelOptions.step || 0) < 2 &&\n                    !labelOptions.rotation && // #4415\n                    ((this.staggerLines || 1) * this.len) / slotCount\n                ) || (!horiz && (\n                    (marginLeft && (marginLeft - chart.spacing[3])) ||\n                    chart.chartWidth * 0.33\n                )); // #1580, #1931\n\n            },\n\n            /**\n             * Render the axis labels and determine whether ellipsis or rotation need to be applied\n             */\n            renderUnsquish: function() {\n                var chart = this.chart,\n                    renderer = chart.renderer,\n                    tickPositions = this.tickPositions,\n                    ticks = this.ticks,\n                    labelOptions = this.options.labels,\n                    horiz = this.horiz,\n                    slotWidth = this.getSlotWidth(),\n                    innerWidth = Math.max(1, Math.round(slotWidth - 2 * (labelOptions.padding || 5))),\n                    attr = {},\n                    labelMetrics = this.labelMetrics(),\n                    textOverflowOption = labelOptions.style && labelOptions.style.textOverflow,\n                    css,\n                    maxLabelLength = 0,\n                    label,\n                    i,\n                    pos;\n\n                // Set rotation option unless it is \"auto\", like in gauges\n                if (!isString(labelOptions.rotation)) {\n                    attr.rotation = labelOptions.rotation || 0; // #4443\n                }\n\n                // Get the longest label length\n                each(tickPositions, function(tick) {\n                    tick = ticks[tick];\n                    if (tick && tick.labelLength > maxLabelLength) {\n                        maxLabelLength = tick.labelLength;\n                    }\n                });\n                this.maxLabelLength = maxLabelLength;\n\n\n                // Handle auto rotation on horizontal axis\n                if (this.autoRotation) {\n\n                    // Apply rotation only if the label is too wide for the slot, and\n                    // the label is wider than its height.\n                    if (maxLabelLength > innerWidth && maxLabelLength > labelMetrics.h) {\n                        attr.rotation = this.labelRotation;\n                    } else {\n                        this.labelRotation = 0;\n                    }\n\n                    // Handle word-wrap or ellipsis on vertical axis\n                } else if (slotWidth) {\n                    // For word-wrap or ellipsis\n                    css = {\n                        width: innerWidth + 'px'\n                    };\n\n                    if (!textOverflowOption) {\n                        css.textOverflow = 'clip';\n\n                        // On vertical axis, only allow word wrap if there is room for more lines.\n                        i = tickPositions.length;\n                        while (!horiz && i--) {\n                            pos = tickPositions[i];\n                            label = ticks[pos].label;\n                            if (label) {\n                                // Reset ellipsis in order to get the correct bounding box (#4070)\n                                if (label.styles && label.styles.textOverflow === 'ellipsis') {\n                                    label.css({\n                                        textOverflow: 'clip'\n                                    });\n\n                                    // Set the correct width in order to read the bounding box height (#4678, #5034)\n                                } else if (ticks[pos].labelLength > slotWidth) {\n                                    label.css({\n                                        width: slotWidth + 'px'\n                                    });\n                                }\n\n                                if (label.getBBox().height > this.len / tickPositions.length - (labelMetrics.h - labelMetrics.f)) {\n                                    label.specCss = {\n                                        textOverflow: 'ellipsis'\n                                    };\n                                }\n                            }\n                        }\n                    }\n                }\n\n\n                // Add ellipsis if the label length is significantly longer than ideal\n                if (attr.rotation) {\n                    css = {\n                        width: (maxLabelLength > chart.chartHeight * 0.5 ? chart.chartHeight * 0.33 : chart.chartHeight) + 'px'\n                    };\n                    if (!textOverflowOption) {\n                        css.textOverflow = 'ellipsis';\n                    }\n                }\n\n                // Set the explicit or automatic label alignment\n                this.labelAlign = labelOptions.align || this.autoLabelAlign(this.labelRotation);\n                if (this.labelAlign) {\n                    attr.align = this.labelAlign;\n                }\n\n                // Apply general and specific CSS\n                each(tickPositions, function(pos) {\n                    var tick = ticks[pos],\n                        label = tick && tick.label;\n                    if (label) {\n                        label.attr(attr); // This needs to go before the CSS in old IE (#4502)\n                        if (css) {\n                            label.css(merge(css, label.specCss));\n                        }\n                        delete label.specCss;\n                        tick.rotation = attr.rotation;\n                    }\n                });\n\n                // Note: Why is this not part of getLabelPosition?\n                this.tickRotCorr = renderer.rotCorr(labelMetrics.b, this.labelRotation || 0, this.side !== 0);\n            },\n\n            /**\n             * Return true if the axis has associated data\n             */\n            hasData: function() {\n                return this.hasVisibleSeries || (defined(this.min) && defined(this.max) && !!this.tickPositions);\n            },\n\n            /**\n             * Adds the title defined in axis.options.title.\n             * @param {Boolean} display - whether or not to display the title\n             */\n            addTitle: function(display) {\n                var axis = this,\n                    renderer = axis.chart.renderer,\n                    horiz = axis.horiz,\n                    opposite = axis.opposite,\n                    options = axis.options,\n                    axisTitleOptions = options.title,\n                    textAlign;\n\n                if (!axis.axisTitle) {\n                    textAlign = axisTitleOptions.textAlign;\n                    if (!textAlign) {\n                        textAlign = (horiz ? {\n                            low: 'left',\n                            middle: 'center',\n                            high: 'right'\n                        } : {\n                            low: opposite ? 'right' : 'left',\n                            middle: 'center',\n                            high: opposite ? 'left' : 'right'\n                        })[axisTitleOptions.align];\n                    }\n                    axis.axisTitle = renderer.text(\n                            axisTitleOptions.text,\n                            0,\n                            0,\n                            axisTitleOptions.useHTML\n                        )\n                        .attr({\n                            zIndex: 7,\n                            rotation: axisTitleOptions.rotation || 0,\n                            align: textAlign\n                        })\n                        .addClass('highcharts-axis-title')\n\n                        .css(axisTitleOptions.style)\n\n                        .add(axis.axisGroup);\n                    axis.axisTitle.isNew = true;\n                }\n\n                // hide or show the title depending on whether showEmpty is set\n                axis.axisTitle[display ? 'show' : 'hide'](true);\n            },\n\n            /**\n             * Generates a tick for initial positioning.\n             * @param  {number} pos - The tick position in axis values.\n             * @param  {number} i - The index of the tick in axis.tickPositions.\n             */\n            generateTick: function(pos) {\n                var ticks = this.ticks;\n\n                if (!ticks[pos]) {\n                    ticks[pos] = new Tick(this, pos);\n                } else {\n                    ticks[pos].addLabel(); // update labels depending on tick interval\n                }\n            },\n\n            /**\n             * Render the tick labels to a preliminary position to get their sizes\n             */\n            getOffset: function() {\n                var axis = this,\n                    chart = axis.chart,\n                    renderer = chart.renderer,\n                    options = axis.options,\n                    tickPositions = axis.tickPositions,\n                    ticks = axis.ticks,\n                    horiz = axis.horiz,\n                    side = axis.side,\n                    invertedSide = chart.inverted ? [1, 0, 3, 2][side] : side,\n                    hasData,\n                    showAxis,\n                    titleOffset = 0,\n                    titleOffsetOption,\n                    titleMargin = 0,\n                    axisTitleOptions = options.title,\n                    labelOptions = options.labels,\n                    labelOffset = 0, // reset\n                    labelOffsetPadded,\n                    axisOffset = chart.axisOffset,\n                    clipOffset = chart.clipOffset,\n                    clip,\n                    directionFactor = [-1, 1, 1, -1][side],\n                    n,\n                    className = options.className,\n                    axisParent = axis.axisParent, // Used in color axis\n                    lineHeightCorrection,\n                    tickSize = this.tickSize('tick');\n\n                // For reuse in Axis.render\n                hasData = axis.hasData();\n                axis.showAxis = showAxis = hasData || pick(options.showEmpty, true);\n\n                // Set/reset staggerLines\n                axis.staggerLines = axis.horiz && labelOptions.staggerLines;\n\n                // Create the axisGroup and gridGroup elements on first iteration\n                if (!axis.axisGroup) {\n                    axis.gridGroup = renderer.g('grid')\n                        .attr({\n                            zIndex: options.gridZIndex || 1\n                        })\n                        .addClass('highcharts-' + this.coll.toLowerCase() + '-grid ' + (className || ''))\n                        .add(axisParent);\n                    axis.axisGroup = renderer.g('axis')\n                        .attr({\n                            zIndex: options.zIndex || 2\n                        })\n                        .addClass('highcharts-' + this.coll.toLowerCase() + ' ' + (className || ''))\n                        .add(axisParent);\n                    axis.labelGroup = renderer.g('axis-labels')\n                        .attr({\n                            zIndex: labelOptions.zIndex || 7\n                        })\n                        .addClass('highcharts-' + axis.coll.toLowerCase() + '-labels ' + (className || ''))\n                        .add(axisParent);\n                }\n\n                if (hasData || axis.isLinked) {\n\n                    // Generate ticks\n                    each(tickPositions, function(pos, i) {\n                        // i is not used here, but may be used in overrides\n                        axis.generateTick(pos, i);\n                    });\n\n                    axis.renderUnsquish();\n\n\n                    // Left side must be align: right and right side must have align: left for labels\n                    if (labelOptions.reserveSpace !== false && (side === 0 || side === 2 || {\n                            1: 'left',\n                            3: 'right'\n                        }[side] === axis.labelAlign || axis.labelAlign === 'center')) {\n                        each(tickPositions, function(pos) {\n\n                            // get the highest offset\n                            labelOffset = Math.max(\n                                ticks[pos].getLabelSize(),\n                                labelOffset\n                            );\n                        });\n                    }\n\n                    if (axis.staggerLines) {\n                        labelOffset *= axis.staggerLines;\n                        axis.labelOffset = labelOffset * (axis.opposite ? -1 : 1);\n                    }\n\n\n                } else { // doesn't have data\n                    for (n in ticks) {\n                        ticks[n].destroy();\n                        delete ticks[n];\n                    }\n                }\n\n                if (axisTitleOptions && axisTitleOptions.text && axisTitleOptions.enabled !== false) {\n                    axis.addTitle(showAxis);\n\n                    if (showAxis) {\n                        titleOffset = axis.axisTitle.getBBox()[horiz ? 'height' : 'width'];\n                        titleOffsetOption = axisTitleOptions.offset;\n                        titleMargin = defined(titleOffsetOption) ? 0 : pick(axisTitleOptions.margin, horiz ? 5 : 10);\n                    }\n                }\n\n                // Render the axis line\n                axis.renderLine();\n\n                // handle automatic or user set offset\n                axis.offset = directionFactor * pick(options.offset, axisOffset[side]);\n\n                axis.tickRotCorr = axis.tickRotCorr || {\n                    x: 0,\n                    y: 0\n                }; // polar\n                if (side === 0) {\n                    lineHeightCorrection = -axis.labelMetrics().h;\n                } else if (side === 2) {\n                    lineHeightCorrection = axis.tickRotCorr.y;\n                } else {\n                    lineHeightCorrection = 0;\n                }\n\n                // Find the padded label offset\n                labelOffsetPadded = Math.abs(labelOffset) + titleMargin;\n                if (labelOffset) {\n                    labelOffsetPadded -= lineHeightCorrection;\n                    labelOffsetPadded += directionFactor * (horiz ? pick(labelOptions.y, axis.tickRotCorr.y + directionFactor * 8) : labelOptions.x);\n                }\n                axis.axisTitleMargin = pick(titleOffsetOption, labelOffsetPadded);\n\n                axisOffset[side] = Math.max(\n                    axisOffset[side],\n                    axis.axisTitleMargin + titleOffset + directionFactor * axis.offset,\n                    labelOffsetPadded, // #3027\n                    hasData && tickPositions.length && tickSize ?\n                    tickSize[0] + directionFactor * axis.offset :\n                    0 // #4866\n                );\n\n                // Decide the clipping needed to keep the graph inside the plot area and axis lines\n                clip = options.offset ? 0 : Math.floor(axis.axisLine.strokeWidth() / 2) * 2; // #4308, #4371\n                clipOffset[invertedSide] = Math.max(clipOffset[invertedSide], clip);\n            },\n\n            /**\n             * Get the path for the axis line\n             */\n            getLinePath: function(lineWidth) {\n                var chart = this.chart,\n                    opposite = this.opposite,\n                    offset = this.offset,\n                    horiz = this.horiz,\n                    lineLeft = this.left + (opposite ? this.width : 0) + offset,\n                    lineTop = chart.chartHeight - this.bottom - (opposite ? this.height : 0) + offset;\n\n                if (opposite) {\n                    lineWidth *= -1; // crispify the other way - #1480, #1687\n                }\n\n                return chart.renderer\n                    .crispLine([\n                        'M',\n                        horiz ?\n                        this.left :\n                        lineLeft,\n                        horiz ?\n                        lineTop :\n                        this.top,\n                        'L',\n                        horiz ?\n                        chart.chartWidth - this.right :\n                        lineLeft,\n                        horiz ?\n                        lineTop :\n                        chart.chartHeight - this.bottom\n                    ], lineWidth);\n            },\n\n            /**\n             * Render the axis line\n             */\n            renderLine: function() {\n                if (!this.axisLine) {\n                    this.axisLine = this.chart.renderer.path()\n                        .addClass('highcharts-axis-line')\n                        .add(this.axisGroup);\n\n\n                    this.axisLine.attr({\n                        stroke: this.options.lineColor,\n                        'stroke-width': this.options.lineWidth,\n                        zIndex: 7\n                    });\n\n                }\n            },\n\n            /**\n             * Position the title\n             */\n            getTitlePosition: function() {\n                // compute anchor points for each of the title align options\n                var horiz = this.horiz,\n                    axisLeft = this.left,\n                    axisTop = this.top,\n                    axisLength = this.len,\n                    axisTitleOptions = this.options.title,\n                    margin = horiz ? axisLeft : axisTop,\n                    opposite = this.opposite,\n                    offset = this.offset,\n                    xOption = axisTitleOptions.x || 0,\n                    yOption = axisTitleOptions.y || 0,\n                    fontSize = this.chart.renderer.fontMetrics(axisTitleOptions.style && axisTitleOptions.style.fontSize, this.axisTitle).f,\n\n                    // the position in the length direction of the axis\n                    alongAxis = {\n                        low: margin + (horiz ? 0 : axisLength),\n                        middle: margin + axisLength / 2,\n                        high: margin + (horiz ? axisLength : 0)\n                    }[axisTitleOptions.align],\n\n                    // the position in the perpendicular direction of the axis\n                    offAxis = (horiz ? axisTop + this.height : axisLeft) +\n                    (horiz ? 1 : -1) * // horizontal axis reverses the margin\n                    (opposite ? -1 : 1) * // so does opposite axes\n                    this.axisTitleMargin +\n                    (this.side === 2 ? fontSize : 0);\n\n                return {\n                    x: horiz ?\n                        alongAxis + xOption : offAxis + (opposite ? this.width : 0) + offset + xOption,\n                    y: horiz ?\n                        offAxis + yOption - (opposite ? this.height : 0) + offset : alongAxis + yOption\n                };\n            },\n\n            /**\n             * Render a minor tick into the given position. If a minor tick already \n             * exists in this position, move it.\n             * @param  {number} pos - The position in axis values.\n             */\n            renderMinorTick: function(pos) {\n                var slideInTicks = this.chart.hasRendered && isNumber(this.oldMin),\n                    minorTicks = this.minorTicks;\n\n                if (!minorTicks[pos]) {\n                    minorTicks[pos] = new Tick(this, pos, 'minor');\n                }\n\n                // Render new ticks in old position\n                if (slideInTicks && minorTicks[pos].isNew) {\n                    minorTicks[pos].render(null, true);\n                }\n\n                minorTicks[pos].render(null, false, 1);\n            },\n\n            /**\n             * Render a major tick into the given position. If a tick already exists\n             * in this position, move it.\n             * @param  {number} pos - The position in axis values\n             * @param  {number} i - The tick index\n             */\n            renderTick: function(pos, i) {\n                var isLinked = this.isLinked,\n                    ticks = this.ticks,\n                    slideInTicks = this.chart.hasRendered && isNumber(this.oldMin);\n\n                // Linked axes need an extra check to find out if\n                if (!isLinked || (pos >= this.min && pos <= this.max)) {\n\n                    if (!ticks[pos]) {\n                        ticks[pos] = new Tick(this, pos);\n                    }\n\n                    // render new ticks in old position\n                    if (slideInTicks && ticks[pos].isNew) {\n                        ticks[pos].render(i, true, 0.1);\n                    }\n\n                    ticks[pos].render(i);\n                }\n            },\n\n            /**\n             * Render the axis\n             */\n            render: function() {\n                var axis = this,\n                    chart = axis.chart,\n                    renderer = chart.renderer,\n                    options = axis.options,\n                    isLog = axis.isLog,\n                    lin2log = axis.lin2log,\n                    isLinked = axis.isLinked,\n                    tickPositions = axis.tickPositions,\n                    axisTitle = axis.axisTitle,\n                    ticks = axis.ticks,\n                    minorTicks = axis.minorTicks,\n                    alternateBands = axis.alternateBands,\n                    stackLabelOptions = options.stackLabels,\n                    alternateGridColor = options.alternateGridColor,\n                    tickmarkOffset = axis.tickmarkOffset,\n                    axisLine = axis.axisLine,\n                    showAxis = axis.showAxis,\n                    animation = animObject(renderer.globalAnimation),\n                    from,\n                    to;\n\n                // Reset\n                axis.labelEdge.length = 0;\n                //axis.justifyToPlot = overflow === 'justify';\n                axis.overlap = false;\n\n                // Mark all elements inActive before we go over and mark the active ones\n                each([ticks, minorTicks, alternateBands], function(coll) {\n                    var pos;\n                    for (pos in coll) {\n                        coll[pos].isActive = false;\n                    }\n                });\n\n                // If the series has data draw the ticks. Else only the line and title\n                if (axis.hasData() || isLinked) {\n\n                    // minor ticks\n                    if (axis.minorTickInterval && !axis.categories) {\n                        each(axis.getMinorTickPositions(), function(pos) {\n                            axis.renderMinorTick(pos);\n                        });\n                    }\n\n                    // Major ticks. Pull out the first item and render it last so that\n                    // we can get the position of the neighbour label. #808.\n                    if (tickPositions.length) { // #1300\n                        each(tickPositions, function(pos, i) {\n                            axis.renderTick(pos, i);\n                        });\n                        // In a categorized axis, the tick marks are displayed between labels. So\n                        // we need to add a tick mark and grid line at the left edge of the X axis.\n                        if (tickmarkOffset && (axis.min === 0 || axis.single)) {\n                            if (!ticks[-1]) {\n                                ticks[-1] = new Tick(axis, -1, null, true);\n                            }\n                            ticks[-1].render(-1);\n                        }\n\n                    }\n\n                    // alternate grid color\n                    if (alternateGridColor) {\n                        each(tickPositions, function(pos, i) {\n                            to = tickPositions[i + 1] !== undefined ? tickPositions[i + 1] + tickmarkOffset : axis.max - tickmarkOffset;\n                            if (i % 2 === 0 && pos < axis.max && to <= axis.max + (chart.polar ? -tickmarkOffset : tickmarkOffset)) { // #2248, #4660\n                                if (!alternateBands[pos]) {\n                                    alternateBands[pos] = new PlotLineOrBand(axis);\n                                }\n                                from = pos + tickmarkOffset; // #949\n                                alternateBands[pos].options = {\n                                    from: isLog ? lin2log(from) : from,\n                                    to: isLog ? lin2log(to) : to,\n                                    color: alternateGridColor\n                                };\n                                alternateBands[pos].render();\n                                alternateBands[pos].isActive = true;\n                            }\n                        });\n                    }\n\n                    // custom plot lines and bands\n                    if (!axis._addedPlotLB) { // only first time\n                        each((options.plotLines || []).concat(options.plotBands || []), function(plotLineOptions) {\n                            axis.addPlotBandOrLine(plotLineOptions);\n                        });\n                        axis._addedPlotLB = true;\n                    }\n\n                } // end if hasData\n\n                // Remove inactive ticks\n                each([ticks, minorTicks, alternateBands], function(coll) {\n                    var pos,\n                        i,\n                        forDestruction = [],\n                        delay = animation.duration,\n                        destroyInactiveItems = function() {\n                            i = forDestruction.length;\n                            while (i--) {\n                                // When resizing rapidly, the same items may be destroyed in different timeouts,\n                                // or the may be reactivated\n                                if (coll[forDestruction[i]] && !coll[forDestruction[i]].isActive) {\n                                    coll[forDestruction[i]].destroy();\n                                    delete coll[forDestruction[i]];\n                                }\n                            }\n\n                        };\n\n                    for (pos in coll) {\n\n                        if (!coll[pos].isActive) {\n                            // Render to zero opacity\n                            coll[pos].render(pos, false, 0);\n                            coll[pos].isActive = false;\n                            forDestruction.push(pos);\n                        }\n                    }\n\n                    // When the objects are finished fading out, destroy them\n                    syncTimeout(\n                        destroyInactiveItems,\n                        coll === alternateBands || !chart.hasRendered || !delay ? 0 : delay\n                    );\n                });\n\n                // Set the axis line path\n                if (axisLine) {\n                    axisLine[axisLine.isPlaced ? 'animate' : 'attr']({\n                        d: this.getLinePath(axisLine.strokeWidth())\n                    });\n                    axisLine.isPlaced = true;\n\n                    // Show or hide the line depending on options.showEmpty\n                    axisLine[showAxis ? 'show' : 'hide'](true);\n                }\n\n                if (axisTitle && showAxis) {\n\n                    axisTitle[axisTitle.isNew ? 'attr' : 'animate'](\n                        axis.getTitlePosition()\n                    );\n                    axisTitle.isNew = false;\n                }\n\n                // Stacked totals:\n                if (stackLabelOptions && stackLabelOptions.enabled) {\n                    axis.renderStackTotals();\n                }\n                // End stacked totals\n\n                axis.isDirty = false;\n            },\n\n            /**\n             * Redraw the axis to reflect changes in the data or axis extremes\n             */\n            redraw: function() {\n\n                if (this.visible) {\n                    // render the axis\n                    this.render();\n\n                    // move plot lines and bands\n                    each(this.plotLinesAndBands, function(plotLine) {\n                        plotLine.render();\n                    });\n                }\n\n                // mark associated series as dirty and ready for redraw\n                each(this.series, function(series) {\n                    series.isDirty = true;\n                });\n\n            },\n\n            // Properties to survive after destroy, needed for Axis.update (#4317,\n            // #5773, #5881).\n            keepProps: ['extKey', 'hcEvents', 'names', 'series', 'userMax', 'userMin'],\n\n            /**\n             * Destroys an Axis instance.\n             */\n            destroy: function(keepEvents) {\n                var axis = this,\n                    stacks = axis.stacks,\n                    stackKey,\n                    plotLinesAndBands = axis.plotLinesAndBands,\n                    plotGroup,\n                    i,\n                    n;\n\n                // Remove the events\n                if (!keepEvents) {\n                    removeEvent(axis);\n                }\n\n                // Destroy each stack total\n                for (stackKey in stacks) {\n                    destroyObjectProperties(stacks[stackKey]);\n\n                    stacks[stackKey] = null;\n                }\n\n                // Destroy collections\n                each([axis.ticks, axis.minorTicks, axis.alternateBands], function(coll) {\n                    destroyObjectProperties(coll);\n                });\n                if (plotLinesAndBands) {\n                    i = plotLinesAndBands.length;\n                    while (i--) { // #1975\n                        plotLinesAndBands[i].destroy();\n                    }\n                }\n\n                // Destroy local variables\n                each(['stackTotalGroup', 'axisLine', 'axisTitle', 'axisGroup', 'gridGroup', 'labelGroup', 'cross'], function(prop) {\n                    if (axis[prop]) {\n                        axis[prop] = axis[prop].destroy();\n                    }\n                });\n\n                // Destroy each generated group for plotlines and plotbands\n                for (plotGroup in axis.plotLinesAndBandsGroups) {\n                    axis.plotLinesAndBandsGroups[plotGroup] = axis.plotLinesAndBandsGroups[plotGroup].destroy();\n                }\n\n                // Delete all properties and fall back to the prototype.\n                for (n in axis) {\n                    if (axis.hasOwnProperty(n) && inArray(n, axis.keepProps) === -1) {\n                        delete axis[n];\n                    }\n                }\n            },\n\n            /**\n             * Draw the crosshair\n             * \n             * @param  {Object} e The event arguments from the modified pointer event\n             * @param  {Object} point The Point object\n             */\n            drawCrosshair: function(e, point) {\n\n                var path,\n                    options = this.crosshair,\n                    snap = pick(options.snap, true),\n                    pos,\n                    categorized,\n                    graphic = this.cross;\n\n                // Use last available event when updating non-snapped crosshairs without\n                // mouse interaction (#5287)\n                if (!e) {\n                    e = this.cross && this.cross.e;\n                }\n\n                if (\n                    // Disabled in options\n                    !this.crosshair ||\n                    // Snap\n                    ((defined(point) || !snap) === false)\n                ) {\n                    this.hideCrosshair();\n                } else {\n\n                    // Get the path\n                    if (!snap) {\n                        pos = e && (this.horiz ? e.chartX - this.pos : this.len - e.chartY + this.pos);\n                    } else if (defined(point)) {\n                        pos = this.isXAxis ? point.plotX : this.len - point.plotY; // #3834\n                    }\n\n                    if (defined(pos)) {\n                        path = this.getPlotLinePath(\n                            // First argument, value, only used on radial\n                            point && (this.isXAxis ? point.x : pick(point.stackY, point.y)),\n                            null,\n                            null,\n                            null,\n                            pos // Translated position\n                        ) || null; // #3189\n                    }\n\n                    if (!defined(path)) {\n                        this.hideCrosshair();\n                        return;\n                    }\n\n                    categorized = this.categories && !this.isRadial;\n\n                    // Draw the cross\n                    if (!graphic) {\n                        this.cross = graphic = this.chart.renderer\n                            .path()\n                            .addClass('highcharts-crosshair highcharts-crosshair-' +\n                                (categorized ? 'category ' : 'thin ') + options.className)\n                            .attr({\n                                zIndex: pick(options.zIndex, 2)\n                            })\n                            .add();\n\n\n                        // Presentational attributes\n                        graphic.attr({\n                            'stroke': options.color || (categorized ? color('#ccd6eb').setOpacity(0.25).get() : '#cccccc'),\n                            'stroke-width': pick(options.width, 1)\n                        });\n                        if (options.dashStyle) {\n                            graphic.attr({\n                                dashstyle: options.dashStyle\n                            });\n                        }\n\n\n                    }\n\n                    graphic.show().attr({\n                        d: path\n                    });\n\n                    if (categorized && !options.width) {\n                        graphic.attr({\n                            'stroke-width': this.transA\n                        });\n                    }\n                    this.cross.e = e;\n                }\n            },\n\n            /**\n             *\tHide the crosshair.\n             */\n            hideCrosshair: function() {\n                if (this.cross) {\n                    this.cross.hide();\n                }\n            }\n        }; // end Axis\n\n        extend(H.Axis.prototype, AxisPlotLineOrBandExtension);\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var Axis = H.Axis,\n            Date = H.Date,\n            dateFormat = H.dateFormat,\n            defaultOptions = H.defaultOptions,\n            defined = H.defined,\n            each = H.each,\n            extend = H.extend,\n            getMagnitude = H.getMagnitude,\n            getTZOffset = H.getTZOffset,\n            normalizeTickInterval = H.normalizeTickInterval,\n            pick = H.pick,\n            timeUnits = H.timeUnits;\n        /**\n         * Set the tick positions to a time unit that makes sense, for example\n         * on the first of each month or on every Monday. Return an array\n         * with the time positions. Used in datetime axes as well as for grouping\n         * data on a datetime axis.\n         *\n         * @param {Object} normalizedInterval The interval in axis values (ms) and the count\n         * @param {Number} min The minimum in axis values\n         * @param {Number} max The maximum in axis values\n         * @param {Number} startOfWeek\n         */\n        Axis.prototype.getTimeTicks = function(normalizedInterval, min, max, startOfWeek) {\n            var tickPositions = [],\n                i,\n                higherRanks = {},\n                useUTC = defaultOptions.global.useUTC,\n                minYear, // used in months and years as a basis for Date.UTC()\n                minDate = new Date(min - Math.abs(getTZOffset(min))), // #6278\n                makeTime = Date.hcMakeTime,\n                interval = normalizedInterval.unitRange,\n                count = normalizedInterval.count,\n                variableDayLength;\n\n            if (defined(min)) { // #1300\n                minDate[Date.hcSetMilliseconds](interval >= timeUnits.second ? 0 : // #3935\n                    count * Math.floor(minDate.getMilliseconds() / count)); // #3652, #3654\n\n                if (interval >= timeUnits.second) { // second\n                    minDate[Date.hcSetSeconds](interval >= timeUnits.minute ? 0 : // #3935\n                        count * Math.floor(minDate.getSeconds() / count));\n                }\n\n                if (interval >= timeUnits.minute) { // minute\n                    minDate[Date.hcSetMinutes](interval >= timeUnits.hour ? 0 :\n                        count * Math.floor(minDate[Date.hcGetMinutes]() / count));\n                }\n\n                if (interval >= timeUnits.hour) { // hour\n                    minDate[Date.hcSetHours](interval >= timeUnits.day ? 0 :\n                        count * Math.floor(minDate[Date.hcGetHours]() / count));\n                }\n\n                if (interval >= timeUnits.day) { // day\n                    minDate[Date.hcSetDate](interval >= timeUnits.month ? 1 :\n                        count * Math.floor(minDate[Date.hcGetDate]() / count));\n                }\n\n                if (interval >= timeUnits.month) { // month\n                    minDate[Date.hcSetMonth](interval >= timeUnits.year ? 0 :\n                        count * Math.floor(minDate[Date.hcGetMonth]() / count));\n                    minYear = minDate[Date.hcGetFullYear]();\n                }\n\n                if (interval >= timeUnits.year) { // year\n                    minYear -= minYear % count;\n                    minDate[Date.hcSetFullYear](minYear);\n                }\n\n                // week is a special case that runs outside the hierarchy\n                if (interval === timeUnits.week) {\n                    // get start of current week, independent of count\n                    minDate[Date.hcSetDate](minDate[Date.hcGetDate]() - minDate[Date.hcGetDay]() +\n                        pick(startOfWeek, 1));\n                }\n\n\n                // Get basics for variable time spans\n                minYear = minDate[Date.hcGetFullYear]();\n                var minMonth = minDate[Date.hcGetMonth](),\n                    minDateDate = minDate[Date.hcGetDate](),\n                    minHours = minDate[Date.hcGetHours]();\n\n\n                // Handle local timezone offset\n                if (Date.hcTimezoneOffset || Date.hcGetTimezoneOffset) {\n\n                    // Detect whether we need to take the DST crossover into\n                    // consideration. If we're crossing over DST, the day length may be\n                    // 23h or 25h and we need to compute the exact clock time for each\n                    // tick instead of just adding hours. This comes at a cost, so first\n                    // we found out if it is needed. #4951.\n                    variableDayLength =\n                        (!useUTC || !!Date.hcGetTimezoneOffset) &&\n                        (\n                            // Long range, assume we're crossing over.\n                            max - min > 4 * timeUnits.month ||\n                            // Short range, check if min and max are in different time \n                            // zones.\n                            getTZOffset(min) !== getTZOffset(max)\n                        );\n\n                    // Adjust minDate to the offset date\n                    minDate = minDate.getTime();\n                    minDate = new Date(minDate + getTZOffset(minDate));\n                }\n\n\n                // Iterate and add tick positions at appropriate values\n                var time = minDate.getTime();\n                i = 1;\n                while (time < max) {\n                    tickPositions.push(time);\n\n                    // if the interval is years, use Date.UTC to increase years\n                    if (interval === timeUnits.year) {\n                        time = makeTime(minYear + i * count, 0);\n\n                        // if the interval is months, use Date.UTC to increase months\n                    } else if (interval === timeUnits.month) {\n                        time = makeTime(minYear, minMonth + i * count);\n\n                        // if we're using global time, the interval is not fixed as it jumps\n                        // one hour at the DST crossover\n                    } else if (variableDayLength && (interval === timeUnits.day || interval === timeUnits.week)) {\n                        time = makeTime(minYear, minMonth, minDateDate +\n                            i * count * (interval === timeUnits.day ? 1 : 7));\n\n                    } else if (variableDayLength && interval === timeUnits.hour) {\n                        time = makeTime(minYear, minMonth, minDateDate, minHours + i * count);\n\n                        // else, the interval is fixed and we use simple addition\n                    } else {\n                        time += interval * count;\n                    }\n\n                    i++;\n                }\n\n                // push the last time\n                tickPositions.push(time);\n\n\n                // Handle higher ranks. Mark new days if the time is on midnight\n                // (#950, #1649, #1760, #3349). Use a reasonable dropout threshold to \n                // prevent looping over dense data grouping (#6156).\n                if (interval <= timeUnits.hour && tickPositions.length < 10000) {\n                    each(tickPositions, function(time) {\n                        if (\n                            // Speed optimization, no need to run dateFormat unless\n                            // we're on a full or half hour\n                            time % 1800000 === 0 &&\n                            // Check for local or global midnight\n                            dateFormat('%H%M%S%L', time) === '000000000'\n                        ) {\n                            higherRanks[time] = 'day';\n                        }\n                    });\n                }\n            }\n\n\n            // record information on the chosen unit - for dynamic label formatter\n            tickPositions.info = extend(normalizedInterval, {\n                higherRanks: higherRanks,\n                totalRange: interval * count\n            });\n\n            return tickPositions;\n        };\n\n        /**\n         * Get a normalized tick interval for dates. Returns a configuration object with\n         * unit range (interval), count and name. Used to prepare data for getTimeTicks.\n         * Previously this logic was part of getTimeTicks, but as getTimeTicks now runs\n         * of segments in stock charts, the normalizing logic was extracted in order to\n         * prevent it for running over again for each segment having the same interval.\n         * #662, #697.\n         */\n        Axis.prototype.normalizeTimeTickInterval = function(tickInterval, unitsOption) {\n            var units = unitsOption || [\n                    [\n                        'millisecond', // unit name\n                        [1, 2, 5, 10, 20, 25, 50, 100, 200, 500] // allowed multiples\n                    ],\n                    [\n                        'second', [1, 2, 5, 10, 15, 30]\n                    ],\n                    [\n                        'minute', [1, 2, 5, 10, 15, 30]\n                    ],\n                    [\n                        'hour', [1, 2, 3, 4, 6, 8, 12]\n                    ],\n                    [\n                        'day', [1, 2]\n                    ],\n                    [\n                        'week', [1, 2]\n                    ],\n                    [\n                        'month', [1, 2, 3, 4, 6]\n                    ],\n                    [\n                        'year',\n                        null\n                    ]\n                ],\n                unit = units[units.length - 1], // default unit is years\n                interval = timeUnits[unit[0]],\n                multiples = unit[1],\n                count,\n                i;\n\n            // loop through the units to find the one that best fits the tickInterval\n            for (i = 0; i < units.length; i++) {\n                unit = units[i];\n                interval = timeUnits[unit[0]];\n                multiples = unit[1];\n\n\n                if (units[i + 1]) {\n                    // lessThan is in the middle between the highest multiple and the next unit.\n                    var lessThan = (interval * multiples[multiples.length - 1] +\n                        timeUnits[units[i + 1][0]]) / 2;\n\n                    // break and keep the current unit\n                    if (tickInterval <= lessThan) {\n                        break;\n                    }\n                }\n            }\n\n            // prevent 2.5 years intervals, though 25, 250 etc. are allowed\n            if (interval === timeUnits.year && tickInterval < 5 * interval) {\n                multiples = [1, 2, 5];\n            }\n\n            // get the count\n            count = normalizeTickInterval(\n                tickInterval / interval,\n                multiples,\n                unit[0] === 'year' ? Math.max(getMagnitude(tickInterval / interval), 1) : 1 // #1913, #2360\n            );\n\n            return {\n                unitRange: interval,\n                count: count,\n                unitName: unit[0]\n            };\n        };\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var Axis = H.Axis,\n            getMagnitude = H.getMagnitude,\n            map = H.map,\n            normalizeTickInterval = H.normalizeTickInterval,\n            pick = H.pick;\n        /**\n         * Methods defined on the Axis prototype\n         */\n\n        /**\n         * Set the tick positions of a logarithmic axis\n         */\n        Axis.prototype.getLogTickPositions = function(interval, min, max, minor) {\n            var axis = this,\n                options = axis.options,\n                axisLength = axis.len,\n                lin2log = axis.lin2log,\n                log2lin = axis.log2lin,\n                // Since we use this method for both major and minor ticks,\n                // use a local variable and return the result\n                positions = [];\n\n            // Reset\n            if (!minor) {\n                axis._minorAutoInterval = null;\n            }\n\n            // First case: All ticks fall on whole logarithms: 1, 10, 100 etc.\n            if (interval >= 0.5) {\n                interval = Math.round(interval);\n                positions = axis.getLinearTickPositions(interval, min, max);\n\n                // Second case: We need intermediary ticks. For example\n                // 1, 2, 4, 6, 8, 10, 20, 40 etc.\n            } else if (interval >= 0.08) {\n                var roundedMin = Math.floor(min),\n                    intermediate,\n                    i,\n                    j,\n                    len,\n                    pos,\n                    lastPos,\n                    break2;\n\n                if (interval > 0.3) {\n                    intermediate = [1, 2, 4];\n                } else if (interval > 0.15) { // 0.2 equals five minor ticks per 1, 10, 100 etc\n                    intermediate = [1, 2, 4, 6, 8];\n                } else { // 0.1 equals ten minor ticks per 1, 10, 100 etc\n                    intermediate = [1, 2, 3, 4, 5, 6, 7, 8, 9];\n                }\n\n                for (i = roundedMin; i < max + 1 && !break2; i++) {\n                    len = intermediate.length;\n                    for (j = 0; j < len && !break2; j++) {\n                        pos = log2lin(lin2log(i) * intermediate[j]);\n                        if (pos > min && (!minor || lastPos <= max) && lastPos !== undefined) { // #1670, lastPos is #3113\n                            positions.push(lastPos);\n                        }\n\n                        if (lastPos > max) {\n                            break2 = true;\n                        }\n                        lastPos = pos;\n                    }\n                }\n\n                // Third case: We are so deep in between whole logarithmic values that\n                // we might as well handle the tick positions like a linear axis. For\n                // example 1.01, 1.02, 1.03, 1.04.\n            } else {\n                var realMin = lin2log(min),\n                    realMax = lin2log(max),\n                    tickIntervalOption = options[minor ? 'minorTickInterval' : 'tickInterval'],\n                    filteredTickIntervalOption = tickIntervalOption === 'auto' ? null : tickIntervalOption,\n                    tickPixelIntervalOption = options.tickPixelInterval / (minor ? 5 : 1),\n                    totalPixelLength = minor ? axisLength / axis.tickPositions.length : axisLength;\n\n                interval = pick(\n                    filteredTickIntervalOption,\n                    axis._minorAutoInterval,\n                    (realMax - realMin) * tickPixelIntervalOption / (totalPixelLength || 1)\n                );\n\n                interval = normalizeTickInterval(\n                    interval,\n                    null,\n                    getMagnitude(interval)\n                );\n\n                positions = map(axis.getLinearTickPositions(\n                    interval,\n                    realMin,\n                    realMax\n                ), log2lin);\n\n                if (!minor) {\n                    axis._minorAutoInterval = interval / 5;\n                }\n            }\n\n            // Set the axis-level tickInterval variable\n            if (!minor) {\n                axis.tickInterval = interval;\n            }\n            return positions;\n        };\n\n        Axis.prototype.log2lin = function(num) {\n            return Math.log(num) / Math.LN10;\n        };\n\n        Axis.prototype.lin2log = function(num) {\n            return Math.pow(10, num);\n        };\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var dateFormat = H.dateFormat,\n            each = H.each,\n            extend = H.extend,\n            format = H.format,\n            isNumber = H.isNumber,\n            map = H.map,\n            merge = H.merge,\n            pick = H.pick,\n            splat = H.splat,\n            syncTimeout = H.syncTimeout,\n            timeUnits = H.timeUnits;\n        /**\n         * The tooltip object\n         * @param {Object} chart The chart instance\n         * @param {Object} options Tooltip options\n         */\n        H.Tooltip = function() {\n            this.init.apply(this, arguments);\n        };\n\n        H.Tooltip.prototype = {\n\n            init: function(chart, options) {\n\n                // Save the chart and options\n                this.chart = chart;\n                this.options = options;\n\n                // Keep track of the current series\n                //this.currentSeries = undefined;\n\n                // List of crosshairs\n                this.crosshairs = [];\n\n                // Current values of x and y when animating\n                this.now = {\n                    x: 0,\n                    y: 0\n                };\n\n                // The tooltip is initially hidden\n                this.isHidden = true;\n\n\n\n                // Public property for getting the shared state.\n                this.split = options.split && !chart.inverted;\n                this.shared = options.shared || this.split;\n\n            },\n\n            /**\n             * Destroy the single tooltips in a split tooltip.\n             * If the tooltip is active then it is not destroyed, unless forced to.\n             * @param  {boolean} force Force destroy all tooltips.\n             * @return {undefined}\n             */\n            cleanSplit: function(force) {\n                each(this.chart.series, function(series) {\n                    var tt = series && series.tt;\n                    if (tt) {\n                        if (!tt.isActive || force) {\n                            series.tt = tt.destroy();\n                        } else {\n                            tt.isActive = false;\n                        }\n                    }\n                });\n            },\n\n\n\n\n            /**\n             * Create the Tooltip label element if it doesn't exist, then return the\n             * label.\n             */\n            getLabel: function() {\n\n                var renderer = this.chart.renderer,\n                    options = this.options;\n\n                if (!this.label) {\n                    // Create the label\n                    if (this.split) {\n                        this.label = renderer.g('tooltip');\n                    } else {\n                        this.label = renderer.label(\n                                '',\n                                0,\n                                0,\n                                options.shape || 'callout',\n                                null,\n                                null,\n                                options.useHTML,\n                                null,\n                                'tooltip'\n                            )\n                            .attr({\n                                padding: options.padding,\n                                r: options.borderRadius\n                            });\n\n\n                        this.label\n                            .attr({\n                                'fill': options.backgroundColor,\n                                'stroke-width': options.borderWidth\n                            })\n                            // #2301, #2657\n                            .css(options.style)\n                            .shadow(options.shadow);\n\n                    }\n\n\n\n                    this.label\n                        .attr({\n                            zIndex: 8\n                        })\n                        .add();\n                }\n                return this.label;\n            },\n\n            update: function(options) {\n                this.destroy();\n                this.init(this.chart, merge(true, this.options, options));\n            },\n\n            /**\n             * Destroy the tooltip and its elements.\n             */\n            destroy: function() {\n                // Destroy and clear local variables\n                if (this.label) {\n                    this.label = this.label.destroy();\n                }\n                if (this.split && this.tt) {\n                    this.cleanSplit(this.chart, true);\n                    this.tt = this.tt.destroy();\n                }\n                clearTimeout(this.hideTimer);\n                clearTimeout(this.tooltipTimeout);\n            },\n\n            /**\n             * Provide a soft movement for the tooltip\n             *\n             * @param {Number} x\n             * @param {Number} y\n             * @private\n             */\n            move: function(x, y, anchorX, anchorY) {\n                var tooltip = this,\n                    now = tooltip.now,\n                    animate = tooltip.options.animation !== false && !tooltip.isHidden &&\n                    // When we get close to the target position, abort animation and land on the right place (#3056)\n                    (Math.abs(x - now.x) > 1 || Math.abs(y - now.y) > 1),\n                    skipAnchor = tooltip.followPointer || tooltip.len > 1;\n\n                // Get intermediate values for animation\n                extend(now, {\n                    x: animate ? (2 * now.x + x) / 3 : x,\n                    y: animate ? (now.y + y) / 2 : y,\n                    anchorX: skipAnchor ? undefined : animate ? (2 * now.anchorX + anchorX) / 3 : anchorX,\n                    anchorY: skipAnchor ? undefined : animate ? (now.anchorY + anchorY) / 2 : anchorY\n                });\n\n                // Move to the intermediate value\n                tooltip.getLabel().attr(now);\n\n\n                // Run on next tick of the mouse tracker\n                if (animate) {\n\n                    // Never allow two timeouts\n                    clearTimeout(this.tooltipTimeout);\n\n                    // Set the fixed interval ticking for the smooth tooltip\n                    this.tooltipTimeout = setTimeout(function() {\n                        // The interval function may still be running during destroy,\n                        // so check that the chart is really there before calling.\n                        if (tooltip) {\n                            tooltip.move(x, y, anchorX, anchorY);\n                        }\n                    }, 32);\n\n                }\n            },\n\n            /**\n             * Hide the tooltip\n             */\n            hide: function(delay) {\n                var tooltip = this;\n                clearTimeout(this.hideTimer); // disallow duplicate timers (#1728, #1766)\n                delay = pick(delay, this.options.hideDelay, 500);\n                if (!this.isHidden) {\n                    this.hideTimer = syncTimeout(function() {\n                        tooltip.getLabel()[delay ? 'fadeOut' : 'hide']();\n                        tooltip.isHidden = true;\n                    }, delay);\n                }\n            },\n\n            /**\n             * Extendable method to get the anchor position of the tooltip\n             * from a point or set of points\n             */\n            getAnchor: function(points, mouseEvent) {\n                var ret,\n                    chart = this.chart,\n                    inverted = chart.inverted,\n                    plotTop = chart.plotTop,\n                    plotLeft = chart.plotLeft,\n                    plotX = 0,\n                    plotY = 0,\n                    yAxis,\n                    xAxis;\n\n                points = splat(points);\n\n                // Pie uses a special tooltipPos\n                ret = points[0].tooltipPos;\n\n                // When tooltip follows mouse, relate the position to the mouse\n                if (this.followPointer && mouseEvent) {\n                    if (mouseEvent.chartX === undefined) {\n                        mouseEvent = chart.pointer.normalize(mouseEvent);\n                    }\n                    ret = [\n                        mouseEvent.chartX - chart.plotLeft,\n                        mouseEvent.chartY - plotTop\n                    ];\n                }\n                // When shared, use the average position\n                if (!ret) {\n                    each(points, function(point) {\n                        yAxis = point.series.yAxis;\n                        xAxis = point.series.xAxis;\n                        plotX += point.plotX + (!inverted && xAxis ? xAxis.left - plotLeft : 0);\n                        plotY += (point.plotLow ? (point.plotLow + point.plotHigh) / 2 : point.plotY) +\n                            (!inverted && yAxis ? yAxis.top - plotTop : 0); // #1151\n                    });\n\n                    plotX /= points.length;\n                    plotY /= points.length;\n\n                    ret = [\n                        inverted ? chart.plotWidth - plotY : plotX,\n                        this.shared && !inverted && points.length > 1 && mouseEvent ?\n                        mouseEvent.chartY - plotTop : // place shared tooltip next to the mouse (#424)\n                        inverted ? chart.plotHeight - plotX : plotY\n                    ];\n                }\n\n                return map(ret, Math.round);\n            },\n\n            /**\n             * Place the tooltip in a chart without spilling over\n             * and not covering the point it self.\n             */\n            getPosition: function(boxWidth, boxHeight, point) {\n\n                var chart = this.chart,\n                    distance = this.distance,\n                    ret = {},\n                    h = point.h || 0, // #4117\n                    swapped,\n                    first = ['y', chart.chartHeight, boxHeight,\n                        point.plotY + chart.plotTop, chart.plotTop,\n                        chart.plotTop + chart.plotHeight\n                    ],\n                    second = ['x', chart.chartWidth, boxWidth,\n                        point.plotX + chart.plotLeft, chart.plotLeft,\n                        chart.plotLeft + chart.plotWidth\n                    ],\n                    // The far side is right or bottom\n                    preferFarSide = !this.followPointer && pick(point.ttBelow, !chart.inverted === !!point.negative), // #4984\n                    /**\n                     * Handle the preferred dimension. When the preferred dimension is tooltip\n                     * on top or bottom of the point, it will look for space there.\n                     */\n                    firstDimension = function(dim, outerSize, innerSize, point, min, max) {\n                        var roomLeft = innerSize < point - distance,\n                            roomRight = point + distance + innerSize < outerSize,\n                            alignedLeft = point - distance - innerSize,\n                            alignedRight = point + distance;\n\n                        if (preferFarSide && roomRight) {\n                            ret[dim] = alignedRight;\n                        } else if (!preferFarSide && roomLeft) {\n                            ret[dim] = alignedLeft;\n                        } else if (roomLeft) {\n                            ret[dim] = Math.min(max - innerSize, alignedLeft - h < 0 ? alignedLeft : alignedLeft - h);\n                        } else if (roomRight) {\n                            ret[dim] = Math.max(\n                                min,\n                                alignedRight + h + innerSize > outerSize ?\n                                alignedRight :\n                                alignedRight + h\n                            );\n                        } else {\n                            return false;\n                        }\n                    },\n                    /**\n                     * Handle the secondary dimension. If the preferred dimension is tooltip\n                     * on top or bottom of the point, the second dimension is to align the tooltip\n                     * above the point, trying to align center but allowing left or right\n                     * align within the chart box.\n                     */\n                    secondDimension = function(dim, outerSize, innerSize, point) {\n                        var retVal;\n\n                        // Too close to the edge, return false and swap dimensions\n                        if (point < distance || point > outerSize - distance) {\n                            retVal = false;\n                            // Align left/top\n                        } else if (point < innerSize / 2) {\n                            ret[dim] = 1;\n                            // Align right/bottom\n                        } else if (point > outerSize - innerSize / 2) {\n                            ret[dim] = outerSize - innerSize - 2;\n                            // Align center\n                        } else {\n                            ret[dim] = point - innerSize / 2;\n                        }\n                        return retVal;\n                    },\n                    /**\n                     * Swap the dimensions\n                     */\n                    swap = function(count) {\n                        var temp = first;\n                        first = second;\n                        second = temp;\n                        swapped = count;\n                    },\n                    run = function() {\n                        if (firstDimension.apply(0, first) !== false) {\n                            if (secondDimension.apply(0, second) === false && !swapped) {\n                                swap(true);\n                                run();\n                            }\n                        } else if (!swapped) {\n                            swap(true);\n                            run();\n                        } else {\n                            ret.x = ret.y = 0;\n                        }\n                    };\n\n                // Under these conditions, prefer the tooltip on the side of the point\n                if (chart.inverted || this.len > 1) {\n                    swap();\n                }\n                run();\n\n                return ret;\n\n            },\n\n            /**\n             * In case no user defined formatter is given, this will be used. Note that the context\n             * here is an object holding point, series, x, y etc.\n             *\n             * @returns {String|Array<String>}\n             */\n            defaultFormatter: function(tooltip) {\n                var items = this.points || splat(this),\n                    s;\n\n                // Build the header\n                s = [tooltip.tooltipFooterHeaderFormatter(items[0])];\n\n                // build the values\n                s = s.concat(tooltip.bodyFormatter(items));\n\n                // footer\n                s.push(tooltip.tooltipFooterHeaderFormatter(items[0], true));\n\n                return s;\n            },\n\n            /**\n             * Refresh the tooltip's text and position.\n             * @param {Object|Array} pointOrPoints Rither a point or an array of points\n             */\n            refresh: function(pointOrPoints, mouseEvent) {\n                var tooltip = this,\n                    label,\n                    options = tooltip.options,\n                    x,\n                    y,\n                    point = pointOrPoints,\n                    anchor,\n                    textConfig = {},\n                    text,\n                    pointConfig = [],\n                    formatter = options.formatter || tooltip.defaultFormatter,\n                    shared = tooltip.shared,\n                    currentSeries;\n\n                clearTimeout(this.hideTimer);\n\n                // get the reference point coordinates (pie charts use tooltipPos)\n                tooltip.followPointer = splat(point)[0].series.tooltipOptions.followPointer;\n                anchor = tooltip.getAnchor(point, mouseEvent);\n                x = anchor[0];\n                y = anchor[1];\n\n                // shared tooltip, array is sent over\n                if (shared && !(point.series && point.series.noSharedTooltip)) {\n                    each(point, function(item) {\n                        item.setState('hover');\n\n                        pointConfig.push(item.getLabelConfig());\n                    });\n\n                    textConfig = {\n                        x: point[0].category,\n                        y: point[0].y\n                    };\n                    textConfig.points = pointConfig;\n                    point = point[0];\n\n                    // single point tooltip\n                } else {\n                    textConfig = point.getLabelConfig();\n                }\n                this.len = pointConfig.length; // #6128\n                text = formatter.call(textConfig, tooltip);\n\n                // register the current series\n                currentSeries = point.series;\n                this.distance = pick(currentSeries.tooltipOptions.distance, 16);\n\n                // update the inner HTML\n                if (text === false) {\n                    this.hide();\n                } else {\n\n                    label = tooltip.getLabel();\n\n                    // show it\n                    if (tooltip.isHidden) {\n                        label.attr({\n                            opacity: 1\n                        }).show();\n                    }\n\n                    // update text\n                    if (tooltip.split) {\n                        this.renderSplit(text, pointOrPoints);\n                    } else {\n                        label.attr({\n                            text: text && text.join ? text.join('') : text\n                        });\n\n                        // Set the stroke color of the box to reflect the point\n                        label.removeClass(/highcharts-color-[\\d]+/g)\n                            .addClass('highcharts-color-' + pick(point.colorIndex, currentSeries.colorIndex));\n\n\n                        label.attr({\n                            stroke: options.borderColor || point.color || currentSeries.color || '#666666'\n                        });\n\n\n                        tooltip.updatePosition({\n                            plotX: x,\n                            plotY: y,\n                            negative: point.negative,\n                            ttBelow: point.ttBelow,\n                            h: anchor[2] || 0\n                        });\n                    }\n\n                    this.isHidden = false;\n                }\n            },\n\n            /**\n             * Render the split tooltip. Loops over each point's text and adds\n             * a label next to the point, then uses the distribute function to \n             * find best non-overlapping positions.\n             */\n            renderSplit: function(labels, points) {\n                var tooltip = this,\n                    boxes = [],\n                    chart = this.chart,\n                    ren = chart.renderer,\n                    rightAligned = true,\n                    options = this.options,\n                    headerHeight,\n                    tooltipLabel = this.getLabel();\n\n                // Create the individual labels for header and points, ignore footer\n                each(labels.slice(0, points.length + 1), function(str, i) {\n                    var point = points[i - 1] ||\n                        // Item 0 is the header. Instead of this, we could also use the crosshair label\n                        {\n                            isHeader: true,\n                            plotX: points[0].plotX\n                        },\n                        owner = point.series || tooltip,\n                        tt = owner.tt,\n                        series = point.series || {},\n                        colorClass = 'highcharts-color-' + pick(point.colorIndex, series.colorIndex, 'none'),\n                        target,\n                        x,\n                        bBox,\n                        boxWidth;\n\n                    // Store the tooltip referance on the series\n                    if (!tt) {\n                        owner.tt = tt = ren.label(null, null, null, 'callout')\n                            .addClass('highcharts-tooltip-box ' + colorClass)\n                            .attr({\n                                'padding': options.padding,\n                                'r': options.borderRadius,\n\n                                'fill': options.backgroundColor,\n                                'stroke': point.color || series.color || '#333333',\n                                'stroke-width': options.borderWidth\n\n                            })\n                            .add(tooltipLabel);\n                    }\n\n                    tt.isActive = true;\n                    tt.attr({\n                        text: str\n                    });\n\n                    tt.css(options.style);\n\n\n                    // Get X position now, so we can move all to the other side in case of overflow\n                    bBox = tt.getBBox();\n                    boxWidth = bBox.width + tt.strokeWidth();\n                    if (point.isHeader) {\n                        headerHeight = bBox.height;\n                        x = Math.max(\n                            0, // No left overflow\n                            Math.min(\n                                point.plotX + chart.plotLeft - boxWidth / 2,\n                                chart.chartWidth - boxWidth // No right overflow (#5794)\n                            )\n                        );\n                    } else {\n                        x = point.plotX + chart.plotLeft - pick(options.distance, 16) -\n                            boxWidth;\n                    }\n\n\n                    // If overflow left, we don't use this x in the next loop\n                    if (x < 0) {\n                        rightAligned = false;\n                    }\n\n                    // Prepare for distribution\n                    target = (point.series && point.series.yAxis && point.series.yAxis.pos) + (point.plotY || 0);\n                    target -= chart.plotTop;\n                    boxes.push({\n                        target: point.isHeader ? chart.plotHeight + headerHeight : target,\n                        rank: point.isHeader ? 1 : 0,\n                        size: owner.tt.getBBox().height + 1,\n                        point: point,\n                        x: x,\n                        tt: tt\n                    });\n                });\n\n                // Clean previous run (for missing points)\n                this.cleanSplit();\n\n                // Distribute and put in place\n                H.distribute(boxes, chart.plotHeight + headerHeight);\n                each(boxes, function(box) {\n                    var point = box.point,\n                        series = point.series;\n\n                    // Put the label in place\n                    box.tt.attr({\n                        visibility: box.pos === undefined ? 'hidden' : 'inherit',\n                        x: (rightAligned || point.isHeader ?\n                            box.x :\n                            point.plotX + chart.plotLeft + pick(options.distance, 16)),\n                        y: box.pos + chart.plotTop,\n                        anchorX: point.isHeader ?\n                            point.plotX + chart.plotLeft : point.plotX + series.xAxis.pos,\n                        anchorY: point.isHeader ?\n                            box.pos + chart.plotTop - 15 : point.plotY + series.yAxis.pos\n                    });\n                });\n            },\n\n            /**\n             * Find the new position and perform the move\n             */\n            updatePosition: function(point) {\n                var chart = this.chart,\n                    label = this.getLabel(),\n                    pos = (this.options.positioner || this.getPosition).call(\n                        this,\n                        label.width,\n                        label.height,\n                        point\n                    );\n\n                // do the move\n                this.move(\n                    Math.round(pos.x),\n                    Math.round(pos.y || 0), // can be undefined (#3977) \n                    point.plotX + chart.plotLeft,\n                    point.plotY + chart.plotTop\n                );\n            },\n\n            /**\n             * Get the optimal date format for a point, based on a range.\n             * @param  {number} range - The time range\n             * @param  {number|Date} date - The date of the point in question\n             * @param  {number} startOfWeek - An integer representing the first day of\n             * the week, where 0 is Sunday\n             * @param  {Object} dateTimeLabelFormats - A map of time units to formats\n             * @return {string} - the optimal date format for a point\n             */\n            getDateFormat: function(range, date, startOfWeek, dateTimeLabelFormats) {\n                var dateStr = dateFormat('%m-%d %H:%M:%S.%L', date),\n                    format,\n                    n,\n                    blank = '01-01 00:00:00.000',\n                    strpos = {\n                        millisecond: 15,\n                        second: 12,\n                        minute: 9,\n                        hour: 6,\n                        day: 3\n                    },\n                    lastN = 'millisecond'; // for sub-millisecond data, #4223\n                for (n in timeUnits) {\n\n                    // If the range is exactly one week and we're looking at a Sunday/Monday, go for the week format\n                    if (range === timeUnits.week && +dateFormat('%w', date) === startOfWeek &&\n                        dateStr.substr(6) === blank.substr(6)) {\n                        n = 'week';\n                        break;\n                    }\n\n                    // The first format that is too great for the range\n                    if (timeUnits[n] > range) {\n                        n = lastN;\n                        break;\n                    }\n\n                    // If the point is placed every day at 23:59, we need to show\n                    // the minutes as well. #2637.\n                    if (strpos[n] && dateStr.substr(strpos[n]) !== blank.substr(strpos[n])) {\n                        break;\n                    }\n\n                    // Weeks are outside the hierarchy, only apply them on Mondays/Sundays like in the first condition\n                    if (n !== 'week') {\n                        lastN = n;\n                    }\n                }\n\n                if (n) {\n                    format = dateTimeLabelFormats[n];\n                }\n\n                return format;\n            },\n\n            /**\n             * Get the best X date format based on the closest point range on the axis.\n             */\n            getXDateFormat: function(point, options, xAxis) {\n                var xDateFormat,\n                    dateTimeLabelFormats = options.dateTimeLabelFormats,\n                    closestPointRange = xAxis && xAxis.closestPointRange;\n\n                if (closestPointRange) {\n                    xDateFormat = this.getDateFormat(\n                        closestPointRange,\n                        point.x,\n                        xAxis.options.startOfWeek,\n                        dateTimeLabelFormats\n                    );\n                } else {\n                    xDateFormat = dateTimeLabelFormats.day;\n                }\n\n                return xDateFormat || dateTimeLabelFormats.year; // #2546, 2581\n            },\n\n            /**\n             * Format the footer/header of the tooltip\n             * #3397: abstraction to enable formatting of footer and header\n             */\n            tooltipFooterHeaderFormatter: function(labelConfig, isFooter) {\n                var footOrHead = isFooter ? 'footer' : 'header',\n                    series = labelConfig.series,\n                    tooltipOptions = series.tooltipOptions,\n                    xDateFormat = tooltipOptions.xDateFormat,\n                    xAxis = series.xAxis,\n                    isDateTime = xAxis && xAxis.options.type === 'datetime' && isNumber(labelConfig.key),\n                    formatString = tooltipOptions[footOrHead + 'Format'];\n\n                // Guess the best date format based on the closest point distance (#568, #3418)\n                if (isDateTime && !xDateFormat) {\n                    xDateFormat = this.getXDateFormat(labelConfig, tooltipOptions, xAxis);\n                }\n\n                // Insert the footer date format if any\n                if (isDateTime && xDateFormat) {\n                    formatString = formatString.replace('{point.key}', '{point.key:' + xDateFormat + '}');\n                }\n\n                return format(formatString, {\n                    point: labelConfig,\n                    series: series\n                });\n            },\n\n            /**\n             * Build the body (lines) of the tooltip by iterating over the items and returning one entry for each item,\n             * abstracting this functionality allows to easily overwrite and extend it.\n             */\n            bodyFormatter: function(items) {\n                return map(items, function(item) {\n                    var tooltipOptions = item.series.tooltipOptions;\n                    return (tooltipOptions.pointFormatter || item.point.tooltipFormatter)\n                        .call(item.point, tooltipOptions.pointFormat);\n                });\n            }\n\n        };\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var addEvent = H.addEvent,\n            attr = H.attr,\n            charts = H.charts,\n            color = H.color,\n            css = H.css,\n            defined = H.defined,\n            doc = H.doc,\n            each = H.each,\n            extend = H.extend,\n            fireEvent = H.fireEvent,\n            offset = H.offset,\n            pick = H.pick,\n            removeEvent = H.removeEvent,\n            splat = H.splat,\n            Tooltip = H.Tooltip,\n            win = H.win;\n\n        /**\n         * The mouse tracker object. All methods starting with \"on\" are primary DOM\n         * event handlers. Subsequent methods should be named differently from what they\n         * are doing.\n         *\n         * @constructor Pointer\n         * @param {Object} chart The Chart instance\n         * @param {Object} options The root options object\n         */\n        H.Pointer = function(chart, options) {\n            this.init(chart, options);\n        };\n\n        H.Pointer.prototype = {\n            /**\n             * Initialize Pointer\n             */\n            init: function(chart, options) {\n\n                // Store references\n                this.options = options;\n                this.chart = chart;\n\n                // Do we need to handle click on a touch device?\n                this.runChartClick = options.chart.events && !!options.chart.events.click;\n\n                this.pinchDown = [];\n                this.lastValidTouch = {};\n\n                if (Tooltip && options.tooltip.enabled) {\n                    chart.tooltip = new Tooltip(chart, options.tooltip);\n                    this.followTouchMove = pick(options.tooltip.followTouchMove, true);\n                }\n\n                this.setDOMEvents();\n            },\n\n            /**\n             * Resolve the zoomType option, this is reset on all touch start and mouse\n             * down events.\n             */\n            zoomOption: function(e) {\n                var chart = this.chart,\n                    options = chart.options.chart,\n                    zoomType = options.zoomType || '',\n                    inverted = chart.inverted,\n                    zoomX,\n                    zoomY;\n\n                // Look for the pinchType option\n                if (/touch/.test(e.type)) {\n                    zoomType = pick(options.pinchType, zoomType);\n                }\n\n                this.zoomX = zoomX = /x/.test(zoomType);\n                this.zoomY = zoomY = /y/.test(zoomType);\n                this.zoomHor = (zoomX && !inverted) || (zoomY && inverted);\n                this.zoomVert = (zoomY && !inverted) || (zoomX && inverted);\n                this.hasZoom = zoomX || zoomY;\n            },\n\n            /**\n             * Add crossbrowser support for chartX and chartY\n             * @param {Object} e The event object in standard browsers\n             */\n            normalize: function(e, chartPosition) {\n                var chartX,\n                    chartY,\n                    ePos;\n\n                // IE normalizing\n                e = e || win.event;\n                if (!e.target) {\n                    e.target = e.srcElement;\n                }\n\n                // iOS (#2757)\n                ePos = e.touches ? (e.touches.length ? e.touches.item(0) : e.changedTouches[0]) : e;\n\n                // Get mouse position\n                if (!chartPosition) {\n                    this.chartPosition = chartPosition = offset(this.chart.container);\n                }\n\n                // chartX and chartY\n                if (ePos.pageX === undefined) { // IE < 9. #886.\n                    chartX = Math.max(e.x, e.clientX - chartPosition.left); // #2005, #2129: the second case is \n                    // for IE10 quirks mode within framesets\n                    chartY = e.y;\n                } else {\n                    chartX = ePos.pageX - chartPosition.left;\n                    chartY = ePos.pageY - chartPosition.top;\n                }\n\n                return extend(e, {\n                    chartX: Math.round(chartX),\n                    chartY: Math.round(chartY)\n                });\n            },\n\n            /**\n             * Get the click position in terms of axis values.\n             *\n             * @param {Object} e A pointer event\n             */\n            getCoordinates: function(e) {\n                var coordinates = {\n                    xAxis: [],\n                    yAxis: []\n                };\n\n                each(this.chart.axes, function(axis) {\n                    coordinates[axis.isXAxis ? 'xAxis' : 'yAxis'].push({\n                        axis: axis,\n                        value: axis.toValue(e[axis.horiz ? 'chartX' : 'chartY'])\n                    });\n                });\n                return coordinates;\n            },\n            /**\n             * Collects the points closest to a mouseEvent\n             * @param  {Array} series Array of series to gather points from\n             * @param  {Boolean} shared True if shared tooltip, otherwise false\n             * @param  {Object} e Mouse event which possess a position to compare against\n             * @return {Array} KDPoints sorted by distance\n             */\n            getKDPoints: function(series, shared, e) {\n                var kdpoints = [],\n                    noSharedTooltip,\n                    directTouch,\n                    kdpointT,\n                    i;\n\n                // Find nearest points on all series\n                each(series, function(s) {\n                    // Skip hidden series\n                    noSharedTooltip = s.noSharedTooltip && shared;\n                    directTouch = !shared && s.directTouch;\n                    if (s.visible && !directTouch && pick(s.options.enableMouseTracking, true)) { // #3821\n                        // #3828\n                        kdpointT = s.searchPoint(\n                            e, !noSharedTooltip && s.options.findNearestPointBy.indexOf('y') < 0\n                        );\n                        if (kdpointT && kdpointT.series) { // Point.series becomes null when reset and before redraw (#5197)\n                            kdpoints.push(kdpointT);\n                        }\n                    }\n                });\n\n                // Sort kdpoints by distance to mouse pointer\n                kdpoints.sort(function(p1, p2) {\n                    var isCloserX = p1.distX - p2.distX,\n                        isCloser = p1.dist - p2.dist,\n                        isAbove =\n                        (p2.series.group && p2.series.group.zIndex) -\n                        (p1.series.group && p1.series.group.zIndex),\n                        result;\n\n                    // We have two points which are not in the same place on xAxis and shared tooltip:\n                    if (isCloserX !== 0 && shared) { // #5721\n                        result = isCloserX;\n                        // Points are not exactly in the same place on x/yAxis:\n                    } else if (isCloser !== 0) {\n                        result = isCloser;\n                        // The same xAxis and yAxis position, sort by z-index:\n                    } else if (isAbove !== 0) {\n                        result = isAbove;\n                        // The same zIndex, sort by array index:\n                    } else {\n                        result = p1.series.index > p2.series.index ? -1 : 1;\n                    }\n                    return result;\n                });\n\n                // Remove points with different x-positions, required for shared tooltip and crosshairs (#4645):\n                if (shared && kdpoints[0] && !kdpoints[0].series.noSharedTooltip) {\n                    i = kdpoints.length;\n                    while (i--) {\n                        if (kdpoints[i].x !== kdpoints[0].x || kdpoints[i].series.noSharedTooltip) {\n                            kdpoints.splice(i, 1);\n                        }\n                    }\n                }\n                return kdpoints;\n            },\n            getPointFromEvent: function(e) {\n                var target = e.target,\n                    point;\n\n                while (target && !point) {\n                    point = target.point;\n                    target = target.parentNode;\n                }\n                return point;\n            },\n\n            getHoverData: function(existingHoverPoint, existingHoverSeries, series, isDirectTouch, shared, e) {\n                var hoverPoint = existingHoverPoint,\n                    hoverSeries = existingHoverSeries,\n                    searchSeries,\n                    hoverPoints;\n\n                // If it has a hoverPoint and that series requires direct touch (like columns, #3899), or we're on\n                // a noSharedTooltip series among shared tooltip series (#4546), use the hoverPoint . Otherwise,\n                // search the k-d tree.\n                // Handle shared tooltip or cases where a series is not yet hovered\n                if (isDirectTouch) {\n                    if (shared) {\n                        hoverPoints = [];\n                        each(series, function(s) {\n                            // Skip hidden series\n                            var noSharedTooltip = s.noSharedTooltip && shared,\n                                directTouch = !shared && s.directTouch,\n                                kdpointT;\n                            if (s.visible && !noSharedTooltip && !directTouch && pick(s.options.enableMouseTracking, true)) { // #3821\n                                kdpointT = s.searchKDTree({\n                                    clientX: hoverPoint.clientX,\n                                    plotY: hoverPoint.plotY\n                                }, !noSharedTooltip && s.kdDimensions === 1);\n                                if (kdpointT && kdpointT.series) { // Point.series becomes null when reset and before redraw (#5197)\n                                    hoverPoints.push(kdpointT);\n                                }\n                            }\n                        });\n                        // If kdTree is not built\n                        if (hoverPoints.length === 0) {\n                            hoverPoints = [hoverPoint];\n                        }\n                    } else {\n                        hoverPoints = [hoverPoint];\n                    }\n                    // When the hovered series has stickyTracking false.\n                } else if (hoverSeries && !hoverSeries.stickyTracking) {\n                    if (!shared) {\n                        series = [hoverSeries];\n                    }\n                    hoverPoints = this.getKDPoints(series, shared, e);\n                    hoverPoint = H.find(hoverPoints, function(p) {\n                        return p.series === hoverSeries;\n                    });\n                    // When the hoverSeries has stickyTracking or there is no series hovered.\n                } else {\n                    // Avoid series with stickyTracking\n                    searchSeries = H.grep(series, function(s) {\n                        return s.stickyTracking;\n                    });\n                    hoverPoints = this.getKDPoints(searchSeries, shared, e);\n                    hoverPoint = hoverPoints[0];\n                    hoverSeries = hoverPoint && hoverPoint.series;\n                    // If \n                    if (shared) {\n                        hoverPoints = this.getKDPoints(series, shared, e);\n                    }\n                }\n                // Keep the order of series in tooltip\n                // Must be done after assigning of hoverPoint\n                hoverPoints.sort(function(p1, p2) {\n                    return p1.series.index - p2.series.index;\n                });\n\n                return {\n                    hoverPoint: hoverPoint,\n                    hoverSeries: hoverSeries,\n                    hoverPoints: hoverPoints\n                };\n            },\n            /**\n             * With line type charts with a single tracker, get the point closest to the mouse.\n             * Run Point.onMouseOver and display tooltip for the point or points.\n             */\n            runPointActions: function(e, p) {\n                var pointer = this,\n                    chart = pointer.chart,\n                    series = chart.series,\n                    tooltip = chart.tooltip,\n                    shared = tooltip ? tooltip.shared : false,\n                    hoverPoint = p || chart.hoverPoint,\n                    hoverSeries = hoverPoint && hoverPoint.series || chart.hoverSeries,\n                    // onMouseOver or already hovering a series with directTouch\n                    isDirectTouch = !!p || (!shared && hoverSeries && hoverSeries.directTouch),\n                    hoverData = this.getHoverData(hoverPoint, hoverSeries, series, isDirectTouch, shared, e),\n                    useSharedTooltip,\n                    followPointer,\n                    anchor,\n                    points;\n\n                // Update variables from hoverData.\n                hoverPoint = hoverData.hoverPoint;\n                hoverSeries = hoverData.hoverSeries;\n                followPointer = hoverSeries && hoverSeries.tooltipOptions.followPointer;\n                useSharedTooltip = shared && hoverPoint && !hoverPoint.series.noSharedTooltip;\n                points = (useSharedTooltip ?\n                    hoverData.hoverPoints :\n                    (hoverPoint ? [hoverPoint] : [])\n                );\n\n                // Refresh tooltip for kdpoint if new hover point or tooltip was hidden // #3926, #4200\n                if (\n                    hoverPoint &&\n                    // !(hoverSeries && hoverSeries.directTouch) &&\n                    (hoverPoint !== chart.hoverPoint || (tooltip && tooltip.isHidden))\n                ) {\n                    each(chart.hoverPoints || [], function(p) {\n                        if (H.inArray(p, points) === -1) {\n                            p.setState();\n                        }\n                    });\n                    // Do mouseover on all points (#3919, #3985, #4410, #5622)\n                    each(points || [], function(p) {\n                        p.setState('hover');\n                    });\n                    // set normal state to previous series\n                    if (chart.hoverSeries !== hoverSeries) {\n                        hoverSeries.onMouseOver();\n                    }\n\n                    // If tracking is on series in stead of on each point, \n                    // fire mouseOver on hover point. \n                    if (hoverSeries && !hoverSeries.directTouch) { // #4448\n                        if (chart.hoverPoint) {\n                            chart.hoverPoint.firePointEvent('mouseOut');\n                        }\n                        hoverPoint.firePointEvent('mouseOver');\n                    }\n                    chart.hoverPoints = points;\n                    chart.hoverPoint = hoverPoint;\n                    // Draw tooltip if necessary\n                    if (tooltip) {\n                        tooltip.refresh(useSharedTooltip ? points : hoverPoint, e);\n                    }\n                    // Update positions (regardless of kdpoint or hoverPoint)\n                } else if (followPointer && tooltip && !tooltip.isHidden) {\n                    anchor = tooltip.getAnchor([{}], e);\n                    tooltip.updatePosition({\n                        plotX: anchor[0],\n                        plotY: anchor[1]\n                    });\n                }\n\n                // Start the event listener to pick up the tooltip and crosshairs\n                if (!pointer.unDocMouseMove) {\n                    pointer.unDocMouseMove = addEvent(doc, 'mousemove', function(e) {\n                        var chart = charts[H.hoverChartIndex];\n                        if (chart) {\n                            chart.pointer.onDocumentMouseMove(e);\n                        }\n                    });\n                }\n\n                // Draw crosshairs (#4927, #5269 #5066, #5658)\n                each(chart.axes, function drawAxisCrosshair(axis) {\n                    // Snap is true. For each hover point, loop over the axes and draw a\n                    // crosshair if that point belongs to the axis.\n                    // @todo Consider only one crosshair per axis.\n                    if (pick(axis.crosshair.snap, true)) {\n                        each(points, function(p) {\n                            if (p.series[axis.coll] === axis) {\n                                axis.drawCrosshair(e, p);\n                            }\n                        });\n                    } else {\n                        axis.drawCrosshair(e);\n                    }\n                });\n            },\n\n            /**\n             * Reset the tracking by hiding the tooltip, the hover series state and the hover point\n             *\n             * @param allowMove {Boolean} Instead of destroying the tooltip altogether, allow moving it if possible\n             */\n            reset: function(allowMove, delay) {\n                var pointer = this,\n                    chart = pointer.chart,\n                    hoverSeries = chart.hoverSeries,\n                    hoverPoint = chart.hoverPoint,\n                    hoverPoints = chart.hoverPoints,\n                    tooltip = chart.tooltip,\n                    tooltipPoints = tooltip && tooltip.shared ? hoverPoints : hoverPoint;\n\n                // Check if the points have moved outside the plot area (#1003, #4736, #5101)\n                if (allowMove && tooltipPoints) {\n                    each(splat(tooltipPoints), function(point) {\n                        if (point.series.isCartesian && point.plotX === undefined) {\n                            allowMove = false;\n                        }\n                    });\n                }\n\n                // Just move the tooltip, #349\n                if (allowMove) {\n                    if (tooltip && tooltipPoints) {\n                        tooltip.refresh(tooltipPoints);\n                        if (hoverPoint) { // #2500\n                            hoverPoint.setState(hoverPoint.state, true);\n                            each(chart.axes, function(axis) {\n                                if (axis.crosshair) {\n                                    axis.drawCrosshair(null, hoverPoint);\n                                }\n                            });\n                        }\n                    }\n\n                    // Full reset\n                } else {\n\n                    if (hoverPoint) {\n                        hoverPoint.onMouseOut();\n                    }\n\n                    if (hoverPoints) {\n                        each(hoverPoints, function(point) {\n                            point.setState();\n                        });\n                    }\n\n                    if (hoverSeries) {\n                        hoverSeries.onMouseOut();\n                    }\n\n                    if (tooltip) {\n                        tooltip.hide(delay);\n                    }\n\n                    if (pointer.unDocMouseMove) {\n                        pointer.unDocMouseMove = pointer.unDocMouseMove();\n                    }\n\n                    // Remove crosshairs\n                    each(chart.axes, function(axis) {\n                        axis.hideCrosshair();\n                    });\n\n                    pointer.hoverX = chart.hoverPoints = chart.hoverPoint = null;\n                }\n            },\n\n            /**\n             * Scale series groups to a certain scale and translation\n             */\n            scaleGroups: function(attribs, clip) {\n\n                var chart = this.chart,\n                    seriesAttribs;\n\n                // Scale each series\n                each(chart.series, function(series) {\n                    seriesAttribs = attribs || series.getPlotBox(); // #1701\n                    if (series.xAxis && series.xAxis.zoomEnabled && series.group) {\n                        series.group.attr(seriesAttribs);\n                        if (series.markerGroup) {\n                            series.markerGroup.attr(seriesAttribs);\n                            series.markerGroup.clip(clip ? chart.clipRect : null);\n                        }\n                        if (series.dataLabelsGroup) {\n                            series.dataLabelsGroup.attr(seriesAttribs);\n                        }\n                    }\n                });\n\n                // Clip\n                chart.clipRect.attr(clip || chart.clipBox);\n            },\n\n            /**\n             * Start a drag operation\n             */\n            dragStart: function(e) {\n                var chart = this.chart;\n\n                // Record the start position\n                chart.mouseIsDown = e.type;\n                chart.cancelClick = false;\n                chart.mouseDownX = this.mouseDownX = e.chartX;\n                chart.mouseDownY = this.mouseDownY = e.chartY;\n            },\n\n            /**\n             * Perform a drag operation in response to a mousemove event while the mouse is down\n             */\n            drag: function(e) {\n\n                var chart = this.chart,\n                    chartOptions = chart.options.chart,\n                    chartX = e.chartX,\n                    chartY = e.chartY,\n                    zoomHor = this.zoomHor,\n                    zoomVert = this.zoomVert,\n                    plotLeft = chart.plotLeft,\n                    plotTop = chart.plotTop,\n                    plotWidth = chart.plotWidth,\n                    plotHeight = chart.plotHeight,\n                    clickedInside,\n                    size,\n                    selectionMarker = this.selectionMarker,\n                    mouseDownX = this.mouseDownX,\n                    mouseDownY = this.mouseDownY,\n                    panKey = chartOptions.panKey && e[chartOptions.panKey + 'Key'];\n\n                // If the device supports both touch and mouse (like IE11), and we are touch-dragging\n                // inside the plot area, don't handle the mouse event. #4339.\n                if (selectionMarker && selectionMarker.touch) {\n                    return;\n                }\n\n                // If the mouse is outside the plot area, adjust to cooordinates\n                // inside to prevent the selection marker from going outside\n                if (chartX < plotLeft) {\n                    chartX = plotLeft;\n                } else if (chartX > plotLeft + plotWidth) {\n                    chartX = plotLeft + plotWidth;\n                }\n\n                if (chartY < plotTop) {\n                    chartY = plotTop;\n                } else if (chartY > plotTop + plotHeight) {\n                    chartY = plotTop + plotHeight;\n                }\n\n                // determine if the mouse has moved more than 10px\n                this.hasDragged = Math.sqrt(\n                    Math.pow(mouseDownX - chartX, 2) +\n                    Math.pow(mouseDownY - chartY, 2)\n                );\n\n                if (this.hasDragged > 10) {\n                    clickedInside = chart.isInsidePlot(mouseDownX - plotLeft, mouseDownY - plotTop);\n\n                    // make a selection\n                    if (chart.hasCartesianSeries && (this.zoomX || this.zoomY) && clickedInside && !panKey) {\n                        if (!selectionMarker) {\n                            this.selectionMarker = selectionMarker = chart.renderer.rect(\n                                    plotLeft,\n                                    plotTop,\n                                    zoomHor ? 1 : plotWidth,\n                                    zoomVert ? 1 : plotHeight,\n                                    0\n                                )\n                                .attr({\n\n                                    fill: chartOptions.selectionMarkerFill || color('#335cad').setOpacity(0.25).get(),\n\n                                    'class': 'highcharts-selection-marker',\n                                    'zIndex': 7\n                                })\n                                .add();\n                        }\n                    }\n\n                    // adjust the width of the selection marker\n                    if (selectionMarker && zoomHor) {\n                        size = chartX - mouseDownX;\n                        selectionMarker.attr({\n                            width: Math.abs(size),\n                            x: (size > 0 ? 0 : size) + mouseDownX\n                        });\n                    }\n                    // adjust the height of the selection marker\n                    if (selectionMarker && zoomVert) {\n                        size = chartY - mouseDownY;\n                        selectionMarker.attr({\n                            height: Math.abs(size),\n                            y: (size > 0 ? 0 : size) + mouseDownY\n                        });\n                    }\n\n                    // panning\n                    if (clickedInside && !selectionMarker && chartOptions.panning) {\n                        chart.pan(e, chartOptions.panning);\n                    }\n                }\n            },\n\n            /**\n             * On mouse up or touch end across the entire document, drop the selection.\n             */\n            drop: function(e) {\n                var pointer = this,\n                    chart = this.chart,\n                    hasPinched = this.hasPinched;\n\n                if (this.selectionMarker) {\n                    var selectionData = {\n                            originalEvent: e, // #4890\n                            xAxis: [],\n                            yAxis: []\n                        },\n                        selectionBox = this.selectionMarker,\n                        selectionLeft = selectionBox.attr ? selectionBox.attr('x') : selectionBox.x,\n                        selectionTop = selectionBox.attr ? selectionBox.attr('y') : selectionBox.y,\n                        selectionWidth = selectionBox.attr ? selectionBox.attr('width') : selectionBox.width,\n                        selectionHeight = selectionBox.attr ? selectionBox.attr('height') : selectionBox.height,\n                        runZoom;\n\n                    // a selection has been made\n                    if (this.hasDragged || hasPinched) {\n\n                        // record each axis' min and max\n                        each(chart.axes, function(axis) {\n                            if (axis.zoomEnabled && defined(axis.min) && (hasPinched || pointer[{\n                                    xAxis: 'zoomX',\n                                    yAxis: 'zoomY'\n                                }[axis.coll]])) { // #859, #3569\n                                var horiz = axis.horiz,\n                                    minPixelPadding = e.type === 'touchend' ? axis.minPixelPadding : 0, // #1207, #3075\n                                    selectionMin = axis.toValue((horiz ? selectionLeft : selectionTop) + minPixelPadding),\n                                    selectionMax = axis.toValue((horiz ? selectionLeft + selectionWidth : selectionTop + selectionHeight) - minPixelPadding);\n\n                                selectionData[axis.coll].push({\n                                    axis: axis,\n                                    min: Math.min(selectionMin, selectionMax), // for reversed axes\n                                    max: Math.max(selectionMin, selectionMax)\n                                });\n                                runZoom = true;\n                            }\n                        });\n                        if (runZoom) {\n                            fireEvent(chart, 'selection', selectionData, function(args) {\n                                chart.zoom(extend(args, hasPinched ? {\n                                    animation: false\n                                } : null));\n                            });\n                        }\n\n                    }\n                    this.selectionMarker = this.selectionMarker.destroy();\n\n                    // Reset scaling preview\n                    if (hasPinched) {\n                        this.scaleGroups();\n                    }\n                }\n\n                // Reset all\n                if (chart) { // it may be destroyed on mouse up - #877\n                    css(chart.container, {\n                        cursor: chart._cursor\n                    });\n                    chart.cancelClick = this.hasDragged > 10; // #370\n                    chart.mouseIsDown = this.hasDragged = this.hasPinched = false;\n                    this.pinchDown = [];\n                }\n            },\n\n            onContainerMouseDown: function(e) {\n\n                e = this.normalize(e);\n\n                this.zoomOption(e);\n\n                // issue #295, dragging not always working in Firefox\n                if (e.preventDefault) {\n                    e.preventDefault();\n                }\n\n                this.dragStart(e);\n            },\n\n\n\n            onDocumentMouseUp: function(e) {\n                if (charts[H.hoverChartIndex]) {\n                    charts[H.hoverChartIndex].pointer.drop(e);\n                }\n            },\n\n            /**\n             * Special handler for mouse move that will hide the tooltip when the mouse leaves the plotarea.\n             * Issue #149 workaround. The mouseleave event does not always fire.\n             */\n            onDocumentMouseMove: function(e) {\n                var chart = this.chart,\n                    chartPosition = this.chartPosition;\n\n                e = this.normalize(e, chartPosition);\n\n                // If we're outside, hide the tooltip\n                if (chartPosition && !this.inClass(e.target, 'highcharts-tracker') &&\n                    !chart.isInsidePlot(e.chartX - chart.plotLeft, e.chartY - chart.plotTop)) {\n                    this.reset();\n                }\n            },\n\n            /**\n             * When mouse leaves the container, hide the tooltip.\n             */\n            onContainerMouseLeave: function(e) {\n                var chart = charts[H.hoverChartIndex];\n                if (chart && (e.relatedTarget || e.toElement)) { // #4886, MS Touch end fires mouseleave but with no related target\n                    chart.pointer.reset();\n                    chart.pointer.chartPosition = null; // also reset the chart position, used in #149 fix\n                }\n            },\n\n            // The mousemove, touchmove and touchstart event handler\n            onContainerMouseMove: function(e) {\n\n                var chart = this.chart;\n\n                if (!defined(H.hoverChartIndex) || !charts[H.hoverChartIndex] || !charts[H.hoverChartIndex].mouseIsDown) {\n                    H.hoverChartIndex = chart.index;\n                }\n\n                e = this.normalize(e);\n                e.returnValue = false; // #2251, #3224\n\n                if (chart.mouseIsDown === 'mousedown') {\n                    this.drag(e);\n                }\n\n                // Show the tooltip and run mouse over events (#977)\n                if ((this.inClass(e.target, 'highcharts-tracker') ||\n                        chart.isInsidePlot(e.chartX - chart.plotLeft, e.chartY - chart.plotTop)) && !chart.openMenu) {\n                    this.runPointActions(e);\n                }\n            },\n\n            /**\n             * Utility to detect whether an element has, or has a parent with, a specific\n             * class name. Used on detection of tracker objects and on deciding whether\n             * hovering the tooltip should cause the active series to mouse out.\n             */\n            inClass: function(element, className) {\n                var elemClassName;\n                while (element) {\n                    elemClassName = attr(element, 'class');\n                    if (elemClassName) {\n                        if (elemClassName.indexOf(className) !== -1) {\n                            return true;\n                        }\n                        if (elemClassName.indexOf('highcharts-container') !== -1) {\n                            return false;\n                        }\n                    }\n                    element = element.parentNode;\n                }\n            },\n\n            onTrackerMouseOut: function(e) {\n                var series = this.chart.hoverSeries,\n                    relatedTarget = e.relatedTarget || e.toElement;\n\n                if (series && relatedTarget && !series.stickyTracking &&\n                    !this.inClass(relatedTarget, 'highcharts-tooltip') &&\n                    (!this.inClass(relatedTarget, 'highcharts-series-' + series.index) || // #2499, #4465\n                        !this.inClass(relatedTarget, 'highcharts-tracker') // #5553\n                    )\n                ) {\n                    series.onMouseOut();\n                }\n            },\n\n            onContainerClick: function(e) {\n                var chart = this.chart,\n                    hoverPoint = chart.hoverPoint,\n                    plotLeft = chart.plotLeft,\n                    plotTop = chart.plotTop;\n\n                e = this.normalize(e);\n\n                if (!chart.cancelClick) {\n\n                    // On tracker click, fire the series and point events. #783, #1583\n                    if (hoverPoint && this.inClass(e.target, 'highcharts-tracker')) {\n\n                        // the series click event\n                        fireEvent(hoverPoint.series, 'click', extend(e, {\n                            point: hoverPoint\n                        }));\n\n                        // the point click event\n                        if (chart.hoverPoint) { // it may be destroyed (#1844)\n                            hoverPoint.firePointEvent('click', e);\n                        }\n\n                        // When clicking outside a tracker, fire a chart event\n                    } else {\n                        extend(e, this.getCoordinates(e));\n\n                        // fire a click event in the chart\n                        if (chart.isInsidePlot(e.chartX - plotLeft, e.chartY - plotTop)) {\n                            fireEvent(chart, 'click', e);\n                        }\n                    }\n\n\n                }\n            },\n\n            /**\n             * Set the JS DOM events on the container and document. This method should contain\n             * a one-to-one assignment between methods and their handlers. Any advanced logic should\n             * be moved to the handler reflecting the event's name.\n             */\n            setDOMEvents: function() {\n\n                var pointer = this,\n                    container = pointer.chart.container;\n\n                container.onmousedown = function(e) {\n                    pointer.onContainerMouseDown(e);\n                };\n                container.onmousemove = function(e) {\n                    pointer.onContainerMouseMove(e);\n                };\n                container.onclick = function(e) {\n                    pointer.onContainerClick(e);\n                };\n                addEvent(container, 'mouseleave', pointer.onContainerMouseLeave);\n                if (H.chartCount === 1) {\n                    addEvent(doc, 'mouseup', pointer.onDocumentMouseUp);\n                }\n                if (H.hasTouch) {\n                    container.ontouchstart = function(e) {\n                        pointer.onContainerTouchStart(e);\n                    };\n                    container.ontouchmove = function(e) {\n                        pointer.onContainerTouchMove(e);\n                    };\n                    if (H.chartCount === 1) {\n                        addEvent(doc, 'touchend', pointer.onDocumentTouchEnd);\n                    }\n                }\n\n            },\n\n            /**\n             * Destroys the Pointer object and disconnects DOM events.\n             */\n            destroy: function() {\n                var prop;\n\n                if (this.unDocMouseMove) {\n                    this.unDocMouseMove();\n                }\n\n                removeEvent(\n                    this.chart.container,\n                    'mouseleave',\n                    this.onContainerMouseLeave\n                );\n                if (!H.chartCount) {\n                    removeEvent(doc, 'mouseup', this.onDocumentMouseUp);\n                    removeEvent(doc, 'touchend', this.onDocumentTouchEnd);\n                }\n\n                // memory and CPU leak\n                clearInterval(this.tooltipTimeout);\n\n                for (prop in this) {\n                    this[prop] = null;\n                }\n            }\n        };\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var charts = H.charts,\n            each = H.each,\n            extend = H.extend,\n            map = H.map,\n            noop = H.noop,\n            pick = H.pick,\n            Pointer = H.Pointer;\n\n        /* Support for touch devices */\n        extend(Pointer.prototype, /** @lends Pointer.prototype */ {\n\n            /**\n             * Run translation operations\n             */\n            pinchTranslate: function(pinchDown, touches, transform, selectionMarker, clip, lastValidTouch) {\n                if (this.zoomHor) {\n                    this.pinchTranslateDirection(true, pinchDown, touches, transform, selectionMarker, clip, lastValidTouch);\n                }\n                if (this.zoomVert) {\n                    this.pinchTranslateDirection(false, pinchDown, touches, transform, selectionMarker, clip, lastValidTouch);\n                }\n            },\n\n            /**\n             * Run translation operations for each direction (horizontal and vertical) independently\n             */\n            pinchTranslateDirection: function(horiz, pinchDown, touches, transform,\n                selectionMarker, clip, lastValidTouch, forcedScale) {\n                var chart = this.chart,\n                    xy = horiz ? 'x' : 'y',\n                    XY = horiz ? 'X' : 'Y',\n                    sChartXY = 'chart' + XY,\n                    wh = horiz ? 'width' : 'height',\n                    plotLeftTop = chart['plot' + (horiz ? 'Left' : 'Top')],\n                    selectionWH,\n                    selectionXY,\n                    clipXY,\n                    scale = forcedScale || 1,\n                    inverted = chart.inverted,\n                    bounds = chart.bounds[horiz ? 'h' : 'v'],\n                    singleTouch = pinchDown.length === 1,\n                    touch0Start = pinchDown[0][sChartXY],\n                    touch0Now = touches[0][sChartXY],\n                    touch1Start = !singleTouch && pinchDown[1][sChartXY],\n                    touch1Now = !singleTouch && touches[1][sChartXY],\n                    outOfBounds,\n                    transformScale,\n                    scaleKey,\n                    setScale = function() {\n                        // Don't zoom if fingers are too close on this axis\n                        if (!singleTouch && Math.abs(touch0Start - touch1Start) > 20) {\n                            scale = forcedScale || Math.abs(touch0Now - touch1Now) / Math.abs(touch0Start - touch1Start);\n                        }\n\n                        clipXY = ((plotLeftTop - touch0Now) / scale) + touch0Start;\n                        selectionWH = chart['plot' + (horiz ? 'Width' : 'Height')] / scale;\n                    };\n\n                // Set the scale, first pass\n                setScale();\n\n                selectionXY = clipXY; // the clip position (x or y) is altered if out of bounds, the selection position is not\n\n                // Out of bounds\n                if (selectionXY < bounds.min) {\n                    selectionXY = bounds.min;\n                    outOfBounds = true;\n                } else if (selectionXY + selectionWH > bounds.max) {\n                    selectionXY = bounds.max - selectionWH;\n                    outOfBounds = true;\n                }\n\n                // Is the chart dragged off its bounds, determined by dataMin and dataMax?\n                if (outOfBounds) {\n\n                    // Modify the touchNow position in order to create an elastic drag movement. This indicates\n                    // to the user that the chart is responsive but can't be dragged further.\n                    touch0Now -= 0.8 * (touch0Now - lastValidTouch[xy][0]);\n                    if (!singleTouch) {\n                        touch1Now -= 0.8 * (touch1Now - lastValidTouch[xy][1]);\n                    }\n\n                    // Set the scale, second pass to adapt to the modified touchNow positions\n                    setScale();\n\n                } else {\n                    lastValidTouch[xy] = [touch0Now, touch1Now];\n                }\n\n                // Set geometry for clipping, selection and transformation\n                if (!inverted) {\n                    clip[xy] = clipXY - plotLeftTop;\n                    clip[wh] = selectionWH;\n                }\n                scaleKey = inverted ? (horiz ? 'scaleY' : 'scaleX') : 'scale' + XY;\n                transformScale = inverted ? 1 / scale : scale;\n\n                selectionMarker[wh] = selectionWH;\n                selectionMarker[xy] = selectionXY;\n                transform[scaleKey] = scale;\n                transform['translate' + XY] = (transformScale * plotLeftTop) + (touch0Now - (transformScale * touch0Start));\n            },\n\n            /**\n             * Handle touch events with two touches\n             */\n            pinch: function(e) {\n\n                var self = this,\n                    chart = self.chart,\n                    pinchDown = self.pinchDown,\n                    touches = e.touches,\n                    touchesLength = touches.length,\n                    lastValidTouch = self.lastValidTouch,\n                    hasZoom = self.hasZoom,\n                    selectionMarker = self.selectionMarker,\n                    transform = {},\n                    fireClickEvent = touchesLength === 1 && ((self.inClass(e.target, 'highcharts-tracker') &&\n                        chart.runTrackerClick) || self.runChartClick),\n                    clip = {};\n\n                // Don't initiate panning until the user has pinched. This prevents us from\n                // blocking page scrolling as users scroll down a long page (#4210).\n                if (touchesLength > 1) {\n                    self.initiated = true;\n                }\n\n                // On touch devices, only proceed to trigger click if a handler is defined\n                if (hasZoom && self.initiated && !fireClickEvent) {\n                    e.preventDefault();\n                }\n\n                // Normalize each touch\n                map(touches, function(e) {\n                    return self.normalize(e);\n                });\n\n                // Register the touch start position\n                if (e.type === 'touchstart') {\n                    each(touches, function(e, i) {\n                        pinchDown[i] = {\n                            chartX: e.chartX,\n                            chartY: e.chartY\n                        };\n                    });\n                    lastValidTouch.x = [pinchDown[0].chartX, pinchDown[1] && pinchDown[1].chartX];\n                    lastValidTouch.y = [pinchDown[0].chartY, pinchDown[1] && pinchDown[1].chartY];\n\n                    // Identify the data bounds in pixels\n                    each(chart.axes, function(axis) {\n                        if (axis.zoomEnabled) {\n                            var bounds = chart.bounds[axis.horiz ? 'h' : 'v'],\n                                minPixelPadding = axis.minPixelPadding,\n                                min = axis.toPixels(pick(axis.options.min, axis.dataMin)),\n                                max = axis.toPixels(pick(axis.options.max, axis.dataMax)),\n                                absMin = Math.min(min, max),\n                                absMax = Math.max(min, max);\n\n                            // Store the bounds for use in the touchmove handler\n                            bounds.min = Math.min(axis.pos, absMin - minPixelPadding);\n                            bounds.max = Math.max(axis.pos + axis.len, absMax + minPixelPadding);\n                        }\n                    });\n                    self.res = true; // reset on next move\n\n                    // Optionally move the tooltip on touchmove\n                } else if (self.followTouchMove && touchesLength === 1) {\n                    this.runPointActions(self.normalize(e));\n\n                    // Event type is touchmove, handle panning and pinching\n                } else if (pinchDown.length) { // can be 0 when releasing, if touchend fires first\n\n\n                    // Set the marker\n                    if (!selectionMarker) {\n                        self.selectionMarker = selectionMarker = extend({\n                            destroy: noop,\n                            touch: true\n                        }, chart.plotBox);\n                    }\n\n                    self.pinchTranslate(pinchDown, touches, transform, selectionMarker, clip, lastValidTouch);\n\n                    self.hasPinched = hasZoom;\n\n                    // Scale and translate the groups to provide visual feedback during pinching\n                    self.scaleGroups(transform, clip);\n\n                    if (self.res) {\n                        self.res = false;\n                        this.reset(false, 0);\n                    }\n                }\n            },\n\n            /**\n             * General touch handler shared by touchstart and touchmove.\n             */\n            touch: function(e, start) {\n                var chart = this.chart,\n                    hasMoved,\n                    pinchDown,\n                    isInside;\n\n                if (chart.index !== H.hoverChartIndex) {\n                    this.onContainerMouseLeave({\n                        relatedTarget: true\n                    });\n                }\n                H.hoverChartIndex = chart.index;\n\n                if (e.touches.length === 1) {\n\n                    e = this.normalize(e);\n\n                    isInside = chart.isInsidePlot(\n                        e.chartX - chart.plotLeft,\n                        e.chartY - chart.plotTop\n                    );\n                    if (isInside && !chart.openMenu) {\n\n                        // Run mouse events and display tooltip etc\n                        if (start) {\n                            this.runPointActions(e);\n                        }\n\n                        // Android fires touchmove events after the touchstart even if the\n                        // finger hasn't moved, or moved only a pixel or two. In iOS however,\n                        // the touchmove doesn't fire unless the finger moves more than ~4px.\n                        // So we emulate this behaviour in Android by checking how much it\n                        // moved, and cancelling on small distances. #3450.\n                        if (e.type === 'touchmove') {\n                            pinchDown = this.pinchDown;\n                            hasMoved = pinchDown[0] ? Math.sqrt( // #5266\n                                Math.pow(pinchDown[0].chartX - e.chartX, 2) +\n                                Math.pow(pinchDown[0].chartY - e.chartY, 2)\n                            ) >= 4 : false;\n                        }\n\n                        if (pick(hasMoved, true)) {\n                            this.pinch(e);\n                        }\n\n                    } else if (start) {\n                        // Hide the tooltip on touching outside the plot area (#1203)\n                        this.reset();\n                    }\n\n                } else if (e.touches.length === 2) {\n                    this.pinch(e);\n                }\n            },\n\n            onContainerTouchStart: function(e) {\n                this.zoomOption(e);\n                this.touch(e, true);\n            },\n\n            onContainerTouchMove: function(e) {\n                this.touch(e);\n            },\n\n            onDocumentTouchEnd: function(e) {\n                if (charts[H.hoverChartIndex]) {\n                    charts[H.hoverChartIndex].pointer.drop(e);\n                }\n            }\n\n        });\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var addEvent = H.addEvent,\n            charts = H.charts,\n            css = H.css,\n            doc = H.doc,\n            extend = H.extend,\n            noop = H.noop,\n            Pointer = H.Pointer,\n            removeEvent = H.removeEvent,\n            win = H.win,\n            wrap = H.wrap;\n\n        if (win.PointerEvent || win.MSPointerEvent) {\n\n            // The touches object keeps track of the points being touched at all times\n            var touches = {},\n                hasPointerEvent = !!win.PointerEvent,\n                getWebkitTouches = function() {\n                    var key,\n                        fake = [];\n                    fake.item = function(i) {\n                        return this[i];\n                    };\n                    for (key in touches) {\n                        if (touches.hasOwnProperty(key)) {\n                            fake.push({\n                                pageX: touches[key].pageX,\n                                pageY: touches[key].pageY,\n                                target: touches[key].target\n                            });\n                        }\n                    }\n                    return fake;\n                },\n                translateMSPointer = function(e, method, wktype, func) {\n                    var p;\n                    if ((e.pointerType === 'touch' || e.pointerType === e.MSPOINTER_TYPE_TOUCH) && charts[H.hoverChartIndex]) {\n                        func(e);\n                        p = charts[H.hoverChartIndex].pointer;\n                        p[method]({\n                            type: wktype,\n                            target: e.currentTarget,\n                            preventDefault: noop,\n                            touches: getWebkitTouches()\n                        });\n                    }\n                };\n\n            /**\n             * Extend the Pointer prototype with methods for each event handler and more\n             */\n            extend(Pointer.prototype, /** @lends Pointer.prototype */ {\n                onContainerPointerDown: function(e) {\n                    translateMSPointer(e, 'onContainerTouchStart', 'touchstart', function(e) {\n                        touches[e.pointerId] = {\n                            pageX: e.pageX,\n                            pageY: e.pageY,\n                            target: e.currentTarget\n                        };\n                    });\n                },\n                onContainerPointerMove: function(e) {\n                    translateMSPointer(e, 'onContainerTouchMove', 'touchmove', function(e) {\n                        touches[e.pointerId] = {\n                            pageX: e.pageX,\n                            pageY: e.pageY\n                        };\n                        if (!touches[e.pointerId].target) {\n                            touches[e.pointerId].target = e.currentTarget;\n                        }\n                    });\n                },\n                onDocumentPointerUp: function(e) {\n                    translateMSPointer(e, 'onDocumentTouchEnd', 'touchend', function(e) {\n                        delete touches[e.pointerId];\n                    });\n                },\n\n                /**\n                 * Add or remove the MS Pointer specific events\n                 */\n                batchMSEvents: function(fn) {\n                    fn(this.chart.container, hasPointerEvent ? 'pointerdown' : 'MSPointerDown', this.onContainerPointerDown);\n                    fn(this.chart.container, hasPointerEvent ? 'pointermove' : 'MSPointerMove', this.onContainerPointerMove);\n                    fn(doc, hasPointerEvent ? 'pointerup' : 'MSPointerUp', this.onDocumentPointerUp);\n                }\n            });\n\n            // Disable default IE actions for pinch and such on chart element\n            wrap(Pointer.prototype, 'init', function(proceed, chart, options) {\n                proceed.call(this, chart, options);\n                if (this.hasZoom) { // #4014\n                    css(chart.container, {\n                        '-ms-touch-action': 'none',\n                        'touch-action': 'none'\n                    });\n                }\n            });\n\n            // Add IE specific touch events to chart\n            wrap(Pointer.prototype, 'setDOMEvents', function(proceed) {\n                proceed.apply(this);\n                if (this.hasZoom || this.followTouchMove) {\n                    this.batchMSEvents(addEvent);\n                }\n            });\n            // Destroy MS events also\n            wrap(Pointer.prototype, 'destroy', function(proceed) {\n                this.batchMSEvents(removeEvent);\n                proceed.call(this);\n            });\n        }\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var Legend,\n\n            addEvent = H.addEvent,\n            css = H.css,\n            discardElement = H.discardElement,\n            defined = H.defined,\n            each = H.each,\n            isFirefox = H.isFirefox,\n            marginNames = H.marginNames,\n            merge = H.merge,\n            pick = H.pick,\n            setAnimation = H.setAnimation,\n            stableSort = H.stableSort,\n            win = H.win,\n            wrap = H.wrap;\n        /**\n         * The overview of the chart's series.\n         * @class\n         */\n        Legend = H.Legend = function(chart, options) {\n            this.init(chart, options);\n        };\n\n        Legend.prototype = {\n\n            /**\n             * Initialize the legend\n             */\n            init: function(chart, options) {\n\n                this.chart = chart;\n\n                this.setOptions(options);\n\n                if (options.enabled) {\n\n                    // Render it\n                    this.render();\n\n                    // move checkboxes\n                    addEvent(this.chart, 'endResize', function() {\n                        this.legend.positionCheckboxes();\n                    });\n                }\n            },\n\n            setOptions: function(options) {\n\n                var padding = pick(options.padding, 8);\n\n                this.options = options;\n\n\n                this.itemStyle = options.itemStyle;\n                this.itemHiddenStyle = merge(this.itemStyle, options.itemHiddenStyle);\n\n                this.itemMarginTop = options.itemMarginTop || 0;\n                this.padding = padding;\n                this.initialItemY = padding - 5; // 5 is pixels above the text\n                this.maxItemWidth = 0;\n                this.itemHeight = 0;\n                this.symbolWidth = pick(options.symbolWidth, 16);\n                this.pages = [];\n\n            },\n\n            /**\n             * Update the legend with new options. Equivalent to running chart.update\n             * with a legend configuration option.\n             * @param {Object} options Legend options\n             * @param {Boolean} redraw Whether to redraw the chart, defaults to true.\n             */\n            update: function(options, redraw) {\n                var chart = this.chart;\n\n                this.setOptions(merge(true, this.options, options));\n                this.destroy();\n                chart.isDirtyLegend = chart.isDirtyBox = true;\n                if (pick(redraw, true)) {\n                    chart.redraw();\n                }\n            },\n\n            /**\n             * Set the colors for the legend item\n             * @param {Object} item A Series or Point instance\n             * @param {Object} visible Dimmed or colored\n             */\n            colorizeItem: function(item, visible) {\n                item.legendGroup[visible ? 'removeClass' : 'addClass'](\n                    'highcharts-legend-item-hidden'\n                );\n\n\n                var legend = this,\n                    options = legend.options,\n                    legendItem = item.legendItem,\n                    legendLine = item.legendLine,\n                    legendSymbol = item.legendSymbol,\n                    hiddenColor = legend.itemHiddenStyle.color,\n                    textColor = visible ? options.itemStyle.color : hiddenColor,\n                    symbolColor = visible ? (item.color || hiddenColor) : hiddenColor,\n                    markerOptions = item.options && item.options.marker,\n                    symbolAttr = {\n                        fill: symbolColor\n                    },\n                    key;\n\n                if (legendItem) {\n                    legendItem.css({\n                        fill: textColor,\n                        color: textColor // #1553, oldIE\n                    });\n                }\n                if (legendLine) {\n                    legendLine.attr({\n                        stroke: symbolColor\n                    });\n                }\n\n                if (legendSymbol) {\n\n                    // Apply marker options\n                    if (markerOptions && legendSymbol.isMarker) { // #585\n                        //symbolAttr.stroke = symbolColor;\n                        symbolAttr = item.pointAttribs();\n                        if (!visible) {\n                            for (key in symbolAttr) {\n                                symbolAttr[key] = hiddenColor;\n                            }\n                        }\n                    }\n\n                    legendSymbol.attr(symbolAttr);\n                }\n\n            },\n\n            /**\n             * Position the legend item\n             * @param {Object} item A Series or Point instance\n             */\n            positionItem: function(item) {\n                var legend = this,\n                    options = legend.options,\n                    symbolPadding = options.symbolPadding,\n                    ltr = !options.rtl,\n                    legendItemPos = item._legendItemPos,\n                    itemX = legendItemPos[0],\n                    itemY = legendItemPos[1],\n                    checkbox = item.checkbox,\n                    legendGroup = item.legendGroup;\n\n                if (legendGroup && legendGroup.element) {\n                    legendGroup.translate(\n                        ltr ?\n                        itemX :\n                        legend.legendWidth - itemX - 2 * symbolPadding - 4,\n                        itemY\n                    );\n                }\n\n                if (checkbox) {\n                    checkbox.x = itemX;\n                    checkbox.y = itemY;\n                }\n            },\n\n            /**\n             * Destroy a single legend item\n             * @param {Object} item The series or point\n             */\n            destroyItem: function(item) {\n                var checkbox = item.checkbox;\n\n                // destroy SVG elements\n                each(\n                    ['legendItem', 'legendLine', 'legendSymbol', 'legendGroup'],\n                    function(key) {\n                        if (item[key]) {\n                            item[key] = item[key].destroy();\n                        }\n                    }\n                );\n\n                if (checkbox) {\n                    discardElement(item.checkbox);\n                }\n            },\n\n            /**\n             * Destroys the legend.\n             */\n            destroy: function() {\n                function destroyItems(key) {\n                    if (this[key]) {\n                        this[key] = this[key].destroy();\n                    }\n                }\n\n                // Destroy items\n                each(this.getAllItems(), function(item) {\n                    each(['legendItem', 'legendGroup'], destroyItems, item);\n                });\n\n                // Destroy legend elements\n                each([\n                    'clipRect',\n                    'up',\n                    'down',\n                    'pager',\n                    'nav',\n                    'box',\n                    'title',\n                    'group'\n                ], destroyItems, this);\n                this.display = null; // Reset in .render on update.\n            },\n\n            /**\n             * Position the checkboxes after the width is determined\n             */\n            positionCheckboxes: function(scrollOffset) {\n                var alignAttr = this.group && this.group.alignAttr,\n                    translateY,\n                    clipHeight = this.clipHeight || this.legendHeight,\n                    titleHeight = this.titleHeight;\n\n                if (alignAttr) {\n                    translateY = alignAttr.translateY;\n                    each(this.allItems, function(item) {\n                        var checkbox = item.checkbox,\n                            top;\n\n                        if (checkbox) {\n                            top = translateY + titleHeight + checkbox.y +\n                                (scrollOffset || 0) + 3;\n                            css(checkbox, {\n                                left: (alignAttr.translateX + item.checkboxOffset +\n                                    checkbox.x - 20) + 'px',\n                                top: top + 'px',\n                                display: top > translateY - 6 && top < translateY +\n                                    clipHeight - 6 ? '' : 'none'\n                            });\n                        }\n                    });\n                }\n            },\n\n            /**\n             * Render the legend title on top of the legend\n             */\n            renderTitle: function() {\n                var options = this.options,\n                    padding = this.padding,\n                    titleOptions = options.title,\n                    titleHeight = 0,\n                    bBox;\n\n                if (titleOptions.text) {\n                    if (!this.title) {\n                        this.title = this.chart.renderer.label(\n                                titleOptions.text,\n                                padding - 3,\n                                padding - 4,\n                                null,\n                                null,\n                                null,\n                                null,\n                                null,\n                                'legend-title'\n                            )\n                            .attr({\n                                zIndex: 1\n                            })\n\n                            .css(titleOptions.style)\n\n                            .add(this.group);\n                    }\n                    bBox = this.title.getBBox();\n                    titleHeight = bBox.height;\n                    this.offsetWidth = bBox.width; // #1717\n                    this.contentGroup.attr({\n                        translateY: titleHeight\n                    });\n                }\n                this.titleHeight = titleHeight;\n            },\n\n            /**\n             * Set the legend item text\n             */\n            setText: function(item) {\n                var options = this.options;\n                item.legendItem.attr({\n                    text: options.labelFormat ?\n                        H.format(options.labelFormat, item) : options.labelFormatter.call(item)\n                });\n            },\n\n            /**\n             * Render a single specific legend item\n             * @param {Object} item A series or point\n             */\n            renderItem: function(item) {\n                var legend = this,\n                    chart = legend.chart,\n                    renderer = chart.renderer,\n                    options = legend.options,\n                    horizontal = options.layout === 'horizontal',\n                    symbolWidth = legend.symbolWidth,\n                    symbolPadding = options.symbolPadding,\n\n                    itemStyle = legend.itemStyle,\n                    itemHiddenStyle = legend.itemHiddenStyle,\n\n                    padding = legend.padding,\n                    itemDistance = horizontal ? pick(options.itemDistance, 20) : 0,\n                    ltr = !options.rtl,\n                    itemHeight,\n                    widthOption = options.width,\n                    itemMarginBottom = options.itemMarginBottom || 0,\n                    itemMarginTop = legend.itemMarginTop,\n                    bBox,\n                    itemWidth,\n                    li = item.legendItem,\n                    isSeries = !item.series,\n                    series = !isSeries && item.series.drawLegendSymbol ?\n                    item.series :\n                    item,\n                    seriesOptions = series.options,\n                    showCheckbox = legend.createCheckboxForItem &&\n                    seriesOptions &&\n                    seriesOptions.showCheckbox,\n                    useHTML = options.useHTML,\n                    fontSize = 12,\n                    itemClassName = item.options.className;\n\n                if (!li) { // generate it once, later move it\n\n                    // Generate the group box, a group to hold the symbol and text. Text\n                    // is to be appended in Legend class.\n                    item.legendGroup = renderer.g('legend-item')\n                        .addClass(\n                            'highcharts-' + series.type + '-series ' +\n                            'highcharts-color-' + item.colorIndex +\n                            (itemClassName ? ' ' + itemClassName : '') +\n                            (isSeries ? ' highcharts-series-' + item.index : '')\n                        )\n                        .attr({\n                            zIndex: 1\n                        })\n                        .add(legend.scrollGroup);\n\n                    // Generate the list item text and add it to the group\n                    item.legendItem = li = renderer.text(\n                            '',\n                            ltr ? symbolWidth + symbolPadding : -symbolPadding,\n                            legend.baseline || 0,\n                            useHTML\n                        )\n\n                        // merge to prevent modifying original (#1021)\n                        .css(merge(item.visible ? itemStyle : itemHiddenStyle))\n\n                        .attr({\n                            align: ltr ? 'left' : 'right',\n                            zIndex: 2\n                        })\n                        .add(item.legendGroup);\n\n                    // Get the baseline for the first item - the font size is equal for\n                    // all\n                    if (!legend.baseline) {\n\n                        fontSize = itemStyle.fontSize;\n\n                        legend.fontMetrics = renderer.fontMetrics(\n                            fontSize,\n                            li\n                        );\n                        legend.baseline = legend.fontMetrics.f + 3 + itemMarginTop;\n                        li.attr('y', legend.baseline);\n                    }\n\n                    // Draw the legend symbol inside the group box\n                    legend.symbolHeight = options.symbolHeight || legend.fontMetrics.f;\n                    series.drawLegendSymbol(legend, item);\n\n                    if (legend.setItemEvents) {\n                        legend.setItemEvents(item, li, useHTML);\n                    }\n\n                    // add the HTML checkbox on top\n                    if (showCheckbox) {\n                        legend.createCheckboxForItem(item);\n                    }\n                }\n\n                // Colorize the items\n                legend.colorizeItem(item, item.visible);\n\n                // Always update the text\n                legend.setText(item);\n\n                // calculate the positions for the next line\n                bBox = li.getBBox();\n\n                itemWidth = item.checkboxOffset =\n                    options.itemWidth ||\n                    item.legendItemWidth ||\n                    symbolWidth + symbolPadding + bBox.width + itemDistance +\n                    (showCheckbox ? 20 : 0);\n                legend.itemHeight = itemHeight = Math.round(\n                    item.legendItemHeight || bBox.height || legend.symbolHeight\n                );\n\n                // If the item exceeds the width, start a new line\n                if (\n                    horizontal &&\n                    legend.itemX - padding + itemWidth > (\n                        widthOption || (\n                            chart.spacingBox.width - 2 * padding - options.x\n                        )\n                    )\n                ) {\n                    legend.itemX = padding;\n                    legend.itemY += itemMarginTop + legend.lastLineHeight +\n                        itemMarginBottom;\n                    legend.lastLineHeight = 0; // reset for next line (#915, #3976)\n                }\n\n                // If the item exceeds the height, start a new column\n                /*if (!horizontal && legend.itemY + options.y +\n                \t\titemHeight > chart.chartHeight - spacingTop - spacingBottom) {\n                \tlegend.itemY = legend.initialItemY;\n                \tlegend.itemX += legend.maxItemWidth;\n                \tlegend.maxItemWidth = 0;\n                }*/\n\n                // Set the edge positions\n                legend.maxItemWidth = Math.max(legend.maxItemWidth, itemWidth);\n                legend.lastItemY = itemMarginTop + legend.itemY + itemMarginBottom;\n                legend.lastLineHeight = Math.max( // #915\n                    itemHeight,\n                    legend.lastLineHeight\n                );\n\n                // cache the position of the newly generated or reordered items\n                item._legendItemPos = [legend.itemX, legend.itemY];\n\n                // advance\n                if (horizontal) {\n                    legend.itemX += itemWidth;\n\n                } else {\n                    legend.itemY += itemMarginTop + itemHeight + itemMarginBottom;\n                    legend.lastLineHeight = itemHeight;\n                }\n\n                // the width of the widest item\n                legend.offsetWidth = widthOption || Math.max(\n                    (horizontal ? legend.itemX - padding - itemDistance : itemWidth) +\n                    padding,\n                    legend.offsetWidth\n                );\n            },\n\n            /**\n             * Get all items, which is one item per series for normal series and one\n             * item per point for pie series.\n             */\n            getAllItems: function() {\n                var allItems = [];\n                each(this.chart.series, function(series) {\n                    var seriesOptions = series && series.options;\n\n                    // Handle showInLegend. If the series is linked to another series,\n                    // defaults to false.\n                    if (series && pick(\n                            seriesOptions.showInLegend, !defined(seriesOptions.linkedTo) ? undefined : false, true\n                        )) {\n\n                        // Use points or series for the legend item depending on\n                        // legendType\n                        allItems = allItems.concat(\n                            series.legendItems ||\n                            (\n                                seriesOptions.legendType === 'point' ?\n                                series.data :\n                                series\n                            )\n                        );\n                    }\n                });\n                return allItems;\n            },\n\n            /**\n             * Adjust the chart margins by reserving space for the legend on only one\n             * side of the chart. If the position is set to a corner, top or bottom is\n             * reserved for horizontal legends and left or right for vertical ones.\n             */\n            adjustMargins: function(margin, spacing) {\n                var chart = this.chart,\n                    options = this.options,\n                    // Use the first letter of each alignment option in order to detect\n                    // the side. (#4189 - use charAt(x) notation instead of [x] for IE7)\n                    alignment = options.align.charAt(0) +\n                    options.verticalAlign.charAt(0) +\n                    options.layout.charAt(0);\n\n                if (!options.floating) {\n\n                    each([\n                        /(lth|ct|rth)/,\n                        /(rtv|rm|rbv)/,\n                        /(rbh|cb|lbh)/,\n                        /(lbv|lm|ltv)/\n                    ], function(alignments, side) {\n                        if (alignments.test(alignment) && !defined(margin[side])) {\n                            // Now we have detected on which side of the chart we should\n                            // reserve space for the legend\n                            chart[marginNames[side]] = Math.max(\n                                chart[marginNames[side]],\n                                (\n                                    chart.legend[\n                                        (side + 1) % 2 ? 'legendHeight' : 'legendWidth'\n                                    ] + [1, -1, -1, 1][side] * options[\n                                        (side % 2) ? 'x' : 'y'\n                                    ] +\n                                    pick(options.margin, 12) +\n                                    spacing[side]\n                                )\n                            );\n                        }\n                    });\n                }\n            },\n\n            /**\n             * Render the legend. This method can be called both before and after\n             * chart.render. If called after, it will only rearrange items instead\n             * of creating new ones.\n             */\n            render: function() {\n                var legend = this,\n                    chart = legend.chart,\n                    renderer = chart.renderer,\n                    legendGroup = legend.group,\n                    allItems,\n                    display,\n                    legendWidth,\n                    legendHeight,\n                    box = legend.box,\n                    options = legend.options,\n                    padding = legend.padding;\n\n                legend.itemX = padding;\n                legend.itemY = legend.initialItemY;\n                legend.offsetWidth = 0;\n                legend.lastItemY = 0;\n\n                if (!legendGroup) {\n                    legend.group = legendGroup = renderer.g('legend')\n                        .attr({\n                            zIndex: 7\n                        })\n                        .add();\n                    legend.contentGroup = renderer.g()\n                        .attr({\n                            zIndex: 1\n                        }) // above background\n                        .add(legendGroup);\n                    legend.scrollGroup = renderer.g()\n                        .add(legend.contentGroup);\n                }\n\n                legend.renderTitle();\n\n                // add each series or point\n                allItems = legend.getAllItems();\n\n                // sort by legendIndex\n                stableSort(allItems, function(a, b) {\n                    return ((a.options && a.options.legendIndex) || 0) -\n                        ((b.options && b.options.legendIndex) || 0);\n                });\n\n                // reversed legend\n                if (options.reversed) {\n                    allItems.reverse();\n                }\n\n                legend.allItems = allItems;\n                legend.display = display = !!allItems.length;\n\n                // render the items\n                legend.lastLineHeight = 0;\n                each(allItems, function(item) {\n                    legend.renderItem(item);\n                });\n\n                // Get the box\n                legendWidth = (options.width || legend.offsetWidth) + padding;\n                legendHeight = legend.lastItemY + legend.lastLineHeight +\n                    legend.titleHeight;\n                legendHeight = legend.handleOverflow(legendHeight);\n                legendHeight += padding;\n\n                // Draw the border and/or background\n                if (!box) {\n                    legend.box = box = renderer.rect()\n                        .addClass('highcharts-legend-box')\n                        .attr({\n                            r: options.borderRadius\n                        })\n                        .add(legendGroup);\n                    box.isNew = true;\n                }\n\n\n                // Presentational\n                box\n                    .attr({\n                        stroke: options.borderColor,\n                        'stroke-width': options.borderWidth || 0,\n                        fill: options.backgroundColor || 'none'\n                    })\n                    .shadow(options.shadow);\n\n\n                if (legendWidth > 0 && legendHeight > 0) {\n                    box[box.isNew ? 'attr' : 'animate'](\n                        box.crisp({\n                            x: 0,\n                            y: 0,\n                            width: legendWidth,\n                            height: legendHeight\n                        }, box.strokeWidth())\n                    );\n                    box.isNew = false;\n                }\n\n                // hide the border if no items\n                box[display ? 'show' : 'hide']();\n\n\n\n                legend.legendWidth = legendWidth;\n                legend.legendHeight = legendHeight;\n\n                // Now that the legend width and height are established, put the items\n                // in the final position\n                each(allItems, function(item) {\n                    legend.positionItem(item);\n                });\n\n                // 1.x compatibility: positioning based on style\n                /*var props = ['left', 'right', 'top', 'bottom'],\n                \tprop,\n                \ti = 4;\n                while (i--) {\n                \tprop = props[i];\n                \tif (options.style[prop] && options.style[prop] !== 'auto') {\n                \t\toptions[i < 2 ? 'align' : 'verticalAlign'] = prop;\n                \t\toptions[i < 2 ? 'x' : 'y'] = \n                \t\t\tpInt(options.style[prop]) * (i % 2 ? -1 : 1);\n                \t}\n                }*/\n\n                if (display) {\n                    legendGroup.align(merge(options, {\n                        width: legendWidth,\n                        height: legendHeight\n                    }), true, 'spacingBox');\n                }\n\n                if (!chart.isResizing) {\n                    this.positionCheckboxes();\n                }\n            },\n\n            /**\n             * Set up the overflow handling by adding navigation with up and down arrows\n             * below the legend.\n             */\n            handleOverflow: function(legendHeight) {\n                var legend = this,\n                    chart = this.chart,\n                    renderer = chart.renderer,\n                    options = this.options,\n                    optionsY = options.y,\n                    alignTop = options.verticalAlign === 'top',\n                    padding = this.padding,\n                    spaceHeight = chart.spacingBox.height +\n                    (alignTop ? -optionsY : optionsY) - padding,\n                    maxHeight = options.maxHeight,\n                    clipHeight,\n                    clipRect = this.clipRect,\n                    navOptions = options.navigation,\n                    animation = pick(navOptions.animation, true),\n                    arrowSize = navOptions.arrowSize || 12,\n                    nav = this.nav,\n                    pages = this.pages,\n                    lastY,\n                    allItems = this.allItems,\n                    clipToHeight = function(height) {\n                        if (height) {\n                            clipRect.attr({\n                                height: height\n                            });\n                        } else if (clipRect) { // Reset (#5912)\n                            legend.clipRect = clipRect.destroy();\n                            legend.contentGroup.clip();\n                        }\n\n                        // useHTML\n                        if (legend.contentGroup.div) {\n                            legend.contentGroup.div.style.clip = height ?\n                                'rect(' + padding + 'px,9999px,' +\n                                (padding + height) + 'px,0)' :\n                                'auto';\n                        }\n                    };\n\n\n                // Adjust the height\n                if (\n                    options.layout === 'horizontal' &&\n                    options.verticalAlign !== 'middle' &&\n                    !options.floating\n                ) {\n                    spaceHeight /= 2;\n                }\n                if (maxHeight) {\n                    spaceHeight = Math.min(spaceHeight, maxHeight);\n                }\n\n                // Reset the legend height and adjust the clipping rectangle\n                pages.length = 0;\n                if (legendHeight > spaceHeight && navOptions.enabled !== false) {\n\n                    this.clipHeight = clipHeight =\n                        Math.max(spaceHeight - 20 - this.titleHeight - padding, 0);\n                    this.currentPage = pick(this.currentPage, 1);\n                    this.fullHeight = legendHeight;\n\n                    // Fill pages with Y positions so that the top of each a legend item\n                    // defines the scroll top for each page (#2098)\n                    each(allItems, function(item, i) {\n                        var y = item._legendItemPos[1],\n                            h = Math.round(item.legendItem.getBBox().height),\n                            len = pages.length;\n\n                        if (!len || (y - pages[len - 1] > clipHeight &&\n                                (lastY || y) !== pages[len - 1])) {\n                            pages.push(lastY || y);\n                            len++;\n                        }\n\n                        if (i === allItems.length - 1 &&\n                            y + h - pages[len - 1] > clipHeight) {\n                            pages.push(y);\n                        }\n                        if (y !== lastY) {\n                            lastY = y;\n                        }\n                    });\n\n                    // Only apply clipping if needed. Clipping causes blurred legend in\n                    // PDF export (#1787)\n                    if (!clipRect) {\n                        clipRect = legend.clipRect =\n                            renderer.clipRect(0, padding, 9999, 0);\n                        legend.contentGroup.clip(clipRect);\n                    }\n\n                    clipToHeight(clipHeight);\n\n                    // Add navigation elements\n                    if (!nav) {\n                        this.nav = nav = renderer.g()\n                            .attr({\n                                zIndex: 1\n                            })\n                            .add(this.group);\n\n                        this.up = renderer\n                            .symbol(\n                                'triangle',\n                                0,\n                                0,\n                                arrowSize,\n                                arrowSize\n                            )\n                            .on('click', function() {\n                                legend.scroll(-1, animation);\n                            })\n                            .add(nav);\n\n                        this.pager = renderer.text('', 15, 10)\n                            .addClass('highcharts-legend-navigation')\n\n                            .css(navOptions.style)\n\n                            .add(nav);\n\n                        this.down = renderer\n                            .symbol(\n                                'triangle-down',\n                                0,\n                                0,\n                                arrowSize,\n                                arrowSize\n                            )\n                            .on('click', function() {\n                                legend.scroll(1, animation);\n                            })\n                            .add(nav);\n                    }\n\n                    // Set initial position\n                    legend.scroll(0);\n\n                    legendHeight = spaceHeight;\n\n                    // Reset\n                } else if (nav) {\n                    clipToHeight();\n                    this.nav = nav.destroy(); // #6322\n                    this.scrollGroup.attr({\n                        translateY: 1\n                    });\n                    this.clipHeight = 0; // #1379\n                }\n\n                return legendHeight;\n            },\n\n            /**\n             * Scroll the legend by a number of pages\n             * @param {Object} scrollBy\n             * @param {Object} animation\n             */\n            scroll: function(scrollBy, animation) {\n                var pages = this.pages,\n                    pageCount = pages.length,\n                    currentPage = this.currentPage + scrollBy,\n                    clipHeight = this.clipHeight,\n                    navOptions = this.options.navigation,\n                    pager = this.pager,\n                    padding = this.padding,\n                    scrollOffset;\n\n                // When resizing while looking at the last page\n                if (currentPage > pageCount) {\n                    currentPage = pageCount;\n                }\n\n                if (currentPage > 0) {\n\n                    if (animation !== undefined) {\n                        setAnimation(animation, this.chart);\n                    }\n\n                    this.nav.attr({\n                        translateX: padding,\n                        translateY: clipHeight + this.padding + 7 + this.titleHeight,\n                        visibility: 'visible'\n                    });\n                    this.up.attr({\n                        'class': currentPage === 1 ?\n                            'highcharts-legend-nav-inactive' : 'highcharts-legend-nav-active'\n                    });\n                    pager.attr({\n                        text: currentPage + '/' + pageCount\n                    });\n                    this.down.attr({\n                        'x': 18 + this.pager.getBBox().width, // adjust to text width\n                        'class': currentPage === pageCount ?\n                            'highcharts-legend-nav-inactive' : 'highcharts-legend-nav-active'\n                    });\n\n\n                    this.up\n                        .attr({\n                            fill: currentPage === 1 ?\n                                navOptions.inactiveColor : navOptions.activeColor\n                        })\n                        .css({\n                            cursor: currentPage === 1 ? 'default' : 'pointer'\n                        });\n                    this.down\n                        .attr({\n                            fill: currentPage === pageCount ?\n                                navOptions.inactiveColor : navOptions.activeColor\n                        })\n                        .css({\n                            cursor: currentPage === pageCount ? 'default' : 'pointer'\n                        });\n\n\n                    scrollOffset = -pages[currentPage - 1] + this.initialItemY;\n\n                    this.scrollGroup.animate({\n                        translateY: scrollOffset\n                    });\n\n                    this.currentPage = currentPage;\n                    this.positionCheckboxes(scrollOffset);\n                }\n\n            }\n\n        };\n\n        /*\n         * LegendSymbolMixin\n         */\n\n        H.LegendSymbolMixin = {\n\n            /**\n             * Get the series' symbol in the legend\n             *\n             * @param {Object} legend The legend object\n             * @param {Object} item The series (this) or point\n             */\n            drawRectangle: function(legend, item) {\n                var options = legend.options,\n                    symbolHeight = legend.symbolHeight,\n                    square = options.squareSymbol,\n                    symbolWidth = square ? symbolHeight : legend.symbolWidth;\n\n                item.legendSymbol = this.chart.renderer.rect(\n                        square ? (legend.symbolWidth - symbolHeight) / 2 : 0,\n                        legend.baseline - symbolHeight + 1, // #3988\n                        symbolWidth,\n                        symbolHeight,\n                        pick(legend.options.symbolRadius, symbolHeight / 2)\n                    )\n                    .addClass('highcharts-point')\n                    .attr({\n                        zIndex: 3\n                    }).add(item.legendGroup);\n\n            },\n\n            /**\n             * Get the series' symbol in the legend. This method should be overridable\n             * to create custom symbols through\n             * Highcharts.seriesTypes[type].prototype.drawLegendSymbols.\n             *\n             * @param {Object} legend The legend object\n             */\n            drawLineMarker: function(legend) {\n\n                var options = this.options,\n                    markerOptions = options.marker,\n                    radius,\n                    legendSymbol,\n                    symbolWidth = legend.symbolWidth,\n                    symbolHeight = legend.symbolHeight,\n                    generalRadius = symbolHeight / 2,\n                    renderer = this.chart.renderer,\n                    legendItemGroup = this.legendGroup,\n                    verticalCenter = legend.baseline -\n                    Math.round(legend.fontMetrics.b * 0.3),\n                    attr = {};\n\n                // Draw the line\n\n                attr = {\n                    'stroke-width': options.lineWidth || 0\n                };\n                if (options.dashStyle) {\n                    attr.dashstyle = options.dashStyle;\n                }\n\n\n                this.legendLine = renderer.path([\n                        'M',\n                        0,\n                        verticalCenter,\n                        'L',\n                        symbolWidth,\n                        verticalCenter\n                    ])\n                    .addClass('highcharts-graph')\n                    .attr(attr)\n                    .add(legendItemGroup);\n\n                // Draw the marker\n                if (markerOptions && markerOptions.enabled !== false) {\n\n                    // Do not allow the marker to be larger than the symbolHeight\n                    radius = Math.min(\n                        pick(markerOptions.radius, generalRadius),\n                        generalRadius\n                    );\n\n                    // Restrict symbol markers size\n                    if (this.symbol.indexOf('url') === 0) {\n                        markerOptions = merge(markerOptions, {\n                            width: symbolHeight,\n                            height: symbolHeight\n                        });\n                        radius = 0;\n                    }\n\n                    this.legendSymbol = legendSymbol = renderer.symbol(\n                            this.symbol,\n                            (symbolWidth / 2) - radius,\n                            verticalCenter - radius,\n                            2 * radius,\n                            2 * radius,\n                            markerOptions\n                        )\n                        .addClass('highcharts-point')\n                        .add(legendItemGroup);\n                    legendSymbol.isMarker = true;\n                }\n            }\n        };\n\n        // Workaround for #2030, horizontal legend items not displaying in IE11 Preview,\n        // and for #2580, a similar drawing flaw in Firefox 26.\n        // Explore if there's a general cause for this. The problem may be related\n        // to nested group elements, as the legend item texts are within 4 group\n        // elements.\n        if (/Trident\\/7\\.0/.test(win.navigator.userAgent) || isFirefox) {\n            wrap(Legend.prototype, 'positionItem', function(proceed, item) {\n                var legend = this,\n                    // If chart destroyed in sync, this is undefined (#2030)\n                    runPositionItem = function() {\n                        if (item._legendItemPos) {\n                            proceed.call(legend, item);\n                        }\n                    };\n\n                // Do it now, for export and to get checkbox placement\n                runPositionItem();\n\n                // Do it after to work around the core issue\n                setTimeout(runPositionItem);\n            });\n        }\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var addEvent = H.addEvent,\n            animate = H.animate,\n            animObject = H.animObject,\n            attr = H.attr,\n            doc = H.doc,\n            Axis = H.Axis, // @todo add as requirement\n            createElement = H.createElement,\n            defaultOptions = H.defaultOptions,\n            discardElement = H.discardElement,\n            charts = H.charts,\n            css = H.css,\n            defined = H.defined,\n            each = H.each,\n            extend = H.extend,\n            find = H.find,\n            fireEvent = H.fireEvent,\n            getStyle = H.getStyle,\n            grep = H.grep,\n            isNumber = H.isNumber,\n            isObject = H.isObject,\n            isString = H.isString,\n            Legend = H.Legend, // @todo add as requirement\n            marginNames = H.marginNames,\n            merge = H.merge,\n            Pointer = H.Pointer, // @todo add as requirement\n            pick = H.pick,\n            pInt = H.pInt,\n            removeEvent = H.removeEvent,\n            seriesTypes = H.seriesTypes,\n            splat = H.splat,\n            svg = H.svg,\n            syncTimeout = H.syncTimeout,\n            win = H.win,\n            Renderer = H.Renderer;\n        /**\n         * The Chart class.\n         * @class Highcharts.Chart\n         * @memberOf Highcharts\n         * @param {String|HTMLDOMElement} renderTo - The DOM element to render to, or its\n         * id.\n         * @param {ChartOptions} options - The chart options structure.\n         * @param {Function} callback - Function to run when the chart has loaded.\n         */\n        var Chart = H.Chart = function() {\n            this.getArgs.apply(this, arguments);\n        };\n\n        H.chart = function(a, b, c) {\n            return new Chart(a, b, c);\n        };\n\n        Chart.prototype = {\n\n            /**\n             * Hook for modules\n             */\n            callbacks: [],\n\n            /**\n             * Handle the arguments passed to the constructor\n             * @returns {Array} Arguments without renderTo\n             */\n            getArgs: function() {\n                var args = [].slice.call(arguments);\n\n                // Remove the optional first argument, renderTo, and\n                // set it on this.\n                if (isString(args[0]) || args[0].nodeName) {\n                    this.renderTo = args.shift();\n                }\n                this.init(args[0], args[1]);\n            },\n\n            /**\n             * Initialize the chart\n             */\n            init: function(userOptions, callback) {\n\n                // Handle regular options\n                var options,\n                    seriesOptions = userOptions.series; // skip merging data points to increase performance\n\n                userOptions.series = null;\n                options = merge(defaultOptions, userOptions); // do the merge\n                options.series = userOptions.series = seriesOptions; // set back the series data\n                this.userOptions = userOptions;\n\n                var optionsChart = options.chart;\n\n                var chartEvents = optionsChart.events;\n\n                this.margin = [];\n                this.spacing = [];\n\n                //this.runChartClick = chartEvents && !!chartEvents.click;\n                this.bounds = {\n                    h: {},\n                    v: {}\n                }; // Pixel data bounds for touch zoom\n\n                this.callback = callback;\n                this.isResizing = 0;\n                this.options = options;\n                //chartTitleOptions = undefined;\n                //chartSubtitleOptions = undefined;\n\n                this.axes = [];\n                this.series = [];\n                this.hasCartesianSeries = optionsChart.showAxes;\n                //this.axisOffset = undefined;\n                //this.inverted = undefined;\n                //this.loadingShown = undefined;\n                //this.container = undefined;\n                //this.chartWidth = undefined;\n                //this.chartHeight = undefined;\n                //this.marginRight = undefined;\n                //this.marginBottom = undefined;\n                //this.containerWidth = undefined;\n                //this.containerHeight = undefined;\n                //this.oldChartWidth = undefined;\n                //this.oldChartHeight = undefined;\n\n                //this.renderTo = undefined;\n                //this.renderToClone = undefined;\n\n                //this.spacingBox = undefined\n\n                //this.legend = undefined;\n\n                // Elements\n                //this.chartBackground = undefined;\n                //this.plotBackground = undefined;\n                //this.plotBGImage = undefined;\n                //this.plotBorder = undefined;\n                //this.loadingDiv = undefined;\n                //this.loadingSpan = undefined;\n\n                var chart = this,\n                    eventType;\n\n                // Add the chart to the global lookup\n                chart.index = charts.length;\n                charts.push(chart);\n                H.chartCount++;\n\n                // Chart event handlers\n                if (chartEvents) {\n                    for (eventType in chartEvents) {\n                        addEvent(chart, eventType, chartEvents[eventType]);\n                    }\n                }\n\n                chart.xAxis = [];\n                chart.yAxis = [];\n\n                chart.pointCount = chart.colorCounter = chart.symbolCounter = 0;\n\n                chart.firstRender();\n            },\n\n            /**\n             * Initialize an individual series, called internally before render time\n             */\n            initSeries: function(options) {\n                var chart = this,\n                    optionsChart = chart.options.chart,\n                    type = options.type || optionsChart.type || optionsChart.defaultSeriesType,\n                    series,\n                    Constr = seriesTypes[type];\n\n                // No such series type\n                if (!Constr) {\n                    H.error(17, true);\n                }\n\n                series = new Constr();\n                series.init(this, options);\n                return series;\n            },\n\n            /**\n             * Order all series above a given index. When series are added and ordered\n             * by configuration, only the last series is handled (#248, #1123, #2456,\n             * #6112). This function is called on series initialization and destroy.\n             *\n             * @param {number} fromIndex - If this is given, only the series above this\n             *    index are handled.\n             */\n            orderSeries: function(fromIndex) {\n                var series = this.series,\n                    i = fromIndex || 0;\n                for (; i < series.length; i++) {\n                    if (series[i]) {\n                        series[i].index = i;\n                        series[i].name = series[i].name ||\n                            'Series ' + (series[i].index + 1);\n                    }\n                }\n            },\n\n            /**\n             * Check whether a given point is within the plot area\n             *\n             * @param {Number} plotX Pixel x relative to the plot area\n             * @param {Number} plotY Pixel y relative to the plot area\n             * @param {Boolean} inverted Whether the chart is inverted\n             */\n            isInsidePlot: function(plotX, plotY, inverted) {\n                var x = inverted ? plotY : plotX,\n                    y = inverted ? plotX : plotY;\n\n                return x >= 0 &&\n                    x <= this.plotWidth &&\n                    y >= 0 &&\n                    y <= this.plotHeight;\n            },\n\n            /**\n             * Redraw legend, axes or series based on updated data\n             *\n             * @param {Boolean|Object} animation Whether to apply animation, and optionally animation\n             *\tconfiguration\n             */\n            redraw: function(animation) {\n                var chart = this,\n                    axes = chart.axes,\n                    series = chart.series,\n                    pointer = chart.pointer,\n                    legend = chart.legend,\n                    redrawLegend = chart.isDirtyLegend,\n                    hasStackedSeries,\n                    hasDirtyStacks,\n                    hasCartesianSeries = chart.hasCartesianSeries,\n                    isDirtyBox = chart.isDirtyBox,\n                    i,\n                    serie,\n                    renderer = chart.renderer,\n                    isHiddenChart = renderer.isHidden(),\n                    afterRedraw = [];\n\n                // Handle responsive rules, not only on resize (#6130)\n                if (chart.setResponsive) {\n                    chart.setResponsive(false);\n                }\n\n                H.setAnimation(animation, chart);\n\n                if (isHiddenChart) {\n                    chart.cloneRenderTo();\n                }\n\n                // Adjust title layout (reflow multiline text)\n                chart.layOutTitles();\n\n                // link stacked series\n                i = series.length;\n                while (i--) {\n                    serie = series[i];\n\n                    if (serie.options.stacking) {\n                        hasStackedSeries = true;\n\n                        if (serie.isDirty) {\n                            hasDirtyStacks = true;\n                            break;\n                        }\n                    }\n                }\n                if (hasDirtyStacks) { // mark others as dirty\n                    i = series.length;\n                    while (i--) {\n                        serie = series[i];\n                        if (serie.options.stacking) {\n                            serie.isDirty = true;\n                        }\n                    }\n                }\n\n                // Handle updated data in the series\n                each(series, function(serie) {\n                    if (serie.isDirty) {\n                        if (serie.options.legendType === 'point') {\n                            if (serie.updateTotals) {\n                                serie.updateTotals();\n                            }\n                            redrawLegend = true;\n                        }\n                    }\n                    if (serie.isDirtyData) {\n                        fireEvent(serie, 'updatedData');\n                    }\n                });\n\n                // handle added or removed series\n                if (redrawLegend && legend.options.enabled) { // series or pie points are added or removed\n                    // draw legend graphics\n                    legend.render();\n\n                    chart.isDirtyLegend = false;\n                }\n\n                // reset stacks\n                if (hasStackedSeries) {\n                    chart.getStacks();\n                }\n\n\n                if (hasCartesianSeries) {\n                    // set axes scales\n                    each(axes, function(axis) {\n                        axis.updateNames();\n                        axis.setScale();\n                    });\n                }\n\n                chart.getMargins(); // #3098\n\n                if (hasCartesianSeries) {\n                    // If one axis is dirty, all axes must be redrawn (#792, #2169)\n                    each(axes, function(axis) {\n                        if (axis.isDirty) {\n                            isDirtyBox = true;\n                        }\n                    });\n\n                    // redraw axes\n                    each(axes, function(axis) {\n\n                        // Fire 'afterSetExtremes' only if extremes are set\n                        var key = axis.min + ',' + axis.max;\n                        if (axis.extKey !== key) { // #821, #4452\n                            axis.extKey = key;\n                            afterRedraw.push(function() { // prevent a recursive call to chart.redraw() (#1119)\n                                fireEvent(axis, 'afterSetExtremes', extend(axis.eventArgs, axis.getExtremes())); // #747, #751\n                                delete axis.eventArgs;\n                            });\n                        }\n                        if (isDirtyBox || hasStackedSeries) {\n                            axis.redraw();\n                        }\n                    });\n                }\n\n                // the plot areas size has changed\n                if (isDirtyBox) {\n                    chart.drawChartBox();\n                }\n\n                // Fire an event before redrawing series, used by the boost module to\n                // clear previous series renderings.\n                fireEvent(chart, 'predraw');\n\n                // redraw affected series\n                each(series, function(serie) {\n                    if ((isDirtyBox || serie.isDirty) && serie.visible) {\n                        serie.redraw();\n                    }\n                    // Set it here, otherwise we will have unlimited 'updatedData' calls\n                    // for a hidden series after setData(). Fixes #6012\n                    serie.isDirtyData = false;\n                });\n\n                // move tooltip or reset\n                if (pointer) {\n                    pointer.reset(true);\n                }\n\n                // redraw if canvas\n                renderer.draw();\n\n                // Fire the events\n                fireEvent(chart, 'redraw');\n                fireEvent(chart, 'render');\n\n                if (isHiddenChart) {\n                    chart.cloneRenderTo(true);\n                }\n\n                // Fire callbacks that are put on hold until after the redraw\n                each(afterRedraw, function(callback) {\n                    callback.call();\n                });\n            },\n\n            /**\n             * Get an axis, series or point object by id.\n             * @param id {String} The id as given in the configuration options\n             */\n            get: function(id) {\n\n                var ret,\n                    series = this.series,\n                    i;\n\n                function itemById(item) {\n                    return item.id === id || (item.options && item.options.id === id);\n                }\n\n                ret =\n                    // Search axes\n                    find(this.axes, itemById) ||\n\n                    // Search series\n                    find(this.series, itemById);\n\n                // Search points\n                for (i = 0; !ret && i < series.length; i++) {\n                    ret = find(series[i].points || [], itemById);\n                }\n\n                return ret;\n            },\n\n            /**\n             * Create the Axis instances based on the config options\n             */\n            getAxes: function() {\n                var chart = this,\n                    options = this.options,\n                    xAxisOptions = options.xAxis = splat(options.xAxis || {}),\n                    yAxisOptions = options.yAxis = splat(options.yAxis || {}),\n                    optionsArray;\n\n                // make sure the options are arrays and add some members\n                each(xAxisOptions, function(axis, i) {\n                    axis.index = i;\n                    axis.isX = true;\n                });\n\n                each(yAxisOptions, function(axis, i) {\n                    axis.index = i;\n                });\n\n                // concatenate all axis options into one array\n                optionsArray = xAxisOptions.concat(yAxisOptions);\n\n                each(optionsArray, function(axisOptions) {\n                    new Axis(chart, axisOptions); // eslint-disable-line no-new\n                });\n            },\n\n\n            /**\n             * Get the currently selected points from all series\n             */\n            getSelectedPoints: function() {\n                var points = [];\n                each(this.series, function(serie) {\n                    points = points.concat(grep(serie.points || [], function(point) {\n                        return point.selected;\n                    }));\n                });\n                return points;\n            },\n\n            /**\n             * Get the currently selected series\n             */\n            getSelectedSeries: function() {\n                return grep(this.series, function(serie) {\n                    return serie.selected;\n                });\n            },\n\n            /**\n             * Show the title and subtitle of the chart\n             *\n             * @param titleOptions {Object} New title options\n             * @param subtitleOptions {Object} New subtitle options\n             *\n             */\n            setTitle: function(titleOptions, subtitleOptions, redraw) {\n                var chart = this,\n                    options = chart.options,\n                    chartTitleOptions,\n                    chartSubtitleOptions;\n\n                chartTitleOptions = options.title = merge(\n\n                    // Default styles\n                    {\n                        style: {\n                            color: '#333333',\n                            fontSize: options.isStock ? '16px' : '18px' // #2944\n                        }\n                    },\n\n                    options.title,\n                    titleOptions\n                );\n                chartSubtitleOptions = options.subtitle = merge(\n\n                    // Default styles\n                    {\n                        style: {\n                            color: '#666666'\n                        }\n                    },\n\n                    options.subtitle,\n                    subtitleOptions\n                );\n\n                // add title and subtitle\n                each([\n                    ['title', titleOptions, chartTitleOptions],\n                    ['subtitle', subtitleOptions, chartSubtitleOptions]\n                ], function(arr, i) {\n                    var name = arr[0],\n                        title = chart[name],\n                        titleOptions = arr[1],\n                        chartTitleOptions = arr[2];\n\n                    if (title && titleOptions) {\n                        chart[name] = title = title.destroy(); // remove old\n                    }\n\n                    if (chartTitleOptions && chartTitleOptions.text && !title) {\n                        chart[name] = chart.renderer.text(\n                                chartTitleOptions.text,\n                                0,\n                                0,\n                                chartTitleOptions.useHTML\n                            )\n                            .attr({\n                                align: chartTitleOptions.align,\n                                'class': 'highcharts-' + name,\n                                zIndex: chartTitleOptions.zIndex || 4\n                            })\n                            .add();\n\n                        // Update methods, shortcut to Chart.setTitle\n                        chart[name].update = function(o) {\n                            chart.setTitle(!i && o, i && o);\n                        };\n\n\n                        // Presentational\n                        chart[name].css(chartTitleOptions.style);\n\n\n                    }\n                });\n                chart.layOutTitles(redraw);\n            },\n\n            /**\n             * Lay out the chart titles and cache the full offset height for use\n             * in getMargins\n             */\n            layOutTitles: function(redraw) {\n                var titleOffset = 0,\n                    requiresDirtyBox,\n                    renderer = this.renderer,\n                    spacingBox = this.spacingBox;\n\n                // Lay out the title and the subtitle respectively\n                each(['title', 'subtitle'], function(key) {\n                    var title = this[key],\n                        titleOptions = this.options[key],\n                        titleSize;\n\n                    if (title) {\n\n                        titleSize = titleOptions.style.fontSize;\n\n                        titleSize = renderer.fontMetrics(titleSize, title).b;\n\n                        title\n                            .css({\n                                width: (titleOptions.width ||\n                                    spacingBox.width + titleOptions.widthAdjust) + 'px'\n                            })\n                            .align(extend({\n                                y: titleOffset + titleSize + (key === 'title' ? -3 : 2)\n                            }, titleOptions), false, 'spacingBox');\n\n                        if (!titleOptions.floating && !titleOptions.verticalAlign) {\n                            titleOffset = Math.ceil(\n                                titleOffset +\n                                // Skip the cache for HTML (#3481)\n                                title.getBBox(titleOptions.useHTML).height\n                            );\n                        }\n                    }\n                }, this);\n\n                requiresDirtyBox = this.titleOffset !== titleOffset;\n                this.titleOffset = titleOffset; // used in getMargins\n\n                if (!this.isDirtyBox && requiresDirtyBox) {\n                    this.isDirtyBox = requiresDirtyBox;\n                    // Redraw if necessary (#2719, #2744)\n                    if (this.hasRendered && pick(redraw, true) && this.isDirtyBox) {\n                        this.redraw();\n                    }\n                }\n            },\n\n            /**\n             * Get chart width and height according to options and container size\n             */\n            getChartSize: function() {\n                var chart = this,\n                    optionsChart = chart.options.chart,\n                    widthOption = optionsChart.width,\n                    heightOption = optionsChart.height,\n                    renderTo = chart.renderToClone || chart.renderTo;\n\n                // Get inner width and height\n                if (!defined(widthOption)) {\n                    chart.containerWidth = getStyle(renderTo, 'width');\n                }\n                if (!defined(heightOption)) {\n                    chart.containerHeight = getStyle(renderTo, 'height');\n                }\n\n                chart.chartWidth = Math.max( // #1393\n                    0,\n                    widthOption || chart.containerWidth || 600 // #1460\n                );\n                chart.chartHeight = Math.max(\n                    0,\n                    H.relativeLength(\n                        heightOption,\n                        chart.chartWidth\n                    ) || chart.containerHeight || 400\n                );\n            },\n\n            /**\n             * Create a clone of the chart's renderTo div and place it outside the viewport to allow\n             * size computation on chart.render and chart.redraw\n             */\n            cloneRenderTo: function(revert) {\n                var clone = this.renderToClone,\n                    container = this.container;\n\n                // Destroy the clone and bring the container back to the real renderTo div\n                if (revert) {\n                    if (clone) {\n                        while (clone.childNodes.length) { // #5231\n                            this.renderTo.appendChild(clone.firstChild);\n                        }\n                        discardElement(clone);\n                        delete this.renderToClone;\n                    }\n\n                    // Set up the clone\n                } else {\n                    if (container && container.parentNode === this.renderTo) {\n                        this.renderTo.removeChild(container); // do not clone this\n                    }\n                    this.renderToClone = clone = this.renderTo.cloneNode(0);\n                    css(clone, {\n                        position: 'absolute',\n                        top: '-9999px',\n                        display: 'block' // #833\n                    });\n                    if (clone.style.setProperty) { // #2631\n                        clone.style.setProperty('display', 'block', 'important');\n                    }\n                    doc.body.appendChild(clone);\n                    if (container) {\n                        clone.appendChild(container);\n                    }\n                }\n            },\n\n            /**\n             * Setter for the chart class name\n             */\n            setClassName: function(className) {\n                this.container.className = 'highcharts-container ' + (className || '');\n            },\n\n            /**\n             * Get the containing element, determine the size and create the inner container\n             * div to hold the chart\n             */\n            getContainer: function() {\n                var chart = this,\n                    container,\n                    options = chart.options,\n                    optionsChart = options.chart,\n                    chartWidth,\n                    chartHeight,\n                    renderTo = chart.renderTo,\n                    indexAttrName = 'data-highcharts-chart',\n                    oldChartIndex,\n                    Ren,\n                    containerId = H.uniqueKey(),\n                    containerStyle,\n                    key;\n\n                if (!renderTo) {\n                    chart.renderTo = renderTo = optionsChart.renderTo;\n                }\n\n                if (isString(renderTo)) {\n                    chart.renderTo = renderTo = doc.getElementById(renderTo);\n                }\n\n                // Display an error if the renderTo is wrong\n                if (!renderTo) {\n                    H.error(13, true);\n                }\n\n                // If the container already holds a chart, destroy it. The check for hasRendered is there\n                // because web pages that are saved to disk from the browser, will preserve the data-highcharts-chart\n                // attribute and the SVG contents, but not an interactive chart. So in this case,\n                // charts[oldChartIndex] will point to the wrong chart if any (#2609).\n                oldChartIndex = pInt(attr(renderTo, indexAttrName));\n                if (isNumber(oldChartIndex) && charts[oldChartIndex] && charts[oldChartIndex].hasRendered) {\n                    charts[oldChartIndex].destroy();\n                }\n\n                // Make a reference to the chart from the div\n                attr(renderTo, indexAttrName, chart.index);\n\n                // remove previous chart\n                renderTo.innerHTML = '';\n\n                // If the container doesn't have an offsetWidth, it has or is a child of\n                // a node that has display:none. We need to temporarily move it out to a\n                // visible state to determine the size, else the legend and tooltips\n                // won't render properly. The skipClone option is used in sparklines as\n                // a micro optimization, saving about 1-2 ms each chart.\n                if (!optionsChart.skipClone && !renderTo.offsetWidth) {\n                    chart.cloneRenderTo();\n                }\n\n                // get the width and height\n                chart.getChartSize();\n                chartWidth = chart.chartWidth;\n                chartHeight = chart.chartHeight;\n\n                // Create the inner container\n\n                containerStyle = extend({\n                    position: 'relative',\n                    overflow: 'hidden', // needed for context menu (avoid scrollbars) and\n                    // content overflow in IE\n                    width: chartWidth + 'px',\n                    height: chartHeight + 'px',\n                    textAlign: 'left',\n                    lineHeight: 'normal', // #427\n                    zIndex: 0, // #1072\n                    '-webkit-tap-highlight-color': 'rgba(0,0,0,0)'\n                }, optionsChart.style);\n\n                chart.container = container = createElement(\n                    'div', {\n                        id: containerId\n                    },\n                    containerStyle,\n                    chart.renderToClone || renderTo\n                );\n\n                // cache the cursor (#1650)\n                chart._cursor = container.style.cursor;\n\n                // Initialize the renderer\n                Ren = H[optionsChart.renderer] || Renderer;\n                chart.renderer = new Ren(\n                    container,\n                    chartWidth,\n                    chartHeight,\n                    null,\n                    optionsChart.forExport,\n                    options.exporting && options.exporting.allowHTML\n                );\n\n\n                chart.setClassName(optionsChart.className);\n\n                chart.renderer.setStyle(optionsChart.style);\n\n\n                // Add a reference to the charts index\n                chart.renderer.chartIndex = chart.index;\n            },\n\n            /**\n             * Calculate margins by rendering axis labels in a preliminary position. Title,\n             * subtitle and legend have already been rendered at this stage, but will be\n             * moved into their final positions\n             */\n            getMargins: function(skipAxes) {\n                var chart = this,\n                    spacing = chart.spacing,\n                    margin = chart.margin,\n                    titleOffset = chart.titleOffset;\n\n                chart.resetMargins();\n\n                // Adjust for title and subtitle\n                if (titleOffset && !defined(margin[0])) {\n                    chart.plotTop = Math.max(chart.plotTop, titleOffset + chart.options.title.margin + spacing[0]);\n                }\n\n                // Adjust for legend\n                if (chart.legend.display) {\n                    chart.legend.adjustMargins(margin, spacing);\n                }\n\n                // adjust for scroller\n                if (chart.extraMargin) {\n                    chart[chart.extraMargin.type] = (chart[chart.extraMargin.type] || 0) + chart.extraMargin.value;\n                }\n                if (chart.extraTopMargin) {\n                    chart.plotTop += chart.extraTopMargin;\n                }\n                if (!skipAxes) {\n                    this.getAxisMargins();\n                }\n            },\n\n            getAxisMargins: function() {\n\n                var chart = this,\n                    axisOffset = chart.axisOffset = [0, 0, 0, 0], // top, right, bottom, left\n                    margin = chart.margin;\n\n                // pre-render axes to get labels offset width\n                if (chart.hasCartesianSeries) {\n                    each(chart.axes, function(axis) {\n                        if (axis.visible) {\n                            axis.getOffset();\n                        }\n                    });\n                }\n\n                // Add the axis offsets\n                each(marginNames, function(m, side) {\n                    if (!defined(margin[side])) {\n                        chart[m] += axisOffset[side];\n                    }\n                });\n\n                chart.setChartSize();\n\n            },\n\n            /**\n             * Resize the chart to its container if size is not explicitly set\n             */\n            reflow: function(e) {\n                var chart = this,\n                    optionsChart = chart.options.chart,\n                    renderTo = chart.renderTo,\n                    hasUserWidth = defined(optionsChart.width),\n                    width = optionsChart.width || getStyle(renderTo, 'width'),\n                    height = optionsChart.height || getStyle(renderTo, 'height'),\n                    target = e ? e.target : win;\n\n                // Width and height checks for display:none. Target is doc in IE8 and Opera,\n                // win in Firefox, Chrome and IE9.\n                if (!hasUserWidth && !chart.isPrinting && width && height && (target === win || target === doc)) { // #1093\n                    if (width !== chart.containerWidth || height !== chart.containerHeight) {\n                        clearTimeout(chart.reflowTimeout);\n                        // When called from window.resize, e is set, else it's called directly (#2224)\n                        chart.reflowTimeout = syncTimeout(function() {\n                            if (chart.container) { // It may have been destroyed in the meantime (#1257)\n                                chart.setSize(undefined, undefined, false);\n                            }\n                        }, e ? 100 : 0);\n                    }\n                    chart.containerWidth = width;\n                    chart.containerHeight = height;\n                }\n            },\n\n            /**\n             * Add the event handlers necessary for auto resizing\n             */\n            initReflow: function() {\n                var chart = this,\n                    unbind;\n\n                unbind = addEvent(win, 'resize', function(e) {\n                    chart.reflow(e);\n                });\n                addEvent(chart, 'destroy', unbind);\n\n                // The following will add listeners to re-fit the chart before and after\n                // printing (#2284). However it only works in WebKit. Should have worked\n                // in Firefox, but not supported in IE.\n                /*\n                if (win.matchMedia) {\n                \twin.matchMedia('print').addListener(function reflow() {\n                \t\tchart.reflow();\n                \t});\n                }\n                */\n            },\n\n            /**\n             * Resize the chart to a given width and height\n             * @param {Number} width\n             * @param {Number} height\n             * @param {Object|Boolean} animation\n             */\n            setSize: function(width, height, animation) {\n                var chart = this,\n                    renderer = chart.renderer,\n                    globalAnimation;\n\n                // Handle the isResizing counter\n                chart.isResizing += 1;\n\n                // set the animation for the current process\n                H.setAnimation(animation, chart);\n\n                chart.oldChartHeight = chart.chartHeight;\n                chart.oldChartWidth = chart.chartWidth;\n                if (width !== undefined) {\n                    chart.options.chart.width = width;\n                }\n                if (height !== undefined) {\n                    chart.options.chart.height = height;\n                }\n                chart.getChartSize();\n\n                // Resize the container with the global animation applied if enabled (#2503)\n\n                globalAnimation = renderer.globalAnimation;\n                (globalAnimation ? animate : css)(chart.container, {\n                    width: chart.chartWidth + 'px',\n                    height: chart.chartHeight + 'px'\n                }, globalAnimation);\n\n\n                chart.setChartSize(true);\n                renderer.setSize(chart.chartWidth, chart.chartHeight, animation);\n\n                // handle axes\n                each(chart.axes, function(axis) {\n                    axis.isDirty = true;\n                    axis.setScale();\n                });\n\n                chart.isDirtyLegend = true; // force legend redraw\n                chart.isDirtyBox = true; // force redraw of plot and chart border\n\n                chart.layOutTitles(); // #2857\n                chart.getMargins();\n\n                chart.redraw(animation);\n\n\n                chart.oldChartHeight = null;\n                fireEvent(chart, 'resize');\n\n                // Fire endResize and set isResizing back. If animation is disabled, fire without delay\n                syncTimeout(function() {\n                    if (chart) {\n                        fireEvent(chart, 'endResize', null, function() {\n                            chart.isResizing -= 1;\n                        });\n                    }\n                }, animObject(globalAnimation).duration);\n            },\n\n            /**\n             * Set the public chart properties. This is done before and after the pre-render\n             * to determine margin sizes\n             */\n            setChartSize: function(skipAxes) {\n                var chart = this,\n                    inverted = chart.inverted,\n                    renderer = chart.renderer,\n                    chartWidth = chart.chartWidth,\n                    chartHeight = chart.chartHeight,\n                    optionsChart = chart.options.chart,\n                    spacing = chart.spacing,\n                    clipOffset = chart.clipOffset,\n                    clipX,\n                    clipY,\n                    plotLeft,\n                    plotTop,\n                    plotWidth,\n                    plotHeight,\n                    plotBorderWidth;\n\n                chart.plotLeft = plotLeft = Math.round(chart.plotLeft);\n                chart.plotTop = plotTop = Math.round(chart.plotTop);\n                chart.plotWidth = plotWidth = Math.max(0, Math.round(chartWidth - plotLeft - chart.marginRight));\n                chart.plotHeight = plotHeight = Math.max(0, Math.round(chartHeight - plotTop - chart.marginBottom));\n\n                chart.plotSizeX = inverted ? plotHeight : plotWidth;\n                chart.plotSizeY = inverted ? plotWidth : plotHeight;\n\n                chart.plotBorderWidth = optionsChart.plotBorderWidth || 0;\n\n                // Set boxes used for alignment\n                chart.spacingBox = renderer.spacingBox = {\n                    x: spacing[3],\n                    y: spacing[0],\n                    width: chartWidth - spacing[3] - spacing[1],\n                    height: chartHeight - spacing[0] - spacing[2]\n                };\n                chart.plotBox = renderer.plotBox = {\n                    x: plotLeft,\n                    y: plotTop,\n                    width: plotWidth,\n                    height: plotHeight\n                };\n\n                plotBorderWidth = 2 * Math.floor(chart.plotBorderWidth / 2);\n                clipX = Math.ceil(Math.max(plotBorderWidth, clipOffset[3]) / 2);\n                clipY = Math.ceil(Math.max(plotBorderWidth, clipOffset[0]) / 2);\n                chart.clipBox = {\n                    x: clipX,\n                    y: clipY,\n                    width: Math.floor(chart.plotSizeX - Math.max(plotBorderWidth, clipOffset[1]) / 2 - clipX),\n                    height: Math.max(0, Math.floor(chart.plotSizeY - Math.max(plotBorderWidth, clipOffset[2]) / 2 - clipY))\n                };\n\n                if (!skipAxes) {\n                    each(chart.axes, function(axis) {\n                        axis.setAxisSize();\n                        axis.setAxisTranslation();\n                    });\n                }\n            },\n\n            /**\n             * Initial margins before auto size margins are applied\n             */\n            resetMargins: function() {\n                var chart = this,\n                    chartOptions = chart.options.chart;\n\n                // Create margin and spacing array\n                each(['margin', 'spacing'], function splashArrays(target) {\n                    var value = chartOptions[target],\n                        values = isObject(value) ? value : [value, value, value, value];\n\n                    each(['Top', 'Right', 'Bottom', 'Left'], function(sideName, side) {\n                        chart[target][side] = pick(chartOptions[target + sideName], values[side]);\n                    });\n                });\n\n                // Set margin names like chart.plotTop, chart.plotLeft, chart.marginRight, chart.marginBottom.\n                each(marginNames, function(m, side) {\n                    chart[m] = pick(chart.margin[side], chart.spacing[side]);\n                });\n                chart.axisOffset = [0, 0, 0, 0]; // top, right, bottom, left\n                chart.clipOffset = [0, 0, 0, 0];\n            },\n\n            /**\n             * Draw the borders and backgrounds for chart and plot area\n             */\n            drawChartBox: function() {\n                var chart = this,\n                    optionsChart = chart.options.chart,\n                    renderer = chart.renderer,\n                    chartWidth = chart.chartWidth,\n                    chartHeight = chart.chartHeight,\n                    chartBackground = chart.chartBackground,\n                    plotBackground = chart.plotBackground,\n                    plotBorder = chart.plotBorder,\n                    chartBorderWidth,\n\n                    plotBGImage = chart.plotBGImage,\n                    chartBackgroundColor = optionsChart.backgroundColor,\n                    plotBackgroundColor = optionsChart.plotBackgroundColor,\n                    plotBackgroundImage = optionsChart.plotBackgroundImage,\n\n                    mgn,\n                    bgAttr,\n                    plotLeft = chart.plotLeft,\n                    plotTop = chart.plotTop,\n                    plotWidth = chart.plotWidth,\n                    plotHeight = chart.plotHeight,\n                    plotBox = chart.plotBox,\n                    clipRect = chart.clipRect,\n                    clipBox = chart.clipBox,\n                    verb = 'animate';\n\n                // Chart area\n                if (!chartBackground) {\n                    chart.chartBackground = chartBackground = renderer.rect()\n                        .addClass('highcharts-background')\n                        .add();\n                    verb = 'attr';\n                }\n\n\n                // Presentational\n                chartBorderWidth = optionsChart.borderWidth || 0;\n                mgn = chartBorderWidth + (optionsChart.shadow ? 8 : 0);\n\n                bgAttr = {\n                    fill: chartBackgroundColor || 'none'\n                };\n\n                if (chartBorderWidth || chartBackground['stroke-width']) { // #980\n                    bgAttr.stroke = optionsChart.borderColor;\n                    bgAttr['stroke-width'] = chartBorderWidth;\n                }\n                chartBackground\n                    .attr(bgAttr)\n                    .shadow(optionsChart.shadow);\n\n                chartBackground[verb]({\n                    x: mgn / 2,\n                    y: mgn / 2,\n                    width: chartWidth - mgn - chartBorderWidth % 2,\n                    height: chartHeight - mgn - chartBorderWidth % 2,\n                    r: optionsChart.borderRadius\n                });\n\n                // Plot background\n                verb = 'animate';\n                if (!plotBackground) {\n                    verb = 'attr';\n                    chart.plotBackground = plotBackground = renderer.rect()\n                        .addClass('highcharts-plot-background')\n                        .add();\n                }\n                plotBackground[verb](plotBox);\n\n\n                // Presentational attributes for the background\n                plotBackground\n                    .attr({\n                        fill: plotBackgroundColor || 'none'\n                    })\n                    .shadow(optionsChart.plotShadow);\n\n                // Create the background image\n                if (plotBackgroundImage) {\n                    if (!plotBGImage) {\n                        chart.plotBGImage = renderer.image(plotBackgroundImage, plotLeft, plotTop, plotWidth, plotHeight)\n                            .add();\n                    } else {\n                        plotBGImage.animate(plotBox);\n                    }\n                }\n\n\n                // Plot clip\n                if (!clipRect) {\n                    chart.clipRect = renderer.clipRect(clipBox);\n                } else {\n                    clipRect.animate({\n                        width: clipBox.width,\n                        height: clipBox.height\n                    });\n                }\n\n                // Plot area border\n                verb = 'animate';\n                if (!plotBorder) {\n                    verb = 'attr';\n                    chart.plotBorder = plotBorder = renderer.rect()\n                        .addClass('highcharts-plot-border')\n                        .attr({\n                            zIndex: 1 // Above the grid\n                        })\n                        .add();\n                }\n\n\n                // Presentational\n                plotBorder.attr({\n                    stroke: optionsChart.plotBorderColor,\n                    'stroke-width': optionsChart.plotBorderWidth || 0,\n                    fill: 'none'\n                });\n\n\n                plotBorder[verb](plotBorder.crisp({\n                    x: plotLeft,\n                    y: plotTop,\n                    width: plotWidth,\n                    height: plotHeight\n                }, -plotBorder.strokeWidth())); //#3282 plotBorder should be negative;\n\n                // reset\n                chart.isDirtyBox = false;\n            },\n\n            /**\n             * Detect whether a certain chart property is needed based on inspecting its options\n             * and series. This mainly applies to the chart.inverted property, and in extensions to\n             * the chart.angular and chart.polar properties.\n             */\n            propFromSeries: function() {\n                var chart = this,\n                    optionsChart = chart.options.chart,\n                    klass,\n                    seriesOptions = chart.options.series,\n                    i,\n                    value;\n\n\n                each(['inverted', 'angular', 'polar'], function(key) {\n\n                    // The default series type's class\n                    klass = seriesTypes[optionsChart.type || optionsChart.defaultSeriesType];\n\n                    // Get the value from available chart-wide properties\n                    value =\n                        optionsChart[key] || // It is set in the options\n                        (klass && klass.prototype[key]); // The default series class requires it\n\n                    // 4. Check if any the chart's series require it\n                    i = seriesOptions && seriesOptions.length;\n                    while (!value && i--) {\n                        klass = seriesTypes[seriesOptions[i].type];\n                        if (klass && klass.prototype[key]) {\n                            value = true;\n                        }\n                    }\n\n                    // Set the chart property\n                    chart[key] = value;\n                });\n\n            },\n\n            /**\n             * Link two or more series together. This is done initially from Chart.render,\n             * and after Chart.addSeries and Series.remove.\n             */\n            linkSeries: function() {\n                var chart = this,\n                    chartSeries = chart.series;\n\n                // Reset links\n                each(chartSeries, function(series) {\n                    series.linkedSeries.length = 0;\n                });\n\n                // Apply new links\n                each(chartSeries, function(series) {\n                    var linkedTo = series.options.linkedTo;\n                    if (isString(linkedTo)) {\n                        if (linkedTo === ':previous') {\n                            linkedTo = chart.series[series.index - 1];\n                        } else {\n                            linkedTo = chart.get(linkedTo);\n                        }\n                        if (linkedTo && linkedTo.linkedParent !== series) { // #3341 avoid mutual linking\n                            linkedTo.linkedSeries.push(series);\n                            series.linkedParent = linkedTo;\n                            series.visible = pick(series.options.visible, linkedTo.options.visible, series.visible); // #3879\n                        }\n                    }\n                });\n            },\n\n            /**\n             * Render series for the chart\n             */\n            renderSeries: function() {\n                each(this.series, function(serie) {\n                    serie.translate();\n                    serie.render();\n                });\n            },\n\n            /**\n             * Render labels for the chart\n             */\n            renderLabels: function() {\n                var chart = this,\n                    labels = chart.options.labels;\n                if (labels.items) {\n                    each(labels.items, function(label) {\n                        var style = extend(labels.style, label.style),\n                            x = pInt(style.left) + chart.plotLeft,\n                            y = pInt(style.top) + chart.plotTop + 12;\n\n                        // delete to prevent rewriting in IE\n                        delete style.left;\n                        delete style.top;\n\n                        chart.renderer.text(\n                                label.html,\n                                x,\n                                y\n                            )\n                            .attr({\n                                zIndex: 2\n                            })\n                            .css(style)\n                            .add();\n\n                    });\n                }\n            },\n\n            /**\n             * Render all graphics for the chart\n             */\n            render: function() {\n                var chart = this,\n                    axes = chart.axes,\n                    renderer = chart.renderer,\n                    options = chart.options,\n                    tempWidth,\n                    tempHeight,\n                    redoHorizontal,\n                    redoVertical;\n\n                // Title\n                chart.setTitle();\n\n\n                // Legend\n                chart.legend = new Legend(chart, options.legend);\n\n                // Get stacks\n                if (chart.getStacks) {\n                    chart.getStacks();\n                }\n\n                // Get chart margins\n                chart.getMargins(true);\n                chart.setChartSize();\n\n                // Record preliminary dimensions for later comparison\n                tempWidth = chart.plotWidth;\n                tempHeight = chart.plotHeight = chart.plotHeight - 21; // 21 is the most common correction for X axis labels\n\n                // Get margins by pre-rendering axes\n                each(axes, function(axis) {\n                    axis.setScale();\n                });\n                chart.getAxisMargins();\n\n                // If the plot area size has changed significantly, calculate tick positions again\n                redoHorizontal = tempWidth / chart.plotWidth > 1.1;\n                redoVertical = tempHeight / chart.plotHeight > 1.05; // Height is more sensitive\n\n                if (redoHorizontal || redoVertical) {\n\n                    each(axes, function(axis) {\n                        if ((axis.horiz && redoHorizontal) || (!axis.horiz && redoVertical)) {\n                            axis.setTickInterval(true); // update to reflect the new margins\n                        }\n                    });\n                    chart.getMargins(); // second pass to check for new labels\n                }\n\n                // Draw the borders and backgrounds\n                chart.drawChartBox();\n\n\n                // Axes\n                if (chart.hasCartesianSeries) {\n                    each(axes, function(axis) {\n                        if (axis.visible) {\n                            axis.render();\n                        }\n                    });\n                }\n\n                // The series\n                if (!chart.seriesGroup) {\n                    chart.seriesGroup = renderer.g('series-group')\n                        .attr({\n                            zIndex: 3\n                        })\n                        .add();\n                }\n                chart.renderSeries();\n\n                // Labels\n                chart.renderLabels();\n\n                // Credits\n                chart.addCredits();\n\n                // Handle responsiveness\n                if (chart.setResponsive) {\n                    chart.setResponsive();\n                }\n\n                // Set flag\n                chart.hasRendered = true;\n\n            },\n\n            /**\n             * Show chart credits based on config options\n             */\n            addCredits: function(credits) {\n                var chart = this;\n\n                credits = merge(true, this.options.credits, credits);\n                if (credits.enabled && !this.credits) {\n                    this.credits = this.renderer.text(\n                            credits.text + (this.mapCredits || ''),\n                            0,\n                            0\n                        )\n                        .addClass('highcharts-credits')\n                        .on('click', function() {\n                            if (credits.href) {\n                                win.location.href = credits.href;\n                            }\n                        })\n                        .attr({\n                            align: credits.position.align,\n                            zIndex: 8\n                        })\n\n                        .css(credits.style)\n\n                        .add()\n                        .align(credits.position);\n\n                    // Dynamically update\n                    this.credits.update = function(options) {\n                        chart.credits = chart.credits.destroy();\n                        chart.addCredits(options);\n                    };\n                }\n            },\n\n            /**\n             * Clean up memory usage\n             */\n            destroy: function() {\n                var chart = this,\n                    axes = chart.axes,\n                    series = chart.series,\n                    container = chart.container,\n                    i,\n                    parentNode = container && container.parentNode;\n\n                // fire the chart.destoy event\n                fireEvent(chart, 'destroy');\n\n                // Delete the chart from charts lookup array\n                charts[chart.index] = undefined;\n                H.chartCount--;\n                chart.renderTo.removeAttribute('data-highcharts-chart');\n\n                // remove events\n                removeEvent(chart);\n\n                // ==== Destroy collections:\n                // Destroy axes\n                i = axes.length;\n                while (i--) {\n                    axes[i] = axes[i].destroy();\n                }\n\n                // Destroy scroller & scroller series before destroying base series\n                if (this.scroller && this.scroller.destroy) {\n                    this.scroller.destroy();\n                }\n\n                // Destroy each series\n                i = series.length;\n                while (i--) {\n                    series[i] = series[i].destroy();\n                }\n\n                // ==== Destroy chart properties:\n                each([\n                    'title', 'subtitle', 'chartBackground', 'plotBackground',\n                    'plotBGImage', 'plotBorder', 'seriesGroup', 'clipRect', 'credits',\n                    'pointer', 'rangeSelector', 'legend', 'resetZoomButton', 'tooltip',\n                    'renderer'\n                ], function(name) {\n                    var prop = chart[name];\n\n                    if (prop && prop.destroy) {\n                        chart[name] = prop.destroy();\n                    }\n                });\n\n                // remove container and all SVG\n                if (container) { // can break in IE when destroyed before finished loading\n                    container.innerHTML = '';\n                    removeEvent(container);\n                    if (parentNode) {\n                        discardElement(container);\n                    }\n\n                }\n\n                // clean it all up\n                for (i in chart) {\n                    delete chart[i];\n                }\n\n            },\n\n\n            /**\n             * VML namespaces can't be added until after complete. Listening\n             * for Perini's doScroll hack is not enough.\n             */\n            isReadyToRender: function() {\n                var chart = this;\n\n                // Note: win == win.top is required\n                if ((!svg && (win == win.top && doc.readyState !== 'complete'))) { // eslint-disable-line eqeqeq\n                    doc.attachEvent('onreadystatechange', function() {\n                        doc.detachEvent('onreadystatechange', chart.firstRender);\n                        if (doc.readyState === 'complete') {\n                            chart.firstRender();\n                        }\n                    });\n                    return false;\n                }\n                return true;\n            },\n\n            /**\n             * Prepare for first rendering after all data are loaded\n             */\n            firstRender: function() {\n                var chart = this,\n                    options = chart.options;\n\n                // Check whether the chart is ready to render\n                if (!chart.isReadyToRender()) {\n                    return;\n                }\n\n                // Create the container\n                chart.getContainer();\n\n                // Run an early event after the container and renderer are established\n                fireEvent(chart, 'init');\n\n\n                chart.resetMargins();\n                chart.setChartSize();\n\n                // Set the common chart properties (mainly invert) from the given series\n                chart.propFromSeries();\n\n                // get axes\n                chart.getAxes();\n\n                // Initialize the series\n                each(options.series || [], function(serieOptions) {\n                    chart.initSeries(serieOptions);\n                });\n\n                chart.linkSeries();\n\n                // Run an event after axes and series are initialized, but before render. At this stage,\n                // the series data is indexed and cached in the xData and yData arrays, so we can access\n                // those before rendering. Used in Highstock.\n                fireEvent(chart, 'beforeRender');\n\n                // depends on inverted and on margins being set\n                if (Pointer) {\n                    chart.pointer = new Pointer(chart, options);\n                }\n\n                chart.render();\n\n                // Fire the load event if there are no external images\n                if (!chart.renderer.imgCount && chart.onload) {\n                    chart.onload();\n                }\n\n                // If the chart was rendered outside the top container, put it back in (#3679)\n                chart.cloneRenderTo(true);\n\n            },\n\n            /** \n             * On chart load\n             */\n            onload: function() {\n\n                // Run callbacks\n                each([this.callback].concat(this.callbacks), function(fn) {\n                    if (fn && this.index !== undefined) { // Chart destroyed in its own callback (#3600)\n                        fn.apply(this, [this]);\n                    }\n                }, this);\n\n                fireEvent(this, 'load');\n                fireEvent(this, 'render');\n\n\n                // Set up auto resize, check for not destroyed (#6068)\n                if (defined(this.index) && this.options.chart.reflow !== false) {\n                    this.initReflow();\n                }\n\n                // Don't run again\n                this.onload = null;\n            }\n\n        }; // end Chart\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var Point,\n\n            each = H.each,\n            extend = H.extend,\n            erase = H.erase,\n            fireEvent = H.fireEvent,\n            format = H.format,\n            isArray = H.isArray,\n            isNumber = H.isNumber,\n            pick = H.pick,\n            removeEvent = H.removeEvent;\n\n        /**\n         * The Point object. The point objects are generated from the series.data \n         * configuration objects or raw numbers. They can be accessed from the\n         * Series.points array.\n         * @constructor Point\n         */\n        Point = H.Point = function() {};\n        Point.prototype = {\n\n            /**\n             * Initialize the point. Called internally based on the series.data option.\n             * @function #init\n             * @memberOf Point\n             * @param {Object} series The series object containing this point.\n             * @param {Object} options The data in either number, array or object\n             *        format.\n             * @param {Number} x Optionally, the X value of the.\n             * @returns {Object} The Point instance.\n             */\n            init: function(series, options, x) {\n\n                var point = this,\n                    colors,\n                    colorCount = series.chart.options.chart.colorCount,\n                    colorIndex;\n\n                point.series = series;\n\n                point.color = series.color; // #3445\n\n                point.applyOptions(options, x);\n\n                if (series.options.colorByPoint) {\n\n                    colors = series.options.colors || series.chart.options.colors;\n                    point.color = point.color || colors[series.colorCounter];\n                    colorCount = colors.length;\n\n                    colorIndex = series.colorCounter;\n                    series.colorCounter++;\n                    // loop back to zero\n                    if (series.colorCounter === colorCount) {\n                        series.colorCounter = 0;\n                    }\n                } else {\n                    colorIndex = series.colorIndex;\n                }\n                point.colorIndex = pick(point.colorIndex, colorIndex);\n\n                series.chart.pointCount++;\n                return point;\n            },\n            /**\n             * Apply the options containing the x and y data and possible some extra\n             * properties. Called on point init or from point.update.\n             *\n             * @function #applyOptions\n             * @memberOf Point\n             * @param {Object} options The point options as defined in series.data.\n             * @param {Number} x Optionally, the X value.\n             * @returns {Object} The Point instance.\n             */\n            applyOptions: function(options, x) {\n                var point = this,\n                    series = point.series,\n                    pointValKey = series.options.pointValKey || series.pointValKey;\n\n                options = Point.prototype.optionsToObject.call(this, options);\n\n                // copy options directly to point\n                extend(point, options);\n                point.options = point.options ? extend(point.options, options) : options;\n\n                // Since options are copied into the Point instance, some accidental options must be shielded (#5681)\n                if (options.group) {\n                    delete point.group;\n                }\n\n                // For higher dimension series types. For instance, for ranges, point.y is mapped to point.low.\n                if (pointValKey) {\n                    point.y = point[pointValKey];\n                }\n                point.isNull = pick(\n                    point.isValid && !point.isValid(),\n                    point.x === null || !isNumber(point.y, true)\n                ); // #3571, check for NaN\n\n                // The point is initially selected by options (#5777)\n                if (point.selected) {\n                    point.state = 'select';\n                }\n\n                // If no x is set by now, get auto incremented value. All points must have an\n                // x value, however the y value can be null to create a gap in the series\n                if ('name' in point && x === undefined && series.xAxis && series.xAxis.hasNames) {\n                    point.x = series.xAxis.nameToX(point);\n                }\n                if (point.x === undefined && series) {\n                    if (x === undefined) {\n                        point.x = series.autoIncrement(point);\n                    } else {\n                        point.x = x;\n                    }\n                }\n\n                return point;\n            },\n\n            /**\n             * Transform number or array configs into objects\n             */\n            optionsToObject: function(options) {\n                var ret = {},\n                    series = this.series,\n                    keys = series.options.keys,\n                    pointArrayMap = keys || series.pointArrayMap || ['y'],\n                    valueCount = pointArrayMap.length,\n                    firstItemType,\n                    i = 0,\n                    j = 0;\n\n                if (isNumber(options) || options === null) {\n                    ret[pointArrayMap[0]] = options;\n\n                } else if (isArray(options)) {\n                    // with leading x value\n                    if (!keys && options.length > valueCount) {\n                        firstItemType = typeof options[0];\n                        if (firstItemType === 'string') {\n                            ret.name = options[0];\n                        } else if (firstItemType === 'number') {\n                            ret.x = options[0];\n                        }\n                        i++;\n                    }\n                    while (j < valueCount) {\n                        if (!keys || options[i] !== undefined) { // Skip undefined positions for keys\n                            ret[pointArrayMap[j]] = options[i];\n                        }\n                        i++;\n                        j++;\n                    }\n                } else if (typeof options === 'object') {\n                    ret = options;\n\n                    // This is the fastest way to detect if there are individual point dataLabels that need\n                    // to be considered in drawDataLabels. These can only occur in object configs.\n                    if (options.dataLabels) {\n                        series._hasPointLabels = true;\n                    }\n\n                    // Same approach as above for markers\n                    if (options.marker) {\n                        series._hasPointMarkers = true;\n                    }\n                }\n                return ret;\n            },\n\n            /**\n             * Get the CSS class names for individual points\n             * @returns {String} The class name\n             */\n            getClassName: function() {\n                return 'highcharts-point' +\n                    (this.selected ? ' highcharts-point-select' : '') +\n                    (this.negative ? ' highcharts-negative' : '') +\n                    (this.isNull ? ' highcharts-null-point' : '') +\n                    (this.colorIndex !== undefined ? ' highcharts-color-' +\n                        this.colorIndex : '') +\n                    (this.options.className ? ' ' + this.options.className : '') +\n                    (this.zone && this.zone.className ? ' ' +\n                        this.zone.className.replace('highcharts-negative', '') : '');\n            },\n\n            /**\n             * Return the zone that the point belongs to\n             */\n            getZone: function() {\n                var series = this.series,\n                    zones = series.zones,\n                    zoneAxis = series.zoneAxis || 'y',\n                    i = 0,\n                    zone;\n\n                zone = zones[i];\n                while (this[zoneAxis] >= zone.value) {\n                    zone = zones[++i];\n                }\n\n                if (zone && zone.color && !this.options.color) {\n                    this.color = zone.color;\n                }\n\n                return zone;\n            },\n\n            /**\n             * Destroy a point to clear memory. Its reference still stays in series.data.\n             */\n            destroy: function() {\n                var point = this,\n                    series = point.series,\n                    chart = series.chart,\n                    hoverPoints = chart.hoverPoints,\n                    prop;\n\n                chart.pointCount--;\n\n                if (hoverPoints) {\n                    point.setState();\n                    erase(hoverPoints, point);\n                    if (!hoverPoints.length) {\n                        chart.hoverPoints = null;\n                    }\n\n                }\n                if (point === chart.hoverPoint) {\n                    point.onMouseOut();\n                }\n\n                // remove all events\n                if (point.graphic || point.dataLabel) { // removeEvent and destroyElements are performance expensive\n                    removeEvent(point);\n                    point.destroyElements();\n                }\n\n                if (point.legendItem) { // pies have legend items\n                    chart.legend.destroyItem(point);\n                }\n\n                for (prop in point) {\n                    point[prop] = null;\n                }\n\n\n            },\n\n            /**\n             * Destroy SVG elements associated with the point\n             */\n            destroyElements: function() {\n                var point = this,\n                    props = ['graphic', 'dataLabel', 'dataLabelUpper', 'connector', 'shadowGroup'],\n                    prop,\n                    i = 6;\n                while (i--) {\n                    prop = props[i];\n                    if (point[prop]) {\n                        point[prop] = point[prop].destroy();\n                    }\n                }\n            },\n\n            /**\n             * Return the configuration hash needed for the data label and tooltip formatters\n             */\n            getLabelConfig: function() {\n                return {\n                    x: this.category,\n                    y: this.y,\n                    color: this.color,\n                    colorIndex: this.colorIndex,\n                    key: this.name || this.category,\n                    series: this.series,\n                    point: this,\n                    percentage: this.percentage,\n                    total: this.total || this.stackTotal\n                };\n            },\n\n            /**\n             * Extendable method for formatting each point's tooltip line\n             *\n             * @return {String} A string to be concatenated in to the common tooltip text\n             */\n            tooltipFormatter: function(pointFormat) {\n\n                // Insert options for valueDecimals, valuePrefix, and valueSuffix\n                var series = this.series,\n                    seriesTooltipOptions = series.tooltipOptions,\n                    valueDecimals = pick(seriesTooltipOptions.valueDecimals, ''),\n                    valuePrefix = seriesTooltipOptions.valuePrefix || '',\n                    valueSuffix = seriesTooltipOptions.valueSuffix || '';\n\n                // Loop over the point array map and replace unformatted values with sprintf formatting markup\n                each(series.pointArrayMap || ['y'], function(key) {\n                    key = '{point.' + key; // without the closing bracket\n                    if (valuePrefix || valueSuffix) {\n                        pointFormat = pointFormat.replace(key + '}', valuePrefix + key + '}' + valueSuffix);\n                    }\n                    pointFormat = pointFormat.replace(key + '}', key + ':,.' + valueDecimals + 'f}');\n                });\n\n                return format(pointFormat, {\n                    point: this,\n                    series: this.series\n                });\n            },\n\n            /**\n             * Fire an event on the Point object.\n             * @param {String} eventType\n             * @param {Object} eventArgs Additional event arguments\n             * @param {Function} defaultFunction Default event handler\n             */\n            firePointEvent: function(eventType, eventArgs, defaultFunction) {\n                var point = this,\n                    series = this.series,\n                    seriesOptions = series.options;\n\n                // load event handlers on demand to save time on mouseover/out\n                if (seriesOptions.point.events[eventType] || (point.options && point.options.events && point.options.events[eventType])) {\n                    this.importEvents();\n                }\n\n                // add default handler if in selection mode\n                if (eventType === 'click' && seriesOptions.allowPointSelect) {\n                    defaultFunction = function(event) {\n                        // Control key is for Windows, meta (= Cmd key) for Mac, Shift for Opera\n                        if (point.select) { // Could be destroyed by prior event handlers (#2911)\n                            point.select(null, event.ctrlKey || event.metaKey || event.shiftKey);\n                        }\n                    };\n                }\n\n                fireEvent(this, eventType, eventArgs, defaultFunction);\n            },\n            visible: true\n        };\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var addEvent = H.addEvent,\n            animObject = H.animObject,\n            arrayMax = H.arrayMax,\n            arrayMin = H.arrayMin,\n            correctFloat = H.correctFloat,\n            Date = H.Date,\n            defaultOptions = H.defaultOptions,\n            defaultPlotOptions = H.defaultPlotOptions,\n            defined = H.defined,\n            each = H.each,\n            erase = H.erase,\n            extend = H.extend,\n            fireEvent = H.fireEvent,\n            grep = H.grep,\n            isArray = H.isArray,\n            isNumber = H.isNumber,\n            isString = H.isString,\n            LegendSymbolMixin = H.LegendSymbolMixin, // @todo add as a requirement\n            merge = H.merge,\n            pick = H.pick,\n            Point = H.Point, // @todo  add as a requirement\n            removeEvent = H.removeEvent,\n            splat = H.splat,\n            SVGElement = H.SVGElement,\n            syncTimeout = H.syncTimeout,\n            win = H.win;\n\n        /**\n         * The base function which all other series types inherit from. The data in the series is stored\n         * in various arrays.\n         *\n         * - First, series.options.data contains all the original config options for\n         * each point whether added by options or methods like series.addPoint.\n         * - Next, series.data contains those values converted to points, but in case the series data length\n         * exceeds the cropThreshold, or if the data is grouped, series.data doesn't contain all the points. It\n         * only contains the points that have been created on demand.\n         * - Then there's series.points that contains all currently visible point objects. In case of cropping,\n         * the cropped-away points are not part of this array. The series.points array starts at series.cropStart\n         * compared to series.data and series.options.data. If however the series data is grouped, these can't\n         * be correlated one to one.\n         * - series.xData and series.processedXData contain clean x values, equivalent to series.data and series.points.\n         * - series.yData and series.processedYData contain clean y values, equivalent to series.data and series.points.\n         *\n         * @constructor Series\n         * @param {Object} chart - The chart instance.\n         * @param {Object} options - The series options.\n         */\n        H.Series = H.seriesType('line', null, { // base series options\n\n            //cursor: 'default',\n            //dashStyle: null,\n            //linecap: 'round',\n            lineWidth: 2,\n            //shadow: false,\n\n            allowPointSelect: false,\n            showCheckbox: false,\n            animation: {\n                duration: 1000\n            },\n            //clip: true,\n            //connectNulls: false,\n            //enableMouseTracking: true,\n            events: {},\n            //legendIndex: 0,\n            // stacking: null,\n            marker: {\n\n                lineWidth: 0,\n                lineColor: '#ffffff',\n                //fillColor: null,\n\n                //enabled: true,\n                //symbol: null,\n                radius: 4,\n                states: { // states for a single point\n                    hover: {\n                        animation: {\n                            duration: 50\n                        },\n                        enabled: true,\n                        radiusPlus: 2,\n\n                        lineWidthPlus: 1\n\n                    },\n\n                    select: {\n                        fillColor: '#cccccc',\n                        lineColor: '#000000',\n                        lineWidth: 2\n                    }\n\n                }\n            },\n            point: {\n                events: {}\n            },\n            dataLabels: {\n                align: 'center',\n                // defer: true,\n                // enabled: false,\n                formatter: function() {\n                    return this.y === null ? '' : H.numberFormat(this.y, -1);\n                },\n\n                style: {\n                    fontSize: '11px',\n                    fontWeight: 'bold',\n                    color: 'contrast',\n                    textOutline: '1px contrast'\n                },\n                // backgroundColor: undefined,\n                // borderColor: undefined,\n                // borderWidth: undefined,\n                // shadow: false\n\n                verticalAlign: 'bottom', // above singular point\n                x: 0,\n                y: 0,\n                // borderRadius: undefined,\n                padding: 5\n            },\n            cropThreshold: 300, // draw points outside the plot area when the number of points is less than this\n            pointRange: 0,\n            //pointStart: 0,\n            //pointInterval: 1,\n            //showInLegend: null, // auto: true for standalone series, false for linked series\n            softThreshold: true,\n            states: { // states for the entire series\n                hover: {\n                    //enabled: false,\n                    animation: {\n                        duration: 50\n                    },\n                    lineWidthPlus: 1,\n                    marker: {\n                        // lineWidth: base + 1,\n                        // radius: base + 1\n                    },\n                    halo: {\n                        size: 10,\n\n                        opacity: 0.25\n\n                    }\n                },\n                select: {\n                    marker: {}\n                }\n            },\n            stickyTracking: true,\n            //tooltip: {\n            //pointFormat: '<span style=\"color:{point.color}\">\\u25CF</span> {series.name}: <b>{point.y}</b>'\n            //valueDecimals: null,\n            //xDateFormat: '%A, %b %e, %Y',\n            //valuePrefix: '',\n            //ySuffix: ''\n            //}\n            turboThreshold: 1000,\n            // zIndex: null\n            findNearestPointBy: 'x'\n\n        }, /** @lends Series.prototype */ {\n            isCartesian: true,\n            pointClass: Point,\n            sorted: true, // requires the data to be sorted\n            requireSorting: true,\n            directTouch: false,\n            axisTypes: ['xAxis', 'yAxis'],\n            colorCounter: 0,\n            parallelArrays: ['x', 'y'], // each point's x and y values are stored in this.xData and this.yData\n            coll: 'series',\n            init: function(chart, options) {\n                var series = this,\n                    eventType,\n                    events,\n                    chartSeries = chart.series,\n                    lastSeries;\n\n                series.chart = chart;\n                series.options = options = series.setOptions(options); // merge with plotOptions\n                series.linkedSeries = [];\n\n                // bind the axes\n                series.bindAxes();\n\n                // set some variables\n                extend(series, {\n                    name: options.name,\n                    state: '',\n                    visible: options.visible !== false, // true by default\n                    selected: options.selected === true // false by default\n                });\n\n                // register event listeners\n                events = options.events;\n                for (eventType in events) {\n                    addEvent(series, eventType, events[eventType]);\n                }\n                if (\n                    (events && events.click) ||\n                    (options.point && options.point.events && options.point.events.click) ||\n                    options.allowPointSelect\n                ) {\n                    chart.runTrackerClick = true;\n                }\n\n                series.getColor();\n                series.getSymbol();\n\n                // Set the data\n                each(series.parallelArrays, function(key) {\n                    series[key + 'Data'] = [];\n                });\n                series.setData(options.data, false);\n\n                // Mark cartesian\n                if (series.isCartesian) {\n                    chart.hasCartesianSeries = true;\n                }\n\n                // Get the index and register the series in the chart. The index is one\n                // more than the current latest series index (#5960).\n                if (chartSeries.length) {\n                    lastSeries = chartSeries[chartSeries.length - 1];\n                }\n                series._i = pick(lastSeries && lastSeries._i, -1) + 1;\n\n                // Insert the series and re-order all series above the insertion point.\n                chart.orderSeries(this.insert(chartSeries));\n            },\n\n            /**\n             * Insert the series in a collection with other series, either the chart\n             * series or yAxis series, in the correct order according to the index \n             * option.\n             * @param  {Array} collection A collection of series.\n             * @returns {Number} The index of the series in the collection.\n             */\n            insert: function(collection) {\n                var indexOption = this.options.index,\n                    i;\n\n                // Insert by index option\n                if (isNumber(indexOption)) {\n                    i = collection.length;\n                    while (i--) {\n                        // Loop down until the interted element has higher index\n                        if (indexOption >=\n                            pick(collection[i].options.index, collection[i]._i)) {\n                            collection.splice(i + 1, 0, this);\n                            break;\n                        }\n                    }\n                    if (i === -1) {\n                        collection.unshift(this);\n                    }\n                    i = i + 1;\n\n                    // Or just push it to the end\n                } else {\n                    collection.push(this);\n                }\n                return pick(i, collection.length - 1);\n            },\n\n            /**\n             * Set the xAxis and yAxis properties of cartesian series, and register the\n             * series in the `axis.series` array.\n             *\n             * @function #bindAxes\n             * @memberOf Series\n             * @returns {void}\n             */\n            bindAxes: function() {\n                var series = this,\n                    seriesOptions = series.options,\n                    chart = series.chart,\n                    axisOptions;\n\n                each(series.axisTypes || [], function(AXIS) { // repeat for xAxis and yAxis\n\n                    each(chart[AXIS], function(axis) { // loop through the chart's axis objects\n                        axisOptions = axis.options;\n\n                        // apply if the series xAxis or yAxis option mathches the number of the\n                        // axis, or if undefined, use the first axis\n                        if ((seriesOptions[AXIS] === axisOptions.index) ||\n                            (seriesOptions[AXIS] !== undefined && seriesOptions[AXIS] === axisOptions.id) ||\n                            (seriesOptions[AXIS] === undefined && axisOptions.index === 0)) {\n\n                            // register this series in the axis.series lookup\n                            series.insert(axis.series);\n\n                            // set this series.xAxis or series.yAxis reference\n                            series[AXIS] = axis;\n\n                            // mark dirty for redraw\n                            axis.isDirty = true;\n                        }\n                    });\n\n                    // The series needs an X and an Y axis\n                    if (!series[AXIS] && series.optionalAxis !== AXIS) {\n                        H.error(18, true);\n                    }\n\n                });\n            },\n\n            /**\n             * For simple series types like line and column, the data values are held in arrays like\n             * xData and yData for quick lookup to find extremes and more. For multidimensional series\n             * like bubble and map, this can be extended with arrays like zData and valueData by\n             * adding to the series.parallelArrays array.\n             */\n            updateParallelArrays: function(point, i) {\n                var series = point.series,\n                    args = arguments,\n                    fn = isNumber(i) ?\n                    // Insert the value in the given position\n                    function(key) {\n                        var val = key === 'y' && series.toYData ? series.toYData(point) : point[key];\n                        series[key + 'Data'][i] = val;\n                    } :\n                    // Apply the method specified in i with the following arguments as arguments\n                    function(key) {\n                        Array.prototype[i].apply(series[key + 'Data'], Array.prototype.slice.call(args, 2));\n                    };\n\n                each(series.parallelArrays, fn);\n            },\n\n            /**\n             * Return an auto incremented x value based on the pointStart and pointInterval options.\n             * This is only used if an x value is not given for the point that calls autoIncrement.\n             */\n            autoIncrement: function() {\n\n                var options = this.options,\n                    xIncrement = this.xIncrement,\n                    date,\n                    pointInterval,\n                    pointIntervalUnit = options.pointIntervalUnit;\n\n                xIncrement = pick(xIncrement, options.pointStart, 0);\n\n                this.pointInterval = pointInterval = pick(this.pointInterval, options.pointInterval, 1);\n\n                // Added code for pointInterval strings\n                if (pointIntervalUnit) {\n                    date = new Date(xIncrement);\n\n                    if (pointIntervalUnit === 'day') {\n                        date = +date[Date.hcSetDate](date[Date.hcGetDate]() + pointInterval);\n                    } else if (pointIntervalUnit === 'month') {\n                        date = +date[Date.hcSetMonth](date[Date.hcGetMonth]() + pointInterval);\n                    } else if (pointIntervalUnit === 'year') {\n                        date = +date[Date.hcSetFullYear](date[Date.hcGetFullYear]() + pointInterval);\n                    }\n                    pointInterval = date - xIncrement;\n\n                }\n\n                this.xIncrement = xIncrement + pointInterval;\n                return xIncrement;\n            },\n\n            /**\n             * Set the series options by merging from the options tree\n             * @param {Object} itemOptions\n             */\n            setOptions: function(itemOptions) {\n                var chart = this.chart,\n                    chartOptions = chart.options,\n                    plotOptions = chartOptions.plotOptions,\n                    userOptions = chart.userOptions || {},\n                    userPlotOptions = userOptions.plotOptions || {},\n                    typeOptions = plotOptions[this.type],\n                    options,\n                    zones;\n\n                this.userOptions = itemOptions;\n\n                // General series options take precedence over type options because otherwise, default\n                // type options like column.animation would be overwritten by the general option.\n                // But issues have been raised here (#3881), and the solution may be to distinguish\n                // between default option and userOptions like in the tooltip below.\n                options = merge(\n                    typeOptions,\n                    plotOptions.series,\n                    itemOptions\n                );\n\n                // The tooltip options are merged between global and series specific options\n                this.tooltipOptions = merge(\n                    defaultOptions.tooltip,\n                    defaultOptions.plotOptions[this.type].tooltip,\n                    userOptions.tooltip,\n                    userPlotOptions.series && userPlotOptions.series.tooltip,\n                    userPlotOptions[this.type] && userPlotOptions[this.type].tooltip,\n                    itemOptions.tooltip\n                );\n\n                // When shared tooltip, stickyTracking is true by default,\n                // unless user says otherwise.\n                this.stickyTracking = pick(\n                    itemOptions.stickyTracking,\n                    userPlotOptions[this.type] && userPlotOptions[this.type].stickyTracking,\n                    userPlotOptions.series && userPlotOptions.series.stickyTracking,\n                    (\n                        this.tooltipOptions.shared && !this.noSharedTooltip ?\n                        true :\n                        options.stickyTracking\n                    )\n                );\n\n                // Delete marker object if not allowed (#1125)\n                if (typeOptions.marker === null) {\n                    delete options.marker;\n                }\n\n                // Handle color zones\n                this.zoneAxis = options.zoneAxis;\n                zones = this.zones = (options.zones || []).slice();\n                if ((options.negativeColor || options.negativeFillColor) && !options.zones) {\n                    zones.push({\n                        value: options[this.zoneAxis + 'Threshold'] || options.threshold || 0,\n                        className: 'highcharts-negative',\n\n                        color: options.negativeColor,\n                        fillColor: options.negativeFillColor\n\n                    });\n                }\n                if (zones.length) { // Push one extra zone for the rest\n                    if (defined(zones[zones.length - 1].value)) {\n                        zones.push({\n\n                            color: this.color,\n                            fillColor: this.fillColor\n\n                        });\n                    }\n                }\n                return options;\n            },\n\n            getCyclic: function(prop, value, defaults) {\n                var i,\n                    chart = this.chart,\n                    userOptions = this.userOptions,\n                    indexName = prop + 'Index',\n                    counterName = prop + 'Counter',\n                    len = defaults ? defaults.length : pick(\n                        chart.options.chart[prop + 'Count'],\n                        chart[prop + 'Count']\n                    ),\n                    setting;\n\n                if (!value) {\n                    // Pick up either the colorIndex option, or the _colorIndex after Series.update()\n                    setting = pick(userOptions[indexName], userOptions['_' + indexName]);\n                    if (defined(setting)) { // after Series.update()\n                        i = setting;\n                    } else {\n                        // #6138\n                        if (!chart.series.length) {\n                            chart[counterName] = 0;\n                        }\n                        userOptions['_' + indexName] = i = chart[counterName] % len;\n                        chart[counterName] += 1;\n                    }\n                    if (defaults) {\n                        value = defaults[i];\n                    }\n                }\n                // Set the colorIndex\n                if (i !== undefined) {\n                    this[indexName] = i;\n                }\n                this[prop] = value;\n            },\n\n            /**\n             * Get the series' color\n             */\n\n            getColor: function() {\n                if (this.options.colorByPoint) {\n                    this.options.color = null; // #4359, selected slice got series.color even when colorByPoint was set.\n                } else {\n                    this.getCyclic('color', this.options.color || defaultPlotOptions[this.type].color, this.chart.options.colors);\n                }\n            },\n\n            /**\n             * Get the series' symbol\n             */\n            getSymbol: function() {\n                var seriesMarkerOption = this.options.marker;\n\n                this.getCyclic('symbol', seriesMarkerOption.symbol, this.chart.options.symbols);\n            },\n\n            drawLegendSymbol: LegendSymbolMixin.drawLineMarker,\n\n            /**\n             * Replace the series data with a new set of data\n             * @param {Object} data\n             * @param {Object} redraw\n             */\n            setData: function(data, redraw, animation, updatePoints) {\n                var series = this,\n                    oldData = series.points,\n                    oldDataLength = (oldData && oldData.length) || 0,\n                    dataLength,\n                    options = series.options,\n                    chart = series.chart,\n                    firstPoint = null,\n                    xAxis = series.xAxis,\n                    i,\n                    turboThreshold = options.turboThreshold,\n                    pt,\n                    xData = this.xData,\n                    yData = this.yData,\n                    pointArrayMap = series.pointArrayMap,\n                    valueCount = pointArrayMap && pointArrayMap.length;\n\n                data = data || [];\n                dataLength = data.length;\n                redraw = pick(redraw, true);\n\n                // If the point count is the same as is was, just run Point.update which is\n                // cheaper, allows animation, and keeps references to points.\n                if (updatePoints !== false && dataLength && oldDataLength === dataLength && !series.cropped && !series.hasGroupedData && series.visible) {\n                    each(data, function(point, i) {\n                        // .update doesn't exist on a linked, hidden series (#3709)\n                        if (oldData[i].update && point !== options.data[i]) {\n                            oldData[i].update(point, false, null, false);\n                        }\n                    });\n\n                } else {\n\n                    // Reset properties\n                    series.xIncrement = null;\n\n                    series.colorCounter = 0; // for series with colorByPoint (#1547)\n\n                    // Update parallel arrays\n                    each(this.parallelArrays, function(key) {\n                        series[key + 'Data'].length = 0;\n                    });\n\n                    // In turbo mode, only one- or twodimensional arrays of numbers are allowed. The\n                    // first value is tested, and we assume that all the rest are defined the same\n                    // way. Although the 'for' loops are similar, they are repeated inside each\n                    // if-else conditional for max performance.\n                    if (turboThreshold && dataLength > turboThreshold) {\n\n                        // find the first non-null point\n                        i = 0;\n                        while (firstPoint === null && i < dataLength) {\n                            firstPoint = data[i];\n                            i++;\n                        }\n\n\n                        if (isNumber(firstPoint)) { // assume all points are numbers\n                            for (i = 0; i < dataLength; i++) {\n                                xData[i] = this.autoIncrement();\n                                yData[i] = data[i];\n                            }\n                        } else if (isArray(firstPoint)) { // assume all points are arrays\n                            if (valueCount) { // [x, low, high] or [x, o, h, l, c]\n                                for (i = 0; i < dataLength; i++) {\n                                    pt = data[i];\n                                    xData[i] = pt[0];\n                                    yData[i] = pt.slice(1, valueCount + 1);\n                                }\n                            } else { // [x, y]\n                                for (i = 0; i < dataLength; i++) {\n                                    pt = data[i];\n                                    xData[i] = pt[0];\n                                    yData[i] = pt[1];\n                                }\n                            }\n                        } else {\n                            H.error(12); // Highcharts expects configs to be numbers or arrays in turbo mode\n                        }\n                    } else {\n                        for (i = 0; i < dataLength; i++) {\n                            if (data[i] !== undefined) { // stray commas in oldIE\n                                pt = {\n                                    series: series\n                                };\n                                series.pointClass.prototype.applyOptions.apply(pt, [data[i]]);\n                                series.updateParallelArrays(pt, i);\n                            }\n                        }\n                    }\n\n                    // Forgetting to cast strings to numbers is a common caveat when handling CSV or JSON\n                    if (isString(yData[0])) {\n                        H.error(14, true);\n                    }\n\n                    series.data = [];\n                    series.options.data = series.userOptions.data = data;\n\n                    // destroy old points\n                    i = oldDataLength;\n                    while (i--) {\n                        if (oldData[i] && oldData[i].destroy) {\n                            oldData[i].destroy();\n                        }\n                    }\n\n                    // reset minRange (#878)\n                    if (xAxis) {\n                        xAxis.minRange = xAxis.userMinRange;\n                    }\n\n                    // redraw\n                    series.isDirty = chart.isDirtyBox = true;\n                    series.isDirtyData = !!oldData;\n                    animation = false;\n                }\n\n                // Typically for pie series, points need to be processed and generated\n                // prior to rendering the legend\n                if (options.legendType === 'point') {\n                    this.processData();\n                    this.generatePoints();\n                }\n\n                if (redraw) {\n                    chart.redraw(animation);\n                }\n            },\n\n            /**\n             * Process the data by cropping away unused data points if the series is longer\n             * than the crop threshold. This saves computing time for large series.\n             */\n            processData: function(force) {\n                var series = this,\n                    processedXData = series.xData, // copied during slice operation below\n                    processedYData = series.yData,\n                    dataLength = processedXData.length,\n                    croppedData,\n                    cropStart = 0,\n                    cropped,\n                    distance,\n                    closestPointRange,\n                    xAxis = series.xAxis,\n                    i, // loop variable\n                    options = series.options,\n                    cropThreshold = options.cropThreshold,\n                    getExtremesFromAll = series.getExtremesFromAll || options.getExtremesFromAll, // #4599\n                    isCartesian = series.isCartesian,\n                    xExtremes,\n                    val2lin = xAxis && xAxis.val2lin,\n                    isLog = xAxis && xAxis.isLog,\n                    min,\n                    max;\n\n                // If the series data or axes haven't changed, don't go through this. Return false to pass\n                // the message on to override methods like in data grouping.\n                if (isCartesian && !series.isDirty && !xAxis.isDirty && !series.yAxis.isDirty && !force) {\n                    return false;\n                }\n\n                if (xAxis) {\n                    xExtremes = xAxis.getExtremes(); // corrected for log axis (#3053)\n                    min = xExtremes.min;\n                    max = xExtremes.max;\n                }\n\n                // optionally filter out points outside the plot area\n                if (isCartesian && series.sorted && !getExtremesFromAll && (!cropThreshold || dataLength > cropThreshold || series.forceCrop)) {\n\n                    // it's outside current extremes\n                    if (processedXData[dataLength - 1] < min || processedXData[0] > max) {\n                        processedXData = [];\n                        processedYData = [];\n\n                        // only crop if it's actually spilling out\n                    } else if (processedXData[0] < min || processedXData[dataLength - 1] > max) {\n                        croppedData = this.cropData(series.xData, series.yData, min, max);\n                        processedXData = croppedData.xData;\n                        processedYData = croppedData.yData;\n                        cropStart = croppedData.start;\n                        cropped = true;\n                    }\n                }\n\n\n                // Find the closest distance between processed points\n                i = processedXData.length || 1;\n                while (--i) {\n                    distance = isLog ?\n                        val2lin(processedXData[i]) - val2lin(processedXData[i - 1]) :\n                        processedXData[i] - processedXData[i - 1];\n\n                    if (distance > 0 && (closestPointRange === undefined || distance < closestPointRange)) {\n                        closestPointRange = distance;\n\n                        // Unsorted data is not supported by the line tooltip, as well as data grouping and\n                        // navigation in Stock charts (#725) and width calculation of columns (#1900)\n                    } else if (distance < 0 && series.requireSorting) {\n                        H.error(15);\n                    }\n                }\n\n                // Record the properties\n                series.cropped = cropped; // undefined or true\n                series.cropStart = cropStart;\n                series.processedXData = processedXData;\n                series.processedYData = processedYData;\n\n                series.closestPointRange = closestPointRange;\n\n            },\n\n            /**\n             * Iterate over xData and crop values between min and max. Returns object containing crop start/end\n             * cropped xData with corresponding part of yData, dataMin and dataMax within the cropped range\n             */\n            cropData: function(xData, yData, min, max) {\n                var dataLength = xData.length,\n                    cropStart = 0,\n                    cropEnd = dataLength,\n                    cropShoulder = pick(this.cropShoulder, 1), // line-type series need one point outside\n                    i,\n                    j;\n\n                // iterate up to find slice start\n                for (i = 0; i < dataLength; i++) {\n                    if (xData[i] >= min) {\n                        cropStart = Math.max(0, i - cropShoulder);\n                        break;\n                    }\n                }\n\n                // proceed to find slice end\n                for (j = i; j < dataLength; j++) {\n                    if (xData[j] > max) {\n                        cropEnd = j + cropShoulder;\n                        break;\n                    }\n                }\n\n                return {\n                    xData: xData.slice(cropStart, cropEnd),\n                    yData: yData.slice(cropStart, cropEnd),\n                    start: cropStart,\n                    end: cropEnd\n                };\n            },\n\n\n            /**\n             * Generate the data point after the data has been processed by cropping away\n             * unused points and optionally grouped in Highcharts Stock.\n             */\n            generatePoints: function() {\n                var series = this,\n                    options = series.options,\n                    dataOptions = options.data,\n                    data = series.data,\n                    dataLength,\n                    processedXData = series.processedXData,\n                    processedYData = series.processedYData,\n                    PointClass = series.pointClass,\n                    processedDataLength = processedXData.length,\n                    cropStart = series.cropStart || 0,\n                    cursor,\n                    hasGroupedData = series.hasGroupedData,\n                    point,\n                    points = [],\n                    i;\n\n                if (!data && !hasGroupedData) {\n                    var arr = [];\n                    arr.length = dataOptions.length;\n                    data = series.data = arr;\n                }\n\n                for (i = 0; i < processedDataLength; i++) {\n                    cursor = cropStart + i;\n                    if (!hasGroupedData) {\n                        point = data[cursor];\n                        if (!point && dataOptions[cursor] !== undefined) { // #970\n                            data[cursor] = point = (new PointClass()).init(series, dataOptions[cursor], processedXData[i]);\n                        }\n                    } else {\n                        // splat the y data in case of ohlc data array\n                        point = (new PointClass()).init(series, [processedXData[i]].concat(splat(processedYData[i])));\n                        point.dataGroup = series.groupMap[i];\n                    }\n                    if (point) { // #6279\n                        point.index = cursor; // For faster access in Point.update\n                        points[i] = point;\n                    }\n                }\n\n                // Hide cropped-away points - this only runs when the number of points is above cropThreshold, or when\n                // swithching view from non-grouped data to grouped data (#637)\n                if (data && (processedDataLength !== (dataLength = data.length) || hasGroupedData)) {\n                    for (i = 0; i < dataLength; i++) {\n                        if (i === cropStart && !hasGroupedData) { // when has grouped data, clear all points\n                            i += processedDataLength;\n                        }\n                        if (data[i]) {\n                            data[i].destroyElements();\n                            data[i].plotX = undefined; // #1003\n                        }\n                    }\n                }\n\n                series.data = data;\n                series.points = points;\n            },\n\n            /**\n             * Calculate Y extremes for visible data\n             */\n            getExtremes: function(yData) {\n                var xAxis = this.xAxis,\n                    yAxis = this.yAxis,\n                    xData = this.processedXData,\n                    yDataLength,\n                    activeYData = [],\n                    activeCounter = 0,\n                    xExtremes = xAxis.getExtremes(), // #2117, need to compensate for log X axis\n                    xMin = xExtremes.min,\n                    xMax = xExtremes.max,\n                    validValue,\n                    withinRange,\n                    x,\n                    y,\n                    i,\n                    j;\n\n                yData = yData || this.stackedYData || this.processedYData || [];\n                yDataLength = yData.length;\n\n                for (i = 0; i < yDataLength; i++) {\n\n                    x = xData[i];\n                    y = yData[i];\n\n                    // For points within the visible range, including the first point outside the\n                    // visible range, consider y extremes\n                    validValue = (isNumber(y, true) || isArray(y)) && (!yAxis.positiveValuesOnly || (y.length || y > 0));\n                    withinRange = this.getExtremesFromAll || this.options.getExtremesFromAll || this.cropped ||\n                        ((xData[i] || x) >= xMin && (xData[i] || x) <= xMax);\n\n                    if (validValue && withinRange) {\n\n                        j = y.length;\n                        if (j) { // array, like ohlc or range data\n                            while (j--) {\n                                if (y[j] !== null) {\n                                    activeYData[activeCounter++] = y[j];\n                                }\n                            }\n                        } else {\n                            activeYData[activeCounter++] = y;\n                        }\n                    }\n                }\n\n                this.dataMin = arrayMin(activeYData);\n                this.dataMax = arrayMax(activeYData);\n            },\n\n            /**\n             * Translate data points from raw data values to chart specific positioning\n             * data needed later in drawPoints, drawGraph and drawTracker.\n             *\n             * @function #translate\n             * @memberOf Series\n             * @returns {void}\n             */\n            translate: function() {\n                if (!this.processedXData) { // hidden series\n                    this.processData();\n                }\n                this.generatePoints();\n                var series = this,\n                    options = series.options,\n                    stacking = options.stacking,\n                    xAxis = series.xAxis,\n                    categories = xAxis.categories,\n                    yAxis = series.yAxis,\n                    points = series.points,\n                    dataLength = points.length,\n                    hasModifyValue = !!series.modifyValue,\n                    i,\n                    pointPlacement = options.pointPlacement,\n                    dynamicallyPlaced = pointPlacement === 'between' || isNumber(pointPlacement),\n                    threshold = options.threshold,\n                    stackThreshold = options.startFromThreshold ? threshold : 0,\n                    plotX,\n                    plotY,\n                    lastPlotX,\n                    stackIndicator,\n                    closestPointRangePx = Number.MAX_VALUE;\n\n                // Point placement is relative to each series pointRange (#5889)\n                if (pointPlacement === 'between') {\n                    pointPlacement = 0.5;\n                }\n                if (isNumber(pointPlacement)) {\n                    pointPlacement *= pick(options.pointRange || xAxis.pointRange);\n                }\n\n                // Translate each point\n                for (i = 0; i < dataLength; i++) {\n                    var point = points[i],\n                        xValue = point.x,\n                        yValue = point.y,\n                        yBottom = point.low,\n                        stack = stacking && yAxis.stacks[(series.negStacks && yValue < (stackThreshold ? 0 : threshold) ? '-' : '') + series.stackKey],\n                        pointStack,\n                        stackValues;\n\n                    // Discard disallowed y values for log axes (#3434)\n                    if (yAxis.positiveValuesOnly && yValue !== null && yValue <= 0) {\n                        point.isNull = true;\n                    }\n\n                    // Get the plotX translation\n                    point.plotX = plotX = correctFloat( // #5236\n                        Math.min(Math.max(-1e5, xAxis.translate(\n                            xValue,\n                            0,\n                            0,\n                            0,\n                            1,\n                            pointPlacement,\n                            this.type === 'flags'\n                        )), 1e5) // #3923\n                    );\n\n                    // Calculate the bottom y value for stacked series\n                    if (stacking && series.visible && !point.isNull && stack && stack[xValue]) {\n                        stackIndicator = series.getStackIndicator(stackIndicator, xValue, series.index);\n                        pointStack = stack[xValue];\n                        stackValues = pointStack.points[stackIndicator.key];\n                        yBottom = stackValues[0];\n                        yValue = stackValues[1];\n\n                        if (yBottom === stackThreshold && stackIndicator.key === stack[xValue].base) {\n                            yBottom = pick(threshold, yAxis.min);\n                        }\n                        if (yAxis.positiveValuesOnly && yBottom <= 0) { // #1200, #1232\n                            yBottom = null;\n                        }\n\n                        point.total = point.stackTotal = pointStack.total;\n                        point.percentage = pointStack.total && (point.y / pointStack.total * 100);\n                        point.stackY = yValue;\n\n                        // Place the stack label\n                        pointStack.setOffset(series.pointXOffset || 0, series.barW || 0);\n\n                    }\n\n                    // Set translated yBottom or remove it\n                    point.yBottom = defined(yBottom) ?\n                        yAxis.translate(yBottom, 0, 1, 0, 1) :\n                        null;\n\n                    // general hook, used for Highstock compare mode\n                    if (hasModifyValue) {\n                        yValue = series.modifyValue(yValue, point);\n                    }\n\n                    // Set the the plotY value, reset it for redraws\n                    point.plotY = plotY = (typeof yValue === 'number' && yValue !== Infinity) ?\n                        Math.min(Math.max(-1e5, yAxis.translate(yValue, 0, 1, 0, 1)), 1e5) : // #3201\n                        undefined;\n\n                    point.isInside = plotY !== undefined && plotY >= 0 && plotY <= yAxis.len && // #3519\n                        plotX >= 0 && plotX <= xAxis.len;\n\n\n                    // Set client related positions for mouse tracking\n                    point.clientX = dynamicallyPlaced ? correctFloat(xAxis.translate(xValue, 0, 0, 0, 1, pointPlacement)) : plotX; // #1514, #5383, #5518\n\n                    point.negative = point.y < (threshold || 0);\n\n                    // some API data\n                    point.category = categories && categories[point.x] !== undefined ?\n                        categories[point.x] : point.x;\n\n                    // Determine auto enabling of markers (#3635, #5099)\n                    if (!point.isNull) {\n                        if (lastPlotX !== undefined) {\n                            closestPointRangePx = Math.min(closestPointRangePx, Math.abs(plotX - lastPlotX));\n                        }\n                        lastPlotX = plotX;\n                    }\n\n                    // Find point zone\n                    point.zone = this.zones.length && point.getZone();\n                }\n                series.closestPointRangePx = closestPointRangePx;\n            },\n\n            /**\n             * Return the series points with null points filtered out\n             */\n            getValidPoints: function(points, insideOnly) {\n                var chart = this.chart;\n                return grep(points || this.points || [], function isValidPoint(point) { // #3916, #5029\n                    if (insideOnly && !chart.isInsidePlot(point.plotX, point.plotY, chart.inverted)) { // #5085\n                        return false;\n                    }\n                    return !point.isNull;\n                });\n            },\n\n            /**\n             * Set the clipping for the series. For animated series it is called twice, first to initiate\n             * animating the clip then the second time without the animation to set the final clip.\n             */\n            setClip: function(animation) {\n                var chart = this.chart,\n                    options = this.options,\n                    renderer = chart.renderer,\n                    inverted = chart.inverted,\n                    seriesClipBox = this.clipBox,\n                    clipBox = seriesClipBox || chart.clipBox,\n                    sharedClipKey = this.sharedClipKey || ['_sharedClip', animation && animation.duration, animation && animation.easing, clipBox.height, options.xAxis, options.yAxis].join(','), // #4526\n                    clipRect = chart[sharedClipKey],\n                    markerClipRect = chart[sharedClipKey + 'm'];\n\n                // If a clipping rectangle with the same properties is currently present in the chart, use that.\n                if (!clipRect) {\n\n                    // When animation is set, prepare the initial positions\n                    if (animation) {\n                        clipBox.width = 0;\n\n                        chart[sharedClipKey + 'm'] = markerClipRect = renderer.clipRect(-99, // include the width of the first marker\n                            inverted ? -chart.plotLeft : -chart.plotTop,\n                            99,\n                            inverted ? chart.chartWidth : chart.chartHeight\n                        );\n                    }\n                    chart[sharedClipKey] = clipRect = renderer.clipRect(clipBox);\n                    // Create hashmap for series indexes\n                    clipRect.count = {\n                        length: 0\n                    };\n\n                }\n                if (animation) {\n                    if (!clipRect.count[this.index]) {\n                        clipRect.count[this.index] = true;\n                        clipRect.count.length += 1;\n                    }\n                }\n\n                if (options.clip !== false) {\n                    this.group.clip(animation || seriesClipBox ? clipRect : chart.clipRect);\n                    this.markerGroup.clip(markerClipRect);\n                    this.sharedClipKey = sharedClipKey;\n                }\n\n                // Remove the shared clipping rectangle when all series are shown\n                if (!animation) {\n                    if (clipRect.count[this.index]) {\n                        delete clipRect.count[this.index];\n                        clipRect.count.length -= 1;\n                    }\n\n                    if (clipRect.count.length === 0 && sharedClipKey && chart[sharedClipKey]) {\n                        if (!seriesClipBox) {\n                            chart[sharedClipKey] = chart[sharedClipKey].destroy();\n                        }\n                        if (chart[sharedClipKey + 'm']) {\n                            chart[sharedClipKey + 'm'] = chart[sharedClipKey + 'm'].destroy();\n                        }\n                    }\n                }\n            },\n\n            /**\n             * Animate in the series\n             */\n            animate: function(init) {\n                var series = this,\n                    chart = series.chart,\n                    clipRect,\n                    animation = animObject(series.options.animation),\n                    sharedClipKey;\n\n                // Initialize the animation. Set up the clipping rectangle.\n                if (init) {\n\n                    series.setClip(animation);\n\n                    // Run the animation\n                } else {\n                    sharedClipKey = this.sharedClipKey;\n                    clipRect = chart[sharedClipKey];\n                    if (clipRect) {\n                        clipRect.animate({\n                            width: chart.plotSizeX\n                        }, animation);\n                    }\n                    if (chart[sharedClipKey + 'm']) {\n                        chart[sharedClipKey + 'm'].animate({\n                            width: chart.plotSizeX + 99\n                        }, animation);\n                    }\n\n                    // Delete this function to allow it only once\n                    series.animate = null;\n\n                }\n            },\n\n            /**\n             * This runs after animation to land on the final plot clipping\n             */\n            afterAnimate: function() {\n                this.setClip();\n                fireEvent(this, 'afterAnimate');\n            },\n\n            /**\n             * Draw the markers.\n             *\n             * @function #drawPoints\n             * @memberOf Series\n             * @returns {void}\n             */\n            drawPoints: function() {\n                var series = this,\n                    points = series.points,\n                    chart = series.chart,\n                    plotY,\n                    i,\n                    point,\n                    symbol,\n                    graphic,\n                    options = series.options,\n                    seriesMarkerOptions = options.marker,\n                    pointMarkerOptions,\n                    hasPointMarker,\n                    enabled,\n                    isInside,\n                    markerGroup = series.markerGroup,\n                    xAxis = series.xAxis,\n                    markerAttribs,\n                    globallyEnabled = pick(\n                        seriesMarkerOptions.enabled,\n                        xAxis.isRadial ? true : null,\n                        // Use larger or equal as radius is null in bubbles (#6321)\n                        series.closestPointRangePx >= 2 * seriesMarkerOptions.radius\n                    );\n\n                if (seriesMarkerOptions.enabled !== false || series._hasPointMarkers) {\n\n                    for (i = 0; i < points.length; i++) {\n                        point = points[i];\n                        plotY = point.plotY;\n                        graphic = point.graphic;\n                        pointMarkerOptions = point.marker || {};\n                        hasPointMarker = !!point.marker;\n                        enabled = (globallyEnabled && pointMarkerOptions.enabled === undefined) || pointMarkerOptions.enabled;\n                        isInside = point.isInside;\n\n                        // only draw the point if y is defined\n                        if (enabled && isNumber(plotY) && point.y !== null) {\n\n                            // Shortcuts\n                            symbol = pick(pointMarkerOptions.symbol, series.symbol);\n                            point.hasImage = symbol.indexOf('url') === 0;\n\n                            markerAttribs = series.markerAttribs(\n                                point,\n                                point.selected && 'select'\n                            );\n\n                            if (graphic) { // update\n                                graphic[isInside ? 'show' : 'hide'](true) // Since the marker group isn't clipped, each individual marker must be toggled\n                                    .animate(markerAttribs);\n                            } else if (isInside && (markerAttribs.width > 0 || point.hasImage)) {\n                                point.graphic = graphic = chart.renderer.symbol(\n                                        symbol,\n                                        markerAttribs.x,\n                                        markerAttribs.y,\n                                        markerAttribs.width,\n                                        markerAttribs.height,\n                                        hasPointMarker ? pointMarkerOptions : seriesMarkerOptions\n                                    )\n                                    .add(markerGroup);\n                            }\n\n\n                            // Presentational attributes\n                            if (graphic) {\n                                graphic.attr(series.pointAttribs(point, point.selected && 'select'));\n                            }\n\n\n                            if (graphic) {\n                                graphic.addClass(point.getClassName(), true);\n                            }\n\n                        } else if (graphic) {\n                            point.graphic = graphic.destroy(); // #1269\n                        }\n                    }\n                }\n\n            },\n\n            /**\n             * Get non-presentational attributes for the point.\n             */\n            markerAttribs: function(point, state) {\n                var seriesMarkerOptions = this.options.marker,\n                    seriesStateOptions,\n                    pointMarkerOptions = point.marker || {},\n                    pointStateOptions,\n                    radius = pick(\n                        pointMarkerOptions.radius,\n                        seriesMarkerOptions.radius\n                    ),\n                    attribs;\n\n                // Handle hover and select states\n                if (state) {\n                    seriesStateOptions = seriesMarkerOptions.states[state];\n                    pointStateOptions = pointMarkerOptions.states &&\n                        pointMarkerOptions.states[state];\n\n                    radius = pick(\n                        pointStateOptions && pointStateOptions.radius,\n                        seriesStateOptions && seriesStateOptions.radius,\n                        radius + (seriesStateOptions && seriesStateOptions.radiusPlus || 0)\n                    );\n                }\n\n                if (point.hasImage) {\n                    radius = 0; // and subsequently width and height is not set\n                }\n\n                attribs = {\n                    x: Math.floor(point.plotX) - radius, // Math.floor for #1843\n                    y: point.plotY - radius\n                };\n\n                if (radius) {\n                    attribs.width = attribs.height = 2 * radius;\n                }\n\n                return attribs;\n\n            },\n\n\n            /**\n             * Get presentational attributes for marker-based series (line, spline, scatter, bubble, mappoint...)\n             */\n            pointAttribs: function(point, state) {\n                var seriesMarkerOptions = this.options.marker,\n                    seriesStateOptions,\n                    pointOptions = point && point.options,\n                    pointMarkerOptions = (pointOptions && pointOptions.marker) || {},\n                    pointStateOptions,\n                    color = this.color,\n                    pointColorOption = pointOptions && pointOptions.color,\n                    pointColor = point && point.color,\n                    strokeWidth = pick(\n                        pointMarkerOptions.lineWidth,\n                        seriesMarkerOptions.lineWidth\n                    ),\n                    zoneColor = point && point.zone && point.zone.color,\n                    fill,\n                    stroke;\n\n                color = pointColorOption || zoneColor || pointColor || color;\n                fill = pointMarkerOptions.fillColor || seriesMarkerOptions.fillColor || color;\n                stroke = pointMarkerOptions.lineColor || seriesMarkerOptions.lineColor || color;\n\n                // Handle hover and select states\n                if (state) {\n                    seriesStateOptions = seriesMarkerOptions.states[state];\n                    pointStateOptions = (pointMarkerOptions.states && pointMarkerOptions.states[state]) || {};\n                    strokeWidth = pick(\n                        pointStateOptions.lineWidth,\n                        seriesStateOptions.lineWidth,\n                        strokeWidth + pick(\n                            pointStateOptions.lineWidthPlus,\n                            seriesStateOptions.lineWidthPlus,\n                            0\n                        )\n                    );\n                    fill = pointStateOptions.fillColor || seriesStateOptions.fillColor || fill;\n                    stroke = pointStateOptions.lineColor || seriesStateOptions.lineColor || stroke;\n                }\n\n                return {\n                    'stroke': stroke,\n                    'stroke-width': strokeWidth,\n                    'fill': fill\n                };\n            },\n\n            /**\n             * Clear DOM objects and free up memory\n             */\n            destroy: function() {\n                var series = this,\n                    chart = series.chart,\n                    issue134 = /AppleWebKit\\/533/.test(win.navigator.userAgent),\n                    destroy,\n                    i,\n                    data = series.data || [],\n                    point,\n                    prop,\n                    axis;\n\n                // add event hook\n                fireEvent(series, 'destroy');\n\n                // remove all events\n                removeEvent(series);\n\n                // erase from axes\n                each(series.axisTypes || [], function(AXIS) {\n                    axis = series[AXIS];\n                    if (axis && axis.series) {\n                        erase(axis.series, series);\n                        axis.isDirty = axis.forceRedraw = true;\n                    }\n                });\n\n                // remove legend items\n                if (series.legendItem) {\n                    series.chart.legend.destroyItem(series);\n                }\n\n                // destroy all points with their elements\n                i = data.length;\n                while (i--) {\n                    point = data[i];\n                    if (point && point.destroy) {\n                        point.destroy();\n                    }\n                }\n                series.points = null;\n\n                // Clear the animation timeout if we are destroying the series during initial animation\n                clearTimeout(series.animationTimeout);\n\n                // Destroy all SVGElements associated to the series\n                for (prop in series) {\n                    if (series[prop] instanceof SVGElement && !series[prop].survive) { // Survive provides a hook for not destroying\n\n                        // issue 134 workaround\n                        destroy = issue134 && prop === 'group' ?\n                            'hide' :\n                            'destroy';\n\n                        series[prop][destroy]();\n                    }\n                }\n\n                // remove from hoverSeries\n                if (chart.hoverSeries === series) {\n                    chart.hoverSeries = null;\n                }\n                erase(chart.series, series);\n                chart.orderSeries();\n\n                // clear all members\n                for (prop in series) {\n                    delete series[prop];\n                }\n            },\n\n            /**\n             * Get the graph path\n             */\n            getGraphPath: function(points, nullsAsZeroes, connectCliffs) {\n                var series = this,\n                    options = series.options,\n                    step = options.step,\n                    reversed,\n                    graphPath = [],\n                    xMap = [],\n                    gap;\n\n                points = points || series.points;\n\n                // Bottom of a stack is reversed\n                reversed = points.reversed;\n                if (reversed) {\n                    points.reverse();\n                }\n                // Reverse the steps (#5004)\n                step = {\n                    right: 1,\n                    center: 2\n                }[step] || (step && 3);\n                if (step && reversed) {\n                    step = 4 - step;\n                }\n\n                // Remove invalid points, especially in spline (#5015)\n                if (options.connectNulls && !nullsAsZeroes && !connectCliffs) {\n                    points = this.getValidPoints(points);\n                }\n\n                // Build the line\n                each(points, function(point, i) {\n\n                    var plotX = point.plotX,\n                        plotY = point.plotY,\n                        lastPoint = points[i - 1],\n                        pathToPoint; // the path to this point from the previous\n\n                    if ((point.leftCliff || (lastPoint && lastPoint.rightCliff)) && !connectCliffs) {\n                        gap = true; // ... and continue\n                    }\n\n                    // Line series, nullsAsZeroes is not handled\n                    if (point.isNull && !defined(nullsAsZeroes) && i > 0) {\n                        gap = !options.connectNulls;\n\n                        // Area series, nullsAsZeroes is set\n                    } else if (point.isNull && !nullsAsZeroes) {\n                        gap = true;\n\n                    } else {\n\n                        if (i === 0 || gap) {\n                            pathToPoint = ['M', point.plotX, point.plotY];\n\n                        } else if (series.getPointSpline) { // generate the spline as defined in the SplineSeries object\n\n                            pathToPoint = series.getPointSpline(points, point, i);\n\n                        } else if (step) {\n\n                            if (step === 1) { // right\n                                pathToPoint = [\n                                    'L',\n                                    lastPoint.plotX,\n                                    plotY\n                                ];\n\n                            } else if (step === 2) { // center\n                                pathToPoint = [\n                                    'L',\n                                    (lastPoint.plotX + plotX) / 2,\n                                    lastPoint.plotY,\n                                    'L',\n                                    (lastPoint.plotX + plotX) / 2,\n                                    plotY\n                                ];\n\n                            } else {\n                                pathToPoint = [\n                                    'L',\n                                    plotX,\n                                    lastPoint.plotY\n                                ];\n                            }\n                            pathToPoint.push('L', plotX, plotY);\n\n                        } else {\n                            // normal line to next point\n                            pathToPoint = [\n                                'L',\n                                plotX,\n                                plotY\n                            ];\n                        }\n\n                        // Prepare for animation. When step is enabled, there are two path nodes for each x value.\n                        xMap.push(point.x);\n                        if (step) {\n                            xMap.push(point.x);\n                        }\n\n                        graphPath.push.apply(graphPath, pathToPoint);\n                        gap = false;\n                    }\n                });\n\n                graphPath.xMap = xMap;\n                series.graphPath = graphPath;\n\n                return graphPath;\n\n            },\n\n            /**\n             * Draw the actual graph\n             */\n            drawGraph: function() {\n                var series = this,\n                    options = this.options,\n                    graphPath = (this.gappedPath || this.getGraphPath).call(this),\n                    props = [\n                        [\n                            'graph',\n                            'highcharts-graph',\n\n                            options.lineColor || this.color,\n                            options.dashStyle\n\n                        ]\n                    ];\n\n                // Add the zone properties if any\n                each(this.zones, function(zone, i) {\n                    props.push([\n                        'zone-graph-' + i,\n                        'highcharts-graph highcharts-zone-graph-' + i + ' ' + (zone.className || ''),\n\n                        zone.color || series.color,\n                        zone.dashStyle || options.dashStyle\n\n                    ]);\n                });\n\n                // Draw the graph\n                each(props, function(prop, i) {\n                    var graphKey = prop[0],\n                        graph = series[graphKey],\n                        attribs;\n\n                    if (graph) {\n                        graph.endX = graphPath.xMap;\n                        graph.animate({\n                            d: graphPath\n                        });\n\n                    } else if (graphPath.length) { // #1487\n\n                        series[graphKey] = series.chart.renderer.path(graphPath)\n                            .addClass(prop[1])\n                            .attr({\n                                zIndex: 1\n                            }) // #1069\n                            .add(series.group);\n\n\n                        attribs = {\n                            'stroke': prop[2],\n                            'stroke-width': options.lineWidth,\n                            'fill': (series.fillGraph && series.color) || 'none' // Polygon series use filled graph\n                        };\n\n                        if (prop[3]) {\n                            attribs.dashstyle = prop[3];\n                        } else if (options.linecap !== 'square') {\n                            attribs['stroke-linecap'] = attribs['stroke-linejoin'] = 'round';\n                        }\n\n                        graph = series[graphKey]\n                            .attr(attribs)\n                            .shadow((i < 2) && options.shadow); // add shadow to normal series (0) or to first zone (1) #3932\n\n                    }\n\n                    // Helpers for animation\n                    if (graph) {\n                        graph.startX = graphPath.xMap;\n                        //graph.shiftUnit = options.step ? 2 : 1;\n                        graph.isArea = graphPath.isArea; // For arearange animation\n                    }\n                });\n            },\n\n            /**\n             * Clip the graphs into the positive and negative coloured graphs\n             */\n            applyZones: function() {\n                var series = this,\n                    chart = this.chart,\n                    renderer = chart.renderer,\n                    zones = this.zones,\n                    translatedFrom,\n                    translatedTo,\n                    clips = this.clips || [],\n                    clipAttr,\n                    graph = this.graph,\n                    area = this.area,\n                    chartSizeMax = Math.max(chart.chartWidth, chart.chartHeight),\n                    axis = this[(this.zoneAxis || 'y') + 'Axis'],\n                    extremes,\n                    reversed,\n                    inverted = chart.inverted,\n                    horiz,\n                    pxRange,\n                    pxPosMin,\n                    pxPosMax,\n                    ignoreZones = false;\n\n                if (zones.length && (graph || area) && axis && axis.min !== undefined) {\n                    reversed = axis.reversed;\n                    horiz = axis.horiz;\n                    // The use of the Color Threshold assumes there are no gaps\n                    // so it is safe to hide the original graph and area\n                    if (graph) {\n                        graph.hide();\n                    }\n                    if (area) {\n                        area.hide();\n                    }\n\n                    // Create the clips\n                    extremes = axis.getExtremes();\n                    each(zones, function(threshold, i) {\n\n                        translatedFrom = reversed ?\n                            (horiz ? chart.plotWidth : 0) :\n                            (horiz ? 0 : axis.toPixels(extremes.min));\n                        translatedFrom = Math.min(Math.max(pick(translatedTo, translatedFrom), 0), chartSizeMax);\n                        translatedTo = Math.min(Math.max(Math.round(axis.toPixels(pick(threshold.value, extremes.max), true)), 0), chartSizeMax);\n\n                        if (ignoreZones) {\n                            translatedFrom = translatedTo = axis.toPixels(extremes.max);\n                        }\n\n                        pxRange = Math.abs(translatedFrom - translatedTo);\n                        pxPosMin = Math.min(translatedFrom, translatedTo);\n                        pxPosMax = Math.max(translatedFrom, translatedTo);\n                        if (axis.isXAxis) {\n                            clipAttr = {\n                                x: inverted ? pxPosMax : pxPosMin,\n                                y: 0,\n                                width: pxRange,\n                                height: chartSizeMax\n                            };\n                            if (!horiz) {\n                                clipAttr.x = chart.plotHeight - clipAttr.x;\n                            }\n                        } else {\n                            clipAttr = {\n                                x: 0,\n                                y: inverted ? pxPosMax : pxPosMin,\n                                width: chartSizeMax,\n                                height: pxRange\n                            };\n                            if (horiz) {\n                                clipAttr.y = chart.plotWidth - clipAttr.y;\n                            }\n                        }\n\n\n                        /// VML SUPPPORT\n                        if (inverted && renderer.isVML) {\n                            if (axis.isXAxis) {\n                                clipAttr = {\n                                    x: 0,\n                                    y: reversed ? pxPosMin : pxPosMax,\n                                    height: clipAttr.width,\n                                    width: chart.chartWidth\n                                };\n                            } else {\n                                clipAttr = {\n                                    x: clipAttr.y - chart.plotLeft - chart.spacingBox.x,\n                                    y: 0,\n                                    width: clipAttr.height,\n                                    height: chart.chartHeight\n                                };\n                            }\n                        }\n                        /// END OF VML SUPPORT\n\n\n                        if (clips[i]) {\n                            clips[i].animate(clipAttr);\n                        } else {\n                            clips[i] = renderer.clipRect(clipAttr);\n\n                            if (graph) {\n                                series['zone-graph-' + i].clip(clips[i]);\n                            }\n\n                            if (area) {\n                                series['zone-area-' + i].clip(clips[i]);\n                            }\n                        }\n                        // if this zone extends out of the axis, ignore the others\n                        ignoreZones = threshold.value > extremes.max;\n                    });\n                    this.clips = clips;\n                }\n            },\n\n            /**\n             * Initialize and perform group inversion on series.group and series.markerGroup\n             */\n            invertGroups: function(inverted) {\n                var series = this,\n                    chart = series.chart,\n                    remover;\n\n                function setInvert() {\n                    each(['group', 'markerGroup'], function(groupName) {\n                        if (series[groupName]) {\n\n                            // VML/HTML needs explicit attributes for flipping\n                            if (chart.renderer.isVML) {\n                                series[groupName].attr({\n                                    width: series.yAxis.len,\n                                    height: series.xAxis.len\n                                });\n                            }\n\n                            series[groupName].width = series.yAxis.len;\n                            series[groupName].height = series.xAxis.len;\n                            series[groupName].invert(inverted);\n                        }\n                    });\n                }\n\n                // Pie, go away (#1736)\n                if (!series.xAxis) {\n                    return;\n                }\n\n                // A fixed size is needed for inversion to work\n                remover = addEvent(chart, 'resize', setInvert);\n                addEvent(series, 'destroy', remover);\n\n                // Do it now\n                setInvert(inverted); // do it now\n\n                // On subsequent render and redraw, just do setInvert without setting up events again\n                series.invertGroups = setInvert;\n            },\n\n            /**\n             * General abstraction for creating plot groups like series.group, series.dataLabelsGroup and\n             * series.markerGroup. On subsequent calls, the group will only be adjusted to the updated plot size.\n             */\n            plotGroup: function(prop, name, visibility, zIndex, parent) {\n                var group = this[prop],\n                    isNew = !group;\n\n                // Generate it on first call\n                if (isNew) {\n                    this[prop] = group = this.chart.renderer.g(name)\n                        .attr({\n                            zIndex: zIndex || 0.1 // IE8 and pointer logic use this\n                        })\n                        .add(parent);\n\n                    group.addClass('highcharts-series-' + this.index + ' highcharts-' + this.type + '-series highcharts-color-' + this.colorIndex +\n                        ' ' + (this.options.className || ''));\n                }\n\n                // Place it on first and subsequent (redraw) calls\n                group.attr({\n                    visibility: visibility\n                })[isNew ? 'attr' : 'animate'](this.getPlotBox());\n                return group;\n            },\n\n            /**\n             * Get the translation and scale for the plot area of this series\n             */\n            getPlotBox: function() {\n                var chart = this.chart,\n                    xAxis = this.xAxis,\n                    yAxis = this.yAxis;\n\n                // Swap axes for inverted (#2339)\n                if (chart.inverted) {\n                    xAxis = yAxis;\n                    yAxis = this.xAxis;\n                }\n                return {\n                    translateX: xAxis ? xAxis.left : chart.plotLeft,\n                    translateY: yAxis ? yAxis.top : chart.plotTop,\n                    scaleX: 1, // #1623\n                    scaleY: 1\n                };\n            },\n\n            /**\n             * Render the graph and markers\n             */\n            render: function() {\n                var series = this,\n                    chart = series.chart,\n                    group,\n                    options = series.options,\n                    // Animation doesn't work in IE8 quirks when the group div is hidden,\n                    // and looks bad in other oldIE\n                    animDuration = !!series.animate && chart.renderer.isSVG && animObject(options.animation).duration,\n                    visibility = series.visible ? 'inherit' : 'hidden', // #2597\n                    zIndex = options.zIndex,\n                    hasRendered = series.hasRendered,\n                    chartSeriesGroup = chart.seriesGroup,\n                    inverted = chart.inverted;\n\n                // the group\n                group = series.plotGroup(\n                    'group',\n                    'series',\n                    visibility,\n                    zIndex,\n                    chartSeriesGroup\n                );\n\n                series.markerGroup = series.plotGroup(\n                    'markerGroup',\n                    'markers',\n                    visibility,\n                    zIndex,\n                    chartSeriesGroup\n                );\n\n                // initiate the animation\n                if (animDuration) {\n                    series.animate(true);\n                }\n\n                // SVGRenderer needs to know this before drawing elements (#1089, #1795)\n                group.inverted = series.isCartesian ? inverted : false;\n\n                // draw the graph if any\n                if (series.drawGraph) {\n                    series.drawGraph();\n                    series.applyZones();\n                }\n\n                /*\t\teach(series.points, function (point) {\n                \t\t\tif (point.redraw) {\n                \t\t\t\tpoint.redraw();\n                \t\t\t}\n                \t\t});*/\n\n                // draw the data labels (inn pies they go before the points)\n                if (series.drawDataLabels) {\n                    series.drawDataLabels();\n                }\n\n                // draw the points\n                if (series.visible) {\n                    series.drawPoints();\n                }\n\n\n                // draw the mouse tracking area\n                if (series.drawTracker && series.options.enableMouseTracking !== false) {\n                    series.drawTracker();\n                }\n\n                // Handle inverted series and tracker groups\n                series.invertGroups(inverted);\n\n                // Initial clipping, must be defined after inverting groups for VML. Applies to columns etc. (#3839).\n                if (options.clip !== false && !series.sharedClipKey && !hasRendered) {\n                    group.clip(chart.clipRect);\n                }\n\n                // Run the animation\n                if (animDuration) {\n                    series.animate();\n                }\n\n                // Call the afterAnimate function on animation complete (but don't overwrite the animation.complete option\n                // which should be available to the user).\n                if (!hasRendered) {\n                    series.animationTimeout = syncTimeout(function() {\n                        series.afterAnimate();\n                    }, animDuration);\n                }\n\n                series.isDirty = false; // means data is in accordance with what you see\n                // (See #322) series.isDirty = series.isDirtyData = false; // means data is in accordance with what you see\n                series.hasRendered = true;\n            },\n\n            /**\n             * Redraw the series after an update in the axes.\n             */\n            redraw: function() {\n                var series = this,\n                    chart = series.chart,\n                    wasDirty = series.isDirty || series.isDirtyData, // cache it here as it is set to false in render, but used after\n                    group = series.group,\n                    xAxis = series.xAxis,\n                    yAxis = series.yAxis;\n\n                // reposition on resize\n                if (group) {\n                    if (chart.inverted) {\n                        group.attr({\n                            width: chart.plotWidth,\n                            height: chart.plotHeight\n                        });\n                    }\n\n                    group.animate({\n                        translateX: pick(xAxis && xAxis.left, chart.plotLeft),\n                        translateY: pick(yAxis && yAxis.top, chart.plotTop)\n                    });\n                }\n\n                series.translate();\n                series.render();\n                if (wasDirty) { // #3868, #3945\n                    delete this.kdTree;\n                }\n            },\n\n            /**\n             * KD Tree && PointSearching Implementation\n             */\n\n            kdAxisArray: ['clientX', 'plotY'],\n\n            searchPoint: function(e, compareX) {\n                var series = this,\n                    xAxis = series.xAxis,\n                    yAxis = series.yAxis,\n                    inverted = series.chart.inverted;\n\n                return this.searchKDTree({\n                    clientX: inverted ? xAxis.len - e.chartY + xAxis.pos : e.chartX - xAxis.pos,\n                    plotY: inverted ? yAxis.len - e.chartX + yAxis.pos : e.chartY - yAxis.pos\n                }, compareX);\n            },\n\n            /**\n             * Build the k-d-tree that is used by mouse and touch interaction to get the\n             * closest point. Line-like series typically have a one-dimensional tree \n             * where points are searched along the X axis, while scatter-like series\n             * typically search in two dimensions, X and Y.\n             */\n            buildKDTree: function() {\n\n                // Prevent multiple k-d-trees from being built simultaneously (#6235)\n                this.buildingKdTree = true;\n\n                var series = this,\n                    dimensions = series.options.findNearestPointBy.indexOf('y') > -1 ?\n                    2 : 1;\n\n                // Internal function\n                function _kdtree(points, depth, dimensions) {\n                    var axis,\n                        median,\n                        length = points && points.length;\n\n                    if (length) {\n\n                        // alternate between the axis\n                        axis = series.kdAxisArray[depth % dimensions];\n\n                        // sort point array\n                        points.sort(function(a, b) {\n                            return a[axis] - b[axis];\n                        });\n\n                        median = Math.floor(length / 2);\n\n                        // build and return nod\n                        return {\n                            point: points[median],\n                            left: _kdtree(points.slice(0, median), depth + 1, dimensions),\n                            right: _kdtree(points.slice(median + 1), depth + 1, dimensions)\n                        };\n\n                    }\n                }\n\n                // Start the recursive build process with a clone of the points array and null points filtered out (#3873)\n                function startRecursive() {\n                    series.kdTree = _kdtree(\n                        series.getValidPoints(\n                            null, !series.directTouch // For line-type series restrict to plot area, but column-type series not (#3916, #4511)\n                        ),\n                        dimensions,\n                        dimensions\n                    );\n                    series.buildingKdTree = false;\n                }\n                delete series.kdTree;\n\n                // For testing tooltips, don't build async\n                syncTimeout(startRecursive, series.options.kdNow ? 0 : 1);\n            },\n\n            searchKDTree: function(point, compareX) {\n                var series = this,\n                    kdX = this.kdAxisArray[0],\n                    kdY = this.kdAxisArray[1],\n                    kdComparer = compareX ? 'distX' : 'dist',\n                    kdDimensions = series.options.findNearestPointBy.indexOf('y') > -1 ?\n                    2 : 1;\n\n                // Set the one and two dimensional distance on the point object\n                function setDistance(p1, p2) {\n                    var x = (defined(p1[kdX]) && defined(p2[kdX])) ? Math.pow(p1[kdX] - p2[kdX], 2) : null,\n                        y = (defined(p1[kdY]) && defined(p2[kdY])) ? Math.pow(p1[kdY] - p2[kdY], 2) : null,\n                        r = (x || 0) + (y || 0);\n\n                    p2.dist = defined(r) ? Math.sqrt(r) : Number.MAX_VALUE;\n                    p2.distX = defined(x) ? Math.sqrt(x) : Number.MAX_VALUE;\n                }\n\n                function _search(search, tree, depth, dimensions) {\n                    var point = tree.point,\n                        axis = series.kdAxisArray[depth % dimensions],\n                        tdist,\n                        sideA,\n                        sideB,\n                        ret = point,\n                        nPoint1,\n                        nPoint2;\n\n                    setDistance(search, point);\n\n                    // Pick side based on distance to splitting point\n                    tdist = search[axis] - point[axis];\n                    sideA = tdist < 0 ? 'left' : 'right';\n                    sideB = tdist < 0 ? 'right' : 'left';\n\n                    // End of tree\n                    if (tree[sideA]) {\n                        nPoint1 = _search(search, tree[sideA], depth + 1, dimensions);\n\n                        ret = (nPoint1[kdComparer] < ret[kdComparer] ? nPoint1 : point);\n                    }\n                    if (tree[sideB]) {\n                        // compare distance to current best to splitting point to decide wether to check side B or not\n                        if (Math.sqrt(tdist * tdist) < ret[kdComparer]) {\n                            nPoint2 = _search(search, tree[sideB], depth + 1, dimensions);\n                            ret = (nPoint2[kdComparer] < ret[kdComparer] ? nPoint2 : ret);\n                        }\n                    }\n\n                    return ret;\n                }\n\n                if (!this.kdTree && !this.buildingKdTree) {\n                    this.buildKDTree();\n                }\n\n                if (this.kdTree) {\n                    return _search(point, this.kdTree, kdDimensions, kdDimensions);\n                }\n            }\n\n        }); // end Series prototype\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var Axis = H.Axis,\n            Chart = H.Chart,\n            correctFloat = H.correctFloat,\n            defined = H.defined,\n            destroyObjectProperties = H.destroyObjectProperties,\n            each = H.each,\n            format = H.format,\n            pick = H.pick,\n            Series = H.Series;\n\n        /**\n         * The class for stacks. Each stack, on a specific X value and either negative\n         * or positive, has its own stack item.\n         *\n         * @class\n         */\n        function StackItem(axis, options, isNegative, x, stackOption) {\n\n            var inverted = axis.chart.inverted;\n\n            this.axis = axis;\n\n            // Tells if the stack is negative\n            this.isNegative = isNegative;\n\n            // Save the options to be able to style the label\n            this.options = options;\n\n            // Save the x value to be able to position the label later\n            this.x = x;\n\n            // Initialize total value\n            this.total = null;\n\n            // This will keep each points' extremes stored by series.index and point \n            // index\n            this.points = {};\n\n            // Save the stack option on the series configuration object, and whether to \n            // treat it as percent\n            this.stack = stackOption;\n            this.leftCliff = 0;\n            this.rightCliff = 0;\n\n            // The align options and text align varies on whether the stack is negative \n            // and if the chart is inverted or not.\n            // First test the user supplied value, then use the dynamic.\n            this.alignOptions = {\n                align: options.align ||\n                    (inverted ? (isNegative ? 'left' : 'right') : 'center'),\n                verticalAlign: options.verticalAlign ||\n                    (inverted ? 'middle' : (isNegative ? 'bottom' : 'top')),\n                y: pick(options.y, inverted ? 4 : (isNegative ? 14 : -6)),\n                x: pick(options.x, inverted ? (isNegative ? -6 : 6) : 0)\n            };\n\n            this.textAlign = options.textAlign ||\n                (inverted ? (isNegative ? 'right' : 'left') : 'center');\n        }\n\n        StackItem.prototype = {\n            destroy: function() {\n                destroyObjectProperties(this, this.axis);\n            },\n\n            /**\n             * Renders the stack total label and adds it to the stack label group.\n             */\n            render: function(group) {\n                var options = this.options,\n                    formatOption = options.format,\n                    str = formatOption ?\n                    format(formatOption, this) :\n                    options.formatter.call(this); // format the text in the label\n\n                // Change the text to reflect the new total and set visibility to hidden\n                // in case the serie is hidden\n                if (this.label) {\n                    this.label.attr({\n                        text: str,\n                        visibility: 'hidden'\n                    });\n                    // Create new label\n                } else {\n                    this.label =\n                        this.axis.chart.renderer.text(str, null, null, options.useHTML)\n                        .css(options.style)\n                        .attr({\n                            align: this.textAlign,\n                            rotation: options.rotation,\n                            visibility: 'hidden' // hidden until setOffset is called\n                        })\n                        .add(group); // add to the labels-group\n                }\n            },\n\n            /**\n             * Sets the offset that the stack has from the x value and repositions the\n             * label.\n             */\n            setOffset: function(xOffset, xWidth) {\n                var stackItem = this,\n                    axis = stackItem.axis,\n                    chart = axis.chart,\n                    inverted = chart.inverted,\n                    reversed = axis.reversed,\n                    neg = (this.isNegative && !reversed) ||\n                    (!this.isNegative && reversed), // #4056\n                    // stack value translated mapped to chart coordinates\n                    y = axis.translate(\n                        axis.usePercentage ? 100 : this.total,\n                        0,\n                        0,\n                        0,\n                        1\n                    ),\n                    yZero = axis.translate(0), // stack origin\n                    h = Math.abs(y - yZero), // stack height\n                    x = chart.xAxis[0].translate(this.x) + xOffset, // stack x position\n                    plotHeight = chart.plotHeight,\n                    stackBox = { // this is the box for the complete stack\n                        x: inverted ? (neg ? y : y - h) : x,\n                        y: inverted ?\n                            plotHeight - x - xWidth : (neg ? (plotHeight - y - h) :\n                                plotHeight - y),\n                        width: inverted ? h : xWidth,\n                        height: inverted ? xWidth : h\n                    },\n                    label = this.label,\n                    alignAttr;\n\n                if (label) {\n                    // Align the label to the box\n                    label.align(this.alignOptions, null, stackBox);\n\n                    // Set visibility (#678)\n                    alignAttr = label.alignAttr;\n                    label[\n                        this.options.crop === false || chart.isInsidePlot(\n                            alignAttr.x,\n                            alignAttr.y\n                        ) ? 'show' : 'hide'](true);\n                }\n            }\n        };\n\n        /**\n         * Generate stacks for each series and calculate stacks total values\n         */\n        Chart.prototype.getStacks = function() {\n            var chart = this;\n\n            // reset stacks for each yAxis\n            each(chart.yAxis, function(axis) {\n                if (axis.stacks && axis.hasVisibleSeries) {\n                    axis.oldStacks = axis.stacks;\n                }\n            });\n\n            each(chart.series, function(series) {\n                if (series.options.stacking && (series.visible === true ||\n                        chart.options.chart.ignoreHiddenSeries === false)) {\n                    series.stackKey = series.type + pick(series.options.stack, '');\n                }\n            });\n        };\n\n\n        // Stacking methods defined on the Axis prototype\n\n        /**\n         * Build the stacks from top down\n         */\n        Axis.prototype.buildStacks = function() {\n            var axisSeries = this.series,\n                series,\n                reversedStacks = pick(this.options.reversedStacks, true),\n                len = axisSeries.length,\n                i;\n            if (!this.isXAxis) {\n                this.usePercentage = false;\n                i = len;\n                while (i--) {\n                    axisSeries[reversedStacks ? i : len - i - 1].setStackedPoints();\n                }\n\n                i = len;\n                while (i--) {\n                    series = axisSeries[reversedStacks ? i : len - i - 1];\n                    if (series.setStackCliffs) {\n                        series.setStackCliffs();\n                    }\n                }\n                // Loop up again to compute percent stack\n                if (this.usePercentage) {\n                    for (i = 0; i < len; i++) {\n                        axisSeries[i].setPercentStacks();\n                    }\n                }\n            }\n        };\n\n        Axis.prototype.renderStackTotals = function() {\n            var axis = this,\n                chart = axis.chart,\n                renderer = chart.renderer,\n                stacks = axis.stacks,\n                stackKey,\n                oneStack,\n                stackCategory,\n                stackTotalGroup = axis.stackTotalGroup;\n\n            // Create a separate group for the stack total labels\n            if (!stackTotalGroup) {\n                axis.stackTotalGroup = stackTotalGroup =\n                    renderer.g('stack-labels')\n                    .attr({\n                        visibility: 'visible',\n                        zIndex: 6\n                    })\n                    .add();\n            }\n\n            // plotLeft/Top will change when y axis gets wider so we need to translate\n            // the stackTotalGroup at every render call. See bug #506 and #516\n            stackTotalGroup.translate(chart.plotLeft, chart.plotTop);\n\n            // Render each stack total\n            for (stackKey in stacks) {\n                oneStack = stacks[stackKey];\n                for (stackCategory in oneStack) {\n                    oneStack[stackCategory].render(stackTotalGroup);\n                }\n            }\n        };\n\n        /**\n         * Set all the stacks to initial states and destroy unused ones.\n         */\n        Axis.prototype.resetStacks = function() {\n            var stacks = this.stacks,\n                type,\n                i;\n            if (!this.isXAxis) {\n                for (type in stacks) {\n                    for (i in stacks[type]) {\n\n                        // Clean up memory after point deletion (#1044, #4320)\n                        if (stacks[type][i].touched < this.stacksTouched) {\n                            stacks[type][i].destroy();\n                            delete stacks[type][i];\n\n                            // Reset stacks\n                        } else {\n                            stacks[type][i].total = null;\n                            stacks[type][i].cum = null;\n                        }\n                    }\n                }\n            }\n        };\n\n        Axis.prototype.cleanStacks = function() {\n            var stacks, type, i;\n\n            if (!this.isXAxis) {\n                if (this.oldStacks) {\n                    stacks = this.stacks = this.oldStacks;\n                }\n\n                // reset stacks\n                for (type in stacks) {\n                    for (i in stacks[type]) {\n                        stacks[type][i].cum = stacks[type][i].total;\n                    }\n                }\n            }\n        };\n\n\n        // Stacking methods defnied for Series prototype\n\n        /**\n         * Adds series' points value to corresponding stack\n         */\n        Series.prototype.setStackedPoints = function() {\n            if (!this.options.stacking || (this.visible !== true &&\n                    this.chart.options.chart.ignoreHiddenSeries !== false)) {\n                return;\n            }\n\n            var series = this,\n                xData = series.processedXData,\n                yData = series.processedYData,\n                stackedYData = [],\n                yDataLength = yData.length,\n                seriesOptions = series.options,\n                threshold = seriesOptions.threshold,\n                stackThreshold = seriesOptions.startFromThreshold ? threshold : 0,\n                stackOption = seriesOptions.stack,\n                stacking = seriesOptions.stacking,\n                stackKey = series.stackKey,\n                negKey = '-' + stackKey,\n                negStacks = series.negStacks,\n                yAxis = series.yAxis,\n                stacks = yAxis.stacks,\n                oldStacks = yAxis.oldStacks,\n                stackIndicator,\n                isNegative,\n                stack,\n                other,\n                key,\n                pointKey,\n                i,\n                x,\n                y;\n\n\n            yAxis.stacksTouched += 1;\n\n            // loop over the non-null y values and read them into a local array\n            for (i = 0; i < yDataLength; i++) {\n                x = xData[i];\n                y = yData[i];\n                stackIndicator = series.getStackIndicator(\n                    stackIndicator,\n                    x,\n                    series.index\n                );\n                pointKey = stackIndicator.key;\n                // Read stacked values into a stack based on the x value,\n                // the sign of y and the stack key. Stacking is also handled for null\n                // values (#739)\n                isNegative = negStacks && y < (stackThreshold ? 0 : threshold);\n                key = isNegative ? negKey : stackKey;\n\n                // Create empty object for this stack if it doesn't exist yet\n                if (!stacks[key]) {\n                    stacks[key] = {};\n                }\n\n                // Initialize StackItem for this x\n                if (!stacks[key][x]) {\n                    if (oldStacks[key] && oldStacks[key][x]) {\n                        stacks[key][x] = oldStacks[key][x];\n                        stacks[key][x].total = null;\n                    } else {\n                        stacks[key][x] = new StackItem(\n                            yAxis,\n                            yAxis.options.stackLabels,\n                            isNegative,\n                            x,\n                            stackOption\n                        );\n                    }\n                }\n\n                // If the StackItem doesn't exist, create it first\n                stack = stacks[key][x];\n                if (y !== null) {\n                    stack.points[pointKey] = stack.points[series.index] = [pick(stack.cum, stackThreshold)];\n\n                    // Record the base of the stack\n                    if (!defined(stack.cum)) {\n                        stack.base = pointKey;\n                    }\n                    stack.touched = yAxis.stacksTouched;\n\n\n                    // In area charts, if there are multiple points on the same X value,\n                    // let the area fill the full span of those points\n                    if (stackIndicator.index > 0 && series.singleStacks === false) {\n                        stack.points[pointKey][0] =\n                            stack.points[series.index + ',' + x + ',0'][0];\n                    }\n                }\n\n                // Add value to the stack total\n                if (stacking === 'percent') {\n\n                    // Percent stacked column, totals are the same for the positive and\n                    // negative stacks\n                    other = isNegative ? stackKey : negKey;\n                    if (negStacks && stacks[other] && stacks[other][x]) {\n                        other = stacks[other][x];\n                        stack.total = other.total =\n                            Math.max(other.total, stack.total) + Math.abs(y) || 0;\n\n                        // Percent stacked areas\n                    } else {\n                        stack.total = correctFloat(stack.total + (Math.abs(y) || 0));\n                    }\n                } else {\n                    stack.total = correctFloat(stack.total + (y || 0));\n                }\n\n                stack.cum = pick(stack.cum, stackThreshold) + (y || 0);\n\n                if (y !== null) {\n                    stack.points[pointKey].push(stack.cum);\n                    stackedYData[i] = stack.cum;\n                }\n\n            }\n\n            if (stacking === 'percent') {\n                yAxis.usePercentage = true;\n            }\n\n            this.stackedYData = stackedYData; // To be used in getExtremes\n\n            // Reset old stacks\n            yAxis.oldStacks = {};\n        };\n\n        /**\n         * Iterate over all stacks and compute the absolute values to percent\n         */\n        Series.prototype.setPercentStacks = function() {\n            var series = this,\n                stackKey = series.stackKey,\n                stacks = series.yAxis.stacks,\n                processedXData = series.processedXData,\n                stackIndicator;\n\n            each([stackKey, '-' + stackKey], function(key) {\n                var i = processedXData.length,\n                    x,\n                    stack,\n                    pointExtremes,\n                    totalFactor;\n\n                while (i--) {\n                    x = processedXData[i];\n                    stackIndicator = series.getStackIndicator(\n                        stackIndicator,\n                        x,\n                        series.index,\n                        key\n                    );\n                    stack = stacks[key] && stacks[key][x];\n                    pointExtremes = stack && stack.points[stackIndicator.key];\n                    if (pointExtremes) {\n                        totalFactor = stack.total ? 100 / stack.total : 0;\n                        // Y bottom value\n                        pointExtremes[0] = correctFloat(pointExtremes[0] * totalFactor);\n                        // Y value\n                        pointExtremes[1] = correctFloat(pointExtremes[1] * totalFactor);\n                        series.stackedYData[i] = pointExtremes[1];\n                    }\n                }\n            });\n        };\n\n        /**\n         * Get stack indicator, according to it's x-value, to determine points with the\n         * same x-value\n         */\n        Series.prototype.getStackIndicator = function(stackIndicator, x, index, key) {\n            // Update stack indicator, when:\n            // first point in a stack || x changed || stack type (negative vs positive)\n            // changed:\n            if (!defined(stackIndicator) || stackIndicator.x !== x ||\n                (key && stackIndicator.key !== key)) {\n                stackIndicator = {\n                    x: x,\n                    index: 0,\n                    key: key\n                };\n            } else {\n                stackIndicator.index++;\n            }\n\n            stackIndicator.key = [index, x, stackIndicator.index].join(',');\n\n            return stackIndicator;\n        };\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var addEvent = H.addEvent,\n            animate = H.animate,\n            Axis = H.Axis,\n            Chart = H.Chart,\n            createElement = H.createElement,\n            css = H.css,\n            defined = H.defined,\n            each = H.each,\n            erase = H.erase,\n            extend = H.extend,\n            fireEvent = H.fireEvent,\n            inArray = H.inArray,\n            isNumber = H.isNumber,\n            isObject = H.isObject,\n            merge = H.merge,\n            pick = H.pick,\n            Point = H.Point,\n            Series = H.Series,\n            seriesTypes = H.seriesTypes,\n            setAnimation = H.setAnimation,\n            splat = H.splat;\n\n        // Extend the Chart prototype for dynamic methods\n        extend(Chart.prototype, /** @lends Highcharts.Chart.prototype */ {\n\n            /**\n             * Add a series dynamically after  time\n             *\n             * @param {Object} options The config options\n             * @param {Boolean} redraw Whether to redraw the chart after adding. Defaults to true.\n             * @param {Boolean|Object} animation Whether to apply animation, and optionally animation\n             *    configuration\n             *\n             * @return {Object} series The newly created series object\n             */\n            addSeries: function(options, redraw, animation) {\n                var series,\n                    chart = this;\n\n                if (options) {\n                    redraw = pick(redraw, true); // defaults to true\n\n                    fireEvent(chart, 'addSeries', {\n                        options: options\n                    }, function() {\n                        series = chart.initSeries(options);\n\n                        chart.isDirtyLegend = true; // the series array is out of sync with the display\n                        chart.linkSeries();\n                        if (redraw) {\n                            chart.redraw(animation);\n                        }\n                    });\n                }\n\n                return series;\n            },\n\n            /**\n             * Add an axis to the chart\n             * @param {Object} options The axis option\n             * @param {Boolean} isX Whether it is an X axis or a value axis\n             */\n            addAxis: function(options, isX, redraw, animation) {\n                var key = isX ? 'xAxis' : 'yAxis',\n                    chartOptions = this.options,\n                    userOptions = merge(options, {\n                        index: this[key].length,\n                        isX: isX\n                    });\n\n                new Axis(this, userOptions); // eslint-disable-line no-new\n\n                // Push the new axis options to the chart options\n                chartOptions[key] = splat(chartOptions[key] || {});\n                chartOptions[key].push(userOptions);\n\n                if (pick(redraw, true)) {\n                    this.redraw(animation);\n                }\n            },\n\n            /**\n             * Dim the chart and show a loading text or symbol\n             * @param {String} str An optional text to show in the loading label instead of the default one\n             */\n            showLoading: function(str) {\n                var chart = this,\n                    options = chart.options,\n                    loadingDiv = chart.loadingDiv,\n                    loadingOptions = options.loading,\n                    setLoadingSize = function() {\n                        if (loadingDiv) {\n                            css(loadingDiv, {\n                                left: chart.plotLeft + 'px',\n                                top: chart.plotTop + 'px',\n                                width: chart.plotWidth + 'px',\n                                height: chart.plotHeight + 'px'\n                            });\n                        }\n                    };\n\n                // create the layer at the first call\n                if (!loadingDiv) {\n                    chart.loadingDiv = loadingDiv = createElement('div', {\n                        className: 'highcharts-loading highcharts-loading-hidden'\n                    }, null, chart.container);\n\n                    chart.loadingSpan = createElement(\n                        'span', {\n                            className: 'highcharts-loading-inner'\n                        },\n                        null,\n                        loadingDiv\n                    );\n                    addEvent(chart, 'redraw', setLoadingSize); // #1080\n                }\n\n                loadingDiv.className = 'highcharts-loading';\n\n                // Update text\n                chart.loadingSpan.innerHTML = str || options.lang.loading;\n\n\n                // Update visuals\n                css(loadingDiv, extend(loadingOptions.style, {\n                    zIndex: 10\n                }));\n                css(chart.loadingSpan, loadingOptions.labelStyle);\n\n                // Show it\n                if (!chart.loadingShown) {\n                    css(loadingDiv, {\n                        opacity: 0,\n                        display: ''\n                    });\n                    animate(loadingDiv, {\n                        opacity: loadingOptions.style.opacity || 0.5\n                    }, {\n                        duration: loadingOptions.showDuration || 0\n                    });\n                }\n\n\n                chart.loadingShown = true;\n                setLoadingSize();\n            },\n\n            /**\n             * Hide the loading layer\n             */\n            hideLoading: function() {\n                var options = this.options,\n                    loadingDiv = this.loadingDiv;\n\n                if (loadingDiv) {\n                    loadingDiv.className = 'highcharts-loading highcharts-loading-hidden';\n\n                    animate(loadingDiv, {\n                        opacity: 0\n                    }, {\n                        duration: options.loading.hideDuration || 100,\n                        complete: function() {\n                            css(loadingDiv, {\n                                display: 'none'\n                            });\n                        }\n                    });\n\n                }\n                this.loadingShown = false;\n            },\n\n            /** \n             * These properties cause isDirtyBox to be set to true when updating. Can be extended from plugins.\n             */\n            propsRequireDirtyBox: ['backgroundColor', 'borderColor', 'borderWidth', 'margin', 'marginTop', 'marginRight',\n                'marginBottom', 'marginLeft', 'spacing', 'spacingTop', 'spacingRight', 'spacingBottom', 'spacingLeft',\n                'borderRadius', 'plotBackgroundColor', 'plotBackgroundImage', 'plotBorderColor', 'plotBorderWidth',\n                'plotShadow', 'shadow'\n            ],\n\n            /** \n             * These properties cause all series to be updated when updating. Can be\n             * extended from plugins.\n             */\n            propsRequireUpdateSeries: ['chart.inverted', 'chart.polar',\n                'chart.ignoreHiddenSeries', 'chart.type', 'colors', 'plotOptions'\n            ],\n\n            /**\n             * Chart.update function that takes the whole options stucture.\n             */\n            update: function(options, redraw) {\n                var key,\n                    adders = {\n                        credits: 'addCredits',\n                        title: 'setTitle',\n                        subtitle: 'setSubtitle'\n                    },\n                    optionsChart = options.chart,\n                    updateAllAxes,\n                    updateAllSeries,\n                    newWidth,\n                    newHeight;\n\n                // If the top-level chart option is present, some special updates are required\t\t\n                if (optionsChart) {\n                    merge(true, this.options.chart, optionsChart);\n\n                    // Setter function\n                    if ('className' in optionsChart) {\n                        this.setClassName(optionsChart.className);\n                    }\n\n                    if ('inverted' in optionsChart || 'polar' in optionsChart) {\n                        // Parse options.chart.inverted and options.chart.polar together\n                        // with the available series.\n                        this.propFromSeries();\n                        updateAllAxes = true;\n                    }\n\n                    if ('alignTicks' in optionsChart) { // #6452\n                        updateAllAxes = true;\n                    }\n\n                    for (key in optionsChart) {\n                        if (optionsChart.hasOwnProperty(key)) {\n                            if (inArray('chart.' + key, this.propsRequireUpdateSeries) !== -1) {\n                                updateAllSeries = true;\n                            }\n                            // Only dirty box\n                            if (inArray(key, this.propsRequireDirtyBox) !== -1) {\n                                this.isDirtyBox = true;\n                            }\n\n                        }\n                    }\n\n\n                    if ('style' in optionsChart) {\n                        this.renderer.setStyle(optionsChart.style);\n                    }\n\n                }\n\n                // Some option stuctures correspond one-to-one to chart objects that have\n                // update methods, for example\n                // options.credits => chart.credits\n                // options.legend => chart.legend\n                // options.title => chart.title\n                // options.tooltip => chart.tooltip\n                // options.subtitle => chart.subtitle\n                // options.mapNavigation => chart.mapNavigation\n                // options.navigator => chart.navigator\n                // options.scrollbar => chart.scrollbar\n                for (key in options) {\n                    if (this[key] && typeof this[key].update === 'function') {\n                        this[key].update(options[key], false);\n\n                        // If a one-to-one object does not exist, look for an adder function\n                    } else if (typeof this[adders[key]] === 'function') {\n                        this[adders[key]](options[key]);\n                    }\n\n                    if (key !== 'chart' && inArray(key, this.propsRequireUpdateSeries) !== -1) {\n                        updateAllSeries = true;\n                    }\n                }\n\n\n                if (options.colors) {\n                    this.options.colors = options.colors;\n                }\n\n\n                if (options.plotOptions) {\n                    merge(true, this.options.plotOptions, options.plotOptions);\n                }\n\n                // Setters for collections. For axes and series, each item is referred\n                // by an id. If the id is not found, it defaults to the corresponding\n                // item in the collection, so setting one series without an id, will\n                // update the first series in the chart. Setting two series without\n                // an id will update the first and the second respectively (#6019)\n                // chart.update and responsive.\n                each(['xAxis', 'yAxis', 'series', 'colorAxis', 'pane'], function(coll) {\n                    if (options[coll]) {\n                        each(splat(options[coll]), function(newOptions, i) {\n                            var item = (\n                                defined(newOptions.id) &&\n                                this.get(newOptions.id)\n                            ) || this[coll][i];\n                            if (item && item.coll === coll) {\n                                item.update(newOptions, false);\n                            }\n                        }, this);\n                    }\n                }, this);\n\n                if (updateAllAxes) {\n                    each(this.axes, function(axis) {\n                        axis.update({}, false);\n                    });\n                }\n\n                // Certain options require the whole series structure to be thrown away\n                // and rebuilt\n                if (updateAllSeries) {\n                    each(this.series, function(series) {\n                        series.update({}, false);\n                    });\n                }\n\n                // For loading, just update the options, do not redraw\n                if (options.loading) {\n                    merge(true, this.options.loading, options.loading);\n                }\n\n                // Update size. Redraw is forced.\n                newWidth = optionsChart && optionsChart.width;\n                newHeight = optionsChart && optionsChart.height;\n                if ((isNumber(newWidth) && newWidth !== this.chartWidth) ||\n                    (isNumber(newHeight) && newHeight !== this.chartHeight)) {\n                    this.setSize(newWidth, newHeight);\n                } else if (pick(redraw, true)) {\n                    this.redraw();\n                }\n            },\n\n            /**\n             * Setter function to allow use from chart.update\n             */\n            setSubtitle: function(options) {\n                this.setTitle(undefined, options);\n            }\n\n\n        });\n\n        // extend the Point prototype for dynamic methods\n        extend(Point.prototype, /** @lends Point.prototype */ {\n            /**\n             * Point.update with new options (typically x/y data) and optionally redraw the series.\n             *\n             * @param {Object} options Point options as defined in the series.data array\n             * @param {Boolean} redraw Whether to redraw the chart or wait for an explicit call\n             * @param {Boolean|Object} animation Whether to apply animation, and optionally animation\n             *    configuration\n             */\n            update: function(options, redraw, animation, runEvent) {\n                var point = this,\n                    series = point.series,\n                    graphic = point.graphic,\n                    i,\n                    chart = series.chart,\n                    seriesOptions = series.options;\n\n                redraw = pick(redraw, true);\n\n                function update() {\n\n                    point.applyOptions(options);\n\n                    // Update visuals\n                    if (point.y === null && graphic) { // #4146\n                        point.graphic = graphic.destroy();\n                    }\n                    if (isObject(options, true)) {\n                        // Destroy so we can get new elements\n                        if (graphic && graphic.element) {\n                            if (options && options.marker && options.marker.symbol) {\n                                point.graphic = graphic.destroy();\n                            }\n                        }\n                        if (options && options.dataLabels && point.dataLabel) { // #2468\n                            point.dataLabel = point.dataLabel.destroy();\n                        }\n                    }\n\n                    // record changes in the parallel arrays\n                    i = point.index;\n                    series.updateParallelArrays(point, i);\n\n                    // Record the options to options.data. If the old or the new config\n                    // is an object, use point options, otherwise use raw options\n                    // (#4701, #4916).\n                    seriesOptions.data[i] = (\n                            isObject(seriesOptions.data[i], true) ||\n                            isObject(options, true)\n                        ) ?\n                        point.options :\n                        options;\n\n                    // redraw\n                    series.isDirty = series.isDirtyData = true;\n                    if (!series.fixedBox && series.hasCartesianSeries) { // #1906, #2320\n                        chart.isDirtyBox = true;\n                    }\n\n                    if (seriesOptions.legendType === 'point') { // #1831, #1885\n                        chart.isDirtyLegend = true;\n                    }\n                    if (redraw) {\n                        chart.redraw(animation);\n                    }\n                }\n\n                // Fire the event with a default handler of doing the update\n                if (runEvent === false) { // When called from setData\n                    update();\n                } else {\n                    point.firePointEvent('update', {\n                        options: options\n                    }, update);\n                }\n            },\n\n            /**\n             * Remove a point and optionally redraw the series and if necessary the axes\n             * @param {Boolean} redraw Whether to redraw the chart or wait for an explicit call\n             * @param {Boolean|Object} animation Whether to apply animation, and optionally animation\n             *    configuration\n             */\n            remove: function(redraw, animation) {\n                this.series.removePoint(inArray(this, this.series.data), redraw, animation);\n            }\n        });\n\n        // Extend the series prototype for dynamic methods\n        extend(Series.prototype, /** @lends Series.prototype */ {\n            /**\n             * Add a point dynamically after chart load time\n             * @param {Object} options Point options as given in series.data\n             * @param {Boolean} redraw Whether to redraw the chart or wait for an explicit call\n             * @param {Boolean} shift If shift is true, a point is shifted off the start\n             *    of the series as one is appended to the end.\n             * @param {Boolean|AnimationOptions} animation Whether to apply animation, and optionally animation\n             *    configuration\n             */\n            addPoint: function(options, redraw, shift, animation) {\n                var series = this,\n                    seriesOptions = series.options,\n                    data = series.data,\n                    chart = series.chart,\n                    xAxis = series.xAxis,\n                    names = xAxis && xAxis.hasNames && xAxis.names,\n                    dataOptions = seriesOptions.data,\n                    point,\n                    isInTheMiddle,\n                    xData = series.xData,\n                    i,\n                    x;\n\n                // Optional redraw, defaults to true\n                redraw = pick(redraw, true);\n\n                // Get options and push the point to xData, yData and series.options. In series.generatePoints\n                // the Point instance will be created on demand and pushed to the series.data array.\n                point = {\n                    series: series\n                };\n                series.pointClass.prototype.applyOptions.apply(point, [options]);\n                x = point.x;\n\n                // Get the insertion point\n                i = xData.length;\n                if (series.requireSorting && x < xData[i - 1]) {\n                    isInTheMiddle = true;\n                    while (i && xData[i - 1] > x) {\n                        i--;\n                    }\n                }\n\n                series.updateParallelArrays(point, 'splice', i, 0, 0); // insert undefined item\n                series.updateParallelArrays(point, i); // update it\n\n                if (names && point.name) {\n                    names[x] = point.name;\n                }\n                dataOptions.splice(i, 0, options);\n\n                if (isInTheMiddle) {\n                    series.data.splice(i, 0, null);\n                    series.processData();\n                }\n\n                // Generate points to be added to the legend (#1329)\n                if (seriesOptions.legendType === 'point') {\n                    series.generatePoints();\n                }\n\n                // Shift the first point off the parallel arrays\n                if (shift) {\n                    if (data[0] && data[0].remove) {\n                        data[0].remove(false);\n                    } else {\n                        data.shift();\n                        series.updateParallelArrays(point, 'shift');\n\n                        dataOptions.shift();\n                    }\n                }\n\n                // redraw\n                series.isDirty = true;\n                series.isDirtyData = true;\n\n                if (redraw) {\n                    chart.redraw(animation); // Animation is set anyway on redraw, #5665\n                }\n            },\n\n            /**\n             * Remove a point (rendered or not), by index\n             */\n            removePoint: function(i, redraw, animation) {\n\n                var series = this,\n                    data = series.data,\n                    point = data[i],\n                    points = series.points,\n                    chart = series.chart,\n                    remove = function() {\n\n                        if (points && points.length === data.length) { // #4935\n                            points.splice(i, 1);\n                        }\n                        data.splice(i, 1);\n                        series.options.data.splice(i, 1);\n                        series.updateParallelArrays(point || {\n                            series: series\n                        }, 'splice', i, 1);\n\n                        if (point) {\n                            point.destroy();\n                        }\n\n                        // redraw\n                        series.isDirty = true;\n                        series.isDirtyData = true;\n                        if (redraw) {\n                            chart.redraw();\n                        }\n                    };\n\n                setAnimation(animation, chart);\n                redraw = pick(redraw, true);\n\n                // Fire the event with a default handler of removing the point\n                if (point) {\n                    point.firePointEvent('remove', null, remove);\n                } else {\n                    remove();\n                }\n            },\n\n            /**\n             * Remove a series and optionally redraw the chart\n             *\n             * @param {Boolean} redraw Whether to redraw the chart or wait for an explicit call\n             * @param {Boolean|Object} animation Whether to apply animation, and optionally animation\n             *    configuration\n             */\n            remove: function(redraw, animation, withEvent) {\n                var series = this,\n                    chart = series.chart;\n\n                function remove() {\n\n                    // Destroy elements\n                    series.destroy();\n\n                    // Redraw\n                    chart.isDirtyLegend = chart.isDirtyBox = true;\n                    chart.linkSeries();\n\n                    if (pick(redraw, true)) {\n                        chart.redraw(animation);\n                    }\n                }\n\n                // Fire the event with a default handler of removing the point\n                if (withEvent !== false) {\n                    fireEvent(series, 'remove', null, remove);\n                } else {\n                    remove();\n                }\n            },\n\n            /**\n             * Series.update with a new set of options\n             */\n            update: function(newOptions, redraw) {\n                var series = this,\n                    chart = this.chart,\n                    // must use user options when changing type because this.options is merged\n                    // in with type specific plotOptions\n                    oldOptions = this.userOptions,\n                    oldType = this.oldType || this.type,\n                    newType = newOptions.type || oldOptions.type || chart.options.chart.type,\n                    proto = seriesTypes[oldType].prototype,\n                    preserve = ['group', 'markerGroup', 'dataLabelsGroup'],\n                    n;\n\n                // If we're changing type or zIndex, create new groups (#3380, #3404)\n                if ((newType && newType !== oldType) || newOptions.zIndex !== undefined) {\n                    preserve.length = 0;\n                }\n\n                // Make sure groups are not destroyed (#3094)\n                each(preserve, function(prop) {\n                    preserve[prop] = series[prop];\n                    delete series[prop];\n                });\n\n                // Do the merge, with some forced options\n                newOptions = merge(oldOptions, {\n                    animation: false,\n                    index: this.index,\n                    pointStart: this.xData[0] // when updating after addPoint\n                }, {\n                    data: this.options.data\n                }, newOptions);\n\n                // Destroy the series and delete all properties. Reinsert all methods\n                // and properties from the new type prototype (#2270, #3719)\n                this.remove(false, null, false);\n                for (n in proto) {\n                    this[n] = undefined;\n                }\n                extend(this, seriesTypes[newType || oldType].prototype);\n\n                // Re-register groups (#3094)\n                each(preserve, function(prop) {\n                    series[prop] = preserve[prop];\n                });\n\n                this.init(chart, newOptions);\n                this.oldType = oldType;\n                chart.linkSeries(); // Links are lost in this.remove (#3028)\n                if (pick(redraw, true)) {\n                    chart.redraw(false);\n                }\n            }\n        });\n\n        // Extend the Axis.prototype for dynamic methods\n        extend(Axis.prototype, /** @lends Axis.prototype */ {\n\n            /**\n             * Axis.update with a new options structure\n             */\n            update: function(newOptions, redraw) {\n                var chart = this.chart;\n\n                newOptions = chart.options[this.coll][this.options.index] = merge(this.userOptions, newOptions);\n\n                this.destroy(true);\n\n                this.init(chart, extend(newOptions, {\n                    events: undefined\n                }));\n\n                chart.isDirtyBox = true;\n                if (pick(redraw, true)) {\n                    chart.redraw();\n                }\n            },\n\n            /**\n             * Remove the axis from the chart\n             */\n            remove: function(redraw) {\n                var chart = this.chart,\n                    key = this.coll, // xAxis or yAxis\n                    axisSeries = this.series,\n                    i = axisSeries.length;\n\n                // Remove associated series (#2687)\n                while (i--) {\n                    if (axisSeries[i]) {\n                        axisSeries[i].remove(false);\n                    }\n                }\n\n                // Remove the axis\n                erase(chart.axes, this);\n                erase(chart[key], this);\n                chart.options[key].splice(this.options.index, 1);\n                each(chart[key], function(axis, i) { // Re-index, #1706\n                    axis.options.index = i;\n                });\n                this.destroy();\n                chart.isDirtyBox = true;\n\n                if (pick(redraw, true)) {\n                    chart.redraw();\n                }\n            },\n\n            /**\n             * Update the axis title by options\n             */\n            setTitle: function(newTitleOptions, redraw) {\n                this.update({\n                    title: newTitleOptions\n                }, redraw);\n            },\n\n            /**\n             * Set new axis categories and optionally redraw\n             * @param {Array} categories\n             * @param {Boolean} redraw\n             */\n            setCategories: function(categories, redraw) {\n                this.update({\n                    categories: categories\n                }, redraw);\n            }\n\n        });\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var color = H.color,\n            each = H.each,\n            LegendSymbolMixin = H.LegendSymbolMixin,\n            map = H.map,\n            pick = H.pick,\n            Series = H.Series,\n            seriesType = H.seriesType;\n\n        /**\n         * Area series type.\n         * @constructor seriesTypes.area\n         * @extends {Series}\n         */\n        seriesType('area', 'line', {\n            softThreshold: false,\n            threshold: 0\n            // trackByArea: false,\n            // lineColor: null, // overrides color, but lets fillColor be unaltered\n            // fillOpacity: 0.75,\n            // fillColor: null\n        }, /** @lends seriesTypes.area.prototype */ {\n            singleStacks: false,\n            /** \n             * Return an array of stacked points, where null and missing points are replaced by \n             * dummy points in order for gaps to be drawn correctly in stacks.\n             */\n            getStackPoints: function() {\n                var series = this,\n                    segment = [],\n                    keys = [],\n                    xAxis = this.xAxis,\n                    yAxis = this.yAxis,\n                    stack = yAxis.stacks[this.stackKey],\n                    pointMap = {},\n                    points = this.points,\n                    seriesIndex = series.index,\n                    yAxisSeries = yAxis.series,\n                    seriesLength = yAxisSeries.length,\n                    visibleSeries,\n                    upOrDown = pick(yAxis.options.reversedStacks, true) ? 1 : -1,\n                    i,\n                    x;\n\n                if (this.options.stacking) {\n                    // Create a map where we can quickly look up the points by their X value.\n                    for (i = 0; i < points.length; i++) {\n                        pointMap[points[i].x] = points[i];\n                    }\n\n                    // Sort the keys (#1651)\n                    for (x in stack) {\n                        if (stack[x].total !== null) { // nulled after switching between grouping and not (#1651, #2336)\n                            keys.push(x);\n                        }\n                    }\n                    keys.sort(function(a, b) {\n                        return a - b;\n                    });\n\n                    visibleSeries = map(yAxisSeries, function() {\n                        return this.visible;\n                    });\n\n                    each(keys, function(x, idx) {\n                        var y = 0,\n                            stackPoint,\n                            stackedValues;\n\n                        if (pointMap[x] && !pointMap[x].isNull) {\n                            segment.push(pointMap[x]);\n\n                            // Find left and right cliff. -1 goes left, 1 goes right.\n                            each([-1, 1], function(direction) {\n                                var nullName = direction === 1 ? 'rightNull' : 'leftNull',\n                                    cliffName = direction === 1 ? 'rightCliff' : 'leftCliff',\n                                    cliff = 0,\n                                    otherStack = stack[keys[idx + direction]];\n\n                                // If there is a stack next to this one, to the left or to the right...\n                                if (otherStack) {\n                                    i = seriesIndex;\n                                    while (i >= 0 && i < seriesLength) { // Can go either up or down, depending on reversedStacks\n                                        stackPoint = otherStack.points[i];\n                                        if (!stackPoint) {\n                                            // If the next point in this series is missing, mark the point\n                                            // with point.leftNull or point.rightNull = true.\n                                            if (i === seriesIndex) {\n                                                pointMap[x][nullName] = true;\n\n                                                // If there are missing points in the next stack in any of the \n                                                // series below this one, we need to substract the missing values\n                                                // and add a hiatus to the left or right.\n                                            } else if (visibleSeries[i]) {\n                                                stackedValues = stack[x].points[i];\n                                                if (stackedValues) {\n                                                    cliff -= stackedValues[1] - stackedValues[0];\n                                                }\n                                            }\n                                        }\n                                        // When reversedStacks is true, loop up, else loop down\n                                        i += upOrDown;\n                                    }\n                                }\n                                pointMap[x][cliffName] = cliff;\n                            });\n\n\n                            // There is no point for this X value in this series, so we \n                            // insert a dummy point in order for the areas to be drawn\n                            // correctly.\n                        } else {\n\n                            // Loop down the stack to find the series below this one that has\n                            // a value (#1991)\n                            i = seriesIndex;\n                            while (i >= 0 && i < seriesLength) {\n                                stackPoint = stack[x].points[i];\n                                if (stackPoint) {\n                                    y = stackPoint[1];\n                                    break;\n                                }\n                                // When reversedStacks is true, loop up, else loop down\n                                i += upOrDown;\n                            }\n                            y = yAxis.translate(y, 0, 1, 0, 1); // #6272\n                            segment.push({\n                                isNull: true,\n                                plotX: xAxis.translate(x, 0, 0, 0, 1), // #6272\n                                x: x,\n                                plotY: y,\n                                yBottom: y\n                            });\n                        }\n                    });\n\n                }\n\n                return segment;\n            },\n\n            getGraphPath: function(points) {\n                var getGraphPath = Series.prototype.getGraphPath,\n                    graphPath,\n                    options = this.options,\n                    stacking = options.stacking,\n                    yAxis = this.yAxis,\n                    topPath,\n                    //topPoints = [],\n                    bottomPath,\n                    bottomPoints = [],\n                    graphPoints = [],\n                    seriesIndex = this.index,\n                    i,\n                    areaPath,\n                    plotX,\n                    stacks = yAxis.stacks[this.stackKey],\n                    threshold = options.threshold,\n                    translatedThreshold = yAxis.getThreshold(options.threshold),\n                    isNull,\n                    yBottom,\n                    connectNulls = options.connectNulls || stacking === 'percent',\n                    /**\n                     * To display null points in underlying stacked series, this series graph must be \n                     * broken, and the area also fall down to fill the gap left by the null point. #2069\n                     */\n                    addDummyPoints = function(i, otherI, side) {\n                        var point = points[i],\n                            stackedValues = stacking && stacks[point.x].points[seriesIndex],\n                            nullVal = point[side + 'Null'] || 0,\n                            cliffVal = point[side + 'Cliff'] || 0,\n                            top,\n                            bottom,\n                            isNull = true;\n\n                        if (cliffVal || nullVal) {\n\n                            top = (nullVal ? stackedValues[0] : stackedValues[1]) + cliffVal;\n                            bottom = stackedValues[0] + cliffVal;\n                            isNull = !!nullVal;\n\n                        } else if (!stacking && points[otherI] && points[otherI].isNull) {\n                            top = bottom = threshold;\n                        }\n\n                        // Add to the top and bottom line of the area\n                        if (top !== undefined) {\n                            graphPoints.push({\n                                plotX: plotX,\n                                plotY: top === null ? translatedThreshold : yAxis.getThreshold(top),\n                                isNull: isNull,\n                                isCliff: true\n                            });\n                            bottomPoints.push({\n                                plotX: plotX,\n                                plotY: bottom === null ? translatedThreshold : yAxis.getThreshold(bottom),\n                                doCurve: false // #1041, gaps in areaspline areas\n                            });\n                        }\n                    };\n\n                // Find what points to use\n                points = points || this.points;\n\n                // Fill in missing points\n                if (stacking) {\n                    points = this.getStackPoints();\n                }\n\n                for (i = 0; i < points.length; i++) {\n                    isNull = points[i].isNull;\n                    plotX = pick(points[i].rectPlotX, points[i].plotX);\n                    yBottom = pick(points[i].yBottom, translatedThreshold);\n\n                    if (!isNull || connectNulls) {\n\n                        if (!connectNulls) {\n                            addDummyPoints(i, i - 1, 'left');\n                        }\n\n                        if (!(isNull && !stacking && connectNulls)) { // Skip null point when stacking is false and connectNulls true\n                            graphPoints.push(points[i]);\n                            bottomPoints.push({\n                                x: i,\n                                plotX: plotX,\n                                plotY: yBottom\n                            });\n                        }\n\n                        if (!connectNulls) {\n                            addDummyPoints(i, i + 1, 'right');\n                        }\n                    }\n                }\n\n                topPath = getGraphPath.call(this, graphPoints, true, true);\n\n                bottomPoints.reversed = true;\n                bottomPath = getGraphPath.call(this, bottomPoints, true, true);\n                if (bottomPath.length) {\n                    bottomPath[0] = 'L';\n                }\n\n                areaPath = topPath.concat(bottomPath);\n                graphPath = getGraphPath.call(this, graphPoints, false, connectNulls); // TODO: don't set leftCliff and rightCliff when connectNulls?\n\n                areaPath.xMap = topPath.xMap;\n                this.areaPath = areaPath;\n\n                return graphPath;\n            },\n\n            /**\n             * Draw the graph and the underlying area. This method calls the Series base\n             * function and adds the area. The areaPath is calculated in the getSegmentPath\n             * method called from Series.prototype.drawGraph.\n             */\n            drawGraph: function() {\n\n                // Define or reset areaPath\n                this.areaPath = [];\n\n                // Call the base method\n                Series.prototype.drawGraph.apply(this);\n\n                // Define local variables\n                var series = this,\n                    areaPath = this.areaPath,\n                    options = this.options,\n                    zones = this.zones,\n                    props = [\n                        [\n                            'area',\n                            'highcharts-area',\n\n                            this.color,\n                            options.fillColor\n\n                        ]\n                    ]; // area name, main color, fill color\n\n                each(zones, function(zone, i) {\n                    props.push([\n                        'zone-area-' + i,\n                        'highcharts-area highcharts-zone-area-' + i + ' ' + zone.className,\n\n                        zone.color || series.color,\n                        zone.fillColor || options.fillColor\n\n                    ]);\n                });\n\n                each(props, function(prop) {\n                    var areaKey = prop[0],\n                        area = series[areaKey];\n\n                    // Create or update the area\n                    if (area) { // update\n                        area.endX = areaPath.xMap;\n                        area.animate({\n                            d: areaPath\n                        });\n\n                    } else { // create\n                        area = series[areaKey] = series.chart.renderer.path(areaPath)\n                            .addClass(prop[1])\n                            .attr({\n\n                                fill: pick(\n                                    prop[3],\n                                    color(prop[2]).setOpacity(pick(options.fillOpacity, 0.75)).get()\n                                ),\n\n                                zIndex: 0 // #1069\n                            }).add(series.group);\n                        area.isArea = true;\n                    }\n                    area.startX = areaPath.xMap;\n                    area.shiftUnit = options.step ? 2 : 1;\n                });\n            },\n\n            drawLegendSymbol: LegendSymbolMixin.drawRectangle\n        });\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var pick = H.pick,\n            seriesType = H.seriesType;\n\n        /**\n         * Spline series type.\n         * @constructor seriesTypes.spline\n         * @extends {Series}\n         */\n        seriesType('spline', 'line', {}, /** @lends seriesTypes.spline.prototype */ {\n            /**\n             * Get the spline segment from a given point's previous neighbour to the given point\n             */\n            getPointSpline: function(points, point, i) {\n                var smoothing = 1.5, // 1 means control points midway between points, 2 means 1/3 from the point, 3 is 1/4 etc\n                    denom = smoothing + 1,\n                    plotX = point.plotX,\n                    plotY = point.plotY,\n                    lastPoint = points[i - 1],\n                    nextPoint = points[i + 1],\n                    leftContX,\n                    leftContY,\n                    rightContX,\n                    rightContY,\n                    ret;\n\n                function doCurve(otherPoint) {\n                    return otherPoint &&\n                        !otherPoint.isNull &&\n                        otherPoint.doCurve !== false &&\n                        !point.isCliff; // #6387, area splines next to null\n                }\n\n                // Find control points\n                if (doCurve(lastPoint) && doCurve(nextPoint)) {\n                    var lastX = lastPoint.plotX,\n                        lastY = lastPoint.plotY,\n                        nextX = nextPoint.plotX,\n                        nextY = nextPoint.plotY,\n                        correction = 0;\n\n                    leftContX = (smoothing * plotX + lastX) / denom;\n                    leftContY = (smoothing * plotY + lastY) / denom;\n                    rightContX = (smoothing * plotX + nextX) / denom;\n                    rightContY = (smoothing * plotY + nextY) / denom;\n\n                    // Have the two control points make a straight line through main point\n                    if (rightContX !== leftContX) { // #5016, division by zero\n                        correction = ((rightContY - leftContY) * (rightContX - plotX)) /\n                            (rightContX - leftContX) + plotY - rightContY;\n                    }\n\n                    leftContY += correction;\n                    rightContY += correction;\n\n                    // to prevent false extremes, check that control points are between\n                    // neighbouring points' y values\n                    if (leftContY > lastY && leftContY > plotY) {\n                        leftContY = Math.max(lastY, plotY);\n                        rightContY = 2 * plotY - leftContY; // mirror of left control point\n                    } else if (leftContY < lastY && leftContY < plotY) {\n                        leftContY = Math.min(lastY, plotY);\n                        rightContY = 2 * plotY - leftContY;\n                    }\n                    if (rightContY > nextY && rightContY > plotY) {\n                        rightContY = Math.max(nextY, plotY);\n                        leftContY = 2 * plotY - rightContY;\n                    } else if (rightContY < nextY && rightContY < plotY) {\n                        rightContY = Math.min(nextY, plotY);\n                        leftContY = 2 * plotY - rightContY;\n                    }\n\n                    // record for drawing in next point\n                    point.rightContX = rightContX;\n                    point.rightContY = rightContY;\n\n\n                }\n\n                // Visualize control points for debugging\n                /*\n                if (leftContX) {\n                \tthis.chart.renderer.circle(leftContX + this.chart.plotLeft, leftContY + this.chart.plotTop, 2)\n                \t\t.attr({\n                \t\t\tstroke: 'red',\n                \t\t\t'stroke-width': 2,\n                \t\t\tfill: 'none',\n                \t\t\tzIndex: 9\n                \t\t})\n                \t\t.add();\n                \tthis.chart.renderer.path(['M', leftContX + this.chart.plotLeft, leftContY + this.chart.plotTop,\n                \t\t'L', plotX + this.chart.plotLeft, plotY + this.chart.plotTop])\n                \t\t.attr({\n                \t\t\tstroke: 'red',\n                \t\t\t'stroke-width': 2,\n                \t\t\tzIndex: 9\n                \t\t})\n                \t\t.add();\n                }\n                if (rightContX) {\n                \tthis.chart.renderer.circle(rightContX + this.chart.plotLeft, rightContY + this.chart.plotTop, 2)\n                \t\t.attr({\n                \t\t\tstroke: 'green',\n                \t\t\t'stroke-width': 2,\n                \t\t\tfill: 'none',\n                \t\t\tzIndex: 9\n                \t\t})\n                \t\t.add();\n                \tthis.chart.renderer.path(['M', rightContX + this.chart.plotLeft, rightContY + this.chart.plotTop,\n                \t\t'L', plotX + this.chart.plotLeft, plotY + this.chart.plotTop])\n                \t\t.attr({\n                \t\t\tstroke: 'green',\n                \t\t\t'stroke-width': 2,\n                \t\t\tzIndex: 9\n                \t\t})\n                \t\t.add();\n                }\n                // */\n                ret = [\n                    'C',\n                    pick(lastPoint.rightContX, lastPoint.plotX),\n                    pick(lastPoint.rightContY, lastPoint.plotY),\n                    pick(leftContX, plotX),\n                    pick(leftContY, plotY),\n                    plotX,\n                    plotY\n                ];\n                lastPoint.rightContX = lastPoint.rightContY = null; // reset for updating series later\n                return ret;\n            }\n        });\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var areaProto = H.seriesTypes.area.prototype,\n            defaultPlotOptions = H.defaultPlotOptions,\n            LegendSymbolMixin = H.LegendSymbolMixin,\n            seriesType = H.seriesType;\n        /**\n         * AreaSplineSeries object\n         */\n        seriesType('areaspline', 'spline', defaultPlotOptions.area, {\n            getStackPoints: areaProto.getStackPoints,\n            getGraphPath: areaProto.getGraphPath,\n            setStackCliffs: areaProto.setStackCliffs,\n            drawGraph: areaProto.drawGraph,\n            drawLegendSymbol: LegendSymbolMixin.drawRectangle\n        });\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var animObject = H.animObject,\n            color = H.color,\n            each = H.each,\n            extend = H.extend,\n            isNumber = H.isNumber,\n            LegendSymbolMixin = H.LegendSymbolMixin,\n            merge = H.merge,\n            noop = H.noop,\n            pick = H.pick,\n            Series = H.Series,\n            seriesType = H.seriesType,\n            svg = H.svg;\n        /**\n         * The column series type.\n         *\n         * @constructor seriesTypes.column\n         * @augments Series\n         */\n        seriesType('column', 'line', {\n            borderRadius: 0,\n            //colorByPoint: undefined,\n            crisp: true,\n            groupPadding: 0.2,\n            //grouping: true,\n            marker: null, // point options are specified in the base options\n            pointPadding: 0.1,\n            //pointWidth: null,\n            minPointLength: 0,\n            cropThreshold: 50, // when there are more points, they will not animate out of the chart on xAxis.setExtremes\n            pointRange: null, // null means auto, meaning 1 in a categorized axis and least distance between points if not categories\n            states: {\n                hover: {\n                    halo: false,\n\n                    brightness: 0.1,\n                    shadow: false\n\n                },\n\n                select: {\n                    color: '#cccccc',\n                    borderColor: '#000000',\n                    shadow: false\n                }\n\n            },\n            dataLabels: {\n                align: null, // auto\n                verticalAlign: null, // auto\n                y: null\n            },\n            softThreshold: false,\n            startFromThreshold: true, // false doesn't work well: http://jsfiddle.net/highcharts/hz8fopan/14/\n            stickyTracking: false,\n            tooltip: {\n                distance: 6\n            },\n            threshold: 0,\n\n            borderColor: '#ffffff'\n            // borderWidth: 1\n\n\n        }, /** @lends seriesTypes.column.prototype */ {\n            cropShoulder: 0,\n            directTouch: true, // When tooltip is not shared, this series (and derivatives) requires direct touch/hover. KD-tree does not apply.\n            trackerGroups: ['group', 'dataLabelsGroup'],\n            negStacks: true, // use separate negative stacks, unlike area stacks where a negative\n            // point is substracted from previous (#1910)\n\n            /**\n             * Initialize the series. Extends the basic Series.init method by\n             * marking other series of the same type as dirty.\n             *\n             * @function #init\n             * @memberOf seriesTypes.column\n             * @returns {void}\n             */\n            init: function() {\n                Series.prototype.init.apply(this, arguments);\n\n                var series = this,\n                    chart = series.chart;\n\n                // if the series is added dynamically, force redraw of other\n                // series affected by a new column\n                if (chart.hasRendered) {\n                    each(chart.series, function(otherSeries) {\n                        if (otherSeries.type === series.type) {\n                            otherSeries.isDirty = true;\n                        }\n                    });\n                }\n            },\n\n            /**\n             * Return the width and x offset of the columns adjusted for grouping, groupPadding, pointPadding,\n             * pointWidth etc.\n             */\n            getColumnMetrics: function() {\n\n                var series = this,\n                    options = series.options,\n                    xAxis = series.xAxis,\n                    yAxis = series.yAxis,\n                    reversedXAxis = xAxis.reversed,\n                    stackKey,\n                    stackGroups = {},\n                    columnCount = 0;\n\n                // Get the total number of column type series.\n                // This is called on every series. Consider moving this logic to a\n                // chart.orderStacks() function and call it on init, addSeries and removeSeries\n                if (options.grouping === false) {\n                    columnCount = 1;\n                } else {\n                    each(series.chart.series, function(otherSeries) {\n                        var otherOptions = otherSeries.options,\n                            otherYAxis = otherSeries.yAxis,\n                            columnIndex;\n                        if (otherSeries.type === series.type && otherSeries.visible &&\n                            yAxis.len === otherYAxis.len && yAxis.pos === otherYAxis.pos) { // #642, #2086\n                            if (otherOptions.stacking) {\n                                stackKey = otherSeries.stackKey;\n                                if (stackGroups[stackKey] === undefined) {\n                                    stackGroups[stackKey] = columnCount++;\n                                }\n                                columnIndex = stackGroups[stackKey];\n                            } else if (otherOptions.grouping !== false) { // #1162\n                                columnIndex = columnCount++;\n                            }\n                            otherSeries.columnIndex = columnIndex;\n                        }\n                    });\n                }\n\n                var categoryWidth = Math.min(\n                        Math.abs(xAxis.transA) * (xAxis.ordinalSlope || options.pointRange || xAxis.closestPointRange || xAxis.tickInterval || 1), // #2610\n                        xAxis.len // #1535\n                    ),\n                    groupPadding = categoryWidth * options.groupPadding,\n                    groupWidth = categoryWidth - 2 * groupPadding,\n                    pointOffsetWidth = groupWidth / (columnCount || 1),\n                    pointWidth = Math.min(\n                        options.maxPointWidth || xAxis.len,\n                        pick(options.pointWidth, pointOffsetWidth * (1 - 2 * options.pointPadding))\n                    ),\n                    pointPadding = (pointOffsetWidth - pointWidth) / 2,\n                    colIndex = (series.columnIndex || 0) + (reversedXAxis ? 1 : 0), // #1251, #3737\n                    pointXOffset = pointPadding + (groupPadding + colIndex *\n                        pointOffsetWidth - (categoryWidth / 2)) *\n                    (reversedXAxis ? -1 : 1);\n\n                // Save it for reading in linked series (Error bars particularly)\n                series.columnMetrics = {\n                    width: pointWidth,\n                    offset: pointXOffset\n                };\n                return series.columnMetrics;\n\n            },\n\n            /**\n             * Make the columns crisp. The edges are rounded to the nearest full pixel.\n             */\n            crispCol: function(x, y, w, h) {\n                var chart = this.chart,\n                    borderWidth = this.borderWidth,\n                    xCrisp = -(borderWidth % 2 ? 0.5 : 0),\n                    yCrisp = borderWidth % 2 ? 0.5 : 1,\n                    right,\n                    bottom,\n                    fromTop;\n\n                if (chart.inverted && chart.renderer.isVML) {\n                    yCrisp += 1;\n                }\n\n                // Horizontal. We need to first compute the exact right edge, then round it\n                // and compute the width from there.\n                if (this.options.crisp) {\n                    right = Math.round(x + w) + xCrisp;\n                    x = Math.round(x) + xCrisp;\n                    w = right - x;\n                }\n\n                // Vertical\n                bottom = Math.round(y + h) + yCrisp;\n                fromTop = Math.abs(y) <= 0.5 && bottom > 0.5; // #4504, #4656\n                y = Math.round(y) + yCrisp;\n                h = bottom - y;\n\n                // Top edges are exceptions\n                if (fromTop && h) { // #5146\n                    y -= 1;\n                    h += 1;\n                }\n\n                return {\n                    x: x,\n                    y: y,\n                    width: w,\n                    height: h\n                };\n            },\n\n            /**\n             * Translate each point to the plot area coordinate system and find shape positions\n             */\n            translate: function() {\n                var series = this,\n                    chart = series.chart,\n                    options = series.options,\n                    dense = series.dense = series.closestPointRange * series.xAxis.transA < 2,\n                    borderWidth = series.borderWidth = pick(\n                        options.borderWidth,\n                        dense ? 0 : 1 // #3635\n                    ),\n                    yAxis = series.yAxis,\n                    threshold = options.threshold,\n                    translatedThreshold = series.translatedThreshold = yAxis.getThreshold(threshold),\n                    minPointLength = pick(options.minPointLength, 5),\n                    metrics = series.getColumnMetrics(),\n                    pointWidth = metrics.width,\n                    seriesBarW = series.barW = Math.max(pointWidth, 1 + 2 * borderWidth), // postprocessed for border width\n                    pointXOffset = series.pointXOffset = metrics.offset;\n\n                if (chart.inverted) {\n                    translatedThreshold -= 0.5; // #3355\n                }\n\n                // When the pointPadding is 0, we want the columns to be packed tightly, so we allow individual\n                // columns to have individual sizes. When pointPadding is greater, we strive for equal-width\n                // columns (#2694).\n                if (options.pointPadding) {\n                    seriesBarW = Math.ceil(seriesBarW);\n                }\n\n                Series.prototype.translate.apply(series);\n\n                // Record the new values\n                each(series.points, function(point) {\n                    var yBottom = pick(point.yBottom, translatedThreshold),\n                        safeDistance = 999 + Math.abs(yBottom),\n                        plotY = Math.min(Math.max(-safeDistance, point.plotY), yAxis.len + safeDistance), // Don't draw too far outside plot area (#1303, #2241, #4264)\n                        barX = point.plotX + pointXOffset,\n                        barW = seriesBarW,\n                        barY = Math.min(plotY, yBottom),\n                        up,\n                        barH = Math.max(plotY, yBottom) - barY;\n\n                    // Handle options.minPointLength\n                    if (Math.abs(barH) < minPointLength) {\n                        if (minPointLength) {\n                            barH = minPointLength;\n                            up = (!yAxis.reversed && !point.negative) || (yAxis.reversed && point.negative);\n                            barY = Math.abs(barY - translatedThreshold) > minPointLength ? // stacked\n                                yBottom - minPointLength : // keep position\n                                translatedThreshold - (up ? minPointLength : 0); // #1485, #4051\n                        }\n                    }\n\n                    // Cache for access in polar\n                    point.barX = barX;\n                    point.pointWidth = pointWidth;\n\n                    // Fix the tooltip on center of grouped columns (#1216, #424, #3648)\n                    point.tooltipPos = chart.inverted ? [yAxis.len + yAxis.pos - chart.plotLeft - plotY, series.xAxis.len - barX - barW / 2, barH] : [barX + barW / 2, plotY + yAxis.pos - chart.plotTop, barH];\n\n                    // Register shape type and arguments to be used in drawPoints\n                    point.shapeType = 'rect';\n                    point.shapeArgs = series.crispCol.apply(\n                        series,\n                        point.isNull ? [point.plotX, yAxis.len / 2, 0, 0] : // #3169, drilldown from null must have a position to work from\n                        [barX, barY, barW, barH]\n                    );\n                });\n\n            },\n\n            getSymbol: noop,\n\n            /**\n             * Use a solid rectangle like the area series types\n             */\n            drawLegendSymbol: LegendSymbolMixin.drawRectangle,\n\n\n            /**\n             * Columns have no graph\n             */\n            drawGraph: function() {\n                this.group[this.dense ? 'addClass' : 'removeClass']('highcharts-dense-data');\n            },\n\n\n            /**\n             * Get presentational attributes\n             */\n            pointAttribs: function(point, state) {\n                var options = this.options,\n                    stateOptions,\n                    ret,\n                    p2o = this.pointAttrToOptions || {},\n                    strokeOption = p2o.stroke || 'borderColor',\n                    strokeWidthOption = p2o['stroke-width'] || 'borderWidth',\n                    fill = (point && point.color) || this.color,\n                    stroke = point[strokeOption] || options[strokeOption] ||\n                    this.color || fill, // set to fill when borderColor null\n                    strokeWidth = point[strokeWidthOption] ||\n                    options[strokeWidthOption] || this[strokeWidthOption] || 0,\n                    dashstyle = options.dashStyle,\n                    zone,\n                    brightness;\n\n                // Handle zone colors\n                if (point && this.zones.length) {\n                    zone = point.getZone();\n                    fill = (zone && zone.color) || point.options.color || this.color; // When zones are present, don't use point.color (#4267)\n                }\n\n                // Select or hover states\n                if (state) {\n                    stateOptions = merge(\n                        options.states[state],\n                        point.options.states && point.options.states[state] || {} // #6401\n                    );\n                    brightness = stateOptions.brightness;\n                    fill = stateOptions.color ||\n                        (brightness !== undefined && color(fill).brighten(stateOptions.brightness).get()) ||\n                        fill;\n                    stroke = stateOptions[strokeOption] || stroke;\n                    strokeWidth = stateOptions[strokeWidthOption] || strokeWidth;\n                    dashstyle = stateOptions.dashStyle || dashstyle;\n                }\n\n                ret = {\n                    'fill': fill,\n                    'stroke': stroke,\n                    'stroke-width': strokeWidth\n                };\n                if (options.borderRadius) {\n                    ret.r = options.borderRadius;\n                }\n\n                if (dashstyle) {\n                    ret.dashstyle = dashstyle;\n                }\n\n                return ret;\n            },\n\n\n            /**\n             * Draw the columns. For bars, the series.group is rotated, so the same coordinates\n             * apply for columns and bars. This method is inherited by scatter series.\n             *\n             */\n            drawPoints: function() {\n                var series = this,\n                    chart = this.chart,\n                    options = series.options,\n                    renderer = chart.renderer,\n                    animationLimit = options.animationLimit || 250,\n                    shapeArgs;\n\n                // draw the columns\n                each(series.points, function(point) {\n                    var plotY = point.plotY,\n                        graphic = point.graphic;\n\n                    if (isNumber(plotY) && point.y !== null) {\n                        shapeArgs = point.shapeArgs;\n\n                        if (graphic) { // update\n                            graphic[chart.pointCount < animationLimit ? 'animate' : 'attr'](\n                                merge(shapeArgs)\n                            );\n\n                        } else {\n                            point.graphic = graphic = renderer[point.shapeType](shapeArgs)\n                                .add(point.group || series.group);\n                        }\n\n\n                        // Presentational\n                        graphic\n                            .attr(series.pointAttribs(point, point.selected && 'select'))\n                            .shadow(options.shadow, null, options.stacking && !options.borderRadius);\n\n\n                        graphic.addClass(point.getClassName(), true);\n\n\n                    } else if (graphic) {\n                        point.graphic = graphic.destroy(); // #1269\n                    }\n                });\n            },\n\n            /**\n             * Animate the column heights one by one from zero\n             * @param {Boolean} init Whether to initialize the animation or run it\n             */\n            animate: function(init) {\n                var series = this,\n                    yAxis = this.yAxis,\n                    options = series.options,\n                    inverted = this.chart.inverted,\n                    attr = {},\n                    translatedThreshold;\n\n                if (svg) { // VML is too slow anyway\n                    if (init) {\n                        attr.scaleY = 0.001;\n                        translatedThreshold = Math.min(yAxis.pos + yAxis.len, Math.max(yAxis.pos, yAxis.toPixels(options.threshold)));\n                        if (inverted) {\n                            attr.translateX = translatedThreshold - yAxis.len;\n                        } else {\n                            attr.translateY = translatedThreshold;\n                        }\n                        series.group.attr(attr);\n\n                    } else { // run the animation\n\n                        attr[inverted ? 'translateX' : 'translateY'] = yAxis.pos;\n                        series.group.animate(attr, extend(animObject(series.options.animation), {\n                            // Do the scale synchronously to ensure smooth updating (#5030)\n                            step: function(val, fx) {\n                                series.group.attr({\n                                    scaleY: Math.max(0.001, fx.pos) // #5250\n                                });\n                            }\n                        }));\n\n                        // delete this function to allow it only once\n                        series.animate = null;\n                    }\n                }\n            },\n\n            /**\n             * Remove this series from the chart\n             */\n            remove: function() {\n                var series = this,\n                    chart = series.chart;\n\n                // column and bar series affects other series of the same type\n                // as they are either stacked or grouped\n                if (chart.hasRendered) {\n                    each(chart.series, function(otherSeries) {\n                        if (otherSeries.type === series.type) {\n                            otherSeries.isDirty = true;\n                        }\n                    });\n                }\n\n                Series.prototype.remove.apply(series, arguments);\n            }\n        });\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n\n        var seriesType = H.seriesType;\n\n        /**\n         * The Bar series class\n         */\n        seriesType('bar', 'column', null, {\n            inverted: true\n        });\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var Series = H.Series,\n            seriesType = H.seriesType;\n        /**\n         * The scatter series type\n         */\n        seriesType('scatter', 'line', {\n            lineWidth: 0,\n            findNearestPointBy: 'xy',\n            marker: {\n                enabled: true // Overrides auto-enabling in line series (#3647)\n            },\n            tooltip: {\n\n                headerFormat: '<span style=\"color:{point.color}\">\\u25CF</span> ' +\n                    '<span style=\"font-size: 0.85em\"> {series.name}</span><br/>',\n\n                pointFormat: 'x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>'\n            }\n\n            // Prototype members\n        }, {\n            sorted: false,\n            requireSorting: false,\n            noSharedTooltip: true,\n            trackerGroups: ['group', 'markerGroup', 'dataLabelsGroup'],\n            takeOrdinalPosition: false, // #2342\n            drawGraph: function() {\n                if (this.options.lineWidth) {\n                    Series.prototype.drawGraph.call(this);\n                }\n            }\n        });\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var pick = H.pick,\n            relativeLength = H.relativeLength;\n\n        H.CenteredSeriesMixin = {\n            /**\n             * Get the center of the pie based on the size and center options relative to the\n             * plot area. Borrowed by the polar and gauge series types.\n             */\n            getCenter: function() {\n\n                var options = this.options,\n                    chart = this.chart,\n                    slicingRoom = 2 * (options.slicedOffset || 0),\n                    handleSlicingRoom,\n                    plotWidth = chart.plotWidth - 2 * slicingRoom,\n                    plotHeight = chart.plotHeight - 2 * slicingRoom,\n                    centerOption = options.center,\n                    positions = [pick(centerOption[0], '50%'), pick(centerOption[1], '50%'), options.size || '100%', options.innerSize || 0],\n                    smallestSize = Math.min(plotWidth, plotHeight),\n                    i,\n                    value;\n\n                for (i = 0; i < 4; ++i) {\n                    value = positions[i];\n                    handleSlicingRoom = i < 2 || (i === 2 && /%$/.test(value));\n\n                    // i == 0: centerX, relative to width\n                    // i == 1: centerY, relative to height\n                    // i == 2: size, relative to smallestSize\n                    // i == 3: innerSize, relative to size\n                    positions[i] = relativeLength(value, [plotWidth, plotHeight, smallestSize, positions[2]][i]) +\n                        (handleSlicingRoom ? slicingRoom : 0);\n\n                }\n                // innerSize cannot be larger than size (#3632)\n                if (positions[3] > positions[2]) {\n                    positions[3] = positions[2];\n                }\n                return positions;\n            }\n        };\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var addEvent = H.addEvent,\n            CenteredSeriesMixin = H.CenteredSeriesMixin,\n            defined = H.defined,\n            each = H.each,\n            extend = H.extend,\n            inArray = H.inArray,\n            LegendSymbolMixin = H.LegendSymbolMixin,\n            noop = H.noop,\n            pick = H.pick,\n            Point = H.Point,\n            Series = H.Series,\n            seriesType = H.seriesType,\n            seriesTypes = H.seriesTypes,\n            setAnimation = H.setAnimation;\n\n        /**\n         * The pie series type.\n         *\n         * @constructor seriesTypes.pie\n         * @augments Series\n         */\n        seriesType('pie', 'line', {\n            center: [null, null],\n            clip: false,\n            colorByPoint: true, // always true for pies\n            dataLabels: {\n                // align: null,\n                // connectorWidth: 1,\n                // connectorColor: point.color,\n                // connectorPadding: 5,\n                distance: 30,\n                enabled: true,\n                formatter: function() { // #2945\n                    return this.y === null ? undefined : this.point.name;\n                },\n                // softConnector: true,\n                x: 0\n                // y: 0\n            },\n            ignoreHiddenPoint: true,\n            //innerSize: 0,\n            legendType: 'point',\n            marker: null, // point options are specified in the base options\n            size: null,\n            showInLegend: false,\n            slicedOffset: 10,\n            stickyTracking: false,\n            tooltip: {\n                followPointer: true\n            },\n\n            borderColor: '#ffffff',\n            borderWidth: 1,\n            states: {\n                hover: {\n                    brightness: 0.1,\n                    shadow: false\n                }\n            }\n\n\n        }, /** @lends seriesTypes.pie.prototype */ {\n            isCartesian: false,\n            requireSorting: false,\n            directTouch: true,\n            noSharedTooltip: true,\n            trackerGroups: ['group', 'dataLabelsGroup'],\n            axisTypes: [],\n            pointAttribs: seriesTypes.column.prototype.pointAttribs,\n            /**\n             * Animate the pies in\n             */\n            animate: function(init) {\n                var series = this,\n                    points = series.points,\n                    startAngleRad = series.startAngleRad;\n\n                if (!init) {\n                    each(points, function(point) {\n                        var graphic = point.graphic,\n                            args = point.shapeArgs;\n\n                        if (graphic) {\n                            // start values\n                            graphic.attr({\n                                r: point.startR || (series.center[3] / 2), // animate from inner radius (#779)\n                                start: startAngleRad,\n                                end: startAngleRad\n                            });\n\n                            // animate\n                            graphic.animate({\n                                r: args.r,\n                                start: args.start,\n                                end: args.end\n                            }, series.options.animation);\n                        }\n                    });\n\n                    // delete this function to allow it only once\n                    series.animate = null;\n                }\n            },\n\n            /**\n             * Recompute total chart sum and update percentages of points.\n             */\n            updateTotals: function() {\n                var i,\n                    total = 0,\n                    points = this.points,\n                    len = points.length,\n                    point,\n                    ignoreHiddenPoint = this.options.ignoreHiddenPoint;\n\n                // Get the total sum\n                for (i = 0; i < len; i++) {\n                    point = points[i];\n                    // Disallow negative values (#1530, #3623, #5322)\n                    if (point.y < 0) {\n                        point.y = null;\n                    }\n                    total += (ignoreHiddenPoint && !point.visible) ? 0 : point.y;\n                }\n                this.total = total;\n\n                // Set each point's properties\n                for (i = 0; i < len; i++) {\n                    point = points[i];\n                    point.percentage = (total > 0 && (point.visible || !ignoreHiddenPoint)) ? point.y / total * 100 : 0;\n                    point.total = total;\n                }\n            },\n\n            /**\n             * Extend the generatePoints method by adding total and percentage properties to each point\n             */\n            generatePoints: function() {\n                Series.prototype.generatePoints.call(this);\n                this.updateTotals();\n            },\n\n            /**\n             * Do translation for pie slices\n             */\n            translate: function(positions) {\n                this.generatePoints();\n\n                var series = this,\n                    cumulative = 0,\n                    precision = 1000, // issue #172\n                    options = series.options,\n                    slicedOffset = options.slicedOffset,\n                    connectorOffset = slicedOffset + (options.borderWidth || 0),\n                    start,\n                    end,\n                    angle,\n                    startAngle = options.startAngle || 0,\n                    startAngleRad = series.startAngleRad = Math.PI / 180 * (startAngle - 90),\n                    endAngleRad = series.endAngleRad = Math.PI / 180 * ((pick(options.endAngle, startAngle + 360)) - 90),\n                    circ = endAngleRad - startAngleRad, //2 * Math.PI,\n                    points = series.points,\n                    radiusX, // the x component of the radius vector for a given point\n                    radiusY,\n                    labelDistance = options.dataLabels.distance,\n                    ignoreHiddenPoint = options.ignoreHiddenPoint,\n                    i,\n                    len = points.length,\n                    point;\n\n                // Get positions - either an integer or a percentage string must be given.\n                // If positions are passed as a parameter, we're in a recursive loop for adjusting\n                // space for data labels.\n                if (!positions) {\n                    series.center = positions = series.getCenter();\n                }\n\n                // utility for getting the x value from a given y, used for anticollision logic in data labels\n                series.getX = function(y, left) {\n\n                    angle = Math.asin(Math.min((y - positions[1]) / (positions[2] / 2 + labelDistance), 1));\n\n                    return positions[0] +\n                        (left ? -1 : 1) *\n                        (Math.cos(angle) * (positions[2] / 2 + labelDistance));\n                };\n\n                // Calculate the geometry for each point\n                for (i = 0; i < len; i++) {\n\n                    point = points[i];\n\n                    // set start and end angle\n                    start = startAngleRad + (cumulative * circ);\n                    if (!ignoreHiddenPoint || point.visible) {\n                        cumulative += point.percentage / 100;\n                    }\n                    end = startAngleRad + (cumulative * circ);\n\n                    // set the shape\n                    point.shapeType = 'arc';\n                    point.shapeArgs = {\n                        x: positions[0],\n                        y: positions[1],\n                        r: positions[2] / 2,\n                        innerR: positions[3] / 2,\n                        start: Math.round(start * precision) / precision,\n                        end: Math.round(end * precision) / precision\n                    };\n\n                    // The angle must stay within -90 and 270 (#2645)\n                    angle = (end + start) / 2;\n                    if (angle > 1.5 * Math.PI) {\n                        angle -= 2 * Math.PI;\n                    } else if (angle < -Math.PI / 2) {\n                        angle += 2 * Math.PI;\n                    }\n\n                    // Center for the sliced out slice\n                    point.slicedTranslation = {\n                        translateX: Math.round(Math.cos(angle) * slicedOffset),\n                        translateY: Math.round(Math.sin(angle) * slicedOffset)\n                    };\n\n                    // set the anchor point for tooltips\n                    radiusX = Math.cos(angle) * positions[2] / 2;\n                    radiusY = Math.sin(angle) * positions[2] / 2;\n                    point.tooltipPos = [\n                        positions[0] + radiusX * 0.7,\n                        positions[1] + radiusY * 0.7\n                    ];\n\n                    point.half = angle < -Math.PI / 2 || angle > Math.PI / 2 ? 1 : 0;\n                    point.angle = angle;\n\n                    // set the anchor point for data labels\n                    connectorOffset = Math.min(connectorOffset, labelDistance / 5); // #1678\n                    point.labelPos = [\n                        positions[0] + radiusX + Math.cos(angle) * labelDistance, // first break of connector\n                        positions[1] + radiusY + Math.sin(angle) * labelDistance, // a/a\n                        positions[0] + radiusX + Math.cos(angle) * connectorOffset, // second break, right outside pie\n                        positions[1] + radiusY + Math.sin(angle) * connectorOffset, // a/a\n                        positions[0] + radiusX, // landing point for connector\n                        positions[1] + radiusY, // a/a\n                        labelDistance < 0 ? // alignment\n                        'center' :\n                        point.half ? 'right' : 'left', // alignment\n                        angle // center angle\n                    ];\n\n                }\n            },\n\n            drawGraph: null,\n\n            /**\n             * Draw the data points\n             */\n            drawPoints: function() {\n                var series = this,\n                    chart = series.chart,\n                    renderer = chart.renderer,\n                    groupTranslation,\n                    //center,\n                    graphic,\n                    //group,\n                    pointAttr,\n                    shapeArgs;\n\n\n                var shadow = series.options.shadow;\n                if (shadow && !series.shadowGroup) {\n                    series.shadowGroup = renderer.g('shadow')\n                        .add(series.group);\n                }\n\n\n                // draw the slices\n                each(series.points, function(point) {\n                    if (point.y !== null) {\n                        graphic = point.graphic;\n                        shapeArgs = point.shapeArgs;\n\n\n                        // If the point is sliced, use special translation, else use\n                        // plot area traslation\n                        groupTranslation = point.getTranslate();\n\n\n                        // Put the shadow behind all points\n                        var shadowGroup = point.shadowGroup;\n                        if (shadow && !shadowGroup) {\n                            shadowGroup = point.shadowGroup = renderer.g('shadow')\n                                .add(series.shadowGroup);\n                        }\n\n                        if (shadowGroup) {\n                            shadowGroup.attr(groupTranslation);\n                        }\n                        pointAttr = series.pointAttribs(point, point.selected && 'select');\n\n\n                        // Draw the slice\n                        if (graphic) {\n                            graphic\n                                .setRadialReference(series.center)\n\n                                .attr(pointAttr)\n\n                                .animate(extend(shapeArgs, groupTranslation));\n                        } else {\n\n                            point.graphic = graphic = renderer[point.shapeType](shapeArgs)\n                                .setRadialReference(series.center)\n                                .attr(groupTranslation)\n                                .add(series.group);\n\n                            if (!point.visible) {\n                                graphic.attr({\n                                    visibility: 'hidden'\n                                });\n                            }\n\n\n                            graphic\n                                .attr(pointAttr)\n                                .attr({\n                                    'stroke-linejoin': 'round'\n                                })\n                                .shadow(shadow, shadowGroup);\n\n                        }\n\n                        graphic.addClass(point.getClassName());\n\n                    }\n                });\n\n            },\n\n\n            searchPoint: noop,\n\n            /**\n             * Utility for sorting data labels\n             */\n            sortByAngle: function(points, sign) {\n                points.sort(function(a, b) {\n                    return a.angle !== undefined && (b.angle - a.angle) * sign;\n                });\n            },\n\n            /**\n             * Use a simple symbol from LegendSymbolMixin\n             */\n            drawLegendSymbol: LegendSymbolMixin.drawRectangle,\n\n            /**\n             * Use the getCenter method from drawLegendSymbol\n             */\n            getCenter: CenteredSeriesMixin.getCenter,\n\n            /**\n             * Pies don't have point marker symbols\n             */\n            getSymbol: noop\n\n\n            /**\n             * @constructor seriesTypes.pie.prototype.pointClass\n             * @extends {Point}\n             */\n        }, /** @lends seriesTypes.pie.prototype.pointClass.prototype */ {\n            /**\n             * Initiate the pie slice\n             */\n            init: function() {\n\n                Point.prototype.init.apply(this, arguments);\n\n                var point = this,\n                    toggleSlice;\n\n                point.name = pick(point.name, 'Slice');\n\n                // add event listener for select\n                toggleSlice = function(e) {\n                    point.slice(e.type === 'select');\n                };\n                addEvent(point, 'select', toggleSlice);\n                addEvent(point, 'unselect', toggleSlice);\n\n                return point;\n            },\n\n            /**\n             * Toggle the visibility of the pie slice\n             * @param {Boolean} vis Whether to show the slice or not. If undefined, the\n             *    visibility is toggled\n             */\n            setVisible: function(vis, redraw) {\n                var point = this,\n                    series = point.series,\n                    chart = series.chart,\n                    ignoreHiddenPoint = series.options.ignoreHiddenPoint;\n\n                redraw = pick(redraw, ignoreHiddenPoint);\n\n                if (vis !== point.visible) {\n\n                    // If called without an argument, toggle visibility\n                    point.visible = point.options.visible = vis = vis === undefined ? !point.visible : vis;\n                    series.options.data[inArray(point, series.data)] = point.options; // update userOptions.data\n\n                    // Show and hide associated elements. This is performed regardless of redraw or not,\n                    // because chart.redraw only handles full series.\n                    each(['graphic', 'dataLabel', 'connector', 'shadowGroup'], function(key) {\n                        if (point[key]) {\n                            point[key][vis ? 'show' : 'hide'](true);\n                        }\n                    });\n\n                    if (point.legendItem) {\n                        chart.legend.colorizeItem(point, vis);\n                    }\n\n                    // #4170, hide halo after hiding point\n                    if (!vis && point.state === 'hover') {\n                        point.setState('');\n                    }\n\n                    // Handle ignore hidden slices\n                    if (ignoreHiddenPoint) {\n                        series.isDirty = true;\n                    }\n\n                    if (redraw) {\n                        chart.redraw();\n                    }\n                }\n            },\n\n            /**\n             * Set or toggle whether the slice is cut out from the pie\n             * @param {Boolean} sliced When undefined, the slice state is toggled\n             * @param {Boolean} redraw Whether to redraw the chart. True by default.\n             */\n            slice: function(sliced, redraw, animation) {\n                var point = this,\n                    series = point.series,\n                    chart = series.chart;\n\n                setAnimation(animation, chart);\n\n                // redraw is true by default\n                redraw = pick(redraw, true);\n\n                // if called without an argument, toggle\n                point.sliced = point.options.sliced = sliced = defined(sliced) ? sliced : !point.sliced;\n                series.options.data[inArray(point, series.data)] = point.options; // update userOptions.data\n\n                point.graphic.animate(this.getTranslate());\n\n\n                if (point.shadowGroup) {\n                    point.shadowGroup.animate(this.getTranslate());\n                }\n\n            },\n\n            getTranslate: function() {\n                return this.sliced ? this.slicedTranslation : {\n                    translateX: 0,\n                    translateY: 0\n                };\n            },\n\n            haloPath: function(size) {\n                var shapeArgs = this.shapeArgs;\n\n                return this.sliced || !this.visible ? [] :\n                    this.series.chart.renderer.symbols.arc(\n                        shapeArgs.x,\n                        shapeArgs.y,\n                        shapeArgs.r + size,\n                        shapeArgs.r + size, {\n                            innerR: this.shapeArgs.r,\n                            start: shapeArgs.start,\n                            end: shapeArgs.end\n                        }\n                    );\n            }\n        });\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var addEvent = H.addEvent,\n            arrayMax = H.arrayMax,\n            defined = H.defined,\n            each = H.each,\n            extend = H.extend,\n            format = H.format,\n            map = H.map,\n            merge = H.merge,\n            noop = H.noop,\n            pick = H.pick,\n            relativeLength = H.relativeLength,\n            Series = H.Series,\n            seriesTypes = H.seriesTypes,\n            stableSort = H.stableSort;\n\n\n        /**\n         * Generatl distribution algorithm for distributing labels of differing size along a\n         * confined length in two dimensions. The algorithm takes an array of objects containing\n         * a size, a target and a rank. It will place the labels as close as possible to their \n         * targets, skipping the lowest ranked labels if necessary.\n         */\n        H.distribute = function(boxes, len) {\n\n            var i,\n                overlapping = true,\n                origBoxes = boxes, // Original array will be altered with added .pos\n                restBoxes = [], // The outranked overshoot\n                box,\n                target,\n                total = 0;\n\n            function sortByTarget(a, b) {\n                return a.target - b.target;\n            }\n\n            // If the total size exceeds the len, remove those boxes with the lowest rank\n            i = boxes.length;\n            while (i--) {\n                total += boxes[i].size;\n            }\n\n            // Sort by rank, then slice away overshoot\n            if (total > len) {\n                stableSort(boxes, function(a, b) {\n                    return (b.rank || 0) - (a.rank || 0);\n                });\n                i = 0;\n                total = 0;\n                while (total <= len) {\n                    total += boxes[i].size;\n                    i++;\n                }\n                restBoxes = boxes.splice(i - 1, boxes.length);\n            }\n\n            // Order by target\n            stableSort(boxes, sortByTarget);\n\n\n            // So far we have been mutating the original array. Now\n            // create a copy with target arrays\n            boxes = map(boxes, function(box) {\n                return {\n                    size: box.size,\n                    targets: [box.target]\n                };\n            });\n\n            while (overlapping) {\n                // Initial positions: target centered in box\n                i = boxes.length;\n                while (i--) {\n                    box = boxes[i];\n                    // Composite box, average of targets\n                    target = (Math.min.apply(0, box.targets) + Math.max.apply(0, box.targets)) / 2;\n                    box.pos = Math.min(Math.max(0, target - box.size / 2), len - box.size);\n                }\n\n                // Detect overlap and join boxes\n                i = boxes.length;\n                overlapping = false;\n                while (i--) {\n                    if (i > 0 && boxes[i - 1].pos + boxes[i - 1].size > boxes[i].pos) { // Overlap\n                        boxes[i - 1].size += boxes[i].size; // Add this size to the previous box\n                        boxes[i - 1].targets = boxes[i - 1].targets.concat(boxes[i].targets);\n\n                        // Overlapping right, push left\n                        if (boxes[i - 1].pos + boxes[i - 1].size > len) {\n                            boxes[i - 1].pos = len - boxes[i - 1].size;\n                        }\n                        boxes.splice(i, 1); // Remove this item\n                        overlapping = true;\n                    }\n                }\n            }\n\n            // Now the composite boxes are placed, we need to put the original boxes within them\n            i = 0;\n            each(boxes, function(box) {\n                var posInCompositeBox = 0;\n                each(box.targets, function() {\n                    origBoxes[i].pos = box.pos + posInCompositeBox;\n                    posInCompositeBox += origBoxes[i].size;\n                    i++;\n                });\n            });\n\n            // Add the rest (hidden) boxes and sort by target\n            origBoxes.push.apply(origBoxes, restBoxes);\n            stableSort(origBoxes, sortByTarget);\n        };\n\n\n        /**\n         * Draw the data labels\n         */\n        Series.prototype.drawDataLabels = function() {\n            var series = this,\n                seriesOptions = series.options,\n                options = seriesOptions.dataLabels,\n                points = series.points,\n                pointOptions,\n                generalOptions,\n                hasRendered = series.hasRendered || 0,\n                str,\n                dataLabelsGroup,\n                defer = pick(options.defer, true),\n                renderer = series.chart.renderer;\n\n            if (options.enabled || series._hasPointLabels) {\n\n                // Process default alignment of data labels for columns\n                if (series.dlProcessOptions) {\n                    series.dlProcessOptions(options);\n                }\n\n                // Create a separate group for the data labels to avoid rotation\n                dataLabelsGroup = series.plotGroup(\n                    'dataLabelsGroup',\n                    'data-labels',\n                    defer && !hasRendered ? 'hidden' : 'visible', // #5133\n                    options.zIndex || 6\n                );\n\n                if (defer) {\n                    dataLabelsGroup.attr({\n                        opacity: +hasRendered\n                    }); // #3300\n                    if (!hasRendered) {\n                        addEvent(series, 'afterAnimate', function() {\n                            if (series.visible) { // #2597, #3023, #3024\n                                dataLabelsGroup.show(true);\n                            }\n                            dataLabelsGroup[seriesOptions.animation ? 'animate' : 'attr']({\n                                opacity: 1\n                            }, {\n                                duration: 200\n                            });\n                        });\n                    }\n                }\n\n                // Make the labels for each point\n                generalOptions = options;\n                each(points, function(point) {\n                    var enabled,\n                        dataLabel = point.dataLabel,\n                        labelConfig,\n                        attr,\n                        name,\n                        rotation,\n                        connector = point.connector,\n                        isNew = !dataLabel,\n                        style;\n                    // Determine if each data label is enabled\n                    // @note dataLabelAttribs (like pointAttribs) would eradicate\n                    // the need for dlOptions, and simplify the section below.\n                    pointOptions = point.dlOptions || (point.options && point.options.dataLabels); // dlOptions is used in treemaps\n                    enabled = pick(pointOptions && pointOptions.enabled, generalOptions.enabled) && point.y !== null; // #2282, #4641\n                    if (enabled) {\n                        // Create individual options structure that can be extended without\n                        // affecting others\n                        options = merge(generalOptions, pointOptions);\n                        labelConfig = point.getLabelConfig();\n                        str = options.format ?\n                            format(options.format, labelConfig) :\n                            options.formatter.call(labelConfig, options);\n                        style = options.style;\n                        rotation = options.rotation;\n\n                        // Determine the color\n                        style.color = pick(options.color, style.color, series.color, '#000000');\n                        // Get automated contrast color\n                        if (style.color === 'contrast') {\n                            point.contrastColor = renderer.getContrast(point.color || series.color);\n                            style.color = options.inside || options.distance < 0 || !!seriesOptions.stacking ?\n                                point.contrastColor : '#000000';\n                        }\n                        if (seriesOptions.cursor) {\n                            style.cursor = seriesOptions.cursor;\n                        }\n\n\n                        attr = {\n                            //align: align,\n\n                            fill: options.backgroundColor,\n                            stroke: options.borderColor,\n                            'stroke-width': options.borderWidth,\n\n                            r: options.borderRadius || 0,\n                            rotation: rotation,\n                            padding: options.padding,\n                            zIndex: 1\n                        };\n\n                        // Remove unused attributes (#947)\n                        for (name in attr) {\n                            if (attr[name] === undefined) {\n                                delete attr[name];\n                            }\n                        }\n                    }\n                    // If the point is outside the plot area, destroy it. #678, #820\n                    if (dataLabel && (!enabled || !defined(str))) {\n                        point.dataLabel = dataLabel = dataLabel.destroy();\n                        if (connector) {\n                            point.connector = connector.destroy();\n                        }\n                        // Individual labels are disabled if the are explicitly disabled\n                        // in the point options, or if they fall outside the plot area.\n                    } else if (enabled && defined(str)) {\n                        // create new label\n                        if (!dataLabel) {\n                            dataLabel = point.dataLabel = renderer[rotation ? 'text' : 'label']( // labels don't support rotation\n                                str,\n                                0, -9999,\n                                options.shape,\n                                null,\n                                null,\n                                options.useHTML,\n                                null,\n                                'data-label'\n                            );\n                            dataLabel.addClass(\n                                'highcharts-data-label-color-' + point.colorIndex +\n                                ' ' + (options.className || '') +\n                                (options.useHTML ? 'highcharts-tracker' : '') // #3398\n                            );\n                        } else {\n                            attr.text = str;\n                        }\n                        dataLabel.attr(attr);\n\n                        // Styles must be applied before add in order to read text bounding box\n                        dataLabel.css(style).shadow(options.shadow);\n\n\n                        if (!dataLabel.added) {\n                            dataLabel.add(dataLabelsGroup);\n                        }\n                        // Now the data label is created and placed at 0,0, so we need to align it\n                        series.alignDataLabel(point, dataLabel, options, null, isNew);\n                    }\n                });\n            }\n        };\n\n        /**\n         * Align each individual data label\n         */\n        Series.prototype.alignDataLabel = function(point, dataLabel, options, alignTo, isNew) {\n            var chart = this.chart,\n                inverted = chart.inverted,\n                plotX = pick(point.plotX, -9999),\n                plotY = pick(point.plotY, -9999),\n                bBox = dataLabel.getBBox(),\n                fontSize,\n                baseline,\n                rotation = options.rotation,\n                normRotation,\n                negRotation,\n                align = options.align,\n                rotCorr, // rotation correction\n                // Math.round for rounding errors (#2683), alignTo to allow column labels (#2700)\n                visible =\n                this.visible &&\n                (\n                    point.series.forceDL ||\n                    chart.isInsidePlot(plotX, Math.round(plotY), inverted) ||\n                    (\n                        alignTo && chart.isInsidePlot(\n                            plotX,\n                            inverted ? alignTo.x + 1 : alignTo.y + alignTo.height - 1,\n                            inverted\n                        )\n                    )\n                ),\n                alignAttr, // the final position;\n                justify = pick(options.overflow, 'justify') === 'justify';\n\n            if (visible) {\n\n\n                fontSize = options.style.fontSize;\n\n\n                baseline = chart.renderer.fontMetrics(fontSize, dataLabel).b;\n\n                // The alignment box is a singular point\n                alignTo = extend({\n                    x: inverted ? chart.plotWidth - plotY : plotX,\n                    y: Math.round(inverted ? chart.plotHeight - plotX : plotY),\n                    width: 0,\n                    height: 0\n                }, alignTo);\n\n                // Add the text size for alignment calculation\n                extend(options, {\n                    width: bBox.width,\n                    height: bBox.height\n                });\n\n                // Allow a hook for changing alignment in the last moment, then do the alignment\n                if (rotation) {\n                    justify = false; // Not supported for rotated text\n                    rotCorr = chart.renderer.rotCorr(baseline, rotation); // #3723\n                    alignAttr = {\n                        x: alignTo.x + options.x + alignTo.width / 2 + rotCorr.x,\n                        y: alignTo.y + options.y + {\n                            top: 0,\n                            middle: 0.5,\n                            bottom: 1\n                        }[options.verticalAlign] * alignTo.height\n                    };\n                    dataLabel[isNew ? 'attr' : 'animate'](alignAttr)\n                        .attr({ // #3003\n                            align: align\n                        });\n\n                    // Compensate for the rotated label sticking out on the sides\n                    normRotation = (rotation + 720) % 360;\n                    negRotation = normRotation > 180 && normRotation < 360;\n\n                    if (align === 'left') {\n                        alignAttr.y -= negRotation ? bBox.height : 0;\n                    } else if (align === 'center') {\n                        alignAttr.x -= bBox.width / 2;\n                        alignAttr.y -= bBox.height / 2;\n                    } else if (align === 'right') {\n                        alignAttr.x -= bBox.width;\n                        alignAttr.y -= negRotation ? 0 : bBox.height;\n                    }\n\n\n                } else {\n                    dataLabel.align(options, null, alignTo);\n                    alignAttr = dataLabel.alignAttr;\n                }\n\n                // Handle justify or crop\n                if (justify) {\n                    point.isLabelJustified = this.justifyDataLabel(\n                        dataLabel,\n                        options,\n                        alignAttr,\n                        bBox,\n                        alignTo,\n                        isNew\n                    );\n\n                    // Now check that the data label is within the plot area\n                } else if (pick(options.crop, true)) {\n                    visible = chart.isInsidePlot(alignAttr.x, alignAttr.y) && chart.isInsidePlot(alignAttr.x + bBox.width, alignAttr.y + bBox.height);\n                }\n\n                // When we're using a shape, make it possible with a connector or an arrow pointing to thie point\n                if (options.shape && !rotation) {\n                    dataLabel.attr({\n                        anchorX: point.plotX,\n                        anchorY: point.plotY\n                    });\n                }\n            }\n\n            // Show or hide based on the final aligned position\n            if (!visible) {\n                dataLabel.attr({\n                    y: -9999\n                });\n                dataLabel.placed = false; // don't animate back in\n            }\n\n        };\n\n        /**\n         * If data labels fall partly outside the plot area, align them back in, in a way that\n         * doesn't hide the point.\n         */\n        Series.prototype.justifyDataLabel = function(dataLabel, options, alignAttr, bBox, alignTo, isNew) {\n            var chart = this.chart,\n                align = options.align,\n                verticalAlign = options.verticalAlign,\n                off,\n                justified,\n                padding = dataLabel.box ? 0 : (dataLabel.padding || 0);\n\n            // Off left\n            off = alignAttr.x + padding;\n            if (off < 0) {\n                if (align === 'right') {\n                    options.align = 'left';\n                } else {\n                    options.x = -off;\n                }\n                justified = true;\n            }\n\n            // Off right\n            off = alignAttr.x + bBox.width - padding;\n            if (off > chart.plotWidth) {\n                if (align === 'left') {\n                    options.align = 'right';\n                } else {\n                    options.x = chart.plotWidth - off;\n                }\n                justified = true;\n            }\n\n            // Off top\n            off = alignAttr.y + padding;\n            if (off < 0) {\n                if (verticalAlign === 'bottom') {\n                    options.verticalAlign = 'top';\n                } else {\n                    options.y = -off;\n                }\n                justified = true;\n            }\n\n            // Off bottom\n            off = alignAttr.y + bBox.height - padding;\n            if (off > chart.plotHeight) {\n                if (verticalAlign === 'top') {\n                    options.verticalAlign = 'bottom';\n                } else {\n                    options.y = chart.plotHeight - off;\n                }\n                justified = true;\n            }\n\n            if (justified) {\n                dataLabel.placed = !isNew;\n                dataLabel.align(options, null, alignTo);\n            }\n\n            return justified;\n        };\n\n        /**\n         * Override the base drawDataLabels method by pie specific functionality\n         */\n        if (seriesTypes.pie) {\n            seriesTypes.pie.prototype.drawDataLabels = function() {\n                var series = this,\n                    data = series.data,\n                    point,\n                    chart = series.chart,\n                    options = series.options.dataLabels,\n                    connectorPadding = pick(options.connectorPadding, 10),\n                    connectorWidth = pick(options.connectorWidth, 1),\n                    plotWidth = chart.plotWidth,\n                    plotHeight = chart.plotHeight,\n                    connector,\n                    distanceOption = options.distance,\n                    seriesCenter = series.center,\n                    radius = seriesCenter[2] / 2,\n                    centerY = seriesCenter[1],\n                    outside = distanceOption > 0,\n                    dataLabel,\n                    dataLabelWidth,\n                    labelPos,\n                    labelHeight,\n                    halves = [ // divide the points into right and left halves for anti collision\n                        [], // right\n                        [] // left\n                    ],\n                    x,\n                    y,\n                    visibility,\n                    j,\n                    overflow = [0, 0, 0, 0]; // top, right, bottom, left\n\n                // get out if not enabled\n                if (!series.visible || (!options.enabled && !series._hasPointLabels)) {\n                    return;\n                }\n\n                // Reset all labels that have been shortened\n                each(data, function(point) {\n                    if (point.dataLabel && point.visible && point.dataLabel.shortened) {\n                        point.dataLabel\n                            .attr({\n                                width: 'auto'\n                            }).css({\n                                width: 'auto',\n                                textOverflow: 'clip'\n                            });\n                        point.dataLabel.shortened = false;\n                    }\n                });\n\n\n                // run parent method\n                Series.prototype.drawDataLabels.apply(series);\n\n                each(data, function(point) {\n                    if (point.dataLabel && point.visible) { // #407, #2510\n\n                        // Arrange points for detection collision\n                        halves[point.half].push(point);\n\n                        // Reset positions (#4905)\n                        point.dataLabel._pos = null;\n                    }\n                });\n\n                /* Loop over the points in each half, starting from the top and bottom\n                 * of the pie to detect overlapping labels.\n                 */\n                each(halves, function(points, i) {\n\n                    var top,\n                        bottom,\n                        length = points.length,\n                        positions,\n                        naturalY,\n                        sideOverflow,\n                        size;\n\n                    if (!length) {\n                        return;\n                    }\n\n                    // Sort by angle\n                    series.sortByAngle(points, i - 0.5);\n\n                    // Only do anti-collision when we are outside the pie and have connectors (#856)\n                    if (distanceOption > 0) {\n                        top = Math.max(0, centerY - radius - distanceOption);\n                        bottom = Math.min(centerY + radius + distanceOption, chart.plotHeight);\n                        positions = map(points, function(point) {\n                            if (point.dataLabel) {\n                                size = point.dataLabel.getBBox().height || 21;\n                                return {\n                                    target: point.labelPos[1] - top + size / 2,\n                                    size: size,\n                                    rank: point.y\n                                };\n                            }\n                        });\n                        H.distribute(positions, bottom + size - top);\n                    }\n\n                    // now the used slots are sorted, fill them up sequentially\n                    for (j = 0; j < length; j++) {\n\n                        point = points[j];\n                        labelPos = point.labelPos;\n                        dataLabel = point.dataLabel;\n                        visibility = point.visible === false ? 'hidden' : 'inherit';\n                        naturalY = labelPos[1];\n\n                        if (positions) {\n                            if (positions[j].pos === undefined) {\n                                visibility = 'hidden';\n                            } else {\n                                labelHeight = positions[j].size;\n                                y = top + positions[j].pos;\n                            }\n\n                        } else {\n                            y = naturalY;\n                        }\n\n                        // get the x - use the natural x position for labels near the top and bottom, to prevent the top\n                        // and botton slice connectors from touching each other on either side\n                        if (options.justify) {\n                            x = seriesCenter[0] + (i ? -1 : 1) * (radius + distanceOption);\n                        } else {\n                            x = series.getX(y < top + 2 || y > bottom - 2 ? naturalY : y, i);\n                        }\n\n\n                        // Record the placement and visibility\n                        dataLabel._attr = {\n                            visibility: visibility,\n                            align: labelPos[6]\n                        };\n                        dataLabel._pos = {\n                            x: x + options.x +\n                                ({\n                                    left: connectorPadding,\n                                    right: -connectorPadding\n                                }[labelPos[6]] || 0),\n                            y: y + options.y - 10 // 10 is for the baseline (label vs text)\n                        };\n                        labelPos.x = x;\n                        labelPos.y = y;\n\n\n                        // Detect overflowing data labels\n                        if (series.options.size === null) {\n                            dataLabelWidth = dataLabel.getBBox().width;\n\n                            sideOverflow = null;\n                            // Overflow left\n                            if (x - dataLabelWidth < connectorPadding) {\n                                sideOverflow = Math.round(\n                                    dataLabelWidth - x + connectorPadding\n                                );\n                                overflow[3] = Math.max(sideOverflow, overflow[3]);\n\n                                // Overflow right\n                            } else if (x + dataLabelWidth > plotWidth - connectorPadding) {\n                                sideOverflow = Math.round(\n                                    x + dataLabelWidth - plotWidth + connectorPadding\n                                );\n                                overflow[1] = Math.max(sideOverflow, overflow[1]);\n                            }\n\n                            // Overflow top\n                            if (y - labelHeight / 2 < 0) {\n                                overflow[0] = Math.max(\n                                    Math.round(-y + labelHeight / 2),\n                                    overflow[0]\n                                );\n\n                                // Overflow left\n                            } else if (y + labelHeight / 2 > plotHeight) {\n                                overflow[2] = Math.max(\n                                    Math.round(y + labelHeight / 2 - plotHeight),\n                                    overflow[2]\n                                );\n                            }\n                            dataLabel.sideOverflow = sideOverflow;\n                        }\n                    } // for each point\n                }); // for each half\n\n                // Do not apply the final placement and draw the connectors until we have verified\n                // that labels are not spilling over.\n                if (arrayMax(overflow) === 0 || this.verifyDataLabelOverflow(overflow)) {\n\n                    // Place the labels in the final position\n                    this.placeDataLabels();\n\n                    // Draw the connectors\n                    if (outside && connectorWidth) {\n                        each(this.points, function(point) {\n                            var isNew;\n\n                            connector = point.connector;\n                            dataLabel = point.dataLabel;\n\n                            if (dataLabel && dataLabel._pos && point.visible) {\n                                visibility = dataLabel._attr.visibility;\n\n                                isNew = !connector;\n\n                                if (isNew) {\n                                    point.connector = connector = chart.renderer.path()\n                                        .addClass('highcharts-data-label-connector highcharts-color-' + point.colorIndex)\n                                        .add(series.dataLabelsGroup);\n\n\n                                    connector.attr({\n                                        'stroke-width': connectorWidth,\n                                        'stroke': options.connectorColor || point.color || '#666666'\n                                    });\n\n                                }\n                                connector[isNew ? 'attr' : 'animate']({\n                                    d: series.connectorPath(point.labelPos)\n                                });\n                                connector.attr('visibility', visibility);\n\n                            } else if (connector) {\n                                point.connector = connector.destroy();\n                            }\n                        });\n                    }\n                }\n            };\n\n            /**\n             * Extendable method for getting the path of the connector between the data label\n             * and the pie slice.\n             */\n            seriesTypes.pie.prototype.connectorPath = function(labelPos) {\n                var x = labelPos.x,\n                    y = labelPos.y;\n                return pick(this.options.dataLabels.softConnector, true) ? [\n                    'M',\n                    x + (labelPos[6] === 'left' ? 5 : -5), y, // end of the string at the label\n                    'C',\n                    x, y, // first break, next to the label\n                    2 * labelPos[2] - labelPos[4], 2 * labelPos[3] - labelPos[5],\n                    labelPos[2], labelPos[3], // second break\n                    'L',\n                    labelPos[4], labelPos[5] // base\n                ] : [\n                    'M',\n                    x + (labelPos[6] === 'left' ? 5 : -5), y, // end of the string at the label\n                    'L',\n                    labelPos[2], labelPos[3], // second break\n                    'L',\n                    labelPos[4], labelPos[5] // base\n                ];\n            };\n\n            /**\n             * Perform the final placement of the data labels after we have verified that they\n             * fall within the plot area.\n             */\n            seriesTypes.pie.prototype.placeDataLabels = function() {\n                each(this.points, function(point) {\n                    var dataLabel = point.dataLabel,\n                        _pos;\n                    if (dataLabel && point.visible) {\n                        _pos = dataLabel._pos;\n                        if (_pos) {\n\n                            // Shorten data labels with ellipsis if they still overflow\n                            // after the pie has reached minSize (#223).\n                            if (dataLabel.sideOverflow) {\n                                dataLabel._attr.width =\n                                    dataLabel.getBBox().width - dataLabel.sideOverflow;\n                                dataLabel.css({\n                                    width: dataLabel._attr.width + 'px',\n                                    textOverflow: 'ellipsis'\n                                });\n                                dataLabel.shortened = true;\n                            }\n\n                            dataLabel.attr(dataLabel._attr);\n                            dataLabel[dataLabel.moved ? 'animate' : 'attr'](_pos);\n                            dataLabel.moved = true;\n                        } else if (dataLabel) {\n                            dataLabel.attr({\n                                y: -9999\n                            });\n                        }\n                    }\n                }, this);\n            };\n\n            seriesTypes.pie.prototype.alignDataLabel = noop;\n\n            /**\n             * Verify whether the data labels are allowed to draw, or we should run more translation and data\n             * label positioning to keep them inside the plot area. Returns true when data labels are ready\n             * to draw.\n             */\n            seriesTypes.pie.prototype.verifyDataLabelOverflow = function(overflow) {\n\n                var center = this.center,\n                    options = this.options,\n                    centerOption = options.center,\n                    minSize = options.minSize || 80,\n                    newSize = minSize,\n                    ret;\n\n                // Handle horizontal size and center\n                if (centerOption[0] !== null) { // Fixed center\n                    newSize = Math.max(center[2] - Math.max(overflow[1], overflow[3]), minSize);\n\n                } else { // Auto center\n                    newSize = Math.max(\n                        center[2] - overflow[1] - overflow[3], // horizontal overflow\n                        minSize\n                    );\n                    center[0] += (overflow[3] - overflow[1]) / 2; // horizontal center\n                }\n\n                // Handle vertical size and center\n                if (centerOption[1] !== null) { // Fixed center\n                    newSize = Math.max(Math.min(newSize, center[2] - Math.max(overflow[0], overflow[2])), minSize);\n\n                } else { // Auto center\n                    newSize = Math.max(\n                        Math.min(\n                            newSize,\n                            center[2] - overflow[0] - overflow[2] // vertical overflow\n                        ),\n                        minSize\n                    );\n                    center[1] += (overflow[0] - overflow[2]) / 2; // vertical center\n                }\n\n                // If the size must be decreased, we need to run translate and drawDataLabels again\n                if (newSize < center[2]) {\n                    center[2] = newSize;\n                    center[3] = Math.min(relativeLength(options.innerSize || 0, newSize), newSize); // #3632\n                    this.translate(center);\n\n                    if (this.drawDataLabels) {\n                        this.drawDataLabels();\n                    }\n                    // Else, return true to indicate that the pie and its labels is within the plot area\n                } else {\n                    ret = true;\n                }\n                return ret;\n            };\n        }\n\n        if (seriesTypes.column) {\n\n            /**\n             * Override the basic data label alignment by adjusting for the position of the column\n             */\n            seriesTypes.column.prototype.alignDataLabel = function(point, dataLabel, options, alignTo, isNew) {\n                var inverted = this.chart.inverted,\n                    series = point.series,\n                    dlBox = point.dlBox || point.shapeArgs, // data label box for alignment\n                    below = pick(point.below, point.plotY > pick(this.translatedThreshold, series.yAxis.len)), // point.below is used in range series\n                    inside = pick(options.inside, !!this.options.stacking), // draw it inside the box?\n                    overshoot;\n\n                // Align to the column itself, or the top of it\n                if (dlBox) { // Area range uses this method but not alignTo\n                    alignTo = merge(dlBox);\n\n                    if (alignTo.y < 0) {\n                        alignTo.height += alignTo.y;\n                        alignTo.y = 0;\n                    }\n                    overshoot = alignTo.y + alignTo.height - series.yAxis.len;\n                    if (overshoot > 0) {\n                        alignTo.height -= overshoot;\n                    }\n\n                    if (inverted) {\n                        alignTo = {\n                            x: series.yAxis.len - alignTo.y - alignTo.height,\n                            y: series.xAxis.len - alignTo.x - alignTo.width,\n                            width: alignTo.height,\n                            height: alignTo.width\n                        };\n                    }\n\n                    // Compute the alignment box\n                    if (!inside) {\n                        if (inverted) {\n                            alignTo.x += below ? 0 : alignTo.width;\n                            alignTo.width = 0;\n                        } else {\n                            alignTo.y += below ? alignTo.height : 0;\n                            alignTo.height = 0;\n                        }\n                    }\n                }\n\n\n                // When alignment is undefined (typically columns and bars), display the individual\n                // point below or above the point depending on the threshold\n                options.align = pick(\n                    options.align, !inverted || inside ? 'center' : below ? 'right' : 'left'\n                );\n                options.verticalAlign = pick(\n                    options.verticalAlign,\n                    inverted || inside ? 'middle' : below ? 'top' : 'bottom'\n                );\n\n                // Call the parent method\n                Series.prototype.alignDataLabel.call(this, point, dataLabel, options, alignTo, isNew);\n\n                // If label was justified and we have contrast, set it:\n                if (point.isLabelJustified && point.contrastColor) {\n                    point.dataLabel.css({\n                        color: point.contrastColor\n                    });\n                }\n            };\n        }\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2009-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        /**\n         * Highcharts module to hide overlapping data labels. This module is included in\n         * Highcharts.\n         */\n        var Chart = H.Chart,\n            each = H.each,\n            pick = H.pick,\n            addEvent = H.addEvent;\n\n        // Collect potensial overlapping data labels. Stack labels probably don't need\n        // to be considered because they are usually accompanied by data labels that lie\n        // inside the columns.\n        Chart.prototype.callbacks.push(function(chart) {\n            function collectAndHide() {\n                var labels = [];\n\n                each(chart.series || [], function(series) {\n                    var dlOptions = series.options.dataLabels,\n                        // Range series have two collections\n                        collections = series.dataLabelCollections || ['dataLabel'];\n\n                    if (\n                        (dlOptions.enabled || series._hasPointLabels) &&\n                        !dlOptions.allowOverlap &&\n                        series.visible\n                    ) { // #3866\n                        each(collections, function(coll) {\n                            each(series.points, function(point) {\n                                if (point[coll]) {\n                                    point[coll].labelrank = pick(\n                                        point.labelrank,\n                                        point.shapeArgs && point.shapeArgs.height\n                                    ); // #4118\n                                    labels.push(point[coll]);\n                                }\n                            });\n                        });\n                    }\n                });\n                chart.hideOverlappingLabels(labels);\n            }\n\n            // Do it now ...\n            collectAndHide();\n\n            // ... and after each chart redraw\n            addEvent(chart, 'redraw', collectAndHide);\n\n        });\n\n        /**\n         * Hide overlapping labels. Labels are moved and faded in and out on zoom to\n         * provide a smooth visual imression.\n         */\n        Chart.prototype.hideOverlappingLabels = function(labels) {\n\n            var len = labels.length,\n                label,\n                i,\n                j,\n                label1,\n                label2,\n                isIntersecting,\n                pos1,\n                pos2,\n                parent1,\n                parent2,\n                padding,\n                intersectRect = function(x1, y1, w1, h1, x2, y2, w2, h2) {\n                    return !(\n                        x2 > x1 + w1 ||\n                        x2 + w2 < x1 ||\n                        y2 > y1 + h1 ||\n                        y2 + h2 < y1\n                    );\n                };\n\n            // Mark with initial opacity\n            for (i = 0; i < len; i++) {\n                label = labels[i];\n                if (label) {\n                    label.oldOpacity = label.opacity;\n                    label.newOpacity = 1;\n                }\n            }\n\n            // Prevent a situation in a gradually rising slope, that each label will\n            // hide the previous one because the previous one always has lower rank.\n            labels.sort(function(a, b) {\n                return (b.labelrank || 0) - (a.labelrank || 0);\n            });\n\n            // Detect overlapping labels\n            for (i = 0; i < len; i++) {\n                label1 = labels[i];\n\n                for (j = i + 1; j < len; ++j) {\n                    label2 = labels[j];\n                    if (\n                        label1 && label2 &&\n                        label1 !== label2 && // #6465, polar chart with connectEnds\n                        label1.placed && label2.placed &&\n                        label1.newOpacity !== 0 && label2.newOpacity !== 0\n                    ) {\n                        pos1 = label1.alignAttr;\n                        pos2 = label2.alignAttr;\n                        // Different panes have different positions\n                        parent1 = label1.parentGroup;\n                        parent2 = label2.parentGroup;\n                        // Substract the padding if no background or border (#4333)\n                        padding = 2 * (label1.box ? 0 : label1.padding);\n                        isIntersecting = intersectRect(\n                            pos1.x + parent1.translateX,\n                            pos1.y + parent1.translateY,\n                            label1.width - padding,\n                            label1.height - padding,\n                            pos2.x + parent2.translateX,\n                            pos2.y + parent2.translateY,\n                            label2.width - padding,\n                            label2.height - padding\n                        );\n\n                        if (isIntersecting) {\n                            (label1.labelrank < label2.labelrank ? label1 : label2)\n                            .newOpacity = 0;\n                        }\n                    }\n                }\n            }\n\n            // Hide or show\n            each(labels, function(label) {\n                var complete,\n                    newOpacity;\n\n                if (label) {\n                    newOpacity = label.newOpacity;\n\n                    if (label.oldOpacity !== newOpacity && label.placed) {\n\n                        // Make sure the label is completely hidden to avoid catching\n                        // clicks (#4362)\n                        if (newOpacity) {\n                            label.show(true);\n                        } else {\n                            complete = function() {\n                                label.hide();\n                            };\n                        }\n\n                        // Animate or set the opacity\t\t\t\t\t\n                        label.alignAttr.opacity = newOpacity;\n                        label[label.isOld ? 'animate' : 'attr'](\n                            label.alignAttr,\n                            null,\n                            complete\n                        );\n\n                    }\n                    label.isOld = true;\n                }\n            });\n        };\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var addEvent = H.addEvent,\n            Chart = H.Chart,\n            createElement = H.createElement,\n            css = H.css,\n            defaultOptions = H.defaultOptions,\n            defaultPlotOptions = H.defaultPlotOptions,\n            each = H.each,\n            extend = H.extend,\n            fireEvent = H.fireEvent,\n            hasTouch = H.hasTouch,\n            inArray = H.inArray,\n            isObject = H.isObject,\n            Legend = H.Legend,\n            merge = H.merge,\n            pick = H.pick,\n            Point = H.Point,\n            Series = H.Series,\n            seriesTypes = H.seriesTypes,\n            svg = H.svg,\n            TrackerMixin;\n\n        /**\n         * TrackerMixin for points and graphs.\n         *\n         * @mixin\n         */\n        TrackerMixin = H.TrackerMixin = {\n\n            /**\n             * Draw the tracker for a point.\n             */\n            drawTrackerPoint: function() {\n                var series = this,\n                    chart = series.chart,\n                    pointer = chart.pointer,\n                    onMouseOver = function(e) {\n                        var point = pointer.getPointFromEvent(e);\n\n                        // undefined on graph in scatterchart\n                        if (point !== undefined) {\n                            point.onMouseOver(e);\n                        }\n                    };\n\n                // Add reference to the point\n                each(series.points, function(point) {\n                    if (point.graphic) {\n                        point.graphic.element.point = point;\n                    }\n                    if (point.dataLabel) {\n                        if (point.dataLabel.div) {\n                            point.dataLabel.div.point = point;\n                        } else {\n                            point.dataLabel.element.point = point;\n                        }\n                    }\n                });\n\n                // Add the event listeners, we need to do this only once\n                if (!series._hasTracking) {\n                    each(series.trackerGroups, function(key) {\n                        if (series[key]) { // we don't always have dataLabelsGroup\n                            series[key]\n                                .addClass('highcharts-tracker')\n                                .on('mouseover', onMouseOver)\n                                .on('mouseout', function(e) {\n                                    pointer.onTrackerMouseOut(e);\n                                });\n                            if (hasTouch) {\n                                series[key].on('touchstart', onMouseOver);\n                            }\n\n\n                            if (series.options.cursor) {\n                                series[key]\n                                    .css(css)\n                                    .css({\n                                        cursor: series.options.cursor\n                                    });\n                            }\n\n                        }\n                    });\n                    series._hasTracking = true;\n                }\n            },\n\n            /**\n             * Draw the tracker object that sits above all data labels and markers to\n             * track mouse events on the graph or points. For the line type charts\n             * the tracker uses the same graphPath, but with a greater stroke width\n             * for better control.\n             */\n            drawTrackerGraph: function() {\n                var series = this,\n                    options = series.options,\n                    trackByArea = options.trackByArea,\n                    trackerPath = [].concat(trackByArea ? series.areaPath : series.graphPath),\n                    trackerPathLength = trackerPath.length,\n                    chart = series.chart,\n                    pointer = chart.pointer,\n                    renderer = chart.renderer,\n                    snap = chart.options.tooltip.snap,\n                    tracker = series.tracker,\n                    i,\n                    onMouseOver = function() {\n                        if (chart.hoverSeries !== series) {\n                            series.onMouseOver();\n                        }\n                    },\n                    /*\n                     * Empirical lowest possible opacities for TRACKER_FILL for an element to stay invisible but clickable\n                     * IE6: 0.002\n                     * IE7: 0.002\n                     * IE8: 0.002\n                     * IE9: 0.00000000001 (unlimited)\n                     * IE10: 0.0001 (exporting only)\n                     * FF: 0.00000000001 (unlimited)\n                     * Chrome: 0.000001\n                     * Safari: 0.000001\n                     * Opera: 0.00000000001 (unlimited)\n                     */\n                    TRACKER_FILL = 'rgba(192,192,192,' + (svg ? 0.0001 : 0.002) + ')';\n\n                // Extend end points. A better way would be to use round linecaps,\n                // but those are not clickable in VML.\n                if (trackerPathLength && !trackByArea) {\n                    i = trackerPathLength + 1;\n                    while (i--) {\n                        if (trackerPath[i] === 'M') { // extend left side\n                            trackerPath.splice(i + 1, 0, trackerPath[i + 1] - snap, trackerPath[i + 2], 'L');\n                        }\n                        if ((i && trackerPath[i] === 'M') || i === trackerPathLength) { // extend right side\n                            trackerPath.splice(i, 0, 'L', trackerPath[i - 2] + snap, trackerPath[i - 1]);\n                        }\n                    }\n                }\n\n                // handle single points\n                /*for (i = 0; i < singlePoints.length; i++) {\n                \tsinglePoint = singlePoints[i];\n                \ttrackerPath.push(M, singlePoint.plotX - snap, singlePoint.plotY,\n                \tL, singlePoint.plotX + snap, singlePoint.plotY);\n                }*/\n\n                // draw the tracker\n                if (tracker) {\n                    tracker.attr({\n                        d: trackerPath\n                    });\n                } else if (series.graph) { // create\n\n                    series.tracker = renderer.path(trackerPath)\n                        .attr({\n                            'stroke-linejoin': 'round', // #1225\n                            visibility: series.visible ? 'visible' : 'hidden',\n                            stroke: TRACKER_FILL,\n                            fill: trackByArea ? TRACKER_FILL : 'none',\n                            'stroke-width': series.graph.strokeWidth() + (trackByArea ? 0 : 2 * snap),\n                            zIndex: 2\n                        })\n                        .add(series.group);\n\n                    // The tracker is added to the series group, which is clipped, but is covered\n                    // by the marker group. So the marker group also needs to capture events.\n                    each([series.tracker, series.markerGroup], function(tracker) {\n                        tracker.addClass('highcharts-tracker')\n                            .on('mouseover', onMouseOver)\n                            .on('mouseout', function(e) {\n                                pointer.onTrackerMouseOut(e);\n                            });\n\n\n                        if (options.cursor) {\n                            tracker.css({\n                                cursor: options.cursor\n                            });\n                        }\n\n\n                        if (hasTouch) {\n                            tracker.on('touchstart', onMouseOver);\n                        }\n                    });\n                }\n            }\n        };\n        /* End TrackerMixin */\n\n\n        /**\n         * Add tracking event listener to the series group, so the point graphics\n         * themselves act as trackers\n         */\n\n        if (seriesTypes.column) {\n            seriesTypes.column.prototype.drawTracker = TrackerMixin.drawTrackerPoint;\n        }\n\n        if (seriesTypes.pie) {\n            seriesTypes.pie.prototype.drawTracker = TrackerMixin.drawTrackerPoint;\n        }\n\n        if (seriesTypes.scatter) {\n            seriesTypes.scatter.prototype.drawTracker = TrackerMixin.drawTrackerPoint;\n        }\n\n        /*\n         * Extend Legend for item events\n         */\n        extend(Legend.prototype, {\n\n            setItemEvents: function(item, legendItem, useHTML) {\n                var legend = this,\n                    boxWrapper = legend.chart.renderer.boxWrapper,\n                    activeClass = 'highcharts-legend-' + (item.series ? 'point' : 'series') + '-active';\n\n                // Set the events on the item group, or in case of useHTML, the item itself (#1249)\n                (useHTML ? legendItem : item.legendGroup).on('mouseover', function() {\n                        item.setState('hover');\n\n                        // A CSS class to dim or hide other than the hovered series\n                        boxWrapper.addClass(activeClass);\n\n\n                        legendItem.css(legend.options.itemHoverStyle);\n\n                    })\n                    .on('mouseout', function() {\n\n                        legendItem.css(item.visible ? legend.itemStyle : legend.itemHiddenStyle);\n\n\n                        // A CSS class to dim or hide other than the hovered series\n                        boxWrapper.removeClass(activeClass);\n\n                        item.setState();\n                    })\n                    .on('click', function(event) {\n                        var strLegendItemClick = 'legendItemClick',\n                            fnLegendItemClick = function() {\n                                if (item.setVisible) {\n                                    item.setVisible();\n                                }\n                            };\n\n                        // Pass over the click/touch event. #4.\n                        event = {\n                            browserEvent: event\n                        };\n\n                        // click the name or symbol\n                        if (item.firePointEvent) { // point\n                            item.firePointEvent(strLegendItemClick, event, fnLegendItemClick);\n                        } else {\n                            fireEvent(item, strLegendItemClick, event, fnLegendItemClick);\n                        }\n                    });\n            },\n\n            createCheckboxForItem: function(item) {\n                var legend = this;\n\n                item.checkbox = createElement('input', {\n                    type: 'checkbox',\n                    checked: item.selected,\n                    defaultChecked: item.selected // required by IE7\n                }, legend.options.itemCheckboxStyle, legend.chart.container);\n\n                addEvent(item.checkbox, 'click', function(event) {\n                    var target = event.target;\n                    fireEvent(\n                        item.series || item,\n                        'checkboxClick', { // #3712\n                            checked: target.checked,\n                            item: item\n                        },\n                        function() {\n                            item.select();\n                        }\n                    );\n                });\n            }\n        });\n\n\n\n        // Add pointer cursor to legend itemstyle in defaultOptions\n        defaultOptions.legend.itemStyle.cursor = 'pointer';\n\n\n\n        /*\n         * Extend the Chart object with interaction\n         */\n\n        extend(Chart.prototype, /** @lends Chart.prototype */ {\n            /**\n             * Display the zoom button\n             */\n            showResetZoom: function() {\n                var chart = this,\n                    lang = defaultOptions.lang,\n                    btnOptions = chart.options.chart.resetZoomButton,\n                    theme = btnOptions.theme,\n                    states = theme.states,\n                    alignTo = btnOptions.relativeTo === 'chart' ? null : 'plotBox';\n\n                function zoomOut() {\n                    chart.zoomOut();\n                }\n\n                this.resetZoomButton = chart.renderer.button(lang.resetZoom, null, null, zoomOut, theme, states && states.hover)\n                    .attr({\n                        align: btnOptions.position.align,\n                        title: lang.resetZoomTitle\n                    })\n                    .addClass('highcharts-reset-zoom')\n                    .add()\n                    .align(btnOptions.position, false, alignTo);\n\n            },\n\n            /**\n             * Zoom out to 1:1\n             */\n            zoomOut: function() {\n                var chart = this;\n                fireEvent(chart, 'selection', {\n                    resetSelection: true\n                }, function() {\n                    chart.zoom();\n                });\n            },\n\n            /**\n             * Zoom into a given portion of the chart given by axis coordinates\n             * @param {Object} event\n             */\n            zoom: function(event) {\n                var chart = this,\n                    hasZoomed,\n                    pointer = chart.pointer,\n                    displayButton = false,\n                    resetZoomButton;\n\n                // If zoom is called with no arguments, reset the axes\n                if (!event || event.resetSelection) {\n                    each(chart.axes, function(axis) {\n                        hasZoomed = axis.zoom();\n                    });\n                } else { // else, zoom in on all axes\n                    each(event.xAxis.concat(event.yAxis), function(axisData) {\n                        var axis = axisData.axis,\n                            isXAxis = axis.isXAxis;\n\n                        // don't zoom more than minRange\n                        if (pointer[isXAxis ? 'zoomX' : 'zoomY']) {\n                            hasZoomed = axis.zoom(axisData.min, axisData.max);\n                            if (axis.displayBtn) {\n                                displayButton = true;\n                            }\n                        }\n                    });\n                }\n\n                // Show or hide the Reset zoom button\n                resetZoomButton = chart.resetZoomButton;\n                if (displayButton && !resetZoomButton) {\n                    chart.showResetZoom();\n                } else if (!displayButton && isObject(resetZoomButton)) {\n                    chart.resetZoomButton = resetZoomButton.destroy();\n                }\n\n\n                // Redraw\n                if (hasZoomed) {\n                    chart.redraw(\n                        pick(chart.options.chart.animation, event && event.animation, chart.pointCount < 100) // animation\n                    );\n                }\n            },\n\n            /**\n             * Pan the chart by dragging the mouse across the pane. This function is called\n             * on mouse move, and the distance to pan is computed from chartX compared to\n             * the first chartX position in the dragging operation.\n             */\n            pan: function(e, panning) {\n\n                var chart = this,\n                    hoverPoints = chart.hoverPoints,\n                    doRedraw;\n\n                // remove active points for shared tooltip\n                if (hoverPoints) {\n                    each(hoverPoints, function(point) {\n                        point.setState();\n                    });\n                }\n\n                each(panning === 'xy' ? [1, 0] : [1], function(isX) { // xy is used in maps\n                    var axis = chart[isX ? 'xAxis' : 'yAxis'][0],\n                        horiz = axis.horiz,\n                        mousePos = e[horiz ? 'chartX' : 'chartY'],\n                        mouseDown = horiz ? 'mouseDownX' : 'mouseDownY',\n                        startPos = chart[mouseDown],\n                        halfPointRange = (axis.pointRange || 0) / 2,\n                        extremes = axis.getExtremes(),\n                        panMin = axis.toValue(startPos - mousePos, true) +\n                        halfPointRange,\n                        panMax = axis.toValue(startPos + axis.len - mousePos, true) -\n                        halfPointRange,\n                        flipped = panMax < panMin,\n                        newMin = flipped ? panMax : panMin,\n                        newMax = flipped ? panMin : panMax,\n                        paddedMin = axis.toValue(\n                            axis.toPixels(extremes.min) - axis.minPixelPadding\n                        ),\n                        paddedMax = axis.toValue(\n                            axis.toPixels(extremes.max) + axis.minPixelPadding\n                        ),\n                        distMin = Math.min(extremes.dataMin, paddedMin) - newMin,\n                        distMax = newMax - Math.max(extremes.dataMax, paddedMax);\n\n                    // Negative distMin and distMax means that we're still inside the\n                    // data range.\n                    if (axis.series.length && distMin < 0 && distMax < 0) {\n                        axis.setExtremes(\n                            newMin,\n                            newMax,\n                            false,\n                            false, {\n                                trigger: 'pan'\n                            }\n                        );\n                        doRedraw = true;\n                    }\n\n                    chart[mouseDown] = mousePos; // set new reference for next run\n                });\n\n                if (doRedraw) {\n                    chart.redraw(false);\n                }\n                css(chart.container, {\n                    cursor: 'move'\n                });\n            }\n        });\n\n        /*\n         * Extend the Point object with interaction\n         */\n        extend(Point.prototype, /** @lends Point.prototype */ {\n            /**\n             * Toggle the selection status of a point\n             * @param {Boolean} selected Whether to select or unselect the point.\n             * @param {Boolean} accumulate Whether to add to the previous selection. By default,\n             *\t\t this happens if the control key (Cmd on Mac) was pressed during clicking.\n             */\n            select: function(selected, accumulate) {\n                var point = this,\n                    series = point.series,\n                    chart = series.chart;\n\n                selected = pick(selected, !point.selected);\n\n                // fire the event with the default handler\n                point.firePointEvent(selected ? 'select' : 'unselect', {\n                    accumulate: accumulate\n                }, function() {\n                    point.selected = point.options.selected = selected;\n                    series.options.data[inArray(point, series.data)] = point.options;\n\n                    point.setState(selected && 'select');\n\n                    // unselect all other points unless Ctrl or Cmd + click\n                    if (!accumulate) {\n                        each(chart.getSelectedPoints(), function(loopPoint) {\n                            if (loopPoint.selected && loopPoint !== point) {\n                                loopPoint.selected = loopPoint.options.selected = false;\n                                series.options.data[inArray(loopPoint, series.data)] = loopPoint.options;\n                                loopPoint.setState('');\n                                loopPoint.firePointEvent('unselect');\n                            }\n                        });\n                    }\n                });\n            },\n\n            /**\n             * Runs on mouse over the point\n             * \n             * @param {Object} e The event arguments\n             */\n            onMouseOver: function(e) {\n                var point = this,\n                    series = point.series,\n                    chart = series.chart,\n                    pointer = chart.pointer;\n                point.firePointEvent('mouseOver');\n                pointer.runPointActions(e, point);\n            },\n\n            /**\n             * Runs on mouse out from the point\n             */\n            onMouseOut: function() {\n                var point = this,\n                    chart = point.series.chart;\n                point.firePointEvent('mouseOut');\n                each(chart.hoverPoints || [], function(p) {\n                    p.setState();\n                });\n                chart.hoverPoints = chart.hoverPoint = null;\n            },\n\n            /**\n             * Import events from the series' and point's options. Only do it on\n             * demand, to save processing time on hovering.\n             */\n            importEvents: function() {\n                if (!this.hasImportedEvents) {\n                    var point = this,\n                        options = merge(point.series.options.point, point.options),\n                        events = options.events,\n                        eventType;\n\n                    point.events = events;\n\n                    for (eventType in events) {\n                        addEvent(point, eventType, events[eventType]);\n                    }\n                    this.hasImportedEvents = true;\n\n                }\n            },\n\n            /**\n             * Set the point's state\n             * @param {String} state\n             */\n            setState: function(state, move) {\n                var point = this,\n                    plotX = Math.floor(point.plotX), // #4586\n                    plotY = point.plotY,\n                    series = point.series,\n                    stateOptions = series.options.states[state] || {},\n                    markerOptions = defaultPlotOptions[series.type].marker &&\n                    series.options.marker,\n                    normalDisabled = markerOptions && markerOptions.enabled === false,\n                    markerStateOptions = (markerOptions && markerOptions.states &&\n                        markerOptions.states[state]) || {},\n                    stateDisabled = markerStateOptions.enabled === false,\n                    stateMarkerGraphic = series.stateMarkerGraphic,\n                    pointMarker = point.marker || {},\n                    chart = series.chart,\n                    halo = series.halo,\n                    haloOptions,\n                    markerAttribs,\n                    hasMarkers = markerOptions && series.markerAttribs,\n                    newSymbol;\n\n                state = state || ''; // empty string\n\n                if (\n                    // already has this state\n                    (state === point.state && !move) ||\n                    // selected points don't respond to hover\n                    (point.selected && state !== 'select') ||\n                    // series' state options is disabled\n                    (stateOptions.enabled === false) ||\n                    // general point marker's state options is disabled\n                    (state && (stateDisabled || (normalDisabled && markerStateOptions.enabled === false))) ||\n                    // individual point marker's state options is disabled\n                    (state && pointMarker.states && pointMarker.states[state] && pointMarker.states[state].enabled === false) // #1610\n\n                ) {\n                    return;\n                }\n\n                if (hasMarkers) {\n                    markerAttribs = series.markerAttribs(point, state);\n                }\n\n                // Apply hover styles to the existing point\n                if (point.graphic) {\n\n                    if (point.state) {\n                        point.graphic.removeClass('highcharts-point-' + point.state);\n                    }\n                    if (state) {\n                        point.graphic.addClass('highcharts-point-' + state);\n                    }\n\n                    /*attribs = radius ? { // new symbol attributes (#507, #612)\n                    \tx: plotX - radius,\n                    \ty: plotY - radius,\n                    \twidth: 2 * radius,\n                    \theight: 2 * radius\n                    } : {};*/\n\n\n                    //attribs = merge(series.pointAttribs(point, state), attribs);\n                    point.graphic.attr(series.pointAttribs(point, state));\n\n\n                    if (markerAttribs) {\n                        point.graphic.animate(\n                            markerAttribs,\n                            pick(\n                                chart.options.chart.animation, // Turn off globally\n                                markerStateOptions.animation,\n                                markerOptions.animation\n                            )\n                        );\n                    }\n\n                    // Zooming in from a range with no markers to a range with markers\n                    if (stateMarkerGraphic) {\n                        stateMarkerGraphic.hide();\n                    }\n                } else {\n                    // if a graphic is not applied to each point in the normal state, create a shared\n                    // graphic for the hover state\n                    if (state && markerStateOptions) {\n                        newSymbol = pointMarker.symbol || series.symbol;\n\n                        // If the point has another symbol than the previous one, throw away the\n                        // state marker graphic and force a new one (#1459)\n                        if (stateMarkerGraphic && stateMarkerGraphic.currentSymbol !== newSymbol) {\n                            stateMarkerGraphic = stateMarkerGraphic.destroy();\n                        }\n\n                        // Add a new state marker graphic\n                        if (!stateMarkerGraphic) {\n                            if (newSymbol) {\n                                series.stateMarkerGraphic = stateMarkerGraphic = chart.renderer.symbol(\n                                        newSymbol,\n                                        markerAttribs.x,\n                                        markerAttribs.y,\n                                        markerAttribs.width,\n                                        markerAttribs.height\n                                    )\n                                    .add(series.markerGroup);\n                                stateMarkerGraphic.currentSymbol = newSymbol;\n                            }\n\n                            // Move the existing graphic\n                        } else {\n                            stateMarkerGraphic[move ? 'animate' : 'attr']({ // #1054\n                                x: markerAttribs.x,\n                                y: markerAttribs.y\n                            });\n                        }\n\n                        if (stateMarkerGraphic) {\n                            stateMarkerGraphic.attr(series.pointAttribs(point, state));\n                        }\n\n                    }\n\n                    if (stateMarkerGraphic) {\n                        stateMarkerGraphic[state && chart.isInsidePlot(plotX, plotY, chart.inverted) ? 'show' : 'hide'](); // #2450\n                        stateMarkerGraphic.element.point = point; // #4310\n                    }\n                }\n\n                // Show me your halo\n                haloOptions = stateOptions.halo;\n                if (haloOptions && haloOptions.size) {\n                    if (!halo) {\n                        series.halo = halo = chart.renderer.path()\n                            // #5818, #5903\n                            .add(hasMarkers ? series.markerGroup : series.group);\n                    }\n                    halo[move ? 'animate' : 'attr']({\n                        d: point.haloPath(haloOptions.size)\n                    });\n                    halo.attr({\n                        'class': 'highcharts-halo highcharts-color-' +\n                            pick(point.colorIndex, series.colorIndex)\n                    });\n                    halo.point = point; // #6055\n\n\n                    halo.attr(extend({\n                        'fill': point.color || series.color,\n                        'fill-opacity': haloOptions.opacity,\n                        'zIndex': -1 // #4929, IE8 added halo above everything\n                    }, haloOptions.attributes));\n\n\n                } else if (halo && halo.point && halo.point.haloPath) {\n                    // Animate back to 0 on the current halo point (#6055)\n                    halo.animate({\n                        d: halo.point.haloPath(0)\n                    });\n                }\n\n                point.state = state;\n            },\n\n            /**\n             * Get the circular path definition for the halo\n             * @param  {Number} size The radius of the circular halo.\n             * @returns {Array} The path definition\n             */\n            haloPath: function(size) {\n                var series = this.series,\n                    chart = series.chart;\n\n                return chart.renderer.symbols.circle(\n                    Math.floor(this.plotX) - size,\n                    this.plotY - size,\n                    size * 2,\n                    size * 2\n                );\n            }\n        });\n\n        /*\n         * Extend the Series object with interaction\n         */\n\n        extend(Series.prototype, /** @lends Series.prototype */ {\n            /**\n             * Series mouse over handler\n             */\n            onMouseOver: function() {\n                var series = this,\n                    chart = series.chart,\n                    hoverSeries = chart.hoverSeries;\n\n                // set normal state to previous series\n                if (hoverSeries && hoverSeries !== series) {\n                    hoverSeries.onMouseOut();\n                }\n\n                // trigger the event, but to save processing time,\n                // only if defined\n                if (series.options.events.mouseOver) {\n                    fireEvent(series, 'mouseOver');\n                }\n\n                // hover this\n                series.setState('hover');\n                chart.hoverSeries = series;\n            },\n\n            /**\n             * Series mouse out handler\n             */\n            onMouseOut: function() {\n                // trigger the event only if listeners exist\n                var series = this,\n                    options = series.options,\n                    chart = series.chart,\n                    tooltip = chart.tooltip,\n                    hoverPoint = chart.hoverPoint;\n\n                chart.hoverSeries = null; // #182, set to null before the mouseOut event fires\n\n                // trigger mouse out on the point, which must be in this series\n                if (hoverPoint) {\n                    hoverPoint.onMouseOut();\n                }\n\n                // fire the mouse out event\n                if (series && options.events.mouseOut) {\n                    fireEvent(series, 'mouseOut');\n                }\n\n\n                // hide the tooltip\n                if (tooltip && !series.stickyTracking && (!tooltip.shared || series.noSharedTooltip)) {\n                    tooltip.hide();\n                }\n\n                // set normal state\n                series.setState();\n            },\n\n            /**\n             * Set the state of the graph\n             */\n            setState: function(state) {\n                var series = this,\n                    options = series.options,\n                    graph = series.graph,\n                    stateOptions = options.states,\n                    lineWidth = options.lineWidth,\n                    attribs,\n                    i = 0;\n\n                state = state || '';\n\n                if (series.state !== state) {\n\n                    // Toggle class names\n                    each([\n                        series.group,\n                        series.markerGroup,\n                        series.dataLabelsGroup\n                    ], function(group) {\n                        if (group) {\n                            // Old state\n                            if (series.state) {\n                                group.removeClass('highcharts-series-' + series.state);\n                            }\n                            // New state\n                            if (state) {\n                                group.addClass('highcharts-series-' + state);\n                            }\n                        }\n                    });\n\n                    series.state = state;\n\n\n\n                    if (stateOptions[state] && stateOptions[state].enabled === false) {\n                        return;\n                    }\n\n                    if (state) {\n                        lineWidth = stateOptions[state].lineWidth || lineWidth + (stateOptions[state].lineWidthPlus || 0); // #4035\n                    }\n\n                    if (graph && !graph.dashstyle) { // hover is turned off for dashed lines in VML\n                        attribs = {\n                            'stroke-width': lineWidth\n                        };\n\n                        // Animate the graph stroke-width. By default a quick animation\n                        // to hover, slower to un-hover.\n                        graph.animate(\n                            attribs,\n                            pick(\n                                series.chart.options.chart.animation,\n                                stateOptions[state] && stateOptions[state].animation\n                            )\n                        );\n                        while (series['zone-graph-' + i]) {\n                            series['zone-graph-' + i].attr(attribs);\n                            i = i + 1;\n                        }\n                    }\n\n                }\n            },\n\n            /**\n             * Set the visibility of the graph\n             *\n             * @param vis {Boolean} True to show the series, false to hide. If undefined,\n             *\t\t\t\tthe visibility is toggled.\n             */\n            setVisible: function(vis, redraw) {\n                var series = this,\n                    chart = series.chart,\n                    legendItem = series.legendItem,\n                    showOrHide,\n                    ignoreHiddenSeries = chart.options.chart.ignoreHiddenSeries,\n                    oldVisibility = series.visible;\n\n                // if called without an argument, toggle visibility\n                series.visible = vis = series.options.visible = series.userOptions.visible = vis === undefined ? !oldVisibility : vis; // #5618\n                showOrHide = vis ? 'show' : 'hide';\n\n                // show or hide elements\n                each(['group', 'dataLabelsGroup', 'markerGroup', 'tracker', 'tt'], function(key) {\n                    if (series[key]) {\n                        series[key][showOrHide]();\n                    }\n                });\n\n\n                // hide tooltip (#1361)\n                if (chart.hoverSeries === series || (chart.hoverPoint && chart.hoverPoint.series) === series) {\n                    series.onMouseOut();\n                }\n\n\n                if (legendItem) {\n                    chart.legend.colorizeItem(series, vis);\n                }\n\n\n                // rescale or adapt to resized chart\n                series.isDirty = true;\n                // in a stack, all other series are affected\n                if (series.options.stacking) {\n                    each(chart.series, function(otherSeries) {\n                        if (otherSeries.options.stacking && otherSeries.visible) {\n                            otherSeries.isDirty = true;\n                        }\n                    });\n                }\n\n                // show or hide linked series\n                each(series.linkedSeries, function(otherSeries) {\n                    otherSeries.setVisible(vis, false);\n                });\n\n                if (ignoreHiddenSeries) {\n                    chart.isDirtyBox = true;\n                }\n                if (redraw !== false) {\n                    chart.redraw();\n                }\n\n                fireEvent(series, showOrHide);\n            },\n\n            /**\n             * Show the graph\n             */\n            show: function() {\n                this.setVisible(true);\n            },\n\n            /**\n             * Hide the graph\n             */\n            hide: function() {\n                this.setVisible(false);\n            },\n\n\n            /**\n             * Set the selected state of the graph\n             *\n             * @param selected {Boolean} True to select the series, false to unselect. If\n             *\t\t\t\tundefined, the selection state is toggled.\n             */\n            select: function(selected) {\n                var series = this;\n                // if called without an argument, toggle\n                series.selected = selected = (selected === undefined) ? !series.selected : selected;\n\n                if (series.checkbox) {\n                    series.checkbox.checked = selected;\n                }\n\n                fireEvent(series, selected ? 'select' : 'unselect');\n            },\n\n            drawTracker: TrackerMixin.drawTrackerGraph\n        });\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var Chart = H.Chart,\n            each = H.each,\n            inArray = H.inArray,\n            isArray = H.isArray,\n            isObject = H.isObject,\n            pick = H.pick,\n            splat = H.splat;\n\n        /**\n         * Update the chart based on the current chart/document size and options for\n         * responsiveness.\n         */\n        Chart.prototype.setResponsive = function(redraw) {\n            var options = this.options.responsive,\n                ruleIds = [],\n                currentResponsive = this.currentResponsive,\n                currentRuleIds;\n\n            if (options && options.rules) {\n                each(options.rules, function(rule) {\n                    if (rule._id === undefined) {\n                        rule._id = H.uniqueKey();\n                    }\n\n                    this.matchResponsiveRule(rule, ruleIds, redraw);\n                }, this);\n            }\n\n            // Merge matching rules\n            var mergedOptions = H.merge.apply(0, H.map(ruleIds, function(ruleId) {\n                return H.find(options.rules, function(rule) {\n                    return rule._id === ruleId;\n                }).chartOptions;\n            }));\n\n            // Stringified key for the rules that currently apply.\n            ruleIds = ruleIds.toString() || undefined;\n            currentRuleIds = currentResponsive && currentResponsive.ruleIds;\n\n\n            // Changes in what rules apply\n            if (ruleIds !== currentRuleIds) {\n\n                // Undo previous rules. Before we apply a new set of rules, we need to\n                // roll back completely to base options (#6291).\n                if (currentResponsive) {\n                    this.update(currentResponsive.undoOptions, redraw);\n                }\n\n                if (ruleIds) {\n                    // Get undo-options for matching rules\n                    this.currentResponsive = {\n                        ruleIds: ruleIds,\n                        mergedOptions: mergedOptions,\n                        undoOptions: this.currentOptions(mergedOptions)\n                    };\n\n                    this.update(mergedOptions, redraw);\n\n                } else {\n                    this.currentResponsive = undefined;\n                }\n            }\n        };\n\n        /**\n         * Handle a single responsiveness rule\n         */\n        Chart.prototype.matchResponsiveRule = function(rule, matches) {\n            var condition = rule.condition,\n                fn = condition.callback || function() {\n                    return this.chartWidth <= pick(condition.maxWidth, Number.MAX_VALUE) &&\n                        this.chartHeight <= pick(condition.maxHeight, Number.MAX_VALUE) &&\n                        this.chartWidth >= pick(condition.minWidth, 0) &&\n                        this.chartHeight >= pick(condition.minHeight, 0);\n                };\n\n            if (fn.call(this)) {\n                matches.push(rule._id);\n            }\n\n        };\n\n        /**\n         * Get the current values for a given set of options. Used before we update\n         * the chart with a new responsiveness rule.\n         * TODO: Restore axis options (by id?)\n         */\n        Chart.prototype.currentOptions = function(options) {\n\n            var ret = {};\n\n            /**\n             * Recurse over a set of options and its current values,\n             * and store the current values in the ret object.\n             */\n            function getCurrent(options, curr, ret, depth) {\n                var key, i;\n                for (key in options) {\n                    if (!depth && inArray(key, ['series', 'xAxis', 'yAxis']) > -1) {\n                        options[key] = splat(options[key]);\n\n                        ret[key] = [];\n\n                        // Iterate over collections like series, xAxis or yAxis and map\n                        // the items by index.\n                        for (i = 0; i < options[key].length; i++) {\n                            if (curr[key][i]) { // Item exists in current data (#6347)\n                                ret[key][i] = {};\n                                getCurrent(\n                                    options[key][i],\n                                    curr[key][i],\n                                    ret[key][i],\n                                    depth + 1\n                                );\n                            }\n                        }\n                    } else if (isObject(options[key])) {\n                        ret[key] = isArray(options[key]) ? [] : {};\n                        getCurrent(\n                            options[key],\n                            curr[key] || {},\n                            ret[key],\n                            depth + 1\n                        );\n                    } else {\n                        ret[key] = curr[key] || null;\n                    }\n                }\n            }\n\n            getCurrent(options, this.options, ret, 0);\n            return ret;\n        };\n\n    }(Highcharts));\n    var Highcharts = (function(Highcharts) {\n\n        return Highcharts;\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var addEvent = H.addEvent,\n            Axis = H.Axis,\n            Chart = H.Chart,\n            css = H.css,\n            dateFormat = H.dateFormat,\n            defined = H.defined,\n            each = H.each,\n            extend = H.extend,\n            noop = H.noop,\n            Series = H.Series,\n            timeUnits = H.timeUnits,\n            wrap = H.wrap;\n\n        /* ****************************************************************************\n         * Start ordinal axis logic                                                   *\n         *****************************************************************************/\n\n\n        wrap(Series.prototype, 'init', function(proceed) {\n            var series = this,\n                xAxis;\n\n            // call the original function\n            proceed.apply(this, Array.prototype.slice.call(arguments, 1));\n\n            xAxis = series.xAxis;\n\n            // Destroy the extended ordinal index on updated data\n            if (xAxis && xAxis.options.ordinal) {\n                addEvent(series, 'updatedData', function() {\n                    delete xAxis.ordinalIndex;\n                });\n            }\n        });\n\n        /**\n         * In an ordinal axis, there might be areas with dense consentrations of points, then large\n         * gaps between some. Creating equally distributed ticks over this entire range\n         * may lead to a huge number of ticks that will later be removed. So instead, break the\n         * positions up in segments, find the tick positions for each segment then concatenize them.\n         * This method is used from both data grouping logic and X axis tick position logic.\n         */\n        wrap(Axis.prototype, 'getTimeTicks', function(proceed, normalizedInterval, min, max, startOfWeek, positions, closestDistance, findHigherRanks) {\n\n            var start = 0,\n                end,\n                segmentPositions,\n                higherRanks = {},\n                hasCrossedHigherRank,\n                info,\n                posLength,\n                outsideMax,\n                groupPositions = [],\n                lastGroupPosition = -Number.MAX_VALUE,\n                tickPixelIntervalOption = this.options.tickPixelInterval;\n\n            // The positions are not always defined, for example for ordinal positions when data\n            // has regular interval (#1557, #2090)\n            if ((!this.options.ordinal && !this.options.breaks) || !positions || positions.length < 3 || min === undefined) {\n                return proceed.call(this, normalizedInterval, min, max, startOfWeek);\n            }\n\n            // Analyze the positions array to split it into segments on gaps larger than 5 times\n            // the closest distance. The closest distance is already found at this point, so\n            // we reuse that instead of computing it again.\n            posLength = positions.length;\n\n            for (end = 0; end < posLength; end++) {\n\n                outsideMax = end && positions[end - 1] > max;\n\n                if (positions[end] < min) { // Set the last position before min\n                    start = end;\n                }\n\n                if (end === posLength - 1 || positions[end + 1] - positions[end] > closestDistance * 5 || outsideMax) {\n\n                    // For each segment, calculate the tick positions from the getTimeTicks utility\n                    // function. The interval will be the same regardless of how long the segment is.\n                    if (positions[end] > lastGroupPosition) { // #1475\n\n                        segmentPositions = proceed.call(this, normalizedInterval, positions[start], positions[end], startOfWeek);\n\n                        // Prevent duplicate groups, for example for multiple segments within one larger time frame (#1475)\n                        while (segmentPositions.length && segmentPositions[0] <= lastGroupPosition) {\n                            segmentPositions.shift();\n                        }\n                        if (segmentPositions.length) {\n                            lastGroupPosition = segmentPositions[segmentPositions.length - 1];\n                        }\n\n                        groupPositions = groupPositions.concat(segmentPositions);\n                    }\n                    // Set start of next segment\n                    start = end + 1;\n                }\n\n                if (outsideMax) {\n                    break;\n                }\n            }\n\n            // Get the grouping info from the last of the segments. The info is the same for\n            // all segments.\n            info = segmentPositions.info;\n\n            // Optionally identify ticks with higher rank, for example when the ticks\n            // have crossed midnight.\n            if (findHigherRanks && info.unitRange <= timeUnits.hour) {\n                end = groupPositions.length - 1;\n\n                // Compare points two by two\n                for (start = 1; start < end; start++) {\n                    if (dateFormat('%d', groupPositions[start]) !== dateFormat('%d', groupPositions[start - 1])) {\n                        higherRanks[groupPositions[start]] = 'day';\n                        hasCrossedHigherRank = true;\n                    }\n                }\n\n                // If the complete array has crossed midnight, we want to mark the first\n                // positions also as higher rank\n                if (hasCrossedHigherRank) {\n                    higherRanks[groupPositions[0]] = 'day';\n                }\n                info.higherRanks = higherRanks;\n            }\n\n            // Save the info\n            groupPositions.info = info;\n\n\n\n            // Don't show ticks within a gap in the ordinal axis, where the space between\n            // two points is greater than a portion of the tick pixel interval\n            if (findHigherRanks && defined(tickPixelIntervalOption)) { // check for squashed ticks\n\n                var length = groupPositions.length,\n                    i = length,\n                    itemToRemove,\n                    translated,\n                    translatedArr = [],\n                    lastTranslated,\n                    medianDistance,\n                    distance,\n                    distances = [];\n\n                // Find median pixel distance in order to keep a reasonably even distance between\n                // ticks (#748)\n                while (i--) {\n                    translated = this.translate(groupPositions[i]);\n                    if (lastTranslated) {\n                        distances[i] = lastTranslated - translated;\n                    }\n                    translatedArr[i] = lastTranslated = translated;\n                }\n                distances.sort();\n                medianDistance = distances[Math.floor(distances.length / 2)];\n                if (medianDistance < tickPixelIntervalOption * 0.6) {\n                    medianDistance = null;\n                }\n\n                // Now loop over again and remove ticks where needed\n                i = groupPositions[length - 1] > max ? length - 1 : length; // #817\n                lastTranslated = undefined;\n                while (i--) {\n                    translated = translatedArr[i];\n                    distance = Math.abs(lastTranslated - translated);\n                    // #4175 - when axis is reversed, the distance, is negative but \n                    // tickPixelIntervalOption positive, so we need to compare the same values\n\n                    // Remove ticks that are closer than 0.6 times the pixel interval from the one to the right,\n                    // but not if it is close to the median distance (#748).\n                    if (lastTranslated && distance < tickPixelIntervalOption * 0.8 &&\n                        (medianDistance === null || distance < medianDistance * 0.8)) {\n\n                        // Is this a higher ranked position with a normal position to the right?\n                        if (higherRanks[groupPositions[i]] && !higherRanks[groupPositions[i + 1]]) {\n\n                            // Yes: remove the lower ranked neighbour to the right\n                            itemToRemove = i + 1;\n                            lastTranslated = translated; // #709\n\n                        } else {\n\n                            // No: remove this one\n                            itemToRemove = i;\n                        }\n\n                        groupPositions.splice(itemToRemove, 1);\n\n                    } else {\n                        lastTranslated = translated;\n                    }\n                }\n            }\n            return groupPositions;\n        });\n\n        // Extend the Axis prototype\n        extend(Axis.prototype, /** @lends Axis.prototype */ {\n\n            /**\n             * Calculate the ordinal positions before tick positions are calculated.\n             */\n            beforeSetTickPositions: function() {\n                var axis = this,\n                    len,\n                    ordinalPositions = [],\n                    useOrdinal = false,\n                    dist,\n                    extremes = axis.getExtremes(),\n                    min = extremes.min,\n                    max = extremes.max,\n                    minIndex,\n                    maxIndex,\n                    slope,\n                    hasBreaks = axis.isXAxis && !!axis.options.breaks,\n                    isOrdinal = axis.options.ordinal,\n                    ignoreHiddenSeries = axis.chart.options.chart.ignoreHiddenSeries,\n                    i;\n\n                // apply the ordinal logic\n                if (isOrdinal || hasBreaks) { // #4167 YAxis is never ordinal ?\n\n                    each(axis.series, function(series, i) {\n\n                        if ((!ignoreHiddenSeries || series.visible !== false) && (series.takeOrdinalPosition !== false || hasBreaks)) {\n\n                            // concatenate the processed X data into the existing positions, or the empty array\n                            ordinalPositions = ordinalPositions.concat(series.processedXData);\n                            len = ordinalPositions.length;\n\n                            // remove duplicates (#1588)\n                            ordinalPositions.sort(function(a, b) {\n                                return a - b; // without a custom function it is sorted as strings\n                            });\n\n                            if (len) {\n                                i = len - 1;\n                                while (i--) {\n                                    if (ordinalPositions[i] === ordinalPositions[i + 1]) {\n                                        ordinalPositions.splice(i, 1);\n                                    }\n                                }\n                            }\n                        }\n\n                    });\n\n                    // cache the length\n                    len = ordinalPositions.length;\n\n                    // Check if we really need the overhead of mapping axis data against the ordinal positions.\n                    // If the series consist of evenly spaced data any way, we don't need any ordinal logic.\n                    if (len > 2) { // two points have equal distance by default\n                        dist = ordinalPositions[1] - ordinalPositions[0];\n                        i = len - 1;\n                        while (i-- && !useOrdinal) {\n                            if (ordinalPositions[i + 1] - ordinalPositions[i] !== dist) {\n                                useOrdinal = true;\n                            }\n                        }\n\n                        // When zooming in on a week, prevent axis padding for weekends even though the data within\n                        // the week is evenly spaced.\n                        if (!axis.options.keepOrdinalPadding && (ordinalPositions[0] - min > dist || max - ordinalPositions[ordinalPositions.length - 1] > dist)) {\n                            useOrdinal = true;\n                        }\n                    }\n\n                    // Record the slope and offset to compute the linear values from the array index.\n                    // Since the ordinal positions may exceed the current range, get the start and\n                    // end positions within it (#719, #665b)\n                    if (useOrdinal) {\n\n                        // Register\n                        axis.ordinalPositions = ordinalPositions;\n\n                        // This relies on the ordinalPositions being set. Use Math.max\n                        // and Math.min to prevent padding on either sides of the data.\n                        minIndex = axis.ordinal2lin( // #5979\n                            Math.max(\n                                min,\n                                ordinalPositions[0]\n                            ),\n                            true\n                        );\n                        maxIndex = Math.max(axis.ordinal2lin(\n                            Math.min(\n                                max,\n                                ordinalPositions[ordinalPositions.length - 1]\n                            ),\n                            true\n                        ), 1); // #3339\n\n                        // Set the slope and offset of the values compared to the indices in the ordinal positions\n                        axis.ordinalSlope = slope = (max - min) / (maxIndex - minIndex);\n                        axis.ordinalOffset = min - (minIndex * slope);\n\n                    } else {\n                        axis.ordinalPositions = axis.ordinalSlope = axis.ordinalOffset = undefined;\n                    }\n                }\n                axis.isOrdinal = isOrdinal && useOrdinal; // #3818, #4196, #4926\n                axis.groupIntervalFactor = null; // reset for next run\n            },\n            /**\n             * Translate from a linear axis value to the corresponding ordinal axis position. If there\n             * are no gaps in the ordinal axis this will be the same. The translated value is the value\n             * that the point would have if the axis were linear, using the same min and max.\n             *\n             * @param Number val The axis value\n             * @param Boolean toIndex Whether to return the index in the ordinalPositions or the new value\n             */\n            val2lin: function(val, toIndex) {\n                var axis = this,\n                    ordinalPositions = axis.ordinalPositions,\n                    ret;\n\n                if (!ordinalPositions) {\n                    ret = val;\n\n                } else {\n\n                    var ordinalLength = ordinalPositions.length,\n                        i,\n                        distance,\n                        ordinalIndex;\n\n                    // first look for an exact match in the ordinalpositions array\n                    i = ordinalLength;\n                    while (i--) {\n                        if (ordinalPositions[i] === val) {\n                            ordinalIndex = i;\n                            break;\n                        }\n                    }\n\n                    // if that failed, find the intermediate position between the two nearest values\n                    i = ordinalLength - 1;\n                    while (i--) {\n                        if (val > ordinalPositions[i] || i === 0) { // interpolate\n                            distance = (val - ordinalPositions[i]) / (ordinalPositions[i + 1] - ordinalPositions[i]); // something between 0 and 1\n                            ordinalIndex = i + distance;\n                            break;\n                        }\n                    }\n                    ret = toIndex ?\n                        ordinalIndex :\n                        axis.ordinalSlope * (ordinalIndex || 0) + axis.ordinalOffset;\n                }\n                return ret;\n            },\n            /**\n             * Translate from linear (internal) to axis value\n             *\n             * @param Number val The linear abstracted value\n             * @param Boolean fromIndex Translate from an index in the ordinal positions rather than a value\n             */\n            lin2val: function(val, fromIndex) {\n                var axis = this,\n                    ordinalPositions = axis.ordinalPositions,\n                    ret;\n\n                if (!ordinalPositions) { // the visible range contains only equally spaced values\n                    ret = val;\n\n                } else {\n\n                    var ordinalSlope = axis.ordinalSlope,\n                        ordinalOffset = axis.ordinalOffset,\n                        i = ordinalPositions.length - 1,\n                        linearEquivalentLeft,\n                        linearEquivalentRight,\n                        distance;\n\n\n                    // Handle the case where we translate from the index directly, used only\n                    // when panning an ordinal axis\n                    if (fromIndex) {\n\n                        if (val < 0) { // out of range, in effect panning to the left\n                            val = ordinalPositions[0];\n                        } else if (val > i) { // out of range, panning to the right\n                            val = ordinalPositions[i];\n                        } else { // split it up\n                            i = Math.floor(val);\n                            distance = val - i; // the decimal\n                        }\n\n                        // Loop down along the ordinal positions. When the linear equivalent of i matches\n                        // an ordinal position, interpolate between the left and right values.\n                    } else {\n                        while (i--) {\n                            linearEquivalentLeft = (ordinalSlope * i) + ordinalOffset;\n                            if (val >= linearEquivalentLeft) {\n                                linearEquivalentRight = (ordinalSlope * (i + 1)) + ordinalOffset;\n                                distance = (val - linearEquivalentLeft) / (linearEquivalentRight - linearEquivalentLeft); // something between 0 and 1\n                                break;\n                            }\n                        }\n                    }\n\n                    // If the index is within the range of the ordinal positions, return the associated\n                    // or interpolated value. If not, just return the value\n                    return distance !== undefined && ordinalPositions[i] !== undefined ?\n                        ordinalPositions[i] + (distance ? distance * (ordinalPositions[i + 1] - ordinalPositions[i]) : 0) :\n                        val;\n                }\n                return ret;\n            },\n            /**\n             * Get the ordinal positions for the entire data set. This is necessary in chart panning\n             * because we need to find out what points or data groups are available outside the\n             * visible range. When a panning operation starts, if an index for the given grouping\n             * does not exists, it is created and cached. This index is deleted on updated data, so\n             * it will be regenerated the next time a panning operation starts.\n             */\n            getExtendedPositions: function() {\n                var axis = this,\n                    chart = axis.chart,\n                    grouping = axis.series[0].currentDataGrouping,\n                    ordinalIndex = axis.ordinalIndex,\n                    key = grouping ? grouping.count + grouping.unitName : 'raw',\n                    extremes = axis.getExtremes(),\n                    fakeAxis,\n                    fakeSeries;\n\n                // If this is the first time, or the ordinal index is deleted by updatedData,\n                // create it.\n                if (!ordinalIndex) {\n                    ordinalIndex = axis.ordinalIndex = {};\n                }\n\n\n                if (!ordinalIndex[key]) {\n\n                    // Create a fake axis object where the extended ordinal positions are emulated\n                    fakeAxis = {\n                        series: [],\n                        chart: chart,\n                        getExtremes: function() {\n                            return {\n                                min: extremes.dataMin,\n                                max: extremes.dataMax\n                            };\n                        },\n                        options: {\n                            ordinal: true\n                        },\n                        val2lin: Axis.prototype.val2lin, // #2590\n                        ordinal2lin: Axis.prototype.ordinal2lin // #6276\n                    };\n\n                    // Add the fake series to hold the full data, then apply processData to it\n                    each(axis.series, function(series) {\n                        fakeSeries = {\n                            xAxis: fakeAxis,\n                            xData: series.xData,\n                            chart: chart,\n                            destroyGroupedData: noop\n                        };\n                        fakeSeries.options = {\n                            dataGrouping: grouping ? {\n                                enabled: true,\n                                forced: true,\n                                approximation: 'open', // doesn't matter which, use the fastest\n                                units: [\n                                    [grouping.unitName, [grouping.count]]\n                                ]\n                            } : {\n                                enabled: false\n                            }\n                        };\n                        series.processData.apply(fakeSeries);\n\n                        fakeAxis.series.push(fakeSeries);\n                    });\n\n                    // Run beforeSetTickPositions to compute the ordinalPositions\n                    axis.beforeSetTickPositions.apply(fakeAxis);\n\n                    // Cache it\n                    ordinalIndex[key] = fakeAxis.ordinalPositions;\n                }\n                return ordinalIndex[key];\n            },\n\n            /**\n             * Find the factor to estimate how wide the plot area would have been if ordinal\n             * gaps were included. This value is used to compute an imagined plot width in order\n             * to establish the data grouping interval.\n             *\n             * A real world case is the intraday-candlestick\n             * example. Without this logic, it would show the correct data grouping when viewing\n             * a range within each day, but once moving the range to include the gap between two\n             * days, the interval would include the cut-away night hours and the data grouping\n             * would be wrong. So the below method tries to compensate by identifying the most\n             * common point interval, in this case days.\n             *\n             * An opposite case is presented in issue #718. We have a long array of daily data,\n             * then one point is appended one hour after the last point. We expect the data grouping\n             * not to change.\n             *\n             * In the future, if we find cases where this estimation doesn't work optimally, we\n             * might need to add a second pass to the data grouping logic, where we do another run\n             * with a greater interval if the number of data groups is more than a certain fraction\n             * of the desired group count.\n             */\n            getGroupIntervalFactor: function(xMin, xMax, series) {\n                var i,\n                    processedXData = series.processedXData,\n                    len = processedXData.length,\n                    distances = [],\n                    median,\n                    groupIntervalFactor = this.groupIntervalFactor;\n\n                // Only do this computation for the first series, let the other inherit it (#2416)\n                if (!groupIntervalFactor) {\n\n                    // Register all the distances in an array\n                    for (i = 0; i < len - 1; i++) {\n                        distances[i] = processedXData[i + 1] - processedXData[i];\n                    }\n\n                    // Sort them and find the median\n                    distances.sort(function(a, b) {\n                        return a - b;\n                    });\n                    median = distances[Math.floor(len / 2)];\n\n                    // Compensate for series that don't extend through the entire axis extent. #1675.\n                    xMin = Math.max(xMin, processedXData[0]);\n                    xMax = Math.min(xMax, processedXData[len - 1]);\n\n                    this.groupIntervalFactor = groupIntervalFactor = (len * median) / (xMax - xMin);\n                }\n\n                // Return the factor needed for data grouping\n                return groupIntervalFactor;\n            },\n\n            /**\n             * Make the tick intervals closer because the ordinal gaps make the ticks spread out or cluster\n             */\n            postProcessTickInterval: function(tickInterval) {\n                // Problem: http://jsfiddle.net/highcharts/FQm4E/1/\n                // This is a case where this algorithm doesn't work optimally. In this case, the\n                // tick labels are spread out per week, but all the gaps reside within weeks. So\n                // we have a situation where the labels are courser than the ordinal gaps, and\n                // thus the tick interval should not be altered\n                var ordinalSlope = this.ordinalSlope,\n                    ret;\n\n\n                if (ordinalSlope) {\n                    if (!this.options.breaks) {\n                        ret = tickInterval / (ordinalSlope / this.closestPointRange);\n                    } else {\n                        ret = this.closestPointRange;\n                    }\n                } else {\n                    ret = tickInterval;\n                }\n                return ret;\n            }\n        });\n\n        // Record this to prevent overwriting by broken-axis module (#5979)\n        Axis.prototype.ordinal2lin = Axis.prototype.val2lin;\n\n        // Extending the Chart.pan method for ordinal axes\n        wrap(Chart.prototype, 'pan', function(proceed, e) {\n            var chart = this,\n                xAxis = chart.xAxis[0],\n                chartX = e.chartX,\n                runBase = false;\n\n            if (xAxis.options.ordinal && xAxis.series.length) {\n\n                var mouseDownX = chart.mouseDownX,\n                    extremes = xAxis.getExtremes(),\n                    dataMax = extremes.dataMax,\n                    min = extremes.min,\n                    max = extremes.max,\n                    trimmedRange,\n                    hoverPoints = chart.hoverPoints,\n                    closestPointRange = xAxis.closestPointRange,\n                    pointPixelWidth = xAxis.translationSlope * (xAxis.ordinalSlope || closestPointRange),\n                    movedUnits = (mouseDownX - chartX) / pointPixelWidth, // how many ordinal units did we move?\n                    extendedAxis = {\n                        ordinalPositions: xAxis.getExtendedPositions()\n                    }, // get index of all the chart's points\n                    ordinalPositions,\n                    searchAxisLeft,\n                    lin2val = xAxis.lin2val,\n                    val2lin = xAxis.val2lin,\n                    searchAxisRight;\n\n                if (!extendedAxis.ordinalPositions) { // we have an ordinal axis, but the data is equally spaced\n                    runBase = true;\n\n                } else if (Math.abs(movedUnits) > 1) {\n\n                    // Remove active points for shared tooltip\n                    if (hoverPoints) {\n                        each(hoverPoints, function(point) {\n                            point.setState();\n                        });\n                    }\n\n                    if (movedUnits < 0) {\n                        searchAxisLeft = extendedAxis;\n                        searchAxisRight = xAxis.ordinalPositions ? xAxis : extendedAxis;\n                    } else {\n                        searchAxisLeft = xAxis.ordinalPositions ? xAxis : extendedAxis;\n                        searchAxisRight = extendedAxis;\n                    }\n\n                    // In grouped data series, the last ordinal position represents the grouped data, which is\n                    // to the left of the real data max. If we don't compensate for this, we will be allowed\n                    // to pan grouped data series passed the right of the plot area.\n                    ordinalPositions = searchAxisRight.ordinalPositions;\n                    if (dataMax > ordinalPositions[ordinalPositions.length - 1]) {\n                        ordinalPositions.push(dataMax);\n                    }\n\n                    // Get the new min and max values by getting the ordinal index for the current extreme,\n                    // then add the moved units and translate back to values. This happens on the\n                    // extended ordinal positions if the new position is out of range, else it happens\n                    // on the current x axis which is smaller and faster.\n                    chart.fixedRange = max - min;\n                    trimmedRange = xAxis.toFixedRange(null, null,\n                        lin2val.apply(searchAxisLeft, [\n                            val2lin.apply(searchAxisLeft, [min, true]) + movedUnits, // the new index\n                            true // translate from index\n                        ]),\n                        lin2val.apply(searchAxisRight, [\n                            val2lin.apply(searchAxisRight, [max, true]) + movedUnits, // the new index\n                            true // translate from index\n                        ])\n                    );\n\n                    // Apply it if it is within the available data range\n                    if (trimmedRange.min >= Math.min(extremes.dataMin, min) && trimmedRange.max <= Math.max(dataMax, max)) {\n                        xAxis.setExtremes(trimmedRange.min, trimmedRange.max, true, false, {\n                            trigger: 'pan'\n                        });\n                    }\n\n                    chart.mouseDownX = chartX; // set new reference for next run\n                    css(chart.container, {\n                        cursor: 'move'\n                    });\n                }\n\n            } else {\n                runBase = true;\n            }\n\n            // revert to the linear chart.pan version\n            if (runBase) {\n                // call the original function\n                proceed.apply(this, Array.prototype.slice.call(arguments, 1));\n            }\n        });\n\n\n\n        /**\n         * Extend getGraphPath by identifying gaps in the ordinal data so that we can draw a gap in the\n         * line or area\n         */\n        Series.prototype.gappedPath = function() {\n            var gapSize = this.options.gapSize,\n                points = this.points.slice(),\n                i = points.length - 1;\n\n            if (gapSize && i > 0) { // #5008\n\n                // extension for ordinal breaks\n                while (i--) {\n                    if (points[i + 1].x - points[i].x > this.closestPointRange * gapSize) {\n                        points.splice( // insert after this one\n                            i + 1,\n                            0, {\n                                isNull: true\n                            }\n                        );\n                    }\n                }\n            }\n\n            // Call base method\n            //return proceed.call(this, points, a, b);\n            return this.getGraphPath(points);\n        };\n\n        /* ****************************************************************************\n         * End ordinal axis logic                                                   *\n         *****************************************************************************/\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2009-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n\n        var pick = H.pick,\n            wrap = H.wrap,\n            each = H.each,\n            extend = H.extend,\n            isArray = H.isArray,\n            fireEvent = H.fireEvent,\n            Axis = H.Axis,\n            Series = H.Series;\n\n        function stripArguments() {\n            return Array.prototype.slice.call(arguments, 1);\n        }\n\n        extend(Axis.prototype, {\n            isInBreak: function(brk, val) {\n                var ret,\n                    repeat = brk.repeat || Infinity,\n                    from = brk.from,\n                    length = brk.to - brk.from,\n                    test = (val >= from ? (val - from) % repeat : repeat - ((from - val) % repeat));\n\n                if (!brk.inclusive) {\n                    ret = test < length && test !== 0;\n                } else {\n                    ret = test <= length;\n                }\n                return ret;\n            },\n\n            isInAnyBreak: function(val, testKeep) {\n\n                var breaks = this.options.breaks,\n                    i = breaks && breaks.length,\n                    inbrk,\n                    keep,\n                    ret;\n\n\n                if (i) {\n\n                    while (i--) {\n                        if (this.isInBreak(breaks[i], val)) {\n                            inbrk = true;\n                            if (!keep) {\n                                keep = pick(breaks[i].showPoints, this.isXAxis ? false : true);\n                            }\n                        }\n                    }\n\n                    if (inbrk && testKeep) {\n                        ret = inbrk && !keep;\n                    } else {\n                        ret = inbrk;\n                    }\n                }\n                return ret;\n            }\n        });\n\n        wrap(Axis.prototype, 'setTickPositions', function(proceed) {\n            proceed.apply(this, Array.prototype.slice.call(arguments, 1));\n\n            if (this.options.breaks) {\n                var axis = this,\n                    tickPositions = this.tickPositions,\n                    info = this.tickPositions.info,\n                    newPositions = [],\n                    i;\n\n                for (i = 0; i < tickPositions.length; i++) {\n                    if (!axis.isInAnyBreak(tickPositions[i])) {\n                        newPositions.push(tickPositions[i]);\n                    }\n                }\n\n                this.tickPositions = newPositions;\n                this.tickPositions.info = info;\n            }\n        });\n\n        wrap(Axis.prototype, 'init', function(proceed, chart, userOptions) {\n            var axis = this,\n                breaks;\n            // Force Axis to be not-ordinal when breaks are defined\n            if (userOptions.breaks && userOptions.breaks.length) {\n                userOptions.ordinal = false;\n            }\n            proceed.call(this, chart, userOptions);\n            breaks = this.options.breaks;\n            axis.isBroken = (isArray(breaks) && !!breaks.length);\n            if (axis.isBroken) {\n                axis.val2lin = function(val) {\n                    var nval = val,\n                        brk,\n                        i;\n\n                    for (i = 0; i < axis.breakArray.length; i++) {\n                        brk = axis.breakArray[i];\n                        if (brk.to <= val) {\n                            nval -= brk.len;\n                        } else if (brk.from >= val) {\n                            break;\n                        } else if (axis.isInBreak(brk, val)) {\n                            nval -= (val - brk.from);\n                            break;\n                        }\n                    }\n\n                    return nval;\n                };\n\n                axis.lin2val = function(val) {\n                    var nval = val,\n                        brk,\n                        i;\n\n                    for (i = 0; i < axis.breakArray.length; i++) {\n                        brk = axis.breakArray[i];\n                        if (brk.from >= nval) {\n                            break;\n                        } else if (brk.to < nval) {\n                            nval += brk.len;\n                        } else if (axis.isInBreak(brk, nval)) {\n                            nval += brk.len;\n                        }\n                    }\n                    return nval;\n                };\n\n                axis.setExtremes = function(newMin, newMax, redraw, animation, eventArguments) {\n                    // If trying to set extremes inside a break, extend it to before and after the break ( #3857 )\n                    while (this.isInAnyBreak(newMin)) {\n                        newMin -= this.closestPointRange;\n                    }\n                    while (this.isInAnyBreak(newMax)) {\n                        newMax -= this.closestPointRange;\n                    }\n                    Axis.prototype.setExtremes.call(this, newMin, newMax, redraw, animation, eventArguments);\n                };\n\n                axis.setAxisTranslation = function(saveOld) {\n                    Axis.prototype.setAxisTranslation.call(this, saveOld);\n\n                    var breaks = axis.options.breaks,\n                        breakArrayT = [], // Temporary one\n                        breakArray = [],\n                        length = 0,\n                        inBrk,\n                        repeat,\n                        brk,\n                        min = axis.userMin || axis.min,\n                        max = axis.userMax || axis.max,\n                        pointRangePadding = pick(axis.pointRangePadding, 0),\n                        start,\n                        i,\n                        j;\n\n                    // Min & max check (#4247)\n                    for (i in breaks) {\n                        brk = breaks[i];\n                        repeat = brk.repeat || Infinity;\n                        if (axis.isInBreak(brk, min)) {\n                            min += (brk.to % repeat) - (min % repeat);\n                        }\n                        if (axis.isInBreak(brk, max)) {\n                            max -= (max % repeat) - (brk.from % repeat);\n                        }\n                    }\n\n                    // Construct an array holding all breaks in the axis\n                    for (i in breaks) {\n                        brk = breaks[i];\n                        start = brk.from;\n                        repeat = brk.repeat || Infinity;\n\n                        while (start - repeat > min) {\n                            start -= repeat;\n                        }\n                        while (start < min) {\n                            start += repeat;\n                        }\n\n                        for (j = start; j < max; j += repeat) {\n                            breakArrayT.push({\n                                value: j,\n                                move: 'in'\n                            });\n                            breakArrayT.push({\n                                value: j + (brk.to - brk.from),\n                                move: 'out',\n                                size: brk.breakSize\n                            });\n                        }\n                    }\n\n                    breakArrayT.sort(function(a, b) {\n                        var ret;\n                        if (a.value === b.value) {\n                            ret = (a.move === 'in' ? 0 : 1) - (b.move === 'in' ? 0 : 1);\n                        } else {\n                            ret = a.value - b.value;\n                        }\n                        return ret;\n                    });\n\n                    // Simplify the breaks\n                    inBrk = 0;\n                    start = min;\n\n                    for (i in breakArrayT) {\n                        brk = breakArrayT[i];\n                        inBrk += (brk.move === 'in' ? 1 : -1);\n\n                        if (inBrk === 1 && brk.move === 'in') {\n                            start = brk.value;\n                        }\n                        if (inBrk === 0) {\n                            breakArray.push({\n                                from: start,\n                                to: brk.value,\n                                len: brk.value - start - (brk.size || 0)\n                            });\n                            length += brk.value - start - (brk.size || 0);\n                        }\n                    }\n\n                    axis.breakArray = breakArray;\n\n                    // Used with staticScale, and below, the actual axis length when\n                    // breaks are substracted.\n                    axis.unitLength = max - min - length + pointRangePadding;\n\n                    fireEvent(axis, 'afterBreaks');\n\n                    if (axis.options.staticScale) {\n                        axis.transA = axis.options.staticScale;\n                    } else {\n                        axis.transA *= (max - axis.min + pointRangePadding) /\n                            axis.unitLength;\n                    }\n\n                    if (pointRangePadding) {\n                        axis.minPixelPadding = axis.transA * axis.minPointOffset;\n                    }\n\n                    axis.min = min;\n                    axis.max = max;\n                };\n            }\n        });\n\n        wrap(Series.prototype, 'generatePoints', function(proceed) {\n\n            proceed.apply(this, stripArguments(arguments));\n\n            var series = this,\n                xAxis = series.xAxis,\n                yAxis = series.yAxis,\n                points = series.points,\n                point,\n                i = points.length,\n                connectNulls = series.options.connectNulls,\n                nullGap;\n\n\n            if (xAxis && yAxis && (xAxis.options.breaks || yAxis.options.breaks)) {\n                while (i--) {\n                    point = points[i];\n\n                    nullGap = point.y === null && connectNulls === false; // respect nulls inside the break (#4275)\n                    if (!nullGap && (xAxis.isInAnyBreak(point.x, true) || yAxis.isInAnyBreak(point.y, true))) {\n                        points.splice(i, 1);\n                        if (this.data[i]) {\n                            this.data[i].destroyElements(); // removes the graphics for this point if they exist\n                        }\n                    }\n                }\n            }\n\n        });\n\n        function drawPointsWrapped(proceed) {\n            proceed.apply(this);\n            this.drawBreaks(this.xAxis, ['x']);\n            this.drawBreaks(this.yAxis, pick(this.pointArrayMap, ['y']));\n        }\n\n        H.Series.prototype.drawBreaks = function(axis, keys) {\n            var series = this,\n                points = series.points,\n                breaks,\n                threshold,\n                eventName,\n                y;\n\n            if (!axis) {\n                return; // #5950\n            }\n\n            each(keys, function(key) {\n                breaks = axis.breakArray || [];\n                threshold = axis.isXAxis ? axis.min : pick(series.options.threshold, axis.min);\n                each(points, function(point) {\n                    y = pick(point['stack' + key.toUpperCase()], point[key]);\n                    each(breaks, function(brk) {\n                        eventName = false;\n\n                        if ((threshold < brk.from && y > brk.to) || (threshold > brk.from && y < brk.from)) {\n                            eventName = 'pointBreak';\n                        } else if ((threshold < brk.from && y > brk.from && y < brk.to) || (threshold > brk.from && y > brk.to && y < brk.from)) { // point falls inside the break\n                            eventName = 'pointInBreak';\n                        }\n                        if (eventName) {\n                            fireEvent(axis, eventName, {\n                                point: point,\n                                brk: brk\n                            });\n                        }\n                    });\n                });\n            });\n        };\n\n        wrap(H.seriesTypes.column.prototype, 'drawPoints', drawPointsWrapped);\n        wrap(H.Series.prototype, 'drawPoints', drawPointsWrapped);\n\n    }(Highcharts));\n    (function() {\n\n\n    }());\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var arrayMax = H.arrayMax,\n            arrayMin = H.arrayMin,\n            Axis = H.Axis,\n            defaultPlotOptions = H.defaultPlotOptions,\n            defined = H.defined,\n            each = H.each,\n            extend = H.extend,\n            format = H.format,\n            isNumber = H.isNumber,\n            merge = H.merge,\n            pick = H.pick,\n            Point = H.Point,\n            Series = H.Series,\n            Tooltip = H.Tooltip,\n            wrap = H.wrap;\n\n        /* ****************************************************************************\n         * Start data grouping module\t\t\t\t\t\t\t\t\t\t\t\t *\n         ******************************************************************************/\n\n        var seriesProto = Series.prototype,\n            baseProcessData = seriesProto.processData,\n            baseGeneratePoints = seriesProto.generatePoints,\n            baseDestroy = seriesProto.destroy,\n\n            commonOptions = {\n                approximation: 'average', // average, open, high, low, close, sum\n                //enabled: null, // (true for stock charts, false for basic),\n                //forced: undefined,\n                groupPixelWidth: 2,\n                // the first one is the point or start value, the second is the start value if we're dealing with range,\n                // the third one is the end value if dealing with a range\n                dateTimeLabelFormats: {\n                    millisecond: ['%A, %b %e, %H:%M:%S.%L', '%A, %b %e, %H:%M:%S.%L', '-%H:%M:%S.%L'],\n                    second: ['%A, %b %e, %H:%M:%S', '%A, %b %e, %H:%M:%S', '-%H:%M:%S'],\n                    minute: ['%A, %b %e, %H:%M', '%A, %b %e, %H:%M', '-%H:%M'],\n                    hour: ['%A, %b %e, %H:%M', '%A, %b %e, %H:%M', '-%H:%M'],\n                    day: ['%A, %b %e, %Y', '%A, %b %e', '-%A, %b %e, %Y'],\n                    week: ['Week from %A, %b %e, %Y', '%A, %b %e', '-%A, %b %e, %Y'],\n                    month: ['%B %Y', '%B', '-%B %Y'],\n                    year: ['%Y', '%Y', '-%Y']\n                }\n                // smoothed = false, // enable this for navigator series only\n            },\n\n            specificOptions = { // extends common options\n                line: {},\n                spline: {},\n                area: {},\n                areaspline: {},\n                column: {\n                    approximation: 'sum',\n                    groupPixelWidth: 10\n                },\n                arearange: {\n                    approximation: 'range'\n                },\n                areasplinerange: {\n                    approximation: 'range'\n                },\n                columnrange: {\n                    approximation: 'range',\n                    groupPixelWidth: 10\n                },\n                candlestick: {\n                    approximation: 'ohlc',\n                    groupPixelWidth: 10\n                },\n                ohlc: {\n                    approximation: 'ohlc',\n                    groupPixelWidth: 5\n                }\n            },\n\n            // units are defined in a separate array to allow complete overriding in case of a user option\n            defaultDataGroupingUnits = H.defaultDataGroupingUnits = [\n                [\n                    'millisecond', // unit name\n                    [1, 2, 5, 10, 20, 25, 50, 100, 200, 500] // allowed multiples\n                ],\n                [\n                    'second', [1, 2, 5, 10, 15, 30]\n                ],\n                [\n                    'minute', [1, 2, 5, 10, 15, 30]\n                ],\n                [\n                    'hour', [1, 2, 3, 4, 6, 8, 12]\n                ],\n                [\n                    'day', [1]\n                ],\n                [\n                    'week', [1]\n                ],\n                [\n                    'month', [1, 3, 6]\n                ],\n                [\n                    'year',\n                    null\n                ]\n            ],\n\n\n            /**\n             * Define the available approximation types. The data grouping approximations takes an array\n             * or numbers as the first parameter. In case of ohlc, four arrays are sent in as four parameters.\n             * Each array consists only of numbers. In case null values belong to the group, the property\n             * .hasNulls will be set to true on the array.\n             */\n            approximations = {\n                sum: function(arr) {\n                    var len = arr.length,\n                        ret;\n\n                    // 1. it consists of nulls exclusively\n                    if (!len && arr.hasNulls) {\n                        ret = null;\n                        // 2. it has a length and real values\n                    } else if (len) {\n                        ret = 0;\n                        while (len--) {\n                            ret += arr[len];\n                        }\n                    }\n                    // 3. it has zero length, so just return undefined\n                    // => doNothing()\n\n                    return ret;\n                },\n                average: function(arr) {\n                    var len = arr.length,\n                        ret = approximations.sum(arr);\n\n                    // If we have a number, return it divided by the length. If not, return\n                    // null or undefined based on what the sum method finds.\n                    if (isNumber(ret) && len) {\n                        ret = ret / len;\n                    }\n\n                    return ret;\n                },\n                open: function(arr) {\n                    return arr.length ? arr[0] : (arr.hasNulls ? null : undefined);\n                },\n                high: function(arr) {\n                    return arr.length ? arrayMax(arr) : (arr.hasNulls ? null : undefined);\n                },\n                low: function(arr) {\n                    return arr.length ? arrayMin(arr) : (arr.hasNulls ? null : undefined);\n                },\n                close: function(arr) {\n                    return arr.length ? arr[arr.length - 1] : (arr.hasNulls ? null : undefined);\n                },\n                // ohlc and range are special cases where a multidimensional array is input and an array is output\n                ohlc: function(open, high, low, close) {\n                    open = approximations.open(open);\n                    high = approximations.high(high);\n                    low = approximations.low(low);\n                    close = approximations.close(close);\n\n                    if (isNumber(open) || isNumber(high) || isNumber(low) || isNumber(close)) {\n                        return [open, high, low, close];\n                    }\n                    // else, return is undefined\n                },\n                range: function(low, high) {\n                    low = approximations.low(low);\n                    high = approximations.high(high);\n\n                    if (isNumber(low) || isNumber(high)) {\n                        return [low, high];\n                    }\n                    // else, return is undefined\n                }\n            };\n\n\n        /**\n         * Takes parallel arrays of x and y data and groups the data into intervals defined by groupPositions, a collection\n         * of starting x values for each group.\n         */\n        seriesProto.groupData = function(xData, yData, groupPositions, approximation) {\n            var series = this,\n                data = series.data,\n                dataOptions = series.options.data,\n                groupedXData = [],\n                groupedYData = [],\n                groupMap = [],\n                dataLength = xData.length,\n                pointX,\n                pointY,\n                groupedY,\n                handleYData = !!yData, // when grouping the fake extended axis for panning, we don't need to consider y\n                values = [\n                    [],\n                    [],\n                    [],\n                    []\n                ],\n                approximationFn = typeof approximation === 'function' ? approximation : approximations[approximation],\n                pointArrayMap = series.pointArrayMap,\n                pointArrayMapLength = pointArrayMap && pointArrayMap.length,\n                i,\n                pos = 0,\n                start = 0;\n\n            // Start with the first point within the X axis range (#2696)\n            for (i = 0; i <= dataLength; i++) {\n                if (xData[i] >= groupPositions[0]) {\n                    break;\n                }\n            }\n\n            for (i; i <= dataLength; i++) {\n\n                // when a new group is entered, summarize and initiate the previous group\n                while ((groupPositions[pos + 1] !== undefined && xData[i] >= groupPositions[pos + 1]) ||\n                    i === dataLength) { // get the last group\n\n                    // get group x and y\n                    pointX = groupPositions[pos];\n                    series.dataGroupInfo = {\n                        start: start,\n                        length: values[0].length\n                    };\n                    groupedY = approximationFn.apply(series, values);\n\n                    // push the grouped data\n                    if (groupedY !== undefined) {\n                        groupedXData.push(pointX);\n                        groupedYData.push(groupedY);\n                        groupMap.push(series.dataGroupInfo);\n                    }\n\n                    // reset the aggregate arrays\n                    start = i;\n                    values[0] = [];\n                    values[1] = [];\n                    values[2] = [];\n                    values[3] = [];\n\n                    // Advance on the group positions\n                    pos += 1;\n\n                    // don't loop beyond the last group\n                    if (i === dataLength) {\n                        break;\n                    }\n                }\n\n                // break out\n                if (i === dataLength) {\n                    break;\n                }\n\n                // for each raw data point, push it to an array that contains all values for this specific group\n                if (pointArrayMap) {\n\n                    var index = series.cropStart + i,\n                        point = (data && data[index]) || series.pointClass.prototype.applyOptions.apply({\n                            series: series\n                        }, [dataOptions[index]]),\n                        j,\n                        val;\n\n                    for (j = 0; j < pointArrayMapLength; j++) {\n                        val = point[pointArrayMap[j]];\n                        if (isNumber(val)) {\n                            values[j].push(val);\n                        } else if (val === null) {\n                            values[j].hasNulls = true;\n                        }\n                    }\n\n                } else {\n                    pointY = handleYData ? yData[i] : null;\n\n                    if (isNumber(pointY)) {\n                        values[0].push(pointY);\n                    } else if (pointY === null) {\n                        values[0].hasNulls = true;\n                    }\n                }\n            }\n\n            return [groupedXData, groupedYData, groupMap];\n        };\n\n        /**\n         * Extend the basic processData method, that crops the data to the current zoom\n         * range, with data grouping logic.\n         */\n        seriesProto.processData = function() {\n            var series = this,\n                chart = series.chart,\n                options = series.options,\n                dataGroupingOptions = options.dataGrouping,\n                groupingEnabled = series.allowDG !== false && dataGroupingOptions &&\n                pick(dataGroupingOptions.enabled, chart.options.isStock),\n                visible = series.visible || !chart.options.chart.ignoreHiddenSeries,\n                hasGroupedData,\n                skip;\n\n            // run base method\n            series.forceCrop = groupingEnabled; // #334\n            series.groupPixelWidth = null; // #2110\n            series.hasProcessed = true; // #2692\n\n            // skip if processData returns false or if grouping is disabled (in that order)\n            skip = baseProcessData.apply(series, arguments) === false || !groupingEnabled;\n            if (!skip) {\n                series.destroyGroupedData();\n\n                var i,\n                    processedXData = series.processedXData,\n                    processedYData = series.processedYData,\n                    plotSizeX = chart.plotSizeX,\n                    xAxis = series.xAxis,\n                    ordinal = xAxis.options.ordinal,\n                    groupPixelWidth = series.groupPixelWidth = xAxis.getGroupPixelWidth && xAxis.getGroupPixelWidth();\n\n                // Execute grouping if the amount of points is greater than the limit defined in groupPixelWidth\n                if (groupPixelWidth) {\n                    hasGroupedData = true;\n\n                    series.isDirty = true; // force recreation of point instances in series.translate, #5699\n\n                    var extremes = xAxis.getExtremes(),\n                        xMin = extremes.min,\n                        xMax = extremes.max,\n                        groupIntervalFactor = (ordinal && xAxis.getGroupIntervalFactor(xMin, xMax, series)) || 1,\n                        interval = (groupPixelWidth * (xMax - xMin) / plotSizeX) * groupIntervalFactor,\n                        groupPositions = xAxis.getTimeTicks(\n                            xAxis.normalizeTimeTickInterval(interval, dataGroupingOptions.units || defaultDataGroupingUnits),\n                            Math.min(xMin, processedXData[0]), // Processed data may extend beyond axis (#4907)\n                            Math.max(xMax, processedXData[processedXData.length - 1]),\n                            xAxis.options.startOfWeek,\n                            processedXData,\n                            series.closestPointRange\n                        ),\n                        groupedData = seriesProto.groupData.apply(series, [processedXData, processedYData, groupPositions, dataGroupingOptions.approximation]),\n                        groupedXData = groupedData[0],\n                        groupedYData = groupedData[1];\n\n                    // prevent the smoothed data to spill out left and right, and make\n                    // sure data is not shifted to the left\n                    if (dataGroupingOptions.smoothed) {\n                        i = groupedXData.length - 1;\n                        groupedXData[i] = Math.min(groupedXData[i], xMax);\n                        while (i-- && i > 0) {\n                            groupedXData[i] += interval / 2;\n                        }\n                        groupedXData[0] = Math.max(groupedXData[0], xMin);\n                    }\n\n                    // record what data grouping values were used\n                    series.currentDataGrouping = groupPositions.info;\n                    series.closestPointRange = groupPositions.info.totalRange;\n                    series.groupMap = groupedData[2];\n\n                    // Make sure the X axis extends to show the first group (#2533)\n                    // But only for visible series (#5493, #6393)\n                    if (defined(groupedXData[0]) && groupedXData[0] < xAxis.dataMin && visible) {\n                        if (xAxis.min === xAxis.dataMin) {\n                            xAxis.min = groupedXData[0];\n                        }\n                        xAxis.dataMin = groupedXData[0];\n                    }\n\n                    // set series props\n                    series.processedXData = groupedXData;\n                    series.processedYData = groupedYData;\n                } else {\n                    series.currentDataGrouping = series.groupMap = null;\n                }\n                series.hasGroupedData = hasGroupedData;\n            }\n        };\n\n        /**\n         * Destroy the grouped data points. #622, #740\n         */\n        seriesProto.destroyGroupedData = function() {\n\n            var groupedData = this.groupedData;\n\n            // clear previous groups\n            each(groupedData || [], function(point, i) {\n                if (point) {\n                    groupedData[i] = point.destroy ? point.destroy() : null;\n                }\n            });\n            this.groupedData = null;\n        };\n\n        /**\n         * Override the generatePoints method by adding a reference to grouped data\n         */\n        seriesProto.generatePoints = function() {\n\n            baseGeneratePoints.apply(this);\n\n            // record grouped data in order to let it be destroyed the next time processData runs\n            this.destroyGroupedData(); // #622\n            this.groupedData = this.hasGroupedData ? this.points : null;\n        };\n\n        /**\n         * Override point prototype to throw a warning when trying to update grouped points\n         */\n        wrap(Point.prototype, 'update', function(proceed) {\n            if (this.dataGroup) {\n                H.error(24);\n            } else {\n                proceed.apply(this, [].slice.call(arguments, 1));\n            }\n        });\n\n        /**\n         * Extend the original method, make the tooltip's header reflect the grouped range\n         */\n        wrap(Tooltip.prototype, 'tooltipFooterHeaderFormatter', function(proceed, labelConfig, isFooter) {\n            var tooltip = this,\n                series = labelConfig.series,\n                options = series.options,\n                tooltipOptions = series.tooltipOptions,\n                dataGroupingOptions = options.dataGrouping,\n                xDateFormat = tooltipOptions.xDateFormat,\n                xDateFormatEnd,\n                xAxis = series.xAxis,\n                dateFormat = H.dateFormat,\n                currentDataGrouping,\n                dateTimeLabelFormats,\n                labelFormats,\n                formattedKey;\n\n            // apply only to grouped series\n            if (xAxis && xAxis.options.type === 'datetime' && dataGroupingOptions && isNumber(labelConfig.key)) {\n\n                // set variables\n                currentDataGrouping = series.currentDataGrouping;\n                dateTimeLabelFormats = dataGroupingOptions.dateTimeLabelFormats;\n\n                // if we have grouped data, use the grouping information to get the right format\n                if (currentDataGrouping) {\n                    labelFormats = dateTimeLabelFormats[currentDataGrouping.unitName];\n                    if (currentDataGrouping.count === 1) {\n                        xDateFormat = labelFormats[0];\n                    } else {\n                        xDateFormat = labelFormats[1];\n                        xDateFormatEnd = labelFormats[2];\n                    }\n                    // if not grouped, and we don't have set the xDateFormat option, get the best fit,\n                    // so if the least distance between points is one minute, show it, but if the\n                    // least distance is one day, skip hours and minutes etc.\n                } else if (!xDateFormat && dateTimeLabelFormats) {\n                    xDateFormat = tooltip.getXDateFormat(labelConfig, tooltipOptions, xAxis);\n                }\n\n                // now format the key\n                formattedKey = dateFormat(xDateFormat, labelConfig.key);\n                if (xDateFormatEnd) {\n                    formattedKey += dateFormat(xDateFormatEnd, labelConfig.key + currentDataGrouping.totalRange - 1);\n                }\n\n                // return the replaced format\n                return format(tooltipOptions[(isFooter ? 'footer' : 'header') + 'Format'], {\n                    point: extend(labelConfig.point, {\n                        key: formattedKey\n                    }),\n                    series: series\n                });\n\n            }\n\n            // else, fall back to the regular formatter\n            return proceed.call(tooltip, labelConfig, isFooter);\n        });\n\n        /**\n         * Extend the series destroyer\n         */\n        seriesProto.destroy = function() {\n            var series = this,\n                groupedData = series.groupedData || [],\n                i = groupedData.length;\n\n            while (i--) {\n                if (groupedData[i]) {\n                    groupedData[i].destroy();\n                }\n            }\n            baseDestroy.apply(series);\n        };\n\n\n        // Handle default options for data grouping. This must be set at runtime because some series types are\n        // defined after this.\n        wrap(seriesProto, 'setOptions', function(proceed, itemOptions) {\n\n            var options = proceed.call(this, itemOptions),\n                type = this.type,\n                plotOptions = this.chart.options.plotOptions,\n                defaultOptions = defaultPlotOptions[type].dataGrouping;\n\n            if (specificOptions[type]) { // #1284\n                if (!defaultOptions) {\n                    defaultOptions = merge(commonOptions, specificOptions[type]);\n                }\n\n                options.dataGrouping = merge(\n                    defaultOptions,\n                    plotOptions.series && plotOptions.series.dataGrouping, // #1228\n                    plotOptions[type].dataGrouping, // Set by the StockChart constructor\n                    itemOptions.dataGrouping\n                );\n            }\n\n            if (this.chart.options.isStock) {\n                this.requireSorting = true;\n            }\n\n            return options;\n        });\n\n\n        /**\n         * When resetting the scale reset the hasProccessed flag to avoid taking previous data grouping\n         * of neighbour series into accound when determining group pixel width (#2692).\n         */\n        wrap(Axis.prototype, 'setScale', function(proceed) {\n            proceed.call(this);\n            each(this.series, function(series) {\n                series.hasProcessed = false;\n            });\n        });\n\n        /**\n         * Get the data grouping pixel width based on the greatest defined individual width\n         * of the axis' series, and if whether one of the axes need grouping.\n         */\n        Axis.prototype.getGroupPixelWidth = function() {\n\n            var series = this.series,\n                len = series.length,\n                i,\n                groupPixelWidth = 0,\n                doGrouping = false,\n                dataLength,\n                dgOptions;\n\n            // If multiple series are compared on the same x axis, give them the same\n            // group pixel width (#334)\n            i = len;\n            while (i--) {\n                dgOptions = series[i].options.dataGrouping;\n                if (dgOptions) {\n                    groupPixelWidth = Math.max(groupPixelWidth, dgOptions.groupPixelWidth);\n\n                }\n            }\n\n            // If one of the series needs grouping, apply it to all (#1634)\n            i = len;\n            while (i--) {\n                dgOptions = series[i].options.dataGrouping;\n\n                if (dgOptions && series[i].hasProcessed) { // #2692\n\n                    dataLength = (series[i].processedXData || series[i].data).length;\n\n                    // Execute grouping if the amount of points is greater than the limit defined in groupPixelWidth\n                    if (series[i].groupPixelWidth || dataLength > (this.chart.plotSizeX / groupPixelWidth) || (dataLength && dgOptions.forced)) {\n                        doGrouping = true;\n                    }\n                }\n            }\n\n            return doGrouping ? groupPixelWidth : 0;\n        };\n\n        /**\n         * Force data grouping on all the axis' series.\n         */\n        Axis.prototype.setDataGrouping = function(dataGrouping, redraw) {\n            var i;\n\n            redraw = pick(redraw, true);\n\n            if (!dataGrouping) {\n                dataGrouping = {\n                    forced: false,\n                    units: null\n                };\n            }\n\n            // Axis is instantiated, update all series\n            if (this instanceof Axis) {\n                i = this.series.length;\n                while (i--) {\n                    this.series[i].update({\n                        dataGrouping: dataGrouping\n                    }, false);\n                }\n\n                // Axis not yet instanciated, alter series options\n            } else {\n                each(this.chart.options.series, function(seriesOptions) {\n                    seriesOptions.dataGrouping = dataGrouping;\n                }, false);\n            }\n\n            if (redraw) {\n                this.chart.redraw();\n            }\n        };\n\n\n\n        /* ****************************************************************************\n         * End data grouping module\t\t\t\t\t\t\t\t\t\t\t\t   *\n         ******************************************************************************/\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var each = H.each,\n            Point = H.Point,\n            seriesType = H.seriesType,\n            seriesTypes = H.seriesTypes;\n\n        /**\n         * The ohlc series type.\n         *\n         * @constructor seriesTypes.ohlc\n         * @augments seriesTypes.column\n         */\n        seriesType('ohlc', 'column', {\n            lineWidth: 1,\n            tooltip: {\n\n                pointFormat: '<span style=\"color:{point.color}\">\\u25CF</span> <b> {series.name}</b><br/>' +\n                    'Open: {point.open}<br/>' +\n                    'High: {point.high}<br/>' +\n                    'Low: {point.low}<br/>' +\n                    'Close: {point.close}<br/>'\n\n            },\n            threshold: null,\n\n            states: {\n                hover: {\n                    lineWidth: 3\n                }\n            },\n            stickyTracking: true\n            //upColor: undefined\n\n\n        }, /** @lends seriesTypes.ohlc */ {\n            directTouch: false,\n            pointArrayMap: ['open', 'high', 'low', 'close'], // array point configs are mapped to this\n            toYData: function(point) { // return a plain array for speedy calculation\n                return [point.open, point.high, point.low, point.close];\n            },\n            pointValKey: 'high',\n\n\n            pointAttrToOptions: {\n                'stroke': 'color',\n                'stroke-width': 'lineWidth'\n            },\n\n            /**\n             * Postprocess mapping between options and SVG attributes\n             */\n            pointAttribs: function(point, state) {\n                var attribs = seriesTypes.column.prototype.pointAttribs.call(\n                        this,\n                        point,\n                        state\n                    ),\n                    options = this.options;\n\n                delete attribs.fill;\n\n                if (!point.options.color &&\n                    options.upColor &&\n                    point.open < point.close\n                ) {\n                    attribs.stroke = options.upColor;\n                }\n\n                return attribs;\n            },\n\n\n            /**\n             * Translate data points from raw values x and y to plotX and plotY\n             */\n            translate: function() {\n                var series = this,\n                    yAxis = series.yAxis,\n                    hasModifyValue = !!series.modifyValue,\n                    translated = ['plotOpen', 'plotHigh', 'plotLow', 'plotClose', 'yBottom']; // translate OHLC for\n\n                seriesTypes.column.prototype.translate.apply(series);\n\n                // Do the translation\n                each(series.points, function(point) {\n                    each([point.open, point.high, point.low, point.close, point.low], function(value, i) {\n                        if (value !== null) {\n                            if (hasModifyValue) {\n                                value = series.modifyValue(value);\n                            }\n                            point[translated[i]] = yAxis.toPixels(value, true);\n                        }\n                    });\n                });\n            },\n\n            /**\n             * Draw the data points\n             */\n            drawPoints: function() {\n                var series = this,\n                    points = series.points,\n                    chart = series.chart;\n\n\n                each(points, function(point) {\n                    var plotOpen,\n                        plotClose,\n                        crispCorr,\n                        halfWidth,\n                        path,\n                        graphic = point.graphic,\n                        crispX,\n                        isNew = !graphic;\n\n                    if (point.plotY !== undefined) {\n\n                        // Create and/or update the graphic\n                        if (!graphic) {\n                            point.graphic = graphic = chart.renderer.path()\n                                .add(series.group);\n                        }\n\n\n                        graphic.attr(series.pointAttribs(point, point.selected && 'select')); // #3897\n\n\n                        // crisp vector coordinates\n                        crispCorr = (graphic.strokeWidth() % 2) / 2;\n                        crispX = Math.round(point.plotX) - crispCorr; // #2596\n                        halfWidth = Math.round(point.shapeArgs.width / 2);\n\n                        // the vertical stem\n                        path = [\n                            'M',\n                            crispX, Math.round(point.yBottom),\n                            'L',\n                            crispX, Math.round(point.plotY)\n                        ];\n\n                        // open\n                        if (point.open !== null) {\n                            plotOpen = Math.round(point.plotOpen) + crispCorr;\n                            path.push(\n                                'M',\n                                crispX,\n                                plotOpen,\n                                'L',\n                                crispX - halfWidth,\n                                plotOpen\n                            );\n                        }\n\n                        // close\n                        if (point.close !== null) {\n                            plotClose = Math.round(point.plotClose) + crispCorr;\n                            path.push(\n                                'M',\n                                crispX,\n                                plotClose,\n                                'L',\n                                crispX + halfWidth,\n                                plotClose\n                            );\n                        }\n\n                        graphic[isNew ? 'attr' : 'animate']({\n                                d: path\n                            })\n                            .addClass(point.getClassName(), true);\n\n                    }\n\n\n                });\n\n            },\n\n            animate: null // Disable animation\n\n            /**\n             * @constructor seriesTypes.ohlc.prototype.pointClass\n             * @extends {Point}\n             */\n        }, /** @lends seriesTypes.ohlc.prototype.pointClass.prototype */ {\n            /**\n             * Extend the parent method by adding up or down to the class name.\n             */\n            getClassName: function() {\n                return Point.prototype.getClassName.call(this) +\n                    (this.open < this.close ? ' highcharts-point-up' : ' highcharts-point-down');\n            }\n        });\n        /* ****************************************************************************\n         * End OHLC series code\t\t\t\t\t\t\t\t\t\t\t\t\t   *\n         *****************************************************************************/\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var defaultPlotOptions = H.defaultPlotOptions,\n            each = H.each,\n            merge = H.merge,\n            seriesType = H.seriesType,\n            seriesTypes = H.seriesTypes;\n\n        /**\n         * The candlestick series type.\n         *\n         * @constructor seriesTypes.candlestick\n         * @augments seriesTypes.ohlc\n         */\n        seriesType('candlestick', 'ohlc', merge(defaultPlotOptions.column, {\n            states: {\n                hover: {\n                    lineWidth: 2\n                }\n            },\n            tooltip: defaultPlotOptions.ohlc.tooltip,\n            threshold: null,\n\n            lineColor: '#000000',\n            lineWidth: 1,\n            upColor: '#ffffff',\n            stickyTracking: true\n            // upLineColor: null\n\n\n        }), /** @lends seriesTypes.candlestick */ {\n\n            /**\n             * Postprocess mapping between options and SVG attributes\n             */\n            pointAttribs: function(point, state) {\n                var attribs = seriesTypes.column.prototype.pointAttribs.call(this, point, state),\n                    options = this.options,\n                    isUp = point.open < point.close,\n                    stroke = options.lineColor || this.color,\n                    stateOptions;\n\n                attribs['stroke-width'] = options.lineWidth;\n\n                attribs.fill = point.options.color || (isUp ? (options.upColor || this.color) : this.color);\n                attribs.stroke = point.lineColor || (isUp ? (options.upLineColor || stroke) : stroke);\n\n                // Select or hover states\n                if (state) {\n                    stateOptions = options.states[state];\n                    attribs.fill = stateOptions.color || attribs.fill;\n                    attribs.stroke = stateOptions.lineColor || attribs.stroke;\n                    attribs['stroke-width'] =\n                        stateOptions.lineWidth || attribs['stroke-width'];\n                }\n\n\n                return attribs;\n            },\n\n            /**\n             * Draw the data points\n             */\n            drawPoints: function() {\n                var series = this, //state = series.state,\n                    points = series.points,\n                    chart = series.chart;\n\n\n                each(points, function(point) {\n\n                    var graphic = point.graphic,\n                        plotOpen,\n                        plotClose,\n                        topBox,\n                        bottomBox,\n                        hasTopWhisker,\n                        hasBottomWhisker,\n                        crispCorr,\n                        crispX,\n                        path,\n                        halfWidth,\n                        isNew = !graphic;\n\n                    if (point.plotY !== undefined) {\n\n                        if (!graphic) {\n                            point.graphic = graphic = chart.renderer.path()\n                                .add(series.group);\n                        }\n\n\n                        graphic\n                            .attr(series.pointAttribs(point, point.selected && 'select')) // #3897\n                            .shadow(series.options.shadow);\n\n\n                        // Crisp vector coordinates\n                        crispCorr = (graphic.strokeWidth() % 2) / 2;\n                        crispX = Math.round(point.plotX) - crispCorr; // #2596\n                        plotOpen = point.plotOpen;\n                        plotClose = point.plotClose;\n                        topBox = Math.min(plotOpen, plotClose);\n                        bottomBox = Math.max(plotOpen, plotClose);\n                        halfWidth = Math.round(point.shapeArgs.width / 2);\n                        hasTopWhisker = Math.round(topBox) !== Math.round(point.plotY);\n                        hasBottomWhisker = bottomBox !== point.yBottom;\n                        topBox = Math.round(topBox) + crispCorr;\n                        bottomBox = Math.round(bottomBox) + crispCorr;\n\n                        // Create the path. Due to a bug in Chrome 49, the path is first instanciated\n                        // with no values, then the values pushed. For unknown reasons, instanciated\n                        // the path array with all the values would lead to a crash when updating\n                        // frequently (#5193).\n                        path = [];\n                        path.push(\n                            'M',\n                            crispX - halfWidth, bottomBox,\n                            'L',\n                            crispX - halfWidth, topBox,\n                            'L',\n                            crispX + halfWidth, topBox,\n                            'L',\n                            crispX + halfWidth, bottomBox,\n                            'Z', // Use a close statement to ensure a nice rectangle #2602\n                            'M',\n                            crispX, topBox,\n                            'L',\n                            crispX, hasTopWhisker ? Math.round(point.plotY) : topBox, // #460, #2094\n                            'M',\n                            crispX, bottomBox,\n                            'L',\n                            crispX, hasBottomWhisker ? Math.round(point.yBottom) : bottomBox // #460, #2094\n                        );\n\n                        graphic[isNew ? 'attr' : 'animate']({\n                                d: path\n                            })\n                            .addClass(point.getClassName(), true);\n\n                    }\n                });\n\n            }\n\n\n        });\n\n        /* ****************************************************************************\n         * End Candlestick series code\t\t\t\t\t\t\t\t\t\t\t\t*\n         *****************************************************************************/\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var addEvent = H.addEvent,\n            each = H.each,\n            merge = H.merge,\n            noop = H.noop,\n            Renderer = H.Renderer,\n            Series = H.Series,\n            seriesType = H.seriesType,\n            seriesTypes = H.seriesTypes,\n            SVGRenderer = H.SVGRenderer,\n            TrackerMixin = H.TrackerMixin,\n            VMLRenderer = H.VMLRenderer,\n            symbols = SVGRenderer.prototype.symbols,\n            stableSort = H.stableSort;\n\n        /**\n         * The flags series type.\n         *\n         * @constructor seriesTypes.flags\n         * @augments seriesTypes.column\n         */\n        seriesType('flags', 'column', {\n            pointRange: 0, // #673\n            //radius: 2,\n            shape: 'flag',\n            stackDistance: 12,\n            textAlign: 'center',\n            tooltip: {\n                pointFormat: '{point.text}<br/>'\n            },\n            threshold: null,\n            y: -30,\n\n            fillColor: '#ffffff',\n            // lineColor: color,\n            lineWidth: 1,\n            states: {\n                hover: {\n                    lineColor: '#000000',\n                    fillColor: '#ccd6eb'\n                }\n            },\n            style: {\n                fontSize: '11px',\n                fontWeight: 'bold'\n            }\n\n\n        }, /** @lends seriesTypes.flags.prototype */ {\n            sorted: false,\n            noSharedTooltip: true,\n            allowDG: false,\n            takeOrdinalPosition: false, // #1074\n            trackerGroups: ['markerGroup'],\n            forceCrop: true,\n            /**\n             * Inherit the initialization from base Series.\n             */\n            init: Series.prototype.init,\n\n\n            /**\n             * Get presentational attributes\n             */\n            pointAttribs: function(point, state) {\n                var options = this.options,\n                    color = (point && point.color) || this.color,\n                    lineColor = options.lineColor,\n                    lineWidth = (point && point.lineWidth),\n                    fill = (point && point.fillColor) || options.fillColor;\n\n                if (state) {\n                    fill = options.states[state].fillColor;\n                    lineColor = options.states[state].lineColor;\n                    lineWidth = options.states[state].lineWidth;\n                }\n\n                return {\n                    'fill': fill || color,\n                    'stroke': lineColor || color,\n                    'stroke-width': lineWidth || options.lineWidth || 0\n                };\n            },\n\n\n            /**\n             * Extend the translate method by placing the point on the related series\n             */\n            translate: function() {\n\n                seriesTypes.column.prototype.translate.apply(this);\n\n                var series = this,\n                    options = series.options,\n                    chart = series.chart,\n                    points = series.points,\n                    cursor = points.length - 1,\n                    point,\n                    lastPoint,\n                    optionsOnSeries = options.onSeries,\n                    onSeries = optionsOnSeries && chart.get(optionsOnSeries),\n                    onKey = options.onKey || 'y',\n                    step = onSeries && onSeries.options.step,\n                    onData = onSeries && onSeries.points,\n                    i = onData && onData.length,\n                    xAxis = series.xAxis,\n                    yAxis = series.yAxis,\n                    xAxisExt = xAxis.getExtremes(),\n                    xOffset = 0,\n                    leftPoint,\n                    lastX,\n                    rightPoint,\n                    currentDataGrouping;\n\n                // relate to a master series\n                if (onSeries && onSeries.visible && i) {\n                    xOffset = (onSeries.pointXOffset || 0) + (onSeries.barW || 0) / 2;\n                    currentDataGrouping = onSeries.currentDataGrouping;\n                    lastX = onData[i - 1].x + (currentDataGrouping ? currentDataGrouping.totalRange : 0); // #2374\n\n                    // sort the data points\n                    stableSort(points, function(a, b) {\n                        return (a.x - b.x);\n                    });\n\n                    onKey = 'plot' + onKey[0].toUpperCase() + onKey.substr(1);\n                    while (i-- && points[cursor]) {\n                        point = points[cursor];\n                        leftPoint = onData[i];\n                        if (leftPoint.x <= point.x && leftPoint[onKey] !== undefined) {\n                            if (point.x <= lastX) { // #803\n\n                                point.plotY = leftPoint[onKey];\n\n                                // interpolate between points, #666\n                                if (leftPoint.x < point.x && !step) {\n                                    rightPoint = onData[i + 1];\n                                    if (rightPoint && rightPoint[onKey] !== undefined) {\n                                        point.plotY +=\n                                            ((point.x - leftPoint.x) / (rightPoint.x - leftPoint.x)) * // the distance ratio, between 0 and 1\n                                            (rightPoint[onKey] - leftPoint[onKey]); // the y distance\n                                    }\n                                }\n                            }\n                            cursor--;\n                            i++; // check again for points in the same x position\n                            if (cursor < 0) {\n                                break;\n                            }\n                        }\n                    }\n                }\n\n                // Add plotY position and handle stacking\n                each(points, function(point, i) {\n\n                    var stackIndex;\n\n                    // Undefined plotY means the point is either on axis, outside series\n                    // range or hidden series. If the series is outside the range of the\n                    // x axis it should fall through with an undefined plotY, but then\n                    // we must remove the shapeArgs (#847).\n                    if (point.plotY === undefined) {\n                        if (point.x >= xAxisExt.min && point.x <= xAxisExt.max) {\n                            // we're inside xAxis range\n                            point.plotY = chart.chartHeight - xAxis.bottom -\n                                (xAxis.opposite ? xAxis.height : 0) +\n                                xAxis.offset - yAxis.top; // #3517\n                        } else {\n                            point.shapeArgs = {}; // 847\n                        }\n                    }\n                    point.plotX += xOffset; // #2049\n                    // if multiple flags appear at the same x, order them into a stack\n                    lastPoint = points[i - 1];\n                    if (lastPoint && lastPoint.plotX === point.plotX) {\n                        if (lastPoint.stackIndex === undefined) {\n                            lastPoint.stackIndex = 0;\n                        }\n                        stackIndex = lastPoint.stackIndex + 1;\n                    }\n                    point.stackIndex = stackIndex; // #3639\n                });\n\n\n            },\n\n            /**\n             * Draw the markers\n             */\n            drawPoints: function() {\n                var series = this,\n                    points = series.points,\n                    chart = series.chart,\n                    renderer = chart.renderer,\n                    plotX,\n                    plotY,\n                    options = series.options,\n                    optionsY = options.y,\n                    shape,\n                    i,\n                    point,\n                    graphic,\n                    stackIndex,\n                    anchorX,\n                    anchorY,\n                    outsideRight,\n                    yAxis = series.yAxis;\n\n                i = points.length;\n                while (i--) {\n                    point = points[i];\n                    outsideRight = point.plotX > series.xAxis.len;\n                    plotX = point.plotX;\n                    stackIndex = point.stackIndex;\n                    shape = point.options.shape || options.shape;\n                    plotY = point.plotY;\n\n                    if (plotY !== undefined) {\n                        plotY = point.plotY + optionsY - (stackIndex !== undefined && stackIndex * options.stackDistance);\n                    }\n                    anchorX = stackIndex ? undefined : point.plotX; // skip connectors for higher level stacked points\n                    anchorY = stackIndex ? undefined : point.plotY;\n\n                    graphic = point.graphic;\n\n                    // Only draw the point if y is defined and the flag is within the visible area\n                    if (plotY !== undefined && plotX >= 0 && !outsideRight) {\n\n                        // Create the flag\n                        if (!graphic) {\n                            graphic = point.graphic = renderer.label(\n                                    '',\n                                    null,\n                                    null,\n                                    shape,\n                                    null,\n                                    null,\n                                    options.useHTML\n                                )\n\n                                .attr(series.pointAttribs(point))\n                                .css(merge(options.style, point.style))\n\n                                .attr({\n                                    align: shape === 'flag' ? 'left' : 'center',\n                                    width: options.width,\n                                    height: options.height,\n                                    'text-align': options.textAlign\n                                })\n                                .addClass('highcharts-point')\n                                .add(series.markerGroup);\n\n                            // Add reference to the point for tracker (#6303)\n                            if (point.graphic.div) {\n                                point.graphic.div.point = point;\n                            }\n\n\n                            graphic.shadow(options.shadow);\n\n                        }\n\n                        if (plotX > 0) { // #3119\n                            plotX -= graphic.strokeWidth() % 2; // #4285\n                        }\n\n                        // Plant the flag\n                        graphic.attr({\n                            text: point.options.title || options.title || 'A',\n                            x: plotX,\n                            y: plotY,\n                            anchorX: anchorX,\n                            anchorY: anchorY\n                        });\n\n                        // Set the tooltip anchor position\n                        point.tooltipPos = chart.inverted ? [yAxis.len + yAxis.pos - chart.plotLeft - plotY, series.xAxis.len - plotX] : [plotX, plotY + yAxis.pos - chart.plotTop]; // #6327\n\n                    } else if (graphic) {\n                        point.graphic = graphic.destroy();\n                    }\n\n                }\n\n                // Might be a mix of SVG and HTML and we need events for both (#6303)\n                if (options.useHTML) {\n                    H.wrap(series.markerGroup, 'on', function(proceed) {\n                        return H.SVGElement.prototype.on.apply(\n                            proceed.apply(this, [].slice.call(arguments, 1)), // for HTML\n                            [].slice.call(arguments, 1)); // and for SVG\n                    });\n                }\n\n            },\n\n            /**\n             * Extend the column trackers with listeners to expand and contract stacks\n             */\n            drawTracker: function() {\n                var series = this,\n                    points = series.points;\n\n                TrackerMixin.drawTrackerPoint.apply(this);\n\n                // Bring each stacked flag up on mouse over, this allows readability of vertically\n                // stacked elements as well as tight points on the x axis. #1924.\n                each(points, function(point) {\n                    var graphic = point.graphic;\n                    if (graphic) {\n                        addEvent(graphic.element, 'mouseover', function() {\n\n                            // Raise this point\n                            if (point.stackIndex > 0 && !point.raised) {\n                                point._y = graphic.y;\n                                graphic.attr({\n                                    y: point._y - 8\n                                });\n                                point.raised = true;\n                            }\n\n                            // Revert other raised points\n                            each(points, function(otherPoint) {\n                                if (otherPoint !== point && otherPoint.raised && otherPoint.graphic) {\n                                    otherPoint.graphic.attr({\n                                        y: otherPoint._y\n                                    });\n                                    otherPoint.raised = false;\n                                }\n                            });\n                        });\n                    }\n                });\n            },\n\n            animate: noop, // Disable animation\n            buildKDTree: noop,\n            setClip: noop\n\n        });\n\n        // create the flag icon with anchor\n        symbols.flag = function(x, y, w, h, options) {\n            var anchorX = (options && options.anchorX) || x,\n                anchorY = (options && options.anchorY) || y;\n\n            return [\n                'M', anchorX, anchorY,\n                'L', x, y + h,\n                x, y,\n                x + w, y,\n                x + w, y + h,\n                x, y + h,\n                'Z'\n            ];\n        };\n\n        // create the circlepin and squarepin icons with anchor\n        each(['circle', 'square'], function(shape) {\n            symbols[shape + 'pin'] = function(x, y, w, h, options) {\n\n                var anchorX = options && options.anchorX,\n                    anchorY = options && options.anchorY,\n                    path,\n                    labelTopOrBottomY;\n\n                // For single-letter flags, make sure circular flags are not taller than their width\n                if (shape === 'circle' && h > w) {\n                    x -= Math.round((h - w) / 2);\n                    w = h;\n                }\n\n                path = symbols[shape](x, y, w, h);\n\n                if (anchorX && anchorY) {\n                    // if the label is below the anchor, draw the connecting line from the top edge of the label\n                    // otherwise start drawing from the bottom edge\n                    labelTopOrBottomY = (y > anchorY) ? y : y + h;\n                    path.push('M', anchorX, labelTopOrBottomY, 'L', anchorX, anchorY);\n                }\n\n                return path;\n            };\n        });\n\n\n        // The symbol callbacks are generated on the SVGRenderer object in all browsers. Even\n        // VML browsers need this in order to generate shapes in export. Now share\n        // them with the VMLRenderer.\n        if (Renderer === VMLRenderer) {\n            each(['flag', 'circlepin', 'squarepin'], function(shape) {\n                VMLRenderer.prototype.symbols[shape] = symbols[shape];\n            });\n        }\n\n        /* ****************************************************************************\n         * End Flags series code\t\t\t\t\t\t\t\t\t\t\t\t\t  *\n         *****************************************************************************/\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var addEvent = H.addEvent,\n            Axis = H.Axis,\n            correctFloat = H.correctFloat,\n            defaultOptions = H.defaultOptions,\n            defined = H.defined,\n            destroyObjectProperties = H.destroyObjectProperties,\n            doc = H.doc,\n            each = H.each,\n            fireEvent = H.fireEvent,\n            hasTouch = H.hasTouch,\n            isTouchDevice = H.isTouchDevice,\n            merge = H.merge,\n            pick = H.pick,\n            removeEvent = H.removeEvent,\n            svg = H.svg,\n            wrap = H.wrap,\n            swapXY;\n\n        var defaultScrollbarOptions = {\n            //enabled: true\n            height: isTouchDevice ? 20 : 14,\n            // trackBorderRadius: 0\n            barBorderRadius: 0,\n            buttonBorderRadius: 0,\n            liveRedraw: svg && !isTouchDevice,\n            margin: 10,\n            minWidth: 6,\n            //showFull: true,\n            //size: null,\n            step: 0.2,\n            zIndex: 3,\n\n            barBackgroundColor: '#cccccc',\n            barBorderWidth: 1,\n            barBorderColor: '#cccccc',\n            buttonArrowColor: '#333333',\n            buttonBackgroundColor: '#e6e6e6',\n            buttonBorderColor: '#cccccc',\n            buttonBorderWidth: 1,\n            rifleColor: '#333333',\n            trackBackgroundColor: '#f2f2f2',\n            trackBorderColor: '#f2f2f2',\n            trackBorderWidth: 1\n\n        };\n\n        defaultOptions.scrollbar = merge(true, defaultScrollbarOptions, defaultOptions.scrollbar);\n\n        /**\n         * When we have vertical scrollbar, rifles and arrow in buttons should be rotated.\n         * The same method is used in Navigator's handles, to rotate them.\n         * @param {Array} path - path to be rotated\n         * @param {Boolean} vertical - if vertical scrollbar, swap x-y values\n         */\n        H.swapXY = swapXY = function(path, vertical) {\n            var i,\n                len = path.length,\n                temp;\n\n            if (vertical) {\n                for (i = 0; i < len; i += 3) {\n                    temp = path[i + 1];\n                    path[i + 1] = path[i + 2];\n                    path[i + 2] = temp;\n                }\n            }\n\n            return path;\n        };\n\n        /**\n         * A reusable scrollbar, internally used in Highstock's navigator and optionally\n         * on individual axes.\n         *\n         * @class\n         * @param {Object} renderer\n         * @param {Object} options\n         * @param {Object} chart\n         */\n        function Scrollbar(renderer, options, chart) { // docs\n            this.init(renderer, options, chart);\n        }\n\n        Scrollbar.prototype = {\n\n            init: function(renderer, options, chart) {\n\n                this.scrollbarButtons = [];\n\n                this.renderer = renderer;\n\n                this.userOptions = options;\n                this.options = merge(defaultScrollbarOptions, options);\n\n                this.chart = chart;\n\n                this.size = pick(this.options.size, this.options.height); // backward compatibility\n\n                // Init\n                if (options.enabled) {\n                    this.render();\n                    this.initEvents();\n                    this.addEvents();\n                }\n            },\n\n            /**\n             * Render scrollbar with all required items.\n             */\n            render: function() {\n                var scroller = this,\n                    renderer = scroller.renderer,\n                    options = scroller.options,\n                    size = scroller.size,\n                    group;\n\n                // Draw the scrollbar group\n                scroller.group = group = renderer.g('scrollbar').attr({\n                    zIndex: options.zIndex,\n                    translateY: -99999\n                }).add();\n\n                // Draw the scrollbar track:\n                scroller.track = renderer.rect()\n                    .addClass('highcharts-scrollbar-track')\n                    .attr({\n                        x: 0,\n                        r: options.trackBorderRadius || 0,\n                        height: size,\n                        width: size\n                    }).add(group);\n\n\n                scroller.track.attr({\n                    fill: options.trackBackgroundColor,\n                    stroke: options.trackBorderColor,\n                    'stroke-width': options.trackBorderWidth\n                });\n\n                this.trackBorderWidth = scroller.track.strokeWidth();\n                scroller.track.attr({\n                    y: -this.trackBorderWidth % 2 / 2\n                });\n\n\n                // Draw the scrollbar itself\n                scroller.scrollbarGroup = renderer.g().add(group);\n\n                scroller.scrollbar = renderer.rect()\n                    .addClass('highcharts-scrollbar-thumb')\n                    .attr({\n                        height: size,\n                        width: size,\n                        r: options.barBorderRadius || 0\n                    }).add(scroller.scrollbarGroup);\n\n                scroller.scrollbarRifles = renderer.path(\n                        swapXY([\n                            'M', -3, size / 4,\n                            'L', -3, 2 * size / 3,\n                            'M',\n                            0, size / 4,\n                            'L',\n                            0, 2 * size / 3,\n                            'M',\n                            3, size / 4,\n                            'L',\n                            3, 2 * size / 3\n                        ], options.vertical))\n                    .addClass('highcharts-scrollbar-rifles')\n                    .add(scroller.scrollbarGroup);\n\n\n                scroller.scrollbar.attr({\n                    fill: options.barBackgroundColor,\n                    stroke: options.barBorderColor,\n                    'stroke-width': options.barBorderWidth\n                });\n                scroller.scrollbarRifles.attr({\n                    stroke: options.rifleColor,\n                    'stroke-width': 1\n                });\n\n                scroller.scrollbarStrokeWidth = scroller.scrollbar.strokeWidth();\n                scroller.scrollbarGroup.translate(-scroller.scrollbarStrokeWidth % 2 / 2, -scroller.scrollbarStrokeWidth % 2 / 2);\n\n                // Draw the buttons:\n                scroller.drawScrollbarButton(0);\n                scroller.drawScrollbarButton(1);\n            },\n\n            /**\n             * Position the scrollbar, method called from a parent with defined dimensions\n             * @param {Number} x - x-position on the chart\n             * @param {Number} y - y-position on the chart\n             * @param {Number} width - width of the scrollbar\n             * @param {Number} height - height of the scorllbar\n             */\n            position: function(x, y, width, height) {\n                var scroller = this,\n                    options = scroller.options,\n                    vertical = options.vertical,\n                    xOffset = height,\n                    yOffset = 0,\n                    method = scroller.rendered ? 'animate' : 'attr';\n\n                scroller.x = x;\n                scroller.y = y + this.trackBorderWidth;\n                scroller.width = width; // width with buttons\n                scroller.height = height;\n                scroller.xOffset = xOffset;\n                scroller.yOffset = yOffset;\n\n                // If Scrollbar is a vertical type, swap options:\n                if (vertical) {\n                    scroller.width = scroller.yOffset = width = yOffset = scroller.size;\n                    scroller.xOffset = xOffset = 0;\n                    scroller.barWidth = height - width * 2; // width without buttons\n                    scroller.x = x = x + scroller.options.margin;\n                } else {\n                    scroller.height = scroller.xOffset = height = xOffset = scroller.size;\n                    scroller.barWidth = width - height * 2; // width without buttons\n                    scroller.y = scroller.y + scroller.options.margin;\n                }\n\n                // Set general position for a group:\n                scroller.group[method]({\n                    translateX: x,\n                    translateY: scroller.y\n                });\n\n                // Resize background/track:\n                scroller.track[method]({\n                    width: width,\n                    height: height\n                });\n\n                // Move right/bottom button ot it's place:\n                scroller.scrollbarButtons[1][method]({\n                    translateX: vertical ? 0 : width - xOffset,\n                    translateY: vertical ? height - yOffset : 0\n                });\n            },\n\n            /**\n             * Draw the scrollbar buttons with arrows\n             * @param {Number} index 0 is left, 1 is right\n             */\n            drawScrollbarButton: function(index) {\n                var scroller = this,\n                    renderer = scroller.renderer,\n                    scrollbarButtons = scroller.scrollbarButtons,\n                    options = scroller.options,\n                    size = scroller.size,\n                    group,\n                    tempElem;\n\n                group = renderer.g().add(scroller.group);\n                scrollbarButtons.push(group);\n\n                // Create a rectangle for the scrollbar button\n                tempElem = renderer.rect()\n                    .addClass('highcharts-scrollbar-button')\n                    .add(group);\n\n\n                // Presentational attributes\n                tempElem.attr({\n                    stroke: options.buttonBorderColor,\n                    'stroke-width': options.buttonBorderWidth,\n                    fill: options.buttonBackgroundColor\n                });\n\n\n                // Place the rectangle based on the rendered stroke width\n                tempElem.attr(tempElem.crisp({\n                    x: -0.5,\n                    y: -0.5,\n                    width: size + 1, // +1 to compensate for crispifying in rect method\n                    height: size + 1,\n                    r: options.buttonBorderRadius\n                }, tempElem.strokeWidth()));\n\n                // Button arrow\n                tempElem = renderer\n                    .path(swapXY([\n                        'M',\n                        size / 2 + (index ? -1 : 1),\n                        size / 2 - 3,\n                        'L',\n                        size / 2 + (index ? -1 : 1),\n                        size / 2 + 3,\n                        'L',\n                        size / 2 + (index ? 2 : -2),\n                        size / 2\n                    ], options.vertical))\n                    .addClass('highcharts-scrollbar-arrow')\n                    .add(scrollbarButtons[index]);\n\n\n                tempElem.attr({\n                    fill: options.buttonArrowColor\n                });\n\n            },\n\n            /**\n             * Set scrollbar size, with a given scale.\n             * @param {Number} from - scale (0-1) where bar should start\n             * @param {Number} to - scale (0-1) where bar should end\n             */\n            setRange: function(from, to) {\n                var scroller = this,\n                    options = scroller.options,\n                    vertical = options.vertical,\n                    minWidth = options.minWidth,\n                    fullWidth = scroller.barWidth,\n                    fromPX,\n                    toPX,\n                    newPos,\n                    newSize,\n                    newRiflesPos,\n                    method = this.rendered && !this.hasDragged ? 'animate' : 'attr';\n\n                if (!defined(fullWidth)) {\n                    return;\n                }\n\n                from = Math.max(from, 0);\n                fromPX = Math.ceil(fullWidth * from);\n                toPX = fullWidth * Math.min(to, 1);\n                scroller.calculatedWidth = newSize = correctFloat(toPX - fromPX);\n\n                // We need to recalculate position, if minWidth is used\n                if (newSize < minWidth) {\n                    fromPX = (fullWidth - minWidth + newSize) * from;\n                    newSize = minWidth;\n                }\n                newPos = Math.floor(fromPX + scroller.xOffset + scroller.yOffset);\n                newRiflesPos = newSize / 2 - 0.5; // -0.5 -> rifle line width / 2\n\n                // Store current position:\n                scroller.from = from;\n                scroller.to = to;\n\n                if (!vertical) {\n                    scroller.scrollbarGroup[method]({\n                        translateX: newPos\n                    });\n                    scroller.scrollbar[method]({\n                        width: newSize\n                    });\n                    scroller.scrollbarRifles[method]({\n                        translateX: newRiflesPos\n                    });\n                    scroller.scrollbarLeft = newPos;\n                    scroller.scrollbarTop = 0;\n                } else {\n                    scroller.scrollbarGroup[method]({\n                        translateY: newPos\n                    });\n                    scroller.scrollbar[method]({\n                        height: newSize\n                    });\n                    scroller.scrollbarRifles[method]({\n                        translateY: newRiflesPos\n                    });\n                    scroller.scrollbarTop = newPos;\n                    scroller.scrollbarLeft = 0;\n                }\n\n                if (newSize <= 12) {\n                    scroller.scrollbarRifles.hide();\n                } else {\n                    scroller.scrollbarRifles.show(true);\n                }\n\n                // Show or hide the scrollbar based on the showFull setting\n                if (options.showFull === false) {\n                    if (from <= 0 && to >= 1) {\n                        scroller.group.hide();\n                    } else {\n                        scroller.group.show();\n                    }\n                }\n\n                scroller.rendered = true;\n            },\n\n            /**\n             * Init events methods, so we have an access to the Scrollbar itself\n             */\n            initEvents: function() {\n                var scroller = this;\n                /**\n                 * Event handler for the mouse move event.\n                 */\n                scroller.mouseMoveHandler = function(e) {\n                    var normalizedEvent = scroller.chart.pointer.normalize(e),\n                        options = scroller.options,\n                        direction = options.vertical ? 'chartY' : 'chartX',\n                        initPositions = scroller.initPositions,\n                        scrollPosition,\n                        chartPosition,\n                        change;\n\n                    // In iOS, a mousemove event with e.pageX === 0 is fired when holding the finger\n                    // down in the center of the scrollbar. This should be ignored.\n                    if (scroller.grabbedCenter && (!e.touches || e.touches[0][direction] !== 0)) { // #4696, scrollbar failed on Android\n                        chartPosition = scroller.cursorToScrollbarPosition(normalizedEvent)[direction];\n                        scrollPosition = scroller[direction];\n\n                        change = chartPosition - scrollPosition;\n\n                        scroller.hasDragged = true;\n                        scroller.updatePosition(initPositions[0] + change, initPositions[1] + change);\n\n                        if (scroller.hasDragged) {\n                            fireEvent(scroller, 'changed', {\n                                from: scroller.from,\n                                to: scroller.to,\n                                trigger: 'scrollbar',\n                                DOMType: e.type,\n                                DOMEvent: e\n                            });\n                        }\n                    }\n                };\n\n                /**\n                 * Event handler for the mouse up event.\n                 */\n                scroller.mouseUpHandler = function(e) {\n                    if (scroller.hasDragged) {\n                        fireEvent(scroller, 'changed', {\n                            from: scroller.from,\n                            to: scroller.to,\n                            trigger: 'scrollbar',\n                            DOMType: e.type,\n                            DOMEvent: e\n                        });\n                    }\n                    scroller.grabbedCenter = scroller.hasDragged = scroller.chartX = scroller.chartY = null;\n                };\n\n                scroller.mouseDownHandler = function(e) {\n                    var normalizedEvent = scroller.chart.pointer.normalize(e),\n                        mousePosition = scroller.cursorToScrollbarPosition(normalizedEvent);\n\n                    scroller.chartX = mousePosition.chartX;\n                    scroller.chartY = mousePosition.chartY;\n                    scroller.initPositions = [scroller.from, scroller.to];\n\n                    scroller.grabbedCenter = true;\n                };\n\n                scroller.buttonToMinClick = function(e) {\n                    var range = correctFloat(scroller.to - scroller.from) * scroller.options.step;\n                    scroller.updatePosition(correctFloat(scroller.from - range), correctFloat(scroller.to - range));\n                    fireEvent(scroller, 'changed', {\n                        from: scroller.from,\n                        to: scroller.to,\n                        trigger: 'scrollbar',\n                        DOMEvent: e\n                    });\n                };\n\n                scroller.buttonToMaxClick = function(e) {\n                    var range = (scroller.to - scroller.from) * scroller.options.step;\n                    scroller.updatePosition(scroller.from + range, scroller.to + range);\n                    fireEvent(scroller, 'changed', {\n                        from: scroller.from,\n                        to: scroller.to,\n                        trigger: 'scrollbar',\n                        DOMEvent: e\n                    });\n                };\n\n                scroller.trackClick = function(e) {\n                    var normalizedEvent = scroller.chart.pointer.normalize(e),\n                        range = scroller.to - scroller.from,\n                        top = scroller.y + scroller.scrollbarTop,\n                        left = scroller.x + scroller.scrollbarLeft;\n\n                    if ((scroller.options.vertical && normalizedEvent.chartY > top) ||\n                        (!scroller.options.vertical && normalizedEvent.chartX > left)) {\n                        // On the top or on the left side of the track:\n                        scroller.updatePosition(scroller.from + range, scroller.to + range);\n                    } else {\n                        // On the bottom or the right side of the track:\n                        scroller.updatePosition(scroller.from - range, scroller.to - range);\n                    }\n\n                    fireEvent(scroller, 'changed', {\n                        from: scroller.from,\n                        to: scroller.to,\n                        trigger: 'scrollbar',\n                        DOMEvent: e\n                    });\n                };\n            },\n\n            /**\n             * Get normalized (0-1) cursor position over the scrollbar\n             * @param {Event} normalizedEvent - normalized event, with chartX and chartY values\n             * @return {Object} Local position {chartX, chartY}\n             */\n            cursorToScrollbarPosition: function(normalizedEvent) {\n                var scroller = this,\n                    options = scroller.options,\n                    minWidthDifference = options.minWidth > scroller.calculatedWidth ? options.minWidth : 0; // minWidth distorts translation\n\n                return {\n                    chartX: (normalizedEvent.chartX - scroller.x - scroller.xOffset) / (scroller.barWidth - minWidthDifference),\n                    chartY: (normalizedEvent.chartY - scroller.y - scroller.yOffset) / (scroller.barWidth - minWidthDifference)\n                };\n            },\n\n            /**\n             * Update position option in the Scrollbar, with normalized 0-1 scale\n             */\n            updatePosition: function(from, to) {\n                if (to > 1) {\n                    from = correctFloat(1 - correctFloat(to - from));\n                    to = 1;\n                }\n\n                if (from < 0) {\n                    to = correctFloat(to - from);\n                    from = 0;\n                }\n\n                this.from = from;\n                this.to = to;\n            },\n\n            /**\n             * Update the scrollbar with new options\n             */\n            update: function(options) {\n                this.destroy();\n                this.init(this.chart.renderer, merge(true, this.options, options), this.chart);\n            },\n\n            /**\n             * Set up the mouse and touch events for the Scrollbar\n             */\n            addEvents: function() {\n                var buttonsOrder = this.options.inverted ? [1, 0] : [0, 1],\n                    buttons = this.scrollbarButtons,\n                    bar = this.scrollbarGroup.element,\n                    track = this.track.element,\n                    mouseDownHandler = this.mouseDownHandler,\n                    mouseMoveHandler = this.mouseMoveHandler,\n                    mouseUpHandler = this.mouseUpHandler,\n                    _events;\n\n                // Mouse events\n                _events = [\n                    [buttons[buttonsOrder[0]].element, 'click', this.buttonToMinClick],\n                    [buttons[buttonsOrder[1]].element, 'click', this.buttonToMaxClick],\n                    [track, 'click', this.trackClick],\n                    [bar, 'mousedown', mouseDownHandler],\n                    [doc, 'mousemove', mouseMoveHandler],\n                    [doc, 'mouseup', mouseUpHandler]\n                ];\n\n                // Touch events\n                if (hasTouch) {\n                    _events.push(\n                        [bar, 'touchstart', mouseDownHandler], [doc, 'touchmove', mouseMoveHandler], [doc, 'touchend', mouseUpHandler]\n                    );\n                }\n\n                // Add them all\n                each(_events, function(args) {\n                    addEvent.apply(null, args);\n                });\n                this._events = _events;\n            },\n\n            /**\n             * Removes the event handlers attached previously with addEvents.\n             */\n            removeEvents: function() {\n                each(this._events, function(args) {\n                    removeEvent.apply(null, args);\n                });\n                this._events = undefined;\n            },\n\n            /**\n             * Destroys allocated elements.\n             */\n            destroy: function() {\n\n                var scroller = this.chart.scroller;\n\n                // Disconnect events added in addEvents\n                this.removeEvents();\n\n                // Destroy properties\n                each(['track', 'scrollbarRifles', 'scrollbar', 'scrollbarGroup', 'group'], function(prop) {\n                    if (this[prop] && this[prop].destroy) {\n                        this[prop] = this[prop].destroy();\n                    }\n                }, this);\n\n                if (scroller && this === scroller.scrollbar) { // #6421, chart may have more scrollbars\n                    scroller.scrollbar = null;\n\n                    // Destroy elements in collection\n                    destroyObjectProperties(scroller.scrollbarButtons);\n                }\n            }\n        };\n\n        /**\n         * Wrap axis initialization and create scrollbar if enabled:\n         */\n        wrap(Axis.prototype, 'init', function(proceed) {\n            var axis = this;\n            proceed.apply(axis, Array.prototype.slice.call(arguments, 1));\n\n            if (axis.options.scrollbar && axis.options.scrollbar.enabled) {\n                // Predefined options:\n                axis.options.scrollbar.vertical = !axis.horiz;\n                axis.options.startOnTick = axis.options.endOnTick = false;\n\n                axis.scrollbar = new Scrollbar(axis.chart.renderer, axis.options.scrollbar, axis.chart);\n\n                addEvent(axis.scrollbar, 'changed', function(e) {\n                    var unitedMin = Math.min(pick(axis.options.min, axis.min), axis.min, axis.dataMin),\n                        unitedMax = Math.max(pick(axis.options.max, axis.max), axis.max, axis.dataMax),\n                        range = unitedMax - unitedMin,\n                        to,\n                        from;\n\n                    if ((axis.horiz && !axis.reversed) || (!axis.horiz && axis.reversed)) {\n                        to = unitedMin + range * this.to;\n                        from = unitedMin + range * this.from;\n                    } else {\n                        // y-values in browser are reversed, but this also applies for reversed horizontal axis:\n                        to = unitedMin + range * (1 - this.from);\n                        from = unitedMin + range * (1 - this.to);\n                    }\n\n                    axis.setExtremes(from, to, true, false, e);\n                });\n            }\n        });\n\n        /**\n         * Wrap rendering axis, and update scrollbar if one is created:\n         */\n        wrap(Axis.prototype, 'render', function(proceed) {\n            var axis = this,\n                scrollMin = Math.min(pick(axis.options.min, axis.min), axis.min, axis.dataMin),\n                scrollMax = Math.max(pick(axis.options.max, axis.max), axis.max, axis.dataMax),\n                scrollbar = axis.scrollbar,\n                offsetsIndex,\n                from,\n                to;\n\n            proceed.apply(axis, Array.prototype.slice.call(arguments, 1));\n\n            if (scrollbar) {\n\n                if (axis.horiz) {\n                    scrollbar.position(\n                        axis.left,\n                        axis.top + axis.height + 2 + axis.chart.scrollbarsOffsets[1] +\n                        (axis.opposite ? 0 : axis.axisTitleMargin + axis.offset),\n                        axis.width,\n                        axis.height\n                    );\n                    offsetsIndex = 1;\n                } else {\n                    scrollbar.position(\n                        axis.left + axis.width + 2 + axis.chart.scrollbarsOffsets[0] +\n                        (axis.opposite ? axis.axisTitleMargin + axis.offset : 0),\n                        axis.top,\n                        axis.width,\n                        axis.height\n                    );\n                    offsetsIndex = 0;\n                }\n\n                if ((!axis.opposite && !axis.horiz) || (axis.opposite && axis.horiz)) {\n                    axis.chart.scrollbarsOffsets[offsetsIndex] +=\n                        axis.scrollbar.size + axis.scrollbar.options.margin;\n                }\n\n                if (isNaN(scrollMin) || isNaN(scrollMax) || !defined(axis.min) || !defined(axis.max)) {\n                    scrollbar.setRange(0, 0); // default action: when there is not extremes on the axis, but scrollbar exists, make it full size\n                } else {\n                    from = (axis.min - scrollMin) / (scrollMax - scrollMin);\n                    to = (axis.max - scrollMin) / (scrollMax - scrollMin);\n\n                    if ((axis.horiz && !axis.reversed) || (!axis.horiz && axis.reversed)) {\n                        scrollbar.setRange(from, to);\n                    } else {\n                        scrollbar.setRange(1 - to, 1 - from); // inverse vertical axis\n                    }\n                }\n            }\n        });\n\n        /**\n         * Make space for a scrollbar\n         */\n        wrap(Axis.prototype, 'getOffset', function(proceed) {\n            var axis = this,\n                index = axis.horiz ? 2 : 1,\n                scrollbar = axis.scrollbar;\n\n            proceed.apply(axis, Array.prototype.slice.call(arguments, 1));\n\n            if (scrollbar) {\n                axis.chart.scrollbarsOffsets = [0, 0]; // reset scrollbars offsets\n                axis.chart.axisOffset[index] += scrollbar.size + scrollbar.options.margin;\n            }\n        });\n\n        /**\n         * Destroy scrollbar when connected to the specific axis\n         */\n        wrap(Axis.prototype, 'destroy', function(proceed) {\n            if (this.scrollbar) {\n                this.scrollbar = this.scrollbar.destroy();\n            }\n\n            proceed.apply(this, Array.prototype.slice.call(arguments, 1));\n        });\n\n        H.Scrollbar = Scrollbar;\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        /* ****************************************************************************\n         * Start Navigator code\t\t\t\t\t\t\t\t\t\t\t\t\t\t*\n         *****************************************************************************/\n        var addEvent = H.addEvent,\n            Axis = H.Axis,\n            Chart = H.Chart,\n            color = H.color,\n            defaultDataGroupingUnits = H.defaultDataGroupingUnits,\n            defaultOptions = H.defaultOptions,\n            defined = H.defined,\n            destroyObjectProperties = H.destroyObjectProperties,\n            doc = H.doc,\n            each = H.each,\n            erase = H.erase,\n            error = H.error,\n            extend = H.extend,\n            grep = H.grep,\n            hasTouch = H.hasTouch,\n            isNumber = H.isNumber,\n            isObject = H.isObject,\n            merge = H.merge,\n            pick = H.pick,\n            removeEvent = H.removeEvent,\n            Scrollbar = H.Scrollbar,\n            Series = H.Series,\n            seriesTypes = H.seriesTypes,\n            wrap = H.wrap,\n            swapXY = H.swapXY,\n\n            units = [].concat(defaultDataGroupingUnits), // copy\n            defaultSeriesType,\n\n            // Finding the min or max of a set of variables where we don't know if they are defined,\n            // is a pattern that is repeated several places in Highcharts. Consider making this\n            // a global utility method.\n            numExt = function(extreme) {\n                var numbers = grep(arguments, isNumber);\n                if (numbers.length) {\n                    return Math[extreme].apply(0, numbers);\n                }\n            };\n\n        // add more resolution to units\n        units[4] = ['day', [1, 2, 3, 4]]; // allow more days\n        units[5] = ['week', [1, 2, 3]]; // allow more weeks\n\n        defaultSeriesType = seriesTypes.areaspline === undefined ? 'line' : 'areaspline';\n\n        extend(defaultOptions, {\n            navigator: {\n                //enabled: true,\n                height: 40,\n                margin: 25,\n                maskInside: true,\n\n                handles: {\n                    backgroundColor: '#f2f2f2',\n                    borderColor: '#999999'\n                },\n                maskFill: color('#6685c2').setOpacity(0.3).get(),\n                outlineColor: '#cccccc',\n                outlineWidth: 1,\n\n                series: {\n                    type: defaultSeriesType,\n\n                    color: '#335cad',\n                    fillOpacity: 0.05,\n                    lineWidth: 1,\n\n                    compare: null,\n                    dataGrouping: {\n                        approximation: 'average',\n                        enabled: true,\n                        groupPixelWidth: 2,\n                        smoothed: true,\n                        units: units\n                    },\n                    dataLabels: {\n                        enabled: false,\n                        zIndex: 2 // #1839\n                    },\n                    id: 'highcharts-navigator-series',\n                    className: 'highcharts-navigator-series',\n                    lineColor: null, // Allow color setting while disallowing default candlestick setting (#4602)\n                    marker: {\n                        enabled: false\n                    },\n                    pointRange: 0,\n                    shadow: false,\n                    threshold: null\n                },\n                //top: undefined,\n                //opposite: undefined,\n                xAxis: {\n                    className: 'highcharts-navigator-xaxis',\n                    tickLength: 0,\n\n                    lineWidth: 0,\n                    gridLineColor: '#e6e6e6',\n                    gridLineWidth: 1,\n\n                    tickPixelInterval: 200,\n                    labels: {\n                        align: 'left',\n\n                        style: {\n                            color: '#999999'\n                        },\n\n                        x: 3,\n                        y: -4\n                    },\n                    crosshair: false\n                },\n                yAxis: {\n                    className: 'highcharts-navigator-yaxis',\n\n                    gridLineWidth: 0,\n\n                    startOnTick: false,\n                    endOnTick: false,\n                    minPadding: 0.1,\n                    maxPadding: 0.1,\n                    labels: {\n                        enabled: false\n                    },\n                    crosshair: false,\n                    title: {\n                        text: null\n                    },\n                    tickLength: 0,\n                    tickWidth: 0\n                }\n            }\n        });\n\n        /**\n         * The Navigator class\n         * @param {Object} chart - Chart object\n         * @class\n         */\n        function Navigator(chart) {\n            this.init(chart);\n        }\n\n        Navigator.prototype = {\n            /**\n             * Draw one of the handles on the side of the zoomed range in the navigator\n             * @param {Number} x The x center for the handle\n             * @param {Number} index 0 for left and 1 for right\n             * @param {Boolean} inverted flag for chart.inverted\n             * @param {String} verb use 'animate' or 'attr'\n             */\n            drawHandle: function(x, index, inverted, verb) {\n                var navigator = this;\n\n                // Place it\n                navigator.handles[index][verb](inverted ? {\n                    translateX: Math.round(navigator.left + navigator.height / 2 - 8),\n                    translateY: Math.round(navigator.top + parseInt(x, 10) + 0.5)\n                } : {\n                    translateX: Math.round(navigator.left + parseInt(x, 10)),\n                    translateY: Math.round(navigator.top + navigator.height / 2 - 8)\n                });\n            },\n\n            /**\n             * Draw one of the handles on the side of the zoomed range in the navigator\n             * @param {Boolean} inverted flag for chart.inverted\n             * @returns {Array} Path to be used in a handle\n             */\n            getHandlePath: function(inverted) {\n                return swapXY([\n                    'M', -4.5, 0.5,\n                    'L',\n                    3.5, 0.5,\n                    'L',\n                    3.5, 15.5,\n                    'L', -4.5, 15.5,\n                    'L', -4.5, 0.5,\n                    'M', -1.5, 4,\n                    'L', -1.5, 12,\n                    'M',\n                    0.5, 4,\n                    'L',\n                    0.5, 12\n                ], inverted);\n            },\n            /**\n             * Render outline around the zoomed range\n             * @param {Number} zoomedMin in pixels position where zoomed range starts\n             * @param {Number} zoomedMax in pixels position where zoomed range ends\n             * @param {Boolean} inverted flag if chart is inverted\n             * @param {String} verb use 'animate' or 'attr'\n             */\n            drawOutline: function(zoomedMin, zoomedMax, inverted, verb) {\n                var navigator = this,\n                    maskInside = navigator.navigatorOptions.maskInside,\n                    outlineWidth = navigator.outline.strokeWidth(),\n                    halfOutline = outlineWidth / 2,\n                    outlineCorrection = (outlineWidth % 2) / 2, // #5800\n                    outlineHeight = navigator.outlineHeight,\n                    scrollbarHeight = navigator.scrollbarHeight,\n                    navigatorSize = navigator.size,\n                    left = navigator.left - scrollbarHeight,\n                    navigatorTop = navigator.top,\n                    verticalMin,\n                    path;\n\n                if (inverted) {\n                    left -= halfOutline;\n                    verticalMin = navigatorTop + zoomedMax + outlineCorrection;\n                    zoomedMax = navigatorTop + zoomedMin + outlineCorrection;\n\n                    path = [\n                        'M',\n                        left + outlineHeight,\n                        navigatorTop - scrollbarHeight - outlineCorrection, // top edge\n                        'L',\n                        left + outlineHeight,\n                        verticalMin, // top right of zoomed range\n                        'L',\n                        left,\n                        verticalMin, // top left of z.r.\n                        'L',\n                        left,\n                        zoomedMax, // bottom left of z.r.\n                        'L',\n                        left + outlineHeight,\n                        zoomedMax, // bottom right of z.r.\n                        'L',\n                        left + outlineHeight,\n                        navigatorTop + navigatorSize + scrollbarHeight // bottom edge\n                    ].concat(maskInside ? [\n                        'M',\n                        left + outlineHeight,\n                        verticalMin - halfOutline, // upper left of zoomed range\n                        'L',\n                        left + outlineHeight,\n                        zoomedMax + halfOutline // upper right of z.r.\n                    ] : []);\n                } else {\n                    zoomedMin += left + scrollbarHeight - outlineCorrection;\n                    zoomedMax += left + scrollbarHeight - outlineCorrection;\n                    navigatorTop += halfOutline;\n\n                    path = [\n                        'M',\n                        left,\n                        navigatorTop, // left\n                        'L',\n                        zoomedMin,\n                        navigatorTop, // upper left of zoomed range\n                        'L',\n                        zoomedMin,\n                        navigatorTop + outlineHeight, // lower left of z.r.\n                        'L',\n                        zoomedMax,\n                        navigatorTop + outlineHeight, // lower right of z.r.\n                        'L',\n                        zoomedMax,\n                        navigatorTop, // upper right of z.r.\n                        'L',\n                        left + navigatorSize + scrollbarHeight * 2,\n                        navigatorTop // right\n                    ].concat(maskInside ? [\n                        'M',\n                        zoomedMin - halfOutline,\n                        navigatorTop, // upper left of zoomed range\n                        'L',\n                        zoomedMax + halfOutline,\n                        navigatorTop // upper right of z.r.\n                    ] : []);\n                }\n                navigator.outline[verb]({\n                    d: path\n                });\n            },\n\n            /**\n             * Render outline around the zoomed range\n             * @param {Number} zoomedMin in pixels position where zoomed range starts\n             * @param {Number} zoomedMax in pixels position where zoomed range ends\n             * @param {Boolean} inverted flag if chart is inverted\n             * @param {String} verb use 'animate' or 'attr'\n             */\n            drawMasks: function(zoomedMin, zoomedMax, inverted, verb) {\n                var navigator = this,\n                    left = navigator.left,\n                    top = navigator.top,\n                    navigatorHeight = navigator.height,\n                    height,\n                    width,\n                    x,\n                    y;\n\n                // Determine rectangle position & size \n                // According to (non)inverted position:\n                if (inverted) {\n                    x = [left, left, left];\n                    y = [top, top + zoomedMin, top + zoomedMax];\n                    width = [navigatorHeight, navigatorHeight, navigatorHeight];\n                    height = [\n                        zoomedMin,\n                        zoomedMax - zoomedMin,\n                        navigator.size - zoomedMax\n                    ];\n                } else {\n                    x = [left, left + zoomedMin, left + zoomedMax];\n                    y = [top, top, top];\n                    width = [\n                        zoomedMin,\n                        zoomedMax - zoomedMin,\n                        navigator.size - zoomedMax\n                    ];\n                    height = [navigatorHeight, navigatorHeight, navigatorHeight];\n                }\n                each(navigator.shades, function(shade, i) {\n                    shade[verb]({\n                        x: x[i],\n                        y: y[i],\n                        width: width[i],\n                        height: height[i]\n                    });\n                });\n            },\n\n            /**\n             * Generate DOM elements for a navigator:\n             * - main navigator group\n             * - all shades\n             * - outline\n             * - handles\n             */\n            renderElements: function() {\n                var navigator = this,\n                    navigatorOptions = navigator.navigatorOptions,\n                    maskInside = navigatorOptions.maskInside,\n                    chart = navigator.chart,\n                    inverted = chart.inverted,\n                    renderer = chart.renderer,\n                    navigatorGroup;\n\n                // Create the main navigator group\n                navigator.navigatorGroup = navigatorGroup = renderer.g('navigator')\n                    .attr({\n                        zIndex: 8,\n                        visibility: 'hidden'\n                    })\n                    .add();\n\n\n\n                var mouseCursor = {\n                    cursor: inverted ? 'ns-resize' : 'ew-resize'\n                };\n\n\n                // Create masks, each mask will get events and fill:\n                each([!maskInside, maskInside, !maskInside], function(hasMask, index) {\n                    navigator.shades[index] = renderer.rect()\n                        .addClass('highcharts-navigator-mask' +\n                            (index === 1 ? '-inside' : '-outside'))\n\n                        .attr({\n                            fill: hasMask ? navigatorOptions.maskFill : 'transparent'\n                        })\n                        .css(index === 1 && mouseCursor)\n\n                        .add(navigatorGroup);\n                });\n\n                // Create the outline:\n                navigator.outline = renderer.path()\n                    .addClass('highcharts-navigator-outline')\n\n                    .attr({\n                        'stroke-width': navigatorOptions.outlineWidth,\n                        stroke: navigatorOptions.outlineColor\n                    })\n\n                    .add(navigatorGroup);\n\n                // Create the handlers:\n                each([0, 1], function(index) {\n                    navigator.handles[index] = renderer\n                        .path(navigator.getHandlePath(inverted))\n                        // zIndex = 6 for right handle, 7 for left.\n                        // Can't be 10, because of the tooltip in inverted chart #2908\n                        .attr({\n                            zIndex: 7 - index\n                        })\n                        .addClass(\n                            'highcharts-navigator-handle highcharts-navigator-handle-' + ['left', 'right'][index]\n                        ).add(navigatorGroup);\n\n\n                    var handlesOptions = navigatorOptions.handles;\n                    navigator.handles[index]\n                        .attr({\n                            fill: handlesOptions.backgroundColor,\n                            stroke: handlesOptions.borderColor,\n                            'stroke-width': 1\n                        })\n                        .css(mouseCursor);\n\n                });\n            },\n\n            /**\n             * Update navigator\n             * @param {Object} options Options to merge in when updating navigator\n             */\n            update: function(options) {\n                this.destroy();\n                var chartOptions = this.chart.options;\n                merge(true, chartOptions.navigator, this.options, options);\n                this.init(this.chart);\n            },\n\n            /**\n             * Render the navigator\n             * @param {Number} min X axis value minimum\n             * @param {Number} max X axis value maximum\n             * @param {Number} pxMin Pixel value minimum\n             * @param {Number} pxMax Pixel value maximum\n             */\n            render: function(min, max, pxMin, pxMax) {\n                var navigator = this,\n                    chart = navigator.chart,\n                    navigatorWidth,\n                    scrollbarLeft,\n                    scrollbarTop,\n                    scrollbarHeight = navigator.scrollbarHeight,\n                    navigatorSize,\n                    xAxis = navigator.xAxis,\n                    navigatorEnabled = navigator.navigatorEnabled,\n                    zoomedMin,\n                    zoomedMax,\n                    rendered = navigator.rendered,\n                    inverted = chart.inverted,\n                    verb,\n                    newMin,\n                    newMax,\n                    minRange = chart.xAxis[0].minRange;\n\n                // Don't redraw while moving the handles (#4703).\n                if (this.hasDragged && !defined(pxMin)) {\n                    return;\n                }\n\n                // Don't render the navigator until we have data (#486, #4202, #5172).\n                if (!isNumber(min) || !isNumber(max)) {\n                    // However, if navigator was already rendered, we may need to resize\n                    // it. For example hidden series, but visible navigator (#6022).\n                    if (rendered) {\n                        pxMin = 0;\n                        pxMax = xAxis.width;\n                    } else {\n                        return;\n                    }\n                }\n\n                navigator.left = pick(\n                    xAxis.left,\n                    // in case of scrollbar only, without navigator\n                    chart.plotLeft + scrollbarHeight + (inverted ? chart.plotWidth : 0)\n                );\n\n                navigator.size = zoomedMax = navigatorSize = pick(\n                    xAxis.len,\n                    (inverted ? chart.plotHeight : chart.plotWidth) - 2 * scrollbarHeight\n                );\n\n                if (inverted) {\n                    navigatorWidth = scrollbarHeight;\n                } else {\n                    navigatorWidth = navigatorSize + 2 * scrollbarHeight;\n                }\n\n                // Get the pixel position of the handles\n                pxMin = pick(pxMin, xAxis.toPixels(min, true));\n                pxMax = pick(pxMax, xAxis.toPixels(max, true));\n\n                if (!isNumber(pxMin) || Math.abs(pxMin) === Infinity) { // Verify (#1851, #2238)\n                    pxMin = 0;\n                    pxMax = navigatorWidth;\n                }\n\n                // Are we below the minRange? (#2618, #6191)\n                newMin = xAxis.toValue(pxMin, true);\n                newMax = xAxis.toValue(pxMax, true);\n                if (Math.abs(newMax - newMin) < minRange) {\n                    if (this.grabbedLeft) {\n                        pxMin = xAxis.toPixels(newMax - minRange, true);\n                    } else if (this.grabbedRight) {\n                        pxMax = xAxis.toPixels(newMin + minRange, true);\n                    } else {\n                        return;\n                    }\n                }\n\n                // Handles are allowed to cross, but never exceed the plot area\n                navigator.zoomedMax = Math.min(Math.max(pxMin, pxMax, 0), zoomedMax);\n                navigator.zoomedMin = Math.min(\n                    Math.max(\n                        navigator.fixedWidth ?\n                        navigator.zoomedMax - navigator.fixedWidth :\n                        Math.min(pxMin, pxMax),\n                        0\n                    ),\n                    zoomedMax\n                );\n\n                navigator.range = navigator.zoomedMax - navigator.zoomedMin;\n\n                zoomedMax = Math.round(navigator.zoomedMax);\n                zoomedMin = Math.round(navigator.zoomedMin);\n\n                if (navigatorEnabled) {\n                    navigator.navigatorGroup.attr({\n                        visibility: 'visible'\n                    });\n                    // Place elements\n                    verb = rendered && !navigator.hasDragged ? 'animate' : 'attr';\n\n                    navigator.drawMasks(zoomedMin, zoomedMax, inverted, verb);\n                    navigator.drawOutline(zoomedMin, zoomedMax, inverted, verb);\n                    navigator.drawHandle(zoomedMin, 0, inverted, verb);\n                    navigator.drawHandle(zoomedMax, 1, inverted, verb);\n                }\n\n                if (navigator.scrollbar) {\n                    if (inverted) {\n                        scrollbarTop = navigator.top - scrollbarHeight;\n                        scrollbarLeft = navigator.left - scrollbarHeight +\n                            (navigatorEnabled ? 0 : navigator.height);\n                        scrollbarHeight = navigatorSize + 2 * scrollbarHeight;\n                    } else {\n                        scrollbarTop = navigator.top +\n                            (navigatorEnabled ? navigator.height : -scrollbarHeight);\n                        scrollbarLeft = navigator.left - scrollbarHeight;\n                    }\n                    // Reposition scrollbar\n                    navigator.scrollbar.position(\n                        scrollbarLeft,\n                        scrollbarTop,\n                        navigatorWidth,\n                        scrollbarHeight\n                    );\n                    // Keep scale 0-1\n                    navigator.scrollbar.setRange(\n                        // Use real value, not rounded because range can be very small (#1716)\n                        navigator.zoomedMin / navigatorSize,\n                        navigator.zoomedMax / navigatorSize\n                    );\n                }\n                navigator.rendered = true;\n            },\n\n            /**\n             * Set up the mouse and touch events for the navigator\n             */\n            addMouseEvents: function() {\n                var navigator = this,\n                    chart = navigator.chart,\n                    container = chart.container,\n                    eventsToUnbind = [],\n                    mouseMoveHandler,\n                    mouseUpHandler;\n\n                /**\n                 * Create mouse events' handlers.\n                 * Make them as separate functions to enable wrapping them:\n                 */\n                navigator.mouseMoveHandler = mouseMoveHandler = function(e) {\n                    navigator.onMouseMove(e);\n                };\n                navigator.mouseUpHandler = mouseUpHandler = function(e) {\n                    navigator.onMouseUp(e);\n                };\n\n                // Add shades and handles mousedown events\n                eventsToUnbind = navigator.getPartsEvents('mousedown');\n                // Add mouse move and mouseup events. These are bind to doc/container,\n                // because Navigator.grabbedSomething flags are stored in mousedown events:\n                eventsToUnbind.push(\n                    addEvent(container, 'mousemove', mouseMoveHandler),\n                    addEvent(doc, 'mouseup', mouseUpHandler)\n                );\n\n                // Touch events\n                if (hasTouch) {\n                    eventsToUnbind.push(\n                        addEvent(container, 'touchmove', mouseMoveHandler),\n                        addEvent(doc, 'touchend', mouseUpHandler)\n                    );\n                    eventsToUnbind.concat(navigator.getPartsEvents('touchstart'));\n                }\n\n                navigator.eventsToUnbind = eventsToUnbind;\n\n                // Data events\n                if (navigator.series && navigator.series[0]) {\n                    eventsToUnbind.push(\n                        addEvent(navigator.series[0].xAxis, 'foundExtremes', function() {\n                            chart.navigator.modifyNavigatorAxisExtremes();\n                        })\n                    );\n                }\n            },\n\n            /**\n             * Generate events for handles and masks\n             * @param {String} eventName Event name handler, 'mousedown' or 'touchstart'\n             * @returns {Array} An array of arrays: [DOMElement, eventName, callback].\n             */\n            getPartsEvents: function(eventName) {\n                var navigator = this,\n                    events = [];\n                each(['shades', 'handles'], function(name) {\n                    each(navigator[name], function(navigatorItem, index) {\n                        events.push(\n                            addEvent(\n                                navigatorItem.element,\n                                eventName,\n                                function(e) {\n                                    navigator[name + 'Mousedown'](e, index);\n                                }\n                            )\n                        );\n                    });\n                });\n                return events;\n            },\n\n            /**\n             * Mousedown on a shaded mask, either:\n             * - will be stored for future drag&drop \n             * - will directly shift to a new range\n             *\n             * @param {Object} e Mouse event\n             * @param {Number} index Index of a mask in Navigator.shades array\n             */\n            shadesMousedown: function(e, index) {\n                e = this.chart.pointer.normalize(e);\n\n                var navigator = this,\n                    chart = navigator.chart,\n                    xAxis = navigator.xAxis,\n                    zoomedMin = navigator.zoomedMin,\n                    navigatorPosition = navigator.left,\n                    navigatorSize = navigator.size,\n                    range = navigator.range,\n                    chartX = e.chartX,\n                    fixedMax,\n                    ext,\n                    left;\n\n                // For inverted chart, swap some options:\n                if (chart.inverted) {\n                    chartX = e.chartY;\n                    navigatorPosition = navigator.top;\n                }\n\n                if (index === 1) {\n                    // Store information for drag&drop\n                    navigator.grabbedCenter = chartX;\n                    navigator.fixedWidth = range;\n                    navigator.dragOffset = chartX - zoomedMin;\n                } else {\n                    // Shift the range by clicking on shaded areas\n                    left = chartX - navigatorPosition - range / 2;\n                    if (index === 0) {\n                        left = Math.max(0, left);\n                    } else if (index === 2 && left + range >= navigatorSize) {\n                        left = navigatorSize - range;\n                        fixedMax = navigator.getUnionExtremes().dataMax; // #2293, #3543\n                    }\n                    if (left !== zoomedMin) { // it has actually moved\n                        navigator.fixedWidth = range; // #1370\n\n                        ext = xAxis.toFixedRange(left, left + range, null, fixedMax);\n                        chart.xAxis[0].setExtremes(\n                            Math.min(ext.min, ext.max),\n                            Math.max(ext.min, ext.max),\n                            true,\n                            null, // auto animation\n                            {\n                                trigger: 'navigator'\n                            }\n                        );\n                    }\n                }\n            },\n\n            /**\n             * Mousedown on a handle mask.\n             * Will store necessary information for drag&drop.\n             *\n             * @param {Object} e Mouse event\n             * @param {Number} index Index of a handle in Navigator.handles array\n             */\n            handlesMousedown: function(e, index) {\n                e = this.chart.pointer.normalize(e);\n\n                var navigator = this,\n                    chart = navigator.chart,\n                    baseXAxis = chart.xAxis[0],\n                    // For reversed axes, min and max are chagned,\n                    // so the other extreme should be stored\n                    reverse = (chart.inverted && !baseXAxis.reversed) ||\n                    (!chart.inverted && baseXAxis.reversed);\n\n                if (index === 0) {\n                    // Grab the left handle\n                    navigator.grabbedLeft = true;\n                    navigator.otherHandlePos = navigator.zoomedMax;\n                    navigator.fixedExtreme = reverse ? baseXAxis.min : baseXAxis.max;\n                } else {\n                    // Grab the right handle\n                    navigator.grabbedRight = true;\n                    navigator.otherHandlePos = navigator.zoomedMin;\n                    navigator.fixedExtreme = reverse ? baseXAxis.max : baseXAxis.min;\n                }\n\n                chart.fixedRange = null;\n            },\n            /**\n             * Mouse move event based on x/y mouse position.\n             * @param {Object} e Mouse event\n             */\n            onMouseMove: function(e) {\n                var navigator = this,\n                    chart = navigator.chart,\n                    left = navigator.left,\n                    navigatorSize = navigator.navigatorSize,\n                    range = navigator.range,\n                    dragOffset = navigator.dragOffset,\n                    inverted = chart.inverted,\n                    chartX;\n\n\n                // In iOS, a mousemove event with e.pageX === 0 is fired when holding the finger\n                // down in the center of the scrollbar. This should be ignored.\n                if (!e.touches || e.touches[0].pageX !== 0) { // #4696, scrollbar failed on Android\n\n                    e = chart.pointer.normalize(e);\n                    chartX = e.chartX;\n\n                    // Swap some options for inverted chart\n                    if (inverted) {\n                        left = navigator.top;\n                        chartX = e.chartY;\n                    }\n\n                    // Drag left handle or top handle\n                    if (navigator.grabbedLeft) {\n                        navigator.hasDragged = true;\n                        navigator.render(\n                            0,\n                            0,\n                            chartX - left,\n                            navigator.otherHandlePos\n                        );\n                        // Drag right handle or bottom handle\n                    } else if (navigator.grabbedRight) {\n                        navigator.hasDragged = true;\n                        navigator.render(\n                            0,\n                            0,\n                            navigator.otherHandlePos,\n                            chartX - left\n                        );\n                        // Drag scrollbar or open area in navigator\n                    } else if (navigator.grabbedCenter) {\n                        navigator.hasDragged = true;\n                        if (chartX < dragOffset) { // outside left\n                            chartX = dragOffset;\n                        } else if (chartX > navigatorSize + dragOffset - range) { // outside right\n                            chartX = navigatorSize + dragOffset - range;\n                        }\n\n                        navigator.render(\n                            0,\n                            0,\n                            chartX - dragOffset,\n                            chartX - dragOffset + range\n                        );\n                    }\n                    if (navigator.hasDragged && navigator.scrollbar && navigator.scrollbar.options.liveRedraw) {\n                        e.DOMType = e.type; // DOMType is for IE8 because it can't read type async\n                        setTimeout(function() {\n                            navigator.onMouseUp(e);\n                        }, 0);\n                    }\n                }\n            },\n\n            /**\n             * Mouse up event based on x/y mouse position.\n             * @param {Object} e Mouse event\n             */\n            onMouseUp: function(e) {\n                var navigator = this,\n                    chart = navigator.chart,\n                    xAxis = navigator.xAxis,\n                    scrollbar = navigator.scrollbar,\n                    fixedMin,\n                    fixedMax,\n                    ext,\n                    DOMEvent = e.DOMEvent || e;\n\n                if (\n                    // MouseUp is called for both, navigator and scrollbar (that order),\n                    // which causes calling afterSetExtremes twice. Prevent first call\n                    // by checking if scrollbar is going to set new extremes (#6334)\n                    (navigator.hasDragged && (!scrollbar || !scrollbar.hasDragged)) ||\n                    e.trigger === 'scrollbar'\n                ) {\n                    // When dragging one handle, make sure the other one doesn't change\n                    if (navigator.zoomedMin === navigator.otherHandlePos) {\n                        fixedMin = navigator.fixedExtreme;\n                    } else if (navigator.zoomedMax === navigator.otherHandlePos) {\n                        fixedMax = navigator.fixedExtreme;\n                    }\n                    // Snap to right edge (#4076)\n                    if (navigator.zoomedMax === navigator.size) {\n                        fixedMax = navigator.getUnionExtremes().dataMax;\n                    }\n                    ext = xAxis.toFixedRange(\n                        navigator.zoomedMin,\n                        navigator.zoomedMax,\n                        fixedMin,\n                        fixedMax\n                    );\n\n                    if (defined(ext.min)) {\n                        chart.xAxis[0].setExtremes(\n                            Math.min(ext.min, ext.max),\n                            Math.max(ext.min, ext.max),\n                            true,\n                            navigator.hasDragged ? false : null, // Run animation when clicking buttons, scrollbar track etc, but not when dragging handles or scrollbar\n                            {\n                                trigger: 'navigator',\n                                triggerOp: 'navigator-drag',\n                                DOMEvent: DOMEvent // #1838\n                            }\n                        );\n                    }\n                }\n\n                if (e.DOMType !== 'mousemove') {\n                    navigator.grabbedLeft = navigator.grabbedRight =\n                        navigator.grabbedCenter = navigator.fixedWidth =\n                        navigator.fixedExtreme = navigator.otherHandlePos =\n                        navigator.hasDragged = navigator.dragOffset = null;\n                }\n            },\n\n            /**\n             * Removes the event handlers attached previously with addEvents.\n             */\n            removeEvents: function() {\n                if (this.eventsToUnbind) {\n                    each(this.eventsToUnbind, function(unbind) {\n                        unbind();\n                    });\n                    this.eventsToUnbind = undefined;\n                }\n                this.removeBaseSeriesEvents();\n            },\n\n            /**\n             * Remove data events.\n             */\n            removeBaseSeriesEvents: function() {\n                var baseSeries = this.baseSeries || [];\n                if (this.navigatorEnabled && baseSeries[0] && this.navigatorOptions.adaptToUpdatedData !== false) {\n                    each(baseSeries, function(series) {\n                        removeEvent(series, 'updatedData', this.updatedDataHandler);\n                    }, this);\n\n                    // We only listen for extremes-events on the first baseSeries\n                    if (baseSeries[0].xAxis) {\n                        removeEvent(baseSeries[0].xAxis, 'foundExtremes', this.modifyBaseAxisExtremes);\n                    }\n                }\n            },\n\n            /**\n             * Initiate the Navigator object\n             */\n            init: function(chart) {\n                var chartOptions = chart.options,\n                    navigatorOptions = chartOptions.navigator,\n                    navigatorEnabled = navigatorOptions.enabled,\n                    scrollbarOptions = chartOptions.scrollbar,\n                    scrollbarEnabled = scrollbarOptions.enabled,\n                    height = navigatorEnabled ? navigatorOptions.height : 0,\n                    scrollbarHeight = scrollbarEnabled ? scrollbarOptions.height : 0;\n\n                this.handles = [];\n                this.shades = [];\n\n                this.chart = chart;\n                this.setBaseSeries();\n\n                this.height = height;\n                this.scrollbarHeight = scrollbarHeight;\n                this.scrollbarEnabled = scrollbarEnabled;\n                this.navigatorEnabled = navigatorEnabled;\n                this.navigatorOptions = navigatorOptions;\n                this.scrollbarOptions = scrollbarOptions;\n                this.outlineHeight = height + scrollbarHeight;\n\n                this.opposite = pick(navigatorOptions.opposite, !navigatorEnabled && chart.inverted); // #6262\n\n                var navigator = this,\n                    baseSeries = navigator.baseSeries,\n                    xAxisIndex = chart.xAxis.length,\n                    yAxisIndex = chart.yAxis.length,\n                    baseXaxis = baseSeries && baseSeries[0] && baseSeries[0].xAxis || chart.xAxis[0];\n\n                // Make room for the navigator, can be placed around the chart:\n                chart.extraMargin = {\n                    type: navigator.opposite ? 'plotTop' : 'marginBottom',\n                    value: (navigatorEnabled || !chart.inverted ? navigator.outlineHeight : 0) + navigatorOptions.margin\n                };\n                if (chart.inverted) {\n                    chart.extraMargin.type = navigator.opposite ? 'marginRight' : 'plotLeft';\n                }\n                chart.isDirtyBox = true;\n\n                if (navigator.navigatorEnabled) {\n                    // an x axis is required for scrollbar also\n                    navigator.xAxis = new Axis(chart, merge({\n                        // inherit base xAxis' break and ordinal options\n                        breaks: baseXaxis.options.breaks,\n                        ordinal: baseXaxis.options.ordinal\n                    }, navigatorOptions.xAxis, {\n                        id: 'navigator-x-axis',\n                        yAxis: 'navigator-y-axis',\n                        isX: true,\n                        type: 'datetime',\n                        index: xAxisIndex,\n                        offset: 0,\n                        keepOrdinalPadding: true, // #2436\n                        startOnTick: false,\n                        endOnTick: false,\n                        minPadding: 0,\n                        maxPadding: 0,\n                        zoomEnabled: false\n                    }, chart.inverted ? {\n                        offsets: [scrollbarHeight, 0, -scrollbarHeight, 0],\n                        width: height\n                    } : {\n                        offsets: [0, -scrollbarHeight, 0, scrollbarHeight],\n                        height: height\n                    }));\n\n                    navigator.yAxis = new Axis(chart, merge(navigatorOptions.yAxis, {\n                        id: 'navigator-y-axis',\n                        alignTicks: false,\n                        offset: 0,\n                        index: yAxisIndex,\n                        zoomEnabled: false\n                    }, chart.inverted ? {\n                        width: height\n                    } : {\n                        height: height\n                    }));\n\n                    // If we have a base series, initialize the navigator series\n                    if (baseSeries || navigatorOptions.series.data) {\n                        navigator.addBaseSeries();\n\n                        // If not, set up an event to listen for added series\n                    } else if (chart.series.length === 0) {\n\n                        wrap(chart, 'redraw', function(proceed, animation) {\n                            // We've got one, now add it as base and reset chart.redraw\n                            if (chart.series.length > 0 && !navigator.series) {\n                                navigator.setBaseSeries();\n                                chart.redraw = proceed; // reset\n                            }\n                            proceed.call(chart, animation);\n                        });\n                    }\n\n                    // Render items, so we can bind events to them:\n                    navigator.renderElements();\n                    // Add mouse events\n                    navigator.addMouseEvents();\n\n                    // in case of scrollbar only, fake an x axis to get translation\n                } else {\n                    navigator.xAxis = {\n                        translate: function(value, reverse) {\n                            var axis = chart.xAxis[0],\n                                ext = axis.getExtremes(),\n                                scrollTrackWidth = axis.len - 2 * scrollbarHeight,\n                                min = numExt('min', axis.options.min, ext.dataMin),\n                                valueRange = numExt('max', axis.options.max, ext.dataMax) - min;\n\n                            return reverse ?\n                                // from pixel to value\n                                (value * valueRange / scrollTrackWidth) + min :\n                                // from value to pixel\n                                scrollTrackWidth * (value - min) / valueRange;\n                        },\n                        toPixels: function(value) {\n                            return this.translate(value);\n                        },\n                        toValue: function(value) {\n                            return this.translate(value, true);\n                        },\n                        toFixedRange: Axis.prototype.toFixedRange,\n                        fake: true\n                    };\n                }\n\n\n                // Initialize the scrollbar\n                if (chart.options.scrollbar.enabled) {\n                    chart.scrollbar = navigator.scrollbar = new Scrollbar(\n                        chart.renderer,\n                        merge(chart.options.scrollbar, {\n                            margin: navigator.navigatorEnabled ? 0 : 10,\n                            vertical: chart.inverted\n                        }),\n                        chart\n                    );\n                    addEvent(navigator.scrollbar, 'changed', function(e) {\n                        var range = navigator.size,\n                            to = range * this.to,\n                            from = range * this.from;\n\n                        navigator.hasDragged = navigator.scrollbar.hasDragged;\n                        navigator.render(0, 0, from, to);\n\n                        if (chart.options.scrollbar.liveRedraw || e.DOMType !== 'mousemove') {\n                            setTimeout(function() {\n                                navigator.onMouseUp(e);\n                            });\n                        }\n                    });\n                }\n\n                // Add data events\n                navigator.addBaseSeriesEvents();\n                // Add redraw events\n                navigator.addChartEvents();\n            },\n\n            /**\n             * Get the union data extremes of the chart - the outer data extremes of the base\n             * X axis and the navigator axis.\n             * @param {boolean} returnFalseOnNoBaseSeries - as the param says.\n             */\n            getUnionExtremes: function(returnFalseOnNoBaseSeries) {\n                var baseAxis = this.chart.xAxis[0],\n                    navAxis = this.xAxis,\n                    navAxisOptions = navAxis.options,\n                    baseAxisOptions = baseAxis.options,\n                    ret;\n\n                if (!returnFalseOnNoBaseSeries || baseAxis.dataMin !== null) {\n                    ret = {\n                        dataMin: pick( // #4053\n                            navAxisOptions && navAxisOptions.min,\n                            numExt(\n                                'min',\n                                baseAxisOptions.min,\n                                baseAxis.dataMin,\n                                navAxis.dataMin,\n                                navAxis.min\n                            )\n                        ),\n                        dataMax: pick(\n                            navAxisOptions && navAxisOptions.max,\n                            numExt(\n                                'max',\n                                baseAxisOptions.max,\n                                baseAxis.dataMax,\n                                navAxis.dataMax,\n                                navAxis.max\n                            )\n                        )\n                    };\n                }\n                return ret;\n            },\n\n            /**\n             * Set the base series. With a bit of modification we should be able to make\n             * this an API method to be called from the outside\n             * @param {Object} baseSeriesOptions - series options for a navigator\n             */\n            setBaseSeries: function(baseSeriesOptions) {\n                var chart = this.chart,\n                    baseSeries;\n\n                baseSeriesOptions = baseSeriesOptions || chart.options && chart.options.navigator.baseSeries || 0;\n\n                // If we're resetting, remove the existing series\n                if (this.series) {\n                    this.removeBaseSeriesEvents();\n                    each(this.series, function(s) {\n                        s.destroy();\n                    });\n                }\n\n                baseSeries = this.baseSeries = [];\n\n                // Iterate through series and add the ones that should be shown in navigator\n                each(chart.series || [], function(series, i) {\n                    if (series.options.showInNavigator || (i === baseSeriesOptions || series.options.id === baseSeriesOptions) &&\n                        series.options.showInNavigator !== false) {\n                        baseSeries.push(series);\n                    }\n                });\n\n                // When run after render, this.xAxis already exists\n                if (this.xAxis && !this.xAxis.fake) {\n                    this.addBaseSeries();\n                }\n            },\n\n            /*\n             * Add base series to the navigator.\n             */\n            addBaseSeries: function() {\n                var navigator = this,\n                    chart = navigator.chart,\n                    navigatorSeries = navigator.series = [],\n                    baseSeries = navigator.baseSeries,\n                    baseOptions,\n                    mergedNavSeriesOptions,\n                    chartNavigatorOptions = navigator.navigatorOptions.series,\n                    baseNavigatorOptions,\n                    navSeriesMixin = {\n                        enableMouseTracking: false,\n                        index: null, // #6162\n                        group: 'nav', // for columns\n                        padXAxis: false,\n                        xAxis: 'navigator-x-axis',\n                        yAxis: 'navigator-y-axis',\n                        showInLegend: false,\n                        stacking: false, // #4823\n                        isInternal: true,\n                        visible: true\n                    };\n\n                // Go through each base series and merge the options to create new series\n                if (baseSeries) {\n                    each(baseSeries, function(base, i) {\n                        navSeriesMixin.name = 'Navigator ' + (i + 1);\n\n                        baseOptions = base.options || {};\n                        baseNavigatorOptions = baseOptions.navigatorOptions || {};\n                        mergedNavSeriesOptions = merge(baseOptions, navSeriesMixin, chartNavigatorOptions, baseNavigatorOptions);\n\n                        // Merge data separately. Do a slice to avoid mutating the navigator options from base series (#4923).\n                        var navigatorSeriesData = baseNavigatorOptions.data || chartNavigatorOptions.data;\n                        navigator.hasNavigatorData = navigator.hasNavigatorData || !!navigatorSeriesData;\n                        mergedNavSeriesOptions.data = navigatorSeriesData || baseOptions.data && baseOptions.data.slice(0);\n\n                        // Add the series\n                        base.navigatorSeries = chart.initSeries(mergedNavSeriesOptions);\n                        navigatorSeries.push(base.navigatorSeries);\n                    });\n                } else {\n                    // No base series, build from mixin and chart wide options\n                    mergedNavSeriesOptions = merge(chartNavigatorOptions, navSeriesMixin);\n                    mergedNavSeriesOptions.data = chartNavigatorOptions.data;\n                    navigator.hasNavigatorData = !!mergedNavSeriesOptions.data;\n                    navigatorSeries.push(chart.initSeries(mergedNavSeriesOptions));\n                }\n\n                this.addBaseSeriesEvents();\n            },\n\n            /**\n             * Add data events.\n             * For example when main series is updated we need to recalculate extremes\n             */\n            addBaseSeriesEvents: function() {\n                var navigator = this,\n                    baseSeries = navigator.baseSeries || [];\n\n                // Bind modified extremes event to first base's xAxis only. In event of > 1 base-xAxes, the navigator will ignore those.\n                if (baseSeries[0] && baseSeries[0].xAxis) {\n                    addEvent(baseSeries[0].xAxis, 'foundExtremes', this.modifyBaseAxisExtremes);\n                }\n\n                if (this.navigatorOptions.adaptToUpdatedData !== false) {\n                    // Respond to updated data in the base series.\n                    // Abort if lazy-loading data from the server.\n                    each(baseSeries, function(base) {\n                        if (base.xAxis) {\n                            addEvent(base, 'updatedData', this.updatedDataHandler);\n                        }\n\n                        // Handle series removal\n                        addEvent(base, 'remove', function() {\n                            if (this.navigatorSeries) {\n                                erase(navigator.series, this.navigatorSeries);\n                                this.navigatorSeries.remove(false);\n                                delete this.navigatorSeries;\n                            }\n                        });\n                    }, this);\n                }\n            },\n\n            /**\n             * Set the navigator x axis extremes to reflect the total. The navigator extremes\n             * should always be the extremes of the union of all series in the chart as\n             * well as the navigator series.\n             */\n            modifyNavigatorAxisExtremes: function() {\n                var xAxis = this.xAxis,\n                    unionExtremes;\n\n                if (xAxis.getExtremes) {\n                    unionExtremes = this.getUnionExtremes(true);\n                    if (unionExtremes && (unionExtremes.dataMin !== xAxis.min || unionExtremes.dataMax !== xAxis.max)) {\n                        xAxis.min = unionExtremes.dataMin;\n                        xAxis.max = unionExtremes.dataMax;\n                    }\n                }\n            },\n\n            /**\n             * Hook to modify the base axis extremes with information from the Navigator\n             */\n            modifyBaseAxisExtremes: function() {\n                var baseXAxis = this,\n                    navigator = baseXAxis.chart.navigator,\n                    baseExtremes = baseXAxis.getExtremes(),\n                    baseMin = baseExtremes.min,\n                    baseMax = baseExtremes.max,\n                    baseDataMin = baseExtremes.dataMin,\n                    baseDataMax = baseExtremes.dataMax,\n                    range = baseMax - baseMin,\n                    stickToMin = navigator.stickToMin,\n                    stickToMax = navigator.stickToMax,\n                    newMax,\n                    newMin,\n                    navigatorSeries = navigator.series && navigator.series[0],\n                    hasSetExtremes = !!baseXAxis.setExtremes,\n\n                    // When the extremes have been set by range selector button, don't stick to min or max.\n                    // The range selector buttons will handle the extremes. (#5489)\n                    unmutable = baseXAxis.eventArgs && baseXAxis.eventArgs.trigger === 'rangeSelectorButton';\n\n                if (!unmutable) {\n\n                    // If the zoomed range is already at the min, move it to the right as new data\n                    // comes in\n                    if (stickToMin) {\n                        newMin = baseDataMin;\n                        newMax = newMin + range;\n                    }\n\n                    // If the zoomed range is already at the max, move it to the right as new data\n                    // comes in\n                    if (stickToMax) {\n                        newMax = baseDataMax;\n                        if (!stickToMin) { // if stickToMin is true, the new min value is set above\n                            newMin = Math.max(\n                                newMax - range,\n                                navigatorSeries && navigatorSeries.xData ?\n                                navigatorSeries.xData[0] : -Number.MAX_VALUE\n                            );\n                        }\n                    }\n\n                    // Update the extremes\n                    if (hasSetExtremes && (stickToMin || stickToMax)) {\n                        if (isNumber(newMin)) {\n                            baseXAxis.min = baseXAxis.userMin = newMin;\n                            baseXAxis.max = baseXAxis.userMax = newMax;\n                        }\n                    }\n                }\n\n                // Reset\n                navigator.stickToMin = navigator.stickToMax = null;\n            },\n\n            /**\n             * Handler for updated data on the base series. When data is modified, the navigator series\n             * must reflect it. This is called from the Chart.redraw function before axis and series\n             * extremes are computed.\n             */\n            updatedDataHandler: function() {\n                var navigator = this.chart.navigator,\n                    baseSeries = this,\n                    navigatorSeries = this.navigatorSeries;\n\n                // Detect whether the zoomed area should stick to the minimum or maximum. If the current\n                // axis minimum falls outside the new updated dataset, we must adjust.\n                navigator.stickToMin = isNumber(baseSeries.xAxis.min) && (baseSeries.xAxis.min <= baseSeries.xData[0]);\n                // If the scrollbar is scrolled all the way to the right, keep right as new data \n                // comes in.\n                navigator.stickToMax = Math.round(navigator.zoomedMax) >= Math.round(navigator.size);\n\n                // Set the navigator series data to the new data of the base series\n                if (navigatorSeries && !navigator.hasNavigatorData) {\n                    navigatorSeries.options.pointStart = baseSeries.xData[0];\n                    navigatorSeries.setData(baseSeries.options.data, false, null, false); // #5414\n                }\n            },\n\n            /**\n             * Add chart events, like redrawing navigator, when chart requires that.\n             */\n            addChartEvents: function() {\n                addEvent(this.chart, 'redraw', function() {\n                    // Move the scrollbar after redraw, like after data updata even if axes don't redraw\n                    var navigator = this.navigator,\n                        xAxis = navigator && (\n                            navigator.baseSeries &&\n                            navigator.baseSeries[0] &&\n                            navigator.baseSeries[0].xAxis ||\n                            navigator.scrollbar && this.xAxis[0]\n                        ); // #5709\n\n                    if (xAxis) {\n                        navigator.render(xAxis.min, xAxis.max);\n                    }\n                });\n            },\n\n            /**\n             * Destroys allocated elements.\n             */\n            destroy: function() {\n\n                // Disconnect events added in addEvents\n                this.removeEvents();\n\n                if (this.xAxis) {\n                    erase(this.chart.xAxis, this.xAxis);\n                    erase(this.chart.axes, this.xAxis);\n                }\n                if (this.yAxis) {\n                    erase(this.chart.yAxis, this.yAxis);\n                    erase(this.chart.axes, this.yAxis);\n                }\n                // Destroy series\n                each(this.series || [], function(s) {\n                    if (s.destroy) {\n                        s.destroy();\n                    }\n                });\n\n                // Destroy properties\n                each([\n                    'series', 'xAxis', 'yAxis', 'shades', 'outline', 'scrollbarTrack',\n                    'scrollbarRifles', 'scrollbarGroup', 'scrollbar', 'navigatorGroup',\n                    'rendered'\n                ], function(prop) {\n                    if (this[prop] && this[prop].destroy) {\n                        this[prop].destroy();\n                    }\n                    this[prop] = null;\n                }, this);\n\n                // Destroy elements in collection\n                each([this.handles], function(coll) {\n                    destroyObjectProperties(coll);\n                }, this);\n            }\n        };\n\n        H.Navigator = Navigator;\n\n        /**\n         * For Stock charts, override selection zooming with some special features because\n         * X axis zooming is already allowed by the Navigator and Range selector.\n         */\n        wrap(Axis.prototype, 'zoom', function(proceed, newMin, newMax) {\n            var chart = this.chart,\n                chartOptions = chart.options,\n                zoomType = chartOptions.chart.zoomType,\n                previousZoom,\n                navigator = chartOptions.navigator,\n                rangeSelector = chartOptions.rangeSelector,\n                ret;\n\n            if (this.isXAxis && ((navigator && navigator.enabled) ||\n                    (rangeSelector && rangeSelector.enabled))) {\n\n                // For x only zooming, fool the chart.zoom method not to create the zoom button\n                // because the property already exists\n                if (zoomType === 'x') {\n                    chart.resetZoomButton = 'blocked';\n\n                    // For y only zooming, ignore the X axis completely\n                } else if (zoomType === 'y') {\n                    ret = false;\n\n                    // For xy zooming, record the state of the zoom before zoom selection, then when\n                    // the reset button is pressed, revert to this state\n                } else if (zoomType === 'xy') {\n                    previousZoom = this.previousZoom;\n                    if (defined(newMin)) {\n                        this.previousZoom = [this.min, this.max];\n                    } else if (previousZoom) {\n                        newMin = previousZoom[0];\n                        newMax = previousZoom[1];\n                        delete this.previousZoom;\n                    }\n                }\n\n            }\n            return ret !== undefined ? ret : proceed.call(this, newMin, newMax);\n        });\n\n        // Initialize navigator for stock charts\n        wrap(Chart.prototype, 'init', function(proceed, options, callback) {\n\n            addEvent(this, 'beforeRender', function() {\n                var options = this.options;\n                if (options.navigator.enabled || options.scrollbar.enabled) {\n                    this.scroller = this.navigator = new Navigator(this);\n                }\n            });\n\n            proceed.call(this, options, callback);\n\n        });\n\n        /**\n         * For stock charts, extend the Chart.setChartSize method so that we can set the final top position\n         * of the navigator once the height of the chart, including the legend, is determined. #367.\n         * We can't use Chart.getMargins, because labels offsets are not calculated yet.\n         */\n        wrap(Chart.prototype, 'setChartSize', function(proceed) {\n\n            var legend = this.legend,\n                navigator = this.navigator,\n                scrollbarHeight,\n                legendOptions,\n                xAxis,\n                yAxis;\n\n            proceed.apply(this, [].slice.call(arguments, 1));\n\n            if (navigator) {\n                legendOptions = legend.options;\n                xAxis = navigator.xAxis;\n                yAxis = navigator.yAxis;\n                scrollbarHeight = navigator.scrollbarHeight;\n\n                // Compute the top position\n                if (this.inverted) {\n                    navigator.left = navigator.opposite ?\n                        this.chartWidth - scrollbarHeight - navigator.height :\n                        this.spacing[3] + scrollbarHeight;\n                    navigator.top = this.plotTop + scrollbarHeight;\n                } else {\n                    navigator.left = this.plotLeft + scrollbarHeight;\n                    navigator.top = navigator.navigatorOptions.top ||\n                        this.chartHeight - navigator.height - scrollbarHeight - this.spacing[2] -\n                        (legendOptions.verticalAlign === 'bottom' && legendOptions.enabled && !legendOptions.floating ?\n                            legend.legendHeight + pick(legendOptions.margin, 10) : 0);\n                }\n\n                if (xAxis && yAxis) { // false if navigator is disabled (#904)\n\n                    if (this.inverted) {\n                        xAxis.options.left = yAxis.options.left = navigator.left;\n                    } else {\n                        xAxis.options.top = yAxis.options.top = navigator.top;\n                    }\n\n                    xAxis.setAxisSize();\n                    yAxis.setAxisSize();\n                }\n            }\n        });\n\n        // Pick up badly formatted point options to addPoint\n        wrap(Series.prototype, 'addPoint', function(proceed, options, redraw, shift, animation) {\n            var turboThreshold = this.options.turboThreshold;\n            if (turboThreshold && this.xData.length > turboThreshold && isObject(options, true) && this.chart.navigator) {\n                error(20, true);\n            }\n            proceed.call(this, options, redraw, shift, animation);\n        });\n\n        // Handle adding new series\n        wrap(Chart.prototype, 'addSeries', function(proceed, options, redraw, animation) {\n            var series = proceed.call(this, options, false, animation);\n            if (this.navigator) {\n                this.navigator.setBaseSeries(); // Recompute which series should be shown in navigator, and add them\n            }\n            if (pick(redraw, true)) {\n                this.redraw();\n            }\n            return series;\n        });\n\n        // Handle updating series\n        wrap(Series.prototype, 'update', function(proceed, newOptions, redraw) {\n            proceed.call(this, newOptions, false);\n            if (this.chart.navigator) {\n                this.chart.navigator.setBaseSeries();\n            }\n            if (pick(redraw, true)) {\n                this.chart.redraw();\n            }\n        });\n\n        Chart.prototype.callbacks.push(function(chart) {\n            var extremes,\n                navigator = chart.navigator;\n\n            // Initiate the navigator\n            if (navigator) {\n                extremes = chart.xAxis[0].getExtremes();\n                navigator.render(extremes.min, extremes.max);\n            }\n        });\n\n        /* ****************************************************************************\n         * End Navigator code\t\t\t\t\t\t\t\t\t\t\t\t\t\t  *\n         *****************************************************************************/\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var addEvent = H.addEvent,\n            Axis = H.Axis,\n            Chart = H.Chart,\n            css = H.css,\n            createElement = H.createElement,\n            dateFormat = H.dateFormat,\n            defaultOptions = H.defaultOptions,\n            useUTC = defaultOptions.global.useUTC,\n            defined = H.defined,\n            destroyObjectProperties = H.destroyObjectProperties,\n            discardElement = H.discardElement,\n            each = H.each,\n            extend = H.extend,\n            fireEvent = H.fireEvent,\n            HCDate = H.Date,\n            isNumber = H.isNumber,\n            merge = H.merge,\n            pick = H.pick,\n            pInt = H.pInt,\n            splat = H.splat,\n            wrap = H.wrap;\n\n        /* ****************************************************************************\n         * Start Range Selector code\t\t\t\t\t\t\t\t\t\t\t\t  *\n         *****************************************************************************/\n        extend(defaultOptions, {\n            rangeSelector: {\n                // allButtonsEnabled: false,\n                // enabled: true,\n                // buttons: {Object}\n                // buttonSpacing: 0,\n                buttonTheme: {\n                    'stroke-width': 0,\n                    width: 28,\n                    height: 18,\n                    padding: 2,\n                    zIndex: 7 // #484, #852\n                },\n                height: 35, // reserved space for buttons and input\n                inputPosition: {\n                    align: 'right'\n                },\n                // inputDateFormat: '%b %e, %Y',\n                // inputEditDateFormat: '%Y-%m-%d',\n                // inputEnabled: true,\n                // selected: undefined,\n\n                // inputStyle: {},\n                labelStyle: {\n                    color: '#666666'\n                }\n\n            }\n        });\n        defaultOptions.lang = merge(defaultOptions.lang, {\n            rangeSelectorZoom: 'Zoom',\n            rangeSelectorFrom: 'From',\n            rangeSelectorTo: 'To'\n        });\n\n        /**\n         * The range selector.\n         * @class\n         * @param {Object} chart\n         */\n        function RangeSelector(chart) {\n\n            // Run RangeSelector\n            this.init(chart);\n        }\n\n        RangeSelector.prototype = {\n            /**\n             * The method to run when one of the buttons in the range selectors is clicked\n             * @param {Number} i The index of the button\n             * @param {Object} rangeOptions\n             * @param {Boolean} redraw\n             */\n            clickButton: function(i, redraw) {\n                var rangeSelector = this,\n                    chart = rangeSelector.chart,\n                    rangeOptions = rangeSelector.buttonOptions[i],\n                    baseAxis = chart.xAxis[0],\n                    unionExtremes = (chart.scroller && chart.scroller.getUnionExtremes()) || baseAxis || {},\n                    dataMin = unionExtremes.dataMin,\n                    dataMax = unionExtremes.dataMax,\n                    newMin,\n                    newMax = baseAxis && Math.round(Math.min(baseAxis.max, pick(dataMax, baseAxis.max))), // #1568\n                    type = rangeOptions.type,\n                    baseXAxisOptions,\n                    range = rangeOptions._range,\n                    rangeMin,\n                    minSetting,\n                    rangeSetting,\n                    ctx,\n                    ytdExtremes,\n                    dataGrouping = rangeOptions.dataGrouping;\n\n                if (dataMin === null || dataMax === null) { // chart has no data, base series is removed\n                    return;\n                }\n\n                // Set the fixed range before range is altered\n                chart.fixedRange = range;\n\n                // Apply dataGrouping associated to button\n                if (dataGrouping) {\n                    this.forcedDataGrouping = true;\n                    Axis.prototype.setDataGrouping.call(baseAxis || {\n                        chart: this.chart\n                    }, dataGrouping, false);\n                }\n\n                // Apply range\n                if (type === 'month' || type === 'year') {\n                    if (!baseAxis) {\n                        // This is set to the user options and picked up later when the axis is instantiated\n                        // so that we know the min and max.\n                        range = rangeOptions;\n                    } else {\n                        ctx = {\n                            range: rangeOptions,\n                            max: newMax,\n                            dataMin: dataMin,\n                            dataMax: dataMax\n                        };\n                        newMin = baseAxis.minFromRange.call(ctx);\n                        if (isNumber(ctx.newMax)) {\n                            newMax = ctx.newMax;\n                        }\n                    }\n\n                    // Fixed times like minutes, hours, days\n                } else if (range) {\n                    newMin = Math.max(newMax - range, dataMin);\n                    newMax = Math.min(newMin + range, dataMax);\n\n                } else if (type === 'ytd') {\n\n                    // On user clicks on the buttons, or a delayed action running from the beforeRender\n                    // event (below), the baseAxis is defined.\n                    if (baseAxis) {\n                        // When \"ytd\" is the pre-selected button for the initial view, its calculation\n                        // is delayed and rerun in the beforeRender event (below). When the series\n                        // are initialized, but before the chart is rendered, we have access to the xData\n                        // array (#942).\n                        if (dataMax === undefined) {\n                            dataMin = Number.MAX_VALUE;\n                            dataMax = Number.MIN_VALUE;\n                            each(chart.series, function(series) {\n                                var xData = series.xData; // reassign it to the last item\n                                dataMin = Math.min(xData[0], dataMin);\n                                dataMax = Math.max(xData[xData.length - 1], dataMax);\n                            });\n                            redraw = false;\n                        }\n                        ytdExtremes = rangeSelector.getYTDExtremes(dataMax, dataMin, useUTC);\n                        newMin = rangeMin = ytdExtremes.min;\n                        newMax = ytdExtremes.max;\n\n                        // \"ytd\" is pre-selected. We don't yet have access to processed point and extremes data\n                        // (things like pointStart and pointInterval are missing), so we delay the process (#942)\n                    } else {\n                        addEvent(chart, 'beforeRender', function() {\n                            rangeSelector.clickButton(i);\n                        });\n                        return;\n                    }\n                } else if (type === 'all' && baseAxis) {\n                    newMin = dataMin;\n                    newMax = dataMax;\n                }\n                rangeSelector.setSelected(i);\n\n                // Update the chart\n                if (!baseAxis) {\n                    // Axis not yet instanciated. Temporarily set min and range\n                    // options and remove them on chart load (#4317).\n                    baseXAxisOptions = splat(chart.options.xAxis)[0];\n                    rangeSetting = baseXAxisOptions.range;\n                    baseXAxisOptions.range = range;\n                    minSetting = baseXAxisOptions.min;\n                    baseXAxisOptions.min = rangeMin;\n                    addEvent(chart, 'load', function resetMinAndRange() {\n                        baseXAxisOptions.range = rangeSetting;\n                        baseXAxisOptions.min = minSetting;\n                    });\n                } else {\n                    // Existing axis object. Set extremes after render time.\n                    baseAxis.setExtremes(\n                        newMin,\n                        newMax,\n                        pick(redraw, 1),\n                        null, // auto animation\n                        {\n                            trigger: 'rangeSelectorButton',\n                            rangeSelectorButton: rangeOptions\n                        }\n                    );\n                }\n            },\n\n            /**\n             * Set the selected option. This method only sets the internal flag, it doesn't\n             * update the buttons or the actual zoomed range.\n             */\n            setSelected: function(selected) {\n                this.selected = this.options.selected = selected;\n            },\n\n            /**\n             * The default buttons for pre-selecting time frames\n             */\n            defaultButtons: [{\n                type: 'month',\n                count: 1,\n                text: '1m'\n            }, {\n                type: 'month',\n                count: 3,\n                text: '3m'\n            }, {\n                type: 'month',\n                count: 6,\n                text: '6m'\n            }, {\n                type: 'ytd',\n                text: 'YTD'\n            }, {\n                type: 'year',\n                count: 1,\n                text: '1y'\n            }, {\n                type: 'all',\n                text: 'All'\n            }],\n\n            /**\n             * Initialize the range selector\n             */\n            init: function(chart) {\n                var rangeSelector = this,\n                    options = chart.options.rangeSelector,\n                    buttonOptions = options.buttons || [].concat(rangeSelector.defaultButtons),\n                    selectedOption = options.selected,\n                    blurInputs = function() {\n                        var minInput = rangeSelector.minInput,\n                            maxInput = rangeSelector.maxInput;\n                        if (minInput && minInput.blur) { //#3274 in some case blur is not defined\n                            fireEvent(minInput, 'blur'); //#3274\n                        }\n                        if (maxInput && maxInput.blur) { //#3274 in some case blur is not defined\n                            fireEvent(maxInput, 'blur'); //#3274\n                        }\n                    };\n\n                rangeSelector.chart = chart;\n                rangeSelector.options = options;\n                rangeSelector.buttons = [];\n\n                chart.extraTopMargin = options.height;\n                rangeSelector.buttonOptions = buttonOptions;\n\n                this.unMouseDown = addEvent(chart.container, 'mousedown', blurInputs);\n                this.unResize = addEvent(chart, 'resize', blurInputs);\n\n                // Extend the buttonOptions with actual range\n                each(buttonOptions, rangeSelector.computeButtonRange);\n\n                // zoomed range based on a pre-selected button index\n                if (selectedOption !== undefined && buttonOptions[selectedOption]) {\n                    this.clickButton(selectedOption, false);\n                }\n\n\n                addEvent(chart, 'load', function() {\n                    // If a data grouping is applied to the current button, release it when extremes change\n                    addEvent(chart.xAxis[0], 'setExtremes', function(e) {\n                        if (this.max - this.min !== chart.fixedRange && e.trigger !== 'rangeSelectorButton' &&\n                            e.trigger !== 'updatedData' && rangeSelector.forcedDataGrouping) {\n                            this.setDataGrouping(false, false);\n                        }\n                    });\n                });\n            },\n\n            /**\n             * Dynamically update the range selector buttons after a new range has been set\n             */\n            updateButtonStates: function() {\n                var rangeSelector = this,\n                    chart = this.chart,\n                    baseAxis = chart.xAxis[0],\n                    actualRange = Math.round(baseAxis.max - baseAxis.min),\n                    hasNoData = !baseAxis.hasVisibleSeries,\n                    day = 24 * 36e5, // A single day in milliseconds\n                    unionExtremes = (chart.scroller && chart.scroller.getUnionExtremes()) || baseAxis,\n                    dataMin = unionExtremes.dataMin,\n                    dataMax = unionExtremes.dataMax,\n                    ytdExtremes = rangeSelector.getYTDExtremes(dataMax, dataMin, useUTC),\n                    ytdMin = ytdExtremes.min,\n                    ytdMax = ytdExtremes.max,\n                    selected = rangeSelector.selected,\n                    selectedExists = isNumber(selected),\n                    allButtonsEnabled = rangeSelector.options.allButtonsEnabled,\n                    buttons = rangeSelector.buttons;\n\n                each(rangeSelector.buttonOptions, function(rangeOptions, i) {\n                    var range = rangeOptions._range,\n                        type = rangeOptions.type,\n                        count = rangeOptions.count || 1,\n                        button = buttons[i],\n                        state = 0,\n                        disable,\n                        select,\n                        isSelected = i === selected,\n                        // Disable buttons where the range exceeds what is allowed in the current view\n                        isTooGreatRange = range > dataMax - dataMin,\n                        // Disable buttons where the range is smaller than the minimum range\n                        isTooSmallRange = range < baseAxis.minRange,\n                        // Do not select the YTD button if not explicitly told so\n                        isYTDButNotSelected = false,\n                        // Disable the All button if we're already showing all\n                        isAllButAlreadyShowingAll = false,\n                        isSameRange = range === actualRange;\n                    // Months and years have a variable range so we check the extremes\n                    if (\n                        (type === 'month' || type === 'year') &&\n                        (actualRange >= {\n                            month: 28,\n                            year: 365\n                        }[type] * day * count) &&\n                        (actualRange <= {\n                            month: 31,\n                            year: 366\n                        }[type] * day * count)\n                    ) {\n                        isSameRange = true;\n                    } else if (type === 'ytd') {\n                        isSameRange = (ytdMax - ytdMin) === actualRange;\n                        isYTDButNotSelected = !isSelected;\n                    } else if (type === 'all') {\n                        isSameRange = baseAxis.max - baseAxis.min >= dataMax - dataMin;\n                        isAllButAlreadyShowingAll = !isSelected && selectedExists && isSameRange;\n                    }\n                    // The new zoom area happens to match the range for a button - mark it selected.\n                    // This happens when scrolling across an ordinal gap. It can be seen in the intraday\n                    // demos when selecting 1h and scroll across the night gap.\n                    disable = (!allButtonsEnabled &&\n                        (\n                            isTooGreatRange ||\n                            isTooSmallRange ||\n                            isAllButAlreadyShowingAll ||\n                            hasNoData\n                        )\n                    );\n                    select = (\n                        (isSelected && isSameRange) ||\n                        (isSameRange && !selectedExists && !isYTDButNotSelected)\n                    );\n\n                    if (disable) {\n                        state = 3;\n                    } else if (select) {\n                        selectedExists = true; // Only one button can be selected\n                        state = 2;\n                    }\n\n                    // If state has changed, update the button\n                    if (button.state !== state) {\n                        button.setState(state);\n                    }\n                });\n            },\n\n            /**\n             * Compute and cache the range for an individual button\n             */\n            computeButtonRange: function(rangeOptions) {\n                var type = rangeOptions.type,\n                    count = rangeOptions.count || 1,\n\n                    // these time intervals have a fixed number of milliseconds, as opposed\n                    // to month, ytd and year\n                    fixedTimes = {\n                        millisecond: 1,\n                        second: 1000,\n                        minute: 60 * 1000,\n                        hour: 3600 * 1000,\n                        day: 24 * 3600 * 1000,\n                        week: 7 * 24 * 3600 * 1000\n                    };\n\n                // Store the range on the button object\n                if (fixedTimes[type]) {\n                    rangeOptions._range = fixedTimes[type] * count;\n                } else if (type === 'month' || type === 'year') {\n                    rangeOptions._range = {\n                        month: 30,\n                        year: 365\n                    }[type] * 24 * 36e5 * count;\n                }\n            },\n\n            /**\n             * Set the internal and displayed value of a HTML input for the dates\n             * @param {String} name\n             * @param {Number} time\n             */\n            setInputValue: function(name, time) {\n                var options = this.chart.options.rangeSelector,\n                    input = this[name + 'Input'];\n\n                if (defined(time)) {\n                    input.previousValue = input.HCTime;\n                    input.HCTime = time;\n                }\n\n                input.value = dateFormat(\n                    options.inputEditDateFormat || '%Y-%m-%d',\n                    input.HCTime\n                );\n                this[name + 'DateBox'].attr({\n                    text: dateFormat(options.inputDateFormat || '%b %e, %Y', input.HCTime)\n                });\n            },\n\n            showInput: function(name) {\n                var inputGroup = this.inputGroup,\n                    dateBox = this[name + 'DateBox'];\n\n                css(this[name + 'Input'], {\n                    left: (inputGroup.translateX + dateBox.x) + 'px',\n                    top: inputGroup.translateY + 'px',\n                    width: (dateBox.width - 2) + 'px',\n                    height: (dateBox.height - 2) + 'px',\n                    border: '2px solid silver'\n                });\n            },\n\n            hideInput: function(name) {\n                css(this[name + 'Input'], {\n                    border: 0,\n                    width: '1px',\n                    height: '1px'\n                });\n                this.setInputValue(name);\n            },\n\n            /**\n             * Draw either the 'from' or the 'to' HTML input box of the range selector\n             * @param {Object} name\n             */\n            drawInput: function(name) {\n                var rangeSelector = this,\n                    chart = rangeSelector.chart,\n                    chartStyle = chart.renderer.style || {},\n                    renderer = chart.renderer,\n                    options = chart.options.rangeSelector,\n                    lang = defaultOptions.lang,\n                    div = rangeSelector.div,\n                    isMin = name === 'min',\n                    input,\n                    label,\n                    dateBox,\n                    inputGroup = this.inputGroup;\n\n                function updateExtremes() {\n                    var inputValue = input.value,\n                        value = (options.inputDateParser || Date.parse)(inputValue),\n                        chartAxis = chart.xAxis[0],\n                        dataAxis = chart.scroller && chart.scroller.xAxis ? chart.scroller.xAxis : chartAxis,\n                        dataMin = dataAxis.dataMin,\n                        dataMax = dataAxis.dataMax;\n                    if (value !== input.previousValue) {\n                        input.previousValue = value;\n                        // If the value isn't parsed directly to a value by the browser's Date.parse method,\n                        // like YYYY-MM-DD in IE, try parsing it a different way\n                        if (!isNumber(value)) {\n                            value = inputValue.split('-');\n                            value = Date.UTC(pInt(value[0]), pInt(value[1]) - 1, pInt(value[2]));\n                        }\n\n                        if (isNumber(value)) {\n\n                            // Correct for timezone offset (#433)\n                            if (!useUTC) {\n                                value = value + new Date().getTimezoneOffset() * 60 * 1000;\n                            }\n\n                            // Validate the extremes. If it goes beyound the data min or max, use the\n                            // actual data extreme (#2438).\n                            if (isMin) {\n                                if (value > rangeSelector.maxInput.HCTime) {\n                                    value = undefined;\n                                } else if (value < dataMin) {\n                                    value = dataMin;\n                                }\n                            } else {\n                                if (value < rangeSelector.minInput.HCTime) {\n                                    value = undefined;\n                                } else if (value > dataMax) {\n                                    value = dataMax;\n                                }\n                            }\n\n                            // Set the extremes\n                            if (value !== undefined) {\n                                chartAxis.setExtremes(\n                                    isMin ? value : chartAxis.min,\n                                    isMin ? chartAxis.max : value,\n                                    undefined,\n                                    undefined, {\n                                        trigger: 'rangeSelectorInput'\n                                    }\n                                );\n                            }\n                        }\n                    }\n                }\n\n                // Create the text label\n                this[name + 'Label'] = label = renderer.label(lang[isMin ? 'rangeSelectorFrom' : 'rangeSelectorTo'], this.inputGroup.offset)\n                    .addClass('highcharts-range-label')\n                    .attr({\n                        padding: 2\n                    })\n                    .add(inputGroup);\n                inputGroup.offset += label.width + 5;\n\n                // Create an SVG label that shows updated date ranges and and records click events that\n                // bring in the HTML input.\n                this[name + 'DateBox'] = dateBox = renderer.label('', inputGroup.offset)\n                    .addClass('highcharts-range-input')\n                    .attr({\n                        padding: 2,\n                        width: options.inputBoxWidth || 90,\n                        height: options.inputBoxHeight || 17,\n                        stroke: options.inputBoxBorderColor || '#cccccc',\n                        'stroke-width': 1,\n                        'text-align': 'center'\n                    })\n                    .on('click', function() {\n                        rangeSelector.showInput(name); // If it is already focused, the onfocus event doesn't fire (#3713)\n                        rangeSelector[name + 'Input'].focus();\n                    })\n                    .add(inputGroup);\n                inputGroup.offset += dateBox.width + (isMin ? 10 : 0);\n\n\n                // Create the HTML input element. This is rendered as 1x1 pixel then set to the right size\n                // when focused.\n                this[name + 'Input'] = input = createElement('input', {\n                    name: name,\n                    className: 'highcharts-range-selector',\n                    type: 'text'\n                }, {\n                    top: chart.plotTop + 'px' // prevent jump on focus in Firefox\n                }, div);\n\n\n                // Styles\n                label.css(merge(chartStyle, options.labelStyle));\n\n                dateBox.css(merge({\n                    color: '#333333'\n                }, chartStyle, options.inputStyle));\n\n                css(input, extend({\n                    position: 'absolute',\n                    border: 0,\n                    width: '1px', // Chrome needs a pixel to see it\n                    height: '1px',\n                    padding: 0,\n                    textAlign: 'center',\n                    fontSize: chartStyle.fontSize,\n                    fontFamily: chartStyle.fontFamily,\n                    left: '-9em' // #4798\n                }, options.inputStyle));\n\n\n                // Blow up the input box\n                input.onfocus = function() {\n                    rangeSelector.showInput(name);\n                };\n                // Hide away the input box\n                input.onblur = function() {\n                    rangeSelector.hideInput(name);\n                };\n\n                // handle changes in the input boxes\n                input.onchange = updateExtremes;\n\n                input.onkeypress = function(event) {\n                    // IE does not fire onchange on enter\n                    if (event.keyCode === 13) {\n                        updateExtremes();\n                    }\n                };\n            },\n\n            /**\n             * Get the position of the range selector buttons and inputs. This can be overridden from outside for custom positioning.\n             */\n            getPosition: function() {\n                var chart = this.chart,\n                    options = chart.options.rangeSelector,\n                    buttonTop = pick((options.buttonPosition || {}).y, chart.plotTop - chart.axisOffset[0] - options.height);\n\n                return {\n                    buttonTop: buttonTop,\n                    inputTop: buttonTop - 10\n                };\n            },\n            /**\n             * Get the extremes of YTD. \n             * Will choose dataMax if its value is lower than the current timestamp.\n             * Will choose dataMin if its value is higher than the timestamp for\n             * \tthe start of current year.\n             * @param  {number} dataMax\n             * @param  {number} dataMin\n             * @return {object} Returns min and max for the YTD\n             */\n            getYTDExtremes: function(dataMax, dataMin, useUTC) {\n                var min,\n                    now = new HCDate(dataMax),\n                    year = now[HCDate.hcGetFullYear](),\n                    startOfYear = useUTC ? HCDate.UTC(year, 0, 1) : +new HCDate(year, 0, 1); // eslint-disable-line new-cap\n                min = Math.max(dataMin || 0, startOfYear);\n                now = now.getTime();\n                return {\n                    max: Math.min(dataMax || now, now),\n                    min: min\n                };\n            },\n\n            /**\n             * Render the range selector including the buttons and the inputs. The first time render\n             * is called, the elements are created and positioned. On subsequent calls, they are\n             * moved and updated.\n             * @param {Number} min X axis minimum\n             * @param {Number} max X axis maximum\n             */\n            render: function(min, max) {\n\n                var rangeSelector = this,\n                    chart = rangeSelector.chart,\n                    renderer = chart.renderer,\n                    container = chart.container,\n                    chartOptions = chart.options,\n                    navButtonOptions = chartOptions.exporting && chartOptions.exporting.enabled !== false &&\n                    chartOptions.navigation && chartOptions.navigation.buttonOptions,\n                    options = chartOptions.rangeSelector,\n                    buttons = rangeSelector.buttons,\n                    lang = defaultOptions.lang,\n                    div = rangeSelector.div,\n                    inputGroup = rangeSelector.inputGroup,\n                    buttonTheme = options.buttonTheme,\n                    buttonPosition = options.buttonPosition || {},\n                    inputEnabled = options.inputEnabled,\n                    states = buttonTheme && buttonTheme.states,\n                    plotLeft = chart.plotLeft,\n                    buttonLeft,\n                    pos = this.getPosition(),\n                    buttonGroup = rangeSelector.group,\n                    buttonBBox,\n                    rendered = rangeSelector.rendered;\n\n                if (options.enabled === false) {\n                    return;\n                }\n\n                // create the elements\n                if (!rendered) {\n\n                    rangeSelector.group = buttonGroup = renderer.g('range-selector-buttons').add();\n\n                    rangeSelector.zoomText = renderer.text(lang.rangeSelectorZoom, pick(buttonPosition.x, plotLeft), 15)\n                        .css(options.labelStyle)\n                        .add(buttonGroup);\n\n                    // button starting position\n                    buttonLeft = pick(buttonPosition.x, plotLeft) + rangeSelector.zoomText.getBBox().width + 5;\n\n                    each(rangeSelector.buttonOptions, function(rangeOptions, i) {\n                        buttons[i] = renderer.button(\n                                rangeOptions.text,\n                                buttonLeft,\n                                0,\n                                function() {\n                                    rangeSelector.clickButton(i);\n                                    rangeSelector.isActive = true;\n                                },\n                                buttonTheme,\n                                states && states.hover,\n                                states && states.select,\n                                states && states.disabled\n                            )\n                            .attr({\n                                'text-align': 'center'\n                            })\n                            .add(buttonGroup);\n\n                        // increase button position for the next button\n                        buttonLeft += buttons[i].width + pick(options.buttonSpacing, 5);\n                    });\n\n                    // first create a wrapper outside the container in order to make\n                    // the inputs work and make export correct\n                    if (inputEnabled !== false) {\n                        rangeSelector.div = div = createElement('div', null, {\n                            position: 'relative',\n                            height: 0,\n                            zIndex: 1 // above container\n                        });\n\n                        container.parentNode.insertBefore(div, container);\n\n                        // Create the group to keep the inputs\n                        rangeSelector.inputGroup = inputGroup = renderer.g('input-group')\n                            .add();\n                        inputGroup.offset = 0;\n\n                        rangeSelector.drawInput('min');\n                        rangeSelector.drawInput('max');\n                    }\n                }\n                rangeSelector.updateButtonStates();\n\n                // Set or update the group position\n                buttonGroup[rendered ? 'animate' : 'attr']({\n                    translateY: pos.buttonTop\n                });\n\n                if (inputEnabled !== false) {\n\n                    // Update the alignment to the updated spacing box\n                    inputGroup.align(extend({\n                        y: pos.inputTop,\n                        width: inputGroup.offset,\n                        // Detect collision with the exporting buttons\n                        x: navButtonOptions && (pos.inputTop < (navButtonOptions.y || 0) + navButtonOptions.height - chart.spacing[0]) ?\n                            -40 : 0\n                    }, options.inputPosition), true, chart.spacingBox);\n\n                    // Hide if overlapping - inputEnabled is null or undefined\n                    if (!defined(inputEnabled)) {\n                        buttonBBox = buttonGroup.getBBox();\n                        inputGroup[inputGroup.alignAttr.translateX < buttonBBox.x + buttonBBox.width + 10 ? 'hide' : 'show']();\n                    }\n\n                    // Set or reset the input values\n                    rangeSelector.setInputValue('min', min);\n                    rangeSelector.setInputValue('max', max);\n                }\n\n                rangeSelector.rendered = true;\n            },\n\n            /**\n             * Update the range selector with new options\n             */\n            update: function(options) {\n                var chart = this.chart;\n                merge(true, chart.options.rangeSelector, options);\n                this.destroy();\n                this.init(chart);\n            },\n\n            /**\n             * Destroys allocated elements.\n             */\n            destroy: function() {\n                var minInput = this.minInput,\n                    maxInput = this.maxInput,\n                    key;\n\n                this.unMouseDown();\n                this.unResize();\n\n                // Destroy elements in collections\n                destroyObjectProperties(this.buttons);\n\n                // Clear input element events\n                if (minInput) {\n                    minInput.onfocus = minInput.onblur = minInput.onchange = null;\n                }\n                if (maxInput) {\n                    maxInput.onfocus = maxInput.onblur = maxInput.onchange = null;\n                }\n\n                // Destroy HTML and SVG elements\n                for (key in this) {\n                    if (this[key] && key !== 'chart') {\n                        if (this[key].destroy) { // SVGElement\n                            this[key].destroy();\n                        } else if (this[key].nodeType) { // HTML element\n                            discardElement(this[key]);\n                        }\n                    }\n                    if (this[key] !== RangeSelector.prototype[key]) {\n                        this[key] = null;\n                    }\n                }\n            }\n        };\n\n        /**\n         * Add logic to normalize the zoomed range in order to preserve the pressed state of range selector buttons\n         */\n        Axis.prototype.toFixedRange = function(pxMin, pxMax, fixedMin, fixedMax) {\n            var fixedRange = this.chart && this.chart.fixedRange,\n                newMin = pick(fixedMin, this.translate(pxMin, true, !this.horiz)),\n                newMax = pick(fixedMax, this.translate(pxMax, true, !this.horiz)),\n                changeRatio = fixedRange && (newMax - newMin) / fixedRange;\n\n            // If the difference between the fixed range and the actual requested range is\n            // too great, the user is dragging across an ordinal gap, and we need to release\n            // the range selector button.\n            if (changeRatio > 0.7 && changeRatio < 1.3) {\n                if (fixedMax) {\n                    newMin = newMax - fixedRange;\n                } else {\n                    newMax = newMin + fixedRange;\n                }\n            }\n            if (!isNumber(newMin)) { // #1195\n                newMin = newMax = undefined;\n            }\n\n            return {\n                min: newMin,\n                max: newMax\n            };\n        };\n\n        /**\n         * Get the axis min value based on the range option and the current max. For\n         * stock charts this is extended via the {@link RangeSelector} so that if the\n         * selected range is a multiple of months or years, it is compensated for\n         * various month lengths.\n         * \n         * @return {number} The new minimum value.\n         */\n        Axis.prototype.minFromRange = function() {\n            var rangeOptions = this.range,\n                type = rangeOptions.type,\n                timeName = {\n                    month: 'Month',\n                    year: 'FullYear'\n                }[type],\n                min,\n                max = this.max,\n                dataMin,\n                range,\n                // Get the true range from a start date\n                getTrueRange = function(base, count) {\n                    var date = new Date(base);\n                    date['set' + timeName](date['get' + timeName]() + count);\n                    return date.getTime() - base;\n                };\n\n            if (isNumber(rangeOptions)) {\n                min = max - rangeOptions;\n                range = rangeOptions;\n            } else {\n                min = max + getTrueRange(max, -rangeOptions.count);\n\n                // Let the fixedRange reflect initial settings (#5930)\n                if (this.chart) {\n                    this.chart.fixedRange = max - min;\n                }\n            }\n\n            dataMin = pick(this.dataMin, Number.MIN_VALUE);\n            if (!isNumber(min)) {\n                min = dataMin;\n            }\n            if (min <= dataMin) {\n                min = dataMin;\n                if (range === undefined) { // #4501\n                    range = getTrueRange(min, rangeOptions.count);\n                }\n                this.newMax = Math.min(min + range, this.dataMax);\n            }\n            if (!isNumber(max)) {\n                min = undefined;\n            }\n            return min;\n\n        };\n\n        // Initialize scroller for stock charts\n        wrap(Chart.prototype, 'init', function(proceed, options, callback) {\n\n            addEvent(this, 'init', function() {\n                if (this.options.rangeSelector.enabled) {\n                    this.rangeSelector = new RangeSelector(this);\n                }\n            });\n\n            proceed.call(this, options, callback);\n\n        });\n\n        Chart.prototype.callbacks.push(function(chart) {\n            var extremes,\n                rangeSelector = chart.rangeSelector,\n                unbindRender,\n                unbindSetExtremes;\n\n            function renderRangeSelector() {\n                extremes = chart.xAxis[0].getExtremes();\n                if (isNumber(extremes.min)) {\n                    rangeSelector.render(extremes.min, extremes.max);\n                }\n            }\n\n            if (rangeSelector) {\n                // redraw the scroller on setExtremes\n                unbindSetExtremes = addEvent(\n                    chart.xAxis[0],\n                    'afterSetExtremes',\n                    function(e) {\n                        rangeSelector.render(e.min, e.max);\n                    }\n                );\n\n                // redraw the scroller chart resize\n                unbindRender = addEvent(chart, 'redraw', renderRangeSelector);\n\n                // do it now\n                renderRangeSelector();\n            }\n\n            // Remove resize/afterSetExtremes at chart destroy\n            addEvent(chart, 'destroy', function destroyEvents() {\n                if (rangeSelector) {\n                    unbindRender();\n                    unbindSetExtremes();\n                }\n            });\n        });\n\n\n        H.RangeSelector = RangeSelector;\n\n        /* ****************************************************************************\n         * End Range Selector code\t\t\t\t\t\t\t\t\t\t\t\t\t*\n         *****************************************************************************/\n\n    }(Highcharts));\n    (function(H) {\n        /**\n         * (c) 2010-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n        var arrayMax = H.arrayMax,\n            arrayMin = H.arrayMin,\n            Axis = H.Axis,\n            Chart = H.Chart,\n            defined = H.defined,\n            each = H.each,\n            extend = H.extend,\n            format = H.format,\n            inArray = H.inArray,\n            isNumber = H.isNumber,\n            isString = H.isString,\n            map = H.map,\n            merge = H.merge,\n            pick = H.pick,\n            Point = H.Point,\n            Renderer = H.Renderer,\n            Series = H.Series,\n            splat = H.splat,\n            SVGRenderer = H.SVGRenderer,\n            VMLRenderer = H.VMLRenderer,\n            wrap = H.wrap,\n\n\n            seriesProto = Series.prototype,\n            seriesInit = seriesProto.init,\n            seriesProcessData = seriesProto.processData,\n            pointTooltipFormatter = Point.prototype.tooltipFormatter;\n        /**\n         * A wrapper for Chart with all the default values for a Stock chart\n         */\n        H.StockChart = H.stockChart = function(a, b, c) {\n            var hasRenderToArg = isString(a) || a.nodeName,\n                options = arguments[hasRenderToArg ? 1 : 0],\n                seriesOptions = options.series, // to increase performance, don't merge the data\n                defaultOptions = H.getOptions(),\n                opposite,\n\n                // Always disable startOnTick:true on the main axis when the navigator\n                // is enabled (#1090)\n                navigatorEnabled = pick(\n                    options.navigator && options.navigator.enabled,\n                    defaultOptions.navigator.enabled,\n                    true\n                ),\n                disableStartOnTick = navigatorEnabled ? {\n                    startOnTick: false,\n                    endOnTick: false\n                } : null,\n\n                lineOptions = {\n\n                    marker: {\n                        enabled: false,\n                        radius: 2\n                    }\n                    // gapSize: 0\n                },\n                columnOptions = {\n                    shadow: false,\n                    borderWidth: 0\n                };\n\n            // apply X axis options to both single and multi y axes\n            options.xAxis = map(splat(options.xAxis || {}), function(xAxisOptions) {\n                return merge({ // defaults\n                        minPadding: 0,\n                        maxPadding: 0,\n                        ordinal: true,\n                        title: {\n                            text: null\n                        },\n                        labels: {\n                            overflow: 'justify'\n                        },\n                        showLastLabel: true\n                    },\n                    defaultOptions.xAxis, // #3802\n                    xAxisOptions, // user options\n                    { // forced options\n                        type: 'datetime',\n                        categories: null\n                    },\n                    disableStartOnTick\n                );\n            });\n\n            // apply Y axis options to both single and multi y axes\n            options.yAxis = map(splat(options.yAxis || {}), function(yAxisOptions) {\n                opposite = pick(yAxisOptions.opposite, true);\n                return merge({ // defaults\n                        labels: {\n                            y: -2\n                        },\n                        opposite: opposite,\n                        showLastLabel: false,\n                        title: {\n                            text: null\n                        }\n                    },\n                    defaultOptions.yAxis, // #3802\n                    yAxisOptions // user options\n                );\n            });\n\n            options.series = null;\n\n            options = merge({\n                    chart: {\n                        panning: true,\n                        pinchType: 'x'\n                    },\n                    navigator: {\n                        enabled: navigatorEnabled\n                    },\n                    scrollbar: {\n                        // #4988 - check if setOptions was called\n                        enabled: pick(defaultOptions.scrollbar.enabled, true)\n                    },\n                    rangeSelector: {\n                        // #4988 - check if setOptions was called\n                        enabled: pick(defaultOptions.rangeSelector.enabled, true)\n                    },\n                    title: {\n                        text: null\n                    },\n                    tooltip: {\n                        shared: true,\n                        crosshairs: true\n                    },\n                    legend: {\n                        enabled: false\n                    },\n\n                    plotOptions: {\n                        line: lineOptions,\n                        spline: lineOptions,\n                        area: lineOptions,\n                        areaspline: lineOptions,\n                        arearange: lineOptions,\n                        areasplinerange: lineOptions,\n                        column: columnOptions,\n                        columnrange: columnOptions,\n                        candlestick: columnOptions,\n                        ohlc: columnOptions\n                    }\n\n                },\n\n                options, // user's options\n\n                { // forced options\n                    isStock: true // internal flag\n                }\n            );\n\n            options.series = seriesOptions;\n\n            return hasRenderToArg ?\n                new Chart(a, options, c) :\n                new Chart(options, b);\n        };\n\n        // Override the automatic label alignment so that the first Y axis' labels\n        // are drawn on top of the grid line, and subsequent axes are drawn outside\n        wrap(Axis.prototype, 'autoLabelAlign', function(proceed) {\n            var chart = this.chart,\n                options = this.options,\n                panes = chart._labelPanes = chart._labelPanes || {},\n                key,\n                labelOptions = this.options.labels;\n            if (this.chart.options.isStock && this.coll === 'yAxis') {\n                key = options.top + ',' + options.height;\n                if (!panes[key] && labelOptions.enabled) { // do it only for the first Y axis of each pane\n                    if (labelOptions.x === 15) { // default\n                        labelOptions.x = 0;\n                    }\n                    if (labelOptions.align === undefined) {\n                        labelOptions.align = 'right';\n                    }\n                    panes[key] = this;\n                    return 'right';\n                }\n            }\n            return proceed.call(this, [].slice.call(arguments, 1));\n        });\n\n        // Clear axis from label panes (#6071)\n        wrap(Axis.prototype, 'destroy', function(proceed) {\n            var chart = this.chart,\n                key = this.options && (this.options.top + ',' + this.options.height);\n\n            if (key && chart._labelPanes && chart._labelPanes[key] === this) {\n                delete chart._labelPanes[key];\n            }\n\n            return proceed.call(this, Array.prototype.slice.call(arguments, 1));\n        });\n\n        // Override getPlotLinePath to allow for multipane charts\n        wrap(Axis.prototype, 'getPlotLinePath', function(proceed, value, lineWidth, old, force, translatedValue) {\n            var axis = this,\n                series = (this.isLinked && !this.series ? this.linkedParent.series : this.series),\n                chart = axis.chart,\n                renderer = chart.renderer,\n                axisLeft = axis.left,\n                axisTop = axis.top,\n                x1,\n                y1,\n                x2,\n                y2,\n                result = [],\n                axes = [], //#3416 need a default array\n                axes2,\n                uniqueAxes,\n                transVal;\n\n            /**\n             * Return the other axis based on either the axis option or on related series.\n             */\n            function getAxis(coll) {\n                var otherColl = coll === 'xAxis' ? 'yAxis' : 'xAxis',\n                    opt = axis.options[otherColl];\n\n                // Other axis indexed by number\n                if (isNumber(opt)) {\n                    return [chart[otherColl][opt]];\n                }\n\n                // Other axis indexed by id (like navigator)\n                if (isString(opt)) {\n                    return [chart.get(opt)];\n                }\n\n                // Auto detect based on existing series\n                return map(series, function(s) {\n                    return s[otherColl];\n                });\n            }\n\n            // Ignore in case of color Axis. #3360, #3524\n            if (axis.coll === 'colorAxis') {\n                return proceed.apply(this, [].slice.call(arguments, 1));\n            }\n\n            // Get the related axes based on series\n            axes = getAxis(axis.coll);\n\n            // Get the related axes based options.*Axis setting #2810\n            axes2 = (axis.isXAxis ? chart.yAxis : chart.xAxis);\n            each(axes2, function(A) {\n                if (defined(A.options.id) ? A.options.id.indexOf('navigator') === -1 : true) {\n                    var a = (A.isXAxis ? 'yAxis' : 'xAxis'),\n                        rax = (defined(A.options[a]) ? chart[a][A.options[a]] : chart[a][0]);\n\n                    if (axis === rax) {\n                        axes.push(A);\n                    }\n                }\n            });\n\n\n            // Remove duplicates in the axes array. If there are no axes in the axes array,\n            // we are adding an axis without data, so we need to populate this with grid\n            // lines (#2796).\n            uniqueAxes = axes.length ? [] : [axis.isXAxis ? chart.yAxis[0] : chart.xAxis[0]]; //#3742\n            each(axes, function(axis2) {\n                if (inArray(axis2, uniqueAxes) === -1) {\n                    uniqueAxes.push(axis2);\n                }\n            });\n\n            transVal = pick(translatedValue, axis.translate(value, null, null, old));\n            if (isNumber(transVal)) {\n                if (axis.horiz) {\n                    each(uniqueAxes, function(axis2) {\n                        var skip;\n\n                        y1 = axis2.pos;\n                        y2 = y1 + axis2.len;\n                        x1 = x2 = Math.round(transVal + axis.transB);\n\n                        if (x1 < axisLeft || x1 > axisLeft + axis.width) { // outside plot area\n                            if (force) {\n                                x1 = x2 = Math.min(Math.max(axisLeft, x1), axisLeft + axis.width);\n                            } else {\n                                skip = true;\n                            }\n                        }\n                        if (!skip) {\n                            result.push('M', x1, y1, 'L', x2, y2);\n                        }\n                    });\n                } else {\n                    each(uniqueAxes, function(axis2) {\n                        var skip;\n\n                        x1 = axis2.pos;\n                        x2 = x1 + axis2.len;\n                        y1 = y2 = Math.round(axisTop + axis.height - transVal);\n\n                        if (y1 < axisTop || y1 > axisTop + axis.height) { // outside plot area\n                            if (force) {\n                                y1 = y2 = Math.min(Math.max(axisTop, y1), axis.top + axis.height);\n                            } else {\n                                skip = true;\n                            }\n                        }\n                        if (!skip) {\n                            result.push('M', x1, y1, 'L', x2, y2);\n                        }\n                    });\n                }\n            }\n            return result.length > 0 ?\n                renderer.crispPolyLine(result, lineWidth || 1) :\n                null; //#3557 getPlotLinePath in regular Highcharts also returns null\n        });\n\n        // Override getPlotBandPath to allow for multipane charts\n        Axis.prototype.getPlotBandPath = function(from, to) {\n            var toPath = this.getPlotLinePath(to, null, null, true),\n                path = this.getPlotLinePath(from, null, null, true),\n                result = [],\n                i;\n\n            if (path && toPath) {\n                if (path.toString() === toPath.toString()) {\n                    // #6166\n                    result = path;\n                    result.flat = true;\n                } else {\n                    // Go over each subpath\n                    for (i = 0; i < path.length; i += 6) {\n                        result.push(\n                            'M', path[i + 1], path[i + 2],\n                            'L', path[i + 4], path[i + 5],\n                            toPath[i + 4], toPath[i + 5],\n                            toPath[i + 1], toPath[i + 2],\n                            'z'\n                        );\n                    }\n                }\n            } else { // outside the axis area\n                result = null;\n            }\n\n            return result;\n        };\n\n        // Function to crisp a line with multiple segments\n        SVGRenderer.prototype.crispPolyLine = function(points, width) {\n            // points format: ['M', 0, 0, 'L', 100, 0]\t\t\n            // normalize to a crisp line\n            var i;\n            for (i = 0; i < points.length; i = i + 6) {\n                if (points[i + 1] === points[i + 4]) {\n                    // Substract due to #1129. Now bottom and left axis gridlines behave the same.\n                    points[i + 1] = points[i + 4] = Math.round(points[i + 1]) - (width % 2 / 2);\n                }\n                if (points[i + 2] === points[i + 5]) {\n                    points[i + 2] = points[i + 5] = Math.round(points[i + 2]) + (width % 2 / 2);\n                }\n            }\n            return points;\n        };\n\n        if (Renderer === VMLRenderer) {\n            VMLRenderer.prototype.crispPolyLine = SVGRenderer.prototype.crispPolyLine;\n        }\n\n\n        // Wrapper to hide the label\n        wrap(Axis.prototype, 'hideCrosshair', function(proceed, i) {\n\n            proceed.call(this, i);\n\n            if (this.crossLabel) {\n                this.crossLabel = this.crossLabel.hide();\n            }\n        });\n\n        // Wrapper to draw the label\n        wrap(Axis.prototype, 'drawCrosshair', function(proceed, e, point) {\n\n            // Draw the crosshair\n            proceed.call(this, e, point);\n\n            // Check if the label has to be drawn\n            if (!defined(this.crosshair.label) || !this.crosshair.label.enabled || !this.cross) {\n                return;\n            }\n\n            var chart = this.chart,\n                options = this.options.crosshair.label, // the label's options\n                horiz = this.horiz, // axis orientation\n                opposite = this.opposite, // axis position\n                left = this.left, // left position\n                top = this.top, // top position\n                crossLabel = this.crossLabel, // reference to the svgElement\n                posx,\n                posy,\n                crossBox,\n                formatOption = options.format,\n                formatFormat = '',\n                limit,\n                align,\n                tickInside = this.options.tickPosition === 'inside',\n                snap = this.crosshair.snap !== false,\n                value,\n                offset = 0;\n\n            // Use last available event (#5287)\n            if (!e) {\n                e = this.cross && this.cross.e;\n            }\n\n            align = (horiz ? 'center' : opposite ?\n                (this.labelAlign === 'right' ? 'right' : 'left') :\n                (this.labelAlign === 'left' ? 'left' : 'center'));\n\n            // If the label does not exist yet, create it.\n            if (!crossLabel) {\n                crossLabel = this.crossLabel = chart.renderer.label(null, null, null, options.shape || 'callout')\n                    .addClass('highcharts-crosshair-label' +\n                        (this.series[0] && ' highcharts-color-' + this.series[0].colorIndex))\n                    .attr({\n                        align: options.align || align,\n                        padding: pick(options.padding, 8),\n                        r: pick(options.borderRadius, 3),\n                        zIndex: 2\n                    })\n                    .add(this.labelGroup);\n\n\n                // Presentational\n                crossLabel\n                    .attr({\n                        fill: options.backgroundColor ||\n                            (this.series[0] && this.series[0].color) || '#666666',\n                        stroke: options.borderColor || '',\n                        'stroke-width': options.borderWidth || 0\n                    })\n                    .css(extend({\n                        color: '#ffffff',\n                        fontWeight: 'normal',\n                        fontSize: '11px',\n                        textAlign: 'center'\n                    }, options.style));\n\n            }\n\n            if (horiz) {\n                posx = snap ? point.plotX + left : e.chartX;\n                posy = top + (opposite ? 0 : this.height);\n            } else {\n                posx = opposite ? this.width + left : 0;\n                posy = snap ? point.plotY + top : e.chartY;\n            }\n\n            if (!formatOption && !options.formatter) {\n                if (this.isDatetimeAxis) {\n                    formatFormat = '%b %d, %Y';\n                }\n                formatOption = '{value' + (formatFormat ? ':' + formatFormat : '') + '}';\n            }\n\n            // Show the label\n            value = snap ? point[this.isXAxis ? 'x' : 'y'] : this.toValue(horiz ? e.chartX : e.chartY);\n            crossLabel.attr({\n                text: formatOption ? format(formatOption, {\n                    value: value\n                }) : options.formatter.call(this, value),\n                x: posx,\n                y: posy,\n                visibility: 'visible'\n            });\n\n            crossBox = crossLabel.getBBox();\n\n            // now it is placed we can correct its position\n            if (horiz) {\n                if ((tickInside && !opposite) || (!tickInside && opposite)) {\n                    posy = crossLabel.y - crossBox.height;\n                }\n            } else {\n                posy = crossLabel.y - (crossBox.height / 2);\n            }\n\n            // check the edges\n            if (horiz) {\n                limit = {\n                    left: left - crossBox.x,\n                    right: left + this.width - crossBox.x\n                };\n            } else {\n                limit = {\n                    left: this.labelAlign === 'left' ? left : 0,\n                    right: this.labelAlign === 'right' ? left + this.width : chart.chartWidth\n                };\n            }\n\n            // left edge\n            if (crossLabel.translateX < limit.left) {\n                offset = limit.left - crossLabel.translateX;\n            }\n            // right edge\n            if (crossLabel.translateX + crossBox.width >= limit.right) {\n                offset = -(crossLabel.translateX + crossBox.width - limit.right);\n            }\n\n            // show the crosslabel\n            crossLabel.attr({\n                x: posx + offset,\n                y: posy,\n                // First set x and y, then anchorX and anchorY, when box is actually calculated, #5702\n                anchorX: horiz ? posx : (this.opposite ? 0 : chart.chartWidth),\n                anchorY: horiz ? (this.opposite ? chart.chartHeight : 0) : posy + crossBox.height / 2\n            });\n        });\n\n        /* ****************************************************************************\n         * Start value compare logic\t\t\t\t\t\t\t\t\t\t\t\t  *\n         *****************************************************************************/\n\n        /**\n         * Extend series.init by adding a method to modify the y value used for plotting\n         * on the y axis. This method is called both from the axis when finding dataMin\n         * and dataMax, and from the series.translate method.\n         */\n        seriesProto.init = function() {\n\n            // Call base method\n            seriesInit.apply(this, arguments);\n\n            // Set comparison mode\n            this.setCompare(this.options.compare);\n        };\n\n        /**\n         * The setCompare method can be called also from the outside after render time\n         */\n        seriesProto.setCompare = function(compare) {\n\n            // Set or unset the modifyValue method\n            this.modifyValue = (compare === 'value' || compare === 'percent') ? function(value, point) {\n                var compareValue = this.compareValue;\n\n                if (value !== undefined && compareValue !== undefined) { // #2601, #5814\n\n                    // Get the modified value\n                    if (compare === 'value') {\n                        value -= compareValue;\n\n                        // Compare percent\n                    } else {\n                        value = 100 * (value / compareValue) -\n                            (this.options.compareBase === 100 ? 0 : 100);\n                    }\n\n                    // record for tooltip etc.\n                    if (point) {\n                        point.change = value;\n                    }\n\n                    return value;\n                }\n            } : null;\n\n            // Survive to export, #5485\n            this.userOptions.compare = compare;\n\n            // Mark dirty\n            if (this.chart.hasRendered) {\n                this.isDirty = true;\n            }\n\n        };\n\n        /**\n         * Extend series.processData by finding the first y value in the plot area,\n         * used for comparing the following values\n         */\n        seriesProto.processData = function() {\n            var series = this,\n                i,\n                keyIndex = -1,\n                processedXData,\n                processedYData,\n                length,\n                compareValue;\n\n            // call base method\n            seriesProcessData.apply(this, arguments);\n\n            if (series.xAxis && series.processedYData) { // not pies\n\n                // local variables\n                processedXData = series.processedXData;\n                processedYData = series.processedYData;\n                length = processedYData.length;\n\n                // For series with more than one value (range, OHLC etc), compare against\n                // close or the pointValKey (#4922, #3112)\n                if (series.pointArrayMap) {\n                    // Use close if present (#3112)\n                    keyIndex = inArray('close', series.pointArrayMap);\n                    if (keyIndex === -1) {\n                        keyIndex = inArray(series.pointValKey || 'y', series.pointArrayMap);\n                    }\n                }\n\n                // find the first value for comparison\n                for (i = 0; i < length - 1; i++) {\n                    compareValue = keyIndex > -1 ?\n                        processedYData[i][keyIndex] :\n                        processedYData[i];\n                    if (isNumber(compareValue) && processedXData[i + 1] >= series.xAxis.min && compareValue !== 0) {\n                        series.compareValue = compareValue;\n                        break;\n                    }\n                }\n            }\n        };\n\n        /**\n         * Modify series extremes\n         */\n        wrap(seriesProto, 'getExtremes', function(proceed) {\n            var extremes;\n\n            proceed.apply(this, [].slice.call(arguments, 1));\n\n            if (this.modifyValue) {\n                extremes = [this.modifyValue(this.dataMin), this.modifyValue(this.dataMax)];\n                this.dataMin = arrayMin(extremes);\n                this.dataMax = arrayMax(extremes);\n            }\n        });\n\n        /**\n         * Add a utility method, setCompare, to the Y axis\n         */\n        Axis.prototype.setCompare = function(compare, redraw) {\n            if (!this.isXAxis) {\n                each(this.series, function(series) {\n                    series.setCompare(compare);\n                });\n                if (pick(redraw, true)) {\n                    this.chart.redraw();\n                }\n            }\n        };\n\n        /**\n         * Extend the tooltip formatter by adding support for the point.change variable\n         * as well as the changeDecimals option\n         */\n        Point.prototype.tooltipFormatter = function(pointFormat) {\n            var point = this;\n\n            pointFormat = pointFormat.replace(\n                '{point.change}',\n                (point.change > 0 ? '+' : '') +\n                H.numberFormat(point.change, pick(point.series.tooltipOptions.changeDecimals, 2))\n            );\n\n            return pointTooltipFormatter.apply(this, [pointFormat]);\n        };\n\n        /* ****************************************************************************\n         * End value compare logic\t\t\t\t\t\t\t\t\t\t\t\t\t*\n         *****************************************************************************/\n\n\n        /**\n         * Extend the Series prototype to create a separate series clip box. This is\n         * related to using multiple panes, and a future pane logic should incorporate\n         * this feature (#2754).\n         */\n        wrap(Series.prototype, 'render', function(proceed) {\n            // Only do this on not 3d (#2939, #5904) nor polar (#6057) charts, and only\n            // if the series type handles clipping in the animate method (#2975).\n            if (!(this.chart.is3d && this.chart.is3d()) &&\n                !this.chart.polar &&\n                this.xAxis &&\n                !this.xAxis.isRadial // Gauge, #6192\n            ) {\n\n                // First render, initial clip box\n                if (!this.clipBox && this.animate) {\n                    this.clipBox = merge(this.chart.clipBox);\n                    this.clipBox.width = this.xAxis.len;\n                    this.clipBox.height = this.yAxis.len;\n\n                    // On redrawing, resizing etc, update the clip rectangle\n                } else if (this.chart[this.sharedClipKey]) {\n                    this.chart[this.sharedClipKey].attr({\n                        width: this.xAxis.len,\n                        height: this.yAxis.len\n                    });\n                    // #3111\n                } else if (this.clipBox) {\n                    this.clipBox.width = this.xAxis.len;\n                    this.clipBox.height = this.yAxis.len;\n                }\n            }\n            proceed.call(this);\n        });\n\n    }(Highcharts));\n    (function() {\n\n\n    }());\n    return Highcharts\n}));\n","/**\n * @license Highcharts JS v5.0.10 (2017-03-31)\n * Data module\n *\n * (c) 2012-2017 Torstein Honsi\n *\n * License: www.highcharts.com/license\n */\n'use strict';\n(function(factory) {\n    if (typeof module === 'object' && module.exports) {\n        module.exports = factory;\n    } else {\n        factory(Highcharts);\n    }\n}(function(Highcharts) {\n    (function(Highcharts) {\n        /**\n         * Data module\n         *\n         * (c) 2012-2017 Torstein Honsi\n         *\n         * License: www.highcharts.com/license\n         */\n\n        /* global jQuery */\n\n        // Utilities\n        var win = Highcharts.win,\n            doc = win.document,\n            each = Highcharts.each,\n            pick = Highcharts.pick,\n            inArray = Highcharts.inArray,\n            isNumber = Highcharts.isNumber,\n            splat = Highcharts.splat,\n            SeriesBuilder;\n\n\n        // The Data constructor\n        var Data = function(dataOptions, chartOptions) {\n            this.init(dataOptions, chartOptions);\n        };\n\n        // Set the prototype properties\n        Highcharts.extend(Data.prototype, {\n\n            /**\n             * Initialize the Data object with the given options\n             */\n            init: function(options, chartOptions) {\n                this.options = options;\n                this.chartOptions = chartOptions;\n                this.columns = options.columns || this.rowsToColumns(options.rows) || [];\n                this.firstRowAsNames = pick(options.firstRowAsNames, true);\n                this.decimalRegex = options.decimalPoint && new RegExp('^(-?[0-9]+)' + options.decimalPoint + '([0-9]+)$');\n\n                // This is a two-dimensional array holding the raw, trimmed string values\n                // with the same organisation as the columns array. It makes it possible\n                // for example to revert from interpreted timestamps to string-based\n                // categories.\n                this.rawColumns = [];\n\n                // No need to parse or interpret anything\n                if (this.columns.length) {\n                    this.dataFound();\n\n                    // Parse and interpret\n                } else {\n\n                    // Parse a CSV string if options.csv is given\n                    this.parseCSV();\n\n                    // Parse a HTML table if options.table is given\n                    this.parseTable();\n\n                    // Parse a Google Spreadsheet \n                    this.parseGoogleSpreadsheet();\n                }\n\n            },\n\n            /**\n             * Get the column distribution. For example, a line series takes a single column for \n             * Y values. A range series takes two columns for low and high values respectively,\n             * and an OHLC series takes four columns.\n             */\n            getColumnDistribution: function() {\n                var chartOptions = this.chartOptions,\n                    options = this.options,\n                    xColumns = [],\n                    getValueCount = function(type) {\n                        return (Highcharts.seriesTypes[type || 'line'].prototype.pointArrayMap || [0]).length;\n                    },\n                    getPointArrayMap = function(type) {\n                        return Highcharts.seriesTypes[type || 'line'].prototype.pointArrayMap;\n                    },\n                    globalType = chartOptions && chartOptions.chart && chartOptions.chart.type,\n                    individualCounts = [],\n                    seriesBuilders = [],\n                    seriesIndex = 0,\n                    i;\n\n                each((chartOptions && chartOptions.series) || [], function(series) {\n                    individualCounts.push(getValueCount(series.type || globalType));\n                });\n\n                // Collect the x-column indexes from seriesMapping\n                each((options && options.seriesMapping) || [], function(mapping) {\n                    xColumns.push(mapping.x || 0);\n                });\n\n                // If there are no defined series with x-columns, use the first column as x column\n                if (xColumns.length === 0) {\n                    xColumns.push(0);\n                }\n\n                // Loop all seriesMappings and constructs SeriesBuilders from\n                // the mapping options.\n                each((options && options.seriesMapping) || [], function(mapping) {\n                    var builder = new SeriesBuilder(),\n                        name,\n                        numberOfValueColumnsNeeded = individualCounts[seriesIndex] || getValueCount(globalType),\n                        seriesArr = (chartOptions && chartOptions.series) || [],\n                        series = seriesArr[seriesIndex] || {},\n                        pointArrayMap = getPointArrayMap(series.type || globalType) || ['y'];\n\n                    // Add an x reader from the x property or from an undefined column\n                    // if the property is not set. It will then be auto populated later.\n                    builder.addColumnReader(mapping.x, 'x');\n\n                    // Add all column mappings\n                    for (name in mapping) {\n                        if (mapping.hasOwnProperty(name) && name !== 'x') {\n                            builder.addColumnReader(mapping[name], name);\n                        }\n                    }\n\n                    // Add missing columns\n                    for (i = 0; i < numberOfValueColumnsNeeded; i++) {\n                        if (!builder.hasReader(pointArrayMap[i])) {\n                            //builder.addNextColumnReader(pointArrayMap[i]);\n                            // Create and add a column reader for the next free column index\n                            builder.addColumnReader(undefined, pointArrayMap[i]);\n                        }\n                    }\n\n                    seriesBuilders.push(builder);\n                    seriesIndex++;\n                });\n\n                var globalPointArrayMap = getPointArrayMap(globalType);\n                if (globalPointArrayMap === undefined) {\n                    globalPointArrayMap = ['y'];\n                }\n\n                this.valueCount = {\n                    global: getValueCount(globalType),\n                    xColumns: xColumns,\n                    individual: individualCounts,\n                    seriesBuilders: seriesBuilders,\n                    globalPointArrayMap: globalPointArrayMap\n                };\n            },\n\n            /**\n             * When the data is parsed into columns, either by CSV, table, GS or direct input,\n             * continue with other operations.\n             */\n            dataFound: function() {\n\n                if (this.options.switchRowsAndColumns) {\n                    this.columns = this.rowsToColumns(this.columns);\n                }\n\n                // Interpret the info about series and columns\n                this.getColumnDistribution();\n\n                // Interpret the values into right types\n                this.parseTypes();\n\n                // Handle columns if a handleColumns callback is given\n                if (this.parsed() !== false) {\n\n                    // Complete if a complete callback is given\n                    this.complete();\n                }\n\n            },\n\n            /**\n             * Parse a CSV input string\n             */\n            parseCSV: function() {\n                var self = this,\n                    options = this.options,\n                    csv = options.csv,\n                    columns = this.columns,\n                    startRow = options.startRow || 0,\n                    endRow = options.endRow || Number.MAX_VALUE,\n                    startColumn = options.startColumn || 0,\n                    endColumn = options.endColumn || Number.MAX_VALUE,\n                    itemDelimiter,\n                    lines,\n                    activeRowNo = 0;\n\n                if (csv) {\n\n                    lines = csv\n                        .replace(/\\r\\n/g, '\\n') // Unix\n                        .replace(/\\r/g, '\\n') // Mac\n                        .split(options.lineDelimiter || '\\n');\n\n                    itemDelimiter = options.itemDelimiter || (csv.indexOf('\\t') !== -1 ? '\\t' : ',');\n\n                    each(lines, function(line, rowNo) {\n                        var trimmed = self.trim(line),\n                            isComment = trimmed.indexOf('#') === 0,\n                            isBlank = trimmed === '',\n                            items;\n\n                        if (rowNo >= startRow && rowNo <= endRow && !isComment && !isBlank) {\n                            items = line.split(itemDelimiter);\n                            each(items, function(item, colNo) {\n                                if (colNo >= startColumn && colNo <= endColumn) {\n                                    if (!columns[colNo - startColumn]) {\n                                        columns[colNo - startColumn] = [];\n                                    }\n\n                                    columns[colNo - startColumn][activeRowNo] = item;\n                                }\n                            });\n                            activeRowNo += 1;\n                        }\n                    });\n\n                    this.dataFound();\n                }\n            },\n\n            /**\n             * Parse a HTML table\n             */\n            parseTable: function() {\n                var options = this.options,\n                    table = options.table,\n                    columns = this.columns,\n                    startRow = options.startRow || 0,\n                    endRow = options.endRow || Number.MAX_VALUE,\n                    startColumn = options.startColumn || 0,\n                    endColumn = options.endColumn || Number.MAX_VALUE;\n\n                if (table) {\n\n                    if (typeof table === 'string') {\n                        table = doc.getElementById(table);\n                    }\n\n                    each(table.getElementsByTagName('tr'), function(tr, rowNo) {\n                        if (rowNo >= startRow && rowNo <= endRow) {\n                            each(tr.children, function(item, colNo) {\n                                if ((item.tagName === 'TD' || item.tagName === 'TH') && colNo >= startColumn && colNo <= endColumn) {\n                                    if (!columns[colNo - startColumn]) {\n                                        columns[colNo - startColumn] = [];\n                                    }\n\n                                    columns[colNo - startColumn][rowNo - startRow] = item.innerHTML;\n                                }\n                            });\n                        }\n                    });\n\n                    this.dataFound(); // continue\n                }\n            },\n\n            /**\n             */\n            parseGoogleSpreadsheet: function() {\n                var self = this,\n                    options = this.options,\n                    googleSpreadsheetKey = options.googleSpreadsheetKey,\n                    columns = this.columns,\n                    startRow = options.startRow || 0,\n                    endRow = options.endRow || Number.MAX_VALUE,\n                    startColumn = options.startColumn || 0,\n                    endColumn = options.endColumn || Number.MAX_VALUE,\n                    gr, // google row\n                    gc; // google column\n\n                if (googleSpreadsheetKey) {\n                    jQuery.ajax({\n                        dataType: 'json',\n                        url: 'https://spreadsheets.google.com/feeds/cells/' +\n                            googleSpreadsheetKey + '/' + (options.googleSpreadsheetWorksheet || 'od6') +\n                            '/public/values?alt=json-in-script&callback=?',\n                        error: options.error,\n                        success: function(json) {\n                            // Prepare the data from the spreadsheat\n                            var cells = json.feed.entry,\n                                cell,\n                                cellCount = cells.length,\n                                colCount = 0,\n                                rowCount = 0,\n                                i;\n\n                            // First, find the total number of columns and rows that \n                            // are actually filled with data\n                            for (i = 0; i < cellCount; i++) {\n                                cell = cells[i];\n                                colCount = Math.max(colCount, cell.gs$cell.col);\n                                rowCount = Math.max(rowCount, cell.gs$cell.row);\n                            }\n\n                            // Set up arrays containing the column data\n                            for (i = 0; i < colCount; i++) {\n                                if (i >= startColumn && i <= endColumn) {\n                                    // Create new columns with the length of either end-start or rowCount\n                                    columns[i - startColumn] = [];\n\n                                    // Setting the length to avoid jslint warning\n                                    columns[i - startColumn].length = Math.min(rowCount, endRow - startRow);\n                                }\n                            }\n\n                            // Loop over the cells and assign the value to the right\n                            // place in the column arrays\n                            for (i = 0; i < cellCount; i++) {\n                                cell = cells[i];\n                                gr = cell.gs$cell.row - 1; // rows start at 1\n                                gc = cell.gs$cell.col - 1; // columns start at 1\n\n                                // If both row and col falls inside start and end\n                                // set the transposed cell value in the newly created columns\n                                if (gc >= startColumn && gc <= endColumn &&\n                                    gr >= startRow && gr <= endRow) {\n                                    columns[gc - startColumn][gr - startRow] = cell.content.$t;\n                                }\n                            }\n\n                            // Insert null for empty spreadsheet cells (#5298)\n                            each(columns, function(column) {\n                                for (i = 0; i < column.length; i++) {\n                                    if (column[i] === undefined) {\n                                        column[i] = null;\n                                    }\n                                }\n                            });\n\n                            self.dataFound();\n                        }\n                    });\n                }\n            },\n\n            /**\n             * Trim a string from whitespace\n             */\n            trim: function(str, inside) {\n                if (typeof str === 'string') {\n                    str = str.replace(/^\\s+|\\s+$/g, '');\n\n                    // Clear white space insdie the string, like thousands separators\n                    if (inside && /^[0-9\\s]+$/.test(str)) {\n                        str = str.replace(/\\s/g, '');\n                    }\n\n                    if (this.decimalRegex) {\n                        str = str.replace(this.decimalRegex, '$1.$2');\n                    }\n                }\n                return str;\n            },\n\n            /**\n             * Parse numeric cells in to number types and date types in to true dates.\n             */\n            parseTypes: function() {\n                var columns = this.columns,\n                    col = columns.length;\n\n                while (col--) {\n                    this.parseColumn(columns[col], col);\n                }\n\n            },\n\n            /**\n             * Parse a single column. Set properties like .isDatetime and .isNumeric.\n             */\n            parseColumn: function(column, col) {\n                var rawColumns = this.rawColumns,\n                    columns = this.columns,\n                    row = column.length,\n                    val,\n                    floatVal,\n                    trimVal,\n                    trimInsideVal,\n                    firstRowAsNames = this.firstRowAsNames,\n                    isXColumn = inArray(col, this.valueCount.xColumns) !== -1,\n                    dateVal,\n                    backup = [],\n                    diff,\n                    chartOptions = this.chartOptions,\n                    descending,\n                    columnTypes = this.options.columnTypes || [],\n                    columnType = columnTypes[col],\n                    forceCategory = isXColumn && ((chartOptions && chartOptions.xAxis && splat(chartOptions.xAxis)[0].type === 'category') || columnType === 'string');\n\n                if (!rawColumns[col]) {\n                    rawColumns[col] = [];\n                }\n                while (row--) {\n                    val = backup[row] || column[row];\n\n                    trimVal = this.trim(val);\n                    trimInsideVal = this.trim(val, true);\n                    floatVal = parseFloat(trimInsideVal);\n\n                    // Set it the first time\n                    if (rawColumns[col][row] === undefined) {\n                        rawColumns[col][row] = trimVal;\n                    }\n\n                    // Disable number or date parsing by setting the X axis type to category\n                    if (forceCategory || (row === 0 && firstRowAsNames)) {\n                        column[row] = trimVal;\n\n                    } else if (+trimInsideVal === floatVal) { // is numeric\n\n                        column[row] = floatVal;\n\n                        // If the number is greater than milliseconds in a year, assume datetime\n                        if (floatVal > 365 * 24 * 3600 * 1000 && columnType !== 'float') {\n                            column.isDatetime = true;\n                        } else {\n                            column.isNumeric = true;\n                        }\n\n                        if (column[row + 1] !== undefined) {\n                            descending = floatVal > column[row + 1];\n                        }\n\n                        // String, continue to determine if it is a date string or really a string\n                    } else {\n                        dateVal = this.parseDate(val);\n                        // Only allow parsing of dates if this column is an x-column\n                        if (isXColumn && isNumber(dateVal) && columnType !== 'float') { // is date\n                            backup[row] = val;\n                            column[row] = dateVal;\n                            column.isDatetime = true;\n\n                            // Check if the dates are uniformly descending or ascending. If they \n                            // are not, chances are that they are a different time format, so check\n                            // for alternative.\n                            if (column[row + 1] !== undefined) {\n                                diff = dateVal > column[row + 1];\n                                if (diff !== descending && descending !== undefined) {\n                                    if (this.alternativeFormat) {\n                                        this.dateFormat = this.alternativeFormat;\n                                        row = column.length;\n                                        this.alternativeFormat = this.dateFormats[this.dateFormat].alternative;\n                                    } else {\n                                        column.unsorted = true;\n                                    }\n                                }\n                                descending = diff;\n                            }\n\n                        } else { // string\n                            column[row] = trimVal === '' ? null : trimVal;\n                            if (row !== 0 && (column.isDatetime || column.isNumeric)) {\n                                column.mixed = true;\n                            }\n                        }\n                    }\n                }\n\n                // If strings are intermixed with numbers or dates in a parsed column, it is an indication\n                // that parsing went wrong or the data was not intended to display as numbers or dates and \n                // parsing is too aggressive. Fall back to categories. Demonstrated in the \n                // highcharts/demo/column-drilldown sample.\n                if (isXColumn && column.mixed) {\n                    columns[col] = rawColumns[col];\n                }\n\n                // If the 0 column is date or number and descending, reverse all columns. \n                if (isXColumn && descending && this.options.sort) {\n                    for (col = 0; col < columns.length; col++) {\n                        columns[col].reverse();\n                        if (firstRowAsNames) {\n                            columns[col].unshift(columns[col].pop());\n                        }\n                    }\n                }\n            },\n\n            /**\n             * A collection of available date formats, extendable from the outside to support\n             * custom date formats.\n             */\n            dateFormats: {\n                'YYYY-mm-dd': {\n                    regex: /^([0-9]{4})[\\-\\/\\.]([0-9]{2})[\\-\\/\\.]([0-9]{2})$/,\n                    parser: function(match) {\n                        return Date.UTC(+match[1], match[2] - 1, +match[3]);\n                    }\n                },\n                'dd/mm/YYYY': {\n                    regex: /^([0-9]{1,2})[\\-\\/\\.]([0-9]{1,2})[\\-\\/\\.]([0-9]{4})$/,\n                    parser: function(match) {\n                        return Date.UTC(+match[3], match[2] - 1, +match[1]);\n                    },\n                    alternative: 'mm/dd/YYYY' // different format with the same regex\n                },\n                'mm/dd/YYYY': {\n                    regex: /^([0-9]{1,2})[\\-\\/\\.]([0-9]{1,2})[\\-\\/\\.]([0-9]{4})$/,\n                    parser: function(match) {\n                        return Date.UTC(+match[3], match[1] - 1, +match[2]);\n                    }\n                },\n                'dd/mm/YY': {\n                    regex: /^([0-9]{1,2})[\\-\\/\\.]([0-9]{1,2})[\\-\\/\\.]([0-9]{2})$/,\n                    parser: function(match) {\n                        return Date.UTC(+match[3] + 2000, match[2] - 1, +match[1]);\n                    },\n                    alternative: 'mm/dd/YY' // different format with the same regex\n                },\n                'mm/dd/YY': {\n                    regex: /^([0-9]{1,2})[\\-\\/\\.]([0-9]{1,2})[\\-\\/\\.]([0-9]{2})$/,\n                    parser: function(match) {\n                        return Date.UTC(+match[3] + 2000, match[1] - 1, +match[2]);\n                    }\n                }\n            },\n\n            /**\n             * Parse a date and return it as a number. Overridable through options.parseDate.\n             */\n            parseDate: function(val) {\n                var parseDate = this.options.parseDate,\n                    ret,\n                    key,\n                    format,\n                    dateFormat = this.options.dateFormat || this.dateFormat,\n                    match;\n\n                if (parseDate) {\n                    ret = parseDate(val);\n\n                } else if (typeof val === 'string') {\n                    // Auto-detect the date format the first time\n                    if (!dateFormat) {\n                        for (key in this.dateFormats) {\n                            format = this.dateFormats[key];\n                            match = val.match(format.regex);\n                            if (match) {\n                                this.dateFormat = dateFormat = key;\n                                this.alternativeFormat = format.alternative;\n                                ret = format.parser(match);\n                                break;\n                            }\n                        }\n                        // Next time, use the one previously found\n                    } else {\n                        format = this.dateFormats[dateFormat];\n                        match = val.match(format.regex);\n                        if (match) {\n                            ret = format.parser(match);\n                        }\n                    }\n                    // Fall back to Date.parse\t\t\n                    if (!match) {\n                        match = Date.parse(val);\n                        // External tools like Date.js and MooTools extend Date object and\n                        // returns a date.\n                        if (typeof match === 'object' && match !== null && match.getTime) {\n                            ret = match.getTime() - match.getTimezoneOffset() * 60000;\n\n                            // Timestamp\n                        } else if (isNumber(match)) {\n                            ret = match - (new Date(match)).getTimezoneOffset() * 60000;\n                        }\n                    }\n                }\n                return ret;\n            },\n\n            /**\n             * Reorganize rows into columns\n             */\n            rowsToColumns: function(rows) {\n                var row,\n                    rowsLength,\n                    col,\n                    colsLength,\n                    columns;\n\n                if (rows) {\n                    columns = [];\n                    rowsLength = rows.length;\n                    for (row = 0; row < rowsLength; row++) {\n                        colsLength = rows[row].length;\n                        for (col = 0; col < colsLength; col++) {\n                            if (!columns[col]) {\n                                columns[col] = [];\n                            }\n                            columns[col][row] = rows[row][col];\n                        }\n                    }\n                }\n                return columns;\n            },\n\n            /**\n             * A hook for working directly on the parsed columns\n             */\n            parsed: function() {\n                if (this.options.parsed) {\n                    return this.options.parsed.call(this, this.columns);\n                }\n            },\n\n            getFreeIndexes: function(numberOfColumns, seriesBuilders) {\n                var s,\n                    i,\n                    freeIndexes = [],\n                    freeIndexValues = [],\n                    referencedIndexes;\n\n                // Add all columns as free\n                for (i = 0; i < numberOfColumns; i = i + 1) {\n                    freeIndexes.push(true);\n                }\n\n                // Loop all defined builders and remove their referenced columns\n                for (s = 0; s < seriesBuilders.length; s = s + 1) {\n                    referencedIndexes = seriesBuilders[s].getReferencedColumnIndexes();\n\n                    for (i = 0; i < referencedIndexes.length; i = i + 1) {\n                        freeIndexes[referencedIndexes[i]] = false;\n                    }\n                }\n\n                // Collect the values for the free indexes\n                for (i = 0; i < freeIndexes.length; i = i + 1) {\n                    if (freeIndexes[i]) {\n                        freeIndexValues.push(i);\n                    }\n                }\n\n                return freeIndexValues;\n            },\n\n            /**\n             * If a complete callback function is provided in the options, interpret the \n             * columns into a Highcharts options object.\n             */\n            complete: function() {\n\n                var columns = this.columns,\n                    xColumns = [],\n                    type,\n                    options = this.options,\n                    series,\n                    data,\n                    i,\n                    j,\n                    r,\n                    seriesIndex,\n                    chartOptions,\n                    allSeriesBuilders = [],\n                    builder,\n                    freeIndexes,\n                    typeCol,\n                    index;\n\n                xColumns.length = columns.length;\n                if (options.complete || options.afterComplete) {\n\n                    // Get the names and shift the top row\n                    for (i = 0; i < columns.length; i++) {\n                        if (this.firstRowAsNames) {\n                            columns[i].name = columns[i].shift();\n                        }\n                    }\n\n                    // Use the next columns for series\n                    series = [];\n                    freeIndexes = this.getFreeIndexes(columns.length, this.valueCount.seriesBuilders);\n\n                    // Populate defined series\n                    for (seriesIndex = 0; seriesIndex < this.valueCount.seriesBuilders.length; seriesIndex++) {\n                        builder = this.valueCount.seriesBuilders[seriesIndex];\n\n                        // If the builder can be populated with remaining columns, then add it to allBuilders\n                        if (builder.populateColumns(freeIndexes)) {\n                            allSeriesBuilders.push(builder);\n                        }\n                    }\n\n                    // Populate dynamic series\n                    while (freeIndexes.length > 0) {\n                        builder = new SeriesBuilder();\n                        builder.addColumnReader(0, 'x');\n\n                        // Mark index as used (not free)\n                        index = inArray(0, freeIndexes);\n                        if (index !== -1) {\n                            freeIndexes.splice(index, 1);\n                        }\n\n                        for (i = 0; i < this.valueCount.global; i++) {\n                            // Create and add a column reader for the next free column index\n                            builder.addColumnReader(undefined, this.valueCount.globalPointArrayMap[i]);\n                        }\n\n                        // If the builder can be populated with remaining columns, then add it to allBuilders\n                        if (builder.populateColumns(freeIndexes)) {\n                            allSeriesBuilders.push(builder);\n                        }\n                    }\n\n                    // Get the data-type from the first series x column\n                    if (allSeriesBuilders.length > 0 && allSeriesBuilders[0].readers.length > 0) {\n                        typeCol = columns[allSeriesBuilders[0].readers[0].columnIndex];\n                        if (typeCol !== undefined) {\n                            if (typeCol.isDatetime) {\n                                type = 'datetime';\n                            } else if (!typeCol.isNumeric) {\n                                type = 'category';\n                            }\n                        }\n                    }\n                    // Axis type is category, then the \"x\" column should be called \"name\"\n                    if (type === 'category') {\n                        for (seriesIndex = 0; seriesIndex < allSeriesBuilders.length; seriesIndex++) {\n                            builder = allSeriesBuilders[seriesIndex];\n                            for (r = 0; r < builder.readers.length; r++) {\n                                if (builder.readers[r].configName === 'x') {\n                                    builder.readers[r].configName = 'name';\n                                }\n                            }\n                        }\n                    }\n\n                    // Read data for all builders\n                    for (seriesIndex = 0; seriesIndex < allSeriesBuilders.length; seriesIndex++) {\n                        builder = allSeriesBuilders[seriesIndex];\n\n                        // Iterate down the cells of each column and add data to the series\n                        data = [];\n                        for (j = 0; j < columns[0].length; j++) {\n                            data[j] = builder.read(columns, j);\n                        }\n\n                        // Add the series\n                        series[seriesIndex] = {\n                            data: data\n                        };\n                        if (builder.name) {\n                            series[seriesIndex].name = builder.name;\n                        }\n                        if (type === 'category') {\n                            series[seriesIndex].turboThreshold = 0;\n                        }\n                    }\n\n\n\n                    // Do the callback\n                    chartOptions = {\n                        series: series\n                    };\n                    if (type) {\n                        chartOptions.xAxis = {\n                            type: type\n                        };\n                        if (type === 'category') {\n                            chartOptions.xAxis.uniqueNames = false;\n                        }\n                    }\n\n                    if (options.complete) {\n                        options.complete(chartOptions);\n                    }\n\n                    // The afterComplete hook is used internally to avoid conflict with the externally\n                    // available complete option.\n                    if (options.afterComplete) {\n                        options.afterComplete(chartOptions);\n                    }\n                }\n            }\n        });\n\n        // Register the Data prototype and data function on Highcharts\n        Highcharts.Data = Data;\n        Highcharts.data = function(options, chartOptions) {\n            return new Data(options, chartOptions);\n        };\n\n        // Extend Chart.init so that the Chart constructor accepts a new configuration\n        // option group, data.\n        Highcharts.wrap(Highcharts.Chart.prototype, 'init', function(proceed, userOptions, callback) {\n            var chart = this;\n\n            if (userOptions && userOptions.data) {\n                Highcharts.data(Highcharts.extend(userOptions.data, {\n\n                    afterComplete: function(dataOptions) {\n                        var i, series;\n\n                        // Merge series configs\n                        if (userOptions.hasOwnProperty('series')) {\n                            if (typeof userOptions.series === 'object') {\n                                i = Math.max(userOptions.series.length, dataOptions.series.length);\n                                while (i--) {\n                                    series = userOptions.series[i] || {};\n                                    userOptions.series[i] = Highcharts.merge(series, dataOptions.series[i]);\n                                }\n                            } else { // Allow merging in dataOptions.series (#2856)\n                                delete userOptions.series;\n                            }\n                        }\n\n                        // Do the merge\n                        userOptions = Highcharts.merge(dataOptions, userOptions);\n\n                        proceed.call(chart, userOptions, callback);\n                    }\n                }), userOptions);\n            } else {\n                proceed.call(chart, userOptions, callback);\n            }\n        });\n\n        /**\n         * Creates a new SeriesBuilder. A SeriesBuilder consists of a number\n         * of ColumnReaders that reads columns and give them a name.\n         * Ex: A series builder can be constructed to read column 3 as 'x' and\n         * column 7 and 8 as 'y1' and 'y2'.\n         * The output would then be points/rows of the form {x: 11, y1: 22, y2: 33}\n         * \n         * The name of the builder is taken from the second column. In the above\n         * example it would be the column with index 7.\n         * @constructor\n         */\n        SeriesBuilder = function() {\n            this.readers = [];\n            this.pointIsArray = true;\n        };\n\n        /**\n         * Populates readers with column indexes. A reader can be added without\n         * a specific index and for those readers the index is taken sequentially\n         * from the free columns (this is handled by the ColumnCursor instance).\n         * @returns {boolean}\n         */\n        SeriesBuilder.prototype.populateColumns = function(freeIndexes) {\n            var builder = this,\n                enoughColumns = true;\n\n            // Loop each reader and give it an index if its missing.\n            // The freeIndexes.shift() will return undefined if there\n            // are no more columns.\n            each(builder.readers, function(reader) {\n                if (reader.columnIndex === undefined) {\n                    reader.columnIndex = freeIndexes.shift();\n                }\n            });\n\n            // Now, all readers should have columns mapped. If not\n            // then return false to signal that this series should\n            // not be added.\n            each(builder.readers, function(reader) {\n                if (reader.columnIndex === undefined) {\n                    enoughColumns = false;\n                }\n            });\n\n            return enoughColumns;\n        };\n\n        /**\n         * Reads a row from the dataset and returns a point or array depending\n         * on the names of the readers.\n         * @param columns\n         * @param rowIndex\n         * @returns {Array | Object}\n         */\n        SeriesBuilder.prototype.read = function(columns, rowIndex) {\n            var builder = this,\n                pointIsArray = builder.pointIsArray,\n                point = pointIsArray ? [] : {},\n                columnIndexes;\n\n            // Loop each reader and ask it to read its value.\n            // Then, build an array or point based on the readers names.\n            each(builder.readers, function(reader) {\n                var value = columns[reader.columnIndex][rowIndex];\n                if (pointIsArray) {\n                    point.push(value);\n                } else {\n                    point[reader.configName] = value;\n                }\n            });\n\n            // The name comes from the first column (excluding the x column)\n            if (this.name === undefined && builder.readers.length >= 2) {\n                columnIndexes = builder.getReferencedColumnIndexes();\n                if (columnIndexes.length >= 2) {\n                    // remove the first one (x col)\n                    columnIndexes.shift();\n\n                    // Sort the remaining\n                    columnIndexes.sort();\n\n                    // Now use the lowest index as name column\n                    this.name = columns[columnIndexes.shift()].name;\n                }\n            }\n\n            return point;\n        };\n\n        /**\n         * Creates and adds ColumnReader from the given columnIndex and configName.\n         * ColumnIndex can be undefined and in that case the reader will be given\n         * an index when columns are populated.\n         * @param columnIndex {Number | undefined}\n         * @param configName\n         */\n        SeriesBuilder.prototype.addColumnReader = function(columnIndex, configName) {\n            this.readers.push({\n                columnIndex: columnIndex,\n                configName: configName\n            });\n\n            if (!(configName === 'x' || configName === 'y' || configName === undefined)) {\n                this.pointIsArray = false;\n            }\n        };\n\n        /**\n         * Returns an array of column indexes that the builder will use when\n         * reading data.\n         * @returns {Array}\n         */\n        SeriesBuilder.prototype.getReferencedColumnIndexes = function() {\n            var i,\n                referencedColumnIndexes = [],\n                columnReader;\n\n            for (i = 0; i < this.readers.length; i = i + 1) {\n                columnReader = this.readers[i];\n                if (columnReader.columnIndex !== undefined) {\n                    referencedColumnIndexes.push(columnReader.columnIndex);\n                }\n            }\n\n            return referencedColumnIndexes;\n        };\n\n        /**\n         * Returns true if the builder has a reader for the given configName.\n         * @param configName\n         * @returns {boolean}\n         */\n        SeriesBuilder.prototype.hasReader = function(configName) {\n            var i, columnReader;\n            for (i = 0; i < this.readers.length; i = i + 1) {\n                columnReader = this.readers[i];\n                if (columnReader.configName === configName) {\n                    return true;\n                }\n            }\n            // Else return undefined\n        };\n\n    }(Highcharts));\n}));\n","/**\n * @license Highcharts JS v5.0.10 (2017-03-31)\n * Highcharts Drilldown module\n * \n * Author: Torstein Honsi\n * License: www.highcharts.com/license\n *\n */\n'use strict';\n(function(factory) {\n    if (typeof module === 'object' && module.exports) {\n        module.exports = factory;\n    } else {\n        factory(Highcharts);\n    }\n}(function(Highcharts) {\n    (function(H) {\n        /**\n         * Highcharts Drilldown module\n         * \n         * Author: Torstein Honsi\n         * License: www.highcharts.com/license\n         *\n         */\n\n\n        var noop = H.noop,\n            color = H.color,\n            defaultOptions = H.defaultOptions,\n            each = H.each,\n            extend = H.extend,\n            format = H.format,\n            pick = H.pick,\n            wrap = H.wrap,\n            Chart = H.Chart,\n            seriesTypes = H.seriesTypes,\n            PieSeries = seriesTypes.pie,\n            ColumnSeries = seriesTypes.column,\n            Tick = H.Tick,\n            fireEvent = H.fireEvent,\n            inArray = H.inArray,\n            ddSeriesId = 1;\n\n        // Utilities\n        /*\n         * Return an intermediate color between two colors, according to pos where 0\n         * is the from color and 1 is the to color. This method is copied from ColorAxis.js\n         * and should always be kept updated, until we get AMD support.\n         */\n        function tweenColors(from, to, pos) {\n            // Check for has alpha, because rgba colors perform worse due to lack of\n            // support in WebKit.\n            var hasAlpha,\n                ret;\n\n            // Unsupported color, return to-color (#3920)\n            if (!to.rgba.length || !from.rgba.length) {\n                ret = to.input || 'none';\n\n                // Interpolate\n            } else {\n                from = from.rgba;\n                to = to.rgba;\n                hasAlpha = (to[3] !== 1 || from[3] !== 1);\n                ret = (hasAlpha ? 'rgba(' : 'rgb(') +\n                    Math.round(to[0] + (from[0] - to[0]) * (1 - pos)) + ',' +\n                    Math.round(to[1] + (from[1] - to[1]) * (1 - pos)) + ',' +\n                    Math.round(to[2] + (from[2] - to[2]) * (1 - pos)) +\n                    (hasAlpha ? (',' + (to[3] + (from[3] - to[3]) * (1 - pos))) : '') + ')';\n            }\n            return ret;\n        }\n        /**\n         * Handle animation of the color attributes directly\n         */\n        each(['fill', 'stroke'], function(prop) {\n            H.Fx.prototype[prop + 'Setter'] = function() {\n                this.elem.attr(\n                    prop,\n                    tweenColors(color(this.start), color(this.end), this.pos),\n                    null,\n                    true\n                );\n            };\n        });\n\n        // Add language\n        extend(defaultOptions.lang, {\n            drillUpText: '◁ Back to {series.name}'\n        });\n        defaultOptions.drilldown = {\n\n            activeAxisLabelStyle: {\n                cursor: 'pointer',\n                color: '#003399',\n                fontWeight: 'bold',\n                textDecoration: 'underline'\n            },\n            activeDataLabelStyle: {\n                cursor: 'pointer',\n                color: '#003399',\n                fontWeight: 'bold',\n                textDecoration: 'underline'\n            },\n\n            animation: {\n                duration: 500\n            },\n            drillUpButton: {\n                position: {\n                    align: 'right',\n                    x: -10,\n                    y: 10\n                }\n                // relativeTo: 'plotBox'\n                // theme\n            }\n        };\n\n        /**\n         * A general fadeIn method\n         */\n        H.SVGRenderer.prototype.Element.prototype.fadeIn = function(animation) {\n            this\n                .attr({\n                    opacity: 0.1,\n                    visibility: 'inherit'\n                })\n                .animate({\n                    opacity: pick(this.newOpacity, 1) // newOpacity used in maps\n                }, animation || {\n                    duration: 250\n                });\n        };\n\n        Chart.prototype.addSeriesAsDrilldown = function(point, ddOptions) {\n            this.addSingleSeriesAsDrilldown(point, ddOptions);\n            this.applyDrilldown();\n        };\n        Chart.prototype.addSingleSeriesAsDrilldown = function(point, ddOptions) {\n            var oldSeries = point.series,\n                xAxis = oldSeries.xAxis,\n                yAxis = oldSeries.yAxis,\n                newSeries,\n                pointIndex,\n                levelSeries = [],\n                levelSeriesOptions = [],\n                level,\n                levelNumber,\n                last,\n                colorProp;\n\n\n\n            colorProp = {\n                color: point.color || oldSeries.color\n            };\n\n\n            if (!this.drilldownLevels) {\n                this.drilldownLevels = [];\n            }\n\n            levelNumber = oldSeries.options._levelNumber || 0;\n\n            // See if we can reuse the registered series from last run\n            last = this.drilldownLevels[this.drilldownLevels.length - 1];\n            if (last && last.levelNumber !== levelNumber) {\n                last = undefined;\n            }\n\n            ddOptions = extend(extend({\n                _ddSeriesId: ddSeriesId++\n            }, colorProp), ddOptions);\n            pointIndex = inArray(point, oldSeries.points);\n\n            // Record options for all current series\n            each(oldSeries.chart.series, function(series) {\n                if (series.xAxis === xAxis && !series.isDrilling) {\n                    series.options._ddSeriesId = series.options._ddSeriesId || ddSeriesId++;\n                    series.options._colorIndex = series.userOptions._colorIndex;\n                    series.options._levelNumber = series.options._levelNumber || levelNumber; // #3182\n\n                    if (last) {\n                        levelSeries = last.levelSeries;\n                        levelSeriesOptions = last.levelSeriesOptions;\n                    } else {\n                        levelSeries.push(series);\n                        levelSeriesOptions.push(series.options);\n                    }\n                }\n            });\n\n            // Add a record of properties for each drilldown level\n            level = extend({\n                levelNumber: levelNumber,\n                seriesOptions: oldSeries.options,\n                levelSeriesOptions: levelSeriesOptions,\n                levelSeries: levelSeries,\n                shapeArgs: point.shapeArgs,\n                bBox: point.graphic ? point.graphic.getBBox() : {}, // no graphic in line series with markers disabled\n                color: point.isNull ? new H.Color(color).setOpacity(0).get() : color,\n                lowerSeriesOptions: ddOptions,\n                pointOptions: oldSeries.options.data[pointIndex],\n                pointIndex: pointIndex,\n                oldExtremes: {\n                    xMin: xAxis && xAxis.userMin,\n                    xMax: xAxis && xAxis.userMax,\n                    yMin: yAxis && yAxis.userMin,\n                    yMax: yAxis && yAxis.userMax\n                }\n            }, colorProp);\n\n            // Push it to the lookup array\n            this.drilldownLevels.push(level);\n\n            newSeries = level.lowerSeries = this.addSeries(ddOptions, false);\n            newSeries.options._levelNumber = levelNumber + 1;\n            if (xAxis) {\n                xAxis.oldPos = xAxis.pos;\n                xAxis.userMin = xAxis.userMax = null;\n                yAxis.userMin = yAxis.userMax = null;\n            }\n\n            // Run fancy cross-animation on supported and equal types\n            if (oldSeries.type === newSeries.type) {\n                newSeries.animate = newSeries.animateDrilldown || noop;\n                newSeries.options.animation = true;\n            }\n        };\n\n        Chart.prototype.applyDrilldown = function() {\n            var drilldownLevels = this.drilldownLevels,\n                levelToRemove;\n\n            if (drilldownLevels && drilldownLevels.length > 0) { // #3352, async loading\n                levelToRemove = drilldownLevels[drilldownLevels.length - 1].levelNumber;\n                each(this.drilldownLevels, function(level) {\n                    if (level.levelNumber === levelToRemove) {\n                        each(level.levelSeries, function(series) {\n                            if (series.options && series.options._levelNumber === levelToRemove) { // Not removed, not added as part of a multi-series drilldown\n                                series.remove(false);\n                            }\n                        });\n                    }\n                });\n            }\n\n            this.redraw();\n            this.showDrillUpButton();\n        };\n\n        Chart.prototype.getDrilldownBackText = function() {\n            var drilldownLevels = this.drilldownLevels,\n                lastLevel;\n            if (drilldownLevels && drilldownLevels.length > 0) { // #3352, async loading\n                lastLevel = drilldownLevels[drilldownLevels.length - 1];\n                lastLevel.series = lastLevel.seriesOptions;\n                return format(this.options.lang.drillUpText, lastLevel);\n            }\n\n        };\n\n        Chart.prototype.showDrillUpButton = function() {\n            var chart = this,\n                backText = this.getDrilldownBackText(),\n                buttonOptions = chart.options.drilldown.drillUpButton,\n                attr,\n                states;\n\n\n            if (!this.drillUpButton) {\n                attr = buttonOptions.theme;\n                states = attr && attr.states;\n\n                this.drillUpButton = this.renderer.button(\n                        backText,\n                        null,\n                        null,\n                        function() {\n                            chart.drillUp();\n                        },\n                        attr,\n                        states && states.hover,\n                        states && states.select\n                    )\n                    .addClass('highcharts-drillup-button')\n                    .attr({\n                        align: buttonOptions.position.align,\n                        zIndex: 7\n                    })\n                    .add()\n                    .align(buttonOptions.position, false, buttonOptions.relativeTo || 'plotBox');\n            } else {\n                this.drillUpButton.attr({\n                        text: backText\n                    })\n                    .align();\n            }\n        };\n\n        Chart.prototype.drillUp = function() {\n            var chart = this,\n                drilldownLevels = chart.drilldownLevels,\n                levelNumber = drilldownLevels[drilldownLevels.length - 1].levelNumber,\n                i = drilldownLevels.length,\n                chartSeries = chart.series,\n                seriesI,\n                level,\n                oldSeries,\n                newSeries,\n                oldExtremes,\n                addSeries = function(seriesOptions) {\n                    var addedSeries;\n                    each(chartSeries, function(series) {\n                        if (series.options._ddSeriesId === seriesOptions._ddSeriesId) {\n                            addedSeries = series;\n                        }\n                    });\n\n                    addedSeries = addedSeries || chart.addSeries(seriesOptions, false);\n                    if (addedSeries.type === oldSeries.type && addedSeries.animateDrillupTo) {\n                        addedSeries.animate = addedSeries.animateDrillupTo;\n                    }\n                    if (seriesOptions === level.seriesOptions) {\n                        newSeries = addedSeries;\n                    }\n                };\n\n            while (i--) {\n\n                level = drilldownLevels[i];\n                if (level.levelNumber === levelNumber) {\n                    drilldownLevels.pop();\n\n                    // Get the lower series by reference or id\n                    oldSeries = level.lowerSeries;\n                    if (!oldSeries.chart) { // #2786\n                        seriesI = chartSeries.length; // #2919\n                        while (seriesI--) {\n                            if (chartSeries[seriesI].options.id === level.lowerSeriesOptions.id &&\n                                chartSeries[seriesI].options._levelNumber === levelNumber + 1) { // #3867\n                                oldSeries = chartSeries[seriesI];\n                                break;\n                            }\n                        }\n                    }\n                    oldSeries.xData = []; // Overcome problems with minRange (#2898)\n\n                    each(level.levelSeriesOptions, addSeries);\n\n                    fireEvent(chart, 'drillup', {\n                        seriesOptions: level.seriesOptions\n                    });\n\n                    if (newSeries.type === oldSeries.type) {\n                        newSeries.drilldownLevel = level;\n                        newSeries.options.animation = chart.options.drilldown.animation;\n\n                        if (oldSeries.animateDrillupFrom && oldSeries.chart) { // #2919\n                            oldSeries.animateDrillupFrom(level);\n                        }\n                    }\n                    newSeries.options._levelNumber = levelNumber;\n\n                    oldSeries.remove(false);\n\n                    // Reset the zoom level of the upper series\n                    if (newSeries.xAxis) {\n                        oldExtremes = level.oldExtremes;\n                        newSeries.xAxis.setExtremes(oldExtremes.xMin, oldExtremes.xMax, false);\n                        newSeries.yAxis.setExtremes(oldExtremes.yMin, oldExtremes.yMax, false);\n                    }\n                }\n            }\n\n            // Fire a once-off event after all series have been drilled up (#5158)\n            fireEvent(chart, 'drillupall');\n\n            this.redraw();\n\n            if (this.drilldownLevels.length === 0) {\n                this.drillUpButton = this.drillUpButton.destroy();\n            } else {\n                this.drillUpButton.attr({\n                        text: this.getDrilldownBackText()\n                    })\n                    .align();\n            }\n\n            this.ddDupes.length = []; // #3315\n        };\n\n\n        ColumnSeries.prototype.supportsDrilldown = true;\n\n        /**\n         * When drilling up, keep the upper series invisible until the lower series has\n         * moved into place\n         */\n        ColumnSeries.prototype.animateDrillupTo = function(init) {\n            if (!init) {\n                var newSeries = this,\n                    level = newSeries.drilldownLevel;\n\n                // First hide all items before animating in again\n                each(this.points, function(point) {\n                    var dataLabel = point.dataLabel;\n\n                    if (point.graphic) { // #3407\n                        point.graphic.hide();\n                    }\n\n                    if (dataLabel) {\n                        // The data label is initially hidden, make sure it is not faded\n                        // in (#6127)\n                        dataLabel.hidden = dataLabel.attr('visibility') === 'hidden';\n\n                        if (!dataLabel.hidden) {\n                            dataLabel.hide();\n                            if (point.connector) {\n                                point.connector.hide();\n                            }\n                        }\n                    }\n                });\n\n\n                // Do dummy animation on first point to get to complete\n                setTimeout(function() {\n                    if (newSeries.points) { // May be destroyed in the meantime, #3389\n                        each(newSeries.points, function(point, i) {\n                            // Fade in other points\t\t\t  \n                            var verb =\n                                i === (level && level.pointIndex) ? 'show' : 'fadeIn',\n                                inherit = verb === 'show' ? true : undefined,\n                                dataLabel = point.dataLabel;\n\n\n                            if (point.graphic) { // #3407\n                                point.graphic[verb](inherit);\n                            }\n\n                            if (dataLabel && !dataLabel.hidden) { // #6127\n                                dataLabel[verb](inherit);\n                                if (point.connector) {\n                                    point.connector[verb](inherit);\n                                }\n                            }\n                        });\n                    }\n                }, Math.max(this.chart.options.drilldown.animation.duration - 50, 0));\n\n                // Reset\n                this.animate = noop;\n            }\n\n        };\n\n        ColumnSeries.prototype.animateDrilldown = function(init) {\n            var series = this,\n                drilldownLevels = this.chart.drilldownLevels,\n                animateFrom,\n                animationOptions = this.chart.options.drilldown.animation,\n                xAxis = this.xAxis;\n\n            if (!init) {\n                each(drilldownLevels, function(level) {\n                    if (series.options._ddSeriesId === level.lowerSeriesOptions._ddSeriesId) {\n                        animateFrom = level.shapeArgs;\n\n                        // Add the point colors to animate from\n                        animateFrom.fill = level.color;\n\n                    }\n                });\n\n                animateFrom.x += (pick(xAxis.oldPos, xAxis.pos) - xAxis.pos);\n\n                each(this.points, function(point) {\n                    var animateTo = point.shapeArgs;\n\n\n                    // Add the point colors to animate to\n                    animateTo.fill = point.color;\n\n\n                    if (point.graphic) {\n                        point.graphic\n                            .attr(animateFrom)\n                            .animate(\n                                extend(point.shapeArgs, {\n                                    fill: point.color || series.color\n                                }),\n                                animationOptions\n                            );\n                    }\n                    if (point.dataLabel) {\n                        point.dataLabel.fadeIn(animationOptions);\n                    }\n                });\n                this.animate = null;\n            }\n\n        };\n\n        /**\n         * When drilling up, pull out the individual point graphics from the lower series\n         * and animate them into the origin point in the upper series.\n         */\n        ColumnSeries.prototype.animateDrillupFrom = function(level) {\n            var animationOptions = this.chart.options.drilldown.animation,\n                group = this.group,\n                series = this;\n\n            // Cancel mouse events on the series group (#2787)\n            each(series.trackerGroups, function(key) {\n                if (series[key]) { // we don't always have dataLabelsGroup\n                    series[key].on('mouseover');\n                }\n            });\n\n\n            delete this.group;\n            each(this.points, function(point) {\n                var graphic = point.graphic,\n                    animateTo = level.shapeArgs,\n                    complete = function() {\n                        graphic.destroy();\n                        if (group) {\n                            group = group.destroy();\n                        }\n                    };\n\n                if (graphic) {\n\n                    delete point.graphic;\n\n\n                    animateTo.fill = level.color;\n\n\n                    if (animationOptions) {\n                        graphic.animate(\n                            animateTo,\n                            H.merge(animationOptions, {\n                                complete: complete\n                            })\n                        );\n                    } else {\n                        graphic.attr(animateTo);\n                        complete();\n                    }\n                }\n            });\n        };\n\n        if (PieSeries) {\n            extend(PieSeries.prototype, {\n                supportsDrilldown: true,\n                animateDrillupTo: ColumnSeries.prototype.animateDrillupTo,\n                animateDrillupFrom: ColumnSeries.prototype.animateDrillupFrom,\n\n                animateDrilldown: function(init) {\n                    var level = this.chart.drilldownLevels[this.chart.drilldownLevels.length - 1],\n                        animationOptions = this.chart.options.drilldown.animation,\n                        animateFrom = level.shapeArgs,\n                        start = animateFrom.start,\n                        angle = animateFrom.end - start,\n                        startAngle = angle / this.points.length;\n\n                    if (!init) {\n                        each(this.points, function(point, i) {\n                            var animateTo = point.shapeArgs;\n\n\n                            animateFrom.fill = level.color;\n                            animateTo.fill = point.color;\n\n\n                            if (point.graphic) {\n                                point.graphic\n                                    .attr(H.merge(animateFrom, {\n                                        start: start + i * startAngle,\n                                        end: start + (i + 1) * startAngle\n                                    }))[animationOptions ? 'animate' : 'attr'](\n                                        animateTo,\n                                        animationOptions\n                                    );\n                            }\n                        });\n                        this.animate = null;\n                    }\n                }\n            });\n        }\n\n        H.Point.prototype.doDrilldown = function(_holdRedraw, category, originalEvent) {\n            var series = this.series,\n                chart = series.chart,\n                drilldown = chart.options.drilldown,\n                i = (drilldown.series || []).length,\n                seriesOptions;\n\n            if (!chart.ddDupes) {\n                chart.ddDupes = [];\n            }\n\n            while (i-- && !seriesOptions) {\n                if (drilldown.series[i].id === this.drilldown && inArray(this.drilldown, chart.ddDupes) === -1) {\n                    seriesOptions = drilldown.series[i];\n                    chart.ddDupes.push(this.drilldown);\n                }\n            }\n\n            // Fire the event. If seriesOptions is undefined, the implementer can check for \n            // seriesOptions, and call addSeriesAsDrilldown async if necessary.\n            fireEvent(chart, 'drilldown', {\n                point: this,\n                seriesOptions: seriesOptions,\n                category: category,\n                originalEvent: originalEvent,\n                points: category !== undefined && this.series.xAxis.getDDPoints(category).slice(0)\n            }, function(e) {\n                var chart = e.point.series && e.point.series.chart,\n                    seriesOptions = e.seriesOptions;\n                if (chart && seriesOptions) {\n                    if (_holdRedraw) {\n                        chart.addSingleSeriesAsDrilldown(e.point, seriesOptions);\n                    } else {\n                        chart.addSeriesAsDrilldown(e.point, seriesOptions);\n                    }\n                }\n            });\n\n\n        };\n\n        /**\n         * Drill down to a given category. This is the same as clicking on an axis label.\n         */\n        H.Axis.prototype.drilldownCategory = function(x, e) {\n            var key,\n                point,\n                ddPointsX = this.getDDPoints(x);\n            for (key in ddPointsX) {\n                point = ddPointsX[key];\n                if (point && point.series && point.series.visible && point.doDrilldown) { // #3197\n                    point.doDrilldown(true, x, e);\n                }\n            }\n            this.chart.applyDrilldown();\n        };\n\n        /**\n         * Return drillable points for this specific X value\n         */\n        H.Axis.prototype.getDDPoints = function(x) {\n            var ret = [];\n            each(this.series, function(series) {\n                var i,\n                    xData = series.xData,\n                    points = series.points;\n\n                for (i = 0; i < xData.length; i++) {\n                    if (xData[i] === x && series.options.data[i] && series.options.data[i].drilldown) {\n                        ret.push(points ? points[i] : true);\n                        break;\n                    }\n                }\n            });\n            return ret;\n        };\n\n\n        /**\n         * Make a tick label drillable, or remove drilling on update\n         */\n        Tick.prototype.drillable = function() {\n            var pos = this.pos,\n                label = this.label,\n                axis = this.axis,\n                isDrillable = axis.coll === 'xAxis' && axis.getDDPoints,\n                ddPointsX = isDrillable && axis.getDDPoints(pos);\n\n            if (isDrillable) {\n                if (label && ddPointsX.length) {\n                    label.drillable = true;\n\n\n                    if (!label.basicStyles) {\n                        label.basicStyles = H.merge(label.styles);\n                    }\n\n\n                    label\n                        .addClass('highcharts-drilldown-axis-label')\n\n                        .css(axis.chart.options.drilldown.activeAxisLabelStyle)\n\n                        .on('click', function(e) {\n                            axis.drilldownCategory(pos, e);\n                        });\n\n                } else if (label && label.drillable) {\n\n\n                    label.styles = {}; // reset for full overwrite of styles\n                    label.css(label.basicStyles);\n\n\n                    label.on('click', null); // #3806\t\t\t\n                    label.removeClass('highcharts-drilldown-axis-label');\n                }\n            }\n        };\n\n        /**\n         * Always keep the drillability updated (#3951)\n         */\n        wrap(Tick.prototype, 'addLabel', function(proceed) {\n            proceed.call(this);\n            this.drillable();\n        });\n\n\n        /**\n         * On initialization of each point, identify its label and make it clickable. Also, provide a\n         * list of points associated to that label.\n         */\n        wrap(H.Point.prototype, 'init', function(proceed, series, options, x) {\n            var point = proceed.call(this, series, options, x),\n                xAxis = series.xAxis,\n                tick = xAxis && xAxis.ticks[x];\n\n            if (point.drilldown) {\n\n                // Add the click event to the point \n                H.addEvent(point, 'click', function(e) {\n                    if (series.xAxis && series.chart.options.drilldown.allowPointDrilldown === false) {\n                        series.xAxis.drilldownCategory(point.x, e); // #5822, x changed\n                    } else {\n                        point.doDrilldown(undefined, undefined, e);\n                    }\n                });\n                /*wrap(point, 'importEvents', function (proceed) { // wrapping importEvents makes point.click event work\n                \tif (!this.hasImportedEvents) {\n                \t\tproceed.call(this);\n                \t\tH.addEvent(this, 'click', function () {\n                \t\t\tthis.doDrilldown();\n                \t\t});\n                \t}\n                });*/\n\n            }\n\n            // Add or remove click handler and style on the tick label\n            if (tick) {\n                tick.drillable();\n            }\n\n            return point;\n        });\n\n        wrap(H.Series.prototype, 'drawDataLabels', function(proceed) {\n            var css = this.chart.options.drilldown.activeDataLabelStyle,\n                renderer = this.chart.renderer;\n\n            proceed.call(this);\n\n            each(this.points, function(point) {\n                var pointCSS = {};\n                if (point.drilldown && point.dataLabel) {\n                    if (css.color === 'contrast') {\n                        pointCSS.color = renderer.getContrast(point.color || this.color);\n                    }\n                    point.dataLabel\n                        .addClass('highcharts-drilldown-data-label');\n\n\n                    point.dataLabel\n                        .css(css)\n                        .css(pointCSS);\n\n                }\n            }, this);\n        });\n\n        // Mark the trackers with a pointer \n        var type,\n            drawTrackerWrapper = function(proceed) {\n                proceed.call(this);\n                each(this.points, function(point) {\n                    if (point.drilldown && point.graphic) {\n                        point.graphic.addClass('highcharts-drilldown-point');\n\n\n                        point.graphic.css({\n                            cursor: 'pointer'\n                        });\n\n                    }\n                });\n            };\n        for (type in seriesTypes) {\n            if (seriesTypes[type].prototype.supportsDrilldown) {\n                wrap(seriesTypes[type].prototype, 'drawTracker', drawTrackerWrapper);\n            }\n        }\n\n    }(Highcharts));\n}));\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9UA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpjLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3zIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChoVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACln2DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5tBA;ACAA;;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACx0EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnwBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9RA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC386BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3yBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACp9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;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;;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtaA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3xDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpyBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACppmCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1DA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/UA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACn0BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;;ACLA;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;;AC3BA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3IA;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;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;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;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3QA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1TA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;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;;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;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACn4BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;AC/FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;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;;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;;ACtFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChwLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3kBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC33CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACjEA;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;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjkBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9sBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACj6CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACz3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;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;;AChCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxGA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1IA;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;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1BA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;;ACHA;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;;ACtBA;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;;ACtBA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;;ACHA;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;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjUA;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;;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;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1DA;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;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;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;;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;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;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;;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;;AC9CA;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;;ACnDA;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;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxCA;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;;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;;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;;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;;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;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;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;;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;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;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;;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;;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;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxKA;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;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtGA;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;;ACxGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9YA;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;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;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3NA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;AACA;AACA;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;;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;;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;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC9HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC5GA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;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;;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;;ACZA;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;;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;;ACZA;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;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;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;;ACjDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClFA;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;;AClEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;ACpHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChIA;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;;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;;AC5BA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC386BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACp9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;","file":"vendor.js"}